/* Airport leave-time workspace (c: help circles, preparation styles, step timeline). Shared The New assets own the surrounding page.
   Accent text is reserved for the large leave time (large-text contrast); small times use ink. */
.tn-alt-page {
  --alt-paper: #faf6ee;
  --alt-wash: #f5efdf;
  --alt-ink: #1a1208;
  --alt-muted: #5a4a30;
  --alt-line: #b8a888;
  --alt-soft: #ddd4be;
  --alt-accent: #c44a00;
  --alt-button: #ede6d4;
  --alt-hover: #dfd4bb;
  --alt-primary: #1a1208;
  --alt-primary-text: #faf6ee;
  --alt-primary-hover: #463524;
  --alt-seg-travel: #1a1208;
  --alt-seg-extra: #5a4a30;
  --alt-seg-checkin: #c44a00;
  --alt-seg-gate: #b8a888;
  --alt-seg-boarding: #ddd4be;
  --alt-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", system-ui, sans-serif;
  color: var(--alt-ink);
  -webkit-font-smoothing: antialiased;
}
.tn-alt-page .tn-alt-tool,
.tn-alt-page .tn-alt-tool * { box-sizing: border-box; }
.tn-alt-page .tn-alt-ad--top,
.tn-alt-page .tn-alt-ad--bottom {
  width: 100%; max-width: 728px; min-height: 0; height: auto; max-height: none;
  margin-right: auto; margin-left: auto; padding: 0; border: 0;
  background: transparent; box-shadow: none; overflow: visible;
}
.tn-alt-page .tn-alt-ad--top { margin-top: 54px; margin-bottom: 36px; }
.tn-alt-page .tn-alt-ad--bottom { margin-top: 28px; margin-bottom: 28px; }

.tn-alt-page .tn-alt-tool {
  display: block;
  border: 1px solid var(--alt-line);
  border-top: 3px double var(--alt-line);
  background: var(--alt-paper);
  color: var(--alt-ink);
  font-family: var(--alt-sans);
  line-height: 1.6;
}
.tn-alt-page .tn-alt-tool :is(ul, ol, li) { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.tn-alt-page .tn-alt-tool li::before { content: none; }
.tn-alt-page .tn-alt-tool p { margin: 0; }
.tn-alt-page .tn-alt-tool :is(code, pre, kbd, samp) { padding: 0; border: 0; border-radius: 0; background: none; background-color: transparent; color: inherit; -webkit-text-fill-color: inherit; }

.tn-alt-page .alt-workspace { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: stretch; }
.tn-alt-page .alt-input-pane,
.tn-alt-page .alt-result-pane { display: grid; align-content: start; min-width: 0; padding: 24px 28px; }
.tn-alt-page .alt-input-pane { gap: 18px; }
.tn-alt-page .alt-result-pane { gap: 16px; grid-template-rows: auto auto auto auto 1fr; border-left: 1px solid var(--alt-line); background: var(--alt-wash); }

.tn-alt-page .alt-label { display: block; margin: 0 0 5px; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 13px; font-weight: 700; line-height: 1.4; }
.tn-alt-page .alt-label small { margin-left: 4px; font-size: 12px; font-weight: 500; }
.tn-alt-page .alt-label-row { display: flex; align-items: center; gap: 2px; min-height: 24px; margin: 0 0 5px; }
.tn-alt-page .alt-label-row .alt-label { margin: 0; }

/* Circular help (design system 2026-09-10): 18px visible circle inside a 24px button. */
.tn-alt-page .alt-help { display: inline-flex; flex: 0 0 24px; }
.tn-alt-page .tn-alt-tool .alt-help-trigger {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 24px; height: 24px; min-width: 24px; min-height: 24px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; box-shadow: none;
  color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted);
  font-family: var(--alt-sans); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: normal;
  text-decoration: none; cursor: help; appearance: none;
}
.tn-alt-page .tn-alt-tool .alt-help-trigger::before {
  content: ""; position: absolute; inset: 3px; box-sizing: border-box; z-index: -1;
  border: 1px solid var(--alt-line); border-radius: 50%; background: var(--alt-wash); pointer-events: none;
}
.tn-alt-page .tn-alt-tool .alt-help-trigger:hover { background: transparent; }
.tn-alt-page .tn-alt-tool .alt-help-trigger:hover::before,
.tn-alt-page .tn-alt-tool .alt-help-trigger[aria-expanded="true"]::before { background: var(--alt-hover); }
.tn-alt-page .tn-alt-tool .alt-help-trigger:focus-visible { outline: 2px solid var(--alt-accent); outline-offset: 2px; }
.tn-alt-page .alt-help-tooltip {
  position: fixed; z-index: 10000; display: block; width: min(320px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
  margin: 0; padding: 12px; border: 1px solid var(--alt-line); border-radius: 0; background: var(--alt-paper); box-shadow: none;
  color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink);
  font-family: var(--alt-sans); font-size: 12px; font-weight: 400; line-height: 1.6; letter-spacing: normal; text-align: left; white-space: normal; overflow-wrap: anywhere;
}
.tn-alt-page .alt-help-tooltip[hidden] { display: none; }

.tn-alt-page .alt-route { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--alt-line); }
.tn-alt-page .alt-route-option { position: relative; display: block; margin: 0; cursor: pointer; }
.tn-alt-page .alt-route-option + .alt-route-option { border-left: 1px solid var(--alt-line); }
.tn-alt-page .alt-route-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tn-alt-page .alt-route-option span {
  display: flex; align-items: center; justify-content: center; height: 42px;
  background: var(--alt-button); color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink);
  font-family: var(--tn-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace); font-size: 13px; font-weight: 700; line-height: 1;
  transition: background-color 150ms, color 150ms;
}
.tn-alt-page .alt-route-option:hover span { background: var(--alt-hover); }
.tn-alt-page .alt-route-option input:checked + span { background: var(--alt-primary); color: var(--alt-primary-text); -webkit-text-fill-color: var(--alt-primary-text); }
.tn-alt-page .alt-route-option input:focus-visible + span { outline: 2px solid var(--alt-accent); outline-offset: -4px; }

.tn-alt-page .alt-group { display: block; min-width: 0; }
.tn-alt-page .alt-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tn-alt-page .alt-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tn-alt-page .alt-field { display: grid; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.tn-alt-page .alt-control { display: flex !important; align-items: stretch; min-width: 0; border: 1px solid var(--alt-line); background: var(--alt-paper); }
.tn-alt-page .alt-control:has(input:focus-visible) { outline: 2px solid var(--alt-accent); outline-offset: -1px; }
.tn-alt-page .alt-control:has([aria-invalid="true"]) { border-color: var(--alt-accent); }
.tn-alt-page .alt-control > span {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 36px; padding: 0 9px;
  border-left: 1px solid var(--alt-line); background: var(--alt-wash);
  color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 13px; white-space: nowrap;
}
.tn-alt-page .alt-control input {
  display: block; flex: 1 1 auto; width: auto; min-width: 0; height: 52px; margin: 0; padding: 8px 12px;
  border: 0; border-radius: 0; outline: none; background: var(--alt-paper); box-shadow: none;
  color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink);
  font-family: var(--alt-sans); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: normal;
  font-variant-numeric: lining-nums tabular-nums;
}
.tn-alt-page .alt-rules .alt-control input { height: 44px; padding: 6px 10px; font-size: 20px; }
.tn-alt-page .alt-rules .alt-control > span { min-width: 0; padding: 0 8px; font-size: 12px; }
.tn-alt-page .alt-control input::placeholder { color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-weight: 400; opacity: .35; }
.tn-alt-page .alt-hint { min-height: 19px; margin-top: 6px !important; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; line-height: 19px; }

.tn-alt-page .alt-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tn-alt-page .tn-alt-tool .alt-style {
  display: grid; align-content: start; justify-items: start; gap: 2px; min-width: 0; height: auto; min-height: 0; padding: 10px 12px;
  border: 1px solid var(--alt-line); background: var(--alt-paper); color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink);
  font-family: var(--alt-sans); font-size: 12px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; text-decoration: none; word-break: keep-all;
}
.tn-alt-page .tn-alt-tool .alt-style:hover { background: var(--alt-wash); }
.tn-alt-page .tn-alt-tool .alt-style[aria-pressed="true"] { border-color: var(--alt-accent); background: var(--alt-wash); box-shadow: inset 0 0 0 1px var(--alt-accent); text-decoration: none; }
.tn-alt-page .alt-style-name { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-size: 13px; font-weight: 700; }
.tn-alt-page .alt-style-lead,
.tn-alt-page .alt-style-slack { color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; }
.tn-alt-page .alt-style-time { margin-top: 2px; color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-family: var(--alt-sans); font-size: 22px; font-weight: 800; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-alt-page .alt-style.is-late .alt-style-slack { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-weight: 700; }
.tn-alt-page .alt-style-bar { display: block; width: 100%; height: 4px; margin: 4px 0 2px; background: var(--alt-soft); }
.tn-alt-page .alt-style-bar i { display: block; height: 100%; background: var(--alt-accent); }
.tn-alt-page .alt-style-basis { color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.tn-alt-page .alt-note { margin-top: 10px !important; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; line-height: 1.6; }
.tn-alt-page .alt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.tn-alt-page .tn-alt-tool button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0 14px;
  border: 1px solid var(--alt-line); border-radius: 0; background: var(--alt-button);
  color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink);
  font-family: var(--tn-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace); font-size: 12px; font-weight: 700; line-height: 1;
  text-align: center; letter-spacing: 0; white-space: nowrap; text-transform: none; box-shadow: none; cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}
.tn-alt-page .tn-alt-tool button:hover { background: var(--alt-hover); }
.tn-alt-page .tn-alt-tool button:focus-visible { outline: 2px solid var(--alt-accent); outline-offset: 2px; }
.tn-alt-page .tn-alt-tool button[aria-pressed="true"] { border-color: var(--alt-accent); text-decoration: underline; text-underline-offset: 4px; }
.tn-alt-page .tn-alt-tool #alt-copy { background: var(--alt-primary); border-color: var(--alt-primary); color: var(--alt-primary-text); -webkit-text-fill-color: var(--alt-primary-text); }
.tn-alt-page .tn-alt-tool #alt-copy:hover { background: var(--alt-primary-hover); border-color: var(--alt-primary-hover); }
.tn-alt-page .tn-alt-tool button:disabled { opacity: .48; cursor: not-allowed; }

.tn-alt-page .alt-result-main { padding-bottom: 10px; border-bottom: 3px double var(--alt-line); }
.tn-alt-page .alt-result-label { margin-bottom: 4px; }
.tn-alt-page .alt-leave-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.tn-alt-page .alt-leave {
  display: block; color: var(--alt-accent); -webkit-text-fill-color: var(--alt-accent);
  font-family: var(--alt-sans); font-size: clamp(56px, 6vw, 80px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.tn-alt-page .alt-day {
  display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--alt-accent);
  color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-size: 13px; font-weight: 700; line-height: 1;
}
.tn-alt-page .alt-day[hidden] { display: none; }
.tn-alt-page .alt-summary { margin-top: 6px !important; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 13px; line-height: 1.6; }

.tn-alt-page .alt-flow-wrap { display: grid; gap: 6px; }
.tn-alt-page .alt-flow { position: relative; display: flex; height: 14px; overflow: hidden; border: 1px solid var(--alt-line); background: var(--alt-paper); }
.tn-alt-page .alt-flow-tick { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--alt-ink); }
.tn-alt-page .alt-flow-tick[hidden] { display: none; }
.tn-alt-page .alt-seg { display: block; flex: 0 1 0; min-width: 3px; height: 100%; transition: flex-grow 200ms ease; }
.tn-alt-page .alt-seg[hidden] { display: none; }
.tn-alt-page .alt-seg + .alt-seg { border-left: 1px solid var(--alt-paper); }
.tn-alt-page .alt-seg--travel { background: var(--alt-seg-travel); }
.tn-alt-page .alt-seg--extra { background: var(--alt-seg-extra); }
.tn-alt-page .alt-seg--checkin { background: var(--alt-seg-checkin); }
.tn-alt-page .alt-seg--screening { background: var(--alt-seg-gate); }
.tn-alt-page .alt-seg--boarding { background: var(--alt-seg-boarding); }
.tn-alt-page .alt-seg--wait { background: repeating-linear-gradient(135deg, var(--alt-soft) 0 4px, var(--alt-paper) 4px 8px); }
.tn-alt-page .tn-alt-tool .alt-legend { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.tn-alt-page .alt-key { display: inline-flex; align-items: center; gap: 6px; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; line-height: 1.5; }
.tn-alt-page .alt-key::after { content: none; }
.tn-alt-page .tn-alt-tool .alt-key::before { content: ""; display: block !important; width: 12px; height: 8px; border: 1px solid var(--alt-line); }
.tn-alt-page .tn-alt-tool .alt-key--travel::before { background: var(--alt-seg-travel); }
.tn-alt-page .tn-alt-tool .alt-key--extra::before { background: var(--alt-seg-extra); }
.tn-alt-page .tn-alt-tool .alt-key--checkin::before { background: var(--alt-seg-checkin); }
.tn-alt-page .tn-alt-tool .alt-key--screening::before { background: var(--alt-seg-gate); }
.tn-alt-page .tn-alt-tool .alt-key--boarding::before { background: var(--alt-seg-boarding); }
.tn-alt-page .tn-alt-tool .alt-key--wait::before { background: repeating-linear-gradient(135deg, var(--alt-soft) 0 2px, var(--alt-paper) 2px 4px); }
.tn-alt-page .tn-alt-tool .alt-key--tick::before { width: 2px; height: 10px; border: 0; background: var(--alt-ink); }

.tn-alt-page .alt-steps-wrap { min-width: 0; }
.tn-alt-page .tn-alt-tool .alt-steps { position: relative; display: grid; border-top: 1px solid var(--alt-soft); }
.tn-alt-page .tn-alt-tool .alt-steps::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 6px; width: 1px; background: var(--alt-line); }
.tn-alt-page .tn-alt-tool .alt-step { position: relative; display: grid; grid-template-columns: 13px 5.4em minmax(0, 1fr); align-items: start; column-gap: 10px; padding: 4px 0 !important; border-bottom: 1px solid var(--alt-soft); }
.tn-alt-page .alt-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin: 6px 0 0 2px; border: 1px solid var(--alt-muted); border-radius: 50%; background: var(--alt-wash); }
.tn-alt-page .alt-step--home .alt-dot,
.tn-alt-page .alt-step--departure .alt-dot { border-color: var(--alt-ink); background: var(--alt-ink); }
.tn-alt-page .alt-step--counter .alt-dot,
.tn-alt-page .alt-step--gate .alt-dot { border-radius: 1px; border-color: var(--alt-ink); }
.tn-alt-page .alt-step.is-late .alt-dot { border-color: var(--alt-accent); background: var(--alt-accent); }
.tn-alt-page .alt-t { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-family: var(--alt-sans); font-size: 17px; font-weight: 800; line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-alt-page .alt-step-body { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 6px; min-width: 0; }
.tn-alt-page .alt-step-label { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.tn-alt-page .alt-step--home .alt-step-label,
.tn-alt-page .alt-step--departure .alt-step-label { font-weight: 800; }
.tn-alt-page .alt-step-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border: 1px solid var(--alt-line); color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 11px; font-weight: 700; line-height: 1; }
.tn-alt-page .alt-step--counter .alt-step-tag,
.tn-alt-page .alt-step--gate .alt-step-tag { border-color: var(--alt-ink); color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); }
.tn-alt-page .alt-step-tag[hidden] { display: none; }
.tn-alt-page .alt-step-meta { flex: 1 0 100%; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.tn-alt-page .alt-step-meta:empty { display: none; }
.tn-alt-page .alt-step.is-late .alt-step-meta { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-weight: 700; }

.tn-alt-page .alt-check { color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.tn-alt-page .alt-check[data-tone="warn"] { padding: 9px 11px; border: 1px solid var(--alt-accent); color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-weight: 700; }
.tn-alt-page .alt-result-actions { align-self: end; }
.tn-alt-page .alt-status { flex: 1 1 180px; min-height: 20px; color: var(--alt-muted); -webkit-text-fill-color: var(--alt-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.tn-alt-page .alt-status[data-tone="error"] { color: var(--alt-ink); -webkit-text-fill-color: var(--alt-ink); font-weight: 700; }
.tn-alt-page .alt-noscript { padding: 16px 28px; font-size: 14px; }

/* Article: compact airline cutoff comparison (body comparison-list rule). */
.tn-alt-page .alt-compare { display: grid; gap: 0; margin: 12px 0 0; }
.tn-alt-page .alt-compare > div { display: grid; gap: 3px; padding: 10px 0; border: 0; background: transparent; font-family: var(--alt-sans); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.tn-alt-page .alt-compare > div + div { border-top: 1px solid var(--tn-fixed-soft-line, var(--alt-soft)); }
.tn-alt-page .alt-compare b { color: var(--tn-fixed-ink, var(--alt-ink)); -webkit-text-fill-color: currentColor; font-size: 14px; font-weight: 500; }
.tn-alt-page .alt-compare span { color: var(--tn-fixed-muted, var(--alt-muted)); -webkit-text-fill-color: currentColor; font-size: 13px; font-weight: 400; }
.tn-alt-page .alt-compare strong { color: var(--tn-fixed-ink, var(--alt-ink)); -webkit-text-fill-color: currentColor; font-family: var(--alt-sans); font-size: 13px; font-weight: 600; white-space: nowrap; }

body[data-scheme="dark"] .tn-alt-page,
body[data-scheme="inverse"] .tn-alt-page,
body[data-scheme="auto"][data-l="dark"] .tn-alt-page,
body[data-scheme="auto"][data-d="dark"] .tn-alt-page,
html[data-scheme="dark"] body:not([data-scheme="light"]) .tn-alt-page {
  --alt-paper: #201a13; --alt-wash: #271f16; --alt-ink: #f7ead1; --alt-muted: #cbbd9e;
  --alt-line: #826744; --alt-soft: #594831; --alt-accent: #ffab6b;
  --alt-button: #2f2115; --alt-hover: #3a2a1b;
  --alt-primary: #6a3b1f; --alt-primary-text: #f7ead1; --alt-primary-hover: #824826;
  --alt-seg-travel: #f7ead1; --alt-seg-extra: #cbbd9e; --alt-seg-checkin: #ffab6b; --alt-seg-gate: #826744; --alt-seg-boarding: #594831;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-alt-page {
    --alt-paper: #201a13; --alt-wash: #271f16; --alt-ink: #f7ead1; --alt-muted: #cbbd9e;
    --alt-line: #826744; --alt-soft: #594831; --alt-accent: #ffab6b;
    --alt-button: #2f2115; --alt-hover: #3a2a1b;
    --alt-primary: #6a3b1f; --alt-primary-text: #f7ead1; --alt-primary-hover: #824826;
    --alt-seg-travel: #f7ead1; --alt-seg-extra: #cbbd9e; --alt-seg-checkin: #ffab6b; --alt-seg-gate: #826744; --alt-seg-boarding: #594831;
  }
}
body[data-scheme="dark"] .tn-alt-page .alt-route-option input:checked + span,
body[data-scheme="inverse"] .tn-alt-page .alt-route-option input:checked + span,
body[data-scheme="auto"][data-l="dark"] .tn-alt-page .alt-route-option input:checked + span,
body[data-scheme="auto"][data-d="dark"] .tn-alt-page .alt-route-option input:checked + span,
html[data-scheme="dark"] body:not([data-scheme="light"]) .tn-alt-page .alt-route-option input:checked + span { box-shadow: inset 0 0 0 1px var(--alt-accent); }
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-alt-page .alt-route-option input:checked + span { box-shadow: inset 0 0 0 1px var(--alt-accent); }
}
@media (prefers-reduced-motion: reduce) {
  .tn-alt-page .alt-seg,
  .tn-alt-page .tn-alt-tool button,
  .tn-alt-page .alt-route-option span { transition: none; }
}

@media (max-width: 700px) {
  .tn-alt-page .tn-alt-ad--top { margin-top: 48px; margin-bottom: 25px; }
  .tn-alt-page .alt-workspace { grid-template-columns: minmax(0, 1fr); }
  .tn-alt-page .alt-input-pane,
  .tn-alt-page .alt-result-pane { padding: 18px 16px; }
  .tn-alt-page .alt-input-pane { gap: 16px; }
  .tn-alt-page .alt-result-pane { grid-template-rows: none; border-left: 0; border-top: 1px solid var(--alt-line); }
  .tn-alt-page .alt-pair { gap: 10px; }
  .tn-alt-page .alt-rules { gap: 8px; }
  .tn-alt-page .alt-control input { height: 48px; padding: 6px 10px; font-size: 22px; }
  .tn-alt-page .alt-rules .alt-control input { height: 42px; padding: 6px 8px; font-size: 18px; }
  .tn-alt-page .alt-rules .alt-control > span { padding: 0 6px; font-size: 11px; }
  .tn-alt-page .alt-leave { font-size: 56px; }
  .tn-alt-page .alt-style-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tn-alt-page .tn-alt-tool .alt-style { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name time" "lead slack" "bar bar" "basis basis"; justify-items: stretch; align-items: baseline; column-gap: 12px; row-gap: 1px; padding: 8px 12px; }
  .tn-alt-page .alt-style-name { grid-area: name; }
  .tn-alt-page .alt-style-lead { grid-area: lead; }
  .tn-alt-page .alt-style-time { grid-area: time; justify-self: end; margin-top: 0; font-size: 20px; }
  .tn-alt-page .alt-style-slack { grid-area: slack; justify-self: end; text-align: right; }
  .tn-alt-page .alt-style-bar { grid-area: bar; margin: 3px 0 1px; }
  .tn-alt-page .alt-style-basis { grid-area: basis; }
  .tn-alt-page .tn-alt-tool .alt-step { grid-template-columns: 13px 5.2em minmax(0, 1fr); column-gap: 8px; }
  .tn-alt-page .alt-t { font-size: 16px; }
  .tn-alt-page .tn-alt-tool button { padding-right: 11px; padding-left: 11px; }
}
@media (max-width: 374px) {
  .tn-alt-page .alt-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-alt-page .alt-rules > .alt-field:first-child { grid-column: 1 / -1; }
}
