@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("./assets/dm-sans.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url("./assets/manrope.woff2") format("woff2")}

:root{--background:#f7f8f5;--surface:#fff;--text:#25322c;--muted:#636c5f;--secondary:#636c65;--border:#e5e9e1;--green:#4f7156;--green-dark:#3e6046;--green-pale:#f0f5ed;--green-light:#e1eadb;--error:#9c423d;--shadow:0 4px 20px #25322c03;--radius:15px;--font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--heading:Manrope,var(--font)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--background);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button{color:inherit}
button:disabled{cursor:not-allowed}
a{color:inherit;text-decoration:none}
button{border:0;background:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9ab789;outline-offset:4px}
input,select,textarea{min-width:0}
input:disabled,select:disabled,textarea:disabled{opacity:.65;cursor:not-allowed}
textarea{resize:vertical}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
.icon{display:inline-block;flex-shrink:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.svg-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;left:20px;top:-80px;z-index:100;padding:14px 22px;background:var(--green-dark);color:white;border-radius:8px}
.skip-link:focus{top:12px}
.site-header{background:#fffdfb;border-bottom:1px solid var(--border)}
.header-inner{width:calc(100% - 88px);max-width:1300px;min-height:84px;margin:auto;display:flex;align-items:center;gap:66px}
.brand{display:inline-flex;align-items:center;gap:11px;font-family:var(--heading);font-size:24px;font-weight:800;letter-spacing:-1px;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--green-dark);color:#e6efdf}
.brand-mark .icon{width:25px;height:25px;stroke-width:1.9}
.brand-light{font-weight:500}
.brand-dot{color:#5b7050}
.main-nav{align-self:stretch;display:flex;align-items:stretch;gap:28px}
.nav-link{position:relative;display:inline-flex;align-items:center;gap:7px;font-weight:500;font-size:13px;color:var(--secondary);min-height:48px;padding:0 1px}
.nav-link.is-active{color:var(--text)}
.nav-link.is-active::after{content:"";position:absolute;left:0;right:0;height:2px;bottom:0;background:var(--green)}
.nav-link .icon{width:13px;height:13px;stroke-width:1.8}
.nav-link:hover{color:var(--green-dark)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:19px}
.connection-status{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500;color:var(--secondary);white-space:nowrap}
.status-dot,.banner-dot,.context-dot{width:6px;height:6px;border-radius:50%;background:#9aa78d;display:inline-block;flex-shrink:0}
.connection-status.is-connected .status-dot{background:#648851;box-shadow:0 0 0 3px #edf4e9}
.connection-status.is-error .status-dot{background:#c08368}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);transition:background .15s,border-color .15s}
.icon-button .icon{width:18px;height:18px}
.icon-button:hover{background:var(--green-pale);border-color:#cad7c2}
.settings-button{width:38px;min-width:38px;height:38px;padding:9px;border-color:#e9ece6;border-radius:50%}
.app-shell{max-width:1216px;width:calc(100% - 88px);margin:0 auto}
.hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:43px 0 30px}
.eyebrow{font-size:10px;line-height:1.6;font-weight:600;letter-spacing:1.65px;color:var(--green);display:flex;align-items:center;gap:9px}
.eyebrow-line{width:21px;height:1px;background:#84977c}
h1{font-family:var(--heading);font-size:39px;line-height:1.3;font-weight:750;letter-spacing:-1.8px;margin:10px 0 9px}
h1 span{color:var(--green)}
.hero-description{font-size:14px;color:var(--secondary);letter-spacing:.05px}
.hero-note{display:flex;flex-direction:column;align-items:center;gap:8px;margin-right:9px;margin-top:12px}
.hero-wave{width:208px;height:47px;fill:none;stroke:#859d75;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.hero-note span{font-size:10px;color:var(--muted);letter-spacing:.25px}
.setup-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e1e7d9;border-radius:10px;background:#eef2e8;padding:3px 18px;margin-bottom:26px;min-height:47px}
.setup-banner>div{display:flex;align-items:center;gap:11px}
.setup-banner p{font-size:11px;color:#656c5e}
.setup-banner strong{font-weight:500;color:#4e604b;margin-right:4px}
.banner-dot{background:#879970}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;color:var(--green);font-weight:500;font-size:11px;white-space:nowrap;padding:0 4px}
.text-button .icon{width:14px;height:14px}
.text-button:hover{color:var(--green-dark)}
.workspace{display:grid;grid-template-columns:335px minmax(0,1fr);gap:28px;align-items:start}
.configuration-column{min-width:0}
.configuration-panel{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.panel-heading,.panel-heading>div{display:flex;align-items:center}
.panel-heading{justify-content:space-between;gap:12px}
.panel-heading>div{gap:11px}
.section-number{font-size:10px;letter-spacing:.8px;color:#666c60;font-family:var(--heading);font-weight:500}
h2{font-family:var(--heading);font-size:17px;line-height:1.5;font-weight:700;letter-spacing:-.5px}
.panel-heading h2{font-size:15px;letter-spacing:-.3px}
.heading-icon{width:18px;height:18px;color:#636d5c}
.panel-description{font-size:12px;color:var(--muted);margin-top:6px}
.field-group{margin-top:22px;min-width:0}
.upload-field{margin-top:25px}
.field-label{display:block;font-size:12px;font-weight:600;color:#536052;margin-bottom:9px}
.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:175px;background:#fafbf8;border:1.5px dashed #cbd6c2;border-radius:10px;padding:20px 8px 18px;transition:background .15s,border-color .15s,transform .15s}
.drop-zone:hover,.drop-zone.is-dragging{background:#f0f5eb;border-color:#7f9a6c}
.drop-zone.is-dragging{transform:scale(1.015)}
.drop-zone:disabled{opacity:.6;transform:none}
.upload-icon{width:40px;height:40px;display:grid;place-items:center;background:#f0f3e9;border:1px solid #e6ebdf;border-radius:11px;color:#5f6e53;margin-bottom:12px}
.upload-icon .icon{width:20px;height:20px;stroke-width:1.6}
.drop-title{font-size:13px;font-weight:500;color:#52644a}
.drop-subtitle{font-size:12px;color:#636c5b;margin-top:3px}
.browse-link{color:#5c6f50;text-decoration:underline;text-underline-offset:3px}
.file-types{font-size:10px;font-weight:400;color:#636c5b;letter-spacing:.15px;margin-top:16px}
.file-types span{padding:0 5px}
.field-hint{font-size:11px;line-height:1.5;color:#626c5a;margin-top:8px}
.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.label-note{font-size:10px;color:#626c5a;white-space:nowrap}
.number-input{border:1px solid var(--border);background:#fcfdfa;border-radius:8px;height:50px;display:flex;align-items:center;padding:0 13px;gap:12px}
.number-input>.icon{width:16px;height:16px;color:#636b5c}
.number-input input{background:none;border:0;flex:1;min-width:0;width:50px;font-size:13px;color:#4c5947;font-weight:500;height:48px;outline-offset:0}
.number-input>span{font-size:10px;color:#626c5a;white-space:nowrap;padding-right:3px}
.select-wrap{position:relative;display:flex;align-items:center}
.select-wrap select{width:100%;appearance:none;-webkit-appearance:none;background:#fcfdfa;border:1px solid var(--border);height:48px;border-radius:8px;padding:0 35px 0 38px;font-size:12px;color:#54604e;cursor:pointer}
.field-icon{position:absolute;left:13px;width:16px;height:16px;pointer-events:none;color:#636d5a}
.select-chevron{position:absolute;right:13px;width:13px;height:13px;pointer-events:none;color:#636b5c}
.field-divider{height:1px;background:var(--border);margin:26px 0 21px}
.style-section-title{display:flex;align-items:center;gap:11px}
.style-section-title h3{font-family:var(--heading);font-size:13px;font-weight:650;letter-spacing:-.2px}
.style-section-title+.field-group{margin-top:20px}
.custom-style-group{margin-top:20px}
.custom-style-group textarea{width:100%;min-height:79px;max-height:260px;background:#fcfdfa;border:1px solid var(--border);border-radius:8px;padding:11px 13px;font-size:12px;line-height:1.7;color:#54604e;display:block}
textarea::placeholder{color:#676b63}
.custom-hint{display:flex;justify-content:space-between;gap:5px;color:#626c5a;font-size:10px;margin-top:8px}
#style-count{white-space:nowrap}
.primary-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;width:100%;border-radius:8px;background:var(--green);color:white;font-size:12px;font-weight:500;padding:12px 17px;transition:background .15s,box-shadow .15s}
.primary-button:hover:not(:disabled){background:var(--green-dark);box-shadow:0 3px 10px #35513920}
.primary-button:disabled{background:#dce4d7;color:#97a590}
.primary-button .icon{width:17px;height:17px}
.generate-button{margin-top:26px;justify-content:flex-start}
.generate-button>.icon:first-child{width:17px;height:17px}
.generate-button .button-arrow{margin-left:auto;width:16px;height:16px}
.generate-button.is-loading>.icon:first-child{animation:spin 3s linear infinite}
.privacy-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#636d5b;font-size:10px;margin-top:12px}
.privacy-note .icon{width:12px;height:12px;stroke-width:1.5}
.cancel-button{display:block;min-height:48px;width:100%;margin-top:8px;color:var(--secondary);font-size:11px}
.form-error{border:1px solid #efd9d5;background:#fff7f4;color:var(--error);padding:11px 13px;font-size:11px;border-radius:8px;line-height:1.7;overflow-wrap:anywhere;margin-top:16px}
.creative-note{display:flex;align-items:flex-start;gap:10px;padding:18px 9px 0 6px}
.creative-note-icon{margin-top:1px;flex-shrink:0}
.creative-note-icon .icon{width:15px;height:15px;color:#636d5a}
.creative-note p{font-size:11px;line-height:1.8;color:#636b5c}
.creative-note strong{font-weight:500;color:#606e58}
.selected-file{display:flex;align-items:center;gap:11px;min-height:90px;padding:12px 10px 12px 13px;background:var(--green-pale);border:1px solid #dbe5d3;border-radius:9px}
.file-icon{display:grid;place-items:center;flex-shrink:0;width:35px;height:40px;color:#5b7050;background:#e5eedf;border-radius:7px}
.file-icon .icon{width:21px;height:21px}
.file-details{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.file-details strong{font-size:12px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#596e4f}
.file-details span{font-size:10px;color:#606d57}
.remove-file{flex-shrink:0;width:48px;border:0;background:none;padding:14px}
.remove-file .icon{width:14px;height:14px}
.storyboard-panel{min-width:0;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:visible}
.storyboard-header{padding:25px 27px 0;border-bottom:1px solid var(--border)}
.storyboard-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:26px}
.title-with-count{display:flex;align-items:center;gap:9px}
.count-badge{background:#edf3e6;border:1px solid #e1e9d6;border-radius:6px;font-size:9px;line-height:18px;padding:0 6px;min-width:22px;text-align:center;color:#5c6f4e}
#storyboard-subtitle{font-size:12px;color:#636d5c;margin-top:4px}
.reset-button{min-height:26px;font-size:10px;color:#636c5b}
.reset-button .icon{width:12px;height:12px}
.storyboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px;min-height:53px}
.view-tabs{display:flex;gap:19px;align-self:stretch;flex-shrink:0}
.view-tab{position:relative;display:flex;align-items:center;gap:6px;padding:0 0 8px;min-height:48px;font-size:11px;font-weight:500;color:#666b62;white-space:nowrap}
.view-tab .icon{width:15px;height:15px;stroke-width:1.6}
.view-tab.is-active{color:#5a6e50}
.view-tab.is-active::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#7b9669}
.view-tab:disabled{color:#b5baaf;opacity:.8}
.output-actions{display:flex;align-items:center;gap:7px;min-width:0;align-self:center;margin-top:-7px}
.copy-all-button{align-items:center;justify-content:center;gap:7px;min-height:48px;background:#f3f6ee;color:#59704c;border:1px solid #e3e9db;border-radius:8px;padding:8px 11px;font-size:10px;font-weight:500;white-space:nowrap;transition:background .15s}
.copy-all-button .icon{width:14px;height:14px}
.copy-all-button:hover{background:#eaf0e2}
.export-wrap{position:relative;display:flex}
.export-wrap>.icon-button{border:0;background:none;width:36px;min-width:36px;padding:9px}
.export-wrap .icon{width:16px;height:16px;color:#616d58}
.export-menu{position:absolute;right:0;top:52px;z-index:5;min-width:210px;background:white;border:1px solid var(--border);border-radius:10px;padding:6px;box-shadow:0 8px 25px #25322c14}
.export-menu button{width:100%;min-height:48px;padding:10px 12px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;border-radius:6px}
.export-menu button:hover{background:var(--green-pale)}
.export-menu button span{color:var(--muted);font-size:10px}
.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;min-height:712px;padding:72px 24px 26px}
.story-illustration{position:relative;width:310px;height:225px;margin-bottom:31px}
.illustration-orbit{position:absolute;border:1px solid #edf0e7;border-radius:50%;left:53px;top:1px;width:211px;height:211px;transform:rotate(-28deg)}
.orbit-two{width:276px;height:163px;left:19px;top:25px;transform:rotate(23deg);border-style:dashed;border-color:#e5eadf}
.illustration-wave{position:absolute;left:21px;top:119px;display:grid;place-items:center;z-index:4;width:47px;height:47px;background:#eef4e8;border:1px solid #dce7d3;border-radius:13px;box-shadow:0 4px 10px #47673a07;transform:rotate(-11deg)}
.illustration-wave .icon{width:27px;height:27px;color:#606e54;stroke-width:1.4}
.illustration-card{position:absolute;border:1px solid #e1e7d7;border-radius:10px;background:#fff;box-shadow:0 6px 17px #3a5b2e07;width:192px;height:133px;padding:17px}
.back-card{left:92px;top:10px;transform:rotate(10deg);background:#f8faf4;border-color:#e6ecdd}
.middle-card{left:83px;top:26px;transform:rotate(3deg);background:#fbfcf8}
.front-card{left:66px;top:48px;transform:rotate(-5deg);width:203px;height:147px;box-shadow:0 9px 25px #354f2b0b}
.mini-badge{font-family:var(--heading);font-size:8px;letter-spacing:.3px;display:grid;place-items:center;width:24px;height:23px;color:#5c6f4f;border-radius:5px;background:#edf3e5}
.mini-card-heading{display:flex;align-items:center;gap:8px;margin-bottom:13px}
.mini-timestamp{font-size:7px;color:#656b5e;letter-spacing:.4px}
.mini-card-heading>.icon{margin-left:auto;width:11px;height:11px;color:#5e6f4f}
.mini-line{height:4px;border-radius:5px;background:#e3e8dc;width:86%;margin-top:7px}
.mini-line.short{width:61%;background:#edf0e8}
.mini-prompt{background:#f4f7ef;border:1px solid #e9eedf;border-radius:5px;display:flex;flex-direction:column;gap:5px;margin-top:12px;padding:11px 10px}
.mini-prompt span{width:94%;height:3px;background:#d6e1cb;border-radius:4px}
.mini-prompt span:nth-child(2){width:84%}
.mini-prompt span:nth-child(3){width:53%}
.floating-dot{position:absolute;width:5px;height:5px;background:#b3c2a3;border-radius:50%}
.dot-one{top:30px;left:37px}
.dot-two{right:21px;bottom:37px;width:4px;height:4px;background:#d7e2cc}
.floating-plus{position:absolute;right:18px;top:48px;font-size:19px;font-weight:300;color:#626c55;transform:rotate(14deg)}
.empty-eyebrow{font-size:8px;font-weight:500;letter-spacing:1.5px;color:#646b5b}
.empty-state h3,.loading-state h3{font-family:var(--heading);font-size:22px;line-height:1.5;letter-spacing:-.75px;font-weight:650;margin-top:11px}
.empty-state>p{font-size:13px;line-height:1.9;color:#626c5a;margin-top:8px}
.sample-button{margin-top:24px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 18px;border-radius:8px;border:1px solid #dfe7d4;background:#f1f5e9;color:#567147;font-size:12px;font-weight:500;transition:background .15s,border-color .15s}
.sample-button>.icon:first-child{width:12px;height:12px}
.sample-button>.icon:last-child{width:14px;height:14px;margin-left:6px}
.sample-button:hover{background:#e9f0df;border-color:#cadbb9}
.sample-note{font-size:10px;color:#626c58;margin-top:12px}
.empty-workflow{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:auto;padding-top:58px;color:#656c5d;font-size:9px;width:100%}
.empty-workflow>span:not(.workflow-dashes){display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.empty-workflow .icon{width:13px;height:13px;stroke-width:1.5;color:#626d55}
.workflow-dashes{width:29px;border-bottom:1px dashed #d9e1cd}
.audio-player{display:flex;align-items:center;gap:13px;margin:22px 27px 0;padding:13px 15px 11px;border:1px solid #e1e7d8;border-radius:9px;background:#f8faf4;min-height:85px}
.player-button{display:grid;place-items:center;flex-shrink:0;min-width:48px;height:48px;color:#5b704c;border:1px solid #dce5ce;background:#eef4e5;border-radius:50%;padding:13px}
.player-button:hover{background:#e5efda}
.player-button .icon{width:21px;height:21px}
.player-main{flex:1;min-width:0}
.player-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#5f6e55}
#player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}
.player-time{font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#616d59}
.time-slash{margin:0 5px;color:#666c5f}
.waveform-track{height:35px;position:relative;margin-top:1px}
.waveform-bars{display:flex;align-items:center;justify-content:space-between;gap:2px;height:100%;overflow:hidden}
.waveform-bars span{width:3px;flex:1;max-width:4px;min-width:1px;background:#d5e0c6;border-radius:2px;transition:background .1s}
.waveform-bars span.is-played{background:#879f71}
.audio-seek{position:absolute;inset:-6px 0;width:100%;height:48px;margin:0;opacity:0;cursor:pointer}
.waveform-track:focus-within{outline:2px solid #a0b88d;outline-offset:3px;border-radius:3px}
.player-format{align-self:flex-start;font-size:8px;letter-spacing:.8px;color:#646d58;background:#edf2e5;border:1px solid #e2e9d7;border-radius:4px;padding:3px 5px;flex-shrink:0;margin-top:2px}
.result-context{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 28px 0;font-size:10px;color:#5f6e55}
.result-context>span:first-child{display:flex;align-items:center;gap:6px}
.context-dot{width:4px;height:4px;background:#91a17e}
.timing-note{text-align:right;color:#606c57;font-size:9px}
.timeline{list-style:none;margin:0;padding:21px 27px 0}
.pulse-card{position:relative;min-width:0;padding:19px 19px 18px;border:1px solid #e4e9de;border-radius:11px;margin-bottom:17px;background:#fff;transition:border-color .18s,box-shadow .18s;scroll-margin-top:30px}
.pulse-card.is-current{border-color:#a0b88d;box-shadow:0 0 0 3px #edf3e6}
.pulse-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.pulse-identity{display:flex;align-items:center;gap:10px}
.pulse-number{font-family:var(--heading);font-size:11px;display:grid;place-items:center;min-width:31px;width:auto;height:31px;padding:0 5px;border-radius:7px;background:#edf3e5;color:#5b704a;border:1px solid #e4ebda;font-weight:600;flex-shrink:0}
.pulse-label{display:flex;flex-direction:column;gap:1px}
.pulse-label strong{font-family:var(--heading);font-size:12px;font-weight:650;letter-spacing:-.15px}
.pulse-timing{font-size:10px;font-variant-numeric:tabular-nums;color:#616c57;letter-spacing:.15px}
.pulse-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.pulse-tags span{font-size:9px;color:#5e6d52;padding:3px 6px;background:#f6f8f2;border:1px solid #e8eddf;border-radius:4px;white-space:nowrap}
.transcript-slice{font-size:13px;line-height:1.9;color:#606d56;overflow-wrap:anywhere;padding:0 1px;margin-bottom:14px}
.prompt-container{background:#f5f8f0;border:1px solid #e7eddc;border-radius:8px;padding:1px 13px 13px;min-width:0}
.prompt-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-bottom:1px}
.prompt-caption{font-size:9px;letter-spacing:1.1px;color:#5f6f4f;font-weight:500;display:flex;align-items:center;gap:5px}
.prompt-caption .icon{width:10px;height:10px}
.local-copy-button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px;padding:0 4px;color:#557042;font-size:10px;font-weight:500;white-space:nowrap;border-radius:5px;min-width:64px;transition:color .15s}
.local-copy-button .icon{width:12px;height:12px}
.local-copy-button:hover{color:#4e723b}
.copy-all-button.is-copied,.local-copy-button.is-copied{color:#377646}
.copy-all-button.is-copied{background:#e8f4e9;border-color:#c3ddc6}
.prompt-text{font-size:13px;line-height:1.85;color:#5a704d;white-space:pre-wrap;overflow-wrap:anywhere}
.pulse-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;min-height:38px;margin-bottom:-8px}
.pulse-play-button{display:inline-flex;align-items:center;gap:5px;min-height:48px;padding:0 3px;color:#5d6e50;font-size:10px}
.pulse-play-button .icon{width:10px;height:10px}
.pulse-play-button:hover{color:#577149}
.pulse-duration{font-size:9px;color:#616d56;letter-spacing:.2px}
.storyboard-bottom{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#606e52;padding:8px 18px 25px}
.storyboard-bottom>.icon{width:12px;height:12px;stroke-width:1.7}
.transcript-view{margin:22px 27px 27px;padding:22px;border-radius:10px;background:#fafbf7;border:1px solid #e6ebdf}
.transcript-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.transcript-heading>.eyebrow{font-size:9px;color:#616d55}
#full-transcript{font-size:14px;line-height:2;color:#616d58;white-space:pre-wrap;overflow-wrap:anywhere}
.transcript-footnote{display:block;font-size:9px;color:#656b5f;margin-top:25px}
.loading-state{min-height:690px;padding:142px 25px 90px;display:flex;align-items:center;flex-direction:column;text-align:center}
.loading-wave{height:65px;display:flex;align-items:center;gap:7px;margin-bottom:45px}
.loading-wave span{width:6px;border-radius:5px;background:#a0b38e;height:25px;animation:pulse-wave 1s ease-in-out infinite}
.loading-wave span:nth-child(2){height:43px;animation-delay:.1s}
.loading-wave span:nth-child(3){height:62px;animation-delay:.2s}
.loading-wave span:nth-child(4){height:43px;animation-delay:.3s}
.loading-wave span:nth-child(5){animation-delay:.4s}
.loading-state p{font-size:12px;line-height:1.9;color:#646b5e;margin-top:12px}
#generation-elapsed{font-size:10px;color:#636b5b;margin-top:30px}
.loading-line{position:relative;overflow:hidden;width:200px;height:3px;border-radius:3px;background:#eef3e6;margin-top:18px}
.loading-line::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:#a8bb94;animation:loading-line 2s ease-in-out infinite}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:29px 1px 27px;font-size:10px;color:#636c5a}
.powered-by{display:flex;align-items:center;gap:6px}
.powered-by .icon{width:11px;height:11px;stroke-width:1.4;color:#636d5a}
.app-dialog{width:min(470px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:27px 29px;border:1px solid #e0e7d7;background:#fffefb;box-shadow:0 25px 90px #1e352a30;border-radius:16px;color:var(--text);overflow:auto}
.app-dialog::backdrop{background:#283d2c55;backdrop-filter:blur(5px)}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}
.dialog-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--green-pale);color:#59704c;border:1px solid #e2ead9}
.dialog-icon .icon{width:21px;height:21px}
.dialog-heading>.icon-button{border:0;background:none;color:#666b5e;padding:12px}
.app-dialog h2{font-size:24px;line-height:1.4;letter-spacing:-.8px;margin-top:10px}
.app-dialog>p{color:#646c5d;font-size:12px;line-height:1.8;margin-top:12px}
#connection-form{margin-top:24px}
#connection-form>input{height:48px;width:100%;border:1px solid #dfe6d5;background:#fafbf7;border-radius:8px;padding:12px;font-size:12px;color:#5c6f50}
#connection-form .primary-button{margin-top:20px;justify-content:space-between}
.connection-footnote{margin-top:21px;background:#f4f7ee;border-radius:8px;padding:14px 15px;color:#636c5a;font-size:10px;line-height:1.8}
.connection-footnote strong{font-weight:600;color:#5e6e53}
.connection-footnote p+p{margin-top:9px}
.connection-footnote code{font-size:10px;color:#5a6f4e;overflow-wrap:anywhere}
.disconnect-button{margin:5px auto -6px;display:flex;color:#776757}
.help-steps{padding:0;list-style:none;margin:25px 0}
.help-steps li{display:flex;gap:15px;align-items:flex-start;margin-top:23px}
.help-steps li>span{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:8px;font-size:10px;letter-spacing:.5px;color:#5f6f51;background:#edf3e5;border:1px solid #e2ead7}
.help-steps h3{font-family:var(--heading);font-size:13px;font-weight:650;margin-bottom:5px}
.help-steps p{font-size:11px;line-height:1.8;color:#666b60}
.help-note{display:flex;gap:10px;background:#f4f7ee;padding:14px;border-radius:8px;margin-bottom:23px}
.help-note>.icon{width:16px;height:16px;color:#5f6e51;margin-top:2px}
.help-note p{font-size:10px;line-height:1.8;color:#636c59}
.help-dialog>.primary-button{justify-content:space-between}
.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100% - 36px);width:max-content;padding:13px 20px;border-radius:10px;border:1px solid #dce7d0;background:#f9fcf4;color:#547243;font-size:11px;box-shadow:0 5px 30px #2d4d2320;overflow-wrap:anywhere}
.toast.is-error{background:#fff7f2;color:#8d5f4d;border-color:#efdcd1}
.noscript-message{position:fixed;bottom:0;left:0;right:0;padding:15px;background:#fff0e4;color:#8d5f3a;text-align:center}
@keyframes pulse-wave{0%,100%{transform:scaleY(.7)}50%{transform:scaleY(1)}}
@keyframes loading-line{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes spin{to{transform:rotate(360deg)}}

@media(min-width:1440px){.header-inner{max-width:1300px}.app-shell{max-width:1216px}.hero{padding-top:48px;padding-bottom:35px}.workspace{grid-template-columns:350px minmax(0,1fr);gap:30px}.configuration-panel{padding:26px}.storyboard-header{padding-top:27px}.empty-state{min-height:735px;padding-top:83px}.field-group{margin-top:23px}}
@media(max-width:1100px){.header-inner,.app-shell{width:calc(100% - 56px)}.header-inner{gap:42px}.workspace{grid-template-columns:305px minmax(0,1fr);gap:22px}.configuration-panel{padding:21px}.storyboard-header{padding-left:21px;padding-right:21px}.timeline{padding-left:20px;padding-right:20px}.audio-player{margin-left:20px;margin-right:20px}.result-context{margin-left:21px;margin-right:21px}.view-tabs{gap:14px}.copy-all-button{font-size:9px;padding:8px}.copy-all-button .icon{width:12px;height:12px}.output-actions{gap:0}.hero-note{margin-right:0}.hero-wave{width:175px}.hero-note span{font-size:9px}.setup-banner p{font-size:10px}.empty-workflow{gap:10px;font-size:8px}.workflow-dashes{width:16px}.empty-state{min-height:708px;padding-top:69px}.pulse-card{padding:16px}.transcript-view{margin-left:20px;margin-right:20px}}
@media(max-width:920px){.workspace{grid-template-columns:280px minmax(0,1fr);gap:18px}.configuration-panel{padding:18px}.header-inner,.app-shell{width:calc(100% - 40px)}.hero-note{display:none}.setup-banner strong{display:none}.storyboard-toolbar{flex-wrap:wrap;row-gap:0}.output-actions{margin:0 0 10px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .view-tabs{order:2;width:100%;min-height:45px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .output-actions{margin-left:auto;margin-top:2px}.pulse-tags{max-width:115px}.pulse-card-header{gap:6px}.player-format{display:none}.timing-note{max-width:130px}.empty-state{min-height:738px}.story-illustration{transform:scale(.9);width:300px}.empty-workflow{gap:7px;flex-wrap:wrap}.workflow-dashes{width:11px}}
@media(max-width:760px){.header-inner{min-height:73px;gap:30px}.brand{font-size:22px}.brand-mark{width:33px;height:33px}.main-nav{margin-left:auto;gap:20px}.header-actions{margin-left:0;gap:10px}.connection-status{display:none}.hero{padding:31px 0 25px}h1{font-size:35px;letter-spacing:-1.5px}.hero-description{font-size:12px}.workspace{grid-template-columns:minmax(0,1fr);gap:25px}.configuration-panel{padding:24px;display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.panel-heading,.panel-description,.upload-field,.field-divider,.style-section-title,.custom-style-group,.form-error,.generate-button,.cancel-button,.privacy-note{grid-column:1/-1}.upload-field{margin-top:23px}.drop-zone{min-height:172px}.style-section-title+.field-group{grid-column:1/-1;margin-top:20px}.field-divider{margin:26px 0 20px}.field-group{margin-top:22px}.creative-note{padding:15px 6px 0;max-width:520px}.storyboard-header{padding:23px 24px 0}.storyboard-toolbar{flex-wrap:nowrap;margin-top:18px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .view-tabs{order:0;width:auto;min-height:53px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .output-actions{margin:0 0 7px auto}.copy-all-button{font-size:10px;padding:8px 10px}.view-tabs{gap:20px}.output-actions{gap:5px}.empty-state{min-height:610px;padding-top:46px;padding-bottom:24px}.story-illustration{transform:none;max-width:100%;margin-bottom:23px}.empty-workflow{font-size:9px;gap:14px;padding-top:50px}.workflow-dashes{width:28px}.setup-banner{margin-bottom:24px;padding-left:13px;padding-right:13px}.setup-banner p{font-size:10px}.setup-banner .text-button{font-size:10px}.timeline{padding:21px 24px 0}.pulse-card{padding:20px}.pulse-tags{max-width:none}.pulse-tags span{font-size:9px}.pulse-label strong{font-size:12px}.pulse-timing{font-size:10px}.transcript-slice{font-size:13px}.prompt-text{font-size:12px;line-height:1.85}.prompt-caption{font-size:8px}.local-copy-button{font-size:10px}.audio-player{margin:21px 24px 0}.result-context{margin:16px 25px 0}.player-format{display:block}.timing-note{max-width:none}.loading-state{min-height:550px;padding-top:100px}.transcript-view{margin:22px 24px 25px}.settings-button{min-width:48px;width:48px;height:48px}.reset-button{min-height:48px}.export-wrap>.icon-button{width:48px;min-width:48px}.site-footer{padding-top:24px}}
@media(max-width:480px){.header-inner,.app-shell{width:calc(100% - 32px)}.header-inner{gap:12px;min-height:73px}.brand{font-size:21px;gap:8px;letter-spacing:-.9px}.brand-mark{width:31px;height:31px;border-radius:8px}.brand-mark .icon{width:23px;height:23px}.main-nav{margin-left:auto;gap:0}.nav-link:first-child{display:none}.nav-link{font-size:10px;padding:0 5px}.nav-link .icon{width:10px;height:10px}.header-actions{gap:0}.settings-button{border:0;width:48px;min-width:48px;height:48px}.hero{padding:27px 0 22px}h1{font-size:30px;letter-spacing:-1.3px;margin-top:9px;line-height:1.32}.eyebrow{font-size:8px;letter-spacing:1.3px}.eyebrow-line{width:17px}.hero-description{font-size:11px;line-height:1.7}.setup-banner{align-items:flex-start;gap:5px;padding:9px 11px 4px;margin-bottom:20px}.setup-banner>div{gap:7px;margin-top:2px;align-items:flex-start}.banner-dot{margin-top:6px;width:4px;height:4px}.setup-banner p{font-size:9px;line-height:1.7}.setup-banner .text-button{font-size:9px;min-height:48px;margin-top:-6px;padding:0 0 0 3px}.setup-banner .text-button>.icon{width:11px;height:11px}.configuration-panel{padding:20px;column-gap:13px;border-radius:12px;grid-template-columns:minmax(0,1fr)}.field-label{font-size:12px}.label-note{font-size:9px}.number-input{padding:0 10px;gap:8px}.number-input>span{font-size:8px;padding:0}.number-input>.icon{width:14px;height:14px}.number-input input{font-size:12px;width:38px}.select-wrap select{font-size:11px;padding-left:30px;padding-right:22px}.select-wrap .field-icon{left:10px;width:13px;height:13px}.select-chevron{right:9px;width:11px;height:11px}.field-hint{font-size:10px;line-height:1.6}.creative-note{padding-top:13px}.creative-note p{font-size:10px}.workspace{gap:23px}.storyboard-panel{border-radius:12px}.storyboard-header{padding:20px 18px 0}.storyboard-title-row h2{font-size:16px}.reset-button{font-size:9px;gap:4px;min-height:48px;margin-top:-8px;margin-bottom:-8px}#storyboard-subtitle{font-size:10px;margin-top:5px}.storyboard-toolbar{flex-wrap:wrap;gap:0;margin-top:14px;min-height:52px}.view-tabs{gap:21px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .view-tabs{order:2;width:100%;min-height:46px}.storyboard-toolbar:has(.output-actions #copy-all:not([hidden])) .output-actions{width:100%;margin:0 0 8px;justify-content:space-between}.copy-all-button{flex:1;justify-content:center;margin-right:8px;min-height:48px}.export-wrap>.icon-button{width:48px;min-width:48px;height:48px;background:#f8faf5;border:1px solid #e8eddf}.view-tab{font-size:11px;padding-bottom:8px;min-height:48px}.empty-state{min-height:588px;padding:35px 16px 23px}.story-illustration{transform:scale(.9);transform-origin:center;width:288px;margin-bottom:10px}.empty-state h3{font-size:20px}.empty-state>p{font-size:11px}.empty-eyebrow{font-size:7px;letter-spacing:1.2px}.empty-workflow{gap:9px;font-size:8px;padding-top:43px;flex-wrap:nowrap}.empty-workflow>span:not(.workflow-dashes){gap:4px}.empty-workflow .icon{width:11px;height:11px}.workflow-dashes{width:12px}.sample-button{font-size:11px;margin-top:23px}.sample-note{font-size:8px}.audio-player{margin:18px 16px 0;padding:11px 12px;gap:10px}.player-format{display:none}.player-button{min-width:48px;width:48px;height:48px}.player-topline{gap:8px;font-size:9px}.player-time{font-size:8px}.result-context{margin:14px 18px 0;align-items:flex-start;font-size:9px;gap:10px}.timing-note{max-width:130px;font-size:8px}.timeline{padding:17px 16px 0}.pulse-card{padding:15px 13px 14px;margin-bottom:14px;border-radius:9px}.pulse-card-header{margin-bottom:12px;align-items:flex-start;gap:7px}.pulse-identity{gap:8px}.pulse-number{min-width:30px;width:auto;height:30px;padding:0 4px}.pulse-label strong{font-size:12px}.pulse-timing{font-size:9px;letter-spacing:0}.pulse-tags{max-width:95px;gap:3px}.pulse-tags span{font-size:8px;padding:3px 4px}.transcript-slice{font-size:12px;line-height:1.9;margin-bottom:12px}.prompt-container{padding:0 10px 12px}.prompt-text{font-size:12px;line-height:1.85}.prompt-caption{font-size:7px;letter-spacing:.8px}.local-copy-button{font-size:10px;min-height:48px}.pulse-play-button{font-size:9px}.pulse-duration{font-size:8px}.storyboard-bottom{font-size:8px;padding-top:8px}.transcript-view{padding:18px;margin:18px 16px 24px}#full-transcript{font-size:13px}.transcript-heading .eyebrow{font-size:8px}.loading-state{padding:87px 17px 60px;min-height:505px}.loading-state h3{font-size:20px}.loading-state p{font-size:11px}.site-footer{align-items:flex-start;flex-direction:column;gap:9px;font-size:8px;padding-top:22px;padding-bottom:23px}.app-dialog{padding:23px 21px}.app-dialog h2{font-size:22px}.app-dialog>p{font-size:11px}.dialog-heading{margin-bottom:15px}.toast{bottom:16px;font-size:10px;max-width:calc(100% - 32px)}}
@media(max-width:359px){.header-inner,.app-shell{width:calc(100% - 24px)}.main-nav{display:none}.header-actions{margin-left:auto}h1{font-size:27px}.configuration-panel{padding:18px;grid-template-columns:minmax(0,1fr)}.configuration-panel .field-group{grid-column:1/-1}.select-wrap select{font-size:11px}.number-input>span{font-size:10px}.empty-workflow{gap:6px;font-size:7px}.story-illustration{width:270px;transform:scale(.83);margin-left:-10px}.empty-state{padding-left:12px;padding-right:12px}.pulse-tags{max-width:84px}.pulse-card-header{flex-wrap:wrap}.setup-banner{flex-wrap:wrap}.setup-banner .text-button{margin-left:auto;margin-top:-4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.loading-line::after{transform:none;opacity:.6}}

@media(max-width:760px){.number-input input,.select-wrap select,.custom-style-group textarea,#connection-form>input{font-size:16px}.custom-style-group textarea{min-height:100px}.number-input>span{font-size:11px}}
