/* ==========================================================================
   AURA AI — Professional SaaS AI Chatbot Design System & Stylesheet
   Design Philosophy: Linear / Vercel / Raycast / Claude / Stripe Inspired
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Color Tokens — Dark Mode (Default) */
    --bg-base: #0B0C0E;
    --bg-surface: #121417;
    --bg-surface-elevated: #191C21;
    --bg-hover: rgba(255, 255, 255, 0.05);
    --bg-active: rgba(255, 255, 255, 0.08);

    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-default: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.2);

    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --accent-primary: #6366F1;
    --accent-hover: #4F46E5;
    --accent-subtle: rgba(99, 102, 241, 0.12);
    --accent-glow: rgba(99, 102, 241, 0.35);

    --success: #10B981;
    --success-subtle: rgba(16, 185, 129, 0.12);
    --warning: #F59E0B;
    --error: #EF4444;
    --error-subtle: rgba(239, 68, 68, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.7);

    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --sidebar-width: 260px;
    --inspector-width: 320px;
    --composer-max-width: 768px;
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Tokens */
html[data-theme="light"] {
    --bg-base: #FAFAFA;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #F3F4F6;
    --bg-hover: rgba(0, 0, 0, 0.04);
    --bg-active: rgba(0, 0, 0, 0.08);

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-default: rgba(0, 0, 0, 0.12);
    --border-strong: rgba(0, 0, 0, 0.22);

    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;

    --accent-primary: #4F46E5;
    --accent-hover: #4338CA;
    --accent-subtle: rgba(79, 70, 229, 0.08);
    --accent-glow: rgba(79, 70, 229, 0.2);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* App Container Layout */
.saas-app-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   1. SIDEBAR (Collapsible Desktop / Drawer Mobile)
   ========================================================================== */
.saas-sidebar {
    width: var(--sidebar-width);
    height: 100%;
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: margin-left var(--transition-normal), transform var(--transition-normal);
    z-index: 50;
    flex-shrink: 0;
    user-select: none;
}

.saas-sidebar.is-collapsed {
    margin-left: calc(-1 * var(--sidebar-width));
}

.saas-sidebar__header {
    padding: 16px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saas-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.saas-brand__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    text-decoration: none;
}

.saas-brand__icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-primary) 0%, #A855F7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 0 12px var(--accent-glow);
}

.saas-btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.saas-btn-icon:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.saas-new-chat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.saas-new-chat-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.saas-shortcut-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-base);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
}

.saas-search-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.saas-search-trigger:hover {
    background: var(--bg-hover);
    color: var(--text-secondary);
    border-color: var(--border-default);
}

/* Sidebar History List */
.saas-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.saas-sidebar__nav::-webkit-scrollbar {
    width: 4px;
}

.saas-sidebar__nav::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.saas-history-group__title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 0 8px 6px 8px;
}

.saas-history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.saas-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.84375rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saas-history-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.saas-history-item.is-active {
    background: var(--accent-subtle);
    color: var(--accent-primary);
    font-weight: 600;
}

.saas-history-item__actions {
    display: none;
    gap: 4px;
}

.saas-history-item:hover .saas-history-item__actions {
    display: flex;
}

/* Sidebar Footer Profile & Settings */
.saas-sidebar__footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saas-user-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.saas-user-profile:hover {
    background: var(--bg-hover);
}

.saas-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.saas-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saas-user-name {
    font-size: 0.84375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.saas-user-plan {
    font-size: 0.6875rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* ==========================================================================
   2. MAIN CONTENT AREA
   ========================================================================== */
.saas-main-viewport {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-base);
    position: relative;
    overflow: hidden;
}

/* Top Navigation Bar */
.saas-topnav {
    height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-base);
    z-index: 40;
    flex-shrink: 0;
}

.saas-topnav__left, .saas-topnav__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Model Selector Pill */
.saas-model-selector {
    position: relative;
}

.saas-model-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.saas-model-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.saas-model-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.saas-model-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 260px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
}

.saas-model-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.saas-model-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.saas-model-option:hover {
    background: var(--bg-hover);
}

.saas-model-option.is-selected {
    background: var(--accent-subtle);
}

.saas-model-option__title {
    font-size: 0.84375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.saas-model-option__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Chat Messages Viewport */
.saas-chat-scrollview {
    flex: 1;
    overflow-y: auto;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-behavior: smooth;
}

.saas-chat-container {
    width: 100%;
    max-width: var(--composer-max-width);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ==========================================================================
   3. EMPTY ONBOARDING EXPERIENCE
   ========================================================================== */
.saas-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto 0;
    gap: 24px;
    animation: saas-fade-in 0.4s ease;
}

@keyframes saas-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.saas-empty-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #A855F7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 0 30px var(--accent-glow);
}

.saas-empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.saas-empty-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 440px;
}

/* Onboarding Suggested Prompt Cards */
.saas-prompt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 640px;
    margin-top: 12px;
}

.saas-prompt-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saas-prompt-card:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.saas-prompt-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.saas-prompt-card__desc {
    font-size: 0.78125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   4. CHAT MESSAGES & TYPOGRAPHY
   ========================================================================== */
.saas-message-row {
    display: flex;
    gap: 16px;
    width: 100%;
    animation: saas-msg-slide 0.25s var(--transition-normal);
}

@keyframes saas-msg-slide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.saas-message-row--user {
    justify-content: flex-end;
}

.saas-user-bubble {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 18px;
    border-top-right-radius: 4px;
    max-width: 80%;
    font-size: 0.9375rem;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

.saas-ai-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.saas-ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #A855F7 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

.saas-ai-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.7;
    overflow-x: auto;
}

/* Typography & Rich Markdown Rendering */
.saas-ai-content h1, .saas-ai-content h2, .saas-ai-content h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.saas-ai-content h1 { font-size: 1.375rem; }
.saas-ai-content h2 { font-size: 1.1875rem; }
.saas-ai-content h3 { font-size: 1.0625rem; }

.saas-ai-content p {
    margin-bottom: 10px;
}

.saas-ai-content ul, .saas-ai-content ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.saas-ai-content li {
    margin-bottom: 4px;
}

.saas-ai-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
}

.saas-ai-content th, .saas-ai-content td {
    padding: 10px 14px;
    border: 1px solid var(--border-default);
    text-align: left;
}

.saas-ai-content th {
    background: var(--bg-surface-elevated);
    font-weight: 600;
    color: var(--text-primary);
}

.saas-ai-content blockquote {
    border-left: 3px solid var(--accent-primary);
    padding-left: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 12px 0;
}

/* Code Block Component */
.saas-code-card {
    background: #090A0F;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 14px 0;
    font-family: var(--font-mono);
}

.saas-code-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.saas-code-copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    transition: color var(--transition-fast);
}

.saas-code-copy-btn:hover {
    color: var(--text-primary);
}

.saas-code-card pre {
    padding: 14px;
    overflow-x: auto;
    font-size: 0.8125rem;
    color: #38BDF8;
    line-height: 1.5;
}

/* Message Reaction Actions Toolbar */
.saas-message-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.saas-action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.saas-action-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.saas-action-btn.active {
    color: var(--accent-primary);
}

/* AI Status Loader / Thinking State */
.saas-ai-thinking {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84375rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.saas-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent-subtle);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: saas-spin 0.8s linear infinite;
}

@keyframes saas-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   5. FLOATING MESSAGE COMPOSER
   ========================================================================== */
.saas-composer-wrapper {
    width: 100%;
    max-width: var(--composer-max-width);
    padding: 0 20px 24px 20px;
    margin: 0 auto;
    z-index: 30;
}

.saas-composer-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 14px 16px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.saas-composer-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow), var(--shadow-lg);
}

.saas-composer-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    max-height: 180px;
    min-height: 24px;
}

.saas-composer-input::placeholder {
    color: var(--text-muted);
}

/* Upload Previews Row */
.saas-upload-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.saas-file-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.78125rem;
    color: var(--text-primary);
}

.saas-file-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
}

.saas-file-remove:hover {
    color: var(--error);
}

.saas-composer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

.saas-composer-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.saas-tool-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.saas-tool-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.saas-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-default);
    color: var(--text-muted);
    border: none;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.saas-send-btn.has-text {
    background: var(--accent-primary);
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 0 12px var(--accent-glow);
}

.saas-send-btn.has-text:hover {
    background: var(--accent-hover);
    transform: scale(1.06);
}

/* ==========================================================================
   6. COMMAND PALETTE (Ctrl+K / ⌘K)
   ========================================================================== */
.saas-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.saas-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.saas-command-palette {
    width: 100%;
    max-width: 580px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-12px);
    transition: transform var(--transition-fast);
}

.saas-modal-backdrop.is-open .saas-command-palette {
    transform: translateY(0);
}

.saas-command-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.saas-command-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
}

.saas-command-results {
    padding: 10px;
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.saas-command-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.saas-command-item:hover, .saas-command-item.is-selected {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
    .saas-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        box-shadow: var(--shadow-lg);
    }
    
    .saas-prompt-grid {
        grid-template-columns: 1fr;
    }
    
    .saas-composer-wrapper {
        padding: 0 12px 16px 12px;
    }
}
