@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--ink:#183e38;--green:#245e50;--paper:#f6f7f3;--line:#dce4dc;--muted:#64756d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 'DM Sans',sans-serif}button,input,textarea{font:inherit}button,label.upload{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b58c3e;outline-offset:4px}header{height:90px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 5vw}.brand{text-decoration:none;color:var(--ink);font-size:23px;letter-spacing:-1px;font-weight:700;display:flex;align-items:center;gap:10px}.brand>span:last-child{font-weight:400;margin-left:-5px}.brandmark{background:var(--green);color:white;width:34px;height:34px;border-radius:10px;text-align:center;line-height:34px;letter-spacing:0}.private{font-size:14px;color:var(--muted)}main{max-width:1320px;margin:auto;padding:45px 5vw 20px}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 14px}h1{font:64px/.97 'Libre Caslon Display',Georgia,serif;letter-spacing:-1.8px;margin:0}h1 em{font-weight:400;color:#638174}.intro{color:var(--muted);margin:20px 0 0}.chapter{border-left:1px solid #b9c9ba;padding:4px 36px;font-size:18px;line-height:1.6}.chapter>span{font-size:12px;letter-spacing:2px;color:var(--muted)}.chapter p{margin:12px 0 0}.workspace{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(400px,1.4fr);gap:22px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:13px}.section-title{display:flex;align-items:center;gap:12px;padding:24px;border-bottom:1px solid var(--line)}h2{font-size:17px;font-weight:600;margin:0}.section-title>.muted{margin-left:auto;font-size:12px}.step{font-size:12px;min-width:29px;height:29px;border:1px solid #cfdbd1;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#708478}.script textarea{width:100%;resize:vertical;min-height:330px;padding:25px;border:0;background:linear-gradient(white,#fff);color:var(--ink);line-height:1.9;font-family:Georgia,serif;font-size:19px}.script textarea::placeholder{color:#87968b}.script-foot{display:flex;justify-content:space-between;margin:0 24px 22px;font-size:12px;color:var(--muted);gap:12px}.note{display:flex;gap:14px;border-top:1px solid var(--line);padding:20px 24px;background:#f2f6f0;border-radius:0 0 13px 13px;color:#586b5c}.note span{font-size:24px}.note p{margin:0;font-size:14px;max-width:260px}#capture,#recording{text-align:center;padding:40px 20px 30px}.capture-icon{width:72px;height:72px;display:grid;place-items:center;background:#eef3ed;border:1px solid #dce7da;border-radius:50%;margin:auto auto 20px;font-size:32px;color:#5c8068}h3{font-size:18px;font-weight:500;margin:0}#capture p,#recording p{font-size:14px;color:var(--muted);margin:8px 0 23px}.primary{background:var(--green);color:#fff;border:1px solid var(--green);padding:13px 23px;border-radius:7px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary:hover{background:#153f35}.record-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#eeb79c}.or{font-size:12px;color:#8a978e;margin:15px}.upload{display:inline-flex;gap:28px;color:var(--green);font-size:14px;border-bottom:1px solid #b8c9bb;padding-bottom:3px}small{display:block;font-size:12px;color:var(--muted);margin-top:14px;line-height:1.6}.export{margin-top:22px;padding:25px;display:flex;align-items:center;justify-content:space-between;gap:22px}.export-copy{display:flex;gap:15px;align-items:center}.export p{font-size:14px;color:var(--muted);margin:5px 0 0}.export-actions{display:flex;gap:20px;align-items:center}.export-actions label{font-size:12px;color:var(--muted)}input[type=checkbox],input[type=range]{accent-color:var(--green)}footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7d8b81;padding:24px 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}#status{font-size:14px;color:var(--green);padding:0 24px;white-space:pre-line}#status:empty{display:none}#loaded{padding:24px}.file-row{display:flex;justify-content:space-between;align-items:center;gap:15px}.file-row b{display:block;max-width:270px;word-break:break-word}.muted{color:var(--muted);font-size:14px}.text-button{border:0;background:none;color:var(--green);font-size:14px;padding:6px}.wavewrap{background:#f2f6ef;border-radius:8px;margin-top:20px;padding:12px}canvas{width:100%;height:110px;display:block;touch-action:none;cursor:crosshair}.wave-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.transport{display:flex;gap:13px;align-items:center;margin:18px 0}.round{border:0;background:var(--green);color:white;width:42px;height:42px;border-radius:50%}.loop{margin-left:auto;font-size:14px}.selection{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.selection label{font-size:14px}.selection input{width:70px;border:1px solid var(--line);padding:5px;border-radius:4px;font-size:14px}.secondary{border:1px solid #ccd9cf;border-radius:6px;background:white;color:var(--green);font-size:14px;padding:8px 12px}.secondary:hover{background:#f0f5ef}.hint{font-size:12px;color:var(--muted);margin:10px 0}.cleanup{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.cleanup>div>p,.setting p{margin:3px 0;color:var(--muted);font-size:12px}.setting{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px}.setting b{font-size:14px}.range-label{display:block;margin:15px 0 5px;font-size:12px;color:var(--muted)}#pause{width:100%}.cuts-head{border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;margin-top:22px;padding-top:20px}.cuts-head h3{margin-right:auto;font-size:15px}#cutcount{background:#eaf0e6;padding:2px 7px;border-radius:5px;font-size:12px;margin-left:5px}.cut-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf0eb;gap:10px;font-size:14px}.cut-row span{font-size:12px;color:var(--muted)}#cuts{max-height:260px;overflow:auto}.transcript{margin-top:16px;border:1px solid var(--line);padding:12px;border-radius:6px;max-height:220px;overflow:auto}.word{border:0;background:transparent;color:var(--ink);padding:3px 4px;font-size:14px}.word:hover{background:#e8eee5}.word.removed{background:#f7e4dc;text-decoration:line-through;color:#965b45}#recordtime{font:56px 'Libre Caslon Display',serif;margin:20px}.pulse{animation:pulse 1.2s infinite;margin-bottom:16px;background:#c66b53}@keyframes pulse{50%{opacity:.3}}@media(max-width:850px){main{padding:30px 20px}.workspace{grid-template-columns:1fr}.chapter{display:none}h1{font-size:53px}.script textarea{min-height:200px}.export{align-items:start;flex-direction:column}.export-actions{width:100%;justify-content:space-between}.private{display:none}header{height:72px;padding:0 20px}footer{flex-direction:column;gap:6px}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}

.mic-controls{max-width:440px;margin:0 auto 22px;text-align:left}.mic-controls>label{font-size:14px;font-weight:600;display:block;margin-bottom:7px}.mic-controls>div{display:flex;gap:8px;align-items:stretch}.mic-controls select{min-width:0;flex:1;border:1px solid #ccd9cf;border-radius:6px;background:white;color:var(--ink);padding:9px;font:14px 'DM Sans',sans-serif}.mic-controls .secondary{max-width:150px}#capture #micinfo{font-size:12px;margin:8px 0 0;line-height:1.5}@media(max-width:480px){.mic-controls>div{flex-direction:column}.mic-controls .secondary{max-width:none}}

.music{margin-top:22px}.music-body{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:35px}.music-body label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.music-body select{width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);font:inherit}.music-body .upload{display:inline-flex;font-weight:400}.music-body input[type=range]{width:100%}#musicstatus{margin:0;padding:0 24px 20px;color:var(--green);font-size:14px}#musicstatus:empty{display:none}@media(max-width:650px){.music-body{grid-template-columns:1fr;gap:18px}}

.prompter-launch{padding:0 24px 12px}.prompter-launch .hint{margin-bottom:0}#openprompter{display:block;margin:0 auto 16px}#prompter{width:min(1050px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #ccd9cf;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 24px 100px #102e3855}#prompter::backdrop{background:#142e39b8;backdrop-filter:blur(4px)}.prompter-header{padding:22px 28px;display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid var(--line)}.prompter-header .eyebrow{font-size:12px;margin-bottom:5px}.prompter-header h2{font:30px 'Libre Caslon Display',Georgia,serif}.prompter-settings{display:flex;align-items:center;gap:30px;padding:18px 28px;background:#f2f6ef}.prompter-settings label{font-size:14px}.prompter-settings label:first-child{flex:1}.prompter-settings b{display:block}.prompter-settings input{display:block;width:100%;margin-top:10px}.prompter-settings select{display:block;margin-top:7px;padding:7px;border:1px solid var(--line);border-radius:5px;background:white;color:var(--ink);font-size:14px}.prompter-settings>div{font-size:14px}#prompterviewport{height:42dvh;min-height:160px;max-height:440px;overflow:auto;overscroll-behavior:contain;position:relative;background:#153e37;scrollbar-color:#719589 #153e37}#promptertext{font:34px/1.8 Georgia,serif;color:#b9cfc4;padding:40px clamp(20px,6vw,80px) 140px;position:relative}#promptertext p{margin:0 0 1em}#promptertext span{border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}#promptertext .current{background:#d9e9b5;color:#173d35;outline:3px solid #d9e9b5}#promptertext .spoken{color:#fff}.prompter-footer{padding:18px 28px}.prompter-controls,.prompter-record-controls{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.prompter-record-controls{margin-top:16px;justify-content:flex-end}#prompterhint{margin:12px 0 0;color:var(--muted);font-size:14px}.prompter-controls .muted{margin-left:auto}@media(max-width:650px){.prompter-settings{gap:14px;padding:14px 18px;flex-wrap:wrap}.prompter-settings label:first-child{flex-basis:100%}.prompter-header,.prompter-footer{padding:16px 18px}#prompterviewport{height:35dvh}.prompter-controls{gap:8px}.prompter-controls .muted{font-size:12px}.prompter-record-controls{justify-content:space-between}}

#musicsection{border-top:1px solid var(--line);padding:24px}.music-section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}#musicsection>label{font-size:14px;font-weight:500}#musicseek{width:100%;display:block;margin:14px 0}.music-times{display:flex;align-items:center;gap:24px;justify-content:space-between;flex-wrap:wrap}.music-times label{font-size:14px}.music-times input{width:95px;border:1px solid var(--line);border-radius:5px;margin-left:10px;padding:8px;color:var(--ink)}#musicrange{font-size:14px;color:var(--green);margin:8px 0}#musicpreview{display:block;width:100%;margin:18px 0 12px}#musicpreviewinfo{margin-bottom:0}@media(max-width:650px){#musicsection{padding:18px}.music-section-head{align-items:start;flex-direction:column;gap:6px}.music-times{gap:8px}}

.auto-check{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;text-align:left;margin:0 auto 8px;max-width:430px}.capture-clean-hint{font-size:12px!important;max-width:400px;margin:0 auto 20px!important}.auto-edit-panel{border:1px solid #ceddcc;background:#f3f7ef;border-radius:8px;padding:18px;margin-bottom:22px}.auto-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.auto-edit-heading h3{font-size:19px}.auto-edit-heading p{font-size:14px;line-height:1.6;margin:5px 0 0;color:var(--muted)}.preview-actions{display:flex;gap:12px;flex-wrap:wrap;margin:17px 0 10px}.preview-actions .primary{padding:10px 15px}.retake-check{display:flex;gap:8px;align-items:center;font-size:14px;margin-top:15px}#cleanuploading{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:15px;padding-top:12px}#cleanupstage{font-size:14px;margin:0}#cancelcleanup{flex-shrink:0}#playmode{margin-top:12px}@media(max-width:650px){.auto-edit-heading{align-items:start;flex-direction:column}#cleanuploading{align-items:start;flex-direction:column}.preview-actions>button{flex:1}}
