@import "tailwindcss"; @theme { --font-sans: "Manrope", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; --color-zinc-50: #111827; --color-zinc-100: #1f2937; --color-zinc-200: #334155; --color-zinc-300: #334155; --color-zinc-400: #475569; --color-zinc-500: #64748b; --color-zinc-600: #94a3b8; --color-zinc-700: #cbd5e1; --color-zinc-800: #e2e8f0; --color-zinc-900: #f8fafc; --color-zinc-950: #fcfdff; --color-indigo-300: #fdba74; --color-indigo-400: #fb923c; --color-indigo-500: #f97316; --color-indigo-600: #ea580c; --color-indigo-700: #c2410c; --color-indigo-800: #9a3412; } html { background: var(--color-zinc-950); --app-bg-spot-a: rgb(249 115 22 / 0.025); --app-bg-spot-b: rgb(15 23 42 / 0.025); --app-bg-base-top: rgb(248 250 252 / 0.985); --app-bg-base-bottom: rgb(241 245 249 / 0.98); --shell-spot-a: rgb(249 115 22 / 0.03); --shell-spot-b: rgb(148 163 184 / 0.05); --main-surface-top: rgb(255 255 255 / 0.5); --main-surface-mid: rgb(255 255 255 / 0.22); --main-surface-bottom: rgb(255 255 255 / 0.08); --header-bg-a: rgb(255 255 255 / 0.92); --header-bg-b: rgb(248 250 252 / 0.88); --header-overlay-a: rgb(255 255 255 / 0.18); --header-overlay-b: rgb(255 255 255 / 0.06); --sidebar-bg-a: rgb(255 255 255 / 0.9); --sidebar-bg-b: rgb(248 250 252 / 0.86); --sidebar-overlay-a: rgb(255 255 255 / 0.14); --sidebar-overlay-b: rgb(255 255 255 / 0.04); --sidebar-edge: rgb(226 232 240 / 0.9); --sidebar-section-a: rgb(255 255 255 / 0.62); --sidebar-section-b: rgb(248 250 252 / 0.44); --active-bg: rgb(249 115 22 / 0.08); --active-ring: rgb(249 115 22 / 0.18); --card-bg-a: rgb(255 255 255 / 0.82); --card-bg-b: rgb(248 250 252 / 0.7); --card-topline: rgb(255 255 255 / 0.72); --card-inner-highlight: rgb(255 255 255 / 0.9); --card-shadow: rgb(15 23 42 / 0.045); --card-subtle-a: rgb(255 255 255 / 0.6); --card-subtle-b: rgb(248 250 252 / 0.4); --button-start: #fb923c; --button-end: #f97316; --button-shadow: rgb(249 115 22 / 0.16); --button-neutral-bg: rgb(226 232 240 / 0.9); --button-neutral-bg-hover: rgb(203 213 225 / 0.96); --button-neutral-border: rgb(203 213 225 / 0.98); --button-neutral-text: rgb(51 65 85 / 0.96); --button-primary-bg: rgb(255 237 213 / 0.96); --button-primary-bg-hover: rgb(255 224 189 / 0.98); --button-primary-border: rgb(251 146 60 / 0.34); --button-primary-text: rgb(154 52 18 / 0.98); --button-success-bg: rgb(220 252 231 / 0.96); --button-success-bg-hover: rgb(187 247 208 / 0.98); --button-success-border: rgb(52 211 153 / 0.34); --button-success-text: rgb(6 95 70 / 0.98); --button-warning-bg: rgb(254 243 199 / 0.98); --button-warning-bg-hover: rgb(253 230 138 / 0.98); --button-warning-border: rgb(245 158 11 / 0.34); --button-warning-text: rgb(146 64 14 / 0.98); --button-danger-bg: rgb(255 228 230 / 0.98); --button-danger-bg-hover: rgb(254 205 211 / 0.98); --button-danger-border: rgb(244 63 94 / 0.28); --button-danger-text: rgb(159 18 57 / 0.98); --chip-bg: rgb(226 232 240 / 0.82); --chip-bg-hover: rgb(203 213 225 / 0.92); --chip-border: rgb(203 213 225 / 0.96); --chip-text: rgb(51 65 85 / 0.96); --chip-active-bg: rgb(255 237 213 / 0.96); --chip-active-border: rgb(251 146 60 / 0.45); --chip-active-text: rgb(154 52 18 / 0.98); --chip-group-bg: rgb(255 255 255 / 0.55); --chip-group-border: rgb(226 232 240 / 0.95); --radius-card: 18px; --radius-subtle: 12px; --radius-panel: 16px; --radius-canvas: 12px; --radius-button: 14px; --radius-chip: 14px; --radius-section: 20px; --radius-badge: 14px; } html.theme-dark { --color-zinc-50: #f8fafc; --color-zinc-100: #e2e8f0; --color-zinc-200: #d7e1ee; --color-zinc-300: #b8c6d8; --color-zinc-400: #90a4bc; --color-zinc-500: #6f839b; --color-zinc-600: #516278; --color-zinc-700: #243244; --color-zinc-800: #162131; --color-zinc-900: #101827; --color-zinc-950: #0d1522; --color-indigo-300: #f8c58d; --color-indigo-400: #f1a561; --color-indigo-500: #e8843a; --color-indigo-600: #d46a23; --color-indigo-700: #af4f16; --color-indigo-800: #8d3f13; --app-bg-spot-a: rgb(249 115 22 / 0.035); --app-bg-spot-b: rgb(56 189 248 / 0.05); --app-bg-base-top: rgb(9 16 28 / 0.995); --app-bg-base-bottom: rgb(14 22 36 / 0.992); --shell-spot-a: rgb(249 115 22 / 0.03); --shell-spot-b: rgb(96 165 250 / 0.04); --main-surface-top: rgb(255 255 255 / 0.026); --main-surface-mid: rgb(255 255 255 / 0.016); --main-surface-bottom: rgb(255 255 255 / 0.008); --header-bg-a: rgb(14 21 34 / 0.92); --header-bg-b: rgb(11 18 29 / 0.9); --header-overlay-a: rgb(255 255 255 / 0.03); --header-overlay-b: rgb(255 255 255 / 0.01); --sidebar-bg-a: rgb(13 20 33 / 0.93); --sidebar-bg-b: rgb(10 16 27 / 0.9); --sidebar-overlay-a: rgb(255 255 255 / 0.022); --sidebar-overlay-b: rgb(255 255 255 / 0.008); --sidebar-edge: rgb(71 85 105 / 0.64); --sidebar-section-a: rgb(18 30 49 / 0.74); --sidebar-section-b: rgb(12 20 34 / 0.58); --active-bg: rgb(232 132 58 / 0.11); --active-ring: rgb(241 165 97 / 0.22); --card-bg-a: rgb(17 28 46 / 0.82); --card-bg-b: rgb(11 20 34 / 0.72); --card-topline: rgb(255 255 255 / 0.065); --card-inner-highlight: rgb(255 255 255 / 0.045); --card-shadow: rgb(0 0 0 / 0.24); --card-subtle-a: rgb(22 32 50 / 0.62); --card-subtle-b: rgb(13 21 35 / 0.48); --button-start: #ee9852; --button-end: #d96b25; --button-shadow: rgb(217 107 37 / 0.18); --button-neutral-bg: rgb(36 49 69 / 0.9); --button-neutral-bg-hover: rgb(48 63 87 / 0.96); --button-neutral-border: rgb(93 109 135 / 0.82); --button-neutral-text: rgb(226 232 240 / 0.96); --button-primary-bg: rgb(232 132 58 / 0.16); --button-primary-bg-hover: rgb(232 132 58 / 0.24); --button-primary-border: rgb(232 132 58 / 0.3); --button-primary-text: rgb(255 228 205 / 0.96); --button-success-bg: rgb(16 185 129 / 0.14); --button-success-bg-hover: rgb(16 185 129 / 0.22); --button-success-border: rgb(52 211 153 / 0.24); --button-success-text: rgb(209 250 229 / 0.96); --button-warning-bg: rgb(245 158 11 / 0.14); --button-warning-bg-hover: rgb(245 158 11 / 0.22); --button-warning-border: rgb(251 191 36 / 0.24); --button-warning-text: rgb(254 243 199 / 0.96); --button-danger-bg: rgb(244 63 94 / 0.14); --button-danger-bg-hover: rgb(244 63 94 / 0.22); --button-danger-border: rgb(251 113 133 / 0.24); --button-danger-text: rgb(255 228 230 / 0.96); --chip-bg: rgb(36 49 69 / 0.9); --chip-bg-hover: rgb(48 63 87 / 0.96); --chip-border: rgb(93 109 135 / 0.82); --chip-text: rgb(226 232 240 / 0.96); --chip-active-bg: rgb(123 58 24 / 0.28); --chip-active-border: rgb(232 132 58 / 0.28); --chip-active-text: rgb(255 237 213 / 0.92); --chip-group-bg: rgb(19 31 49 / 0.68); --chip-group-border: rgb(71 85 105 / 0.76); --radius-card: 18px; --radius-subtle: 12px; --radius-panel: 16px; --radius-canvas: 12px; --radius-button: 14px; --radius-chip: 14px; --radius-section: 20px; --radius-badge: 14px; } body { @apply bg-zinc-950 text-zinc-50 antialiased selection:bg-indigo-500/30; background-image: radial-gradient(circle at top left, var(--app-bg-spot-a), transparent 24%), radial-gradient(circle at 100% 0%, var(--app-bg-spot-b), transparent 22%), linear-gradient(180deg, var(--app-bg-base-top), var(--app-bg-base-bottom)); min-height: 100vh; transition: background-color 180ms ease, color 180ms ease; } html.theme-dark body { background-image: radial-gradient(circle at top left, var(--app-bg-spot-a), transparent 22%), radial-gradient(circle at 100% 0%, var(--app-bg-spot-b), transparent 20%), linear-gradient(180deg, var(--app-bg-base-top), var(--app-bg-base-bottom)); } ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { @apply bg-zinc-800 rounded-full; } ::-webkit-scrollbar-thumb:hover { @apply bg-zinc-700; } .app-shell { background: radial-gradient(circle at top, var(--shell-spot-a), transparent 18%), radial-gradient(circle at bottom right, var(--shell-spot-b), transparent 26%); } .app-main-surface { background: linear-gradient(180deg, var(--main-surface-top), transparent 18%), linear-gradient(180deg, var(--main-surface-mid), var(--main-surface-bottom)); } html.theme-dark .app-main-surface { background: linear-gradient(180deg, var(--main-surface-top), transparent 24%), linear-gradient(180deg, var(--main-surface-mid), var(--main-surface-bottom)); } .app-header { background: linear-gradient(90deg, var(--header-bg-a), var(--header-bg-b)), linear-gradient(180deg, var(--header-overlay-a), var(--header-overlay-b)); backdrop-filter: blur(18px); } html.theme-dark .app-header { background: linear-gradient(90deg, var(--header-bg-a), var(--header-bg-b)), linear-gradient(180deg, var(--header-overlay-a), var(--header-overlay-b)); } .brand-badge { background: linear-gradient(135deg, #ffb36b 0%, #ff8552 48%, #d9481c 100%); box-shadow: 0 12px 28px rgb(234 88 12 / 0.2); border-radius: var(--radius-badge); } .sidebar-shell { background: linear-gradient(180deg, var(--sidebar-bg-a), var(--sidebar-bg-b)), linear-gradient(180deg, var(--sidebar-overlay-a), var(--sidebar-overlay-b)); box-shadow: inset -1px 0 0 var(--sidebar-edge); } html.theme-dark .sidebar-shell { background: linear-gradient(180deg, var(--sidebar-bg-a), var(--sidebar-bg-b)), linear-gradient(180deg, var(--sidebar-overlay-a), var(--sidebar-overlay-b)); box-shadow: inset -1px 0 0 var(--sidebar-edge); } .sidebar-section { background: linear-gradient(180deg, var(--sidebar-section-a), var(--sidebar-section-b)); border-radius: var(--radius-section); } html.theme-dark .sidebar-section { background: linear-gradient(180deg, var(--sidebar-section-a), var(--sidebar-section-b)); } .nav-item-active { background: var(--active-bg); box-shadow: inset 0 0 0 1px var(--active-ring); border-radius: var(--radius-chip); } html.theme-dark .nav-item-active { background: var(--active-bg); box-shadow: inset 0 0 0 1px var(--active-ring); } .brand-card { position: relative; overflow: hidden; border-radius: var(--radius-card); background: linear-gradient(180deg, var(--card-bg-a), var(--card-bg-b)); box-shadow: inset 0 1px 0 var(--card-inner-highlight), 0 8px 30px var(--card-shadow); } .brand-card::before { content: ""; position: absolute; inset: 0 0 auto 0; width: 100%; height: 1px; border-radius: 9999px; background: linear-gradient(90deg, transparent, var(--card-topline), transparent); pointer-events: none; } html.theme-dark .brand-card { background: linear-gradient(180deg, var(--card-bg-a), var(--card-bg-b)); box-shadow: inset 0 1px 0 var(--card-inner-highlight), 0 12px 36px var(--card-shadow); } .brand-card-subtle { border-radius: var(--radius-subtle); background: linear-gradient(180deg, var(--card-subtle-a), var(--card-subtle-b)); } html.theme-dark .brand-card-subtle { background: linear-gradient(180deg, var(--card-subtle-a), var(--card-subtle-b)); } .brand-button { border-radius: var(--radius-button); background: linear-gradient(135deg, var(--button-start) 0%, var(--button-end) 100%); box-shadow: 0 8px 20px var(--button-shadow); } html.theme-dark .brand-button { box-shadow: 0 10px 24px var(--button-shadow); } .ui-button { border-radius: var(--radius-button); border: 1px solid transparent; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease; } .ui-button:disabled { opacity: 0.5; cursor: not-allowed; } .ui-button-neutral { background: var(--button-neutral-bg); border-color: var(--button-neutral-border); color: var(--button-neutral-text); } .ui-button-neutral:hover:not(:disabled) { background: var(--button-neutral-bg-hover); } .ui-button-primary { background: var(--button-primary-bg); border-color: var(--button-primary-border); color: var(--button-primary-text); } .ui-button-primary:hover:not(:disabled) { background: var(--button-primary-bg-hover); } .ui-button-success { background: var(--button-success-bg); border-color: var(--button-success-border); color: var(--button-success-text); } .ui-button-success:hover:not(:disabled) { background: var(--button-success-bg-hover); } .ui-button-warning { background: var(--button-warning-bg); border-color: var(--button-warning-border); color: var(--button-warning-text); } .ui-button-warning:hover:not(:disabled) { background: var(--button-warning-bg-hover); } .ui-button-danger { background: var(--button-danger-bg); border-color: var(--button-danger-border); color: var(--button-danger-text); } .ui-button-danger:hover:not(:disabled) { background: var(--button-danger-bg-hover); } .ui-panel { border: 1px solid var(--color-zinc-800); border-radius: var(--radius-card); } .ui-subpanel { border: 1px solid var(--color-zinc-800); border-radius: var(--radius-subtle); background: linear-gradient(180deg, var(--card-subtle-a), var(--card-subtle-b)); } .ui-toggle-card { border: 1px solid var(--color-zinc-800); border-radius: var(--radius-subtle); background: rgb(255 255 255 / 0.8); } .ui-input, .ui-textarea, .ui-select { width: 100%; border: 1px solid var(--color-zinc-800); border-radius: var(--radius-subtle); background: rgb(255 255 255 / 0.9); color: rgb(51 65 85 / 0.98); outline: none; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; } .ui-input::placeholder, .ui-textarea::placeholder { color: rgb(100 116 139 / 0.9); } .ui-input:focus, .ui-textarea:focus, .ui-select:focus { border-color: var(--color-indigo-500); box-shadow: 0 0 0 2px rgb(249 115 22 / 0.12); } html.theme-dark .ui-toggle-card { border-color: var(--color-zinc-700); background: rgb(9 16 28 / 0.32); } html.theme-dark .ui-input, html.theme-dark .ui-textarea, html.theme-dark .ui-select { border-color: var(--color-zinc-700); background: rgb(9 16 28 / 0.6); color: rgb(226 232 240 / 0.96); } html.theme-dark .ui-input::placeholder, html.theme-dark .ui-textarea::placeholder { color: rgb(111 131 155 / 0.9); } .ui-soft-panel { border: 1px solid var(--color-zinc-800); border-radius: var(--radius-subtle); background: rgb(255 255 255 / 0.72); } .ui-code-panel { border: 1px solid var(--color-zinc-800); border-radius: var(--radius-subtle); background: rgb(241 245 249 / 0.9); color: rgb(51 65 85 / 0.96); } html.theme-dark .ui-soft-panel { border-color: var(--color-zinc-700); background: rgb(9 16 28 / 0.34); } html.theme-dark .ui-code-panel { border-color: var(--color-zinc-700); background: rgb(9 16 28 / 0.6); color: rgb(226 232 240 / 0.96); } .chat-bubble-user { background: linear-gradient(135deg, var(--button-start) 0%, var(--button-end) 100%); color: white; } .chat-bubble-tool { background: rgb(255 247 237 / 0.96); border: 1px solid rgb(253 186 116 / 0.7); color: rgb(124 45 18 / 0.98); } .chat-bubble-agent { background: rgb(226 232 240 / 0.9); border: 1px solid rgb(203 213 225 / 0.95); color: rgb(51 65 85 / 0.98); } .chat-bubble-system { background: rgb(226 232 240 / 0.72); border: 1px solid rgb(203 213 225 / 0.9); color: rgb(51 65 85 / 0.98); } html.theme-dark .chat-bubble-tool { background: rgb(123 58 24 / 0.24); border-color: rgb(232 132 58 / 0.28); color: rgb(255 237 213 / 0.96); } html.theme-dark .chat-bubble-agent { background: rgb(22 32 50 / 0.82); border-color: rgb(71 85 105 / 0.76); color: rgb(226 232 240 / 0.96); } html.theme-dark .chat-bubble-system { background: rgb(36 49 69 / 0.74); border-color: rgb(71 85 105 / 0.74); color: rgb(226 232 240 / 0.96); } .control-chip { border-radius: var(--radius-chip); background: var(--chip-bg); border: 1px solid var(--chip-border); color: var(--chip-text); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; } .control-chip:hover { background: var(--chip-bg-hover); } .control-chip-active { border-radius: var(--radius-chip); background: var(--chip-active-bg); border: 1px solid var(--chip-active-border); color: var(--chip-active-text); } .control-chip-group { border-radius: var(--radius-chip); background: var(--chip-group-bg); border: 1px solid var(--chip-group-border); } .radius-canvas { border-radius: var(--radius-canvas); } .radius-panel { border-radius: var(--radius-panel); } .rounded-xl { border-radius: var(--radius-button) !important; } .rounded-2xl { border-radius: var(--radius-subtle) !important; } .rounded-3xl { border-radius: var(--radius-card) !important; } .rounded-\[19px\], .rounded-\[24px\] { border-radius: var(--radius-canvas) !important; } .rounded-\[23px\], .rounded-\[28px\] { border-radius: var(--radius-panel) !important; } .rounded-\[25px\], .rounded-\[30px\], .rounded-\[32px\] { border-radius: var(--radius-card) !important; }