@import "https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&family=Ubuntu+Mono&display=swap";:root,[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1e1f20;--bg-card:#252628;--bg-subtle:#323436;--bg-hover:#2c2e31;--code-bg:#323436;--text:#e8eaed;--text-muted:#adb2b9;--border:#42454a;--border-focus:#9ccaff;--accent:#a8cdff;--on-accent:#10335e;--active-bg:#193f61;--active-text:#d6eaff;--success:#8cd6a7;--danger:#ffb4ab;--danger-bg:#422f30;--overlay:#00000080;--shadow:#00000040;--pro-cyan:#70b5ff;--pro-sky:#4daaff;--pro-blue:#1a73e8;--pro-indigo:#7c4dff;--pro-pill-bg:#262a31;--pro-pill-text:#f5f7ff;--pro-pill-border:#415c87;--pro-surface:#252c39;--tone-blue:#a8c7fa;--tone-green:#9cd6ae;--tone-sky:#91d4f6;--tone-peach:#f1bf9b;--tone-purple:#cbb7f2;--tone-coral:#f7b4c6;--tone-ink:#243342;--art-blue:#679afa;--art-mint:#7aceac;--art-yellow:#f9cf67;--art-peach:#ffad86;--art-coral:#f28ca5;--sans:"Ubuntu", sans-serif;--mono:"Ubuntu Mono", monospace}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f8fafd;--bg-card:#fff;--bg-subtle:#e9eef5;--bg-hover:#f0f4f9;--code-bg:#e9eef5;--text:#202124;--text-muted:#5c626b;--border:#dce1e7;--border-focus:#1967d2;--accent:#0b57c3;--on-accent:#fff;--active-bg:#d8e7ff;--active-text:#174a8b;--success:#226d42;--danger:#ad292d;--danger-bg:#fcebea;--overlay:#1e293b60;--shadow:#25365320;--pro-pill-bg:#283345;--pro-pill-border:#5076a8;--pro-surface:#f0f5ff;--tone-blue:#c2d8fb;--tone-green:#bce8c9;--tone-sky:#b8e7fb;--tone-peach:#f8d4b9;--tone-purple:#e0d1fa;--tone-coral:#fcd0dc}:root{font-family:var(--sans);background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit;color:inherit}button,select{cursor:pointer}button{border:1px solid var(--border);background:var(--bg-card);border-radius:8px;padding:10px 16px;font-size:13px}button:hover{background:var(--bg-hover)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:500}button.primary:hover{filter:brightness(.95)}input,textarea,select{border:1px solid var(--border);background:var(--bg);border-radius:8px;min-width:0;padding:10px 12px}:focus-visible{outline:2px solid var(--border-focus);outline-offset:3px}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}p{line-height:1.6}h1,h2,h3,p{margin-top:0}progress{appearance:none;background:var(--bg-subtle);border:0;border-radius:8px;width:100%;height:5px;overflow:hidden}progress::-webkit-progress-bar{background:var(--bg-subtle)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.app-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;height:76px;padding:0 30px;display:flex}.wordmark{letter-spacing:-.8px;align-items:center;gap:18px;font-size:24px;font-weight:500;display:flex}.wordmark svg{color:var(--accent)}.divider{background:var(--border);width:1px;height:24px}.header-actions{align-items:center;gap:12px;display:flex}.icon-button{background:0 0;border-color:#0000;border-radius:50%;width:38px;height:38px;padding:0;font-size:20px}.language-pill{color:var(--text-muted);background:var(--bg-card);border-radius:999px;padding:8px 12px;font-size:12px}.language-pill span{padding:0 5px}.nixlabs-account-widget{align-items:center;min-width:40px;min-height:40px;display:flex}.skip-link{background:var(--bg-card);z-index:100;padding:12px;position:absolute;top:-100px;left:20px}.skip-link:focus{top:10px}.notice{background:var(--active-bg);color:var(--active-text);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:16px 24px 0;padding:12px 16px;font-size:13px;display:flex}.notice button{background:0 0;border:0;padding:0 4px;font-size:22px}.notice.error{background:var(--danger-bg);color:var(--danger)}.welcome{max-width:800px;margin:0 auto;padding:70px 24px}.intro-icon{background:var(--active-bg);color:var(--accent);border-radius:18px;margin-bottom:32px;padding:18px;display:inline-flex}.eyebrow{color:var(--text-muted);letter-spacing:1.4px;margin-bottom:12px;font-size:11px;font-weight:500}h1{letter-spacing:-.8px;margin-bottom:10px;font-size:clamp(26px,3vw,38px);font-weight:400}.intro{color:var(--text-muted);max-width:560px;font-size:18px}.welcome-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;margin:34px 0 22px;padding:28px}.welcome-card>p{color:var(--text-muted);font-size:14px}.welcome-stats{justify-content:space-between;gap:24px;margin-bottom:28px;display:flex}.welcome-stats span{color:var(--text-muted);flex-direction:column;gap:8px;font-size:12px;display:flex}.welcome-stats strong{color:var(--text);font-size:23px;font-weight:400}.button-row{flex-wrap:wrap;gap:12px;display:flex}.source-link{font-size:12px}.workspace{min-height:calc(100vh - 76px);display:flex}.sidebar{flex-direction:column;flex-shrink:0;justify-content:space-between;width:236px;padding:32px 16px 24px;display:flex}.sidebar-title{color:var(--text-muted);margin-bottom:20px;padding:0 16px;font-size:13px}.nav-item{text-align:left;background:0 0;border:0;border-radius:999px;align-items:center;gap:11px;width:100%;margin-bottom:6px;padding:8px 12px 8px 8px;display:flex}.nav-item.active{background:var(--active-bg);color:var(--active-text)}.nav-symbol{background:var(--bg-subtle);width:30px;height:30px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;font-size:18px;display:inline-flex}.nav-symbol.all{background:var(--tone-blue);color:var(--tone-ink)}.nav-symbol.draft{background:var(--tone-peach);color:var(--tone-ink)}.nav-symbol.review{background:var(--tone-purple);color:var(--tone-ink)}.nav-symbol.approved{background:var(--tone-green);color:var(--tone-ink)}.count{color:var(--text-muted);margin-left:auto;font-size:11px}.progress-card{margin:28px 14px;font-size:12px}.progress-card>div{justify-content:space-between;margin-bottom:14px;display:flex}.progress-card small{color:var(--text-muted);margin-top:10px;display:block}.sidebar-bottom{padding:0 10px}.sidebar-bottom button{text-align:left;background:0 0;border:0;width:100%;padding-left:4px;display:block}.sidebar-bottom p{color:var(--text-muted);margin:16px 0 0;font-size:11px}.main-content{flex:1;min-width:0;padding:36px 28px 40px 12px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-heading h1{font-size:28px}.page-heading p:last-child{color:var(--text-muted);margin-bottom:0;font-size:13px}.editor-layout{grid-template-columns:minmax(205px,.75fr) minmax(340px,1.6fr) minmax(240px,1fr);align-items:start;gap:18px;display:grid}.queue,.editor-card,.context-card{background:var(--bg-card);border:1px solid var(--border);border-radius:14px;min-width:0}.queue{padding:14px}.search{background:var(--bg);border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;padding-left:10px;display:flex}.search input{border:0;width:100%;font-size:12px}.search>span{color:var(--text-muted);font-size:22px}.queue>select{width:100%;margin-top:10px;font-size:11px}.queue-meta{color:var(--text-muted);justify-content:space-between;margin:18px 2px 12px;font-size:11px;display:flex}.queue-list{scrollbar-width:thin;max-height:580px;overflow-y:auto}.queue-item{text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;width:100%;margin-bottom:5px;padding:12px 10px;display:block}.queue-item.selected{border-color:var(--border-focus);background:var(--active-bg)}.queue-item-meta{color:var(--text-muted);align-items:center;gap:8px;margin-bottom:8px;font-size:9px;display:flex}.queue-item-meta>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.status-dot{border:1px solid var(--text-muted);border-radius:50%;flex-shrink:0;width:6px;height:6px}.status-dot.draft{background:var(--tone-peach);border-color:var(--tone-peach)}.status-dot.review{background:var(--tone-purple);border-color:var(--tone-purple)}.status-dot.approved{background:var(--success);border-color:var(--success)}.line-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.pagination{color:var(--text-muted);justify-content:space-between;align-items:center;padding-top:14px;font-size:11px;display:flex}.pagination button{padding:6px 10px}.editor-card{padding:24px}.editor-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px;display:flex}.badge{letter-spacing:.8px;color:var(--on-accent);background:var(--tone-blue);border-radius:5px;padding:5px 8px;font-size:10px;font-weight:500}.badge.subtle{color:var(--text-muted);background:var(--bg-subtle);font-size:8px}.save-status{color:var(--text-muted);font-size:11px}.save-status.failed{color:var(--danger)}.editor-card h2{color:var(--text-muted);margin-bottom:22px;font-size:13px;font-weight:400}.source-text{background:var(--bg);border-radius:8px;margin-bottom:26px;padding:18px}.source-text label,.translation-field label{letter-spacing:1px;color:var(--text-muted);margin-bottom:12px;font-size:10px;display:block}.source-text p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:17px}.translation-field label{justify-content:space-between;display:flex}.translation-field label span{text-transform:none;letter-spacing:0}.translation-field textarea{resize:vertical;background:var(--bg);width:100%;min-height:210px;padding:18px;font-size:18px;line-height:1.7}.translation-field textarea:focus{border-color:var(--border-focus)}.editor-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;display:flex}.editor-actions button,.editor-actions select{padding:9px 10px;font-size:11px}.editor-actions .primary{margin-left:auto}.shortcut{color:var(--text-muted);text-align:right;margin-top:12px;font-size:10px}.notes{border-top:1px solid var(--border);margin-top:28px;padding-top:20px}.notes summary{cursor:pointer;color:var(--text-muted);font-size:12px}.notes textarea{width:100%;min-height:90px;margin-top:14px;font-size:12px}.line-footer{color:var(--text-muted);justify-content:space-between;gap:12px;margin-top:28px;font-size:10px;display:flex}.context-card{padding:20px}.context-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.context-heading h2{margin:0;font-size:15px;font-weight:400}.context-caption{color:var(--text-muted);font-size:11px}.context-card h3{color:var(--text-muted);margin:22px 0 14px;font-size:10px;font-weight:500}.context-line{border-left:1px solid var(--border);margin-bottom:16px;padding-left:12px}.speaker{color:var(--text-muted);font-size:10px;font-weight:500}.context-line.is-cuno .speaker{color:var(--accent)}.context-line p,.context-current p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:12px}.context-current{background:var(--active-bg);border-radius:8px;padding:14px}.context-current .speaker{color:var(--accent)}.context-toggle{background:0 0;width:100%;margin-top:12px;font-size:11px}.expanded-context{margin-top:18px}.vocabulary{border-top:1px solid var(--border);margin-top:26px;padding-top:8px}.vocabulary p{color:var(--text-muted);font-size:12px}.vocabulary small,.context-line small,.context-card>small{color:var(--text-muted);font-size:10px;line-height:1.5}.empty{color:var(--text-muted);padding:12px 0;font-size:12px}.validation{color:var(--danger);background:var(--danger-bg);border-radius:8px;padding:12px;font-size:12px}.modal-backdrop{background:var(--overlay);z-index:50;position:fixed;inset:0}.modal{background:var(--bg-card);width:min(540px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--text);border:1px solid var(--border);z-index:51;border-radius:16px;margin:0;padding:26px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.modal p{font-size:13px}.modal-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.modal-header h2{margin:0;font-size:22px;font-weight:400}.export-stat{background:var(--bg);border-radius:8px;align-items:center;gap:14px;margin:22px 0;padding:20px;display:flex}.export-stat strong{color:var(--accent);font-size:32px;font-weight:400}.export-stat span{color:var(--text-muted);font-size:12px}.wide{width:100%}.install-path{margin:22px 0 12px}.install-path code{font-family:var(--mono);background:var(--code-bg);overflow-wrap:anywhere;border-radius:6px;margin-top:10px;padding:10px;display:block}.muted{color:var(--text-muted)}@media (width>=1600px){.main-content{max-width:1550px;margin:0 auto}}@media (width<=1200px){.sidebar{width:205px}.editor-layout{grid-template-columns:minmax(175px,.7fr) minmax(280px,1.4fr) minmax(200px,.9fr);gap:14px}.editor-card{padding:20px}}@media (width<=1050px){.editor-layout{grid-template-columns:minmax(190px,.7fr) minmax(320px,1.4fr)}.context-card{grid-column:2}}@media (width<=850px){.workspace{display:block}.sidebar{width:100%;padding:18px 20px 0}.sidebar nav{gap:6px;display:flex;overflow-x:auto}.nav-item{white-space:nowrap;width:auto}.count{margin-left:4px}.sidebar-title,.progress-card,.sidebar-bottom{display:none}.main-content{padding:24px 20px}.page-heading h1{font-size:24px}}@media (width<=600px){.app-header{height:68px;padding:0 16px}.wordmark{gap:12px;font-size:22px}.language-pill{display:none}.header-actions{gap:3px}.editor-layout{flex-direction:column;display:flex}.queue,.editor-card,.context-card{width:100%}.queue-list{max-height:180px}.page-heading{align-items:flex-start}.page-heading>button{flex-shrink:0;padding:9px;font-size:11px}.welcome{padding:38px 20px}.welcome-card{padding:20px}.welcome-stats{gap:12px}.welcome-stats strong{font-size:19px}.editor-card{padding:20px}}.interface-language{background:0 0;max-width:155px;padding:8px;font-size:11px}@media (width<=600px){.interface-language{max-width:82px}.header-actions>.icon-button:first-of-type{display:none}}.modal::backdrop{background:var(--overlay)}.game-menu{max-width:880px}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:44px;display:grid}.game-tile{background:0 0;border:0;flex-direction:column;align-items:center;gap:14px;padding:12px;display:flex}.game-tile img{aspect-ratio:1;object-fit:cover;width:100%;max-width:118px;box-shadow:0 8px 20px var(--overlay);border-radius:25%}.game-tile span{font-size:14px}.animated-game{animation:.8s both game-reveal;display:inline-block}@keyframes game-reveal{0%{opacity:0;clip-path:inset(0 100% 0 0);transform:translate(-8px)}to{opacity:1;clip-path:inset(0);transform:translate(0)}}@media (prefers-reduced-motion:reduce){.animated-game{animation:none}}@media (width<=500px){.game-grid{gap:8px}.game-tile{padding:5px}.game-tile span{font-size:11px}}.game-menu label{margin:16px 0;display:block}.game-menu label select{margin-left:14px}.sidebar-top{flex-direction:column;gap:14px;display:flex}.sidebar-top>button:first-child{align-self:flex-start}.sidebar-project{border:1px solid var(--border);background:var(--bg-card);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.sidebar-project strong{overflow-wrap:anywhere;font-size:14px;font-weight:500}.locale-badge{letter-spacing:.4px;color:var(--accent);background:var(--active-bg);border-radius:999px;flex-shrink:0;padding:5px 8px;font-size:10px}.sidebar-top>.context-caption{margin:0 4px}.workspace-save{width:100%;font-size:12px}.sidebar-top .progress-card{margin:8px 12px 16px}.source-scene-button{flex-shrink:0;width:100%;margin-top:10px;padding:8px;font-size:11px}.source-modal{width:min(820px,100% - 32px)}.source-scene-meta{overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.source-scene-meta span{color:var(--text-muted)}.original-json{resize:vertical;white-space:pre;width:100%;height:clamp(160px,48dvh,520px);font-family:var(--mono);tab-size:2;font-size:12px;line-height:1.6;display:block}.source-modal-actions{margin-top:16px}@media (width>=851px){.has-workspace{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.has-workspace>.app-header,.has-workspace>.notice{flex-shrink:0}.has-workspace .workspace{flex:1;min-height:0;overflow:hidden}.has-workspace .sidebar{gap:18px;min-height:0;padding-top:24px;overflow:auto}.has-workspace .main-content{flex-direction:column;min-height:0;display:flex;overflow:auto}.has-workspace .page-heading{flex-shrink:0}}@media (width>=1051px){.has-workspace .main-content{overflow:hidden}.has-workspace .editor-layout{flex:1;grid-template-rows:minmax(0,1fr);align-items:stretch;min-height:0}.has-workspace .queue{flex-direction:column;min-height:0;display:flex;overflow:hidden}.has-workspace .queue-list{flex:1;min-height:0;max-height:none}.has-workspace .queue>:not(.queue-list){flex-shrink:0}.has-workspace .editor-card,.has-workspace .context-card{scrollbar-width:thin;min-height:0;overflow:auto}}@media (width>=851px) and (height<=800px){.has-workspace .app-header{height:62px;padding:0 24px}.has-workspace .sidebar{gap:12px;width:208px;padding:18px 14px 14px}.has-workspace .nav-item{margin-bottom:4px;padding:6px 10px 6px 6px;font-size:12px}.has-workspace .nav-symbol{width:26px;height:26px;font-size:16px}.has-workspace .sidebar-bottom p{margin-top:8px}.has-workspace .main-content{padding:18px 20px 18px 8px}.has-workspace .page-heading{gap:14px;margin-bottom:16px}.has-workspace .page-heading h1{margin-bottom:6px;font-size:24px}.has-workspace .eyebrow{margin-bottom:7px}.has-workspace .page-heading .button-row{gap:8px}.has-workspace .page-heading button{padding:9px 11px;font-size:12px}.has-workspace .editor-layout{gap:12px}.has-workspace .editor-card,.has-workspace .context-card{padding:16px}.has-workspace .editor-top,.has-workspace .editor-card h2{margin-bottom:14px}.has-workspace .editor-card h2{overflow-wrap:anywhere}.has-workspace .source-text{margin-bottom:16px;padding:12px}.has-workspace .source-text label,.has-workspace .translation-field label{margin-bottom:8px}.has-workspace .source-text p{font-size:16px}.has-workspace .translation-field textarea{height:clamp(100px,18dvh,150px);min-height:100px;padding:12px;font-size:16px;line-height:1.55}.has-workspace .editor-actions{margin-top:12px}.has-workspace .shortcut{margin-top:8px}.has-workspace .notes{margin-top:16px;padding-top:12px}.has-workspace .queue-meta{margin:12px 2px 8px}.has-workspace .context-card h2{margin-bottom:12px;font-size:18px}.has-workspace .vocabulary{margin-top:18px}.has-workspace .sidebar-top{gap:10px}.has-workspace .sidebar-top>button:first-child{padding:8px 11px;font-size:12px}.has-workspace .sidebar-project{padding:8px 10px}.has-workspace .nav-item{margin-bottom:3px;padding-top:4px;padding-bottom:4px}.has-workspace .sidebar-bottom button{padding-top:8px;padding-bottom:8px;font-size:11px}}.scene-file-actions{gap:8px;margin-top:10px;display:flex}.scene-file-actions .source-scene-button{flex:1;width:auto;margin:0}.source-modal-actions{flex-wrap:wrap;gap:10px;display:flex}.scene-import-preview{max-height:28dvh;margin-bottom:18px;overflow:auto}.scene-import-preview>div{border:1px solid var(--border);border-radius:8px;margin-bottom:8px;padding:10px}.scene-import-preview small{color:var(--text-muted);overflow-wrap:anywhere;font-size:10px}.scene-import-preview p{white-space:pre-wrap;margin:8px 0 0}.scene-paste-json{resize:vertical;width:100%;height:25dvh;font-family:var(--mono);margin:16px 0;font-size:12px;display:block}
