.odaw-meter{--lane-width:14px;display:flex;align-items:stretch;gap:0;height:166px;color:#f2ede6}
.odaw-meter[data-channels="2"]{--lane-width:12px}.odaw-meter[data-channels="4"],.odaw-meter[data-channels="6"]{--lane-width:16px}.odaw-meter[data-channels="16"]{--lane-width:14px}
.odaw-meter__channel{width:var(--lane-width);flex:none;text-align:center}
.odaw-meter__lane{position:relative;display:block;width:100%;height:100%;overflow:hidden;border:1px solid #2b2823;border-left:0;border-radius:0;background:repeating-linear-gradient(to top,#12110f 0 3px,#1c1916 3px 4px)}
.odaw-meter__channel:first-child .odaw-meter__lane{border-left:1px solid #2b2823;border-radius:3px 0 0 3px}.odaw-meter__channel:last-child .odaw-meter__lane{border-radius:0 3px 3px 0}
.odaw-meter__lane::before{content:"";position:absolute;inset:auto 1px 1px;height:var(--meter,0%);background:linear-gradient(to top,#4e9e65 0 70%,#d9a145 70% 91%,#e46657 91%);transition:height 80ms linear}
.odaw-meter__lane::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to top,transparent 0 3px,rgba(10,10,9,.62) 3px 4px);pointer-events:none}
.odaw-meter__channel small{display:block;margin-top:7px;color:#a49c92;font:7px ui-monospace,"SFMono-Regular",Menlo,monospace;white-space:nowrap}
.odaw-meter__channel[data-role="lfe"] small{color:#72b7e8}.odaw-meter__channel[data-role="height"] small{color:#a58ac8}
.odaw-meter-lock{max-width:260px;border-left:2px solid #e79a4b;padding:10px 12px;color:#a49c92;background:rgba(231,154,75,.045);font:12px/1.45 Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(prefers-reduced-motion:reduce){.odaw-meter__lane::before{transition:none}}

/* ================================================================
   Audio performance
   ----------------------------------------------------------------
   A read-only engine-health surface, not an audio level meter. The four
   tracks describe load on the playback path; the score ruler underneath
   records interruptions in time. Values and event positions are supplied
   through custom properties so the visual layer never invents telemetry.

   Required semantics live in the markup: each metric is a role="meter" with
   aria-valuenow/min/max, and the timeline has an accessible summary. */
.odaw-performance{
  --odaw-perf-bg:#111314;
  --odaw-perf-raised:#17191a;
  --odaw-perf-line:rgba(226,239,246,.11);
  --odaw-perf-line-strong:rgba(226,239,246,.2);
  --odaw-perf-text:#f2ede6;
  --odaw-perf-muted:#a49c92;
  --odaw-perf-dim:#716d68;
  --odaw-perf-brass:#c9a06a;
  --odaw-perf-blue:#72b7e8;
  --odaw-perf-green:#7cc088;
  --odaw-perf-amber:#e79a4b;
  --odaw-perf-coral:#d77969;
  container-type:inline-size;
  color:var(--odaw-perf-text);
  border:1px solid var(--odaw-perf-line-strong);
  border-radius:12px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.025),transparent 38%),
    var(--odaw-perf-bg);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
  font-family:Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.odaw-performance__head{
  min-height:54px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 18px;
  border-bottom:1px solid var(--odaw-perf-line);
}
.odaw-performance__identity{
  width:4px;
  height:24px;
  flex:none;
  border-radius:2px;
  background:var(--odaw-perf-brass);
  box-shadow:0 0 18px rgba(201,160,106,.18);
}
.odaw-performance__title{min-width:0}
.odaw-performance__title b{
  display:block;
  font-size:13px;
  font-weight:620;
  letter-spacing:-.01em;
}
.odaw-performance__title small{
  display:block;
  margin-top:3px;
  color:var(--odaw-perf-dim);
  font:500 9px/1.2 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.odaw-performance__status{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--odaw-perf-muted);
  font-size:11px;
  font-weight:600;
}
.odaw-performance__status::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--odaw-perf-green);
  box-shadow:0 0 0 3px rgba(124,192,136,.08);
}
.odaw-performance[data-status="attention"] .odaw-performance__status::before{
  background:var(--odaw-perf-amber);
  box-shadow:0 0 0 3px rgba(231,154,75,.09);
}
.odaw-performance[data-status="critical"] .odaw-performance__status::before{
  background:var(--odaw-perf-coral);
  box-shadow:0 0 0 3px rgba(215,121,105,.1);
}
.odaw-performance__body{padding:18px}
.odaw-performance__metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px 22px;
}
.odaw-performance__metric{--odaw-perf-value:0%;--odaw-perf-accent:var(--odaw-perf-blue)}
.odaw-performance__metric[data-tone="stream"]{--odaw-perf-accent:var(--odaw-perf-green)}
.odaw-performance__metric[data-tone="storage"]{--odaw-perf-accent:var(--odaw-perf-brass)}
.odaw-performance__metric[data-level="attention"]{--odaw-perf-accent:var(--odaw-perf-amber)}
.odaw-performance__metric[data-level="critical"]{--odaw-perf-accent:var(--odaw-perf-coral)}
.odaw-performance__metric-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.odaw-performance__metric-head span{
  min-width:0;
  color:var(--odaw-perf-muted);
  font-size:11.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.odaw-performance__metric-head output{
  color:var(--odaw-perf-text);
  font:600 10.5px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
}
.odaw-performance__track{
  position:relative;
  height:8px;
  overflow:hidden;
  border:1px solid var(--odaw-perf-line-strong);
  border-radius:4px;
  background:
    linear-gradient(90deg,
      transparent 0 calc(60% - .5px),var(--odaw-perf-line) calc(60% - .5px) calc(60% + .5px),
      transparent calc(60% + .5px) calc(85% - .5px),var(--odaw-perf-line-strong) calc(85% - .5px) calc(85% + .5px),
      transparent calc(85% + .5px)),
    #0b0d0e;
}
.odaw-performance__fill{
  display:block;
  height:100%;
  width:var(--odaw-perf-value);
  border-radius:3px;
  background:var(--odaw-perf-accent);
  box-shadow:0 0 12px color-mix(in srgb,var(--odaw-perf-accent) 26%,transparent);
  transition:width 120ms linear,background-color 120ms linear;
}
.odaw-performance__session{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:20px;
  border-block:1px solid var(--odaw-perf-line);
}
.odaw-performance__fact{
  min-width:0;
  padding:12px 14px;
  border-right:1px solid var(--odaw-perf-line);
}
.odaw-performance__fact:first-child{padding-left:0}
.odaw-performance__fact:last-child{padding-right:0;border-right:0}
.odaw-performance__fact span{
  display:block;
  color:var(--odaw-perf-dim);
  font:500 8.5px/1.2 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.odaw-performance__fact b{
  display:block;
  margin-top:6px;
  overflow:hidden;
  color:var(--odaw-perf-text);
  font:600 12px/1.2 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.odaw-performance__fact[data-state="clear"] b{color:var(--odaw-perf-green)}
.odaw-performance__diagnostics{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  margin-top:18px;
  border:1px solid var(--odaw-perf-line);
  border-radius:8px;
  overflow:hidden;
  background:#0d0f10;
}
.odaw-performance__diagnostic{
  min-width:0;
  padding:15px;
}
.odaw-performance__diagnostic + .odaw-performance__diagnostic{border-left:1px solid var(--odaw-perf-line)}
.odaw-performance__section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.odaw-performance__section-head b{font-size:11.5px;font-weight:620}
.odaw-performance__section-head span{
  color:var(--odaw-perf-dim);
  font:500 8.5px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.odaw-performance__path{
  display:grid;
  grid-template-columns:minmax(72px,1fr) 28px minmax(72px,1fr) 28px minmax(72px,1fr);
  align-items:center;
  margin-bottom:14px;
}
.odaw-performance__node{
  min-width:0;
  padding:10px;
  border:1px solid var(--odaw-perf-line-strong);
  border-radius:6px;
  background:var(--odaw-perf-raised);
}
.odaw-performance__node span{
  display:block;
  overflow:hidden;
  color:var(--odaw-perf-dim);
  font:500 8px/1.1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.09em;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.odaw-performance__node b{
  display:block;
  margin-top:6px;
  overflow:hidden;
  font-size:11px;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.odaw-performance__node[data-state="active"]{border-color:color-mix(in srgb,var(--odaw-perf-green) 36%,var(--odaw-perf-line))}
.odaw-performance__node[data-state="active"] b{color:var(--odaw-perf-green)}
.odaw-performance__link{
  position:relative;
  height:1px;
  background:var(--odaw-perf-line-strong);
}
.odaw-performance__link::after{
  content:"";
  position:absolute;
  top:50%;
  right:0;
  width:5px;
  height:5px;
  border-top:1px solid var(--odaw-perf-brass);
  border-right:1px solid var(--odaw-perf-brass);
  transform:translateY(-50%) rotate(45deg);
}
.odaw-performance__path-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:var(--odaw-perf-line);
}
.odaw-performance__path-meta div{padding:9px 10px;background:#111314}
.odaw-performance__path-meta span,.odaw-performance__datum span{
  display:block;
  color:var(--odaw-perf-dim);
  font:500 8px/1.1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.odaw-performance__path-meta b{
  display:block;
  margin-top:5px;
  font:600 10.5px/1.2 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
}
.odaw-performance__data{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--odaw-perf-line);
  border-radius:6px;
  background:var(--odaw-perf-line);
}
.odaw-performance__datum{min-width:0;padding:10px;background:#111314}
.odaw-performance__datum output{
  display:block;
  margin-top:7px;
  overflow:hidden;
  color:var(--odaw-perf-text);
  font:600 12px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.odaw-performance__datum output[data-state="clear"]{color:var(--odaw-perf-green)}
.odaw-performance__timeline{padding-top:17px}
.odaw-performance__timeline-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.odaw-performance__timeline-head b{font-size:11.5px;font-weight:600}
.odaw-performance__timeline-head span{
  color:var(--odaw-perf-dim);
  font:500 9px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
}
.odaw-performance__ruler{
  --odaw-perf-now:74%;
  position:relative;
  min-height:152px;
  overflow:hidden;
  border:1px solid var(--odaw-perf-line);
  border-radius:8px;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 calc(12.5% - 1px),var(--odaw-perf-line) calc(12.5% - 1px) 12.5%),
    linear-gradient(180deg,rgba(114,183,232,.025),transparent 60%),
    #0c0e0f;
}
.odaw-performance__ruler::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(180deg,transparent 0 calc(25% - 1px),var(--odaw-perf-line) calc(25% - 1px) 25%);
}
.odaw-performance__ruler::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:var(--odaw-perf-now);
  width:1px;
  background:var(--odaw-perf-brass);
  box-shadow:0 0 10px rgba(201,160,106,.28);
}
.odaw-performance__event{
  --odaw-perf-at:50%;
  position:absolute;
  z-index:2;
  left:var(--odaw-perf-at);
  bottom:14px;
  width:7px;
  height:18px;
  border:0;
  border-radius:2px;
  background:var(--odaw-perf-amber);
  transform:translateX(-50%);
}
.odaw-performance__event[data-level="critical"]{background:var(--odaw-perf-coral)}
.odaw-performance__trace{
  position:absolute;
  z-index:1;
  inset:14px 0 22px;
  width:100%;
  height:calc(100% - 36px);
  overflow:visible;
}
.odaw-performance__trace-area{fill:url(#odaw-performance-trace-fill)}
.odaw-performance__trace-line{
  fill:none;
  stroke:var(--odaw-perf-blue);
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
}
.odaw-performance__axis{
  position:absolute;
  z-index:3;
  color:var(--odaw-perf-dim);
  font:500 7.5px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}
.odaw-performance__axis--top{top:7px;left:8px}
.odaw-performance__axis--mid{top:50%;left:8px;transform:translateY(-50%)}
.odaw-performance__axis--start{bottom:7px;left:8px}
.odaw-performance__axis--end{right:8px;bottom:7px}
.odaw-performance__clear-note{
  position:absolute;
  z-index:3;
  right:9px;
  top:9px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 7px;
  border:1px solid color-mix(in srgb,var(--odaw-perf-green) 22%,var(--odaw-perf-line));
  border-radius:999px;
  background:rgba(12,14,15,.84);
  color:var(--odaw-perf-green);
  font:600 8px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.odaw-performance__clear-note::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.odaw-performance__empty{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:12px;
  color:var(--odaw-perf-dim);
  font-size:11.5px;
  text-align:center;
}
.odaw-performance__log{padding-top:17px}
.odaw-performance__log-grid{
  display:grid;
  grid-template-columns:1.1fr .8fr 1fr 1.6fr;
  border:1px solid var(--odaw-perf-line);
  border-radius:8px;
  overflow:hidden;
}
.odaw-performance__log-grid span{
  padding:8px 10px;
  border-right:1px solid var(--odaw-perf-line);
  background:#0d0f10;
  color:var(--odaw-perf-dim);
  font:500 8px/1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.odaw-performance__log-grid span:last-child{border-right:0}
.odaw-performance__log-empty{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  border-top:1px solid var(--odaw-perf-line);
  background:#111314;
  color:var(--odaw-perf-muted);
  font-size:10.5px;
}
.odaw-performance__log-empty::before{content:"✓";color:var(--odaw-perf-green);font-weight:700}
.odaw-performance__foot{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 18px;
  border-top:1px solid var(--odaw-perf-line);
  background:rgba(255,255,255,.012);
  color:var(--odaw-perf-dim);
  font-size:10.5px;
}
.odaw-performance__foot i{
  width:5px;
  height:5px;
  flex:none;
  border-radius:50%;
  background:var(--odaw-perf-blue);
}
@container(max-width:520px){
  .odaw-performance__metrics{grid-template-columns:1fr}
  .odaw-performance__diagnostics{grid-template-columns:1fr}
  .odaw-performance__diagnostic + .odaw-performance__diagnostic{border-top:1px solid var(--odaw-perf-line);border-left:0}
  .odaw-performance__session{grid-template-columns:1fr 1fr}
  .odaw-performance__fact:nth-child(2){border-right:0}
  .odaw-performance__fact:last-child{grid-column:1/-1;padding-left:0;border-top:1px solid var(--odaw-perf-line)}
}
@container(max-width:340px){
  .odaw-performance__head,.odaw-performance__body,.odaw-performance__foot{padding-left:14px;padding-right:14px}
  .odaw-performance__title small{display:none}
  .odaw-performance__status{font-size:0}
  .odaw-performance__timeline-head span{display:none}
  .odaw-performance__path{grid-template-columns:1fr 18px 1fr 18px 1fr}
  .odaw-performance__node{padding:8px 6px}
  .odaw-performance__node b{font-size:9.5px}
  .odaw-performance__path-meta,.odaw-performance__data{grid-template-columns:1fr 1fr}
  .odaw-performance__path-meta div:last-child{grid-column:1/-1}
  .odaw-performance__log-grid{grid-template-columns:1fr 1fr}
  .odaw-performance__log-grid span:nth-child(n+3){display:none}
}
@media(prefers-reduced-motion:reduce){
  .odaw-performance__fill{transition:none}
}
