:root{color-scheme:dark;--bg:#111213;--panel:#1a1b1e;--line:#303235;--muted:#a0a3aa;--ink:#f6f7f3;--lime:#d9fa72;--purple:#b9a1f6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Noto Sans TC",system-ui,-apple-system,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:8px;padding:10px 14px;background:transparent;color:inherit;transition:background .16s,border-color .16s}button:hover{background:#33363a}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button[hidden],[hidden]{display:none!important}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);gap:20px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}.brand-icon{background:var(--lime);color:#151712;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:28px;font-style:italic}.brand strong{font-size:22px;display:flex;gap:12px;align-items:baseline}.brand span{font-size:12px;letter-spacing:2px;color:var(--muted)}.top-note{font-size:14px;color:var(--muted);margin-left:auto;margin-right:20px}.primary{background:var(--lime);color:#171b10;font-weight:700}.primary:hover{background:#e3ff95}.primary span{margin-left:16px}.secondary{background:#292b30;border-color:#42454a}.ghost{border-color:#555}.wide{width:100%;margin-top:12px}.text-button{font-size:14px;color:#bdc0c5;padding:7px 9px}.text-button:hover{color:var(--lime)}.icon-button{padding:8px 11px;font-size:20px}.play{background:var(--lime);color:#151812;border-radius:50%;width:36px;height:36px;padding:6px;font-size:16px;flex-shrink:0}main{max-width:1800px;margin:auto;padding:30px 38px 0}.workspace-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--lime);font-weight:600}h1{font-size:30px;letter-spacing:1px;margin:10px 0 0;font-weight:600}.local-tag{font-size:13px;border:1px solid #424735;background:#202419;color:#d5e7a6;padding:9px 13px;border-radius:30px}.studio{display:grid;grid-template-columns:260px minmax(0,1fr) 246px;gap:20px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.setup,.appearance{padding:22px 18px}.section-label{font-size:14px;font-weight:600;display:flex;align-items:center;gap:9px}.section-label>span{font-size:12px;color:#a4a893;font-variant-numeric:tabular-nums}.section-label small{font-size:12px;color:var(--muted);font-weight:400;margin-left:3px}.mode-switch{display:flex;background:#111213;border-radius:8px;padding:4px;margin:23px 0 18px}.mode-switch button{padding:10px 6px;font-size:14px;flex:1;white-space:nowrap}.mode-switch .selected{background:#33372a;color:var(--lime)}.dropzone{border:1px dashed #5b6050;border-radius:10px;background:#20221c;text-align:center;min-height:198px;padding:18px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer;overflow-wrap:anywhere}.dropzone.drag{border-color:var(--lime);background:#2a3120}.dropzone strong{font-size:14px}.dropzone span{font-size:13px;color:#b8beac}.dropzone small{font-size:12px;color:#959b8b;line-height:1.7}.upload-icon{font-size:27px;background:#303627;color:var(--lime);width:42px;height:42px;border-radius:12px;margin-bottom:5px}.field{display:block;font-size:14px;color:#c9cbd0;margin-top:20px}.field select{display:block;width:100%;margin-top:9px;padding:11px 8px;background:#24262b;border:1px solid #3b3e45;border-radius:7px;color:#eee;font-size:14px}.field output{float:right;color:var(--lime);font-size:13px}.field input[type=range]{width:100%;margin:15px 0 0}.check{display:flex;gap:9px;align-items:center;font-size:14px;color:#c3c5ca;margin-top:19px;line-height:1.5}input[type=checkbox],input[type=range]{accent-color:var(--lime)}input[type=checkbox]{width:16px;height:16px}.hint{font-size:12px;color:var(--muted);line-height:1.85;margin:14px 0 0}.divider{height:1px;background:var(--line);margin:22px 0 8px}.center{display:flex;flex-direction:column;gap:18px;min-width:0}.panel-heading{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;gap:10px}.badge{border:1px solid #47433f;color:#c8c6be;border-radius:5px;font-size:12px;padding:4px 8px}.stage{position:relative;background:#090a0b;min-height:230px;display:flex;justify-content:center;align-items:center;overflow:hidden}.stage canvas{width:100%;max-height:480px;object-fit:contain;display:block}.empty-preview{position:absolute;text-align:center;padding:20px}.cc{font-size:23px;font-weight:800;border:2px solid #64695a;color:#cbd3b8;width:62px;height:44px;border-radius:10px;display:grid;place-items:center;margin:0 auto 23px}.empty-preview h2{font-size:23px;font-weight:500;letter-spacing:2px;margin:0}.empty-preview p{font-size:14px;color:#8f938b;margin:12px 0 22px}.empty-preview .secondary{font-size:14px;background:#252821;border-color:#454a3d}.demo-badge{position:absolute;top:16px;left:16px;border-radius:6px;background:#0008;padding:6px 10px;font-size:12px;color:#d1c1f5}.transport{display:flex;align-items:center;gap:13px;height:66px;padding:12px 20px}.transport span{font-size:12px;font-family:monospace;white-space:nowrap;color:#b5b7bd}.transport input{min-width:30px;flex:1;height:3px}.ruler{display:flex;justify-content:space-between;padding:0 22px;color:#888c93;font-size:11px;font-family:monospace}.timeline{margin:15px 20px 0;height:64px;position:relative;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#3a3b3e calc(25% - 1px),#3a3b3e 25%);border-top:1px solid #33353a;border-bottom:1px solid #33353a}.timeline p{font-size:13px;text-align:center;color:#7e8289;margin:21px 0}.timeline button{position:absolute;top:10px;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#49402f;border:1px solid #766443;color:#e9dcbf;border-radius:5px;padding:5px;font-size:12px;text-align:left;min-width:4px}.timeline button.active{background:#5a6143;border-color:var(--lime);color:#ecffc2}.timeline .playhead{height:70px;width:2px;background:var(--lime);position:absolute;top:-4px;pointer-events:none;z-index:2}.timeline-footer{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#979ba3;padding:14px 20px}.caption-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line);gap:10px}.caption-heading h2{font-size:15px;margin:0}.caption-heading>div{display:flex;gap:6px}.captions{max-height:340px;overflow:auto}.empty-captions{text-align:center;font-size:14px;color:#b6b9be;padding:35px 10px}.empty-captions small{display:block;font-size:12px;color:#8c9096;margin-top:12px}.cue-row{padding:13px 16px;display:grid;grid-template-columns:26px minmax(0,1fr) 24px;gap:10px;border-bottom:1px solid #303238;border-left:2px solid transparent}.cue-row.active{border-left-color:var(--lime);background:#23271e}.cue-number{font-size:12px;color:#939889;padding:6px 0;align-self:start}.cue-row textarea{resize:vertical;min-height:44px;width:100%;color:#ecefe7;background:transparent;border:1px solid transparent;border-radius:5px;font-size:15px;line-height:1.6;padding:4px}.cue-row textarea:focus{border-color:#7a835f}.cue-times{display:flex;align-items:center;gap:6px;font-size:12px;color:#979b92}.cue-times input{background:#151719;border:1px solid #3c4038;border-radius:4px;color:#bfc8b1;width:79px;font-size:12px;padding:5px}.cue-times button{font-size:12px;padding:4px 6px}.delete{font-size:19px;padding:4px 0;color:#898d94;align-self:start}.style-options{margin-top:23px;display:flex;flex-direction:column;gap:10px}.style-card{border:1px solid #3c3e44;background:#222328;text-align:left;padding:13px 12px;border-radius:9px}.style-card.active{border-color:#a3b55d;background:#2a2e21}.style-sample{display:block;font-size:17px;font-weight:700;margin-bottom:8px}.style-card small{font-size:12px;color:#a9acb1}.style-sample.pop{color:var(--lime)}.style-sample.lyric{color:var(--purple);font-family:serif}.color-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}input[type=color]{display:block;width:100%;height:34px;background:#24262b;border:1px solid #3b3e45;border-radius:6px;padding:5px;margin-top:8px}footer{display:flex;justify-content:space-between;padding:30px 0;font-size:12px;letter-spacing:1px;color:#777c84}dialog{background:#202227;color:#f2f3ee;border:1px solid #44474f;border-radius:18px;padding:25px;width:min(530px,92vw);max-height:90vh}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-head h2{font-size:22px;margin:0}dialog textarea{margin-top:17px;width:100%;padding:14px;background:#131518;color:#eee;border:1px solid #4a4c52;border-radius:8px;resize:vertical;font-size:15px;line-height:1.7}dialog input[type=file]{margin-top:20px;font-size:13px;width:100%}dialog h3{font-size:17px}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.export-grid button{background:#2a2d32;border:1px solid #44484f;text-align:left;padding:20px}.export-grid b{display:block;font-size:22px;color:var(--lime);margin-bottom:8px}.export-grid span{font-size:13px;color:#b8bcc4}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(620px,90vw);background:#e0fac0;color:#1a2510;padding:14px 22px;border-radius:10px;box-shadow:0 8px 40px #0007;font-size:14px;z-index:20}.job progress{width:100%;accent-color:var(--lime);height:5px;margin-top:20px}.job p,#exportStatus{font-size:13px;color:#d0dea9;line-height:1.7}.tap-hint{font-size:14px;background:#333124;color:#f1e3ae;line-height:1.7;padding:12px;margin:0}.recording .studio{pointer-events:none;opacity:.65}@media(min-width:1600px){.studio{grid-template-columns:280px minmax(0,1fr) 270px}.stage canvas{max-height:560px}}@media(max-width:1150px){main{padding:25px 20px 0}.topbar{padding:0 24px}.studio{grid-template-columns:225px minmax(0,1fr);gap:16px}.appearance{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.appearance>.section-label{grid-column:1/-1}.appearance .style-options{grid-column:1/-1;flex-direction:row;margin:0}.style-card{flex:1}.appearance .divider{display:none}.appearance .hint{align-self:center}.appearance .field{margin-top:6px}.top-note{display:none}}@media(max-width:700px){main{padding:22px 14px 0}.topbar{height:72px;padding:0 16px}.brand span{display:none}.workspace-head{align-items:flex-start;margin-bottom:22px}h1{font-size:24px}.eyebrow{font-size:10px;letter-spacing:1.5px}.local-tag{font-size:11px;padding:7px 8px;max-width:102px;text-align:center;line-height:1.6}.studio{display:flex;flex-direction:column}.studio>.panel,.center{width:100%}.setup{display:grid;grid-template-columns:1fr 1fr;gap:0 15px;padding:20px}.setup>.section-label,.setup>.mode-switch,.dropzone,.setup>.wide,.setup>.hint,.setup>.divider,.job{grid-column:1/-1}.dropzone{min-height:152px}.mode-switch{margin:18px 0 14px}.setup .check{grid-column:1/-1}.appearance{display:grid;grid-template-columns:1fr 1fr;padding:20px}.appearance>.style-options{flex-wrap:wrap}.style-card{min-width:100px}.style-sample{font-size:14px}.stage{min-height:210px}.empty-preview h2{font-size:19px}.empty-preview p{font-size:12px}.cc{margin-bottom:15px}.transport{padding:12px;gap:10px}.timeline-footer{font-size:11px}.caption-heading{padding:13px}.caption-heading .text-button{font-size:12px}.cue-times{flex-wrap:wrap}footer{font-size:10px;gap:15px;line-height:1.6}.panel-heading{padding:0 16px}.appearance>.hint{grid-column:1/-1}}

/* White workspace theme */
:root{color-scheme:light;--bg:#f6f7fa;--panel:#fff;--line:#e4e7ee;--muted:#697386;--ink:#202633;--lime:#3159dc;--purple:#7451c7}
body{background:var(--bg)}button:hover{background:#edf1fa}button:disabled{opacity:.45}.topbar{background:#fff;border-bottom-color:#e7eaf0}.brand-icon{background:#3159dc;color:white}.brand span{color:#7d8492}.primary{background:#3159dc;color:#fff;box-shadow:0 3px 8px #3159dc16}.primary:hover{background:#2448c2}.secondary{background:#fff;border-color:#dce1eb;color:#394358}.secondary:hover{border-color:#b5c3e8;background:#f1f5ff}.ghost{border-color:#d4dce9}.text-button{color:#5c687b}.icon-button{color:#536075}.play{background:#3159dc;color:white}.play:hover{background:#2448c2}.local-tag{background:#f1f5ff;color:#37528c;border-color:#dce4f5}.panel{box-shadow:0 3px 14px #20345404}.section-label>span{color:#8190a7}.mode-switch{background:#f2f4f8}.mode-switch .selected{background:#fff;color:#3159dc;box-shadow:0 1px 5px #1e35551a}.dropzone{background:#f6f8fe;border-color:#c1cee7}.dropzone.drag{background:#edf2ff;border-color:#3159dc}.dropzone span{color:#66748b}.dropzone small{color:#7e8898}.upload-icon{color:#3159dc;background:#e7edff}.field{color:#536076}.field select{background:#fff;border-color:#dce1eb;color:#283249}.check{color:#586375}.badge{background:#f6f7fa;border-color:#e1e6ef;color:#66728a}.stage{background:#edf0f5}.empty-preview{color:#3e4b63}.empty-preview p{color:#748198}.empty-preview .secondary{background:#fff;border-color:#d2dbe9;color:#344c84}.cc{color:#526cab;border-color:#98aacd}.transport span{color:#60708b}.ruler{color:#7c889c}.timeline{background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#e3e8f0 calc(25% - 1px),#e3e8f0 25%);border-color:#e4e8f0}.timeline p{color:#8490a4}.timeline button{background:#e8edf9;border-color:#c4d1ed;color:#496193}.timeline button.active{background:#dce6ff;border-color:#3159dc;color:#2447af}.timeline-footer{color:#758197}.empty-captions{color:#69758a}.empty-captions small{color:#8690a1}.cue-row{border-bottom-color:#e9edf4}.cue-row.active{background:#f2f6ff;border-left-color:#3159dc}.cue-number{color:#7890b6}.cue-row textarea{color:#273653}.cue-row textarea:focus{border-color:#b5c8f3;background:#fff}.cue-times{color:#7b879a}.cue-times input{background:#fff;border-color:#dce3ee;color:#4b6087}.delete{color:#8792a4}.style-card{background:#fff;border-color:#e0e5ef}.style-card.active{border-color:#6685e7;background:#f4f7ff}.style-sample{background:#252a34;border-radius:5px;padding:12px 7px;color:#fff;font-size:15px}.style-sample.pop{color:#d9fa72}.style-sample.lyric{color:#c7b6f2}.style-card small{color:#71809a}input[type=color]{background:#fff;border-color:#dce1eb}footer{color:#8590a1}.job p,#exportStatus{color:#3c5c9f}.tap-hint{background:#fff8e8;color:#866619}dialog{background:#fff;color:#283249;border-color:#e0e6f0;box-shadow:0 20px 80px #17264735}dialog::backdrop{background:#1c2a4555;backdrop-filter:blur(4px)}dialog textarea{background:#f9fafc;color:#273653;border-color:#d8e0ed}.export-grid button{background:#f7f9ff;border-color:#dbe3f3}.export-grid span{color:#71809a}.export-grid b{color:#3159dc}#toast{background:#25344e;color:#fff;box-shadow:0 8px 30px #12234230}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.media-actions{display:flex;gap:8px;margin-top:10px;grid-column:1/-1}.media-actions button{flex:1;font-size:13px;padding:9px 6px}.danger-button{color:#ba4545;border-color:#ecd4d4}.danger-button:hover{background:#fff1f1;color:#a23030}.home-nav{font-size:14px;margin-left:26px;color:#68758a;border-radius:0;height:100%;border-bottom:2px solid transparent}.home-nav.current{color:#3159dc;border-bottom-color:#3159dc}.top-note{font-size:13px}.editor-heading{display:flex;align-items:center;gap:20px;min-width:0}.editor-heading>div{min-width:0}.editor-heading .eyebrow{font-size:11px}.project-name{display:block;max-width:100%;width:420px;border:1px solid transparent;border-radius:6px;background:transparent;color:#25324a;padding:5px 0;font-size:25px;font-weight:600;margin-top:5px}.project-name:hover,.project-name:focus{border-color:#d0daf0;background:white;padding-left:6px}.workspace-head #saveProject{flex-shrink:0}.save-error{padding:12px 16px;background:#fff2f0;color:#a63c31;border:1px solid #f0cbc5;border-radius:8px;font-size:14px;line-height:1.7}.projects-view{max-width:1320px;padding-top:54px;padding-bottom:60px}.projects-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:44px}.projects-header h1{font-size:34px;letter-spacing:0;margin-top:12px}.projects-header p{font-size:15px;color:#7a8597;margin:12px 0 0}.projects-header>.primary{padding:13px 20px;white-space:nowrap}.projects-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e6ef;padding-bottom:18px}.projects-toolbar h2{font-size:17px;margin:0;font-weight:600}.projects-toolbar h2 span{font-size:12px;border-radius:5px;padding:3px 7px;background:#e8edf8;color:#637494;margin-left:8px}.projects-toolbar>span{font-size:13px;color:#8590a1}.storage-notice{font-size:13px;color:#7b8699;line-height:1.8;margin:18px 0 26px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{background:#fff;border:1px solid #e0e6ef;border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}.project-card:hover{border-color:#b8c9f2;box-shadow:0 8px 25px #2949770a}.project-open{width:100%;text-align:left;border:0;padding:12px 12px 0;border-radius:0}.project-open:hover{background:#fff}.project-preview{height:178px;background:#eef2fc;border:1px solid #e1e8f8;border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;padding:15px 18px;color:#334d85}.project-preview.song-preview{background:#f2edfb;color:#6c4d9b;border-color:#e9dff8}.project-type{font-size:12px;opacity:.8}.project-preview strong{font-size:20px;font-weight:500;text-align:center;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-preview-detail{font-size:11px;opacity:.7}.project-open h3{font-size:17px;margin:18px 7px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.project-open p{font-size:13px;color:#8993a3;margin:0 7px 17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card-bottom{border-top:1px solid #edf0f5;margin:0 18px;padding:11px 0;display:flex;align-items:center;justify-content:space-between;gap:5px}.project-card-bottom>span{font-size:11px;color:#97a0ae}.project-card-bottom>div{display:flex;gap:4px}.project-card-bottom button{font-size:12px;padding:5px 7px;border:0;color:#6d7a91}.project-card-bottom button.danger-button{color:#b56464}.projects-empty{text-align:center;padding:75px 20px 90px;border:1px dashed #d4ddeb;border-radius:14px;background:#fff}.empty-project-icon{border:2px solid #bac9eb;color:#7c96cf;border-radius:12px;width:65px;height:50px;display:grid;place-items:center;font-weight:700;font-size:22px;margin:0 auto 24px}.projects-empty h2{font-size:23px;font-weight:500;margin:0 0 12px}.projects-empty p{color:#8390a6;font-size:14px;margin-bottom:25px}#newProjectName{display:block;width:100%;margin-top:10px;background:#fff;border:1px solid #dce1eb;border-radius:7px;padding:12px;color:#2f3d57}#newProjectForm>.wide{margin-top:25px}@media(max-width:1000px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-heading{gap:12px}.project-name{width:300px}.home-nav{margin-left:auto}.top-note{display:block;margin-left:auto;margin-right:0}.setup .media-actions{grid-column:1/-1}}@media(max-width:700px){.topbar{gap:8px}.topbar .brand strong{font-size:19px}.brand-icon{width:34px;height:34px;font-size:24px}.home-nav{margin-left:0;padding:8px;font-size:13px}.top-note{font-size:10px;max-width:86px;text-align:right}.topbar>.primary{font-size:13px;padding:9px}.topbar>.primary span{display:none}.projects-view{padding-top:30px}.projects-header{margin-bottom:30px;align-items:center}.projects-header h1{font-size:28px}.projects-header p{font-size:13px;max-width:190px;line-height:1.7}.projects-header>.primary{font-size:14px;padding:11px 14px}.projects-toolbar>span{font-size:12px}.storage-notice{font-size:12px}.project-grid{grid-template-columns:1fr}.projects-empty{padding:55px 16px}.projects-empty h2{font-size:20px}.projects-empty p{font-size:13px;line-height:1.8}.editor-heading{display:block;flex:1}.editor-heading>.secondary{font-size:12px;padding:7px 9px;margin-bottom:14px}.project-name{font-size:22px;width:100%}.workspace-head{align-items:center}.workspace-head #saveProject{font-size:12px;padding:9px 10px}.style-sample{font-size:13px;padding:10px 5px}.media-actions button{font-size:14px;padding:11px}}
@font-face{font-family:"Zimu Noto Sans";src:url('/fonts/noto-sans-tc.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Zimu Noto Serif";src:url('/fonts/noto-serif-tc.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:"Zimu WenKai";src:url('/fonts/wenkai-tc.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.template-grid .style-card{padding:8px;min-width:0}.template-grid .style-sample{font-size:13px;text-align:center;padding:15px 3px;white-space:nowrap;letter-spacing:0}.template-grid small{font-size:12px}.style-sample.clean{color:white;text-shadow:1px 1px #000,-1px -1px #000}.style-sample.lyric{font-family:serif;color:#fff}.style-sample.ink{font-family:cursive;color:#fff}.style-sample.plate{background:#07090c;color:#fff}.style-sample.karaoke{color:#64e9ee}.style-sample.blue{background:#3159dc;color:#fff}.style-sample.cinema{font-family:serif;color:#f6e9d0;letter-spacing:2px}.font-live-sample{background:#f4f6fa;border:1px solid #e2e7ef;border-radius:8px;padding:18px 8px;text-align:center;font-size:18px;color:#354761;margin-top:12px;overflow-wrap:anywhere}.font-live-sample small{display:block;font-size:13px;color:#7e8ba1;margin-top:8px}.advanced-style{border-top:1px solid #e4e8f0;margin-top:20px;padding-top:15px}.advanced-style summary{font-size:14px;color:#4a6090;cursor:pointer;padding:5px 0}.song-help{margin-top:20px;padding:14px;border-radius:9px;background:#f2edff;border:1px solid #e0d5f9}.song-help strong{font-size:14px;color:#6b4bab}.song-help p{font-size:12px;line-height:1.8;color:#827295;margin:7px 0 0}.song-help .wide{font-size:13px;padding:9px}.speed-select{font-size:12px;color:#5f7296;background:#f5f7fc;border:1px solid #dbe2ee;padding:6px 4px;border-radius:5px}.result-cues{max-height:360px;overflow:auto;margin-top:20px}.result-cues>div{border-bottom:1px solid #e4e8f0;padding:10px}.result-cues small{color:#8190a6;font-size:12px}.result-cues p{font-size:15px;line-height:1.8;margin:7px 0;white-space:pre-wrap}#elapsed{font-size:12px;color:#7e8da4}.tap-hint button{margin:4px;font-size:13px}#fontStatus{min-height:22px}@media(max-width:1150px){.appearance>.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-column:1/-1}.appearance>.advanced-style{grid-column:1/-1;display:block}.appearance>.font-live-sample{grid-column:span 2}.appearance>#fontStatus{grid-column:span 2}.advanced-style[open]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.advanced-style>summary{grid-column:1/-1}.song-help{grid-column:1/-1}}@media(max-width:700px){.appearance>.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-grid .style-sample{font-size:17px}.advanced-style[open]{grid-template-columns:repeat(2,minmax(0,1fr))}.transport{gap:7px}.transport span{font-size:11px}.transport .icon-button{padding:5px}.setup #modelHint{grid-column:1/-1}.setup #recognitionScope{width:100%}}
/* Refined white studio, preserving the original three-column workflow. */
:root{--bg:#f5f7fb;--line:#e2e7f0}.studio{grid-template-columns:270px minmax(0,1fr) 278px;gap:20px}.panel{border-radius:16px;box-shadow:0 4px 18px #243c6607}.setup,.appearance{padding:24px 20px}.section-label{letter-spacing:.3px}.section-label>span{display:grid;place-items:center;border-radius:6px;background:#edf2ff;color:#5475ce;width:25px;height:25px}.topbar{box-shadow:0 2px 16px #20345404}.primary{background:linear-gradient(135deg,#416be8,#3154ce);box-shadow:0 4px 10px #3159dc24}.primary:hover{background:linear-gradient(135deg,#527bf0,#345bd9);box-shadow:0 6px 16px #3159dc35}.primary:disabled{box-shadow:none}button{transition:background .16s,border-color .16s,box-shadow .16s,transform .12s}button:not(:disabled):active{transform:scale(.97)}.secondary:hover{box-shadow:0 3px 9px #3159dc12}.button-feedback{animation:buttonFeedback .36s ease-out}@keyframes buttonFeedback{0%{transform:scale(.965);filter:brightness(.93)}55%{transform:scale(1.015);filter:brightness(1.07)}100%{transform:scale(1);filter:brightness(1)}}.style-card{transition:transform .16s,border-color .16s,box-shadow .16s}.style-card:hover{transform:translateY(-2px);box-shadow:0 5px 13px #253c6814}.style-card.active{box-shadow:0 0 0 1px #6685e7;background:#f0f4ff}.style-card.active small{color:#3159dc;font-weight:600}.template-grid{max-height:365px;overflow-y:auto;padding:3px;margin-left:-3px;margin-right:-3px;scrollbar-width:thin}.template-grid .style-sample{font-size:14px;padding:18px 3px}.style-sample.neon{color:#e5faff;text-shadow:0 0 7px #39d5ff,0 0 15px #39d5ff;background:#13223b}.style-sample.rose{color:#ffb9d9;background:#48293c}.style-sample.mint{color:#b2ffe4;background:#123a35;text-shadow:0 0 8px #38eab8}.style-sample.comic{color:#fff268;text-shadow:2px 2px #000,-1px -1px #000;background:#343657;font-weight:900}.style-sample.glass{color:#fff;background:linear-gradient(120deg,#7d8da8,#283449)}.style-sample.news{color:#fff;background:#be2736}.style-sample.type{font-family:serif;color:#eee6d5;background:#2f3039}.style-sample.sunset{color:#ffdda1;background:linear-gradient(120deg,#623c48,#292f4f);font-family:serif}.effect-box{margin-top:20px;padding:1px 13px 14px;background:#f5f7fd;border:1px solid #e0e7f5;border-radius:10px}.effect-box .field{margin-top:14px}.effect-box .hint{margin-top:10px}.caption-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 16px;border-bottom:1px solid #edf0f6}.caption-actions button{padding:7px 9px;font-size:13px}.caption-actions>span{font-size:12px;color:#8290a5;margin-left:auto}.cue-times{flex-wrap:wrap}.cue-times button{border:1px solid #e3e8f1;background:#fff}.cue-row{transition:background .15s}.cue-row.active{background:#eef4ff}.field input[type=number]{width:100%;display:block;margin-top:9px;padding:10px;border:1px solid #dce1eb;border-radius:7px;color:#283249;background:#fff}.audio-options{margin-top:19px;border-top:1px solid #e4e8f0;padding-top:14px}.audio-options summary{cursor:pointer;font-size:13px;color:#62718c}.job{padding:16px;margin-top:16px;border:1px solid #dbe5fb;border-radius:12px;background:linear-gradient(140deg,#f4f7ff,#fff)}.job-heading{display:flex;align-items:center;gap:12px}.job-heading strong{display:block;font-size:14px;color:#344e89}.job-heading>div>span{display:block;font-size:12px;color:#8190a8;margin-top:5px}.job-orb{height:38px;width:38px;display:flex;align-items:center;justify-content:center;gap:3px;background:#e9efff;border-radius:11px;flex-shrink:0}.job-orb i{width:3px;height:10px;border-radius:4px;background:#5277dc}.job.running .job-orb i{animation:signalPulse .9s ease-in-out infinite alternate}.job-orb i:nth-child(2){animation-delay:.18s}.job-orb i:nth-child(3){animation-delay:.36s}.job-orb i:nth-child(4){animation-delay:.12s}.job-orb i:nth-child(5){animation-delay:.28s}@keyframes signalPulse{to{height:25px;opacity:.5}}.job-steps{list-style:none;padding:0;margin:17px 0 12px;display:flex;justify-content:space-between;gap:4px;font-size:12px;color:#8995a9}.job-steps li{padding-bottom:6px;border-bottom:2px solid #e4e9f2}.job-steps li.active{color:#3159dc;border-color:#5277dc}.job-steps li.done{color:#25846c;border-color:#7ac4ae}.progress-track{height:7px;border-radius:10px;background:#e4ebf9;overflow:hidden}.progress-track>span{display:block;height:100%;width:0;border-radius:10px;background:linear-gradient(90deg,#7598fb,#3159dc);transition:width .3s}.progress-track.indeterminate>span{width:35%;animation:progressSweep 1.5s ease-in-out infinite}.job.complete .progress-track>span{background:#38a486}.job.complete .job-orb{background:#e3f5ef}.job.complete .job-orb i{background:#38a486;height:16px}.job p{font-size:13px;line-height:1.7;margin:12px 0 5px}.job small{font-size:12px}@keyframes progressSweep{from{transform:translateX(-110%)}to{transform:translateX(390%)}}.stage{background:#eef1f7}.stage canvas{max-height:480px}.caption-heading{flex-wrap:wrap}.dropzone:hover{border-color:#6f90e5;background:#f0f4ff}.project-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #29497712}.project-card{transition:transform .2s,border-color .2s,box-shadow .2s}
@media(max-width:1200px){.studio{grid-template-columns:250px minmax(0,1fr)}.appearance{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}.appearance>.section-label,.appearance>.template-grid,.appearance>.effect-box{grid-column:1/-1}.appearance>.template-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none}.effect-box{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.effect-box .hint{grid-column:1/-1}.caption-actions>span{display:none}}
@media(max-width:700px){.studio{display:flex;flex-direction:column}.studio>.panel,.center{width:100%}.setup{display:block}.appearance{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:20px}.appearance>.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:350px}.appearance>.effect-box{display:block}.caption-actions{padding:9px}.caption-actions button{font-size:12px}.topbar{gap:7px}.topbar .top-note{max-width:70px;font-size:10px}.template-grid .style-sample{font-size:16px}.job-steps{justify-content:flex-start;gap:16px}.transport{padding:12px;gap:7px}.transport .icon-button{padding:6px}}
@media(prefers-reduced-motion:reduce){button,.style-card,.project-card{transition:none!important}.button-feedback,.job.running .job-orb i,.progress-track.indeterminate>span{animation:none!important}.progress-track.indeterminate>span{width:100%!important;opacity:.4}}
/* Full-screen transcription: editing is unavailable until completion/cancellation. */
dialog.processing-screen{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:32px;background:radial-gradient(ellipse at 50% 20%,#edf3ff 0,#f8faff 44%,#fff 78%);color:#243453;overflow:auto;box-shadow:none}.processing-screen::backdrop{background:#f8faff}.processing-content{min-height:calc(100dvh - 64px);max-width:780px;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.processing-kicker{font-size:12px;color:#8092b6;font-weight:700;letter-spacing:3px}.processing-animation{height:90px;display:flex;align-items:center;gap:8px;margin:45px 0 22px}.processing-animation i{display:block;width:9px;height:25px;background:linear-gradient(#7aa2ff,#3b5dd2);border-radius:12px;animation:processingWave 1s ease-in-out infinite alternate}.processing-animation i:nth-child(2){animation-delay:.3s}.processing-animation i:nth-child(3){animation-delay:.15s}.processing-animation i:nth-child(4){animation-delay:.45s}.processing-animation i:nth-child(5){animation-delay:.2s}.processing-animation i:nth-child(6){animation-delay:.35s}.processing-animation i:nth-child(7){animation-delay:.1s}@keyframes processingWave{to{height:76px;opacity:.55;transform:translateY(-4px)}}.processing-content h2{font-size:30px;font-weight:650;margin:0 0 12px;letter-spacing:.5px}.processing-content>p{line-height:1.8;color:#72829d;font-size:14px;margin:0}.processing-percent{margin:30px 0 18px;display:flex;flex-direction:column;gap:9px}.processing-percent strong{font-size:54px;font-weight:650;color:#3159dc;font-variant-numeric:tabular-nums;letter-spacing:-2px}.processing-percent>span{font-size:13px;color:#8794aa}.processing-track{width:100%;max-width:600px;height:13px;border-radius:30px;background:#e5ebf7;overflow:hidden;box-shadow:inset 0 1px 3px #20345408}.processing-track>span{display:block;height:100%;width:0%;border-radius:30px;background:linear-gradient(90deg,#5b88f3,#3159dc);transition:width .25s ease-out;position:relative;overflow:hidden}.processing-track>span:after{content:'';position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,#ffffff55,transparent);animation:processingShimmer 1.7s infinite}@keyframes processingShimmer{to{transform:translateX(100%)}}.processing-stages{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;list-style:none;padding:0;margin:25px 0 22px;font-size:14px}.processing-stages li{color:#9aa6b9;padding:8px 11px;border-radius:8px;border:1px solid #e2e8f2;background:#ffffff90}.processing-stages li.active{color:#3159dc;border-color:#b8caf9;background:#edf3ff;font-weight:650}.processing-stages li.done{color:#39836d;background:#edf8f3;border-color:#cbe8dc}.processing-download{max-width:580px;background:#eef3fd;border-radius:8px;padding:12px 16px!important}.processing-content #processingElapsed{margin-top:18px}.processing-content #processingCancel{margin-top:24px;min-width:135px;padding:12px 25px}.processing-content .processing-note{font-size:12px;margin-top:20px;color:#8b98ad}body:has(#processingDialog[open]){overflow:hidden}@media(max-width:600px){dialog.processing-screen{padding:24px 18px}.processing-content{min-height:calc(100dvh - 48px)}.processing-content h2{font-size:23px}.processing-animation{margin-top:28px}.processing-stages{gap:6px}.processing-stages li{font-size:12px;padding:7px}.processing-percent strong{font-size:46px}}@media(prefers-reduced-motion:reduce){.processing-animation i,.processing-track>span:after{animation:none}.processing-track>span{transition:none}}
.account-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;margin:-15px 0 25px;border:1px solid #dce6fb;background:#edf3ff;border-radius:10px;color:#4d6594;font-size:14px}.account-dialog{width:min(440px,94vw)}.auth-tabs{display:flex;gap:8px;margin:22px 0 8px;padding:4px;border-radius:9px;background:#f1f4f9}.auth-tabs button{flex:1;font-size:14px}.auth-tabs .selected{background:#fff;color:#3159dc;box-shadow:0 2px 7px #23365310}#accountForm .field input{display:block;width:100%;margin-top:9px;border:1px solid #dce3f0;border-radius:8px;padding:12px;background:#fff;color:#293a59;font-size:16px}.auth-error{color:#af3946;background:#fff1f3;padding:10px 12px;border-radius:7px;font-size:14px;line-height:1.6}.local-import-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e3e8f0}.local-import-row span{overflow-wrap:anywhere}#recoveryCode{font-family:monospace;font-size:16px;overflow-wrap:anywhere}#accountOpen{max-width:150px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:13px}#accountDialog p,#recoveryDialog p{line-height:1.8}#filteredDialog textarea{width:100%;font-size:14px}@media(max-width:700px){.topbar .top-note{display:none}.topbar #accountOpen{max-width:110px;padding:8px;font-size:12px}.account-banner{align-items:flex-start;font-size:13px;flex-direction:column;margin-top:0}}
.correction-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;background:#f7f9fd;border-bottom:1px solid #e5eaf3}.correction-toolbar>span{margin-right:auto;font-size:14px;color:#687b9b}.correction-toolbar button{font-size:14px}.cue-review{border-left:3px solid #dfa334;background:#fffaf0}.review-label{display:inline-block;font-size:12px;color:#8b6017;background:#fff0c9;padding:3px 7px;border-radius:5px;margin:5px 5px 5px 0}.review-ok,.review-suggestion{font-size:12px;color:#3159dc;padding:4px 6px}.cue-row.selected-review{box-shadow:inset 0 0 0 2px #779af1}.lexicon-suggestion{font-size:14px;color:#4d668f;margin:4px 0;overflow-wrap:anywhere}#lexiconText{width:100%;font-size:16px;line-height:1.8}#replaceDialog .field input{display:block;width:100%;padding:11px;margin-top:8px;font-size:16px;border:1px solid #dce3f0;border-radius:7px}#cloudConsentDialog p{line-height:1.8}.consent-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}#cloudStatus{padding:10px 12px;background:#f2f5fb;border-radius:8px}#lexiconOpen{margin-bottom:15px}.cue-times{flex-wrap:wrap}

#cloudKeyInput{display:block;width:100%;padding:12px;border:1px solid #dce3f0;border-radius:8px;font-size:16px;margin-top:8px}#cloudKeyDialog p{line-height:1.8}#cloudSettingsOpen{margin-bottom:8px}#deleteCloudKey{margin-top:14px}

.confirm-dialog{width:min(440px,calc(100vw - 32px));padding:24px;border:1px solid #e2e7ef;border-radius:18px;background:#fff;color:#243453;box-shadow:0 24px 80px #14244730}.confirm-dialog::backdrop{background:#17233b65;backdrop-filter:blur(3px)}.confirm-dialog .dialog-head h2{font-size:21px;margin:0}.confirm-dialog p{font-size:16px;line-height:1.8;color:#59667e;margin:14px 0 24px}.confirm-actions{display:flex;justify-content:flex-end;gap:12px}.confirm-actions button{min-height:44px;font-size:15px}.confirm-destructive{background:#bd354a;color:#fff;font-weight:600}.confirm-destructive:hover{background:#a42a3d}.confirm-dialog button:focus-visible{outline:3px solid #789aec;outline-offset:3px}@media(max-width:480px){.confirm-actions button{flex:1}}

/* Cloud test setup preserves existing preview dimensions. */
.cloud-options{padding:12px;border:1px solid #cbdaf2;border-radius:16px;background:#f5f8ff}.cloud-options .field{margin-bottom:0}.cloud-engine-badge{display:inline-block;padding:6px 12px;background:#eaf1ff;color:#2252a6;border-radius:99px;font-weight:650;font-size:14px}.cloud-setup-steps{padding-left:24px;line-height:1.75;font-size:14px}.cloud-setup-steps li{margin:8px 0}.cloud-privacy{margin-top:18px;padding-top:14px;border-top:1px solid #e2e8f0;font-size:14px}.cloud-privacy summary{cursor:pointer}#cloudSettingsDialog{width:min(540px,calc(100vw - 32px));max-height:88dvh;overflow:auto}#cloudSettingsDialog a{color:#245acd;text-decoration:underline}#cloudSettingsStatus{overflow-wrap:anywhere}

/* Consistent two-line specimens keep the same phrase readable on narrow cards. */
.template-grid .style-sample{white-space:normal;line-height:1.5;letter-spacing:0;text-align:center}

/* Keep the original processing layout and waveform animation. */
.processing-percent>span{white-space:pre-line}
.vocal-track-note{font-size:13px;color:#65718a;margin:0 16px 10px;line-height:1.7}
.vocal-track{height:22px;position:relative;background:#f3f0fb;border-radius:5px;margin-bottom:8px;overflow:hidden}
.vocal-range{position:absolute;top:4px;height:14px;border:0;border-radius:3px;background:#a78bd9;min-width:1px;padding:0;cursor:pointer}
.vocal-range.missing{background:#e9a23b;z-index:1}
.vocal-range:hover,.vocal-range:focus-visible{filter:brightness(.85);outline:2px solid #543894;outline-offset:0}

/* Export: a focused handoff with the actual available formats. */
#exportDialog.export-dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #e2e8f1;border-radius:24px;color:#243453;background:#fff;box-shadow:0 30px 90px #172f5630}#exportDialog::backdrop{background:#14244270;backdrop-filter:blur(5px)}.export-head{margin-bottom:20px;align-items:center}.export-head h2{margin:5px 0 0;font-size:26px;letter-spacing:-.5px}.export-kicker{font-size:13px;color:#677893}.export-project{display:flex;align-items:center;gap:14px;padding:14px;background:#f6f8fc;border:1px solid #e7ecf4;border-radius:16px;margin-bottom:20px}.export-project img{width:94px;height:58px;object-fit:contain;background:#152238;border-radius:9px;flex-shrink:0}.export-project>div{min-width:0;flex:1}.export-project strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.export-project div>span{display:block;color:#71809a;font-size:13px;margin-top:7px}.export-local{font-size:12px;color:#527665;white-space:nowrap;background:#e8f3ed;padding:7px 9px;border-radius:8px}.export-tabs{display:flex;padding:5px;gap:6px;background:#eef2f8;border-radius:13px}.export-tabs button{flex:1;min-height:44px;background:transparent;border:0;font-size:15px;color:#6b7890;border-radius:9px;transition:background .16s,color .16s,box-shadow .16s}.export-tabs button[aria-selected=true]{background:#fff;box-shadow:0 2px 8px #203c6410;color:#3159dc;font-weight:650}.export-section-heading{margin:24px 0 20px}.export-section-heading h3{margin:0 0 7px;font-size:19px}.export-section-heading p{margin:0;font-size:14px;color:#71809a;line-height:1.6}.export-settings{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:0;padding:0;margin:0;min-width:0}.export-settings .field{margin:0;font-size:14px}.export-settings select{margin-top:9px;min-height:46px;width:100%;border-radius:10px}.export-settings .hint{display:block;line-height:1.6;margin-top:7px}.export-specs{display:flex;gap:20px;justify-content:space-between;padding:16px 0;margin-top:10px;border-bottom:1px solid #e8edf5;color:#7c899d;font-size:13px}.export-specs strong{display:block;font-size:14px;color:#30415e;margin-top:6px}.export-notice{padding:13px 14px;background:#f7f9fc;border-radius:10px;color:#70809a;font-size:13px;line-height:1.75;margin:18px 0}.export-main-action{min-height:48px;font-size:16px;border-radius:12px}.export-file-grid{grid-template-columns:1fr 1fr;gap:12px}.export-file-grid button{position:relative;text-align:left;display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:18px;border:1px solid #dfe6f0;border-radius:14px;background:#fff;transition:transform .16s,box-shadow .16s,border-color .16s;min-width:0}.export-file-grid button:hover{border-color:#90a9ec;box-shadow:0 6px 18px #284a8610;transform:translateY(-2px)}.export-file-grid button:active{transform:translateY(0) scale(.985)}.export-file-grid .export-file-type{display:inline-block;font-size:12px;color:#3159dc;background:#edf2ff;border-radius:6px;padding:5px 8px;font-weight:700;letter-spacing:.5px}.export-file-grid b{font-size:16px;color:#2c3e5b}.export-file-grid button>span:last-of-type{font-size:13px;color:#76849a;line-height:1.5}.export-file-grid small{position:absolute;right:15px;top:18px;font-size:12px;color:#6886c6}.export-progress-box{padding:16px;background:#eef3ff;border-radius:12px;margin-top:18px}.export-progress-box>div{display:flex;justify-content:space-between;font-size:14px;color:#3159dc}.export-progress-box progress{display:block;width:100%;height:8px;margin-top:12px;accent-color:#3159dc}.export-status{font-size:14px;line-height:1.7;color:#526987;margin:14px 0 0}.export-status:empty{display:none}#exportDialog button:focus-visible,#exportDialog select:focus-visible{outline:3px solid #8daaf5;outline-offset:3px}#exportDialog [hidden]{display:none!important}@media(max-width:540px){#exportDialog.export-dialog{padding:20px;border-radius:19px;max-height:calc(100dvh - 24px)}.export-local{display:none}.export-settings{grid-template-columns:1fr;gap:12px}.export-specs{gap:9px}.export-project img{width:76px;height:50px}.export-file-grid button{padding:14px}.export-file-grid small{right:10px;top:14px}}@media(prefers-reduced-motion:reduce){.export-file-grid button,.export-tabs button{transition:none}.export-file-grid button:hover{transform:none}}

.export-name{margin:0 0 20px}.export-name input{width:100%;margin:8px 0;border-radius:10px;min-height:44px}.export-name .hint{display:block;line-height:1.6}#retryExportSave{margin-top:12px}

/* Recognition confirmation: cost first, consent in plain language. */
.recognition-summary{margin:22px 0 16px;padding:20px;border:1px solid #e3e7fc;border-radius:16px;background:linear-gradient(135deg,#f6f7ff,#fafbff)}
.recognition-charge{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}.recognition-charge>span{font-size:14px;color:#59667e}.recognition-charge strong{font-size:32px;line-height:1.2;color:#3159dc;letter-spacing:-1px}.recognition-charge small{margin-left:auto;color:#65709a;font-size:12px}
.recognition-summary dl{margin:18px 0 0;display:grid;gap:10px}.recognition-summary dl>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}.recognition-summary dt{color:#69768c}.recognition-summary dd{margin:0;font-weight:600;color:#243453}
.confirm-dialog .recognition-consent{margin:0 0 22px;font-size:13px;color:#69768c}.recognition-consent summary{cursor:pointer;width:fit-content}.confirm-dialog .recognition-consent p{font-size:13px;margin:10px 0 0}.cover-demo-note:empty,#fontStatus:empty{display:none}

.plans-rules>summary{cursor:pointer;font-weight:600;color:#34405d}.plans-rules[open]>summary{margin-bottom:12px}

.translation-dialog{width:min(480px,calc(100vw - 32px));border-radius:20px;padding:26px}.translation-summary{padding:14px 16px;background:#f3f5ff;border-radius:12px;color:#35436b;font-weight:600}.translation-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.translation-actions button{flex:1;min-height:44px}.translation-dialog progress{width:100%;height:10px;accent-color:#3159dc}.translation-dialog #translationProgressText{font-size:13px;color:#59667e}.cue-translation{margin-top:10px;padding-top:10px;border-top:1px solid #e5e9f5}.cue-translation label{display:block;font-size:12px;color:#5b6d95}.cue-translation textarea{margin-top:5px;background:#f7f8ff;color:#34476e}.translation-stale{font-size:12px;color:#9a631f;display:block;margin-top:6px}.cue-translation .translation-confirm{font-size:12px}.translation-stale[hidden],.translation-confirm[hidden]{display:none}

.generate-bilingual{margin:12px 0;padding:14px;border:1px solid #e0e5f1;border-radius:16px;background:#f8faff}.bilingual-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.bilingual-toggle-row .check{margin:0}.feature-chip{flex-shrink:0;font-size:10px;color:#5b4dc7;background:#eeeaff;border-radius:20px;padding:4px 7px}.generate-bilingual .field{margin-top:10px}.generate-bilingual .hint{margin:8px 0}.generate-bilingual:has(#generateBilingual:checked){border-color:#a9a0ec;background:#f7f5ff}.processing-stages{flex-wrap:wrap}
