
        :root {
            color-scheme: dark;
            --bg: #0a0a0a;
            --panel: #111116;
            --text: #e6e6e6;
            --muted: #b3b3b3;
            --accent: #ffffff;
            --accent-2: #3b82f6;
            --border: rgba(255, 255, 255, 0.08);
            --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            height: 100%;
        }

        body {
            margin: 0;
            font-family: "Space Grotesk", sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow: hidden;
        }

        .page {
            min-height: 100vh;
            height: 100vh;
            height: 100dvh;
            display: flex;
            flex-direction: column;
            background: var(--bg);
        }

        .header-container {
            background: #000;
            border-radius: 9999px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        header {
            position: fixed;
            top: 16px;
            left: 0;
            right: 0;
            z-index: 50;
            padding: 0 16px;
        }

        .header-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 24px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: contain;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-item {
            position: relative;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            color: #e5e5e5;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        .nav-item:hover {
            transform: translateY(-2px);
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
        }

        .nav-item:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: white;
            transition: width 0.3s ease;
        }

        .nav-item:hover:after {
            width: 100%;
        }

        .signin-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            color: var(--text);
        }

        .signin-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
        }

        .download-btn {
            background: white;
            color: black;
            transition: all 0.3s ease;
            border: none;
        }

        .brand-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }

        .btn-pill {
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 500;
        }

        .download-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        }

        .chat-workspace {
            flex: 1;
            display: flex;
            flex-direction: row;
            min-height: 0;
            width: 100%;
            position: relative;
        }

        .page--logged-in .chat-workspace {
            padding-top: 0;
        }

        .chat-left-sidebar {
            --chat-sidebar-expanded: 260px;
            /* Icon-only rail (~52px); 18px Lucide icons need more than 20px width */
            --chat-sidebar-collapsed: 52px;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            height: 100%;
            min-height: 0;
            background: rgba(10, 10, 14, 0.96);
            border-right: 1px solid var(--border);
            transition: width 0.2s ease;
            z-index: 40;
        }

        .chat-left-sidebar--desktop {
            width: var(--chat-sidebar-expanded);
        }

        .chat-left-sidebar--desktop.chat-left-sidebar--collapsed {
            width: var(--chat-sidebar-collapsed);
        }

        .chat-left-sidebar:not(.chat-left-sidebar--desktop) {
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: min(280px, 85vw);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            z-index: 50;
        }

        .chat-left-sidebar:not(.chat-left-sidebar--desktop).chat-left-sidebar--open {
            transform: translateX(0);
        }

        .chat-sidebar-backdrop {
            position: fixed;
            inset: 0;
            z-index: 45;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            cursor: pointer;
        }

        .chat-left-sidebar__head {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .chat-left-sidebar__head.is-collapsed {
            flex-direction: column;
            padding: 10px 6px;
        }

        .chat-left-sidebar__brand {
            display: flex;
            align-items: center;
            min-width: 0;
            flex: 1;
        }

        .chat-left-sidebar__brand--solo {
            flex: none;
            justify-content: center;
        }

        .chat-left-sidebar__logo {
            border-radius: 8px;
            object-fit: contain;
        }

        .chat-left-sidebar__icon-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: var(--text);
            cursor: pointer;
            flex-shrink: 0;
        }

        .chat-left-sidebar__icon-btn:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        .chat-left-sidebar__actions {
            padding: 8px;
            flex-shrink: 0;
        }

        .chat-left-sidebar__history {
            flex: 1;
            min-height: 0;
            min-width: 0;
            overflow-x: hidden;
            overflow-y: auto;
            padding: 4px 8px;
        }

        .chat-left-sidebar__empty {
            margin: 8px;
            font-size: 12px;
            color: var(--muted);
        }

        .chat-left-sidebar__history-item {
            display: block;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            overflow: hidden;
            text-align: left;
            padding: 10px 12px;
            margin-bottom: 2px;
            border: none;
            border-radius: 10px;
            background: transparent;
            color: var(--muted);
            font-size: 13px;
            cursor: pointer;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .chat-left-sidebar__history-title {
            display: block;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .chat-left-sidebar__history-item:hover,
        .chat-left-sidebar__history-item.is-active {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text);
        }

        .chat-left-sidebar__foot {
            flex-shrink: 0;
            border-top: 1px solid var(--border);
            padding: 8px;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .chat-left-sidebar__nav-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 10px 12px;
            border: none;
            border-radius: 10px;
            background: transparent;
            color: var(--muted);
            font-size: 13px;
            font-family: inherit;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .chat-left-sidebar__nav-btn.is-collapsed {
            justify-content: center;
            padding: 10px 6px;
        }

        .chat-left-sidebar__nav-btn:hover {
            background: rgba(255, 255, 255, 0.06);
            color: var(--text);
        }

        .chat-left-sidebar__profile {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
        }

        .chat-left-sidebar__profile.is-collapsed {
            justify-content: center;
            padding: 8px 6px;
        }

        .chat-left-sidebar__avatar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: rgba(59, 130, 246, 0.35);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .chat-scrollbar-hide {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .chat-scrollbar-hide::-webkit-scrollbar {
            display: none;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        @keyframes chat-toast-in {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(-12px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .chat-feature-toast {
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            z-index: 60;
            display: flex;
            align-items: flex-start;
            gap: 14px;
            width: min(560px, calc(100vw - 32px));
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(96, 165, 250, 0.65);
            background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.08),
                0 12px 40px rgba(0, 0, 0, 0.45),
                0 0 32px rgba(59, 130, 246, 0.25);
            animation: chat-toast-in 0.4s ease;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .page:not(.page--logged-in) .chat-feature-toast {
            top: 96px;
        }

        .page--logged-in .chat-feature-toast {
            top: 20px;
        }

        .chat-feature-toast__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            border-radius: 10px;
            background: rgba(59, 130, 246, 0.35);
            color: #93c5fd;
        }

        .chat-feature-toast__text {
            margin: 0;
            flex: 1;
            font-size: 14px;
            line-height: 1.55;
            color: #f1f5f9;
            padding-top: 2px;
        }

        .chat-feature-toast__text strong {
            color: #fff;
            font-weight: 600;
        }

        .chat-feature-toast__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.08);
            color: #cbd5e1;
            cursor: pointer;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .chat-feature-toast__close:hover {
            background: rgba(255, 255, 255, 0.16);
            color: #fff;
        }

        .canvas {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr minmax(auto, 850px) 1fr;
            padding: 120px 32px 32px;
            gap: 24px;
            position: relative;
            min-height: 0;
            width: 100%;
            min-width: 0;
        }

        .page--logged-in .canvas {
            padding-top: 24px;
        }

        .sidebar-toggle {
            position: fixed;
            top: 96px;
            left: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(15, 15, 18, 0.85);
            border: 1px solid var(--border);
            color: var(--text);
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
            z-index: 45;
        }

        .sidebar-toggle svg {
            width: 20px;
            height: 20px;
        }

        .sidebar-toggle:hover {
            transform: translateY(-1px);
            background: rgba(20, 20, 26, 0.95);
        }

        .chat-area {
            grid-column: 2;
            display: flex;
            flex-direction: column;
            gap: 16px;
            position: relative;
            min-height: 0;
            width: 100%;
        }

        .right-sidebar {
            grid-column: 3;
            justify-self: end;
            width: 240px;
            display: flex;
            flex-direction: column;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            padding-left: 16px;
            height: 100%;
            overflow: hidden;
        }

        .rs-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-shrink: 0;
        }

        .rs-search {
            display: block;
            margin-bottom: 14px;
            flex-shrink: 0;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
        }

        .rs-search--open {
            max-height: 48px;
            opacity: 1;
            margin-bottom: 14px;
        }

        .rs-search-btn {
            width: 28px !important;
            height: 28px !important;
        }

        .rs-search-btn svg {
            width: 14px;
            height: 14px;
        }

        .rs-search-btn.active {
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.4);
        }

        .rs-search-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            color: var(--text);
            font-size: 13px;
            font-family: inherit;
            outline: none;
            transition: border-color 0.15s ease, background 0.15s ease;
        }

        .rs-search-input::placeholder {
            color: var(--muted);
        }

        .rs-search-input:focus {
            border-color: rgba(59, 130, 246, 0.55);
            background: rgba(255, 255, 255, 0.08);
        }

        .rs-empty {
            margin: 0;
            padding: 12px;
            font-size: 12px;
            color: var(--muted);
            text-align: center;
        }

        .rs-header h3 {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .rs-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
            scrollbar-width: none;
            padding-right: 4px;
        }

        .rs-item {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text);
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.2s ease;
            width: 100%;
            cursor: pointer;
            font: inherit;
            text-align: left;
        }

        .rs-item:hover,
        .rs-item.active {
            background: rgba(255, 255, 255, 0.06);
            transform: translateY(-1px);
            border-color: rgba(255, 255, 255, 0.12);
        }

        .rs-item.active {
            box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
        }

        .course-visit-link {
            color: var(--accent-2);
            text-decoration: underline;
            font-weight: 500;
        }

        .course-visit-link:hover {
            color: #60a5fa;
        }

        .empty-subtitle {
            color: var(--muted);
            font-size: 14px;
            margin-top: 4px;
        }

        .composer.composer-expanded textarea {
            min-height: 120px;
        }

        .rs-item-icon {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .rs-item-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .rs-item-title {
            font-size: 12px;
            font-weight: 500;
        }

        .chat-scroll {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 18px;
            -webkit-overflow-scrolling: touch;
            padding-right: 4px;
            min-height: 0;
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE and Edge */
        }

        .chat-scroll::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari and Opera */
        }

        .message {
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .message.user {
            flex-direction: row-reverse;
        }

        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 12px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--muted);
            flex-shrink: 0;
        }

        .bubble {
            max-width: min(720px, 92%);
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid var(--border);
            line-height: 1.6;
            background: rgba(15, 15, 20, 0.7);
        }

        .message.user .bubble {
            background: rgba(255, 255, 255, 0.08);
            /* Solid dark color */
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: none;
        }

        .message.assistant .bubble {
            background: rgba(18, 18, 24, 0.9);
        }

        .markdown h1,
        .markdown h2,
        .markdown h3 {
            margin: 0.6em 0 0.4em;
            font-weight: 700;
        }

        .markdown h1 {
            font-size: 22px;
        }

        .markdown h2 {
            font-size: 19px;
        }

        .markdown h3 {
            font-size: 16px;
        }

        .markdown p {
            margin: 0.4em 0 0.8em;
        }

        .markdown ul,
        .markdown ol {
            margin: 0.4em 0 0.8em;
            padding-left: 1.5em;
        }

        .markdown li {
            margin-bottom: 0.3em;
        }

        .markdown strong {
            font-weight: 700;
            color: var(--text);
        }

        .markdown code {
            font-family: "Fira Code", monospace;
            font-size: 0.9em;
            background: rgba(255, 255, 255, 0.08);
            padding: 2px 6px;
            border-radius: 6px;
            color: var(--accent);
        }

        .markdown pre {
            background: #0a0a0a;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 14px 16px;
            overflow-x: auto;
            font-family: "Fira Code", monospace;
            font-size: 0.9em;
            color: var(--text);
        }

        .markdown pre code {
            background: transparent;
            padding: 0;
        }

        .markdown table {
            width: 100%;
            border-collapse: collapse;
            margin: 0.6em 0 1em;
            font-size: 0.95em;
        }

        .markdown th,
        .markdown td {
            border: 1px solid rgba(255, 255, 255, 0.12);
            padding: 10px 12px;
            text-align: left;
            vertical-align: top;
        }

        .markdown thead th {
            background: rgba(255, 255, 255, 0.06);
            font-weight: 600;
        }

        .markdown tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.02);
        }

        .markdown table {
            display: block;
            overflow-x: auto;
        }

        .composer {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px;
            border-radius: 16px;
            background: var(--panel);
            border: 1px solid var(--border);
            position: relative;
            z-index: 10;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .composer-tip {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text);
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 8px 12px;
            border-radius: 8px;
            font-weight: 500;
        }

        .composer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 4px;
        }

        .composer-actions-left,
        .composer-actions-right {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .action-btn {
            background: transparent;
            border: none;
            color: var(--muted);
            width: 34px;
            height: 34px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 0;
        }

        .action-btn svg {
            width: 18px;
            height: 18px;
        }

        .action-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text);
        }

        .composer textarea {
            width: 100%;
            resize: none;
            min-height: 48px;
            max-height: 160px;
            background: transparent;
            border: none;
            padding: 4px 0;
            color: var(--text);
            font-family: "Space Grotesk", sans-serif;
            font-size: 15px;
            outline: none;
        }

        .composer textarea::placeholder {
            color: var(--muted);
        }

        .composer #sendButton {
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            cursor: pointer;
            transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
            flex-shrink: 0;
            padding: 0;
        }

        .composer #sendButton svg {
            width: 20px;
            height: 20px;
        }

        .composer #sendButton:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .composer #sendButton:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .typing {
            display: inline-flex;
            gap: 6px;
        }

        .typing span {
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.5);
            animation: bounce 1s infinite ease-in-out;
        }

        .typing span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes bounce {

            0%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-6px);
            }
        }

        .empty-state {
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 12px;
            color: var(--muted);
            width: 100%;
            padding: 20px 0;
        }

        .empty-orb {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(120deg, #60a5fa, #c084fc, #fbcfe8, #fcd34d);
            margin-bottom: 8px;
            box-shadow: 0 8px 24px rgba(192, 132, 252, 0.3);
        }

        .empty-state.hidden {
            display: none;
        }

        .suggestions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            width: min(800px, 100%);
            text-align: left;
            margin-top: 12px;
        }

        .suggestion-card {
            padding: 20px;
            border-radius: 16px;
            background: var(--panel);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .suggestion-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .card-icon {
            font-size: 20px;
            margin-bottom: 4px;
        }

        .card-title {
            font-weight: 600;
            color: var(--text);
            font-size: 15px;
        }

        .card-desc {
            font-size: 13px;
            color: var(--muted);
        }

        .empty-title {
            font-size: 28px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }

        .mobile-menu-btn {
            display: none;
            position: fixed;
            top: 16px;
            right: 16px;
            z-index: 60;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            color: var(--text);
            cursor: pointer;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu-btn svg {
            width: 24px;
            height: 24px;
        }

        .mobile-dropdown {
            display: none;
            position: fixed;
            top: 70px;
            right: 16px;
            width: 240px;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            z-index: 55;
            padding: 16px;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }

        .mobile-dropdown.open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .mobile-dropdown-inner {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .mobile-dropdown-inner .nav-item {
            font-size: 16px;
            padding: 10px 12px;
            border-radius: 8px;
            text-decoration: none;
            color: #e5e5e5;
            font-weight: 500;
            transition: background 0.2s ease;
        }

        .mobile-dropdown-inner .nav-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: none;
            text-shadow: none;
        }

        .mobile-dropdown-inner .nav-item:after {
            display: none;
        }

        .mobile-dropdown-inner .mobile-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 4px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-dropdown-inner .btn-pill {
            width: 100%;
            padding: 12px;
            text-align: center;
        }

        @media (min-width: 1025px) {
            .page:not(.page--logged-in) .chat-workspace {
                padding-top: 88px;
            }

            .sidebar-toggle {
                display: none;
            }
        }

        @media (max-width: 1024px) {
            .chat-workspace {
                padding-top: 88px;
            }

            .page:not(.page--logged-in) .chat-workspace {
                padding-top: 120px;
            }

            .canvas {
                display: flex;
                flex-direction: column;
            }

            .right-sidebar {
                display: none;
            }
        }

        @media (max-width: 900px) {
            .canvas {
                padding: 120px 20px 24px;
            }

            .sidebar-toggle {
                left: 12px;
                top: 92px;
            }
        }

        @media (max-width: 768px) {
            header {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .empty-title {
                font-size: 22px;
            }

            .suggestion-card {
                padding: 16px;
                gap: 6px;
            }

            .card-icon {
                font-size: 18px;
            }

            .card-title {
                font-size: 14px;
            }

            .card-desc {
                font-size: 12px;
            }

            .composer textarea {
                font-size: 14px;
            }

            .composer button {
                width: 34px;
                height: 34px;
            }

            .composer button svg {
                width: 16px;
                height: 16px;
            }

            .mobile-dropdown {
                display: flex;
            }

            .sidebar-toggle {
                top: 16px;
                left: 16px;
            }

            .page:not(.page--logged-in) .chat-workspace {
                padding-top: 80px;
            }

            .canvas {
                padding-top: 16px;
            }

            .chat-area {
                max-width: 100%;
            }

            .bubble {
                max-width: 100%;
            }

            .action-btn {
                width: 28px;
                height: 28px;
            }

            .action-btn svg {
                width: 16px;
                height: 16px;
            }

            .avatar {
                display: none;
            }

            .message.user {
                align-self: flex-end;
            }

            .message.assistant {
                align-self: flex-start;
            }
        }
    