:root{--paper:#eef4e4;--card:#fff;--ink:#181816;--muted:#62645d;--line:#d4dacb;--orange:#f05a24;--orange-dark:#ac3712;--green:#181816;--radius:18px;font-family:Inter,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,select{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:4px}[hidden]{display:none!important}fieldset{padding:0;margin:0;border:0;min-width:0}.skip{position:absolute;top:-60px;left:20px;z-index:5;background:white;padding:12px}.skip:focus{top:12px}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 5.3%;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:22px;text-decoration:none;font-size:14px;font-weight:600}.brand img{width:142px;height:44px;object-fit:contain}.brand-divider{width:1px;height:25px;background:#d7ddd4}.header-note{font-size:12px;display:flex;align-items:center;gap:8px;color:#64736a}.green-dot{width:7px;height:7px;border-radius:50%;background:#74937a}main{max-width:1184px;padding:0 36px;margin:0 auto}.hero{position:relative;text-align:center;padding:55px 0 32px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7c8478}.tiny-wave{color:var(--orange);font-size:19px;vertical-align:-2px;margin-right:7px}.hero h1{font-size:clamp(44px,5.5vw,68px);line-height:1.06;letter-spacing:-3px;font-weight:650;margin:21px 0 18px}.hero h1 em{font-family:"Work Sans",sans-serif;font-weight:400;color:var(--orange);letter-spacing:-3px}.hero-spark{position:absolute;width:42px;height:42px;top:113px;margin-left:24px;stroke:#adba9a;stroke-width:2.5;stroke-linecap:round;transform:rotate(15deg)}.hero p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}.steps{display:flex;align-items:center;justify-content:center;gap:14px;margin:4px 0 34px}.steps i{width:65px;height:1px;background:#d9dfd4}.step{background:none;border:0;color:#7a847a;font-size:12px;font-weight:600;display:flex;gap:9px;align-items:center;padding:4px}.step span{border:1px solid #d4dcd0;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:11px}.step.active{color:var(--ink)}.step.active span{background:var(--green);border-color:var(--green);color:white}.step.done span{background:#e5eadf;border-color:#e5eadf}.step:disabled{opacity:.7}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.work-column{min-width:0}.panel{border:1px solid var(--line);background:var(--card);border-radius:var(--radius);padding:30px}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:25px}.section-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#f3f3ec;font-size:24px}h2,h3,p{overflow-wrap:anywhere}.section-heading h2{font-size:21px;letter-spacing:-.5px;margin:0 0 6px;font-weight:650}.section-heading p{font-size:12px;color:var(--muted);margin:0}.dropzone{border:1.5px dashed #c9d0c1;background:#fafbf7;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px 12px 20px;border-radius:12px;gap:5px;text-align:center;transition:background .2s}.dropzone.drag{background:#fff0e8;border-color:var(--orange)}.dropzone svg{width:39px;height:39px;stroke:#7d9272;fill:none;stroke-width:1.5;margin-bottom:7px}.dropzone strong{font-size:13px;font-weight:600}.dropzone>span{font-size:12px;color:var(--muted)}.dropzone small{font-size:10px;color:var(--muted);margin-top:7px;line-height:1.7}.text-button{border:0;background:none;color:var(--green);font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:4px 2px;min-height:30px}.text-button:hover{color:var(--orange-dark)}.small{font-size:10px}.divider{display:flex;align-items:center;gap:14px;margin:22px 0;font-size:9px;color:#8c9489;letter-spacing:1px}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}label,legend{display:block;font-size:12px;font-weight:600;margin-bottom:9px}label .optional,.duration legend span{font-size:10px;font-weight:400;color:var(--muted);margin-left:7px}textarea,input[type=text],input[type=search],select{color:var(--ink);width:100%;border:1px solid #dde2d9;border-radius:9px;background:#fff;padding:12px 13px;font-size:12px}textarea{resize:vertical;line-height:1.8;min-height:75px}textarea::placeholder{color:#92998f}input[type=text]{font-size:16px;font-weight:600}.input-foot{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:var(--muted);font-size:9px;line-height:1.6}.settings-section{margin-top:28px;border-top:1px solid var(--line);padding-top:23px}.settings-section h3{font-size:15px;margin:0 0 20px;letter-spacing:-.2px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}select{height:44px;padding-right:24px}.duration{margin:20px 0}.duration>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.duration label{position:relative;margin:0}.duration input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.duration label>span{display:block;padding:12px 15px;border:1px solid var(--line);border-radius:9px;font-size:13px}.duration small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:5px}.duration input:checked+span{background:#f0f3e9;border-color:#7e956f}.duration input:focus-visible+span{outline:3px solid var(--orange);outline-offset:3px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:14px;text-decoration:none;border-radius:9px;font-size:12px;font-weight:600;padding:13px 20px;border:1px solid transparent;min-height:46px}.primary{background:var(--orange);color:#fff}.primary:hover{background:#da4c18}.secondary{background:#f7f8f3;border-color:#dfe5d8;color:var(--green)}.secondary:hover{background:#edf1e7}.wide{width:100%;margin-top:24px;justify-content:space-between;font-size:13px;padding:15px 20px}.wide span{font-size:20px}.button-note{font-size:9px;color:var(--muted);text-align:center;margin:12px 0 0}.sidebar{border:1px solid var(--line);border-radius:var(--radius);padding:17px;background:#eeefe7;position:sticky;top:24px}.podcast-cover{background:#ffe992;color:#181816;aspect-ratio:1/1.02;border-radius:11px;padding:23px 21px;display:flex;flex-direction:column;position:relative;overflow:hidden}.podcast-cover:before{content:"";position:absolute;width:350px;height:350px;border:1px solid #e6ce76;border-radius:50%;top:-215px;right:-125px}.podcast-cover:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #e6ce76;border-radius:50%;top:-240px;right:-150px}.cover-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;font-weight:700;letter-spacing:1.8px}.cover-tag{border:1px solid #718376;border-radius:4px;font-size:7px;padding:5px;letter-spacing:1px}.cover-title{font-family:"Work Sans",sans-serif;font-size:37px;line-height:1.1;letter-spacing:-1.5px;margin-top:26px;z-index:1}.waveform{height:57px;display:flex;gap:5px;align-items:center;margin:14px 0 12px}.waveform i{display:block;width:5px;height:16px;border-radius:5px;background:#f05a24}.waveform i:nth-child(2n){height:28px;background:#6a254a}.waveform i:nth-child(3n){height:40px}.waveform i:nth-child(5n){height:53px;background:#181816}.waveform i:nth-child(7n){height:21px}.cover-bottom{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.3px;margin-top:auto;color:#c1ccba}.cover-bottom svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.5;fill:none}.episode-info{padding:22px 5px}.label-small{font-size:8px;letter-spacing:1.5px;color:#7c8877;font-weight:600}.episode-info h3{font-size:16px;line-height:1.5;margin:10px 0 12px;letter-spacing:-.3px}.episode-chips{display:flex;gap:6px;flex-wrap:wrap}.episode-chips span{font-size:9px;background:#f9faf4;border-radius:5px;padding:5px 8px;color:#68745f}.how-it-works{border-top:1px solid #d9dfd1;padding:20px 5px 10px}.how-it-works h3{font-size:12px;margin:0 0 17px}.how-it-works p{display:flex;gap:13px;font-size:10px;line-height:1.6;margin:12px 0;color:#6c7867}.how-it-works b{font-size:9px;color:#95a18a;font-weight:500}.privacy-note{display:flex;gap:10px;border-top:1px solid #d9dfd1;padding:14px 5px 0}.privacy-note svg{width:18px;height:21px;flex-shrink:0;fill:none;stroke:#88967d;stroke-width:1.4;margin-top:7px}.privacy-note p{font-size:10px;line-height:1.7;color:#52664f;margin:5px 0}.privacy-note p span{font-size:9px;color:#7b8674}footer{display:flex;align-items:center;gap:20px;padding:35px 0 28px;color:#89907f;font-size:9px}footer>span{margin-right:auto}footer a{color:#6d7e66}.notice{padding:16px 20px;border:1px solid #e4c8ac;background:#fff6e9;color:#805b39;border-radius:10px;font-size:13px;line-height:1.6;margin:0 0 20px}.notice.error{background:#fff2ef;color:#a33b2f;border-color:#eac6c0}.file-list{padding:0;list-style:none;margin:0}.file-list li{display:flex;gap:12px;align-items:center;background:#f4f6ef;border-radius:7px;padding:8px 12px;margin-top:8px;font-size:11px}.file-list .file-info{flex:1;min-width:0;overflow-wrap:anywhere}.file-list small{display:block;color:var(--muted);margin-top:4px}.file-list button{background:none;border:0;font-size:20px;color:#788875}.subtle{font-size:12px;line-height:1.8;color:var(--muted)}#file-status:empty{display:none}.voices{margin:24px 0}.script-toolbar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:15px 0;font-size:10px;color:var(--muted)}.turn{border:1px solid var(--line);padding:14px;border-radius:12px;margin-bottom:12px;background:#fafbf7}.turn-head{display:flex;align-items:center;gap:8px;margin-bottom:9px}.turn-head select{width:108px;min-height:34px;height:34px;font-size:11px;padding:5px 10px;background:#e9eee1}.turn.b .turn-head select{background:#f6e5dc}.turn-head label{margin:0;font-size:10px}.turn-head button{margin-left:auto;background:none;border:0;font-size:11px;color:var(--muted);min-height:34px}.turn textarea{min-height:105px;background:white}.panel-actions{display:flex;gap:10px;justify-content:space-between;margin-top:24px}.working-status{display:flex;align-items:center;gap:12px;background:#edf2e7;padding:18px;border-radius:12px;margin-top:15px;font-size:12px;line-height:1.6}.working-status button{margin-left:auto}.spinner{width:18px;height:18px;border:2px solid #cfdbc6;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.result-panel{text-align:center;padding:48px 30px}.result-panel h2{font-size:30px;letter-spacing:-.8px;line-height:1.25}.studio-orb{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 25px;border-radius:50%;font-size:52px;color:#e7b89a;background:#2f4c41}.result-panel .eyebrow{color:#8c9b7d}.result-panel progress{width:100%;height:8px;appearance:none;border:0;background:#e9eee3;border-radius:10px;overflow:hidden;margin:16px 0}.result-panel progress::-webkit-progress-bar{background:#e9eee3}.result-panel progress::-webkit-progress-value{background:var(--orange)}.result-panel progress::-moz-progress-bar{background:var(--orange)}#progress-text{font-size:13px}.back-script{margin-top:28px}.ready-badge{font-size:9px;letter-spacing:1px;background:#eaf0e2;color:#5a7850;border-radius:30px;padding:8px 13px}#player{width:100%;margin:25px 0}.result-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}#result-title{font-family:"Work Sans",sans-serif;font-size:22px;line-height:1.5}.panel [tabindex="-1"]:focus{outline:none}
@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.panel{padding:23px}.sidebar{padding:13px}.cover-title{font-size:30px;margin-top:22px}.podcast-cover{padding:19px 17px}.waveform{gap:4px;height:49px}.waveform i:nth-child(5n){height:43px}.brand{gap:14px}.header-note{display:none}.input-foot{font-size:8px}}
@media(max-width:700px){.topbar{height:74px;padding:0 22px}.brand img{width:117px;height:35px}.brand{font-size:11px;gap:12px}main{padding:0 18px}.hero{padding:35px 0 26px}.hero h1{font-size:49px;letter-spacing:-2px}.hero-spark{width:31px;top:92px;margin-left:13px}.hero p{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.5px}.steps{gap:6px;margin-bottom:24px}.steps i{width:20px}.step{font-size:10px;gap:6px}.step span{width:23px;height:23px}.workspace{grid-template-columns:1fr}.sidebar{position:static;display:grid;grid-template-columns:125px 1fr;gap:16px;padding:16px}.podcast-cover{padding:13px;aspect-ratio:1}.cover-title{font-size:20px;margin-top:12px;letter-spacing:-.6px}.cover-top{font-size:5px;letter-spacing:.7px}.cover-tag{font-size:4px;padding:2px}.waveform{height:22px;gap:2px;margin:9px 0 0}.waveform i{width:3px;height:8px}.waveform i:nth-child(2n){height:13px}.waveform i:nth-child(3n){height:17px}.waveform i:nth-child(5n){height:22px}.waveform i:nth-child(7n){height:10px}.cover-bottom{display:none}.episode-info{padding:5px 0}.episode-info h3{font-size:15px}.how-it-works{display:none}.privacy-note{grid-column:1/-1}.panel{padding:22px 18px;border-radius:14px}.section-heading h2{font-size:19px}.section-heading p{font-size:11px}.section-icon{width:36px;height:36px}.dropzone small{font-size:9px}.input-foot{flex-direction:column;gap:3px;font-size:9px}.settings-grid{gap:10px}.duration label>span{padding:11px 10px}.duration small{font-size:8px}.label-row{gap:4px}.label-row label{font-size:11px;margin:0}.small{font-size:9px}footer{flex-wrap:wrap;gap:16px;font-size:8px}footer>span{width:100%;margin:0}.panel-actions .primary,.panel-actions .secondary{padding:12px;font-size:11px}.result-panel{padding:38px 22px}.result-panel h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.hero-spark{transform:translateX(26px) rotate(15deg)}
@media(max-width:700px){.hero-spark{transform:translate(6px,-25px) rotate(15deg)}.settings-grid{grid-template-columns:1fr}textarea,input[type=text],input[type=search],select{font-size:16px}.duration label>span{font-size:14px}}
.turn-head select{width:160px}#voice-preview{border:1px solid var(--line);padding:12px 16px;border-radius:10px;margin-top:18px;background:#fafbf7}#voice-preview-player{width:100%}.voices .text-button{margin-top:7px}

/* Typography and palette from skolegpt.dk, 3 November 2026. */
h1,h2,h3,.cover-title,#result-title{font-family:"Work Sans",sans-serif}.hero h1{font-weight:700}.hero h1 em{font-family:inherit;font-weight:700;font-style:normal}.brand img{width:126px;height:60px}.cover-title{font-weight:700}.cover-top,.cover-bottom{color:#181816}.cover-tag{border-color:#18181655}.hero-spark{stroke:var(--orange)}
.tempo-label{display:flex;justify-content:space-between;align-items:center;margin-top:16px!important}.tempo-label output{font-variant-numeric:tabular-nums;color:var(--orange-dark)}.voices input[type=range]{width:100%;min-height:44px;padding:0;accent-color:var(--orange);cursor:pointer}.tempo-scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.voices .text-button{margin-top:8px}.caption-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;font-size:13px}.caption-toolbar .secondary{font-size:11px;padding:8px 12px}.live-captions{background:#181816;color:#fff;border-radius:14px;padding:23px;text-align:center;min-height:130px;max-height:32vh;overflow-y:auto;border-top:4px solid var(--orange)}.live-captions[data-speaker=B]{border-color:#ffe992}.caption-speaker{display:block;color:#ffe992;font-size:11px;font-weight:600;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}.caption-speaker:empty{display:none}#caption-text{font-size:clamp(17px,2.2vw,22px);line-height:1.5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.result-actions{flex-wrap:wrap}#download-captions{display:inline-block;margin-top:12px;font-size:12px}#player{width:100%}

.live-captions+.result-actions{margin-top:20px}
/* One visual player: short captions above the native, keyboard-accessible controls. */
.podcast-player{position:relative;isolation:isolate;border-radius:22px;overflow:hidden;background:#182b25;color:#fff;margin:24px 0;box-shadow:0 16px 40px #182b251a;text-align:left}.podcast-player:before{content:"";position:absolute;z-index:-1;width:480px;height:480px;border:1px solid #ffffff12;border-radius:50%;top:-280px;right:-150px;box-shadow:0 0 0 45px #ffffff05,0 0 0 90px #ffffff03}.player-topline{display:flex;justify-content:space-between;align-items:center;padding:20px 24px}.player-brand{font-size:10px;letter-spacing:2px;font-weight:700;display:flex;gap:12px;align-items:center}.player-brand b{font-size:9px;color:#ffe992;border-left:1px solid #ffffff44;padding-left:12px}#toggle-captions{border:1px solid #ffffff55;background:#ffffff12;border-radius:8px;min-width:44px;min-height:36px;color:#fff;font-size:12px;font-weight:800}#toggle-captions[aria-pressed=false]{opacity:.5}.podcast-player .live-captions{display:flex;flex-direction:column;justify-content:center;background:transparent;border:0;border-radius:0;min-height:250px;max-height:none;overflow:visible;padding:28px 28px 40px}.podcast-player .caption-speaker{align-self:center;display:inline-block;border:1px solid #ffffff22;background:#ffffff09;border-radius:30px;padding:7px 12px;margin:0 0 22px;font-size:10px;letter-spacing:.6px;text-transform:none;max-width:100%;overflow-wrap:anywhere}.podcast-player .caption-speaker:empty{display:none}.podcast-player #caption-text{font-family:"Work Sans",sans-serif;font-size:clamp(27px,3vw,40px);font-weight:800;line-height:1.3;letter-spacing:-.8px;text-align:center;max-width:620px;align-self:center;white-space:normal;text-wrap:balance;text-shadow:0 2px 10px #0002}.caption-word{display:inline;padding:0 .05em;border-radius:5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.caption-word.is-active{background:#f05a24;color:#fff}.live-captions[data-speaker=B] .caption-word.is-active{background:#ffe992;color:#182b25}.player-controls{padding:15px 18px 18px;border-top:1px solid #ffffff18;background:#0002}.player-controls #player{display:block;width:100%;margin:0;min-height:54px}.host-picker{margin:24px 0;padding:20px;border-radius:12px;background:var(--paper);border:1px solid var(--line)}.host-picker h3{margin:0}.host-picker p{font-size:12px;line-height:1.6}.assistant-select{width:100%;min-width:0;text-overflow:ellipsis}.voice-label{margin-top:18px}.turn-head select{width:min(420px,75%);text-overflow:ellipsis}.podcast-player+.result-actions{margin-top:24px}#hosts-changed{margin-top:20px}#hosts-changed p{margin:0 0 12px}
@media(max-width:700px){.player-topline{padding:16px}.podcast-player .live-captions{min-height:230px;padding:18px 18px 28px}.podcast-player #caption-text{font-size:29px;letter-spacing:-.6px}.player-brand{font-size:9px;gap:8px;letter-spacing:1px}.player-controls{padding:12px 8px}.host-picker{padding:14px}.turn-head select{font-size:13px}.podcast-cover .waveform{display:none}}

/* Caption style and portable sharing. */
.player-topline{gap:12px;flex-wrap:wrap}.caption-style-label{margin:0 0 0 auto;color:#fff;font-size:10px}.caption-style-label select{display:block;background:#243e34;color:#fff;border:1px solid #ffffff55;border-radius:7px;min-height:36px;padding:6px 9px;font-size:12px;margin-top:4px}.plain-captions #caption-text{font-family:Inter,sans-serif;font-size:clamp(18px,2vw,24px);font-weight:500;line-height:1.55;letter-spacing:0;text-shadow:none;max-width:44ch}.plain-captions .live-captions{min-height:250px}.import-toolbar{display:flex;align-items:center;gap:18px;margin:0 0 24px}.import-toolbar p{margin:0;max-width:650px}.import-toolbar button{flex-shrink:0}#share-dialog{width:min(580px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);padding:26px;text-align:left}#share-dialog::backdrop{background:#12241f99}.share-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.share-heading h2{margin:0;font-size:25px}.share-options{display:grid;gap:12px;margin:24px 0}.share-options a,.share-options button{text-align:center}#share-status:empty{display:none}#share-status{color:var(--green);font-weight:600}@media(max-width:700px){.import-toolbar{display:block}.import-toolbar p{margin-top:10px}.player-brand{width:100%}.caption-style-label{margin-left:0;margin-right:auto}.plain-captions #caption-text{font-size:19px}#share-dialog{padding:20px}}

.host-prompt{font-size:13px;line-height:1.6;min-height:150px}.settings-grid>div{min-width:0}.record-voice{display:block}#voice-dialog{width:min(660px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);padding:26px;text-align:left}#voice-dialog::backdrop{background:#12241f99}#voice-dialog .share-heading h2{font-size:23px}#voice-script{margin:18px 0;padding:18px 20px;background:#fff;border-radius:12px;border-left:4px solid var(--orange);font-size:18px;line-height:1.65}#voice-recording{width:100%;margin-top:18px}#voice-status{min-height:1.5em;font-weight:600;overflow-wrap:anywhere}#voice-dialog .result-actions{justify-content:flex-start;margin-top:20px}#saved-voices li{gap:12px;align-items:center;display:flex}#saved-voices li span{flex:1;overflow-wrap:anywhere}#voice-dialog h3{margin-top:30px}#saved-voices button{width:auto;height:auto;flex-shrink:0}#voice-dialog .share-heading button{flex-shrink:0}@media(max-width:700px){#voice-dialog{padding:18px}#voice-dialog .share-heading h2{font-size:20px}.host-prompt{font-size:16px}#voice-script{font-size:17px}#voice-dialog .result-actions{gap:10px}}

/* SkoleGPT Podcast identity and audio-clock-driven rolling captions. */
.brand img{width:76px;height:76px;object-fit:contain;border-radius:12px}.brand{font-size:19px}.topbar{min-height:102px}
.podcast-logo-cover{overflow:hidden;border-radius:18px;background:#f5f7ed}.podcast-logo-cover img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
#first-script{margin:26px 0}#script-editor{margin-top:32px;border-top:1px solid var(--line,#dce2d5);padding-top:28px}
.plain-captions .live-captions{display:block;padding:0;min-height:0;text-align:left}
.caption-roll{position:relative;height:360px;overflow:hidden;mask-image:linear-gradient(transparent,#000 12%,#000 86%,transparent)}
#caption-roll-track{position:absolute;inset:0 30px auto;will-change:transform}
.caption-block{margin:0 0 28px;padding:16px 20px;border-left:3px solid #edb898;border-radius:0 12px 12px 0;background:rgba(255,255,255,.04);opacity:.44}
.caption-block[data-speaker="B"]{border-color:#ffe992}.caption-block.current{opacity:1;background:rgba(255,255,255,.1)}
.caption-block-speaker{display:block;color:#edb898;font-size:12px;font-weight:700;letter-spacing:.04em;margin-bottom:8px}.caption-block[data-speaker="B"] .caption-block-speaker{color:#ffe992}
.caption-block p{margin:0;color:#fff;font-size:clamp(17px,1.7vw,22px);line-height:1.6;font-weight:450;overflow-wrap:anywhere}
@media(max-width:700px){.brand{font-size:16px;gap:10px}.brand img{width:58px;height:58px}.topbar{min-height:82px}.brand-divider{display:none}.caption-roll{height:330px}#caption-roll-track{left:12px;right:12px}.caption-block{padding:12px 14px}.caption-block p{font-size:17px}}

/* Transparent wordmark is separate from the episode's illustration. */
.brand img{width:228px;height:76px;border-radius:0;object-fit:contain;background:transparent}.podcast-logo-cover{background:transparent;border-radius:0;padding:30px 8px}.podcast-logo-cover img{aspect-ratio:3/1;object-fit:contain}
.episode-cover{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:12px;object-fit:contain}#cover-status{font-size:11px;line-height:1.6;margin:12px 4px 6px}#regenerate-cover{margin:4px 4px 12px;text-align:left}
@media(max-width:700px){.brand img{width:174px;height:58px}}
@media(max-width:700px){.sidebar{display:block}.episode-cover{width:100%}.podcast-logo-cover{max-width:260px;margin:auto}.sidebar .episode-info{padding:20px 5px}}
.brand img{width:160px;height:98px;object-fit:contain}.topbar{min-height:114px}.podcast-logo-cover img{aspect-ratio:1.6;max-height:200px}.podcast-logo-cover{padding:12px}
#voice-progress-wrap{margin:20px 0 12px;padding:16px;border-radius:12px;background:#eef4e4}#voice-progress-label{font-size:13px;margin:0 0 10px}#voice-progress{display:block;width:100%;height:12px;accent-color:#f05a24}
@media(max-width:700px){.brand img{width:130px;height:80px}.topbar{min-height:96px}}
#cover-placeholder .cover-bottom{color:#343b31}#cover-placeholder .cover-title{font-weight:700}
#import-podcast{white-space:nowrap}.import-toolbar{flex-wrap:wrap}.import-toolbar p{flex:1;min-width:200px}
#library-dialog{width:min(980px,94vw);max-height:90dvh;border:1px solid #d7dfd0;border-radius:22px;padding:28px;background:#f7f8f1;color:#202c29}#library-dialog::backdrop{background:#182e26aa}.library-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.library-toolbar label{margin:0}.library-toolbar input{flex:1;min-width:180px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.library-card{overflow:hidden;border:1px solid #dce2d4;border-radius:16px;background:white}.library-card>img,.library-cover-empty{width:100%;aspect-ratio:1;object-fit:contain;display:block}.library-cover-empty{display:grid;place-items:center;padding:30px;background:#ffe992;font-size:32px;font-weight:750;line-height:1.1}.library-card-body{padding:18px}.library-card h3{font-size:17px;margin:0;overflow-wrap:anywhere}.library-actions{display:flex;flex-wrap:wrap;gap:8px}.library-actions button{padding:9px 12px}.library-grid:empty{display:none}#library-save-status:empty{display:none}
@media(max-width:700px){#library-dialog{padding:18px}.library-grid{grid-template-columns:1fr}.library-toolbar{align-items:stretch}.library-toolbar input{min-width:100%}.import-toolbar p{min-width:100%}#open-library,#import-podcast{flex:1}}
/* Sound studio and cast controls */
.host-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfcf7}.host-card h3{margin:0 0 18px;font-size:16px}.host-card input[type=range]{width:100%;accent-color:var(--orange)}#drama-cast{margin-bottom:20px}#cast-count{max-width:180px}.sound-studio{margin:24px 0;border-top:1px solid var(--line);padding-top:22px}.sound-card{background:#f6f8f0;border:1px solid #dce2d4;border-radius:12px;margin:12px 0;padding:14px}.sound-card summary{cursor:pointer;font-weight:650;font-size:14px}.sound-suggestion{font-size:13px;line-height:1.6;color:#345347}.sound-actions,.sound-url{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.sound-upload{margin:0;cursor:pointer}.sound-url input{flex:1;min-width:160px}.sound-card audio{width:100%;margin:6px 0 12px}.sound-card p{overflow-wrap:anywhere}.mix-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.mix-settings label{font-size:11px;min-width:0;margin:0}.mix-settings input[type=number]{display:block;width:100%;margin-top:7px;border:1px solid #d8dfd2;padding:10px;border-radius:8px;font:inherit;font-size:14px;background:#fff}.mix-settings input[type=range]{display:block;width:100%;margin-top:10px;accent-color:var(--orange)}.mix-settings output{display:block;color:#a54320;margin-top:5px}.check-option{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5}.check-option input{accent-color:var(--orange);width:18px;height:18px;flex-shrink:0}.break-option{margin:15px 0;padding:12px;background:#fff5db;border-radius:9px}.turn-sounds{margin-top:12px}.sound-url input[type=url]{border:1px solid #dce2d4;border-radius:8px;padding:10px;font-size:13px;min-width:0;width:100%;background:white}#file-list li:has(.source-image){flex-wrap:wrap}#file-list details{width:100%;font-size:12px}#file-list details textarea{margin-top:10px}#file-list .source-image{width:64px;height:64px;object-fit:contain;border-radius:8px}.cover-upload{width:100%;cursor:pointer;font-size:11px;margin:10px 0}.sound-studio>h3{font-size:18px}.voice-label{margin-top:16px}
@media(max-width:600px){.host-card{padding:14px}.mix-settings{grid-template-columns:1fr}.sound-actions .text-button{font-size:11px}.sound-url{display:block}.sound-url button{margin-top:8px}.sound-card{padding:12px}}

/* Optional audio tools stay closed while writing. */
.sound-enable{font-size:14px;margin:12px 0}.sound-enable input{width:19px;height:19px}#sound-editor>summary,.turn-sounds>summary{cursor:pointer;font-size:13px;color:#365247;padding:10px 0;font-weight:550}#sound-editor[open]>summary{margin-bottom:12px}.turn-sounds{border-top:1px solid #e1e5da;margin-top:12px}.turn-sounds:not([open]){margin-bottom:0}.sound-credits input{width:100%;margin-top:7px;border:1px solid #d8dfd2;border-radius:8px;padding:10px;font:inherit;font-size:14px}.episode-credits{text-align:left;margin:22px 0;color:#43574c;font-size:13px}.episode-credits summary{cursor:pointer;font-weight:650}.episode-credits pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:#f5f7ef;border-radius:12px;padding:16px}.sound-card .text-button{margin-right:10px}

/* Keep voice-building progress visible, including on a small screen. */
.header-actions{display:flex;align-items:center;gap:20px}.header-actions button{white-space:nowrap}
#voice-dialog .voice-dialog-header{position:sticky;top:-26px;z-index:3;background:var(--paper);margin:-26px -26px 18px;padding:20px 26px 8px;border-bottom:1px solid var(--line)}
.voice-dialog-header .share-heading{margin-bottom:0}#voice-progress-wrap{margin:12px 0 4px;padding:12px 14px}#voice-progress-label{font-size:16px;font-weight:700}#voice-progress-detail{font-size:12px;line-height:1.4;margin:7px 0 0}#voice-status{margin:6px 0 0;font-size:13px}#voice-status:empty{display:none}
.role-tip{padding:16px 18px;background:#eef4e4;border-radius:12px;margin:20px 0;font-size:14px;line-height:1.6}.role-tip p{margin:8px 0 0}
.help-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);text-align:left}.help-dialog::backdrop{background:#12241f99}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--paper);padding:20px 26px;border-bottom:1px solid var(--line);z-index:1}.help-heading h2{font-size:24px;margin:0}.guide-intro{margin:22px 26px;font-size:17px;line-height:1.6}.guide-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 26px 24px}.guide-steps article{padding:16px;background:#eef4e4;border-radius:12px}.guide-steps p{margin:8px 0 0;line-height:1.6;font-size:14px}.guide-topics{margin:0 26px 26px}.guide-topic{border:1px solid var(--line);border-radius:12px;margin-top:12px;overflow:hidden}.guide-topic summary{cursor:pointer;padding:16px 18px;font-weight:700;background:#eef4e4}.guide-topic>div{padding:4px 18px 14px;line-height:1.7;font-size:15px}.guide-topic li{margin:9px 0}.guide-topic ul,.guide-topic ol{padding-left:22px}.guide-example{padding:12px;border-left:3px solid var(--orange);background:white}
@media(max-width:700px){.header-actions{gap:8px}.header-actions .header-note{display:none}.header-actions button{padding:10px 12px;font-size:13px}#voice-dialog .voice-dialog-header{top:-18px;margin:-18px -18px 14px;padding:14px 18px 8px}.help-heading{padding:16px}.help-heading h2{font-size:20px}.guide-intro{margin:18px 16px}.guide-steps{grid-template-columns:1fr;margin:0 16px 18px}.guide-topics{margin:0 16px 18px}}

/* ViViber odometer reused for podcast usage. */
.usage-metrics{display:flex;align-items:center;gap:16px}
.usage-metric{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.usage-metric+.usage-metric{border-left:1px solid #c6d3b7;padding-left:16px}
.meter-reading{display:flex;align-items:baseline;gap:5px}
.meter-number{display:inline-flex;align-items:flex-start;font-size:22px;font-weight:700;line-height:1;height:1em;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#293126;white-space:nowrap}
.meter-digit{display:inline-block;height:1em;width:.67em;overflow:hidden}
.meter-track{display:flex;flex-direction:column;will-change:transform}
.meter-track>span{display:block;height:1em;line-height:1;flex:0 0 1em;text-align:center}
.meter-separator{line-height:1}.meter-unit{font-size:12px;color:#718260;font-weight:650}
.usage-note{font-size:9px;color:#718260;max-width:100%}
@media(max-width:740px){.studio-header .usage-group{order:1}.usage-metrics{gap:12px}.usage-metric+.usage-metric{padding-left:12px}.meter-number{font-size:21px}}
@media(prefers-reduced-motion:reduce){.meter-track{will-change:auto}}


.usage-panel{position:sticky;top:0;z-index:20;max-width:1220px;margin:0 auto;background:#eef4e4;border:1px solid #d1ddc5;border-radius:16px;padding:8px 16px;display:flex;align-items:center;gap:16px;box-shadow:0 3px 12px #263f3010}.usage-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}.usage-label small{font-weight:400}.usage-panel.is-working{border-color:#d48355}.usage-panel.is-working .usage-label:first-child::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--orange)}
.meter-help{border:1px solid #a9b99b;color:var(--ink);background:transparent;width:32px;height:32px;min-height:32px;flex-shrink:0;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer}.meter-help:hover{background:#dce6ce}.meter-help:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.meter-dialog{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--paper);color:var(--ink);text-align:left}.meter-dialog::backdrop{background:#12241f99}.meter-dialog h2{font-size:23px}.meter-dialog p,.meter-dialog li{font-size:14px;line-height:1.65}.meter-dialog .share-heading{gap:12px}.meter-dialog .share-heading button{flex-shrink:0}.meter-dialog summary{cursor:pointer;font-weight:700}.meter-dialog li{margin:8px 0}.usage-history{list-style:none;padding:0}.usage-history li{border-top:1px solid var(--line);padding:12px 0}.usage-history p{margin:4px 0}.usage-history small{display:block;line-height:1.5;color:#65705b}
.energy-comparison{margin:18px 0;padding:22px;border:1px solid #d9e3ce;border-radius:14px;background:#f2f5ed}.energy-comparison p{margin:12px 0;color:#65705b}.energy-comparison>strong{display:block;font-size:19px;line-height:1.5}.energy-comparison>#energy-duration{display:block;margin-top:7px;color:#b84319;font-size:28px;font-weight:750;line-height:1.3;overflow-wrap:anywhere}#energy-total{font-size:12px;color:#65705b}
@media(max-width:1260px){.usage-panel{margin:0 20px}}@media(max-width:700px){.usage-panel{margin:0 12px;padding:8px 10px;gap:9px;flex-wrap:wrap;border-radius:12px}.usage-metrics{gap:12px;flex-wrap:wrap}.usage-metric{gap:6px}.usage-metric+.usage-metric{padding-left:12px}.meter-number{font-size:18px;letter-spacing:0}.usage-label{font-size:11px}.meter-dialog{padding:18px}.meter-dialog h2{font-size:20px}.energy-comparison{padding:16px}}

html{scroll-padding-top:calc(var(--usage-height,160px) + 16px)}.sidebar{top:calc(var(--usage-height,160px) + 24px)}.skip{z-index:30}

/* Compact meter beside the episode artwork; kept accessible above the mobile flow. */
.sidebar #usage-panel{position:static;width:100%;max-width:100%;margin:0 0 16px;padding:10px;box-shadow:none}
.sidebar .usage-metrics{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sidebar .usage-metric{flex-direction:column;align-items:flex-start;gap:6px}
.sidebar .usage-metric+.usage-metric{padding-left:8px}
.sidebar .meter-number{font-size:19px;letter-spacing:0}
#mobile-meter-slot:empty{display:none}
#custom-audience-wrap{margin-top:14px}
#sound-record-progress{width:100%;height:10px;accent-color:var(--orange);margin:0 0 18px}
#sound-record-preview{width:100%;margin:16px 0}
@media(max-width:700px){#mobile-meter-slot{position:sticky;top:0;z-index:20;display:flex;justify-content:flex-end;padding:0 12px;background:var(--paper)}#mobile-meter-slot #usage-panel{position:static;width:fit-content;max-width:100%;margin:0}#sound-record-dialog .sound-actions{flex-wrap:wrap}}
