/* r110: light appearance only. Geometry, typography and behavior come from r109. */
body.neon-studio[data-visual-mode=light] {
  --ink: #303b43;
  --muted: #606d75;
  --line: #dfe5e8;
  --pale: #f2f4f5;
  --surface: #fff;
  --raised: #f6f8f9;
  --hover: #eef5f3;
  --side: #fff;
  --green: #007c70;
  --neon: #009688;
  --neon-core: #1e4540;
  --good: #167349;
  --warn: #925900;
  --bad: #c33d47;
  --amber: var(--warn);
  --red: var(--bad);
  --ly-primary: #007e73;
  --ly-primary-hover: #008577;
  --ly-field: #fff;
  --ly-control-line: #87999f;
  --ly-selected: #e8f5f1;
  --ly-good-bg: #e8f5ed;
  --ly-warn-bg: #fff4df;
  --ly-bad-bg: #ffedef;
  color-scheme: light;
  color: var(--ink);
  background: var(--pale);
}
body.neon-studio[data-visual-mode=light] :is(input,select,textarea) { color-scheme: light; }
body.neon-studio[data-visual-mode=light] :is(.rf-scroll,.pv-table-scroll,.rf-tabs,#sidebar) {
  scrollbar-color: #a9b8bc var(--surface);
}

/* A bright sidebar keeps the selected green entry as the primary visual anchor. */
body.neon-studio[data-visual-mode=light] #sidebar { background: var(--side); border-color: var(--line); }
body.neon-studio[data-visual-mode=light] .brand { background: var(--surface); border-color: var(--line); color: #243d3a; }
body.neon-studio[data-visual-mode=light] .brand strong { color: #243d3a; }
body.neon-studio[data-visual-mode=light] .brand small { color: #627b78; }
body.neon-studio[data-visual-mode=light] .side-section { color: #65747c; }
body.neon-studio[data-visual-mode=light] .side nav a { color: #53636c; }
body.neon-studio[data-visual-mode=light] .side nav a:hover { color: #176c5f; background: #eef6f3; }
body.neon-studio[data-visual-mode=light] .side nav a:is([aria-current=page],.active,.selected) { color: #fff; background: var(--ly-primary); }
body.neon-studio[data-visual-mode=light] .side nav a:is([aria-current=page],.active,.selected) > i { color: #fff; }
body.neon-studio[data-visual-mode=light] #nav-count:not(:empty) { color: #fff; background: #006a5e; border-color: #a6dbce; }
body.neon-studio[data-visual-mode=light] .side-bottom { border-color: var(--line); }
body.neon-studio[data-visual-mode=light] .side-bottom strong { color: var(--ink); }
body.neon-studio[data-visual-mode=light] :is(.side-bottom small,.side-icon) { color: var(--muted); }
body.neon-studio[data-visual-mode=light] .side-icon:hover { color: var(--green); }
body.neon-studio[data-visual-mode=light] .station-mark { color: #13715e; background: #eef7f2; border-color: #adcec1; }

/* Readable controls and restrained hover treatments on white surfaces. */
body.neon-studio[data-visual-mode=light] :is(.btn,.pv-button,.pv-arrow,.ops-secondary-button):not(:disabled):not([aria-disabled=true]):hover {
  color: var(--ink);
  background: var(--hover);
  border-color: #5e8d81;
}
body.neon-studio[data-visual-mode=light] :is(.btn.primary,.pv-button.pv-primary):not(:disabled):not([aria-disabled=true]):hover {
  color: #fff;
  background: var(--ly-primary-hover);
  border-color: #009688;
}
body.neon-studio[data-visual-mode=light] :is(.icon-button,.pv-more):not(:disabled):hover { color: #005e54; background: var(--hover); }
body.neon-studio[data-visual-mode=light] :is(.text-btn,.pv-text-btn,.pv-event-link,.ops-detail-link):not(:disabled):hover { color: #005e54; }
body.neon-studio[data-visual-mode=light] :is(.rf-input,.pv-search > input,#login-form input)::placeholder { color: #6d7b84; }
body.neon-studio[data-visual-mode=light] .pv-switch { background: #d5dddf; border-color: #829598; }
body.neon-studio[data-visual-mode=light] .pv-switch:checked { background: #007e73; border-color: #007e73; }
body.neon-studio[data-visual-mode=light] .pv-switch::after { background: #fff; border-color: #fff; }
body.neon-studio[data-visual-mode=light] .rf-metric.rf-primary-metric:hover { background: var(--hover); border-color: #62998b; }
body.neon-studio[data-visual-mode=light] .pc-schedule[aria-label^="暂停"]:not(:disabled):hover { color: var(--bad); border-color: var(--bad); background: var(--ly-bad-bg); }

/* Tables and status colors share the same light palette in every panel. */
body.neon-studio[data-visual-mode=light] #workspace :is(.pv-table th,.rf-table th) { color: #53616a; background: var(--raised); }
body.neon-studio[data-visual-mode=light] .mark.blue { background: #367fa7; }
body.neon-studio[data-visual-mode=light] :is(.state-dot.quiet,.round-bar > i.quiet,.pv-dot-quiet) { background: #788d98; }
body.neon-studio[data-visual-mode=light] :is(.meter-track,.round-bar,.health-scale,.pv-meter,.weekly-quota-track) { background: #e5ece9; border-color: #b9c9c2; }
body.neon-studio[data-visual-mode=light] :is(.meter-track > i,.pv-meter i,.health-scale i,.weekly-quota-fill) { background: #009688; }
body.neon-studio[data-visual-mode=light] :is(.meter-track > i:is(.warn,.warning),.pv-meter .pv-fill-warn,.health-scale.warn i),
body.neon-studio[data-visual-mode=light] .resource:is(.warn,.warning) .meter-track > i,
body.neon-studio[data-visual-mode=light] .weekly-quota[data-quota-state=warning] .weekly-quota-fill { background: #bd7d18; }
body.neon-studio[data-visual-mode=light] :is(.meter-track > i:is(.bad,.critical),.pv-meter .pv-fill-bad,.health-scale.bad i),
body.neon-studio[data-visual-mode=light] .resource:is(.bad,.critical) .meter-track > i,
body.neon-studio[data-visual-mode=light] .weekly-quota:is([data-quota-state=critical],[data-quota-state=exhausted]) .weekly-quota-fill { background: #d15e61; }
body.neon-studio[data-visual-mode=light] .weekly-quota[data-quota-state=stale] .weekly-quota-fill { background: #83949b; }

/* Separate chart series retain matching line and legend colors. */
body.neon-studio[data-visual-mode=light] .pt-tabs button[aria-selected=true] { border-color: #9ccbbb; }
body.neon-studio[data-visual-mode=light] .pt-svg [stroke='#08735d'] { stroke: #008371; }
body.neon-studio[data-visual-mode=light] .pt-svg [fill='#08735d'] { fill: #008371; }
body.neon-studio[data-visual-mode=light] .pt-svg [stroke='#487ca5'] { stroke: #337ca8; }
body.neon-studio[data-visual-mode=light] .pt-svg [fill='#487ca5'] { fill: #337ca8; }
body.neon-studio[data-visual-mode=light] .pt-svg [stroke='#a77b3c'] { stroke: #987026; }
body.neon-studio[data-visual-mode=light] .pt-svg [fill='#a77b3c'] { fill: #987026; }
body.neon-studio[data-visual-mode=light] .pt-svg [fill='#e3f2eb'] { fill: #00968812; }
body.neon-studio[data-visual-mode=light] :is(.pt-legend i,.pt-pop i)[style*='#08735d'] { background: #008371 !important; }
body.neon-studio[data-visual-mode=light] :is(.pt-legend i,.pt-pop i)[style*='#487ca5'] { background: #337ca8 !important; }
body.neon-studio[data-visual-mode=light] :is(.pt-legend i,.pt-pop i)[style*='#a77b3c'] { background: #987026 !important; }

/* Dialogs, notifications and sign-in inherit white surfaces without changing state. */
body.neon-studio[data-visual-mode=light] #dialog::backdrop { background: #12242f73; }
body.neon-studio[data-visual-mode=light] #toast { color: #205b43; background: #effaf4; border-color: #7ba990; }
body.neon-studio[data-visual-mode=light] :is(#login-error,#live-warning) { color: var(--warn); background: var(--ly-warn-bg); border-color: #c7a876; }
body.neon-studio[data-visual-mode=light] .patrol-mark .patrol-mark-belly { fill: #8cddc0; }
@media (max-width: 780px) {
  body.neon-studio[data-visual-mode=light].nav-open .scrim:not([hidden]) { background: #12242f73; }
}
