@import 'tailwindcss'; /* ============================================================================= MOSAIC DESIGN SYSTEM — Reference token system from dashboard design ============================================================================= */ /* ----------------------------------------------------------------------------- Primitive Tokens (Dark-first — dark is the default theme) ----------------------------------------------------------------------------- */ :root { /* Mosaic design tokens — dark palette (default) */ --ms-bg-950: #080b12; --ms-bg-900: #0f141d; --ms-bg-850: #151b26; --ms-surface-800: #1b2331; --ms-surface-750: #232d3f; --ms-border-700: #2f3b52; --ms-text-100: #eef3ff; --ms-text-300: #c5d0e6; --ms-text-500: #8f9db7; --ms-blue-500: #2f80ff; --ms-blue-400: #56a0ff; --ms-red-500: #e5484d; --ms-red-400: #f06a6f; --ms-purple-500: #8b5cf6; --ms-purple-400: #a78bfa; --ms-teal-500: #14b8a6; --ms-teal-400: #2dd4bf; --ms-amber-500: #f59e0b; --ms-amber-400: #fbbf24; --ms-pink-500: #ec4899; --ms-emerald-500: #10b981; --ms-orange-500: #f97316; --ms-cyan-500: #06b6d4; --ms-indigo-500: #6366f1; /* Semantic aliases — dark theme is default */ --bg: var(--ms-bg-900); --bg-deep: var(--ms-bg-950); --bg-mid: var(--ms-bg-850); --surface: var(--ms-surface-800); --surface-2: var(--ms-surface-750); --border: var(--ms-border-700); --text: var(--ms-text-100); --text-2: var(--ms-text-300); --muted: var(--ms-text-500); --primary: var(--ms-blue-500); --primary-l: var(--ms-blue-400); --danger: var(--ms-red-500); --success: var(--ms-teal-500); --warn: var(--ms-amber-500); --purple: var(--ms-purple-500); /* Typography */ --font: var(--font-outfit, 'Outfit'), system-ui, sans-serif; --mono: var(--font-fira-code, 'Fira Code'), 'Cascadia Code', monospace; /* Radius scale */ --r: 8px; --r-sm: 5px; --r-lg: 12px; --r-xl: 16px; /* Layout dimensions */ --sidebar-w: 260px; --topbar-h: 56px; --terminal-h: 220px; /* Easing */ --ease: cubic-bezier(0.16, 1, 0.3, 1); /* Legacy shadow tokens (retained for component compat) */ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4); } [data-theme='light'] { --ms-bg-950: #f8faff; --ms-bg-900: #f0f4fc; --ms-bg-850: #e8edf8; --ms-surface-800: #dde4f2; --ms-surface-750: #d0d9ec; --ms-border-700: #b8c4de; --ms-text-100: #0f141d; --ms-text-300: #2f3b52; --ms-text-500: #5a6a87; --bg: var(--ms-bg-900); --bg-deep: var(--ms-bg-950); --bg-mid: var(--ms-bg-850); --surface: var(--ms-surface-800); --surface-2: var(--ms-surface-750); --border: var(--ms-border-700); --text: var(--ms-text-100); --text-2: var(--ms-text-300); --muted: var(--ms-text-500); --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05), 0 1px 3px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.08); } @theme { --font-sans: var(--font); --font-mono: var(--mono); --color-surface-bg: var(--bg); --color-surface-card: var(--surface); --color-surface-elevated: var(--surface-2); --color-surface-border: var(--border); --color-text-primary: var(--text); --color-text-secondary: var(--text-2); --color-text-muted: var(--muted); --color-accent: var(--primary); --color-success: var(--success); --color-warning: var(--warn); --color-error: var(--danger); --color-info: var(--primary-l); --spacing-sidebar: var(--sidebar-w); } *, *::before, *::after { box-sizing: border-box; } html { font-size: 15px; font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; } a { color: inherit; text-decoration: none; } button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; } input, select, textarea { font-family: inherit; } ul { list-style: none; } body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"); opacity: 0.025; } @layer base { :focus-visible { outline: 2px solid var(--ms-blue-400); outline-offset: 2px; } :focus:not(:focus-visible) { outline: none; } } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--muted); } * { scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .app-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; grid-template-rows: var(--topbar-h) 1fr; height: 100vh; overflow: hidden; } .app-header { grid-column: 1 / -1; grid-row: 1; background: var(--bg-deep); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 20px; gap: 12px; z-index: 100; } .app-sidebar { grid-column: 1; grid-row: 2; background: var(--bg-deep); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; } .app-main { grid-column: 2; grid-row: 2; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; position: relative; } @media (max-width: 767px) { .app-shell { grid-template-columns: 1fr; } .app-sidebar { position: fixed; left: 0; top: var(--topbar-h); bottom: 0; width: 240px; z-index: 150; transform: translateX(-100%); transition: transform 0.2s ease; } .app-sidebar[data-mobile-open='true'] { transform: translateX(0); } .app-main, .app-header { grid-column: 1; } } @media (min-width: 768px) and (max-width: 1023px) { .app-shell[data-sidebar-hidden='true'] { grid-template-columns: 1fr; } .app-shell[data-sidebar-hidden='true'] .app-sidebar { display: none; } .app-shell[data-sidebar-hidden='true'] .app-main, .app-shell[data-sidebar-hidden='true'] .app-header { grid-column: 1; } }