/* ENERGY_PILOT_LOGGING_V24: read-only hourly audit report */
#epView-logging .ep-log-toolbar {display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
#epView-logging .ep-log-toolbar label{font-size:12px;color:#a5bacb;display:flex;flex-direction:column;gap:4px}
#epView-logging .ep-log-toolbar input,#epView-logging .ep-log-toolbar select {min-height:36px;padding:7px 9px;border:1px solid #36536b;background:#15283b;color:#e8f5fa;border-radius:7px}
#epView-logging .ep-log-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}
#epView-logging .ep-log-stat{border:1px solid #304c62;background:#182b3d;border-radius:9px;padding:13px 15px;display:flex;flex-direction:column;gap:6px}
#epView-logging .ep-log-stat span{font-size:11px;color:#abc2d1}
#epView-logging .ep-log-stat strong{font-size:25px;color:#e9f8ff;font-variant-numeric:tabular-nums}
#epView-logging .ep-log-message{font-size:12px;line-height:1.45;color:#bad0e0;margin:12px 0}
#epView-logging .ep-log-wrap{overflow-x:auto;max-width:100%;border:1px solid #304c62;border-radius:9px}
#epView-logging .ep-log-table{border-collapse:collapse;min-width:1150px;width:100%;table-layout:fixed;font-size:12px}
#epView-logging .ep-log-table th{padding:11px 8px;border-bottom:1px solid #304c62;text-align:left;position:sticky;top:0;background:#20394d;color:#cee0ed}
#epView-logging .ep-log-table td{border-bottom:1px solid #30475b;padding:10px 9px;vertical-align:top}
#epView-logging .ep-log-table th:first-child{width:200px}
#epView-logging .ep-log-table th:not(:first-child){width:145px}
#epView-logging .ep-log-hour strong{display:block;font-size:14px;color:#edf7fc}
#epView-logging .ep-log-hour small{display:block;color:#91afc4;margin-top:5px;line-height:1.3}
#epView-logging .ep-log-hour .ep-log-soc{margin-top:8px;color:#78d8c0;font-size:10px}
#epView-logging .ep-log-hour .ep-log-history-warning{color:#ddad69}
#epView-logging .ep-log-device div{margin:0 0 5px;line-height:1.32}
#epView-logging .ep-log-device .ep-log-planned{color:#abc1d0}
#epView-logging .ep-log-device .ep-log-command{color:#eaf5fb;font-weight:650}
#epView-logging .ep-log-device .ep-log-statusline{font-size:11px;color:#b7a1d8}
#epView-logging .ep-log-state-service_called .ep-log-statusline{color:#74cbed}
#epView-logging .ep-log-state-verified .ep-log-statusline{color:#55e1ad}
#epView-logging .ep-log-state-failed .ep-log-statusline{color:#ff9090;font-weight:700}
#epView-logging .ep-log-state-skipped .ep-log-statusline{color:#e8ac6c}
#epView-logging .ep-log-mismatch{box-shadow:inset 3px 0 #eab66e;background:rgba(234,182,110,.08)}
#epView-logging .ep-log-no-dispatch .ep-log-command,#epView-logging .ep-log-no-dispatch .ep-log-statusline{color:#7893a7}
#epView-logging .ep-log-empty{text-align:center!important;padding:32px!important;color:#b6cbd8}
#epView-logging .ep-log-note{font-size:12px;color:#aac3d3;line-height:1.5;margin:12px 0}
html[data-ep-theme="light"] #epView-logging .ep-log-stat{background:#fff;border-color:#d0dfeb}
html[data-ep-theme="light"] #epView-logging .ep-log-stat strong{color:#173b53}
html[data-ep-theme="light"] #epView-logging .ep-log-table th{background:#e4eff7;color:#284d65}
html[data-ep-theme="light"] #epView-logging .ep-log-table td{border-color:#dce7ef}
html[data-ep-theme="light"] #epView-logging .ep-log-hour strong,html[data-ep-theme="light"] #epView-logging .ep-log-device .ep-log-command{color:#16435b}
html[data-ep-theme="light"] #epView-logging .ep-log-device .ep-log-planned,html[data-ep-theme="light"] #epView-logging .ep-log-message,html[data-ep-theme="light"] #epView-logging .ep-log-note{color:#526f82}
html[data-ep-theme="light"] #epView-logging .ep-log-toolbar label{color:#46657a}
html[data-ep-theme="light"] #epView-logging .ep-log-toolbar input,html[data-ep-theme="light"] #epView-logging .ep-log-toolbar select{background:#fff;color:#21445e;border-color:#a9bfd0}
@media(max-width:720px){#epView-logging .ep-log-toolbar .btn{padding:9px 12px}}
