.pt-view {
  --brand-orange: #F0532D;
  --brand-orange-soft: #FCE9E1;
  --brand-orange-deep: #C13E1D;
  --ink: #191919;
  --ink-2: #2D2D2D;
  --subhead: #616161;
  --grey: #808080;
  --grey-light: #EEEEEE;
  --grey-semi: #E3E3E3;
  --surface: #ffffff;
  --bg: #FAFAF7;
  --bg-warm: #F5F1EC;
  --ok: #14B86A;
  --warn: #E08A00;
  --danger: #D93B3B;
  --info: #2D6BD6;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --pad: 16px;
  --pad-tight: 12px;

  padding: 22px 28px 60px;
  background: var(--bg);
  color: var(--ink);
}

.pt-subnav {
  display: flex; gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--grey-semi);
}
.pt-subnav a {
  padding: 10px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--subhead);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pt-subnav a:hover { color: var(--ink); text-decoration: none; }
.pt-subnav a.active {
  color: var(--brand-orange-deep);
  border-bottom-color: var(--brand-orange);
}

/* =================== HEADER =================== */
.pt-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px;
  margin-bottom: 22px;
}
.pt-header-left { max-width: 720px; }
.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--subhead); font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px 4px 8px;
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: 999px;
}
.pt-eyebrow > svg:first-child { color: var(--brand-orange); }
.pt-eyebrow .dot {
  width: 3px; height: 3px; border-radius: 999px;
  background: var(--grey);
}

.pt-title {
  font-family: 'Nexa', sans-serif;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 12px 0 10px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.pt-state-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Nexa', sans-serif;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 800;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
}
.pt-state-pill .dot {
  width: 7px; height: 7px; border-radius: 999px; background: currentColor;
}
.pt-state-pill.enabled { background: rgba(20,184,106,0.12); color: #0f8a4f; }
.pt-state-pill.enabled .dot { animation: pt-pulse 1.6s infinite; }
.pt-state-pill.pilot { background: rgba(45,107,214,0.12); color: var(--info); }
.pt-state-pill.off { background: var(--grey-light); color: var(--subhead); }
.pt-state-pill.off .dot { background: var(--grey); }
.pt-beta {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.12em;
  background: var(--brand-orange); color: #fff;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
@keyframes pt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.pt-sub {
  font-size: 14px;
  color: var(--subhead);
  line-height: 1.5;
  margin: 0;
  max-width: 640px;
}
.pt-sub b { color: var(--ink); font-weight: 900; }

.pt-header-right { display: flex; gap: 10px; flex-shrink: 0; padding-top: 32px; }
.pt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nexa', sans-serif;
  font-size: 13px; font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}
.pt-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--grey-semi); }
.pt-btn-ghost:hover { border-color: var(--ink); }
.pt-btn-primary { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.pt-btn-primary:hover { background: var(--brand-orange-deep); border-color: var(--brand-orange-deep); }
.pt-btn-danger-ghost { background: var(--surface); color: var(--danger); border-color: rgba(217,59,59,0.3); }
.pt-btn-danger-ghost:hover { background: rgba(217,59,59,0.06); }

/* =================== KPIS =================== */
.pt-kpis {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.pt-kpi {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.pt-kpi .l { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subhead); font-weight: 800; }
.pt-kpi .v { font-family: 'Rift Soft', sans-serif; margin-top: 10px; display: flex; align-items: baseline; gap: 2px; line-height: 1; }
.pt-kpi .v .big { font-size: 44px; }
.pt-kpi .v .suf { font-size: 22px; color: var(--subhead); margin-left: 2px; }
.pt-kpi .v .trend {
  margin-left: 10px;
  font-family: 'Nexa', sans-serif;
  font-size: 11px; font-weight: 800;
  color: var(--ok);
  display: inline-flex; align-items: center; gap: 3px;
  letter-spacing: 0.02em;
}
.pt-kpi .d {
  font-size: 11px; color: var(--subhead); font-weight: 700;
  margin-top: 8px;
}
.pt-kpi-accent {
  background: var(--ink); color: #fff; border-color: var(--ink);
  background-image: radial-gradient(ellipse at 110% 0%, rgba(240,83,45,0.22) 0%, transparent 55%);
}
.pt-kpi-accent .l { color: rgba(255,255,255,0.5); }
.pt-kpi-accent .v .big { color: var(--brand-orange); }
.pt-kpi-accent .v .suf { color: rgba(255,255,255,0.6); }
.pt-kpi-accent .d { color: rgba(255,255,255,0.6); }

/* =================== HERO STRIP =================== */
.pt-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 18px 20px 22px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.pt-strip-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 18px;
}
.pt-strip-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45); font-weight: 700;
  text-transform: uppercase;
}
.pt-strip-title {
  font-family: 'Nexa', sans-serif;
  font-weight: 900; font-size: 18px;
  letter-spacing: -0.01em;
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 10px;
}
.pt-pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(240,83,45,0.6);
  animation: pt-pulse-ring 1.8s infinite;
}
@keyframes pt-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(240,83,45,0.7); }
  100% { box-shadow: 0 0 0 14px rgba(240,83,45,0); }
}

.pt-strip-meta { display: flex; gap: 28px; }
.pt-strip-meta-cell .lbl {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 800;
}
.pt-strip-meta-cell .val {
  font-family: 'Rift Soft', sans-serif;
  font-size: 24px;
  color: var(--brand-orange);
  margin-top: 4px;
  line-height: 1;
}
.pt-strip-meta-cell .val.small { font-size: 14px; line-height: 1.2; color: #fff; }
.pt-strip-meta-cell .val.small span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.pt-strip-rows {
  display: flex; flex-direction: column;
  gap: 4px;
}
.pt-strip-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: stretch;
}
.pt-strip-row .rlbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 700;
  padding-top: 8px;
}
.pt-strip-row .rbars {
  display: flex; align-items: flex-end;
  gap: 1px;
  position: relative;
  height: 64px;
  padding: 0;
}
.pt-strip-row.pt-row-activity .rbars { height: 48px; }
.pt-strip-row.pt-row-conf .rbars { height: 70px; margin-top: 8px; }

.pt-strip-row .rbars .bar {
  flex: 1;
  background: rgba(255,255,255,0.18);
  border-radius: 1px 1px 0 0;
  min-height: 2px;
}
.pt-strip-row .rbars .cbar {
  flex: 1;
  border-radius: 1px 1px 0 0;
  min-height: 2px;
  background: rgba(255,255,255,0.12);
}
.pt-strip-row .rbars .cbar.med { background: rgba(255,255,255,0.22); }
.pt-strip-row .rbars .cbar.high { background: var(--brand-orange); }
.pt-strip-row .threshold {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(65% - 1px);
  border-top: 1px dashed rgba(240,83,45,0.45);
  pointer-events: none;
}
.pt-strip-row .threshold span {
  position: absolute;
  right: 0;
  top: -16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.06em;
  color: rgba(240,83,45,0.8); font-weight: 700;
  background: var(--ink);
  padding: 0 4px;
}
.pt-strip-row .pin {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.18);
  transform: translateX(-50%);
  pointer-events: auto;
}
.pt-strip-row .pin::before {
  content: ""; position: absolute;
  top: -4px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--ok);
  border: 2px solid var(--ink);
  z-index: 2;
}
.pt-strip-row .pin.fp::before { background: var(--warn); }
.pt-strip-row .pin.live::before {
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(240,83,45,0.6);
  animation: pt-pulse-ring 1.4s infinite;
}
.pt-strip-row .pin .tag {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  background: #fff; color: var(--ink);
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  z-index: 3;
}
/* Keep tags from clipping the right edge of the strip when the pin is near 100% */
.pt-strip-row .pin[style*="left: 9"] .tag,
.pt-strip-row .pin[style*="left: 8"] .tag {
  left: auto; right: 4px; transform: none;
}
.pt-strip-row .pin:hover .tag, .pt-strip-row .pin.live .tag { opacity: 1; }

.pt-strip-row.pt-row-scale .rbars {
  position: relative;
  height: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 6px;
  align-items: flex-start;
}
.pt-strip-row.pt-row-scale .rscale span {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  transform: translateX(-50%);
  top: 6px;
}

/* =================== SECTION HEAD =================== */
.pt-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 36px 0 16px;
  gap: 20px;
}
.pt-section-head h2 {
  margin: 0;
  font-family: 'Nexa', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.pt-section-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--subhead);
}
.pt-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-orange-deep);
  text-decoration: none;
}
.pt-link:hover { color: var(--brand-orange); }

/* =================== PATTERN CARDS =================== */
.pt-patterns {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.pt-pattern {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  padding: 18px;
}
.pt-pattern-head { display: flex; justify-content: space-between; align-items: center; }
.pt-pattern-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  display: grid; place-items: center;
}
.pt-pattern h4 {
  margin: 14px 0 4px;
  font-family: 'Nexa', sans-serif;
  font-weight: 900;
  font-size: 15px;
}
.pt-pattern p {
  font-size: 12px;
  color: var(--subhead);
  margin: 0;
  line-height: 1.5;
}
.pt-pattern-spark { margin: 14px 0 12px; height: 36px; }
.pt-pattern-foot {
  display: flex; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--grey-light);
}
.pt-pattern-foot > div { display: flex; align-items: baseline; gap: 6px; }
.pt-pattern-foot .mono {
  font-family: 'Rift Soft', sans-serif;
  font-size: 18px;
}
.pt-pattern-foot small { font-size: 10px; color: var(--subhead); font-weight: 700; }

/* Switch */
.pt-switch { position: relative; display: inline-block; width: 32px; height: 18px; cursor: pointer; }
.pt-switch input { opacity: 0; width: 0; height: 0; }
.pt-switch span {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--grey-light);
  border-radius: 999px; transition: 0.2s;
}
.pt-switch span::before {
  content: ""; position: absolute;
  height: 14px; width: 14px; left: 2px; bottom: 2px;
  background: #fff; border-radius: 50%; transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pt-switch input:checked + span { background: var(--brand-orange); }
.pt-switch input:checked + span::before { transform: translateX(14px); }

/* =================== TWO-COL: SENSITIVITY + COVERAGE =================== */
.pt-twocol {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.pt-card {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pt-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-semi);
  display: flex; justify-content: space-between; align-items: baseline;
}
.pt-card-head h3 {
  margin: 0;
  font-family: 'Nexa', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.pt-card-meta { font-size: 11px; color: var(--subhead); }
.pt-card-body { padding: 20px; }

/* Sensitivity */
.pt-sens-track {
  position: relative;
  display: flex; justify-content: space-between;
  padding: 4px 0 24px;
}
.pt-sens-stop {
  position: relative; z-index: 2;
  background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
}
.pt-sens-stop .dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 3px solid var(--grey-semi);
  transition: 0.2s;
}
.pt-sens-stop .lbl {
  font-size: 11px; font-weight: 800;
  color: var(--subhead);
  letter-spacing: 0.02em;
}
.pt-sens-stop.active .dot {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(240,83,45,0.18);
}
.pt-sens-stop.active .lbl { color: var(--ink); }
.pt-sens-rail {
  position: absolute;
  left: 9px; right: 9px;
  top: 12px;
  height: 3px;
  background: var(--grey-semi);
  border-radius: 999px;
  z-index: 1;
}
.pt-sens-fill {
  position: absolute;
  top: -1px; bottom: -1px;
  width: 5px;
  background: var(--brand-orange);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: left 0.25s ease;
}

.pt-sens-curve {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0 20px;
  position: relative;
}
.pt-sens-curve svg { width: 100%; height: 90px; display: block; }
.pt-sens-legend {
  display: flex; gap: 16px;
  font-size: 11px; color: var(--subhead); font-weight: 700;
  margin-top: 4px;
}
.pt-sens-legend i {
  display: inline-block;
  width: 12px; height: 3px; border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
}

.pt-sens-readout {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.pt-sens-readout .cell {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
}
.pt-sens-readout .l {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--subhead); font-weight: 800;
}
.pt-sens-readout .v {
  font-family: 'Rift Soft', sans-serif;
  font-size: 24px;
  margin-top: 4px;
  line-height: 1;
}
.pt-sens-readout .v small {
  font-family: 'Nexa', sans-serif;
  font-size: 12px;
  color: var(--subhead);
  margin-left: 2px;
}
.pt-sens-readout .hint { font-size: 10px; color: var(--subhead); margin-top: 4px; font-weight: 700; }

/* Coverage */
.pt-cov-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: center;
}
.pt-cov-row:first-child { padding-top: 0; }
.pt-cov-row.pt-cov-foot { padding-bottom: 0; border-bottom: 0; }
.pt-cov-l {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--subhead); font-weight: 800;
}
.pt-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pt-chips .chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--grey-light);
  font-size: 11px; font-weight: 700;
  color: var(--ink-2);
  border: 1px solid transparent;
}
.pt-chips .chip.on {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-deep);
  border-color: rgba(240,83,45,0.2);
}
.pt-chips .chip.neutral { background: var(--bg); color: var(--subhead); }

.pt-hours { display: flex; gap: 2px; }
.pt-hours .hr {
  flex: 1; height: 22px;
  background: var(--grey-light);
  border-radius: 3px;
  position: relative;
}
.pt-hours .hr.on { background: var(--brand-orange-soft); }
.pt-hours .hr.on-strict { background: var(--brand-orange); }
.pt-hours .hr small {
  position: absolute;
  bottom: -16px; left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--subhead);
  letter-spacing: 0.04em;
  font-weight: 700;
}
.pt-hours-legend {
  display: flex; gap: 14px; margin-top: 20px;
  font-size: 11px; color: var(--subhead); font-weight: 700;
}
.pt-hours-legend i {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
}
.pt-hours-legend i.on { background: var(--brand-orange-soft); }
.pt-hours-legend i.on-strict { background: var(--brand-orange); }

/* =================== TABS =================== */
.pt-tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--grey-semi); border-radius: 999px; padding: 3px; }
.pt-tabs button {
  padding: 6px 12px;
  border: 0; background: transparent;
  border-radius: 999px;
  font-family: 'Nexa', sans-serif;
  font-size: 11px; font-weight: 800;
  color: var(--subhead);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.pt-tabs button.active { background: var(--ink); color: #fff; }

/* =================== DETECTIONS TABLE =================== */
.pt-detect-table {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pt-detect-head, .pt-detect-row {
  display: grid;
  grid-template-columns: 100px 110px 1.4fr 1.6fr 1.2fr 70px 1.3fr 80px;
  gap: 14px;
  padding: 12px 18px;
  align-items: center;
}
.pt-detect-head {
  background: var(--bg);
  border-bottom: 1px solid var(--grey-semi);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--subhead); font-weight: 800;
}
.pt-detect-row {
  border-bottom: 1px solid var(--grey-light);
  font-size: 12px;
  cursor: pointer;
}
.pt-detect-row:last-child { border-bottom: 0; }
.pt-detect-row:hover { background: var(--bg); }
.pt-detect-row.live {
  background: linear-gradient(90deg, rgba(240,83,45,0.06), transparent 60%);
}
.pt-detect-row .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}
.pt-detect-row small { display: block; color: var(--subhead); font-weight: 400; margin-top: 2px; font-size: 11px; }
.pt-live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand-orange);
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(240,83,45,0.6);
  animation: pt-pulse-ring 1.4s infinite;
}
.pt-conf { display: flex; align-items: center; gap: 8px; }
.pt-conf-bar {
  flex: 1;
  height: 6px;
  background: var(--grey-light);
  border-radius: 999px;
  overflow: hidden;
}
.pt-conf-bar span {
  display: block;
  height: 100%;
  background: var(--brand-orange);
  border-radius: 999px;
}
.pt-outcome {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pt-outcome.tp { background: rgba(20,184,106,0.14); color: #0f8a4f; }
.pt-outcome.fp { background: rgba(224,138,0,0.16); color: #a06a00; }
.pt-outcome.unreviewed { background: var(--grey-light); color: var(--subhead); }

.pt-review { display: flex; gap: 4px; }
.pt-review button {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--grey-semi);
  background: var(--surface);
  cursor: pointer;
  display: grid; place-items: center;
}
.pt-review button.ok { color: var(--ok); }
.pt-review button.ok:hover { background: rgba(20,184,106,0.1); border-color: var(--ok); }
.pt-review button.no { color: var(--danger); }
.pt-review button.no:hover { background: rgba(217,59,59,0.1); border-color: var(--danger); }

/* =================== ROUTING =================== */
.pt-routing {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}
.pt-route-col {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  padding: 4px 20px;
}
.pt-route-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--grey-semi);
  align-items: flex-start;
}
.pt-route-step:last-child { border-bottom: 0; }
.pt-route-num {
  font-family: 'Rift Soft', sans-serif;
  font-size: 28px;
  color: var(--brand-orange);
  line-height: 1;
}
.pt-route-body h5 {
  margin: 0 0 4px;
  font-family: 'Nexa', sans-serif; font-weight: 900;
  font-size: 14px;
}
.pt-route-body p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--subhead);
}
.pt-route-time {
  margin-top: 10px;
  font-size: 11px;
  color: var(--subhead);
}
.pt-route-time .mono {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--ink-2);
}

.pt-route-aside { display: flex; flex-direction: column; gap: 14px; }
.pt-route-card {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.pt-route-card-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--subhead); font-weight: 700;
}
.pt-route-card-v {
  font-family: 'Rift Soft', sans-serif;
  font-size: 22px;
  margin-top: 8px;
  line-height: 1;
}
.pt-route-card-d {
  font-size: 11px;
  color: var(--subhead);
  margin-top: 8px;
  line-height: 1.4;
}
.pt-route-card-people { display: flex; margin-top: 10px; }
.pt-route-card-people .ava {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F0532D, #f8a37b);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 11px;
  border: 2px solid #fff;
  margin-left: -8px;
}
.pt-route-card-people .ava:first-child { margin-left: 0; }
.pt-route-card-people .ava:nth-child(2) { background: linear-gradient(135deg, #2D6BD6, #6fa7e8); }
.pt-route-card-people .ava:last-child { background: var(--bg); color: var(--subhead); }

/* =================== MODEL CARD =================== */
.pt-model {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pt-model-meta, .pt-model-features {
  background: var(--surface);
  border: 1px solid var(--grey-semi);
  border-radius: var(--r-lg);
  padding: 8px 20px;
}
.pt-mm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 12px;
}
.pt-mm-row:last-child { border-bottom: 0; }
.pt-mm-row .l {
  color: var(--subhead);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.pt-mm-row .v {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}
.pt-mm-row .v.mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; }

.pt-mf-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--subhead); font-weight: 700;
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--grey-light);
}
.pt-mf-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 12px;
}
.pt-mf-row:last-child { border-bottom: 0; }
.pt-mf-row .l { font-weight: 800; color: var(--ink); }
.pt-mf-row .d { color: var(--subhead); }

/* =================== FOOTNOTE =================== */
.pt-footnote {
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px dashed var(--grey-semi);
  border-radius: 12px;
  display: flex; gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--subhead);
  line-height: 1.5;
}
.pt-footnote > svg { color: var(--brand-orange); flex-shrink: 0; margin-top: 1px; }
