.cosmos-ops { max-width:1440px;--ops-surface:#0c141e; }
.cosmos-ops .cosmos-admin__heading h2 { font-size:clamp(2rem,3.5vw,3.3rem); }
.cosmos-ops__toolbar { display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0;border-block:1px solid var(--admin-line);margin-bottom:22px; }
.cosmos-ops__toolbar label { display:flex;align-items:center;gap:10px;font-size:.86rem;color:var(--admin-muted);min-height:44px; }
.cosmos-ops__toolbar input { width:18px;height:18px;accent-color:var(--admin-accent); }
.cosmos-ops__toolbar>span { margin-left:auto;max-width:36ch;font-size:.78rem;color:var(--admin-muted);line-height:1.5; }
.cosmos-ops__timestamp { font-size:.76rem;color:var(--admin-muted);line-height:1.6;margin:12px 0;font-variant-numeric:tabular-nums; }
.cosmos-ops__signal { display:flex;gap:30px;align-items:center;justify-content:space-between;padding:24px 0 34px; }
.cosmos-ops__signal h3 { font-size:clamp(1.65rem,3vw,2.7rem);text-transform:capitalize;font-weight:440;letter-spacing:-.045em;margin:10px 0; }
.cosmos-ops__signal p { font-size:.82rem;color:var(--admin-muted);line-height:1.6; }
.cosmos-ops__signal>div:last-child { display:grid;justify-items:end;gap:16px; }
.cosmos-ops__signal a { min-height:44px;display:flex;gap:8px;align-items:center;font-size:.84rem; }
.cosmos-ops__state { display:inline-flex;align-items:center;gap:9px;font-size:.83rem;text-transform:capitalize;color:#b6c2cb;line-height:1.5; }
.cosmos-ops__state::before { content:"";display:inline-block;width:6px;height:6px;flex:none;background:currentColor;border-radius:1px; }
.cosmos-ops__state[data-tone=good] { color:#a9d8c2; }
.cosmos-ops__state[data-tone=warning] { color:#e2bf94; }
.cosmos-ops__state[data-tone=bad] { color:#e7aaa6; }
.cosmos-ops__attention { display:grid;grid-template-columns:170px 1fr;gap:10px 24px;border-block:1px solid var(--admin-line);padding:20px 0;margin-bottom:24px; }
.cosmos-ops__attention h3 { font-size:.9rem;font-weight:500;color:var(--admin-accent); }
.cosmos-ops__attention p { font-size:.85rem;line-height:1.6;color:var(--admin-muted);grid-column:2; }
.cosmos-ops__table { width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:.86rem;margin-top:16px; }
.cosmos-ops__table caption { text-align:left;color:var(--admin-muted);font-size:.76rem;padding:0 0 12px;letter-spacing:.03em; }
.cosmos-ops__table th,.cosmos-ops__table td { overflow-wrap:anywhere;vertical-align:top;line-height:1.55;padding:16px 14px;border-bottom:1px solid var(--admin-line); }
.cosmos-ops__table thead th { border-top:1px solid var(--admin-line);color:var(--admin-muted);font-weight:500;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em; }
.cosmos-ops__table th:first-child { width:26%;padding-left:0; }
.cosmos-ops__table th:nth-child(2) { width:21%; }
.cosmos-ops__table tbody th { font-weight:500; }
.cosmos-ops__table td { color:var(--admin-muted); }
.cosmos-ops__table td:last-child { padding-right:0; }
.cosmos-ops__table small { display:block;font-size:.78rem;font-weight:400;color:var(--admin-muted);margin-top:5px; }
.cosmos-ops__table tbody tr:hover { background:rgba(162,202,230,.025); }
.cosmos-ops__table details p { font-size:.77rem; }
.cosmos-ops__table details a { display:inline-flex;min-height:44px;align-items:center;color:var(--admin-accent); }
.cosmos-ops__section { padding-top:46px;margin-top:38px;border-top:1px solid var(--admin-line);scroll-margin-top:24px;min-width:0; }
.cosmos-ops__section>header { display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:24px; }
.cosmos-ops__section h3 { font-size:clamp(1.35rem,2.2vw,2rem);font-weight:480;letter-spacing:-.03em;margin:10px 0; }
.cosmos-ops__section>header p:not(.cosmos-label),.cosmos-ops__note { font-size:.82rem;line-height:1.7;color:var(--admin-muted);max-width:78ch; }
.cosmos-ops__section>header>a,.cosmos-ops__actions>a { min-height:44px;display:inline-flex;gap:8px;align-items:center;white-space:nowrap;font-size:.85rem; }
.cosmos-ops__section>header>button { flex-shrink:0; }
.cosmos-ops__actions { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }
.cosmos-ops__filters { display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,220px);gap:18px;max-width:650px;margin-bottom:18px; }
.cosmos-ops [data-ops-upload-summary] { font-size:.78rem;line-height:1.6;color:var(--admin-muted); }
.cosmos-ops__empty { padding:28px 0;color:var(--admin-muted);border-bottom:1px solid var(--admin-line); }
.cosmos-ops__empty strong { font-weight:500;color:var(--admin-ink); }
.cosmos-ops__empty p { font-size:.85rem;line-height:1.6;margin-top:8px; }
.cosmos-ops [data-ops-source][aria-busy=true] { opacity:.65; }
.cosmos-ops__upload { padding:22px 0;border-bottom:1px solid var(--admin-line); }
.cosmos-ops__upload header { display:flex;align-items:baseline;gap:15px;flex-wrap:wrap; }
.cosmos-ops__upload header>div { margin-right:auto;min-width:0;max-width:100%; }
.cosmos-ops__upload h4 { font-size:1rem;font-weight:500;overflow-wrap:anywhere; }
.cosmos-ops__upload header p { font-size:.83rem;margin-top:6px;color:var(--admin-muted);overflow-wrap:anywhere; }
.cosmos-ops__upload header>span { font-size:.8rem;color:var(--admin-accent); }
.cosmos-ops__upload footer { display:flex;gap:8px;flex-wrap:wrap;margin-top:16px; }
.cosmos-ops [data-system-upload-action=cancel] { color:#e7aaa6;margin-left:auto; }
.cosmos-ops__transfer { display:flex;gap:24px;align-items:center;margin:22px 0 12px; }
.cosmos-ops__transfer span { font-size:.82rem;font-variant-numeric:tabular-nums;white-space:nowrap; }
.cosmos-ops__transfer progress { flex:1;min-width:0;height:5px;accent-color:var(--admin-accent);background:#172937;border:none; }
.cosmos-ops__transfer progress::-webkit-progress-bar { background:#172937; }
.cosmos-ops__transfer progress::-webkit-progress-value { background:#a0c5d9; }
.cosmos-ops [data-ops-upload-more],.cosmos-ops [data-ops-backup-more],.cosmos-ops [data-ops-audit-more] { margin-top:20px; }
.cosmos-ops__control-layout { display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:48px; }
.cosmos-ops__control-layout h4 { font-size:1.2rem;letter-spacing:-.025em;font-weight:500; }
.cosmos-ops__control-layout form>p { font-size:.85rem;line-height:1.65;color:var(--admin-muted); }
.cosmos-ops__areas { display:grid;grid-template-columns:1fr 1fr;gap:4px 16px; }
.cosmos-ops__areas label { display:flex;align-items:center;gap:10px;min-height:44px;font-size:.84rem;color:var(--admin-muted);cursor:pointer; }
.cosmos-ops__areas input { width:17px;height:17px;accent-color:var(--admin-accent);flex-shrink:0; }
.cosmos-ops__infrastructure { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--admin-line); }
.cosmos-ops__infrastructure>section { padding:28px 32px 12px 0;min-width:0; }
.cosmos-ops__infrastructure>section+section { padding:28px 0 12px 32px;border-left:1px solid var(--admin-line); }
.cosmos-ops__infrastructure h3 { font-size:1.5rem;letter-spacing:-.03em;font-weight:450;margin:16px 0 28px;overflow-wrap:anywhere; }
.cosmos-ops__facts { display:grid;min-width:0; }
.cosmos-ops__facts>div { display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);gap:20px;padding:14px 0;border-bottom:1px solid var(--admin-line);font-size:.83rem;line-height:1.6; }
.cosmos-ops__facts dt { color:var(--admin-muted); }
.cosmos-ops__facts dd { margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums; }
.cosmos-ops__capacity { margin:24px 0;display:grid;gap:12px; }
.cosmos-ops__capacity>span { color:var(--admin-muted);font-size:.78rem; }
.cosmos-ops__capacity strong { font-size:1.65rem;font-weight:420;letter-spacing:-.03em;font-variant-numeric:tabular-nums; }
.cosmos-ops__capacity small { font-size:1rem;color:var(--admin-muted); }
.cosmos-ops__capacity meter { width:100%;height:7px; }
.cosmos-ops__capacity meter::-webkit-meter-bar { border:none;background:#172937;border-radius:0; }
.cosmos-ops__capacity meter::-webkit-meter-optimum-value { background:#a0c5d9; }
.cosmos-ops--system .cosmos-ops__signal { border-left:2px solid var(--admin-accent);padding-left:24px; }
.cosmos-ops--system .cosmos-ops__section { margin-top:28px;padding-top:28px; }
.cosmos-ops [data-ops-rescan-result] { font-size:.88rem;line-height:1.6;color:var(--admin-accent);margin-top:16px; }
@media(max-width:1000px) {
  .cosmos-ops__control-layout { gap:28px;grid-template-columns:1fr; }
  .cosmos-ops__infrastructure { grid-template-columns:1fr; }
  .cosmos-ops__infrastructure>section+section { border-left:0;border-top:1px solid var(--admin-line);padding-left:0; }
  .cosmos-ops__infrastructure>section { padding-right:0; }
  .cosmos-ops__toolbar>span { margin-left:0; }
}
@media(max-width:600px) {
  .cosmos-ops .cosmos-admin__heading h2 { font-size:2.25rem;line-height:1.06; }
  .cosmos-ops__signal { display:block;padding-block:20px; }
  .cosmos-ops__signal>div:last-child { display:flex;justify-content:space-between;align-items:center;margin-top:16px; }
  .cosmos-ops__signal h3 { font-size:1.85rem; }
  .cosmos-ops__section>header { display:grid;gap:16px; }
  .cosmos-ops__section>header>button { justify-self:start; }
  .cosmos-ops__attention { grid-template-columns:1fr; }
  .cosmos-ops__attention p { grid-column:1; }
  .cosmos-ops__filters { grid-template-columns:1fr;gap:12px; }
  .cosmos-ops__table { display:block; }
  .cosmos-ops__table caption { display:block; }
  .cosmos-ops__table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  .cosmos-ops__table tbody { display:block; }
  .cosmos-ops__table tr { display:block;padding:16px 0;border-bottom:1px solid var(--admin-line); }
  .cosmos-ops__table th,.cosmos-ops__table td { display:block;width:auto!important;border:0;padding:4px 0!important; }
  .cosmos-ops__table td[data-label] { display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px; }
  .cosmos-ops__table td[data-label]::before { content:attr(data-label);font-size:.73rem;color:var(--admin-muted);padding-top:2px; }
  .cosmos-ops__table td>small { grid-column:2; }
  .cosmos-ops__table th small { margin-bottom:8px; }
  .cosmos-ops__table details summary { padding-top:0;min-height:36px; }
  .cosmos-ops__facts>div { grid-template-columns:1fr;gap:4px; }
  .cosmos-ops__transfer { display:grid;gap:10px; }
  .cosmos-ops__transfer progress { width:100%; }
  .cosmos-ops__areas { grid-template-columns:1fr; }
  .cosmos-ops__section { padding-top:28px;margin-top:28px; }
}
@media(prefers-reduced-motion:reduce) {
  .cosmos-ops *, .cosmos-ops *::before { transition:none!important;animation:none!important;scroll-behavior:auto!important; }
}
