/* Workshop dashboard in the Shaped identity. Phone first: staff use it at the bench.
   Palette and panel shape from the Shaped brand kit (claude-design/tokens.css): white, black,
   grey, with green as the accent for actions and highlights only, never a background for text.
   Functional colours stay functional: ISO 7010 sign colours, red for fail and overdue, amber
   for due soon and waiting.

   Fonts. Baste B (display) and BR Sonoma (body) are named first, so a machine with them
   installed shows them; everyone else gets the fallbacks. To serve them as files, put them in
   /static/fonts/ and uncomment the block below, but only once the licence allows it: the Baste B
   EULA prohibits webfont conversion and needs a server licence to serve from a web server.
@font-face { font-family: "Baste B"; src: url("/static/fonts/BasteB.woff2") format("woff2");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "BR Sonoma"; src: url("/static/fonts/BRSonoma-Medium.woff2")
  format("woff2"); font-weight: 500; font-display: swap; }
*/
:root {
  --black: #060606; --white: #F2F2F2; --grey: #7B7B7B; --green: #40E5A2;
  --ink: var(--black); --ink2: #3B3B3B; --muted: #5F5F5F; --line: #D9D9D9; --panel: #E8E8E8;
  --card: #FFFFFF; --bg: var(--white);
  --green-bg: #DDF9EE; --green-ink: #0B5E3F;
  --amber: #F2B233; --amber-bg: #FFF2D6; --amber-ink: #7A5200;
  --red: #D64541; --red-bg: #FBE9E8; --red-ink: #8E2B25;
  --font-accent: "Baste B", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "BR Sonoma", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --chamfer: 28px; --chamfer-sm: 14px;
  --panel-cut: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%,
    var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  --panel-cut-sm: polygon(0 0, calc(100% - var(--chamfer-sm)) 0, 100% var(--chamfer-sm), 100% 100%,
    var(--chamfer-sm) 100%, 0 calc(100% - var(--chamfer-sm)));
}
* { box-sizing: border-box; }
body { margin: 0; font: 500 16px/1.45 var(--font-body); color: var(--ink); background: var(--bg); }
a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px;
  text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.accent, h1, h2 { font-family: var(--font-accent); font-weight: 900; text-transform: uppercase; }

header.bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--black); color: #fff; position: sticky; top: 0; z-index: 2; }
header.bar .brand { display: flex; align-items: center; gap: 12px; color: #fff;
  text-decoration: none; margin-right: auto; }
header.bar .brand img { display: block; height: 20px; width: auto; }
header.bar .brand span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--grey); padding-left: 12px; border-left: 1px solid #333; }
header.bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
header.bar nav a { color: var(--white); text-decoration: none; padding: 6px 10px; font-size: 15px;
  border-bottom: 2px solid transparent; }
header.bar nav a:hover { color: #fff; border-bottom-color: var(--grey); }
header.bar nav a.on { color: #fff; border-bottom-color: var(--green); }
header.bar form { margin: 0; }
header.bar button.link { background: none; border: 1px solid #444; color: var(--white);
  border-radius: 12px; padding: 5px 10px; font: inherit; font-size: 14px; cursor: pointer; }
header.bar button.link:hover { border-color: var(--grey); }
header.bar a.me { color: var(--black); background: var(--white); font-size: 13px; font-weight: 800;
  text-decoration: none; border-radius: 10px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; }
main { max-width: 1280px; margin: 0 auto; padding: 18px 24px 48px; }
h1 { font-size: 28px; line-height: 1.05; margin: 8px 0 6px; letter-spacing: .01em; }
h2 { font-size: 17px; margin: 30px 0 12px; letter-spacing: .03em; }
.sub { color: var(--muted); margin: 0 0 14px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Tools page: shop-style filters. A column beside the results on a wide screen; a button that
   opens a full-screen panel on a phone. */
.shop { display: grid; gap: 14px 24px; }
.find { display: flex; gap: 8px; }
.find input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: var(--card); }
.filters > summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 12px; font-weight: 700; cursor: pointer;
  list-style: none; background: var(--card); }
.filters > summary::-webkit-details-marker { display: none; }
.fhead { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 6px; }
.fhead a { margin-left: 14px; }
.facet { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0 8px; }
.facet legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; padding: 0 6px 0 0; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.fopt input { width: 18px; height: 18px; flex: none; accent-color: var(--black); }
.fopt span { flex: 1; } .fopt small { color: var(--muted); }
.fapply { width: 100%; margin-top: 10px; }
.count { margin: 0 0 8px; color: var(--muted); } .count b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { padding: 6px 12px; border-radius: 12px; background: var(--black); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 14px; }
.chip span { color: var(--green); }
.chip.clear { background: none; color: var(--muted); text-decoration: underline; }
@media (min-width: 900px) {
  .shop { grid-template-columns: 260px 1fr; align-items: start; }
  .find { grid-column: 1 / -1; }
  .filters[open] > summary { display: none; }
  .fapply, .fclose { display: none; }
}
@media (max-width: 899px) {
  .filters[open] .fpanel { position: fixed; inset: 0; z-index: 30; overflow: auto;
    background: var(--bg); padding: 16px 16px 90px; }
  .fapply { position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* Cards are the brand's chamfered panel: top-right and bottom-left corners cut. */
.card { padding: 14px 16px 16px; background: var(--card); display: block; color: inherit;
  text-decoration: none; clip-path: var(--panel-cut-sm); }
a.card:hover { box-shadow: inset 0 -4px 0 var(--green); }
.card .k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); }
.card .t { font-weight: 800; font-size: 17px; margin: 2px 0; }
.card .d { color: var(--ink2); font-size: 14px; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { padding: 16px 18px 18px; color: var(--white); background: var(--black);
  text-decoration: none; display: block; clip-path: var(--panel-cut-sm); }
.tile .big { font-family: var(--font-accent); font-weight: 900; font-size: 32px; line-height: 1; }
.tile .lab { font-size: 13px; margin-top: 8px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #BDBDBD; }
.tile:hover .big { color: var(--green); }
.tile.green { background: var(--green); color: var(--black); }
.tile.green .lab { color: var(--black); }
.tile.green:hover .big { color: var(--black); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px;
  border-radius: 8px; background: var(--panel); color: var(--ink2); }
.tag.approved, .tag.pass { background: var(--green-bg); color: var(--green-ink); }
.tag.submitted { background: var(--amber-bg); color: var(--amber-ink); }
.tag.returned, .tag.fail, .tag.overdue { background: var(--red-bg); color: var(--red); }
.tag.open { background: var(--black); color: var(--white); }
.tag.refresher { background: var(--black); color: var(--green); }
.btn { display: inline-block; border: 0; border-radius: 12px; padding: 12px 18px;
  background: var(--black); color: var(--white); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; }
.btn:hover { color: #fff; box-shadow: inset 0 -3px 0 var(--green); }
.btn.green { background: var(--green); color: var(--black); }
.btn.green:hover { box-shadow: inset 0 -3px 0 rgba(6,6,6,.35); }
.btn.ghost { background: var(--panel); color: var(--ink); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.small { padding: 7px 12px; font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
form.stack { display: grid; gap: 14px; max-width: 560px; }
label { font-weight: 700; display: grid; gap: 6px; }
label small { font-weight: 500; color: var(--muted); }
input[type=text], input[type=password], input[type=search], select, textarea { font: inherit;
  padding: 11px 12px; border: 1px solid #C9C9C9; border-radius: 12px; width: 100%;
  background: var(--card); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0;
  border-color: var(--black); }
textarea { min-height: 96px; }
input[type=file] { font: inherit; font-size: 14px; color: var(--muted); }
input[type=file]::file-selector-button { font: inherit; font-weight: 700; color: var(--ink);
  background: var(--panel); border: 0; border-radius: 12px; padding: 9px 14px; margin-right: 12px;
  cursor: pointer; }
input[type=file]::file-selector-button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 1px; }
.msg { border-radius: 12px; padding: 11px 14px; background: var(--panel); }
.msg.err { background: var(--red-bg); color: var(--red-ink); }
.msg.ok { background: var(--green-bg); color: var(--green-ink); }
.msg.sheet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.msg.sheet a { font-weight: 700; }
.guide { background: var(--card); border-radius: 12px; padding: 4px 18px 10px; }
.guide h2 { font-size: 15px; }
.guide table { border-collapse: collapse; }
.guide td, .guide th { border: 1px solid var(--line); padding: 5px 8px; text-align: left; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); }
table.list th { text-align: left; color: var(--white); background: var(--black); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px; }
table.list td { border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 8px;
  background: var(--black); color: #fff; font-weight: 800; display: flex; align-items: center;
  justify-content: center; }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }

/* Sign in and invite: the black panel with the logo, chamfered, with the diamond cut out. */
.login { max-width: 400px; margin: 8vh auto 0; }
.login .logo { position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: var(--black); padding: 30px 26px 26px 66px; margin-bottom: 22px;
  clip-path: var(--panel-cut); }
.login .logo::before { content: ""; position: absolute; top: 33px; left: 28px; width: 18px;
  height: 18px; border-radius: 30%; background: var(--bg); transform: rotate(45deg); }
.login .logo img { display: block; height: 24px; width: auto; }
.login .logo span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--grey); }
.after { margin-top: 18px; }
.wrap { word-break: break-all; }

/* --- tool and training pages: workshop signage meets product page ------------------------- */
.ic { flex: none; vertical-align: middle; }
body { overflow-x: clip; }
/* The hero is the signature panel: flat black, chamfered, the rounded diamond cut out beside
   the kicker, and one brand shape faint in the corner. */
.hero { position: relative; margin: 0; padding: 34px 32px 58px; color: #fff;
  background: var(--black); clip-path: var(--panel-cut); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 300px;
  height: 300px; background: url("/static/brand/shape-1-white.svg") no-repeat center / contain;
  opacity: .05; pointer-events: none; }
.hero.train::after { background-image: url("/static/brand/shape-2-white.svg"); }
.hero-in { position: relative; z-index: 1; max-width: 1232px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 18px; }
.hero .kick { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: var(--green); padding-left: 32px; position: relative; }
.hero .kick::before { content: ""; position: absolute; left: 2px; top: 50%; width: 16px;
  height: 16px; margin-top: -8px; border-radius: 30%; background: var(--bg);
  transform: rotate(45deg); }
.hero h1 { font-size: 44px; line-height: 1; margin: 12px 0 8px; letter-spacing: .01em; }
.hero h1 span { color: var(--green); }
.hero p { margin: 0; color: #BDBDBD; font-size: 17px; }
.ring { color: var(--green); flex: none; }
.ring.due { color: var(--amber); } .ring.overdue { color: #FF5A4E; } .ring.none { color: var(--grey); }

/* Panels that lift off the hero: a shadow on the row, since clip-path would cut one off a tile. */
.dock, .kpis, .journey { filter: drop-shadow(0 6px 14px rgba(6,6,6,.16)); }
.dock { position: relative; z-index: 1; display: grid; grid-auto-flow: column;
  grid-auto-columns: 1fr; gap: 10px; margin: -30px 0 18px; padding: 0 12px; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px;
  background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700;
  clip-path: var(--panel-cut-sm); }
.dock a:hover { box-shadow: inset 0 -4px 0 var(--green); }
.dock .d-log { background: var(--green); color: var(--black); }
.dock .d-log:hover { box-shadow: inset 0 -4px 0 rgba(6,6,6,.35); }

/* Section headings, on every page: a green rounded diamond, the title, a hairline to the edge. */
h2.sec, main > h2 { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px;
  font-size: 14px; letter-spacing: .12em; color: var(--ink); }
h2.sec::before, main > h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 30%;
  background: var(--green); transform: rotate(45deg); }
h2.sec::after, main > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.due { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--black);
  color: #fff; text-decoration: none; margin: 0 0 10px; clip-path: var(--panel-cut-sm); }
.due .ic { color: var(--amber); }
.due b { display: block; } .due span { color: #BDBDBD; font-size: 14px; }
.due i { margin-left: auto; font-style: normal; font-size: 28px; color: var(--green); }

.first { display: flex; gap: 16px; align-items: center; border-radius: 16px; padding: 16px 18px;
  background: #EAF2FC; border: 2px solid #005BBB; margin: 18px 0 0; }
.first b { font-size: 17px; } .first p { margin: 4px 0 0; color: var(--ink2); }

/* Signs as tall tiles, sign on top, so a row of four spreads across a wide screen. */
.signs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sg { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px;
  border-radius: 14px; background: var(--card); border-top: 7px solid; }
@media (min-width: 900px) {
  .signs.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .signs.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .signs.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.sg.prohibit { border-top-color: #C8102E; } .sg.warn { border-top-color: #F9C80E; }
.sg.must { border-top-color: #005BBB; }
.sg .sign { flex: none; width: 76px; height: 76px; }
.sg b { display: block; font-size: 18px; line-height: 1.25; }
.sg span { display: block; color: var(--ink2); font-size: 15px; margin-top: 6px; line-height: 1.45; }
.sg .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sg .bd { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 10px 3px 4px;
  border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.2;
  background: var(--panel); border: 1px solid var(--line); }
.sg .bd.warn { background: #FFF8DB; border-color: #F2D46B; }
.sg .bd.must { background: #EAF2FC; border-color: #B7D0EE; }
.sg .bd .sign { width: 22px; height: 22px; }
.sg .bm { width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid #111;
  display: inline-flex; align-items: center; justify-content: center; margin: 0; }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0;
  border-top: 3px solid var(--black); }
.spec div { padding: 12px 14px 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  font-weight: 700; display: flex; gap: 6px; align-items: center; }
.spec dd { margin: 6px 0 0; font-size: 22px; font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums; }
.spec div.wide { grid-column: span 2; }
.spec div.wider { grid-column: span 3; }

.lead { font-size: 19px; line-height: 1.5; color: var(--ink2); margin: 22px 0 0; max-width: 820px; }

/* Care: compact rows, sign beside text, so they sit two or three across without gaps. */
.signs.compact { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px;
  align-items: start; }
.signs.compact .sg { flex-direction: row; align-items: flex-start; padding: 16px;
  border-top: 0; border-left: 7px solid #005BBB; }
.signs.compact .sg .sign { width: 52px; height: 52px; }
.signs.compact .sg b { font-size: 16px; }
.signs.compact .sg span { font-size: 14px; margin-top: 3px; }
.signs.compact .sg .badges { margin-top: 8px; }

.keynote { color: var(--ink2); margin: 0 0 10px; }

/* --- admin overview -------------------------------------------------------------------- */
.kpis { position: relative; z-index: 1; display: grid; gap: 10px; margin: -34px 0 6px;
  padding: 0 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.kpi { background: var(--card); padding: 14px 16px; display: grid;
  grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px;
  align-items: center; clip-path: var(--panel-cut-sm); }
.kpi .ki { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; color: var(--white); background: var(--black); }
.kpi b { font-family: var(--font-accent); font-weight: 900; font-size: 30px; line-height: 1;
  font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; }
.kpi.red .ki { background: var(--red); color: #fff; }
.kpi.orange .ki { background: var(--amber); color: var(--black); }
.kpi.green .ki { background: var(--green); color: var(--black); }
.kpi.zero:not(.blue):not(.ink) .ki { background: var(--panel); color: var(--grey); }
.kpi.zero:not(.blue):not(.ink) b { color: var(--grey); }

.attn { display: grid; gap: 8px; }
.at { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  text-decoration: none; color: var(--ink); background: var(--card); border-left: 6px solid var(--black); }
.at .ai { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; flex: none; color: var(--white); background: var(--black); }
.at b { display: block; } .at span { color: var(--ink2); font-size: 14px; }
.at i { margin-left: auto; font-style: normal; font-size: 24px; color: var(--grey); }
.at.red { border-left-color: var(--red); background: #FDF0EF; } .at.red .ai { background: var(--red); color: #fff; }
.at.orange { border-left-color: var(--amber); background: #FFF8E8; }
.at.orange .ai { background: var(--amber); color: var(--black); }
.at:hover i { color: var(--ink); }
.at:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.fleet { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.fc { padding: 18px 20px 20px; background: var(--card); display: flex; flex-direction: column;
  gap: 14px; clip-path: var(--panel-cut); }
.fh { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fk { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); }
.fn { display: block; font-family: var(--font-accent); font-weight: 900; text-transform: uppercase;
  font-size: 20px; line-height: 1.1; color: var(--ink); text-decoration: none; margin: 4px 0; }
.fn span { color: var(--grey); }
.fn:hover span { color: var(--ink); }
.fd { color: var(--ink2); font-size: 14px; }
.fr { flex: none; }
.cov .cl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted);
  font-weight: 600; margin-bottom: 6px; }
.cov .cl b { color: var(--ink); }
.cov .bar { height: 10px; border-radius: 4px; background: var(--panel); overflow: hidden; }
.cov .bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; width: 0; }
.cov .bar i.w10 { width: 10%; } .cov .bar i.w20 { width: 20%; } .cov .bar i.w30 { width: 30%; }
.cov .bar i.w40 { width: 40%; } .cov .bar i.w50 { width: 50%; } .cov .bar i.w60 { width: 60%; }
.cov .bar i.w70 { width: 70%; } .cov .bar i.w80 { width: 80%; } .cov .bar i.w90 { width: 90%; }
.cov .bar i.w100 { width: 100%; }
.miss { display: flex; flex-wrap: wrap; gap: 6px; }
.miss span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
  background: var(--amber-bg); color: var(--amber-ink); border: 1px solid #F0D597; }
.miss.ok span { background: var(--green-bg); color: var(--green-ink); border-color: #B5EED6;
  display: inline-flex; gap: 4px; align-items: center; }
.fa { display: flex; gap: 8px; margin-top: auto; }
.fa a { flex: 1; text-align: center; padding: 9px; border-radius: 12px; background: var(--panel);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.fa a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.fa a:first-child { background: var(--black); color: var(--white); }

.tm-wrap { overflow-x: auto; background: var(--card); border-radius: 12px; }
.tm { border-collapse: collapse; width: 100%; }
.tm th, .tm td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.tm tr:last-child td { border-bottom: 0; }
.tm th { background: var(--black); color: var(--white); font-size: 13px; border-bottom: 0; }
.tm th a { color: inherit; text-decoration: none; display: block; }
.tm th small { display: block; font-weight: 500; color: #BDBDBD; font-size: 12px; }
.tm td small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.tm td:first-child, .tm th:first-child { text-align: left; }
.tm th .av { background: var(--white); color: var(--black); }
.dot { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px; color: #fff; vertical-align: middle; }
.dot.approved { background: var(--green); color: var(--black); }
.dot.submitted { background: var(--amber); color: var(--black); }
.dot.returned { background: var(--red); } .dot.none { background: var(--panel); }
.dot.refresher { background: var(--black); color: var(--green); }
.tm td:first-child a { color: var(--ink); text-decoration: none; }
.av.sm { width: 32px; height: 32px; font-size: 12px; margin: 0 auto 4px; }
.keyrow { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; margin-top: 10px; }
.keyrow .dot { width: 20px; height: 20px; font-size: 11px; margin-left: 8px; border-radius: 6px; }

.queue { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.qc { border-left: 6px solid var(--green); border-radius: 12px; padding: 16px; background: var(--card); }
.qn { font-size: 18px; font-weight: 800; margin: 2px 0 6px; }
.qd { color: var(--ink2); margin: 0 0 10px; } .qd.muted { color: var(--muted); }
.qf { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.qf input { flex: 1; min-width: 160px; }
.qf .btn { display: inline-flex; gap: 6px; align-items: center; }

.jobs { display: grid; gap: 8px; }
.jb { display: grid; grid-template-columns: 120px 1fr auto auto; gap: 14px; align-items: center;
  padding: 10px 14px; background: var(--card); border-radius: 12px; }
.jw b { display: block; font-size: 14px; } .jw small, .jt small { color: var(--muted); display: block; font-size: 13px; }
.jt a { font-weight: 700; color: var(--ink); }
.jb .thumbs img { width: 48px; height: 48px; }

.people { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.pp { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--card);
  border-radius: 12px; flex-wrap: wrap; }
.pp.off { opacity: .55; }
.pp b { display: block; } .pp small { color: var(--muted); }
.av { width: 42px; height: 42px; border-radius: 12px; background: var(--black); color: var(--white);
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.pa { display: flex; gap: 6px; margin-left: auto; }
.pa form { margin: 0; }
details.addp { margin-top: 14px; border: 1px dashed var(--grey); border-radius: 12px; padding: 12px 16px; }
details.addp summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
details.addp form { margin-top: 14px; }

/* Know the controls: the manual's numbered diagram beside its legend. */
.ctrl { margin: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px; align-items: center; padding: 24px; background: var(--card);
  clip-path: var(--panel-cut); }
.ctrl-img { display: block; text-align: center; }
.ctrl-img img { max-width: 100%; max-height: 560px; height: auto; }
.ctrl figcaption b { display: block; font-size: 18px; margin-bottom: 12px; }
.legend { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 22px; }
.legend li { display: flex; gap: 10px; align-items: center; padding: 5px 0; break-inside: avoid;
  font-size: 15px; }
.legend li span { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink);
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ctrl small { display: block; color: var(--muted); margin-top: 12px; }
.hr { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.printbtn { font: inherit; font-size: 13px; font-weight: 700; color: var(--white); cursor: pointer;
  background: none; border: 1px solid #444; border-radius: 12px;
  padding: 6px 14px 6px 10px; display: inline-flex; gap: 6px; align-items: center; }
.printbtn:hover { border-color: var(--green); }
.printonly { display: none; }

/* Use steps: numbered black blocks on a grey spine; the check steps number in green. */
.tl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; max-width: 960px; }
.tl::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 30px; width: 3px;
  background: linear-gradient(var(--black), rgba(6,6,6,.08)); border-radius: 2px; }
.tl li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  margin-bottom: 14px; }
.tn { width: 40px; height: 40px; border-radius: 12px; background: var(--black); color: var(--white);
  font-family: var(--font-accent); font-weight: 900; font-size: 18px; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--bg); z-index: 1; }
.tl.blue .tn { background: var(--green); color: var(--black); }
.tc { display: flex; gap: 14px; align-items: flex-start; background: var(--card);
  border-radius: 12px; padding: 14px 16px; }
.tb { width: 52px; height: 52px; border-radius: 12px; background: var(--panel); color: var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none; }
.tc b { font-size: 17px; line-height: 1.3; display: block; }
.tc p { margin: 4px 0 0; color: var(--ink2); font-size: 15px; }
.pg { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px;
  margin: 8px 4px 0 0; }

.keys { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); }
.kr { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 12px 14px;
  background: var(--card); border-radius: 12px; }
.kseq { display: flex; align-items: center; gap: 8px; flex: none; }
kbd { font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line);
  display: inline-flex; gap: 5px; align-items: center; }
kbd.set { background: var(--black); color: #fff; border-color: var(--black); box-shadow: 0 3px 0 var(--grey); }
.kseq i { font-style: normal; color: var(--muted); }
.kseq b { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 34px; }
.kw { font-weight: 600; } .kw small { display: block; font-weight: 500; color: var(--muted); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.note { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px;
  background: var(--card); border-left: 6px solid var(--green); color: var(--ink); margin-top: 12px; }
.note .ic { color: var(--ink); }
.note.muted { background: var(--panel); border-left-color: var(--grey); color: var(--ink2); }
.note.muted .ic { color: var(--muted); }

.outcomes { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.oc { display: flex; gap: 14px; padding: 16px 18px; color: #fff; clip-path: var(--panel-cut-sm); }
.oc p { margin: 4px 0 0; color: rgba(255,255,255,.92); font-size: 15px; }
.oc .pg { background: rgba(255,255,255,.18); border-color: transparent; color: #fff; }
.oc.pass { background: var(--green); color: var(--black); }
.oc.pass p { color: var(--black); }
.oc.pass .pg { background: rgba(6,6,6,.12); color: var(--black); }
.oc.fail { background: var(--red); }
.oc b { font-family: var(--font-accent); font-weight: 900; text-transform: uppercase; font-size: 20px; }
h3.sub3 { font-size: 15px; margin: 22px 0 10px; }
.shots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.shot { position: relative; display: flex; gap: 12px; align-items: center; padding: 18px 16px;
  border: 2px dashed var(--grey); border-radius: 12px; color: var(--ink); }
.shot span { position: absolute; top: -11px; left: 12px; background: var(--black); color: var(--green);
  font-size: 12px; font-weight: 800; border-radius: 6px; padding: 1px 8px; }
.shot .ic { color: var(--ink); }

/* Training journey: three steps, each marked with the brand's rounded diamond. */
.journey { list-style: none; padding: 0 12px; margin: -30px 0 8px; display: grid; gap: 10px;
  grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.journey a { display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; text-decoration: none; color: var(--ink); padding: 18px 6px 14px;
  background: var(--card); clip-path: var(--panel-cut-sm); }
.journey a:hover { box-shadow: inset 0 -4px 0 var(--green); }
.journey .jd { width: 46px; height: 46px; margin: 4px 0 6px; border-radius: 30%;
  background: var(--black); color: var(--white); display: flex; align-items: center;
  justify-content: center; transform: rotate(45deg); }
.journey .jd .ic { transform: rotate(-45deg); }
.journey li:nth-child(3) .jd { background: var(--green); color: var(--black); }
.journey b { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.journey small { color: var(--muted); font-size: 13px; }

.signoff { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.signoff .notes { display: flex; flex-direction: column; gap: 6px; }
.signoff .notes textarea { flex: 1; min-height: 120px; }
.signoff .btn.big { grid-column: 1 / -1; }
.tick { display: block; cursor: pointer; }
.tick input { position: absolute; opacity: 0; }
.tick span { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--card); font-weight: 600; min-height: 64px; height: 100%; }
.tick .sign { width: 30px; height: 30px; }
.tick input:checked + span { border-color: var(--black); background: var(--green-bg); }
.tick input:focus-visible + span { outline: 3px solid var(--green); }
.signoff .wide, .signoff .quiz, .signoff .drop { grid-column: 1 / -1; }
.signoff h3.wide { margin: 10px 0 0; }
.quiz { border: 2px solid var(--line); border-radius: 12px; padding: 12px 16px 14px; margin: 0;
  background: var(--card); }
.quiz legend { font-weight: 700; padding: 0 6px; }
.quiz.wrong { border-color: var(--red); background: #FDF0EF; }
.quiz .opt { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.quiz .opt input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--black); }
.quiz .why { margin: 8px 0 0; color: var(--red-ink); font-weight: 600; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px;
  border: 2px dashed var(--grey); border-radius: 12px; text-align: center; cursor: pointer; }
.drop .ic { color: var(--ink); }
.btn.big { padding: 16px 22px; font-size: 18px; display: flex; gap: 10px; align-items: center;
  justify-content: center; }

.history { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.history li { position: relative; padding: 0 0 14px 18px; }
.history li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 11px;
  height: 11px; border-radius: 30%; background: var(--black); transform: rotate(45deg); }
.history li:first-child::before { background: var(--green); }
.history .when { display: block; font-size: 13px; color: var(--muted); }
.history .note-t { display: block; color: var(--ink2); font-size: 14px; }
details.full { margin-top: 34px; }
details.full summary { cursor: pointer; color: var(--muted); font-weight: 600; }

footer { color: var(--muted); font-size: 13px; text-align: center; padding: 24px; }

/* --- print: an A4 handout. Browsers drop background colours unless told to keep them, which
   is what turned the hero, the step numbers and the Pass/Fail cards white in the first PDF. */
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
/* Weld settings: the picker, then the one result card. */
.msg.warn { background: #FFF8DB; color: #6B5300; border: 1px solid #F2D46B; }
form.weld { display: grid; gap: 12px; margin: 0 0 16px; }
.wstep { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; margin: 0; }
.wstep legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); padding: 0 6px; }
.wstep > select { width: 100%; max-width: 420px; }
.wpick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
form.weld.live .wgo { display: none; }
.wres { border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 12px;
  padding: 14px 16px; background: #fff; }
.whead { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.whead b { font-size: 17px; margin-right: auto; }
.tag.conf-high { background: #E6F4EE; color: var(--green); }
.tag.conf-medium { background: #E8F1FB; color: var(--blue); }
.tag.conf-low { background: #FBE9E8; color: var(--red); }
.wres dd small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
h3.wsub { font-size: 14px; margin: 16px 0 6px; }
.wtab th, .wtab td { vertical-align: top; }
.wtab th { width: 34%; color: var(--ink2); font-weight: 600; font-size: 14px; text-transform: none; }
.wnote, .wcaut { margin-top: 12px; } .wnote p { color: var(--ink2); margin: 8px 0 0; }
.wnote summary, .wcaut summary { cursor: pointer; font-weight: 600; }
.wcaut summary { color: #8E2B25; } .wcaut ul { margin: 8px 0 0; padding-left: 20px; color: #8E2B25; }
.wsrc { margin-top: 12px; } .wsrc summary { cursor: pointer; font-weight: 600; }
.wsrc li small { display: block; color: var(--muted); }

/* Scan advisor: the questions, then the advice by topic. Shares the weld picker's frame. */
form.scan { display: grid; gap: 12px; margin: 0 0 16px; }
form.scan.live .wgo { display: none; }
form.scan label small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 4px; }
.sreset { font-size: 14px; }
.sres { border-left-color: var(--blue); }
.stopic + .stopic { border-top: 1px solid var(--line); margin-top: 12px; }
.spiece { margin: 0 0 10px; } .spiece p { margin: 0 0 4px; }
.spiece .stext { color: var(--ink2); }
.sfig { margin: 8px 0 0; max-width: 520px; }
.sfig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.sfig figcaption { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Tabs on a tool's page, and the Cleaning tab. */
.tabs { display: flex; gap: 6px; margin: 18px 0 0; border-bottom: 2px solid var(--line); }
.tabs a { padding: 10px 18px; font-weight: 700; color: var(--muted); text-decoration: none;
  border-radius: 10px 10px 0 0; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--orange); background: var(--panel); }
.capban { display: flex; gap: 18px; align-items: center; margin: 18px 0 10px; padding: 14px 18px;
  border-radius: 14px; background: #121C24; color: #fff; }
.capw { flex: none; text-align: center; padding: 6px 16px; border-radius: 12px; background: var(--red); }
.capw small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.capw b { font-size: 30px; font-variant-numeric: tabular-nums; }
.capban p { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; }
.sg.cwarn { flex-direction: row; align-items: flex-start; margin: 12px 0 0; border-top: 0;
  border-left: 7px solid #F9C80E; background: #FFF8DB; }
.cjump { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.cjump a { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.ckit { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ck { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.ck img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.ck b { display: block; } .ck p { margin: 4px 0 0; color: var(--ink2); font-size: 14px; }
.csteps { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.csteps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-bottom: 14px; }
.csteps.blue .tn { background: var(--blue); }
.cs { background: var(--panel); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.csteps li.warn .cs { background: #FFF8DB; border: 1px solid #F2D46B; }
.cs > b { display: flex; gap: 8px; align-items: center; font-size: 17px; line-height: 1.3; }
.cs > p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.cs .unv { color: #8E2B25; background: #FBE9E8; border-radius: 8px; padding: 6px 10px; }
.cpic { margin: 12px 0 0; }
.cpic img { display: block; max-width: 100%; max-height: 340px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; }
.cpic figcaption, .cdia figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cdia { margin: 12px 0 0; }
.cdia svg { display: block; width: 100%; height: auto; max-width: 760px; }
.ctab th { width: 30%; } .ctab td small { display: block; color: var(--muted); font-size: 13px; }
.ctab .pg { margin-left: 8px; }
.cjobs { overflow-x: auto; }
.cjobs th { width: auto; }
.pw .pbar { display: block; margin-top: 6px; }
.tag.conf-none { background: var(--panel); color: var(--muted); }
.signs.compact .sg.warn { border-left-color: #F9C80E; }
.sg span.pg { display: inline-block; font-size: 11px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.cguides li { margin-bottom: 6px; } .cguides small { display: block; color: var(--muted); }

/* PPE: what a tool needs, linked to the PPE we own; on a PPE entry, the tools that need it. */
.ppe { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.pi { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line);
  border-left: 6px solid #005BBB; border-radius: 14px; background: #fff; color: var(--ink);
  text-decoration: none; }
.pi .sign { flex: none; }
.pt { flex: 1; min-width: 0; } .pt b { display: block; } .pt span { display: block; color: var(--ink2); font-size: 14px; }
.pt small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.pl { flex: none; align-self: center; font-weight: 700; font-size: 14px; text-align: right; }
.pl .tag { display: block; margin-top: 4px; }
.pn i { align-self: center; font-style: normal; font-size: 24px; color: var(--muted); }
@media (max-width: 640px) { .pi { flex-wrap: wrap; } .pl { text-align: left; width: 100%; } }

@media print {
  @page { size: A4; margin: 10mm 10mm 12mm; }
  html { font-size: 12px; }
  body { overflow: visible; background: #fff; }
  header.bar, .dock, .journey, .printbtn, .send-sec, details.full, .due, .msg { display: none !important; }
  main { max-width: none; padding: 0; zoom: .62; }
  .hero { margin: 0 0 18px; padding: 26px 30px; }
  .hero .kick::before { background: #fff; }
  .hero-in { max-width: none; }
  .printonly { display: block; color: var(--muted); font-size: 13px; margin-top: 24px;
    border-top: 1px solid var(--line); padding-top: 10px; }
  h2.sec { break-after: avoid; margin-top: 22px; }
  .sg, .tl li, .kr, .note, .oc, .shot, .first, .spec div, .ctrl { break-inside: avoid; }
  .sg, .tc, .kr, .note, .ctrl { border: 1px solid var(--line); }
  .ctrl-img img { max-height: 420px; }
  .keys { grid-template-columns: 1fr; }
  .signs { grid-template-columns: repeat(3, 1fr); }
  .signs.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .signs.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .signs.compact { grid-template-columns: repeat(2, 1fr); }
  .tl { max-width: none; }
  .tn { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}

@media (max-width: 640px) {
  .capban { flex-direction: column; align-items: stretch; gap: 10px; }
  .ck img { width: 72px; height: 72px; }
  .signoff { grid-template-columns: 1fr; }
  .ctrl { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .kpis { grid-template-columns: repeat(2, 1fr); margin-top: 14px; padding: 0; }
  .fleet, .queue, .people { grid-template-columns: 1fr; }
  .jb { grid-template-columns: 1fr auto; }
  .jb .thumbs { grid-column: 1 / -1; }
  .legend { columns: 1; }
  .signs.compact { grid-template-columns: 1fr; }
  .spec div.wide, .spec div.wider { grid-column: span 1; }
  header.bar { flex-wrap: wrap; }
  header.bar nav { order: 3; width: 100%; gap: 0; }
  header.bar nav a { padding: 6px 7px; font-size: 14px; }
  h1 { font-size: 23px; }
  .hero { padding: 24px 18px 30px; }
  .hero::after { display: none; }
  .hero-in { align-items: flex-start; }
  .hero h1 { font-size: 28px; }
  .ring { width: 92px; height: 92px; }
  main:has(.dock) { padding-bottom: 96px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; gap: 0; z-index: 5;
    background: var(--black); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    filter: none; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .dock a { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 12px; clip-path: none;
    background: none !important; color: var(--white); box-shadow: none !important; }
  .dock .d-log { color: var(--white); }
  .dock .d-log .ic { color: var(--green); }
  .signs { gap: 10px; }
  .sg { flex-direction: row; align-items: center; padding: 14px; border-top-width: 0;
    border-left: 7px solid; }
  .sg.prohibit { border-left-color: #C8102E; } .sg.warn { border-left-color: #F9C80E; }
  .sg.must { border-left-color: #005BBB; }
  .sg .sign { width: 56px; height: 56px; }
  .sg b { font-size: 16px; } .sg span { font-size: 14px; margin-top: 3px; }
  main { padding: 18px 16px 48px; }
  .journey { margin-top: 14px; padding: 0; }
  .journey small { display: none; }
  .outcomes { grid-template-columns: 1fr; }
  .tc { flex-direction: column; gap: 8px; }
  .tb { width: 44px; height: 44px; }
}
