.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 16px}.section-heading h2{margin:0;font-size:21px}.section-heading p{margin:6px 0 0}.online-modes{width:fit-content;margin:0 0 20px}.hourly-controls{display:flex;flex-wrap:wrap;gap:10px}.hourly-controls select{max-width:230px}.comparison-legend{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:16px}.comparison-item{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:13px;font-weight:600}.comparison-item i,.series-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.series-dot{margin-right:7px}.comparison-item small{display:block;font-size:11px;font-weight:400;color:var(--muted,#728295);margin-top:4px}.comparison-item input{width:14px;height:14px;margin:0;accent-color:#225d9a}.hourly-chart{width:100%;display:block;min-height:190px;overflow:visible}.hourly-chart text{font-size:12px;fill:var(--theme-muted,#718197);font-family:inherit}.hour-target:hover,.hour-target:focus{fill:var(--theme-info,#225d9a0c);stroke:var(--theme-info,#225d9a44);stroke-width:1;outline:none}.hourly-tooltip{min-height:46px;padding:12px 14px;background:var(--theme-surface,#f5f8fc);border-radius:8px;font-size:12px;line-height:1.6;color:var(--theme-info,#526880);margin-top:8px}.hourly-panel .panel-header{flex-wrap:wrap;gap:16px}.readiness-list{padding:0 22px}.readiness-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--theme-border,#e7edf4)}.readiness-row:last-child{border:0}.readiness-row p{margin:4px 0;color:var(--theme-muted,#62768c);font-size:13px;line-height:1.6}.readiness-row small{font-size:11px;color:var(--theme-warning,#a6783f)}.readiness-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--theme-warning-bg,#fff5e5);color:var(--theme-warning,#aa7840)}.readiness-mark.ready{background:var(--theme-surface-raised,#e9f3ed);color:var(--theme-good,#4b8566)}.readiness-row strong{font-size:14px}.online-search{margin:0 0 24px;max-width:590px}.online-search label{display:block;font-size:12px;font-weight:600;color:var(--theme-muted,#62768c);margin-bottom:8px}.search-actions{display:flex;align-items:center;gap:8px}.search-actions input{min-width:120px;flex:1}.online-cabinet-list{padding:0 22px}.online-cabinet-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--theme-border,#e7edf4);font-size:13px}.positive{color:var(--theme-good,#35745a)}.comparison-table small{font-size:11px;font-weight:400;color:var(--theme-muted,#718197)}.hourly-panel .details{margin-top:12px}
@media(max-width:760px){.section-heading{align-items:flex-start}.hourly-controls{width:100%}.hourly-controls select{flex:1;min-width:140px}.comparison-legend{gap:14px}.comparison-item{font-size:12px}.hourly-chart{min-height:170px}.hourly-tooltip{font-size:11px}.readiness-list{padding:0 16px}.readiness-row{grid-template-columns:28px minmax(0,1fr);gap:12px}.readiness-row>.button{grid-column:2;justify-self:start}.online-cabinet-list>div{grid-template-columns:minmax(0,1fr) auto}.online-cabinet-list>div>span:nth-child(2){grid-column:1;grid-row:2}.online-cabinet-list>div>.button{grid-column:2;grid-row:1/3}.search-actions{flex-wrap:wrap}.search-actions input{width:100%}.hourly-panel .panel-body{padding:16px 12px}.online-modes{max-width:100%}.online-modes button{white-space:normal}}

.kpi.focus .negative{color:var(--theme-bad,#f1adb6)}.kpi.focus .positive{color:var(--theme-good,#a7d5b9)}

.search-actions input{box-sizing:border-box;width:100%;height:42px;border:1px solid var(--theme-info-border,#d5dfe9);border-radius:8px;padding:10px 12px;background:white;color:var(--theme-info,#17334a);font:inherit;font-size:13px}.search-actions input:focus{outline:2px solid var(--theme-info-border,#aac7ed);outline-offset:1px}

.monitor-filters{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e1e8f0);border-radius:12px;padding:20px 22px;margin:0 0 24px}.monitor-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.monitor-period{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.monitor-period .field{flex:1;min-width:160px;max-width:240px}.monitor-period>.button{margin-bottom:0;height:42px}.monitor-filters .toolbar{margin:18px 0 14px}.monitor-filters .online-search{margin-bottom:0}.coverage-notice{margin-top:18px;border-left:3px solid var(--theme-warning-border,#cf954f);padding:10px 14px;background:var(--theme-warning-bg,#fff8eb);color:var(--theme-warning,#87633d);font-size:13px;line-height:1.6}.coverage-platforms{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px;padding:18px 22px;border-bottom:1px solid var(--theme-border,#e8edf4)}.coverage-platform{display:flex;align-items:center;gap:10px;background:var(--theme-surface,#f7f9fc);padding:12px;border-radius:9px}.coverage-platform>div{flex:1}.coverage-platform strong{font-size:13px}.coverage-platform small{display:block;font-size:11px;line-height:1.6;color:var(--theme-muted,#718197);margin-top:4px}.coverage-badge{display:inline-block;font-size:11px;line-height:1.5;font-weight:600;white-space:nowrap;border-radius:6px;padding:4px 8px}.coverage-badge.full{background:var(--theme-surface-raised,#e9f4ed);color:var(--theme-good,#397454)}.coverage-badge.partial{background:var(--theme-warning-bg,#fff0db);color:var(--theme-warning,#92602b)}.coverage-badge.missing{background:var(--theme-surface-raised,#f7e9ed);color:var(--theme-bad,#a15463)}.coverage-table small{display:block;color:var(--theme-muted,#718197);font-size:11px;font-weight:400;line-height:1.5;margin-top:6px}.coverage-table td{vertical-align:top}.coverage-gaps{min-width:140px;max-width:280px;font-size:11px;line-height:1.8;white-space:normal}.coverage-gaps b{font-weight:500}.coverage-table .cabinet-label{min-width:160px;white-space:normal;align-items:flex-start}.coverage-table .cabinet-label strong{font-size:12px}.coverage-panel .panel-header{gap:14px;flex-wrap:wrap}.monitor-filters .filter-set{flex-wrap:wrap}
@media(max-width:760px){.monitor-filters{padding:16px}.monitor-period{gap:12px}.monitor-period .field{min-width:140px;max-width:none}.monitor-presets .button{padding:7px 10px;font-size:11px}.coverage-platforms{padding:14px}.coverage-platform{padding:10px}.coverage-notice{font-size:12px}.monitor-period>.button{flex:1;min-width:100px}}
.import-action-hint{display:block;font-size:11px;color:var(--theme-warning,#94602d);margin-top:7px;line-height:1.5}.imports-filters{justify-content:space-between;flex-wrap:wrap;gap:12px}.imports-filters>select{max-width:230px}.imports-filters .segmented button{white-space:normal}

.monitor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;margin:0 0 22px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e0e7ef);border-radius:12px;position:relative;z-index:4}.monitor-tools details{position:relative}.monitor-tools summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;height:38px;padding:0 12px;border:1px solid var(--theme-border,#dce4ed);border-radius:7px;background:var(--theme-surface,#fff);color:var(--theme-info,#294258);font-size:13px;font-weight:500;white-space:nowrap}.monitor-tools summary::-webkit-details-marker{display:none}.calendar-symbol{width:15px;height:15px;flex-shrink:0;color:var(--theme-muted,#7b8fa2)}.calendar-symbol svg{display:block;width:100%;height:100%}.picker-chevron{color:var(--theme-muted,#9aa8b6);margin-left:auto}.monitor-scale{display:flex;align-items:center;padding:3px;background:var(--theme-surface,#f0f3f7);border-radius:8px;height:38px;gap:2px}.monitor-scale button{height:32px;padding:0 11px;border-radius:6px;font-size:12px;color:var(--theme-muted,#7b8c9e)}.monitor-scale button.active{background:var(--theme-surface,#fff);color:var(--theme-info,#234f7d);box-shadow:0 1px 4px var(--theme-shadow-color,#152e4517);font-weight:600}.monitor-scope{display:flex;gap:8px;margin-left:auto;flex:1 1 280px;min-width:260px}.monitor-scope>select{flex:1;width:0;max-width:none}.monitor-tools select,.hourly-controls select{appearance:none;-webkit-appearance:none;background:var(--theme-surface,#fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 5 3 3 3-3' fill='none' stroke='%2390a1b2' stroke-width='1.2'/%3E%3C/svg%3E") right 10px center/12px no-repeat;border:1px solid var(--theme-border,#dce4ed);border-radius:7px;height:38px;padding:0 29px 0 11px;font:inherit;font-size:12px;color:var(--theme-info,#405a71);max-width:220px;min-width:126px}.monitor-popover{position:absolute;top:calc(100% + 10px);left:0;width:380px;background:white;padding:18px;border:1px solid var(--theme-border,#dce4ed);border-radius:12px;box-shadow:0 12px 40px var(--theme-shadow-color,#15334c22);z-index:50}.monitor-more .monitor-popover{left:auto;right:0;width:335px}.monitor-popover .monitor-presets{gap:6px;margin-bottom:16px}.monitor-popover .monitor-presets .button{padding:6px 8px;font-size:11px}.monitor-popover .monitor-period .field{min-width:140px}.monitor-popover .monitor-period>.button{height:36px;font-size:12px}.monitor-popover>label{display:block;font-size:12px;color:var(--theme-muted,#718197);font-weight:500;margin-bottom:14px}.monitor-popover>label>select{display:block;width:100%;max-width:none;margin-top:6px}.monitor-popover .online-search{margin-bottom:12px}.monitor-popover .search-actions input{font-size:12px;height:38px;min-width:100px}.monitor-popover .search-actions{flex-wrap:nowrap}.monitor-popover .search-actions>.button{height:38px;padding:8px 11px;font-size:12px}.filter-count{background:var(--theme-info-bg,#e7effa);color:var(--theme-info,#2a5e9a);border-radius:10px;padding:1px 6px;font-size:10px}.monitor-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-10px 0 20px;font-size:11px;color:var(--theme-info,#5f7790)}.monitor-active-filters>span{background:var(--theme-surface-raised,#eaf0f7);padding:5px 9px;border-radius:5px}
@media(max-width:900px){.monitor-scope{margin-left:0;flex:1 1 280px}.monitor-scope>select{min-width:0}.monitor-tools{gap:8px}.monitor-date-picker{flex:1}.monitor-scale{flex-shrink:0}.monitor-tools summary{font-size:12px}.monitor-more{margin-left:auto}}@media(max-width:500px){.monitor-tools{padding:10px}.monitor-date-picker{flex-basis:100%}.monitor-scale{flex:1;justify-content:space-between}.monitor-scope{order:3;flex-basis:100%}.monitor-popover{width:min(350px,calc(100vw - 54px))}.monitor-more .monitor-popover{width:min(335px,calc(100vw - 54px))}}
.duplicate-group{border:1px solid var(--theme-border,#e2e9f1);border-radius:10px;margin:18px 0;padding:18px}.duplicate-group-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:6px}.duplicate-group .data-table td:first-child{min-width:230px;max-width:340px;white-space:normal;overflow-wrap:anywhere}.duplicate-group small{display:block;font-size:11px;color:var(--theme-muted,#7a8b9d);margin-top:6px;line-height:1.6}.duplicate-choice-label{display:block;font-size:12px;font-weight:600;margin:16px 0}.duplicate-choice-label select{display:block;width:100%;border:1px solid var(--theme-border,#dce4ed);border-radius:7px;padding:10px;margin-top:8px;font-size:12px;background:var(--theme-surface,#fff);color:var(--theme-info,#294258)}.duplicate-repeat{background:var(--theme-warning-bg,#fff3e3);padding:13px;border-radius:8px;color:var(--theme-warning,#8c6130);font-size:12px;line-height:1.6}.duplicate-repeat[hidden]{display:none}.duplicate-repeat label{display:flex;gap:10px;align-items:flex-start}.duplicate-repeat input{width:16px;height:16px;flex-shrink:0;accent-color:#315f90}.duplicate-repeat p{margin-top:8px;font-size:11px}.duplicate-group .form-actions{margin-top:12px;padding-top:12px}

.monitor-tools summary:focus-visible,.monitor-scale button:focus-visible{outline:2px solid var(--theme-info-border,#aac7ed);outline-offset:2px}.monitor-tools details[open]>summary{border-color:var(--theme-info-border,#8baacb);background:var(--theme-surface,#f7faff)}
.activity-status{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;align-items:center;gap:12px;padding:14px 18px;background:var(--theme-surface,#fff);border:1px solid var(--theme-info-border,#dce5ee);border-radius:12px;box-shadow:0 8px 30px var(--theme-shadow-color,#18344b20);max-width:calc(100vw - 32px);pointer-events:none}.activity-status[hidden]{display:none}.activity-status.in-dialog{position:sticky;bottom:0;margin-top:12px}.activity-status strong{display:block;font-size:13px;color:var(--theme-info,#29465e)}.activity-status small{display:block;font-size:11px;color:var(--theme-muted,#8090a1);margin-top:5px}.activity-spinner,.button.is-busy::before{display:inline-block;width:17px;height:17px;border:2px solid var(--theme-info-border,#d8e4ef);border-top-color:var(--theme-info-border,#4c7fab);border-radius:50%;animation:activity-spin .8s linear infinite;flex-shrink:0}.button.is-busy::before{content:'';width:12px;height:12px;margin-right:7px;vertical-align:-1px}.button.is-busy{cursor:wait}.hour-inspector{margin-top:12px;border:1px solid var(--theme-border,#e2e8f0);border-radius:12px;overflow:hidden;background:var(--theme-surface,#fbfcfe)}.hour-inspector-head{display:flex;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--theme-border,#e7edf4);font-size:12px;color:var(--theme-muted,#7c8c9d)}.hour-inspector-head strong{font-size:13px;color:var(--theme-info,#28465e)}.hour-inspector-rows{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:14px 15px;gap:16px}.hour-inspector-row small{display:block;font-size:10px;color:var(--theme-muted,#8b99a7);margin:5px 0 10px 16px}.hour-inspector-row strong{display:block;font-size:15px;font-variant-numeric:tabular-nums;color:var(--theme-info,#29465e);margin-left:16px}.hour-inspector-row>span{font-size:12px;color:var(--theme-muted,#657e92);display:flex;align-items:center;gap:7px}.hour-inspector-row i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.hourly-plot{position:relative}.hour-floating{position:absolute;pointer-events:none;width:250px;z-index:8;background:var(--theme-surface,#fff);border:1px solid var(--theme-info-border,#dce5ef);border-radius:12px;box-shadow:0 10px 30px var(--theme-shadow-color,#18354c22);padding:14px}.hour-floating[hidden]{display:none}.hour-floating .hour-inspector-head{padding:0 0 10px}.hour-floating .hour-inspector-rows{display:block;padding:4px 0 0}.hour-floating .hour-inspector-row{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding-top:10px}.hour-floating .hour-inspector-row small{grid-column:1;margin:0 0 0 15px}.hour-floating .hour-inspector-row strong{grid-column:2;grid-row:1/3;font-size:13px;margin:0;align-self:center}.hour-target.active{fill:var(--theme-info,#225d9a0a);stroke:var(--theme-info,#7d9fbe66);stroke-width:1}.monitor-dataset{display:flex;align-items:center;gap:14px;margin:0 0 14px;flex-wrap:wrap}.monitor-dataset .segmented{width:auto}.monitor-dataset small{font-size:11px;color:var(--theme-muted,#7a8c9d)}@keyframes activity-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.hour-inspector-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.activity-status{right:16px;bottom:16px}.hour-inspector-head{flex-wrap:wrap}.hour-floating{width:235px}}@media(prefers-reduced-motion:reduce){.activity-spinner,.button.is-busy::before{animation:none;border-style:dotted}}
.organization-scope{flex-basis:420px;min-width:390px}
.monitor-scope-row{display:flex;align-items:center;flex:1 1 520px;gap:8px;min-width:0}
.monitor-scope-row .organization-scope{min-width:0;margin-left:0}
.monitor-empty{padding:36px 24px;text-align:center}
.monitor-empty p{margin:10px 0 20px;font-size:14px;color:var(--muted)}
.organization-scope>select[data-filter="organization"]{flex:.8}
@media(max-width:900px){.monitor-scope.organization-scope{flex-basis:100%;min-width:0}.organization-scope>select{max-width:none}}
@media(max-width:500px){.monitor-scope.organization-scope{flex-wrap:wrap}.organization-scope>select[data-filter="cabinets"]{flex-basis:100%;width:100%}.monitor-scope-row{flex-wrap:wrap}.monitor-scope-row .monitor-more{order:4}}

.day-totals-table .day-total-label,.day-totals-table .day-total-date{display:block;text-align:left;line-height:1.45}.day-totals-table .day-total-date{margin-top:4px;color:var(--muted)}.day-totals-table td:first-child{min-width:195px;white-space:nowrap}
