:root {
  --tpt-bg: #0f1a1c;
  --tpt-bg-deep: #0b1416;
  --tpt-bg-2: #132326;
  --tpt-surface: #16262a;
  --tpt-surface-2: #1a2f33;
  --tpt-ink: #e6f0f1;
  --tpt-muted: #9fb3b5;
  --tpt-accent: #1f8a8c;
  --tpt-lift: #4fc3c4;
  --tpt-accent2: #e2703a;
  --tpt-line: #223c40;
  --tpt-line-strong: #2d5054;
  --tpt-glow: rgba(31, 138, 140, 0.16);
  --tpt-glow-warm: rgba(226, 112, 58, 0.12);
  --tpt-shade: rgba(0, 0, 0, 0.42);
  --tpt-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --tpt-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --tpt-max: 1120px;
  --tpt-gap: 14px;
  --tpt-edge: 18px;
  color-scheme: dark;
  scroll-behavior: smooth;
}

.tpt-mast-inner,
.tpt-bento-grid,
.tpt-tile,
.tpt-cap-btn,
.tpt-cap-body p,
.tpt-spec-scroll,
.tpt-filter-input,
.tpt-dispatch-inner,
.tpt-pp-wrap {
  box-sizing: border-box;
}

body.tpt-body {
  margin: 0;
  background: var(--tpt-bg);
  color: var(--tpt-ink);
  font-family: var(--tpt-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

section[id] { scroll-margin-top: 92px; }

:focus-visible {
  outline: 2px solid var(--tpt-accent2);
  outline-offset: 3px;
  border-radius: 2px;
}

.tpt-skip {
  position: absolute;
  left: var(--tpt-edge);
  top: 10px;
  z-index: 60;
  transform: translateY(-180%);
  background: var(--tpt-accent2);
  color: var(--tpt-bg-deep);
  font-family: var(--tpt-mono);
  font-size: 0.78rem;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 160ms ease;
}

.tpt-skip:focus { transform: translateY(0); }

.tpt-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--tpt-bg-deep);
  border-bottom: 1px solid var(--tpt-line);
}

.tpt-mast-inner {
  max-width: var(--tpt-max);
  margin: 0 auto;
  padding: 12px var(--tpt-edge);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tpt-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--tpt-lift);
  text-decoration: none;
}

.tpt-mark-glyph {
  width: 30px;
  height: auto;
  flex: none;
  overflow: visible;
}

.tpt-mark-word {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  color: var(--tpt-ink);
}

.tpt-mark-suffix {
  font-family: var(--tpt-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--tpt-muted);
  margin-left: 7px;
  text-transform: uppercase;
}

.tpt-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tpt-nav-link {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--tpt-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tpt-muted);
  text-decoration: none;
  padding: 7px 10px;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.tpt-nav-link:hover,
.tpt-nav-link:focus-visible {
  color: var(--tpt-lift);
  border-bottom-color: var(--tpt-accent);
}

.tpt-main { display: block; }

.tpt-bento { padding: 34px var(--tpt-edge) 26px; }

.tpt-bento-grid {
  max-width: var(--tpt-max);
  margin: 0 auto;
  display: grid;
  gap: var(--tpt-gap);
  grid-template-columns: 1fr;
}

.tpt-tile {
  background: var(--tpt-surface);
  border: 1px solid var(--tpt-line);
  border-radius: 3px;
  padding: 22px;
}

.tpt-tile--lead {
  background-image: linear-gradient(146deg, var(--tpt-surface-2), var(--tpt-surface) 58%);
  border-color: var(--tpt-line-strong);
  box-shadow: inset 0 0 0 1px var(--tpt-glow), 0 14px 34px -26px var(--tpt-shade);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px 28px;
}

.tpt-tile--std { border-left: 3px solid var(--tpt-accent); }

.tpt-tile--where { border-left: 3px solid var(--tpt-accent2); }

.tpt-eyebrow {
  font-family: var(--tpt-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--tpt-accent2);
  margin: 0 0 14px;
}

.tpt-headline {
  font-size: clamp(1.85rem, 6.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0 0 16px;
}

.tpt-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
  max-width: 56ch;
  color: var(--tpt-ink);
}

.tpt-tile-h {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--tpt-line-strong);
}

.tpt-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.tpt-strip-item {
  position: relative;
  padding-left: 15px;
  font-family: var(--tpt-mono);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--tpt-muted);
}

.tpt-strip-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--tpt-accent);
}

.tpt-tile-p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--tpt-muted);
}

.tpt-link {
  color: var(--tpt-lift);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 160ms ease;
}

.tpt-link:hover,
.tpt-link:focus-visible { color: var(--tpt-accent2); }

.tpt-link--mono {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--tpt-mono);
  font-size: 0.8rem;
  word-break: break-word;
}

.tpt-cap { padding: 16px var(--tpt-edge) 34px; }

.tpt-cap-head {
  max-width: var(--tpt-max);
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tpt-section-h {
  font-size: clamp(1.32rem, 3.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 0;
}

.tpt-section-h--tight { margin-bottom: 10px; }

.tpt-bulk {
  font-family: var(--tpt-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tpt-muted);
  background: transparent;
  border: 1px solid var(--tpt-line-strong);
  border-radius: 2px;
  padding: 9px 13px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.tpt-bulk:hover {
  color: var(--tpt-lift);
  border-color: var(--tpt-accent);
}

.tpt-bulk[aria-pressed="true"] {
  color: var(--tpt-lift);
  border-color: var(--tpt-accent);
  background-color: var(--tpt-glow);
}

.tpt-cap-grid {
  max-width: var(--tpt-max);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.tpt-cap-card {
  background: var(--tpt-bg-2);
  border: 1px solid var(--tpt-line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.tpt-cap-card--open {
  background: var(--tpt-surface);
  border-color: var(--tpt-line-strong);
}

.tpt-cap-h {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.tpt-cap-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
}

.tpt-cap-key {
  font-family: var(--tpt-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--tpt-accent2);
  min-width: 6.8ch;
  text-transform: uppercase;
}

.tpt-cap-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1.35;
}

.tpt-cap-sign {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}

.tpt-cap-sign::before,
.tpt-cap-sign::after {
  content: "";
  position: absolute;
  background: var(--tpt-lift);
  transition: transform 220ms ease, opacity 220ms ease;
}

.tpt-cap-sign::before {
  left: 0;
  top: 7px;
  width: 15px;
  height: 1.5px;
}

.tpt-cap-sign::after {
  left: 7px;
  top: 0;
  width: 1.5px;
  height: 15px;
}

.tpt-cap-card--open .tpt-cap-sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.tpt-cap-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 260ms ease, visibility 0s linear 260ms;
}

.tpt-cap-card--open .tpt-cap-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 260ms ease, visibility 0s linear 0s;
}

.tpt-cap-body {
  overflow: hidden;
  min-height: 0;
}

.tpt-cap-body p {
  margin: 0 0 12px;
  padding: 0 18px;
  color: var(--tpt-muted);
  font-size: 0.89rem;
  line-height: 1.68;
  max-width: 72ch;
}

.tpt-cap-body p:last-child { margin-bottom: 18px; }

.tpt-spec { padding: 12px var(--tpt-edge) 34px; }

.tpt-spec > .tpt-section-h,
.tpt-spec > .tpt-spec-note,
.tpt-spec > .tpt-filter,
.tpt-spec > .tpt-filter-count,
.tpt-spec > .tpt-spec-scroll {
  max-width: var(--tpt-max);
  margin-left: auto;
  margin-right: auto;
}

.tpt-spec-note {
  color: var(--tpt-muted);
  font-size: 0.88rem;
  margin: 11px auto 18px;
  max-width: 64ch;
}

.tpt-spec-scroll {
  overflow-x: auto;
  border: 1px solid var(--tpt-line);
  border-radius: 3px;
  background: var(--tpt-bg-2);
}

.tpt-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
}

.tpt-table-cap {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  font-family: var(--tpt-mono);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  color: var(--tpt-muted);
  border-bottom: 1px solid var(--tpt-line);
}

.tpt-th {
  font-family: var(--tpt-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--tpt-accent2);
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
  border-bottom: 1px solid var(--tpt-line-strong);
}

.tpt-td {
  text-align: left;
  font-weight: 400;
  padding: 13px 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  vertical-align: top;
  border-bottom: 1px solid var(--tpt-line);
  color: var(--tpt-ink);
}

.tpt-td--key {
  font-family: var(--tpt-mono);
  font-size: 0.79rem;
  color: var(--tpt-lift);
  white-space: nowrap;
}

.tpt-td--soft { color: var(--tpt-muted); }

.tpt-table tbody tr:last-child .tpt-td { border-bottom: 0; }

.tpt-dispatch { padding: 6px var(--tpt-edge) 48px; }

.tpt-dispatch-inner {
  max-width: var(--tpt-max);
  margin: 0 auto;
  padding: 24px 22px;
  border: 1px solid var(--tpt-line-strong);
  border-left: 3px solid var(--tpt-accent2);
  border-radius: 3px;
  background-image: linear-gradient(120deg, var(--tpt-surface), var(--tpt-bg-2) 70%);
  display: grid;
  gap: 20px;
}

.tpt-dispatch-p {
  margin: 0;
  color: var(--tpt-muted);
  font-size: 0.92rem;
  line-height: 1.68;
  max-width: 62ch;
}

.tpt-dispatch-act {
  display: grid;
  gap: 11px;
  align-content: start;
  justify-items: start;
  border-top: 1px solid var(--tpt-line);
  padding-top: 17px;
}

.tpt-dispatch-list {
  margin: 0;
  padding-left: 18px;
  color: var(--tpt-muted);
  font-size: 0.9rem;
  line-height: 1.66;
}

.tpt-dispatch-list li { margin-bottom: 5px; }

.tpt-dispatch-to {
  margin: 0;
  font-family: var(--tpt-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tpt-muted);
}

.tpt-dispatch-note {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--tpt-muted);
  max-width: 46ch;
}

.tpt-cta {
  font-family: var(--tpt-mono);
  font-size: 0.84rem;
  padding: 12px 15px;
  border: 1px solid var(--tpt-accent);
  border-radius: 2px;
  color: var(--tpt-lift);
  text-decoration: none;
  word-break: break-word;
  transition: background-color 160ms ease, color 160ms ease;
}

.tpt-cta:hover,
.tpt-cta:focus-visible { background-color: var(--tpt-glow); }

.tpt-filter {
  border: 0;
  border-top: 1px solid var(--tpt-line);
  padding: 15px 0 0;
  margin: 0 auto 11px;
  min-width: 0;
}

.tpt-filter-legend {
  padding: 0;
  font-family: var(--tpt-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tpt-muted);
}

.tpt-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.tpt-filter-opt {
  position: relative;
  display: inline-flex;
}

.tpt-filter-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tpt-filter-face {
  display: inline-block;
  font-family: var(--tpt-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  border: 1px solid var(--tpt-line-strong);
  border-radius: 2px;
  color: var(--tpt-muted);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.tpt-filter-input:hover + .tpt-filter-face {
  color: var(--tpt-ink);
  border-color: var(--tpt-accent2);
}

.tpt-filter-input:checked + .tpt-filter-face {
  color: var(--tpt-lift);
  border-color: var(--tpt-accent);
  background-color: var(--tpt-glow);
}

.tpt-filter-input:focus-visible + .tpt-filter-face {
  outline: 2px solid var(--tpt-accent2);
  outline-offset: 3px;
}

.tpt-filter-count {
  margin: 0 auto 13px;
  min-height: 1.25em;
  font-family: var(--tpt-mono);
  font-size: 0.72rem;
  color: var(--tpt-lift);
}

.tpt-row-out { display: none; }

.tpt-foot {
  background: var(--tpt-bg-deep);
  border-top: 1px solid var(--tpt-line-strong);
  padding: 30px var(--tpt-edge) 42px;
}

.tpt-foot-grid {
  max-width: var(--tpt-max);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.tpt-foot-name {
  margin: 0 0 9px;
  font-size: 0.95rem;
  font-weight: 600;
}

.tpt-foot-addr {
  font-style: normal;
  font-family: var(--tpt-mono);
  font-size: 0.79rem;
  line-height: 1.72;
  color: var(--tpt-muted);
}

.tpt-foot-reg {
  margin: 0 0 9px;
  font-family: var(--tpt-mono);
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--tpt-muted);
}

.tpt-pp-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px var(--tpt-edge) 46px;
}

.tpt-pp-back {
  font-family: var(--tpt-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tpt-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--tpt-line-strong);
  padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}

.tpt-pp-back:hover,
.tpt-pp-back:focus-visible {
  color: var(--tpt-lift);
  border-color: var(--tpt-accent);
}

.tpt-pp-title {
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 26px 0 8px;
}

.tpt-pp-org {
  font-family: var(--tpt-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--tpt-accent2);
  margin: 0 0 22px;
}

.tpt-pp-intro {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--tpt-ink);
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 3px solid var(--tpt-accent);
  background: var(--tpt-bg-2);
  border-radius: 0 3px 3px 0;
}

.tpt-pp-sec {
  margin: 0 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--tpt-line);
}

.tpt-pp-key {
  display: inline-block;
  font-family: var(--tpt-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--tpt-accent2);
  margin-bottom: 6px;
}

.tpt-pp-h2 {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  margin: 0 0 12px;
}

.tpt-pp-h3 {
  font-family: var(--tpt-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--tpt-lift);
  margin: 20px 0 8px;
}

.tpt-pp-p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--tpt-muted);
}

.tpt-pp-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--tpt-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.tpt-pp-list li { margin-bottom: 7px; }

.tpt-pp-contact {
  font-family: var(--tpt-mono);
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--tpt-muted);
  margin: 0;
}

.tpt-nav { min-width: 0; }

.tpt-dispatch-copy { min-width: 0; }

.tpt-foot-block { min-width: 0; }

@media (min-width: 560px) {
  .tpt-mast-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px var(--tpt-edge);
  }
  .tpt-dispatch-inner { padding: 28px 26px; }
}

@media (min-width: 720px) {
  :root { --tpt-edge: 26px; --tpt-gap: 16px; }
  .tpt-bento-grid { grid-template-columns: repeat(4, 1fr); }
  .tpt-tile--lead { grid-column: span 4; }
  .tpt-tile--in { grid-column: span 2; }
  .tpt-tile--out { grid-column: span 2; }
  .tpt-tile--where { grid-column: span 2; }
  .tpt-tile--std { grid-column: span 2; }
  .tpt-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .tpt-cap-card:last-child { grid-column: 1 / -1; }
  .tpt-foot-grid { grid-template-columns: repeat(3, 1fr); }
  .tpt-bento { padding-top: 46px; }
  .tpt-tile { padding: 24px; }
}

@media (min-width: 1024px) {
  .tpt-bento-grid { grid-template-columns: repeat(6, 1fr); }
  .tpt-tile--lead {
    grid-column: span 4;
    grid-row: span 2;
    padding: 40px 36px;
  }
  .tpt-tile--in { grid-column: span 2; }
  .tpt-tile--out { grid-column: span 2; }
  .tpt-tile--where { grid-column: span 3; }
  .tpt-tile--std { grid-column: span 3; }
  .tpt-dispatch-inner {
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
    gap: 34px;
    padding: 32px 34px;
  }
  .tpt-cap-body p { font-size: 0.91rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
