: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;
}

/* 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"] {
  width: 100%;
  padding: 8px 9px;
  color: #fff;
  background: #091725;
  border: 1px solid #3a536b;
  border-radius: 5px;
}

.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));
  }
}

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

  .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-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 {
  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.is-primary {
  color: #fff;
  background: var(--ops-accent);
  border-color: var(--ops-accent);
}

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

.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: 1260px;
  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: 23%;
}

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

.ops-access-table .ops-access-col-git {
  width: 23%;
}

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

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

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

.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;
}

.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-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;
}

/* AUTO-154 · Selectel AI workspace. */
.ops-workspace-head .ops-kicker {
  color: var(--ops-green) !important;
}

.ops-workspace-create[hidden] {
  display: none;
}

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

.ops-workspace-version-form .ops-alert,
.ops-workspace-form-actions {
  grid-column: 1 / -1;
}

.ops-workspace-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ops-workspace-form-actions p,
.ops-workspace-form-actions small {
  margin: 0;
}

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

.ops-workspace-version-card {
  display: grid;
  gap: 9px;
  padding: 16px;
  color: inherit;
  background: var(--ops-surface-soft);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  text-decoration: none;
}

.ops-workspace-version-card:hover {
  color: inherit;
  border-color: #9eb4d5;
  box-shadow: var(--ops-shadow);
}

.ops-workspace-version-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 750;
}

.ops-workspace-version-card h3,
.ops-workspace-version-card p {
  margin: 0;
}

.ops-workspace-version-card h3 {
  font-size: 17px;
}

.ops-workspace-version-card p {
  color: var(--ops-muted);
  font-size: 13px;
}

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

.ops-workspace-facts div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
}

.ops-workspace-facts.is-stacked div {
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 7px 0;
  border-bottom: 1px solid var(--ops-border);
}

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

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

.ops-workspace-console {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: 14px;
}

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

.ops-test-report-entry {
  margin-bottom: 18px;
}

.ops-test-report-entry-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.ops-test-report-entry-summary::-webkit-details-marker {
  display: none;
}

.ops-test-report-entry-summary h2,
.ops-test-report-entry-summary p {
  margin: 0;
}

.ops-test-report-entry-summary p {
  margin-top: 5px;
}

.ops-test-report-entry[open] .ops-test-report-entry-summary {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ops-border);
}

.ops-test-report-entry[open] .ops-test-report-entry-summary .ops-status {
  color: var(--ops-muted);
  background: var(--ops-surface-soft);
  border-color: var(--ops-border);
}

.ops-test-report-close-label,
.ops-test-report-entry[open] .ops-test-report-open-label {
  display: none;
}

.ops-test-report-entry[open] .ops-test-report-close-label {
  display: inline-flex;
}

.ops-test-report-table abbr {
  text-decoration: none;
  cursor: help;
}

.ops-test-report-table th:nth-child(n + 4):nth-child(-n + 7),
.ops-test-report-table td:nth-child(n + 4):nth-child(-n + 7) {
  width: 42px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ops-test-report-details {
  min-width: 300px;
}

.ops-test-report-details > summary {
  display: grid;
  gap: 3px;
  cursor: pointer;
}

.ops-test-report-details > summary small {
  color: var(--ops-muted);
  font-weight: 500;
}

.ops-test-report-body {
  min-width: min(660px, 75vw);
  padding: 14px 0 4px;
}

.ops-test-report-body h3 {
  margin: 12px 0 6px;
  font-size: 13px;
}

.ops-test-report-body ul {
  margin: 0;
  padding-left: 18px;
}

.ops-test-report-artifacts {
  overflow-wrap: anywhere;
}

.ops-severity-count.is-danger {
  color: var(--ops-red);
  background: var(--ops-red-soft);
  font-weight: 750;
}

@media (max-width: 720px) {
  .ops-test-report-entry-summary {
    align-items: flex-start;
  }

  .ops-test-report-table,
  .ops-test-report-table tbody,
  .ops-test-report-table tr,
  .ops-test-report-table td {
    display: block;
    width: 100%;
  }

  .ops-test-report-table thead {
    display: none;
  }

  .ops-test-report-table tbody {
    display: grid;
    gap: 12px;
  }

  .ops-test-report-table tbody tr {
    padding: 10px;
    background: var(--ops-surface-soft);
    border: 1px solid var(--ops-border);
    border-radius: 7px;
  }

  .ops-test-report-table td,
  .ops-test-report-table td:nth-child(n + 4):nth-child(-n + 7) {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 7px 4px;
    text-align: left;
  }

  .ops-test-report-table td::before {
    color: var(--ops-muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
  }

  .ops-test-report-details,
  .ops-test-report-body {
    min-width: 0;
  }
}

.ops-workspace-chat {
  min-height: 650px;
}

.ops-chat-feed {
  display: grid;
  gap: 10px;
  max-height: 560px;
  margin-bottom: 14px;
  padding-right: 4px;
  overflow-y: auto;
}

.ops-chat-message {
  max-width: 88%;
  padding: 12px 14px;
  background: var(--ops-surface-soft);
  border: 1px solid var(--ops-border);
  border-radius: 8px;
}

.ops-chat-message.is-user {
  margin-left: auto;
  background: var(--ops-accent-soft);
  border-color: #c8d8f2;
}

.ops-chat-message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ops-muted);
  font-size: 11px;
}

.ops-chat-message p {
  margin: 7px 0 0;
  white-space: pre-wrap;
}

.ops-chat-form {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--ops-border);
}

.ops-chat-form .ops-textarea {
  min-height: 112px;
}

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

.ops-event-feed li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ops-border);
  font-size: 13px;
}

.ops-event-feed li > span {
  grid-column: 1;
  grid-row: 1;
}

.ops-event-feed li > small {
  grid-column: 2;
  grid-row: 1;
}

.ops-event-note {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-event-feed small {
  color: var(--ops-muted);
}

.ops-event-feed li.is-failed > span,
.ops-event-feed li.is-cancelled > span {
  color: var(--ops-red);
}

.ops-event-feed li.is-complete > span {
  color: var(--ops-green);
}

.ops-chat-message-status {
  padding: 1px 7px;
  color: var(--ops-amber);
  background: var(--ops-amber-soft);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ops-chat-closed {
  margin-top: 14px;
}

.ops-chat-form[aria-busy="true"],
.ops-workspace-version-form[aria-busy="true"] {
  opacity: 0.7;
}

.ops-workspace-outcome h3 {
  margin: 16px 0 8px;
  color: var(--ops-muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-workspace-outcome h3:first-of-type {
  margin-top: 4px;
}

.ops-run-approval-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ops-border);
}

.ops-run-approval-block h3 {
  margin: 0 0 8px;
  color: var(--ops-muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-workspace-summary {
  margin: 0;
  white-space: pre-wrap;
}

.ops-approval-list,
.ops-session-list,
.ops-test-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-approval,
.ops-session,
.ops-test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ops-border);
  font-size: 13px;
}

.ops-approval:last-child,
.ops-session:last-child,
.ops-test-row:last-child {
  border-bottom: 0;
}

.ops-session small,
.ops-test-row small {
  flex-shrink: 0;
  color: var(--ops-muted);
}

.ops-session.is-current span:first-child {
  font-weight: 650;
}

.ops-test-row span {
  min-width: 0;
}

.ops-totp-layout {
  margin-bottom: 14px;
}

.ops-totp-secret {
  display: block;
  margin: 12px 0;
  padding: 14px;
  overflow-wrap: anywhere;
  color: var(--ops-text);
  background: var(--ops-surface-soft);
  border: 1px solid var(--ops-border);
  border-radius: 5px;
  font-size: 17px;
  letter-spacing: 0.12em;
}

.ops-break-all {
  overflow-wrap: anywhere;
}

.ops-tech-details {
  margin-top: 12px;
  color: var(--ops-muted);
}

.ops-tech-details summary {
  cursor: pointer;
  font-weight: 650;
}

@media (max-width: 1180px) {
  .ops-metric-grid {
    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-workspace-version-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-workspace-console {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  }

  .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 {
    display: flex;
    min-height: 44px;
    align-items: center;
    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;
  }

  .ops-workspace-console,
  .ops-workspace-version-form {
    grid-template-columns: 1fr;
  }

  [data-workspace-dashboard] .ops-button,
  [data-workspace-dashboard] .ops-input,
  [data-workspace-dashboard] .ops-select,
  [data-workspace-console] .ops-button,
  .ops-workspace-head .ops-button,
  .ops-workspace-profile-head .ops-button,
  .ops-workspace-profile-form .ops-button,
  .ops-workspace-profile-form .ops-input,
  .ops-totp-layout .ops-button,
  .ops-totp-layout .ops-input,
  .ops-test-report-entry .ops-button,
  .ops-test-report-entry .ops-input,
  .ops-test-report-entry .ops-select {
    min-height: 44px;
  }
}

@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-filter-grid,
  .ops-legal-filter,
  .ops-rent-filter,
  .ops-rent-integrations,
  .ops-rent-upload,
  .ops-rent-meter-form {
    grid-template-columns: 1fr;
  }

  .ops-workspace-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-workspace-chat {
    min-height: 0;
  }

  .ops-workspace-chat .ops-panel-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ops-workspace-chat .ops-panel-head h2 {
    flex-basis: 100%;
  }

  .ops-chat-feed {
    max-height: 60vh;
  }

  .ops-workspace-form-actions .ops-button,
  .ops-page-actions .ops-button {
    width: 100%;
  }

  .ops-chat-message {
    max-width: 96%;
  }

  .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-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-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 {
  margin-bottom: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: 9px;
}

.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;
}

@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-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-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-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 {
    grid-template-columns: 1fr;
  }

  .vpn-route-summary,
  .vpn-telemetry {
    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;
  }

  .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);
  }
}
