/* county-times.css — shared styles for the County Times Checker pages.
   Light reading sheet (warm-paper blog tokens) inside a dark HSC frame; red is
   the single action colour. Small red TEXT on light uses #C32114 (AA). */

.ct-frame { background: var(--bg); padding: 16px 12px 48px; border-top: 3px solid var(--accent); }
@media (min-width: 768px) { .ct-frame { padding: 40px 32px 72px; } }

/* Light zone: re-point the site tokens so shared components (FAQ etc.) go dark-on-light */
.ct-light {
  --text: #0A0807; --mid: #5E5852; --rule: rgba(10,8,7,0.13); --surface: rgba(10,8,7,0.04);
  --bg: #FFFFFF; --bg2: #F5F1EB; --ink: #C32114; --line: rgba(10,8,7,0.22);
  color: var(--text);
}
.ct-sheet { max-width: 1080px; margin: 0 auto; background: #FFFFFF; padding: 20px 16px 28px; box-shadow: 0 0 0 1px rgba(255,46,32,0.35); }
@media (min-width: 768px) { .ct-sheet { padding: 40px 48px 48px; } }
.ct-light a { color: var(--text); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 3px; }
.ct-light :focus-visible { outline: 3px solid #0A0807; outline-offset: 2px; }

/* Steps */
.ct-step { padding: 0 0 26px; }
.ct-step + .ct-step { border-top: 1px solid var(--rule); padding-top: 24px; }
.ct-step-h { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 3vw, 28px); letter-spacing: .03em; color: var(--text); margin: 0 0 16px; }
.ct-step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0; flex-shrink: 0; }

.ct-controls { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .ct-controls { grid-template-columns: 1.2fr 1fr 0.9fr; gap: 20px; align-items: end; } }
.ct-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-field legend, .ct-field > label { display: block; font-size: 13px; font-weight: 600; color: var(--mid); margin-bottom: 6px; padding: 0; }
.ct-seg { display: flex; border: 1px solid var(--line); background: var(--bg); }
.ct-seg label { flex: 1; position: relative; cursor: pointer; }
.ct-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.ct-seg span { display: block; text-align: center; padding: 11px 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.ct-seg label + label span { border-left: 1px solid var(--line); }
.ct-seg input:checked + span { background: var(--text); color: #fff; }
.ct-seg input:focus-visible + span { outline: 3px solid #0A0807; outline-offset: 2px; }
.ct-tool select, .ct-tool input[type="text"], .ct-tool textarea {
  width: 100%; background: #fff; color: var(--text); border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 16px; padding: 11px 12px; border-radius: 0; }
.ct-tool select { height: 46px; }
.ct-tool input:focus, .ct-tool select:focus, .ct-tool textarea:focus { outline: 3px solid #0A0807; outline-offset: 0; border-color: #0A0807; }
.ct-age { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--text); font-weight: 500; text-wrap: pretty; }

/* Stroke tabs */
.ct-tabs { display: flex; border-bottom: 2px solid var(--rule); margin-bottom: 4px; }
.ct-tabs [role="tab"] { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 12px 4px 10px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--mid); cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.ct-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.ct-tabs [role="tab"]:hover { color: var(--text); }
.ct-count:not(:empty) { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--text); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }

/* Rows: strict grid. Desktop: Event | Time | Status | Detail. Mobile: Event+Time / Status+Detail */
.ct-rows:focus-visible { outline: 3px solid #0A0807; outline-offset: 2px; }
.ct-row { display: grid; grid-template-columns: 84px 1fr 112px; grid-template-areas: "ev ev in" "pill det det"; column-gap: 12px; row-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
@media (min-width: 768px) {
  .ct-row { grid-template-columns: 150px 120px 84px 1fr; grid-template-areas: "ev in pill det"; column-gap: 18px; }
}
.ct-row[hidden] { display: none; }
.ct-ev { grid-area: ev; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-ev label { font-weight: 700; font-size: 16px; color: var(--text); }
.ct-std { font-size: 12.5px; color: var(--mid); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-row input { grid-area: in; text-align: right; font-variant-numeric: tabular-nums; }
.ct-row input:disabled { background: var(--surface); color: var(--mid); }
.ct-pill, .ct-li .ct-pill { grid-area: pill; justify-self: start; width: 84px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 0; border-radius: 999px; }
.ct-pill:empty { visibility: hidden; }
.ct-detail { grid-area: det; font-size: 14px; line-height: 1.45; color: var(--text); font-variant-numeric: tabular-nums; min-width: 0; }
.ct-detail:empty { display: none; }
.ct-row .ct-pill:empty, .ct-row .ct-detail:empty { display: none; }
.ct-row:not(.is-qt):not(.is-ct):not(.is-no):not(.is-out):not(.is-off):not(.is-bad) { grid-template-areas: "ev ev in"; }
@media (min-width: 768px) { .ct-row:not(.is-qt):not(.is-ct):not(.is-no):not(.is-out):not(.is-off):not(.is-bad) { grid-template-areas: "ev in pill det"; } }
.ct-row.is-off .ct-detail, .ct-row.is-bad .ct-detail { grid-column: 1 / -1; }
@media (min-width: 768px) { .ct-row.is-off .ct-detail, .ct-row.is-bad .ct-detail { grid-column: auto; grid-area: det; } }
.ct-sub { display: block; font-size: 12.5px; color: var(--mid); margin-top: 2px; }
.is-qt .ct-pill { background: #DCF2E3; color: #0B6B33; }
.is-ct .ct-pill { background: #FBEBC8; color: #7A4F00; }
.is-no .ct-pill { background: #ECE8E3; color: #46413C; }
.is-out .ct-pill { background: #FCE3D6; color: #9A3412; }
.is-bad .ct-detail { color: #B42318; }
.is-off .ct-ev, .is-off .ct-detail { color: var(--mid); }

/* Fill from rankings */
.ct-fill { margin-top: 18px; border: 1px solid var(--rule); padding: 12px 14px; background: var(--bg2); }
.ct-fill summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text); }
.ct-fill-body { padding-top: 12px; display: grid; gap: 12px; }
.ct-fill-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mid); text-wrap: pretty; }
.ct-fill-body textarea { min-height: 90px; font-size: 14px; }
.ct-inline { display: flex; gap: 8px; }
.ct-find { margin: 0 0 20px; padding: 14px 16px; background: var(--bg2); border-left: 4px solid var(--ink); }
.ct-find > label { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ct-find input { padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; }
.ct-find .ct-fill-msg { margin: 8px 0 0; font-size: 13.5px; color: var(--mid); }
.ct-find-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: min(60vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.ct-find-list[hidden] { display: none; }
.ct-find-pick { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); padding: 10px 12px; font-family: var(--font-body); font-size: 15px; color: var(--text); cursor: pointer; }
.ct-find-pick:hover { border-color: var(--ink); }
.ct-find-pick span { display: block; font-size: 13px; color: var(--mid); }
.ct-inline input { flex: 1; min-width: 0; }
.ct-btn { background: var(--ink); color: #fff; border: 0; padding: 12px 18px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ct-btn:hover { background: #A51B10; }
.ct-btn:disabled { opacity: .6; cursor: wait; }
.ct-btn-ghost { background: none; border: 1px solid var(--line); color: var(--text); padding: 10px 16px; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; }
.ct-fill-msg { font-size: 14px; color: var(--text); min-height: 1.4em; margin: 10px 0 0; }

/* Results */
.ct-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ct-big { background: var(--bg2); padding: 14px 10px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.ct-big-n { font-family: var(--font-disp); font-weight: 900; font-size: clamp(38px, 7vw, 54px); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.ct-big-l { font-size: 13px; font-weight: 600; color: var(--mid); }
.ct-big:first-child .ct-big-n { color: #0B6B33; }
.ct-big:nth-child(2) .ct-big-n { color: #7A4F00; }
.ct-list { margin-top: 12px; }

/* ── Achievements: made times are medals, near misses show how close ─────── */
/* ── Calmer layout (Nov 2026): entry rows only take input; Results carry the verdict ── */
.ct-light .ct-row { grid-template-columns: 1fr 124px !important; grid-template-areas: "ev in" "det det" !important; align-items: center; row-gap: 6px; padding: 12px 0; }
.ct-light .ct-row .ct-pill { display: none; }
.ct-light .ct-row .ct-detail:empty, .ct-light .ct-row .ct-detail:has(> .visually-hidden:only-child) { display: none; }
.ct-light .ct-row .ct-detail { grid-area: det; grid-column: 1 / -1; font-size: 13.5px; color: #9A3412; }
.ct-light .ct-ev label { font-size: 16.5px; font-weight: 700; }
.ct-light .ct-std { white-space: normal; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--mid); }
.ct-chip { white-space: nowrap; }
.ct-chip b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ct-light .ct-row input { font-size: 17px; padding: 11px 12px; border: 1px solid var(--line); border-left-width: 5px; }
.ct-light .ct-row.is-qt input, .ct-light .ct-row.is-std input, .ct-light .ct-ct-top .ct-row.is-ct input { border-left-color: #E0A82E; }
.ct-light .ct-row.is-ct input { border-left-color: #9AA7B2; }
.ct-light .ct-row.is-no input { border-left-color: #C9C3BC; }
.ct-light .ct-row.is-bad input, .ct-light .ct-row.is-out input { border-left-color: #C32114; }
@media (min-width: 768px) {
  .ct-light .ct-row { grid-template-columns: 150px 1fr 150px !important; grid-template-areas: "ev std in" "det det det" !important; column-gap: 20px; }
  .ct-light .ct-ev { display: contents; }
  .ct-light .ct-ev label { grid-area: ev; }
  .ct-light .ct-std { grid-area: std; font-size: 13.5px; gap: 2px 20px; }
}

/* Results: aligned columns, one bold line per event, small print underneath */
.ct-group { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 4px; font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.ct-group span { font-weight: 600; color: var(--text); background: var(--bg2); padding: 1px 8px; border-radius: 999px; letter-spacing: 0; }
.ct-light .ct-li { grid-template-columns: 1fr auto; grid-template-areas: "ev t" "pill d"; column-gap: 12px; row-gap: 6px; align-items: start; padding: 12px 10px; font-size: 14.5px; }
.ct-light .ct-li-ev { font-size: 16px; }
.ct-light .ct-li-t { font-size: 16px; font-weight: 600; text-align: right; }
.ct-li-t small, .ct-li-d small { display: block; font-size: 12.5px; font-weight: 400; color: var(--mid); margin-top: 2px; }
.ct-light .ct-li-d { grid-area: d; text-align: right; color: var(--text); font-weight: 400; }
.ct-light .ct-li-d strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-light .ct-li .ct-pill { align-self: start; }
.ct-light .ct-li .ct-bar { margin-left: auto; max-width: 180px; }
.ct-light .ct-li.is-qt .ct-li-d, .ct-light .ct-li.is-ct .ct-li-d, .ct-light .ct-li.is-std .ct-li-d { font-weight: 400; }
@media (min-width: 768px) {
  .ct-light .ct-li { grid-template-columns: 130px 110px 96px 1fr; grid-template-areas: "ev t pill d"; column-gap: 20px; align-items: center; }
  .ct-light .ct-li-d { text-align: left; }
  .ct-light .ct-li .ct-bar { margin-left: 0; max-width: 240px; }
}

.ct-against { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--text); }
.ct-against[hidden] { display: none; }
.ct-against-m { display: block; margin-top: 6px; padding: 10px 12px; background: #FBF0D9; font-size: 14px; }
.ct-cheer { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 16px 18px; background: #0A0807; color: #fff; position: relative; overflow: hidden; }
.ct-cheer[hidden] { display: none; }
.ct-cheer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, #F8E08E, #E0A82E 55%, #F6D365); }
.ct-medal { flex: none; width: 68px; height: 68px; }
@media (max-width: 480px) { .ct-medal { width: 52px; height: 52px; } .ct-cheer { gap: 10px; padding: 14px; } }
.ct-cheer-txt { flex: 1; min-width: 0; }
.ct-cheer-h { margin: 0; font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(24px, 4.4vw, 34px); line-height: 1.05; color: #F8E08E; }
.ct-cheer-s { margin: 4px 0 10px; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.86); }
.ct-cheer-bar { height: 8px; background: rgba(255,255,255,.16); border-radius: 999px; overflow: hidden; }
.ct-cheer-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E0A82E, #F8E08E); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.ct-cheer.is-all .ct-cheer-bar span { background: linear-gradient(90deg, #F8E08E, #fff, #F8E08E); }

/* medal pills: gold for the top standard, silver for a consideration time where a QT exists */
.ct-light .is-qt .ct-pill, .ct-light .is-std .ct-pill, .ct-light .ct-ct-top .is-ct .ct-pill {
  background: linear-gradient(135deg, #F8E08E, #E0A82E 55%, #F6D365); color: #3D2800; box-shadow: inset 0 0 0 1px rgba(122,79,0,.35);
}
.ct-light .is-ct .ct-pill { background: linear-gradient(135deg, #F2F5F7, #BCC6CF 55%, #E9EDF1); color: #1F2A33; box-shadow: inset 0 0 0 1px rgba(31,42,51,.25); }
.is-qt .ct-pill, .is-ct .ct-pill, .is-std .ct-pill { position: relative; overflow: hidden; width: 84px; }
.is-qt .ct-pill::before, .is-ct .ct-pill::before, .is-std .ct-pill::before {
  content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ct-ul .ct-li { padding-left: 10px; }
.ct-li.is-qt, .ct-li.is-std, .ct-ct-top .ct-li.is-ct { background: linear-gradient(90deg, rgba(248,224,142,.30), rgba(248,224,142,0) 70%); box-shadow: inset 3px 0 0 #E0A82E; }
.ct-li.is-ct { background: linear-gradient(90deg, rgba(188,198,207,.30), rgba(188,198,207,0) 70%); box-shadow: inset 3px 0 0 #9AA7B2; }
.ct-li.is-qt .ct-li-d, .ct-li.is-ct .ct-li-d, .ct-li.is-std .ct-li-d { color: var(--text); font-weight: 600; }
.ct-li.is-close .ct-pill { background: #FBE3DF; color: #9A1B10; }

/* how close a "not yet" is */
.ct-bar { display: block; height: 6px; margin-top: 6px; max-width: 260px; background: var(--rule); border-radius: 999px; overflow: hidden; }
.ct-bar span { display: block; height: 100%; border-radius: 999px; background: #8A847E; }
.ct-bar.is-close span { background: #C32114; }

/* tiles: the "made" tile lights up once something is made */
.ct-summary .ct-big:first-child { position: relative; }
/* tile numbers in the medal colours: gold for the top standard, silver for a CT where a QT exists */
.ct-light .ct-summary .ct-big:first-child .ct-big-n { color: #9A6A00; }
.ct-light .ct-summary:not(.ct-summary--plain) .ct-big:nth-child(2) .ct-big-n { color: #4E5B66; }

@media (prefers-reduced-motion: no-preference) {
  .ct-li.is-new .ct-pill::after, .ct-cheer.is-new::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
    animation: ct-shine 1.1s ease-out 1;
  }
  .ct-cheer.is-new::after { background: linear-gradient(100deg, transparent, rgba(248,224,142,.28), transparent); animation-duration: 1.4s; }
  .ct-cheer.is-new .ct-medal { animation: ct-pop .5s cubic-bezier(.2,1.4,.4,1) 1; }
  .ct-li.is-new { animation: ct-rise .45s ease-out 1; }
}
@keyframes ct-shine { to { left: 130%; } }
@keyframes ct-pop { from { transform: scale(.6) rotate(-12deg); } to { transform: none; } }
@keyframes ct-rise { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
.ct-empty { margin: 0; padding: 14px 0; font-size: 14px; color: var(--mid); }
.ct-ul { list-style: none; margin: 0; padding: 0; }
.ct-li { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "ev ev t" "pill d d"; column-gap: 12px; row-gap: 4px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
@media (min-width: 768px) { .ct-li { grid-template-columns: 110px 90px 84px 1fr; grid-template-areas: "ev t pill d"; column-gap: 18px; } }
.ct-li-ev { grid-area: ev; font-weight: 700; color: var(--text); }
.ct-li-t { grid-area: t; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.ct-li .ct-pill { grid-area: pill; }
.ct-li-d { grid-area: d; color: var(--mid); font-variant-numeric: tabular-nums; }
.ct-li abbr { text-decoration: none; color: var(--mid); margin-left: 3px; font-size: 11px; font-weight: 700; }
.ct-actions { margin-top: 14px; }
.ct-help { font-size: 13.5px; color: var(--mid); line-height: 1.65; margin: 12px 0 0; text-wrap: pretty; }

/* Reference sections */
.ct-ref { border-top: 1px solid var(--rule); padding-top: 26px; margin-top: 30px; }
.ct-ref-h { font-size: clamp(22px, 3vw, 28px); letter-spacing: .03em; color: var(--text); margin: 0 0 12px; }
.ct-ref-h3 { font-size: 18px; color: var(--text); margin: 6px 0 4px; letter-spacing: .03em; }
.ct-facts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 0; }
@media (min-width: 768px) { .ct-facts { grid-template-columns: 1fr 1fr; } }
.ct-facts div { background: #fff; padding: 14px 16px; }
.ct-facts dt { font-size: 13px; font-weight: 600; color: var(--mid); margin-bottom: 4px; }
.ct-facts dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.ct-table-wrap { overflow-x: auto; border: 1px solid var(--rule); margin: 14px 0 22px; -webkit-overflow-scrolling: touch; }
.ct-table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text); }
.ct-table caption { text-align: left; padding: 12px 14px; font-weight: 700; font-size: 15px; background: var(--bg2); }
.ct-table th, .ct-table td { padding: 8px 8px; border-top: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.ct-table thead th { font-size: 12px; color: var(--mid); font-weight: 600; }
.ct-table th[scope="row"] { text-align: left; font-weight: 700; position: sticky; left: 0; background: #fff; box-shadow: 1px 0 0 var(--rule); }
.ct-table tbody tr:nth-child(even) td, .ct-table tbody tr:nth-child(even) th { background: #FAF8F5; }
.ct-table td.ct-na { color: var(--mid); text-align: center; }
.ct-table .ct-age-h { text-align: center; color: var(--text); border-left: 1px solid var(--rule); }
.ct-table td.ct-q { border-left: 1px solid var(--rule); }
.ct-caps { padding-left: 18px; }
.ct-caps li { margin-bottom: 4px; }
.ct-light .faq-btn-text { color: var(--text); }
.ct-light .faq-icon { color: var(--ink); }
.ct-light .faq-answer-inner { color: #3D3833; }
.ct-source { margin-top: 26px; }

/* Hub (/county-times/) */
.ct-hub-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .ct-hub-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ct-hub-grid { grid-template-columns: repeat(3, 1fr); } }
.ct-light a.ct-hub-card, .ct-hub-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); min-height: 150px; }
.ct-light a.ct-hub-card:hover { border-color: var(--text); }
.ct-hub-n { font-family: var(--font-disp); font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.ct-hub-d { font-size: 14.5px; font-weight: 600; color: var(--text); }
.ct-hub-m { font-size: 13.5px; color: var(--mid); }
.ct-hub-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ct-hub-soon { background: var(--bg2); border-style: dashed; }
.ct-hub-soon .ct-hub-d { color: var(--mid); }
.ct-lead { font-size: 15.5px; color: #3D3833; }
.ct-table-1 { min-width: 560px; }
.ct-summary--plain .ct-big:nth-child(2) .ct-big-n { color: var(--text); }
.is-check .ct-pill { background: #FCE3D6; color: #9A3412; }
.is-std .ct-pill { background: #DCF2E3; color: #0B6B33; }
.is-check .ct-detail { color: #9A3412; }

/* County switcher: step 1, a grid of equal boxes (6 across on desktop, 3 x 2 on tablets, 2 x 3 on phones) */
.ct-switch { padding: 0 0 26px; }
.ct-sw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
@media (min-width: 600px) { .ct-sw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ct-sw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ct-sw-grid li { display: flex; margin: 0; padding: 0; }
.ct-sw { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; min-height: 68px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; position: relative; }
.ct-light a.ct-sw { color: var(--text); text-decoration: none; }
.ct-light a.ct-sw:hover { border-color: var(--text); }
.ct-light a.ct-sw:focus-visible { outline: 3px solid #0A0807; outline-offset: 2px; }
.ct-sw-n { font-size: 16.5px; font-weight: 700; line-height: 1.2; color: var(--text); }
.ct-sw-d { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--mid); }
.ct-light a.ct-sw[aria-current="page"] { background: var(--text); border-color: var(--text); box-shadow: inset 0 3px 0 var(--accent); }
.ct-light a.ct-sw[aria-current="page"] .ct-sw-n { color: #fff; }
.ct-light a.ct-sw[aria-current="page"] .ct-sw-d { color: #D9D4CF; }
.ct-sw-soon { background: var(--bg2); border-style: dashed; cursor: default; }
.ct-sw-soon .ct-sw-n { color: var(--mid); }
#ct-county { border-top: 1px solid var(--rule); padding-top: 24px; }

/* Info sections */
.ct-how-p { font-size: 15.5px; line-height: 1.65; color: #2A2520; margin: 0 0 10px; max-width: 70ch; text-wrap: pretty; }
.ct-unconfirmed { font-size: 14.5px; line-height: 1.6; color: #2A2520; background: #FBF0D9; padding: 10px 12px; margin: 12px 0 0; max-width: 70ch; }
.ct-tbl { margin: 12px 0 0; border: 1px solid var(--rule); }
.ct-tbl > summary { cursor: pointer; padding: 11px 14px; font-weight: 700; font-size: 15px; background: var(--bg2); list-style-position: inside; }
.ct-tbl .ct-table-wrap { margin: 0; border: 0; border-top: 1px solid var(--rule); }
.ct-hub-prompt { padding-top: 2px; }

/* Gap Plan offer under the results, and the /times/gap-plan/ order form */
.ct-gap { margin-top: 18px; padding: 16px; background: var(--bg2); border-left: 4px solid var(--ink); display: grid; gap: 14px; }
.ct-gap[hidden] { display: none; }
.ct-gap-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ct-gap-h { font-size: clamp(20px, 2.6vw, 24px); letter-spacing: .03em; color: var(--text); margin: 4px 0 6px; }
.ct-gap-p { font-size: 14.5px; line-height: 1.55; color: var(--text); margin: 0; max-width: 62ch; text-wrap: pretty; }
.ct-light a.ct-gap-go, .ct-light a.ct-gap-go:hover { color: #fff; text-decoration: none; text-align: center; display: inline-block; justify-self: start; }
.ct-gap-act { display: grid; gap: 8px; justify-items: start; }
.ct-gap-act .ct-btn { font-size: 16px; padding: 14px 22px; }
.ct-gap-s { font-size: 12.5px; color: var(--mid); max-width: 30ch; line-height: 1.4; }
@media (min-width: 768px) { .ct-gap { grid-template-columns: 1fr auto; align-items: center; padding: 20px 24px; gap: 24px; } .ct-gap-act { justify-items: center; text-align: center; } }
.gp-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .gp-benefits { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.gp-benefits li { padding-left: 16px; border-left: 3px solid var(--ink); font-size: 15px; line-height: 1.55; color: var(--text); }
.gp-benefits strong { display: block; font-size: 16px; }
.gp-guarantee { margin: 18px 0 0; padding: 14px 16px; background: var(--bg2); font-size: 15px; line-height: 1.55; color: var(--text); max-width: 720px; }

.gp-form { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 720px; }
@media (min-width: 768px) { .gp-form { grid-template-columns: 1fr 1fr; } .gp-wide { grid-column: 1 / -1; } }
.gp-form input[type="email"], .gp-form input[type="text"], .gp-form textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); font-family: var(--font-body); font-size: 16px; }
.gp-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .gp-choice { grid-template-columns: 1.3fr 1fr; } }
.gp-opt { position: relative; display: block; cursor: pointer; }
.gp-opt input { position: absolute; opacity: 0; inset: 0; }
.gp-opt-body { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 16px; border: 2px solid var(--line); background: #fff; }
.gp-opt input:checked + .gp-opt-body { border-color: #C32114; background: var(--bg2); }
.gp-opt input:focus-visible + .gp-opt-body { outline: 3px solid #0A0807; outline-offset: 2px; }
.gp-opt-flag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #C32114; padding: 2px 8px; }
.gp-opt-n { font-size: 18px; font-weight: 700; color: var(--text); }
.gp-opt-p { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.gp-opt-d { font-size: 14px; line-height: 1.5; color: var(--mid); }
.gp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.gp-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #C32114; }
.gp-buy .ct-btn { font-size: 16px; padding: 14px 22px; }
.gp-sum { font-size: 15.5px; font-weight: 600; color: var(--text); margin: 0 0 10px; }

/* ── Phones: use the whole width, and drop boxes and bubbles that only add noise ── */
.ct-light .ct-row input { width: 100%; box-sizing: border-box; }
@media (max-width: 767px) {
  .hsc-sticky-bar { display: none !important; }                 /* the checker needs the screen more than the site-wide bar does */
  .ct-frame { padding: 0 0 32px; }
  .ct-sheet { padding: 18px 14px 26px; box-shadow: none; }
  .ct-step { padding-bottom: 20px; }
  .ct-step + .ct-step { padding-top: 18px; }
  .ct-step-h { margin-bottom: 12px; }

  /* county / championship chooser: compact, one line each */
  .ct-sw-grid { gap: 6px; }
  .ct-sw { min-height: 0; padding: 9px 10px; }
  .ct-sw-d { display: none; }
  .ct-sw-n { font-size: 15px; }

  /* lookup and paste: no panels */
  .ct-find { background: none; border-left: 0; padding: 0; margin-bottom: 16px; }
  .ct-fill { border: 0; background: none; padding: 6px 0 0; margin-top: 10px; }

  /* tiles become one plain line of numbers */
  .ct-summary { background: none; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); gap: 0; }
  .ct-big { background: none; padding: 10px 4px 8px; }
  .ct-big + .ct-big { border-left: 1px solid var(--rule); }
  .ct-big-n { font-size: 32px; }
  .ct-big-l { font-size: 12px; }

  /* results: labels, not bubbles; rows run edge to edge */
  .ct-cheer { margin: 0 -14px 12px; padding: 14px; }
  .ct-light .ct-li { padding: 11px 0; }
  .ct-light .ct-li.is-qt, .ct-light .ct-li.is-std, .ct-light .ct-li.is-ct { margin: 0 -14px; padding: 11px 14px; }
  .ct-light .ct-li .ct-pill, .ct-light .is-qt .ct-pill, .ct-light .is-ct .ct-pill, .ct-light .is-std .ct-pill, .ct-light .ct-ct-top .is-ct .ct-pill {
    background: none; box-shadow: none; border-radius: 0; width: auto; padding: 0; text-align: left;
    font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  }
  .ct-light .ct-li.is-qt .ct-pill, .ct-light .ct-li.is-std .ct-pill, .ct-light .ct-ct-top .ct-li.is-ct .ct-pill { color: #8A5E00; }
  .ct-light .ct-li.is-ct .ct-pill { color: #4E5B66; }
  .ct-light .ct-li.is-no .ct-pill { color: #5E5852; }
  .ct-light .ct-li.is-close .ct-pill { color: #C32114; }
  .ct-li.is-new .ct-pill::after { display: none; }

  .ct-gap { margin: 18px -14px 0; padding: 16px 14px; border-left: 0; border-top: 3px solid var(--ink); }
  .ct-gap-act, .ct-gap-act .ct-btn { width: 100%; box-sizing: border-box; }
  .ct-gap-s { max-width: none; }
  .ct-against-m { margin: 6px -14px 0; padding: 10px 14px; }
  .ct-table-wrap { margin-left: -14px; margin-right: -14px; border-left: 0; border-right: 0; }
}

/* ── Phone balance: text hangs off the left edge, numbers off the right, nothing floats in the middle ── */
@media (max-width: 767px) {
  /* entry rows: the input takes the right-hand 44%, so short events leave no hole */
  .ct-light .ct-row { grid-template-columns: minmax(0, 1fr) 44% !important; column-gap: 14px; }
  .ct-light .ct-std { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; }
  .ct-chip { display: contents; }
  .ct-chip b { text-align: left; }

  /* results: event and verdict on the left edge, the time on the right edge */
  .ct-light .ct-li { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ev ev t" "pill d d"; column-gap: 10px; row-gap: 4px; align-items: baseline; }
  .ct-light .ct-li-d { text-align: left; }
  .ct-light .ct-li-d strong { font-weight: 600; }
  .ct-light .ct-li .ct-bar { margin: 8px 0 0; max-width: none; }
  .ct-light .ct-li .ct-pill { align-self: baseline; white-space: nowrap; }
  .ct-li-t small { text-align: right; }

  /* three tiles: numbers left-aligned in equal thirds read as a row, not three islands */
  .ct-big { align-items: flex-start; text-align: left; padding-left: 12px; }
  .ct-big:first-child { padding-left: 0; }
}

/* ── One grid for the entry rows, at every width: Event | standards | Your time ──
   A heading row names the columns once, so each event is a single short line and the numbers line up. */
.ct-light .ct-rows-head, .ct-light .ct-row {
  display: grid !important; grid-template-areas: none !important;
  grid-template-columns: minmax(72px, 1fr) repeat(var(--n, 2), minmax(58px, auto)) 112px !important;
  column-gap: 10px; align-items: center;
}
.ct-light .ct-row[hidden] { display: none !important; }
.ct-light .ct-rows-head { padding: 10px 0 6px; border-bottom: 1px solid var(--rule); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); }
.ct-light .ct-rows-head span { text-align: right; }
.ct-light .ct-rows-head span:first-child { text-align: left; }
.ct-light .ct-row { padding: 8px 0; row-gap: 4px; }
.ct-light .ct-ev, .ct-light .ct-std, .ct-light .ct-chip { display: contents !important; }
.ct-light .ct-ev label { grid-area: auto; grid-column: 1; font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.ct-light .ct-chip b { text-align: right; font-size: 14.5px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-light .ct-row input { grid-area: auto; grid-column: -2 / -1; width: 100%; padding: 9px 10px; font-size: 16px; }
.ct-light .ct-row .ct-detail { grid-area: auto; grid-column: 1 / -1; }
@media (min-width: 768px) {
  .ct-light .ct-rows-head, .ct-light .ct-row { grid-template-columns: minmax(150px, 1fr) repeat(var(--n, 2), 120px) 170px !important; column-gap: 24px; }
  .ct-light .ct-row { padding: 10px 0; }
  .ct-light .ct-ev label { font-size: 16.5px; }
  .ct-light .ct-chip b { font-size: 15.5px; }
  .ct-light .ct-row input { padding: 11px 12px; font-size: 17px; }
}

/* ── Results on the same kind of grid: Event | Your time | Result ── */
.ct-res-head { display: none; }
@media (max-width: 767px) {
  .ct-res-head, .ct-light .ct-li { display: grid; grid-template-columns: minmax(72px, 1fr) 88px minmax(0, 1.35fr); grid-template-areas: "ev t d"; column-gap: 10px; align-items: start; }
  .ct-res-head { padding: 12px 0 6px; border-bottom: 1px solid var(--rule); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); }
  .ct-res-head span { text-align: right; }
  .ct-res-head span:first-child { text-align: left; }
  .ct-group { margin-top: 14px; }
  .ct-light .ct-li .ct-pill { display: none; }                  /* the Result column says it; colour carries the status */
  .ct-light .ct-li-ev { font-size: 15.5px; }
  .ct-light .ct-li-t { font-size: 15.5px; }
  .ct-light .ct-li-d { text-align: right; }
  .ct-light .ct-li-d strong { font-weight: 700; font-size: 14.5px; }
  .ct-light .ct-li.is-qt .ct-li-d strong, .ct-light .ct-li.is-std .ct-li-d strong, .ct-light .ct-ct-top .ct-li.is-ct .ct-li-d strong { color: #8A5E00; }
  .ct-light .ct-li.is-ct .ct-li-d strong { color: #4E5B66; }
  .ct-light .ct-li.is-close .ct-li-d strong { color: #C32114; }
  .ct-light .ct-li .ct-bar { margin: 6px 0 0 auto; max-width: 100%; }
}

/* ── The Gap Plan offer, in the site's own voice: dark, red, display type ── */
.ct-light .ct-gap {
  margin-top: 22px; padding: 26px 24px; border: 0; display: grid; gap: 20px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,46,32,.42), rgba(255,46,32,0) 55%), #0A0807; color: #fff;
}
.ct-light .ct-gap[hidden] { display: none; }
.ct-light .ct-gap::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: #FF2E20; }
.ct-light .ct-gap-k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF6A5E; }
.ct-light .ct-gap-h { font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(28px, 5.2vw, 44px); line-height: 1.02; color: #fff; margin: 6px 0 10px; text-wrap: balance; }
.ct-light .ct-gap-p { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.86); margin: 0; max-width: 58ch; }
.ct-gap-pts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.ct-gap-pts li { position: relative; padding-left: 24px; font-size: 15px; font-weight: 600; color: #fff; }
.ct-gap-pts li::before { content: ""; position: absolute; left: 0; top: .28em; width: 14px; height: 14px; background: #FF2E20;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ct-light .ct-gap-act { display: grid; gap: 10px; justify-items: start; text-align: left; }
.ct-gap-price { margin: 0; display: flex; align-items: baseline; gap: 8px; color: #fff; }
.ct-gap-price b { font-family: var(--font-disp); font-weight: 900; font-size: 56px; line-height: .9; }
.ct-gap-price span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ct-light a.ct-gap-go, .ct-light a.ct-gap-go:hover {
  display: inline-block; background: #FF2E20; color: #0A0807; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 17px 26px;
  box-shadow: 0 10px 30px rgba(255,46,32,.35); transition: transform .15s ease, box-shadow .15s ease;
}
.ct-light a.ct-gap-go:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,46,32,.5); }
.ct-light a.ct-gap-go:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ct-light .ct-gap-s { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.66); max-width: 34ch; }
@media (min-width: 768px) {
  .ct-light .ct-gap { grid-template-columns: 1fr auto; align-items: center; padding: 34px 36px; gap: 36px; }
  .ct-light .ct-gap-act { justify-items: end; text-align: right; }
}
@media (max-width: 767px) {
  .ct-light .ct-gap { margin: 22px -14px 0; padding: 24px 14px 26px; border-top: 0; }
  .ct-light a.ct-gap-go { width: 100%; box-sizing: border-box; }
  .ct-light .ct-gap-s { max-width: none; }
}

/* order page: the two options, and the buy button, with the same finish */
.gp-opt input:checked + .gp-opt-body { background: #0A0807; border-color: #FF2E20; box-shadow: 0 10px 30px rgba(255,46,32,.22); }
.gp-opt input:checked + .gp-opt-body .gp-opt-n, .gp-opt input:checked + .gp-opt-body .gp-opt-p { color: #fff; }
.gp-opt input:checked + .gp-opt-body .gp-opt-d { color: rgba(255,255,255,.78); }
.gp-opt-p { font-family: var(--font-disp); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: .01em; }
.gp-opt-flag { background: #FF2E20; color: #0A0807; }
.gp-buy .ct-btn { background: #FF2E20; color: #0A0807; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; padding: 17px 26px; box-shadow: 0 10px 30px rgba(255,46,32,.3); }
.gp-buy .ct-btn:hover { background: #FF2E20; transform: translateY(-2px); }
.gp-buy .ct-btn:disabled { box-shadow: none; transform: none; }
.gp-benefits li { border-left-color: #FF2E20; }
.gp-guarantee { background: #0A0807; color: #fff; border-left: 5px solid #E0A82E; }
@media (max-width: 767px) { .gp-buy .ct-btn { width: 100%; } }

.ct-sep { font-style: normal; }
@media (max-width: 767px) { .ct-sep { display: block; height: 0; overflow: hidden; } }   /* one fact per line in the narrow Result column */

/* ── No coloured edge stripes (Brian, Nov 2026): state is carried by fill, text colour and the medal, not borders ── */
.ct-light .ct-row input, .ct-light .ct-row.is-qt input, .ct-light .ct-row.is-std input, .ct-light .ct-row.is-ct input,
.ct-light .ct-ct-top .ct-row.is-ct input, .ct-light .ct-row.is-no input, .ct-light .ct-row.is-out input { border: 1px solid var(--line); border-left-width: 1px; }
.ct-light .ct-row.is-bad input { border-color: #B42318; }
.ct-light .ct-li.is-qt, .ct-light .ct-li.is-std, .ct-light .ct-li.is-ct, .ct-light .ct-ct-top .ct-li.is-ct { box-shadow: none; }
.ct-cheer::before, .ct-light .ct-gap::before { display: none; }
.ct-find, .ct-gap, .ct-light .ct-gap { border-left: 0; border-top: 0; border-right: 0; }
.ct-find { padding-left: 16px; }
.gp-benefits li { border-left: 0; padding-left: 0; }
.gp-guarantee { border-left: 0; }
.ct-light .ct-sw[aria-current="page"] { border-top-color: transparent; border-color: #0A0807; }
@media (max-width: 767px) { .ct-find { padding-left: 0; } }
.ct-light a.ct-sw[aria-current="page"] { box-shadow: none; }

/* ── /times/ hub: pathways of levels. Each level is its own unlock; none is styled as lesser. ── */
.tl-intro { font-size: 16.5px; max-width: 62ch; margin-top: 0; }
.tl-path { padding: 26px 0 6px; border-top: 1px solid var(--rule); margin-top: 26px; }
.tl-levels { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tl-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.tl-level { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #0A0807; color: #fff; }
.tl-level-top { display: flex; align-items: center; gap: 12px; }
.tl-emblem { flex: none; color: #E0A82E; }
.tl-level-k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tl-level-n { margin: 0; font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 26px; line-height: 1.05; color: #fff; }
.tl-level-t { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.84); }
.tl-level-soon { margin: auto 0 0; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.62); }
.tl-level:not(.is-live) .tl-emblem { color: rgba(255,255,255,.5); }
.tl-level .ct-sw-grid { margin-top: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ct-light .tl-level a.ct-sw { background: #fff; border-color: #fff; min-height: 0; padding: 10px 12px; text-decoration: none; }
.ct-light .tl-level a.ct-sw:hover { background: #F8E08E; border-color: #F8E08E; }
.tl-level .ct-sw-d { display: none; }
@media (max-width: 767px) { .tl-level { margin: 0 -14px; padding: 18px 14px; } .tl-levels { gap: 2px; } }

/* results: which level this is, and that it stands on its own */
.ct-level { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.ct-level svg { width: 18px; height: 18px; color: #B07A00; flex: none; }
.ct-level a { color: var(--mid); }

/* ══ /times/ hub: a native site page. Dark ground, display type, mono labels, the site's own buttons. ══ */
.th-hero.page-header { min-height: clamp(340px, 48vh, 460px); }

/* The pathway: four levels on one line, joined by a rule with a node at each level */
.th-levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; counter-reset: lvl; }
.th-level { position: relative; padding: 28px 0 32px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: flex-start; }
.th-level::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(242,238,235,.45); }
.th-level.is-live::before { background: #E0A82E; border-color: #E0A82E; }
.th-emblem { color: rgba(242,238,235,.38); margin-bottom: 18px; }
.th-emblem.is-live { color: #E0A82E; }
.th-level .label { margin-bottom: 8px; }
.th-level h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.th-level p { font-size: 14px; color: var(--mid); margin: 0 0 22px; max-width: 34ch; }
.th-level .path-card-arrow, .th-level .th-soon { margin-top: auto; }
.th-level a.path-card-arrow { text-decoration: none; }
.th-level a.path-card-arrow:hover { background: var(--accent); color: #0A0807; }
.th-soon { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,238,235,.5); padding: 10px 0; }
@media (min-width: 900px) {
  .th-levels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .th-level { padding: 36px 32px 0 0; }
  .th-level:last-child { padding-right: 0; }
}

/* Pick lists: one row per checker. Name left, detail centre, arrow right, on a shared grid. */
.th-picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.th-picks li { border-bottom: 1px solid var(--rule); }
.th-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n go" "m go"; column-gap: 16px; row-gap: 4px; align-items: center; padding: 20px 0; text-decoration: none; color: var(--text); transition: padding .2s var(--ease), background .2s var(--ease); }
.th-pick-n { grid-area: n; font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; color: var(--text); }
.th-pick-m { grid-area: m; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.th-pick-go { grid-area: go; font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--accent); border: 1px solid var(--accent); padding: 10px 16px; transition: background .2s var(--ease), color .2s var(--ease); }
a.th-pick:hover { background: var(--surface2, rgba(242,238,235,.05)); padding-left: 14px; padding-right: 14px; }
a.th-pick:hover .th-pick-go { background: var(--accent); color: #0A0807; }
a.th-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.th-pick.is-soon .th-pick-n { color: rgba(242,238,235,.5); }
.th-pick.is-soon .th-pick-go { color: rgba(242,238,235,.5); border-color: rgba(242,238,235,.2); font-size: 11px; text-transform: uppercase; }
@media (min-width: 900px) {
  .th-pick { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; grid-template-areas: "n m go"; padding: 24px 0; }
}

/* The Gap Plan band */
.th-gap { background: radial-gradient(90% 160% at 100% 0%, rgba(255,46,32,.34), rgba(255,46,32,0) 60%), var(--bg2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.th-gap-in { display: grid; gap: 28px; }
.th-gap h2 { font-size: clamp(40px, 7vw, 68px) !important; margin: 14px 0 16px; }
.th-gap p { max-width: 52ch; font-size: 16px; }
.th-gap-act { display: grid; gap: 12px; justify-items: start; }
.th-gap-price { margin: 0; display: flex; align-items: baseline; gap: 10px; color: var(--text); }
.th-gap-price b { font-family: var(--font-disp); font-weight: 900; font-size: 72px; line-height: .9; }
.th-gap-price span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); }
.th-gap-s { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
@media (min-width: 900px) { .th-gap-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; } .th-gap-act { justify-items: end; text-align: right; } }
@media (max-width: 767px) { .th-gap .btn-primary { width: 100%; text-align: center; box-sizing: border-box; } }

/* Phones: each level is one row, emblem in a fixed left column, text aligned beside it */
@media (max-width: 899px) {
  .th-level { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 24px 0 26px; }
  .th-level > * { grid-column: 2; }
  .th-level > .th-emblem { grid-column: 1; grid-row: 1 / span 4; margin: 2px 0 0; }
  .th-level p { margin-bottom: 14px; max-width: none; }
  .th-level .path-card-arrow, .th-level .th-soon { justify-self: start; margin-top: 0; }
  .th-soon { padding: 0; }
}

/* All tab: stroke headings over each group; swim details under each time; long name lists load as they scroll */
.ct-stroke-h { margin: 18px 0 0; padding: 0 0 6px; font-family: var(--font-display, inherit); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); border-bottom: 2px solid var(--rule); }
.ct-stroke-h:first-child { margin-top: 6px; }
.ct-stroke-h[hidden] { display: none; }
.ct-row .ct-detail .ct-sub { display: block; font-size: 13px; color: var(--mid); margin-top: 2px; }
.ct-li .ct-li-w, .ct-light .ct-li .ct-li-w { grid-column: 1 / -1; display: block; text-align: left; font-size: 12.5px; color: var(--mid); margin-top: -2px; }
.ct-find-more { padding: 10px 12px; font-size: 14px; color: var(--mid); }
/* six stroke tabs (All + five strokes) must fit a 360px phone */
.ct-tabs [role="tab"] { min-width: 0; }
@media (max-width: 480px) {
  .ct-tabs [role="tab"] { padding: 12px 1px 10px; font-size: 14px; gap: 3px; }
  .ct-tabs .ct-count:not(:empty) { min-width: 18px; height: 18px; font-size: 11px; padding: 0 4px; }
}
@media (max-width: 420px) {
  .ct-tabs [role="tab"]:not(#tab-all) .ct-count { display: none; }
}
