
    :root {
      color-scheme: dark;
      font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
      color: #eef4f7;
      background: #10181f;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
      --panel: #19242d;
      --panel-soft: #1e2b34;
      --line: rgba(215, 231, 239, .12);
      --muted: #9eafb8;
      --blue: #70c4f4;
      --cyan: #79e1dc;
      --green: #67d69c;
      --red: #f27b74;
      --amber: #ffca76;
    }

    * { box-sizing: border-box; }
    body { min-height: 100vh; margin: 0; }
    button, input { font: inherit; }
    button { color: inherit; }
    button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

    .page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 27px 0 34px; }
    .topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
    .brand { display: flex; align-items: center; gap: 12px; }
    .brand-mark {
      display: grid;
      width: 40px;
      height: 40px;
      place-items: center;
      border: 1px solid rgba(112, 196, 244, .4);
      border-radius: 12px;
      background: rgba(112, 196, 244, .09);
      color: var(--blue);
      font-size: 19px;
      font-weight: 850;
    }
    .brand-name { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
    .brand-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
    .top-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 10px; }
    .online { display: inline-flex; align-items: center; gap: 7px; }
    .online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px rgba(103, 214, 156, .7); }
    .panel { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 22px 65px rgba(0, 0, 0, .2); }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 245px;
      align-items: center;
      gap: 20px;
      padding: 22px 26px;
      margin-bottom: 15px;
    }
    .eyebrow { margin: 0 0 7px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
    h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.035em; }
    .hero-copy { max-width: 650px; margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
    .entry-card { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.15); }
    .entry-caption { margin: 0 0 7px; color: var(--muted); font-size: 9px; font-weight: 730; letter-spacing: .12em; text-transform: uppercase; }
    .entry-state { display: flex; align-items: center; gap: 9px; }
    .entry-led { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 2px; background: var(--green); box-shadow: 0 0 13px rgba(103,214,156,.65); }
    .entry-led[data-busy="true"] { background: var(--red); box-shadow: 0 0 13px rgba(242,123,116,.62); }
    .entry-text { margin: 0; font-size: 14px; font-weight: 780; }
    .entry-note { margin: 7px 0 0 20px; color: var(--muted); font-size: 9px; }

    .dashboard { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 15px; align-items: stretch; }
    .options-panel, .display-panel { padding: 20px; }
    .section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
    .section-heading h2 { margin: 0; font-size: 13px; font-weight: 760; }
    .section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
    .badge { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 8px; font-weight: 760; letter-spacing: .1em; white-space: nowrap; }

    .wash-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .wash-option {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 61px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: rgba(255,255,255,.025);
      text-align: left;
      cursor: pointer;
      transition: background .15s, border-color .15s, opacity .15s;
    }
    .wash-option:hover:not(:disabled) { border-color: rgba(112,196,244,.45); background: rgba(112,196,244,.06); }
    .wash-option[aria-pressed="true"] { border-color: rgba(112,196,244,.6); background: rgba(112,196,244,.12); }
    .wash-option:disabled { cursor: not-allowed; opacity: .43; }
    .option-check { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(215,231,239,.23); border-radius: 5px; color: transparent; font-size: 12px; font-weight: 900; }
    .wash-option[aria-pressed="true"] .option-check { border-color: var(--blue); background: var(--blue); color: #10212b; }
    .option-index { margin-left: auto; color: #7f939d; font-size: 8px; font-weight: 700; }
    .option-name { display: block; font-size: 10px; font-weight: 720; line-height: 1.35; }
    .option-station { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
    .options-note { display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 0; padding: 9px 10px; border: 1px solid rgba(255,202,118,.2); border-radius: 9px; background: rgba(255,202,118,.045); color: #e4c990; font-size: 8px; line-height: 1.55; }
    .options-note strong { color: var(--amber); }

    .position-card { margin-top: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
    .position-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .control-name { margin: 0; font-size: 10px; font-weight: 750; }
    .position-value { color: var(--cyan); font-size: 10px; font-weight: 800; }
    input[type="range"] { display: block; width: 100%; margin: 15px 0 0; accent-color: var(--cyan); cursor: pointer; }
    input[type="range"]:disabled { cursor: not-allowed; opacity: .45; }
    .position-scale { display: flex; justify-content: space-between; gap: 3px; margin-top: 8px; color: #8d9ea6; font-size: 8px; }
    .position-scale span { text-align: center; }
    .position-scale span:first-child { text-align: left; }
    .position-scale span:last-child { text-align: right; }
    .position-hint { margin: 8px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }

    .car-wash-visual {
      position: relative;
      display: grid;
      min-height: 200px;
      place-items: center;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 13px;
      background:
        radial-gradient(ellipse at 50% 70%, rgba(112,196,244,.12), transparent 58%),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(215,231,239,.035) 32px 33px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(215,231,239,.035) 32px 33px),
        #14212a;
    }
    .car-svg { position: relative; z-index: 1; display: block; width: min(100%, 350px); height: auto; }
    .bay-line { fill: none; stroke: rgba(215,231,239,.2); stroke-width: 2; stroke-dasharray: 6 6; }
    .gantry { fill: #263a44; stroke: #8ba2ac; stroke-width: 2; }
    .gantry-accent { fill: #70c4f4; opacity: .75; }
    .car-body { fill: #3a6473; stroke: #9cdae9; stroke-width: 2; }
    .car-window { fill: #9bcbd2; opacity: .68; }
    .car-wheel { fill: #111a20; stroke: #8297a0; stroke-width: 2; }
    .visual-water { opacity: 0; }
    .car-wash-visual[data-active="true"] .visual-water { opacity: .8; }
    .water-line { stroke: #79c9fa; stroke-width: 2; stroke-linecap: round; }
    .visual-label { fill: #9aadb5; font: 9px "Segoe UI", sans-serif; text-anchor: middle; }
    .visual-exit { fill: #79e1dc; font: 9px "Segoe UI", sans-serif; text-anchor: middle; }
    .out-of-position { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
    .square-led { width: 11px; height: 11px; flex: 0 0 auto; border: 1px solid rgba(215,231,239,.2); border-radius: 2px; background: #45534f; }
    .square-led.on { border-color: #ff9a8d; background: var(--red); box-shadow: 0 0 12px rgba(242,123,116,.68); }
    .out-text { margin: 0; color: #cbd6da; font-size: 9px; font-weight: 720; }
    .out-hint { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
    .wash-indicators { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
    .step-indicator { display: flex; align-items: center; gap: 8px; min-height: 35px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.02); }
    .step-indicator .square-led { width: 9px; height: 9px; }
    .step-indicator.active { border-color: rgba(112,196,244,.48); background: rgba(112,196,244,.08); }
    .step-indicator.active .square-led { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 10px rgba(112,196,244,.65); }
    .step-name { color: #c3d0d5; font-size: 8px; font-weight: 650; line-height: 1.35; }
    .step-indicator.active .step-name { color: #dff3ff; }
    .timer-row { display: flex; align-items: center; gap: 9px; margin-top: 13px; }
    .timer-label { color: var(--muted); font-size: 9px; font-weight: 700; white-space: nowrap; }
    .progress { height: 5px; flex: 1; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
    .progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--cyan); transition: width .1s linear; }
    .timer-readout { display: flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
    .timer-value { min-width: 42px; color: var(--cyan); font-size: 17px; font-weight: 820; text-align: right; }
    .timer-unit { color: var(--muted); font-size: 8px; }
    .action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
    .action { min-height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #263640; color: #e8f0f3; font-size: 9px; font-weight: 750; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, opacity .15s; }
    .action:hover:not(:disabled) { border-color: rgba(112,196,244,.45); background: #304651; }
    .action:active:not(:disabled) { transform: translateY(1px); }
    .action:disabled { opacity: .42; cursor: not-allowed; }
    .action.primary { border-color: rgba(121,225,220,.45); background: var(--cyan); color: #142628; }
    .action.primary:hover:not(:disabled) { background: #9cf0ea; }
    .action.stop { grid-column: 1 / -1; color: #ffaaa1; }
    .footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 13px; color: #809099; font-size: 8px; line-height: 1.5; }
    .footer p { margin: 0; }
    .message { color: var(--muted); text-align: right; }

    @media (max-width: 850px) {
      .dashboard { grid-template-columns: 1fr; }
      .wash-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .wash-option { align-items: flex-start; min-height: 72px; }
      .option-index { display: none; }
    }
    @media (max-width: 560px) {
      .page { width: calc(100% - 22px); padding-top: 15px; }
      .topbar { align-items: flex-start; margin-bottom: 14px; }
      .top-meta { flex-direction: column; align-items: flex-end; gap: 5px; padding-top: 5px; font-size: 8px; }
      .brand-mark { width: 35px; height: 35px; }
      .brand-name { font-size: 12px; }
      .hero { grid-template-columns: 1fr; gap: 13px; padding: 17px; }
      .entry-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 8px; }
      .entry-caption { grid-column: 1 / -1; margin: 0; }
      .entry-note { margin: 0; text-align: right; }
      .options-panel, .display-panel { padding: 14px; }
      .wash-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
      .wash-option { min-height: 59px; padding: 8px; }
      .option-name { font-size: 9px; }
      .position-card { padding: 10px; }
      .car-wash-visual { min-height: 180px; }
      .wash-indicators { gap: 6px; }
      .footer { flex-direction: column; }
      .message { text-align: left; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }
  