#care-page-equipment{display:none!important}
.device-hero{background:linear-gradient(125deg,#e8f5ff,#f8fcff 65%);border-color:#c9e3f7}.device-hero h2{font-size:30px;margin:8px 0}.device-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.device-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.device-path>div{display:flex;flex-direction:column;gap:8px;border-left:3px solid #4b9adb;padding-left:14px}.device-path small{color:#597895}.device-path strong{font-size:14px}.device-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;margin:24px 0 12px}.device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.device-grid .card{margin:0}.device-card{position:relative;min-width:0;border-top:3px solid #8aa2b9}.device-card[data-connection=online]{border-top-color:#168c80}.device-card[data-connection=offline]{border-top-color:#bd6a39}.device-card>.eyebrow{display:block;margin-top:18px}.device-card h3{font-size:22px;margin:10px 0}.device-card code{font-size:12px;overflow-wrap:anywhere}.device-status{display:inline-flex}.device-status.online{background:#e2f7ef;color:#17644e}.device-status.offline{background:#fff0e5;color:#8b461c}.device-status.unknown{background:#eef2f6;color:#52687d}.device-location{font-size:12px;color:#607c96;margin:15px 0}.device-facts{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;font-size:12px;margin:20px 0}.device-facts dt{font-weight:500;color:#607c96}.device-facts dd{margin:0;overflow-wrap:anywhere}.device-card .device-actions{padding-top:14px;border-top:1px solid #e5edf5}.device-card .device-actions button{flex:1;font-size:12px}.device-guide{margin-top:24px}.device-guide>summary,.device-preferences>summary{font-size:18px;font-weight:600;cursor:pointer}.device-guide>section,.device-preferences>section{margin:18px 0 0;padding:0;border:0;box-shadow:none;background:transparent}.device-guide>p{margin-top:16px}.device-tip{padding:16px;border-radius:12px;background:#eaf4ff}.device-theme{display:flex;gap:8px;align-items:center;font-size:12px;margin:0}.device-theme select{padding:7px 10px;width:auto;font-size:12px}.device-recovery h2{font-size:20px}.device-empty{text-align:center;padding:36px}.device-center>section{margin-bottom:20px}
html[data-theme=dark]{color-scheme:dark;--bs-body-bg:#081c31;--bs-body-color:#dceafb}
html[data-theme=dark] body{background:#081c31;color:#dceafb}
html[data-theme=dark] :is(.card,.auth,dialog,.care-item,.aquarium-mini,.automation-card,.outlet,.wizard-summary,.care-hero,.reef-card,.care-modal,.parameter-card){background:#102a43;color:#dceafb;border-color:#2b4861;box-shadow:none}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,.value,.hero-reading,.aquarium-heading strong){color:#e2f1ff}
html[data-theme=dark] :is(p,small,.muted,.metric-label,.device-location,.device-facts dt,.device-path small){color:#aac3da}
html[data-theme=dark] :is(input,select,textarea){background:#0b2238;color:#e0efff;border-color:#45647f}
html[data-theme=dark] :is(.toolbar,.page-utilities,.device-hero,.form-footer,.automation-review,.rule-step,.care-summary,.care-shortcuts,.aquarium-card-summary){background:#102b47;color:#dceafb;border-color:#315675}
html[data-theme=dark] :is(button,.quiet,.text-button){color:#9fd1ff}
html[data-theme=dark] :is(.primary,button[type=submit]){background:#2478c8;color:white;border-color:#4d9add}
html[data-theme=dark] :is(.badge,.care-tag,.device-tip){background:#193e5d;color:#c1e6ff}
html[data-theme=dark] .device-status.online{background:#123f3c;color:#8fe2c5}
html[data-theme=dark] .device-status.offline{background:#4a3026;color:#ffc29e}
html[data-theme=dark] :is(table,td,th,.device-card .device-actions){border-color:#31516d}
html[data-theme=dark] .device-facts dd{color:#dceafb}
html[data-theme=dark] :is(label,summary,.eyebrow,.aquarium-topbar-picker>span){color:#b8d4ed}
html[data-theme=dark] :is(.aquarium-topbar,.care-empty,.care-summary>div,.wizard-step,.aquarium-edit-summary){background:#102a43;color:#dceafb;border-color:#315675}
html[data-theme=dark] .aquarium-animal{background:#102a43!important;color:#dceafb!important;border-color:#315675!important}
html[data-theme=dark] .aquarium-card-summary{background:#102a43}
html[data-theme=dark] code{color:#99cfff}
html[data-theme=dark] input::placeholder{color:#97b2ca;opacity:1}
html[data-theme=dark] :is(.care-aquarium-actions,.aquarium-equipment-list,.aquarium-summary-empty,.outlet-mode-hint){color:#b7cde1;background:transparent}
html[data-theme=dark] :is(.care-metric,.parameter-value,.outlet-device){color:#a4d4ff}
:is(button,a,select,input,summary):focus-visible{outline:3px solid #3399ed;outline-offset:3px}
@media(max-width:800px){.device-path{grid-template-columns:1fr;gap:16px}.device-toolbar{grid-template-columns:1fr 1fr}.device-toolbar label:first-child{grid-column:1/-1}.device-grid{grid-template-columns:1fr}.device-theme{margin-top:8px}.device-actions button{min-height:42px}.device-hero h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.device-guide>.settings-group,.device-preferences>.settings-group{margin:18px 0 0;padding:0;border:0;box-shadow:none;background:transparent}.device-guide>.settings-group>summary,.device-preferences>.settings-group>summary{display:none}

html[data-theme=dark] #local-alarms{background:#123438;border-color:#315d61}html[data-theme=dark] #local-alarms h2{color:#9edbd3}html[data-theme=dark] #notice:not(:empty){background:#193e5d;color:#dceafb;border-color:#45647f}html[data-theme=dark] .badge.warning{background:#493c24;color:#f3d590}html[data-theme=dark] .badge.offline{background:#492b35;color:#f5afbf}

.device-unassigned h2{font-size:20px}.device-unassigned-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #d8e7f2}.device-unassigned-row strong{margin-right:auto}.device-card .device-actions{flex-wrap:wrap}.device-card .device-actions button{min-width:85px}
