@charset "utf-8";

/* =====================================================================
   ERGOSPHERE - TROPHY PAGES (ergodesign.html, ergobow.html)   namespaced .tr_
   Sibling of one-file.html (.of_), pricing.html (.prc_).

   One stylesheet, two pages. Each page sets a modifier on the wrapper
   (.tr_ergodesign, .tr_ergobow) that supplies its semantic colours; the
   layout, type and the callout device are shared.

   Palette
     #0a1628  deep navy     ground
     #0d1a2d  raised navy   alternating sections
     #070e1b  darkest navy  the wells (biomechanics, the trees)
     #00d4ff  site cyan     the accent. Both pages sell to every audience,
                            so the company primary, no segment accent.
     #b3efff  cyan tint     figures in mono
   ErgoDesign, from the Biomechanics window's own legend
     "Early estimate: load, % of reference strength", 0% to 100%+:
     #19a85f green  #e3d12f yellow  #f08a1d orange  #d6262b red
     Used as the section rule and on the load glyphs. Never as text.
   ErgoBow, from the diagram's barrier status legend:
     #1fa84a Satisfactory  #f0a400 Needs Attention  #d8262b Failed
     #cfd6e0 Not Verified, and the hazard box hatching #f5d400 on #111.
     Used as the section rule, the status glyphs and the hazard hatch.
   Display Poppins, body Mulish, utility IBM Plex Mono. Page rule: every
   UI name, standard, figure and file path is set in mono, so the reader
   can tell what is a word from what is a thing in the application.

   The signature device is the callout: a label beside the hero
   screenshot joined to a point on it by a hairline, the way the
   Biomechanics window labels muscles. Hovering or focusing a callout
   spotlights its region. Lines are drawn by js/ergosphere-trophy.js
   into .tr_leads; below 1100px the callouts stack under the frame and
   no lines are drawn.

   Capture frames: .tr_frame. A frame with .tr_pending shows a designed
   placeholder that names the expected file. The script tries to load
   data-shot and swaps the image in on success, so a capture goes live
   by dropping the file at the named path, no code change.

   Specificity: the theme sets heading colours with body.dark h3 (0,1,2),
   so headings are addressed as .tr_page .x (0,2,0).
   Link AFTER ergosphere-mobile.css. No inline style or script on the
   pages except the preloader failsafe. Rev 20261109.
   ===================================================================== */

.tr_page {
  --tr-ground: #0a1628;
  --tr-raised: #0d1a2d;
  --tr-well: #070e1b;
  --tr-cyan: #00d4ff;
  --tr-tint: #b3efff;
  --tr-ink: rgba(255,255,255,.80);
  --tr-mute: rgba(255,255,255,.55);
  --tr-faint: rgba(255,255,255,.38);
  --tr-line: rgba(255,255,255,.10);
  --tr-line-2: rgba(255,255,255,.16);
  --tr-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --tr-display: 'Poppins', sans-serif;
  --tr-body: 'Mulish', sans-serif;
  /* the section rule and glyph colours; each page overrides */
  --tr-rule: linear-gradient(90deg, rgba(0,212,255,0), var(--tr-cyan), rgba(0,212,255,0));
}
.tr_ergodesign {
  /* The app's own muscle load legend, sampled from the Biomechanics window
     12 Nov 2026: blue at rest, through teal, green, yellow and orange, to red. */
  --tr-l0: #2865cc; --tr-l17: #0a888a; --tr-l33: #6d9d56; --tr-l50: #d4ab0e; --tr-l67: #e48907; --tr-l83: #e16016; --tr-l100: #cf2b23;
  --tr-rule: linear-gradient(90deg, var(--tr-l0) 0%, var(--tr-l17) 17%, var(--tr-l33) 33%, var(--tr-l50) 50%, var(--tr-l67) 67%, var(--tr-l83) 83%, var(--tr-l100) 100%);
}
.tr_medical {
  /* five medical gates, UNR DIR VER VAL PMR: five cyan steps with a gap between */
  --tr-gap: #0a1628;
  --tr-rule: linear-gradient(90deg, var(--tr-cyan) 0 19.2%, var(--tr-gap) 19.2% 20.2%, rgba(0,212,255,.82) 20.2% 39.4%, var(--tr-gap) 39.4% 40.4%, rgba(0,212,255,.66) 40.4% 59.6%, var(--tr-gap) 59.6% 60.6%, rgba(0,212,255,.5) 60.6% 79.8%, var(--tr-gap) 79.8% 80.8%, rgba(0,212,255,.36) 80.8% 100%);
  --tr-gapflag: #f0a400;
}
.tr_ergobow {
  --tr-ok: #1fa84a; --tr-warn: #f0a400; --tr-fail: #d8262b; --tr-nv: #cfd6e0; --tr-hz: #f5d400;
  --tr-rule: linear-gradient(90deg, var(--tr-ok) 0 25%, var(--tr-warn) 25% 50%, var(--tr-fail) 50% 75%, var(--tr-nv) 75% 100%);
}

/* ---------- section scaffold (theme pattern: floated full-width blocks) ---------- */
.tr_section { position: relative; overflow: hidden; width: 100%; clear: both; float: left; }
.tr_ground { background: var(--tr-ground); padding: 92px 0; }
.tr_raised { background: var(--tr-raised); padding: 92px 0; }
.tr_well { background: var(--tr-well); padding: 100px 0; }
.tr_wrap { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; clear: both; }
.tr_wrap_wide { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; clear: both; }
.tr_wrap + .tr_wrap_wide, .tr_wrap_wide + .tr_wrap, .tr_wrap + .tr_wrap, .tr_wrap_wide + .tr_wrap_wide { margin-top: 48px; }

/* site chrome: the logo sizing the other pages carry inline */
.tr_page .grax_tm_topbar .logo img { max-height: 100px; }
.tr_page .grax_tm_mobile_menu .logo img { max-height: 80px; }

/* the rule between sections: the tool's own scale, 3px, full width */
.tr_rule { position: relative; width: 100%; clear: both; float: left; height: 3px; background: var(--tr-rule); opacity: .85; }
.tr_rule_cap { position: relative; width: 100%; clear: both; float: left; display: flex; justify-content: space-between; padding: 8px 24px 0; background: var(--tr-ground);
  font-family: var(--tr-mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--tr-faint); }
.tr_raised + .tr_rule + .tr_rule_cap, .tr_rule_cap.is-raised { background: var(--tr-raised); }

/* ---------- shared type ---------- */
.tr_kicker {
  display: block; font-family: var(--tr-display); font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--tr-cyan); font-weight: 500; margin-bottom: 14px;
}
.tr_page .tr_h2 {
  font-family: var(--tr-display); font-size: 32px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 2px; line-height: 1.2; margin: 0 0 24px;
}
.tr_page .tr_h2 span { color: var(--tr-cyan); }
.tr_page .tr_h3 {
  font-family: var(--tr-display); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: .2px;
  line-height: 1.3; margin: 0 0 10px;
}
.tr_essay p { font-family: var(--tr-body); font-size: 17px; line-height: 1.9; color: var(--tr-ink); margin: 0 0 22px; }
.tr_essay p:last-child { margin-bottom: 0; }
.tr_essay p strong { color: #fff; font-weight: 600; }
.tr_essay a, .tr_fact p a, .tr_pin p a { color: var(--tr-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,.4); }
.tr_essay a:hover { border-color: var(--tr-cyan); }
.tr_essay ul { list-style: none; margin: 0 0 22px; padding: 0; }
.tr_essay ul:last-child { margin-bottom: 0; }
.tr_essay ul li { position: relative; padding-left: 24px; font-size: 16.5px; line-height: 1.75; color: var(--tr-ink); margin: 0 0 9px; }
.tr_essay ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: rgba(0,212,255,.55); }

/* a thing in the application: a button, a tab, a standard, a value */
.tr_ui {
  font-family: var(--tr-mono); font-size: .86em; color: #fff; white-space: nowrap; letter-spacing: 0;
  background: rgba(255,255,255,.06); border: 1px solid var(--tr-line-2); border-radius: 4px; padding: 1px 7px 2px;
}
.tr_essay p .tr_ui, .tr_essay li .tr_ui, .tr_fact p .tr_ui, .tr_pin p .tr_ui { font-size: .84em; }

/* chips: a row of real UI names, the way the Workbook pages do it */
.tr_chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.tr_chips + .tr_chips { margin-top: 10px; }
.tr_chips_k { font-family: var(--tr-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tr-faint); margin-right: 6px; }
.tr_chip {
  font-family: var(--tr-mono); font-size: 12.5px; color: var(--tr-tint); line-height: 1;
  border: 1px solid rgba(0,212,255,.28); background: rgba(0,212,255,.06); border-radius: 4px; padding: 6px 9px 7px;
}
.tr_chip.is-dim { color: var(--tr-mute); border-color: var(--tr-line-2); background: rgba(255,255,255,.03); }
.tr_chip i { font-style: normal; color: var(--tr-mute); }

/* visible keyboard focus, page-wide */
.tr_section a:focus-visible, .tr_section button:focus-visible, .tr_section [tabindex]:focus-visible, .footer_section a:focus-visible {
  outline: 2px solid var(--tr-cyan); outline-offset: 3px; border-radius: 2px;
}

/* =====================================================================
   HERO - the tool's name, one line, and the capture with callouts
   ===================================================================== */
.tr_hero { text-align: center; padding: 160px 0 72px; background: var(--tr-ground); }
.tr_hero_glow {
  position: absolute; left: 50%; top: 58%; width: 1300px; height: 820px; transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(0,212,255,.075), rgba(0,212,255,.03) 42%, transparent 66%);
  pointer-events: none; z-index: 0;
}
.tr_page .tr_title {
  font-family: var(--tr-display); font-size: 64px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 6px; line-height: 1.05; margin: 0;
}
.tr_page .tr_title span { color: var(--tr-cyan); }
.tr_lead {
  font-family: var(--tr-display); font-weight: 300; font-style: italic; font-size: 22px;
  line-height: 1.5; color: rgba(255,255,255,.86); max-width: 760px; margin: 26px auto 0;
}
.tr_spec {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 26px auto 0; padding: 0; list-style: none;
  font-family: var(--tr-mono); font-size: 12px; letter-spacing: .3px; color: var(--tr-mute);
}
.tr_spec li { padding: 0 14px; border-left: 1px solid var(--tr-line-2); line-height: 1.5; }
.tr_spec li:first-child { border-left: 0; }
.tr_spec b { color: var(--tr-tint); font-weight: 500; }

/* ---------- the stage: callouts | frame | callouts ---------- */
.tr_stage {
  position: relative; display: grid; grid-template-columns: 240px minmax(0,1fr) 240px; gap: 0 28px;
  align-items: start; margin: 56px auto 0; text-align: left;
}
.tr_stage > .tr_frame { align-self: center; }
.tr_leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.tr_leads polyline { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 1; transition: stroke .2s; }
.tr_leads circle { fill: var(--tr-ground); stroke: rgba(255,255,255,.6); stroke-width: 1.2; transition: stroke .2s, fill .2s; }
.tr_leads .is-on polyline { stroke: var(--tr-cyan); stroke-width: 1.5; }
.tr_leads .is-on circle { stroke: var(--tr-cyan); fill: var(--tr-cyan); }

.tr_pins { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tr_pins_r .tr_pin { text-align: left; }
.tr_pin { position: relative; padding: 0; margin: 0; cursor: default; }
.tr_pin b {
  display: block; font-family: var(--tr-display); font-weight: 600; font-size: 14px; line-height: 1.35; color: #fff;
  letter-spacing: .1px; padding-top: 3px;
}
.tr_pin p { font-family: var(--tr-body); font-size: 13.5px; line-height: 1.6; color: var(--tr-mute); margin: 6px 0 0; }
.tr_pin.is-on b { color: var(--tr-cyan); }
.tr_pin.is-on p { color: var(--tr-ink); }
.tr_pin:focus { outline: none; }
.tr_pin:focus-visible { outline: 2px solid var(--tr-cyan); outline-offset: 6px; border-radius: 3px; }

/* ---------- a capture in its frame ---------- */
.tr_frame {
  position: relative; margin: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--tr-line-2); background: #0b1526;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(0,212,255,.06);
}
.tr_frame_bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  background: rgba(255,255,255,.04); border-bottom: 1px solid var(--tr-line);
}
.tr_frame_dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); flex: 0 0 auto; }
.tr_frame_title { margin-left: 8px; font-family: var(--tr-mono); font-size: 11.5px; letter-spacing: .4px; color: var(--tr-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr_frame_title b { color: var(--tr-tint); font-weight: 500; }
.tr_frame_body { position: relative; display: block; background: #0b1526; }
.tr_frame_body img { display: block; width: 100%; height: auto; }
.tr_frame_hero .tr_frame_body img { min-height: 200px; }
.tr_framecap {
  font-family: var(--tr-body); font-size: 13.5px; line-height: 1.6; color: var(--tr-mute);
  padding: 12px 16px 14px; border-top: 1px solid var(--tr-line); background: rgba(255,255,255,.02);
}
.tr_framecap b { color: var(--tr-ink); font-weight: 600; }

/* spotlight: a box over the hovered region, everything else dimmed */
.tr_spot {
  position: absolute; left: 20%; top: 20%; width: 20%; height: 20%; z-index: 2; pointer-events: none;
  border: 1.5px solid var(--tr-cyan); border-radius: 4px; opacity: 0;
  box-shadow: 0 0 0 9999px rgba(7,14,27,.62), 0 0 24px rgba(0,212,255,.35);
  transition: opacity .22s ease, left .28s ease, top .28s ease, width .28s ease, height .28s ease;
}
.tr_stage.is-spot .tr_spot { opacity: 1; }

/* pending capture: the designed placeholder */
.tr_frame.tr_pending .tr_frame_body { aspect-ratio: 16 / 9; }
.tr_frame.tr_pending.is-tall .tr_frame_body { aspect-ratio: 4 / 3; }
.tr_frame.tr_pending .tr_frame_body::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.tr_ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 8px;
}
.tr_ph svg { width: 34px; height: 34px; color: rgba(0,212,255,.6); margin-bottom: 6px; }
.tr_ph_k { font-family: var(--tr-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tr-cyan); }
.tr_ph b { font-family: var(--tr-display); font-size: 16px; font-weight: 500; color: #fff; line-height: 1.4; max-width: 420px; }
.tr_ph code { font-family: var(--tr-mono); font-size: 11.5px; color: var(--tr-mute); background: rgba(255,255,255,.05); border: 1px solid var(--tr-line); border-radius: 4px; padding: 4px 8px; margin-top: 4px; word-break: break-all; }
.tr_frame.has-shot .tr_ph, .tr_frame.has-shot .tr_frame_body::before { display: none; }
.tr_frame.has-shot .tr_frame_body { aspect-ratio: auto; }

/* ---------- on-this-page rail: the tool's windows, in order ---------- */
.tr_rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 0; padding: 0; list-style: none; }
.tr_rail a {
  display: inline-block; font-family: var(--tr-mono); font-size: 12.5px; letter-spacing: .4px; color: var(--tr-ink); text-decoration: none;
  border: 1px solid var(--tr-line-2); border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.03); transition: border-color .15s, color .15s;
}
.tr_rail a:hover { border-color: var(--tr-cyan); color: #fff; }
.tr_rail a i { font-style: normal; color: var(--tr-faint); margin-right: 6px; }

/* =====================================================================
   PLATES - one feature window per section: copy beside its capture
   ===================================================================== */
.tr_plate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.tr_plate.is-flip .tr_plate_copy { order: 2; }
.tr_plate.is-flip .tr_plate_shot { order: 1; }
.tr_plate_copy { position: sticky; top: 110px; }
.tr_plate_shot { min-width: 0; }
.tr_plate_shot .tr_frame + .tr_frame { margin-top: 22px; }
.tr_plate_stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tr_plate_stack .tr_frame + .tr_frame { margin-top: 0; }

/* facts: three short cards beneath an essay */
.tr_facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tr_fact { border: 1px solid var(--tr-line); border-radius: 10px; padding: 20px 20px 22px; background: rgba(255,255,255,.025); }
.tr_page .tr_fact h3 { font-family: var(--tr-display); font-size: 15px; font-weight: 600; color: #fff; margin: 0 0 8px; letter-spacing: .1px; }
.tr_fact p { font-family: var(--tr-body); font-size: 14px; line-height: 1.65; color: var(--tr-mute); margin: 0; }
.tr_fact .tr_fact_k { display: block; font-family: var(--tr-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tr-cyan); margin-bottom: 8px; }

/* =====================================================================
   READOUTS - the biomechanics bay: what the engine returns, as instruments
   ===================================================================== */
.tr_bay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tr_bay.is-four { grid-template-columns: repeat(4, 1fr); }
.tr_facts + .tr_plate_stack { margin-top: 28px; }
.tr_readout {
  position: relative; border: 1px solid var(--tr-line-2); border-radius: 10px; padding: 20px 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.tr_readout_k { display: block; font-family: var(--tr-mono); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--tr-cyan); margin-bottom: 10px; }
.tr_page .tr_readout h3 { font-family: var(--tr-display); font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 10px; line-height: 1.3; }
.tr_readout p { font-family: var(--tr-body); font-size: 14.5px; line-height: 1.7; color: var(--tr-ink); margin: 0 0 10px; }
.tr_readout p:last-child { margin-bottom: 0; }
.tr_readout .tr_src { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--tr-line-2); font-family: var(--tr-mono); font-size: 11.5px; line-height: 1.7; color: var(--tr-mute); }
.tr_readout .tr_src b { color: var(--tr-faint); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; font-size: 10px; margin-right: 6px; }
.tr_readout.is-wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 36px; }
.tr_readout.is-wide .tr_readout_k, .tr_readout.is-wide h3 { grid-column: 1 / -1; }

/* the load scale, drawn, with the legend's own words */
.tr_scale { margin: 18px 0 0; }
.tr_scale_bar { height: 10px; border-radius: 3px; background: var(--tr-rule); }
.tr_scale_ticks { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--tr-mono); font-size: 11px; color: var(--tr-mute); }
.tr_scale_note { font-family: var(--tr-body); font-size: 13px; color: var(--tr-faint); margin: 8px 0 0; line-height: 1.5; }
.tr_scale_note i { display: inline-block; width: 18px; height: 2px; background: #8a94a3; vertical-align: middle; margin-right: 6px; }

/* the joint list, as the engine names them */
.tr_joints { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tr_joints li { font-family: var(--tr-mono); font-size: 12px; color: var(--tr-tint); border: 1px solid rgba(0,212,255,.25); border-radius: 4px; padding: 4px 8px; }
.tr_joints li.is-spine { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.45); color: #fff; }

/* =====================================================================
   PROVENANCE STRIP - a row of states, as the window shows them
   ===================================================================== */
.tr_states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.tr_state { border: 1px solid var(--tr-line); border-radius: 8px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.tr_state b { display: block; font-family: var(--tr-mono); font-size: 13px; color: #fff; margin-bottom: 6px; }
.tr_state span { font-family: var(--tr-body); font-size: 13px; color: var(--tr-mute); line-height: 1.55; }

/* =====================================================================
   THE SOURCES - read by page and table, printed as a reading list
   ===================================================================== */
.tr_sources { columns: 2; column-gap: 36px; margin: 28px 0 0; padding: 0; list-style: none; }
.tr_sources li { break-inside: avoid; font-family: var(--tr-mono); font-size: 12.5px; line-height: 1.65; color: var(--tr-mute); padding: 7px 0 7px 16px; border-left: 2px solid rgba(0,212,255,.3); margin: 0 0 8px; }
.tr_sources li b { color: var(--tr-ink); font-weight: 500; }

/* =====================================================================
   BOWTIE - the "one hazard, three trees" diagram and its three frames
   ===================================================================== */
.tr_tree_tabs { display: flex; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; flex-wrap: wrap; }
.tr_tree_tab {
  font-family: var(--tr-mono); font-size: 12.5px; letter-spacing: .5px; color: var(--tr-ink); background: rgba(255,255,255,.03);
  border: 1px solid var(--tr-line-2); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.tr_tree_tab:hover { border-color: var(--tr-cyan); color: #fff; }
.tr_tree_tab[aria-selected="true"] { border-color: var(--tr-cyan); background: rgba(0,212,255,.12); color: #fff; }
.tr_tree_tab i { font-style: normal; color: var(--tr-faint); margin-right: 8px; }
.tr_tree_tab[aria-selected="true"] i { color: var(--tr-cyan); }

.tr_bowtie { display: block; width: 100%; height: auto; margin: 0 auto 30px; overflow: visible; }
.tr_bowtie text { font-family: var(--tr-mono); fill: var(--tr-mute); font-size: 9.5px; letter-spacing: .3px; }
.tr_bowtie .bt_label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.4px; fill: var(--tr-faint); }
.tr_bowtie .bt_box { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.tr_bowtie .bt_line { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.tr_bowtie .bt_barrier { fill: #0a1628; stroke-width: 1.4; }
.tr_bowtie .bt_barrier.is-ok { stroke: var(--tr-ok); fill: var(--tr-ok); }
.tr_bowtie .bt_barrier.is-warn { stroke: var(--tr-warn); fill: var(--tr-warn); }
.tr_bowtie .bt_barrier.is-fail { stroke: var(--tr-fail); fill: var(--tr-fail); }
.tr_bowtie .bt_barrier.is-nv { stroke: var(--tr-nv); fill: none; }
.tr_bowtie .bt_hazard { fill: #111; stroke: var(--tr-hz); stroke-width: 2; }
.tr_bowtie .bt_hatch { stroke: var(--tr-hz); stroke-width: 5; }
.tr_bowtie .bt_top { fill: #0d1a2d; stroke: var(--tr-fail); stroke-width: 3; }
.tr_bowtie .bt_top_in { fill: none; stroke: var(--tr-warn); stroke-width: 2.5; }
.tr_bowtie .bt_gate { fill: #0a1628; stroke: var(--tr-cyan); stroke-width: 1.4; }
.tr_bowtie .bt_event { fill: #0a1628; stroke: var(--tr-cyan); stroke-width: 1.4; }
.tr_bowtie .bt_cyan { stroke: var(--tr-cyan); fill: none; stroke-width: 1.2; }
.tr_bowtie .bt_cyan_dash { stroke: rgba(0,212,255,.6); fill: none; stroke-width: 1.2; stroke-dasharray: 3 3; }
.tr_bowtie .bt_region { fill: rgba(0,212,255,.04); stroke: rgba(0,212,255,.22); stroke-width: 1; stroke-dasharray: 4 4; rx: 10; }
.tr_bowtie .bt_fail_t { fill: #ff8a8f; }
.tr_bowtie .bt_ok_t { fill: #5fd48a; }
.tr_bowtie .bt_cyan_t { fill: var(--tr-tint); }
.tr_bowtie g[data-wing] { transition: opacity .25s; }
.tr_bowtie[data-active="fta"] g[data-wing]:not([data-wing="fta"]):not([data-wing="bow"]),
.tr_bowtie[data-active="eta"] g[data-wing]:not([data-wing="eta"]):not([data-wing="bow"]) { opacity: .28; }
.tr_bowtie[data-active="bow"] g[data-wing="fta"], .tr_bowtie[data-active="bow"] g[data-wing="eta"] { opacity: .45; }
.tr_bowtie[data-active="fta"] .bt_region[data-wing="fta"], .tr_bowtie[data-active="eta"] .bt_region[data-wing="eta"] { fill: rgba(0,212,255,.09); stroke: rgba(0,212,255,.5); }

.tr_tree_frames .tr_frame[hidden] { display: none; }

/* =====================================================================
   PRICE - the seat, in mono, with the rest of the pack beside it
   ===================================================================== */
.tr_price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; margin-top: 36px; }
.tr_price_card {
  border: 1px solid rgba(0,212,255,.35); border-radius: 12px; padding: 28px 28px 26px;
  background: linear-gradient(180deg, rgba(0,212,255,.08), rgba(0,212,255,.02));
}
.tr_price_k { display: block; font-family: var(--tr-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--tr-cyan); margin-bottom: 12px; }
.tr_price_fig { font-family: var(--tr-mono); font-size: 54px; font-weight: 500; color: #fff; line-height: 1; letter-spacing: -1px; }
.tr_price_fig small { font-size: 15px; letter-spacing: 0; color: var(--tr-mute); margin-left: 8px; font-weight: 400; }
.tr_price_sub { font-family: var(--tr-body); font-size: 14px; color: var(--tr-mute); margin: 12px 0 0; line-height: 1.6; }
.tr_price_sub b { color: var(--tr-ink); font-weight: 600; }
.tr_price_rows { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tr-line); }
.tr_price_rows li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--tr-line); font-family: var(--tr-body); font-size: 14px; color: var(--tr-ink); }
.tr_price_rows li span:last-child { font-family: var(--tr-mono); color: var(--tr-tint); white-space: nowrap; }
.tr_price_cmp { margin-top: 18px; font-family: var(--tr-body); font-size: 13.5px; line-height: 1.6; color: var(--tr-mute); }
.tr_price_cmp b { color: #fff; font-weight: 600; font-family: var(--tr-mono); }
.tr_pack_list { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.tr_pack_list li { font-family: var(--tr-mono); font-size: 12.5px; color: var(--tr-ink); border: 1px solid var(--tr-line-2); border-radius: 4px; padding: 6px 9px; background: rgba(255,255,255,.03); }
.tr_pack_list li.is-this { color: #fff; border-color: var(--tr-cyan); background: rgba(0,212,255,.12); }
.tr_pack_list li.is-new { color: var(--tr-tint); border-color: rgba(0,212,255,.4); }
.tr_cta_row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.tr_page .tr_cta_row .btn_primary, .tr_page .tr_cta_row .btn_secondary {
  display: inline-block; font-family: var(--tr-display); font-weight: 600; font-size: 14px; letter-spacing: .5px; text-decoration: none;
  padding: 14px 26px; border-radius: 6px; transition: background .15s, color .15s, border-color .15s; border: 1px solid transparent;
}
.tr_page .tr_cta_row .btn_primary { background: var(--tr-cyan); color: #0a1628; border-color: var(--tr-cyan); }
.tr_page .tr_cta_row .btn_primary:hover { background: #33ddff; }
.tr_page .tr_cta_row .btn_secondary { background: rgba(255,255,255,.04); color: #fff; border-color: var(--tr-line-2); }
.tr_page .tr_cta_row .btn_secondary:hover { border-color: var(--tr-cyan); color: var(--tr-cyan); }
.tr_price_alt { font-family: var(--tr-body); font-size: 14px; color: var(--tr-mute); margin: 18px 0 0; }
.tr_price_alt a { color: var(--tr-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,.4); }

/* the honest line: what is not claimed */
.tr_honest { margin-top: 36px; padding: 18px 22px; border-left: 2px solid var(--tr-line-2); font-family: var(--tr-body); font-size: 14.5px; line-height: 1.7; color: var(--tr-mute); }
.tr_honest b { color: var(--tr-ink); font-weight: 600; }

/* =====================================================================
   CLOSING
   ===================================================================== */
.tr_finale { text-align: center; padding: 110px 0 120px; background: var(--tr-well); }
.tr_finale_glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 600px; transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(0,212,255,.08), transparent 62%); pointer-events: none; z-index: 0; }
.tr_finale_lead { font-family: var(--tr-display); font-weight: 300; font-style: italic; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 700px; margin: 0 auto; }
.tr_finale .tr_cta_row { justify-content: center; }
.tr_finale_lead a { color: var(--tr-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,212,255,.4); }
.tr_finale_lead a:hover { border-color: var(--tr-cyan); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
  .tr_stage { grid-template-columns: 210px minmax(0,1fr) 210px; gap: 0 22px; }
  .tr_pin b { font-size: 13.5px; }
  .tr_pin p { font-size: 13px; }
}
@media (max-width: 1099px) {
  .tr_stage { grid-template-columns: minmax(0,1fr); gap: 28px 0; }
  .tr_stage .tr_frame { order: 1; }
  .tr_pins_l { order: 2; }
  .tr_pins_r { order: 3; }
  .tr_pins { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .tr_pins_r { margin-top: -10px; }
  .tr_leads { display: none; }
  .tr_pin { padding-left: 14px; border-left: 2px solid var(--tr-line-2); }
  .tr_pin.is-on { border-left-color: var(--tr-cyan); }
  .tr_plate { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .tr_plate.is-flip .tr_plate_copy { order: 1; }
  .tr_plate.is-flip .tr_plate_shot { order: 2; }
  .tr_plate_copy { position: static; }
  .tr_bay, .tr_bay.is-four { grid-template-columns: 1fr 1fr; }
  .tr_readout.is-wide { grid-column: span 2; }
  .tr_states { grid-template-columns: 1fr 1fr; }
  .tr_price { grid-template-columns: minmax(0,1fr); gap: 28px; }
}
@media (max-width: 767px) {
  .tr_ground, .tr_raised { padding: 64px 0; }
  .tr_well { padding: 72px 0; }
  .tr_hero { padding: 128px 0 56px; }
  .tr_page .tr_title { font-size: 40px; letter-spacing: 4px; }
  .tr_lead { font-size: 18px; }
  .tr_page .tr_h2 { font-size: 24px; }
  .tr_pins { grid-template-columns: 1fr; }
  .tr_facts, .tr_bay, .tr_bay.is-four, .tr_states { grid-template-columns: 1fr; }
  .tr_readout.is-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .tr_sources { columns: 1; }
  .tr_plate_stack { grid-template-columns: 1fr; }
  .tr_price_fig { font-size: 42px; }
  .tr_spec li { padding: 0 9px; }
  .tr_rule_cap { padding: 8px 16px 0; }
  .tr_frame { border-radius: 8px; }
  .tr_finale { padding: 80px 0; }
  .tr_finale_lead { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .tr_spot, .tr_leads polyline, .tr_leads circle, .tr_bowtie g[data-wing], .tr_tree_tab, .tr_rail a { transition: none; }
}

/* ---------- Medical HF: the trace chain (medical-hf.html) ----------
   One SVG, four wings (spec, urra, val, trace) lit by the same tree tabs
   the ErgoBow page uses; js/ergosphere-trophy.js finds .tr_chain too. */
.tr_chain { display: block; width: 100%; height: auto; margin: 0 auto 30px; overflow: visible; }
.tr_chain text { font-family: var(--tr-mono); fill: var(--tr-mute); font-size: 12px; letter-spacing: .2px; }
.tr_chain .ch_tool { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; fill: var(--tr-tint); }
.tr_chain .ch_bracket { fill: none; stroke: rgba(0,212,255,.45); stroke-width: 1.2; }
.tr_chain .ch_node { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.4); stroke-width: 1.2; }
.tr_chain .ch_node_t { fill: #fff; font-family: var(--tr-body); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.tr_chain .ch_link { fill: none; stroke: var(--tr-cyan); stroke-width: 1.4; }
.tr_chain .ch_dot { fill: var(--tr-cyan); }
.tr_chain .ch_gap { fill: none; stroke: var(--tr-gapflag); stroke-width: 1.4; stroke-dasharray: 5 4; }
.tr_chain .ch_gap_t { fill: var(--tr-gapflag); font-size: 11px; }
.tr_chain .ch_note { fill: var(--tr-faint); font-size: 11px; }
.tr_chain .ch_band { fill: rgba(0,212,255,.04); stroke: rgba(0,212,255,.25); stroke-width: 1; stroke-dasharray: 4 4; }
.tr_chain g[data-wing] { transition: opacity .25s; cursor: pointer; }
.tr_chain g[data-wing]:focus { outline: none; }
.tr_chain g[data-wing]:focus-visible .ch_node, .tr_chain g[data-wing]:focus-visible .ch_band { stroke: var(--tr-cyan); stroke-width: 2; }
.tr_chain[data-active="spec"] g[data-wing]:not([data-wing="spec"]),
.tr_chain[data-active="urra"] g[data-wing]:not([data-wing="urra"]),
.tr_chain[data-active="val"] g[data-wing]:not([data-wing="val"]) { opacity: .3; }
.tr_chain[data-active="trace"] g[data-wing]:not([data-wing="trace"]) { opacity: .6; }
.tr_chain[data-active="spec"] g[data-wing="spec"] .ch_node,
.tr_chain[data-active="urra"] g[data-wing="urra"] .ch_node,
.tr_chain[data-active="val"] g[data-wing="val"] .ch_node { fill: rgba(0,212,255,.09); stroke: var(--tr-cyan); }
.tr_chain[data-active="trace"] .ch_band { fill: rgba(0,212,255,.09); stroke: rgba(0,212,255,.55); }
@media (prefers-reduced-motion: reduce) { .tr_chain g[data-wing] { transition: none; } }
/* below 600px the chain's text falls under 5px; the four tabs name the same tools, so they carry it alone */
@media (max-width: 600px) { .tr_chain { display: none; } }
