/* Interior pages — same tokens as brand/app, task-first layouts */
.title-band {
  position: relative;
  isolation: isolate;
  min-height: clamp(280px, 38vw, 440px);
  display: flex;
  align-items: center;
  overflow: clip;
  color: #fff7f4;
  background: #1a080c;
}
.title-band-media,
.title-band-scrim { position: absolute; inset: 0; }
.title-band-media picture,
.title-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
}
.title-band-media img {
  animation: titleBandReveal 1.1s ease-out both;
}
.title-band-scrim {
  background:
    linear-gradient(90deg, rgba(18, 6, 9, .88) 0%, rgba(87, 0, 12, .58) 34%, rgba(18, 6, 9, .18) 68%, rgba(18, 6, 9, .1) 100%),
    linear-gradient(180deg, rgba(18, 6, 9, .28) 0%, rgba(18, 6, 9, .06) 48%, rgba(18, 6, 9, .46) 100%);
}
.title-band-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 58rem);
  margin-right: auto;
  padding: clamp(88px, 10vw, 128px) clamp(8px, 2vw, 28px) clamp(40px, 5vw, 64px);
}
.title-band-crumbs { margin: 0 0 16px; }
.title-band-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.title-band-crumbs li { display: inline-flex; align-items: center; color: #f0c8cf; }
.title-band-crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: rgba(255, 255, 255, .35);
}
.title-band-crumbs a { color: #ffd6dc; text-decoration: none; }
.title-band-crumbs a:hover { color: #fff; }
.title-band-crumbs [aria-current="page"] { color: #fff; }
.title-band .eyebrow.light { color: #ffb3c0; }
.title-band .eyebrow.light::before { background: #ffb3c0; }
.title-band h1 {
  max-width: 18ch;
  margin: 0 0 12px;
  font-family: Archivo, var(--sans);
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: .96;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(10, 2, 4, .35);
}
.title-band p {
  max-width: 58ch;
  margin: 0;
  color: #f3d5da;
  font-size: clamp(15px, 1.6vw, 18px);
  text-wrap: pretty;
}
.title-band .hero-actions { margin-top: 20px; }
.title-band .hero-actions .button {
  background: #fff;
  color: var(--crimson-deep);
  border-color: #fff;
}

.title-band.is-track .title-band-scrim {
  background:
    linear-gradient(105deg, rgba(12, 3, 6, .94) 0%, rgba(87, 0, 12, .78) 36%, rgba(12, 3, 6, .48) 62%, rgba(12, 3, 6, .34) 100%),
    linear-gradient(180deg, rgba(12, 3, 6, .42) 0%, rgba(12, 3, 6, .16) 46%, rgba(12, 3, 6, .58) 100%);
}
.title-band.is-track .title-band-copy {
  width: min(100%, 40rem);
  max-width: 40rem;
  padding-right: clamp(16px, 3vw, 36px);
}
.title-band.is-track h1,
.title-band.is-track p,
.title-band.is-track .eyebrow.light,
.title-band.is-track .title-band-crumbs li,
.title-band.is-track .title-band-crumbs a,
.title-band.is-track .title-band-crumbs [aria-current="page"] {
  color: #fff;
  text-shadow: 0 2px 18px rgba(8, 2, 4, .55);
}
.title-band.is-track .eyebrow.light { color: #ffd0d8; }
.title-band.is-track .eyebrow.light::before { background: #ffd0d8; }
.title-band.is-track p { color: #fff1f3; }
.title-band.is-track:has(.tt-search) {
  min-height: clamp(380px, 52vw, 560px);
  align-items: flex-end;
}
.title-band-extra { margin-top: 22px; }
.title-band.is-track .tt-search {
  max-width: 100%;
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 16px 40px rgba(8, 2, 4, .35);
}
.title-band.is-track .tt-search input {
  color: var(--ink);
  caret-color: var(--crimson-deep);
}
.title-band.is-track .tt-search input::placeholder {
  color: #6d6562;
  opacity: 1;
}
.title-band.is-track .tt-error {
  margin-top: 16px;
  max-width: 100%;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #e4d5c6;
  border-left: 4px solid var(--crimson-deep);
  text-shadow: none;
}
.title-band.is-track .tt-error strong { color: var(--crimson-deep); }
.title-band.is-track .tt-error p { color: var(--muted); max-width: none; }

.tt-search-band {
  padding: 22px 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.tt-search-band .tt-error {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.tt-search-band .tt-error p { color: var(--muted); }

@keyframes titleBandReveal {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

.inner-hero { position: relative; overflow: visible; }
.portal-track-map { margin: 22px 0 8px; }
.editorial-photo {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 0 72px 16px 16px;
}
.editorial-photo img,
.editorial-gallery img,
.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-photo picture,
.editorial-gallery picture,
.panel-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.editorial-photo img { height: min(52vw, 420px); }
.editorial-photo figcaption,
.editorial-gallery figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 13px;
}
.editorial-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  margin: 0 0 32px;
}
.editorial-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; }
.editorial-gallery img { height: min(42vw, 280px); }
.panel-photo {
  margin: 0 0 14px;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
}
.article-body section { max-width: 68ch; margin-bottom: 22px; }
.article-body h2 { margin: 0 0 8px; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; }
.article-body p { margin: 0; color: var(--muted); }
.inner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.plain-list { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.checklist b { color: var(--crimson); letter-spacing: .12em; }
.article-body { max-width: 68ch; }
.article-body section { padding: 22px 0; border-top: 1px solid var(--line); }
.article-body h2 { font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: -.03em; }
.article-body p { color: var(--muted); text-wrap: pretty; }
.help-search {
  display: flex; gap: 10px; margin: 8px 0 28px;
}
.help-search input {
  flex: 1; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.help-group { margin: 28px 0 12px; font-size: 18px; text-transform: uppercase; letter-spacing: -.02em; }
.facility-filter {
  width: min(420px, 100%); min-height: 48px; margin: 0 0 22px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.compare-wrap { margin: 12px 0 32px; }
.compare-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.compare-filters button {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.compare-filters button.is-active { background: var(--crimson-deep); color: #fff; border-color: var(--crimson-deep); }
.compare-table a { font-weight: 700; color: var(--crimson-deep); }
.compare-table tbody tr { transition: background .2s ease; }
.compare-table tbody tr:hover { background: var(--rose); }
.channel-grid, .related-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 28px; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.alert-empty { padding: 32px; }
.tt-help-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}
.tt-help-grid article {
  padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
}
.tt-help-grid h2 { font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.tt-help-grid p { color: var(--muted); font-size: 14px; }
.glossary-stage { padding-bottom: 72px; }

.tt-console-search {
  padding: 16px 0 18px;
  background:
    linear-gradient(180deg, #efe4d6 0%, #f3ebe1 100%);
  border-bottom: 1px solid #e4d5c6;
  color: var(--ink);
}
.tt-console-search .tt-search {
  background: #fff;
  border: 1px solid #e4d5c6;
  box-shadow: var(--shadow-sm);
}
.tt-console-search .tt-search input {
  color: var(--ink);
}
.tt-console-search .tt-search input::placeholder {
  color: #6d6562;
  opacity: 1;
}
.tt-console-search .tt-error {
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #e4d5c6;
  border-left: 4px solid var(--crimson-deep);
}
.tt-console-search .tt-error p { color: var(--muted); }

.tt-empty-desk {
  padding: clamp(28px, 4vw, 52px) 0 80px;
  background:
    radial-gradient(1200px 420px at 12% -10%, color-mix(in srgb, var(--crimson) 12%, transparent), transparent 58%),
    linear-gradient(180deg, #efe4d6 0%, #f3ebe1 28%, #f7f1ea 100%);
  color: var(--ink);
}
.tt-empty-head {
  margin: 0 0 8px;
}
.tt-empty-head h2 {
  margin: 0 0 12px;
  font-family: Archivo, var(--sans);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.tt-empty-head .micro-label { color: var(--crimson-dark); letter-spacing: .16em; }
.tt-empty-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tt-empty-keys li {
  padding: 6px 12px;
  border: 1px solid #e4d5c6;
  border-radius: 999px;
  background: #fffdf8;
  color: var(--crimson-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tt-empty-desk .tt-help-grid,
.tt-console-search .tt-help-grid {
  grid-template-columns: 1fr 1fr;
}
.tt-empty-desk .tt-help-grid h2,
.tt-empty-desk .tt-help-grid p,
.tt-empty-desk .tt-help-grid a {
  color: inherit;
}
.tt-empty-desk .tt-help-grid h2 { color: var(--crimson-deep); }
.tt-empty-desk .tt-help-grid p { color: var(--muted); }
.tt-empty-desk .tt-help-grid a { color: var(--crimson-deep); }
.tt-empty-desk .track-hint { margin-top: 12px; }
.tt-empty-desk .track-hint a,
.tt-empty-desk .text-link { color: var(--crimson-deep); }
body.is-interior .tt-empty-desk .tt-help-grid {
  perspective: none;
  padding-bottom: 0;
}
body.is-interior .tt-empty-desk .tt-help-grid article {
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #e4d5c6;
  transform: none;
  margin-top: 0;
  box-shadow: var(--shadow-sm);
}
body.is-interior .tt-empty-desk .tt-help-grid > :nth-child(n) {
  margin-top: 0;
}
body.is-interior .tt-empty-desk .tt-help-grid article::after {
  content: none;
}

.tt-console {
  --desk-paper: #f3ebe1;
  --desk-card: #fffdf8;
  --desk-rule: #e4d5c6;
  --desk-teal: #0f6b63;
  --desk-teal-soft: #d8efec;
  --desk-amber: #c47a12;
  --desk-amber-soft: #f8e6c4;
  --desk-good: #14754e;
  --desk-bad: #a6001c;
  padding: clamp(28px, 4vw, 56px) 0 80px;
  background:
    radial-gradient(1200px 420px at 12% -10%, color-mix(in srgb, var(--crimson) 16%, transparent), transparent 58%),
    radial-gradient(900px 380px at 92% 8%, color-mix(in srgb, var(--desk-teal) 14%, transparent), transparent 52%),
    linear-gradient(180deg, #efe4d6 0%, var(--desk-paper) 28%, #f7f1ea 100%);
}
.tt-console .tt-head {
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--desk-rule);
}
.tt-console .micro-label { color: var(--crimson-dark); letter-spacing: .16em; }
.tt-stepper {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.tt-stepper li {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, #fff 70%, var(--desk-paper));
  border: 1px solid var(--desk-rule);
  color: var(--muted);
}
.tt-stepper b { font-size: 11px; letter-spacing: .14em; color: var(--crimson); }
.tt-stepper span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.tt-stepper .is-done { background: var(--desk-teal-soft); border-color: color-mix(in srgb, var(--desk-teal) 28%, var(--desk-rule)); color: var(--desk-teal); }
.tt-stepper .is-current {
  background: var(--crimson-deep);
  border-color: var(--crimson-deep);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--crimson-deep) 28%, transparent);
}
.tt-stepper .is-current b { color: #ffc0ce; }
.tt-console .tt-summary {
  margin-top: 18px;
  background: var(--desk-card);
  border: 1px solid var(--desk-rule);
  border-radius: 16px;
  overflow: hidden;
  transform: none;
}
.tt-console .tt-summary div { border-left-color: var(--desk-rule); }
.tt-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.tt-kpi {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 108px;
  padding: 12px 14px 12px 10px;
  background: var(--desk-card);
  border: 1px solid var(--desk-rule);
  border-radius: 16px;
}
.tt-kpi small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.tt-kpi strong { display: block; font-size: 20px; letter-spacing: -.03em; line-height: 1.1; }
.tt-kpi span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.35; }
.tt-gauge { width: 72px; height: 72px; }
.tt-gauge-track, .tt-gauge-value { fill: none; stroke-width: 7; }
.tt-gauge-track { stroke: var(--desk-rule); }
.tt-gauge-value { stroke: var(--crimson); stroke-linecap: round; }
.tt-kpi.is-teal .tt-gauge-value { stroke: var(--track-accent, var(--desk-teal)); }
.tt-kpi.is-good .tt-gauge-value { stroke: var(--desk-good); }
.tt-kpi.is-amber .tt-gauge-value, .tt-kpi.is-warn .tt-gauge-value { stroke: var(--desk-amber); }
.tt-kpi.is-bad .tt-gauge-value { stroke: var(--desk-bad); }
.tt-kpi.is-ink .tt-gauge-value { stroke: var(--ink); }
.tt-desk-mark { display: block; width: 48px; height: 48px; object-fit: contain; margin-bottom: 8px; }
.tt-console .tt-live.tt-desk {
  margin-top: 22px;
  padding: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--crimson-deep) 88%, #12080a), #1b0b10);
  border: 1px solid color-mix(in srgb, #fff 10%, transparent);
  border-radius: 20px;
}
.tt-console .tt-telemetry {
  margin-top: 8px;
  padding: 4px 10px 12px;
  border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 16px;
}
.tt-console .tt-telemetry small { display: block; color: color-mix(in srgb, #fff 62%, transparent); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tt-console .tt-telemetry strong { color: #fff; font-size: 14px; }
.tt-ship-timeline {
  margin-top: 16px;
  padding: 16px 18px 8px;
}
.tt-ship-timeline .tt-timeline {
  --spine: #57000C;
}
.tt-ship-timeline .tt-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 88px 22px minmax(0, 1fr);
  gap: 0 16px;
  align-items: stretch;
}
.tt-ship-timeline .tt-timeline time {
  text-align: right;
  padding-top: 14px;
  min-width: 0;
}
.tt-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding-top: 18px;
}
.tt-spine-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--spine, #57000C);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--spine, #57000C) 16%, #fff);
  flex: 0 0 auto;
  z-index: 1;
}
.tt-spine-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid var(--spine, #57000C);
  margin-top: 4px;
  flex: 0 0 auto;
}
.tt-spine-line {
  flex: 1 1 auto;
  width: 2px;
  min-height: 36px;
  margin-top: -1px;
  background: var(--spine, #57000C);
}
.tt-mode-icon,
.tt-mode-arrow { display: none; }
.tt-timeline.is-road .tt-mode-badge.is-warn { background: var(--desk-amber-soft); color: #7a4a00; }
.tt-console .tt-ship-timeline .tt-timeline li::before { display: none; }
.tt-mode-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tt-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cool);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tt-mode-badge.is-teal { background: var(--desk-teal-soft, #d7efec); color: var(--desk-teal); }
.tt-mode-badge.is-amber, .tt-mode-badge.is-warn { background: var(--desk-amber-soft, #f7e6c8); color: #7a4a00; }
.tt-mode-badge.is-good { background: #dcf4e9; color: var(--desk-good); }
.tt-mode-badge.is-bad { background: var(--rose); color: var(--desk-bad); }
.tt-checkpoint { display: grid; gap: 4px; margin: 8px 0 0; }
.tt-checkpoint div { display: flex; gap: 8px; font-size: 12px; }
.tt-checkpoint dt { color: var(--muted); text-transform: capitalize; min-width: 9ch; }
.tt-console .tt-grid.is-aside-only {
  grid-template-columns: 1fr;
}
.tt-console .tt-grid.is-aside-only .tt-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.tt-console .tt-grid.is-aside-only .tt-aside > .float-card {
  min-width: 0;
}
.tt-charts {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .9fr;
  gap: 14px;
  margin-top: 36px;
  padding-top: 8px;
}
.tt-charts-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--desk-rule);
}
.tt-charts-head h2 { margin: 2px 0 0; font-size: 18px; text-transform: uppercase; letter-spacing: -.02em; }
.tt-charts-head small { color: var(--muted); font-size: 11px; max-width: 42ch; text-align: right; }
.tt-example-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--crimson-deep) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--crimson-deep) 22%, var(--desk-rule));
  border-radius: 12px;
  color: var(--crimson-deep);
  font-size: 14px;
}
.tt-chart-card {
  padding: 16px 16px 12px;
  background: var(--desk-card);
  border: 1px solid var(--desk-rule);
  border-radius: 16px;
  min-width: 0;
}
.tt-chart-card.is-wide { grid-column: 1 / -1; }
.tt-chart-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}
.tt-chart-card h2 { margin: 2px 0 0; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.tt-chart-card small { color: var(--muted); font-size: 11px; max-width: 36ch; text-align: right; }
.tt-chart-frame { height: 220px; position: relative; }
.tt-chart-frame.is-donut { height: 180px; }
.tt-chart-frame canvas { width: 100% !important; height: 100% !important; }
.tt-mix-key { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tt-mix-key li { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--muted); }
.tt-mix-key b { font-size: 16px; color: var(--ink); }
.tt-mix-key .is-crimson b { color: var(--crimson); }
.tt-mix-key .is-teal b { color: var(--desk-teal); }
.tt-mix-key .is-amber b { color: var(--desk-amber); }
.tt-console .tt-grid { margin-top: 22px; }
.tt-console .float-card {
  background: var(--desk-card);
  border-color: var(--desk-rule);
}
.tt-console .tt-next {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--desk-teal) 16%, var(--desk-card)), var(--desk-card) 48%);
  border-color: color-mix(in srgb, var(--desk-teal) 28%, var(--desk-rule));
}
.tt-console .tt-timeline li { position: relative; }
.tt-console .tt-timeline time { color: var(--muted); }
.tt-console .tt-timeline li > div { border-bottom-color: var(--desk-rule); }
.tt-console .tt-timeline li::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--desk-teal);
  box-shadow: 0 0 0 4px var(--desk-teal-soft);
}
.tt-console .tt-timeline .is-amber::before { background: var(--desk-amber); box-shadow: 0 0 0 4px var(--desk-amber-soft); }
.tt-console .tt-timeline .is-bad::before { background: var(--desk-bad); box-shadow: 0 0 0 4px var(--rose); }
.tt-console .tt-timeline .is-good::before { background: var(--desk-good); box-shadow: 0 0 0 4px #dcf4e9; }
.tt-console .tt-timeline .is-live::before { background: var(--crimson); }
.tt-console .health-row.is-good strong { color: var(--desk-good); }
.tt-console .health-row.is-warn strong, .tt-console .health-row.is-amber strong { color: var(--desk-amber); }
.tt-console .health-row.is-bad strong { color: var(--desk-bad); }
.tt-console .health-row.is-teal strong { color: var(--desk-teal); }
.tt-console .health-bar { background: var(--desk-rule); }
.tt-console .health-row.is-teal .health-bar i { background: var(--desk-teal); }
.tt-console .health-row.is-good .health-bar i { background: var(--desk-good); }
.tt-console .health-row.is-warn .health-bar i { background: var(--desk-amber); }
.tt-glossary {
  background: linear-gradient(180deg, #f7f1ea, var(--paper));
}
.tt-glossary .milestone-board li { border-top-color: var(--desk-rule); }
body:not(.is-workspace) .tt-console .tt-summary,
body:not(.is-workspace) .tt-console .tt-kpi,
body:not(.is-workspace) .tt-console .tt-chart-card {
  transform: none;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1080px) {
  .tt-kpis { grid-template-columns: repeat(3, 1fr); }
  .tt-charts { grid-template-columns: 1fr 1fr; }
  .tt-chart-card.is-mix { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .inner-split, .channel-grid { grid-template-columns: 1fr; }
  .tt-help-grid { grid-template-columns: 1fr; }
  .tt-empty-desk .tt-help-grid,
  .tt-console-search .tt-help-grid { grid-template-columns: 1fr 1fr; }
  .help-search { flex-direction: column; }
  .title-band { min-height: 0; overflow: visible; }
  .title-band-copy { padding-top: 96px; padding-bottom: 28px; max-width: 100%; }
  .title-band-copy h1,
  .title-band h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7.4vw, 2.6rem);
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  .tt-kpis { grid-template-columns: 1fr 1fr; }
  .tt-kpi { grid-template-columns: 52px minmax(0, 1fr); min-height: 0; padding: 10px; }
  .tt-gauge { width: 52px; height: 52px; }
  .tt-stepper { grid-template-columns: 1fr 1fr; }
  .tt-charts { grid-template-columns: 1fr; }
  .tt-chart-card.is-wide, .tt-chart-card.is-mix { grid-column: auto; }
  .tt-charts-head { flex-direction: column; align-items: start; }
  .tt-charts-head small { text-align: left; }
  .tt-head-actions .button { min-height: 44px; }
  .tt-console .tt-grid.is-aside-only .tt-aside { grid-template-columns: 1fr 1fr; }
  .tt-console .tt-summary,
  .tt-console .tt-telemetry {
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
  .tt-console .tt-summary div,
  .tt-console .tt-telemetry div { min-width: 0; }
  .tt-live.tt-desk,
  .tt-console .tt-live.tt-desk { width: 100%; max-width: 100%; }
}
@media (max-width: 660px) {
  .title-band { min-height: 0; }
  .title-band-copy { padding-top: 88px; padding-bottom: 24px; }
  .editorial-gallery { grid-template-columns: 1fr; }
  .title-band h1 { max-width: 100%; font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .tt-kpis { grid-template-columns: 1fr; }
  .tt-stepper { grid-template-columns: 1fr 1fr; }
  .tt-console .tt-head { gap: 12px; }
  .tt-head-actions { width: 100%; }
  .tt-head-actions .button { flex: 1 1 calc(50% - 10px); }
  .tt-ship-timeline { padding: 12px 8px 4px; }
  .tt-ship-timeline .tt-timeline li {
    grid-template-columns: 72px 18px minmax(0, 1fr) !important;
  }
  .tt-ship-timeline .tt-timeline time {
    grid-column: auto;
    text-align: right;
    padding-top: 14px;
  }
  .tt-console .tt-timeline li::before { display: none; }
  .tt-console .tt-grid.is-aside-only .tt-aside { grid-template-columns: 1fr; }
  .tt-empty-desk .tt-help-grid,
  .tt-console-search .tt-help-grid { grid-template-columns: 1fr; }
  .title-band.is-track .title-band-copy { max-width: none; width: min(100%, 58rem); }
}
@media (max-width: 420px) {
  .tt-ship-timeline .tt-timeline li {
    grid-template-columns: 16px minmax(0, 1fr) !important;
    gap: 0 12px;
  }
  .tt-ship-timeline .tt-timeline time {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-top: 2px;
  }
  .tt-ship-timeline .tt-spine {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 8px;
  }
  .tt-ship-timeline .tt-timeline li > div { grid-column: 2; }
  .tt-stepper { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .compare-table tbody tr { transition: none; }
  .title-band-media img { animation: none; }
}
