/* 水控厂家运营工作台：承接现有水蓝色系统，用管路与计量语言组织信息。 */
.ops { --ops-blue:#087db7; --ops-navy:#143e59; }
.mobile-view-select { display:none; }
.ops-heading-tools { display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end; }
.ops-heading-tools select { max-width:285px; }
.ops-overview-banner { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 32px;margin-bottom:20px;background:#e5f4fc;border:1px solid #c5e4f5;border-left:4px solid var(--accent);border-radius:4px 12px 12px 4px;overflow:hidden; }
.ops-live { display:flex;align-items:center;gap:8px;color:#387592;font-size:12px; }
.ops-live i { width:6px;height:6px;border-radius:50%;background:#0c9a86; }
.ops .ops-overview-banner h2 { margin:10px 0 8px;font-size:28px;letter-spacing:1px;font-weight:650; }
.ops-overview-banner p { margin:0;color:#547a8e; }
.ops-pipeline { text-align:center;width:230px;flex:none;color:#3a83a7; }
.ops-pipeline>span { display:block;width:120px;padding:6px 10px;border:1px solid #91c4df;border-radius:24px;margin:auto;background:#ffffff80; }
.ops-pipeline>b { font-weight:400;display:block;line-height:24px; }
.ops-pipeline>div { display:flex;border-top:1px solid #91c4df;justify-content:space-between; }
.ops-pipeline i { position:relative;font-style:normal;padding:9px 12px 0;font-size:12px; }
.ops-pipeline i:before { content:"";position:absolute;top:0;left:50%;height:5px;border-left:1px solid #91c4df; }
.ops-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px;border:1px solid var(--line);background:white;border-radius:10px; }
.ops-metrics article { padding:20px 24px;min-width:0; }
.ops-metrics article+article { border-left:1px solid var(--line); }
.ops-metrics article>span { color:var(--ink-2);font-size:13px; }
.ops-metrics strong { display:block;font-family:var(--num);font-size:32px;font-weight:550;line-height:1.4;color:var(--ops-navy);white-space:nowrap; }
.ops-metrics strong small { font-size:12px;font-weight:400;font-family:inherit;color:var(--muted);margin-left:7px; }
.ops-metrics p { font-size:12px;color:var(--muted);margin:5px 0 0; }
.ops-two-columns { display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;margin-bottom:20px; }
.ops-two-columns>* { min-width:0; }
.ops-panel-head { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;border-bottom:1px solid var(--line-soft); }
.ops h2,.ops-dialog h2 { font-size:16px;font-weight:650;margin:0; }
.ops-panel-head>span { color:var(--muted);font-size:12px; }
.ops-link { color:var(--accent);background:none;border:0;padding:4px 0;font:inherit;font-size:13px;line-height:1.5;white-space:nowrap;cursor:pointer; }
.ops-link:hover { text-decoration:underline;text-underline-offset:3px; }
.ops-actions { display:flex;flex-wrap:wrap;column-gap:13px;row-gap:3px; }
.ops-badge { display:inline-block;border-radius:4px;padding:3px 7px;background:#edf5fa;color:#47728a;font-size:12px;white-space:nowrap; }
.ops-badge.ok { background:#e7f5ee;color:#217a56; }
.ops-badge.warn { background:#fff4de;color:#996513; }
.ops-badge.danger { background:#fff0ee;color:#b94236; }
.ops-badge.muted { background:#eff2f5;color:#7c8790; }
.ops-chart-panel { margin-bottom:20px; }
.ops-two-columns .ops-chart-panel { margin-bottom:0; }
.ops-chart { padding:14px 24px 20px;overflow-x:auto; }
.ops-chart-unit { font-size:11px;color:var(--muted);margin-bottom:15px; }
.ops-chart-bars { display:flex;gap:10px;height:190px;min-width:320px; }
.ops-chart-col { flex:1;min-width:30px;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;font-family:var(--num);font-size:12px;color:var(--ink-2); }
.ops-chart-col>span { height:20px; }
.ops-bar-track { height:140px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #bddaea;background:repeating-linear-gradient(to top,transparent 0,transparent 34px,#edf3f7 34px,#edf3f7 35px); }
.ops-bar-track i { display:block;width:100%;max-width:34px;background:#55b8df;border-radius:3px 3px 0 0;min-height:2px; }
.ops-chart-col:last-child .ops-bar-track i { background:#087db7; }
.ops-chart-col small { margin-top:10px;font-size:11px;white-space:nowrap; }
.ops-focus { padding-bottom:12px; }
.ops-alert-row { display:flex;align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid var(--line-soft); }
.ops-alert-row>div { flex:1;min-width:0; }
.ops-alert-row strong { display:block;font-weight:500;font-size:13px; }
.ops-alert-row small { display:block;font-size:11px;color:var(--muted);margin-top:4px; }
.ops-shortcuts { display:flex;justify-content:space-around;gap:8px;padding:12px 16px 0; }
.ops-table-panel { margin-bottom:20px;overflow:hidden;scroll-margin-top:75px; }
.ops-table-scroll { overflow-x:auto; }
.ops-table-scroll table { width:100%;border-collapse:collapse;font-size:13px;min-width:650px; }
.ops-table-scroll th { padding:12px 18px;text-align:left;font-size:12px;color:var(--muted);background:#f7fbfe;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--line); }
.ops-table-scroll td { padding:15px 18px;border-bottom:1px solid var(--line-soft);vertical-align:middle;color:var(--ink);overflow-wrap:anywhere;max-width:300px; }
.ops-table-scroll tr:last-child td { border-bottom:0; }
.ops-table-scroll tbody tr:hover { background:#f8fcff; }
.ops-table-scroll td>small { display:block;font-size:11px;color:var(--muted);line-height:1.65;margin-top:5px; }
.ops-table-scroll td>strong { font-weight:500; }
.ops-table-foot { display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:12px 22px;gap:12px;color:var(--muted);font-size:12px; }
.ops-table-foot>div { display:flex;gap:20px; }
.ops-filters { display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px; }
.ops-filters .field { flex:1;min-width:130px;max-width:360px; }
.ops-filters .field:first-child { flex:2; }
.ops-filters .ops-link { height:38px;padding:0 10px; }
.ops-empty { padding:40px 24px;text-align:center;color:var(--muted); }
.ops-empty p { margin:8px 0 0;font-size:13px; }
.ops-toolbar { display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px; }
.ops-toolbar p { color:var(--muted);font-size:13px;margin:0; }
.ops-rule-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }
.ops-rule { padding-bottom:4px;overflow:hidden; }
.ops-rule .ops-panel-head { align-items:flex-start;padding:18px 20px; }
.ops-rule h2 { line-height:1.6; }
.ops-rule>p { padding:0 20px;color:var(--muted);font-size:12px;margin:14px 0 8px; }
.ops-rate { font-size:36px;font-family:var(--num);color:var(--accent);padding:0 20px; }
.ops-rate small { font-size:12px;margin-left:7px;color:var(--muted); }
.ops-rule dl { margin:12px 20px 18px; }
.ops-rule dl>div { display:flex;justify-content:space-between;gap:14px;padding:7px 0; }
.ops-rule dt { color:var(--muted);font-size:12px; }
.ops-rule dd { margin:0;font-size:13px;text-align:right; }
.ops-rule-actions { border-top:1px solid var(--line-soft);display:flex;gap:18px;justify-content:flex-end;padding:14px 20px; }
.ops-advice { padding:17px 22px;background:#eaf5fb;border-left:3px solid #5da8cc;margin:20px 0;color:var(--ink-2);font-size:13px; }
.ops-advice p { margin:6px 0 0;line-height:1.85; }
.ops-info { padding:22px; }
.ops-info>h2 { margin-bottom:18px; }
.ops-info>h2:not(:first-child) { margin-top:24px; }
.ops-process { padding:0;list-style:none;margin:0; }
.ops-process li { border-left:2px solid #b7dceb;padding:0 0 22px 18px;position:relative; }
.ops-process li:before { content:"";position:absolute;left:-5px;top:5px;width:8px;height:8px;border:2px solid #6babc9;background:white;border-radius:50%; }
.ops-process li:last-child { padding-bottom:0; }
.ops-process strong,.ops-process span { display:block;font-size:13px; }
.ops-process span { color:var(--muted);margin-top:5px; }
.ops-facts { margin:0; }
.ops-facts>div { display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--line-soft);font-size:13px; }
.ops-facts dt { color:var(--muted); }
.ops-facts dd { margin:0;overflow-wrap:anywhere; }
.ops-release { display:flex;justify-content:space-between;align-items:center;padding:24px;gap:24px;margin-bottom:20px; }
.ops-release h2 { font-size:20px; }
.ops-release p { color:var(--ink-2);font-size:13px;line-height:1.85;margin:10px 0 0; }
.ops-release>div:last-child { display:flex;flex-direction:column;align-items:center;gap:12px;flex:none; }
.ops-muted { color:var(--muted);font-size:12px;line-height:1.8; }
.ops-focus>.ops-muted { padding:15px 22px; }
.ops-form-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.ops-form-grid>.full { grid-column:1/-1; }
.ops-form-grid textarea { width:100%;min-height:96px;border:1px solid #cedfe9;border-radius:7px;padding:10px 12px;resize:vertical;font:inherit;color:var(--ink);background:#fff; }
.ops-form-grid .field { min-width:0; }
.ops-form-grid input,.ops-form-grid select { width:100%; }
.ops-role { padding:14px 0;border-bottom:1px solid var(--line-soft); }
.ops-role strong { font-size:13px; }
.ops-role p { color:var(--muted);font-size:12px;margin:5px 0 0;line-height:1.8; }
.ops-dialog { padding:0;width:min(610px,calc(100vw - 32px));max-height:88dvh;border:1px solid var(--line);border-radius:12px;color:var(--ink);box-shadow:0 22px 80px #143e5938; }
.ops-dialog::backdrop { background:#143e5966; }
.ops-dialog-head { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--line); }
.ops-dialog-head h2 { font-size:18px; }
.ops-dialog-body { padding:20px 24px; }
.ops-dialog-body>p:first-child { margin-top:0; }
.ops-dialog-body>p { font-size:13px;line-height:1.85; }
.ops-dialog-body>h3 { font-size:14px;margin-top:24px; }
.ops-dialog-foot { display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--line);background:#f7fbfe; }
.ops-dialog-actions { display:flex;gap:22px;margin-top:20px; }
#opsFormError { color:#b94236;margin-bottom:0; }
.ops-timeline { color:var(--muted);padding-left:20px;font-size:12px; }
.ops-timeline li { padding:6px 0;line-height:1.8;overflow-wrap:anywhere; }
.ops-toast { position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;max-width:calc(100vw - 32px);width:max-content;padding:13px 22px;border-radius:8px;background:#143e59;color:white;box-shadow:0 6px 25px #143e5933;font-size:13px; }
@media(min-width:1500px) { .ops-overview-banner{padding:30px 36px}.ops-chart-bars{height:210px}.ops-bar-track{height:160px} }
@media(max-width:1200px) { .ops-two-columns{grid-template-columns:minmax(0,1fr)}.ops-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-metrics article{padding:16px}.ops-metrics strong{font-size:27px}.ops-metrics p{font-size:11px} }
@media(max-width:900px) { .topbar .breadcrumbs{display:none}.mobile-view-select{display:block;min-width:0;max-width:200px;width:100%;height:34px;border:1px solid var(--line);background:white;border-radius:6px;padding:0 8px;color:var(--ink);font:inherit;font-size:13px} }
@media(max-width:760px) { .ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-metrics article:nth-child(3){border-left:0}.ops-metrics article:nth-child(n+3){border-top:1px solid var(--line)}.ops-overview-banner{padding:22px}.ops .ops-overview-banner h2{font-size:24px}.ops-pipeline{display:none}.ops-heading-tools{justify-content:flex-start;width:100%}.ops-heading-tools .field{flex:1}.ops-heading-tools select{width:100%;max-width:none}.ops-rule-grid{grid-template-columns:minmax(0,1fr)}.ops-release{flex-direction:column;align-items:flex-start}.ops-release>div:last-child{flex-direction:row}.ops-toolbar{align-items:flex-start}.ops-toolbar p{max-width:65%}.ops-filters{padding:15px}.ops-chart{padding-left:15px;padding-right:15px}.ops-chart-bars{gap:8px}.ops-panel-head{padding:16px}.ops-info{padding:18px}.ops-overview-banner p{font-size:12px;line-height:1.8} }
@media(max-width:480px) { .ops-form-grid{grid-template-columns:minmax(0,1fr)}.ops-facts>div{grid-template-columns:90px minmax(0,1fr)}.ops-metrics article{padding:14px}.ops-metrics strong{font-size:25px}.ops-filters .field{max-width:none;min-width:100%;flex:1}.ops-dialog-body,.ops-dialog-head,.ops-dialog-foot{padding:16px}.ops-dialog{max-height:94dvh}.ops-toast{bottom:14px}.ops-shortcuts{padding:12px 10px 0}.ops-toolbar{flex-direction:column;gap:12px}.ops-toolbar p{max-width:none}.ops-panel-head h2{font-size:14px} }
