/* v1.0: business detail inside the established monitoring screen. */
.ops-health-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:43px;margin:-3px 0 10px;padding:7px 12px;background:#06273a;border:1px solid #1d4a63;border-radius:4px;font-size:10px;color:#8eb3c9}
.ops-health-strip .ops-snapshot{display:flex;align-items:center;gap:6px;margin-right:8px}.ops-snapshot svg{width:13px;height:13px}
.ops-health-strip>button:not(.button){display:flex;gap:8px;align-items:center;border:0;background:transparent;color:#9db8c8;padding:2px 5px;font-size:10px}
.ops-health-strip strong{font-size:13px;color:#c4e7f5}.ops-health-strip .usable strong{color:#50d1bd}.ops-health-strip .invalid strong{color:#ef9b8b}.ops-health-strip .stale strong,.ops-health-strip .suspect strong{color:#e3c282}
.ops-health-strip>.button{margin-left:auto;font-size:9px;padding:4px 8px;min-height:25px}.ops-health-scope{font-size:9px;color:#678da6}
.ops-overview .screen-grid{height:calc(100vh - 259px);min-height:620px}
.ops-quality{display:inline-flex;align-items:center;gap:4px;border:1px solid #35546a;border-radius:3px;padding:2px 5px;font-size:9px;color:#a4bbc9;white-space:nowrap;line-height:1.4}
.ops-quality.good{color:#71d8bd;border-color:#24645b;background:#07504433}.ops-quality.warn{color:#e6cb8c;border-color:#6e5e3c;background:#59452222}.ops-quality.bad{color:#eba08e;border-color:#775045;background:#653c2a22}.ops-quality.stale{color:#b2bdc5;border-color:#506272;background:#334b582e}
.ops-water.muted strong{color:#91a4b4}.ops-card-time{display:block!important;color:#7f9daf!important;font-size:8px!important;line-height:1.5;margin-top:4px}.ops-water .ops-quality{font-size:8px}.ops-water strong{margin:5px 0!important;font-size:21px!important}
.ops-notice{display:flex;align-items:flex-start;gap:9px;padding:12px 15px;border:1px solid #275671;background:#09344b77;color:#89b2ca;font-size:11px;line-height:1.8;border-radius:4px;margin:14px 0}.ops-notice svg{width:16px;height:16px;flex:none;margin-top:3px}
.ops-table-scroll{overflow:auto;padding:0 14px 13px}.ops-table-scroll .data-table{width:100%}.ops-table-scroll .data-table td{font-size:11px;padding:12px 9px;line-height:1.7}.ops-table-scroll .data-table th{font-size:10px;padding:10px 9px;white-space:nowrap}.ops-table-scroll small{display:block;color:#7398ae;font-size:9px;margin-top:3px}.ops-table-scroll .button{font-size:9px;padding:5px 8px;white-space:nowrap}
.screen-events .ops-table-scroll{padding:0 10px;min-height:0;flex:1}.screen-events .ops-table-scroll td{font-size:9px;padding:8px 5px}.screen-events .ops-table-scroll th{padding:8px 5px;font-size:9px}.screen-events .tag{font-size:8px;padding:2px 4px}
.screen-events .data-table th:first-child,.screen-events .data-table td:first-child{width:100px;white-space:nowrap}.screen-events .ops-table-scroll td{padding-top:6px;padding-bottom:6px}
.screen-events .text-button{font-size:9px;line-height:1.3;min-height:18px;padding:2px 6px}
.ops-filter-chips,.ops-associated-points{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ops-filter-chips .button,.ops-associated-points .button{font-size:10px}
.ops-analysis{margin:16px 0}.ops-analysis-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 18px 9px}.ops-analysis-controls label{display:flex;align-items:center;gap:7px;font-size:10px;color:#90adc1}.ops-analysis-controls input[type=date],.ops-analysis-controls select{background:#062940;border:1px solid #28546d;color:#b4cddd;padding:7px;border-radius:3px;color-scheme:dark;font-size:10px;max-width:150px}.ops-analysis-controls input:disabled{opacity:.4}
.ops-point-picks{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin:5px 18px 10px;padding:10px 0;border-top:1px solid #19435b;border-bottom:1px solid #19435b}.ops-point-picks label{display:flex;gap:6px;align-items:center;color:#a7c5d7;font-size:11px}.ops-point-picks .ops-quality{font-size:8px}.ops-point-picks input,.ops-analysis-controls input[type=checkbox]{accent-color:#369dd5}
.ops-chart{width:100%;height:330px;min-width:0}.ops-chart.with-context{height:560px}.drawer .ops-chart{height:300px}.ops-chart-area .empty{min-height:200px;display:grid;place-items:center}.ops-point-table,.ops-profile{margin-top:18px}.ops-profile>.ops-chart{height:350px}.ops-reading-hero{background:#07344d;border:1px solid #285b77;border-radius:5px;padding:20px;margin:15px 0}.ops-reading-hero>span:first-child{color:#8cb5cc;font-size:11px}.ops-reading-hero strong{display:block;font-size:34px;color:#54c0f6;margin:10px 0}.ops-reading-hero strong small{font-size:13px;margin-left:5px}.ops-reading-hero p{font-size:11px;color:#8caec2;line-height:1.8;margin-bottom:0}.ops-reading-hero.muted strong{color:#8eabbc}
.device-tabs{overflow-x:auto;gap:20px}.device-tabs>button{flex:none;white-space:nowrap}
.ops-diagnostics,.ops-maintenance,.ops-report-builder{margin-top:16px}.ops-diag-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px}.ops-diag-toolbar label{display:flex;flex-direction:column;gap:8px;color:#8dadc3;font-size:11px}.ops-diag-toolbar select{min-width:190px;max-width:340px;background:#06293e;border:1px solid #2e5c78;color:#bdd6e6;padding:9px;border-radius:3px;color-scheme:dark}
.ops-diag-chain{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:5px 18px 20px;gap:10px}.ops-diag-step{padding:15px 10px;border:1px solid #23485f;background:#082b41;position:relative;min-height:105px}.ops-diag-step>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #416073;border-radius:50%;font-size:10px;color:#a8bdca}.ops-diag-step strong{display:block;font-size:12px;font-weight:500;margin-top:12px}.ops-diag-step small{display:block;font-size:9px;color:#7098b2;margin-top:7px}.ops-diag-step.pass{border-color:#276b64}.ops-diag-step.pass>span,.ops-diag-step.pass small{color:#6ad4b6;border-color:#368771}.ops-diag-step.failed{border-color:#a06950}.ops-diag-step.failed>span,.ops-diag-step.failed small{color:#ebaa7b}.ops-diag-step.blocked{opacity:.55}
.ops-diagnostic-result{padding:14px 16px;margin:0 18px 18px;background:#07504a33;border:1px solid #2c655d;color:#9accbe;font-size:11px;line-height:1.8}.ops-diagnostic-result.warning{background:#60452633;border-color:#80633c;color:#d9ba8c}.ops-diagnostic-result small{display:block;color:#819eae;font-size:9px;margin-top:6px}
.ops-diag-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 18px 18px;min-width:0}.ops-diag-columns>section{min-width:0}.ops-diag-columns h3{font-size:12px;color:#aac8da;font-weight:500}.ops-diag-columns pre{padding:15px;background:#032235;border:1px solid #19465e;color:#8ec4e0;font:11px/1.8 ui-monospace,monospace;overflow:auto;max-height:420px;white-space:pre-wrap;overflow-wrap:anywhere}
.ops-empty-state{padding:40px 25px;color:#7da5be;text-align:center;font-size:12px;line-height:2;border:1px dashed #25516b;margin:18px;border-radius:4px}
.ops-form{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.ops-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#98b9cd}.ops-form input,.ops-form select,.ops-form textarea,.ops-report-form input,.ops-report-form select{background:#062b41;border:1px solid #2a5872;color:#c4ddea;padding:10px;border-radius:4px;width:100%;min-width:0;color-scheme:dark;font-size:12px}.ops-form textarea{min-height:90px;resize:vertical}.ops-form .full{grid-column:1/-1}.ops-form-feedback{grid-column:1/-1;padding:11px 13px;border:1px solid #386854;background:#0c443433;color:#a1cdbd;font-size:11px;line-height:1.8}.ops-form-feedback.error{border-color:#8a5c42;background:#573c2a22;color:#e3b48f}.ops-form-feedback[hidden]{display:none}.ops-form .ops-notice{margin:0}.ops-maintenance-list{margin-top:18px}
.ops-alert-badges{display:flex;gap:9px;margin:16px 0}.ops-workflow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.ops-workflow-steps span{font-size:9px;background:#092c42;color:#678da5;border:1px solid #25465d;padding:8px}.ops-workflow-steps .done{border-color:#33755f;color:#9ad0b4;background:#07524022}
.ops-timeline{list-style:none;margin:18px 0;padding:0 0 0 13px;border-left:1px solid #276079}.ops-timeline li{position:relative;padding:0 0 19px 10px}.ops-timeline li:before{content:"";position:absolute;left:-17px;top:5px;width:6px;height:6px;background:#4cb8df;border:2px solid #052235;border-radius:50%}.ops-timeline strong{font-size:11px;color:#aed8e9;font-weight:500}.ops-timeline small{display:block;font-size:9px;color:#719ab2;margin-top:6px}.ops-timeline p{font-size:11px;color:#8dafc4;line-height:1.8;margin:7px 0 0}
.ops-report-form{display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:20px}.ops-report-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#8db2ca;min-width:180px}.ops-report-form .ops-form-feedback{width:100%}.ops-report-preview{margin-top:20px;scroll-margin-top:90px}.ops-report-preview article{padding:20px 24px 30px}.ops-report-preview h2{font-size:21px;font-weight:600;color:#c8e6f5}.ops-report-preview h3{font-size:13px;color:#accfe2;margin:26px 0 14px}.ops-report-meta{font-size:10px;color:#719bb5;line-height:1.9}.ops-report-disclaimer{padding:12px 14px;background:#5d492222;border:1px solid #655c3f;color:#baa67a;font-size:11px;line-height:1.9}.ops-report-kpis{display:flex;gap:30px;margin:22px 0;color:#8aafc6;font-size:11px}.ops-report-kpis strong{font-size:24px;color:#a4d9ed;display:block;margin-top:7px}.ops-report-actions{padding:15px 23px 0;display:flex;gap:9px;flex-wrap:wrap}.ops-report-actions .button{font-size:10px}.ops-report-preview .ops-table-scroll{padding:0}
.ops-auto-reports,.ops-report-archive{margin-top:20px}.ops-report-form label.ops-auto-enable{flex-direction:row;align-items:center;align-self:center;min-width:160px}.ops-auto-enable input{width:auto;accent-color:#39b8cf}.ops-auto-summary{padding:0 20px 20px;display:grid;gap:8px;font-size:11px;color:#88adc3;line-height:1.8}.ops-auto-summary .error{color:#e4af82}.ops-auto-log{border-top:1px solid #22465c;padding:15px 20px;color:#89b3cb;font-size:11px}.ops-auto-log summary{cursor:pointer}.ops-auto-log .ops-table-scroll{margin-top:12px}.ops-report-narrative{font-size:12px;line-height:1.9;color:#96bace}
.ops-scene-tools{position:absolute;left:12px;top:126px;right:12px;z-index:4;display:flex;align-items:center;gap:7px;flex-wrap:wrap;pointer-events:none}.ops-scene-tools>*{pointer-events:auto}.ops-scene-tools label{display:flex;align-items:center;gap:4px;font-size:8px;color:#94b7ca;background:#052b40e8;border:1px solid #295a73;border-radius:3px;padding:3px 5px}.ops-scene-tools select{background:#06283c;border:0;color:#afccda;font-size:8px;padding:3px 2px;max-width:105px;color-scheme:dark}.ops-scene-tools select:disabled{opacity:.45}.ops-scene-tools>.button{padding:5px 7px;font-size:8px;min-height:25px;background:#052b40e8}.screen-map .ops-point-selected .pin-shadow{stroke:#fff6bd;stroke-width:3;filter:drop-shadow(0 0 5px #d8f3ff)}.ops-business-label{font-size:8px;color:#d4eaf0;background:#053148d9;border-color:var(--marker-color);z-index:1}.screen-map.is-panorama .ops-scene-tools{left:21px;top:153px;right:auto;gap:10px}.screen-map.is-panorama .ops-scene-tools label{font-size:11px;padding:5px 8px}.screen-map.is-panorama .ops-scene-tools select{font-size:11px;max-width:150px}.screen-map.is-panorama .ops-scene-tools>.button{font-size:10px;padding:8px}.screen-map.is-panorama .ops-business-label{font-size:11px}
.model-marker[data-quality=invalid],.model-marker[data-freshness=stale]{border-color:#6e8798;color:#a1b3be}.model-marker[data-quality=suspect]{border-color:#b99a59}.ops-marker-quality{font-size:7px;color:#dcc58d;border-left:1px solid #4b6472;padding-left:4px}.map-marker[data-quality=invalid] .pin-shadow,.map-marker[data-freshness=stale] .pin-shadow{fill:#708698}.map-marker[data-quality=suspect] .pin-shadow{stroke:#f4d28a;stroke-dasharray:3 2}
@media(min-width:1101px){.ops-overview .screen-grid{min-height:650px;grid-template-rows:minmax(470px,1fr) 170px}.ops-overview .screen-right{grid-template-rows:minmax(190px,1.1fr) minmax(130px,1fr) minmax(120px,.9fr)}}
@media(min-width:1700px){.ops-overview .screen-grid{min-height:675px;grid-template-rows:minmax(470px,1fr) 195px}}
@media(min-width:701px) and (max-width:1100px){.ops-overview .screen-right .water-reading{display:grid;grid-template-columns:65px 1fr 50px;gap:3px}.ops-overview .screen-right .ops-card-time{grid-column:1/-1;margin-top:0}}
@media(min-width:1700px){.ops-overview .screen-grid{height:calc(100vh - 270px)}.ops-health-strip{font-size:11px;min-height:44px;gap:16px}.ops-health-strip>button:not(.button){font-size:11px}.ops-water strong{font-size:25px!important}.ops-card-time{font-size:9px!important}.screen-events .ops-table-scroll td{font-size:11px;padding:11px 6px}}
@media(max-width:1100px){.ops-overview .screen-grid{height:auto;min-height:0}.ops-diag-chain{grid-template-columns:repeat(3,1fr)}.ops-health-scope{display:none}.ops-table-scroll .data-table{min-width:680px}.screen-events .ops-table-scroll .data-table{min-width:650px}.ops-analysis-controls{gap:9px}.ops-report-form{gap:11px}}
@media(max-width:700px){.ops-health-strip{gap:6px;padding:9px;margin-top:0}.ops-health-strip .ops-snapshot{width:100%;margin:0 0 3px}.ops-health-strip>button:not(.button){font-size:9px;padding:2px}.ops-health-strip>.button{font-size:8px;margin-left:auto}.ops-card-time{font-size:8px!important}.ops-water strong{font-size:19px!important}.ops-analysis-controls{padding:12px;gap:10px}.ops-analysis-controls label{font-size:9px}.ops-analysis-controls input[type=date]{max-width:128px}.ops-point-picks{margin:0 12px 10px;gap:10px}.ops-point-picks label{font-size:10px}.ops-chart{height:300px}.ops-chart.with-context{height:590px}.ops-table-scroll{padding:0 10px 10px}.ops-form{grid-template-columns:1fr;padding:13px;gap:13px}.ops-diag-toolbar{padding:13px;gap:10px}.ops-diag-toolbar label{width:100%}.ops-diag-toolbar select{width:100%;max-width:none}.ops-diag-chain{grid-template-columns:1fr 1fr;gap:8px;padding:0 13px 15px}.ops-diag-step{padding:12px;min-height:97px}.ops-diag-step strong{font-size:11px}.ops-diag-columns{grid-template-columns:1fr;padding:0 13px 13px;gap:5px}.ops-diag-columns pre{max-height:300px;font-size:10px}.ops-diagnostic-result{margin:0 13px 15px;padding:12px;font-size:10px}.ops-workflow-steps{grid-template-columns:1fr 1fr}.ops-report-form{padding:14px;align-items:stretch}.ops-report-form label{width:100%}.ops-report-preview article{padding:16px 13px}.ops-report-preview h2{font-size:18px}.ops-report-kpis{gap:20px;flex-wrap:wrap}.ops-report-actions{padding:14px 13px 0;gap:6px}.ops-report-actions .button{font-size:9px;padding:6px 9px}.ops-scene-tools{top:126px;left:9px;right:9px;gap:5px}.ops-scene-tools label{font-size:7px;padding:2px 4px}.ops-scene-tools select{max-width:85px;font-size:7px}.ops-scene-tools>.button{font-size:7px;padding:4px 6px;min-height:23px}.screen-map.is-panorama .ops-scene-tools{top:135px;left:9px;right:9px;gap:5px}.screen-map.is-panorama .ops-scene-tools label{font-size:8px;padding:3px}.screen-map.is-panorama .ops-scene-tools select{font-size:8px;max-width:100px}.screen-map.is-panorama .ops-scene-tools>.button{font-size:8px;padding:6px}.ops-empty-state{margin:12px;padding:27px 18px;font-size:11px}}
