#demo-console {
  --ac-yellow: #fdee00;
  --ac-bg: #101110;
  --ac-line: #333430;
  --ac-pale: #f2f1e9;
  --ac-muted: #a4a69c;
  --ac-mono: 'IBM Plex Mono', 'Cascadia Code', Consolas, monospace;
  color: var(--ac-pale);
  text-align: left;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  color-scheme: dark;
}
#demo-console *, #demo-console *::before, #demo-console *::after { box-sizing: border-box; }
#demo-console .ac-shell { border: 1px solid var(--ac-line); border-radius: 12px; overflow: hidden; background: var(--ac-bg); }
#demo-console .ac-top { min-height: 72px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ac-line); background: #171816; }
#demo-console .ac-device { display: flex; align-items: center; gap: 12px; }
#demo-console .ac-device-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #252623; border: 1px solid #3c3e36; border-radius: 6px; color: #e4e5d6; }
#demo-console .ac-device-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
#demo-console .ac-device strong { display: block; font-size: 15px; line-height: 1.3; letter-spacing: -.02em; font-weight: 650; }
#demo-console .ac-device div > span, #demo-console .ac-demo, #demo-console .ac-instant, #demo-console .ac-x-axis, #demo-console .ac-y-axis { color: var(--ac-muted); font: 11px/1.25 var(--ac-mono); }
#demo-console .ac-device div > span { display: block; margin-top: 4px; }
#demo-console .ac-demo { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #414238; border-radius: 24px; padding: 6px 10px; color: #d1d2c3; white-space: nowrap; }
#demo-console .ac-demo i { width: 5px; height: 5px; border-radius: 50%; background: var(--ac-yellow); }
#demo-console .ac-body { display: grid; grid-template-columns: clamp(156px, 23%, 235px) minmax(0,1fr); }
#demo-console .ac-side { padding: 18px 12px; border-right: 1px solid var(--ac-line); background: #151613; display: flex; flex-direction: column; gap: 5px; }
#demo-console button { font-family: inherit; text-transform: none; box-shadow: none; margin: 0; cursor: pointer; }
#demo-console .ac-metric { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(30px, 46%); align-content: center; justify-items: start; gap: 4px 5px; min-height: 56px; padding: 9px 12px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--ac-muted); text-align: left; }
#demo-console .ac-metric:hover { background: #232421; color: #e5e5da; }
#demo-console .ac-metric[aria-pressed="true"] { background: #272820; border-color: #4a4a32; }
#demo-console .ac-metric[aria-pressed="true"]::before { content: ''; position: absolute; height: 17px; width: 2px; left: -1px; top: 50%; transform: translateY(-50%); background: var(--ac-yellow); }
#demo-console .ac-metric-label { color: #d9dacf; font-size: 13px; line-height: 1.12; font-weight: 620; }
#demo-console .ac-metric[aria-pressed="true"] .ac-metric-label { color: var(--ac-yellow); }
#demo-console .ac-metric-value { grid-column: 1; color: #aeb0a3; white-space: nowrap; font: 11px/1.25 var(--ac-mono); font-variant-numeric: tabular-nums; }
#demo-console .ac-metric-value small { font: inherit; }
#demo-console .ac-spark { width: 100%; height: 26px; align-self: center; grid-column: 2; grid-row: 1 / 3; color: #787c6c; }
#demo-console .ac-spark polyline, #demo-console .ac-line { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
#demo-console .ac-spark polyline { stroke-width: 1.3px; }
#demo-console .ac-metric[aria-pressed="true"] .ac-spark { color: var(--ac-yellow); }
#demo-console .ac-main { padding: 24px 30px 22px; min-width: 0; }
#demo-console .ac-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
#demo-console .ac-chart-title { margin: 0; color: var(--ac-pale); font-size: clamp(15px, 2.1cqw, 20px); font-weight: 580; line-height: 1.25; letter-spacing: -.03em; }
#demo-console .ac-ranges { display: inline-flex; gap: 2px; padding: 2px; align-items: center; background: #1c1d19; border: 1px solid #33352f; border-radius: 5px; }
#demo-console .ac-ranges button { background: none; border: 1px solid transparent; border-radius: 3px; padding: 3px 8px; min-height: 25px; color: #b0b2a7; white-space: nowrap; font: 11px/1 var(--ac-mono); }
#demo-console .ac-ranges button:hover { color: #f3f3e9; }
#demo-console .ac-ranges button[aria-pressed="true"] { color: #f4f4e9; border-color: #41433c; background: #32342c; }
#demo-console button:focus-visible { outline: 2px solid var(--ac-yellow); outline-offset: 2px; }
#demo-console .ac-readout { display: flex; align-items: baseline; gap: 7px; margin: 10px 0 22px; }
#demo-console .ac-current { font: 500 clamp(35px, 6.2cqw, 62px)/1.05 var(--ac-mono); letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
#demo-console .ac-unit { color: #b6b7ad; font: 400 clamp(15px, 2.25cqw, 24px)/1 var(--ac-mono); }
#demo-console .ac-instant { margin-left: auto; white-space: nowrap; }
#demo-console .ac-chart { display: grid; grid-template-columns: 29px minmax(0, 1fr); row-gap: 10px; }
#demo-console .ac-y-axis { color: #9b9e90; display: flex; flex-direction: column; justify-content: space-between; position: relative; text-align: left; font-size: 10px; }
#demo-console .ac-y-axis span { height: 0; line-height: 0; }
#demo-console .ac-plot { height: clamp(146px, 19cqw, 208px); position: relative; isolation: isolate; min-width: 0; border-right: 1px solid #2c2e27; border-bottom: 1px solid #2c2e27; background-image: linear-gradient(to bottom, #2c2e27 1px, transparent 1px), linear-gradient(to right, #272923 1px, transparent 1px); background-size: 100% 25%, 25% 100%; }
#demo-console .ac-trace, #demo-console .ac-scrub { position: absolute; inset: 0; width: 100%; height: 100%; }
#demo-console .ac-trace { overflow: visible; pointer-events: none; }
#demo-console .ac-line { color: var(--ac-yellow); stroke-width: 2.15px; }
#demo-console .ac-guide { position: absolute; top: 0; bottom: 0; left: var(--ac-cursor-x); border-left: 1px dashed #86856c; pointer-events: none; }
#demo-console .ac-point { position: absolute; top: var(--ac-cursor-y); left: var(--ac-cursor-x); width: 7px; height: 7px; border: 1.5px solid var(--ac-bg); background: var(--ac-yellow); border-radius: 50%; box-shadow: 0 0 0 1px var(--ac-yellow); transform: translate(-50%, -50%); pointer-events: none; }
#demo-console .ac-scrub { z-index: 1; margin: 0; opacity: 0; cursor: crosshair; }
#demo-console .ac-plot:has(.ac-scrub:focus-visible) { outline: 2px solid var(--ac-yellow); outline-offset: 4px; }
#demo-console .ac-x-axis { position: relative; grid-column: 2; height: 14px; font-size: 10px; color: #a4a69a; }
#demo-console .ac-x-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
#demo-console .ac-x-axis .ac-first { transform: none; }
#demo-console .ac-x-axis .ac-last { transform: translateX(-100%); }
#demo-console .ac-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 15px; margin-top: 13px; border-top: 1px solid var(--ac-line); }
#demo-console .ac-summary span { display: flex; align-items: baseline; gap: 8px; color: var(--ac-muted); font-size: 12px; line-height: 1.3; }
#demo-console .ac-summary b { white-space: nowrap; color: #dddfd3; font: 11px/1.25 var(--ac-mono); }
@container (max-width: 720px) {
  #demo-console .ac-top { min-height: 62px; padding: 10px 17px; }
  #demo-console .ac-main { padding: 18px; }
  #demo-console .ac-summary span { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@container (max-width: 620px) {
  #demo-console .ac-body { grid-template-columns: 1fr; }
  #demo-console .ac-side { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; border-right: none; border-bottom: 1px solid var(--ac-line); padding: 8px; }
  #demo-console .ac-metric { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; padding: 7px 6px; gap: 4px; }
  #demo-console .ac-spark { display: none; }
  #demo-console .ac-metric[aria-pressed="true"]::before { width: 18px; height: 2px; top: auto; bottom: -1px; left: 6px; transform: none; }
  #demo-console .ac-metric-value { font-size: 10px; }
  #demo-console .ac-readout { margin: 10px 0 20px; }
  #demo-console .ac-summary { gap: 6px; }
}
@container (max-width: 400px) {
  #demo-console .ac-shell { border-radius: 8px; }
  #demo-console .ac-main, #demo-console .ac-top { padding-left: 13px; padding-right: 13px; }
  #demo-console .ac-device strong { font-size: 13px; }
  #demo-console .ac-device { gap: 7px; }
  #demo-console .ac-device-icon { width: 31px; height: 31px; }
  #demo-console .ac-demo { font-size: 9px; padding: 5px 7px; }
  #demo-console .ac-side { gap: 2px; padding: 6px; }
  #demo-console .ac-metric { padding: 6px 3px; }
  #demo-console .ac-ranges button { padding: 3px 4px; }
  #demo-console .ac-chart-title { font-size: 14px; }
  #demo-console .ac-chart { grid-template-columns: 25px minmax(0,1fr); }
  #demo-console .ac-x-axis span:nth-child(4) { display: none; }
}
