/* Qeye light theme for map + live view + camera wall. Active when <html data-theme="light">.
   Same structure as the dark control-room theme; only tokens and the few hard-coded colours change. */
html[data-theme="light"]{
  --g0:#e9edf1;--g1:#ffffff;--g2:#f3f5f8;--g3:#e3e8ee;--g4:#c3ccd6;
  --t1:#111820;--t2:#46515e;--t3:#5f6b78;
  --acc:#0e8564;--acc-d:#0b6e53;--acc-ink:#ffffff;
  --on:#1a9150;--on-d:#147a43;--off:#cf3a34;--off-d:#b02f2a;--warn:#b7791f;
  --line:#d9dfe6;--soft:var(--g2);
  --shadow:0 10px 24px -14px rgba(17,24,32,.28);
  color-scheme:light;
}
html[data-theme="light"] ::selection{background:rgba(14,133,100,.22);color:inherit}
html[data-theme="light"] .brand .wm{color:var(--t1)}
html[data-theme="light"] .chip.on{background:var(--t1);color:#fff;border-color:var(--t1)}

/* map chrome */
html[data-theme="light"] .cam-marker .pin{box-shadow:0 3px 8px -2px rgba(17,24,32,.35)}
html[data-theme="light"] .cam-marker.qsel .pin{border-color:var(--t1)}
html[data-theme="light"] .maplibregl-popup-content{box-shadow:0 16px 32px -16px rgba(17,24,32,.35)}
html[data-theme="light"] .pop .btn:hover,html[data-theme="light"] .fv-btn.pri:hover{background:var(--acc-d)}
html[data-theme="light"] .maplibregl-ctrl-group button .maplibregl-ctrl-icon{filter:none}
html[data-theme="light"] .maplibregl-ctrl-attrib{background:rgba(255,255,255,.82)!important}
html[data-theme="light"] .maplibregl-ctrl-attrib-button{filter:none}
html[data-theme="light"] .maplibregl-popup-close-button{color:var(--t2)}

/* live view */
html[data-theme="light"] .fv-al.red{background:#fdecea;border-color:#f1b9b4;color:#8a1f19}
html[data-theme="light"] .fv-al.amb{background:#fdf4e3;border-color:#efd197;color:#6e4a06}
html[data-theme="light"] .fv-bar{color:var(--t1)}

/* camera wall: video tiles stay black, captions over video stay light */
html[data-theme="light"] .tile .cap{color:#eef2f5}
html[data-theme="light"] .tile .cap span{color:#b9c2cc}
html[data-theme="light"] .tile .zoom{color:#eef2f5;border-color:rgba(255,255,255,.25)}
html[data-theme="light"] .tile.empty{background:var(--g2)}
html[data-theme="light"] .tile .msg{color:#aab3bd}
html[data-theme="light"] .tile.empty .msg{color:var(--t3)}
