/* Light palette: explicit choice and automatic daylight mode. */
:root[data-theme="light"]{
 --surface:#e5ebf2;--panel:#ffffff;--panel2:#edf2f8;--line:#aebdcc;
 --fg:#172b40;--dim:#455c73;--off:#63778a;--accent:#a83b08;
 --ok:#16732b;--warn:#966000;--serious:#a74421;--bad:#b42332;
 --s1:#2365aa;--s2:#b84b16;--s3:#167b55;--s4:#926000;
 --log-bg:#eef3f8;--depth:0 3px 12px #263e5814;
}
:root[data-theme="light"] header{background:#f8fafc;border-bottom-color:var(--line)}
:root[data-theme="light"] .fleet-row{background:#fff;border-bottom-color:#bfccd9}
:root[data-theme="light"] .fleet-row:nth-child(even){background:#edf2f8}
:root[data-theme="light"] .fleet-row:hover{background:#dce8f5}
:root[data-theme="light"] .fan-label{color:#426912}
:root[data-theme="light"] .gstrip .gpu-idle{color:#16732b;border-color:#16732b;background:#e3e8ee}
:root[data-theme="light"] .gstrip .gpu-down{color:#b42332;border-color:#b42332;background:#e3e8ee}
:root[data-theme="light"] .btn,:root[data-theme="light"] .back{border-color:#9daec0}
:root[data-theme="light"] input,:root[data-theme="light"] select{border-color:#9daec0}
:root[data-theme="light"] .miner-summary-top,:root[data-theme="light"] .miner-metadata{background:#edf2f8}
:root[data-theme="light"] th{background:#edf2f8}

@media(prefers-color-scheme:light){
:root:not([data-theme="dark"]){
 --surface:#e5ebf2;--panel:#ffffff;--panel2:#edf2f8;--line:#aebdcc;
 --fg:#172b40;--dim:#455c73;--off:#63778a;--accent:#a83b08;
 --ok:#16732b;--warn:#966000;--serious:#a74421;--bad:#b42332;
 --s1:#2365aa;--s2:#b84b16;--s3:#167b55;--s4:#926000;
 --log-bg:#eef3f8;--depth:0 3px 12px #263e5814;
}
:root:not([data-theme="dark"]) header{background:#f8fafc;border-bottom-color:var(--line)}
:root:not([data-theme="dark"]) .fleet-row{background:#fff;border-bottom-color:#bfccd9}
:root:not([data-theme="dark"]) .fleet-row:nth-child(even){background:#edf2f8}
:root:not([data-theme="dark"]) .fleet-row:hover{background:#dce8f5}
:root:not([data-theme="dark"]) .fan-label{color:#426912}
:root:not([data-theme="dark"]) .gstrip .gpu-idle{color:#16732b;border-color:#16732b;background:#e3e8ee}
:root:not([data-theme="dark"]) .gstrip .gpu-down{color:#b42332;border-color:#b42332;background:#e3e8ee}
:root:not([data-theme="dark"]) .btn,:root:not([data-theme="dark"]) .back{border-color:#9daec0}
:root:not([data-theme="dark"]) input,:root:not([data-theme="dark"]) select{border-color:#9daec0}
:root:not([data-theme="dark"]) .miner-summary-top,:root:not([data-theme="dark"]) .miner-metadata{background:#edf2f8}
:root:not([data-theme="dark"]) th{background:#edf2f8}
}
