:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;--color-bg: #ffffff;--color-surface: #ffffff;--color-border: #ebedf0;--color-text: #0f172a;--color-muted: #6b7280;--color-accent: #f53838;--color-accent-muted: rgba(245, 56, 56, .12);--color-header: #0f172a;--radius: 12px;--radius-pill: 999px;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-6: 1.5rem;--space-8: 2rem;--shadow-soft: 0 15px 35px rgba(245, 56, 56, .12);background-color:var(--color-bg);color:var(--color-text)}@media(prefers-color-scheme:dark){:root{--color-bg: #ffffff;--color-surface: #ffffff;--color-border: #ebedf0;--color-text: #0f172a;--color-muted: #6b7280;--color-header: #0f172a;--shadow-soft: 0 15px 35px rgba(245, 56, 56, .12)}}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased}.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:100;border-radius:var(--radius-pill);background-color:var(--color-accent);color:#fff;padding:.6rem 1rem;text-decoration:none}.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto}img,svg{display:block;max-width:100%}button,input,select,textarea{font:inherit}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}#root{min-height:100vh;display:flex}.app-shell{width:100%;max-width:1200px;margin:0 auto;padding:var(--space-6) var(--space-4) var(--space-8);display:flex;flex-direction:column;gap:var(--space-6)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4)}.hero-copy{display:flex;flex-direction:column;gap:var(--space-3);max-width:640px}.hero-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;color:var(--color-muted);margin:0}.app-title{font-size:clamp(1.5rem,2vw,2.25rem);font-weight:600;color:var(--color-header);margin:0}.status-description{margin:.35rem 0 0;color:var(--color-muted);max-width:56ch}.hero-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-3)}.hero-links a{text-decoration:none;font-weight:600;color:var(--color-accent)}.hero-links a:hover{text-decoration:underline}.header-link{padding:.45rem .85rem;border-radius:var(--radius-pill);border:1px solid var(--color-border);color:inherit;text-decoration:none;transition:border-color .2s ease,background-color .2s ease}.header-link:hover{border-color:var(--color-accent);background-color:var(--color-accent-muted)}.hero-highlights{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:var(--space-3)}.hero-highlights li{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-3);background-color:#0f172a05}.hero-highlights__title{font-size:.9rem;font-weight:600;display:block}.hero-highlights__text{color:var(--color-muted);font-size:.85rem}.app-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-6);flex:1}.app-main.is-empty{align-items:center;justify-content:center}.app-main.is-empty .upload-panel{width:100%;margin:0 auto}.app-main.is-ready{grid-template-columns:minmax(320px,1fr)}.panel{background-color:var(--color-surface);border-radius:var(--radius);padding:var(--space-6);border:1px solid var(--color-border);box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:var(--space-4)}.processing-panel{gap:var(--space-4)}.panel h2{margin:0;font-size:1.125rem}.controls-grid{display:flex;flex-direction:column;gap:var(--space-4)}.form-field{display:flex;flex-direction:column;gap:.35rem}.field-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.form-field label{font-size:.875rem;color:var(--color-muted)}.field-value{font-variant-numeric:tabular-nums;font-weight:600}.field-description{margin:0;font-size:.8rem;color:var(--color-muted)}input[type=number],input[type=range]{width:100%}input[type=number]{padding:.5rem .65rem;border-radius:var(--radius);border:1px solid var(--color-accent);background-color:#fff;color:inherit}input[type=range]{accent-color:var(--color-accent)}.button-primary{border:none;border-radius:var(--radius);padding:.85rem 1rem;background-color:var(--color-accent);color:#fff;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.transport-play-button{min-width:0;padding:0;width:3rem;height:3rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.transport-play-icon{display:inline-block;line-height:0}.transport-play-icon:not(.is-playing){width:0;height:0;border-top:.65rem solid transparent;border-bottom:.65rem solid transparent;border-left:1.1rem solid currentColor}.transport-play-icon.is-playing{width:.9rem;height:1.1rem;position:relative}.transport-play-icon.is-playing:before,.transport-play-icon.is-playing:after{content:"";position:absolute;top:0;width:.2rem;height:100%;background-color:currentColor}.transport-play-icon.is-playing:before{left:0}.transport-play-icon.is-playing:after{right:0}.button-primary:disabled{opacity:.5;cursor:not-allowed}.button-primary:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 8px 20px #f538384d}.button-secondary{border:1px solid var(--color-border);border-radius:var(--radius);padding:.85rem 1rem;background-color:#0f172a08;color:inherit;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:background-color .2s ease,border-color .2s ease}.button-secondary:hover{border-color:var(--color-accent);background-color:#f5383814}.main-block{display:flex;align-items:center;justify-content:space-between}.waveform-panel{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-3);display:flex;flex-direction:column;gap:var(--space-3);min-height:260px;outline:none}.waveform-panel:focus-visible{box-shadow:0 0 0 2px var(--color-accent)}.waveform-status{font-size:.85rem;color:var(--color-muted)}.waveform-canvas{width:100%;height:220px;border-radius:calc(var(--radius) - 4px);background-color:#0f172a08;border:1px dashed var(--color-border);cursor:crosshair;touch-action:none}.status-pill{align-self:flex-start;padding:.25rem .75rem;border-radius:var(--radius-pill);font-size:.875rem;background-color:var(--color-accent-muted);color:var(--color-accent)}.file-drop{border:1px dashed var(--color-border);border-radius:var(--radius);padding:4rem var(--space-4);text-align:center;background-color:#0f172a05;cursor:pointer;display:flex;flex-direction:column;gap:.35rem}.file-drop strong{font-size:1rem}.file-drop .file-name{font-size:.9rem;color:var(--color-muted)}.file-drop .file-meta-hint{font-size:.75rem;color:var(--color-muted)}.file-drop.is-active{border-color:var(--color-accent);background-color:var(--color-accent-muted)}.file-loader{display:flex;flex-direction:column;gap:var(--space-4)}.file-loader--compact{gap:var(--space-3)}.file-meta{margin:0;padding:0;display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.file-meta div{padding:.25rem 0;border-bottom:1px dashed var(--color-border)}.file-meta div:last-child{border-bottom:none}.file-meta dt{margin:0;font-size:.75rem;text-transform:uppercase;color:var(--color-muted)}.file-meta dd{margin:.15rem 0 0;font-weight:600;font-variant-numeric:tabular-nums}.file-error{margin:0;color:#dc2626;font-size:.85rem}.button-primary.ghost{background-color:transparent;border:1px dashed var(--color-accent);color:var(--color-accent);box-shadow:none}.button-primary.ghost:not(:disabled):hover{transform:none;background-color:var(--color-accent-muted)}.transport{display:flex;flex-direction:column;gap:var(--space-3)}.transport-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3)}.transport-timing{display:flex;gap:var(--space-3);font-variant-numeric:tabular-nums;font-weight:600}.transport input[type=range]{width:100%}.waveform-block,.waveform-footer{display:flex;flex-direction:column;gap:var(--space-3)}.preview-meta{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--space-4)}.preview-meta li{display:flex;flex-direction:column;gap:.2rem;font-size:.9rem}.preview-meta strong{font-size:.8rem;letter-spacing:.02em;text-transform:uppercase;color:var(--color-muted)}.app-footer{font-size:.85rem;color:var(--color-muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-2)}.seo-section{gap:var(--space-4)}.seo-section__intro{display:flex;flex-direction:column;gap:.4rem}.seo-section__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4)}.seo-section__grid li{border:1px dashed var(--color-border);border-radius:var(--radius);padding:var(--space-4)}.seo-section--alt{background-color:#0f172a04}.seo-steps{list-style:none;margin:0;padding:0;counter-reset:steps;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4)}.seo-steps li{border-radius:var(--radius);border:1px solid var(--color-border);padding:var(--space-4);display:flex;flex-direction:column;gap:.35rem}.seo-steps li:before{counter-increment:steps;content:counter(steps,decimal-leading-zero);font-weight:600;color:var(--color-accent);letter-spacing:.08em}.faq-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4)}.faq-list article{border:1px dashed var(--color-border);border-radius:var(--radius);padding:var(--space-4)}@media(max-width:720px){.app-header{flex-direction:column;align-items:flex-start}.app-shell{padding:var(--space-4)}.hero-highlights{grid-template-columns:1fr;width:100%}.hero-links{width:100%}}.settings-panel{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.settings-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.settings-actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.status-pill.status-ready{background-color:#22c55e2e;color:#047857}.status-pill.status-analyzing{background-color:#f973162e;color:#c2410c}.status-pill.status-error{background-color:#ef44442e;color:#b91c1c}.waveform-viewport{position:relative;height:220px}.waveform-overlay{pointer-events:none;position:absolute;inset:0;border-radius:calc(var(--radius) - 4px)}.waveform-silence-band{position:absolute;top:0;bottom:0;background-color:#f5383824;border-left:1px solid rgba(245,56,56,.32);border-right:1px solid rgba(245,56,56,.22)}.field-error{color:#b91c1c;margin:0;font-size:.9rem}.ab-preview{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.ab-preview__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.ab-preview__panel{border:1px dashed var(--color-border);border-radius:var(--radius);padding:var(--space-4);min-height:150px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--space-4)}.ab-player{width:100%;display:flex;flex-direction:column;gap:var(--space-2)}.ab-player__meta{display:flex;justify-content:space-between;font-weight:600;font-variant-numeric:tabular-nums}.ab-player audio{width:100%}.ab-preview__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--space-4);margin:0;padding:0}.ab-preview__stats div{display:flex;flex-direction:column;gap:.2rem}.ab-preview__stats dt{font-size:.8rem;letter-spacing:.02em;text-transform:uppercase;color:var(--color-muted)}.processed-panel{background-color:#0f172a04}.processed-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}.processed-actions .button-primary{white-space:nowrap}.processed-actions .field-description{margin:0;text-align:right}@media(max-width:640px){.ab-preview__panel{grid-template-columns:1fr}.processed-actions{align-items:flex-start}.processed-actions .field-description{text-align:left}}.export-panel{border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-4);background-color:var(--color-surface)}.export-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.export-panel__stats,.export-panel__filename{margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-4)}.export-panel__stats dt,.export-panel__filename dt{font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;color:var(--color-muted)}.export-panel__stats dd,.export-panel__filename dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.export-panel__note{margin:0;padding:.75rem 1rem;border-radius:var(--radius);border:1px dashed var(--color-border);background-color:#94a3b81f;color:var(--color-muted)}.export-panel__actions{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}.export-panel__actions .button-primary{flex:0 0 auto}.export-panel__helper{font-size:.8rem;color:var(--color-muted);min-width:80px}
