/* ===== Azure-inspired theme ===== */
:root {
  --azure-blue: #0078d4;
  --azure-blue-dark: #005a9e;
  --azure-blue-darker: #003c71;
  --azure-blue-light: #deecf9;
  --azure-blue-faint: #f3f9fd;
  --azure-cyan: #50e6ff;
  --ink: #1b1a19;
  --ink-2: #323130;
  --ink-3: #605e5c;
  --ink-4: #8a8886;
  --line: #edebe9;
  --line-2: #d2d0ce;
  --bg: #faf9f8;
  --card: #ffffff;
  --ok: #107c10;
  --ok-bg: #dff6dd;
  --warn: #b88217;
  --warn-bg: #fff4ce;
  --deny: #d13438;
  --deny-bg: #fde7e9;
  --neutral: #605e5c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--azure-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  background: var(--azure-blue);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Header ===== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.brand-sub { font-size: 12px; color: var(--ink-3); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { background: var(--azure-blue-faint); text-decoration: none; color: var(--azure-blue-dark); }
.site-nav a.active { background: var(--azure-blue-light); color: var(--azure-blue-darker); }

/* ===== Main / footer ===== */
.site-main { padding: 32px 0 64px; min-height: calc(100vh - 64px - 64px); }
.site-footer {
  border-top: 1px solid var(--line);
  background: white;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--azure-blue-darker) 0%, var(--azure-blue) 60%, var(--azure-cyan) 130%);
  color: white;
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.18) 0%, transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(80,230,255,0.25) 0%, transparent 40%);
  pointer-events: none;
}
.hero h1 {
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
.hero p { font-size: 17px; max-width: 720px; margin: 0; opacity: 0.95; position: relative; }

/* ===== Section / cards ===== */
.section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 36px 0 14px;
}
.section-label h2 {
  font-size: 22px;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.section-label .badge { font-size: 12px; color: var(--ink-3); }
.section-desc { color: var(--ink-3); margin: 0 0 18px; max-width: 760px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--azure-blue-light);
}
.card-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--azure-blue-faint);
  color: var(--azure-blue-dark);
  flex-shrink: 0;
}
.card-desc { color: var(--ink-3); font-size: 14px; margin: 0; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--azure-blue-faint);
  color: var(--azure-blue-darker);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tag.inbound { background: #e8f4ff; color: #003c71; }
.tag.outbound { background: #e6f7ec; color: #0b5d1e; }
.tag.security { background: #fde7e9; color: #8a1f23; }

/* ===== Categories on home ===== */
.category-block { margin-bottom: 32px; }

.question-banner {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--azure-blue);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.question-banner h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.question-banner p { margin: 0; color: var(--ink-3); font-size: 14px; }

/* ===== Home: 3 color-coded category tiles ===== */
.cat-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 1000px) { .cat-tile-grid { grid-template-columns: 1fr; } }

.cat-tile {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--tile-accent, var(--azure-blue));
}

/* Color themes per category */
.cat-tile--inbound {
  --tile-accent: linear-gradient(90deg, #0078d4, #50e6ff);
  --tile-soft-bg: #f0f7fd;
  --tile-soft-border: #cfe4f6;
  --tile-strong: #003c71;
  --tile-num-bg: #0078d4;
}
.cat-tile--outbound {
  --tile-accent: linear-gradient(90deg, #107c10, #5eb55e);
  --tile-soft-bg: #f1faf3;
  --tile-soft-border: #c7e7c9;
  --tile-strong: #0b5d1e;
  --tile-num-bg: #107c10;
}
.cat-tile--security {
  --tile-accent: linear-gradient(90deg, #b8453d, #d13438);
  --tile-soft-bg: #fdf3f4;
  --tile-soft-border: #f3c8ca;
  --tile-strong: #8a1f23;
  --tile-num-bg: #d13438;
}

.cat-tile-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.cat-tile-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--tile-num-bg);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.cat-tile-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--tile-strong);
  letter-spacing: -0.005em;
}
.cat-tile-question {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.cat-tile-intro {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.feature-link-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--tile-soft-bg);
  border: 1px solid var(--tile-soft-border);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 120ms, transform 80ms, border-color 120ms;
}
.feature-link:hover {
  background: white;
  border-color: var(--tile-num-bg);
  color: var(--tile-strong);
  text-decoration: none;
  transform: translateX(2px);
}
.feature-link-title { display: inline-block; }
.feature-link-arrow {
  color: var(--tile-num-bg);
  font-weight: 700;
  opacity: 0.6;
  transition: opacity 120ms, transform 120ms;
}
.feature-link:hover .feature-link-arrow { opacity: 1; transform: translateX(2px); }

.cat-tile-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--tile-num-bg);
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: filter 120ms;
}
.cat-tile-cta:hover { filter: brightness(0.92); color: white; text-decoration: none; }

/* ===== Provisioning + cost badges ===== */
.prov-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 20px 0;
  padding: 12px 14px;
  background: #f3f7fb;
  border: 1px solid #e1ebf3;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-2);
}
.prov-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.prov-legend-label { font-weight: 600; color: var(--ink-1); min-width: 160px; }
.prov-legend small { color: var(--ink-3); font-weight: 400; margin-left: 4px; }

.prov-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid transparent;
}
.prov-badge--lg {
  font-size: 12px;
  padding: 4px 10px;
}
.prov-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.prov-badge--native {
  background: #ecf8ee;
  color: #0b6a13;
  border-color: #c7e7cc;
}
.prov-badge--external {
  background: #fff4e5;
  color: #8a4a00;
  border-color: #f5d9b0;
}

/* Cost badges */
.cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.cost-badge--lg { font-size: 12px; padding: 4px 10px; }
.cost-badge small { font-weight: 400; font-family: inherit; color: var(--ink-3); }
.cost-badge--free  { background: #eef1f4; color: #4a5560; border-color: #d6dde4; }
.cost-badge--low   { background: #ecf8ee; color: #0b6a13; border-color: #c7e7cc; }
.cost-badge--mid   { background: #fff4e5; color: #8a4a00; border-color: #f5d9b0; }
.cost-badge--high  { background: #fde7e9; color: #a4262c; border-color: #f5c2c7; }

/* Place badges between title and arrow inside feature-link */
.feature-link { flex-wrap: wrap; }
.feature-link-main {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.feature-link-depends {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 400;
  font-style: italic;
}
.feature-link-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.feature-link .feature-link-arrow { margin-left: 6px; }

/* Builds-on callout on feature detail page */
.builds-on-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 20px 0;
  padding: 10px 14px;
  background: #fff8e6;
  border: 1px solid #f0d9a0;
  border-left: 3px solid #ca8a04;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-2);
}
.builds-on-label { font-weight: 700; color: #7c5f00; }
.depends-link {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0d9a0;
  color: #7c5f00;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}
.depends-link:hover { background: #fef3c7; color: #7c5f00; text-decoration: none; }
.builds-on-note { color: var(--ink-3); font-size: 12px; flex-basis: 100%; }

/* Detail header tag stack */
.detail-header-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* Card meta badge spacing */
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* Required resources panel */
.req-note { margin: 0 0 10px 0; color: var(--ink-2); }
.req-note--native { color: #0b6a13; }
.req-note--external { color: #8a4a00; }
.req-note--cost-free { color: #4a5560; }
.req-note--cost-low { color: #0b6a13; }
.req-note--cost-mid { color: #8a4a00; }
.req-note--cost-high { color: #a4262c; }
.cost-detail { margin: 0 0 10px 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.cost-disclaimer { margin: 0; color: var(--ink-3); }
.cost-disclaimer a { color: var(--ink-3); text-decoration: underline; }
.req-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.req-list li { margin-bottom: 4px; }

/* ===== Feature detail page ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb .sep { opacity: 0.5; }

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.detail-header h1 {
  font-size: 30px;
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.detail-header .subtitle { color: var(--ink-3); margin: 0; max-width: 720px; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.panel + .panel { margin-top: 16px; }
.panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ===== Diagram ===== */
.diagram-wrap {
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
}
.diagram-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.diagram-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: white;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 120ms, border-color 120ms, transform 50ms;
}
.btn:hover { background: var(--azure-blue-faint); border-color: var(--azure-blue); color: var(--azure-blue-darker); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--azure-blue);
  border-color: var(--azure-blue);
  color: white;
}
.btn.primary:hover { background: var(--azure-blue-dark); border-color: var(--azure-blue-dark); color: white; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-3); }
.step-readout {
  flex: 1 1 240px;
  font-size: 13px;
  color: var(--ink-3);
  min-height: 20px;
}
.step-readout strong { color: var(--ink); }

/* ===== Content blocks ===== */
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--ink-3); font-weight: 600; }
.kv dd { margin: 0; color: var(--ink-2); }

.list { margin: 0; padding-left: 20px; }
.list li { margin: 4px 0; color: var(--ink-2); font-size: 14px; }

.steps { counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 12px 10px 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 4px;
  border-left: 3px solid transparent;
  transition: background 150ms, border-color 150ms;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--azure-blue-faint);
  color: var(--azure-blue-darker);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.steps li.active {
  background: var(--azure-blue-faint);
  border-left-color: var(--azure-blue);
}
.steps li.active::before {
  background: var(--azure-blue);
  color: white;
}

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons .panel-sub {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fafafa;
}
.pros-cons .panel-sub h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.pros-cons .panel-sub.pros { border-color: #b8e6c2; background: #f3fbf5; }
.pros-cons .panel-sub.pros h3 { color: var(--ok); }
.pros-cons .panel-sub.cons { border-color: #f5c7c9; background: #fdf3f4; }
.pros-cons .panel-sub.cons h3 { color: var(--deny); }

.callout {
  border-left: 3px solid var(--azure-blue);
  background: var(--azure-blue-faint);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-2);
}
.callout.warn { border-color: var(--warn); background: var(--warn-bg); color: #5d4109; }

.placeholder-screen {
  border: 2px dashed var(--line-2);
  border-radius: var(--radius);
  background: #fafafa;
  text-align: center;
  padding: 24px;
  color: var(--ink-3);
  font-size: 13px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* ===== Diagram SVG primitives (used by JS-generated SVG) ===== */
.node-box {
  fill: white;
  stroke: var(--line-2);
  stroke-width: 1.5;
}
.node-box.app { fill: #eaf3fb; stroke: var(--azure-blue); }
.node-box.vnet {
  fill: #f6f0fb;
  stroke: #8764b8;
  stroke-dasharray: 6 4;
}
.node-box.subnet {
  fill: #efeaf7;
  stroke: #8764b8;
  stroke-dasharray: 4 3;
}
.node-box.bad { fill: #fde7e9; stroke: var(--deny); }
.node-box.ok { fill: #dff6dd; stroke: var(--ok); }

.node-label { font: 600 12px var(--sans); fill: var(--ink-2); }
.node-sub { font: 11px var(--sans); fill: var(--ink-3); }
.zone-label { font: 700 11px var(--sans); fill: #6b3fa0; letter-spacing: 0.06em; text-transform: uppercase; }

.flow-line { stroke: var(--azure-blue); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.flow-line.allowed { stroke: var(--ok); }
.flow-line.denied  { stroke: var(--deny); stroke-dasharray: 4 4; opacity: 0.6; }
.flow-line.public  { stroke: var(--neutral); stroke-dasharray: 4 4; opacity: 0.55; }
.flow-line.private { stroke: var(--ok); }

.packet {
  fill: var(--azure-cyan);
  stroke: var(--azure-blue-dark);
  stroke-width: 1;
  opacity: 0;
}
.packet.run { opacity: 1; animation: packetMove 2.4s ease-in-out infinite; offset-rotate: 0deg; }

@keyframes packetMove {
  0%   { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.pulse { animation: pulseGlow 1.6s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(0,120,212,0)); }
  50%      { filter: drop-shadow(0 0 6px rgba(0,120,212,0.6)); }
}

.blink-allow text { animation: pulseColor 1.4s ease-in-out infinite; }
@keyframes pulseColor {
  0%, 100% { fill: var(--ink-2); }
  50% { fill: var(--ok); }
}

.cross-out {
  stroke: var(--deny);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 250ms ease;
}
.cross-out.show { opacity: 0.9; }

.barrier {
  fill: rgba(209, 52, 56, 0.08);
  stroke: var(--deny);
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.legend {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.legend .swatch {
  display: inline-block;
  width: 18px; height: 3px;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 2px;
}
.legend .swatch.priv  { background: var(--ok); }
.legend .swatch.pub   { background: var(--neutral); }
.legend .swatch.deny  { background: var(--deny); }
.legend .swatch.flow  { background: var(--azure-blue); }

/* Print / accessibility */
@media (prefers-reduced-motion: reduce) {
  .packet.run, .pulse, .blink-allow text { animation: none !important; }
}
