
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#203346;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,border-color .15s,transform .15s}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e89058;outline-offset:4px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}a{color:inherit}h1,h2,h3,p{margin:0}h2{font-size:19px;letter-spacing:-.5px;font-weight:650}h3{font-size:17px;font-weight:650}p{line-height:1.6}.topbar{height:82px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e5eb;background:#fff}.brand{display:flex;align-items:center;font-size:23px;font-weight:750;text-decoration:none;letter-spacing:-1px;gap:0}.brand-icon{display:grid;place-items:center;background:#153f46;color:#fff;border-radius:10px;width:39px;height:39px;margin-right:11px}.brand-light{font-weight:400;color:#54727b}.course-label{font-size:12px;letter-spacing:1.7px;font-weight:600;color:#788691}.quiet{border:0;background:none;color:#526373;font-size:14px;padding:9px 8px;border-radius:6px}.quiet:hover{background:#edf2f5}.topbar .quiet{color:#203346}main{max-width:1330px;margin:auto;padding:39px 44px 18px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.6px;color:#64808a;margin-bottom:8px}h1{font-size:38px;font-weight:650;letter-spacing:-1.6px;line-height:1.2}.page-title p{font-size:15px;color:#77838f;margin-top:9px}.save-state{display:flex;align-items:center;gap:6px;color:#52776e;font-size:13px;white-space:nowrap}.tabs{display:flex;gap:28px;border-bottom:1px solid #dfe5e9;margin-top:29px}.tabs button{border:0;background:none;color:#74818f;padding:16px 3px;font-size:14px;font-weight:550;border-bottom:2px solid transparent;margin-bottom:-1px}.tabs button.selected{color:#1a545c;border-color:#1a545c}.count{font-size:11px;background:#e4eaef;padding:2px 7px;border-radius:5px}.session-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 17px}.session-bar>div{display:flex;align-items:center;gap:12px}.small-label{font-size:11px;font-weight:700;letter-spacing:1.3px;color:#88939e}.session-bar select{background:transparent;border:0;font-size:14px;padding:4px;color:#4e6372;width:auto;max-width:340px}.workspace{display:grid;grid-template-columns:292px minmax(0,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid #e0e6eb;border-radius:12px;box-shadow:0 2px 4px #233a5003}.settings{padding:24px 22px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:16px;letter-spacing:-.3px}.number{font-size:11px;font-weight:700;color:#768995;background:#f0f4f6;border-radius:6px;padding:6px}.field-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:#536576;margin-top:24px;margin-bottom:11px}.field-label>span{font-size:12px;color:#9ba6ad}.field-label strong{font-size:15px;color:#243f51;font-variant-numeric:tabular-nums}.field-label small{font-size:11px;color:#8995a0;font-weight:400}.segmented{display:flex;background:#f0f3f6;padding:4px;border-radius:8px}.segmented button{flex:1;background:none;border:0;font-size:12px;color:#697c8a;border-radius:5px;padding:9px 4px}.segmented button.active{background:#fff;color:#244b57;box-shadow:0 1px 4px #243c5312;font-weight:650}.frequency-buttons{display:flex;gap:8px}.frequency-buttons button{flex:1;background:white;border:1px solid #e0e6eb;border-radius:7px;padding:12px 2px;color:#617586;font-size:14px;font-weight:600;position:relative}.frequency-buttons button.chosen{border-color:var(--color);background:color-mix(in srgb,var(--color) 7%,white);color:var(--color)}.color-dot{width:4px;height:4px;background:var(--color);border-radius:50%;position:absolute;bottom:5px}input[type=range]{width:100%;accent-color:#245d65;height:4px;cursor:pointer}input[type=checkbox]{accent-color:#245d65;flex-shrink:0;width:15px;height:15px}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:#8c99a3;margin-top:9px}.hint{font-size:12px;color:#7f8d99;line-height:1.6;margin-top:11px}.divider{height:1px;background:#edf0f3;margin-top:22px}select{border:1px solid #dce3e9;border-radius:6px;background:#fff;width:100%;padding:11px;color:#263f51;font-size:14px}.setup-foot{display:flex;gap:10px;color:#718692;border-top:1px solid #edf0f3;padding-top:20px;margin-top:24px}.setup-foot svg{flex-shrink:0;margin-top:2px}.setup-foot strong{font-size:12px;font-weight:650;display:block;color:#466573}.setup-foot span{display:block;font-size:11px;line-height:1.6;margin-top:3px}.main-column{display:grid;gap:22px}.trial-panel{padding:24px 28px 0}.trial-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.badge{font-size:11px;background:#edf4f3;color:#4e786f;padding:5px 8px;border-radius:5px}.trial-meta{display:flex;gap:17px;font-size:12px;color:#7d8d99;margin:25px 0 16px}.trial-meta>span:first-child{color:#65828c;font-size:10px;letter-spacing:1px;font-weight:650;margin-right:auto}.intervals{display:grid;grid-template-columns:1fr 1fr;gap:18px}.interval{display:flex;flex-direction:column;position:relative;height:155px;border:1px solid #dbe4e9;border-radius:9px;background:#f7f9fa;opacity:1!important;cursor:default!important;color:#5c7986;overflow:hidden}.interval.answer-ready{cursor:pointer!important;background:#f0f7f6;border-color:#6eaca8}.interval.answer-ready:hover{background:#dfefeb;border-color:#235c65;transform:translateY(-2px)}.interval.playing{background:#e8f5f0;border-color:#298979;box-shadow:0 0 0 3px #edf6f3}.interval-name{font-size:10px;letter-spacing:1.8px;font-weight:700}.wave{display:flex;align-items:center;justify-content:center;gap:4px;height:61px;margin:4px 0}.wave i{display:block;width:3px;border-radius:4px;background:#b6cbd1;max-height:48px}.playing .wave i{background:#438f8b;animation:pulse .55s alternate infinite}.interval-bottom{font-size:12px;color:#8a9ba6}.playing .interval-bottom,.answer-ready .interval-bottom{color:#356c72}.interval kbd{position:absolute;right:12px;top:12px;background:white;color:#8a99a4;border:1px solid #e3e8ec;border-radius:4px;padding:1px 5px;font-size:10px}.trial-message{text-align:center;font-size:13px;color:#6c7e8c;min-height:42px;margin:18px 0 7px}.play-actions{display:flex;align-items:center;justify-content:center;gap:17px}.primary{border:1px solid #1c515a;background:#1c515a;color:#fff;font-size:14px;font-weight:550;padding:12px 22px;border-radius:7px;min-width:201px}.primary:hover{background:#133f47}.primary kbd{font-size:10px;background:#ffffff18;border-radius:3px;padding:2px 5px;color:#bdd0d1;font-weight:400}.comfort{display:flex;align-items:center;justify-content:center;gap:8px;margin:17px 0 21px;font-size:11px;color:#82919c}.trial-footer{border-top:1px solid #edf0f2;display:flex;align-items:center;gap:13px;padding:15px 0;color:#93a0aa;font-size:11px}.trial-footer b{color:#486673;font-weight:600}.trial-footer>span:last-child{margin-left:auto}.progress-track{height:4px;background:#edf1f3;border-radius:5px;max-width:100px;flex:1;overflow:hidden}.progress-track i{display:block;height:100%;background:#4d9292}.curve-panel{padding:23px 26px 17px}.curve-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.curve-heading .eyebrow{font-size:10px;margin-bottom:5px}.curve-heading h2{font-size:19px}.chart-label{font-size:11px;color:#8a97a2;margin:18px 0 2px}.plot{position:relative}.plot svg{width:100%;display:block;overflow:visible}.plot text{font-family:inherit;font-size:11px;fill:#8b99a6}.empty-plot{position:absolute;inset:28% 12% 28%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:#ffffffdf;text-align:center;color:#77959d}.empty-plot strong{font-size:15px;color:#536f7c;font-weight:550}.empty-plot span{font-size:12px;color:#91a0ab;max-width:280px;line-height:1.5}.legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;font-size:11px;color:#7e8d99;margin:12px 0 0}.legend span{display:flex;align-items:center;gap:7px}.legend i{height:6px;width:6px;border-radius:50%}footer{display:flex;justify-content:space-between;gap:20px;padding:27px 1px 8px;font-size:11px;color:#8b9aa5}footer>span:last-child{display:flex;align-items:center;gap:7px}.error{margin:15px 0;background:#fff1e8;color:#9e4a24;border:1px solid #f1d2bd;border-radius:8px;padding:14px 18px;font-size:14px}.error button{margin-left:10px;border:1px solid #c58360;background:white;border-radius:5px;padding:5px 10px}.quick-guide{display:flex;align-items:center;gap:20px;background:#e8f1f2;border-radius:8px;padding:18px;margin-top:20px;font-size:14px;line-height:1.5}.quick-guide strong{min-width:140px;color:#285a63}.quick-guide span{color:#5a7581}.results{padding:28px}.results .plot{max-width:1040px;margin:auto}.chart-switch{max-width:320px;margin-top:25px}.button-row{display:flex;gap:8px}.secondary{border:1px solid #dbe4e9;background:#fff;color:#4b6576;padding:9px 14px;border-radius:6px;font-size:13px}.secondary:hover{background:#f0f5f6}.table-wrap{overflow:auto;margin-top:26px}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#7e919d;padding:14px 12px;background:#f5f8fa;font-weight:600}td{padding:15px 12px;border-bottom:1px solid #edf0f3;color:#567080}.table-empty{text-align:center;padding:35px;font-size:14px}.status{font-size:11px;border-radius:4px;background:#f3eee8;color:#917950;padding:4px 7px}.status.good{background:#eaf4ef;color:#4d8673}.method{padding:32px}.method h2{font-size:25px}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.method h3{margin:27px 0 9px}.method p{color:#617887;font-size:15px;line-height:1.8}.method a{text-decoration:underline;color:#217886}.method details{border-top:1px solid #e5ebef;border-bottom:1px solid #e5ebef;padding:19px 0;margin-top:25px}.method summary{cursor:pointer;color:#325769;font-weight:550;font-size:15px}.method details p{margin-top:13px}.method textarea{width:100%;min-height:100px;border:1px solid #d5dfe5;border-radius:7px;padding:14px;margin-bottom:12px;font-size:14px;color:#476373}.extra-center{display:flex;align-items:center;gap:8px;font-size:14px;color:#617887;margin-top:25px}.loading{padding:45px;text-align:center;color:#718995}@keyframes pulse{to{transform:scaleY(.45)}}@media(prefers-reduced-motion:reduce){.playing .wave i{animation:none}*{transition:none!important}}@media(min-width:1500px){main{padding-top:45px}.interval{height:169px}.plot svg{max-height:285px}}@media(max-width:1050px){main{padding:28px 24px}.course-label{display:none}.workspace{grid-template-columns:260px minmax(0,1fr);gap:16px}.trial-panel{padding:20px 18px 0}.settings{padding:20px 18px}.comfort{font-size:11px;line-height:1.5}.trial-footer{flex-wrap:wrap}.trial-meta{gap:9px}.trial-meta>span:first-child{letter-spacing:.5px}.curve-panel{padding:20px 18px}.save-state{font-size:12px}.intervals{gap:12px}.play-actions{gap:8px}.primary{min-width:170px;padding:12px}.quick-guide{flex-wrap:wrap}}@media(max-width:760px){.topbar{height:68px;padding:0 20px}.brand{font-size:21px}.topbar .quiet{font-size:12px}.page-title{align-items:start;flex-direction:column;gap:13px}h1{font-size:33px}.page-title p{font-size:14px}.save-state{font-size:11px}.tabs{gap:20px;margin-top:15px}.tabs button{font-size:12px;gap:6px}.workspace{grid-template-columns:1fr}.settings{display:block}.settings .section-title{margin-bottom:8px}.field-label{font-size:14px}.hint,.range-labels{font-size:12px}.setup-foot strong{font-size:13px}.setup-foot span{font-size:12px}.session-bar{align-items:start}.session-bar>div{display:block;min-width:0}.session-bar select{max-width:240px;font-size:12px;padding-left:0}.small-label{display:block;font-size:10px}.session-bar .quiet{white-space:nowrap;font-size:12px}.trial-panel{padding:22px 16px 0}.trial-heading{align-items:start}.badge{font-size:10px}.trial-meta{flex-wrap:wrap}.trial-meta>span:first-child{width:100%;margin-bottom:4px}.interval{height:150px}.comfort{font-size:12px;align-items:start}.trial-footer{font-size:10px}.trial-footer>span:last-child{margin-left:0}.curve-panel{padding:22px 16px}.plot{margin-top:10px}.plot svg{min-height:200px}.empty-plot{inset:26% 10% 26%;gap:5px}.empty-plot span{font-size:11px}.legend{gap:12px;font-size:10px}.curve-heading .quiet{font-size:11px}.curve-heading{align-items:start}.results{padding:22px 16px}.results .curve-heading{flex-direction:column}.method{padding:25px 20px}.method-grid{grid-template-columns:1fr;gap:0}.method h2{font-size:23px}footer{flex-direction:column;gap:9px;font-size:11px}.quick-guide{font-size:13px}main{padding:25px 16px}.play-actions{flex-wrap:wrap}.chart-label{font-size:10px}.tabs button svg{width:15px}.method p{font-size:16px}}@media(min-width:761px){.hint,.setup-foot span,.comfort,.trial-message,.interval-bottom,.legend,.trial-footer,.chart-label{font-size:12px}.field-label,.segmented button,.quiet{font-size:14px}}

/* Standalone reset and controls (no framework stylesheet required). */
button{line-height:1.4}input,select,textarea{margin:0}button svg{flex-shrink:0}[hidden]{display:none!important}.brand-icon{font-size:24px}.interval kbd{font-family:inherit}.tabs button{font-family:inherit}.session-bar .button-row{flex-wrap:wrap}.file-button{cursor:pointer}.file-button input{display:none}.chart-switch{margin-bottom:18px}.save-state.warning{color:#a4512b}.field-label small{margin-left:3px}.method h3{line-height:1.5}.method .secondary{margin-top:8px}#sessions{max-width:340px}.quick-guide{margin-bottom:10px}.curve-panel .eyebrow{margin-top:0}.interval-name{margin-top:0}.trial-message{min-height:42px}.table-empty{color:#81939d}.current-level{font-size:12px;color:#72848d;margin-top:7px;text-align:center}.error-actions{display:inline-flex;gap:6px}.progress-summary{font-size:12px;color:#6a8290;margin-top:7px}footer{line-height:1.5}@media(max-width:760px){#sessions{max-width:205px}.session-bar>.button-row{justify-content:flex-end}.session-bar .quiet{font-size:12px;padding:7px 4px}.tabs{gap:16px}.tabs button{font-size:13px}.trial-message{font-size:14px}.interval-bottom{font-size:13px}.comfort{font-size:13px}.legend{font-size:12px}.chart-label{font-size:12px}.empty-plot span{font-size:12px}.field-label{font-size:14px}.segmented button{font-size:14px}}

.quiet.danger{color:#a34d38}.quiet.danger:hover:not(:disabled){background:#fff0eb}

/* From Uiverse.io by chase2k25. Fixed decorative layer behind the app. */
body { min-height: 100vh; isolation: isolate; }
.container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(circle, #ff6f61 20%, transparent 20%) 0 0,
    radial-gradient(circle, #ffcc00 20%, transparent 20%) 40px 40px;
  background-size: 80px 80px;
  background-repeat: repeat;
}
/* Keep text outside the experiment panels legible against the pattern. */
.page-title {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  padding: 14px 16px;
}

.probe-menu{border:1px solid #dce3e9;border-radius:6px;background:white;font-size:14px;color:#263f51}.probe-menu summary{cursor:pointer;padding:11px}.probe-menu ul{list-style:none;margin:0;padding:0 10px 8px;max-height:300px;overflow:auto}.probe-step{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #edf0f3;padding:10px 4px;font-size:12px}.probe-step.current{font-weight:650;color:#087e8b}.probe-step span:last-child{text-align:right}

/* Tabs and session controls share one continuous panel. */
.experiment-controls {
  margin: 24px 0 17px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e0e6eb;
  border-radius: 10px;
}
.experiment-controls .tabs {
  margin: 0;
  padding: 0 16px;
  background: transparent;
  border-radius: 0;
}
.experiment-controls .session-bar {
  margin: 0;
  padding: 14px 16px;
  flex-wrap: wrap;
  background: transparent;
  border-radius: 0;
}
.experiment-controls .session-bar > .button-row { margin-left: auto; }

.session-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.page-title .listening-reminder { margin: 0; font-size: 12px; line-height: 1.5; color: #77838f; }
@media (max-width: 760px) { .session-status { align-items: flex-start; } }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-logo { display: block; width: 56px; height: 56px; object-fit: contain; }
/* Retro handheld theme inspired by kenmas-page.neocities.org.
   Original CSS textures and system fonts keep the app fully offline. */
:root {
  font-family: 'Lucida Console', 'Courier New', monospace;
  color: #303d35;
  background: #dbe3d1;
  --ink: #303d35;
  --muted: #596b5e;
  --edge: #718b7b;
  --paper: #f3f5eb;
  --green: #4f786b;
  --button: linear-gradient(#f5f8e8 0%, #d6e3bf 45%, #abc3a7 50%, #d2dfc3 100%);
}
body { line-height: 1.5; }
.container {
  background-color: #dae4d1;
  background-image: linear-gradient(90deg, #718b7b12 1px, transparent 1px), linear-gradient(#718b7b12 1px, transparent 1px);
  background-size: 24px 24px;
}
.topbar {
  height: 70px;
  background: var(--button);
  border-bottom: 2px solid var(--edge);
  box-shadow: inset 0 -2px #f4f7e6, 0 3px #526b5420;
}
.brand { font-family: 'Courier New', monospace; font-size: 27px; letter-spacing: -1.5px; color: var(--ink); }
.brand-icon { border-radius: 3px; background: var(--green); border: 2px solid #35574b; box-shadow: inset 2px 2px #ffffff65; }
.brand-light { color: var(--green); }
.course-label { color: #435b49; font-size: 11px; letter-spacing: 1px; }
main { padding-top: 28px; }
.page-title, .panel, .experiment-controls {
  background: var(--paper);
  border: 2px solid var(--edge);
  border-radius: 3px;
  box-shadow: inset 2px 2px #fff, inset -2px -2px #d5dec9, 3px 3px #536d5526;
}
.page-title { padding: 24px; border-top: 7px solid #abc3a7; }
h1, h2, h3 { font-family: 'Courier New', monospace; color: #3f695c; font-weight: 700; }
h1 { font-size: clamp(29px, 3.4vw, 42px); letter-spacing: -2px; text-shadow: 2px 2px #d0dac4; }
h2 { letter-spacing: -.6px; }
.eyebrow, .small-label { color: #526c59; }
.page-title p, .page-title .listening-reminder, .hint, .range-labels, .field-label,
.field-label > span, .field-label small, .setup-foot, .setup-foot span,
.trial-meta, .trial-meta > span:first-child, .trial-message, .current-level,
.comfort, .trial-footer, .chart-label, .legend, .method p, .extra-center,
.progress-summary, .table-empty { color: var(--muted); }
.save-state, .setup-foot strong, .field-label strong, .trial-footer b { color: #3d6451; }
.save-state { white-space: normal; }
.session-status { max-width: 330px; text-align: right; }
button, .quiet, .secondary, .primary, .session-action,
.segmented button, .frequency-buttons button, .tabs button {
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--button);
  color: var(--ink);
  box-shadow: inset 1px 1px #fff, inset -1px -1px #8ca48b, 1px 2px #62785b38;
  font-weight: 700;
  text-shadow: 0 1px #ffffff80;
  transition: background .12s, transform .12s;
}
.quiet, .secondary, .session-action { padding: 9px 12px; font-size: 13px; }
button:hover:not(:disabled), .quiet:hover, .secondary:hover, .primary:hover,
.segmented button:hover:not(:disabled), .frequency-buttons button:hover:not(:disabled) {
  background: linear-gradient(#faffee, #c4d9ad 48%, #a0bd96 50%, #c4d9ad);
}
button:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 1px 2px #647b6255; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid #935a78; outline-offset: 3px; }
.experiment-controls .tabs { padding: 14px 16px; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #a5b89c; }
.tabs button { padding: 11px 20px; margin: 0; min-height: 44px; font-size: 15px; flex: 1 1 170px; }
.tabs button.selected, .segmented button.active {
  background: repeating-linear-gradient(0deg, #ffffff08 0 1px, transparent 1px 3px), #4f786b;
  color: #fff; border-color: #35574b; box-shadow: inset 1px 2px #264c4266; text-shadow: none;
}
.tab-label { display: inline-flex; align-items: center; gap: 8px; }
.count, .badge, .number { background: #dae5cb; color: #354b3c; border: 1px solid #9caf93; border-radius: 2px; }
.count { text-shadow: none; }
.session-bar select, select, textarea, .method textarea, .probe-menu {
  background: #fbfcf5; color: var(--ink); border: 1px solid var(--edge); border-radius: 2px; box-shadow: inset 1px 1px #b3c2aa;
}
.session-bar select { padding: 9px; }
.session-bar > div { min-width: 0; }
.session-bar select { min-width: 0; }
.session-bar .button-row { display: flex; flex-wrap: wrap; }
.segmented { background: #dce5d0; border-radius: 2px; gap: 4px; }
.frequency-buttons button.chosen { box-shadow: inset 0 -3px var(--color); }
input[type=range], input[type=checkbox] { accent-color: var(--green); }
.divider { background: #c8d4bf; }
.setup-foot, .trial-footer, .probe-step, td, .method details { border-color: #c8d4bf; }
.probe-step.current { color: #3b6656; background: #e2ebd7; }
.trial-heading { padding-bottom: 13px; border-bottom: 1px solid #c8d4bf; }
.interval {
  background: repeating-linear-gradient(0deg, #72877809 0 1px, transparent 1px 4px), #edf1e5;
  color: #455e4e; border: 2px solid #9aac94; border-radius: 3px;
  box-shadow: inset 2px 2px #c6d0bc, inset -2px -2px #fff; text-shadow: none;
}
.interval-name { font-size: 12px; letter-spacing: 1px; }
.interval-bottom { color: #5c705e; }
.wave i { background: #9bb39a; border-radius: 0; }
.interval.playing { background: #d5e6c2; border-color: #477555; box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px #b7cdaa; }
.playing .wave i { background: #4f786b; }
.interval.answer-ready { background: #e3ecd8; border-color: #65845e; }
.interval.answer-ready:hover { background: #d1e2bb; border-color: #3b674a; }
.interval kbd { background: #f8faee; color: #506b52; border-color: #a5b89c; border-radius: 2px; }
.playing .interval-bottom, .answer-ready .interval-bottom { color: #355f48; }
.play-actions { flex-wrap: wrap; gap: 10px; }
.primary { background: linear-gradient(#739787, #4f786b); color: #fff; border-color: #35574b; text-shadow: 0 1px #35574b; }
.primary:hover { color: var(--ink); text-shadow: none; }
.progress-track { background: #d8e2ca; border-radius: 0; }
.progress-track i { background: #62846b; }
.plot text { fill: #5d705f; }
.empty-plot { background: #f3f5ebed; color: #496c55; }
.empty-plot strong, .empty-plot span { color: #596b5e; }
th { background: #e1e8d7; color: #49604b; }
td { color: #4c6051; }
.status.good { background: #dcebd0; color: #396446; }
.quick-guide { border: 1px solid #9caf93; border-radius: 2px; background: #e2ebd7; }
.quick-guide strong, .quick-guide span, .method summary, .method a { color: #3f6655; }
.error { border-radius: 2px; }
@media (max-width: 760px) {
  .page-title { padding: 19px; }
  .session-status { align-items: flex-start; text-align: left; max-width: none; }
  .tabs button { flex: 1 1 140px; font-size: 14px; padding: 10px; }
  .experiment-controls .session-bar > .button-row { margin-left: 0; justify-content: flex-start; }
  .session-bar > div:first-child { width: 100%; }
  #sessions { max-width: 100%; width: 100%; margin-top: 5px; }
  .session-action { flex: 1 1 auto; }
  .play-actions > button { flex: 1 1 140px; }
}
@media (max-width: 480px) {
  .topbar { padding: 0 10px; gap: 8px; }
  .topbar .brand { font-size: 19px; }
  .topbar .brand-icon { width: 28px; height: 28px; margin-right: 6px; }
  .header-actions { gap: 5px; }
  .header-actions .quiet { font-size: 11px; padding: 8px 6px; white-space: nowrap; }
  .header-logo { width: 44px; height: 44px; }
}

/* Selectable checklist rows retain the existing dropdown appearance. */
.probe-menu .probe-step {
  width: 100%; margin: 0; padding: 10px 4px;
  display: flex; justify-content: space-between; gap: 10px;
  border: 0; border-top: 1px solid #c8d4bf; border-radius: 0;
  background: transparent; box-shadow: none; text-shadow: none;
  color: inherit; font-size: 12px; font-weight: 400; text-align: left;
}
.probe-menu .probe-step.current { font-weight: 650; color: #3b6656; background: #e2ebd7; }
.probe-menu .probe-step:hover:not(:disabled) { background: #e2ebd7; }
.probe-menu .probe-step:disabled { opacity: 1; cursor: not-allowed; }
.probe-menu .probe-step:focus-visible { outline-offset: -3px; }
