:root {
  --planner-bg: #0d1014;
  --planner-panel: #15191f;
  --planner-panel-2: #1b2028;
  --planner-line: #303742;
  --planner-line-soft: #242b34;
  --planner-text: #edf2f7;
  --planner-muted: #95a0ad;
  --planner-dim: #6e7885;
  --planner-green: #55d6a6;
  --planner-green-2: #1fae7c;
  --planner-orange: #ff9c4a;
  --planner-blue: #68a9ff;
  --planner-red: #ff6c72;
  --planner-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.speaker-coverage-controls {
  position: absolute; left: 50%; bottom: 54px; z-index: 18;
  transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  padding: 7px 9px; border: 1px solid rgba(98,213,172,.48); border-radius: 11px;
  background: rgba(18,24,29,.92); box-shadow: 0 8px 22px rgba(0,0,0,.28);
  color: #dce7e2; font-size: 11px;
}
.speaker-coverage-controls[hidden] { display: none; }
.speaker-coverage-controls span { margin-left: 3px; }
.speaker-coverage-controls em { color:#899a94; font-size:10px; font-style:normal; font-weight:900; letter-spacing:.08em; }
.speaker-coverage-controls b { color: #62d5ac; }
.speaker-coverage-controls button {
  min-width: 38px; height: 30px; padding: 0 8px; border: 1px solid #46545d;
  border-radius: 7px; background: #263139; color: #f4f7f6; font-weight: 750;
}
.analysis-layer-controls {
  position:absolute; right:14px; bottom:54px; z-index:17; width:174px; max-height:45%; overflow:auto;
  padding:9px 10px; border:1px solid rgba(104,169,255,.34); border-radius:10px;
  background:rgba(18,24,29,.90); box-shadow:0 8px 22px rgba(0,0,0,.25); color:#dce5ec;
}
.analysis-layer-controls[hidden]{display:none}
.analysis-layer-controls>strong{display:block;margin-bottom:6px;color:#8ebcff;font-size:10px;letter-spacing:.08em}
.analysis-layer-controls div div{display:grid;grid-template-columns:1fr 1fr;gap:4px 7px}
.analysis-layer-controls label{display:flex;align-items:center;gap:5px;min-width:0;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analysis-layer-controls input{width:12px;height:12px;margin:0;accent-color:#68a9ff}
.analysis-layer-controls hr{height:1px;margin:7px 0;border:0;background:#33404b}
.analysis-layer-controls.avoid-side-panel{right:310px}
.decay-chart{margin-top:14px;padding:14px 16px;border:1px solid #31404c;border-radius:12px;background:#111b23}
.decay-band{display:grid;grid-template-columns:58px minmax(100px,1fr) 48px 54px;align-items:center;gap:10px;color:#9eafb9;font-size:10px}
.decay-band+.decay-band{margin-top:9px}.decay-band>div{position:relative;height:9px;overflow:hidden;border-radius:6px;background:#28343e}
.decay-band u{position:absolute;top:0;bottom:0;z-index:1;background:rgba(85,214,166,.22);text-decoration:none}
.decay-band i{position:relative;z-index:2;display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#55d6a6,#68a9ff)}
.decay-band strong{text-align:right;color:#edf5fa}
.decay-status{font-size:10px;text-align:center}.decay-status.short{color:#82b9ff}.decay-status.target{color:#62d5ac}.decay-status.long{color:#ff9c4a}
.room-mode-table{max-height:360px;overflow:auto;margin-top:14px;border:1px solid #31404c;border-radius:12px;background:#111b23}
.room-mode-table table{width:100%;min-width:740px;border-collapse:collapse;font-size:10px}.room-mode-table th,.room-mode-table td{padding:9px 12px;border-bottom:1px solid #28343e;text-align:left}.room-mode-table th{position:sticky;top:0;background:#17232c;color:#8fa2af}.room-mode-table td{color:#dce6ed}
.room-mode-table tbody tr{cursor:pointer}.room-mode-table tbody tr.is-selected{background:rgba(104,169,255,.15)}
.room-mode-hud{position:absolute;left:18px;top:12px;z-index:28;width:304px;padding:12px 14px;border:1px solid rgba(255,121,91,.42);border-radius:12px;background:rgba(17,22,27,.88);box-shadow:0 10px 28px rgba(0,0,0,.32);backdrop-filter:blur(8px);color:#dce6ed;pointer-events:auto}.room-mode-hud.is-phase{border-color:rgba(133,105,255,.55)}
.room-mode-hud[hidden]{display:none}.room-mode-hud>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.room-mode-hud>div:first-child span{color:#ff8a69;font-size:20px;font-weight:900}.room-mode-hud>div:first-child strong{color:#f2d6cc;font-size:10px;letter-spacing:.07em;text-align:right}.room-mode-hud-meter{height:6px;margin:8px 0;border-radius:6px;background:#303841;overflow:hidden}.room-mode-hud-meter i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6e7b85,#ff9c4a,#ff695b);transition:width .12s ease-out}.room-mode-hud p{display:flex;justify-content:space-between;gap:10px;margin:0;font-size:10px;font-weight:800;color:#8e9ca7}.room-mode-hud p b{margin-left:4px;color:#f5e7df}.room-mode-hud small{display:block;margin-top:8px;color:#8997a2;font-size:10px;line-height:1.35}
.room-mode-control-summary{margin-top:7px;padding:6px 7px;border:1px solid #30413e;border-radius:5px;background:rgba(35,61,54,.30)}.room-mode-control-summary>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#86a399;font-size:10px;font-weight:900;letter-spacing:.04em}.room-mode-control-summary>div:first-child b{color:#9de2c9;font-size:10px}.room-mode-control-meter{height:4px;margin:5px 0;border-radius:4px;background:#29343a;overflow:hidden}.room-mode-control-meter i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#53656a,#4c987f,#79d4b3);transition:width .12s ease-out}.room-mode-control-summary p{font-size:10px}.room-mode-control-summary p span:first-child b{color:#d9a58f}.room-mode-control-summary p span:last-child b{color:#9de2c9}.room-mode-control-note{margin-top:8px!important}
.room-mode-hud-selector{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:end;gap:6px;margin-top:10px}.room-mode-hud-selector button{height:36px;padding:0;border:1px solid #46545d;border-radius:8px;background:#263139;color:#f4f7f6;font-size:24px;line-height:1;cursor:pointer}.room-mode-hud-selector button:hover{border-color:#ff8a69;background:#303b44}.room-mode-hud-selector label{display:block;min-width:0}.room-mode-hud-selector label span{display:block;margin:0 0 4px;color:#8e9ca7;font-size:10px;font-weight:900;letter-spacing:.08em}.room-mode-hud-selector select{width:100%;height:36px;padding:0 28px 0 9px;border:1px solid #46545d;border-radius:8px;background:#202b34;color:#edf4f8;font-size:10px;font-weight:850;cursor:pointer}
.room-mode-view-toggle{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px;padding:3px;border:1px solid #303c46;border-radius:9px;background:#10171d}.room-mode-view-toggle button{min-height:28px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8997a2;font-size:10px;font-weight:900;letter-spacing:.07em;cursor:pointer}.room-mode-view-toggle button:hover{color:#e7eef3}.room-mode-view-toggle button.is-active{border-color:rgba(85,214,166,.44);background:rgba(85,214,166,.13);color:#a5efd5}
.room-mode-phase-legend{display:flex;align-items:center;gap:12px;margin-top:8px;color:#a7b2bb;font-size:10px;font-weight:900;letter-spacing:.07em}.room-mode-phase-legend[hidden]{display:none}.room-mode-phase-legend span{display:flex;align-items:center;gap:5px}.room-mode-phase-legend i{display:block;width:9px;height:9px;border-radius:50%;box-shadow:0 0 8px currentColor}.room-mode-phase-legend .phase-a{color:#ff4c3d;background:#ff4c3d}.room-mode-phase-legend .phase-b{color:#357dff;background:#357dff}
.room-mode-overall{display:flex;width:100%;margin-top:14px;padding:12px 14px;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid #31404c;border-radius:12px;background:#111b23;color:#dce6ed;text-align:left;cursor:pointer}.room-mode-overall strong{font-size:12px;letter-spacing:.04em}.room-mode-overall span{font-size:10px;color:#91a2ae}.room-mode-overall.is-selected{border-color:rgba(255,121,91,.7);background:rgba(255,104,80,.12)}.room-mode-unavailable{margin-top:14px;padding:18px;border:1px solid rgba(255,170,80,.35);border-radius:12px;background:rgba(255,155,70,.08)}.room-mode-unavailable strong{color:#ffc080;font-size:12px}.room-mode-unavailable p{margin:7px 0 0;color:#c7d0d7;font-size:11px;line-height:1.55}
.room-mode-quality{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:10px 12px;border:1px solid #31404c;border-radius:10px;background:#111b23;color:#8fa2af;font-size:10px;font-weight:900;letter-spacing:.05em}.room-mode-quality select{min-width:178px;height:32px;padding:0 10px;border:1px solid #46545d;border-radius:7px;background:#202b34;color:#edf4f8;font-size:10px;font-weight:850}.room-mode-simplification{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:9px 12px;border:1px solid rgba(255,170,80,.32);border-radius:10px;background:rgba(255,155,70,.07);font-size:10px}.room-mode-simplification strong{color:#ffc080}.room-mode-simplification span{color:#aebac3;text-align:right}.room-mode-simplification.is-clear{border-color:rgba(85,214,166,.25);background:rgba(85,214,166,.055)}.room-mode-simplification.is-clear strong{color:#72ddb7}.room-mode-caution{margin-top:6px!important;color:#e5b27e!important}
.room-mode-static-copy{padding:0 24px 18px}.room-mode-static-copy p{margin-bottom:0}.room-mode-translation-seed{position:absolute;left:2px;bottom:2px;width:1px;height:1px;overflow:hidden;opacity:.01;pointer-events:none;font-size:1px;line-height:1px}
.room-mode-dialog-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.room-mode-dialog-actions button{padding:0 8px}
.room-mode-hud.is-integrated{width:430px;max-height:calc(100% - 24px);border-color:rgba(85,214,166,.48)}
.room-mode-hud.is-integrated .analysis-hud-summary{max-height:calc(100vh - 180px);overflow:auto;padding-right:3px}
.integrated-result-scroll{display:grid;gap:9px}
.integrated-view-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border:1px solid #31404c;border-radius:9px;background:#10171d}
.integrated-view-toggle button{min-height:30px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8e9ca7;font-size:10px;font-weight:900;letter-spacing:.07em;cursor:pointer}
.integrated-view-toggle button.is-active{border-color:rgba(85,214,166,.48);background:rgba(85,214,166,.14);color:#a5efd5}
.integrated-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.integrated-snapshot>span{display:flex;min-width:0;min-height:58px;padding:8px 9px;flex-direction:column;border:1px solid #303c46;border-radius:8px;background:#121a21;color:#8796a1;font-size:10px;font-weight:850}
.integrated-snapshot b{margin-top:4px;color:#edf5fa;font-size:14px}.integrated-snapshot em{margin-top:2px;color:#91a5b1;font-size:10px;font-style:normal}
.integrated-comparison{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px;border:1px solid rgba(85,214,166,.30);border-radius:8px;background:rgba(38,72,61,.18);font-size:10px}
.integrated-comparison>strong{grid-column:1/-1;color:#81cdb2;letter-spacing:.07em}.integrated-comparison span{display:flex;min-width:0;justify-content:space-between;gap:6px;color:#8fa19b}.integrated-comparison b{color:#d8eee6;text-align:right}
.integrated-section{padding:8px;border:1px solid #303c46;border-radius:8px;background:#111920}.integrated-section h3{margin:0 0 6px;color:#9dabb5;font-size:10px;letter-spacing:.08em}
.integrated-frequency-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 7px}.integrated-frequency-list span{display:flex;min-width:0;justify-content:space-between;gap:6px;color:#8fa0aa;font-size:10px}.integrated-frequency-list i{overflow:hidden;text-overflow:ellipsis;font-style:normal;white-space:nowrap}.integrated-frequency-list b{color:#9de2c9;text-align:right;white-space:nowrap}
.integrated-problems ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.integrated-problems li{position:relative;padding-left:11px;color:#d8b090;font-size:10px;line-height:1.35}.integrated-problems li::before{position:absolute;left:0;content:'•';color:#ff9c4a}
.integrated-contribution-list{display:grid;gap:5px}.integrated-contribution-list article{padding:6px 7px;border:1px solid #2b3942;border-radius:6px;background:#151e25}.integrated-contribution-list header{display:flex;align-items:center;justify-content:space-between;gap:8px}.integrated-contribution-list header strong{overflow:hidden;color:#e7eef2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.integrated-contribution-list header>b{color:#77d3b1;font-size:10px}.integrated-contribution-list article>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:5px}.integrated-contribution-list span{display:flex;flex-direction:column;color:#7f909b;font-size:10px}.integrated-contribution-list span b{margin-top:2px;color:#c7d8df}
.integrated-empty,.integrated-baseline-note,.integrated-estimate-note{margin:0;color:#93a1aa;font-size:10px;line-height:1.4}.integrated-estimate-note{padding:7px 8px;border-left:2px solid #55d6a6;background:rgba(85,214,166,.06);color:#b4c7bf}.integrated-baseline-note{color:#84939c}.integrated-result-translation-seed{position:absolute;left:2px;bottom:2px;width:1px;height:1px;overflow:hidden;opacity:.01;pointer-events:none;font-size:1px;line-height:1px}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--planner-bg);
}

body {
  margin: 0;
  color: var(--planner-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.planner-shell {
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 18%, rgba(74, 116, 137, 0.09), transparent 34%),
    var(--planner-bg);
}

.workflow-bar {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 5px clamp(12px, 1.7vw, 24px);
  border-bottom: 1px solid var(--planner-line-soft);
  background: #101419;
}

.workflow-steps {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.workflow-step {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 10px;
  color: #7d8995;
  background: transparent;
  cursor: pointer;
  font-size:10px;
  letter-spacing: 0.045em;
}

.workflow-step > span {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #3b4652;
  border-radius: 50%;
  color: #8f9aa6;
  font-size:10px;
  font-weight: 900;
}

.workflow-step strong {
  font-size: inherit;
}

.workflow-step small {
  padding: 2px 4px;
  border-radius: 4px;
  color: #6f7a86;
  background: #1a2027;
  font-size:10px;
  font-weight: 900;
}

.workflow-step:hover:not(:disabled) {
  color: #c8d1da;
  background: #171c22;
}

.workflow-step.is-active {
  border-color: rgba(85, 214, 166, 0.4);
  color: #aeefda;
  background: rgba(85, 214, 166, 0.09);
}

.workflow-step.is-active > span {
  border-color: rgba(85, 214, 166, 0.58);
  color: #b8f5df;
  background: rgba(85, 214, 166, 0.12);
}

.workflow-step:disabled {
  opacity: 0.5;
  cursor: default;
}

.workflow-bar > p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #aab6c0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size:11px;
}

.planner-site-nav {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 13px clamp(15px, 2vw, 30px) 12px;
  flex-direction: row;
  align-items: center;
  border-radius: 0;
  border-width: 0 0 1px;
  min-height: 58px;
  box-shadow: none;
  background: rgba(15, 18, 23, 0.98);
}

.planner-site-nav .site-links {
  margin-left: auto;
}

.planner-titlebar {
  min-width: 0;
  padding: 12px clamp(15px, 2vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--planner-line-soft);
  background: rgba(18, 22, 28, 0.96);
}

.planner-heading {
  min-width: 0;
}

.planner-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.planner-heading h1 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.planner-heading p {
  margin: 6px 0 0;
  color: var(--planner-muted);
  font-size: 12px;
  line-height: 1.4;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 156, 74, 0.5);
  border-radius: 6px;
  color: #ffb675;
  background: rgba(255, 156, 74, 0.1);
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.project-status {
  flex: 0 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  column-gap: 8px;
  row-gap: 1px;
  text-align: right;
}

.project-state-dot {
  grid-row: 1 / span 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--planner-green);
  box-shadow: 0 0 0 4px rgba(85, 214, 166, 0.1);
}

.project-status strong {
  max-width: min(38vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.project-status span:last-child {
  color: var(--planner-dim);
  font-size: 10px;
}

.planner-toolbar {
  min-width: 0;
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px clamp(10px, 1.4vw, 20px);
  border-bottom: 1px solid var(--planner-line);
  background: #11151a;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.toolbar-group[hidden] {
  display: none;
}

.toolbar-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  margin: 0 2px;
  background: var(--planner-line);
}

.tool-button,
.view-button {
  min-height: 33px;
  border: 1px solid var(--planner-line);
  border-radius: 8px;
  background: #191e25;
  color: #cbd3dc;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.tool-button:hover,
.view-button:hover {
  border-color: #53606f;
  color: #fff;
  background: #222832;
}

.tool-button:active,
.view-button:active {
  transform: translateY(1px);
}

.tool-button:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

.space-setup-tools[hidden],
.sound-setup-tools[hidden] {
  display: none;
}

.continue-space-button {
  margin-left: 3px;
}

.tool-button-primary {
  border-color: rgba(85, 214, 166, 0.5);
  background: rgba(31, 174, 124, 0.17);
  color: #9bf0d1;
}

.tool-button.is-active {
  border-color: rgba(104, 169, 255, 0.5);
  color: #a9ceff;
  background: rgba(104, 169, 255, 0.11);
}

.tool-button-icon {
  width: 34px;
  padding: 0;
  font-size: 17px;
}

.tool-icon {
  font-size: 14px;
  line-height: 1;
}

.column-symbol {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.view-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--planner-line);
  border-radius: 10px;
  background: #0d1116;
}

.view-button {
  min-width: 76px;
  min-height: 28px;
  border-color: transparent;
  background: transparent;
  padding: 0 11px;
}

.view-button.is-active {
  border-color: rgba(85, 214, 166, 0.45);
  background: rgba(85, 214, 166, 0.14);
  color: #a5efd5;
}

.workspace {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 27px;
  background: #0b0e12;
}

.canvas-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(48, 63, 74, 0.18), transparent 52%),
    #101419;
}

#planCanvas,
#threeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  touch-action: none;
}

#planCanvas[hidden],
#threeCanvas[hidden] {
  display: none;
}

.workspace-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border-top: 1px solid var(--planner-line-soft);
  color: #7e8995;
  background: #0d1116;
  font-size:10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.canvas-hint {
  position: absolute;
  left: 16px;
  top: 15px;
  max-width: min(430px, calc(100% - 32px));
  padding: 10px 13px;
  border: 1px solid rgba(92, 105, 120, 0.38);
  border-radius: 9px;
  background: rgba(16, 20, 25, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.canvas-hint strong {
  display: block;
  color: #d9e0e8;
  font-size: 11px;
}

.canvas-hint span {
  display: block;
  margin-top: 3px;
  color: #7e8995;
  font-size: 10px;
}

.sample-banner {
  position: absolute;
  top: 15px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 11px;
  border: 1px solid rgba(255, 156, 74, 0.38);
  border-radius: 9px;
  background: rgba(34, 26, 20, 0.93);
  color: #d8c0ad;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 10px;
}

.sample-banner strong {
  color: #ffc18a;
  font-size:10px;
  letter-spacing: 0.08em;
}

.sample-banner button {
  min-height: 27px;
  border: 1px solid rgba(255, 156, 74, 0.45);
  border-radius: 7px;
  padding: 0 9px;
  color: #ffd0a7;
  background: rgba(255, 156, 74, 0.11);
  cursor: pointer;
  font-size:10px;
  font-weight: 900;
}

.view-navigation,
.three-controls {
  position: absolute;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(66, 75, 87, 0.8);
  border-radius: 9px;
  background: rgba(14, 18, 23, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.view-navigation {
  left: 15px;
}

.view-navigation button,
.three-controls button {
  min-width: 29px;
  min-height: 28px;
  border: 1px solid var(--planner-line);
  border-radius: 6px;
  background: #191e25;
  color: #cbd3dc;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.view-navigation button {
  padding: 0 9px;
}

.three-controls {
  right: 15px;
  gap: 12px;
  padding: 8px 10px;
  color: #798491;
  font-size:10px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.three-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b7c0ca;
  cursor: pointer;
}

.element-inspector {
  position: absolute;
  z-index: 30;
  width: 252px;
  max-height: calc(100% - 30px);
  overflow: auto;
  border: 1px solid #46515f;
  border-radius: 12px;
  background: rgba(24, 29, 36, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.element-inspector[hidden] {
  display: none;
}

.inspector-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--planner-line);
  background: #1b2028;
  cursor: move;
  user-select: none;
}

.inspector-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--planner-green);
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.inspector-head h2 {
  margin: 0;
  font-size: 15px;
}

.inspector-close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--planner-line);
  border-radius: 7px;
  color: #9da8b4;
  background: #12161b;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.inspector-body {
  padding: 12px 14px 14px;
}

.inspector-section + .inspector-section {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--planner-line-soft);
}

.inspector-section-title {
  margin: 0 0 8px;
  color: #7f8a97;
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.inspector-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.inspector-field > span {
  color: #b7c0ca;
  font-size: 10px;
  font-weight: 700;
}

.inspector-field input,
.inspector-field select {
  width: 100%;
  min-height: 31px;
  border: 1px solid #39434f;
  border-radius: 7px;
  outline: none;
  background: #101419;
  color: #f1f5f9;
  padding: 0 7px;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
}

.inspector-field input:focus,
.inspector-field select:focus {
  border-color: var(--planner-green-2);
  box-shadow: 0 0 0 3px rgba(85, 214, 166, 0.1);
}

.inspector-field select {
  text-align: left;
}

.input-unit {
  position: relative;
}

.input-unit input {
  padding-right: 29px;
}

.input-unit > span {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  color: #65717e;
  pointer-events: none;
  font-size:10px;
  font-weight: 800;
}

.parallel-step-control {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.parallel-move-field {
  display: block;
}

.parallel-move-field > span {
  display: block;
  margin-bottom: 7px;
}

.parallel-step-control button {
  min-width: 0;
  min-height: 31px;
  border: 1px solid #39434f;
  border-radius: 7px;
  color: #c3ccd5;
  background: #14191f;
  cursor: pointer;
  font-size:10px;
  font-weight: 850;
}

.parallel-step-control button:hover,
.parallel-step-control button:focus-visible {
  border-color: rgba(85, 214, 166, 0.52);
  color: #a2efd3;
  outline: none;
}

.inspector-readout {
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid var(--planner-line-soft);
  border-radius: 8px;
  color: #9da8b4;
  background: #14191f;
  font-size:10px;
  line-height: 1.55;
}

.inspector-readout strong {
  color: #e6ebf0;
}

.inspector-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.inspector-choice button,
.inspector-action {
  min-height: 31px;
  border: 1px solid #39434f;
  border-radius: 7px;
  color: #bbc5cf;
  background: #14191f;
  cursor: pointer;
  font-size:10px;
  font-weight: 850;
}

.inspector-choice button.is-active,
.inspector-action.primary {
  border-color: rgba(85, 214, 166, 0.5);
  color: #a2efd3;
  background: rgba(85, 214, 166, 0.1);
}

.inspector-actions {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.inspector-actions.two {
  grid-template-columns: 1fr 1fr;
}

.inspector-action {
  padding: 0 8px;
}

.inspector-action.danger {
  border-color: rgba(255, 108, 114, 0.35);
  color: #ff9ba0;
  background: rgba(255, 108, 114, 0.07);
}

.inspector-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #b7c0ca;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.inspector-check input {
  accent-color: var(--planner-green-2);
}

.space-setup-panel {
  position: absolute;
  z-index: 31;
  top: 15px;
  right: 15px;
  width: min(330px, calc(100% - 30px));
  max-height: calc(100% - 78px);
  overflow: auto;
  border: 1px solid #46515f;
  border-radius: 12px;
  background: rgba(24, 29, 36, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.space-add-panel {
  position: absolute;
  z-index: 31;
  top: 12px;
  bottom: 12px;
  left: 12px;
  width: 286px;
  overflow: auto;
  border: 1px solid #46515f;
  border-radius: 12px;
  background: rgba(24, 29, 36, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.space-add-panel[hidden] {
  display: none;
}

.space-setup-panel.is-object-panel,
.space-setup-panel.is-treatment-panel,
.space-setup-panel.is-sound-panel {
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: 286px;
  max-height: none;
  overflow: auto;
}

.space-setup-panel.is-manually-positioned {
  right: auto;
}

.space-setup-panel[hidden] {
  display: none;
}

.space-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid var(--planner-line);
  background: #1b2028;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.space-panel-head:active {
  cursor: grabbing;
}

.space-setup-panel.is-object-panel .space-panel-head,
.space-setup-panel.is-treatment-panel .space-panel-head,
.space-setup-panel.is-sound-panel .space-panel-head,
.space-add-panel .space-panel-head {
  position: sticky;
  cursor: default;
}

.space-setup-panel.is-object-panel .space-panel-head:active,
.space-setup-panel.is-treatment-panel .space-panel-head:active,
.space-setup-panel.is-sound-panel .space-panel-head:active,
.space-add-panel .space-panel-head:active {
  cursor: default;
}

.space-panel-head h2 {
  margin: 0;
  font-size: 15px;
}

.space-panel-body {
  padding: 12px 14px 14px;
}

.space-panel-copy {
  margin: 0 0 12px;
  color: #8d98a4;
  font-size: 10px;
  line-height: 1.55;
}

.space-panel-field {
  display: block;
  margin-top: 10px;
}

.space-panel-field > span {
  display: block;
  margin-bottom: 6px;
  color: #b8c1ca;
  font-size:10px;
  font-weight: 800;
}

.space-panel-field select {
  width: 100%;
  min-height: 35px;
  border: 1px solid #39434f;
  border-radius: 8px;
  outline: none;
  padding: 0 9px;
  color: #e7edf3;
  background: #101419;
  font-size: 10px;
  font-weight: 750;
}

.material-preview {
  margin-top: 11px;
  padding: 11px;
  border: 1px solid var(--planner-line-soft);
  border-radius: 9px;
  background: #13181e;
}

.material-preview-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.material-swatch {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: var(--material-color, #68737e);
}

.material-preview strong {
  display: block;
  color: #e3e9ef;
  font-size: 11px;
}

.material-preview p {
  margin: 7px 0 0;
  color: #87929e;
  font-size:10px;
  line-height: 1.5;
}

.acoustic-bands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
}

.acoustic-bands span {
  min-width: 0;
  padding: 5px 1px;
  border: 1px solid #2d3540;
  border-radius: 5px;
  text-align: center;
  color: #778390;
  background: #101419;
  font-size:10px;
  line-height: 1.35;
}

.acoustic-bands strong {
  color: #cad3dc;
  font-size:10px;
}

.space-panel-actions {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.space-panel-actions button {
  min-height: 35px;
  border: 1px solid #3d4854;
  border-radius: 8px;
  color: #c3ccd5;
  background: #151a20;
  cursor: pointer;
  font-size:10px;
  font-weight: 900;
}

.space-panel-actions button.primary {
  border-color: rgba(85, 214, 166, 0.5);
  color: #a8f1d7;
  background: rgba(31, 174, 124, 0.14);
}

.space-panel-status {
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(104, 169, 255, 0.25);
  border-radius: 8px;
  color: #9bbbe4;
  background: rgba(104, 169, 255, 0.07);
  font-size:10px;
  line-height: 1.5;
}

.object-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.treatment-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.object-type-card.treatment-type-card {
  min-height: 64px;
  grid-template-rows: 38px auto;
}

.object-type-card.treatment-type-card svg {
  height: 38px;
}

.sound-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.object-type-card.sound-type-card {
  min-height: 64px;
  grid-template-rows: 38px auto;
}

.object-type-card.sound-type-card svg {
  height: 38px;
}

.treatment-plan-dash {
  stroke-dasharray: 5 4;
}

.object-type-card {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-rows: 44px auto;
  align-items: center;
  gap: 3px;
  border: 1px solid #343e49;
  border-radius: 9px;
  padding: 6px;
  color: #aeb8c2;
  background: #11161b;
  cursor: pointer;
  font-size:10px;
  font-weight: 900;
  line-height: 1.2;
}

.object-type-card:hover,
.object-type-card:focus-visible {
  border-color: #526274;
  outline: none;
}

.object-type-card.is-selected {
  border-color: rgba(85, 214, 166, 0.64);
  color: #baf3df;
  background: rgba(31, 174, 124, 0.12);
}

.object-type-card svg {
  width: 100%;
  height: 44px;
  overflow: visible;
}

.object-thumb-top {
  fill: #526171;
  stroke: none;
}

.object-thumb-side {
  fill: #303b47;
  stroke: none;
}

.object-thumb-front {
  fill: #3f4d5b;
  stroke: none;
}

.object-thumb-detail {
  fill: none;
  stroke: #8795a2;
  stroke-width: 1.3;
  stroke-linecap: round;
}

.object-type-card.is-selected .object-thumb-top {
  fill: #397d69;
}

.object-type-card.is-selected .object-thumb-side,
.object-type-card.is-selected .object-thumb-front {
  fill: #285e51;
}

.object-type-card.is-selected .object-thumb-detail {
  stroke: #79e1bb;
}

.object-form,
.object-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  margin-top: 12px;
}

.object-panel-layout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1fr) minmax(280px, 0.92fr);
  grid-template-areas:
    "types types create"
    "list editor editor";
  align-items: start;
  gap: 12px;
}

.space-setup-panel.is-treatment-panel .object-panel-layout {
  grid-template-columns: minmax(190px, 0.8fr) repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "types types types"
    "create create create"
    "list editor editor";
  gap: 8px;
}

.space-setup-panel.is-treatment-panel .object-create-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px;
  column-gap: 9px;
}

.space-setup-panel.is-treatment-panel .object-create-section h3 {
  grid-column: 1 / -1;
}

.space-setup-panel.is-treatment-panel .object-create-section .space-panel-copy {
  display: none;
}

.space-setup-panel.is-treatment-panel .object-create-section .object-form {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-column: 1;
}

.space-setup-panel.is-treatment-panel .object-create-section .space-panel-actions {
  grid-column: 2;
  align-self: end;
  margin-top: 0;
}

.space-setup-panel.is-treatment-panel .object-list-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.space-setup-panel.is-treatment-panel .object-editor-fields {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-top: 4px;
}

.space-setup-panel.is-treatment-panel .object-editor-note {
  display: none;
}

.space-setup-panel.is-treatment-panel .object-panel-layout .object-field input,
.space-setup-panel.is-treatment-panel .object-panel-layout .object-field select {
  min-height: 28px;
}

.space-setup-panel.is-treatment-panel .object-panel-layout .object-actions {
  margin-top: 5px;
}

.space-setup-panel.is-treatment-panel .object-actions button {
  min-height: 28px;
}

.object-panel-section {
  min-width: 0;
  padding: 8px;
  border: 1px solid #303a45;
  border-radius: 9px;
  background: #12171d;
}

.object-panel-section h3 {
  margin: 0 0 8px;
  color: #dbe3ea;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.object-type-section {
  grid-area: types;
}

.object-create-section {
  grid-area: create;
}

.object-create-section .space-panel-copy {
  margin-bottom: 8px;
  font-size:10px;
  line-height: 1.4;
}

.object-create-section .object-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 0;
}

.object-create-section .object-field.wide {
  grid-column: auto;
}

.object-create-section .object-name-field {
  grid-column: span 2;
}

.object-create-section .space-panel-actions {
  margin-top: 8px;
}

.object-field {
  min-width: 0;
}

.object-field.wide {
  grid-column: 1 / -1;
}

.object-field > span {
  display: block;
  margin-bottom: 5px;
  color: #9faab6;
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.object-field input,
.object-field select {
  width: 100%;
  min-height: 35px;
  border: 1px solid #3d4854;
  border-radius: 8px;
  outline: none;
  padding: 0 9px;
  color: #d6dee6;
  background: #11161b;
  font-size:10px;
  font-weight: 850;
}

.object-field input:focus,
.object-field select:focus {
  border-color: rgba(85, 214, 166, 0.62);
  box-shadow: 0 0 0 3px rgba(85, 214, 166, 0.08);
}

.object-list {
  grid-area: list;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.object-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #8f9aa6;
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.object-list-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.object-list-items button {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #343e49;
  border-radius: 7px;
  padding: 0 9px;
  color: #b8c2cc;
  background: #10151a;
  cursor: pointer;
  font-size:10px;
  font-weight: 850;
}

.object-list-items button.is-selected {
  border-color: rgba(85, 214, 166, 0.62);
  color: #baf3df;
  background: rgba(31, 174, 124, 0.13);
}

.object-list-empty {
  padding: 9px;
  border: 1px dashed #343d47;
  border-radius: 7px;
  text-align: center;
  color: #687480;
  font-size:10px;
  line-height: 1.45;
}

.object-editor {
  grid-area: editor;
  margin-top: 0;
}

.object-editor h3 {
  margin: 0;
  color: #e3e9ef;
  font-size: 12px;
}

.object-editor-note {
  margin: 7px 0 0;
  color: #788490;
  font-size:10px;
  line-height: 1.5;
}

.object-panel-layout .object-editor-fields {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.object-panel-layout .object-editor-fields .object-field.wide {
  grid-column: span 3;
}

.object-panel-layout .object-field input,
.object-panel-layout .object-field select {
  min-height: 32px;
}

.object-panel-layout .object-actions {
  margin-top: 8px;
}

.object-interaction-hint {
  position: absolute;
  z-index: 36;
  left: 50%;
  top: 50%;
  max-width: calc(100% - 30px);
  padding: 8px 11px;
  border: 1px solid rgba(85, 214, 166, 0.52);
  border-radius: 8px;
  color: #d8f8ec;
  background: rgba(17, 24, 29, 0.94);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, calc(-100% - 18px));
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-size:10px;
  font-weight: 850;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.speaker-coverage-controls {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 18;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(98, 213, 172, 0.48);
  border-radius: 11px;
  background: rgba(18, 24, 29, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  color: #dce7e2;
  font-size: 11px;
}
.speaker-coverage-controls[hidden] { display: none; }
.speaker-coverage-controls span { margin-left: 3px; }
.speaker-coverage-controls b { color: #62d5ac; }
.speaker-coverage-controls button {
  min-width: 38px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #46545d;
  border-radius: 7px;
  background: #263139;
  color: #f4f7f6;
  font-weight: 750;
}

.object-interaction-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(85, 214, 166, 0.52);
  border-bottom: 1px solid rgba(85, 214, 166, 0.52);
  background: rgba(17, 24, 29, 0.94);
  transform: translateX(-50%) rotate(45deg);
}

.object-interaction-hint span {
  margin: 0 5px;
  color: #697681;
}

.object-interaction-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 12px));
}

.object-interaction-hint[hidden] {
  display: none;
}

.object-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px;
}

.object-actions button {
  min-height: 34px;
  border: 1px solid rgba(85, 214, 166, 0.38);
  border-radius: 8px;
  color: #a8f1d7;
  background: rgba(31, 174, 124, 0.09);
  cursor: pointer;
  font-size:10px;
  font-weight: 900;
}

.object-actions button[data-object-action="delete"],
.object-actions button[data-treatment-action="delete"],
.object-actions button[data-speaker-action="delete"],
.object-actions button[data-sound-position-action="delete"] {
  border-color: rgba(255, 108, 114, 0.35);
  color: #ff9ba0;
  background: rgba(255, 108, 114, 0.07);
}

/* Narrow dual-side workspace panels for object and treatment placement. */
.object-add-layout,
.object-edit-layout {
  display: grid;
  gap: 8px;
}

.object-add-layout .object-type-section,
.object-add-layout .object-create-section,
.object-edit-layout .object-list,
.object-edit-layout .object-editor {
  grid-area: auto;
}

.space-add-panel .space-panel-body,
.space-setup-panel.is-object-panel .space-panel-body,
.space-setup-panel.is-treatment-panel .space-panel-body,
.space-setup-panel.is-sound-panel .space-panel-body {
  padding: 8px;
}

.space-add-panel .space-panel-body {
  padding-top: 6px;
  padding-bottom: 6px;
}

.space-add-panel .object-panel-section,
.space-setup-panel.is-object-panel .object-panel-section,
.space-setup-panel.is-treatment-panel .object-panel-section,
.space-setup-panel.is-sound-panel .object-panel-section {
  padding: 7px;
}

.space-add-panel .object-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.space-add-panel .object-type-card {
  min-height: 44px;
  grid-template-rows: 27px auto;
  gap: 1px;
  padding: 3px 4px;
  font-size:10px;
}

.space-add-panel .object-type-card svg,
.space-add-panel .object-type-card.treatment-type-card svg {
  height: 27px;
}

.space-add-panel .object-type-card.sound-type-card svg {
  height: 27px;
}

.space-add-panel .treatment-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.space-add-panel .sound-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.space-add-panel .object-type-card.treatment-type-card {
  min-height: 48px;
  grid-template-rows: 29px auto;
}

.space-add-panel .object-type-card.sound-type-card {
  min-height: 48px;
  grid-template-rows: 29px auto;
}

.space-add-panel .sound-add-layout {
  gap: 6px;
}

.space-add-panel .sound-add-layout .object-panel-section {
  padding: 6px;
}

.space-add-panel .sound-add-layout .object-type-card.sound-type-card {
  min-height: 44px;
  grid-template-rows: 25px auto;
}

.space-add-panel .sound-add-layout .object-type-card.sound-type-card svg {
  height: 25px;
}

.space-add-panel .object-create-section .space-panel-copy {
  display: none;
}

.space-add-panel .object-create-section .object-form,
.space-add-panel .object-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 0;
}

.space-add-panel .object-add-layout:not(.treatment-add-layout) .object-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.space-add-panel .object-name-field,
.space-add-panel .object-create-section .object-name-field,
.space-add-panel .object-create-section .object-field:nth-child(2) {
  grid-column: 1 / -1;
}

.space-add-panel .object-field input,
.space-add-panel .object-field select,
.space-setup-panel.is-object-panel .object-field input,
.space-setup-panel.is-object-panel .object-field select,
.space-setup-panel.is-treatment-panel .object-field input,
.space-setup-panel.is-treatment-panel .object-field select,
.space-setup-panel.is-sound-panel .object-field input,
.space-setup-panel.is-sound-panel .object-field select {
  min-height: 29px;
  padding: 0 7px;
}

.space-add-panel .space-panel-actions {
  margin-top: 6px;
}

.space-add-panel .space-panel-actions button {
  min-height: 31px;
}

.space-setup-panel.is-object-panel .object-list-items,
.space-setup-panel.is-treatment-panel .object-list-items,
.space-setup-panel.is-sound-panel .object-list-items {
  max-height: none;
  overflow: visible;
}

.space-setup-panel.is-object-panel .object-list-items button,
.space-setup-panel.is-treatment-panel .object-list-items button,
.space-setup-panel.is-sound-panel .object-list-items button {
  min-height: 30px;
  padding: 0 7px;
}

.space-setup-panel.is-object-panel .object-editor-fields,
.space-setup-panel.is-treatment-panel .object-editor-fields,
.space-setup-panel.is-treatment-panel .object-panel-layout .object-editor-fields,
.space-setup-panel.is-sound-panel .object-editor-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}

.space-setup-panel.is-object-panel .object-editor-fields .object-field.wide,
.space-setup-panel.is-treatment-panel .object-editor-fields .object-field.wide,
.space-setup-panel.is-treatment-panel .object-panel-layout .object-editor-fields .object-field.wide,
.space-setup-panel.is-sound-panel .object-editor-fields .object-field.wide {
  grid-column: 1 / -1;
}

.space-setup-panel.is-object-panel .object-editor-note,
.space-setup-panel.is-treatment-panel .object-editor-note,
.space-setup-panel.is-sound-panel .object-editor-note {
  margin-top: 5px;
}

.space-setup-panel.is-object-panel .object-actions,
.space-setup-panel.is-treatment-panel .object-actions,
.space-setup-panel.is-sound-panel .object-actions {
  margin-top: 7px;
}

.space-setup-panel.is-object-panel .object-actions button,
.space-setup-panel.is-treatment-panel .object-actions button,
.space-setup-panel.is-sound-panel .object-actions button {
  min-height: 31px;
}

.canvas-stage.has-dual-space-panels .view-navigation {
  left: 310px;
}

.canvas-stage.has-dual-space-panels .three-controls {
  right: 310px;
}

.view-navigation,
.three-controls,
.three-controls > span,
.three-controls label {
  white-space: nowrap;
}

.mobile-lock {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 8, 11, 0.84);
  backdrop-filter: blur(8px);
}

.mobile-lock[hidden] {
  display: none;
}

.mobile-lock-card {
  width: min(100%, 440px);
  padding: 23px;
  border: 1px solid #3b4652;
  border-radius: 16px;
  background: linear-gradient(180deg, #202630, #171c23);
  box-shadow: var(--planner-shadow);
}

.mobile-lock-kicker,
.dialog-kicker {
  margin: 0 0 8px;
  color: var(--planner-green);
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mobile-lock-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.mobile-lock-card > p:not(.mobile-lock-kicker) {
  margin: 13px 0 0;
  color: #a7b1bc;
  font-size: 13px;
  line-height: 1.6;
}

.mobile-lock-actions,
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.mobile-lock-actions button,
.dialog-actions button {
  min-height: 36px;
  border: 1px solid #44505e;
  border-radius: 8px;
  padding: 0 13px;
  color: #c5ced7;
  background: #151a20;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.mobile-lock-actions button.primary,
.dialog-actions button.primary {
  border-color: rgba(85, 214, 166, 0.52);
  color: #a8f1d7;
  background: rgba(31, 174, 124, 0.18);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 10, 0.75);
  backdrop-filter: blur(7px);
}

.modal-backdrop[hidden] {
  display: none;
}

.dialog-card {
  width: min(100%, 900px);
  max-height: min(92dvh, 760px);
  overflow: auto;
  border: 1px solid #3a4552;
  border-radius: 16px;
  background: linear-gradient(180deg, #1c222a, #151a20);
  box-shadow: var(--planner-shadow);
}

.engine-check-dialog { max-width: 720px; }
.engine-check-body { padding: 0 24px 22px; }
.engine-check-status { display:flex; align-items:center; gap:12px; padding:14px 16px; margin-bottom:16px; border:1px solid #354552; border-radius:12px; background:#16212a; }
.engine-check-status strong { color:#8fe0be; font-size:18px; }
.engine-check-status.has-errors strong { color:#ff8d83; }
.engine-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.engine-check-metric { padding:12px; border:1px solid #31404c; border-radius:10px; background:#111b23; }
.engine-check-metric span { display:block; color:#8193a1; font-size:11px; font-weight:800; letter-spacing:.05em; }
.engine-check-metric strong { display:block; margin-top:5px; color:#edf5fa; font-size:18px; }
.engine-check-issues { margin:16px 0 0; padding-left:20px; color:#c8d3db; }
.engine-check-issues li + li { margin-top:6px; }
@media (max-width:720px) { .engine-check-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.direct-sound-dialog { max-width:900px; }
.direct-sound-body { padding:0 24px 22px; max-height:min(68vh,720px); overflow:auto; }
.direct-sound-select { display:flex; justify-content:space-between; align-items:end; gap:16px; padding:14px 16px; margin-bottom:14px; border:1px solid #354552; border-radius:12px; background:#16212a; }
.direct-sound-select label { flex:1; }
.direct-sound-select span { display:block; color:#8193a1; font-size:11px; font-weight:800; letter-spacing:.05em; }
.direct-sound-select select { width:100%; min-height:40px; margin-top:6px; padding:0 10px; color:#edf5fa; border:1px solid #425360; border-radius:8px; background:#101920; }
.direct-sound-select > div strong { display:block; margin-top:8px; color:#edf5fa; }
.direct-pair-card { display:flex; justify-content:space-between; gap:18px; padding:13px 15px; margin-bottom:14px; border:1px solid #385566; border-radius:11px; background:#13232d; }
.direct-pair-card > div:first-child span,.direct-route-card header span { display:block; color:#8193a1; font-size:10px; font-weight:800; letter-spacing:.06em; }
.direct-pair-card > div:first-child strong,.direct-route-card header strong { display:block; margin-top:4px; color:#edf5fa; }
.direct-pair-values { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; color:#b8c8d2; font-size:12px; }
.direct-pair-values span { padding:5px 8px; border-radius:6px; background:#0f1920; }
.direct-route-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.direct-route-card { padding:14px; border:1px solid #31404c; border-radius:11px; background:#111b23; }
.direct-route-card header { display:flex; align-items:start; justify-content:space-between; gap:10px; }
.direct-route-card header b,.direct-pair-values b { padding:5px 7px; border-radius:999px; font-size:10px; letter-spacing:.05em; white-space:nowrap; }
.status-balanced { color:#8fe0be; background:rgba(55,164,123,.17); }
.status-check { color:#ffd17c; background:rgba(196,139,38,.18); }
.status-mismatch { color:#ff9a91; background:rgba(205,76,66,.18); }
.status-reference { color:#8fd7ff; background:rgba(64,145,190,.18); }
.direct-route-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:13px; }
.direct-route-grid > div { padding:9px 10px; border-radius:8px; background:#0d161d; }
.direct-route-grid > div > span:first-child { display:block; color:#70828f; font-size:10px; font-weight:800; letter-spacing:.05em; }
.direct-route-grid strong { display:inline-block; margin-top:5px; color:#f3f8fb; font-size:17px; }
.direct-route-grid strong + span { margin-left:4px; color:#92a3af; font-size:11px; }
.direct-route-grid .reflection-surface-value { grid-column:1 / -1; }
.direct-route-grid .reflection-surface-value strong { font-size:13px; line-height:1.35; }
.reflection-band-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; margin-top:8px; }
.reflection-band-grid span { min-width:0; padding:6px 4px; border:1px solid #293742; border-radius:6px; background:#0d161d; text-align:center; }
.reflection-band-grid i,.reflection-band-grid b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reflection-band-grid i { color:#71838f; font-size:10px; font-style:normal; }
.reflection-band-grid b { margin-top:3px; color:#dce7ed; font-size:10px; }
.direct-sound-note { margin:14px 1px 0; color:#9eafb9; font-size:12px; line-height:1.55; }
.direct-sound-empty { padding:22px; border:1px solid #59494a; border-radius:12px; background:#251b1d; }
.direct-sound-empty strong { color:#ffaca4; }
.direct-sound-empty p { margin:8px 0 0; color:#c9b8ba; }
@media (max-width:720px) {
  .direct-route-list { grid-template-columns:1fr; }
  .direct-sound-select,.direct-pair-card { align-items:stretch; flex-direction:column; }
  .direct-pair-values { justify-content:flex-start; }
}

.projects-dialog {
  width: min(100%, 660px);
}

.compact-dialog {
  width: min(100%, 520px);
}

.wall-editor-dialog {
  width: min(100%, 1120px);
  max-height: min(94dvh, 850px);
}

.wall-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  padding: 14px 18px 10px;
}

.wall-editor-toolbar label {
  min-width: 190px;
  margin-right: auto;
}

.wall-editor-toolbar label > span,
.opening-field > span {
  display: block;
  margin-bottom: 5px;
  color: #9faab6;
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.wall-editor-toolbar select,
.wall-editor-toolbar button,
.opening-field input,
.opening-field select {
  min-height: 35px;
  border: 1px solid #3d4854;
  border-radius: 8px;
  outline: none;
  padding: 0 10px;
  color: #d6dee6;
  background: #11161b;
  font-size:10px;
  font-weight: 850;
}

.wall-editor-toolbar button {
  cursor: pointer;
}

.wall-editor-toolbar button:disabled {
  opacity: 0.4;
  cursor: default;
}

.wall-editor-toolbar button:hover {
  border-color: rgba(85, 214, 166, 0.52);
  color: #a8f1d7;
}

.wall-editor-layout {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 12px;
  padding: 2px 18px 2px;
}

.wall-elevation-wrap {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#wallElevation {
  width: 100%;
  min-height: 360px;
  flex: 1 1 auto;
  border: 1px solid #313a45;
  border-radius: 10px;
  background: #0e1216;
  touch-action: none;
}

.wall-elevation-wrap > p {
  margin: 7px 2px 0;
  color: #737f8b;
  font-size:10px;
}

.opening-editor {
  min-width: 0;
  padding: 12px;
  border: 1px solid #313a45;
  border-radius: 10px;
  background: #12171d;
  overflow: auto;
}

.opening-editor-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #6f7a86;
  font-size: 10px;
}

.opening-editor h3 {
  margin: 0 0 12px;
  color: #e3e9ef;
  font-size: 14px;
}

.wall-feature-list {
  margin-bottom: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2c343e;
}

.wall-feature-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #8f9aa6;
  font-size:10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.wall-feature-list-head span:last-child {
  color: #68737f;
}

.wall-feature-list-items {
  display: grid;
  gap: 5px;
}

.wall-feature-list-items button {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #343e49;
  border-radius: 7px;
  padding: 0 9px;
  color: #b8c2cc;
  background: #10151a;
  cursor: pointer;
  font-size:10px;
  font-weight: 850;
}

.wall-feature-list-items button.is-selected {
  border-color: rgba(85, 214, 166, 0.62);
  color: #baf3df;
  background: rgba(31, 174, 124, 0.13);
}

.wall-feature-list-empty {
  padding: 9px;
  border: 1px dashed #343d47;
  border-radius: 7px;
  text-align: center;
  color: #687480;
  font-size:10px;
  line-height: 1.45;
}

.opening-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 9px;
}

.opening-field {
  min-width: 0;
}

.opening-field.wide {
  grid-column: 1 / -1;
}

.opening-field input,
.opening-field select {
  width: 100%;
  text-align: right;
}

.opening-field select {
  text-align: left;
}

.opening-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 14px;
}

.opening-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 108, 114, 0.35);
  border-radius: 8px;
  color: #ff9ba0;
  background: rgba(255, 108, 114, 0.07);
  cursor: pointer;
  font-size:10px;
  font-weight: 900;
}

.opening-actions button[data-opening-action="duplicate"] {
  border-color: rgba(85, 214, 166, 0.38);
  color: #a8f1d7;
  background: rgba(31, 174, 124, 0.09);
}

.wall-elevation-surface {
  stroke: #8e9aa6;
  stroke-width: 2;
}

.wall-elevation-opening {
  cursor: ew-resize;
  stroke-width: 4;
}

.wall-elevation-opening.is-selected {
  stroke: #55d6a6;
}

.wall-elevation-opening.is-surface-feature {
  stroke-dasharray: 8 5;
}

.wall-elevation-dimension {
  fill: #8e99a5;
  font-size: 16px;
  font-weight: 800;
}

.wall-elevation-label {
  fill: #d7dfe7;
  font-size: 17px;
  font-weight: 900;
  pointer-events: none;
}

/* Large, consistent number controls with press-and-hold stepping. */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.number-stepper {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.project-fields .number-stepper,
.opening-field .number-stepper,
.dialog-card label .number-stepper {
  width: 100%;
}

.number-stepper > input[type="number"] {
  min-width: 0;
  flex: 1 1 auto;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.number-stepper-buttons {
  flex: 0 0 28px;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.number-stepper-button {
  width: 28px;
  min-height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #46515e;
  padding: 0;
  color: #d3dce5;
  background: #202731;
  cursor: pointer;
  font-size: 0;
  font-weight: 950;
  line-height: 1;
  touch-action: none;
  user-select: none;
}

.number-stepper-button::before {
  content: "";
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.number-stepper-button[data-number-step="1"]::before {
  border-bottom: 7px solid currentColor;
}

.number-stepper-button[data-number-step="-1"]::before {
  border-top: 7px solid currentColor;
}

.number-stepper-button:first-child {
  border-radius: 0 7px 0 0;
}

.number-stepper-button:last-child {
  margin-top: -1px;
  border-radius: 0 0 7px 0;
}

.number-stepper-button:hover,
.number-stepper-button:active {
  border-color: rgba(85, 214, 166, 0.68);
  color: #b7f5de;
  background: #26352f;
}

.number-stepper-button:disabled,
.number-stepper:has(input:disabled) .number-stepper-button {
  opacity: 0.32;
  cursor: default;
}

.input-unit .number-stepper {
  min-width: 0;
  flex: 1 1 auto;
}

.input-unit .number-stepper > input {
  width: 100%;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid var(--planner-line);
}

.dialog-head h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
}

.dialog-head p:not(.dialog-kicker) {
  margin: 6px 0 0;
  color: var(--planner-muted);
  font-size: 12px;
}

.dialog-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid #39434f;
  border-radius: 8px;
  background: #11151a;
  color: #9aa5b1;
  cursor: pointer;
  font-size: 20px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  padding: 18px 22px 8px;
}

.template-card {
  position: relative;
  min-width: 0;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #34404b;
  border-radius: 11px;
  color: #93a0ad;
  background: #13181e;
  cursor: pointer;
  font-size:10px;
  letter-spacing: 0.04em;
  outline: none;
}

.template-card:hover,
.template-card:focus-visible {
  border-color: #566474;
  color: #c8d1da;
}

.template-card.is-selected {
  border-color: rgba(85, 214, 166, 0.65);
  color: #b1f3dc;
  background: rgba(85, 214, 166, 0.08);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 166, 0.08);
}

.template-card svg {
  width: min(100%, 105px);
  height: 63px;
  overflow: visible;
}

.template-card .template-shape {
  transform-box: view-box;
  transform-origin: center;
  transition: transform 160ms ease;
}

.template-card path {
  fill: rgba(104, 169, 255, 0.08);
  stroke: currentColor;
  stroke-width: 3;
  stroke-linejoin: round;
}

.template-rotate {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  width: 27px;
  height: 27px;
  border: 1px solid #3c4854;
  border-radius: 50%;
  color: #a8b3be;
  background: #101419;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.template-rotate:hover,
.template-rotate:focus-visible {
  border-color: rgba(85, 214, 166, 0.58);
  color: #a8f1d7;
  outline: none;
}

.project-fields {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 10px;
  padding: 13px 22px 2px;
}

.project-fields label {
  min-width: 0;
}

.project-fields label > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #aab4be;
  font-size: 10px;
  font-weight: 750;
}

.project-fields small {
  color: #687480;
  font-size:10px;
}

.project-fields input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #39434f;
  border-radius: 8px;
  outline: none;
  background: #101419;
  color: #edf2f7;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 750;
}

.project-fields input:focus {
  border-color: var(--planner-green-2);
  box-shadow: 0 0 0 3px rgba(85, 214, 166, 0.1);
}

.compact-dialog-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 22px 2px;
}

.compact-dialog-fields label > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #aab4be;
  font-size: 10px;
  font-weight: 750;
}

.compact-dialog-fields small {
  color: #687480;
  font-size:10px;
}

.compact-dialog-fields input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #39434f;
  border-radius: 8px;
  outline: none;
  background: #101419;
  color: #edf2f7;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 750;
}

.compact-dialog-fields input:focus {
  border-color: var(--planner-green-2);
  box-shadow: 0 0 0 3px rgba(85, 214, 166, 0.1);
}

.dialog-actions {
  padding: 16px 22px 20px;
}

.projects-list {
  min-height: 150px;
  max-height: 480px;
  overflow: auto;
  padding: 14px 20px 4px;
}

.project-list-empty {
  padding: 46px 18px;
  text-align: center;
  color: #76818d;
  font-size: 11px;
}

.project-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--planner-line);
  border-radius: 10px;
  background: #12171d;
}

.project-list-item + .project-list-item {
  margin-top: 7px;
}

.project-list-item.is-current {
  border-color: rgba(85, 214, 166, 0.45);
  background: rgba(85, 214, 166, 0.055);
}

.project-list-main {
  min-width: 0;
}

.project-list-main strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e5eaf0;
  font-size: 12px;
}

.project-list-main span {
  display: block;
  margin-top: 4px;
  color: #76818d;
  font-size:10px;
}

.sample-banner[hidden] {
  display: none;
}

.project-list-actions {
  display: flex;
  gap: 5px;
}

.project-list-actions button {
  min-height: 29px;
  border: 1px solid #39434f;
  border-radius: 7px;
  padding: 0 8px;
  color: #aeb8c2;
  background: #181d24;
  cursor: pointer;
  font-size:10px;
  font-weight: 850;
}

.project-list-actions button.danger {
  color: #ff989d;
}

.confirm-toast {
  position: fixed;
  z-index: 4100;
  left: 50%;
  bottom: 44px;
  transform: translate(-50%, 18px);
  min-width: 220px;
  max-width: calc(100% - 30px);
  padding: 11px 15px;
  border: 1px solid #485462;
  border-radius: 9px;
  color: #e3e9ef;
  background: rgba(25, 31, 38, 0.97);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  font-size: 10px;
  font-weight: 800;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.confirm-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .analysis-layer-controls.avoid-side-panel{right:268px}
  .space-add-panel,
  .space-setup-panel.is-object-panel,
  .space-setup-panel.is-treatment-panel,
  .space-setup-panel.is-sound-panel {
    width: 244px;
  }

  .canvas-stage.has-dual-space-panels .view-navigation {
    left: 268px;
  }

  .canvas-stage.has-dual-space-panels .three-controls {
    right: 268px;
  }

  .tool-button {
    padding: 0 8px;
  }

  .toolbar-project .tool-button span:last-child,
  #addColumnButton span:last-child {
    display: none;
  }

  .toolbar-project .tool-button,
  #addColumnButton {
    width: 34px;
    padding: 0;
  }

  .project-fields {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .room-mode-hud.is-integrated{width:min(430px,calc(100% - 20px))}
  .integrated-snapshot,.integrated-frequency-list{grid-template-columns:1fr}
}

@media (max-width: 820px) {
  html,
  body {
    overflow: hidden;
  }

  .planner-shell {
    min-height: 520px;
    grid-template-rows: auto auto auto minmax(0, 1fr);
  }

  .planner-site-nav {
    min-height: 48px;
    padding: 8px 10px;
    flex-direction: row;
    align-items: center;
  }

  .planner-site-nav .site-links {
    margin-left: auto;
  }

  .planner-titlebar {
    padding: 9px 10px;
  }

  .planner-heading p {
    display: none;
  }

  .planner-heading h1 {
    font-size: 18px;
  }

  .project-status span:last-child {
    display: none;
  }

  .project-state-dot {
    grid-row: auto;
  }

  .planner-toolbar {
    min-height: 44px;
    padding: 5px 7px;
  }

  .planner-toolbar .toolbar-project .tool-button:not(#openFileButton),
  .planner-toolbar .toolbar-divider,
  .planner-toolbar #undoButton,
  .planner-toolbar #redoButton,
  .planner-toolbar #addColumnButton,
  .planner-toolbar #continueSpaceSetupButton,
  .planner-toolbar #materialsButton,
  .planner-toolbar #openingsButton,
  .planner-toolbar #roomObjectsButton,
  .planner-toolbar #treatmentsButton,
  .planner-toolbar #speakersButton,
  .planner-toolbar #soundPositionsButton {
    display: none;
  }

  .planner-toolbar #openFileButton {
    display: inline-flex;
  }

  .canvas-hint {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }

  .canvas-hint span {
    display: none;
  }

  .sample-banner {
    top: auto;
    right: auto;
    left: 10px;
    bottom: 56px;
    max-width: calc(100% - 20px);
  }

  .sample-banner button {
    display: none;
  }

  .three-controls {
    right: 10px;
    bottom: 10px;
  }

  .three-controls > span {
    display: none;
  }

  .view-navigation {
    left: 10px;
    bottom: 10px;
  }

  .canvas-stage.has-dual-space-panels .view-navigation {
    left: 10px;
  }

  .canvas-stage.has-dual-space-panels .three-controls {
    right: 10px;
  }

  .workspace-footer {
    padding: 0 9px;
  }

  #selectionSummary {
    display: none;
  }

  .element-inspector {
    display: none !important;
  }

  .workflow-bar {
    min-height: 37px;
    padding: 4px 7px;
  }

  .workflow-step {
    min-height: 27px;
    padding: 0 7px;
  }

  .workflow-step small,
  .workflow-bar > p {
    display: none;
  }

  .space-setup-panel {
    display: none !important;
  }

  .space-add-panel {
    display: none !important;
  }

  .wall-editor-layout {
    grid-template-columns: 1fr;
  }

  .wall-editor-toolbar {
    flex-wrap: wrap;
  }

  .wall-editor-toolbar label {
    width: 100%;
  }

  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-fields {
    grid-template-columns: 1fr 1fr;
  }

  .project-fields .field-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .room-mode-hud {
    left: 10px;
    width: calc(100% - 20px);
    max-width: 304px;
  }

  .room-mode-quality,
  .room-mode-simplification {
    align-items: stretch;
    flex-direction: column;
  }

  .room-mode-quality select {
    width: 100%;
    min-width: 0;
  }

  .room-mode-simplification span {
    text-align: left;
  }

  .room-mode-dialog-actions {
    grid-template-columns: 1fr 1fr;
  }

  .room-mode-static-copy {
    padding-right: 15px;
    padding-left: 15px;
  }

  .site-brand {
    font-size: 18px;
  }

  .planner-site-nav .site-links a {
    font-size:10px;
  }

  .planner-title-row {
    gap: 7px;
  }

  .beta-badge {
    min-height: 18px;
    font-size:10px;
  }

  .project-status strong {
    max-width: 29vw;
    font-size: 10px;
  }

  .view-button {
    min-width: 65px;
    padding: 0 7px;
    font-size:10px;
  }

  .template-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px 15px 6px;
  }

  .template-card {
    min-height: 105px;
  }

  .project-fields {
    padding: 10px 15px 0;
  }

  .compact-dialog-fields {
    grid-template-columns: 1fr;
    padding: 14px 15px 0;
  }

  .dialog-head {
    padding: 17px 15px 14px;
  }

  .dialog-actions {
    padding: 13px 15px 16px;
  }

  .projects-list {
    padding: 12px 13px 2px;
  }

  .project-list-item {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 690px) and (min-width: 821px) {
  .planner-site-nav {
    min-height: 48px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .planner-titlebar {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .planner-heading p {
    margin-top: 4px;
  }

  .planner-toolbar {
    min-height: 43px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .tool-button {
    min-height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* V261 dense workspace menus, transient editors, and analysis HUD. */
.planner-toolbar {
  position: relative;
  gap: 8px;
  min-height: 43px;
  padding-top: 5px;
  padding-bottom: 5px;
  overflow: visible;
}

.toolbar-history {
  flex: 0 0 auto;
  padding-right: 7px;
  border-right: 1px solid var(--planner-line);
}

.toolbar-menus {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.toolbar-menu {
  position: relative;
}

.toolbar-menu > summary {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #aab4bf;
  cursor: pointer;
  list-style: none;
  font-size:10px;
  font-weight: 900;
  letter-spacing: .06em;
  user-select: none;
}

.toolbar-menu > summary::-webkit-details-marker { display: none; }
.toolbar-menu > summary i { color: #65727e; font-size:10px; font-style: normal; }
.toolbar-menu > summary:hover,
.toolbar-menu[open] > summary { border-color: #3a4651; background: #1b2229; color: #eff4f7; }
.toolbar-menu:has(.tool-button.is-active) > summary { color: #a9e8d2; }
.toolbar-menu[open] > summary i { transform: rotate(180deg); }

.toolbar-menu-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  width: 208px;
  display: grid;
  gap: 2px;
  padding: 5px;
  border: 1px solid #394550;
  border-radius: 5px;
  background: rgba(19, 24, 29, .98);
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
}

.toolbar-menu-panel-wide { width: 226px; }
.toolbar-view .toolbar-menu-panel { left: auto; right: 0; }
.toolbar-menu-panel .tool-button {
  width: 100%;
  min-height: 31px;
  justify-content: flex-start;
  border-color: transparent;
  border-radius: 3px;
  background: transparent;
  padding: 0 9px;
  font-size:10px;
}
.toolbar-menu-panel .tool-button:hover { border-color: #34414c; background: #222b33; }
.toolbar-menu-panel .tool-button-primary { color: #a7ead3; }

.space-add-panel,
.space-setup-panel,
.space-setup-panel.is-object-panel,
.space-setup-panel.is-treatment-panel,
.space-setup-panel.is-sound-panel {
  top: 10px;
  bottom: auto;
  width: 270px;
  max-height: calc(100% - 68px);
  border-radius: 5px;
  background: rgba(20,25,31,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
}
.space-add-panel { left: 10px; }
.space-setup-panel,
.space-setup-panel.is-object-panel,
.space-setup-panel.is-treatment-panel,
.space-setup-panel.is-sound-panel { right: 10px; }
.space-panel-head { padding: 8px 10px 7px; gap: 8px; }
.space-panel-head h2 { font-size: 12px; }
.space-panel-body { padding: 8px 9px 10px; }
.space-panel-copy { margin-bottom: 8px; font-size:10px; line-height: 1.4; }
.object-panel-section { padding: 8px; border-radius: 4px; }
.object-panel-section h3 { margin-bottom: 7px; font-size:10px; }
.object-type-grid { gap: 4px; }
.object-field > span { margin-bottom: 3px; font-size:10px; }
.space-add-panel .object-field input,
.space-add-panel .object-field select,
.space-setup-panel.is-object-panel .object-field input,
.space-setup-panel.is-object-panel .object-field select,
.space-setup-panel.is-treatment-panel .object-field input,
.space-setup-panel.is-treatment-panel .object-field select,
.space-setup-panel.is-sound-panel .object-field input,
.space-setup-panel.is-sound-panel .object-field select { min-height: 28px; border-radius: 4px; font-size:10px; }
.space-panel-actions button,
.object-actions button { min-height: 30px; border-radius: 4px; font-size:10px; }

.room-mode-hud.analysis-hud {
  left: 12px;
  top: 10px;
  width: 338px;
  padding: 0;
  border-radius: 5px;
  border-color: rgba(104,169,255,.38);
  background: rgba(14,19,24,.89);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.analysis-hud-head {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 7px 5px 9px;
  border-bottom: 1px solid #303a44;
  background: rgba(25,32,39,.86);
  cursor: move;
  user-select: none;
}
.analysis-hud-head > div { display: flex; align-items: baseline; gap: 7px; }
.analysis-hud-head span { color: #70818d; font-size:10px; font-weight: 900; letter-spacing: .08em; }
.analysis-hud-head strong { color: #e5edf2; font-size: 10px; letter-spacing: .06em; }
.analysis-hud-head button {
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #91a0aa;
  cursor: pointer;
  font-size: 17px;
}
.analysis-hud-head button:hover { background: #2a343d; color: #fff; }

.analysis-hud .analysis-layer-controls {
  position: static;
  width: auto;
  max-height: none;
  overflow: visible;
  padding: 7px 9px;
  border: 0;
  border-bottom: 1px solid #29343e;
  border-radius: 0;
  background: rgba(13,18,22,.64);
  box-shadow: none;
}
.analysis-hud .analysis-layer-controls > strong { margin-bottom: 5px; color: #7f92a0; font-size:10px; }
.analysis-hud .analysis-layer-controls > div > div { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 6px; }
.analysis-hud .analysis-layer-controls label { min-height: 20px; font-size:10px; }
.analysis-hud .analysis-layer-controls input { width: 11px; height: 11px; }
.analysis-hud .analysis-layer-controls hr { margin: 5px 0; }

.room-mode-hud-content,
.analysis-hud-summary { padding: 8px 9px 9px; }
.room-mode-hud-content[hidden],
.analysis-hud-summary[hidden] { display: none; }
.room-mode-hud-content > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; }
.room-mode-hud-content > div:first-child span { color: #ff8a69; font-size: 15px; font-weight: 900; }
.room-mode-hud-content > div:first-child strong { color: #d9c7c1; font-size:10px; letter-spacing: .06em; text-align: right; }
.room-mode-hud .room-mode-view-toggle { margin-top: 6px; padding: 2px; border-radius: 4px; }
.room-mode-hud .room-mode-view-toggle button { min-height: 24px; border-radius: 3px; }
.room-mode-hud-selector { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 4px; margin-top: 6px; }
.room-mode-hud-selector button,
.room-mode-hud-selector select { height: 30px; border-radius: 4px; }
.room-mode-hud-selector button { font-size: 19px; }
.room-mode-hud-meter { height: 4px; margin: 6px 0; }
.room-mode-hud small { margin-top: 6px; font-size:10px; }

.analysis-hud-select { display: block; }
.analysis-hud-select > span { display: block; margin-bottom: 3px; color: #71828e; font-size:10px; font-weight: 900; letter-spacing: .07em; }
.analysis-hud-select select { width: 100%; height: 28px; padding: 0 7px; border: 1px solid #3a4651; border-radius: 3px; background: #182129; color: #e7eef2; font-size:10px; font-weight: 800; }
.analysis-data-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 6px; border-top: 1px solid #2b3640; border-left: 1px solid #2b3640; }
.analysis-data-grid > span { min-width: 0; padding: 5px 5px 4px; border-right: 1px solid #2b3640; border-bottom: 1px solid #2b3640; color: #72838f; font-size:10px; font-weight: 900; letter-spacing: .05em; }
.analysis-data-grid b { display: block; margin-top: 3px; overflow: hidden; color: #e3ebef; text-overflow: ellipsis; white-space: nowrap; font-size:10px; letter-spacing: 0; }
.analysis-hud-summary > small { display: block; margin-top: 6px; color: #74838e; font-size:10px; line-height: 1.35; }
.analysis-hud-empty { margin: 0; padding: 8px; color: #ffb08d; font-size:10px; font-weight: 900; }
.analysis-reflection-list { display:grid; gap:3px; margin-top:6px; }
.analysis-reflection-list > span { display:grid; grid-template-columns:72px minmax(0,1fr) 84px; align-items:center; gap:5px; min-height:21px; padding:3px 5px; border:1px solid #293640; border-radius:3px; background:rgba(18,26,33,.72); }
.analysis-reflection-list i,.analysis-reflection-list b,.analysis-reflection-list em { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-style:normal; }
.analysis-reflection-list i { color:#80919c; font-size:10px; }
.analysis-reflection-list b { color:#dce6eb; font-size:10px; }
.analysis-reflection-list em { color:#f0b270; font-size:10px; text-align:right; }
.analysis-hud-detail-button { width:100%; min-height:24px; margin-top:6px; border:1px solid #3b4a55; border-radius:3px; background:#1a252d; color:#cbd8df; cursor:pointer; font-size:10px; font-weight:900; letter-spacing:.06em; }
.analysis-hud-detail-button:hover { border-color:#63839a; background:#22313c; color:#fff; }

/* V265.1 movable live-analysis workspace. */
.space-add-panel-head,
.space-panel-head,
.analysis-detail-head,
.modeless-panel-backdrop .dialog-head {
  cursor: move;
  user-select: none;
  touch-action: none;
}

.room-mode-hud.is-layout-positioned,
.element-inspector.is-layout-positioned,
.space-add-panel.is-layout-positioned,
.space-setup-panel.is-layout-positioned,
.analysis-detail-panel.is-layout-positioned {
  right: auto !important;
  bottom: auto !important;
}

.analysis-detail-panel {
  position: absolute;
  z-index: 34;
  top: 10px;
  right: 12px;
  width: min(430px,calc(100% - 24px));
  max-height: calc(100% - 20px);
  overflow: hidden;
  border: 1px solid rgba(104,169,255,.42);
  border-radius: 6px;
  background: rgba(13,18,23,.96);
  box-shadow: 0 16px 38px rgba(0,0,0,.42);
  color: #dce6ed;
  backdrop-filter: blur(7px);
}

.analysis-detail-panel[hidden] { display: none; }

.analysis-detail-head {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 6px 5px 10px;
  border-bottom: 1px solid #303a44;
  background: rgba(25,32,39,.94);
}

.analysis-detail-head > div:first-child { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.analysis-detail-head span { color: #738694; font-size:10px; font-weight: 900; letter-spacing: .08em; }
.analysis-detail-head strong { overflow: hidden; color: #e5edf2; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; letter-spacing: .05em; }
.floating-panel-actions { display: flex; gap: 3px; flex: none; }
.floating-panel-actions button {
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #91a0aa;
  cursor: pointer;
  font-size: 17px;
}
.floating-panel-actions button:hover { background: #2a343d; color: #fff; }

.analysis-detail-body {
  display: grid;
  grid-template-columns: 154px minmax(0,1fr);
  min-height: 330px;
  max-height: calc(100vh - 235px);
}
.analysis-detail-panel.is-user-resized .analysis-detail-body {
  height: calc(100% - 42px);
  min-height: 0;
  max-height: none;
}
.analysis-detail-resize-handle {
  position: relative;
  height: 8px;
  flex: none;
  border-top: 1px solid #26333d;
  background: rgba(18,25,31,.94);
  cursor: ns-resize;
  touch-action: none;
}
.analysis-detail-resize-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 34px;
  height: 1px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #51616d;
}
.analysis-path-list { min-width: 0; overflow: auto; border-right: 1px solid #2d3842; padding: 6px; }
.analysis-path-list button {
  width: 100%;
  display: grid;
  gap: 2px;
  margin-bottom: 4px;
  padding: 7px 8px;
  border: 1px solid #2e3a44;
  border-radius: 4px;
  background: #111920;
  color: #bdcbd3;
  text-align: left;
  cursor: pointer;
}
.analysis-path-list button:hover { border-color: #536c7d; background: #18242d; }
.analysis-path-list button.is-selected { border-color: #ff9c4a; background: rgba(255,156,74,.10); }
.analysis-path-list button b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e8eff3; font-size:10px; }
.analysis-path-list button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #788a96; font-size:10px; }
.analysis-path-list button em { color: #f0b270; font-size:10px; font-style: normal; }
.analysis-path-detail { min-width: 0; overflow: auto; padding: 9px; }
.analysis-path-detail > header { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.analysis-path-detail > header span { display: block; color: #748793; font-size:10px; font-weight: 900; }
.analysis-path-detail > header strong { display: block; margin-top: 3px; color: #edf3f6; font-size: 10px; }
.analysis-path-detail > header b { padding: 4px 6px; border-radius: 999px; font-size:10px; letter-spacing: .05em; }
.analysis-path-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #2b3740; border-left: 1px solid #2b3740; }
.analysis-path-metrics span { padding: 6px; border-right: 1px solid #2b3740; border-bottom: 1px solid #2b3740; color: #748691; font-size:10px; font-weight: 900; }
.analysis-path-metrics b { display: block; margin-top: 3px; color: #e4edf1; font-size:10px; }
.analysis-path-bands { display: grid; gap: 0; margin-top: 5px; }
.analysis-path-band { display: grid; grid-template-columns: 42px repeat(3,minmax(0,1fr)); gap: 3px; align-items: center; min-height: 18px; padding: 1px 0; border-bottom: 1px solid #26323b; color: #7d8f9a; font-size:10px; line-height:1.05; }
.analysis-path-band > b { color: #dce6eb; font-size:10px; }
.analysis-path-band > span { text-align: right; }
.analysis-path-band-head { color: #657784; font-weight: 900; }
.analysis-detail-panel.is-minimized { height: auto !important; max-height: none; }
.analysis-detail-panel.is-minimized .analysis-detail-body { display: none; }
.analysis-detail-panel.is-minimized .analysis-detail-resize-handle { display: none; }

.modeless-panel-backdrop {
  pointer-events: none;
  display: block;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}
.modeless-panel-backdrop[hidden] { display: none; }
.modeless-panel-backdrop .floating-wall-editor {
  position: fixed;
  top: 86px;
  right: 18px;
  width: min(920px,calc(100vw - 36px));
  max-height: calc(100dvh - 108px);
  pointer-events: auto;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0,0,0,.48);
}
.modeless-panel-backdrop .wall-editor-layout { min-height: 330px; }
.modeless-panel-backdrop #wallElevation { min-height: 280px; }
.modeless-panel-backdrop .dialog-head { padding-top: 12px; padding-bottom: 10px; }
.modeless-panel-backdrop .dialog-head p:last-child { margin-top: 3px; }

@media (max-width: 900px) {
  .analysis-detail-body { grid-template-columns: 132px minmax(0,1fr); }
  .modeless-panel-backdrop .floating-wall-editor { left: 10px; right: 10px; width: auto; }
}
.analysis-decay-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; margin-top: 7px; }
.analysis-decay-band { display: grid; grid-template-columns: 40px 1fr 38px; align-items: center; gap: 4px; min-height: 19px; border-bottom: 1px solid #25313a; font-size:10px; }
.analysis-decay-band i { color: #81929d; font-style: normal; }
.analysis-decay-band b { color: #e4ecef; text-align: right; }
.analysis-decay-band em { text-align: right; font-size:10px; font-style: normal; font-weight: 900; }
.analysis-decay-band.target em { color: #62d5ac; }
.analysis-decay-band.short em { color: #82b9ff; }
.analysis-decay-band.long em { color: #ff9c4a; }

.canvas-stage:has(.analysis-hud:not([hidden])) .canvas-hint { display: none; }

.workflow-bar { min-height: 34px; padding-top: 2px; padding-bottom: 2px; }
.workflow-step { min-height: 26px; padding: 0 8px; border-radius: 4px; font-size:10px; }
.workflow-step > span { width: 15px; height: 15px; }

@media (max-width: 820px) {
  .toolbar-menus,
  .toolbar-history { display: none; }
  .planner-toolbar { justify-content: flex-end; }
  .room-mode-hud.analysis-hud { width: min(338px,calc(100% - 20px)); left: 10px; }
}

/* V262 independent analysis layers, compact engine check, and dense display controls. */
.analysis-hud .analysis-layer-controls > div > .analysis-primary-layers {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.analysis-primary-layers label {
  color: #dbe6ec;
  background: rgba(104,169,255,.08);
  border: 1px solid rgba(104,169,255,.16);
  border-radius: 3px;
  padding: 2px 4px;
}

.analysis-layer-actions {
  display: flex !important;
  justify-content: flex-end;
  gap: 4px !important;
  margin-top: 5px;
}

.analysis-layer-actions button {
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid #35424c;
  border-radius: 3px;
  background: #1a232a;
  color: #8496a2;
  font-size:10px;
  font-weight: 900;
  letter-spacing: .05em;
  cursor: pointer;
}

.analysis-layer-actions button:hover {
  border-color: #5b7180;
  color: #eef5f8;
}

/* V282.8 selected speakers are real analysis inputs, not display-only layers. */
.analysis-source-group {
  display: block !important;
  min-width: 0;
}

.analysis-source-head {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto auto !important;
  align-items: center;
  gap: 6px !important;
}

.analysis-source-head > strong {
  color: #8ebcff;
  font-size: 10px;
  letter-spacing: .07em;
}

.analysis-source-head > span {
  color: #93a4af;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.analysis-source-head > div {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 3px !important;
}

.analysis-source-head button {
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid #354a5c;
  border-radius: 3px;
  background: #18232c;
  color: #91b8d7;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.analysis-source-head button:hover {
  border-color: #68a9ff;
  color: #eef7ff;
}

.analysis-source-list {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 4px 7px !important;
  margin-top: 6px;
}

.analysis-source-list label {
  min-height: 22px !important;
  padding: 2px 5px;
  border: 1px solid rgba(104,169,255,.18);
  border-radius: 4px;
  background: rgba(104,169,255,.07);
}

.analysis-source-group > small {
  display: block;
  margin-top: 5px;
  color: #718591;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
}

.analysis-source-empty {
  margin: 0;
  color: #a4b1ba;
  font-size: 10px;
  font-weight: 850;
}

.integrated-settings > .analysis-source-group {
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(104,169,255,.24);
  border-radius: 7px;
  background: rgba(17,27,35,.72);
}

.integrated-source-required {
  padding: 14px;
}

.integrated-source-required .analysis-source-group {
  max-width: 520px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(104,169,255,.28);
  border-radius: 8px;
  background: rgba(17,27,35,.78);
}

.analysis-engine-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 25px;
  padding: 4px 6px;
  border: 1px solid #35424c;
  background: rgba(24,33,41,.72);
  font-size:10px;
  font-weight: 900;
}

.analysis-engine-state b { color: #ffad83; }
.analysis-engine-state.is-ready b { color: #62d5ac; }
.analysis-engine-state span { color: #8595a0; }
.analysis-engine-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

.analysis-engine-issues {
  max-height: 82px;
  margin: 6px 0 0;
  padding: 5px 6px 5px 18px;
  overflow: auto;
  border-top: 1px solid #2b3640;
  color: #d4dde2;
  font-size:10px;
  line-height: 1.45;
}

/* V266 compact navigation, readable floating panels, and live path sizing. */
.toolbar-menu[open] { z-index: 500; }
.toolbar-menu-panel { z-index: 501; }

.view-navigation {
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.view-navigation button {
  min-height: 27px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(20,25,31,.92);
  font-size:10px;
}

.analysis-detail-body {
  height: 330px;
  min-height: 0;
  max-height: calc(100vh - 235px);
}

.analysis-path-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.toolbar-menu > summary,
.toolbar-menu-panel .tool-button { font-size: 10px; }

.inspector-kicker,
.inspector-section-title { font-size:10px; }
.inspector-head h2 { font-size: 16px; }
.inspector-field > span,
.inspector-field input,
.inspector-field select,
.inspector-check { font-size: 11px; }
.input-unit > span { font-size:10px; }

.space-panel-head h2 { font-size: 13px; }
.space-panel-copy,
.object-panel-section h3,
.object-field > span { font-size:10px; }
.space-add-panel .object-field input,
.space-add-panel .object-field select,
.space-setup-panel.is-object-panel .object-field input,
.space-setup-panel.is-object-panel .object-field select,
.space-setup-panel.is-treatment-panel .object-field input,
.space-setup-panel.is-treatment-panel .object-field select,
.space-setup-panel.is-sound-panel .object-field input,
.space-setup-panel.is-sound-panel .object-field select,
.space-panel-actions button,
.object-actions button { font-size:10px; }

.analysis-hud-head span,
.analysis-hud .analysis-layer-controls > strong,
.analysis-hud .analysis-layer-controls label,
.analysis-hud-select > span,
.analysis-reflection-list b,
.analysis-hud-detail-button,
.analysis-decay-band,
.analysis-detail-head span,
.analysis-path-list button span,
.analysis-path-list button em,
.analysis-path-detail > header span,
.analysis-path-detail > header b,
.analysis-path-band > b { font-size:10px; }

.analysis-hud-head strong,
.analysis-detail-head strong,
.analysis-path-detail > header strong { font-size: 11px; }
.analysis-hud-select select,
.analysis-data-grid b,
.analysis-hud-empty,
.analysis-path-list button b { font-size:10px; }
.analysis-data-grid > span,
.analysis-hud-summary > small,
.analysis-reflection-list i,
.analysis-reflection-list em,
.analysis-path-metrics span,
.analysis-path-band,
.analysis-decay-band em,
.analysis-layer-actions button { font-size:10px; }
.analysis-path-metrics b { font-size: 10px; }
.room-mode-hud small { font-size:10px; }

/* V266.2 toolbar stacking and minimum readable floating-panel type. */
.planner-toolbar { z-index: 1000; }
.toolbar-menu[open] { z-index: 1001; }
.toolbar-menu-panel { z-index: 1002; }

.room-mode-hud-selector label span,
.room-mode-phase-legend,
.acoustic-bands span,
.space-add-panel .object-type-card,
.analysis-hud-head span,
.analysis-hud .analysis-layer-controls > strong,
.analysis-hud .analysis-layer-controls label,
.analysis-hud-select > span,
.analysis-data-grid > span,
.analysis-hud-summary > small,
.analysis-reflection-list i,
.analysis-reflection-list b,
.analysis-reflection-list em,
.analysis-hud-detail-button,
.analysis-layer-actions button,
.analysis-engine-state,
.analysis-engine-issues,
.analysis-decay-band,
.analysis-decay-band em,
.analysis-detail-head span,
.analysis-path-list button span,
.analysis-path-list button em,
.analysis-path-detail > header span,
.analysis-path-detail > header b,
.analysis-path-metrics span,
.analysis-path-band,
.analysis-path-band > b {
  font-size:10px;
}

/* V268.1 integrated comparison workbench, linked Bass Trap sizing, and full screen. */
.fullscreen-button{width:29px;padding:0!important;display:grid;place-items:center}
.fullscreen-button svg{grid-area:1/1;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.fullscreen-button .fullscreen-exit-icon{display:none}.fullscreen-button.is-active .fullscreen-enter-icon{display:none}.fullscreen-button.is-active .fullscreen-exit-icon{display:block}

.treatment-linked-dimensions{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) 27px minmax(0,1fr);align-items:end;gap:4px;min-width:0}
.treatment-size-link{width:27px;height:28px;margin-bottom:0;padding:0;border:1px solid #46515c;border-radius:6px;background:#151b21;color:#7f8c96;cursor:pointer}
.treatment-size-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.treatment-size-link.is-linked{border-color:rgba(85,214,166,.58);background:rgba(85,214,166,.12);color:#78ddba}

.canvas-stage.has-integrated-result::after{position:absolute;inset:0;z-index:27;background:rgba(4,7,10,.72);backdrop-filter:blur(2px);content:"";pointer-events:none}
.room-mode-hud.is-integrated{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;z-index:1003!important;width:min(1400px,calc(100% - 28px));height:min(700px,calc(100% - 24px));max-height:none;padding:0;overflow:hidden;transform:translate(-50%,-50%);border-color:rgba(85,214,166,.50);border-radius:14px;background:rgba(13,18,23,.98);box-shadow:0 24px 70px rgba(0,0,0,.62)}
.room-mode-hud.is-integrated .analysis-hud-head{height:43px;min-height:43px;padding:0 14px;border-bottom:1px solid #303b45;background:#121920;cursor:default}
.room-mode-hud.is-integrated .analysis-hud-head strong{font-size:13px}.room-mode-hud.is-integrated .analysis-hud-head span{font-size:10px;color:#62d7ad}
.room-mode-hud.is-integrated .analysis-hud-summary{height:calc(100% - 43px);max-height:none;padding:0;overflow:hidden}
.integrated-workbench{display:grid;height:100%;grid-template-rows:auto minmax(0,1fr)}
.integrated-guide{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;padding:9px 14px;border-bottom:1px solid #2b3640;background:#10171d}
.integrated-guide p{margin:0;color:#afbbc3;font-size:10px;line-height:1.45}.integrated-guide p:last-child{color:#8da69c}
.integrated-workbench-body{display:grid;grid-template-columns:minmax(330px,37%) minmax(0,63%);min-height:0}
.integrated-settings,.integrated-results{min-width:0;min-height:0;padding:10px 12px}
.integrated-settings{display:grid;grid-template-rows:auto minmax(122px,.86fr) minmax(190px,1.14fr) auto;gap:7px;border-right:1px solid #303a43;background:#0f151a;overflow:hidden}
.integrated-settings-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}
.integrated-settings-head .analysis-hud-select{margin:0}.integrated-settings-head>button,.integrated-control-section header button{min-height:29px;padding:0 8px;border:1px solid #3b4852;border-radius:6px;background:#182028;color:#aebac3;font-size:10px;font-weight:850;cursor:pointer}
.integrated-control-section{min-height:0;padding:8px;border:1px solid #2d3942;border-radius:9px;background:#131a20;overflow:hidden}
.integrated-control-section>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.integrated-control-section h3{margin:0;color:#9fadb6;font-size:10px;letter-spacing:.07em}.integrated-control-section header>div{display:flex;gap:4px}.integrated-control-section header button{min-height:24px;padding:0 7px}
.integrated-treatment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:calc(100% - 27px);overflow-y:auto;overscroll-behavior:contain}
.integrated-treatment-toggle{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px;min-height:36px;padding:4px 6px;border:1px solid #29353e;border-radius:7px;background:#10171d;cursor:pointer}.integrated-treatment-toggle input{position:absolute;opacity:0;pointer-events:none}.integrated-switch{position:relative;width:28px;height:16px;border-radius:10px;background:#39444d;transition:.15s}.integrated-switch::after{position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:#8c98a1;content:"";transition:.15s}.integrated-treatment-toggle input:checked+.integrated-switch{background:rgba(85,214,166,.38)}.integrated-treatment-toggle input:checked+.integrated-switch::after{left:14px;background:#62ddb3}.integrated-treatment-toggle>span:last-child{display:flex;min-width:0;flex-direction:column}.integrated-treatment-toggle b{overflow:hidden;color:#e1e9ed;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.integrated-treatment-toggle em{color:#778893;font-size:10px;font-style:normal}
.integrated-finish-controls{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.integrated-finish-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:5px;min-height:0;overflow-y:auto}.integrated-finish-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(105px,1fr);align-items:center;gap:6px;min-width:0}.integrated-finish-row>span{overflow:hidden;color:#8f9da7;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.integrated-finish-row select{width:100%;min-width:0;height:29px;padding:0 7px;border:1px solid #3d4953;border-radius:6px;background:#10161c;color:#dae3e8;font-size:10px;font-weight:800}
.integrated-apply-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:7px;padding-top:7px;border-top:1px solid #2a343d}.integrated-apply-row span{color:#7f909a;font-size:10px}.integrated-apply-row button{min-height:31px;padding:0 10px;border:1px solid rgba(85,214,166,.58);border-radius:6px;background:rgba(85,214,166,.15);color:#8ce4c5;font-size:10px;font-weight:900;cursor:pointer}.integrated-apply-row button:disabled{border-color:#37424b;background:#171d22;color:#65727b;cursor:default}
.integrated-settings>.integrated-baseline-note{padding:0 2px;color:#819099;font-size:10px;line-height:1.35}
.integrated-results{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;background:#11181e;overflow:hidden}
.integrated-result-table{border:1px solid #33414a;border-radius:9px;overflow:hidden}.integrated-result-table>header,.integrated-result-table>div{display:grid;grid-template-columns:1.05fr 1.3fr 1.3fr .85fr;align-items:center;gap:8px;min-height:34px;padding:5px 9px;border-bottom:1px solid #29343c}.integrated-result-table>div:last-child{border-bottom:0}.integrated-result-table>header{min-height:27px;background:#182129;color:#7f909a;font-size:10px;font-weight:900;letter-spacing:.06em}.integrated-result-table strong{color:#aebbc4;font-size:10px}.integrated-result-table span{color:#dbe5e9;font-size:10px}.integrated-result-table b{color:#8e9ba4;font-size:10px;text-align:right}.integrated-result-table b.is-improved{color:#66dbb3}.integrated-result-table b.is-worsened{color:#f0aa73}.integrated-result-table b.is-little-change{color:#91a0aa}
.integrated-result-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(95px,.75fr) minmax(150px,1.25fr);gap:7px;min-height:0}.integrated-result-grid .integrated-section{min-height:0;padding:8px;overflow:hidden}.integrated-result-grid .integrated-frequency-list,.integrated-result-grid .integrated-problems ul,.integrated-result-grid .integrated-contribution-list{max-height:calc(100% - 18px);overflow-y:auto}.integrated-worsened .integrated-frequency-list b{color:#eba775}.integrated-contribution-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.integrated-contribution-list article{min-width:0}.integrated-contribution-list article>div{grid-template-columns:repeat(3,minmax(0,1fr))}.integrated-results>.integrated-estimate-note{padding:6px 8px;font-size:10px;line-height:1.3}

/* V268.2 comparison readability and state clarity. */
.integrated-guide{display:block;padding:10px 14px}.integrated-guide p{max-width:1180px;font-size:11px;line-height:1.48}
.integrated-settings{grid-template-rows:auto minmax(142px,.88fr) minmax(205px,1.12fr) auto}
.integrated-settings-head>button:disabled{opacity:.45;cursor:default}
.integrated-control-section>header{min-height:25px}.integrated-treatment-actions{display:grid!important;grid-template-columns:auto auto auto;align-items:center;gap:4px!important}
.integrated-treatment-actions>span{display:grid;min-height:24px;padding:0 7px;place-items:center;border:1px solid #34414b;border-radius:6px;background:#11181e;color:#697983;font-size:10px;font-weight:900}
.integrated-control-section header button.is-active,.integrated-treatment-actions>span.is-active{border-color:#ff9c4a;background:#ff9c4a;color:#11171c;box-shadow:0 0 0 1px rgba(255,156,74,.14)}
.integrated-treatment-toggle b,.integrated-treatment-toggle em,.integrated-finish-row>span,.integrated-finish-row select{font-size:11px}
.integrated-setup-summary{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:7px;padding:7px 8px;border:1px solid #29343c;border-radius:6px;background:#10171d;color:#7f909a;font-size:10px;font-weight:850}
.integrated-setup-summary b{margin-left:4px;color:#d4e0e5;font-weight:900}
.integrated-results{grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:7px}
.integrated-comparison-state{display:flex;align-items:center;gap:9px;min-height:31px;padding:6px 9px;border:1px solid #34424b;border-radius:8px;background:#141d24}
.integrated-comparison-state strong{padding:3px 7px;border-radius:5px;background:#27343d;color:#dce7eb;font-size:10px;letter-spacing:.04em}.integrated-comparison-state span{color:#aab8c0;font-size:11px;font-weight:750}
.integrated-comparison-state.is-match{border-color:rgba(85,214,166,.38);background:rgba(42,91,74,.15)}.integrated-comparison-state.is-match strong{background:rgba(85,214,166,.20);color:#8ce2c3}
.integrated-result-table>header,.integrated-result-table>div{grid-template-columns:1fr 1.27fr 1.27fr 1fr;min-height:36px;padding:5px 10px}
.integrated-result-table>header{min-height:28px}.integrated-result-table strong,.integrated-result-table span{font-size:11px}
.integrated-change-cell{display:flex;min-width:0;flex-direction:column;align-items:flex-end;gap:1px;text-align:right}.integrated-change-cell span{color:inherit;font-size:11px;font-weight:900}.integrated-change-cell em{font-size:10px;font-style:normal;letter-spacing:.03em}
.integrated-result-table b.is-improved{color:#66dbb3}.integrated-result-table b.is-worsened{color:#f0aa73}.integrated-result-table b.is-little-change{color:#91a0aa}.integrated-result-table b.is-no-change{color:#82929c}
.integrated-key-changes{min-height:0}.integrated-key-change-columns{display:grid;gap:7px;max-height:126px;overflow-y:auto}.integrated-key-change-columns.has-two{grid-template-columns:1fr 1fr}.integrated-key-change-columns.has-one{grid-template-columns:1fr}
.integrated-key-change-columns .integrated-section{padding:8px 9px}.integrated-key-change-columns h3{display:flex;align-items:center;gap:6px}.integrated-key-change-columns h3 i{width:7px;height:7px;border-radius:50%;background:#66dbb3}.integrated-key-change-columns .integrated-worsened h3 i{background:#f0aa73}
.integrated-key-change-columns .integrated-frequency-list{grid-template-columns:1fr 1fr;gap:4px 12px}.integrated-key-change-columns.has-two .integrated-frequency-list{grid-template-columns:1fr}
.integrated-frequency-list span{min-height:20px;align-items:center;padding:2px 3px;border-bottom:1px solid rgba(64,78,88,.34);font-size:11px}.integrated-frequency-list i{color:#a7b5bd}.integrated-frequency-list b{font-size:11px}.integrated-worsened .integrated-frequency-list b{color:#eba775}
.integrated-no-changes{display:flex;align-items:center;gap:10px;min-height:50px;padding:8px 11px;border:1px solid rgba(85,214,166,.30);border-radius:8px;background:rgba(42,91,74,.12)}.integrated-no-changes strong{color:#7edbb9;font-size:10px}.integrated-no-changes span{color:#a8b8bf;font-size:11px}
.integrated-detail-grid{display:grid;grid-template-columns:minmax(220px,.82fr) minmax(0,1.45fr);gap:7px;min-height:0}.integrated-detail-grid>.integrated-section{min-height:0;padding:8px;overflow:hidden}
.integrated-detail-grid .integrated-problems ul,.integrated-detail-grid .integrated-contribution-list{max-height:calc(100% - 20px);overflow-y:auto}
.integrated-problems li{font-size:11px;line-height:1.4}.integrated-contributions h3{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.integrated-contributions h3 small{color:#758690;font-size:10px;font-weight:700;letter-spacing:0;text-transform:none}
.integrated-contribution-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.integrated-contribution-list article{min-width:0;padding:7px 8px}.integrated-contribution-list article.is-excluded{opacity:.52;background:#11171c}.integrated-contribution-list article.is-excluded:hover{opacity:.78}
.integrated-contribution-list header>span{align-items:flex-end}.integrated-contribution-list header>span>b{color:#77d3b1;font-size:10px}.integrated-contribution-list header>span>em{margin-top:1px;color:#e0a070;font-size:10px;font-style:normal;font-weight:900}.integrated-contribution-list header strong,.integrated-contribution-list article>div span{font-size:11px}
.integrated-results>.integrated-estimate-note{padding:5px 8px;font-size:10px;line-height:1.3}

/* V268.3 dense three-column comparison workspace. Type sizes stay unchanged. */
.planner-shell.has-integrated-result::after{position:fixed;left:0;right:0;top:var(--integrated-panel-top,126px);bottom:0;z-index:1002;background:rgba(4,7,10,.74);backdrop-filter:blur(2px);content:"";pointer-events:auto}
.canvas-stage.has-integrated-result::after{display:none}
.room-mode-hud.is-integrated{position:fixed!important;left:50%!important;top:calc(var(--integrated-panel-top,126px) + 6px)!important;right:auto!important;bottom:auto!important;width:min(1540px,calc(100% - 24px));height:min(760px,calc(100dvh - var(--integrated-panel-top,126px) - 14px));transform:translateX(-50%);}
.room-mode-hud.is-integrated .analysis-hud-head{height:39px;min-height:39px;padding:0 12px}
.room-mode-hud.is-integrated .analysis-hud-summary{height:calc(100% - 39px)}
.integrated-guide{padding:7px 12px}
.integrated-guide p{max-width:none;font-size:11px;line-height:1.38}
.integrated-guide p span{color:#86aaa0}
.integrated-workbench-body{grid-template-columns:minmax(315px,.82fr) minmax(430px,1.2fr) minmax(390px,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;overflow:hidden}
.integrated-settings,.integrated-results{align-content:start;padding:7px 8px;overflow:hidden}
.integrated-settings{grid-template-rows:auto auto auto;gap:6px}
.integrated-results{display:grid;grid-template-rows:auto auto auto;gap:6px;border-right:1px solid #303a43}
.integrated-details{grid-template-rows:auto auto;border-right:0}
.integrated-settings-head{gap:6px}
.integrated-control-section{padding:7px}
.integrated-control-section>header{min-height:23px;margin-bottom:5px}
.integrated-treatment-list{gap:4px;max-height:none;overflow:visible}
.integrated-treatment-toggle{min-height:34px;padding:3px 6px}
.integrated-finish-controls{display:grid;grid-template-rows:auto auto auto auto}
.integrated-finish-list{gap:4px;overflow:visible}
.integrated-setup-summary{margin-top:5px;padding:5px 7px}
.integrated-apply-row{gap:6px;margin-top:5px;padding-top:5px}
.integrated-apply-row button{min-height:29px;padding:0 8px}
.integrated-comparison-state{min-height:29px;padding:5px 8px;white-space:nowrap;overflow:hidden}
.integrated-comparison-state span{overflow:hidden;text-overflow:ellipsis}
.integrated-result-table>header,.integrated-result-table>div{grid-template-columns:.92fr 1.2fr 1.2fr 1.18fr;gap:6px;min-height:34px;padding:4px 7px}
.integrated-result-table>header{min-height:26px}
.integrated-result-table>div>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.integrated-change-cell{display:block;overflow:hidden;text-align:right;white-space:nowrap;text-overflow:ellipsis}
.integrated-change-cell span{display:block;overflow:hidden;color:inherit;font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.integrated-key-change-columns{gap:6px;max-height:none;overflow:visible}
.integrated-key-change-columns .integrated-section{padding:7px 8px}
.integrated-key-change-columns .integrated-frequency-list{gap:2px 8px}
.integrated-key-change-columns.has-one .integrated-frequency-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.integrated-frequency-list span{min-height:19px;padding:1px 2px}
.integrated-no-changes{min-height:42px;padding:6px 9px}
.integrated-details>.integrated-section{min-height:0;padding:7px 8px;overflow:visible}
.integrated-details .integrated-problems ul,.integrated-details .integrated-contribution-list{max-height:none;overflow:visible}
.integrated-details .integrated-problems ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
.integrated-problems li{line-height:1.32}
.integrated-contributions h3{margin-bottom:5px}
.integrated-contribution-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.integrated-contribution-list article{padding:5px 7px}
.integrated-contribution-list article>div{gap:4px;margin-top:4px}
.integrated-contribution-list header>span{display:flex;flex-direction:row;align-items:center;gap:3px;white-space:nowrap}
.integrated-contribution-list header>span>em{margin:0}

@media (max-width:1250px){
  .room-mode-hud.is-integrated{width:calc(100% - 18px)}
  .integrated-workbench-body{grid-template-columns:minmax(300px,.8fr) minmax(390px,1.18fr) minmax(350px,1fr)}
  .integrated-result-table>header,.integrated-result-table>div{grid-template-columns:.88fr 1.14fr 1.14fr 1.2fr;gap:4px;padding-left:6px;padding-right:6px}
  .integrated-contribution-list{grid-template-columns:1fr}
}

@media (max-width:980px){.room-mode-hud.is-integrated{width:calc(100% - 18px);height:min(760px,calc(100dvh - var(--integrated-panel-top,112px) - 14px))}.integrated-workbench-body{grid-template-columns:minmax(290px,40%) minmax(0,60%);overflow-y:auto}.integrated-details{grid-column:1/-1;grid-template-columns:1fr 1.4fr}.integrated-finish-list,.integrated-treatment-list,.integrated-contribution-list{grid-template-columns:1fr}.integrated-result-table>header,.integrated-result-table>div{grid-template-columns:1fr 1fr 1fr}.integrated-result-table>header span:last-child,.integrated-result-table .integrated-change-cell{display:none}.integrated-key-change-columns.has-two{grid-template-columns:1fr}}

/* V268.4 notebook-density and finish-control layout hotfix. Type sizes stay unchanged. */
.room-mode-hud.is-integrated{height:min(760px,calc(100dvh - var(--integrated-panel-top,126px) - 22px))}
.integrated-guide{display:grid;grid-template-columns:1fr;gap:1px;padding:6px 12px}
.integrated-guide p{white-space:normal}
.integrated-guide p:last-child{color:#86aaa0}
.integrated-results-main{grid-template-rows:auto auto auto auto}
.integrated-results-main>.integrated-problems{min-height:0;padding:7px 8px;overflow:visible}
.integrated-results-main>.integrated-problems ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px;max-height:none;overflow:visible}
.integrated-details{grid-template-rows:auto}
.integrated-contribution-list{grid-template-columns:1fr}
.integrated-contribution-list article>div{display:flex;align-items:center;gap:0;margin-top:4px;white-space:nowrap}
.integrated-contribution-list article>div span{display:flex;min-width:0;align-items:center;gap:3px;white-space:nowrap}
.integrated-contribution-list article>div span+span::before{margin:0 7px;color:#52616b;content:"|"}

@media (max-width:1600px){
  .integrated-finish-list{grid-template-columns:1fr;gap:4px}
  .integrated-finish-row{grid-template-columns:minmax(100px,.82fr) minmax(0,1.18fr);gap:7px}
}

@media (max-width:1250px){
  .integrated-workbench-body{grid-template-columns:minmax(300px,.86fr) minmax(390px,1.2fr) minmax(350px,1fr)}
  .integrated-results-main>.integrated-problems ul{grid-template-columns:1fr 1fr}
}

@media (max-width:980px){
  .room-mode-hud.is-integrated{height:min(760px,calc(100dvh - var(--integrated-panel-top,112px) - 22px))}
  .integrated-results-main>.integrated-problems ul{grid-template-columns:1fr}
  .integrated-details{grid-template-columns:1fr}
}

/* V268.5 bounded variable lists and aligned one-line treatment metrics. */
.integrated-treatment-controls .integrated-treatment-list{
  max-height:110px;
  min-height:0;
  padding-right:2px;
  align-content:start;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.integrated-finish-controls{grid-template-rows:auto minmax(0,auto) auto auto}
.integrated-finish-controls .integrated-finish-list{
  max-height:95px;
  min-height:0;
  padding-right:2px;
  align-content:start;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.integrated-details{
  height:100%;
  min-height:0;
  align-content:stretch;
  overflow:hidden;
}
.integrated-contributions{
  display:grid;
  height:100%;
  min-height:0;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden!important;
}
.integrated-contributions .integrated-contribution-list{
  min-height:0;
  max-height:100%;
  padding-right:2px;
  align-content:start;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.integrated-contribution-list article>div.integrated-effect-line{
  display:flex;
  align-items:center;
  gap:0;
  margin-top:4px;
  overflow:hidden;
  white-space:nowrap;
}
.integrated-contribution-list article>div.integrated-effect-line .integrated-effect-metric{
  display:inline-flex;
  min-width:0;
  flex:none;
  flex-direction:row;
  align-items:center;
  gap:3px;
  white-space:nowrap;
}
.integrated-contribution-list article>div.integrated-effect-line .integrated-effect-metric b{margin-top:0}
.integrated-contribution-list article>div.integrated-effect-line .integrated-effect-metric+.integrated-effect-metric{
  margin-left:8px;
  padding-left:8px;
  border-left:1px solid rgba(137,153,163,.72);
}
.integrated-contribution-list article>div.integrated-effect-line .integrated-effect-metric+.integrated-effect-metric::before{content:none}
.integrated-treatment-controls .integrated-treatment-list,
.integrated-finish-controls .integrated-finish-list,
.integrated-contributions .integrated-contribution-list{
  scrollbar-width:thin;
  scrollbar-color:#475761 transparent;
}
.integrated-treatment-controls .integrated-treatment-list::-webkit-scrollbar,
.integrated-finish-controls .integrated-finish-list::-webkit-scrollbar,
.integrated-contributions .integrated-contribution-list::-webkit-scrollbar{width:6px}
.integrated-treatment-controls .integrated-treatment-list::-webkit-scrollbar-thumb,
.integrated-finish-controls .integrated-finish-list::-webkit-scrollbar-thumb,
.integrated-contributions .integrated-contribution-list::-webkit-scrollbar-thumb{
  border-radius:6px;
  background:#475761;
}

/* V269 guided workflow, result key, and first-visit start guide. */
.workflow-steps{min-width:0}
.workflow-step{white-space:nowrap}
.analysis-hud-status{display:flex;align-items:center;gap:8px}
.analysis-hud-status>span{padding:3px 6px;border:1px solid rgba(85,214,166,.28);border-radius:5px;background:rgba(85,214,166,.08);color:#80d7b8!important;font-size:10px!important;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.analysis-hud-status>span.is-updated{border-color:rgba(126,181,255,.48);background:rgba(126,181,255,.12);color:#9cc8ff!important}
.analysis-result-legend{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:6px 10px;border-bottom:1px solid #2b3640;background:#10171d;color:#8999a3;font-size:10px;font-weight:850}
.analysis-result-legend[hidden]{display:none}
.analysis-result-legend strong{color:#aab8c0;font-size:10px;letter-spacing:.06em}
.analysis-result-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.analysis-result-legend i,.integrated-result-key i{width:7px;height:7px;display:inline-block;border-radius:50%;background:#82929c}
.analysis-result-legend .is-good,.integrated-result-key .is-good{background:#66dbb3}
.analysis-result-legend .is-attention,.integrated-result-key .is-attention{background:#f0aa73}
.analysis-result-legend .is-reference,.integrated-result-key .is-reference{background:#82b9ff}
.analysis-result-legend .is-phase-a{background:#ff4c3d}.analysis-result-legend .is-phase-b{background:#357dff}
.room-mode-hud-quality{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:7px}
.room-mode-hud-quality>span{color:#8e9ca7;font-size:10px;font-weight:900;letter-spacing:.06em}
.room-mode-hud-quality select{min-width:0;height:29px;padding:0 7px;border:1px solid #46545d;border-radius:7px;background:#202b34;color:#edf4f8;font-size:10px;font-weight:850}
.integrated-result-key{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;margin-top:3px;color:#8f9ea7;font-size:10px;font-weight:850}
.integrated-result-key strong{color:#aab8c0;font-size:10px;letter-spacing:.06em}.integrated-result-key span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}

.start-guide-dialog{width:min(760px,calc(100vw - 28px))}
.start-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0 22px 18px;list-style:none}
.start-guide-steps li{min-width:0;padding:11px 10px;border:1px solid #303c46;border-radius:9px;background:#111920}
.start-guide-steps li>span{width:22px;height:22px;display:grid;margin-bottom:8px;place-items:center;border:1px solid rgba(85,214,166,.42);border-radius:50%;background:rgba(85,214,166,.10);color:#9ce7cc;font-size:10px;font-weight:900}
.start-guide-steps strong{display:block;color:#e3ebef;font-size:10px;letter-spacing:.045em}
.start-guide-steps p{margin:5px 0 0;color:#98a7b0;font-size:10px;line-height:1.45}
.start-guide-sample-note{margin:0 22px 4px;padding:8px 10px;border-left:2px solid #62d5ac;background:rgba(85,214,166,.06);color:#a9bab3;font-size:11px;line-height:1.45}

.room-mode-hud.is-integrated .analysis-hud-status>span{border-color:rgba(85,214,166,.24);background:rgba(85,214,166,.07)}
.room-mode-hud.is-integrated .integrated-guide{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.room-mode-hud.is-integrated .integrated-guide>p:first-child{grid-column:1/-1}
.room-mode-hud.is-integrated .integrated-guide>p:nth-child(2){grid-column:1}
.room-mode-hud.is-integrated .integrated-result-key{grid-column:2;margin:0;justify-content:flex-end}

@media (max-width:1180px){
  .workflow-bar{gap:8px}
  .workflow-step{gap:5px;padding-left:6px;padding-right:6px}
  .workflow-bar>p{font-size:10px}
  .room-mode-hud.is-integrated .integrated-guide{grid-template-columns:1fr}
  .room-mode-hud.is-integrated .integrated-guide>p,.room-mode-hud.is-integrated .integrated-result-key{grid-column:1}
  .room-mode-hud.is-integrated .integrated-result-key{justify-content:flex-start}
}
@media (max-width:820px){
  .workflow-steps{width:100%;justify-content:space-between}
  .workflow-step{flex:1;justify-content:center;padding-left:3px;padding-right:3px}
  .workflow-step>span{display:none}
  .start-guide-steps{grid-template-columns:1fr 1fr}
}

/* V269.1 default comparison lists stay scrollbar-free until content really grows. */
.integrated-treatment-controls .integrated-treatment-list{
  max-height:116px;
  overflow-x:hidden;
}
.integrated-finish-controls .integrated-finish-list{
  grid-template-columns:minmax(0,1fr);
  max-height:100px;
  overflow-x:hidden;
}

/* V270 uses each workflow step as one combined stage and tool-menu control. */
.planner-toolbar{
  min-height:45px;
  gap:6px;
  padding-top:5px;
  padding-bottom:5px;
}
.toolbar-menus{
  flex:0 0 auto;
  gap:4px;
}
.toolbar-stage{
  position:relative;
  border:1px solid transparent;
  border-radius:5px;
  background:transparent;
}
.toolbar-stage.is-active{
  border-color:rgba(85,214,166,.42);
  background:rgba(85,214,166,.08);
}
.toolbar-stage>summary{
  min-height:31px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 8px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#aab4bf;
  cursor:pointer;
  list-style:none;
  font-size:10px;
  font-weight:900;
  letter-spacing:.055em;
}
.toolbar-stage>summary::-webkit-details-marker{display:none}
.toolbar-stage>summary>span{
  width:15px;
  height:15px;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid #46515c;
  border-radius:50%;
  border-color:#46515c;
  color:#8d99a5;
  font-size:10px;
  font-weight:900;
}
.toolbar-stage>summary:hover,
.toolbar-stage[open]>summary{
  border-color:transparent;
  color:#eff4f7;
  background:#1b2229;
}
.toolbar-stage>summary.is-active{
  border:0;
  background:rgba(85,214,166,.06);
  color:#aeefda;
}
.toolbar-stage>summary.is-active>span{
  border-color:rgba(85,214,166,.58);
  background:rgba(85,214,166,.12);
  color:#b8f5df;
}
.toolbar-listening.is-active{
  border-color:rgba(232,171,100,.58);
  background:rgba(232,171,100,.10);
  box-shadow:inset 0 0 0 1px rgba(232,171,100,.05);
}
.toolbar-listening>summary.is-active{
  color:#f2c28a;
  background:rgba(232,171,100,.08);
}
.toolbar-listening>summary.is-active>span{
  border-color:rgba(232,171,100,.68);
  background:rgba(232,171,100,.13);
  color:#ffd7a8;
}
.toolbar-stage .toolbar-menu-panel{
  top:calc(100% + 6px);
  left:0;
}
.toolbar-stage-description{
  min-width:0;
  max-width:280px;
  margin:0 2px 0 5px;
  overflow:hidden;
  color:#8f9da8;
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.start-guide-menu-note{
  margin:0 22px 7px;
  color:#91a1ac;
  font-size:10px;
  line-height:1.45;
}

@media (max-width:1320px){
  .toolbar-stage-description{display:none}
}
@media (max-width:1040px){
  .toolbar-stage>summary{padding-left:6px;padding-right:6px}
  .toolbar-stage>summary>span{display:none}
}
@media (max-width:900px){
  .planner-toolbar{padding-left:4px;padding-right:4px;gap:4px}
  .toolbar-history{padding-right:4px}
  .toolbar-menus{gap:2px}
  .toolbar-menu>summary{padding-left:7px;padding-right:7px}
  .toolbar-stage>summary{padding-left:5px;padding-right:5px}
  .view-button{min-width:65px;padding-left:6px;padding-right:6px}
}
@media (max-width:820px){
  .toolbar-stage-description{display:none}
}

/* V271 public-beta note and related-tool links inside QUICK START. */
.start-guide-beta-note{
  margin:0 22px 7px;
  padding:8px 10px;
  border-left:2px solid #ef9c51;
  background:rgba(239,156,81,.07);
  color:#b8aaa0;
  font-size:10.5px;
  line-height:1.48;
}
.start-guide-beta-note a{
  color:#ffc48f;
  font-weight:850;
  text-underline-offset:2px;
}
.start-guide-related{
  margin:0 22px 8px;
  padding:9px 10px;
  border:1px solid #303b45;
  border-radius:9px;
  background:#11181e;
}
.start-guide-related h3{
  margin:0 0 7px;
  color:#aebbc4;
  font-size:9.5px;
  letter-spacing:.055em;
}
.start-guide-related-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.start-guide-related-list a{
  min-width:0;
  padding:7px 8px;
  border:1px solid #2b3640;
  border-radius:7px;
  background:#0d141a;
  color:inherit;
  text-decoration:none;
}
.start-guide-related-list a:hover,
.start-guide-related-list a:focus-visible{
  border-color:rgba(85,214,166,.48);
  outline:none;
}
.start-guide-related-list strong{
  display:block;
  color:#dce6eb;
  font-size:9.5px;
  line-height:1.3;
}
.start-guide-related-list span{
  display:block;
  margin-top:3px;
  color:#8696a1;
  font-size:9px;
  line-height:1.38;
}
@media (max-width:820px){
  .start-guide-related-list{grid-template-columns:1fr}
}
/* V279 Virtual Listening */
.virtual-listening-dialog{width:min(760px,calc(100vw - 28px))}
.virtual-listening-body{display:grid;gap:12px;padding:16px 20px 4px}
.virtual-listening-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}
.virtual-listening-grid label{display:grid;gap:5px;color:#7f919d;font-size:10px;font-weight:900;letter-spacing:.07em}
.virtual-listening-grid select,.virtual-listening-grid input{min-width:0;height:36px;padding:0 10px;border:1px solid #384650;border-radius:5px;background:#121b22;color:#e8eff3;font:700 11px system-ui}
.virtual-listening-file{grid-column:1/-1}.virtual-listening-file input{padding:7px 9px}
.virtual-listening-status{display:flex;flex-wrap:wrap;gap:7px}.virtual-listening-status span{padding:5px 8px;border:1px solid #2f5549;border-radius:999px;background:#12241e;color:#69d7ae;font-size:10px;font-weight:900}.virtual-listening-status .is-warning{border-color:#68462e;background:#2b1d14;color:#ffad76}
#virtualListeningAudio{width:100%;height:40px}
.virtual-listening-actions{display:flex;flex-wrap:wrap;gap:6px}.virtual-listening-actions button{min-height:31px;padding:0 10px;border:1px solid #394852;border-radius:4px;background:#172129;color:#aebdc6;font-size:10px;font-weight:900;cursor:pointer}.virtual-listening-actions button.is-active{border-color:#56b994;background:#17372d;color:#9aebcd}.virtual-listening-actions button:disabled{opacity:.38;cursor:default}
#virtualListeningMessage,.virtual-listening-caution,.virtual-listening-request{margin:0;color:#9aaab3;font-size:12px;line-height:1.55}.virtual-listening-caution{padding:10px 11px;border-left:3px solid #d9824b;background:#1c1815;color:#cbbcaf}.virtual-listening-request a{color:#72b8ee}
.virtual-listening-meter{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #2d3a43;border-radius:5px;background:#101820;color:#7d909b;font-size:10px;font-weight:900}.virtual-listening-meter strong{color:#e9b174}
@media(max-width:760px){.virtual-listening-grid{grid-template-columns:1fr}.virtual-listening-file{grid-column:auto}.virtual-listening-body{padding:12px 14px 3px}.virtual-listening-dialog{width:calc(100vw - 12px);max-height:calc(100vh - 12px);overflow:auto}}

/* V279.1 Virtual Listening modeless HUD */
.virtual-listening-backdrop{position:fixed;inset:0;z-index:1002;pointer-events:none}.virtual-listening-backdrop[hidden]{display:none}
.virtual-listening-dialog{position:absolute;right:12px;top:126px;display:flex;flex-direction:column;width:330px;max-height:calc(100dvh - 138px);overflow:hidden;pointer-events:auto;border:1px solid rgba(85,214,166,.42);border-radius:11px;background:rgba(15,21,27,.94);box-shadow:0 14px 42px rgba(0,0,0,.46);backdrop-filter:blur(10px);color:#dce6ed}
.virtual-listening-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:41px;padding:0 9px 0 12px;border-bottom:1px solid #303b45;background:rgba(18,25,32,.94);cursor:move}.virtual-listening-head>div:first-child{display:flex;align-items:baseline;gap:7px}.virtual-listening-head>div:first-child span{color:#62d7ad;font-size:10px;font-weight:900;letter-spacing:.08em}.virtual-listening-head>div:first-child strong{color:#e5edf2;font-size:10px;letter-spacing:.05em}.virtual-listening-head-status{display:flex;align-items:center;gap:6px}.virtual-listening-head-status>span{padding:3px 6px;border:1px solid rgba(85,214,166,.28);border-radius:5px;background:rgba(85,214,166,.08);color:#80d7b8;font-size:9px;font-weight:900;white-space:nowrap}.virtual-listening-head-status>span.is-updated{border-color:rgba(126,181,255,.48);background:rgba(126,181,255,.12);color:#9cc8ff}.virtual-listening-head button{width:25px;height:25px;padding:0;border:0;border-radius:5px;background:transparent;color:#82919b;font-size:18px;cursor:pointer}.virtual-listening-head button:hover{background:#2a343d;color:#fff}
.virtual-listening-body{display:grid;gap:8px;min-height:0;padding:9px 10px;overflow:auto}.virtual-listening-guide{margin:0;padding:7px 8px;border-left:2px solid #55d6a6;background:rgba(85,214,166,.055);color:#91a2ad;font-size:10px;line-height:1.42}.virtual-listening-field{display:grid;gap:3px}.virtual-listening-field>span,.virtual-listening-control-label{color:#71828e;font-size:9px;font-weight:900;letter-spacing:.07em}.virtual-listening-field select{width:100%;height:29px;padding:0 7px;border:1px solid #3a4651;border-radius:4px;background:#182129;color:#e7eef2;font-size:10px;font-weight:800}
.virtual-listening-section{display:grid;gap:6px;padding:8px;border:1px solid #2e3a43;border-radius:7px;background:rgba(16,24,32,.78)}.virtual-listening-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.virtual-listening-section-head>strong{color:#82939e;font-size:9px;letter-spacing:.07em}.virtual-listening-section-head>span{color:#647680;font-size:8px;font-weight:850}.virtual-listening-section-head>button,.virtual-listening-file-button{min-height:24px;padding:0 8px;border:1px solid #3b4a55;border-radius:4px;background:#1a252d;color:#b9c9d1;font-size:9px;font-weight:900;line-height:22px;cursor:pointer}.virtual-listening-section-head>button:hover,.virtual-listening-file-button:hover{border-color:#62cda5;color:#a8efd5}.virtual-listening-file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.virtual-listening-section-head>#virtualListeningLateReverb{min-width:105px}.virtual-listening-section-head>#virtualListeningLateReverb.is-active{border-color:#56b994;background:#17372d;color:#9aebcd}.virtual-listening-reverb-readout{display:grid;grid-template-columns:1fr 1.25fr;gap:6px}.virtual-listening-reverb-readout>div{padding:6px 7px;border:1px solid #293740;border-radius:5px;background:#101820}.virtual-listening-reverb-readout span,.virtual-listening-reverb-readout strong{display:block}.virtual-listening-reverb-readout span{color:#6f818c;font-size:8px;font-weight:900}.virtual-listening-reverb-readout strong{margin-top:2px;color:#e9b174;font-size:10px;letter-spacing:.03em}
.virtual-listening-headphone-card{display:flex;align-items:center;justify-content:space-between;gap:8px}.virtual-listening-headphone-card>div{min-width:0}.virtual-listening-headphone-card>div span{display:block;overflow:hidden;color:#71838e;font-size:8px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.virtual-listening-headphone-card>div strong{display:block;overflow:hidden;margin-top:2px;color:#edf4f7;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.virtual-listening-headphone-card>span{flex:0 0 auto;padding:3px 5px;border:1px solid #2f5549;border-radius:4px;background:#12241e;color:#69d7ae;font-size:8px;font-weight:900}.virtual-listening-headphone-card>span.is-warning{border-color:#68462e;background:#2b1d14;color:#ffad76}
.virtual-listening-file-name{overflow:hidden;color:#889aa5;font-size:9px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}#virtualListeningAudio{width:100%;height:34px}.virtual-listening-mode,.virtual-listening-save-row,.virtual-listening-listen-row{display:grid;gap:5px}.virtual-listening-mode,.virtual-listening-save-row{grid-template-columns:1fr 1fr}.virtual-listening-listen-row{grid-template-columns:1.25fr 1fr 1fr}.virtual-listening-mode button,.virtual-listening-save-row button,.virtual-listening-listen-row button{min-height:27px;padding:0 6px;border:1px solid #394852;border-radius:4px;background:#172129;color:#aebdc6;font-size:9px;font-weight:900;cursor:pointer}.virtual-listening-mode button.is-active,.virtual-listening-listen-row button.is-active{border-color:#56b994;background:#17372d;color:#9aebcd}.virtual-listening-listen-row button:disabled{opacity:.34;cursor:default}
.virtual-listening-meter{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #2d3a43;border-radius:5px;background:#101820;color:#7d909b;font-size:8px;font-weight:900}.virtual-listening-meter strong{color:#e9b174}.virtual-listening-body>#virtualListeningMessage{margin:0;color:#9aaab3;font-size:10px;line-height:1.42}.virtual-listening-details{border-top:1px solid #29343c;padding-top:5px}.virtual-listening-details summary{color:#768892;font-size:9px;font-weight:900;cursor:pointer}.virtual-listening-details p{margin:6px 0 0;color:#84959f;font-size:10px;line-height:1.42}.virtual-listening-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-top:1px solid #303b45;background:#121920}.virtual-listening-footer a{color:#70aeda;font-size:9px;line-height:1.3}.virtual-listening-footer button{flex:0 0 auto;min-height:25px;padding:0 8px;border:1px solid #3d6859;border-radius:4px;background:#173229;color:#9ee5ca;font-size:9px;font-weight:900;cursor:pointer}
.virtual-listening-picker{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px}.virtual-listening-picker[hidden]{display:none}.virtual-listening-picker-backdrop{position:absolute;inset:0;background:rgba(3,4,6,.82);backdrop-filter:blur(8px)}.virtual-listening-picker-panel{position:relative;display:flex;flex-direction:column;width:min(820px,100%);max-height:min(760px,calc(100dvh - 40px));padding:20px;overflow:hidden;border:1px solid #3a4552;border-radius:16px;background:linear-gradient(180deg,#20262d,#11161b);box-shadow:0 26px 90px rgba(0,0,0,.62)}.virtual-listening-picker-panel>header,.virtual-listening-picker-search,.virtual-listening-picker-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.virtual-listening-picker-panel h2{margin:0;color:#eef4f7;font-size:22px}.virtual-listening-picker-panel .dialog-kicker{margin:0 0 4px}.virtual-listening-picker-panel button{min-height:34px;padding:0 10px;border:1px solid #3b4852;border-radius:8px;background:#171d23;color:#b8c5cc;font-size:10px;font-weight:900;cursor:pointer}.virtual-listening-picker-search{margin-top:14px}.virtual-listening-picker-search input{flex:1;min-width:0;height:46px;padding:0 14px;border:1px solid #566571;border-radius:9px;background:#0d1216;color:#fff;font-size:12px;font-weight:800;outline:0}.virtual-listening-picker-search input:focus{border-color:#56cda2;box-shadow:0 0 0 3px rgba(85,214,166,.10)}.virtual-listening-picker-panel>p{margin:10px 0;color:#8fa0aa;font-size:11px}.virtual-listening-picker-panel h3{margin:0 0 8px;color:#84959f;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.virtual-listening-brand-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:380px;overflow:auto}.virtual-listening-brand-grid button,.virtual-listening-model-results button{min-width:0;text-align:left}.virtual-listening-brand-grid button strong,.virtual-listening-model-results button strong{display:block;overflow:hidden;color:#eef4f7;text-overflow:ellipsis;white-space:nowrap}.virtual-listening-brand-grid button span,.virtual-listening-model-results button span{display:block;margin-top:3px;color:#778892;font-size:9px}.virtual-listening-model-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:390px;overflow:auto}.virtual-listening-picker-results-head span{color:#7f919b;font-size:10px;font-weight:850}.virtual-listening-picker-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #303b45}.virtual-listening-picker-panel>footer p{margin:0;color:#91a1aa;font-size:10px}.virtual-listening-picker-panel>footer a{color:#72b8ee}.virtual-listening-picker-panel>footer button{border-color:#6a4b35;color:#efad7f;background:#2a1d15}
@media(max-width:760px){.virtual-listening-dialog{position:absolute;left:6px;right:6px;top:auto;bottom:6px;width:auto;max-height:min(72dvh,620px)}.virtual-listening-head{cursor:default}.virtual-listening-guide{display:none}.virtual-listening-picker{padding:6px}.virtual-listening-picker-panel{max-height:calc(100dvh - 12px);padding:14px}.virtual-listening-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.virtual-listening-model-results{grid-template-columns:1fr}.virtual-listening-picker-panel>footer{align-items:flex-start;flex-direction:column}}

/* V281.1: True dialogs and their feedback always stay above the planner toolbar menus. */
.virtual-listening-picker{z-index:4000}
.integrated-room-modes-row{display:grid!important;visibility:visible!important;min-height:34px!important}
.integrated-details,.integrated-contributions{min-height:0}.integrated-contributions .integrated-contribution-list{height:100%;min-height:0;max-height:100%;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}

/* V283: standards-aligned Room Decay graph and complete zero-source workbench. */
.integrated-results-main{align-content:start;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#475761 transparent}
.integrated-results-main::-webkit-scrollbar{width:6px}.integrated-results-main::-webkit-scrollbar-thumb{border-radius:6px;background:#475761}
.integrated-results-main>.integrated-result-table{min-height:162px}
.integrated-source-note{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:31px;padding:6px 8px;border:1px solid rgba(126,181,255,.34);border-radius:7px;background:rgba(51,96,145,.12)}
.integrated-source-note strong{flex:0 0 auto;color:#9bc8ff;font-size:10px;letter-spacing:.045em}.integrated-source-note span{color:#91a2ae;font-size:10px;text-align:right}
.integrated-result-table b.is-source-required{color:#9bc8ff}
.integrated-decay-graph{min-width:0;padding:7px 8px 5px;border:1px solid #303d46;border-radius:8px;background:#10181f}
.integrated-decay-graph>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:2px}
.integrated-decay-graph>header>div:first-child{min-width:0}.integrated-decay-graph>header strong{display:block;color:#aebbc4;font-size:10px;letter-spacing:.065em}.integrated-decay-graph>header>div:first-child span{display:block;overflow:hidden;margin-top:2px;color:#70838f;font-size:9px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.integrated-decay-legend{display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#8799a4;font-size:9px;font-weight:850;white-space:nowrap}.integrated-decay-legend span{display:inline-flex;align-items:center;gap:4px}.integrated-decay-legend i{width:13px;height:3px;border-radius:2px;background:#82b9ff}.integrated-decay-legend .is-comparison{background:#f0aa73}.integrated-decay-legend .is-target{height:7px;background:rgba(102,219,179,.34)}
.integrated-decay-graph svg{display:block;width:100%;height:132px;overflow:visible}
.integrated-decay-grid line{stroke:#27343d;stroke-width:1}.integrated-decay-grid text{fill:#71838e;font-size:9px;font-weight:800}
.integrated-decay-target{fill:rgba(102,219,179,.15);stroke:rgba(102,219,179,.34);stroke-width:1}
.integrated-decay-current,.integrated-decay-comparison{fill:none;stroke:#82b9ff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.integrated-decay-comparison{stroke:#f0aa73;stroke-dasharray:5 3}
.integrated-decay-current-points circle{fill:#82b9ff;stroke:#10181f;stroke-width:1.5}.integrated-decay-comparison-points circle{fill:#f0aa73;stroke:#10181f;stroke-width:1.5}
@media(max-width:1180px){.integrated-decay-graph svg{height:120px}.integrated-decay-graph>header{align-items:flex-start;flex-direction:column;gap:3px}.integrated-decay-legend{justify-content:flex-start}}

/* V284: listening-position response in the open lower-right comparison area. */
.integrated-details{grid-template-rows:auto auto;align-content:start;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#475761 transparent}
.integrated-details::-webkit-scrollbar{width:6px}.integrated-details::-webkit-scrollbar-thumb{border-radius:6px;background:#475761}
.integrated-contributions .integrated-contribution-list{height:auto;max-height:250px;overflow-y:auto!important}
.integrated-change-cell{display:flex;overflow:visible;flex-direction:column;align-items:flex-end;gap:1px;white-space:normal;text-overflow:clip}
.integrated-change-cell span{display:block;overflow:visible;color:inherit;font-size:10px;font-weight:900;line-height:1.15;text-overflow:clip;white-space:normal}
.integrated-change-cell em{display:block;color:inherit;font-size:9px;font-style:normal;font-weight:850;letter-spacing:.025em;line-height:1.1;white-space:nowrap}
.integrated-listening-response{min-width:0;padding:8px 8px 6px;border:1px solid #303d46;border-radius:8px;background:#10181f}
.integrated-listening-response>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:3px}.integrated-listening-response>header>div:first-child{min-width:0}
.integrated-listening-response>header strong{display:block;color:#aebbc4;font-size:10px;letter-spacing:.065em}.integrated-listening-response>header>div:first-child span{display:block;overflow:hidden;margin-top:2px;color:#70838f;font-size:8px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.integrated-response-legend{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:7px;color:#8799a4;font-size:8px;font-weight:850;white-space:nowrap}.integrated-response-legend span{display:inline-flex;align-items:center;gap:3px}.integrated-response-legend i{width:11px;height:3px;border-radius:2px;background:#82b9ff}.integrated-response-legend .is-comparison{background:#f0aa73}
.integrated-listening-response svg{display:block;width:100%;height:auto;overflow:visible}
.integrated-listening-grid line{stroke:#27343d;stroke-width:1}.integrated-listening-grid text{fill:#71838e;font-size:8px;font-weight:800}
.integrated-listening-current,.integrated-listening-comparison{fill:none;stroke:#82b9ff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.integrated-listening-comparison{stroke:#f0aa73;stroke-dasharray:5 3}
.listening-response-mode-marker line{stroke:rgba(192,116,91,.38);stroke-width:1;stroke-dasharray:2 3}.listening-response-mode-marker text{fill:#a97967;font-size:7px;font-weight:850}
.listening-response-mode-marker.is-worsened line{stroke:rgba(240,170,115,.68)}.listening-response-mode-marker.is-worsened text{fill:#d59b70}
.listening-response-mode-marker.is-improved line{stroke:rgba(102,219,179,.62)}.listening-response-mode-marker.is-improved text{fill:#78c9ab}
.listening-response-mode-marker.is-shared line{stroke:rgba(130,185,255,.34)}.listening-response-mode-marker.is-shared text{fill:#7896ad}
.integrated-listening-response>p{margin:2px 0 0;color:#687a85;font-size:8px;font-weight:850;line-height:1.3;text-align:center}
.integrated-listening-response.is-source-required{display:grid;min-height:176px;grid-template-rows:auto 1fr}.integrated-listening-response.is-source-required>div{display:grid;place-content:center;gap:5px;text-align:center}.integrated-listening-response.is-source-required>div strong{color:#9bc8ff;font-size:11px}.integrated-listening-response.is-source-required>div span{color:#82949f;font-size:10px;line-height:1.4}
@media(max-width:1250px){.integrated-contributions .integrated-contribution-list{max-height:210px}.integrated-listening-response>header{flex-direction:column;gap:3px}.integrated-response-legend{justify-content:flex-start}}

/* V286: truthful level response and frequency-decay views in one comparison panel. */
.integrated-details{grid-template-rows:auto auto;align-content:start}
.integrated-contributions .integrated-contribution-list{height:auto!important;min-height:74px;max-height:78px}
.integrated-acoustic-change{min-width:0;padding:8px;border:1px solid #34444e;border-radius:9px;background:#0e161d;box-shadow:inset 0 0 0 1px rgba(130,185,255,.025)}
.integrated-acoustic-change-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:6px}
.integrated-acoustic-change-head>div:first-child{min-width:0}.integrated-acoustic-change-head strong{display:block;color:#c3d0d7;font-size:10px;letter-spacing:.065em}.integrated-acoustic-change-head>div:first-child span{display:block;overflow:hidden;margin-top:2px;color:#758894;font-size:8px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.integrated-response-legend .is-target{height:7px;background:rgba(102,219,179,.36)}
.integrated-change-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:6px}
.integrated-change-highlights>span{min-width:0;padding:5px 6px;border:1px solid #2a3942;border-radius:6px;background:#121c23}.integrated-change-highlights small,.integrated-change-highlights b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.integrated-change-highlights small{color:#6f838f;font-size:7.5px;font-weight:900;letter-spacing:.055em}.integrated-change-highlights b{margin-top:2px;color:#d9e4e9;font-size:9px;font-weight:900}
.integrated-change-chart{min-width:0;padding:6px 6px 3px;border:1px solid #2b3942;border-radius:7px;background:#10181f}.integrated-change-chart+.integrated-change-chart{margin-top:6px}
.integrated-change-chart>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:1px}.integrated-change-chart>header strong{color:#aebbc4;font-size:9px;letter-spacing:.06em}.integrated-change-chart>header span{overflow:hidden;color:#6f828d;font-size:7.5px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.integrated-change-chart svg{display:block;width:100%;height:auto;overflow:visible}
.integrated-response-difference,.integrated-decay-difference{fill:rgba(142,160,172,.13);stroke:none}
.integrated-decay-band-points circle.is-current{fill:#82b9ff;stroke:#10181f;stroke-width:1.2}.integrated-decay-band-points circle.is-comparison{fill:#f0aa73;stroke:#10181f;stroke-width:1.2}
.integrated-decay-mode-pair line{stroke:rgba(206,177,151,.62);stroke-width:1.4}.integrated-decay-mode-pair circle.is-current{fill:#82b9ff;stroke:#0e161d;stroke-width:1.2}.integrated-decay-mode-pair circle.is-comparison{fill:#f0aa73;stroke:#0e161d;stroke-width:1.2}.integrated-decay-mode-pair text{fill:#c49c7d;font-size:7px;font-weight:900}
.integrated-frequency-decay-chart>p{margin:1px 0 0;color:#687a85;font-size:7.5px;font-weight:850;line-height:1.25;text-align:center}
.integrated-chart-source-required{display:grid;min-height:122px;place-content:center;gap:4px;text-align:center}.integrated-chart-source-required strong{color:#9bc8ff;font-size:10px}.integrated-chart-source-required span{color:#82949f;font-size:9px;line-height:1.35}
@media(max-width:1250px){.integrated-contributions .integrated-contribution-list{min-height:64px;max-height:68px}.integrated-acoustic-change-head{flex-direction:column;gap:3px}.integrated-change-highlights{grid-template-columns:1fr}.integrated-change-highlights>span{padding:4px 6px}.integrated-change-highlights small,.integrated-change-highlights b{display:inline}.integrated-change-highlights b{margin-left:5px}}
@media(max-width:980px){.integrated-contributions .integrated-contribution-list{min-height:92px;max-height:118px}.integrated-change-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}.integrated-change-highlights small,.integrated-change-highlights b{display:block}.integrated-change-highlights b{margin:2px 0 0}}
@media(max-width:620px){.integrated-change-highlights{grid-template-columns:1fr}.integrated-change-highlights small,.integrated-change-highlights b{display:inline}.integrated-change-highlights b{margin-left:5px}.integrated-change-chart>header{align-items:flex-start;flex-direction:column;gap:1px}}

/* V286.1: readable legends, complete low-frequency modal decay, and graph-focus mode. */
.room-mode-hud.is-integrated{height:min(900px,calc(100dvh - var(--integrated-panel-top,126px) - 6px))}
.integrated-details{grid-template-rows:minmax(100px,1fr) auto;align-content:stretch}
.integrated-contributions{display:grid!important;min-height:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden!important}
.integrated-contributions .integrated-contribution-list{height:100%!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}
.integrated-acoustic-change-head strong{font-size:11px}
.integrated-acoustic-change-head>div:first-child span{font-size:9px}
.integrated-acoustic-change-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.integrated-acoustic-change-actions>button{min-height:25px;padding:0 8px;border:1px solid rgba(130,185,255,.45);border-radius:5px;background:rgba(130,185,255,.10);color:#acd0ff;font-size:8.5px;font-weight:900;letter-spacing:.035em;cursor:pointer}
.integrated-acoustic-change-actions>button:hover,.integrated-acoustic-change-actions>button:focus-visible{border-color:#82b9ff;background:rgba(130,185,255,.18);outline:none;color:#d9e9ff}
.integrated-response-legend{font-size:9px}.integrated-response-legend i{width:14px;height:3px}.integrated-response-legend .is-comparison{background:repeating-linear-gradient(90deg,#f0aa73 0 6px,transparent 6px 9px)}
.integrated-change-highlights small{font-size:8px}.integrated-change-highlights b{font-size:10px}
.integrated-change-chart{position:relative}.integrated-change-chart[data-integrated-graph-focus]{cursor:zoom-in}
.integrated-change-chart>header strong{font-size:10px}.integrated-change-chart>header span{font-size:8px}
.integrated-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:3px 11px;min-height:14px;margin:1px 0 0;color:#8799a4;font-size:8.5px;font-weight:900;letter-spacing:.02em}
.integrated-chart-legend span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.integrated-chart-legend i{display:inline-block;width:18px;height:0;border-top:2px solid #82b9ff}.integrated-chart-legend i.is-comparison{border-top:2px dashed #f0aa73}.integrated-chart-legend i.is-target{height:7px;border:1px solid rgba(102,219,179,.46);background:rgba(102,219,179,.18)}
.integrated-chart-legend i.is-octave{border-top:3px solid #aebbc4}.integrated-chart-legend i.is-modal{border-top:2px dotted #aebbc4}
.integrated-listening-grid text,.integrated-decay-grid text{font-size:9.5px;font-weight:850}
.listening-response-mode-marker text{font-size:8px}.integrated-decay-mode-label{fill:#d3af91;font-size:9px;font-weight:900}
.integrated-modal-decay-difference{fill:rgba(142,160,172,.13);stroke:none}
.integrated-modal-decay-current,.integrated-modal-decay-comparison{fill:none;stroke:#82b9ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 3}
.integrated-modal-decay-comparison{stroke:#f0aa73}
.integrated-decay-mode-pair line{stroke:rgba(206,177,151,.72);stroke-width:1.5}.integrated-decay-mode-pair circle.is-current,.integrated-decay-mode-pair circle.is-comparison{stroke-width:1.4}
.integrated-frequency-decay-chart>p{font-size:8px}

.integrated-workbench.is-graph-focus{grid-template-rows:minmax(0,1fr)}
.integrated-workbench.is-graph-focus>.integrated-guide{display:none}
.integrated-workbench-body.is-graph-focus{grid-template-columns:minmax(315px,.82fr) minmax(0,2.55fr)}
.integrated-workbench-body.is-graph-focus>.integrated-results-main{display:none}
.integrated-workbench-body.is-graph-focus>.integrated-details{display:block;grid-column:2;padding:8px 10px;overflow:hidden;border-right:0}
.integrated-workbench-body.is-graph-focus .integrated-contributions{display:none!important}
.integrated-acoustic-change.is-graph-focus{display:grid;height:100%;min-height:0;padding:10px;grid-template-rows:auto minmax(0,1fr) minmax(0,1fr);gap:8px}
.integrated-acoustic-change.is-graph-focus .integrated-change-highlights{display:none}
.integrated-acoustic-change.is-graph-focus .integrated-acoustic-change-head{margin:0}
.integrated-acoustic-change.is-graph-focus .integrated-change-chart{display:grid;min-height:0;margin:0;padding:8px 10px 6px;grid-template-rows:auto auto minmax(0,1fr)}
.integrated-acoustic-change.is-graph-focus .integrated-frequency-decay-chart{grid-template-rows:auto auto minmax(0,1fr) auto}
.integrated-acoustic-change.is-graph-focus .integrated-change-chart svg{width:100%;height:100%;min-height:0}
.integrated-acoustic-change.is-graph-focus .integrated-change-chart>header strong{font-size:12px}.integrated-acoustic-change.is-graph-focus .integrated-change-chart>header span{font-size:9.5px}
.integrated-acoustic-change.is-graph-focus .integrated-chart-legend{min-height:18px;margin:2px 0;font-size:9.5px;gap:4px 16px}.integrated-acoustic-change.is-graph-focus .integrated-chart-legend i{width:24px}
.integrated-acoustic-change.is-graph-focus .integrated-listening-grid text,.integrated-acoustic-change.is-graph-focus .integrated-decay-grid text{font-size:10.5px}
.integrated-acoustic-change.is-graph-focus .listening-response-mode-marker text,.integrated-acoustic-change.is-graph-focus .integrated-decay-mode-label{font-size:10px}
.integrated-acoustic-change.is-graph-focus .integrated-frequency-decay-chart>p{font-size:9px}
@media(max-width:1250px){.integrated-acoustic-change-actions{align-items:flex-start;flex-direction:column;gap:3px}.integrated-workbench-body.is-graph-focus{grid-template-columns:minmax(300px,.86fr) minmax(0,2.3fr)}}
@media(max-width:980px){.room-mode-hud.is-integrated{height:min(760px,calc(100dvh - var(--integrated-panel-top,112px) - 22px))}.integrated-workbench-body.is-graph-focus{grid-template-columns:minmax(290px,38%) minmax(0,62%);overflow:hidden}.integrated-workbench-body.is-graph-focus>.integrated-details{grid-column:2}.integrated-acoustic-change.is-graph-focus .integrated-change-chart>header{align-items:flex-start;flex-direction:column;gap:1px}}
