/* Your tracker's two pages only (tracker.html, tracker_checkin.html), as the owner's boards: with the switch off site.css and every
   other page are as they were. Tokens from site.css, no raw colours; the four ratings are --sev-0 to --sev-3, each with its ink. */
.tk { padding-block: 24px 96px; }
.tk [hidden] { display: none !important; }
.tk svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tk h1 { margin: 24px 0 8px; font-size: clamp(2.6rem, 4.4vw, 4rem); }
.tk h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.tk-small { margin: 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.tk-soft { color: var(--ink-3); font-weight: 400; }
.tk-ink { color: var(--ink); }
.tk-note { padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--surface); color: var(--ink); }
.tk-fail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 16px 0; }
.tk-fail p { margin: 0; }
.tk-status:empty { display: none; }
.tk-status { margin: 12px 0; color: var(--ink); }
.tk-err:empty { display: none; }
.tk-err { margin: 0; color: var(--warn); font-weight: 600; }
.tk-link { padding: 0; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line); cursor: pointer; display: inline-flex; align-items: center; }
.tk-link:hover { color: var(--accent); }
.tk-danger { color: var(--warn); text-decoration-color: currentColor; }
.tk-danger:hover { color: var(--warn); }
.tk-strong { font-size: 1rem; }

/* signed out */
.tk-out { max-width: 720px; }
/* signed out: the tracker drawn with an example under the sign-up text (tracker.js showExample); it works, but saves nothing */
.tk[data-state="example"] .tk-out-list, .tk[data-state="example"] .tk-head-main h1, .tk[data-state="example"] #tk-remind { display: none !important; }
.tk[data-state="example"] .tk-app { position: relative; margin-top: 32px; padding: 28px; border: 1px dashed var(--rule-strong); border-radius: 22px; }
.tk-example-go { max-width: 720px; margin: 56px 0 0; }
.tk-example-go h2 { margin: 0 0 24px; }
@media (max-width: 600px) { .tk[data-state="example"] .tk-app { padding: 16px; } }
:root[data-in] .tk:not([data-state]) .tk-out { display: none; }  /* signed in by the hint cookie: no flash of the sign-up text */
.tk-lede { margin: 0 0 16px; font-size: 1.25rem; color: var(--ink-2); text-wrap: pretty; }
.tk-out-list { margin: 0 0 24px; padding-left: 1.2em; display: grid; gap: 8px; }
.tk-out-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }

/* the head and its check-in line */
.tk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.tk-head-main h1 { margin-bottom: 4px; }
.tk-due { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-2); }
.tk-due-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--star); }
.tk-due.is-done .tk-due-dot { background: var(--line); }
.tk-head-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tk-head-btns .btn { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.tk-toast { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 14px 20px; border-radius: 14px; background: var(--deep); color: var(--deep-ink); font-weight: 600; }
.tk-toast a { color: var(--deep-ink); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* cards */
.tk-card { margin: 0 0 24px; padding: 28px 32px; border: 1px solid var(--rule); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float); }
.tk-card > h2, .tk-card-head h2 { margin: 0; }
.tk-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.tk-two { display: grid; gap: 24px; margin-bottom: 24px; }
.tk-two.is-two { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.tk-two .tk-card { margin: 0; }
.tk-empty p { margin: 12px 0 0; max-width: 40em; }

/* What changed */
.tk-tabs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tk-tabs-label { color: var(--ink-2); font-size: .9375rem; }
.tk-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-tab { min-height: 44px; padding: 0 18px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer; }
.tk-tab:hover { background: var(--band); }
.tk-tab[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); font-weight: 600; }
.tk-changed-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tk-changed-title h3 { margin: 0; font-size: 1.75rem; }
.tk-meta { margin: 0; color: var(--ink-2); font-size: .9375rem; }
/* one run of text, so "Your verdict:", the dot and its words wrap together on a phone */
.tk-verdict-row { margin: 4px 0 16px; font-size: .9375rem; line-height: 1.6; }
.tk-verdict-row .tk-link { vertical-align: middle; }
.tk-verdict-line { margin: 0; font-size: .9375rem; }
.tk-verdict-line.tk-inline { display: inline; }
.tk-verdict-line .tk-dot { margin-right: 6px; vertical-align: 1px; }
.tk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; forced-color-adjust: none; }
.tk-changed-note { margin: 4px 0 0; max-width: 46em; color: var(--ink-2); }
.tk-changed-note .tk-link { margin-left: 4px; vertical-align: middle; }
.tk-change-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tk-change { padding: 14px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
.tk-change h4 { margin: 0 0 8px; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.tk-bn { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 10px; font-size: .9375rem; }
.tk-bn dt { color: var(--ink-3); }
.tk-bn dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.tk-sqs { display: inline-flex; gap: 2px; }
.tk-sq { display: inline-block; width: 13px; height: 13px; border-radius: 3px; flex: none; forced-color-adjust: none; }
.tk-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--band); color: var(--ink); font-size: .875rem; font-weight: 600; }
.tk-pill svg { width: 16px; height: 16px; }
.tk-pill.is-better { background: var(--accent-soft); }
.tk-pill.is-worse { background: var(--warn-soft); color: var(--warn); }
.tk-span { margin: 8px 0 0; font-size: .8125rem; color: var(--ink-3); }
.tk-short { margin: 0; color: var(--ink-3); font-size: .9375rem; }
.tk-changed-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.tk-others { font-weight: 600; color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* the four ratings and No check-in */
.tk-r0 { background: var(--sev-0); color: var(--sev-ink-0); }
.tk-r1 { background: var(--sev-1); color: var(--sev-ink-1); }
.tk-r2 { background: var(--sev-2); color: var(--sev-ink-2); }
.tk-r3 { background: var(--sev-3); color: var(--sev-ink-3); }
.tk-rx { background: var(--surface); border: 1.5px dashed var(--rule-strong); }

/* Week by week */
.tk-weeks { margin-inline: 0; }
.tk-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9375rem; color: var(--ink-2); }
.tk-legend li { display: inline-flex; align-items: center; gap: 7px; }
.tk-grid-scroll { overflow-x: auto; padding-bottom: 6px; }
.tk-grid { --label: 190px; --col: 46px; display: grid; grid-template-columns: var(--label) repeat(var(--weeks), minmax(var(--col), 1fr)); gap: 4px; align-items: center; min-width: min-content; position: relative; }
.tk-wk { font-size: .8125rem; color: var(--ink-2); text-align: center; white-space: nowrap; padding-bottom: 2px; }
.tk-sym { position: sticky; left: 0; z-index: 2; align-self: stretch; display: flex; align-items: center; font-size: .9375rem; font-weight: 600; padding-right: 12px; line-height: 1.25; background: var(--surface); }  /* the names stay while the weeks scroll */
.tk-cell { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 6px; font-size: .75rem; font-weight: 600; forced-color-adjust: none; }
.tk-mark { position: relative; z-index: 1; align-self: stretch; justify-self: start; width: 0; margin-left: -3px; border-left: 2px solid var(--ink); pointer-events: none; }
.tk-mark-label { position: absolute; top: 0; left: -1px; padding: 2px 9px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: .75rem; font-weight: 600; white-space: nowrap; line-height: 1.4; }
.tk-mark-row { height: 26px; }
.tk-wk.has-note { cursor: help; text-decoration: underline dotted var(--line); text-underline-offset: 4px; }
.tk-wk.has-note::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }

/* Your treatments */
.tk-items { list-style: none; margin: 0; padding: 0; }
.tk-item { display: flex; justify-content: space-between; gap: 12px 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.tk-item:last-child { border-bottom: 1px solid var(--rule); }
.tk-item-main { min-width: 0; display: grid; gap: 4px; }
.tk-item-name { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.tk-item-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 18px; flex: none; }
.tk-kind { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: var(--band); color: var(--ink-2); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tk-kind-medicine { background: var(--one-soft); color: var(--gold); }
.tk-acts { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; }
.tk-acts .tk-link { font-weight: 400; color: var(--ink-2); }
.tk-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0; padding: 4px 12px; border-radius: 10px; background: var(--warn-soft); }
.tk-quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.tk-quote-sm { font-size: 1rem; }
.tk-warn-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin: 2px 0 0; padding: 2px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: .875rem; font-weight: 600; }
.tk-warn-badge svg { width: 15px; height: 15px; }
.tk-others-row { margin: 2px 0 0; }
.tk-others-row .tk-others { font-size: .9375rem; }

/* Interactions */
.tk-inter h2 { margin-bottom: 16px; }
.tk-inter-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 600; font-size: 1.0625rem; }
.tk-inter-head svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.tk-inter-head.is-serious { color: var(--warn); }
.tk-inter-head.is-serious svg { background: var(--warn-soft); color: var(--warn); }
.tk-inter-box { margin: 0 0 12px; padding: 16px 18px; border: 1px solid var(--warn-rule); border-left: 4px solid var(--warn); border-radius: 12px; background: var(--warn-panel); }
.tk-inter-box.is-minor { border-color: var(--rule); border-left-color: var(--rule-strong); background: var(--paper); }
.tk-inter-box p { margin: 0 0 8px; }
/* a card's title, and a minor row's: the pair on one line, its icon in the line (a second line starts at the edge, not under the icon) */
.tk-inter-box .tk-inter-pair { margin: 0 0 12px; }
.tk-pair-title { min-width: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tk-pair-title svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; color: var(--warn); }
/* what happens, then under a rule what to do: each with a small label, in the body's weight */
.tk-reading { display: grid; }
.tk-inter-box .tk-reading p, .tk-reading p { margin: 0; }
.tk-label { margin: 0 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tk-reading .tk-label { margin-bottom: 4px; }
.tk-reading .tk-todo { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.tk-advice { font-weight: 400; }
.tk-eyebrow { margin: 20px 0 6px; font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tk-pairs { list-style: none; margin: 0 0 12px; padding: 0; }
/* a pair's names, then what was found on its own line under them: one layout for every row, whatever the panel's width */
.tk-pairs > li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--rule-soft); font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
/* a pair's names one to a line, "+ second" under the first */
.tk-pair-names { display: grid; font-weight: 400; }
.tk-pn { overflow-wrap: anywhere; }
.tk-minor { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--rule); border-left: 4px solid var(--rule-strong); border-radius: 12px; background: var(--paper); }
.tk-minor li + li { border-top: 1px solid var(--rule-soft); }
.tk-minor summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; min-height: 44px; padding: 14px 14px 14px 16px; cursor: pointer; font-size: .9375rem; line-height: 1.45; }
.tk-minor summary:hover { background: var(--band); }
.tk-minor summary::-webkit-details-marker { display: none; }
.tk-minor summary::after { content: ""; width: 7px; height: 7px; margin: 7px 2px 0; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); }
.tk-minor details[open] summary::after { margin-top: 11px; transform: rotate(-135deg); }
/* the focus ring goes round the whole row, opened or not, never across it */
.tk-minor summary:focus-visible { outline: none; }
.tk-minor li:has(> details > summary:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
.tk-minor details > .tk-reading { padding: 0 16px 16px; font-size: .9375rem; }  /* padding, not a margin, which would fall outside the row and its ring */
/* Couldn't check: a treatment, its count and one line; opened, a row for each other treatment, which opens to its pair's own words.
   No rule or border inside an opened group, room between its rows instead */
.tk-pairs > li.tk-stuck { display: block; padding: 0; }
.tk-stuck > details > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; min-height: 44px; padding: 14px 2px 14px 0; cursor: pointer; }
.tk-stuck summary::-webkit-details-marker { display: none; }
.tk-stuck > details > summary::after { content: ""; width: 7px; height: 7px; margin: 8px 2px 0; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); }
.tk-stuck > details[open] > summary::after { margin-top: 12px; transform: rotate(-135deg); }
.tk-stuck summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.tk-stuck-head { display: grid; gap: 4px; }
.tk-stuck-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.tk-stuck-name { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tk-count { padding: 1px 9px; border-radius: 999px; background: var(--band); color: var(--ink-2); font-size: .8125rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tk-stuck-say { color: var(--ink-2); font-size: .9375rem; }
.tk-stuck-rows { list-style: none; display: grid; gap: 2px; margin: 0 -10px; padding: 0 0 16px; font-size: .9375rem; line-height: 1.5; }
.tk-stuck-rows summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-radius: 8px; cursor: pointer; list-style: none; }
.tk-stuck-rows summary:hover { background: var(--band); }
.tk-stuck-rows summary::after { content: ""; width: 6px; height: 6px; margin: 0 3px 3px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); }
.tk-stuck-rows details[open] > summary::after { margin: 3px 3px 0; transform: rotate(-135deg); }
.tk-stuck-text { margin: 2px 10px 10px; color: var(--ink); }
.tk-others-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 16px 0 4px; font-size: .9375rem; }
/* under its heading, a part starts at once: no gap or rule between the heading and its first row */
.tk-eyebrow + .tk-others-line { margin-top: 0; }
.tk-eyebrow + .tk-pairs > li:first-child { border-top: 0; }
.tk-inter-foot { margin-top: 12px; }

/* Want to try next */
.tk-wants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.tk-want-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1.5px dashed var(--rule-strong); border-radius: 14px; }
.tk-want-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; }
.tk-want-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: auto; }
.tk-want-go .tk-others { font-size: .9375rem; }

/* Reminders */
.tk-remind-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 8px; }
/* background-color, not the shorthand: site.css draws the select's chevron as its background image, with room on the right for it */
.tk-remind-row select, .tk-when select { min-height: 44px; padding: 0 2.4rem 0 12px; border: 1px solid var(--rule-strong); border-radius: 10px; background-color: var(--paper); color: var(--ink); font: inherit; }

/* dialogs: a card over the page, a bottom sheet on a phone */
.tk-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow-float); }
.tk-dialog::backdrop { background: var(--newsletter-veil); }
.tk-dialog-in { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px 28px; }
.tk-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tk-dialog-head h2 { margin: 0; font-size: 2rem; }
.tk-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -6px -10px 0 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.tk-field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tk-field > label, .tk-field > legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.tk-field > legend { margin-bottom: 6px; }
.tk-field input[type=text], .tk-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; box-sizing: border-box; }
.tk-field textarea { resize: vertical; }
.tk-field input:focus, .tk-field textarea:focus, .tk select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tk-find { position: relative; }
.tk-options { position: absolute; z-index: 2; top: calc(100% - 22px); left: 0; right: 0; max-height: 300px; overflow-y: auto; list-style: none; margin: 0; padding: 6px; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-float); }
.tk-option { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; min-height: 44px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.tk-option:hover, .tk-option[aria-selected="true"] { background: var(--band); }
.tk-option mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.tk-row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 12px; }
/* using now: dose and how often, then the start date on its own row; tried before: dose and how often, then started and stopped */
.tk-row3:not(.is-tried) .tk-when { grid-column: 1 / -1; }
.tk-row3:not(.is-tried) .tk-when-row { max-width: 22rem; }
.tk-tried-fields { display: flex; flex-direction: column; gap: 18px; }
.tk-dialog-sm { width: min(560px, calc(100vw - 32px)); }
.tk-when-row { display: flex; gap: 6px; min-width: 0; }  /* min-width: the selects' option text must not widen the dialog */
.tk-when-row select { flex: 1 1 0; min-width: 0; padding: 0 1.9rem 0 8px; background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%; }
.tk-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-seg label { position: relative; }
.tk-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-seg span, .tk-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer; }
.tk-seg label:hover span { border-color: var(--ink-2); }
.tk-seg input:checked + span, .tk-toggle[aria-pressed="true"] { border: 2px solid var(--ink); font-weight: 600; background: var(--paper); }
.tk-seg input:focus-visible + span, .tk-verdicts input:focus-visible + span, .tk-rate-row input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.tk-chips .chip { min-height: 44px; font-size: .875rem; padding: 0 12px; }
.tk-dialog-go { display: flex; flex-wrap: wrap; gap: 12px; }
.tk-dialog-go .btn { min-height: 52px; }
.tk-verdicts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tk-verdicts label { position: relative; }
.tk-verdicts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-verdicts span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 76px; padding: 8px 6px; border: 1px solid var(--rule-strong); border-radius: 12px; text-align: center; font-size: .9375rem; line-height: 1.2; cursor: pointer; }
.tk-verdicts input:checked + span { border: 2px solid var(--ink); font-weight: 600; background: var(--paper); }
.tk-verdicts .tk-dot { width: 12px; height: 12px; }
.tk-say { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--band); font-size: .9375rem; }

/* the check-in: four big targets a symptom, last week's answer filled in */
.tk-checkin { display: flex; flex-direction: column; gap: 6px; }
.tk-intro { margin: 0 0 8px; padding: 12px 16px; border-radius: 12px; background: var(--band); font-size: .9375rem; }
.tk-rate { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.tk-rate-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 1.0625rem; }
.tk-changed-from { color: var(--accent); font-size: .875rem; }
.tk-rate-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tk-rate-row label { position: relative; }
.tk-rate-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-rate-row label > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--surface); font-size: .9375rem; cursor: pointer; }
.tk-rate-row .tk-sq { width: 16px; height: 16px; }
.tk-rate-row input:checked + span { border: 2px solid var(--ink); font-weight: 700; background: var(--paper); }
.tk-treat .tk-meta { margin: -4px 0 10px; }
.tk-seg-2 { display: grid; grid-template-columns: 1fr 1fr; }
.tk-seg-2 .tk-toggle { justify-content: center; border-radius: 12px; }
.tk-treat-list { list-style: none; margin: 10px 0 0; padding: 0; }
.tk-treat-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 4px 0; border-top: 1px solid var(--rule-soft); }
.tk-save { margin-top: 16px; width: 100%; }
.tk-page-checkin { max-width: 640px; }
.tk-checkin-head { display: flex; align-items: flex-start; gap: 12px; }
.tk-checkin-head h1 { margin: 0; font-size: clamp(2rem, 6vw, 2.75rem); }
.tk-checkin-head .tk-x { margin: 4px 0 0 -10px; }

@media (max-width: 1023px) {
  .tk-two.is-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tk { padding-block: 8px 72px; }
  .tk-card { padding: 20px 18px; border-radius: 18px; }
  .tk-head-btns, .tk-head-btns .btn { width: 100%; }
  .tk-grid { --label: 92px; --col: 40px; }
  .tk-sym { font-size: .8125rem; }
  .tk-item { flex-direction: column; }
  .tk-item-side { justify-content: flex-start; }
  .tk-row3 .tk-when { grid-column: 1 / -1; }
  .tk-verdicts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-dialog { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .tk-dialog-in { padding: 18px 18px 24px; }
  .tk-dialog-head h2 { font-size: 1.75rem; }
}
@media (max-width: 420px) {
  .tk-rate-row label > span { font-size: .875rem; }
  .tk-verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* a site name a split took off the list: which of the names it became (tracker.js splitAsk) */
.tk-split { border: 1px solid var(--rule-strong); border-radius: 10px; padding: 10px 12px; margin: 10px 0; background: var(--surface); color: var(--ink); min-width: 0; }
.tk-split-ask { font-weight: 600; padding: 0 4px; }
.tk-split-list { display: grid; gap: 4px; max-height: 14rem; overflow-y: auto; margin: 6px 0 8px; }
.tk-split-choice { display: flex; gap: 6px; align-items: baseline; overflow-wrap: anywhere; }
