.operations-center{min-width:0;color:var(--ui-text,#223448)}
.operations-center .ops-heading,.ops-dialog .ops-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.operations-center h2,.operations-center h3,.ops-dialog h2{margin:0;font-size:1.125rem;line-height:1.4}
.operations-center h3{margin-top:24px;margin-bottom:10px;font-size:1rem}
.ops-heading button{flex:none}
.ops-status,.ops-note,.ops-context{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere;color:var(--ui-text,#223448)}
.ops-context{font-weight:600}
.ops-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}
.operations-center button,.ops-dialog button{min-height:40px;min-width:40px;padding:8px 12px;font:inherit;line-height:1.4}
.operations-center input,.operations-center select,.ops-dialog input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--ui-border,#9ba9b8);border-radius:8px;color:var(--ui-text,#223448);background:var(--ui-surface,#fff);font:inherit;box-sizing:border-box}
.operations-center label,.ops-dialog label{display:grid;gap:6px;font-size:.875rem;font-weight:600;min-width:0}
.ops-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}
.ops-metric{border:1px solid var(--ui-border,#c8d8d8);border-radius:10px;padding:14px;background:var(--ui-surface,#fff);display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}
.ops-metric span{font-size:.875rem;line-height:1.4}.ops-metric strong{font-size:1.625rem;line-height:1.2}
.ops-alerts{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ops-alert{padding:12px;border:1px solid var(--ui-border,#9ba9b8);border-left:4px solid #965600;border-radius:8px;background:var(--ui-surface,#fff);overflow-wrap:anywhere}.ops-alert[data-severity=critical]{border-left-color:#c32f45}.ops-alert p{margin:4px 0 0;line-height:1.5}
.ops-table-wrap{max-width:100%;overflow:auto;margin:18px 0}.ops-table-wrap table{width:100%;border-collapse:collapse;font-size:.875rem;line-height:1.5}.ops-table-wrap caption{text-align:left;font-weight:600;margin-bottom:8px}.ops-table-wrap th,.ops-table-wrap td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--ui-border,#c8d8d8);vertical-align:top;overflow-wrap:anywhere}.ops-table-wrap th{color:var(--ui-text,#223448)}
.ops-diagnostic-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px}.ops-error,.ops-warning{color:var(--ui-text,#223448);font-weight:600;line-height:1.5}.ops-error:not(:empty){padding:10px;border-left:4px solid #c32f45}
.ops-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--ui-border,#9ba9b8);border-radius:12px;background:var(--ui-surface,#fff);color:var(--ui-text,#223448);overflow:auto}.ops-dialog::backdrop{background:rgba(0,0,0,.5)}.ops-dialog form{display:grid;gap:16px}.ops-close{font-size:1.25rem!important;background:transparent!important;color:inherit!important;border:none!important}
.operations-center :focus-visible,.ops-dialog :focus-visible{outline:3px solid #007caf!important;outline-offset:3px!important}
html[data-theme=dark] .operations-center :focus-visible,html[data-theme=dark] .ops-dialog :focus-visible{outline-color:#9bddff!important}
@media(max-width:1000px){.ops-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ops-diagnostic-form{grid-template-columns:1fr 1fr}.ops-diagnostic-form button{grid-column:1/-1;justify-self:start}}
@media(max-width:520px){.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-diagnostic-form{grid-template-columns:1fr}.ops-dialog{padding:16px}.ops-toolbar>button{flex:1 1 auto}.ops-table-wrap th,.ops-table-wrap td{padding:8px}.ops-metric{padding:12px}.ops-metric strong{font-size:1.4rem}}
