:root {
  --ops-bg: #eef2f5;
  --ops-surface: #ffffff;
  --ops-surface-soft: #f7f9fb;
  --ops-sidebar: #151b22;
  --ops-sidebar-soft: #202832;
  --ops-border: #d5dce3;
  --ops-border-strong: #bcc7d1;
  --ops-text: #17202a;
  --ops-muted: #5f6d79;
  --ops-soft: #7c8995;
  --ops-accent: #2267d8;
  --ops-accent-soft: #e9f0fc;
  --ops-gold: #c89b55;
  --ops-green: #19704a;
  --ops-green-soft: #eaf6ef;
  --ops-amber: #8a5700;
  --ops-amber-soft: #fff4dc;
  --ops-red: #a42a34;
  --ops-red-soft: #fcebed;
  --ops-radius: 6px;
  --ops-shadow: 0 10px 30px rgba(21, 32, 43, 0.08);
  --ops-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Runtime schedules and communication map: read-only v1. */
.ops-runtime-head{align-items:flex-start}.ops-runtime-tabs{display:flex;gap:8px;margin:22px 0}.ops-runtime-tabs a{padding:10px 16px;border:1px solid var(--ops-border,#d8dee8);border-radius:999px;color:inherit;text-decoration:none}.ops-runtime-tabs a.is-active{background:#0b2036;color:#fff;border-color:#0b2036}.ops-runtime-panel{background:#fff;border:1px solid var(--ops-border,#d8dee8);border-radius:18px;padding:20px}.ops-runtime-panel>header{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.ops-runtime-panel h2,.ops-runtime-panel h3{margin:0}.ops-runtime-panel p{color:#667085}.ops-runtime-table small{display:block;margin-top:4px;color:#667085}.ops-runtime-table tr.is-legacy{background:#fff9eb}.ops-runtime-route-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ops-runtime-route-card{border:1px solid #e4e8ef;border-radius:14px;padding:16px;min-width:0}.ops-runtime-route-card code{display:block;overflow-wrap:anywhere}.ops-runtime-route-flow{display:flex;gap:8px;align-items:center;margin-bottom:12px}.ops-runtime-route-flow span{color:#98a2b3}.ops-runtime-hop-list{display:grid;gap:6px;margin:14px 0}.ops-runtime-hop-list span{background:#f6f8fb;border-radius:8px;padding:8px}.ops-runtime-route-card footer{display:flex;justify-content:space-between;align-items:center}.ops-runtime-node-strip{margin-top:18px;padding:18px;border-radius:16px;background:#0b2036;color:#fff}.ops-runtime-node-strip div{display:flex;gap:10px;flex-wrap:wrap}.ops-runtime-node-strip span{display:grid;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.1)}
.ops-runtime-task-slice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ops-runtime-task-slice>div{border:1px solid var(--ops-border);border-radius:14px;padding:16px}.ops-runtime-task-slice h3{margin:0 0 12px}.ops-runtime-task-slice p{display:grid;gap:4px;margin:10px 0 0}.ops-runtime-task-slice p span{color:var(--ops-muted);font-size:13px}
@media(max-width:760px){.ops-runtime-route-list,.ops-runtime-task-slice{grid-template-columns:1fr}.ops-runtime-panel{padding:14px}.ops-runtime-tabs{position:sticky;top:0;z-index:4;background:#f5f7fa;padding:8px 0}.ops-runtime-route-flow{font-size:13px;gap:5px}.ops-runtime-node-strip div{display:grid}.ops-runtime-head>.ops-status{margin-top:8px}.ops-runtime-panel .ops-table-scroll{overflow:visible}table.ops-automation-table.ops-runtime-table{display:block;width:100%;min-width:0}.ops-runtime-table thead{display:none}.ops-runtime-table tbody{display:grid;gap:12px;width:100%}.ops-runtime-table tr{display:grid;width:100%;border:1px solid var(--ops-border,#d8dee8);border-radius:12px;overflow:hidden}.ops-runtime-table td,.ops-runtime-table td:first-child{display:grid;grid-template-columns:minmax(94px,.42fr) minmax(0,1fr);gap:10px;min-width:0;padding:10px 12px;border-top:1px solid var(--ops-border,#d8dee8);overflow-wrap:anywhere}.ops-runtime-table td:first-child{border-top:0}.ops-runtime-table td::before{content:attr(data-label);color:var(--ops-muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.ops-runtime-table tr.is-empty td{display:block}.ops-runtime-table tr.is-empty td::before{content:none}}

/* Dashboard: owner-facing schedule, release train and urgent exceptions. */
.ops-dashboard-page .ops-main {
  width: min(1240px, calc(100% - 48px));
  padding-top: 24px;
}

.ops-dashboard-head {
  align-items: center;
}

.ops-dashboard-head h1 {
  margin-top: 20px;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -0.035em;
}

.ops-dashboard-widget-settings {
  position: relative;
}

.ops-dashboard-widget-settings > summary {
  list-style: none;
  cursor: pointer;
}

.ops-dashboard-widget-settings > summary::-webkit-details-marker {
  display: none;
}

.ops-dashboard-widget-settings > form {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 11px;
  width: 238px;
  padding: 16px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  box-shadow: var(--ops-shadow);
}

.ops-dashboard-widget-settings label {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-dashboard-widget-settings input {
  margin-right: 7px;
}

.ops-dashboard-date {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-dashboard-horizon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-dashboard-horizon label {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-dashboard-horizon select {
  min-height: 34px;
  color: var(--ops-text);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
}

.ops-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ops-dashboard-summary > a {
  display: grid;
  gap: 9px;
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  color: var(--ops-text);
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(21, 32, 43, 0.03);
}

.ops-dashboard-summary > a:hover {
  border-color: var(--ops-border-strong);
  box-shadow: var(--ops-shadow);
}

.ops-dashboard-summary span {
  color: var(--ops-muted);
  font-size: 13px;
  font-weight: 700;
}

.ops-dashboard-summary strong {
  font-size: 32px;
  line-height: 1;
}

.ops-dashboard-summary small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ops-muted);
}

.ops-dashboard-summary small::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--ops-soft);
  border-radius: 50%;
  content: "";
}

.ops-dashboard-summary small.is-success::before { background: var(--ops-green); }
.ops-dashboard-summary small.is-warning::before { background: #d38a00; }
.ops-dashboard-summary small.is-danger::before { background: var(--ops-red); }

.ops-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 12px;
  align-items: stretch;
}

.ops-dashboard-grid.is-single {
  grid-template-columns: 1fr;
}

.ops-dashboard-panel {
  min-width: 0;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  overflow: hidden;
}

.ops-dashboard-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-dashboard-panel > header h2 {
  margin: 0;
  font-size: 17px;
}

.ops-dashboard-panel > header > span {
  padding: 7px 10px;
  color: var(--ops-muted);
  background: var(--ops-surface-soft);
  border: 1px solid var(--ops-border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.ops-dashboard-panel > header a,
.ops-dashboard-event > a,
.ops-dashboard-exception-list a,
.ops-dashboard-panel > footer a {
  color: var(--ops-accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ops-dashboard-panel > header a:hover,
.ops-dashboard-event > a:hover,
.ops-dashboard-exception-list a:hover,
.ops-dashboard-panel > footer a:hover {
  text-decoration: underline;
}

.ops-dashboard-day h3 {
  margin: 0 18px;
  padding: 15px 0 10px;
  border-bottom: 1px solid #e6ebef;
  font-size: 13px;
}

.ops-dashboard-event {
  position: relative;
  display: grid;
  grid-template-columns: 50px 14px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 86px;
  margin: 0 18px;
  padding: 14px 0;
  border-bottom: 1px solid #e6ebef;
}

.ops-dashboard-event time {
  padding-top: 2px;
  font-size: 13px;
  font-weight: 800;
}

.ops-dashboard-marker {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  background: var(--ops-accent);
  border: 3px solid var(--ops-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ops-accent);
}

.ops-dashboard-event:not(:last-child) .ops-dashboard-marker::after {
  position: absolute;
  top: 14px;
  left: 2px;
  width: 2px;
  height: 72px;
  background: #d7e0e9;
  content: "";
}

.ops-dashboard-event.is-success .ops-dashboard-marker {
  background: var(--ops-green);
  box-shadow: 0 0 0 1px var(--ops-green);
}

.ops-dashboard-event.is-warning .ops-dashboard-marker {
  background: #d38a00;
  box-shadow: 0 0 0 1px #d38a00;
}

.ops-dashboard-event-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ops-dashboard-event-title strong {
  font-size: 14px;
}

.ops-dashboard-badge,
.ops-dashboard-severity {
  display: inline-flex;
  width: fit-content;
  padding: 3px 6px;
  color: #725100;
  background: var(--ops-amber-soft);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ops-dashboard-event small,
.ops-dashboard-event p {
  display: block;
  margin: 5px 0 0;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-dashboard-event > a {
  align-self: center;
  white-space: nowrap;
}

.ops-dashboard-panel > footer {
  padding: 14px 18px;
  text-align: center;
}

.ops-dashboard-exception-list article {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 20px;
  border-bottom: 1px solid #e6ebef;
}

.ops-dashboard-exception-list article:last-child { border-bottom: 0; }

.ops-dashboard-exception-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ops-dashboard-exception-list h3 {
  margin: 0;
  font-size: 15px;
}

.ops-dashboard-exception-list p {
  margin: 0;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-dashboard-exception-list time {
  color: var(--ops-muted);
  font-size: 11px;
}

.ops-dashboard-exception-list article.is-critical .ops-dashboard-severity {
  color: var(--ops-red);
  background: var(--ops-red-soft);
}

.ops-dashboard-empty {
  display: grid;
  gap: 8px;
  padding: 28px 20px;
  color: var(--ops-muted);
}

.ops-dashboard-empty p {
  max-width: 60ch;
  margin: 0;
  font-size: 13px;
}

.ops-dashboard-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 12px;
  padding: 10px 2px;
  color: var(--ops-muted);
  font-size: 11px;
}

@media (max-width: 1040px) {
  .ops-dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .ops-dashboard-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ops-dashboard-event {
    grid-template-columns: 44px 14px minmax(0, 1fr);
  }

  .ops-dashboard-event > a {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .ops-dashboard-page .ops-main { width: min(100% - 24px, 1240px); }
  .ops-dashboard-head .ops-page-actions { display: grid; }
  .ops-dashboard-summary { grid-template-columns: 1fr; }
  .ops-dashboard-summary > a { min-height: 112px; }
  .ops-dashboard-event { margin: 0 12px; }
  .ops-dashboard-panel > header { align-items: flex-start; }
}

/* AutomationOps 2.0: value-first queues, projects and application registry. */
.ops-v2-page-head {
  margin-bottom: 18px;
}

.ops-v2-page-head > div:first-child {
  max-width: 860px;
}

.ops-trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 0 0 16px;
  padding: 10px 12px;
  color: var(--ops-muted);
  background: var(--ops-surface-soft);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  font-size: 12px;
}

.ops-v2-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.ops-v2-summary article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px 16px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-v2-summary span {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-v2-summary strong {
  font-size: 28px;
  line-height: 1;
}

.ops-v2-summary .ops-v2-word-value {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.ops-v2-today-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-v2-queue,
.ops-v2-app-card {
  min-width: 0;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-v2-queue > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-v2-queue h2 {
  margin: 0;
  font-size: 17px;
}

.ops-v2-queue > header span {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-v2-queue-list {
  display: grid;
}

.ops-v2-queue-list > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  color: var(--ops-text);
  border-bottom: 1px solid #e7ebef;
  text-decoration: none;
}

.ops-v2-queue-list > a:last-child {
  border-bottom: 0;
}

.ops-v2-queue-list > a:hover,
.ops-v2-work-list > a:hover,
.ops-v2-project-list > a:hover,
.ops-v2-simple-list > a:hover {
  background: #f6f9fc;
}

.ops-v2-priority {
  display: inline-grid;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  color: #4f5f6d;
  background: #edf1f4;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.ops-v2-queue-copy,
.ops-v2-work-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ops-v2-queue-copy strong,
.ops-v2-work-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-v2-queue-copy small,
.ops-v2-work-title small,
.ops-v2-project-list small {
  color: var(--ops-muted);
}

.ops-v2-empty {
  margin: 0;
  padding: 18px;
  color: var(--ops-muted);
}

.ops-v2-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  overflow-x: auto;
  background: #e5eaee;
  border-radius: var(--ops-radius);
}

.ops-v2-tabs a {
  min-height: 40px;
  padding: 10px 13px;
  color: #50606d;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ops-v2-tabs a.is-active {
  color: var(--ops-text);
  background: var(--ops-surface);
  box-shadow: 0 1px 3px rgba(23, 32, 42, 0.1);
}

.ops-main.is-kanban {
  width: calc(100% - 32px);
  max-width: none;
}

.ops-kanban-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  border-radius: 16px;
}

.ops-kanban-scroll:focus-visible {
  outline: 3px solid rgb(47 102 210 / 28%);
  outline-offset: 3px;
}

.ops-kanban-scroll-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 6px;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-kanban-scroll-tools > div {
  display: flex;
  gap: 6px;
}

.ops-kanban-scroll-tools .ops-button {
  min-width: 40px;
  padding-inline: 10px;
}

.ops-kanban {
  display: grid;
  grid-template-columns: repeat(7, minmax(230px, 1fr));
  gap: 14px;
  width: 100%;
  min-width: 1698px;
  padding: 4px 2px 20px;
}

.ops-kanban-column {
  min-width: 0;
  min-height: 420px;
  padding: 12px;
  border: 1px solid var(--ops-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--ops-surface) 88%, var(--ops-bg));
}

/* VPN Ops 2.0: source-backed contour, resources, routes and incidents. */
.vpn-ops-summary {
  display: grid;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--ops-border);
  border-radius: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--ops-surface) 95%, #153e63), var(--ops-surface));
}

.vpn-ops-state {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ops-border);
  border-radius: 999px;
  color: var(--ops-muted);
  font-size: 13px;
  font-weight: 800;
}

.vpn-ops-state.is-primary { color: #55d6a9; border-color: #2a8068; }
.vpn-ops-state.is-failover { color: #ffd166; border-color: #8f6e25; }
.vpn-ops-state.is-degraded,
.vpn-ops-state.is-split { color: #ff8e8e; border-color: #8c4343; }

.vpn-contour-map {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px minmax(220px, 1fr);
  align-items: stretch;
  gap: 14px;
}

.vpn-contour-map article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--ops-border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--ops-surface) 86%, #0d3552);
}

.vpn-contour-map article > span,
.vpn-proof-strip span,
.vpn-resource-row small,
.vpn-path-grid small,
.vpn-incident-list small { color: var(--ops-muted); font-size: 12px; }
.vpn-contour-map strong { font-size: clamp(26px, 3vw, 40px); }
.vpn-contour-map small { align-self: end; color: var(--ops-muted); }
.vpn-contour-map .is-primary { border-color: color-mix(in srgb, #55d6a9 45%, var(--ops-border)); }
.vpn-contour-map .is-backup { border-color: color-mix(in srgb, #ffd166 40%, var(--ops-border)); }

.vpn-contour-link {
  display: grid;
  place-items: center;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.vpn-contour-link::before { content: "⇄"; display: block; color: #5fc6f5; font-size: 34px; }

.vpn-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.vpn-proof-strip article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--ops-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--ops-surface) 90%, #0e2d44);
}
.vpn-proof-strip strong { font-size: 17px; }

.vpn-truth-note,
.vpn-empty-evidence {
  padding: 18px 20px;
  border: 1px dashed color-mix(in srgb, #5fc6f5 50%, var(--ops-border));
  border-radius: 18px;
  background: color-mix(in srgb, #5fc6f5 7%, transparent);
}
.vpn-truth-note p,
.vpn-empty-evidence p,
.vpn-policy-caption,
.vpn-push-status { margin: 6px 0 0; color: var(--ops-muted); line-height: 1.55; }

.vpn-resource-table { display: grid; overflow-x: auto; }
.vpn-resource-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) repeat(4, minmax(110px, .8fr)) minmax(140px, 1fr);
  min-width: 820px;
  border-bottom: 1px solid var(--ops-border);
}
.vpn-resource-row > span { display: grid; align-content: center; gap: 6px; min-height: 66px; padding: 10px 12px; }
.vpn-resource-row.is-head { color: var(--ops-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.vpn-resource-row.is-critical { background: color-mix(in srgb, #ff6666 7%, transparent); }
.vpn-resource-row.is-warning { background: color-mix(in srgb, #ffd166 7%, transparent); }
.vpn-resource-row i {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ops-border) 70%, transparent);
}
.vpn-resource-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(var(--value), 100%);
  border-radius: inherit;
  background: #5fc6f5;
}

.vpn-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vpn-path-grid article { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--ops-border); border-radius: 18px; }
.vpn-path-grid article.is-ok { border-color: color-mix(in srgb, #55d6a9 45%, var(--ops-border)); }
.vpn-path-grid article.is-critical { border-color: color-mix(in srgb, #ff6666 50%, var(--ops-border)); }
.vpn-path-grid p { margin: 0; color: #5fc6f5; font-size: 22px; font-weight: 800; }

.vpn-incident-list { display: grid; gap: 10px; }
.vpn-incident-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ops-border);
  border-radius: 16px;
}
.vpn-incident-list article > div { display: grid; gap: 4px; }
.vpn-severity { padding: 5px 8px; border-radius: 8px; background: #24384b; font-size: 12px; font-weight: 900; }
.vpn-severity.is-p0 { background: #8b2f35; color: #fff; }
.vpn-severity.is-p1 { background: #775b20; color: #fff1bc; }

@media (max-width: 900px) {
  .vpn-contour-map { grid-template-columns: 1fr; }
  .vpn-contour-link { min-height: 55px; }
  .vpn-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vpn-path-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .vpn-ops-summary { padding: 18px; border-radius: 18px; }
  .vpn-proof-strip { grid-template-columns: 1fr; }
  .vpn-resource-table { overflow: visible; gap: 10px; }
  .vpn-resource-row.is-head { display: none; }
  .vpn-resource-row:not(.is-head) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ops-border);
    border-radius: 14px;
  }
  .vpn-resource-row:not(.is-head) > span {
    min-height: 0;
    padding: 10px 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--ops-border) 70%, transparent);
  }
  .vpn-resource-row:not(.is-head) > span::before {
    content: attr(data-label);
    color: var(--ops-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .vpn-resource-row:not(.is-head) > span:first-child {
    grid-column: 1 / -1;
    background: color-mix(in srgb, var(--ops-surface) 88%, #0e2d44);
  }
  .vpn-incident-list article { grid-template-columns: auto 1fr; }
  .vpn-incident-list article > span:nth-of-type(2),
  .vpn-incident-list article > button { grid-column: 2; justify-self: start; }
}

.ops-kanban-column > header,
.ops-kanban-card-head,
.ops-kanban-card footer,
.ops-kanban-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ops-kanban-column > header h2,
.ops-kanban-card h3,
.ops-kanban-card p,
.ops-kanban-card dl {
  margin: 0;
}

.ops-kanban-column > header {
  margin-bottom: 12px;
}

.ops-kanban-column > header h2 {
  font-size: 15px;
}

.ops-kanban-column > header > span {
  min-width: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  text-align: center;
  background: var(--ops-surface);
  color: var(--ops-muted);
}

.ops-kanban-cards {
  display: grid;
  gap: 10px;
}

.ops-kanban-card {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--ops-border);
  border-radius: 13px;
  background: var(--ops-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 16px rgb(15 23 42 / 5%);
  overflow: hidden;
}

.ops-kanban-card:hover {
  border-color: var(--ops-accent);
  transform: translateY(-1px);
}

.ops-kanban-card h3 {
  font-size: 15px;
  line-height: 1.35;
}

.ops-kanban-card-head {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ops-kanban-card-head strong {
  min-width: 0;
  flex: 1 1 64px;
  overflow-wrap: anywhere;
}

.ops-kanban-card-head .ops-status {
  max-width: 100%;
  margin-left: auto;
  white-space: normal;
  text-align: center;
}

.ops-kanban-card h3,
.ops-kanban-card p,
.ops-kanban-card footer span {
  overflow-wrap: anywhere;
}

.ops-kanban-card p,
.ops-kanban-card dd,
.ops-kanban-card dt,
.ops-kanban-card footer {
  font-size: 12px;
}

.ops-kanban-card p,
.ops-kanban-card dt,
.ops-kanban-card footer {
  color: var(--ops-muted);
}

.ops-kanban-card dl {
  display: grid;
  gap: 4px;
}

.ops-kanban-card dd {
  margin: 0;
  font-weight: 700;
}

.ops-kanban-gate {
  padding: 8px;
  border-radius: 9px;
  background: rgb(245 158 11 / 10%);
  color: #92400e !important;
}

.ops-kanban-attempt {
  padding: 7px 8px;
  border-radius: 8px;
  background: rgb(100 116 139 / 9%);
}

.ops-kanban-run,
.ops-kanban-evidence,
.ops-kanban-health {
  padding: 7px 8px;
  border-radius: 8px;
  background: var(--ops-bg);
}

.ops-kanban-run {
  color: #1d4ed8 !important;
}

.ops-kanban-run.is-expired {
  color: #991b1b !important;
  background: rgb(254 226 226 / 72%);
}

.ops-kanban-card.is-overdue {
  border-color: rgb(220 38 38 / 48%);
}

.ops-kanban-overdue {
  padding: 7px 8px;
  border-radius: 8px;
  color: #991b1b !important;
  background: rgb(254 226 226 / 72%);
}

.ops-kanban-health {
  color: var(--ops-muted) !important;
}

.ops-kanban-health.is-ok {
  color: #166534 !important;
}

.ops-kanban-health.is-problem {
  color: #991b1b !important;
  background: rgb(254 226 226 / 72%);
}

.ops-kanban-health.is-missing {
  color: var(--ops-muted) !important;
}

.ops-kanban-health.is-pending {
  color: #92400e !important;
  background: rgb(245 158 11 / 10%);
}

.ops-kanban-mobile-nav {
  display: none;
}

.ops-v2-kanban-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--ops-border);
  border-radius: 12px;
  background: var(--ops-surface);
}

.ops-v2-kanban-filters label,
.ops-kanban-mobile-nav {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-v2-kanban-filters .ops-select,
.ops-kanban-mobile-nav .ops-select {
  display: block;
  width: 100%;
  margin-top: 5px;
}

.ops-version-summary {
  margin-bottom: 18px;
}

.ops-version-pointer-grid,
.ops-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ops-version-pointer-grid article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--ops-border);
  border-radius: 12px;
  background: var(--ops-bg);
}

.ops-version-pointer-grid span {
  color: var(--ops-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.ops-version-stage-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.ops-version-checklist {
  display: grid;
  gap: 8px;
}

.ops-version-checklist > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--ops-border);
}

.ops-version-checklist small {
  display: block;
  margin-top: 3px;
  color: var(--ops-muted);
}

.ops-prompt-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-prompt-editor {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ops-prompt-revisions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ops-prompt-preview {
  padding: 10px;
  border: 1px solid var(--ops-border);
  border-radius: 9px;
  background: var(--ops-bg);
}

.ops-prompt-preview summary {
  cursor: pointer;
  font-weight: 750;
}

.ops-prompt-preview pre {
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 7px;
  font-size: 11px;
}

.ops-prompt-revisions article {
  padding: 12px;
  border: 1px solid var(--ops-border);
  border-radius: 10px;
}

.ops-v2-work-list,
.ops-v2-project-list,
.ops-v2-simple-list {
  display: grid;
}

.ops-application-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ops-application-section-card {
    display: grid;
    gap: 10px;
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--ops-border);
    border-radius: 18px;
    color: var(--ops-text);
    background: var(--ops-surface-soft);
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.ops-application-section-card:hover {
    border-color: var(--ops-accent);
    box-shadow: 0 12px 28px rgba(20, 65, 120, .1);
    transform: translateY(-2px);
}

.ops-application-section-card strong {
    font-size: 22px;
}

.ops-application-section-card span {
    color: var(--ops-muted);
    line-height: 1.5;
}

.ops-application-section-card em {
    align-self: end;
    color: var(--ops-accent);
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 720px) {
    .ops-application-section-grid {
        grid-template-columns: 1fr;
    }
}

.ops-v2-work-list > a {
  display: grid;
  grid-template-columns: 36px minmax(220px, 1.5fr) minmax(130px, 0.65fr) minmax(180px, 1fr) auto 86px;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 10px 14px;
  color: var(--ops-text);
  border-bottom: 1px solid #e5e9ed;
  text-decoration: none;
}

.ops-v2-work-list > a > span:not(.ops-v2-work-title, .ops-status, .ops-v2-priority) {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-v2-overdue {
  color: var(--ops-red) !important;
  font-weight: 800;
}

.ops-v2-project-list > a {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(140px, 0.6fr) minmax(150px, 0.7fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px 16px;
  color: var(--ops-text);
  border-bottom: 1px solid #e5e9ed;
  text-decoration: none;
}

.ops-v2-project-list > a > span:first-child {
  display: grid;
  gap: 4px;
}

.ops-v2-simple-list > a,
.ops-v2-simple-list > div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: var(--ops-text);
  border-bottom: 1px solid #e5e9ed;
  text-decoration: none;
}

.ops-v2-simple-list span {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-v2-blocker {
  margin-top: 14px;
  padding: 12px 14px;
  color: #6a252b;
  background: var(--ops-red-soft);
  border-left: 3px solid var(--ops-red);
}

.ops-v2-blocker p {
  margin: 4px 0 0;
}

.ops-v2-inline-actions,
.ops-v2-return-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-v2-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ops-v2-material-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  background: var(--ops-surface-muted, #f4f7f8);
  border: 1px solid var(--ops-border);
  border-radius: 10px;
}

.ops-v2-material-grid .ops-v2-material-form {
  margin-top: 0;
}

.ops-v2-material-form h3 {
  margin: 0;
  font-size: 14px;
}

.ops-v2-material-form small {
  color: var(--ops-muted);
  line-height: 1.45;
}

.ops-v2-material-form .ops-button {
  width: fit-content;
}

@media (max-width: 760px) {
  .ops-v2-material-grid {
    grid-template-columns: 1fr;
  }
}

/* Page 4: project dossier and automation register. */
.ops-project-dashboard-head { margin-bottom: 16px; }
.ops-project-dashboard-summary,
.ops-project-automation-board,
.ops-project-contour,
.ops-project-settings {
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  background: var(--ops-surface);
}
.ops-project-dashboard-summary {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(560px, 3fr);
  margin-bottom: 18px;
  padding: 18px;
}
.ops-project-summary-owner {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid var(--ops-border);
}
.ops-project-summary-mark,
.ops-project-person b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e7efca;
  color: #748036;
  font-weight: 800;
}
.ops-project-summary-mark { width: 46px; height: 46px; font-size: 12px; }
.ops-project-summary-owner p { display: grid; gap: 5px; min-width: 0; margin: 0; }
.ops-project-summary-owner small,
.ops-project-dashboard-summary dt,
.ops-project-dashboard-summary dl small { color: var(--ops-muted); font-size: 11px; }
.ops-project-summary-owner strong { overflow-wrap: anywhere; font-size: 14px; }
.ops-project-dashboard-summary dl { display: grid; grid-template-columns: .65fr 1.2fr 1fr; margin: 0; }
.ops-project-dashboard-summary dl > div { display: grid; align-content: center; gap: 6px; padding: 0 24px; border-left: 1px solid var(--ops-border); }
.ops-project-dashboard-summary dl > div:first-child { border-left: 0; }
.ops-project-dashboard-summary dd { margin: 0; font-size: 16px; font-weight: 800; }
.ops-project-dashboard-summary dl small { display: block; }

.ops-project-automation-board {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 18px;
}
.ops-project-automation-filters { padding: 18px 0; border-right: 1px solid var(--ops-border); }
.ops-project-automation-filters h2 { margin: 0 16px 14px; font-size: 14px; }
.ops-project-automation-filters nav { display: grid; }
.ops-project-automation-filters a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 9px 16px;
  border-left: 3px solid transparent;
  color: var(--ops-muted);
  font-size: 11px;
  text-decoration: none;
}
.ops-project-automation-filters a:hover,
.ops-project-automation-filters a.is-active { border-left-color: var(--ops-accent); background: var(--ops-accent-soft); color: var(--ops-accent); }
.ops-project-automation-filters a strong { color: inherit; }
.ops-project-automation-filters .is-warning { position: relative; padding-left: 11px; }
.ops-project-automation-filters .is-warning::before { position: absolute; top: .45em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #dc9a25; content: ""; }
.ops-project-automation-table-wrap { min-width: 0; overflow-x: auto; }
.ops-project-automation-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.ops-project-automation-table th { padding: 12px 10px; color: var(--ops-muted); font-size: 9px; font-weight: 700; text-align: left; white-space: nowrap; }
.ops-project-automation-table td { min-width: 92px; padding: 14px 10px; border-top: 1px solid var(--ops-border); font-size: 10px; vertical-align: middle; }
.ops-project-automation-table td:first-child { min-width: 150px; }
.ops-project-automation-table td:nth-child(3) { min-width: 130px; }
.ops-project-automation-table tr.is-warning { background: #fffaf0; }
.ops-project-automation-table td > strong,
.ops-project-automation-table td > small { display: block; }
.ops-project-automation-table td > small { margin-top: 4px; color: var(--ops-muted); line-height: 1.35; }
.ops-project-person { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 7px; line-height: 1.35; }
.ops-project-person b { width: 26px; height: 26px; font-size: 8px; }
.ops-automation-type { display: inline-block; max-width: 84px; color: var(--ops-muted); font-size: 9px; overflow-wrap: anywhere; }
.ops-automation-type.is-collection { color: #9a6a00; }
.ops-automation-type.is-integration { color: #6558c7; }
.ops-version-pair { color: var(--ops-muted); white-space: nowrap; }
.ops-automation-reason { max-width: 130px; color: #9a6400 !important; }
.ops-project-automation-table .ops-status { padding: 5px 7px; font-size: 9px; white-space: normal; }

.ops-project-contour { margin-bottom: 18px; padding: 16px 18px; }
.ops-project-contour h2 { margin: 0 0 14px; font-size: 15px; }
.ops-project-contour > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ops-project-contour > div > a,
.ops-project-contour > div > div { display: grid; gap: 5px; min-height: 72px; padding: 8px 22px; border-left: 1px solid var(--ops-border); color: var(--ops-text); text-decoration: none; }
.ops-project-contour > div > :first-child { padding-left: 0; border-left: 0; }
.ops-project-contour small,
.ops-project-contour span { color: var(--ops-muted); font-size: 10px; }
.ops-project-contour a:hover strong { color: var(--ops-accent); }
.ops-project-settings { margin-bottom: 18px; padding: 16px 18px; }
.ops-project-settings > summary { cursor: pointer; font-weight: 750; }
.ops-project-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

@media (max-width: 980px) {
  .ops-project-dashboard-summary { grid-template-columns: 1fr; }
  .ops-project-summary-owner { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-project-dashboard-summary dl { padding-top: 16px; }
  .ops-project-automation-board { grid-template-columns: 1fr; }
  .ops-project-automation-filters { border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-project-automation-filters nav { grid-template-columns: repeat(4, 1fr); }
  .ops-project-automation-filters a { border-bottom: 3px solid transparent; border-left: 0; }
  .ops-project-automation-filters a:hover,
  .ops-project-automation-filters a.is-active { border-bottom-color: var(--ops-accent); border-left: 0; }
}

@media (max-width: 620px) {
  .ops-project-dashboard-head .ops-page-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .ops-project-dashboard-head .ops-button { justify-content: center; width: 100%; }
  .ops-project-dashboard-summary dl { grid-template-columns: 1fr; gap: 0; }
  .ops-project-dashboard-summary dl > div { padding: 12px 0; border-top: 1px solid var(--ops-border); border-left: 0; }
  .ops-project-dashboard-summary dl > div:first-child { border-top: 0; }
  .ops-project-automation-filters nav { grid-template-columns: 1fr 1fr; }
  .ops-project-automation-table-wrap { overflow-x: visible; }
  .ops-project-automation-table { min-width: 0; }
  .ops-project-automation-table thead { display: none; }
  .ops-project-automation-table,
  .ops-project-automation-table tbody,
  .ops-project-automation-table tr,
  .ops-project-automation-table td { display: block; width: 100%; }
  .ops-project-automation-table tr { padding: 12px 14px; border-top: 1px solid var(--ops-border); }
  .ops-project-automation-table tr:first-child { border-top: 0; }
  .ops-project-automation-table td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0 !important;
    padding: 7px 0;
    border-top: 0;
    font-size: 11px;
  }
  .ops-project-automation-table td::before {
    color: var(--ops-muted);
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .ops-project-automation-table td > * { min-width: 0; }
  .ops-automation-reason { max-width: none; }
  .ops-project-contour > div,
  .ops-project-settings-grid { grid-template-columns: 1fr; }
  .ops-project-contour > div > a,
  .ops-project-contour > div > div { padding: 12px 0; border-top: 1px solid var(--ops-border); border-left: 0; }
  .ops-project-contour > div > :first-child { border-top: 0; }
}

/* Page 5: automation dossier, multi-placement state and release tabs. */
.ops-automation-card-page .ops-sidebar { width: 274px; padding: 22px 20px 16px; }
.ops-automation-card-page .ops-workspace { margin-left: 274px; }
.ops-automation-card-page .ops-main { width: min(1220px, calc(100% - 48px)); padding-top: 28px; }
.ops-automation-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; color: var(--ops-muted); font-size: 12px; }
.ops-automation-breadcrumbs a { color: inherit; text-decoration: none; }
.ops-automation-breadcrumbs a:hover { color: var(--ops-accent); }
.ops-automation-breadcrumbs strong { color: var(--ops-text); }
.ops-automation-card-head { margin-bottom: 14px; }
.ops-automation-card-head > div:first-child { max-width: 820px; }
.ops-automation-card-head form { margin: 0; }
.ops-automation-card-head h1 { font-size: 34px; }
.ops-automation-summary,
.ops-automation-context-strip,
.ops-automation-panel,
.ops-automation-card-footer {
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}
.ops-automation-summary { display: grid; grid-template-columns: minmax(210px, .95fr) minmax(700px, 4fr); align-items: stretch; margin-bottom: 14px; padding: 16px; }
.ops-automation-owner { display: flex; align-items: center; gap: 13px; min-width: 0; padding-right: 18px; border-right: 1px solid var(--ops-border); }
.ops-automation-avatar { display: grid; width: 50px; height: 50px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e8efca; color: #65742f; font-size: 12px; font-weight: 850; }
.ops-automation-owner p { display: grid; gap: 5px; min-width: 0; margin: 0; }
.ops-automation-owner small,
.ops-automation-summary dt,
.ops-automation-context-strip small,
.ops-automation-context-strip span { color: var(--ops-muted); font-size: 10px; }
.ops-automation-owner strong { overflow-wrap: anywhere; font-size: 14px; }
.ops-automation-summary dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.ops-automation-summary dl > div { display: grid; align-content: center; gap: 6px; padding: 0 20px; border-left: 1px solid var(--ops-border); }
.ops-automation-summary dl > div:first-child { border-left: 0; }
.ops-automation-summary dd { margin: 0; font-size: 14px; font-weight: 800; }
.ops-automation-context-strip { display: grid; grid-template-columns: 1.1fr 1.1fr 1.15fr repeat(3, minmax(130px, .8fr)); margin-bottom: 14px; padding: 14px 16px; overflow-x: auto; }
.ops-automation-context-strip > div { display: grid; align-content: center; gap: 4px; min-width: 130px; padding: 2px 18px; border-left: 1px solid var(--ops-border); }
.ops-automation-context-strip > div:first-child { padding-left: 0; border-left: 0; }
.ops-automation-context-strip strong { font-size: 11px; }
.ops-placement-mini span.is-ok { color: var(--ops-green); }
.ops-placement-mini span.is-warn { color: var(--ops-amber); }
.ops-automation-tabs { display: flex; margin: 0 0 14px; padding: 0 4px; overflow-x: auto; border-bottom: 1px solid var(--ops-border); }
.ops-automation-tabs a { min-width: 100px; padding: 14px 18px 12px; color: var(--ops-muted); border-bottom: 3px solid transparent; font-size: 11px; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; }
.ops-automation-tabs a:hover,
.ops-automation-tabs a.is-active { color: var(--ops-accent); border-bottom-color: var(--ops-accent); }
.ops-automation-panel { margin-bottom: 14px; overflow: hidden; }
.ops-automation-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 15px 16px; border-bottom: 1px solid var(--ops-border); }
.ops-automation-panel > header h2 { margin: 0 0 4px; font-size: 15px; }
.ops-automation-panel > header p { margin: 0; color: var(--ops-muted); font-size: 10px; }
.ops-automation-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px; }
.ops-automation-overview-grid article { min-height: 130px; padding: 16px; background: var(--ops-surface-soft); border: 1px solid var(--ops-border); border-radius: var(--ops-radius); }
.ops-automation-overview-grid small { color: var(--ops-muted); font-size: 10px; }
.ops-automation-overview-grid h3 { margin: 10px 0; font-size: 17px; }
.ops-automation-overview-grid p { color: var(--ops-muted); line-height: 1.5; }
.ops-git-readback-alert { padding: 0 16px 16px; }
.ops-git-readback-alert .ops-alert { margin-bottom: 8px; }
.ops-git-readback-alert > p { margin: 0; }
.ops-table-scroll { min-width: 0; overflow-x: auto; }
.ops-automation-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.ops-automation-table th { padding: 11px 12px; color: var(--ops-muted); font-size: 9px; text-align: left; white-space: nowrap; }
.ops-automation-table td { min-width: 92px; padding: 13px 12px; border-top: 1px solid var(--ops-border); font-size: 10px; vertical-align: top; }
.ops-automation-table td:first-child { min-width: 150px; }
.ops-automation-table td > strong,
.ops-automation-table td > small { display: block; }
.ops-automation-table td > small { margin-top: 4px; color: var(--ops-muted); }
.ops-automation-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.ops-artifact-grid,
.ops-environment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.ops-artifact-grid article,
.ops-environment-grid article { display: grid; align-content: start; gap: 11px; min-width: 0; padding: 16px; background: var(--ops-surface-soft); border: 1px solid var(--ops-border); border-radius: var(--ops-radius); }
.ops-artifact-grid h3,
.ops-environment-grid h3 { margin: 0; font-size: 14px; }
.ops-artifact-grid dl,
.ops-environment-grid dl { display: grid; gap: 7px; margin: 0; }
.ops-artifact-grid dl div,
.ops-environment-grid dl div { display: flex; justify-content: space-between; gap: 12px; }
.ops-artifact-grid dt,
.ops-environment-grid dt { color: var(--ops-muted); font-size: 10px; }
.ops-artifact-grid dd,
.ops-environment-grid dd { margin: 0; overflow-wrap: anywhere; font-size: 10px; font-weight: 700; text-align: right; }
.ops-artifact-grid a,
.ops-environment-grid a { color: var(--ops-accent); font-size: 10px; font-weight: 750; text-decoration: none; }
.ops-artifact-kind { color: var(--ops-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ops-log-list { display: grid; }
.ops-log-list article { display: grid; grid-template-columns: 145px minmax(220px, 1fr) minmax(220px, 1.5fr); gap: 16px; padding: 13px 16px; border-top: 1px solid var(--ops-border); font-size: 10px; }
.ops-log-list article:first-child { border-top: 0; }
.ops-log-list time,
.ops-log-list span { color: var(--ops-muted); }
.ops-mcp-layout { display: grid; gap: 14px; padding: 16px; }
.ops-mcp-layout > section { overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); }
.ops-mcp-layout > section > h3 { margin: 0; padding: 14px 14px 0; font-size: 14px; }
.ops-mcp-layout > section > p { margin: 5px 14px 14px; color: var(--ops-muted); font-size: 10px; }
.ops-inline-details { position: relative; }
.ops-inline-details summary { list-style: none; cursor: pointer; }
.ops-inline-details summary::-webkit-details-marker { display: none; }
.ops-policy-form { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(540px, 85vw); padding: 16px; background: var(--ops-surface); border: 1px solid var(--ops-border); border-radius: var(--ops-radius); box-shadow: var(--ops-shadow); }
.ops-policy-form label { display: grid; gap: 5px; color: var(--ops-muted); font-size: 10px; }
.ops-policy-form button { align-self: end; }
.ops-policy-version-form { display: flex; gap: 6px; min-width: 210px; }
.ops-policy-version-form .ops-select { min-width: 110px; }
.ops-automation-card-footer { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px 15px; color: var(--ops-muted); font-size: 10px; }
.ops-automation-card-footer a { color: var(--ops-accent); text-decoration: none; }
.ops-application-places { display: grid; gap: 10px; padding: 16px; }
.ops-application-places a { display: grid; gap: 5px; padding: 14px 16px; color: var(--ops-text); background: var(--ops-surface-soft); border: 1px solid var(--ops-border); border-radius: var(--ops-radius); text-decoration: none; }
.ops-application-places a:hover { border-color: var(--ops-accent); }
.ops-application-places span { color: var(--ops-muted); font-size: 10px; }
.ops-automation-inline-form { display: flex; align-items: end; gap: 10px; padding: 0 16px 16px; }
.ops-automation-inline-form .ops-field { flex: 1; }
.ops-automation-actions-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; padding: 16px; }
.ops-automation-actions-grid form { display: grid; align-content: start; gap: 10px; }

@media (max-width: 1100px) {
  .ops-automation-card-page .ops-sidebar { width: 248px; padding-right: 16px; padding-left: 16px; }
  .ops-automation-card-page .ops-workspace { margin-left: 248px; }
  .ops-automation-summary { grid-template-columns: 1fr; }
  .ops-automation-owner { padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-automation-summary dl { padding-top: 15px; }
  .ops-artifact-grid,
  .ops-environment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .ops-automation-card-page .ops-sidebar { display: none; }
  .ops-automation-card-page .ops-workspace { margin-left: 0; }
  .ops-automation-card-page .ops-main { width: min(100% - 24px, 1220px); padding-top: 20px; }
  .ops-automation-card-head .ops-page-actions { display: grid; width: 100%; }
  .ops-automation-card-head .ops-button { justify-content: center; width: 100%; }
  .ops-automation-summary dl { grid-template-columns: 1fr 1fr; }
  .ops-automation-summary dl > div { padding: 12px 0; border-top: 1px solid var(--ops-border); border-left: 0; }
  .ops-automation-context-strip { grid-template-columns: 1fr; overflow: visible; }
  .ops-automation-context-strip > div { padding: 11px 0; border-top: 1px solid var(--ops-border); border-left: 0; }
  .ops-automation-context-strip > div:first-child { border-top: 0; }
  .ops-automation-overview-grid,
  .ops-artifact-grid,
  .ops-environment-grid,
  .ops-automation-actions-grid { grid-template-columns: 1fr; }
  .ops-automation-inline-form { display: grid; }
  .ops-log-list article { grid-template-columns: 1fr; gap: 5px; }
  .ops-policy-form { position: fixed; top: 80px; right: 16px; left: 16px; width: auto; grid-template-columns: 1fr; max-height: calc(100vh - 100px); overflow-y: auto; }
  .ops-automation-card-footer { display: grid; }
}

.ops-v2-return-form .ops-input {
  min-width: 260px;
}

.ops-v2-compact-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ops-border);
}

.ops-v2-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-v2-app-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.ops-v2-app-card > header,
.ops-v2-app-card > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ops-v2-app-card h2 {
  margin: 0 0 8px;
}

.ops-v2-app-card p,
.ops-v2-app-card dl,
.ops-v2-app-card dd {
  margin: 0;
}

.ops-v2-app-card p {
  color: var(--ops-muted);
}

.ops-v2-app-card dl {
  display: grid;
  gap: 7px;
}

.ops-v2-app-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.ops-v2-app-card dt {
  color: var(--ops-muted);
}

.ops-v2-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ops-v2-control-grid a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px;
  color: var(--ops-text);
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  text-decoration: none;
}

.ops-v2-control-grid a:hover {
  border-color: var(--ops-border-strong);
}

.ops-v2-control-grid span {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .ops-v2-work-list > a {
    grid-template-columns: 36px minmax(200px, 1fr) minmax(120px, 0.6fr) auto;
  }

  .ops-v2-work-list > a > span:nth-child(4),
  .ops-v2-work-list > a > span:nth-child(6) {
    display: none;
  }
}

@media (max-width: 760px) {
  .ops-v2-summary,
  .ops-v2-today-grid,
  .ops-v2-app-grid,
  .ops-v2-control-grid {
    grid-template-columns: 1fr;
  }

  .ops-v2-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-v2-work-list > a,
  .ops-v2-project-list > a {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 74px;
  }

  .ops-v2-project-list > a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ops-v2-work-list > a > span:nth-child(3),
  .ops-v2-work-list > a > span:nth-child(4),
  .ops-v2-work-list > a > span:nth-child(6),
  .ops-v2-project-list > a > span:nth-child(2),
  .ops-v2-project-list > a > span:nth-child(3) {
    display: none;
  }

  .ops-v2-queue-list > a,
  .ops-v2-tabs a,
  .ops-v2-simple-list > a,
  .ops-v2-simple-list > div,
  .ops-v2-app-card .ops-button {
    min-height: 48px;
  }

  .ops-v2-return-form,
  .ops-v2-return-form .ops-input {
    width: 100%;
    min-width: 0;
  }
}

/* AutomationOps v2 project navigation and read-only project cabinets. */
.ops-nav-group {
  display: grid;
  gap: 3px;
}

.ops-nav-group-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  gap: 8px;
  min-height: 42px;
  align-items: center;
  padding: 7px 7px 7px 10px;
  color: #bdc7d0;
  border: 1px solid transparent;
  border-radius: 5px;
}

.ops-nav-group-row > a {
  display: block;
  min-height: 0;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.ops-nav-group-row > a:hover {
  color: #fff;
  border: 0;
  background: transparent;
}

.ops-nav-group-row button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  color: #95a2ae;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.ops-nav-group-row button:hover,
.ops-nav-group-row button:focus-visible {
  color: #fff;
  border-color: #46525e;
  outline: none;
}

.ops-nav-group-row button span {
  transition: transform 150ms ease;
}

.ops-nav-group-row button[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.ops-nav-group.is-active > .ops-nav-group-row,
.ops-nav-group-row:hover {
  color: #fff;
  background: var(--ops-sidebar-soft);
  border-color: #303b47;
}

.ops-nav-group.is-active > .ops-nav-group-row {
  box-shadow: inset 3px 0 0 var(--ops-gold);
}

.ops-nav-group.is-active .ops-nav-code {
  color: var(--ops-gold);
}

.ops-nav-children {
  display: grid;
  gap: 1px;
  margin: 0 0 5px 38px;
  padding-left: 9px;
  border-left: 1px solid #34404b;
}

.ops-nav-children[hidden] {
  display: none;
}

.ops-sidebar-nav .ops-nav-children a {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 1.25;
}

.ops-sidebar-nav .ops-nav-children a.is-active {
  box-shadow: none;
}

.ops-project-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #7e8a95;
  box-shadow: 0 0 0 3px rgba(126, 138, 149, 0.12);
}

.ops-project-status.is-healthy {
  background: #2eaa78;
  box-shadow: 0 0 0 3px rgba(46, 170, 120, 0.14);
}

.ops-project-status.is-problem {
  background: #c44f4f;
  box-shadow: 0 0 0 3px rgba(196, 79, 79, 0.14);
}

.ops-project-status.is-stale {
  background: #c89236;
  box-shadow: 0 0 0 3px rgba(200, 146, 54, 0.14);
}

.ops-project-status.is-unconnected {
  background: #8995a0;
  box-shadow: 0 0 0 3px rgba(137, 149, 160, 0.14);
}

.ops-project-page-head {
  align-items: flex-start;
}

.ops-project-page-head > div:first-child {
  max-width: 820px;
}

.ops-eyebrow,
.ops-section-kicker {
  display: block;
  margin: 0 0 8px;
  color: #7f8d9a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ops-readonly-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #637180;
  background: #edf2f5;
  border: 1px solid #ccd6de;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-project-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ops-project-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.ops-project-summary-grid article,
.ops-status-pair article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 6px;
}

.ops-project-summary-grid span,
.ops-status-pair span,
.ops-subject-metrics span {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-project-summary-grid strong {
  font-size: 27px;
  line-height: 1.1;
}

.ops-project-summary-grid small,
.ops-status-pair small,
.ops-subject-metrics small {
  color: #88949f;
  font-size: 11px;
}

.ops-status-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 12px;
}

.ops-status-pair strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
}

.ops-monitoring-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 20px;
  padding: 16px 18px;
  color: #594520;
  background: #fff8e7;
  border: 1px solid #e3cb90;
  border-left: 4px solid #c89236;
  border-radius: 5px;
}

.ops-monitoring-notice p {
  margin: 4px 0 0;
}

.ops-monitoring-notice > span {
  color: #796438;
  font-size: 12px;
  white-space: nowrap;
}

.ops-area-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-project-card {
  display: grid;
  gap: 11px;
  padding: 18px;
  color: var(--ops-text);
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 6px;
  text-decoration: none;
}

.ops-project-card:hover {
  color: var(--ops-text);
  border-color: #9cb8d4;
  box-shadow: 0 8px 22px rgba(29, 44, 59, 0.08);
}

.ops-project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #71808e;
  font-size: 11px;
  font-weight: 800;
}

.ops-health-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.ops-project-card h3,
.ops-project-card p,
.ops-project-card dl,
.ops-project-card dd {
  margin: 0;
}

.ops-project-card p {
  color: var(--ops-muted);
  min-height: 42px;
}

.ops-project-card dl,
.ops-project-passport {
  display: grid;
  gap: 7px;
}

.ops-project-card dl div,
.ops-project-passport div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
}

.ops-project-card dt,
.ops-project-passport dt {
  color: var(--ops-muted);
}

.ops-project-card dd,
.ops-project-passport dd {
  overflow-wrap: anywhere;
}

.ops-process-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ops-process-map li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 0 18px 0 0;
}

.ops-process-map li:not(:last-child)::after {
  position: absolute;
  top: 15px;
  right: 4px;
  width: 14px;
  height: 1px;
  content: "";
  background: #b8c4ce;
}

.ops-process-map li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #6c5426;
  background: #f4e8cb;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.ops-process-map p {
  margin: 5px 0 0;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-project-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.ops-subject-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.ops-subject-metrics article {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f9fa;
  border: 1px solid #e0e6eb;
  border-radius: 5px;
}

.ops-subject-metrics article.is-empty strong {
  color: #7e8a95;
  font-size: 13px;
}

.ops-project-passport {
  margin: 14px 0 0;
}

.ops-project-empty {
  display: grid;
  gap: 5px;
  padding: 24px;
  color: var(--ops-muted);
  background: #f7f9fa;
  border: 1px dashed #c6d0d8;
  border-radius: 6px;
}

@media (max-width: 1120px) {
  .ops-project-summary-grid,
  .ops-process-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-process-map {
    gap: 18px 0;
  }
}

@media (max-width: 820px) {
  .ops-mobile-menu nav {
    position: fixed;
    inset: 58px 0 0 auto;
    width: min(88vw, 360px);
    align-content: start;
    overflow-y: auto;
    border-radius: 0;
  }

  .ops-mobile-menu .ops-mobile-nav-main {
    display: grid;
    grid-template-columns: 30px 1fr;
    font-weight: 750;
  }

  .ops-mobile-menu .ops-mobile-nav-main span {
    color: #82909d;
    font-size: 11px;
  }

  .ops-mobile-menu .ops-mobile-nav-child {
    padding-left: 48px;
    font-size: 12px;
  }

  .ops-mobile-menu nav a.is-active {
    color: #fff;
    background: var(--ops-sidebar-soft);
  }

  .ops-area-project-grid,
  .ops-project-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ops-project-summary-grid,
  .ops-status-pair,
  .ops-process-map,
  .ops-subject-metrics {
    grid-template-columns: 1fr;
  }

  .ops-monitoring-notice {
    display: grid;
  }

  .ops-monitoring-notice > span {
    white-space: normal;
  }

  .ops-process-map li:not(:last-child)::after {
    display: none;
  }

  .ops-project-card dl div,
  .ops-project-passport div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Architecture & releases: dark systems map grounded in the supplied reference. */
.arch-shell {
  --arch-bg: #091522;
  --arch-surface: #0f1f31;
  --arch-surface-2: #13263b;
  --arch-border: #2d4359;
  --arch-text: #edf5fb;
  --arch-muted: #9fb0c0;
  --arch-cyan: #52c8ef;
  --arch-green: #45c99a;
  --arch-amber: #e5aa4b;
  --arch-red: #ee6d71;
  margin: -28px -24px -48px;
  min-height: calc(100vh - 60px);
  padding: 28px;
  color: var(--arch-text);
  background:
    radial-gradient(circle at 82% 0%, rgba(82, 200, 239, 0.08), transparent 30%),
    var(--arch-bg);
}

.arch-shell a {
  color: inherit;
}

.arch-hero,
.arch-section-head,
.arch-card-top,
.arch-detail-card > header,
.arch-policy-card > header,
.arch-finding > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.arch-hero {
  margin-bottom: 20px;
}

.arch-hero h1 {
  max-width: 900px;
  margin: 2px 0 7px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.arch-hero p,
.arch-section-head p,
.arch-board p {
  margin: 0;
}

.arch-hero > div:first-child > p:last-child {
  max-width: 900px;
  color: var(--arch-muted);
  font-size: 15px;
}

.arch-eyebrow,
.arch-section-head > div > p,
.arch-code,
.arch-kind {
  color: #8ea3b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.arch-hero-state {
  display: flex;
  min-width: 230px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(15, 31, 49, 0.82);
  border: 1px solid var(--arch-border);
  border-radius: 8px;
}

.arch-hero-state strong,
.arch-hero-state span {
  display: block;
}

.arch-hero-state strong {
  font-size: 12px;
}

.arch-hero-state span {
  margin-top: 2px;
  color: var(--arch-muted);
  font-size: 10px;
}

.arch-led {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--arch-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(69, 201, 154, 0.12);
}

.arch-led.is-warn {
  background: var(--arch-amber);
  box-shadow: 0 0 0 4px rgba(229, 170, 75, 0.12);
}

.arch-tabs {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  margin: 0 0 16px;
  padding: 5px;
  background: #0c1a29;
  border: 1px solid #21364a;
  border-radius: 9px;
}

.arch-tabs a {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--arch-muted);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.arch-tabs a:hover,
.arch-tabs a.is-active {
  color: #fff;
  background: var(--arch-surface-2);
  border-color: #35516a;
}

.arch-tabs a.is-active {
  box-shadow: inset 0 -2px 0 var(--arch-cyan);
}

.arch-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.arch-summary article {
  min-width: 0;
  padding: 12px 14px;
  background: var(--arch-surface);
  border: 1px solid var(--arch-border);
  border-radius: 8px;
}

.arch-summary span,
.arch-detail-grid span,
.arch-version-track span {
  display: block;
  color: var(--arch-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.arch-summary strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.arch-summary strong.is-danger {
  color: var(--arch-red);
}

.arch-summary strong.is-warn {
  color: var(--arch-amber);
}

.arch-rule {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
  padding: 13px 16px;
  background: rgba(38, 113, 92, 0.3);
  border: 1px solid var(--arch-green);
  border-radius: 10px;
}

.arch-rule.is-target {
  background: rgba(63, 43, 84, 0.42);
  border-color: #9e78dc;
}

.arch-rule div {
  display: grid;
  gap: 2px;
}

.arch-rule span {
  color: var(--arch-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.arch-rule.is-target span {
  color: #b99cec;
}

.arch-rule strong {
  color: #fff;
  font-size: 14px;
}

.arch-rule p {
  max-width: 620px;
  color: #c8d6e1;
  font-size: 11px;
}

.arch-board {
  margin-bottom: 16px;
  padding: 18px;
  background: var(--arch-surface);
  border: 1px solid var(--arch-border);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.arch-board.is-muted {
  background: #0c1927;
  border-style: dashed;
}

.arch-section-head {
  margin-bottom: 14px;
  align-items: end;
}

.arch-section-head h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.arch-section-head > span {
  color: var(--arch-muted);
  font-size: 10px;
}

.arch-section-head > div:last-child {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.arch-inline-link {
  color: var(--arch-cyan) !important;
  font-size: 10px;
  font-weight: 700;
}

.arch-node-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.arch-node-card {
  min-width: 0;
  padding: 14px;
  color: var(--arch-text);
  background: var(--arch-surface-2);
  border: 1px solid #3a536c;
  border-top: 3px solid var(--arch-cyan);
  border-radius: 9px;
  text-decoration: none;
  transition: transform 120ms ease, border-color 120ms ease;
}

a.arch-node-card:hover {
  color: #fff;
  border-color: var(--arch-cyan);
  transform: translateY(-2px);
}

.arch-node-card.is-warning,
.arch-node-card.is-needs_attestation {
  border-top-color: var(--arch-amber);
}

.arch-node-card.is-unreachable,
.arch-node-card.is-disabled {
  border-top-color: var(--arch-red);
}

.arch-node-card.is-legacy {
  opacity: 0.72;
  border-top-color: #778899;
  border-style: dashed;
}

.arch-node-card h3,
.arch-project-card h3,
.arch-component-row h3,
.arch-detail-card h3,
.arch-policy-card h3,
.arch-finding h3,
.arch-pipeline h3 {
  margin: 9px 0 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.arch-host {
  display: block;
  color: var(--arch-cyan);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.arch-node-card p,
.arch-project-card p,
.arch-component-row p,
.arch-detail-card > p,
.arch-pipeline p {
  margin-top: 7px;
  color: var(--arch-muted);
  font-size: 11px;
}

.arch-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 9px;
  color: #b9c6d1;
  border-top: 1px solid rgba(159, 176, 192, 0.16);
  font-size: 9px;
}

.arch-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 3px 7px;
  color: #b9d7cb;
  background: rgba(69, 201, 154, 0.09);
  border: 1px solid rgba(69, 201, 154, 0.52);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.arch-status.is-warning,
.arch-status.is-needs_attestation,
.arch-status.is-high,
.arch-status.is-medium,
.arch-status.is-paused,
.arch-status.is-blocked {
  color: #f6d49a;
  background: rgba(229, 170, 75, 0.08);
  border-color: rgba(229, 170, 75, 0.7);
}

.arch-status.is-unreachable,
.arch-status.is-disabled,
.arch-status.is-critical,
.arch-status.is-failed,
.arch-status.is-compromised {
  color: #ffc3c5;
  background: rgba(238, 109, 113, 0.08);
  border-color: rgba(238, 109, 113, 0.72);
}

.arch-status.is-legacy,
.arch-status.is-unknown {
  color: #c1ccd5;
  background: rgba(159, 176, 192, 0.06);
  border-color: rgba(159, 176, 192, 0.45);
}

.arch-detail-list,
.arch-policy-list,
.arch-checklist {
  display: grid;
  gap: 10px;
}

.arch-detail-card,
.arch-policy-card,
.arch-finding {
  scroll-margin-top: 20px;
  padding: 14px;
  background: #11243a;
  border: 1px solid #2f4962;
  border-radius: 9px;
}

.arch-detail-card > header h3,
.arch-policy-card > header h3,
.arch-finding > header h3 {
  margin-top: 4px;
}

.arch-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.arch-detail-grid > div {
  min-width: 0;
  padding: 9px;
  background: #0d1c2d;
  border: 1px solid #263d53;
  border-radius: 6px;
}

.arch-detail-grid strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #edf5fb;
  font-size: 11px;
}

.arch-risk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.arch-risk-links a {
  padding: 5px 7px;
  color: #f7d7a5;
  background: rgba(229, 170, 75, 0.08);
  border: 1px solid rgba(229, 170, 75, 0.4);
  border-radius: 5px;
  font-size: 9px;
  text-decoration: none;
}

.arch-risk-links a.is-critical {
  color: #ffc3c5;
  background: rgba(238, 109, 113, 0.08);
  border-color: rgba(238, 109, 113, 0.55);
}

.arch-entity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.arch-entity-links a,
.arch-entity-links span {
  padding: 5px 7px;
  color: #9fe9da;
  background: rgba(64, 193, 159, 0.08);
  border: 1px solid rgba(64, 193, 159, 0.42);
  border-radius: 5px;
  font-size: 9px;
  text-decoration: none;
}

.arch-entity-links a:hover,
.arch-entity-links a:focus-visible {
  color: #eafff8;
  border-color: rgba(117, 238, 207, 0.78);
}

.arch-warning,
.arch-inline-error,
.arch-complete,
.arch-pending {
  padding: 9px 11px;
  color: #f5d6a3;
  background: rgba(229, 170, 75, 0.1);
  border: 1px solid rgba(229, 170, 75, 0.45);
  border-radius: 6px;
  font-size: 11px;
}

.arch-warning {
  margin-bottom: 14px;
}

.arch-inline-error {
  margin-top: 10px;
  color: #ffc9cb;
  background: rgba(238, 109, 113, 0.08);
  border-color: rgba(238, 109, 113, 0.45);
}

.arch-complete {
  color: #c4f2df;
  background: rgba(69, 201, 154, 0.08);
  border-color: rgba(69, 201, 154, 0.45);
}

.arch-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.arch-pipeline article {
  position: relative;
  min-width: 0;
  padding: 13px;
  background: #11243a;
  border: 1px solid #35516a;
  border-radius: 8px;
}

.arch-pipeline article::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--arch-cyan);
}

.arch-pipeline article:last-child::after {
  display: none;
}

.arch-pipeline article > span {
  color: var(--arch-cyan);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.arch-boundaries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.arch-boundaries article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  background: #0d1d2e;
  border: 1px solid #31506a;
  border-radius: 7px;
}

.arch-boundaries article > span {
  color: var(--arch-green);
  font-size: 10px;
  font-weight: 850;
}

.arch-boundaries p {
  color: #c8d4df;
  font-size: 10px;
}

.arch-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.arch-project-card {
  padding: 14px;
  background: #11243a;
  border: 1px solid #35516a;
  border-radius: 8px;
  text-decoration: none;
}

.arch-project-card:hover {
  border-color: var(--arch-cyan);
}

.arch-component-list {
  display: grid;
  gap: 7px;
}

.arch-component-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 15px;
  align-items: center;
  padding: 11px 12px;
  background: #11243a;
  border: 1px solid #304960;
  border-radius: 7px;
  text-decoration: none;
}

.arch-component-row:hover {
  border-color: var(--arch-cyan);
}

.arch-component-row h3 {
  margin-top: 3px;
}

.arch-component-row p {
  overflow-wrap: anywhere;
}

.arch-kind {
  color: var(--arch-green);
}

.arch-release-counts {
  display: flex;
  gap: 5px;
}

.arch-release-counts span {
  padding: 4px 6px;
  color: #b7c7d5;
  background: #0b1928;
  border: 1px solid #294157;
  border-radius: 4px;
  font-size: 9px;
}

.arch-row-arrow {
  color: var(--arch-cyan);
  font-size: 18px;
}

.arch-version-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin: 13px 0;
}

.arch-version-track > div {
  padding: 10px;
  background: #0c1b2b;
  border: 1px solid #2a435a;
  border-radius: 6px;
}

.arch-version-track strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 12px;
}

.arch-version-arrow {
  color: var(--arch-cyan);
  font-size: 15px;
  text-align: center;
}

.arch-policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: end;
  padding-top: 11px;
  border-top: 1px solid #294258;
}

.arch-policy-actions form:first-child {
  display: flex;
  flex: 1 1 520px;
  gap: 7px;
  align-items: end;
}

.arch-policy-actions label,
.arch-approval-form > label {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
}

.arch-policy-actions label > span,
.arch-approval-form label > span {
  color: var(--arch-muted);
  font-size: 10px;
  font-weight: 700;
}

.arch-shell select,
.arch-shell textarea,
.arch-shell input[type="text"],
.arch-shell input[type="number"] {
  width: 100%;
  padding: 8px 9px;
  color: #fff;
  background: #091725;
  border: 1px solid #3a536b;
  border-radius: 5px;
}

.arch-onboarding-form {
  display: grid;
  gap: 12px;
}

.arch-onboarding-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 13px;
  background: #0c1b2b;
  border: 1px solid #2f4962;
  border-radius: 8px;
}

.arch-onboarding-form legend {
  padding: 0 6px;
  color: var(--arch-cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.arch-form-grid label {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.arch-form-grid label.is-wide {
  grid-column: span 2;
}

.arch-form-grid label > span {
  color: var(--arch-muted);
  font-size: 10px;
  font-weight: 700;
}

.arch-form-help {
  margin-top: 9px !important;
  color: var(--arch-muted);
  font-size: 10px;
}

.arch-onboarding-submit {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.arch-onboarding-submit p {
  max-width: 720px;
  color: var(--arch-muted);
  font-size: 10px;
}

.arch-onboarding-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 9px;
  align-items: center;
  margin-bottom: 13px;
}

.arch-onboarding-route > article {
  min-width: 0;
  padding: 12px;
  background: #0c1b2b;
  border: 1px solid #31506a;
  border-radius: 7px;
}

.arch-onboarding-route > article > span {
  color: var(--arch-green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-onboarding-route > article > strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
}

.arch-onboarding-route > article > p {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--arch-muted);
  font-size: 10px;
}

.arch-onboarding-route > span {
  color: var(--arch-cyan);
  font-size: 16px;
}

.arch-shell button,
.arch-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #061420;
  background: var(--arch-cyan);
  border: 1px solid var(--arch-cyan);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.arch-shell button.is-secondary,
.arch-back-link {
  color: #d8e5ef;
  background: transparent;
  border-color: #496176;
}

.arch-shell button.is-danger {
  color: #ffd0d2;
  background: rgba(238, 109, 113, 0.08);
  border-color: rgba(238, 109, 113, 0.58);
}

.arch-shell button:hover,
.arch-back-link:hover {
  filter: brightness(1.1);
}

.arch-table-wrap {
  overflow-x: auto;
  border: 1px solid #2b455d;
  border-radius: 7px;
}

.arch-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 10px;
}

.arch-table th,
.arch-table td {
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #223b50;
}

.arch-table th {
  color: #92a8bb;
  background: #0b1a2a;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-table td {
  color: #d7e3ec;
}

.arch-table small {
  display: block;
  margin-top: 2px;
  color: var(--arch-muted);
}

.arch-table code {
  color: #b7d6e7;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.arch-finding {
  border-left: 3px solid var(--arch-amber);
}

.arch-finding.is-critical {
  border-left-color: var(--arch-red);
}

.arch-finding > p {
  margin-top: 10px;
  color: #c5d2dd;
  font-size: 11px;
}

.arch-recommendation {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  padding: 9px;
  background: #0d1c2d;
  border-radius: 5px;
  font-size: 10px;
}

.arch-recommendation strong {
  color: var(--arch-green);
}

.arch-finding-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 9px 0;
}

.arch-finding-meta span {
  padding: 4px 6px;
  color: #aebdca;
  border: 1px solid #304960;
  border-radius: 4px;
  font-size: 9px;
}

.arch-gate-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 13px;
}

.arch-gate-list > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px;
  align-items: center;
  padding: 9px;
  background: #0d1c2d;
  border: 1px solid #304960;
  border-radius: 6px;
  font-size: 9px;
}

.arch-gate-list > div > span {
  color: var(--arch-green);
  font-size: 13px;
}

.arch-gate-list > div.is-failed {
  border-color: rgba(238, 109, 113, 0.56);
}

.arch-gate-list > div.is-failed > span {
  color: var(--arch-red);
}

.arch-gate-list small {
  color: var(--arch-muted);
}

.arch-approval-form {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-top: 14px;
}

.arch-apply-timing {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #304960;
  border-radius: 7px;
  background: #0d1c2d;
}

.arch-apply-timing legend {
  padding: 0 6px;
  color: #d6e5ef;
  font-size: 11px;
  font-weight: 650;
}

.arch-apply-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.arch-apply-mode {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  padding: 11px;
  border: 1px solid #304960;
  border-radius: 7px;
  background: rgba(11, 25, 40, 0.8);
  cursor: pointer;
}

.arch-apply-mode.is-selected {
  border-color: rgba(82, 200, 239, 0.72);
  background: rgba(82, 200, 239, 0.09);
  box-shadow: inset 0 0 0 1px rgba(82, 200, 239, 0.16);
}

.arch-apply-mode input {
  margin-top: 3px;
}

.arch-apply-mode span {
  display: grid;
  gap: 4px;
}

.arch-apply-mode strong {
  color: #edf7fc;
  font-size: 11px;
}

.arch-apply-mode small,
.arch-schedule-time small {
  color: var(--arch-muted);
  font-size: 9px;
  line-height: 1.5;
}

.arch-schedule-time {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid rgba(82, 200, 239, 0.35);
  border-radius: 7px;
  background: rgba(82, 200, 239, 0.05);
}

.arch-schedule-time[hidden] {
  display: none;
}

.arch-schedule-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid rgba(245, 190, 82, 0.5);
  border-radius: 7px;
  background: rgba(245, 190, 82, 0.08);
}

.arch-schedule-banner > div {
  display: grid;
  gap: 3px;
}

.arch-schedule-banner span,
.arch-schedule-banner small {
  color: var(--arch-muted);
  font-size: 9px;
}

.arch-schedule-banner strong {
  color: #ffe2a3;
  font-size: 11px;
}

.arch-schedule-banner form {
  flex: 0 0 auto;
}

.arch-confirm {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 11px;
  background: rgba(82, 200, 239, 0.07);
  border: 1px solid rgba(82, 200, 239, 0.45);
  border-radius: 7px;
}

.arch-confirm input {
  margin-top: 3px;
}

.arch-confirm span {
  color: #d6e5ef !important;
  font-size: 11px !important;
  font-weight: 550 !important;
}

.arch-empty {
  padding: 24px;
  color: var(--arch-muted);
  background: #0d1c2d;
  border: 1px dashed #354b60;
  border-radius: 7px;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1180px) {
  .arch-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .arch-node-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arch-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .arch-pipeline article:nth-child(3)::after,
  .arch-pipeline article:last-child::after {
    display: none;
  }

  .arch-boundaries,
  .arch-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arch-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .arch-shell {
    margin: -18px -12px;
    min-height: calc(100vh - 36px);
    padding: 16px 12px;
  }

  .arch-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .arch-tabs a {
    flex: 1 1 auto;
    text-align: center;
  }

  .arch-hero,
  .arch-rule,
  .arch-section-head,
  .arch-detail-card > header,
  .arch-policy-card > header,
  .arch-finding > header {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .arch-hero-state {
    min-width: 0;
  }

  .arch-section-head > div:last-child {
    justify-items: start;
  }

  .arch-summary,
  .arch-node-grid,
  .arch-project-grid,
  .arch-pipeline,
  .arch-boundaries,
  .arch-detail-grid,
  .arch-gate-list {
    grid-template-columns: 1fr;
  }

  .arch-form-grid,
  .arch-onboarding-route {
    grid-template-columns: 1fr;
  }

  .arch-form-grid label.is-wide {
    grid-column: auto;
  }

  .arch-onboarding-route > span {
    transform: rotate(90deg);
    text-align: center;
  }

  .arch-onboarding-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .arch-pipeline article::after {
    display: none;
  }

  .arch-version-track {
    grid-template-columns: 1fr;
  }

  .arch-version-arrow {
    transform: rotate(90deg);
  }

  .arch-component-row {
    grid-template-columns: 1fr auto;
  }

  .arch-release-counts {
    grid-column: 1 / -1;
  }

  .arch-policy-actions,
  .arch-policy-actions form:first-child {
    align-items: stretch;
    flex-direction: column;
  }

  .arch-apply-mode-grid {
    grid-template-columns: 1fr;
  }

  .arch-schedule-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .arch-shell button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: var(--ops-bg);
}

body {
  margin: 0;
  color: var(--ops-text);
  background: var(--ops-bg);
  font-family: var(--ops-font);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: var(--ops-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #174da8;
}

.ops-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--ops-accent);
  border-radius: 4px;
  transform: translateY(-160%);
}

.ops-skip-link:focus {
  transform: none;
}

.ops-layout {
  min-height: 100vh;
}

.ops-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 248px;
  min-height: 100vh;
  flex-direction: column;
  padding: 22px 16px 16px;
  color: #f4f6f8;
  background: var(--ops-sidebar);
  border-right: 1px solid #2b3540;
}

.ops-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.ops-brand:hover {
  color: inherit;
}

.ops-brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #151b22;
  background: var(--ops-gold);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.ops-brand strong,
.ops-brand small {
  display: block;
}

.ops-brand strong {
  font-size: 15px;
}

.ops-brand small {
  margin-top: 1px;
  color: #9eabb7;
  font-size: 12px;
  font-weight: 500;
}

.ops-sidebar-nav {
  display: grid;
  gap: 4px;
  margin-top: 34px;
}

.ops-sidebar-nav a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 7px 10px;
  color: #bdc7d0;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
}

.ops-sidebar-nav a:hover,
.ops-sidebar-nav a.is-active {
  color: #fff;
  background: var(--ops-sidebar-soft);
  border-color: #303b47;
}

.ops-sidebar-nav a.is-active {
  box-shadow: inset 3px 0 0 var(--ops-gold);
}

.ops-nav-code {
  color: #71808d;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ops-sidebar-nav a.is-active .ops-nav-code {
  color: var(--ops-gold);
}

.ops-sidebar-foot {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #2b3540;
}

.ops-environment {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9eabb7;
  font-size: 12px;
}

.ops-user-summary {
  display: grid;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px solid #2b3540;
  border-bottom: 1px solid #2b3540;
}

.ops-user-summary strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.ops-user-summary span,
.ops-user-summary a {
  color: #9eabb7;
  font-size: 11px;
}

.ops-user-summary a:hover {
  color: #fff;
}

.ops-live-dot {
  width: 8px;
  height: 8px;
  background: #42b883;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(66, 184, 131, 0.14);
}

.ops-logout {
  width: 100%;
  padding: 8px 10px;
  color: #d7dde2;
  background: transparent;
  border: 1px solid #3a4652;
  border-radius: 5px;
  cursor: pointer;
}

.ops-logout:hover {
  color: #fff;
  border-color: #657482;
}

.ops-workspace {
  min-width: 0;
  margin-left: 248px;
}

.ops-mobile-header {
  display: none;
}

.ops-main {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.ops-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ops-page-head h1 {
  margin: 2px 0 4px;
  font-size: 30px;
  line-height: 1.2;
}

.ops-page-head p {
  max-width: 74ch;
  margin: 0;
  color: var(--ops-muted);
}

.ops-kicker {
  color: var(--ops-soft) !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ops-page-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ops-source-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -8px 0 18px;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-source-line strong {
  color: var(--ops-text);
}

.ops-status,
.ops-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 3px 9px;
  color: #40505e;
  background: #eef2f5;
  border: 1px solid #d4dbe2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.ops-status.is-info {
  color: #1d57ad;
  background: var(--ops-accent-soft);
  border-color: #c8d8f2;
}

.ops-status.is-ok {
  color: var(--ops-green);
  background: var(--ops-green-soft);
  border-color: #c7e4d4;
}

.ops-status.is-warn {
  color: var(--ops-amber);
  background: var(--ops-amber-soft);
  border-color: #eed7a9;
}

.ops-status.is-danger {
  color: var(--ops-red);
  background: var(--ops-red-soft);
  border-color: #edc6ca;
}

.ops-status.is-muted {
  color: var(--ops-muted);
  background: #f1f3f5;
  border-color: #d9dee3;
}

.ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.ops-metric-grid.is-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ops-metric {
  min-height: 96px;
  padding: 15px 16px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-metric.is-alert {
  border-color: #e3b9bd;
  background: #fffafa;
}

.ops-metric-label {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 650;
}

.ops-metric-value {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.ops-metric-note {
  margin-top: 2px;
  color: var(--ops-soft);
  font-size: 12px;
}

.ops-toolbar,
.ops-band {
  margin-bottom: 14px;
  padding: 14px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(150px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
}

.ops-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 650;
}

.ops-input,
.ops-select,
.ops-textarea {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  color: var(--ops-text);
  background: #fff;
  border: 1px solid var(--ops-border-strong);
  border-radius: 5px;
}

.ops-input,
.ops-select {
  height: 40px;
}

.ops-textarea {
  min-height: 88px;
  resize: vertical;
}

.ops-input:focus,
.ops-select:focus,
.ops-textarea:focus {
  outline: 3px solid rgba(34, 103, 216, 0.14);
  border-color: var(--ops-accent);
}

.ops-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: var(--ops-text);
  background: #fff;
  border: 1px solid var(--ops-border-strong);
  border-radius: 5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.ops-button:hover {
  color: var(--ops-text);
  background: var(--ops-surface-soft);
  border-color: #9faeba;
}

.ops-button:disabled,
.ops-button:disabled:hover {
  opacity: .48;
  color: var(--ops-muted);
  background: var(--ops-surface-soft);
  border-color: var(--ops-border);
  cursor: not-allowed;
}

.ops-button.is-primary {
  color: #fff;
  background: var(--ops-accent);
  border-color: var(--ops-accent);
}

.ops-button.is-primary:hover {
  color: #fff;
  background: #1b57ba;
}

.ops-button.is-danger {
  color: #9f2634;
  background: #fff;
  border-color: #df8993;
}

.ops-button.is-danger:hover {
  color: #fff;
  background: #b83140;
  border-color: #b83140;
}

.ops-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: var(--ops-text);
  background: #fff;
  border: 1px solid var(--ops-border-strong);
  border-radius: 5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.ops-btn:hover {
  color: var(--ops-text);
  background: var(--ops-surface-soft);
  border-color: #9faeba;
}

.ops-btn-primary {
  color: #fff;
  background: var(--ops-accent);
  border-color: var(--ops-accent);
}

.ops-btn-primary:hover {
  color: #fff;
  background: #1b57ba;
}

.ops-muted,
.text-muted {
  color: var(--ops-muted);
}

.ops-compact-value {
  font-size: 16px;
}

.ops-grid-pad {
  padding: 14px;
}

.ops-top-gap {
  margin-top: 12px;
}

.ops-search-form {
  display: flex;
  width: min(540px, 100%);
  gap: 8px;
}

.ops-search-form .ops-input {
  min-width: 0;
}

.ops-legal-filter {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(190px, 1fr) minmax(190px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.ops-status-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ops-status-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--ops-muted);
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: 5px;
  text-decoration: none;
}

.ops-status-tabs a:hover,
.ops-status-tabs a.is-active {
  color: var(--ops-text);
  border-color: var(--ops-accent);
}

.ops-status-tabs b {
  min-width: 23px;
  padding: 1px 6px;
  color: var(--ops-muted);
  background: var(--ops-bg);
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
}

.ops-data-section {
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  overflow: hidden;
}

.ops-panel {
  margin-bottom: 14px;
  padding: 16px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-panel > h2,
.ops-panel-head h2,
.ops-panel h3 {
  margin: 0;
}

.ops-panel > h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.ops-panel h3 {
  font-size: 14px;
}

.ops-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -16px -16px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-panel-head h2 {
  font-size: 16px;
}

.ops-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ops-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 14px;
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--ops-border);
  list-style: none;
}

.ops-tabs a {
  display: block;
  padding: 9px 12px;
  color: var(--ops-muted);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.ops-tabs a:hover,
.ops-tabs a.is-active {
  color: var(--ops-text);
  border-bottom-color: var(--ops-accent);
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.table-tools .ops-input {
  width: min(420px, 100%);
}

.sort-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

th.sorted-asc .sort-button::after {
  content: " ↑";
}

th.sorted-desc .sort-button::after {
  content: " ↓";
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mt-2 {
  margin-top: 8px;
}

.small {
  font-size: 12px;
}

.text-end {
  text-align: right !important;
}

.path-cell {
  max-width: 420px;
  overflow-wrap: anywhere;
}

.path-cell code {
  font-size: 11px;
  white-space: normal;
}

.qty-in {
  color: var(--ops-green);
}

.qty-out {
  color: var(--ops-red);
}

.qty-total {
  font-weight: 750;
}

.ops-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-section-head h2 {
  margin: 0;
  font-size: 16px;
}

.ops-section-head span {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ops-surface);
}

.ops-table th,
.ops-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5e9ed;
  text-align: left;
  vertical-align: top;
}

.ops-table th {
  color: var(--ops-muted);
  background: var(--ops-surface-soft);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  white-space: nowrap;
}

.ops-table td {
  font-size: 13px;
}

.ops-table tbody tr:hover {
  background: #fbfcfd;
}

.ops-table tbody tr:last-child td {
  border-bottom: 0;
}

.ops-rent-period {
  margin-bottom: 12px;
}

.ops-rent-months {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.ops-rent-months a {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--ops-muted);
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: 5px;
  text-decoration: none;
}

.ops-rent-months a.is-active {
  color: var(--ops-text);
  border-color: var(--ops-accent);
  box-shadow: inset 0 -2px 0 var(--ops-accent);
}

.ops-rent-integrations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--ops-border);
  border: 1px solid var(--ops-border);
  border-radius: 5px;
}

.ops-rent-integrations > div {
  display: grid;
  min-height: 108px;
  align-content: start;
  gap: 7px;
  padding: 13px;
  background: var(--ops-surface);
}

.ops-rent-integrations small {
  color: var(--ops-muted);
  overflow-wrap: anywhere;
}

.ops-rent-compact-list,
.ops-rent-reference,
.ops-rent-meter-list,
.ops-rent-photo-list {
  display: grid;
}

.ops-rent-compact-list > div,
.ops-rent-reference > div,
.ops-rent-meter-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ops-border);
}

.ops-rent-compact-list > div:last-child,
.ops-rent-reference > div:last-child,
.ops-rent-meter-list > div:last-child {
  border-bottom: 0;
}

.ops-rent-compact-list span,
.ops-rent-reference span,
.ops-rent-meter-list span {
  min-width: 0;
}

.ops-rent-compact-list small,
.ops-rent-reference small,
.ops-rent-meter-list small,
.ops-rent-photo-list small {
  display: block;
  margin-top: 3px;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-rent-editor {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-rent-editor.is-inline {
  margin: 0;
  border: 0;
}

.ops-rent-editor > summary {
  width: max-content;
  padding: 7px 0;
  color: var(--ops-link);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ops-rent-reference-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: min(620px, calc(100vw - 120px));
  padding: 12px 0 16px;
}

.ops-rent-reference-form label {
  display: grid;
  gap: 5px;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-rent-reference-form .ops-checkbox-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ops-rent-variable {
  padding: 10px 0;
  border-bottom: 1px solid var(--ops-border);
}

.ops-rent-variable:last-child {
  border-bottom: 0;
}

.ops-rent-variable h3 {
  margin-bottom: 7px;
}

.ops-rent-variable > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.ops-rent-variable p {
  margin: 0;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-rent-filter {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(190px, 1fr) auto auto auto;
  gap: 10px;
  align-items: end;
}

.ops-rent-table {
  min-width: 1120px;
}

.ops-rent-table th,
.ops-rent-table td {
  padding: 14px 16px;
}

.ops-rent-check {
  width: 42px;
}

.ops-rent-actions {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  flex-wrap: wrap;
}

.ops-rent-actions .ops-button {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

.ops-rent-reason {
  position: relative;
}

.ops-rent-reason summary {
  min-height: 34px;
  padding: 7px 9px;
  color: var(--ops-text);
  background: #fff;
  border: 1px solid var(--ops-border-strong);
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  list-style: none;
  white-space: nowrap;
}

.ops-rent-reason[open] form {
  position: absolute;
  z-index: 15;
  top: calc(100% + 5px);
  right: 0;
  display: grid;
  width: min(320px, 82vw);
  gap: 7px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ops-border-strong);
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(19, 33, 45, 0.16);
}

.ops-rent-reason .ops-textarea {
  min-height: 72px;
}

.ops-rent-bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--ops-muted);
  border-top: 1px solid var(--ops-border);
  font-size: 12px;
}

.ops-rent-upload {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(220px, 1fr);
  gap: 12px;
  align-items: end;
}

.ops-rent-upload > span {
  align-self: center;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-rent-photo-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ops-border);
}

.ops-rent-photo-list > div:last-child {
  border-bottom: 0;
}

.ops-rent-meter-form {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 7px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ops-legal-table {
  min-width: 1080px;
}

.ops-legal-table th,
.ops-legal-table td {
  padding: 15px 16px;
}

.ops-legal-table tbody tr.is-important {
  box-shadow: inset 3px 0 0 var(--ops-red);
}

.ops-case-number {
  display: block;
  width: fit-content;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.ops-table-secondary.is-danger {
  color: var(--ops-red);
  font-weight: 700;
}

.ops-access-table {
  min-width: 1080px;
  table-layout: fixed;
}

.ops-access-table th,
.ops-access-table td {
  padding: 17px 22px;
  vertical-align: middle;
}

.ops-access-table .ops-access-col-account {
  width: 28%;
}

.ops-access-table .ops-access-col-role {
  width: 24%;
}

.ops-access-table .ops-access-col-state {
  width: 18%;
}

.ops-access-table .ops-access-col-login {
  width: 16%;
}

.ops-access-table .ops-access-col-actions {
  width: 210px;
}

.ops-access-table .ops-inline-actions {
  flex-wrap: nowrap;
  gap: 10px;
}

.ops-access-table .ops-table-secondary {
  overflow-wrap: anywhere;
}

.ops-role-table {
  min-width: 900px;
}

.ops-role-table th,
.ops-role-table td {
  padding: 17px 20px;
  vertical-align: middle;
}

.ops-role-table th:first-child {
  width: 25%;
}

.ops-role-table th:nth-child(2) {
  width: 48%;
}

.ops-role-table th:nth-child(3) {
  width: 100px;
}

.ops-permission-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ops-permission-level {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  color: var(--ops-muted);
  background: #f1f3f5;
  border: 1px solid #d9dee3;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-permission-level.is-read {
  color: #1d57ad;
  background: var(--ops-accent-soft);
  border-color: #c8d8f2;
}

.ops-permission-level.is-write {
  color: var(--ops-green);
  background: var(--ops-green-soft);
  border-color: #c7e4d4;
}

.ops-permission-table {
  min-width: 800px;
  table-layout: fixed;
}

.ops-permission-table th,
.ops-permission-table td {
  padding: 15px 18px;
  vertical-align: middle;
}

.ops-permission-table th:first-child {
  width: 28%;
}

.ops-permission-table th:last-child {
  width: 260px;
}

.ops-permission-table .ops-select {
  max-width: 240px;
}

.ops-table-title {
  display: block;
  max-width: 52ch;
  color: var(--ops-text);
  font-weight: 700;
  text-decoration: none;
}

.ops-table-title:hover {
  color: var(--ops-accent);
}

.ops-table-secondary {
  display: block;
  max-width: 58ch;
  margin-top: 3px;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-nowrap {
  white-space: nowrap;
}

.ops-empty {
  padding: 30px 18px !important;
  color: var(--ops-muted);
  text-align: center !important;
}

.ops-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-top: 1px solid var(--ops-border);
}

.ops-pagination-links {
  display: flex;
  gap: 7px;
}

.ops-alert {
  margin-bottom: 14px;
  padding: 11px 13px;
  color: var(--ops-amber);
  background: var(--ops-amber-soft);
  border: 1px solid #ecd39d;
  border-radius: 5px;
}

.ops-alert.is-danger {
  color: var(--ops-red);
  background: var(--ops-red-soft);
  border-color: #e8bcc1;
}

.ops-alert.success {
  color: var(--ops-green);
  background: var(--ops-green-soft);
  border-color: #c7e4d4;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.ops-dashboard-link {
  display: block;
  min-height: 150px;
  padding: 16px;
  color: inherit;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  text-decoration: none;
}

.ops-dashboard-link:hover {
  color: inherit;
  border-color: #9eb4d5;
  box-shadow: var(--ops-shadow);
}

.ops-dashboard-link h2 {
  margin: 7px 0 8px;
  font-size: 17px;
}

.ops-dashboard-link p {
  margin: 0;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-dashboard-link-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.ops-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.ops-legal-detail {
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
}

.ops-legal-detail .ops-facts div {
  grid-template-columns: 110px 1fr;
}

.ops-detail-section {
  padding: 18px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-detail-section h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.ops-detail-section p {
  margin: 0;
  color: var(--ops-muted);
}

.ops-detail-section .ops-preline {
  white-space: pre-wrap;
}

.ops-detail-section + .ops-detail-section {
  margin-top: 14px;
}

/* Operations Hub */
.ops-hub-hero { background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 58%, #f8fafc 100%); border: 1px solid #d8e7f6; border-radius: 22px; padding: 28px; }
.ops-hub-principles, .ops-hub-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.ops-hub-principles > div, .ops-hub-status-grid > article { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--ops-border); border-radius: 16px; background: var(--ops-surface); }
.ops-hub-principles span, .ops-hub-status-grid small { color: var(--ops-muted); line-height: 1.45; }
.ops-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ops-hub-card { display: flex; min-height: 190px; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--ops-border); border-radius: 18px; background: var(--ops-surface); color: inherit; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.ops-hub-card:hover { transform: translateY(-2px); border-color: #9fc3e8; box-shadow: 0 14px 35px rgba(27, 74, 118, .09); }
.ops-hub-card h2, .ops-hub-card p { margin: 0; }.ops-hub-card p { color: var(--ops-muted); line-height: 1.5; }.ops-hub-card em { margin-top: auto; color: var(--ops-accent); font-style: normal; font-weight: 700; }
.ops-hub-card-state { align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: #edf5ff; color: #245f99; font-size: 12px; font-weight: 700; }
.ops-hub-section-head, .ops-hub-binding header, .ops-hub-binding footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.ops-hub-section-head h2 { margin: 0; }
.ops-hub-binding-list { display: grid; gap: 14px; margin-top: 16px; }.ops-hub-binding { border: 1px solid var(--ops-border); border-radius: 16px; padding: 18px; background: var(--ops-surface); }.ops-hub-binding header div { display: flex; flex-direction: column; gap: 4px; }.ops-hub-binding header span, .ops-hub-binding dt { color: var(--ops-muted); }
.ops-hub-binding dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }.ops-hub-binding dl div { min-width: 0; }.ops-hub-binding dt { font-size: 12px; }.ops-hub-binding dd { margin: 3px 0 0; overflow-wrap: anywhere; }.ops-hub-binding footer { justify-content: flex-start; }
.ops-hub-config { margin-top: 16px; border-top: 1px solid var(--ops-border); padding-top: 12px; }.ops-hub-config summary { cursor: pointer; font-weight: 700; }.ops-hub-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }.ops-hub-form label { display: flex; flex-direction: column; gap: 5px; color: var(--ops-muted); font-size: 12px; }.ops-hub-form input, .ops-hub-form select { width: 100%; min-height: 40px; border: 1px solid var(--ops-border); border-radius: 9px; padding: 8px 10px; background: var(--ops-surface); color: var(--ops-text); }
.ops-hub-alert { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: #fff4f2; color: #8d3025; }.ops-hub-steps { padding-left: 22px; line-height: 1.6; }.ops-hub-steps li + li { margin-top: 8px; }
.ops-hub-access-list { display: grid; gap: 10px; margin-top: 12px; }.ops-hub-access-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px; border: 1px solid var(--ops-border); border-radius: 12px; background: var(--ops-surface-soft); }.ops-hub-access-list article > div { display: grid; gap: 3px; }.ops-hub-access-list span, .ops-hub-access-list small { color: var(--ops-muted); }.ops-hub-access-list small { grid-column: 1 / -1; overflow-wrap: anywhere; }
.ops-hub-roadmap { display: grid; gap: 14px; margin: 20px 0; }.ops-hub-roadmap article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--ops-border); border-radius: 16px; background: var(--ops-surface); }.ops-hub-roadmap article > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #edf5ff; color: #245f99; font-weight: 800; }.ops-hub-roadmap strong { font-size: 18px; }.ops-hub-roadmap p { margin: 6px 0 0; color: var(--ops-muted); }
.ops-hub-secure-apply { border-color: #d9c58f; background: linear-gradient(135deg, #fffdf7, #fffaf0); }
.ops-hub-secure-apply > p { color: var(--ops-muted); }
.ops-hub-action-status { margin: 12px 0 0; color: var(--ops-muted); font-size: 13px; }
@media (max-width: 1023px) {
  .ops-hub-secure-apply form,
  [data-mail-admin-form],
  [data-mail-choose-entity] { display: none !important; }
  .ops-hub-secure-apply::after { content: "Изменения доступны только в desktop-режиме."; display: block; margin-top: 10px; color: var(--ops-muted); }
}
@media (max-width: 860px) { .ops-hub-principles, .ops-hub-status-grid, .ops-hub-grid, .ops-hub-form { grid-template-columns: 1fr; }.ops-hub-binding dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }.ops-hub-section-head, .ops-hub-binding header, .ops-hub-binding footer { align-items: flex-start; flex-direction: column; } }

.ops-application-solutions {
  display: grid;
  gap: 16px;
}

.ops-application-site {
  overflow: hidden;
  border: 1px solid var(--ops-border);
  border-radius: 12px;
  background: var(--ops-surface);
}

.ops-application-site > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-application-site > header > div {
  display: grid;
  gap: 4px;
}

.ops-application-site > header span,
.ops-application-link span {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-application-site > p {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-application-site iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #fff;
}

.ops-application-link {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ops-border);
}

@media (max-width: 760px) {
  .ops-application-site > header {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-application-site iframe {
    min-height: 520px;
  }
}

.ops-section-title-row,
.ops-timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-action-form {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
}

.ops-legal-status-form {
  grid-template-columns: minmax(220px, 1fr) auto;
  max-width: 560px;
  margin-top: 12px;
}

.ops-field-grow {
  min-width: 0;
}

.ops-note-form {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.ops-note-form .ops-button {
  width: fit-content;
}

.ops-legal-summary,
.ops-legal-hearings {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ops-border);
}

.ops-legal-summary > strong,
.ops-legal-hearings > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.ops-resource-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-resource-list li {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--ops-border);
}

.ops-resource-list li:first-child {
  border-top: 0;
}

.ops-resource-list li span {
  flex: 0 0 auto;
  color: var(--ops-soft);
  font-size: 11px;
}

.ops-legal-material-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ops-border);
}

.ops-legal-important {
  background: #fffafa;
  border-color: #e3b9bd;
}

.ops-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-timeline li {
  padding: 12px 0;
  border-top: 1px solid var(--ops-border);
}

.ops-timeline-meta strong {
  font-size: 13px;
}

.ops-timeline-meta span {
  color: var(--ops-soft);
  font-size: 12px;
}

.ops-timeline li > p {
  margin: 4px 0 0;
}

.ops-edit-form {
  display: grid;
  gap: 14px;
}

.ops-form-section {
  padding: 16px;
  background: var(--ops-surface);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
}

.ops-form-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.ops-form-section .ops-section-head.is-compact {
  margin: -16px -16px 14px;
}

.ops-form-section .ops-section-head.is-compact h2 {
  margin: 0;
}

.ops-form-section .ops-section-head.is-compact p:last-child {
  margin: 5px 0 0;
}

.ops-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-form-span-2 {
  grid-column: span 2;
}

.ops-field-help {
  color: var(--ops-soft);
  font-size: 11px;
  font-weight: 500;
}

.ops-field .errorlist {
  margin: 0;
  padding: 0;
  color: var(--ops-red);
  font-size: 12px;
  list-style: none;
}

.ops-form-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(238, 242, 245, 0), var(--ops-bg) 30%);
}

.ops-form-narrow {
  max-width: 720px;
}

.ops-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ops-department-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--ops-border);
  border-radius: 16px;
  background: var(--ops-surface);
}

.ops-department-card.is-inactive { opacity: .7; }
.ops-department-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ops-department-card h3 { margin: 5px 0 0; font-size: 22px; }
.ops-department-card header small, .ops-department-card > p, .ops-department-card dt, .ops-department-card dd small { color: var(--ops-muted); }
.ops-department-card > p { margin: 0; line-height: 1.5; }
.ops-department-card dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin: 0; }
.ops-department-card dl > div { padding: 12px; border-radius: 12px; background: var(--ops-surface-soft); }
.ops-department-card dt { font-size: 12px; }
.ops-department-card dd { display: grid; gap: 3px; margin: 4px 0 0; font-weight: 700; }
.ops-department-card dd small { font-weight: 500; }
.ops-department-units { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-department-units span { padding: 6px 9px; border: 1px solid var(--ops-border); border-radius: 999px; background: var(--ops-surface-soft); font-size: 12px; font-weight: 700; }
.ops-department-units span.is-warning { border-color: #e6bd68; background: #fff3d6; color: #805300; }
.ops-department-open { color: var(--ops-accent); font-weight: 750; text-decoration: none; }
.ops-department-open:hover { text-decoration: underline; }
.ops-checkbox-field { align-content: center; grid-template-columns: auto 1fr; }
.ops-checkbox-field input { width: auto; }

.ops-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-breadcrumbs a { color: var(--ops-muted); text-decoration: none; }
.ops-breadcrumbs a:hover { color: var(--ops-accent); text-decoration: underline; }
.ops-breadcrumbs strong { color: var(--ops-text); }

.ops-department-detail-head { margin-bottom: 16px; }

.ops-department-summary,
.ops-department-unit-section,
.ops-department-inheritance,
.ops-department-audit {
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  background: var(--ops-surface);
}

.ops-department-summary {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(620px, 3fr);
  margin-bottom: 16px;
  padding: 16px 18px;
}

.ops-department-owner {
  display: grid;
  align-content: center;
  gap: 4px;
  padding-right: 22px;
  border-right: 1px solid var(--ops-border);
}

.ops-department-owner span,
.ops-department-owner small,
.ops-department-summary dt { color: var(--ops-muted); }
.ops-department-owner strong { font-size: 15px; }
.ops-department-owner small { font-size: 12px; }
.ops-department-summary dl { display: grid; grid-template-columns: repeat(5, minmax(80px, 1fr)); margin: 0; }
.ops-department-summary dl div { display: grid; align-content: center; justify-items: center; gap: 5px; padding: 0 10px; text-align: center; }
.ops-department-summary dd { margin: 0; font-size: 17px; font-weight: 800; }
.ops-department-summary dt { font-size: 12px; }
.ops-department-summary .is-warning dd { color: #946000; }

.ops-department-unit-section { overflow: hidden; margin-bottom: 16px; }
.ops-department-unit-section > header { padding: 16px 18px; border-bottom: 1px solid var(--ops-border); }
.ops-department-unit-section h2,
.ops-department-inheritance h2,
.ops-department-audit h2 { margin: 0; font-size: 17px; }
.ops-department-unit-table-wrap { overflow-x: auto; }
.ops-department-unit-table { width: 100%; border-collapse: collapse; }
.ops-department-unit-table th { padding: 11px 12px; color: var(--ops-muted); font-size: 11px; text-align: left; vertical-align: bottom; }
.ops-department-unit-table th small { display: block; margin-top: 2px; font-weight: 500; }
.ops-department-unit-table td { min-width: 88px; padding: 15px 12px; border-top: 1px solid var(--ops-border); vertical-align: middle; }
.ops-department-unit-table td:first-child { min-width: 180px; }
.ops-department-unit-table td:nth-child(2) { min-width: 165px; }
.ops-department-unit-table td:last-child { min-width: 118px; }
.ops-department-unit-table td > strong,
.ops-department-unit-table td > small { display: block; }
.ops-department-unit-table td > small { margin-top: 4px; color: var(--ops-muted); font-size: 11px; line-height: 1.4; }
.ops-department-unit-table tr.is-inactive { opacity: .65; }
.ops-environment-count { position: relative; padding-left: 14px; }
.ops-environment-count::before { position: absolute; top: .48em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ops-muted); content: ""; }
.ops-environment-count.is-ready::before { background: #2aa876; }
.ops-environment-count.is-empty::before { background: #dc9a25; }
.ops-department-row-actions { display: grid; justify-items: start; gap: 9px; }
.ops-department-row-actions .ops-button { min-height: 30px; padding: 5px 9px; font-size: 11px; }
.ops-department-row-actions .ops-department-open { font-size: 12px; }

.ops-department-inheritance { margin-bottom: 16px; padding: 16px 18px; }
.ops-department-inheritance > div p { margin: 5px 0 0; color: var(--ops-muted); font-size: 12px; }
.ops-department-inheritance ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px; margin: 16px 0 0; padding: 0; list-style: none; }
.ops-department-inheritance li { position: relative; display: grid; gap: 3px; min-height: 70px; padding: 12px; border: 1px solid var(--ops-border); border-radius: 10px; }
.ops-department-inheritance li:not(:last-child)::after { position: absolute; top: 50%; right: -29px; color: var(--ops-muted); font-size: 20px; content: "→"; transform: translateY(-50%); }
.ops-department-inheritance li span,
.ops-department-inheritance li small { color: var(--ops-muted); font-size: 11px; }
.ops-department-inheritance li strong { font-size: 12px; }

.ops-department-audit { padding: 16px 18px; }
.ops-department-audit > div { display: grid; grid-template-columns: auto 130px 1fr; align-items: center; gap: 12px; margin-top: 14px; }
.ops-department-audit p { display: grid; gap: 3px; margin: 0; color: var(--ops-muted); font-size: 12px; }
.ops-department-audit p strong { color: var(--ops-text); }
.ops-audit-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7efca; color: #748036; font-size: 11px; font-weight: 800; }

.ops-business-unit-detail-head { margin-bottom: 16px; }

.ops-business-unit-summary,
.ops-business-unit-projects,
.ops-business-unit-attention,
.ops-business-unit-audit {
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  background: var(--ops-surface);
}

.ops-business-unit-summary {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(590px, 3fr);
  margin-bottom: 16px;
  padding: 16px 18px;
}

.ops-business-unit-owner {
  display: grid;
  align-content: center;
  gap: 5px;
  padding-right: 22px;
  border-right: 1px solid var(--ops-border);
}

.ops-business-unit-owner > span,
.ops-business-unit-owner small,
.ops-business-unit-summary dt,
.ops-business-unit-summary dl small { color: var(--ops-muted); }
.ops-business-unit-owner > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ops-business-unit-owner strong { font-size: 15px; }
.ops-business-unit-owner small { font-size: 12px; }
.ops-business-unit-summary dl { display: grid; grid-template-columns: repeat(4, minmax(105px, 1fr)); margin: 0; }
.ops-business-unit-summary dl > div { display: grid; align-content: center; gap: 5px; padding: 0 22px; border-left: 1px solid var(--ops-border); }
.ops-business-unit-summary dl > div:first-child { border-left: 0; }
.ops-business-unit-summary dt { font-size: 12px; }
.ops-business-unit-summary dd { margin: 0; font-size: 21px; font-weight: 800; }
.ops-business-unit-summary dl small { font-size: 11px; }

.ops-business-unit-projects { overflow: hidden; margin-bottom: 16px; }
.ops-business-unit-projects > header { padding: 16px 18px; border-bottom: 1px solid var(--ops-border); }
.ops-business-unit-projects h2,
.ops-business-unit-attention h2,
.ops-business-unit-audit h2 { margin: 0; font-size: 17px; }

.ops-business-unit-project-row {
  position: relative;
  padding: 20px 20px 18px 23px;
  border-top: 1px solid var(--ops-border);
}
.ops-business-unit-project-row:first-child { border-top: 0; }
.ops-business-unit-project-row::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: #2aa876; content: ""; }
.ops-business-unit-project-row.is-warning::before { background: #dc9a25; }

.ops-project-row-overview {
  display: grid;
  grid-template-columns: 62px minmax(205px, 1.4fr) minmax(590px, 3.1fr);
  align-items: start;
  gap: 16px;
}

.ops-project-id {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 7px;
  border: 1px solid var(--ops-border);
  border-radius: 10px;
  background: var(--ops-surface-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.ops-project-row-title h3 { margin: 2px 0 6px; font-size: 16px; }
.ops-project-row-title p { margin: 0; color: var(--ops-muted); font-size: 12px; line-height: 1.45; }
.ops-project-row-facts { display: grid; grid-template-columns: 1.15fr .95fr .65fr 1fr 1.15fr; gap: 12px; margin: 0; }
.ops-project-row-facts > div { min-width: 0; }
.ops-project-row-facts dt,
.ops-project-row-facts small { color: var(--ops-muted); font-size: 10px; }
.ops-project-row-facts dd { margin: 7px 0 3px; overflow-wrap: anywhere; font-size: 11px; font-weight: 750; }
.ops-project-row-facts .ops-status { max-width: 100%; white-space: normal; line-height: 1.2; }
.ops-project-row-facts small { display: block; line-height: 1.35; }
.ops-project-row-facts .ops-environment-count { padding-left: 13px; }

.ops-project-row-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 20px; }
.ops-project-row-progress ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ops-project-row-progress li { position: relative; display: grid; gap: 3px; padding: 20px 14px 0 0; color: var(--ops-muted); }
.ops-project-row-progress li::before { position: absolute; top: 6px; right: 0; left: 0; height: 2px; background: var(--ops-border); content: ""; }
.ops-project-row-progress li:first-child::before { left: 7px; }
.ops-project-row-progress li:last-child::before { right: calc(100% - 7px); }
.ops-project-row-progress li.is-complete::before,
.ops-project-row-progress li.is-active::before { background: #2aa876; }
.ops-project-row-progress li.is-blocked::before { background: #dc9a25; }
.ops-project-stage-node { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border: 2px solid #bac6d2; border-radius: 50%; background: var(--ops-surface); }
.ops-project-row-progress li.is-complete .ops-project-stage-node,
.ops-project-row-progress li.is-active .ops-project-stage-node { border-color: #249669; background: #249669; box-shadow: inset 0 0 0 3px var(--ops-surface); }
.ops-project-row-progress li.is-blocked .ops-project-stage-node { border-color: #dc9a25; background: #dc9a25; box-shadow: inset 0 0 0 3px var(--ops-surface); }
.ops-project-row-progress li strong { color: var(--ops-text); font-size: 11px; font-weight: 650; }
.ops-project-row-progress li.is-blocked strong,
.ops-project-row-progress li.is-blocked small { color: #a76b00; }
.ops-project-row-progress li small { font-size: 10px; }
.ops-project-row-progress .ops-department-open { white-space: nowrap; }

.ops-project-row-blocker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid #edc46f;
  border-radius: 8px;
  background: #fff9ec;
  color: #805300;
  font-size: 11px;
}
.ops-project-row-blocker a { color: var(--ops-accent); font-weight: 750; text-decoration: none; }
.ops-project-row-blocker a:hover { text-decoration: underline; }

.ops-business-unit-footer-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.ops-business-unit-attention,
.ops-business-unit-audit { padding: 16px 18px; }
.ops-business-unit-attention > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; margin-top: 14px; }
.ops-business-unit-attention > div > strong { color: #9c6400; }
.ops-business-unit-attention p { display: grid; gap: 3px; margin: 0; font-size: 12px; }
.ops-business-unit-attention p small { color: var(--ops-muted); }
.ops-business-unit-attention a { grid-column: 2; color: var(--ops-accent); font-size: 11px; font-weight: 750; text-decoration: none; }
.ops-business-unit-attention a:hover { text-decoration: underline; }
.ops-business-unit-audit > div { display: grid; grid-template-columns: auto 135px 1fr; align-items: center; gap: 12px; margin-top: 14px; }
.ops-business-unit-audit p { display: grid; gap: 3px; margin: 0; color: var(--ops-muted); font-size: 12px; }
.ops-business-unit-audit p strong { color: var(--ops-text); }
.ops-business-unit-audit p small { color: var(--ops-muted); }

@media (max-width: 860px) {
  .ops-department-grid,
  .ops-department-card dl {
    grid-template-columns: 1fr;
  }

  .ops-department-summary { grid-template-columns: 1fr; }
  .ops-department-owner { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-department-summary dl { grid-template-columns: repeat(3, 1fr); gap: 14px 0; padding-top: 14px; }
  .ops-department-inheritance ol { grid-template-columns: 1fr; gap: 10px; }
  .ops-department-inheritance li:not(:last-child)::after { display: none; }
  .ops-business-unit-summary { grid-template-columns: 1fr; }
  .ops-business-unit-owner { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-business-unit-summary dl { grid-template-columns: repeat(2, 1fr); padding-top: 14px; }
  .ops-business-unit-summary dl > div:nth-child(odd) { border-left: 0; }
  .ops-project-row-overview { grid-template-columns: 62px 1fr; }
  .ops-project-row-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .ops-business-unit-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ops-breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .ops-business-unit-detail-head {
    gap: 14px;
  }

  .ops-business-unit-detail-head > div:first-child {
    min-width: 0;
  }

  .ops-business-unit-detail-head .ops-page-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ops-business-unit-detail-head .ops-button {
    justify-content: center;
    width: 100%;
  }

  .ops-department-card header {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-department-card header .ops-button {
    width: 100%;
  }

  .ops-department-summary dl { grid-template-columns: repeat(2, 1fr); }
  .ops-department-unit-table thead { display: none; }
  .ops-department-unit-table,
  .ops-department-unit-table tbody,
  .ops-department-unit-table tr,
  .ops-department-unit-table td { display: block; width: 100%; }
  .ops-department-unit-table tr { padding: 8px 14px; border-top: 1px solid var(--ops-border); }
  .ops-department-unit-table td { display: grid; grid-template-columns: 120px 1fr; min-width: 0 !important; padding: 8px 0; border: 0; }
  .ops-department-unit-table td::before { color: var(--ops-muted); font-size: 11px; font-weight: 700; content: attr(data-label); }
  .ops-department-audit > div { grid-template-columns: auto 1fr; }
  .ops-department-audit > div > p:last-child { grid-column: 1 / -1; }
  .ops-business-unit-summary dl {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .ops-business-unit-summary dl > div {
    min-width: 0;
    padding: 10px 8px;
    border: 0;
  }
  .ops-business-unit-summary dd,
  .ops-business-unit-summary small { overflow-wrap: anywhere; }
  .ops-project-row-overview { grid-template-columns: 54px 1fr; gap: 12px; }
  .ops-project-row-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ops-project-row-progress { grid-template-columns: 1fr; gap: 14px; }
  .ops-project-row-progress ol { grid-template-columns: 1fr; gap: 0; }
  .ops-project-row-progress li { min-height: 55px; padding: 0 0 12px 28px; }
  .ops-project-row-progress li::before { top: 7px; bottom: 0; left: 6px !important; width: 2px; height: auto; }
  .ops-project-row-progress li:last-child::before { display: none; }
  .ops-project-stage-node { top: 0; left: 0; }
  .ops-project-row-blocker { grid-template-columns: 1fr; }
  .ops-business-unit-audit > div { grid-template-columns: auto 1fr; }
  .ops-business-unit-audit > div > p:last-child { grid-column: 1 / -1; }
}

.ops-check-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ops-check-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  font-weight: 650;
  cursor: pointer;
}

.ops-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ops-accent);
}

.ops-check-line {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  cursor: pointer;
}

.ops-check-line .errorlist {
  margin: 0;
  color: var(--ops-red);
  font-size: 12px;
  list-style: none;
}

.ops-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ops-inline-actions .ops-button {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 12px;
}

.ops-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.ops-facts div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e5e9ed;
}

.ops-facts div:last-child {
  border-bottom: 0;
}

.ops-facts dt {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 650;
}

.ops-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.ops-login-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  color: #f4f6f8;
  background: var(--ops-sidebar);
}

.ops-login {
  width: min(420px, 100%);
}

.ops-login .ops-brand {
  margin-bottom: 24px;
}

.ops-login-card {
  padding: 24px;
  color: var(--ops-text);
  background: var(--ops-surface);
  border: 1px solid #35404b;
  border-radius: 7px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.ops-login-card h1 {
  margin: 0 0 5px;
  font-size: 24px;
}

.ops-login-card p {
  margin: 0 0 20px;
  color: var(--ops-muted);
}

.ops-login-form {
  display: grid;
  gap: 13px;
}

.ops-login-form .ops-button {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 1180px) {
  .ops-metric-grid,
  .ops-metric-grid.is-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ops-legal-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ops-rent-integrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-rent-reference-form {
    min-width: 0;
  }

  .ops-rent-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ops-sidebar {
    display: none;
  }

  .ops-workspace {
    margin-left: 0;
  }

  .ops-mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    color: #fff;
    background: var(--ops-sidebar);
    border-bottom: 1px solid #2b3540;
  }

  .ops-mobile-header .ops-brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .ops-mobile-menu {
    position: relative;
  }

  .ops-mobile-menu summary {
    padding: 7px 10px;
    color: #fff;
    border: 1px solid #45515d;
    border-radius: 5px;
    cursor: pointer;
    list-style: none;
  }

  .ops-mobile-menu nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: 220px;
    padding: 7px;
    background: var(--ops-sidebar);
    border: 1px solid #394551;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .ops-mobile-menu nav a {
    padding: 9px 10px;
    color: #d8dee4;
    border-radius: 4px;
    text-decoration: none;
  }

  .ops-mobile-menu nav a:hover {
    color: #fff;
    background: var(--ops-sidebar-soft);
  }

  .ops-main {
    width: min(100% - 24px, 1480px);
    padding-top: 20px;
  }

  .ops-detail-layout {
    grid-template-columns: 1fr;
  }

  .ops-grid-2 {
    grid-template-columns: 1fr;
  }

  .ops-rent-upload,
  .ops-rent-meter-form {
    grid-template-columns: 1fr 1fr;
  }

  .ops-action-form {
    grid-template-columns: 1fr;
  }

  .ops-legal-material-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ops-page-head {
    display: grid;
  }

  .ops-page-head h1 {
    font-size: 25px;
  }

  .ops-page-actions {
    width: 100%;
  }

  .ops-metric-grid,
  .ops-metric-grid.is-five,
  .ops-filter-grid,
  .ops-legal-filter,
  .ops-rent-filter,
  .ops-rent-integrations,
  .ops-rent-upload,
  .ops-rent-meter-form {
    grid-template-columns: 1fr;
  }

  .ops-metric {
    min-height: 82px;
  }

  .ops-toolbar {
    padding: 11px;
  }

  .ops-filter-grid .ops-button {
    width: 100%;
  }

  .ops-legal-filter .ops-button {
    width: 100%;
  }

  .ops-data-section {
    overflow: visible;
    background: transparent;
    border: 0;
  }

  .ops-section-head {
    margin-bottom: 8px;
    background: var(--ops-surface);
    border: 1px solid var(--ops-border);
    border-radius: var(--ops-radius);
  }

  .ops-table-wrap {
    overflow: visible;
  }

  .ops-registry-table,
  .ops-registry-table tbody,
  .ops-registry-table tr,
  .ops-registry-table td {
    display: block;
    width: 100%;
  }

  .ops-registry-table thead {
    display: none;
  }

  .ops-registry-table tbody {
    display: grid;
    gap: 9px;
  }

  .ops-registry-table tbody tr {
    padding: 12px;
    background: var(--ops-surface);
    border: 1px solid var(--ops-border);
    border-radius: var(--ops-radius);
  }

  .ops-registry-table td {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #e6eaee;
    overflow-wrap: anywhere;
  }

  .ops-registry-table td::before {
    content: attr(data-label);
    color: var(--ops-muted);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
  }

  .ops-registry-table td:last-child {
    border-bottom: 0;
  }

  .ops-legal-table {
    min-width: 0;
  }

  .ops-rent-table {
    min-width: 0;
  }

  .ops-rent-compact-list > div,
  .ops-rent-reference > div,
  .ops-rent-meter-list > div,
  .ops-rent-bulk-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-rent-reference-form {
    grid-template-columns: 1fr;
  }

  .ops-rent-photo-list > div {
    grid-template-columns: 1fr;
  }

  .ops-legal-table tbody tr.is-important {
    box-shadow: inset 3px 0 0 var(--ops-red);
  }

  .ops-access-table {
    min-width: 0;
    table-layout: auto;
  }

  .ops-role-table {
    min-width: 0;
  }

  .ops-access-table .ops-inline-actions {
    flex-wrap: wrap;
  }

  .ops-permission-table {
    min-width: 680px;
  }

  .ops-table-title,
  .ops-table-secondary {
    max-width: none;
  }

  .ops-pagination {
    align-items: stretch;
    flex-direction: column;
    background: var(--ops-surface);
    border: 1px solid var(--ops-border);
    border-radius: var(--ops-radius);
  }

  .ops-pagination-links .ops-button {
    flex: 1;
  }

  .ops-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .ops-form-grid {
    grid-template-columns: 1fr;
  }

  .ops-edit-form {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .ops-edit-form > * {
    min-width: 0;
    max-width: 100%;
  }

  .ops-edit-form .ops-table-wrap {
    overflow-x: auto;
  }

  .ops-form-span-2 {
    grid-column: span 1;
  }

  .ops-timeline-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ops-form-actions .ops-button {
    width: 100%;
  }

  .ops-search-form {
    display: grid;
  }

  .ops-search-form .ops-btn {
    width: 100%;
  }
}

/* VPN learning surface: live operations plus the "complex things on cats" guide. */
.vpn-page-head {
  margin-bottom: 14px;
}

.vpn-page-head h1 {
  max-width: 780px;
}

.vpn-section-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  padding: 5px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(21, 32, 43, 0.05);
}

.vpn-section-tabs button {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  color: var(--ops-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.vpn-section-tabs button span {
  color: var(--ops-soft);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.vpn-section-tabs button:hover,
.vpn-section-tabs button:focus-visible {
  color: var(--ops-text);
  background: #f7f9fb;
  border-color: #d9dfe5;
}

.vpn-section-tabs button:focus-visible {
  outline: 3px solid rgba(34, 103, 216, 0.15);
  outline-offset: 1px;
}

.vpn-section-tabs button.is-active {
  color: #fff;
  background: var(--ops-sidebar-soft);
  border-color: var(--ops-sidebar-soft);
  box-shadow: inset 3px 0 0 var(--ops-gold);
}

.vpn-section-tabs button.is-active span {
  color: #e3b96f;
}

.vpn-duty-hero {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(390px, 0.95fr) minmax(520px, 1.05fr);
  align-items: stretch;
  margin-bottom: 14px;
  overflow: hidden;
  color: #3f3851;
  background: #fffaf3;
  border: 1px solid #e5dcd2;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(54, 44, 62, 0.08);
}

.vpn-duty-copy {
  position: relative;
  z-index: 1;
  padding: 30px 20px 28px 30px;
}

.vpn-duty-state {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 9px;
  color: #42664a;
  background: #edf6ed;
  border: 1px solid #c9dec9;
  border-radius: 999px;
  font-size: 10px;
}

.vpn-duty-state-dot {
  width: 8px;
  height: 8px;
  background: #4f9b65;
  border: 2px solid #cfe7d5;
  border-radius: 50%;
}

.vpn-duty-state.is-warn {
  color: #7b5d16;
  background: #fff6d9;
  border-color: #ead59a;
}

.vpn-duty-state.is-warn .vpn-duty-state-dot {
  background: #d39a1f;
  border-color: #f3dda9;
}

.vpn-duty-state.is-danger {
  color: #8b3434;
  background: #fff0f0;
  border-color: #ebc0c0;
}

.vpn-duty-state.is-danger .vpn-duty-state-dot {
  background: #c94c4c;
  border-color: #f0caca;
}

.vpn-duty-state.is-muted {
  color: #626d76;
  background: #f1f4f6;
  border-color: #d5dde2;
}

.vpn-duty-state.is-muted .vpn-duty-state-dot {
  background: #7a8791;
  border-color: #d5dde2;
}

.vpn-duty-copy .vpn-cat-eyebrow {
  margin-top: 18px;
}

.vpn-duty-copy h2 {
  max-width: 720px;
  margin: 7px 0 11px;
  color: #342e42;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.vpn-duty-lead {
  max-width: 61ch;
  margin: 0;
  color: #665e70;
  font-size: 14px;
  line-height: 1.55;
}

.vpn-duty-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.vpn-duty-facts span {
  padding: 6px 8px;
  color: #665c72;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e1d9e5;
  border-radius: 5px;
  font-size: 10px;
}

.vpn-duty-facts b {
  color: #514469;
}

.vpn-duty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.vpn-duty-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  color: #574a69;
  background: #fff;
  border: 1px solid #cabed5;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.vpn-duty-action:hover,
.vpn-duty-action:focus-visible {
  color: #44375a;
  background: #f5f0f8;
  border-color: #aa99bd;
}

.vpn-duty-action:focus-visible {
  outline: 3px solid rgba(128, 103, 159, 0.2);
  outline-offset: 2px;
}

.vpn-duty-action.is-primary {
  color: #fff;
  background: #5a4a70;
  border-color: #5a4a70;
}

.vpn-duty-action.is-primary:hover,
.vpn-duty-action.is-primary:focus-visible {
  color: #fff;
  background: #493b5d;
  border-color: #493b5d;
}

.vpn-duty-visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: #fff8ef;
  border-left: 1px solid #eadfd5;
}

.vpn-duty-visual img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.vpn-duty-still {
  display: none !important;
}

.vpn-duty-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  padding: 8px 10px;
  color: #645a70;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(189, 173, 193, 0.55);
  border-radius: 6px;
  font-size: 9px;
  line-height: 1.35;
  backdrop-filter: blur(7px);
}

.vpn-route-summary,
.vpn-telemetry,
.vpn-runtime-health,
.vpn-backup-brief {
  margin-bottom: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 9px;
}

.vpn-runtime-health {
  border-top: 3px solid #6f8f7a;
}

.vpn-runtime-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vpn-runtime-summary article {
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: space-between;
  gap: 8px;
  padding: 13px;
  background: #f8fafb;
  border: 1px solid #e1e5e8;
  border-radius: 7px;
}

.vpn-runtime-summary article > span,
.vpn-runtime-summary article > small {
  color: #687481;
  font-size: 10px;
}

.vpn-runtime-summary article > span {
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vpn-runtime-summary article > strong:not(.ops-status) {
  overflow-wrap: anywhere;
  color: #29313a;
  font-size: 18px;
  line-height: 1.15;
}

.vpn-runtime-summary .ops-status {
  width: max-content;
}

.vpn-runtime-issues {
  margin-top: 12px;
  padding: 12px 14px;
  color: #743f40;
  background: #fff6f5;
  border: 1px solid #edcfcb;
  border-radius: 7px;
  font-size: 11px;
}

.vpn-runtime-issues ul {
  margin: 7px 0 0;
  padding-left: 18px;
}

.vpn-runtime-table-wrap,
.vpn-runtime-checks {
  margin-top: 12px;
}

.vpn-runtime-table td {
  vertical-align: top;
}

.vpn-runtime-checks {
  padding: 10px 12px;
  background: #fbfcfd;
  border: 1px solid #e1e5e8;
  border-radius: 7px;
}

.vpn-runtime-checks summary {
  color: #4d5864;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.vpn-backup-future-note {
  margin: 12px 0 0;
  padding: 11px 13px;
  color: #5f6973;
  background: #f5f7f8;
  border-left: 3px solid #8b79a0;
  font-size: 11px;
  line-height: 1.55;
}

.vpn-status-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.vpn-status-section-head .vpn-cat-eyebrow {
  margin-top: 0;
}

.vpn-status-section-head h2 {
  margin: 4px 0 0;
  color: #29313a;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.vpn-status-section-head > p {
  max-width: 320px;
  margin: 0;
  color: #7a8490;
  font-size: 10px;
  text-align: right;
}

.vpn-route-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vpn-route-summary-grid article {
  min-width: 0;
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid #e0e4e8;
  border-top: 3px solid #d2a454;
  border-radius: 7px;
}

.vpn-route-summary-grid article.is-backup {
  border-top-color: #a994c7;
}

.vpn-route-summary-grid article.is-home {
  border-top-color: #91b48f;
}

.vpn-route-summary-grid article.is-work {
  border-top-color: #d98fa3;
}

.vpn-route-summary-grid span,
.vpn-route-summary-grid strong,
.vpn-route-summary-grid p {
  display: block;
}

.vpn-route-summary-grid span {
  color: #8b7b9c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vpn-route-summary-grid strong {
  margin-top: 8px;
  color: #3e4650;
  font-size: 13px;
}

.vpn-route-summary-grid p {
  margin: 5px 0 0;
  color: #727c86;
  font-size: 10px;
  line-height: 1.45;
}

.vpn-route-summary-grid p b {
  color: #565f69;
}

.vpn-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vpn-telemetry-grid article {
  display: grid;
  min-height: 90px;
  align-content: space-between;
  padding: 13px;
  background: #f8fafb;
  border: 1px solid #e1e5e8;
  border-radius: 7px;
}

.vpn-telemetry-grid span {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
  color: #687481;
  font-size: 10px;
  font-weight: 750;
}

.vpn-telemetry-grid em {
  color: #91869b;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}

.vpn-telemetry-grid strong {
  color: #222a33;
  font-size: 27px;
  line-height: 1;
}

.vpn-telemetry .vpn-reading-hint {
  margin: 10px 0 0;
}

.vpn-telemetry .vpn-cat-token {
  color: #645377;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
}

.vpn-tech-details {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 9px;
}

.vpn-tech-details > summary {
  display: flex;
  min-height: 68px;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 13px 17px;
  color: #404a55;
  cursor: pointer;
  list-style: none;
}

.vpn-tech-details > summary::-webkit-details-marker {
  display: none;
}

.vpn-tech-details > summary span,
.vpn-tech-details > summary b,
.vpn-tech-details > summary small {
  display: block;
}

.vpn-tech-details > summary b {
  font-size: 14px;
}

.vpn-tech-details > summary small {
  margin-top: 3px;
  color: #7d8791;
  font-size: 10px;
}

.vpn-tech-details > summary > strong {
  color: #655375;
  font-size: 10px;
}

.vpn-tech-details > summary > strong::after {
  margin-left: 8px;
  content: "↓";
}

.vpn-tech-details[open] > summary {
  border-bottom: 1px solid var(--ops-border);
}

.vpn-tech-details[open] > summary > strong::after {
  content: "↑";
}

.vpn-tech-details-body {
  padding: 14px;
}

.vpn-tech-details-body > :last-child,
.vpn-tech-details-body .ops-panel:last-child {
  margin-bottom: 0;
}

.vpn-reading-hint {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  margin: -4px 0 14px;
  padding: 11px 14px;
  color: #4d4763;
  background: #fbf8ff;
  border: 1px solid #ded6ec;
  border-left: 4px solid #a692cf;
  border-radius: 6px;
}

.vpn-reading-hint strong,
.vpn-reading-hint p {
  display: block;
  margin: 0;
}

.vpn-reading-hint p {
  margin-top: 2px;
  color: #6d6681;
  font-size: 12px;
}

.vpn-cat-token {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #e8e1f2;
  border-radius: 50%;
  font-size: 18px;
}

.vpn-cat-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.45fr);
  align-items: stretch;
  margin-bottom: 16px;
  overflow: hidden;
  color: #40375f;
  background: #fff8ef;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(83, 63, 84, 0.1);
}

.vpn-cat-hero::before,
.vpn-cat-hero::after {
  position: absolute;
  z-index: 2;
  color: #d78da1;
  content: "✦";
  font-size: 18px;
}

.vpn-cat-hero::before {
  top: 20px;
  right: 22px;
}

.vpn-cat-hero::after {
  right: 48%;
  bottom: 16px;
  color: #aa97cf;
  content: "♡";
  font-size: 28px;
}

.vpn-cat-hero-copy {
  position: relative;
  z-index: 3;
  padding: 34px 14px 30px 34px;
}

.vpn-cat-hero-copy h2,
.vpn-standard-hero h2,
.vpn-doc-intro h2 {
  margin: 7px 0 10px;
  color: #44346f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.3vw, 50px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.vpn-cat-hero-copy > p:not(.vpn-cat-eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: #685f78;
  font-size: 14px;
}

.vpn-cat-hero picture {
  display: block;
  min-width: 0;
  height: 100%;
}

.vpn-cat-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: 68% center;
  mix-blend-mode: multiply;
}

.vpn-sticker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  color: #7a4f66;
  background: #ffe2e9;
  border: 1px dashed #e6a2b5;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.vpn-cat-eyebrow {
  margin: 15px 0 0;
  color: #8a74b2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vpn-cat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.vpn-cat-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  color: #5e5570;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(113, 91, 129, 0.16);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.vpn-cat-legend i,
.vpn-mascot-list i {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: #9b9698;
  border-radius: 50%;
}

.vpn-cat-legend i.is-lilac,
.vpn-mascot-list i.is-lilac {
  background: #b9a7dc;
}

.vpn-cat-legend i.is-sage,
.vpn-mascot-list i.is-sage {
  background: #a9c5a7;
}

.vpn-story {
  margin-bottom: 16px;
  padding: 20px;
  background: #fffdf9;
  border: 1px solid #ded6e8;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(69, 54, 90, 0.08);
}

.vpn-story-top,
.vpn-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 15px;
}

.vpn-story-top h2,
.vpn-section-heading h2 {
  margin: 3px 0 0;
  color: #443b63;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.vpn-story-top .vpn-cat-eyebrow,
.vpn-section-heading .vpn-cat-eyebrow {
  margin-top: 0;
}

.vpn-story-count {
  min-width: 62px;
  padding: 7px 9px;
  color: #8a74b2;
  background: #f1ebf8;
  border: 1px solid #d8cce8;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
}

.vpn-story-count b {
  font-size: 18px;
}

.vpn-story-viewport {
  min-height: 390px;
  overflow: hidden;
  background: #fff8f1;
  border: 1px solid #eee0d3;
  border-radius: 11px;
}

.vpn-slide {
  min-height: 390px;
  padding: 26px;
  animation: vpn-slide-in 180ms ease-out;
}

.vpn-slide:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(480px, 1.45fr);
  gap: 26px;
  align-items: center;
}

@keyframes vpn-slide-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vpn-slide {
    animation: none;
  }

  .vpn-duty-motion {
    display: none !important;
  }

  .vpn-duty-still {
    display: block !important;
  }
}

.vpn-slide-copy h3 {
  margin: 10px 0 9px;
  color: #40365e;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.vpn-slide-copy > p {
  margin: 0;
  color: #655d73;
  font-size: 14px;
}

.vpn-step-badge {
  display: inline-grid;
  min-width: 57px;
  min-height: 28px;
  place-items: center;
  color: #7d4f5e;
  background: #ffdfe6;
  border: 1px solid #efadbd;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 850;
}

.vpn-step-badge.is-lilac {
  color: #5c4a82;
  background: #e9e1f4;
  border-color: #c5b5df;
}

.vpn-step-badge.is-sage {
  color: #48644c;
  background: #e5f0e3;
  border-color: #bcd0ba;
}

.vpn-step-badge.is-pink {
  color: #824556;
  background: #ffe3e9;
  border-color: #f0a9b9;
}

.vpn-paw-list,
.vpn-check-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.vpn-paw-list li,
.vpn-check-list li {
  position: relative;
  padding-left: 22px;
  color: #5d5667;
  font-size: 12px;
}

.vpn-paw-list li::before {
  position: absolute;
  left: 1px;
  color: #c8869d;
  content: "•";
  font-size: 22px;
  line-height: 0.75;
}

.vpn-check-list li::before {
  position: absolute;
  left: 0;
  color: #6c9870;
  content: "✓";
  font-weight: 900;
}

.vpn-cat-play {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto auto minmax(160px, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 82px;
  margin-bottom: 12px;
  padding: 9px 12px;
  color: #5d4e73;
  background: #f5eef9;
  border: 1px dashed #cbb9dd;
  border-radius: 10px;
}

.vpn-cat-play.is-intercept {
  grid-template-columns: auto auto auto minmax(160px, 1fr);
}

.vpn-cat-play.is-home-save {
  background: #eef5ec;
  border-color: #afc7ad;
}

.vpn-cat-play.is-check {
  background: #fff4f6;
  border-color: #e1a9b8;
}

.vpn-cat-play.is-help {
  background: #fff8ed;
  border-color: #dfc188;
}

.vpn-cat-play p,
.vpn-cat-play strong,
.vpn-cat-play p span {
  display: block;
  margin: 0;
}

.vpn-cat-play strong {
  color: #4c3d69;
  font-size: 12px;
}

.vpn-cat-play p span {
  margin-top: 2px;
  color: #756a80;
  font-size: 10px;
}

.vpn-cat-avatar {
  display: block;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  background-color: #fffaf3;
  background-image: url("../img/vpn-guide/vpn-cat-mascots-2026-07-26.e30c7acda593.webp");
  background-repeat: no-repeat;
  background-size: 360% auto;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(75, 56, 84, 0.16);
}

.vpn-cat-avatar.is-grey {
  background-position: 31% 70%;
}

.vpn-cat-avatar.is-white {
  background-position: 53% 65%;
}

.vpn-cat-avatar.is-orange {
  background-position: 86% 69%;
}

.vpn-cat-avatar.is-missed {
  opacity: 0.58;
  filter: grayscale(0.45);
  transform: rotate(-7deg);
}

.vpn-cat-action {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  color: #9a79b6;
}

.vpn-cat-action span {
  font-size: 25px;
}

.vpn-cat-action i {
  color: #987faf;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}

.vpn-cat-team {
  display: flex;
  min-width: 118px;
}

.vpn-cat-team .vpn-cat-avatar {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
}

.vpn-cat-team .vpn-cat-avatar + .vpn-cat-avatar {
  margin-left: -20px;
}

.vpn-yarn-sort {
  display: flex;
  max-width: 74px;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.vpn-yarn-sort i {
  width: 18px;
  height: 18px;
  background: #b9a7dc;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(74, 58, 80, 0.14);
}

.vpn-yarn-sort i:nth-child(2) {
  background: #f29bad;
}

.vpn-yarn-sort i:nth-child(3) {
  background: #a9c5a7;
}

.vpn-yarn-sort i:nth-child(4) {
  background: #d2a454;
}

.vpn-yarn-sort i:nth-child(5) {
  background: #84b3af;
}

.vpn-route-canvas {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 78px minmax(130px, 1fr) 78px minmax(120px, 1fr);
  align-items: center;
  padding: 26px 12px;
}

.vpn-route-node {
  display: grid;
  min-height: 140px;
  place-content: center;
  padding: 15px;
  color: #4f4961;
  background: #fff;
  border: 2px solid #d7cfde;
  border-bottom-width: 5px;
  border-radius: 16px;
  box-shadow: 0 9px 20px rgba(75, 56, 77, 0.08);
  text-align: center;
}

.vpn-route-node > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto 11px;
  color: #fff;
  background: #a994c7;
  border-radius: 50%;
  font-weight: 850;
}

.vpn-route-node strong,
.vpn-route-node small {
  display: block;
}

.vpn-route-node strong {
  font-size: 14px;
}

.vpn-route-node small {
  margin-top: 4px;
  color: #7b7485;
  font-size: 10px;
}

.vpn-route-node.is-spb {
  border-color: #d7b470;
}

.vpn-route-node.is-spb > span {
  background: #d2a454;
}

.vpn-route-node.is-world {
  border-color: #a9c5a7;
}

.vpn-route-node.is-world > span {
  background: #7fa682;
}

.vpn-route-arrow {
  position: relative;
  height: 2px;
  background: #b9a7dc;
}

.vpn-route-arrow::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #b9a7dc;
}

.vpn-route-arrow span {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  color: #817495;
  font-size: 9px;
  text-align: center;
}

.vpn-failover-map {
  display: grid;
  max-width: 660px;
  gap: 20px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #ddd4e9;
  border-radius: 14px;
}

.vpn-failover-watch {
  display: flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  padding: 8px 11px;
  background: #f1ebf8;
  border: 1px solid #d5c8e6;
  border-radius: 6px;
}

.vpn-failover-watch strong,
.vpn-failover-watch small {
  display: block;
}

.vpn-failover-watch small {
  color: #756b84;
  font-size: 10px;
}

.vpn-pulse-dot {
  width: 10px;
  height: 10px;
  background: #8b73b0;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(139, 115, 176, 0.14);
}

.vpn-failover-path {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 10px;
  align-items: center;
}

.vpn-mini-node {
  display: grid;
  min-height: 128px;
  place-content: center;
  padding: 15px;
  background: #fff7f7;
  border: 2px solid #efb7bc;
  border-radius: 12px;
  text-align: center;
}

.vpn-mini-node b,
.vpn-mini-node span {
  display: block;
}

.vpn-mini-node b {
  color: #a84750;
  font-size: 27px;
}

.vpn-mini-node span {
  color: #88686b;
  font-size: 10px;
}

.vpn-mini-node.is-backup {
  background: #f5f0fb;
  border-color: #b9a7dc;
}

.vpn-mini-node.is-backup b {
  color: #66528c;
}

.vpn-mini-node.is-backup span {
  color: #75698b;
}

.vpn-switch-arrow {
  position: relative;
  height: 3px;
  background: #b9a7dc;
}

.vpn-switch-arrow::after {
  position: absolute;
  top: -5px;
  right: 0;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #b9a7dc;
}

.vpn-switch-arrow span {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  color: #6b5a88;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.vpn-failover-map > p {
  margin: 0;
  padding: 10px;
  color: #6c6178;
  background: #fff8ef;
  border-left: 3px solid #e4adba;
  font-size: 11px;
}

.vpn-split-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) 100px minmax(165px, 1.1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.vpn-split-start,
.vpn-split-result {
  display: grid;
  min-height: 110px;
  place-content: center;
  padding: 14px;
  background: #fff;
  border: 2px solid #c9b9df;
  border-radius: 13px;
  text-align: center;
}

.vpn-split-start {
  grid-row: 2 / 4;
}

.vpn-split-start span,
.vpn-split-result span,
.vpn-split-result small {
  display: block;
  color: #7a6f88;
  font-size: 10px;
}

.vpn-split-start b,
.vpn-split-result b {
  color: #4d406e;
  font-size: 15px;
}

.vpn-split-lines {
  grid-row: 2 / 4;
  width: 100%;
  height: 58%;
  border-top: 2px solid #b7a4d0;
  border-right: 2px solid #b7a4d0;
  border-bottom: 2px solid #b7a4d0;
}

.vpn-split-result.is-home {
  border-color: #9fbd9d;
}

.vpn-split-result.is-home b {
  color: #4e7351;
}

.vpn-split-result.is-work {
  border-color: #e1a4b5;
}

.vpn-split-result.is-work b {
  color: #8a4b5d;
}

.vpn-note {
  margin-top: 16px !important;
  padding: 9px 10px;
  color: #756783 !important;
  background: #f1ebf8;
  border-left: 3px solid #a994c7;
  font-size: 11px !important;
}

.vpn-exit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vpn-exit-grid > div:not(.vpn-cat-play) {
  display: grid;
  min-height: 120px;
  align-content: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #d9d0e2;
  border-top: 4px solid #b9a7dc;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(82, 64, 91, 0.06);
}

.vpn-exit-grid > div:nth-child(2) {
  border-top-color: #f29bad;
}

.vpn-exit-grid > div:nth-child(3) {
  border-top-color: #d2a454;
}

.vpn-exit-grid > div:nth-child(4) {
  border-top-color: #d98da4;
}

.vpn-exit-grid > div:nth-child(5) {
  border-top-color: #84b3af;
}

.vpn-exit-grid > div.is-default {
  border-top-color: #a9c5a7;
}

.vpn-exit-grid span {
  color: #8b76ae;
  font-size: 10px;
  font-weight: 900;
}

.vpn-exit-grid strong,
.vpn-exit-grid small {
  display: block;
}

.vpn-exit-grid strong {
  margin-top: 4px;
  color: #4b4261;
  font-size: 14px;
}

.vpn-exit-grid small {
  margin-top: 3px;
  color: #7c7485;
  font-size: 10px;
}

.vpn-safety-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.vpn-safety-track > div:not(.vpn-cat-play) {
  position: relative;
  min-height: 110px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d8d0df;
  border-left: 4px solid #a994c7;
  border-radius: 7px;
}

.vpn-safety-track > div:not(.vpn-cat-play):nth-child(3n + 2) {
  border-left-color: #d998aa;
}

.vpn-safety-track > div:not(.vpn-cat-play):nth-child(3n) {
  border-left-color: #91b48f;
}

.vpn-safety-track span {
  color: #9b86bb;
  font-size: 9px;
  font-weight: 900;
}

.vpn-safety-track b,
.vpn-safety-track small {
  display: block;
}

.vpn-safety-track b {
  margin-top: 8px;
  color: #493e63;
  font-size: 16px;
}

.vpn-safety-track small {
  margin-top: 3px;
  color: #786f81;
  font-size: 10px;
}

.vpn-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.vpn-help-grid > div:not(.vpn-cat-play) {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 5px 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid #dcd4e4;
  border-radius: 8px;
}

.vpn-help-grid > div:not(.vpn-cat-play) > span {
  display: grid;
  width: 30px;
  height: 30px;
  grid-row: 1 / 3;
  place-items: center;
  color: #fff;
  background: #aa95c7;
  border-radius: 50%;
  font-weight: 850;
}

.vpn-help-grid strong {
  color: #4c4264;
  font-size: 13px;
}

.vpn-help-grid p {
  margin: 0;
  color: #776f80;
  font-size: 10px;
}

.vpn-break-glass {
  grid-column: 2;
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 11px 13px;
  color: #75501b;
  background: #fff5e3;
  border: 1px solid #e8c886;
  border-left: 4px solid #d2a454;
  border-radius: 6px;
}

.vpn-break-glass span {
  font-size: 10px;
}

.vpn-story-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 15px;
}

.vpn-story-arrow {
  min-height: 38px;
  padding: 7px 12px;
  color: #574976;
  background: #f4eef9;
  border: 1px solid #cfc1e1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.vpn-story-arrow:hover,
.vpn-story-arrow:focus-visible {
  color: #fff;
  background: #725a98;
  border-color: #725a98;
}

.vpn-story-arrow:focus-visible,
.vpn-story-dots button:focus-visible {
  outline: 3px solid rgba(114, 90, 152, 0.2);
  outline-offset: 2px;
}

.vpn-story-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.vpn-story-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #d8cee4;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.vpn-story-dots button.is-active {
  width: 24px;
  background: #8d76ae;
  border-radius: 5px;
}

.vpn-keyboard-hint {
  margin: 8px 0 0;
  color: #8d8494;
  font-size: 9px;
  text-align: center;
}

.vpn-exact-map {
  margin-bottom: 16px;
  padding: 18px;
  background: #202831;
  border: 1px solid #303b46;
  border-radius: 10px;
}

.vpn-exact-map .vpn-cat-eyebrow {
  color: #d1aa69;
}

.vpn-exact-map .vpn-section-heading h2 {
  color: #fff;
}

.vpn-section-heading > span {
  color: #aeb8c1;
  font-size: 10px;
}

.vpn-exact-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.vpn-exact-lanes article {
  min-width: 0;
  padding: 14px;
  background: #151b22;
  border: 1px solid #3a4550;
  border-radius: 7px;
}

.vpn-exact-lanes h3 {
  margin: 10px 0 5px;
  color: #fff;
  font-size: 13px;
}

.vpn-exact-lanes p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #aeb9c2;
  font-size: 10px;
}

.vpn-exact-lanes code {
  color: #e8c98f;
}

.vpn-lane-label {
  color: #88d3af;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.vpn-lane-label.is-backup {
  color: #c3abeb;
}

.vpn-lane-label.is-home {
  color: #e6be79;
}

.vpn-doc-intro,
.vpn-standard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 14px;
  padding: 28px;
  color: #4e4263;
  background: #fff8ef;
  border: 1px solid #e9ddd0;
  border-radius: 14px;
}

.vpn-doc-intro > span {
  grid-column: 1 / -1;
}

.vpn-doc-intro .vpn-cat-eyebrow,
.vpn-standard-hero .vpn-cat-eyebrow {
  margin-top: 0;
}

.vpn-doc-intro h2,
.vpn-standard-hero h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.vpn-doc-intro div > p:last-child,
.vpn-standard-hero > div > p:last-child {
  margin: 0;
  color: #6f657a;
  font-size: 13px;
}

.vpn-doc-intro aside {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #f1eaf8;
  border: 1px dashed #c7b8dd;
  border-radius: 11px;
}

.vpn-doc-intro aside > span {
  font-size: 34px;
}

.vpn-doc-intro aside p {
  margin: 0;
  color: #615473;
  font-size: 12px;
}

.vpn-doc-grid,
.vpn-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vpn-doc-card,
.vpn-standard-card {
  min-width: 0;
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #ddd5e3;
  border-top: 4px solid #b9a7dc;
  border-radius: 9px;
}

.vpn-doc-card:nth-child(3n),
.vpn-standard-card:nth-child(3n) {
  border-top-color: #f0a5b6;
}

.vpn-doc-card:nth-child(3n + 1),
.vpn-standard-card:nth-child(3n + 1) {
  border-top-color: #a9c5a7;
}

.vpn-doc-card.is-wide,
.vpn-standard-card.is-wide {
  grid-column: 1 / -1;
}

.vpn-doc-card.is-wide {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
}

.vpn-doc-card h3,
.vpn-standard-card h3 {
  margin: 7px 0 9px;
  color: #4b3e6d;
  font-size: 18px;
}

.vpn-doc-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #a58fc5;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

details.vpn-doc-card {
  padding: 0;
}

details.vpn-doc-card summary {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 16px 18px;
  color: #4e4268;
  cursor: pointer;
  list-style: none;
}

details.vpn-doc-card summary::-webkit-details-marker {
  display: none;
}

details.vpn-doc-card summary::after {
  margin-left: auto;
  color: #8873a8;
  content: "+";
  font-size: 20px;
  font-weight: 500;
}

details.vpn-doc-card[open] summary::after {
  content: "–";
}

details.vpn-doc-card[open] summary {
  border-bottom: 1px solid #e5dfea;
}

details.vpn-doc-card > :not(summary) {
  margin-right: 18px;
  margin-left: 18px;
}

details.vpn-doc-card > :last-child {
  margin-bottom: 18px;
}

.vpn-glossary {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.vpn-glossary > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eee9f1;
}

.vpn-glossary > div:last-child {
  border-bottom: 0;
}

.vpn-glossary dt {
  color: #5e4c82;
  font-size: 11px;
  font-weight: 850;
}

.vpn-glossary dd {
  margin: 0;
  color: #696171;
  font-size: 11px;
}

.vpn-doc-table-wrap {
  margin-top: 0;
  overflow-x: auto;
}

.vpn-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.vpn-doc-table th,
.vpn-doc-table td {
  padding: 8px;
  border-bottom: 1px solid #e8e2ec;
  text-align: left;
  vertical-align: top;
}

.vpn-doc-table th {
  color: #6f5b8f;
  background: #f5f0f9;
  font-weight: 850;
}

.vpn-doc-steps,
.vpn-gate-list {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding: 0;
  list-style: none;
}

.vpn-doc-steps li,
.vpn-gate-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
}

.vpn-doc-steps li > span,
.vpn-gate-list li > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: #ad98c8;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 850;
}

.vpn-doc-steps p,
.vpn-gate-list p {
  margin: 3px 0 0;
  color: #665e6f;
  font-size: 11px;
}

.vpn-doc-callout {
  padding: 10px;
  color: #6c587a;
  background: #f3edf9;
  border-left: 3px solid #aa95c8;
  font-size: 11px;
}

.vpn-standard-rule {
  padding: 18px;
  color: #574675;
  background: #f1eaf8;
  border: 1px dashed #b9a7d0;
  border-radius: 10px;
}

.vpn-standard-rule span,
.vpn-standard-rule strong {
  display: block;
}

.vpn-standard-rule span {
  margin-bottom: 8px;
  color: #8d74af;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.vpn-standard-rule strong {
  font-size: 14px;
}

.vpn-standard-card.is-mandatory {
  background: #fffcf8;
  border-color: #c6b7d9;
}

.vpn-mascot-list {
  display: grid;
  gap: 10px;
}

.vpn-mascot-list > div {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid #ede7f0;
}

.vpn-mascot-list > div:last-child {
  border-bottom: 0;
}

.vpn-mascot-list i {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.vpn-mascot-list p,
.vpn-mascot-list strong,
.vpn-mascot-list span {
  display: block;
  margin: 0;
}

.vpn-mascot-list strong {
  color: #4f426d;
  font-size: 12px;
}

.vpn-mascot-list span {
  margin-top: 2px;
  color: #766e7d;
  font-size: 10px;
}

.vpn-card-footnote {
  margin: 13px 0 0;
  padding-top: 10px;
  color: #7b7281;
  border-top: 1px dashed #ddd5e2;
  font-size: 10px;
}

.vpn-swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vpn-swatch-grid > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e2dce6;
  border-radius: 6px;
}

.vpn-swatch-grid span {
  width: 32px;
  height: 32px;
  grid-row: 1 / 3;
  background: var(--swatch);
  border: 1px solid rgba(62, 49, 68, 0.14);
  border-radius: 5px;
}

.vpn-swatch-grid b {
  color: #554968;
  font-size: 10px;
}

.vpn-swatch-grid code {
  color: #857b8a;
  font-size: 9px;
}

.vpn-tone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vpn-tone-grid > div {
  padding: 14px;
  border: 1px solid #d5e3d4;
  border-left: 4px solid #8faf8d;
  border-radius: 7px;
}

.vpn-tone-grid > div.is-dont {
  border-color: #ecd4d9;
  border-left-color: #d78fa1;
}

.vpn-tone-grid > div > span {
  color: #648066;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vpn-tone-grid .is-dont > span {
  color: #a45c6d;
}

.vpn-tone-grid blockquote {
  margin: 10px 0;
  padding: 10px;
  color: #5e5668;
  background: #f8f6fa;
  border: 0;
  font-size: 11px;
}

.vpn-tone-grid ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: #6c6572;
  font-size: 10px;
}

/* Backup Center is deliberately read-only: the visual hierarchy surfaces
   evidence and next actions without rendering production mutation controls. */
.vpn-backup-center {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.vpn-backup-section,
.vpn-backup-details,
.vpn-backup-two-column,
.vpn-backup-two-column > * {
  min-width: 0;
}

.vpn-backup-hero {
  display: flex;
  min-height: 178px;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(226, 181, 101, 0.22), transparent 30%),
    linear-gradient(132deg, #1d2d3d 0%, #33475d 60%, #526073 100%);
  border: 1px solid #26394d;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(27, 43, 58, 0.16);
}

.vpn-backup-hero .vpn-cat-eyebrow {
  color: #e5bd74;
}

.vpn-backup-hero h2 {
  margin: 5px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vpn-backup-hero p {
  max-width: 650px;
  margin: 0;
  color: #d8e0e7;
  font-size: 13px;
  line-height: 1.55;
}

.vpn-backup-hero-state {
  display: grid;
  min-width: 220px;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.vpn-backup-hero-state small {
  max-width: 270px;
  color: #becbd5;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.vpn-backup-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vpn-backup-metrics article {
  display: grid;
  min-height: 116px;
  align-content: space-between;
  gap: 7px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-top: 3px solid #8b79a0;
  border-radius: 8px;
}

.vpn-backup-metrics span,
.vpn-backup-metrics small {
  color: #6d7883;
  font-size: 9px;
}

.vpn-backup-metrics span {
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vpn-backup-metrics strong {
  color: #26313b;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.vpn-backup-empty {
  padding: 16px 18px;
  color: #6d5422;
  background: #fff8e7;
  border: 1px solid #ecd9aa;
  border-left: 4px solid #d2a454;
  border-radius: 8px;
}

.vpn-backup-empty p,
.vpn-backup-safety-note p {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.55;
}

.vpn-backup-section,
.vpn-backup-details,
.vpn-backup-safety-note {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 9px;
}

.vpn-backup-section h3 {
  margin: 4px 0 0;
  color: #29313a;
  font-size: 18px;
}

.vpn-backup-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.vpn-backup-table {
  min-width: 1050px;
}

.vpn-backup-table td {
  vertical-align: top;
}

.vpn-backup-table td:first-child strong,
.vpn-backup-table td:first-child small,
.vpn-backup-table td:nth-child(5) b,
.vpn-backup-table td:nth-child(5) small {
  display: block;
}

.vpn-backup-table td small {
  margin-top: 4px;
  color: #7e8892;
  font-size: 9px;
}

.vpn-backup-table .is-positive {
  color: #32714a;
}

.vpn-backup-table .is-negative {
  color: #a14444;
}

.vpn-backup-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.vpn-backup-card-list {
  display: grid;
  gap: 8px;
}

.vpn-backup-card-list > article {
  padding: 13px;
  background: #f8fafb;
  border: 1px solid #e1e5e8;
  border-radius: 7px;
}

.vpn-backup-card-list > article > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.vpn-backup-card-list dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 0;
}

.vpn-backup-card-list dl div {
  min-width: 0;
}

.vpn-backup-card-list dt {
  color: #7c8791;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vpn-backup-card-list dd {
  margin: 3px 0 0;
  color: #36414b;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.vpn-backup-release-proof {
  display: grid;
  gap: 10px;
}

.vpn-backup-release-proof > div {
  display: grid;
  gap: 5px;
}

.vpn-backup-release-proof span {
  color: #7c8791;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.vpn-backup-release-proof code {
  padding: 8px;
  overflow: hidden;
  color: #4d5965;
  background: #f4f6f7;
  border: 1px solid #e0e5e8;
  border-radius: 5px;
  font-size: 9px;
  text-overflow: ellipsis;
}

.vpn-backup-release-proof p {
  margin: 3px 0 0;
  color: #707b85;
  font-size: 10px;
  line-height: 1.5;
}

.vpn-backup-timeline {
  display: grid;
  gap: 2px;
}

.vpn-backup-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 9px 0;
}

.vpn-backup-timeline article:not(:last-child)::after {
  position: absolute;
  top: 25px;
  bottom: -8px;
  left: 7px;
  width: 1px;
  background: #d9e0e5;
  content: "";
}

.vpn-backup-timeline-dot {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  background: #d0a24e;
  border: 4px solid #fff4d8;
  border-radius: 50%;
}

.vpn-backup-timeline-dot.is-ok {
  background: #4f9b65;
  border-color: #e1f0e5;
}

.vpn-backup-timeline-dot.is-danger {
  background: #c94c4c;
  border-color: #f7dfdf;
}

.vpn-backup-timeline strong,
.vpn-backup-timeline p,
.vpn-backup-timeline small {
  display: block;
}

.vpn-backup-timeline p {
  margin: 3px 0;
  color: #65717c;
  font-size: 10px;
}

.vpn-backup-timeline small {
  color: #84909a;
  font-size: 9px;
}

.vpn-backup-details > summary {
  color: #46515c;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.vpn-backup-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  margin-top: 16px;
}

.vpn-backup-details h3 {
  margin: 0 0 9px;
  font-size: 13px;
}

.vpn-backup-incident-list {
  display: grid;
  gap: 7px;
}

.vpn-backup-incident-list article {
  padding: 11px;
  background: #fff7f5;
  border: 1px solid #edd6d1;
  border-radius: 6px;
}

.vpn-backup-incident-list p,
.vpn-backup-incident-list small {
  display: block;
  margin: 4px 0 0;
  color: #7b6663;
  font-size: 9px;
}

.vpn-backup-safety-note {
  color: #425b4b;
  background: #f1f7f2;
  border-color: #cfe0d2;
  border-left: 4px solid #5b8d68;
}

@media (max-width: 1180px) {
  .vpn-duty-hero {
    grid-template-columns: minmax(340px, 0.9fr) minmax(460px, 1.1fr);
  }

  .vpn-route-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-cat-hero {
    grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.25fr);
  }

  .vpn-slide:not([hidden]) {
    grid-template-columns: minmax(240px, 0.75fr) minmax(400px, 1.25fr);
  }

  .vpn-route-canvas {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .vpn-route-node {
    min-height: 90px;
  }

  .vpn-route-node > span {
    margin-bottom: 4px;
  }

  .vpn-route-arrow {
    width: 2px;
    height: 32px;
    margin: 0 auto;
  }

  .vpn-route-arrow::after {
    top: auto;
    right: -4px;
    bottom: -1px;
    border-top: 8px solid #b9a7dc;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }

  .vpn-route-arrow span {
    right: auto;
    bottom: 8px;
    left: 10px;
    width: 100px;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .vpn-backup-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .vpn-backup-hero-state {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

  .vpn-backup-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-backup-two-column,
  .vpn-backup-details-grid {
    grid-template-columns: 1fr;
  }

  .vpn-duty-hero {
    grid-template-columns: 1fr;
  }

  .vpn-duty-copy {
    padding: 26px;
  }

  .vpn-duty-visual {
    min-height: 320px;
    border-top: 1px solid #eadfd5;
    border-left: 0;
  }

  .vpn-duty-visual img {
    min-height: 0;
  }

  .vpn-telemetry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-runtime-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpn-cat-hero {
    grid-template-columns: 1fr;
  }

  .vpn-cat-hero-copy {
    padding: 26px;
  }

  .vpn-cat-hero img {
    max-height: 340px;
    object-position: center;
  }

  .vpn-slide:not([hidden]) {
    grid-template-columns: 1fr;
  }

  .vpn-story-viewport,
  .vpn-slide {
    min-height: 0;
  }

  .vpn-exact-lanes,
  .vpn-safety-track {
    grid-template-columns: 1fr;
  }

  .vpn-doc-intro,
  .vpn-standard-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .vpn-backup-hero {
    min-height: 0;
    padding: 22px 18px;
  }

  .vpn-backup-metrics {
    grid-template-columns: 1fr;
  }

  .vpn-backup-section,
  .vpn-backup-details,
  .vpn-backup-safety-note {
    padding: 14px;
  }

  .vpn-backup-card-list dl {
    grid-template-columns: 1fr;
  }

  .vpn-duty-copy {
    padding: 22px 18px;
  }

  .vpn-duty-copy h2 {
    font-size: 34px;
  }

  .vpn-duty-actions,
  .vpn-duty-action {
    width: 100%;
  }

  .vpn-duty-visual,
  .vpn-duty-visual {
    min-height: 230px;
  }

  .vpn-duty-visual figcaption {
    position: static;
    border: 0;
    border-top: 1px solid #eadfd5;
    border-radius: 0;
    backdrop-filter: none;
  }

  .vpn-status-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .vpn-status-section-head > p {
    max-width: none;
    text-align: left;
  }

  .vpn-route-summary-grid,
  .vpn-telemetry-grid,
  .vpn-runtime-summary {
    grid-template-columns: 1fr;
  }

  .vpn-route-summary,
  .vpn-telemetry,
  .vpn-runtime-health,
  .vpn-backup-brief {
    padding: 14px;
  }

  .vpn-tech-details > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .vpn-section-tabs {
    margin-right: -2px;
    margin-left: -2px;
  }

  .vpn-section-tabs button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
  }

  /* The generic mobile registry layout exposes table overflow so rows can
     become cards. VPN status tables remain real wide tables; contain their
     scroll locally instead of widening the complete page. */
  #vpn-panel-status .ops-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .vpn-cat-hero {
    border-radius: 11px;
  }

  .vpn-cat-hero-copy {
    padding: 22px 18px 18px;
  }

  .vpn-cat-hero-copy h2 {
    font-size: 34px;
  }

  .vpn-cat-hero img {
    min-height: 230px;
  }

  .vpn-story {
    padding: 12px;
    border-radius: 9px;
  }

  .vpn-story-top,
  .vpn-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .vpn-slide {
    padding: 18px 14px;
  }

  .vpn-cat-play,
  .vpn-cat-play.is-intercept {
    grid-template-columns: auto auto 1fr;
  }

  .vpn-cat-play.is-intercept p {
    grid-column: 1 / -1;
  }

  .vpn-cat-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .vpn-failover-path {
    grid-template-columns: 1fr;
  }

  .vpn-switch-arrow {
    width: 3px;
    height: 34px;
    margin: 0 auto;
  }

  .vpn-switch-arrow::after {
    top: auto;
    right: -4px;
    bottom: 0;
    border-top: 9px solid #b9a7dc;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }

  .vpn-switch-arrow span {
    right: auto;
    bottom: 7px;
    left: 10px;
  }

  .vpn-split-map {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .vpn-split-start,
  .vpn-split-lines {
    grid-row: auto;
  }

  .vpn-split-lines {
    width: 50%;
    height: 34px;
    margin: 0 auto;
    border-top: 0;
    border-right: 2px solid #b7a4d0;
    border-bottom: 0;
  }

  .vpn-exit-grid,
  .vpn-help-grid,
  .vpn-doc-grid,
  .vpn-standard-grid,
  .vpn-tone-grid {
    grid-template-columns: 1fr;
  }

  .vpn-doc-card.is-wide,
  .vpn-standard-card.is-wide {
    grid-column: auto;
  }

  .vpn-break-glass {
    grid-column: auto;
  }

  .vpn-story-controls {
    grid-template-columns: 1fr 1fr;
  }

  .vpn-story-dots {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .vpn-story-arrow {
    width: 100%;
  }

  .vpn-doc-intro,
  .vpn-standard-hero {
    padding: 20px 17px;
  }

  .vpn-doc-intro h2,
  .vpn-standard-hero h2 {
    font-size: 32px;
  }

  .vpn-swatch-grid {
    grid-template-columns: 1fr;
  }

  .vpn-glossary > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* VPN canonical long-read */
.vpn-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 12px;
  padding: 30px;
  color: #4e4263;
  background: #fff8ef;
  border: 1px solid #e9ddd0;
  border-radius: 14px;
}

.vpn-guide-intro h2 {
  max-width: 720px;
  margin: 4px 0 10px;
  color: #4b3e6d;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.vpn-guide-intro > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #6f657a;
  font-size: 14px;
  line-height: 1.6;
}

.vpn-guide-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  background: #ddd0e8;
  border: 1px solid #ddd0e8;
  border-radius: 10px;
}

.vpn-guide-meta div {
  min-width: 0;
  padding: 12px;
  background: #f6f0f9;
}

.vpn-guide-meta dt {
  margin-bottom: 4px;
  color: #89779d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vpn-guide-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #55456c;
  font-size: 12px;
  font-weight: 750;
}

.vpn-reading-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.vpn-reading-routes a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  color: #55456c;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd5e3;
  border-top: 3px solid #b9a7dc;
  border-radius: 9px;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.vpn-reading-routes a:nth-child(2) {
  border-top-color: #e6b5c2;
}

.vpn-reading-routes a:nth-child(3) {
  border-top-color: #a9c5a7;
}

.vpn-reading-routes a:hover,
.vpn-reading-routes a:focus-visible {
  border-color: #a58fc5;
  box-shadow: 0 8px 22px rgba(70, 54, 88, 0.08);
  transform: translateY(-1px);
}

.vpn-reading-routes span {
  color: #8f79a9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vpn-reading-routes strong {
  font-size: 14px;
}

.vpn-reading-routes small {
  color: #797080;
  font-size: 11px;
  line-height: 1.45;
}

.vpn-longread-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.29fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.vpn-longread-toc {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  scrollbar-width: thin;
  background: #fff;
  border: 1px solid #ddd5e3;
  border-radius: 10px;
}

.vpn-longread-toc > div {
  padding: 18px;
}

.vpn-longread-toc h2 {
  margin: 3px 0 14px;
  color: #4e4263;
  font-size: 17px;
}

.vpn-longread-toc .toc > ul {
  margin: 0;
  padding: 0;
}

.vpn-longread-toc ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding-left: 14px;
  list-style: none;
}

.vpn-longread-toc li {
  border-top: 1px solid #eee9f1;
}

.vpn-longread-toc li:first-child {
  border-top: 0;
}

.vpn-longread-toc li li {
  border-top: 0;
}

.vpn-longread-toc a {
  display: block;
  padding: 7px 2px;
  color: #6e6377;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
}

.vpn-longread-toc li li a {
  padding-top: 4px;
  padding-bottom: 4px;
  color: #887d90;
  font-size: 9px;
}

.vpn-longread-toc a:hover,
.vpn-longread-toc a:focus-visible {
  color: #5b447c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vpn-longread {
  min-width: 0;
  padding: clamp(24px, 4vw, 54px);
  color: #3f3946;
  background: #fff;
  border: 1px solid #ddd5e3;
  border-radius: 10px;
}

.vpn-longread > :first-child {
  margin-top: 0;
}

.vpn-longread h1,
.vpn-longread h2,
.vpn-longread h3,
.vpn-longread h4,
.vpn-longread h5,
.vpn-longread h6 {
  max-width: 860px;
  color: #493d5d;
  line-height: 1.16;
  scroll-margin-top: 20px;
  text-wrap: balance;
}

.vpn-longread h1 {
  margin: 0 0 26px;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.04em;
}

.vpn-longread h2 {
  margin: 56px 0 18px;
  padding-top: 10px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.025em;
  border-top: 1px solid #e7e0eb;
}

.vpn-longread h1 + h2,
.vpn-longread hr + h2 {
  border-top: 0;
}

.vpn-longread h3 {
  margin: 34px 0 12px;
  color: #65527f;
  font-size: 21px;
}

.vpn-longread h4 {
  margin: 26px 0 9px;
  font-size: 17px;
}

.vpn-longread p,
.vpn-longread ul,
.vpn-longread ol,
.vpn-longread dl {
  max-width: 820px;
  font-size: 14px;
  line-height: 1.75;
}

.vpn-longread p {
  margin: 0 0 16px;
}

.vpn-longread ul,
.vpn-longread ol {
  margin-top: 0;
  margin-bottom: 19px;
  padding-left: 24px;
}

.vpn-longread li {
  margin: 6px 0;
  padding-left: 3px;
}

.vpn-longread li::marker {
  color: #9a7fba;
  font-weight: 800;
}

.vpn-longread a {
  color: #68488c;
  text-decoration-color: #c2afd5;
  text-underline-offset: 3px;
}

.vpn-longread a:hover,
.vpn-longread a:focus-visible {
  color: #4b2f6c;
  text-decoration-color: currentColor;
}

.vpn-longread code {
  padding: 0.12em 0.34em;
  color: #5b4474;
  overflow-wrap: anywhere;
  background: #f3eef7;
  border: 1px solid #e7ddec;
  border-radius: 4px;
  font-size: 0.9em;
}

.vpn-longread pre {
  max-width: 100%;
  padding: 16px;
  overflow: auto;
  background: #222631;
  border-radius: 8px;
}

.vpn-longread pre code {
  padding: 0;
  color: #f5f1f8;
  background: transparent;
  border: 0;
}

.vpn-longread blockquote {
  max-width: 820px;
  margin: 22px 0;
  padding: 16px 18px;
  color: #5d5169;
  background: #f6f0f9;
  border: 1px solid #e2d6ea;
  border-left: 4px solid #a58fc5;
  border-radius: 7px;
}

.vpn-longread blockquote p {
  margin-bottom: 8px;
}

.vpn-longread blockquote p:last-child {
  margin-bottom: 0;
}

.vpn-longread p:has(> img:only-child) {
  max-width: none;
  margin: 34px 0 10px;
}

.vpn-longread p > img:only-child {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1d7e7;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(70, 54, 88, 0.08);
}

.vpn-longread p:has(> img:only-child) + p {
  max-width: none;
  margin: 0 8px 34px;
  color: #7d7284;
  font-size: 11px;
  line-height: 1.55;
}

.vpn-longread table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 22px 0 30px;
  overflow-x: auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.45;
  scrollbar-width: thin;
}

.vpn-longread th,
.vpn-longread td {
  min-width: 120px;
  padding: 10px 11px;
  border: 1px solid #e4dde8;
  text-align: left;
  vertical-align: top;
}

.vpn-longread th {
  color: #5d4d73;
  background: #f3eef7;
  font-weight: 850;
}

.vpn-longread tbody tr:nth-child(even) td {
  background: #fcfafc;
}

.vpn-longread hr {
  max-width: 820px;
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #e6dfea;
}

.vpn-guide-unavailable {
  padding: 28px;
  color: #5d5169;
  background: #fff8ef;
  border: 1px solid #e9ddd0;
  border-radius: 10px;
}

.vpn-guide-unavailable h2 {
  margin: 3px 0 10px;
  color: #4b3e6d;
}

.vpn-guide-unavailable code {
  display: block;
  margin-top: 14px;
  padding: 12px;
  overflow-wrap: anywhere;
  background: #f5edf8;
  border-radius: 6px;
  font-size: 10px;
}

@media (max-width: 1050px) {
  .vpn-guide-intro {
    grid-template-columns: 1fr;
  }

  .vpn-longread-layout {
    grid-template-columns: 1fr;
  }

  .vpn-longread-toc {
    position: static;
    max-height: 390px;
  }
}

@media (max-width: 700px) {
  .vpn-guide-intro {
    gap: 20px;
    padding: 22px 18px;
  }

  .vpn-guide-intro h2 {
    font-size: 36px;
  }

  .vpn-guide-meta,
  .vpn-reading-routes {
    grid-template-columns: 1fr;
  }

  .vpn-longread {
    padding: 24px 17px;
  }

  .vpn-longread h1 {
    font-size: 36px;
  }

  .vpn-longread h2 {
    margin-top: 42px;
    font-size: 27px;
  }

  .vpn-longread h3 {
    font-size: 20px;
  }

  .vpn-longread p,
  .vpn-longread ul,
  .vpn-longread ol,
  .vpn-longread dl {
    font-size: 13px;
    line-height: 1.72;
  }
}

@media print {
  .ops-sidebar,
  .ops-topbar,
  .vpn-page-head,
  .vpn-section-tabs,
  .vpn-reading-routes,
  .vpn-longread-toc,
  #vpn-panel-status,
  #vpn-panel-architecture,
  #vpn-panel-standard {
    display: none !important;
  }

  #vpn-panel-documentation[hidden] {
    display: block !important;
  }

  .ops-layout,
  .ops-main,
  .ops-content,
  .vpn-longread-layout {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vpn-guide-intro,
  .vpn-longread {
    padding: 0;
    color: #111;
    background: #fff;
    border: 0;
    box-shadow: none;
  }

  .vpn-guide-meta {
    border-color: #aaa;
  }

  .vpn-longread h1,
  .vpn-longread h2,
  .vpn-longread h3 {
    color: #111;
    break-after: avoid-page;
  }

  .vpn-longread table,
  .vpn-longread blockquote {
    break-inside: avoid-page;
  }

  .vpn-longread a {
    color: #111;
    text-decoration: none;
  }
}

.ops-sidebar-nav .ops-nav-group-row > a {
  display: block;
  grid-template-columns: none;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ops-sidebar-nav .ops-nav-group-row > a:hover,
.ops-sidebar-nav .ops-nav-group-row > a.is-active {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 820px) {
  .ops-mobile-menu {
    z-index: 50;
  }

  .ops-mobile-menu nav {
    position: fixed;
    z-index: 50;
    inset: 58px 0 0 auto;
    display: grid;
    width: min(88vw, 360px);
    align-content: start;
    overflow-y: auto;
    padding: 10px;
    background: var(--ops-sidebar);
    border: 0;
    border-left: 1px solid #394551;
    border-radius: 0;
    box-shadow: -18px 0 42px rgba(0, 0, 0, 0.3);
  }

  .ops-mobile-menu nav .ops-mobile-nav-main {
    display: grid;
    grid-template-columns: 30px 1fr;
    font-weight: 750;
  }

  .ops-mobile-menu nav .ops-mobile-nav-main span {
    color: #82909d;
    font-size: 11px;
  }

  .ops-mobile-menu nav .ops-mobile-nav-child {
    padding-left: 48px;
    font-size: 12px;
  }

  .ops-mobile-menu nav a.is-active {
    color: #fff;
    background: var(--ops-sidebar-soft);
  }

  .ops-kanban {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .ops-main.is-kanban {
    width: min(100% - 24px, 1480px);
  }

  .ops-kanban-scroll {
    overflow: visible;
  }

  .ops-v2-kanban-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-kanban-mobile-nav {
    display: block;
    margin-bottom: 12px;
  }

  .ops-kanban-column.is-mobile-hidden {
    display: none;
  }

  .ops-kanban-column {
    min-height: 0;
  }

  .ops-kanban-scroll-tools {
    display: none;
  }

  .ops-version-pointer-grid,
  .ops-prompt-grid {
    grid-template-columns: 1fr;
  }
}
.ops-hub-test-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--ops-warning) 55%, transparent);
  border-radius: var(--ops-radius-lg);
  background: color-mix(in srgb, var(--ops-warning) 10%, var(--ops-surface));
}
.ops-hub-test-banner span { flex: 1; color: var(--ops-muted); }
.ops-cjm-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ops-cjm-flow li { position: relative; display: flex; gap: 10px; min-height: 108px; padding: 14px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius-lg); background: var(--ops-surface); }
.ops-cjm-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 42%; z-index: 2; color: var(--ops-muted); }
.ops-cjm-flow li > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--ops-bg); font-weight: 800; }
.ops-cjm-flow li small { display: block; margin-top: 7px; color: var(--ops-muted); }
.ops-cjm-flow .is-passed { border-color: var(--ops-success); background: color-mix(in srgb, var(--ops-success) 10%, var(--ops-surface)); }
.ops-cjm-flow .is-failed { border-color: var(--ops-danger); background: color-mix(in srgb, var(--ops-danger) 10%, var(--ops-surface)); }
.ops-cjm-flow .is-blocked { border-color: var(--ops-warning); background: color-mix(in srgb, var(--ops-warning) 10%, var(--ops-surface)); }
.ops-hub-sha { font-family: var(--ops-mono); }
.ops-hub-finding + .ops-hub-finding { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ops-border); }

/* Collection dataset registry and configurable passport (page 6). */
.ops-collection-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 24px; color: var(--ops-soft); font-size: 12px; }
.ops-collection-breadcrumbs a { color: var(--ops-muted); text-decoration: none; }
.ops-collection-breadcrumbs a:hover { color: var(--ops-accent); }
.ops-collection-head { margin-bottom: 16px; }
.ops-collection-head h1 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.035em; }
.ops-collection-head .ops-kicker { margin-bottom: 9px; letter-spacing: .08em; }
.ops-collection-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-collection-summary article { display: grid; justify-items: center; gap: 5px; padding: 20px 14px; text-align: center; }
.ops-collection-summary article + article { border-left: 1px solid var(--ops-border); }
.ops-collection-summary strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.ops-collection-summary span { display: inline-flex; align-items: center; gap: 7px; color: var(--ops-muted); font-size: 12px; }
.ops-collection-summary i,
.ops-collection-age i { width: 7px; height: 7px; border-radius: 50%; background: var(--ops-soft); }
.ops-collection-summary i.is-success,
.ops-collection-age i.is-success { background: #22a867; }
.ops-collection-summary i.is-warning,
.ops-collection-age i.is-warning { background: #f0a020; }
.ops-collection-summary i.is-danger,
.ops-collection-age i.is-danger { background: #d83f4f; }
.ops-collection-register { overflow: hidden; margin-bottom: 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-collection-filters { display: grid; grid-template-columns: repeat(3, minmax(150px, .8fr)) minmax(260px, 1.6fr) auto; gap: 14px; align-items: end; padding: 16px; border-bottom: 1px solid var(--ops-border); }
.ops-collection-filters label { display: grid; gap: 5px; color: var(--ops-muted); font-size: 11px; }
.ops-collection-filters input,
.ops-collection-filters select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--ops-border); border-radius: 5px; background: #fff; color: var(--ops-text); }
.ops-collection-table-wrap { overflow-x: auto; }
.ops-collection-table { width: 100%; min-width: 1220px; border-collapse: collapse; font-size: 11px; }
.ops-collection-table th { padding: 10px 12px; color: var(--ops-muted); font-weight: 650; text-align: left; white-space: nowrap; }
.ops-collection-table td { padding: 14px 12px; border-top: 1px solid var(--ops-border); vertical-align: top; }
.ops-collection-table td:first-child { min-width: 210px; }
.ops-collection-table strong,
.ops-collection-table small { display: block; }
.ops-collection-table small { margin-top: 4px; color: var(--ops-soft); }
.ops-collection-table code { color: #42556a; font-size: 10px; word-break: break-word; }
.ops-collection-age { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.ops-collection-open { display: inline-block; color: var(--ops-accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ops-collection-empty { padding: 32px !important; color: var(--ops-muted); text-align: center !important; }
.ops-collection-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ops-collection-panel { padding: 20px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-collection-panel h2 { margin: 0 0 14px; font-size: 18px; }
.ops-collection-panel p { margin: 0; color: var(--ops-muted); line-height: 1.6; }
.ops-collection-panel article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--ops-border); }
.ops-collection-panel article:first-of-type { border-top: 0; }
.ops-collection-panel article div { display: grid; gap: 3px; }
.ops-collection-panel article span { color: var(--ops-muted); font-size: 12px; }
.ops-collection-panel article a { color: var(--ops-accent); font-weight: 700; text-decoration: none; }

.ops-dataset-passport { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-dataset-passport > article { display: grid; align-content: center; gap: 6px; min-height: 88px; padding: 14px 18px; }
.ops-dataset-passport > article + article { border-left: 1px solid var(--ops-border); }
.ops-dataset-passport article span { color: var(--ops-muted); font-size: 11px; }
.ops-dataset-passport article strong { font-size: 14px; }
.ops-dataset-passport article strong.is-success { color: var(--ops-green); }
.ops-dataset-passport article strong.is-warning { color: var(--ops-amber); }
.ops-dataset-passport article strong.is-danger { color: var(--ops-red); }
.ops-help { display: inline-grid; place-items: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--ops-border-strong); border-radius: 50%; background: #fff; color: var(--ops-muted); font-size: 10px; font-weight: 800; line-height: 1; cursor: help; }
.ops-dataset-provenance { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 18px; border-top: 1px solid var(--ops-border); overflow-x: auto; white-space: nowrap; }
.ops-dataset-provenance span { color: var(--ops-muted); font-size: 11px; }
.ops-dataset-provenance b { color: var(--ops-soft); }
.ops-dataset-provenance code { padding: 4px 7px; border-radius: 4px; background: var(--ops-surface-soft); }
.ops-dataset-global-tabs,
.ops-dataset-subject-tabs,
.ops-dataset-child-tabs { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--ops-border); }
.ops-dataset-global-tabs { margin-top: 6px; }
.ops-dataset-global-tabs a,
.ops-dataset-subject-tabs a,
.ops-dataset-child-tabs a { display: block; padding: 12px 2px; color: var(--ops-muted); font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.ops-dataset-global-tabs a.is-active,
.ops-dataset-subject-tabs a.is-active,
.ops-dataset-child-tabs a.is-active { color: var(--ops-accent); border-bottom-color: var(--ops-accent); }
.ops-dataset-subject-tabs { padding-left: 16px; background: #fbfcfd; }
.ops-dataset-child-tabs { padding-left: 32px; background: #f4f7fa; }
.ops-dataset-workbench { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); min-height: 560px; margin-top: 14px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); overflow: hidden; }
.ops-dataset-list-pane { min-width: 0; border-right: 1px solid var(--ops-border); }
.ops-dataset-list-pane > header,
.ops-dataset-detail-pane > header { display: flex; justify-content: space-between; gap: 16px; min-height: 74px; padding: 16px 18px; border-bottom: 1px solid var(--ops-border); }
.ops-dataset-list-pane h2,
.ops-dataset-detail-pane h2 { margin: 0; font-size: 18px; }
.ops-dataset-list-pane header p { margin: 4px 0 0; color: var(--ops-muted); font-size: 12px; }
.ops-dataset-list-pane header > span { color: var(--ops-soft); font-size: 11px; white-space: nowrap; }
.ops-dataset-table-scroll { max-height: 520px; overflow: auto; }
.ops-dataset-list-pane table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 11px; }
.ops-dataset-list-pane th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: #fff; color: var(--ops-muted); text-align: left; }
.ops-dataset-list-pane td { padding: 12px; border-top: 1px solid var(--ops-border); }
.ops-dataset-list-pane tr.is-active td { background: var(--ops-accent-soft); }
.ops-dataset-list-pane td a { display: block; color: inherit; text-decoration: none; }
.ops-dataset-list-pane > footer { padding: 12px 16px; border-top: 1px solid var(--ops-border); color: var(--ops-muted); font-size: 11px; }
.ops-dataset-detail-pane { min-width: 0; }
.ops-dataset-detail-pane > nav { display: flex; gap: 24px; padding: 0 18px; border-bottom: 1px solid var(--ops-border); overflow-x: auto; }
.ops-dataset-detail-pane > nav a { padding: 12px 0; color: var(--ops-muted); font-size: 11px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.ops-dataset-detail-pane > nav a.is-active { color: var(--ops-accent); border-bottom-color: var(--ops-accent); }
.ops-dataset-detail-pane > dl,
.ops-dataset-static-tab dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.ops-dataset-detail-pane > dl div,
.ops-dataset-static-tab dl div { min-height: 78px; padding: 14px 18px; border-right: 1px solid var(--ops-border); border-bottom: 1px solid var(--ops-border); }
.ops-dataset-detail-pane dt,
.ops-dataset-static-tab dt { margin-bottom: 7px; color: var(--ops-muted); font-size: 11px; }
.ops-dataset-detail-pane dd,
.ops-dataset-static-tab dd { margin: 0; font-size: 13px; font-weight: 650; }
.ops-dataset-glossary { margin: 14px; padding: 14px; border: 1px solid #cddbf3; border-radius: var(--ops-radius); background: #f4f8ff; }
.ops-dataset-glossary h3 { margin: 0 0 12px; font-size: 14px; }
.ops-dataset-glossary article { display: grid; grid-template-columns: 140px 1fr; gap: 3px 14px; padding: 9px 0; border-top: 1px solid #d7e2f4; }
.ops-dataset-glossary article:first-of-type { border-top: 0; }
.ops-dataset-glossary p { margin: 0; color: var(--ops-muted); font-size: 11px; line-height: 1.45; }
.ops-dataset-glossary code { grid-column: 2; color: #4b6280; font-size: 10px; }
.ops-dataset-static-tab { min-height: 340px; margin-top: 14px; padding: 24px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-dataset-static-tab h2 { margin-top: 0; }
.ops-dataset-static-tab > p { max-width: 86ch; color: var(--ops-muted); line-height: 1.65; }
.ops-dataset-static-tab dl { max-width: 780px; border: 1px solid var(--ops-border); }
.ops-retention { display: grid; gap: 14px; margin-top: 14px; }
.ops-retention-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 22px 24px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-retention-head h2 { margin: 3px 0 7px; font-size: 24px; }
.ops-retention-head p { max-width: 80ch; margin: 0; color: var(--ops-muted); line-height: 1.55; }
.ops-retention-status { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid var(--ops-border-strong); border-radius: 999px; color: var(--ops-muted); background: var(--ops-surface-soft); font-size: 11px; font-weight: 800; white-space: nowrap; }
.ops-retention-status.is-success { color: #147648; border-color: #8dcdaa; background: #effaf4; }
.ops-retention-status.is-warning { color: #885b07; border-color: #e6c26e; background: #fff8e7; }
.ops-retention-status.is-danger { color: #a42d3a; border-color: #ef9ca5; background: #fff1f2; }
.ops-retention-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-retention-summary article { display: grid; align-content: center; gap: 7px; min-height: 88px; padding: 14px 18px; }
.ops-retention-summary article + article { border-left: 1px solid var(--ops-border); }
.ops-retention-summary span { color: var(--ops-muted); font-size: 11px; }
.ops-retention-summary strong { font-size: 13px; }
.ops-retention-summary strong.is-success { color: var(--ops-green); }
.ops-retention-summary strong.is-warning { color: var(--ops-amber); }
.ops-retention-summary strong.is-danger { color: var(--ops-red); }
.ops-retention-rules { overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-retention-rules > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--ops-border); }
.ops-retention-rules h3,
.ops-retention-governance h3,
.ops-retention-safety h3 { margin: 0; font-size: 16px; }
.ops-retention-rules header p { margin: 4px 0 0; color: var(--ops-muted); font-size: 11px; }
.ops-retention-rules header > span { color: var(--ops-soft); font-size: 11px; white-space: nowrap; }
.ops-retention-table-wrap { overflow-x: auto; }
.ops-retention-rules table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 11px; }
.ops-retention-rules th { padding: 10px 14px; color: var(--ops-muted); background: #fbfcfd; font-weight: 650; text-align: left; }
.ops-retention-rules td { padding: 14px; border-top: 1px solid var(--ops-border); vertical-align: top; }
.ops-retention-rules td:nth-child(1) { width: 17%; }
.ops-retention-rules td:nth-child(2) { width: 39%; }
.ops-retention-rules td:nth-child(3) { width: 25%; }
.ops-retention-rules td strong,
.ops-retention-rules td small { display: block; }
.ops-retention-rules td small { margin-top: 4px; color: var(--ops-muted); line-height: 1.45; }
.ops-retention-action { display: inline-flex; padding: 4px 8px; border: 1px solid #a5d5bb; border-radius: 999px; color: #147648; background: #effaf4; font-weight: 750; white-space: nowrap; }
.ops-retention-action.is-destructive { color: #a42d3a; border-color: #ef9ca5; background: #fff1f2; }
.ops-retention-empty { padding: 34px 20px; text-align: center; }
.ops-retention-empty p { margin: 6px 0 0; color: var(--ops-muted); }
.ops-retention-bottom { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 14px; }
.ops-retention-governance,
.ops-retention-safety { border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-retention-governance h3 { padding: 17px 20px; border-bottom: 1px solid var(--ops-border); }
.ops-retention-governance dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.ops-retention-governance dl div { min-height: 82px; padding: 14px 18px; border-right: 1px solid var(--ops-border); border-bottom: 1px solid var(--ops-border); }
.ops-retention-governance dt { margin-bottom: 6px; color: var(--ops-muted); font-size: 11px; }
.ops-retention-governance dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 650; }
.ops-retention-governance code { font-size: 10px; }
.ops-retention-safety { align-content: start; padding: 20px; border-color: #b9cee8; background: #f4f8ff; }
.ops-retention-safety > span { color: #4f6f9a; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.ops-retention-safety h3 { margin-top: 8px; }
.ops-retention-safety p { margin: 9px 0 0; color: #52677e; font-size: 11px; line-height: 1.55; }
.ops-retention-safety .ops-retention-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid #cddbf3; }
.ops-dataset-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); color: var(--ops-muted); font-size: 11px; }

@media (max-width: 1120px) {
  .ops-collection-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-collection-summary article + article { border-left: 0; }
  .ops-collection-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-dataset-passport { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-dataset-passport > article + article { border-left: 0; }
  .ops-dataset-workbench { grid-template-columns: 1fr; }
  .ops-dataset-list-pane { border-right: 0; border-bottom: 1px solid var(--ops-border); }
  .ops-retention-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-retention-summary article + article { border-left: 0; }
  .ops-retention-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ops-hub-test-banner { align-items: flex-start; flex-direction: column; }
  .ops-cjm-flow { grid-template-columns: 1fr; }
  .ops-cjm-flow li { min-height: auto; }
  .ops-cjm-flow li:not(:last-child)::after { content: "↓"; right: auto; top: auto; left: 27px; bottom: -17px; }
  .ops-collection-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-collection-filters,
  .ops-collection-bottom-grid { grid-template-columns: 1fr; }
  .ops-dataset-passport { grid-template-columns: 1fr 1fr; }
  .ops-dataset-provenance { grid-column: 1 / -1; }
  .ops-dataset-global-tabs { flex-wrap: wrap; gap: 0 22px; overflow: visible; }
  .ops-dataset-detail-pane > dl,
  .ops-dataset-static-tab dl { grid-template-columns: 1fr; }
  .ops-dataset-glossary article { grid-template-columns: 1fr; }
  .ops-dataset-glossary code { grid-column: auto; }
  .ops-retention-head { align-items: flex-start; flex-direction: column; padding: 18px; }
  .ops-retention-summary { grid-template-columns: 1fr; }
  .ops-retention-summary article + article { border-top: 1px solid var(--ops-border); }
  .ops-retention-table-wrap { overflow: visible; }
  .ops-retention-rules table,
  .ops-retention-rules tbody,
  .ops-retention-rules tr,
  .ops-retention-rules td { display: block; width: 100%; min-width: 0; }
  .ops-retention-rules thead { display: none; }
  .ops-retention-rules tr { padding: 4px 16px 14px; border-top: 1px solid var(--ops-border); }
  .ops-retention-rules td,
  .ops-retention-rules td:nth-child(n) { display: grid; grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr); gap: 12px; width: auto; padding: 10px 0; border-top: 0; }
  .ops-retention-rules td::before { content: attr(data-label); color: var(--ops-muted); font-size: 10px; font-weight: 650; }
  .ops-retention-rules td > div { min-width: 0; }
  .ops-retention-rules td small { margin-top: 3px; }
  .ops-retention-governance dl { grid-template-columns: 1fr; }
  .ops-retention-governance dl div { border-right: 0; }
  .ops-dataset-footer { align-items: flex-start; flex-direction: column; }
}

/* Ephemeral test environment registry and runtime control (page 7). */
.ops-test-environment-page .ops-main { min-width: 0; }
.ops-test-env-policy-banner { display: flex; align-items: center; gap: 18px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid #e9c36d; border-radius: var(--ops-radius); background: #fff8e7; }
.ops-test-env-policy-banner strong { flex: 0 0 auto; font-size: 14px; }
.ops-test-env-policy-banner span { color: var(--ops-muted); font-size: 12px; line-height: 1.5; }
.ops-test-env-policy-banner.is-danger { border-color: #ef9ca5; background: #fff1f2; }
.ops-test-env-policy-banner.is-clean { border-color: #9ed8b9; background: #effaf4; }
.ops-test-env-register { min-width: 0; overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-test-env-register .ops-collection-filters { grid-template-columns: minmax(150px, .8fr) minmax(170px, .8fr) minmax(280px, 1.8fr) auto; }
.ops-test-env-search { min-width: 0; }
.ops-test-env-table-wrap { width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.ops-test-env-table { width: 100%; min-width: 1080px; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
.ops-test-env-table col.is-name { width: 15%; }
.ops-test-env-table col.is-project { width: 20%; }
.ops-test-env-table col.is-type { width: 12%; }
.ops-test-env-table col.is-runtime { width: 11%; }
.ops-test-env-table col.is-ttl { width: 11%; }
.ops-test-env-table col.is-resources { width: 13%; }
.ops-test-env-table col.is-readback { width: 13%; }
.ops-test-env-table col.is-action { width: 5%; }
.ops-test-env-table th { padding: 11px 12px; color: var(--ops-muted); font-weight: 650; text-align: left; }
.ops-test-env-table td { padding: 14px 12px; border-top: 1px solid var(--ops-border); vertical-align: top; overflow-wrap: anywhere; }
.ops-test-env-table tr.is-overdue td { background: #fff4f4; }
.ops-test-env-table td > strong,
.ops-test-env-table td > small { display: block; }
.ops-test-env-table td > small { margin-top: 5px; color: var(--ops-soft); line-height: 1.4; }
.ops-test-env-table td a:not(.ops-collection-open) { color: var(--ops-text); font-weight: 700; text-decoration: none; }
.ops-test-env-runtime-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--ops-border); border-left: 4px solid var(--ops-soft); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-test-env-runtime-strip.is-ok { border-left-color: var(--ops-green); }
.ops-test-env-runtime-strip.is-warn { border-left-color: var(--ops-amber); }
.ops-test-env-runtime-strip.is-danger { border-left-color: var(--ops-red); }
.ops-test-env-runtime-strip.is-info { border-left-color: var(--ops-accent); }
.ops-test-env-runtime-strip article { display: grid; gap: 6px; min-width: 0; padding: 18px; }
.ops-test-env-runtime-strip article + article { border-left: 1px solid var(--ops-border); }
.ops-test-env-runtime-strip span { color: var(--ops-muted); font-size: 11px; }
.ops-test-env-runtime-strip strong { overflow-wrap: anywhere; font-size: 14px; }
.ops-test-env-detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-bottom: 16px; }
.ops-test-env-panel { min-width: 0; margin-bottom: 16px; padding: 20px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); overflow: hidden; }
.ops-test-env-panel h2 { margin: 0 0 16px; font-size: 18px; }
.ops-test-env-panel > dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--ops-border); border-radius: 6px; overflow: hidden; }
.ops-test-env-panel > dl div { min-width: 0; min-height: 74px; padding: 13px 15px; border-right: 1px solid var(--ops-border); border-bottom: 1px solid var(--ops-border); }
.ops-test-env-panel dt { margin-bottom: 7px; color: var(--ops-muted); font-size: 11px; }
.ops-test-env-panel dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
.ops-test-env-panel dd small { display: block; margin-top: 5px; color: var(--ops-soft); font-weight: 400; }
.ops-test-env-form { display: grid; gap: 12px; }
.ops-test-env-form label { display: grid; gap: 6px; color: var(--ops-muted); font-size: 11px; }
.ops-test-env-form input,
.ops-test-env-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ops-border); border-radius: 5px; background: #fff; color: var(--ops-text); }
.ops-test-env-extend { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ops-border); }
.ops-test-env-extend summary { margin-bottom: 12px; color: var(--ops-muted); font-size: 12px; cursor: pointer; }
.ops-test-env-history,
.ops-test-env-access { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
.ops-test-env-history th,
.ops-test-env-access th { padding: 11px 12px; color: var(--ops-muted); text-align: left; }
.ops-test-env-history td,
.ops-test-env-access td { padding: 13px 12px; border-top: 1px solid var(--ops-border); overflow-wrap: anywhere; vertical-align: top; }

@media (max-width: 1120px) {
  .ops-test-env-register .ops-collection-filters { grid-template-columns: 1fr 1fr; }
  .ops-test-env-runtime-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-test-env-runtime-strip article + article { border-left: 0; }
  .ops-test-env-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ops-test-env-policy-banner { align-items: flex-start; flex-direction: column; }
  .ops-test-env-register .ops-collection-filters,
  .ops-test-env-runtime-strip,
  .ops-test-env-panel > dl { grid-template-columns: 1fr; }
}

/* MCP catalog, contours and independently released sub-boxes (pages 8–9). */
.ops-mcp-page .ops-main { min-width: 0; }
.ops-mcp-page-head { align-items: flex-start; margin-bottom: 16px; }
.ops-mcp-page-head h1 { font-size: clamp(30px, 4vw, 42px); }
.ops-mcp-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-mcp-summary > div { display: grid; gap: 6px; padding: 16px 20px; text-align: center; }
.ops-mcp-summary > div + div { border-left: 1px solid var(--ops-border); }
.ops-mcp-summary strong { font-size: 24px; }
.ops-mcp-summary span { color: var(--ops-muted); font-size: 11px; }
.ops-mcp-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--ops-soft); }
.ops-mcp-dot.is-ok { background: var(--ops-green); }
.ops-mcp-dot.is-warn { background: #ed7b0a; }
.ops-mcp-filters { display: grid; grid-template-columns: repeat(3, minmax(145px, .8fr)) minmax(220px, 1.4fr) auto auto; gap: 10px; align-items: end; margin-bottom: 14px; padding: 14px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-mcp-filters label { display: grid; gap: 5px; min-width: 0; color: var(--ops-muted); font-size: 10px; }
.ops-mcp-filters select,
.ops-mcp-filters input { width: 100%; min-width: 0; height: 39px; padding: 0 11px; border: 1px solid var(--ops-border); border-radius: 5px; background: #fff; color: var(--ops-text); }
.ops-mcp-search { min-width: 220px; }
.ops-mcp-catalog { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-mcp-contour + .ops-mcp-contour { border-top: 1px solid var(--ops-border); }
.ops-mcp-contour > summary { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; list-style: none; }
.ops-mcp-contour > summary::-webkit-details-marker { display: none; }
.ops-mcp-contour > summary::after { content: "⌄"; margin-left: auto; color: var(--ops-soft); }
.ops-mcp-contour:not([open]) > summary::after { transform: rotate(-90deg); }
.ops-mcp-contour > summary > strong { font-size: 16px; }
.ops-mcp-contour > summary > span:not(.ops-mcp-source-badge) { color: var(--ops-muted); font-size: 11px; }
.ops-mcp-contour > summary > em { margin-left: auto; font-style: normal; }
.ops-mcp-contour > summary > em + * { margin-left: 0; }
.ops-mcp-source-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; color: #fff; background: #5c35d8; border-radius: 7px; font-size: 10px; font-weight: 800; }
.ops-mcp-contour-body { border-top: 1px solid var(--ops-border); }
.ops-mcp-catalog-row { display: grid; grid-template-columns: minmax(230px, 1.15fr) minmax(210px, 1fr) minmax(430px, 1.6fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.ops-mcp-catalog-row + .ops-mcp-catalog-row { border-top: 1px solid var(--ops-border); }
.ops-mcp-box-identity { display: flex; gap: 12px; min-width: 0; }
.ops-mcp-box-mark { display: inline-grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid var(--ops-border); border-radius: 8px; font-size: 9px; font-weight: 800; }
.ops-mcp-box-identity h2 { margin: 0 0 3px; font-size: 14px; }
.ops-mcp-box-identity p { margin: 0; color: var(--ops-muted); font-size: 10px; line-height: 1.45; }
.ops-mcp-box-identity small { display: block; margin-top: 5px; color: var(--ops-soft); font-size: 9px; }
.ops-mcp-method-preview small,
.ops-mcp-placement-preview small { color: var(--ops-muted); font-size: 9px; }
.ops-mcp-method-preview > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.ops-mcp-method-preview code,
.ops-mcp-automation-table code { padding: 4px 6px; border: 1px solid var(--ops-border); border-radius: 4px; background: #f5f8fb; color: #42536a; font-size: 9px; }
.ops-mcp-placement-head,
.ops-mcp-placement-line { display: grid; grid-template-columns: minmax(90px, 1.2fr) repeat(4, minmax(55px, .7fr)); gap: 8px; align-items: center; }
.ops-mcp-placement-head { margin-bottom: 5px; }
.ops-mcp-placement-line { padding: 5px 0; border-top: 1px solid #edf0f3; font-size: 10px; }
.ops-mcp-placement-line strong { font-size: 10px; }
.ops-mcp-open-link { color: var(--ops-accent); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ops-mcp-open-link::after { content: " →"; }
.ops-mcp-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ops-mcp-bottom-grid .ops-detail-section { margin: 0; }
.ops-mcp-bottom-grid .ops-detail-section > header,
.ops-mcp-detail-page .ops-detail-section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ops-mcp-bottom-grid .ops-detail-section p { color: var(--ops-muted); font-size: 12px; line-height: 1.6; }
.ops-mcp-readback-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); color: var(--ops-muted); font-size: 10px; }
.ops-mcp-readback-footer a { color: var(--ops-accent); text-decoration: none; }
.ops-help { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid var(--ops-border-strong); border-radius: 50%; color: var(--ops-muted); font-size: 9px; cursor: help; }
.ops-mcp-page .is-success { color: var(--ops-green) !important; }
.ops-mcp-page .is-warning { color: var(--ops-amber) !important; }
.ops-mcp-page .is-danger { color: var(--ops-red) !important; }
.ops-mcp-page .is-neutral { color: var(--ops-muted) !important; }
.ops-mcp-page .ops-status.is-success { background: var(--ops-green-soft); border-color: #c7e4d4; }
.ops-mcp-page .ops-status.is-warning { background: var(--ops-amber-soft); border-color: #eed7a9; }
.ops-mcp-page .ops-status.is-neutral { background: #f1f3f5; border-color: #d9dee3; }

.ops-mcp-detail-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); }
.ops-mcp-detail-summary > div { display: grid; gap: 7px; min-width: 0; padding: 16px 18px; }
.ops-mcp-detail-summary > div + div { border-left: 1px solid var(--ops-border); }
.ops-mcp-detail-summary small { color: var(--ops-muted); font-size: 10px; }
.ops-mcp-detail-summary strong { overflow-wrap: anywhere; font-size: 13px; }
.ops-mcp-lineage { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 11px 15px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius); background: var(--ops-surface); font-size: 11px; }
.ops-mcp-lineage span { padding: 7px 10px; border: 1px solid var(--ops-border); border-radius: 5px; }
.ops-mcp-lineage span + span::before { content: "→"; margin-right: 16px; color: var(--ops-soft); }
.ops-mcp-tabs { display: flex; gap: 30px; margin-bottom: 14px; border-bottom: 1px solid var(--ops-border); overflow-x: auto; }
.ops-mcp-tabs a { padding: 12px 2px; color: var(--ops-muted); border-bottom: 2px solid transparent; font-size: 11px; text-decoration: none; white-space: nowrap; }
.ops-mcp-tabs a.is-active { color: var(--ops-accent); border-bottom-color: var(--ops-accent); font-weight: 700; }
.ops-mcp-overview-grid,
.ops-mcp-policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ops-mcp-overview-grid > *,
.ops-mcp-policy-grid > *,
.ops-mcp-method-layout > * { min-width: 0; }
.ops-mcp-overview-grid .ops-detail-section,
.ops-mcp-policy-grid .ops-detail-section { margin: 0; }
.ops-mcp-wide { grid-column: 1 / -1; }
.ops-mcp-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ops-mcp-kpi-grid > div { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--ops-border); border-radius: 5px; background: var(--ops-surface-soft); }
.ops-mcp-kpi-grid strong { font-size: 24px; }
.ops-mcp-kpi-grid span { color: var(--ops-muted); font-size: 10px; }
.ops-mcp-compact-table { overflow-x: auto; }
.ops-mcp-compact-table > div { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); min-width: 720px; }
.ops-mcp-compact-table > div > * { padding: 11px 12px; border-top: 1px solid var(--ops-border); font-size: 11px; }
.ops-mcp-compact-table .is-head > * { color: var(--ops-muted); border-top: 0; font-size: 9px; font-weight: 700; }
.ops-mcp-method-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .75fr); gap: 14px; }
.ops-mcp-method-layout .ops-detail-section { margin: 0; }
.ops-mcp-method-table { overflow-x: auto; }
.ops-mcp-method-table > div,
.ops-mcp-method-table > a { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(210px, 1.4fr) minmax(120px, .8fr) 70px 80px; min-width: 700px; color: var(--ops-text); text-decoration: none; }
.ops-mcp-method-table > * > * { padding: 11px 10px; border-top: 1px solid var(--ops-border); font-size: 10px; }
.ops-mcp-method-table .is-head > * { color: var(--ops-muted); border-top: 0; font-size: 9px; }
.ops-mcp-method-table > a.is-selected { box-shadow: inset 3px 0 var(--ops-accent); background: #f5f8ff; }
.ops-mcp-method-table code { font-weight: 700; }
.ops-mcp-method-table .is-read_only { color: var(--ops-green); }
.ops-mcp-method-table .is-write_guarded { color: var(--ops-amber); }
.ops-mcp-method-table .is-owner_approved { color: var(--ops-red); }
.ops-mcp-method-inspector h3 { margin: 20px 0 8px; font-size: 13px; }
.ops-mcp-method-inspector > p { color: var(--ops-muted); font-size: 12px; line-height: 1.6; }
.ops-mcp-code-card { border: 1px solid var(--ops-border); border-radius: 5px; background: #f8fafc; }
.ops-mcp-code-card > div { display: grid; grid-template-columns: 115px 1fr; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--ops-border); font-size: 9px; }
.ops-mcp-code-card > div:first-child { border-top: 0; }
.ops-mcp-code-card span { overflow-wrap: anywhere; color: #27744d; }
.ops-mcp-automation-table,
.ops-mcp-release-table { overflow-x: auto; }
.ops-mcp-automation-table > div { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(170px, 1fr) minmax(150px, 1fr) 110px 140px 60px; min-width: 900px; }
.ops-mcp-release-table > div { display: grid; grid-template-columns: 90px 120px 160px minmax(180px, 1fr) 100px 150px; min-width: 850px; }
.ops-mcp-automation-table > div > *,
.ops-mcp-release-table > div > * { padding: 12px 10px; border-top: 1px solid var(--ops-border); font-size: 10px; }
.ops-mcp-automation-table .is-head > *,
.ops-mcp-release-table .is-head > * { color: var(--ops-muted); border-top: 0; font-size: 9px; }
.ops-mcp-automation-table strong,
.ops-mcp-release-table strong { display: grid; gap: 4px; }
.ops-mcp-automation-table small,
.ops-mcp-release-table small { color: var(--ops-muted); font-weight: 400; }
.ops-mcp-placement-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ops-mcp-placement-cards article { border: 1px solid var(--ops-border); border-radius: 6px; overflow: hidden; }
.ops-mcp-placement-cards article > header { display: flex; justify-content: space-between; gap: 12px; padding: 15px; background: var(--ops-surface-soft); }
.ops-mcp-placement-cards h3 { margin: 4px 0; font-size: 16px; }
.ops-mcp-placement-cards header small,
.ops-mcp-placement-cards header span { color: var(--ops-muted); font-size: 10px; }
.ops-mcp-placement-cards dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.ops-mcp-placement-cards dl div { padding: 12px 14px; border-top: 1px solid var(--ops-border); }
.ops-mcp-placement-cards dl div:nth-child(even) { border-left: 1px solid var(--ops-border); }
.ops-mcp-placement-cards dt { color: var(--ops-muted); font-size: 9px; }
.ops-mcp-placement-cards dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 650; }
.ops-mcp-placement-cards footer { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--ops-border); color: var(--ops-muted); font-size: 9px; }
.ops-mcp-permission-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--ops-border); font-size: 11px; }
.ops-mcp-permission-list > div:first-child { border-top: 0; }
.ops-mcp-permission-list span { color: var(--ops-muted); }
.ops-mcp-page .ops-edit-form input:not([type="checkbox"]),
.ops-mcp-page .ops-edit-form select,
.ops-mcp-page .ops-edit-form textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--ops-border); border-radius: 5px; background: #fff; color: var(--ops-text); font: inherit; }
.ops-mcp-page .ops-edit-form textarea { min-height: 104px; resize: vertical; }
.ops-mcp-page .ops-edit-form input[type="checkbox"] { width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }
.ops-mcp-form-guardrail { display: flex; gap: 18px; margin: 14px 0; padding: 14px 16px; border: 1px solid #cddbf3; border-radius: var(--ops-radius); background: #f4f8ff; }
.ops-mcp-form-guardrail strong { flex: 0 0 180px; }
.ops-mcp-form-guardrail span { color: var(--ops-muted); font-size: 12px; line-height: 1.55; }

@media (max-width: 1220px) {
  .ops-mcp-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-mcp-catalog-row { grid-template-columns: 1fr 1fr; }
  .ops-mcp-placement-preview { grid-column: 1 / -1; }
  .ops-mcp-open-link { justify-self: end; }
  .ops-mcp-detail-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-mcp-detail-summary > div + div { border-left: 0; }
}

@media (max-width: 900px) {
  .ops-mcp-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-mcp-summary > div + div { border-left: 0; }
  .ops-mcp-bottom-grid,
  .ops-mcp-overview-grid,
  .ops-mcp-policy-grid,
  .ops-mcp-method-layout { grid-template-columns: 1fr; }
  .ops-mcp-wide { grid-column: auto; }
  .ops-mcp-placement-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ops-mcp-summary,
  .ops-mcp-filters,
  .ops-mcp-detail-summary,
  .ops-mcp-catalog-row { grid-template-columns: 1fr; }
  .ops-mcp-contour > summary { align-items: flex-start; flex-wrap: wrap; }
  .ops-mcp-contour > summary > em { margin-left: 0; }
  .ops-mcp-placement-preview { grid-column: auto; overflow-x: auto; }
  .ops-mcp-placement-head,
  .ops-mcp-placement-line { min-width: 520px; }
  .ops-mcp-open-link { justify-self: start; }
  .ops-mcp-lineage { align-items: stretch; flex-direction: column; }
  .ops-mcp-lineage span + span::before { content: "↓"; display: block; margin: 0 0 8px; }
  .ops-mcp-kpi-grid,
  .ops-mcp-placement-cards dl { grid-template-columns: 1fr; }
  .ops-mcp-placement-cards dl div:nth-child(even) { border-left: 0; }
  .ops-mcp-readback-footer { align-items: flex-start; flex-direction: column; }
  .ops-mcp-form-guardrail { flex-direction: column; }
  .ops-mcp-form-guardrail strong { flex-basis: auto; }
  .ops-mcp-method-table,
  .ops-mcp-automation-table,
  .ops-mcp-release-table,
  .ops-mcp-compact-table { max-width: 100%; }
}
