:root {
  --bg: #0b1014;
  --panel: #121a20;
  --panel-2: #172229;
  --line: #26343d;
  --line-soft: #1d2930;
  --text: #edf2f3;
  --muted: #91a0a7;
  --faint: #596870;
  --accent: #45d7bd;
  --accent-2: #81f5dc;
  --warning: #f0c86c;
  --danger: #ff7f7f;
  --ok: #61dca3;
  --radius: 18px;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.topbar { height: 74px; padding: 0 max(22px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); background: rgba(11,16,20,.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand b { display: block; font-size: 14px; letter-spacing: .03em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.brand-mark { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid #31544f; border-radius: 9px; background: #10201f; }
.brand-mark i { display: block; width: 2px; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 18px; }.brand-mark i:nth-child(3) { height: 13px; }.brand-mark i:nth-child(4) { height: 5px; }
.local-badge { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #29443f; color: #a3c8c0; border-radius: 999px; padding: 8px 11px; font-size: 11px; }
.local-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
main { width: min(100% - 32px, 1120px); margin: 0 auto; }
.hero { padding: 82px 0 64px; border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -210px; border: 1px solid #163b36; border-radius: 50%; box-shadow: 0 0 0 60px rgba(20,71,62,.05),0 0 0 120px rgba(20,71,62,.03); pointer-events:none; }
.eyebrow { color: var(--accent); font: 600 11px/1 var(--mono); letter-spacing: .16em; }
.hero h1 { margin: 22px 0 18px; max-width: 710px; font-size: clamp(42px, 6.5vw, 78px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; }
.hero h1 em { color: var(--accent-2); font-style: normal; }
.hero-message { margin: 0 0 10px; color: var(--accent); font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.hero-description { max-width: 680px; margin: 0; color: #acb9be; font-size: 16px; line-height: 1.9; }
.stepper { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0e1519; }
.stepper li { padding: 18px 18px 17px; position: relative; border-right: 1px solid var(--line); opacity: .42; }
.stepper li:last-child { border: 0; }.stepper li.active { opacity: 1; }
.stepper li span { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 12px; border: 1px solid var(--faint); border-radius: 50%; color: var(--muted); font: 10px var(--mono); }
.stepper li.active span { color: #06110f; background: var(--accent); border-color: var(--accent); }
.stepper b { display: block; font-size: 13px; }.stepper small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; line-height: 1.4; }
.upload-panel, .results, .timeline, .ai-export { padding: 68px 0; border-bottom: 1px solid var(--line-soft); }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.section-heading > span:first-child { color: var(--accent); font: 500 12px var(--mono); }
.section-heading p { margin: 0 0 4px; color: var(--faint); font: 600 9px var(--mono); letter-spacing: .18em; }
.section-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.section-heading .analysis-time { margin-left: auto; color: var(--muted); font: 11px var(--mono); }
.drop-zone { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #39515b; border-radius: 24px; background: linear-gradient(160deg, rgba(25,38,44,.75), rgba(13,21,25,.9)); transition: .2s ease; outline: none; }
.drop-zone:hover,.drop-zone:focus-visible,.drop-zone.dragover { border-color: var(--accent); background: linear-gradient(160deg, rgba(28,51,49,.78), rgba(13,24,26,.9)); box-shadow: inset 0 0 0 1px rgba(69,215,189,.2); }
.drop-icon { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-bottom: 20px; }
.drop-icon span { display: block; width: 4px; border-radius: 5px; background: var(--accent); box-shadow: 0 0 12px rgba(69,215,189,.25); }
.drop-icon span:nth-child(1) { height: 20px; }.drop-icon span:nth-child(2) { height: 44px; }.drop-icon span:nth-child(3) { height: 30px; }
.drop-zone h3 { margin: 0; font-size: 21px; }.drop-zone > p { color: var(--muted); margin: 9px 0 24px; font-size: 13px; }
.file-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button { min-height: 44px; border-radius: 11px; padding: 0 18px; border: 1px solid var(--line); cursor: pointer; font-size: 13px; font-weight: 650; transition: .16s ease; }
.button:hover { transform: translateY(-1px); }.button.primary { background: var(--accent); border-color: var(--accent); color: #071512; }.button.secondary { background: #172229; color: #dfe7e8; }
.drop-zone .drop-hint { margin: 16px 0 0; color: var(--faint); font-size: 10px; }
.message { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.6; }.message.error { color: #ffd0d0; border: 1px solid #693c3c; background: #2a1719; }
.file-ready { border: 1px solid var(--line); border-radius: 20px; background: #0f171b; overflow: hidden; }
.file-title-row { min-height: 86px; padding: 18px 20px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line-soft); }
.file-type-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: #132825; border: 1px solid #27443f; font: 600 13px var(--mono); }
.file-title-row > div:nth-child(2) { min-width: 0; flex: 1; }.file-title-row p { margin: 0 0 5px; font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.file-title-row span { color: var(--muted); font-size: 11px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #111a1f; color: var(--muted); cursor: pointer; font-size: 21px; }
.file-info { margin: 0; display: grid; grid-template-columns: repeat(6,1fr); border-bottom: 1px solid var(--line-soft); }
.file-info div { min-width: 0; padding: 15px 12px; border-right: 1px solid var(--line-soft); }.file-info div:last-child { border: 0; }
.file-info dt { color: var(--faint); font: 9px var(--mono); text-transform: uppercase; }.file-info dd { margin: 6px 0 0; font: 12px var(--mono); color: #cbd6d8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player { padding: 20px; border-bottom: 1px solid var(--line-soft); }
#waveform { display: block; width: 100%; height: 136px; border-radius: 10px; background: #0b1216; touch-action:pan-y; }
.seek { width: 100%; height: 18px; margin: -9px 0 4px; opacity: 0; cursor: pointer; position: relative; z-index: 2; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.player-controls time,.player-controls > span { color: var(--muted); font: 11px var(--mono); }.player-controls time:first-of-type { margin-left: 8px; color: #d6e0e1; }
.small-control { width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #131e23; font: 10px var(--mono); cursor: pointer; }
.play-button { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; border: 0; color: #06110f; background: var(--accent); cursor: pointer; }
.play-button span { width: 0; height: 0; margin-left: 3px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.play-button.playing span { width: 11px; height: 14px; margin: 0; border: 0; border-left: 4px solid; border-right: 4px solid; }
.analysis-settings { min-height: 66px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line-soft); background: #10191e; }
.precision-label { min-height: 44px; color: #dbe5e6; font-size: 13px; font-weight: 700; cursor: help; }
.precision-switch { position: relative; flex: 0 0 auto; display: inline-flex; width: 52px; height: 30px; cursor: pointer; }
.precision-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.precision-switch span { width: 100%; height: 100%; border: 1px solid #425057; border-radius: 999px; background: #273137; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.precision-switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #a8b1b5; box-shadow: 0 1px 4px rgba(0,0,0,.35); transition: transform .18s ease, background .18s ease; }
.precision-switch input:checked + span { border-color: var(--accent); background: #174a42; box-shadow: 0 0 0 3px rgba(69,215,189,.1); }
.precision-switch input:checked + span::after { transform: translateX(22px); background: var(--accent-2); }
.precision-switch input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.precision-switch input:disabled + span { cursor: wait; opacity: .48; }
.precision-reanalysis { margin: 0; padding: 11px 20px; color: #d8c88f; background: #211f17; border-bottom: 1px solid #4e472f; font-size: 10px; line-height: 1.6; }
.analyze-button { width: calc(100% - 40px); margin: 20px; min-height: 64px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; border: 0; border-radius: 13px; color: #071411; background: var(--accent); cursor: pointer; text-align: left; }
.analyze-button span { font-size: 15px; font-weight: 750; }.analyze-button small { font: 10px var(--mono); opacity: .7; }.analyze-button:disabled { cursor: wait; opacity: .55; }
.memory-note { margin: -8px 20px 18px; color: var(--faint); font-size: 10px; line-height: 1.6; }.media-host { position: fixed; width: 1px; height: 1px; left: -10px; bottom: -10px; opacity: .01; pointer-events: none; overflow: hidden; }
.progress-panel { margin: 30px 0; padding: 25px 26px; align-items: center; gap: 18px; border: 1px solid #31534e; border-radius: var(--radius); background: #10211f; }
.progress-panel:not([hidden]) { display: flex; }.spinner { width: 28px; height: 28px; flex: 0 0 auto; border: 2px solid #2b4945; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }.progress-panel > div:last-child { flex: 1; }.progress-panel p { margin: 0 0 10px; font-size: 12px; }.progress-track { height: 4px; background: #243c38; border-radius: 4px; overflow: hidden; }.progress-track span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .2s ease; }.progress-panel small { display: block; margin-top: 7px; color: #7ea69f; text-align: right; font: 9px var(--mono); }
.interpretation-note { margin: -8px 0 24px; padding: 13px 15px; border-left: 2px solid var(--warning); color: #b7c0c3; background: #171b1b; font-size: 11px; line-height: 1.7; }.interpretation-note b { color: #e0e5e5; }
.metric-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }.metric-card { min-width: 0; padding: 17px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }.metric-card strong { display: block; margin: 13px 0 5px; font: 600 clamp(22px,3vw,32px) var(--mono); color: var(--accent-2); letter-spacing: -.06em; }.metric-card small { color: var(--faint); font-size: 9px; }
.help-trigger { border:0; padding:0; color:inherit; background:transparent; font:inherit; text-align:left; cursor:help; text-decoration:underline; text-decoration-style:dotted; text-decoration-color:#587078; text-underline-offset:4px; }.help-trigger::after { content:" ⓘ"; color:#6f878d; font-size:.82em; text-decoration:none; }.help-trigger:hover,.help-trigger:focus-visible { color:var(--accent-2)!important; outline:none; text-decoration-color:var(--accent); }.metric-label { color:var(--muted); font:600 9px var(--mono); letter-spacing:.05em; }.data-label { color:var(--muted); font-size:11px; }.feature-label { display:block; color:var(--faint); font:8px var(--mono); letter-spacing:.04em; }.band-label { color:#dbe4e5; font:10px var(--mono); white-space:nowrap; }.graph-help-trigger { font:650 10px var(--mono); letter-spacing:.09em; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.result-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }.card-title { min-height: 48px; padding: 0 17px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-soft); }.card-title > small { margin-left: auto; color: var(--faint); font: 9px var(--mono); }
.data-list { padding: 4px 17px 8px; }.data-row { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-soft); }.data-row:last-child { border: 0; }.data-row b { color: #dce6e7; font: 500 12px var(--mono); }
.spectrum-card,.bands-card { margin-top: 16px; }.spectrum-card { padding-bottom: 12px; }#spectrum { display: block; width: calc(100% - 24px); height: 270px; margin: 12px; background: #0b1216; border-radius: 10px; }.spectral-subtitle { margin-top:12px; border-top:1px solid var(--line-soft); }.feature-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; margin: 12px; background: var(--line-soft); border: 1px solid var(--line-soft); }.feature-strip div { background: #111a1f; padding: 11px; }.feature-strip b { display:block; margin-top: 5px; color:#cdd8da; font: 10px var(--mono); }
.band-scope-note { margin:0; padding:12px 17px; color:#93a5a8; border-bottom:1px solid var(--line-soft); background:#10181d; font-size:10px; line-height:1.7; }
.perceptual-card { margin-top:16px; border-color:#31534e; }.presence-tabs { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--line-soft); }.presence-tabs button { min-height:43px; border:0; border-right:1px solid var(--line-soft); color:var(--muted); background:#10181d; font:600 9px var(--mono); cursor:pointer; }.presence-tabs button:last-child { border-right:0; }.presence-tabs button[aria-selected="true"] { color:#071411; background:var(--accent); }.presence-chart-wrap { position:relative; margin:12px 12px 0; }.presence-chart-wrap canvas { display:block; width:100%; height:300px; border-radius:10px; background:#0b1216; touch-action:none; cursor:crosshair; }.presence-tooltip { position:absolute; z-index:2; min-width:190px; max-width:240px; padding:10px 12px; border:1px solid #3a5f58; border-radius:10px; color:#dce7e7; background:#0e171beF; box-shadow:0 12px 32px #0008; font:9px/1.65 var(--mono); pointer-events:none; }.presence-tooltip b { display:block; margin-bottom:4px; color:var(--accent-2); font-size:10px; }.presence-legend { display:flex; flex-wrap:wrap; gap:16px; padding:10px 17px 13px; border-bottom:1px solid var(--line-soft); }.presence-legend span { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font:9px var(--mono); }.presence-legend i { display:inline-block; width:18px; height:3px; border-radius:2px; }.physical-swatch { background:#50798d; }.perceptual-swatch { background:var(--accent); }
.precision-results { margin-top: 16px; border-color: #31534e; background: #101b1e; }
.precision-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.precision-feature { min-width: 0; padding: 17px; background: #111b1f; }
.precision-feature b { display: block; margin: 12px 0 6px; color: var(--accent-2); font: 600 21px var(--mono); letter-spacing: -.04em; }
.precision-feature small { display: block; min-height: 2.8em; color: var(--faint); font-size: 9px; line-height: 1.5; }
.precision-only-note { margin: 0; padding: 12px 17px; color: #6f878d; border-top: 1px solid var(--line-soft); font-size: 10px; }
.table-scroll { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th,td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: right; white-space: nowrap; font: 10px var(--mono); }th { color: var(--faint); font-weight: 500; background: #10181d; }th:first-child,th:nth-child(2),td:first-child,td:nth-child(2) { text-align: left; }td:first-child { color: #dbe4e5; }td:nth-child(2) { color: var(--muted); font-family: inherit; }.method-details { margin-top: 16px; border: 1px solid var(--line); border-radius: 13px; background:#0f171b; }.method-details summary { padding: 15px 17px; color: var(--muted); font-size: 11px; cursor: pointer; }.method-details div { padding: 0 17px 14px; }.method-details p { margin: 8px 0; color: var(--faint); font-size: 10px; line-height:1.6; }.method-details b { color:#aebfc2; }
.timeline-intro { margin:-8px 0 22px; color:var(--muted); font-size:11px; line-height:1.75; }
.timeline-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); }.timeline-title-trigger { display:flex; align-items:center; justify-content:space-between; width:100%; min-height:46px; padding:0 18px; border-bottom:1px solid var(--line-soft); color:#cbd7d9; font:650 10px var(--mono); letter-spacing:.1em; text-decoration:none; }.timeline-title-trigger span { color:var(--faint); font:9px var(--mono); letter-spacing:0; }.timeline-title-trigger::after { margin-left:8px; }
.timeline-tabs { display:flex; gap:0; overflow-x:auto; border-bottom:1px solid var(--line-soft); scrollbar-width:none; }.timeline-tabs::-webkit-scrollbar { display:none; }
.timeline-tabs button { min-width:max-content; min-height:49px; padding:0 19px; border:0; border-right:1px solid var(--line-soft); color:var(--muted); background:#10181d; font:600 10px var(--mono); cursor:pointer; position:relative; }.timeline-tabs button:hover { color:var(--text); }.timeline-tabs button[aria-selected="true"] { color:var(--accent-2); background:#13201f; }.timeline-tabs button[aria-selected="true"]::after { content:""; position:absolute; left:16px; right:16px; bottom:0; height:2px; background:var(--accent); }
.timeline-tabs button span::after { content:" ⓘ"; color:#60767c; font-size:.82em; }.timeline-tabs button:hover span::after,.timeline-tabs button:focus-visible span::after { color:var(--accent); }
.perceptual-band-control { min-height:48px; padding:8px 18px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-bottom:1px solid var(--line-soft); background:#10181d; }.perceptual-band-control span { color:var(--muted); font:9px var(--mono); }.perceptual-band-control select { min-height:34px; padding:0 34px 0 11px; border:1px solid #30434b; border-radius:8px; color:#dce6e7; background:#0b1216; font:10px var(--mono); }
.timeline-canvas-wrap { position:relative; margin:12px 12px 0; }.timeline-canvas-wrap canvas { display:block; width:100%; height:310px; border-radius:10px; background:#0b1216; touch-action:none; cursor:crosshair; }.timeline-gesture-hint { position:absolute; right:11px; top:9px; color:#3e565d; font:8px var(--mono); pointer-events:none; }
.timeline-legend { min-height:42px; display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:8px 18px; border-bottom:1px solid var(--line-soft); }.timeline-legend span { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font:9px var(--mono); }.timeline-legend i { width:18px; height:2px; border-radius:2px; }
.timeline-position { min-height:40px; display:flex; align-items:center; justify-content:space-between; padding:0 18px; border-bottom:1px solid var(--line-soft); }.timeline-position span { color:var(--faint); font-size:10px; }.timeline-position b { color:var(--accent-2); font:500 12px var(--mono); }
.timeline-values { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--line-soft); }.timeline-values div { min-width:0; padding:12px 11px; background:#111a1f; }.timeline-values .feature-label { max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }.timeline-values b { display:block; margin-top:6px; color:#d3dddf; font:500 10px var(--mono); white-space:nowrap; }
.timeline-method { margin-top:14px; }
.privacy-panel { display:flex; align-items:flex-start; gap:14px; padding:17px 18px; border:1px solid #30514b; border-radius:14px; background:#10211f; }.privacy-icon { flex:0 0 auto; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; color:#071411; background:var(--accent); font:700 13px var(--mono); }.privacy-panel b { display:block; font-size:13px; }.privacy-panel p { margin:6px 0 0; color:#91aaa5; font-size:10px; line-height:1.7; }.export-create { position:relative; width:100%; min-height:76px; margin-top:14px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid #4b8f82; border-radius:14px; color:#06110f; background:var(--accent); cursor:pointer; text-align:left; }.export-create span { font-size:15px; font-weight:700; }.export-create small { color:#173c35; font:9px var(--mono); }.export-create::after { content:"→"; margin-left:auto; font:22px var(--mono); }.export-workspace { margin-top:14px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); }.export-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); }.export-actions button { min-height:52px; padding:8px 12px; border:0; color:#b9c7ca; background:#111a1f; font-size:10px; cursor:pointer; }.export-actions button:hover { color:var(--accent-2); background:#14211f; }.export-preview-head { min-height:74px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid var(--line-soft); }.export-preview-head > div:first-child span { color:var(--faint); font:8px var(--mono); letter-spacing:.08em; }.export-preview-head h3 { margin:6px 0 0; font-size:14px; }.export-tabs { display:flex; overflow:hidden; border:1px solid var(--line); border-radius:9px; }.export-tabs button { min-height:36px; padding:0 13px; border:0; border-right:1px solid var(--line); color:var(--muted); background:#10181d; font:9px var(--mono); cursor:pointer; }.export-tabs button:last-child { border-right:0; }.export-tabs button[aria-selected="true"] { color:#071411; background:var(--accent); }.export-preview { display:block; width:calc(100% - 28px); min-height:420px; margin:0 14px; padding:16px; resize:vertical; border:1px solid var(--line-soft); border-radius:10px; outline:none; color:#c8d5d7; background:#0b1216; font:10px/1.75 var(--mono); white-space:pre; overflow:auto; }.export-preview:focus { border-color:#36534e; }.export-note { margin:0; padding:13px 16px; color:var(--faint); font-size:9px; line-height:1.65; }
.data-name-field { display:block; margin-top:14px; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:#0f171b; }.data-name-field > span { display:block; margin-bottom:9px; font-size:12px; font-weight:650; }.data-name-field > span small { margin-left:6px; padding:2px 6px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font:8px var(--mono); }.data-name-field input { display:block; width:100%; min-height:46px; padding:0 13px; border:1px solid #30434b; border-radius:10px; outline:none; color:var(--text); background:#0b1216; font-size:14px; }.data-name-field input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(69,215,189,.08); }.data-name-field > small { display:block; margin-top:8px; color:var(--faint); font-size:9px; line-height:1.6; }
.help-backdrop { position:fixed; inset:0; z-index:190; background:#020507b8; backdrop-filter:blur(3px); }.help-panel { position:fixed; z-index:200; width:min(calc(100% - 24px),430px); padding:16px 18px 18px; border:1px solid #36504f; border-radius:16px; color:var(--text); background:#121b20; box-shadow:0 24px 80px #000c; }.help-panel-head { display:flex; align-items:center; justify-content:space-between; }.help-panel-head > span { color:var(--accent); font:650 9px var(--mono); letter-spacing:.12em; }.help-panel .icon-button { flex:0 0 auto; }.help-panel h2 { margin:14px 0 10px; font-size:18px; }.help-panel p { margin:0; color:var(--muted); font-size:12px; line-height:1.85; }
footer { width:min(100% - 32px,1120px); margin:0 auto; min-height:80px; display:flex; justify-content:space-between; align-items:center; gap:20px; color:var(--faint); font:9px var(--mono); border-top:1px solid var(--line-soft); }footer span { color:var(--accent); }
[hidden] { display:none !important; }
@media (max-width: 780px) {
  .topbar { height:66px; padding:0 16px; }.brand small { display:none; }.local-badge { padding:7px 9px; font-size:9px; }
  main { width:min(100% - 24px,1120px); }.hero { padding:55px 0 38px; }.hero-message { font-size:16px; }.hero-description { font-size:14px; line-height:1.8; }.stepper { grid-template-columns:1fr 1fr; }.stepper li:nth-child(2n) { border-right:0; }.stepper li:nth-child(-n+2) { border-bottom:1px solid var(--line); }.stepper li:last-child { border-right:0; }
  .upload-panel,.results,.timeline,.ai-export { padding:46px 0; }.section-heading h2 { font-size:20px; }.drop-zone { min-height:300px; padding:30px 15px; }.file-buttons { flex-direction:column; width:min(100%,260px); }.file-buttons .button { width:100%; }
  .file-info { grid-template-columns:repeat(3,1fr); }.file-info div:nth-child(3) { border-right:0; }.file-info div:nth-child(-n+3) { border-bottom:1px solid var(--line-soft); }.player { padding:13px; }.analysis-settings { padding:0 14px; }#waveform { height:110px; }.analyze-button { width:calc(100% - 26px); margin:16px 13px; padding:0 15px; }.analyze-button small { display:none; }.memory-note { margin:-5px 13px 15px; }
  .metric-cards { grid-template-columns:1fr 1fr; }.result-grid { grid-template-columns:1fr; }.feature-strip { grid-template-columns:1fr 1fr; }.feature-strip div:last-child { grid-column:1/-1; }.precision-feature-grid { grid-template-columns:1fr 1fr; }.card-title > small { display:none; }.presence-chart-wrap { margin:9px 8px 0; }.presence-chart-wrap canvas { height:270px; }.timeline-tabs button { padding:0 15px; }.timeline-canvas-wrap { margin:9px 8px 0; }.timeline-canvas-wrap canvas { height:260px; }.timeline-values { grid-template-columns:repeat(3,1fr); }.export-create { min-height:84px; align-items:flex-start; flex-direction:column; justify-content:center; gap:5px; padding-right:56px; }.export-create::after { position:absolute; right:24px; top:28px; }.export-actions { grid-template-columns:1fr 1fr; }.export-preview-head { align-items:stretch; flex-direction:column; }.export-tabs button { flex:1; }.export-preview { min-height:360px; }footer { align-items:flex-start; flex-direction:column; justify-content:center; gap:8px; padding:20px 0; }
  .help-trigger { min-height:30px; }.help-panel { left:0!important; right:0; top:auto!important; bottom:0; width:100%; max-width:none; padding:17px 18px calc(22px + env(safe-area-inset-bottom)); border-right:0; border-bottom:0; border-left:0; border-radius:20px 20px 0 0; }.help-panel h2 { font-size:19px; }.help-panel p { font-size:13px; line-height:1.8; }.timeline-title-trigger { min-height:48px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size:39px; }.stepper li { padding:14px 12px; }.stepper small { font-size:9px; }.file-info dd { font-size:10px; }.metric-card { padding:14px 12px; }.metric-card strong { font-size:24px; }.player-controls { gap:7px; }.player-controls time:first-of-type { margin-left:2px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
