@layer theme, base, components, utilities; @import "tailwindcss/theme.css" layer(theme); @import "tailwindcss/utilities.css" layer(utilities); /* ── Map design tokens → Tailwind v4 theme ──────────────────────────── */ @theme { /* Colors — semantic */ --color-fg: #ebdbb2; --color-fg-muted: #a89984; --color-fg-subtle: #7c6f64; --color-fg-inverse: #1d2021; --color-bg: #1d2021; --color-bg-elev-1: rgba(50, 48, 47, 0.85); --color-bg-elev-2: rgba(0, 0, 0, 0.30); --color-bg-elev-3: rgba(0, 0, 0, 0.18); --color-border: rgba(255, 255, 255, 0.07); --color-border-strong: rgba(255, 255, 255, 0.15); --color-border-warm: rgba(243, 165, 182, 0.08); --color-brand: #d3869b; --color-brand-hover: #b16286; --color-brand-glow: rgba(211, 134, 155, 0.4); --color-accent: #fabd2f; --color-success: #8ec07c; --color-warn: #fe8019; --color-danger: #fb4934; --color-info: #83a598; --color-chrome-bg: #0f1011; --color-chrome-fg: #d5c4a1; /* Radius */ --radius-xs: 2px; --radius-sm: 3px; --radius-md: 4px; --radius-lg: 6px; --radius-xl: 10px; /* Fonts */ --font-sans: 'Inter Variable', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; --font-serif: 'Source Serif 4 Variable', 'Source Serif 4', Georgia, serif; } /* Font imports removed — the chrome token system uses only system monospace (ui-monospace, SFMono-Regular, Menlo, Consolas). Fraunces / Nunito / Outfit / Inter are no longer referenced by any rule. */ :root { --primary: #d3869b; --primary-hover: #b16286; --accent: #fabd2f; --bg: #1d2021; --glass-bg: rgba(50, 48, 47, 0.85); --glass-border: rgba(235, 219, 178, 0.08); --glass-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4); --blur: blur(16px) saturate(140%); --text-primary: #ebdbb2; --text-secondary: #a89984; --radius: 6px; --gap: 6px; --transition-fast: 0.12s ease; --transition-smooth: 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* ── Chrome tokens ── Introduced with the LogsFooter status bar. Surfaces that want the same tight dark-chrome look reference these (Header topbar now, future: Sidebar edges, Settings tab bar, NavRail). Keeping values in one place means style tweaks flow everywhere in sync. */ --chrome-bg: #0f1011; --chrome-border: rgba(255, 255, 255, 0.08); --chrome-border-strong: rgba(255, 255, 255, 0.12); --chrome-fg: #d5c4a1; --chrome-fg-muted: #a89984; --chrome-fg-dim: #7c6f64; --chrome-accent: #f3a5b6; --chrome-accent-bg: rgba(243, 165, 182, 0.12); --chrome-accent-border: rgba(243, 165, 182, 0.35); --chrome-severity-err: #fb4934; --chrome-severity-warn: #fabd2f; --chrome-severity-ok: #8ec07c; --chrome-radius-pill: 3px; --chrome-hover-bg: rgba(255, 255, 255, 0.04); /* Chrome-label face is IBM Plex Mono now — defined in ui/tokens.css as --font-mono. Keep this alias so existing `var(--chrome-font-mono)` rules don't need to change; it just picks up the new face automatically. */ --chrome-font-mono: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace); --chrome-label-size: 11px; --chrome-label-track: 0.06em; --chrome-bar-h: 28px; --chrome-pill-h: 20px; --chrome-icon-btn: 22px; } /* ═══ ANIMATIONS ═══ */ @keyframes mesh { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes spin { to { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(251,73,52,0.4); } 50% { opacity: 0.85; box-shadow: 0 0 12px 4px rgba(251,73,52,0.3); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } /* ═══ FOUNDATION ═══ */ *, *::before, *::after { box-sizing: border-box; } ::selection { background: color-mix(in srgb, var(--chrome-accent) 35%, transparent); color: #fff; } /* Root rendering — applies to everything unless overridden. */ html { font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; /* Inter OT flags that nudge it toward Söhne: cv11 – single-story `a` ss01 – alt digits (straight 4, balanced 6/9) ss03 – alt `l` with serif-foot (legibility win at 10–12 px) */ font-feature-settings: "cv11", "ss01", "ss03"; /* Make sure kerning is on — some WebKit builds leave it off by default. */ font-kerning: normal; } body { margin: 0; padding: 0; background-color: var(--chrome-bg); color: var(--chrome-fg); font-family: var(--font-sans); font-size: 13px; /* was 12px — +1 to give Inter room to breathe */ line-height: 1.5; overflow-x: hidden; min-height: 100vh; } /* Default headings — sans, tight leading. Overrides live per page. */ h1, h2, h3, h4 { font-family: var(--font-sans); margin: 0; letter-spacing: -0.005em; } /* Tabular numbers + slashed zero wherever columns of digits need to line up. Anything already on `--font-mono` inherits mono + these features. */ .segment-time, .segment-table code, .ui-table-toolbar__meta, .hq-stats, .dub-gen-overlay__stats, .dub-trans-overlay__stats, .logs-footer__count, [data-tabular] { font-variant-numeric: tabular-nums slashed-zero; } /* Mono rule of thumb — IBM Plex Mono ships with slashed zero in its `zero` OT feature, tabular by default. Make both explicit so a browser that ignores the feature-settings still gets it. */ code, kbd, pre, samp, [class*="chrome-font-mono"], [style*="chrome-font-mono"] { font-variant-numeric: tabular-nums slashed-zero; font-feature-settings: "zero", "ss02"; } #root { display: flex; justify-content: center; padding: 0; width: 100%; min-height: 100vh; height: 100vh; } /* ═══ LAYOUT ═══ */ .app-container { width: 100%; max-width: 100vw; display: grid; /* [rail 48px] [sidebar 180–220] [main 1fr] */ grid-template-columns: 48px minmax(180px, 220px) minmax(0, 4fr); grid-template-rows: auto 1fr; gap: 0px; /* Shrink the studio grid by the LogsFooter's current height so its sidebar + main column always stop exactly at the footer's top edge. The footer itself (position:fixed) writes `--logs-footer-height` on :root whenever it toggles collapsed/expanded or the user resizes. */ height: calc(100% - var(--logs-footer-height, 28px)); overflow: hidden; transition: grid-template-columns var(--transition-smooth); } .app-container.sidebar-collapsed { grid-template-columns: 48px 46px minmax(0, 4fr); } .app-container.sidebar-hidden { grid-template-columns: 48px minmax(0, 1fr); } .app-container.sidebar-hidden > .history-panel { display: none; } .app-container.sidebar-hidden > .main-content { grid-column: 2; /* rail col1, main col2 */ } /* Rail on right side */ .app-container.rail-right { grid-template-columns: minmax(180px, 220px) minmax(0, 4fr) 48px; } .app-container.rail-right.sidebar-collapsed { grid-template-columns: 46px minmax(0, 4fr) 48px; } .app-container.rail-right.sidebar-hidden { grid-template-columns: minmax(0, 1fr) 48px; } .app-container.rail-right > .nav-rail { grid-column: 3; } .app-container.rail-right > .history-panel { grid-column: 1; } .app-container.rail-right > .main-content { grid-column: 2; } .app-container.rail-right.sidebar-hidden > .main-content { grid-column: 1; } .app-container > .nav-rail { grid-column: 1; grid-row: 2; } .app-container > .history-panel { grid-column: 2; grid-row: 2; } .app-container > .main-content { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; grid-column: 3; grid-row: 2; /* Flat chrome — the shared warm radial + paper grain wash was the root cause of the "too warm" feel across Clone / Design / Dub / Settings. Every tab now sits on the same neutral chrome bg. */ background: var(--chrome-bg); position: relative; } .app-container > .main-content::before { display: none; } .app-container > .main-content > * { position: relative; z-index: 1; } .app-container > div { min-width: 0; } /* ≤1100: auto-collapse sidebar, keep nav + main */ @media (max-width: 1100px) { .app-container { grid-template-columns: 48px minmax(0, 1fr) !important; } .app-container > .history-panel { display: none !important; } .app-container > .main-content { grid-column: 2 !important; } .app-container.rail-right { grid-template-columns: minmax(0, 1fr) 48px !important; } .app-container.rail-right > .main-content { grid-column: 1 !important; } } /* ≤600: hide nav rail too, full-width main */ @media (max-width: 600px) { .app-container { grid-template-columns: minmax(0, 1fr) !important; } .app-container > .nav-rail { display: none; } .app-container > .main-content { grid-column: 1 !important; } } /* ═══ PANELS — flat chrome ═══ */ .glass-panel { background: var(--chrome-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid var(--chrome-border); border-radius: 0; padding: 12px; position: relative; overflow: hidden; margin-bottom: 0; } .glass-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.08) 70%, rgba(255,255,255,0)); pointer-events: none; } /* ═══ HEADER — warm + cute ═══ */ .header-area { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 0; flex-shrink: 0; /* Matches the LogsFooter's chrome: flat bg, hairline bottom border, no radial glow, no blur, no decorative SVG ribbon. The pulsing accent dot + italic logo still carry the brand. */ padding: 6px 16px 6px 64px; background: var(--chrome-bg); border-bottom: 1px solid var(--chrome-border); user-select: none; position: relative; z-index: 100; grid-column: 1 / -1; grid-row: 1; cursor: default; padding-right: 8px; } /* ── Header columns ──────────────────────────────────────────── */ .hq-col-left { display: flex; align-items: center; gap: 14px; justify-self: start; min-width: 0; } .hq-col-left__spacer { min-width: 80px; flex-shrink: 0; } .hq-col-center { display: flex; align-items: center; gap: 8px; justify-self: center; pointer-events: none; white-space: nowrap; } .hq-col-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; justify-self: end; min-width: 0; overflow: visible; } /* Logo */ .hq-logo-mark { transform: none; } .hq-logo-word { font-size: 0.92rem; font-weight: 600; color: var(--chrome-fg); letter-spacing: 0.02em; font-family: var(--font-sans); font-style: normal; } .hq-logo-word__accent { color: var(--chrome-accent); } /* Breadcrumb chevron spacing + inline-icon spacing */ .hq-breadcrumb-sep { margin: 0 2px; } .hq-view-icon { margin-right: 4px; vertical-align: -1px; } /* Stats readout — informational, not a button. No outer pill/shell; the thin vertical dividers between groups do the visual grouping. */ .hq-stats { display: flex; gap: 10px; font-family: var(--chrome-font-mono); font-size: 10.5px; color: var(--chrome-fg-dim); background: transparent; height: var(--chrome-pill-h); padding: 0; border: none; white-space: nowrap; flex-shrink: 1; align-items: center; overflow: hidden; } .hq-stats__key { color: var(--chrome-fg-muted); font-weight: 600; } .hq-stats__key--gpu-active { color: var(--chrome-severity-ok); } .hq-stats__sep { border-left: 1px solid var(--chrome-border); padding-left: 6px; } .hq-stats__status-wrap { border-left: 1px solid var(--chrome-border); padding-left: 6px; display: flex; align-items: center; gap: 4px; } .hq-stats__status-badge { border: none !important; background: transparent !important; padding: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; } .hq-flush-btn { margin-left: 2px; } .hq-reload-btn { flex-shrink: 0; } /* Flush dropdown — portalled to document.body, positioned dynamically via JS */ .hq-flush-dropdown { position: fixed; width: 260px; background: var(--color-bg-elev-1); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); z-index: 9999; padding: 4px 0; animation: flush-slide 0.12s ease-out; } @keyframes flush-slide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .hq-flush-dropdown__header { font-size: 10px; font-weight: 600; color: var(--color-fg-subtle); text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 12px 4px; } .hq-flush-dropdown__empty { padding: 12px; font-size: 11px; color: var(--color-fg-muted); text-align: center; } .hq-flush-dropdown__item { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; gap: 8px; } .hq-flush-dropdown__item:hover { background: rgba(255,255,255,0.03); } .hq-flush-dropdown__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .hq-flush-dropdown__name { font-size: 12px; color: var(--color-fg); font-weight: 500; } .hq-flush-dropdown__meta { font-size: 10px; color: var(--color-fg-subtle); font-family: var(--font-mono); } .hq-flush-dropdown__unload { font-size: 10px; font-weight: 600; color: var(--color-brand); background: rgba(211,134,155,0.1); border: 1px solid rgba(211,134,155,0.2); border-radius: var(--radius-pill); padding: 2px 8px; cursor: pointer; flex-shrink: 0; } .hq-flush-dropdown__unload:hover { background: rgba(211,134,155,0.2); } .hq-flush-dropdown__divider { height: 1px; background: var(--color-border); margin: 4px 0; } .hq-flush-dropdown__action { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 12px; font-size: 12px; color: var(--color-fg); background: none; border: none; cursor: pointer; text-align: left; } .hq-flush-dropdown__action:hover { background: rgba(255,255,255,0.04); } .hq-flush-dropdown__action--danger { color: #fb4934; } .hq-flush-dropdown__action--danger:hover { background: rgba(251,73,52,0.08); } /* Decorative wavy SVG ribbon was removed — the flat chrome gets its separation from the hairline `border-bottom` above, matching the LogsFooter's top edge. */ /* HQ breadcrumb — informational label, not a button. No pill shell. */ .hq-view-title { display: inline-flex; align-items: center; gap: 6px; height: var(--chrome-pill-h); padding: 0; background: transparent; border: none; font-family: var(--font-sans); } .hq-view-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; animation: hqPulse 2.4s ease-in-out infinite; } @keyframes hqPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.7; } } .hq-view-kicker { font-size: var(--chrome-label-size); font-weight: 600; letter-spacing: var(--chrome-label-track); text-transform: uppercase; color: var(--chrome-fg-muted); } .hq-view-label { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; } .hq-view-project { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 500; color: var(--chrome-fg-muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hq-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 6px; opacity: 0.35; transition: opacity 0.2s; } .hq-wave.is-active { opacity: 1; } /* Responsive header — hide low-priority elements as width tightens. Priority (least → most important): reload → wave → kicker+chevron → project name → stats pill → S/M/L picker → dot → logo wordmark. Label + icon always visible. */ /* ≤1500: drop dev reload + kicker + first chevron */ @media (max-width: 1500px) { .hq-view-kicker { display: none; } .hq-view-title > svg.lucide-chevron-right:first-of-type { display: none; } .header-area button[title="Force Reload UI"] { display: none; } } /* ≤1350: drop mini-waveform */ @media (max-width: 1350px) { .hq-wave { display: none; } } /* ≤1200: drop active project name */ @media (max-width: 1200px) { .hq-view-project { display: none; } } /* ≤1080: hide RAM/CPU text, keep VRAM + status + flush */ @media (max-width: 1080px) { .hq-stats > span:nth-child(1), .hq-stats > span:nth-child(2) { display: none; } } /* ≤960: shrink breadcrumb, hide S/M/L scale picker */ @media (max-width: 960px) { .hq-view-title { padding: 4px 10px; gap: 5px; } .hq-view-label { font-size: 0.78rem; } .hq-scale { display: none; } } /* ≤850: hide stats pill entirely */ @media (max-width: 850px) { .hq-stats { display: none !important; } } /* ≤820: drop pulsing dot + shrink logo */ @media (max-width: 820px) { .hq-view-dot { display: none; } } /* ≤720: hide logo wordmark, keep icon only */ @media (max-width: 720px) { .header-area > div:nth-child(2) span { display: none; } } /* ≤600: minimal header — just breadcrumb label */ @media (max-width: 600px) { .header-area { padding-left: 12px; padding-right: 4px; } .header-area > div:nth-child(2) { display: none; } .hq-view-title { padding: 3px 8px; } } /* Prevent clusters overlapping: clip content inside grid cells */ .header-area > div { min-width: 0; overflow: hidden; } .header-area > div:nth-child(2), .header-area > div:nth-child(3) { overflow: visible; } .hq-wave-bar { display: inline-block; width: 2.5px; border-radius: 2px; transition: opacity 0.2s; } .hq-wave-bar.active { animation: hqBounce 1.3s ease-in-out infinite; } @keyframes hqBounce { 0%, 100% { transform: scaleY(0.6); opacity: 0.75; } 50% { transform: scaleY(1.25); opacity: 1; } } .header-area h1 { font-size: 1.1rem; font-weight: 700; background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.01em; } .header-area p { margin: 0; color: var(--text-secondary); font-size: 0.7rem; } /* ═══ TABS — migrated to ui/Tabs primitive; legacy .tabs/.tab removed. ═══ */ /* ═══ GRID SYSTEMS ═══ */ .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; } /* Shared section-label style across workspace pages (Clone / Design / Dub) — rhymes with the status bar's "LOGS" label and the Sidebar section titles. Monospace + uppercase + tracked + muted so labels feel like chrome, leaving content rows to carry the colour. */ .label-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--chrome-fg-muted); font-family: var(--chrome-font-mono); font-size: var(--chrome-label-size); font-weight: 600; letter-spacing: var(--chrome-label-track); text-transform: uppercase; } .label-icon { color: var(--chrome-fg-muted); } /* ═══ INPUTS ═══ */ .input-base { width: 100%; background: var(--chrome-hover-bg); border: 1px solid var(--chrome-border); border-radius: var(--chrome-radius-pill); padding: 5px 8px; color: var(--chrome-fg); font-family: var(--font-sans); font-size: 0.78rem; transition: background var(--dur-fast), border-color var(--dur-fast); box-sizing: border-box; } .input-base:focus { outline: none; border-color: var(--chrome-border-strong); box-shadow: none; background: var(--chrome-bg); } .input-base::placeholder { color: var(--chrome-fg-dim); } textarea.input-base { min-height: 60px; resize: vertical; line-height: 1.5; } select.input-base { appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a1a1aa%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 6px top 50%; background-size: 0.4rem auto; padding-right: 18px; cursor: pointer; } select.input-base:hover { border-color: rgba(255,255,255,0.12); } /* ═══ CHECKBOX STYLING ═══ */ input[type="checkbox"] { accent-color: var(--chrome-accent); width: 13px; height: 13px; border-radius: 3px; } /* ═══ RANGE INPUTS ═══ */ input[type="range"] { -webkit-appearance: none; width: 100%; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; outline: none; margin-top: 3px; cursor: pointer; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--text-primary); cursor: pointer; box-shadow: 0 0 4px rgba(0,0,0,0.4); transition: transform var(--transition-fast); } input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.3); } input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.1); background: var(--primary); } .val-bubble { font-size: 0.65rem; background: rgba(0,0,0,0.35); padding: 1px 5px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.04); font-variant-numeric: tabular-nums; } /* ═══ TAGS ═══ */ .tags-container { display: flex; flex-wrap: wrap; gap: 3px; margin: 4px 0; } .tag-btn { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); color: var(--text-secondary); padding: 2px 6px; border-radius: 3px; font-size: 0.65rem; cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); white-space: nowrap; font-family: var(--chrome-font-mono); } .tag-btn:hover { background: var(--chrome-hover-bg); color: var(--chrome-fg); border-color: var(--chrome-border-strong); transform: none; } .tag-btn:active { transform: none; } .file-drag { border: 1px dashed var(--chrome-border-strong); border-radius: var(--chrome-radius-pill); padding: 10px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; background: transparent; transition: background var(--dur-fast), border-color var(--dur-fast); } .file-drag:hover, .file-drag.is-dragging { border-color: var(--chrome-accent); background: var(--chrome-accent-bg); box-shadow: none; } .file-drag p { margin: 0; font-size: 0.72rem; color: var(--chrome-fg-muted); } /* ═══ PROGRESS — migrated to ui/Progress primitive. ═══ */ /* ═══ BUTTON ═══ */ /* Flat chrome primary — accent = text + border, no gradient / shimmer. Matches the dub footer button family so the whole app reads as one chrome typography row. */ .btn-primary { width: 100%; background: var(--chrome-accent-bg); color: var(--chrome-accent); border: 1px solid var(--chrome-accent-border); padding: 6px 12px; border-radius: var(--chrome-radius-pill); font-size: 0.78rem; font-weight: 500; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 6px; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); font-family: var(--font-sans); letter-spacing: 0.02em; position: relative; overflow: hidden; box-shadow: none; } .btn-primary::before { display: none; } .btn-primary:hover:not(:disabled) { filter: none; background: color-mix(in srgb, var(--chrome-accent) 20%, transparent); box-shadow: none; transform: none; } .btn-primary:active:not(:disabled) { transform: none; filter: none; box-shadow: none; } .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; filter: none; } .spinner { animation: spin 1s linear infinite; } /* ═══ SIDEBAR / HISTORY ═══ */ .history-panel { height: 100%; max-height: none; overflow-y: auto; box-sizing: border-box; border-right: 1px solid rgba(255,255,255,0.04); } .history-item { background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.04); border-radius: 5px; padding: 6px 8px; margin-bottom: 4px; transition: all var(--transition-smooth); animation: fadeIn 0.2s ease-out; } .history-item:hover { background: rgba(0,0,0,0.28); border-color: rgba(255,255,255,0.08); } /* .history-header / .history-badge / .history-time / .history-text migrated to Badge + Sidebar.css. */ .project-active { border-color: rgba(184,187,38,0.4) !important; background: rgba(184,187,38,0.06) !important; box-shadow: inset 0 0 0 1px rgba(184,187,38,0.12), 0 0 8px rgba(184,187,38,0.06); } /* ═══ AUDIO PLAYER ═══ */ audio { height: 28px; width: 100%; outline: none; border-radius: 4px; } audio::-webkit-media-controls-enclosure { background-color: rgba(40,38,37,0.95); border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; } audio::-webkit-media-controls-play-button, audio::-webkit-media-controls-mute-button { background-color: rgba(255,255,255,0.06); border-radius: 50%; color: var(--chrome-accent); } audio::-webkit-media-controls-current-time-display, audio::-webkit-media-controls-time-remaining-display { color: var(--chrome-fg); font-size: 0.65rem; } /* ═══ OVERRIDES / MODALS ═══ */ .override-toggle { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.18); padding: 4px 8px; border-radius: 4px; font-size: 0.72rem; color: var(--text-primary); cursor: pointer; border: 1px solid rgba(255,255,255,0.04); margin-top: 6px; transition: all var(--transition-smooth); } .override-toggle:hover { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.08); } .override-content { background: rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.04); border-top: none; padding: 6px 8px; border-radius: 0 0 4px 4px; margin-bottom: 6px; } .preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 4px; margin-bottom: 6px; } .preset-btn { background: rgba(94,106,210,0.06); border: 1px solid rgba(94,106,210,0.15); color: #c7d2fe; padding: 3px 6px; border-radius: 4px; font-size: 0.65rem; cursor: pointer; transition: all var(--transition-smooth); text-align: left; display: flex; align-items: center; gap: 3px; } .preset-btn:hover { background: rgba(94,106,210,0.15); border-color: #a78bfa; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(94,106,210,0.15); } .preset-btn:active { transform: translateY(0); } /* ═══ SEGMENT TABLE ═══ */ .segment-table { /* No max-height cap — the list is virtualised via react-window and measures its own body container. Capping at 320 px left a huge gap below. */ border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; margin-top: 4px; } .segment-header { display: flex; align-items: center; gap: 4px; padding: 3px 6px; background: rgba(0,0,0,0.35); font-size: 0.62rem; font-weight: 600; color: var(--text-secondary); position: sticky; top: 0; z-index: 1; border-bottom: 1px solid rgba(255,255,255,0.06); letter-spacing: 0.03em; text-transform: uppercase; } .segment-row { display: flex; align-items: center; gap: 3px; padding: 2px 4px; box-sizing: border-box; border-bottom: 1px solid rgba(255,255,255,0.02); transition: background var(--transition-fast); } .segment-row:hover { background: var(--chrome-hover-bg); } .segment-row.segment-active { background: var(--chrome-accent-bg); border-left: 2px solid var(--chrome-accent); box-shadow: none; animation: none; z-index: 10; position: relative; } .segment-row.segment-done { opacity: 0.5; } .segment-row.segment-selected { background: var(--chrome-accent-bg); box-shadow: inset 2px 0 0 var(--chrome-accent); } .segment-time { width: 48px; flex-shrink: 0; font-size: 0.62rem; font-family: var(--chrome-font-mono); color: var(--chrome-fg-muted); font-variant-numeric: tabular-nums; } .segment-input { flex: 1; padding: 2px 4px !important; font-size: 0.7rem !important; border-radius: 3px !important; min-height: auto !important; } .segment-del { width: 20px; height: 20px; flex-shrink: 0; background: none; border: 1px solid rgba(251,73,52,0.12); color: #fb4934; border-radius: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition-smooth); opacity: 0.6; } .segment-del:hover { background: rgba(251,73,52,0.12); opacity: 1; } .segment-del:disabled { opacity: 0.2; cursor: not-allowed; } .profile-active { background: rgba(142,192,124,0.12) !important; border-color: #8ec07c !important; color: #8ec07c !important; } .segment-play { width: 20px; height: 20px; flex-shrink: 0; background: transparent; border: 1px solid var(--chrome-border); color: var(--chrome-fg-muted); border-radius: var(--chrome-radius-pill); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); } .segment-play:hover { background: var(--chrome-hover-bg); color: var(--chrome-fg); border-color: var(--chrome-border-strong); } /* ═══ WAVEFORM TIMELINE ═══ */ .waveform-timeline { margin-bottom: 6px; } .waveform-video-preview { margin-bottom: 4px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); background: #1d2021; } .waveform-container { background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); padding: 4px; overflow-x: auto; height: 80px !important; position: relative; border-bottom: 1px solid rgba(255,255,255,0.04); } .waveform-container [data-id^="wavesurfer-region"] { border-radius: 3px !important; } .waveform-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; gap: 4px; } .waveform-controls-left { display: flex; align-items: center; gap: 4px; } .waveform-controls-right { display: flex; align-items: center; gap: 4px; } .waveform-btn { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--text-secondary); border-radius: 4px; cursor: pointer; transition: all var(--transition-smooth); } .waveform-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); border-color: rgba(255,255,255,0.12); } .waveform-btn:disabled { opacity: 0.3; cursor: not-allowed; } .waveform-btn-play { background: var(--chrome-accent-bg); border-color: var(--chrome-accent-border); color: var(--chrome-accent); } .waveform-btn-play:hover { background: color-mix(in srgb, var(--chrome-accent) 22%, transparent); box-shadow: none; } .waveform-time { font-size: 0.62rem; font-family: var(--chrome-font-mono); color: var(--chrome-fg-muted); padding: 1px 5px; background: var(--chrome-hover-bg); border-radius: 3px; border: 1px solid var(--chrome-border); font-variant-numeric: tabular-nums; } .waveform-zoom-slider { width: 60px !important; height: 2px !important; margin-top: 0 !important; } /* ═══ MULTI-TRACK ═══ */ .waveform-track-bg { position: absolute; left: 0; right: 0; height: 26px; background: rgba(255,255,255,0.015); border-bottom: 1px dashed rgba(255,255,255,0.04); pointer-events: none; z-index: 1; } .waveform-track-bg:nth-child(1) { top: 0px; } .waveform-track-bg:nth-child(2) { top: 26px; } .waveform-track-bg:nth-child(3) { top: 52px; } .waveform-container [data-id^="wavesurfer-region"] { top: 52px !important; height: 26px !important; border-radius: 3px !important; border: 1px solid rgba(255,255,255,0.15) !important; display: flex !important; align-items: center !important; padding: 0 3px !important; color: white !important; font-size: 0.58rem !important; text-shadow: 0 1px 2px rgba(0,0,0,0.7); overflow: hidden; white-space: nowrap; } /* ═══ SCROLLBAR ═══ */ ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; border: 1px solid transparent; } ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); } ::-webkit-scrollbar-corner { background: transparent; } /* Firefox scrollbar */ * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent; } /* ═══ TOOLTIP HINT ═══ */ [title] { position: relative; } /* ═══ FOCUS VISIBLE (keyboard nav) ═══ */ :focus-visible { outline: 2px solid color-mix(in srgb, var(--chrome-accent, #d3869b) 65%, transparent); outline-offset: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--chrome-accent, #d3869b) 15%, transparent); } button:focus:not(:focus-visible), a:focus:not(:focus-visible), input:focus:not(:focus-visible), select:focus:not(:focus-visible) { outline: none; box-shadow: none; } /* ═══ LAUNCHPAD — chrome frame + restrained motion ═══ */ .launchpad { flex: 1; display: flex; flex-direction: column; overflow-y: auto; background: var(--chrome-bg); position: relative; isolation: isolate; } /* Paper grain removed — chrome surfaces read flat, not textured. */ .launchpad::before { display: none; } /* ── Aurora backdrop ─────────────────────────────────────── Three soft blobs in the three card accent colors, drifting on independent long cycles. Behind everything at z:0. Blurred heavily so the motion reads as ambient light, not moving shapes. */ .lp-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; opacity: 0.55; } .lp-aurora__blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; } .lp-aurora__blob--pink { width: 420px; height: 420px; background: radial-gradient(circle, rgba(211,134,155,0.55), transparent 60%); top: -80px; left: -40px; animation: lpDrift1 22s ease-in-out infinite; } .lp-aurora__blob--green { width: 360px; height: 360px; background: radial-gradient(circle, rgba(142,192,124,0.40), transparent 60%); top: 40%; left: 55%; animation: lpDrift2 28s ease-in-out infinite; } .lp-aurora__blob--amber { width: 480px; height: 480px; background: radial-gradient(circle, rgba(254,128,25,0.32), transparent 60%); bottom: -120px; right: -80px; animation: lpDrift3 32s ease-in-out infinite; } @keyframes lpDrift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(120px, 60px) scale(1.15); } 66% { transform: translate(-40px, 100px) scale(0.9); } } @keyframes lpDrift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-180px, -90px) scale(1.1); } } @keyframes lpDrift3 { 0%, 100% { transform: translate(0, 0) scale(1); } 40% { transform: translate(-100px, -60px) scale(1.05); } 75% { transform: translate(60px, -30px) scale(0.95); } } .lp-hero { padding: 42px 44px 24px; position: relative; z-index: 1; } .lp-kicker { font-family: var(--chrome-font-mono); font-size: var(--chrome-label-size); font-weight: 600; letter-spacing: var(--chrome-label-track); text-transform: uppercase; color: var(--chrome-fg-muted); } /* Hero H1 — Source Serif 4 at display size. Eternal halo glow sits behind the text (::before via the new lp-hero__halo span so we can z-layer without re-scoping the h1 itself); animated sweep underneath. */ .lp-hero__title { font-size: 2.75rem; font-weight: 400; margin: 0; color: var(--chrome-fg); font-family: var(--font-serif); letter-spacing: -0.02em; line-height: 1.04; display: inline-block; position: relative; font-optical-sizing: auto; /* Paint containing block for halo / sweep absolute children */ padding: 0 4px; } .lp-hero__title em { font-style: italic; font-weight: 400; color: var(--chrome-accent); /* Italic text sits a hair above serif baseline; nudge it back down. */ position: relative; } .lp-hero__halo { position: absolute; inset: -16px -24px; background: radial-gradient( ellipse at 50% 60%, color-mix(in srgb, var(--chrome-accent) 20%, transparent) 0%, transparent 65% ); filter: blur(16px); z-index: -1; pointer-events: none; animation: lpHeroHalo 6s ease-in-out infinite; } @keyframes lpHeroHalo { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.95; transform: scale(1.06); } } .lp-hero__sweep { position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--chrome-accent) 70%, transparent) 30%, var(--chrome-accent) 50%, color-mix(in srgb, var(--chrome-accent) 70%, transparent) 70%, transparent 100% ); transform-origin: center; animation: lpHeroSweep 5.4s ease-in-out infinite; pointer-events: none; border-radius: 2px; } @keyframes lpHeroSweep { 0%, 100% { transform: scaleX(0.35); opacity: 0.35; } 50% { transform: scaleX(1); opacity: 0.85; } } /* Legacy squiggle span — hidden for back-compat if ever rendered. */ .lp-hero h1 .lp-underline { display: none; } .lp-hero p { margin: 14px 0 0; color: var(--chrome-fg-muted); font-size: 0.82rem; font-family: var(--font-sans); font-weight: 400; max-width: 560px; line-height: 1.6; } .lp-hero p .lp-pill { display: inline-block; padding: 1px 8px; border-radius: var(--chrome-radius-pill); background: var(--chrome-accent-bg); border: 1px solid var(--chrome-accent-border); color: var(--chrome-accent); font-family: var(--chrome-font-mono); font-weight: 500; font-size: 0.72rem; transform: none; margin: 0 2px; } /* Action cards — flat chrome frame, painted with: • an always-on breath ring (the "eternal glow") • a cursor-tracked spotlight that fires on hover `--card-hue` (inline style) drives everything — background tint, icon, accent border, glow color — so each card's personality flows from one hex value. `isolation: isolate` contains the pseudo-layer z-stack. */ .lp-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 4px 44px; position: relative; z-index: 1; } .lp-action-card { background: transparent; border: 1px solid var(--chrome-border); border-radius: var(--chrome-radius-pill); padding: 18px 18px 16px; cursor: pointer; transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-base); position: relative; overflow: visible; box-shadow: none; isolation: isolate; /* Native