/*
 * Spark Trails: the work-tool shell of Spark Showroom on the SparkFabrik app kit.
 * Colours, type and radii come from the kit tokens (tokens.css, app.css), so the light and dark
 * themes follow data-theme on <html>. This layer lays out the shell, the page header, the filter
 * pills, the tables, the sign-in pages and the participant flow. Linear icons and coloured dots
 * replace the kit's pixel icons and LED glyphs (requirements §6). It never overrides the kit's
 * own components (buttons, fields, dialogs, toasts).
 */

.tr-ico { width: 20px; height: 20px; flex: none; }
.tr-ico--s { width: 16px; height: 16px; }
.app-root ::selection { background: var(--app-primary); color: #fff; }

/* Shell: the rail on the app ground, the work surface as a raised sheet. */
.tr-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: var(--app-bg); color: var(--app-ink); }
.tr-rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: 2px; height: 100vh; padding: 20px 12px 16px; overflow-y: auto; }
.tr-brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 18px; color: var(--app-ink); text-decoration: none; }
.tr-brand__tile { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--app-primary); color: #fff; }
.tr-brand__name { font: italic 700 26px/1 var(--display); }
.tr-nav { display: flex; flex-direction: column; gap: 2px; }
.tr-nav a, .tr-recent a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--app-radius); color: var(--app-ink); font-size: 18px; text-decoration: none; }
.tr-nav a .tr-ico { color: var(--app-ink2); }
.tr-nav a:hover, .tr-recent a:hover { background: var(--app-sunk); }
.tr-nav a[aria-current="page"] { background: var(--app-active-bg); font-weight: 600; }
.tr-nav a[aria-current="page"] .tr-ico { color: var(--app-primary); }
.tr-count { margin-left: auto; color: var(--app-ink2); font: 500 15px var(--body); font-variant-numeric: tabular-nums; }
.tr-group { margin: 18px 12px 6px; color: var(--app-ink2); font: 600 15px var(--body); }
.tr-testnav { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 12px 0 4px; border-top: 1px solid var(--app-line); }
.tr-testnav:empty { display: none; }
.tr-testnav__name { display: flex; flex-direction: column; gap: 2px; margin: 0 12px 8px; }
.tr-testnav__name b { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.tr-testnav__name small { color: var(--app-ink2); font-size: 15px; }
.tr-recent a { min-height: 40px; font-size: 17px; }
.tr-recent a span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-initial { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 5px; background: var(--app-ink); color: var(--app-surface); font: 600 13px var(--body); }
.tr-initial--none { background: var(--app-field-border); color: var(--app-ink); }
.tr-rail__foot { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 16px; }
.tr-prefs { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; }
.tr-account { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--app-line); }
.tr-account .app-avatar { flex: none; }
.tr-account__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.tr-account__who b { font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-account__who small { color: var(--app-ink2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-account .tr-iconbtn { margin-left: auto; border-color: transparent; background: transparent; color: var(--app-ink2); }

.tr-main { display: flex; flex-direction: column; min-width: 0; margin: 12px 12px 12px 0; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); }
.tr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 24px; border-bottom: 1px solid var(--app-line); }
.tr-search { position: relative; display: flex; align-items: center; width: min(500px, 100%); }
.tr-search .tr-ico { position: absolute; left: 14px; color: var(--app-ink2); pointer-events: none; }
.tr-search input { width: 100%; height: 44px; padding: 0 76px 0 44px; border: 1px solid transparent; border-radius: var(--app-radius); background: var(--app-bg); color: var(--app-ink); font: 400 17px var(--body); }
.tr-search input::placeholder { color: var(--app-ink2); opacity: 1; }
.tr-search input:hover { border-color: var(--app-line); }
.tr-search kbd { position: absolute; right: 12px; padding: 2px 6px; border: 1px solid var(--app-line); border-radius: 4px; color: var(--app-ink2); font: 500 13px var(--mono); pointer-events: none; }
.tr-top__end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.tr-top__end:empty { display: none; }
.tr-iconbtn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--app-field-border); border-radius: var(--app-radius); background: var(--app-surface); color: var(--app-ink); cursor: pointer; }
.tr-iconbtn:hover { background: var(--app-sunk); }
.tr-lang { display: flex; height: 40px; border: 1px solid var(--app-field-border); border-radius: var(--app-radius); overflow: hidden; }
.tr-lang button { padding: 0 12px; border: 0; background: transparent; color: var(--app-ink2); font: 600 15px var(--body); cursor: pointer; }
.tr-lang button:hover:not([aria-pressed="true"]) { background: var(--app-sunk); color: var(--app-ink); }
.tr-lang button[aria-pressed="true"] { background: var(--app-ink); color: var(--app-surface); cursor: default; }

/* Phone: a compact bar with the brand and the menu button; the rail slides in. */
.tr-mobilebar { display: none; }
.tr-scrim { display: none; }

/* Page: header with breadcrumb, title, lead or facts, and a strong rule. */
.tr-page { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 36px 48px 56px; }
.tr-page--narrow { max-width: 960px; }
.tr-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; padding: 0; list-style: none; color: var(--app-ink2); font-size: 16px; }
.tr-crumb a { color: var(--app-ink2); text-underline-offset: 4px; }
.tr-crumb a:hover { color: var(--app-ink); }
.tr-crumb .tr-ico { width: 14px; height: 14px; }
.tr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-bottom: 22px; border-bottom: 2px solid var(--app-ink); }
.tr-head > div:first-child { min-width: 0; flex: 1 1 420px; }
.tr-title { margin: 0; font: italic 700 46px/1.04 var(--display); overflow-wrap: anywhere; text-wrap: balance; }
.tr-lead { margin: 10px 0 0; max-width: 68ch; color: var(--app-ink2); font-size: 19px; line-height: 1.6; }
.tr-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 12px 0 0; color: var(--app-ink2); font-size: 17px; }
.tr-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tr-sectiontitle { margin: 0; font: 600 22px/1.3 var(--body); }

/* Filter pills and the tools row. */
.tr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tr-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.tr-pills button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--app-radius); background: transparent; color: var(--app-ink); font: 500 17px var(--body); cursor: pointer; }
.tr-pills button:hover:not([aria-pressed="true"]) { background: var(--app-sunk); }
.tr-pills button span { color: var(--app-ink2); font-variant-numeric: tabular-nums; }
.tr-pills button[aria-pressed="true"] { background: var(--app-ink); color: var(--app-surface); }
.tr-pills button[aria-pressed="true"] span { color: inherit; opacity: 0.8; }
.tr-tools__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-left: auto; }
.tr-tools__end .app-select { min-width: 220px; }
.tr-tools__end .tr-filter { position: relative; display: flex; align-items: center; min-width: 280px; }
.tr-tools__end .tr-filter .tr-ico { position: absolute; left: 14px; color: var(--app-ink2); pointer-events: none; }
.tr-tools__end .tr-filter input { padding-left: 44px; }

/* Tables. */
.tr-tablewrap { position: relative; overflow-x: auto; }
.tr-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.tr-table th { padding: 12px; border-bottom: 1px solid var(--app-line); color: var(--app-ink2); font: 500 15px var(--body); text-align: left; white-space: nowrap; }
.tr-table td { padding: 14px 12px; border-bottom: 1px solid var(--app-line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tr-table tbody tr.tr-row:hover td { background: var(--app-active-bg); }
.tr-table .num { text-align: right; }
.tr-table .tr-none { color: var(--app-ink2); }
.tr-table td.tr-date { white-space: nowrap; }
.tr-table tr.tr-client td { padding: 20px 12px 12px; border-bottom: 0; }
.tr-table tr.tr-project td { padding: 10px 12px; background: var(--app-bg); color: var(--app-ink2); font-size: 16px; }
.tr-table tr.tr-empty td { color: var(--app-ink2); font-size: 16px; }
.tr-clienthead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tr-clienthead__toggle { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px 6px 4px 0; border: 0; background: transparent; color: var(--app-ink); text-align: left; cursor: pointer; }
.tr-clienthead__toggle .tr-ico { color: var(--app-ink2); transition: transform 0.15s ease-out; }
.tr-clienthead__toggle[aria-expanded="false"] .tr-ico { transform: rotate(-90deg); }
.tr-clienthead__toggle b { font: italic 700 26px/1.05 var(--display); overflow-wrap: anywhere; }
.tr-clienthead__toggle:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tr-clienthead small { color: var(--app-ink2); font-size: 16px; }
.tr-clienthead .tr-rowact { margin-left: auto; }
.tr-projecthead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.tr-projecthead > span { min-width: 0; flex: 1 1 320px; }
.tr-projecthead b { color: var(--app-ink); font-weight: 600; }
.tr-name { display: flex; align-items: center; gap: 14px; min-width: 260px; }
.tr-name > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-name a { color: var(--app-ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.tr-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tr-name small { color: var(--app-ink2); font-size: 15px; }
.tr-tile { display: grid; place-items: center; flex: none; width: 56px; height: 40px; border-radius: 6px; background: var(--app-ink); color: var(--app-surface); }
.tr-tile--url { background: var(--app-primary); color: #fff; }
.tr-rowact { display: flex; justify-content: flex-end; gap: 6px; }
.tr-rowact .app-btn--icon { width: 36px; height: 36px; min-height: 36px; }
.tr-addrow { display: inline-flex; align-items: center; gap: 6px; }
.tr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; color: var(--app-ink2); font-size: 17px; }

/* Status: coloured dot and plain text. */
.tr-status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tr-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--app-field-border); border-radius: 999px; color: var(--app-ink2); font-size: 15px; white-space: nowrap; }

/* Figures, panels, settings rows. */
.tr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tr-kpi { padding: 16px 18px; border: 1px solid var(--app-line); border-radius: var(--app-radius); }
.tr-kpi b { display: block; font: italic 700 36px/1 var(--display); font-variant-numeric: tabular-nums; }
.tr-kpi span { color: var(--app-ink2); font-size: 16px; }
.tr-panel { border: 1px solid var(--app-line); border-radius: var(--app-radius); background: var(--app-surface); }
.tr-settingsrow { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 48px; padding: 28px 0; border-bottom: 1px solid var(--app-line); }
.tr-settingsrow h2, .tr-settingsrow h3 { margin: 0 0 6px; font: 600 20px/1.3 var(--body); }
.tr-settingsrow > div:first-child p { margin: 0; color: var(--app-ink2); font-size: 17px; line-height: 1.55; }

/* Sign-in: the night print on one side, the form on the other. */
.tr-signin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr); min-height: 100vh; background: var(--app-surface); color: var(--app-ink); }
.tr-canvasimg { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 40px; background: #0e2d57; color: #eef2f6; overflow: hidden; }
.tr-canvasimg picture, .tr-canvasimg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-canvasimg img { object-fit: cover; object-position: 85% 100%; }
.tr-canvasimg > :not(picture) { position: relative; }
.tr-canvasimg__brand { display: flex; align-items: center; gap: 12px; color: #eef2f6; text-decoration: none; }
.tr-canvasimg__brand .tr-brand__name { color: #eef2f6; }
.tr-canvasimg__org { margin: 0; color: #c9d4df; font: 600 16px var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.tr-canvasimg__claim { max-width: 540px; margin-top: 32px; }
.tr-canvasimg__claim p:first-child { margin: 0; color: #f3ede2; font: italic 700 60px/0.98 var(--display); text-wrap: balance; }
.tr-canvasimg__claim p + p { margin: 18px 0 0; max-width: 46ch; color: #c9d4df; font-size: 19px; line-height: 1.6; }
.tr-sig { margin: auto 0 0; color: #081430; font: 400 22px/1.2 'Caveat', 'Segoe Script', cursive; }
.tr-form { display: flex; flex-direction: column; justify-content: center; gap: 22px; width: 100%; max-width: 480px; margin: 0 auto; padding: 56px 40px; }
.tr-form h1 { margin: 0; font: italic 700 40px/1.05 var(--display); }
.tr-form__lead { margin: 10px 0 0; color: var(--app-ink2); font-size: 18px; line-height: 1.55; }
.tr-form__note { margin: 0; color: var(--app-ink2); font-size: 16px; line-height: 1.55; }
.tr-form hr { width: 100%; margin: 4px 0; border: 0; border-top: 1px solid var(--app-line); }
.tr-form .tr-prefs { padding: 8px 0 0; }
.tr-google { display: flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border: 1px solid var(--app-field-border); border-radius: var(--app-radius); background: var(--app-surface); color: var(--app-ink); font: 600 18px var(--body); text-decoration: none; cursor: pointer; }
.tr-google:hover { background: var(--app-sunk); }
.tr-google[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

/* Participant flow. */
.tr-flow { min-height: 100vh; background: var(--app-bg); color: var(--app-ink); }
.tr-flowbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; min-height: 60px; padding: 12px 24px; background: #06172b; color: #eef2f6; }
.tr-flowbar b { font: italic 700 22px/1 var(--display); }
.tr-flowbar small { color: #a9b6c3; font-size: 16px; }
.tr-flowbar__end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-left: auto; }
.tr-flowbar .tr-timer { font: 500 20px/1 var(--mono); font-variant-numeric: tabular-nums; }
.tr-flowbar .tr-iconbtn, .tr-flowbar .tr-lang { border-color: rgba(238, 242, 246, 0.3); background: transparent; color: #eef2f6; }
.tr-flowbar .tr-iconbtn:hover { background: rgba(238, 242, 246, 0.12); }
.tr-flowbar .tr-lang button { color: #c9d4df; }
.tr-flowbar .tr-lang button[aria-pressed="true"] { background: #eef2f6; color: #06172b; }
.tr-flowbar .app-btn { min-height: 40px; }
.tr-leds { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-leds i { width: 28px; height: 6px; border-radius: 3px; background: rgba(238, 242, 246, 0.22); }
.tr-leds i.on { background: var(--app-primary); }
.tr-sheet { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 760px; margin: 0 auto; padding: 48px 32px 64px; }
.tr-sheet--wide { max-width: 880px; }
.tr-sheet h1 { margin: 0; font: italic 700 48px/1.02 var(--display); text-wrap: balance; }
.tr-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-surface); }
.tr-task { margin: 0; font-size: 22px; line-height: 1.55; white-space: pre-wrap; }
.tr-steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tr-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-surface); }
.tr-steps li > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--app-ink); color: var(--app-surface); font-weight: 600; }
.tr-steps b { font-size: 18px; }
.tr-steps small { display: block; color: var(--app-ink2); font-size: 17px; line-height: 1.5; }
.tr-scale { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--app-field-border); border-radius: var(--app-radius); overflow: hidden; }
.tr-scale button { height: 48px; border: 0; border-right: 1px solid var(--app-field-border); background: var(--app-surface); color: var(--app-ink); font: 600 18px var(--body); font-variant-numeric: tabular-nums; cursor: pointer; }
.tr-scale button:last-child { border-right: 0; }
.tr-scale button:hover:not([aria-pressed="true"]) { background: var(--app-sunk); }
.tr-scale button[aria-pressed="true"] { background: var(--app-ink); color: var(--app-surface); }
.tr-scale--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tr-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--app-ink2); font-size: 15px; }
.tr-sus { margin: 0; padding: 0; list-style: none; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-surface); }
.tr-sus__head, .tr-sus__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 280px; gap: 12px 16px; align-items: center; padding: 16px 20px; }
.tr-sus__head { padding-block: 12px; border-bottom: 1px solid var(--app-line); color: var(--app-ink2); font-size: 14px; }
.tr-sus__row + .tr-sus__row { border-top: 1px solid var(--app-line); }
.tr-sus__row fieldset { display: contents; }
.tr-sus__row legend { display: contents; }
.tr-sus__n { color: var(--app-ink2); font-weight: 600; font-variant-numeric: tabular-nums; }
.tr-sus__text { font-size: 18px; line-height: 1.45; }
.tr-sus__row .tr-scale button { height: 44px; }
.tr-sus__row.is-missing { background: color-mix(in srgb, var(--app-error) 8%, transparent); }
.tr-done { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--app-primary); color: #fff; }
.tr-done .tr-ico { width: 28px; height: 28px; }

/* Prototype test: the bar over the prototype, the instruction as a floating panel. */
.tr-protopanel { position: absolute; top: 16px; right: 16px; z-index: 4; display: flex; flex-direction: column; gap: 14px; width: min(420px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 20px; overflow: auto; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); color: var(--app-ink); box-shadow: 0 18px 48px rgba(6, 23, 43, 0.28); }

@media (max-width: 1100px) {
  .tr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-sus__head { display: none; }
  .tr-sus__row { grid-template-columns: 32px minmax(0, 1fr); }
  .tr-sus__row .tr-scale, .tr-sus__row .tr-ends { grid-column: 2; }
}

@media (max-width: 860px) {
  .tr-shell { grid-template-columns: minmax(0, 1fr); }
  .tr-mobilebar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--app-bg); border-bottom: 1px solid var(--app-line); }
  .tr-mobilebar .tr-brand { padding: 0; }
  .tr-mobilebar .tr-iconbtn { margin-left: auto; }
  .tr-rail { position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(320px, 86vw); height: 100%; background: var(--app-bg); box-shadow: 0 0 40px rgba(6, 23, 43, 0.3); transform: translateX(-105%); visibility: hidden; transition: transform 0.2s ease-out, visibility 0.2s; }
  .tr-rail[data-open="true"] { transform: none; visibility: visible; }
  .tr-scrim[data-open="true"] { position: fixed; inset: 0; z-index: 45; display: block; background: rgba(6, 23, 43, 0.45); }
  .tr-main { margin: 0; border: 0; border-radius: 0; }
  .tr-top { padding: 12px 16px; }
  .tr-search { width: 100%; }
  .tr-search kbd { display: none; }
  .tr-search input { padding-right: 14px; }
  .tr-top__end { width: 100%; margin-left: 0; flex-wrap: nowrap; }
  .tr-top__end > * { flex: 1 1 auto; justify-content: center; }
  .tr-page { padding: 24px 16px 40px; gap: 20px; }
  .tr-title { font-size: 36px; }
  .tr-lead { font-size: 18px; }
  .tr-tools__end { width: 100%; margin-left: 0; }
  .tr-tools__end .app-select, .tr-tools__end .tr-filter { flex: 1 1 100%; min-width: 0; }
  .tr-settingsrow { grid-template-columns: minmax(0, 1fr); }
  .tr-signin { grid-template-columns: minmax(0, 1fr); }
  .tr-canvasimg { min-height: 260px; padding: 24px 20px; }
  .tr-canvasimg img { object-position: 92% 100%; }
  .tr-canvasimg__claim, .tr-sig { display: none; }
  .tr-form { justify-content: flex-start; padding: 28px 20px 40px; }
  .tr-form h1 { font-size: 32px; }
  .tr-flowbar { padding: 10px 16px; }
  .tr-sheet { padding: 28px 16px 40px; }
  .tr-sheet h1 { font-size: 38px; }
  .tr-task { font-size: 19px; }

  /* Test rows as cards: name and actions on top, the facts below. */
  .tr-table--tests thead { display: none; }
  .tr-table--tests tr.tr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 4px; border-bottom: 1px solid var(--app-line); }
  .tr-table--tests tr.tr-row td { padding: 0; border: 0; }
  .tr-table--tests tr.tr-row td:first-child { grid-column: 1; }
  .tr-table--tests tr.tr-row td.tr-rowcell { grid-column: 2; grid-row: 1; }
  .tr-table--tests tr.tr-row td[data-label] { grid-column: 1 / -1; color: var(--app-ink2); font-size: 16px; text-align: left; }
  .tr-table--tests tr.tr-row td[data-label]::before { content: attr(data-label) ": "; }
  .tr-table--tests tr.tr-client, .tr-table--tests tr.tr-project, .tr-table--tests tr.tr-empty { display: block; }
  .tr-table--tests tr.tr-client td, .tr-table--tests tr.tr-project td, .tr-table--tests tr.tr-empty td { display: block; }
  .tr-name { min-width: 0; }
  .tr-tile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tr-rail, .tr-clienthead__toggle .tr-ico { transition: none; }
}

/* A section inside a test: its own title and lead under the test header. */
.tr-section { display: flex; flex-direction: column; gap: 24px; }
.tr-section--narrow { max-width: 820px; }
.tr-sectionhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.tr-sectionhead > div:first-child { min-width: 0; flex: 1 1 420px; }
.tr-sectionhead .tr-lead { margin-top: 6px; font-size: 18px; }
.tr-person { display: flex; flex-direction: column; gap: 2px; min-width: 220px; }
.tr-person small { color: var(--app-ink2); font-size: 15px; }
.tr-table--people .app-select { max-width: 240px; }
@media (max-width: 860px) {
  .tr-table--people thead { display: none; }
  .tr-table--people tr.tr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 4px; border-bottom: 1px solid var(--app-line); }
  .tr-table--people tr.tr-row td { padding: 0; border: 0; }
  .tr-table--people tr.tr-row td.tr-rowcell { grid-column: 2; grid-row: 1; }
  .tr-table--people tr.tr-row td[data-label] { grid-column: 1 / -1; }
  .tr-table--people .app-select { max-width: none; }
}
.tr-sus__ends { display: none; }
@media (max-width: 1100px) {
  .tr-sus__row .tr-sus__ends { display: flex; }
}
.tr-flowbar .app-btn { border-color: rgba(238, 242, 246, 0.3); background: transparent; color: #eef2f6; }
.tr-flowbar .app-btn:hover { background: rgba(238, 242, 246, 0.12); }

/* Prototype test: the drawer over the prototype takes the flow bar's look. */
.ut-drawer.app-dark { background: #06172b; box-shadow: none; }
.ut-bar .ut-count { font: italic 700 22px/1 var(--display); text-transform: none; }
.ut-bar .tr-leds { flex: none; }

/* Section tabs under the test header, on phones only. */
.tr-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--app-field-border); }
.tr-tabs a { flex: none; margin-bottom: -1px; padding: 10px 12px; border-bottom: 3px solid transparent; color: var(--app-ink2); font: 500 17px var(--body); text-decoration: none; white-space: nowrap; }
.tr-tabs a[aria-current="page"] { border-bottom-color: var(--app-primary); color: var(--app-ink); font-weight: 600; }
.tr-sectiontabs { display: none; }
@media (max-width: 860px) {
  .tr-sectiontabs { display: flex; margin-top: -8px; }
}
.tr-table tr.tr-project.is-focus td { background: var(--app-active-bg); color: var(--app-ink); }

/* Website test: the task bar in the floating Picture-in-Picture window. */
.tr-pip { margin: 0; min-height: 100vh; }
.tr-pipbar .tr-flowbar { position: sticky; top: 0; min-height: 0; padding: 10px 14px; }
.tr-pipbar .tr-flowbar b { font-size: 19px; }
.tr-pipbody { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.tr-pipbody .tr-task { font-size: 17px; line-height: 1.5; }
.tr-pipbody .app-btn { justify-content: center; }
.tr-pipnote { margin: 0; color: var(--app-ink2); font-size: 15px; line-height: 1.5; }
.tr-piptimer { display: flex; align-items: baseline; justify-content: space-between; margin: 0; color: var(--app-ink2); }
.tr-piptimer b { color: var(--app-ink); font: 500 32px/1 var(--mono); font-variant-numeric: tabular-nums; }
.tr-pipactions { display: grid; gap: 8px; }
.tr-pipbody .tr-scale button { height: 40px; font-size: 16px; }

/* Guide. */
.tr-guide h2 { margin: 4px 0 6px; font: 600 20px/1.3 var(--body); }
.tr-guide p { margin: 0; max-width: 70ch; color: var(--app-ink2); font-size: 17px; line-height: 1.6; }

/* Sidebar top row, footer links, and the reduced sidebar (icons only). */
.tr-rail__top { display: flex; align-items: center; gap: 8px; }
.tr-rail__top .tr-brand { flex: 1; min-width: 0; }
.tr-brand__toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-bottom: 16px; border: 1px solid transparent; border-radius: var(--app-radius); background: transparent; color: var(--app-ink2); cursor: pointer; }
.tr-brand__toggle:hover { background: var(--app-sunk); color: var(--app-ink); }
.tr-footnav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tr-footnav a { color: var(--app-ink); font-weight: 600; text-underline-offset: 5px; }
.tr-clienthead__link { color: var(--app-ink); font: italic 700 26px/1.05 var(--display); text-decoration: none; }
.tr-clienthead__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tr-plain { color: var(--app-ink); text-decoration: none; }
.tr-plain:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 861px) {
  .tr-shell.is-reduced { grid-template-columns: 76px minmax(0, 1fr); }
  .is-reduced .tr-rail { padding-inline: 10px; }
  .is-reduced .tr-rail__top { flex-direction: column; }
  .is-reduced .tr-brand { padding: 2px 0 8px; justify-content: center; }
  .is-reduced .tr-brand__name, .is-reduced .tr-label, .is-reduced .tr-count, .is-reduced .tr-group, .is-reduced .tr-recent, .is-reduced .tr-testnav__name, .is-reduced .tr-account__who, .is-reduced .tr-prefs .tr-lang { display: none; }
  .is-reduced .tr-nav a { justify-content: center; padding: 0; }
  .is-reduced .tr-prefs { flex-direction: column; padding: 8px 0 0; }
  .is-reduced .tr-account { flex-direction: column; padding: 12px 0 4px; }
  .is-reduced .tr-account .tr-iconbtn { margin-left: 0; }
}
@media (max-width: 860px) {
  .tr-brand__toggle { display: none; }
}

/* Forms in labelled rows: the study, the settings. */
.tr-form-rows { display: flex; flex-direction: column; }
.tr-form-rows > .tr-settingsrow:first-child { padding-top: 8px; }
.tr-settingsrow__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tr-settingsrow .ut-task-card { padding: 18px 20px; }
.tr-savebar { position: sticky; bottom: 12px; z-index: 3; margin-top: 24px; }

/* Add forms (people, participants): fields and the button on one aligned row. */
.tr-addform { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(180px, 0.8fr) auto; gap: 16px; align-items: end; padding: 20px; }
.tr-addform--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
.tr-addform .app-field { margin: 0; }
.tr-addform > .app-btn { min-height: var(--app-control); white-space: nowrap; }
.tr-addform > .app-field__hint { grid-column: 1 / -1; margin: 0; }
.tr-addform > .app-field__hint:empty { display: none; }
@media (max-width: 1100px) {
  .tr-addform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tr-addform > .app-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .tr-addform, .tr-addform--3 { grid-template-columns: minmax(0, 1fr); }
}
.tr-addform .app-select, .tr-addform .app-select .app-input { width: 100%; min-width: 0; }

/* Motion, after Spark Showroom: ease-out for what enters, ease-in-out for what moves, never ease-in. */
:root { --tr-motion-press: 120ms; --tr-motion-fast: 150ms; --tr-motion-base: 200ms; --tr-motion-slow: 250ms; --tr-motion-long: 300ms; --tr-ease-out: cubic-bezier(0.23, 1, 0.32, 1); --tr-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }
.app-root .app-btn { transition: transform var(--tr-motion-press) var(--tr-ease-out), background-color var(--tr-motion-fast) ease, border-color var(--tr-motion-fast) ease, color var(--tr-motion-fast) ease; }
.app-root .app-btn:active:not(:disabled) { transform: scale(0.97); }
.tr-nav a, .tr-recent a, .tr-pills button, .tr-iconbtn, .tr-lang button, .tr-scale button, .so-item, .so-row, .am-item, .am-seg button { transition: background-color var(--tr-motion-fast) ease, color var(--tr-motion-fast) ease, box-shadow var(--tr-motion-fast) ease; }
.tr-table tbody tr.tr-row td { transition: background-color var(--tr-motion-fast) ease; }
@media (hover: hover) and (pointer: fine) {
  .tr-table tbody tr.tr-row:hover td { transition-duration: 80ms; }
  .tr-table tbody tr.tr-row .tr-rowact { opacity: 0.55; transition: opacity 100ms ease; }
  .tr-table tbody tr.tr-row:hover .tr-rowact, .tr-table tbody tr.tr-row:focus-within .tr-rowact { opacity: 1; }
}
@media (min-width: 861px) {
  .tr-shell { transition: grid-template-columns var(--tr-motion-base) var(--tr-ease-in-out); }
  .tr-label, .tr-count, .tr-brand__name { transition: opacity var(--tr-motion-fast) ease; }
}
@keyframes tr-pop { from { opacity: 0; transform: scale(0.95); } }
@keyframes tr-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .app-root .app-btn:active:not(:disabled) { transform: none; }
  .tr-shell { transition: none; }
}

/* Avatar with the Google profile photo, initials as fallback. */
.tr-photo { display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 50%; background: var(--app-sunk); color: var(--app-ink); font: 600 14px var(--body); box-shadow: 0 0 0 1px var(--app-line); }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; }
.tr-photo--lg { width: 64px; height: 64px; font-size: 22px; }
/* Account menu. */
.am-trigger { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--app-radius); background: transparent; color: var(--app-ink); text-align: left; }
.am-trigger[aria-expanded="true"] { background: var(--app-surface); border-color: var(--app-line); }
.am-trigger span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.am-trigger b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.am-trigger small { overflow: hidden; color: var(--app-ink2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.am-trigger svg { margin-left: auto; color: var(--app-ink2); }
.am-menu { position: absolute; z-index: 20; width: 300px; padding: 6px; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); box-shadow: 0 1px 2px rgba(6, 23, 43, 0.08), 0 16px 40px rgba(6, 23, 43, 0.18); transform-origin: bottom left; }
.am-who { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 10px 14px; }
.am-who .tr-photo { width: 48px; height: 48px; }
.am-who b { display: block; font-size: 16px; }
.am-who small { display: block; overflow: hidden; color: var(--app-ink2); font-size: 14px; text-overflow: ellipsis; }
.am-who .tr-tag { height: 22px; margin-top: 6px; font-size: 13px; }
.am-sep { height: 1px; margin: 4px 6px; background: var(--app-line); }
.am-label { margin: 8px 10px 4px; color: var(--app-ink2); font: 600 13px var(--body); }
.am-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 6px 6px; padding: 3px; border-radius: 8px; background: var(--app-sunk); }
.am-seg button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border: 0; border-radius: 6px; background: transparent; color: var(--app-ink2); font: 600 14px var(--body); }
.am-seg button[aria-checked="true"] { background: var(--app-surface); color: var(--app-ink); box-shadow: 0 1px 2px rgba(6, 23, 43, 0.12); }
.am-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--app-ink); font: 500 16px var(--body); text-align: left; text-decoration: none; }
.am-item:hover, .am-item[data-highlighted] { background: var(--app-sunk); }
.am-item kbd { margin-left: auto; color: var(--app-ink2); font: 500 13px var(--mono); }

.am { position: relative; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--app-line); }
.am-trigger { cursor: pointer; font-family: var(--body); }
.am-trigger:hover { background: var(--app-sunk); }
.am-menu { position: fixed; z-index: 1400; animation: tr-pop var(--tr-motion-base) var(--tr-ease-out); }
.am-menu:focus { outline: none; }
.am-menu--side { transform-origin: bottom left; }
.am-seg button, .am-item { cursor: pointer; font-family: var(--body); }
.am-seg button:focus-visible, .am-item:focus-visible { outline: 2px solid var(--app-ink); outline-offset: -2px; }
.am-seg button .ut-ico { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .am-menu { animation-name: tr-fade; } }
@media (min-width: 861px) {
  .is-reduced .am-trigger { justify-content: center; padding: 6px 0; }
  .is-reduced .am-trigger .tr-label { display: none; }
}
@media (max-width: 860px) { .am-menu { width: min(300px, calc(100vw - 32px)); } }

/* Settings overlay: full screen, its own sidebar of sections, one sheet. */
.so { position: fixed; inset: 0; z-index: 1300; display: grid; grid-template-columns: 268px minmax(0, 1fr); height: 100vh; background: var(--app-bg); color: var(--app-ink); animation: so-in var(--tr-motion-base) var(--tr-ease-out); }
@keyframes so-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .so { animation: none; } }
.so-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 12px 16px; overflow-y: auto; }
.so-back { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-bottom: 14px; padding: 0 10px; border-radius: var(--app-radius); color: var(--app-ink); font-weight: 600; text-decoration: none; }
.so-back:hover { background: var(--app-sunk); }
.so-group { margin: 14px 12px 4px; color: var(--app-ink2); font: 600 14px var(--body); }
.so-item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: var(--app-radius); color: var(--app-ink); font-size: 17px; text-decoration: none; }
.so-item:hover { background: var(--app-sunk); }
.so-item[aria-current="page"] { background: var(--app-surface); box-shadow: inset 0 0 0 1px var(--app-line); font-weight: 600; }
.so-item .tr-count { margin-left: auto; }
.so-item small { margin-left: auto; color: var(--app-ink2); font-size: 13px; }
.so-foot { margin-top: auto; padding: 12px; color: var(--app-ink2); font-size: 14px; }
.so-foot kbd { padding: 1px 6px; border: 1px solid var(--app-line); border-radius: 4px; font: 500 13px var(--mono); }
.so-sheet { position: relative; margin: 12px 12px 12px 0; overflow-y: auto; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); }
.so-page { display: flex; flex-direction: column; gap: 0; width: 100%; max-width: 1080px; margin: 0 auto; padding: 36px 48px 48px; }
.so-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding-bottom: 22px; border-bottom: 2px solid var(--app-ink); }
.so-head h1 { margin: 0; font: italic 700 40px/1.04 var(--display); }
.so-head p { margin: 8px 0 0; max-width: 68ch; color: var(--app-ink2); font-size: 18px; line-height: 1.55; }
.so-close { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2; }
.so-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px 40px; padding: 26px 0; border-bottom: 1px solid var(--app-line); }
.so-section h2 { margin: 0 0 6px; font: 600 19px/1.3 var(--body); }
.so-section > div:first-child p { margin: 0; color: var(--app-ink2); font-size: 16px; line-height: 1.55; }
.so-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.so-index { display: flex; flex-direction: column; }
.so-index h2 { margin: 26px 0 8px; color: var(--app-ink2); font: 600 15px var(--body); }
.so-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 14px 10px; border-bottom: 1px solid var(--app-line); color: var(--app-ink); text-decoration: none; }
.so-row:hover { background: var(--app-active-bg); }
.so-row b { display: block; font-size: 17px; }
.so-row small { display: block; color: var(--app-ink2); font-size: 15px; line-height: 1.45; }
.so-row > span:nth-child(3) { color: var(--app-ink2); font-size: 15px; }
.so-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--app-sunk); color: var(--app-ink); }
.so-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--app-line); border-radius: var(--app-radius); }
.so-facts div { padding: 14px 16px; }
.so-facts div + div { border-left: 1px solid var(--app-line); }
.so-facts dt { color: var(--app-ink2); font-size: 14px; }
.so-facts dd { margin: 4px 0 0; font-weight: 600; }
.so-switchrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--app-line); }
.so-switchrow small { display: block; color: var(--app-ink2); font-size: 15px; }
.so-switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--app-field-border); }
.so-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--tr-motion-press) var(--tr-ease-out); }
.so-switch[aria-checked="true"] { background: var(--app-ink); }
.so-switch[aria-checked="true"]::after { transform: translateX(18px); }
.so-actions { display: flex; align-items: center; gap: 12px; padding: 16px 0 0; }
.so-actions span { color: var(--app-ink2); font-size: 15px; }
.so-actions .app-btn--primary { margin-left: auto; }

.am-trigger, .am-item { font-family: var(--body); }
.am-trigger b { font-size: 16px; }
.so-group small { font-weight: 500; }
.so .tr-addform .app-field { min-width: 0; }
.so .tr-addform .app-select, .so .tr-addform .app-select .app-input { width: 100%; min-width: 0; }

.so-sheet .tr-page { padding: 32px 48px 48px; }
.so-section .tr-lang { width: max-content; }
.so-profile { display: flex; align-items: center; gap: 16px; }
@media (max-width: 860px) {
  .so { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .so-side { flex-direction: row; flex-wrap: nowrap; gap: 4px; overflow-x: auto; padding: 10px 12px; border-bottom: 1px solid var(--app-line); }
  .so-side .so-group, .so-side .so-foot, .so-side .so-item .tr-count { display: none; }
  .so-side .so-item, .so-side .so-back { flex: none; margin: 0; white-space: nowrap; }
  .so-sheet { margin: 0; border: 0; border-radius: 0; }
  .so-sheet .tr-page, .so-page { padding: 20px 16px 40px; }
  .so-section { grid-template-columns: minmax(0, 1fr); }
  .so-facts { grid-template-columns: minmax(0, 1fr); }
  .so-facts div + div { border-left: 0; border-top: 1px solid var(--app-line); }
}

/* Test composer: outline, editor, participant preview. */
.cp { display: grid; grid-template-columns: 280px minmax(0, 1fr) 360px; gap: 0; min-height: 860px; border-top: 1px solid var(--app-line); }
.cp-outline { display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; border-right: 1px solid var(--app-line); background: var(--app-bg); }
.cp-group { margin: 14px 10px 6px; color: var(--app-ink2); font: 600 14px var(--body); letter-spacing: 0.02em; }
.cp-group:first-child { margin-top: 0; }
.cp-block { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 52px; padding: 6px 10px 6px 6px; border: 1px solid transparent; border-radius: var(--app-radius); color: var(--app-ink); text-decoration: none; }
.cp-block:hover { background: var(--app-surface); border-color: var(--app-line); }
.cp-block[aria-current="true"] { background: var(--app-surface); border-color: var(--app-ink); box-shadow: 0 1px 0 var(--app-line); }
.cp-grip { color: var(--app-field-border); cursor: grab; }
.cp-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--app-ink); color: var(--app-surface); font: 600 13px var(--body); font-variant-numeric: tabular-nums; }
.cp-num--fixed { background: transparent; border: 1px solid var(--app-field-border); color: var(--app-ink2); }
.cp-block b { display: block; overflow: hidden; font-weight: 600; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.cp-block small { display: block; overflow: hidden; color: var(--app-ink2); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cp-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--app-warn) 16%, transparent); color: var(--app-ink); font: 600 13px var(--body); }
.cp-badge--ok { background: transparent; color: var(--app-ok); padding: 0; }
.cp-add { display: flex; align-items: center; gap: 8px; margin: 6px 4px; padding: 10px 12px; border: 1px dashed var(--app-field-border); border-radius: var(--app-radius); background: transparent; color: var(--app-ink); font: 600 16px var(--body); }
.cp-locked { color: var(--app-ink2); }
.cp-editor { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 28px 36px 40px; }
.cp-editor__head { display: flex; align-items: center; gap: 12px; }
.cp-editor__head h2 { margin: 0; font: italic 700 32px/1.05 var(--display); }
.cp-editor__head .tr-rowact { margin-left: auto; }
.cp-field { display: flex; flex-direction: column; gap: 8px; }
.cp-field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cp-field label { font-weight: 600; font-size: 16px; }
.cp-field__help { margin: 0; color: var(--app-ink2); font-size: 15px; line-height: 1.5; }
.cp-count { color: var(--app-ink2); font: 500 14px var(--body); font-variant-numeric: tabular-nums; }
.cp-count--warn { color: var(--app-warn); }
.cp-scenario { min-height: 132px; padding: 14px 16px; font-size: 19px; line-height: 1.55; }
.cp-hint { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: var(--app-radius); background: color-mix(in srgb, var(--app-warn) 12%, var(--app-surface)); font-size: 15px; line-height: 1.5; }
.cp-hint mark { background: color-mix(in srgb, var(--app-warn) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.cp-private { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--app-sunk); color: var(--app-ink2); font: 600 13px var(--body); }
.cp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-after { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--app-line); border-radius: var(--app-radius); }
.cp-after p { margin: 0; color: var(--app-ink2); font-size: 15px; }
.cp-preview { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-left: 1px solid var(--app-line); background: var(--app-bg); }
.cp-preview__bar { display: flex; align-items: center; justify-content: space-between; color: var(--app-ink2); font: 600 14px var(--body); }
.cp-device { overflow: hidden; border: 1px solid var(--app-line); border-radius: 14px; background: var(--app-surface); box-shadow: 0 12px 32px rgba(6, 23, 43, 0.12); }
.cp-device .tr-flowbar { min-height: 0; padding: 10px 14px; }
.cp-device .tr-flowbar b { font-size: 18px; }
.cp-device__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 22px; background: var(--app-bg); }
.cp-device__body p { margin: 0; font-size: 16px; line-height: 1.5; }
.cp-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border: 1px solid var(--app-line); border-radius: var(--app-radius); background: var(--app-surface); }
.cp-status__title { font-weight: 600; }
.cp-status ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-status li a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--app-field-border); border-radius: 999px; color: var(--app-ink); font-size: 15px; text-decoration: none; }
.cp-status li a:hover { background: var(--app-sunk); }
.cp-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--app-ink2); font-size: 15px; }
.cp-live { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: var(--app-radius); background: color-mix(in srgb, var(--app-run) 12%, var(--app-surface)); font-size: 15px; line-height: 1.5; }


.tr-page:has(.cp) { max-width: none; }
.cp { min-height: 640px; margin: 0 -48px; border-bottom: 1px solid var(--app-line); grid-template-columns: 280px minmax(0, 1fr) 340px; }
.cp-outline { padding: 18px 10px; }
.cp-tasks { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cp-tasks li.is-dragging { opacity: 0.5; }
.cp-block { width: 100%; background: transparent; font-family: var(--body); text-align: left; cursor: pointer; }
.cp-block .cp-grip { cursor: grab; }
.cp-locked { cursor: pointer; }
.cp-badge .ut-ico, .cp-num .ut-ico { width: 14px; height: 14px; }
.cp-add { cursor: pointer; font-family: var(--body); }
.cp-add:hover { background: var(--app-surface); }
.cp-editor { padding: 24px 32px 36px; }
.cp-editor__head h2 { overflow-wrap: anywhere; }
.cp-field__help { margin: 0; }
.cp-hint { margin: 0; }
.cp-hint .ut-ico { margin-top: 2px; color: var(--app-warn); }
.cp-live { margin: 0; }
.cp-live .ut-ico { margin-top: 2px; }
.cp-details { display: flex; flex-direction: column; gap: 18px; }
.cp-preview__note { margin: 0; color: var(--app-ink2); font-size: 15px; line-height: 1.5; }
.cp-device--phone { width: 280px; margin-inline: auto; }
.cp-device__title { font: italic 700 26px/1 var(--display); }
.cp-device .app-btn { pointer-events: none; }
.cp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cp-toolbar .cp-status { flex: 1 1 520px; }
.cp-status--ok { background: color-mix(in srgb, var(--app-ok) 8%, var(--app-surface)); }
.cp-status li button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--app-field-border); border-radius: 999px; background: var(--app-surface); color: var(--app-ink); font: 500 15px var(--body); cursor: pointer; transition: background-color var(--tr-motion-fast) ease; }
.cp-status li button:hover { background: var(--app-sunk); }
.cp-saved { white-space: nowrap; }
@media (max-width: 1280px) {
  .cp { grid-template-columns: 260px minmax(0, 1fr); }
  .cp-preview { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--app-line); }
}
@media (max-width: 860px) {
  .cp { grid-template-columns: minmax(0, 1fr); margin: 0 -16px; }
  .cp-outline { border-right: 0; border-bottom: 1px solid var(--app-line); }
  .cp-editor { padding: 20px 16px 28px; }
  .cp-split { grid-template-columns: minmax(0, 1fr); }
}
.cp-split { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cp-field__row label { white-space: nowrap; }
.cp-private { white-space: nowrap; }

/* Top bar search: a button that opens the Ctrl K palette. */
.tr-search { gap: 12px; height: 44px; padding: 0 12px 0 14px; border: 1px solid transparent; border-radius: var(--app-radius); background: var(--app-bg); color: var(--app-ink2); font: 400 17px var(--body); text-align: left; cursor: pointer; transition: border-color var(--tr-motion-fast) ease; }
.tr-search:hover { border-color: var(--app-line); }
.tr-search .tr-ico { position: static; }
.tr-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-search kbd { position: static; }

/* Ctrl K palette (after Spark Showroom): opens and highlights at once, no motion. */
.pal { position: fixed; inset: 12vh 0 auto; width: min(680px, calc(100vw - 32px)); max-height: 76vh; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid var(--app-line); border-radius: 14px; background: var(--app-surface); color: var(--app-ink); box-shadow: 0 24px 64px rgba(3, 21, 39, 0.28); }
.pal[open] { display: flex; flex-direction: column; }
.pal::backdrop { background: rgb(3 21 39 / 0.32); }
.pal-field { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--app-line); }
.pal-field .tr-ico { color: var(--app-ink2); }
.pal-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--app-ink); font: 400 19px var(--body); }
.pal-field .tr-iconbtn { border-color: transparent; background: transparent; }
.pal-list { flex: 1; overflow-y: auto; padding: 6px; }
.pal-state { margin: 0; padding: 16px 12px; color: var(--app-ink2); font-size: 16px; }
.pal-group { margin: 10px 12px 4px; color: var(--app-ink2); font: 600 14px var(--body); }
.pal-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; cursor: pointer; }
.pal-row .tr-ico { color: var(--app-ink2); }
.pal-row[aria-selected="true"] { background: var(--app-sunk); }
.pal-row[aria-selected="true"] .pal-title { font-weight: 600; }
.pal-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-context { color: var(--app-ink2); font-size: 15px; white-space: nowrap; }
.pal-foot { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--app-line); color: var(--app-ink2); font-size: 14px; }
.pal-foot kbd { padding: 1px 6px; border: 1px solid var(--app-line); border-radius: 4px; font: 500 12px var(--mono); }
@media (max-width: 860px) { .pal-foot, .tr-search kbd { display: none; } .pal { inset: 16px 0 auto; max-height: calc(100vh - 32px); } }
.app-root .pal-field input:focus, .app-root .pal-field input:focus-visible { outline: none; box-shadow: none; }

/* Client page. */
.cl-head { display: flex; flex-direction: column; gap: 4px; }
.cl-title { display: flex; align-items: center; gap: 16px; }
.cl-mark { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 10px; background: var(--app-ink); color: var(--app-surface); font: italic 700 32px/1 var(--display); }
.cl-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 0; border-top: 2px solid var(--app-ink); border-bottom: 1px solid var(--app-line); }
.cl-facts div { padding: 14px 16px; }
.cl-facts div + div { border-left: 1px solid var(--app-line); }
.cl-facts dt { color: var(--app-ink2); font-size: 15px; }
.cl-facts dd { margin: 4px 0 0; font: italic 700 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.cl-run { color: var(--app-run); }
.cl-tabs a .tr-count { margin-left: 4px; }
.cl-section { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--app-line); }
.cl-section:last-of-type { border-bottom: 0; }
.cl-section .tr-sectiontitle { display: flex; align-items: center; gap: 10px; }
.cl-sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) {
  .cl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-facts div:nth-child(3) { border-left: 0; }
  .cl-mark { width: 48px; height: 48px; font-size: 24px; }
}

/* Client page (after the Spark Showroom console page). */
.cs { --cs-muted: var(--app-muted, #56636f); --cs-rule: color-mix(in srgb, var(--app-ink) 9%, transparent); --cs-rule-strong: color-mix(in srgb, var(--app-ink) 16%, transparent); width: 100%; max-width: 1120px; margin: 0 auto; padding: 32px 40px 48px; }
.cs-crumb { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--app-ink2); font-size: 16px; }
.cs-crumb .tr-iconbtn { width: 36px; height: 36px; }
.cs-crumb a { color: var(--app-ink2); text-decoration: none; }
.cs-crumb a:hover { color: var(--app-ink); text-decoration: underline; text-underline-offset: 3px; }
.cs-crumb span[aria-current] { color: var(--app-ink); }
.cs-head { display: flex; flex-direction: column; gap: 24px; }
.cs-titlerow { display: flex; align-items: flex-start; gap: 14px; }
.cs-mark { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 8px; background: #0e2d57; color: #fff; font: italic 700 30px/1 var(--display); }
.cs-titlerow h1 { margin: 6px 0 0; font: italic 700 36px/1.1 var(--display); }
.cs-titlerow p { margin: 8px 0 0; max-width: 72ch; color: var(--app-ink2); font-size: 18px; line-height: 1.5; }
.cs-titlerow .cs-actions { display: flex; gap: 10px; margin-left: auto; }
.cs-help { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--app-line); color: var(--app-ink2); }
.cs-help:hover { background: var(--app-sunk); }
.cs-strip { display: flex; margin: 0; border-top: 2px solid var(--app-ink); border-bottom: 1px solid var(--app-line); }
.cs-strip > div { flex: 1 1 150px; min-width: 120px; padding: 12px 16px 12px 0; }
.cs-strip > div + div { padding-left: 16px; border-left: 1px solid var(--cs-rule); }
.cs-strip > div.cs-grow { flex-grow: 1.4; }
.cs-strip dt { color: var(--cs-muted); font-size: 14px; }
.cs-strip dd { margin: 6px 0 0; font: 600 16px/1.3 var(--body); font-variant-numeric: tabular-nums; }
.cs-strip dd.cs-fig { font: italic 700 25px/1 var(--display); }
.cs-strip dd.cs-empty { color: var(--cs-muted); font-weight: 400; }
.cs-strip dd small { display: block; margin-top: 2px; color: var(--app-ink2); font: 400 14px var(--body); }
.cs-state { display: inline-flex; align-items: center; gap: 8px; }
.cs-state::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #c3cbd3; }
.cs-state--ok::before { background: #0b6a72; }
.cs-state--warn::before { background: #b86a00; }
.cs-state--run::before { background: transparent; box-shadow: inset 0 0 0 2px var(--app-run); }
.cs-tabs { display: flex; gap: 24px; height: 44px; border-bottom: 1px solid var(--cs-rule); overflow-x: auto; scrollbar-width: none; }
.cs-tabs a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--app-ink2); font-size: 16px; text-decoration: none; white-space: nowrap; transition: color 120ms ease; }
.cs-tabs a:hover { color: var(--app-ink); }
.cs-tabs a[aria-current="page"] { color: var(--app-ink); font-weight: 600; }
.cs-tabs a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--app-ink); }
.cs-tabs a span { color: var(--cs-muted); font-weight: 400; }
.cs-section { padding: 32px 0; border-bottom: 1px solid var(--cs-rule); }
.cs-section:first-of-type { padding-top: 8px; }
.cs-section:last-of-type { border-bottom: 0; }
.cs-sechead { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cs-sechead .tr-ico { color: var(--app-ink2); }
.cs-sechead h2 { margin: 0; font: 600 22px/1.3 var(--body); }
.cs-sechead a { margin-left: auto; color: var(--app-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cs-rule-strong); text-underline-offset: 3px; }
.cs-sechead a:hover { text-decoration-color: var(--app-primary); }
.cs-next { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--cs-rule); }
.cs-next:first-of-type { border-top: 1px solid var(--cs-rule); }
.cs-next .tr-ico { color: var(--app-ink2); }
.cs-next b { font-size: 17px; }
.cs-next small { grid-column: 2; color: var(--app-ink2); font-size: 15px; }
.cs-next .app-btn { grid-row: 1 / span 2; grid-column: 3; }
.cs-project { padding: 20px 0 8px; }
.cs-project + .cs-project { border-top: 1px solid var(--cs-rule); }
.cs-project h3 { margin: 0; font: 600 18px/1.3 var(--body); }
.cs-project > p { margin: 4px 0 12px; color: var(--app-ink2); font-size: 15px; }
.cs-rounds { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.cs-rounds th { padding: 8px 12px 8px 0; color: var(--cs-muted); font: 400 14px var(--body); text-align: left; white-space: nowrap; }
.cs-rounds td { padding: 12px 12px 12px 0; border-top: 1px solid var(--cs-rule); vertical-align: middle; }
.cs-rounds .num { text-align: right; }
.cs-rounds .cs-none { color: var(--cs-muted); }
.cs-rounds tr:hover td { background: color-mix(in srgb, var(--app-ink) 3%, transparent); }
.cs-name { display: flex; align-items: center; gap: 12px; }
.cs-name b { display: block; font-weight: 600; }
.cs-name small { color: var(--app-ink2); font-size: 14px; }
.cs-kind { display: grid; place-items: center; flex: none; width: 36px; height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--cs-rule-strong); color: var(--app-ink2); }
.cs-bar { display: flex; align-items: center; gap: 8px; }
.cs-bar i { position: relative; width: 64px; height: 6px; border-radius: 3px; background: var(--cs-rule); overflow: hidden; }
.cs-bar i b { position: absolute; inset: 0 auto 0 0; background: var(--app-ink); }
.cs-big { font: italic 700 22px/1 var(--display); }
.cs-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.cs-facts dt { color: var(--cs-muted); }
.cs-facts dd { margin: 0; }
.cs-day { margin: 24px 0 8px; color: var(--cs-muted); font: 600 14px var(--body); }
.cs-day:first-child { margin-top: 0; }
.cs-event { display: grid; grid-template-columns: 56px 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--cs-rule); }
.cs-event time { color: var(--app-ink2); font: 500 14px var(--mono); }
.cs-event .tr-ico { color: var(--app-ink2); }
.cs-event--client { background: color-mix(in srgb, var(--app-primary) 5%, transparent); }
.cs-event a { color: var(--app-ink); font-weight: 600; }
@media (max-width: 860px) {
  .cs { padding: 20px 16px 40px; }
  .cs-titlerow { flex-wrap: wrap; }
  .cs-titlerow h1 { font-size: 32px; }
  .cs-titlerow .cs-actions { order: 3; width: 100%; margin: 0; }
  .cs-titlerow .cs-actions .app-btn { flex: 1; justify-content: center; }
  .cs-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .cs-strip > div { min-width: 0; padding: 12px; }
  .cs-strip > div:first-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-left: 0; }
  .cs-strip > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .cs-strip > div:nth-child(n + 2) { border-top: 1px solid var(--cs-rule); }
  .cs-strip > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .cs-tabs { mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); padding-right: 48px; }
  .cs-rounds thead { display: none; }
  .cs-rounds tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--cs-rule); }
  .cs-rounds td { padding: 0; border: 0; }
  .cs-rounds td:first-child { grid-column: 1 / -1; }
  .cs-rounds td[data-label]::before { content: attr(data-label) " "; color: var(--cs-muted); font-size: 14px; }
  .cs-next { grid-template-columns: 24px minmax(0, 1fr); }
  .cs-next .app-btn { grid-row: auto; grid-column: 2; justify-self: start; }
}
/* Rounds of different projects keep their columns aligned. */
.cs-rounds { table-layout: fixed; }
.cs-rounds th:nth-child(1) { width: 34%; }
.cs-rounds th:nth-child(2) { width: 15%; }
.cs-rounds th:nth-child(3) { width: 18%; }
.cs-rounds th:nth-child(4) { width: 12%; }
.cs-rounds th:nth-child(5) { width: 7%; }
.cs-next:first-of-type { border-top: 0; padding-top: 4px; }
@media (max-width: 860px) {
  .cs-titlerow > div:nth-child(2) { flex: 1 1 0; min-width: 0; }
  .cs-titlerow h1 { margin-top: 10px; }
  .cs-rounds, .cs-rounds tbody { display: block; table-layout: auto; }
  .cs-rounds tr { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .cs-rounds td { text-align: left !important; font-size: 15px; }
  .cs-rounds td:first-child { flex-basis: 100%; margin-bottom: 2px; }
  .cs-rounds td[data-label]::before { margin-right: 4px; }
  .cs-rounds .cs-bar i { width: 40px; }
}
@media (max-width: 860px) {
  .cs-rounds tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .cs-rounds td:first-child { grid-column: 1 / -1; }
  .cs-rounds td[data-label] { display: flex; flex-direction: column; gap: 2px; }
  .cs-rounds td[data-label]::before { margin: 0; font-size: 13px; }
  .cs-rounds .cs-bar i { display: none; }
}

.cs-menuwrap { position: relative; }
.cs-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: 260px; padding: 6px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-surface); box-shadow: 0 16px 40px rgba(6, 23, 43, 0.18); animation: tr-pop var(--tr-motion-base) var(--tr-ease-out); transform-origin: top right; }
.cs-menu .am-item { font-size: 16px; }
.cs-menu .am-item--danger { color: var(--app-error); }
.cs-start { padding: 24px 0; }
.cs-start h2 { margin: 0 0 6px; font: 600 22px var(--body); }
.cs-start p { margin: 0 0 16px; color: var(--app-ink2); }
.tr-page:has(.cs) { max-width: none; padding: 0; }
@media (prefers-reduced-motion: reduce) { .cs-menu { animation-name: tr-fade; } }
.cs-figtext { font: 400 16px var(--body); color: var(--app-ink2); }
.cs-event span a { color: inherit; font-weight: 500; text-decoration: none; }
.cs-event span a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Prototype section: the test type as two options, the files as a table. */
.pr-source { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.pr-source legend { margin-bottom: 12px; padding: 0; }
.pr-option { display: grid; grid-template-columns: auto 20px minmax(0, 1fr); align-items: start; gap: 12px; padding: 16px 18px; border: 1px solid var(--app-line); border-radius: 10px; background: var(--app-surface); cursor: pointer; transition: border-color var(--tr-motion-fast) ease, box-shadow var(--tr-motion-fast) ease; }
.pr-option:hover { border-color: var(--app-field-border); }
.pr-option:has(input:checked) { border-color: var(--app-ink); box-shadow: inset 0 0 0 1px var(--app-ink); }
.pr-option input { margin: 3px 0 0; accent-color: var(--app-ink); }
.pr-option .tr-ico { margin-top: 1px; color: var(--app-ink2); }
.pr-option b { display: block; font-size: 17px; }
.pr-option small { display: block; margin-top: 2px; color: var(--app-ink2); font-size: 15px; line-height: 1.45; }
.tr-table--files input[type="radio"] { width: 18px; height: 18px; accent-color: var(--app-ink); }
.pr-path { overflow-wrap: anywhere; }
@media (max-width: 860px) { .pr-source { grid-template-columns: minmax(0, 1fr); } }
/* Results: only the open participant is highlighted. */
.app-split__list .ut-plist a { background: transparent; }
.app-split__list .ut-plist a:hover { background: var(--app-sunk); }
.app-split__list .ut-plist a[aria-current="true"] { background: var(--app-active-bg); }
/* Not found. */
.tr-notfound { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--app-bg); color: var(--app-ink); }
.tr-notfound > div { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.tr-notfound h1 { margin: 16px 0 0; font: italic 700 44px/1.05 var(--display); }
.tr-notfound p { margin: 0; color: var(--app-ink2); font-size: 18px; line-height: 1.55; }
