:root{color-scheme:dark;--bg:#11131a;--panel:#1b1e27;--raised:#242833;--line:#343946;--text:#eff1f4;--muted:#a4adbd;--accent:#c6f1d5;--accent-ink:#19352c;--warm:#e8bf8c;--danger:#ffaea8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}button{color:inherit;background:none;border:0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.symbol-bank{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.topbar{min-height:84px;display:flex;align-items:center;justify-content:space-between;padding:16px 30px;border-bottom:1px solid var(--line);gap:24px;background:#151820}.brand{display:flex;align-items:center;gap:13px;color:var(--text);flex:none}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--accent);color:var(--accent-ink)}.brand-mark svg{width:25px;height:25px}.brand b{font-size:22px;font-weight:750;letter-spacing:.06em}.brand small{display:block;font-size:9px;letter-spacing:.15em;margin-top:3px;color:var(--muted)}.project-name{max-width:330px;flex:1}.project-name input{padding:2px 0;background:transparent;border:0;font-weight:600;color:var(--text);width:100%}.project-name span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.top-actions{display:flex;gap:10px;align-items:center}.secondary,.primary,.record-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:10px 16px;font-weight:650;line-height:1.2}.secondary{background:var(--raised);border:1px solid #3d4350}.secondary:hover:not(:disabled){background:#303642}.primary{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent)}.primary:hover:not(:disabled){background:#dcf8e5;text-decoration:none}.primary svg{stroke-width:2}.icon-button{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--raised);border:1px solid var(--line);font-size:22px}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:12px;line-height:1.5;padding:5px 0}.text-button:hover:not(:disabled){text-decoration:underline}.full{width:100%}main{max-width:1540px;margin:auto;padding:36px 32px 24px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--muted);margin:0 0 10px}.intro h1{font-size:clamp(30px,3.4vw,48px);font-weight:600;letter-spacing:-.045em;margin:0;line-height:1.1}.intro h1 em{font-style:normal;color:var(--warm)}.intro-copy{color:var(--muted);font-size:15px;margin:13px 0 0}.intro-badges{display:flex;align-items:flex-end;gap:8px;flex-direction:column}.pill{display:flex;align-items:center;gap:8px;border:1px solid #3a514a;color:#bcdfc9;padding:9px 13px;border-radius:30px;background:#1d2b28;font-size:11px;white-space:nowrap}.pill i,.status-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:var(--accent)}.pill.language{border-color:var(--line);background:transparent;color:var(--muted)}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start}.voice-column,.creation-column{display:flex;flex-direction:column;gap:20px}.panel{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.section-heading h2{font-size:16px;line-height:1.3;margin:0;font-weight:650}.section-heading .eyebrow{margin-bottom:8px}.step{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#2b303a;color:var(--muted);font-size:10px;letter-spacing:.06em}.muted{color:var(--muted);line-height:1.6;font-size:13px;margin:0 0 18px}.capture-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.record-button{background:#3b272d;color:#ffc6c0;border:1px solid #69424c;padding:10px 12px;font-size:12px}.capture-actions .secondary{font-size:12px;padding:10px 12px}.stop{background:#5f303b;animation:pulse 1.5s ease infinite}.field-label{display:block;font-size:11px;color:var(--muted);font-weight:600;margin:12px 0}input,select,textarea{border:1px solid #414754;background:#151820;color:var(--text);border-radius:8px;padding:10px;min-width:0}select{display:block;width:100%;margin-top:8px;height:40px;font-size:12px}input:disabled,textarea:disabled,select:disabled{opacity:.6}.reading-prompt{margin:16px 0;font-size:12px;line-height:1.7}.reading-prompt summary{cursor:pointer;color:var(--accent)}.reading-prompt p{color:#d1d8e1;border-left:2px solid #5c796a;padding-left:12px}.reading-prompt small,.help{font-size:11px;line-height:1.65;color:var(--muted)}.help{margin:10px 0 0}.empty-reference{height:125px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #3e4653;border-radius:12px;background:#171a22;margin:18px 0;color:#758391}.empty-reference svg{width:30px;height:30px}.empty-reference p{font-size:11px;line-height:1.5;text-align:center;margin:12px 0 0}.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 8px}.reference-heading strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reference-heading small{color:var(--muted);font-size:10px;flex:none}#referenceWave{height:72px;width:100%;background:#141a20;border-radius:9px;display:block}audio{width:100%;height:38px;display:block;margin:12px 0}audio::-webkit-media-controls-panel{background-color:#d9e8df}.trim-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.trim-fields label{font-size:10px;color:var(--muted);font-weight:600}.trim-fields input{display:block;width:100%;height:36px;margin-top:6px;font-size:12px}.trim-summary{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:10px;color:var(--muted)}.consent{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.6;color:#d1d8e1;margin:20px 0 14px}.consent input{accent-color:var(--accent);margin:4px 0 0;width:15px;height:15px;flex:none}.active-voice{display:flex;align-items:center;gap:10px;padding:12px;background:#21372c;border:1px solid #3d5f49;border-radius:11px;margin-top:15px}.voice-avatar{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--accent);background:#345140}.active-voice small{display:block;font-size:8px;letter-spacing:.12em;color:var(--accent);margin-bottom:4px}.active-voice strong{font-size:12px}.tiny-label{font-size:9px;letter-spacing:.1em;color:var(--muted)}.profile-name-row{display:flex;gap:8px;margin-top:14px}.profile-name-row input{width:100%;font-size:12px}.profile-name-row button{padding:10px 13px;font-size:12px}.danger{color:var(--danger)}.script-panel{padding:25px 27px}.script-panel .section-heading h2{font-size:23px;font-weight:550;letter-spacing:-.025em}.script-toolbar{display:flex;align-items:center;gap:18px;margin:20px 0 12px}.script-toolbar>span{margin-right:auto;color:var(--muted);font-size:11px}#scriptText{display:block;border:0;border-radius:10px;background:#151820;width:100%;height:255px;resize:vertical;padding:22px;font-size:18px;line-height:1.8;letter-spacing:.005em;min-height:150px}#scriptText::placeholder{color:#626d7e}.script-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;padding:12px 0 16px;border-bottom:1px solid var(--line)}.generate-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.generate-row strong{font-size:12px;font-weight:600}.generate-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.generate{min-height:46px;flex:none;padding:13px 20px}.generation-progress{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.generation-progress>div{display:flex;align-items:center;gap:10px}.generation-progress strong{font-size:12px}.generation-progress time{margin-left:auto;color:var(--muted);font-size:11px}.generation-progress progress{width:100%;height:6px;accent-color:var(--accent);margin:14px 0 0}.generation-progress p{color:var(--muted);font-size:11px;line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}.spinner{width:13px;height:13px;border:2px solid #536459;border-top-color:var(--accent);border-radius:100%;animation:spin 1s linear infinite}.player-panel{border:1px solid #394640;border-radius:16px;padding:24px 27px;background:radial-gradient(ellipse at 80% -50%,#354236 0%,#1b2323 55%,#1a2126 100%);position:relative}.player-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.player-heading h2{font-size:19px;font-weight:500;margin:0;letter-spacing:-.02em}.player-heading .eyebrow{color:#b3c8b9}.player-heading .tiny-label{font-size:8px;white-space:nowrap;margin-top:4px}#outputWave{width:100%;height:98px;display:block;margin-top:17px}.output-empty{color:#9eadab;font-size:12px;text-align:center;margin:0 0 12px}.take-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:16px}.take-meta>span{font-size:10px;line-height:1.7;color:#b2c3bc}.take-meta>div{display:flex;align-items:center;gap:18px}.take-meta .primary{font-size:11px;min-height:38px;padding:10px 13px}.takes-list{margin-top:15px;display:flex;flex-direction:column;gap:8px}.take-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#171a22;border:1px solid #343b47;border-radius:10px;padding:12px}.take-card.selected{background:#26362e;border-color:#57755e}.take-card:hover{border-color:#62716b}.take-number{background:#303743;color:#bdc9cf;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none;font-size:10px}.take-card>div{min-width:0;flex:1}.take-card strong{display:block;font-size:12px;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.take-card p{margin:0;font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.take-card time{font-size:10px;color:var(--muted)}.empty-small{color:var(--muted);font-size:12px;margin:15px 0}.engine-panel{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:4px 3px}.engine-panel strong{font-size:11px;font-weight:550}.status-dot{background:#626b77;margin-right:8px;width:6px;height:6px}.status-dot.ready{background:var(--accent)}.engine-panel p{margin:7px 0 0;font-size:10px;line-height:1.6;color:var(--muted);max-width:620px}.engine-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;max-width:260px;flex:none}.engine-actions .secondary{font-size:11px;min-height:36px;padding:8px 12px}.engine-actions .text-button{font-size:10px}.guide{margin-top:28px}.guide>summary{cursor:pointer;font-size:13px;font-weight:600}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:24px}.guide-grid h3{font-size:13px;color:var(--accent)}.guide-grid p{font-size:12px;line-height:1.8;color:var(--muted)}.credits{font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);margin-top:20px;padding-top:15px}footer{max-width:1540px;margin:0 auto;padding:0 32px 25px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.notice{padding:14px 18px;border:1px solid #896d43;border-radius:11px;background:#372d20;color:#efd6af;line-height:1.7;font-size:12px;margin-bottom:20px}.output-status{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 20px;border:1px solid #3d574a;border-radius:13px;background:#1b2a24;margin-bottom:24px}.output-status strong{display:block;font-size:12px;overflow-wrap:anywhere}.output-status .eyebrow{display:block;font-size:8px;margin-bottom:7px}.output-status p{font-size:10px;color:#b5c9bc;margin:8px 0 0;line-height:1.6}.save-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.save-badges span{border:1px solid #506354;border-radius:20px;padding:4px 8px;font-size:9px}.save-badges span[data-state=failed]{border-color:#ab6c55;color:#efc4ac}.save-badges span[data-state=saved]{border-color:#619477;color:#cef1d9}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:500;padding:13px 20px;border:1px solid #64746d;border-radius:11px;background:#28362f;box-shadow:0 10px 30px #0007;font-size:12px;max-width:min(90vw,560px);line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:17px;width:min(600px,94vw);padding:0;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#05070bbd}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:18px;margin:0}.dialog-body{padding:23px}.projects-list{margin-top:20px;display:flex;flex-direction:column;gap:10px}.projects-list button{background:var(--raised);padding:14px;border:1px solid var(--line);border-radius:8px;text-align:left}.projects-list strong,.projects-list small{display:block}.projects-list small{margin-top:5px;color:var(--muted);font-size:10px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{border-color:#df8b8b}}@media(max-width:1150px){.topbar{gap:18px;padding:16px 22px}.project-name{max-width:230px}.top-actions{gap:7px}.top-actions .secondary{padding:10px 12px;font-size:12px}main{padding:30px 24px 24px}.workspace{grid-template-columns:310px minmax(0,1fr);gap:18px}.panel{padding:20px}.script-panel{padding:23px}.guide-grid{grid-template-columns:1fr 1fr}.player-heading{flex-wrap:wrap}.engine-panel{align-items:flex-start}.engine-actions{max-width:150px}.generate-row{gap:10px}.generate{font-size:12px;padding:12px}.generate-row small{max-width:180px;line-height:1.6}}@media(max-width:850px){.project-name{display:none}.topbar{gap:15px}.intro{align-items:flex-start}.intro-badges{gap:7px}.pill{font-size:9px;padding:8px 10px}.workspace{grid-template-columns:280px minmax(0,1fr);gap:15px}.panel{padding:18px}.capture-actions{flex-direction:column}.script-panel .section-heading h2{font-size:19px}.script-toolbar{gap:10px}.script-toolbar>span{font-size:9px}.script-toolbar .text-button{font-size:10px}#scriptText{font-size:16px;padding:16px}.generate-row{flex-wrap:wrap}.generate-row>div{width:100%}.generate-row small{max-width:none}.generate{flex:1}.script-footer{flex-direction:column;align-items:flex-start}.take-meta{flex-direction:column;align-items:flex-start}.take-meta>div{width:100%;justify-content:space-between}.engine-panel{flex-direction:column}.engine-actions{max-width:none;justify-content:flex-start}}@media(max-width:680px){.topbar{padding:14px 16px;min-height:72px}.brand-mark{width:38px;height:38px;border-radius:12px}.brand b{font-size:19px}.brand small{font-size:7px}.top-actions button{min-width:37px;min-height:37px;width:37px;height:37px;padding:8px!important}.top-actions button span{display:none}.icon-button{width:37px;height:37px}.top-actions{gap:6px}main{padding:25px 16px 20px}.intro{display:block;margin-bottom:24px}.intro h1{font-size:34px}.intro-copy{font-size:13px}.intro-badges{flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:18px}.workspace{display:flex;flex-direction:column;gap:20px}.voice-column,.creation-column{width:100%;gap:17px}.voice-column .panel{padding:20px}.capture-actions{flex-direction:row}.capture-actions>*{flex:1}.reading-prompt{font-size:12px}.panel{border-radius:13px}.script-panel{padding:21px}.script-panel .section-heading h2{font-size:22px}.script-toolbar>span{font-size:10px}.script-toolbar .text-button{font-size:11px}#scriptText{height:240px;font-size:17px}.script-footer{flex-direction:row;align-items:center;font-size:9px}.generate-row>div{width:auto;flex:1}.generate-row small{max-width:190px;font-size:9px}.generate{flex:none;padding:12px;font-size:11px;min-height:44px}.generate svg{width:16px}.player-panel{padding:22px}.player-heading h2{font-size:20px}.take-meta>div{flex-wrap:wrap}.engine-panel{padding:3px 4px}.guide{margin-top:22px;padding:20px}.guide-grid{grid-template-columns:1fr;gap:5px}.guide-grid p{margin-bottom:10px}.guide-grid h3{margin-bottom:8px}.output-status{align-items:flex-start;flex-direction:column;gap:8px;padding:16px}.output-status p{font-size:11px}footer{padding:0 18px 24px;flex-direction:column;gap:12px}.reference-panel .help{font-size:12px}.toast{bottom:15px}.output-empty{font-size:11px}.empty-reference{height:110px}.engine-panel p{font-size:11px}.active-voice strong{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

.device-preflight{padding:22px;margin:22px 0;border:1px solid #354439;border-radius:14px;background:#19201d}.device-preflight .button-row{display:flex;flex-wrap:wrap;gap:8px}.device-preflight label{display:flex;gap:9px;align-items:center;margin-top:12px}.device-preflight input{width:auto}
