.ops-capacity { padding:16px; margin:12px 0; background:var(--coral-light); border-radius:10px; line-height:1.8; font-weight:600; }
.ops-readiness { margin:12px 0 16px; padding:14px; border:1px solid var(--border-light); border-radius:12px; background:var(--bg-card); }
.ops-readiness-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px 14px; }
.ops-readiness-copy { min-width:0; }
.ops-readiness-copy h3 { margin:0; }
.ops-readiness-copy p { margin:3px 0 0; color:var(--text-muted); font-size:11px; }
.ops-readiness-tools,.ops-readiness-header-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.ops-readiness-header-actions { grid-column:2; }
.ops-readiness-header .secondary-button { flex-shrink:0; white-space:nowrap; }
.ops-readiness-tools .text-button { padding:4px 6px; font-size:10px; white-space:nowrap; }
.ops-readiness-tools .text-button:disabled { opacity:.45; cursor:not-allowed; }
.ops-copy-buffer { position:fixed; left:0; top:0; width:1px; height:1px; opacity:0; pointer-events:none; }
.ops-readiness-scope { display:grid; grid-template-columns:auto minmax(180px, 260px) minmax(0,1fr); align-items:center; gap:8px; margin:12px 0 8px; color:var(--text-title); font-size:11px; font-weight:700; }
.ops-readiness-scope select { min-width:0; padding:7px 9px; border:1px solid var(--border-medium); border-radius:7px; color:var(--text-title); background:var(--bg-subtle); font:inherit; font-weight:600; }
.ops-readiness-scope small { color:var(--text-muted); font-size:10px; font-weight:400; line-height:1.45; }
.ops-readiness-summary { margin:10px 0; line-height:1.5; }
.ops-next-steps { margin:14px 0; padding:14px; border:1px solid var(--sage-green); border-left:4px solid var(--sage-green); border-radius:10px; background:var(--sage-green-light); }
.operations-dialog .ops-next-steps h3 { margin:0 0 6px; color:var(--sage-green); font-size:14px; }
.ops-next-steps-summary { margin:0 0 12px; color:var(--text-body); font-size:12px; line-height:1.65; }
.ops-next-steps-list { display:grid; gap:8px; margin:0; padding:0; list-style:none; counter-reset:ops-step; }
.ops-next-step { counter-increment:ops-step; display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px; border:1px solid var(--border-medium); border-radius:8px; background:var(--bg-card); }
.ops-next-step::before { content:counter(ops-step,decimal-leading-zero); align-self:start; color:var(--coral); font:800 14px var(--font-mono,monospace); line-height:1.5; }
.ops-next-step-copy { min-width:0; }
.ops-next-step-copy strong { color:var(--text-title); font-size:13px; }
.ops-next-step-copy p { margin:4px 0 0; color:var(--text-muted); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
.ops-next-step .secondary-button { min-height:40px; white-space:nowrap; }
.ops-next-step .secondary-button:focus-visible,.ops-replica-guide summary:focus-visible { outline:2px solid var(--coral); outline-offset:3px; }
.ops-readiness-list { display:grid; gap:7px; }
.ops-readiness-item { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:10px; padding:9px 10px; border:1px solid var(--border-light); border-left:3px solid var(--border-medium); border-radius:8px; background:var(--bg-subtle); }
.ops-readiness-item-copy { display:grid; min-width:0; gap:2px; }
.ops-readiness-item-copy strong { color:var(--text-title); font-size:12px; }
.ops-readiness-item-copy span { color:var(--text-muted); font-size:10px; line-height:1.45; overflow-wrap:anywhere; }
.ops-readiness-item.is-ready { border-left-color:var(--sage-green); }
.ops-readiness-item.is-attention,.ops-readiness-item.is-unverified { border-left-color:var(--gold-amber); }
.ops-readiness-item.is-blocked { border-left-color:var(--coral); }
.ops-readiness-pill { padding:3px 7px; border-radius:999px; color:var(--text-muted); background:var(--bg-tag); font-size:9px; font-weight:700; white-space:nowrap; }
.ops-readiness-action { flex:0 0 auto; white-space:nowrap; }
.ops-readiness-item.is-ready .ops-readiness-pill { color:var(--sage-green); background:var(--sage-green-light); }
.ops-readiness-item.is-attention .ops-readiness-pill,.ops-readiness-item.is-unverified .ops-readiness-pill { color:var(--gold-amber); background:var(--gold-amber-light); }
.ops-readiness-item.is-blocked .ops-readiness-pill { color:var(--coral); background:var(--coral-light); }
.ops-readiness-item.is-not_required { border-left-color:var(--border-medium); opacity:.82; }
.ops-readiness-item.is-not_required .ops-readiness-pill { color:var(--text-muted); background:var(--bg-tag); }
.ops-interrupted { margin:14px 0; padding:12px; border:1px solid var(--gold-amber); border-radius:10px; background:var(--bg-subtle); }
.ops-readiness-guide { margin-top:12px; padding:10px 12px; border:1px solid var(--border-light); border-radius:9px; background:var(--bg-subtle); color:var(--text-muted); font-size:11px; line-height:1.65; }
.ops-readiness-guide summary { cursor:pointer; color:var(--text-title); font-weight:700; }
.ops-readiness-guide p { margin:8px 0 0; }
.operations-dialog [tabindex="-1"]:focus { outline:2px solid var(--coral); outline-offset:3px; }
.ops-interrupted h3 { margin:0 0 6px; }
.ops-interrupted-item { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:9px 0; border-top:1px solid var(--border-light); }
.ops-interrupted-item span { min-width:0; overflow-wrap:anywhere; }
 .ops-interrupted-copy { display:grid; gap:3px; }
 .ops-interrupted-copy strong { color:var(--text-title); font-size:12px; }
 .ops-interrupted-copy small { color:var(--text-muted); font-size:10px; line-height:1.4; }
.ops-interrupted-actions { display:flex; flex-wrap:wrap; gap:8px; }
.ops-backup { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:14px 0; border-bottom:1px solid var(--border-light); }
.ops-backup span { min-width:0; overflow-wrap:anywhere; flex:1 1 240px; font-size:12px; }
.ops-backup-actions { display:flex; flex-wrap:wrap; gap:8px; }
.ops-backup-actions .secondary-button { white-space:nowrap; }
.ops-replica { margin:16px 0; padding:14px; border:1px solid var(--border-light); border-radius:10px; background:var(--bg-subtle); }
.ops-replica h3 { margin:0 0 6px; }
.ops-replica p { margin:0 0 10px; }
.ops-replica-guide { margin-top:12px; padding-top:12px; border-top:1px solid var(--border-medium); font-size:12px; line-height:1.7; color:var(--text-muted); }
.ops-replica-guide summary { color:var(--text-title); cursor:pointer; font-weight:700; }
.ops-replica-guide p { margin:10px 0 0; }
.ops-restore { margin-top:24px; line-height:1.8; }
.ops-restore summary { cursor:pointer; font-weight:600; }
.ops-restore p { margin-top:12px; }
.ops-restore pre { white-space:pre-wrap; overflow-wrap:anywhere; background:#f5f3f1; padding:12px; font-size:12px; }
.operations-dialog .library-actions { margin:16px 0; }
.operations-dialog h3 { margin-top:20px; }
.ops-backups { max-height:300px; overflow:auto; }
@media (max-width:560px) {
  .ops-next-steps { padding:10px; }
  .ops-next-step { grid-template-columns:24px minmax(0,1fr); gap:8px; padding:10px; }
  .ops-next-step .secondary-button { grid-column:2; width:100%; min-width:0; white-space:normal; }
  .ops-readiness-header { align-items:stretch; grid-template-columns:1fr; }
  .ops-readiness-tools { justify-content:flex-start; }
  .ops-readiness-header-actions { grid-column:1; justify-content:stretch; }
  .ops-readiness-header .secondary-button { width:100%; justify-content:center; }
  .ops-readiness-scope { grid-template-columns:1fr; align-items:stretch; }
  .ops-readiness-scope select { width:100%; }
  .ops-backup-actions { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ops-backup-actions .secondary-button { width:100%; min-width:0; text-align:center; }
}
