/* AI Assistant Styling for Gdoop - Pure Grayscale (Gray, Black, White Only) */
:root {
    --ai-bg-main: #ffffff;
    --ai-bg-surface: #fff;
    --ai-bg-surface-variant: #fff;
    --ai-bg-card: #ffffff;
    --ai-text-primary: #111111;
    --ai-text-secondary: #555555;
    --ai-text-tertiary: #888888;
    --ai-border: transparent;
    --ai-border-subtle: transparent;
    --ai-sidebar-bg: #fff;
    --ai-sidebar-hover: #eeeeee;
    --ai-sidebar-active: #e2e2e2;
    --ai-sidebar-text: #111111;
    --ai-input-bg: #eee;
    --ai-input-border: transparent;
    --ai-input-focus: #111111;
    --ai-user-bubble: #eee;
    --ai-user-text: #111111;
    --ai-accent: #111111;
    --ai-accent-subtle: #777777;
    --ai-shadow-sm: none;
    --ai-shadow-md: none;
    --ai-shadow-lg: none;
    --ai-sidebar-width: 280px;
    --ai-input-max-width: 820px;
}

[data-theme="dark"],
body.dark-mode {
    --ai-bg-main: #000;
    --ai-bg-surface: #000;
    --ai-bg-surface-variant: #000;
    --ai-bg-card: #000;
    --ai-text-primary: #f0f0f0;
    --ai-text-secondary: #a0a0a0;
    --ai-text-tertiary: #707070;
    --ai-border: transparent;
    --ai-border-subtle: transparent;
    --ai-sidebar-bg: #000;
    --ai-sidebar-hover: #202020;
    --ai-sidebar-active: #2c2c2c;
    --ai-sidebar-text: #f0f0f0;
    --ai-input-bg: #1c1c1c;
    --ai-input-border: transparent;
    --ai-input-focus: #f0f0f0;
    --ai-user-bubble: #222222;
    --ai-user-text: #f0f0f0;
    --ai-accent: #f0f0f0;
    --ai-accent-subtle: #888888;
    --ai-shadow-sm: none;
    --ai-shadow-md: none;
    --ai-shadow-lg: none;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ai-bg-main: #000;
        --ai-bg-surface: #000;
        --ai-bg-surface-variant: #000;
        --ai-bg-card: #000;
        --ai-text-primary: #f0f0f0;
        --ai-text-secondary: #a0a0a0;
        --ai-text-tertiary: #707070;
        --ai-border: transparent;
        --ai-border-subtle: transparent;
        --ai-sidebar-bg: #000;
        --ai-sidebar-hover: #242424;
        --ai-sidebar-active: #242424;
        --ai-sidebar-text: #f0f0f0;
        --ai-input-bg: #1c1c1c;
        --ai-input-border: transparent;
        --ai-input-focus: #f0f0f0;
        --ai-user-bubble: #222222;
        --ai-user-text: #f0f0f0;
        --ai-accent: #f0f0f0;
        --ai-accent-subtle: #888888;
        --ai-shadow-sm: none;
        --ai-shadow-md: none;
        --ai-shadow-lg: none;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.ai-page {
    background-color: var(--ai-bg-main);
    color: var(--ai-text-primary);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* App Shell Below Sticky Header */
.ai-app-container {
    display: flex;
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

/* ==================== LEFT SIDEBAR ==================== */
.ai-sidebar {
    width: var(--ai-sidebar-width);
    height: 100%;
    background-color: var(--ai-sidebar-bg);
    border: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 50;
    position: relative;
}

.ai-sidebar.collapsed {
    transform: translateX(-100%);
    width: 0;
    border: none;
    overflow: hidden;
}

/* New Chat Button */
.ai-new-chat-wrapper {
    padding: 16px 16px 10px;
}

.ai-new-chat-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--ai-sidebar-hover);
    border: none;
    border-radius: 24px;
    color: var(--ai-text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.ai-new-chat-btn i {
    font-size: 1rem;
    color: var(--ai-text-primary);
}

.ai-new-chat-btn:hover {
    background: var(--ai-sidebar-active);
}

/* History List Section */
.ai-sidebar-history-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 10px 16px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.ai-sidebar-history-container::-webkit-scrollbar {
    width: 6px;
}

.ai-sidebar-history-container::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.ai-sidebar-history-container:hover::-webkit-scrollbar-thumb {
    background: var(--ai-bg-surface-variant);
}

.ai-history-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ai-text-tertiary);
    padding: 14px 10px 6px;
}

.ai-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: var(--ai-sidebar-text);
    font-size: 0.9rem;
    margin-bottom: 2px;
    position: relative;
    user-select: none;
}

.ai-history-item:hover {
    background-color: var(--ai-sidebar-hover);
}

.ai-history-item.active {
    background-color: var(--ai-sidebar-active);
    color: var(--ai-text-primary);
    font-weight: 500;
}

.ai-history-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.ai-history-item i.fa-message {
    font-size: 0.85rem;
    color: var(--ai-text-tertiary);
    flex-shrink: 0;
}

.ai-history-item.active i.fa-message {
    color: var(--ai-text-primary);
}

.ai-history-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* History Item Actions (Rename, Delete) */
.ai-history-actions {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
}

.ai-history-item:hover .ai-history-actions,
.ai-history-item.active .ai-history-actions {
    display: flex;
}

.ai-history-action-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--ai-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.78rem;
    transition: background 0.15s, color 0.15s;
}

.ai-history-action-btn:hover {
    background: var(--ai-bg-surface-variant);
    color: var(--ai-text-primary);
}

/* Empty History State */
.ai-history-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--ai-text-tertiary);
    font-size: 0.86rem;
    line-height: 1.4;
}

/* Sidebar Bottom Footer (Terms & Privacy) */
.ai-sidebar-footer {
    padding: 12px 16px;
    margin-top: auto;
    border: none;
    flex-shrink: 0;
}

.ai-sidebar-footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-sidebar-footer-links a {
    color: var(--ai-text-tertiary);
    text-decoration: none;
    font-size: 0.76rem;
    transition: color 0.16s ease;
}

.ai-sidebar-footer-links a:hover {
    color: var(--ai-text-primary);
}

/* Mobile Sidebar Backdrop */
.ai-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 45;
}

/* ==================== MAIN CHAT VIEW ==================== */
.ai-main-view {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--ai-bg-main);
    overflow: hidden;
}

/* Chat Messages Scroll Container */
.ai-messages-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-behavior: smooth;
}

.ai-messages-container {
    width: 100%;
    max-width: var(--ai-input-max-width);
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 30px;
}

/* Welcome / Empty State View */
.ai-welcome-screen {
    width: 100%;
    max-width: var(--ai-input-max-width);
    display: flex;
    flex-direction: column;
    margin: auto 0;
    padding: 40px 0 20px;
    animation: fadeIn 0.3s ease-out;
}

.ai-welcome-greeting {
    margin-bottom: 36px;
}

.ai-welcome-hi {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.8px;
    line-height: 1.2;
    color: var(--ai-text-primary);
}

.ai-welcome-sub {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ai-text-secondary);
    letter-spacing: -0.5px;
}

.ai-starters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.ai-starter-card {
    background: var(--ai-bg-surface);
    border: none;
    border-radius: 16px;
    padding: 16px 18px;
    cursor: pointer;
    transition: background 0.18s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.ai-starter-card:hover {
    background: var(--ai-bg-surface-variant);
}

.ai-starter-card-text {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ai-text-primary);
    font-weight: 400;
}

.ai-starter-card-icon {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ai-bg-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--ai-text-primary);
    margin-top: 10px;
}

/* Chat Message Styles */
.ai-message-row {
    display: flex;
    width: 100%;
    gap: 16px;
    animation: fadeInUp 0.2s ease-out;
}

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

.ai-message-row.model {
    justify-content: flex-start;
}

.ai-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: none;
}

.ai-avatar.model {
    background: #000000;
    border: none;
    padding: 7px;
}

[data-theme="dark"] .ai-avatar.model {
    background: #242424;
    border: none;
}

.ai-avatar-gdoop-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.ai-avatar.user {
    background: var(--ai-bg-surface-variant);
    color: var(--ai-text-primary);
    border: none;
}

.ai-message-bubble {
    max-width: 82%;
    border-radius: 20px;
    padding: 12px 18px;
    font-size: 0.96rem;
    line-height: 1.6;
    word-break: break-word;
    position: relative;
    border: none;
}

.ai-message-row.user .ai-message-bubble {
    background: var(--ai-user-bubble);
    color: var(--ai-user-text);
    border-bottom-right-radius: 4px;
}

.ai-message-row.model .ai-message-bubble {
    background: transparent;
    color: var(--ai-text-primary);
    padding: 4px 4px 12px 4px;
    max-width: 90%;
}

/* Markdown Formatting */
.ai-message-bubble p {
    margin-bottom: 12px;
}

.ai-message-bubble p:last-child {
    margin-bottom: 0;
}

.ai-message-bubble h1, 
.ai-message-bubble h2, 
.ai-message-bubble h3, 
.ai-message-bubble h4 {
    margin: 16px 0 8px;
    color: var(--ai-text-primary);
    font-weight: 600;
}

.ai-message-bubble ul, 
.ai-message-bubble ol {
    margin: 8px 0 12px 24px;
}

.ai-message-bubble li {
    margin-bottom: 6px;
}

.ai-message-bubble code:not(pre code) {
    background: var(--ai-bg-surface-variant);
    color: var(--ai-text-primary);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88em;
    border: none;
}

.ai-message-bubble pre {
    background: #181818;
    color: #e3e3e3;
    border-radius: 12px;
    margin: 14px 0;
    overflow: hidden;
    position: relative;
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.88rem;
    border: none;
}

.ai-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    font-size: 0.78rem;
    color: #999999;
    text-transform: lowercase;
}

.ai-code-copy-btn {
    background: transparent;
    border: none;
    color: #999999;
    cursor: pointer;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.ai-code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.ai-message-bubble pre code {
    display: block;
    padding: 14px;
    overflow-x: auto;
    line-height: 1.5;
    border: none;
}

.ai-message-bubble blockquote {
    background: var(--ai-bg-surface);
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 12px 0;
    color: var(--ai-text-secondary);
    font-style: italic;
}

.ai-message-bubble table {
    border-collapse: collapse;
    width: 100%;
    margin: 14px 0;
    font-size: 0.9rem;
    border: none;
}

.ai-message-bubble th, 
.ai-message-bubble td {
    border: none;
    padding: 8px 12px;
    text-align: left;
}

.ai-message-bubble th {
    background: var(--ai-bg-surface);
}

/* Message Actions (Copy, TTS) */
.ai-message-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    opacity: 0.85;
}

.ai-action-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ai-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.82rem;
    transition: background 0.15s, color 0.15s;
}

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

/* Shimmering Loading Animation */
.ai-loading-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 4px;
}

.ai-shimmer-bar {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-text-secondary);
    border: none;
    animation: geminiBounce 1.4s infinite ease-in-out both;
}

.ai-shimmer-bar:nth-child(1) { animation-delay: -0.32s; }
.ai-shimmer-bar:nth-child(2) { animation-delay: -0.16s; }
.ai-shimmer-bar:nth-child(3) { animation-delay: 0s; }

@keyframes geminiBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.35;
    }
    40% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* ==================== BOTTOM INPUT SECTION ==================== */
.ai-input-section-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 16px;
    background: var(--ai-bg-main);
    border: none;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

.ai-input-box {
    width: 100%;
    max-width: var(--ai-input-max-width);
    background: var(--ai-input-bg);
    border: none;
    border-radius: 28px;
    padding: 10px 14px 10px 14px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transition: background-color 0.2s;
    position: relative;
}

.ai-input-box:focus-within {
    background: var(--ai-bg-surface-variant);
}

/* Plus/Add Button */
.ai-input-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ai-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.ai-input-action-btn:hover {
    background: var(--ai-bg-surface-variant);
    color: var(--ai-text-primary);
}

.ai-input-action-btn.active {
    background: var(--ai-text-primary);
    color: var(--ai-bg-main);
}

/* Add Popover Menu */
.ai-add-menu {
    position: absolute;
    bottom: 60px;
    left: 12px;
    background: var(--ai-bg-card);
    border: none;
    border-radius: 16px;
    padding: 8px;
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 100;
    animation: fadeInScale 0.18s cubic-bezier(0.2, 0, 0, 1);
}

.ai-add-menu.show {
    display: flex;
}

.ai-add-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--ai-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.ai-add-menu-item:hover {
    background: var(--ai-sidebar-hover);
}

.ai-add-menu-item i {
    width: 18px;
    color: var(--ai-text-primary);
    font-size: 0.95rem;
}

/* Text Input Textarea */
.ai-textarea-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.ai-textarea {
    width: 100%;
    min-height: 24px;
    max-height: 180px;
    resize: none;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ai-text-primary);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    padding: 8px 4px;
    overflow-y: auto;
}

.ai-textarea::placeholder {
    color: var(--ai-text-tertiary);
}

/* Microphone Button with Listening Animation */
.ai-mic-btn {
    position: relative;
    border: none;
}

.ai-mic-btn.listening {
    color: var(--ai-text-primary);
    background: var(--ai-bg-surface-variant);
    animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Send Button */
.ai-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--ai-text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    flex-shrink: 0;
}

.ai-send-btn.active {
    background: var(--ai-text-primary);
    color: var(--ai-bg-main);
    cursor: pointer;
}

.ai-send-btn.active:hover {
    background: var(--ai-text-secondary);
    color: var(--ai-bg-main);
}

/* Disclaimer Footer */
.ai-disclaimer {
    font-size: 0.75rem;
    color: var(--ai-text-tertiary);
    text-align: center;
    margin-top: 8px;
    letter-spacing: -0.1px;
}

/* ==================== DIALOGS & MODALS ==================== */
.ai-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.ai-modal-backdrop.show {
    display: flex;
}

.ai-modal-card {
    background: var(--ai-bg-card);
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 24px;
    animation: fadeInScale 0.2s ease-out;
}

.ai-modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
}

.ai-modal-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    background: var(--ai-bg-surface);
    color: var(--ai-text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 18px;
}

.ai-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ai-btn-secondary {
    padding: 8px 16px;
    border-radius: 18px;
    border: none;
    background: var(--ai-bg-surface);
    color: var(--ai-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.ai-btn-secondary:hover {
    background: var(--ai-sidebar-hover);
    color: var(--ai-text-primary);
}

.ai-btn-primary {
    padding: 8px 18px;
    border-radius: 18px;
    border: none;
    background: var(--ai-text-primary);
    color: var(--ai-bg-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.ai-btn-primary:hover {
    opacity: 0.88;
}

/* ==================== LIMIT MODALS (SIGN IN / UPGRADE) ==================== */
.ai-limit-modal {
    text-align: center;
    padding: 34px 28px 28px;
    max-width: 440px;
    border: none !important;
    box-shadow: none !important;
    background: var(--ai-bg-card);
}

.ai-limit-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ai-bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: none !important;
    box-shadow: none !important;
}

.ai-limit-modal-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0);
    display: block;
}

[data-theme="dark"] .ai-limit-modal-icon img {
    filter: brightness(0) invert(1);
}

.ai-limit-modal .ai-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ai-text-primary);
}

.ai-limit-modal-desc {
    color: var(--ai-text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 24px;
}

.ai-limit-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ai-limit-action-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 20px;
    border: none !important;
    box-shadow: none !important;
    background: var(--ai-text-primary);
    color: var(--ai-bg-main) !important;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.ai-limit-action-link:hover {
    opacity: 0.85;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .ai-sidebar {
        position: fixed;
        left: 0;
        top: 56px;
        bottom: 0;
        height: calc(100vh - 56px);
        height: calc(100dvh - 56px);
        z-index: 100;
        transform: translateX(-100%);
        border: none;
    }

    .ai-sidebar.open-mobile {
        transform: translateX(0);
    }

    .ai-sidebar-overlay.active {
        display: block;
    }

    .ai-welcome-hi {
        font-size: 2.2rem;
    }

    .ai-welcome-sub {
        font-size: 1.7rem;
    }

    .ai-starters-grid {
        grid-template-columns: 1fr;
    }

    .ai-message-bubble {
        max-width: 90%;
    }
}
