/* Tools on the website check page: tiles, sliders, receipts, steps and the free-tools draft. */
/* Concept lab for the website check. Colours follow the selected site skin. */
.lab-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.lab-jump a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); background: var(--panel); padding: .45rem .8rem; font-size: .95rem; color: var(--fg); }
.lab-jump a:hover { border-color: var(--yellow); }
.concept { border-top: 4px solid var(--yellow); background: var(--panel); border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.1rem, 3.5vw, 2.2rem); margin: 2.5rem 0; scroll-margin-top: 1rem; }
.concept-num { font-family: "IBM Plex Mono", monospace; font-size: .85rem; letter-spacing: .08em; color: var(--yellow); margin: 0; }
.concept h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.1; margin: .5rem 0 .6rem; max-width: none; }
.concept-gets { color: var(--muted); margin: 0 0 1.5rem; max-width: none; }
.concept-gets b { color: var(--fg); font-weight: 600; }
.concept p { max-width: none; }
.stage { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.stage.wide { grid-template-columns: minmax(0, 1fr); }
.controls { display: grid; gap: 1rem; min-width: 0; }
.controls label { display: grid; gap: .35rem; font-size: 1rem; }
.controls :is(input[type=text], select) { width: 100%; min-width: 0; padding: .7rem; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; border-radius: 0; }
.controls input[type=range] { width: 100%; accent-color: var(--yellow); min-height: 44px; }
.controls output { font-family: "IBM Plex Mono", monospace; color: var(--yellow); }
.range-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button, .tile, .block-toggle { color: var(--fg); background: var(--bg); border: 1px solid var(--line); padding: .55rem .85rem; font-size: .95rem; min-height: 44px; text-align: left; }
.chips button[aria-pressed=true], .tile[data-level="1"], .tile[data-level="2"], .block-toggle[aria-pressed=true] { border-color: var(--yellow); box-shadow: inset 0 -3px var(--yellow); }
.chips-label { font-size: .9rem; color: var(--muted); margin: 0 0 .4rem; }
.out { min-width: 0; }
.out-label { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5rem; text-transform: uppercase; }

/* Mock browser frames */
.frame { border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.frame-bar { display: flex; gap: .35rem; align-items: center; padding: .45rem .6rem; border-bottom: 1px solid var(--line); font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: var(--muted); overflow: hidden; white-space: nowrap; }
.frame-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); flex: none; }
.frame-bar span { margin-left: .4rem; overflow: hidden; text-overflow: ellipsis; }
.frame-body { padding: 1.2rem; overflow-wrap: anywhere; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mock-dull { color: var(--muted); }
.mock-dull .mock-h { font-size: 1.15rem; font-weight: 400; margin: 0 0 .5rem; }
.mock-dull p { font-size: .9rem; margin: 0 0 .5rem; }
.mock-dull .mock-link { text-decoration: underline; font-size: .9rem; }
.mock-live .mock-h { font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.15; margin: 0 0 .6rem; }
.mock-live p { font-size: .95rem; margin: 0 0 .9rem; }
.mock-btn { display: inline-block; background: var(--yellow); color: #111; font-weight: 600; padding: .55rem .9rem; font-size: .95rem; }
.mock-proof { margin-top: .9rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; }
.verdict { margin: 1rem 0 0; font-size: 1.05rem; }
.keep { border-left: 4px solid var(--yellow); padding: .8rem 1rem; background: var(--bg); margin: 1rem 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }

/* Night shift */
.shift { display: grid; gap: 0; }
.shift-head, .shift-row { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.shift-head { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: .5rem; }
.shift-row { border-top: 1px solid var(--line); padding: .8rem 0; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.shift-row.on { opacity: 1; transform: none; }
.shift-time { font-family: "IBM Plex Mono", monospace; font-size: .9rem; color: var(--yellow); }
.shift-row p { margin: 0; font-size: 1rem; }
.shift-dull { color: var(--muted); }
.tier { display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .05em; border: 1px solid var(--line); padding: .05rem .4rem; margin-top: .35rem; color: var(--muted); }
.tier.app { border-color: var(--yellow); color: var(--yellow); }
.tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.tally div { border: 1px solid var(--line); background: var(--bg); padding: 1rem; }
.tally div.win { border-color: var(--yellow); }
.tally strong { display: block; font-size: 1.6rem; line-height: 1.2; }
.tally span { font-size: .9rem; color: var(--muted); }

/* Enquiry maths */
.big { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 600; line-height: 1.05; margin: 0; color: var(--yellow); overflow-wrap: anywhere; }
.big-note { margin: .4rem 0 1.2rem; }
.bars { display: grid; gap: .6rem; }
.bar-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; align-items: center; font-size: .9rem; }
.bar-track { background: var(--bg); border: 1px solid var(--line); height: 1.6rem; position: relative; }
.bar-fill { background: var(--line); height: 100%; width: 0; transition: width .25s; }
.bar-fill.hot { background: var(--yellow); }
.bar-val { font-family: "IBM Plex Mono", monospace; font-size: .85rem; margin-top: .2rem; }
.fine { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }

/* Hand-work tally */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: .6rem; }
.tile { display: grid; gap: .25rem; cursor: pointer; min-width: 0; overflow-wrap: anywhere; }
.tile small { font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: var(--muted); }
.tile[data-level="1"] small, .tile[data-level="2"] small { color: var(--yellow); }
.letter { border: 1px solid var(--line); background: var(--bg); padding: 1.2rem; margin-top: 1.2rem; }
.letter h3 { font-size: 1.3rem; margin: 0 0 .3rem; }
.letter ul { margin: .8rem 0 0; padding-left: 1.2rem; }
.letter li { margin: .35rem 0; }
.letter .meta { font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--muted); margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)); gap: .75rem; margin-top: 1.2rem; }
.stat-row.sticky { position: sticky; top: 0; z-index: 2; margin: 0 0 1rem; background: var(--panel); padding-block: .4rem; }
.stat-row div { border: 1px solid var(--line); background: var(--bg); padding: .9rem; }
.stat-row strong { display: block; font-size: 1.7rem; color: var(--yellow); line-height: 1.15; }
.stat-row span { font-size: .85rem; color: var(--muted); }

/* Blueprint */
.block-group { display: grid; gap: .5rem; }
.block-group h3 { font-size: 1rem; margin: 0; }
.block-group p { font-size: .9rem; color: var(--muted); margin: 0; }
.block-toggle { cursor: pointer; display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.block-toggle small { font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--muted); flex: none; }
.wire { display: grid; gap: .6rem; min-height: 8rem; }
.wire-empty { color: var(--muted); font-size: .95rem; margin: 0; }
.wire-block { border: 1px dashed var(--line); padding: .7rem .8rem; animation: wire-in .3s ease-out; }
.wire-block.app { border-style: solid; border-color: var(--yellow); }
.wire-block.have { border-style: dotted; }
.wire-block b { display: block; font-size: .95rem; }
.wire-block span { font-size: .85rem; color: var(--muted); }
.wire-rule { font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); border-top: 1px solid var(--yellow); padding-top: .3rem; margin-top: .3rem; }
@keyframes wire-in { from { opacity: 0; transform: translateY(8px); } }

/* Shared footer of each concept */
.concept-foot { border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1.2rem; display: grid; gap: 1rem; }
.concept-cta { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.concept-cta p { min-width: 0; overflow-wrap: anywhere; margin: 0; font-size: .95rem; color: var(--muted); flex: 1 1 16rem; }
.copy-btn { color: var(--fg); background: var(--bg); border: 1px solid var(--line); padding: .6rem 1rem; min-height: 44px; }
.copy-note { font-size: .9rem; color: var(--muted); min-height: 1.4em; margin: 0; }
.rate { border: 1px dashed var(--line); padding: .9rem; display: grid; gap: .6rem; }
.rate legend { font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 .4rem; }
.rate-stars { display: flex; gap: .4rem; flex-wrap: wrap; }
.rate-stars button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-family: "IBM Plex Mono", monospace; }
.rate-stars button[aria-pressed=true] { background: var(--yellow); color: #111; border-color: var(--yellow); font-weight: 600; }
.rate input { width: 100%; min-width: 0; padding: .6rem; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: .95rem; border-radius: 0; }
.lab-summary { margin-top: 3rem; }
.lab-summary h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
#rating-summary { padding-left: 1.4rem; }
#rating-summary li { margin: .4rem 0; overflow-wrap: anywhere; }
.concept-foot > * { min-width: 0; }
.side { display: none; }
#rating-summary .unrated { color: var(--muted); }

@media (max-width: 760px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .pair, .tally { grid-template-columns: minmax(0, 1fr); }
  .shift-head, .shift-row { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .shift-head span:nth-child(2), .shift-head span:nth-child(3) { display: none; }
  .shift-row .side { display: block; font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .shift-row .shift-time { grid-row: span 2; }
  .shift-row p:last-child { grid-column: 2; }
  .stage:not(.wide) .out { order: -1; }
  .stat-row div { padding: .5rem; }
  .stat-row strong { font-size: 1.15rem; }
  .stat-row span { font-size: .7rem; }
  .pair > div:first-child { order: 2; }
  .bar-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .shift-row, .bar-fill { transition: none; }
  .wire-block { animation: none; }
}

/* Concepts 6–15. Loaded after website-check-concepts.css, which it does not change. */
.big.plain { color: var(--fg); }
.sub-big { font-size: 1.15rem; margin: .2rem 0 1rem; }
.sub-big b { color: var(--yellow); }

/* 6 · open hours grid */
.hours { display: grid; grid-template-columns: 2.4rem repeat(24, minmax(0, 1fr)); gap: 2px; font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--muted); align-items: center; }
.hours i { display: block; height: 1.1rem; background: var(--yellow); }
.hours i.shut { background: var(--bg); border: 1px solid var(--line); }
.hours-key { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: .7rem 0 0; }
.hours-key i { display: inline-block; width: .8rem; height: .8rem; background: var(--yellow); margin-right: .35rem; vertical-align: -1px; }
.hours-key i.shut { background: var(--bg); border: 1px solid var(--line); }

/* 7 · receipt */
.receipt { border: 1px dashed var(--line); background: var(--bg); padding: 1.1rem; font-family: "IBM Plex Mono", monospace; font-size: .9rem; }
.receipt h3 { font-family: inherit; font-size: .85rem; letter-spacing: .08em; text-align: center; margin: 0 0 .8rem; }
.receipt > div > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-top: 1px dotted var(--line); }
.receipt > div > div.total { border-top: 2px solid var(--fg); font-size: 1.25rem; font-weight: 600; color: var(--yellow); padding-top: .6rem; margin-top: .3rem; }
.receipt span:last-child { text-align: right; flex: none; }

/* 8 · week strip */
.week { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; margin: 0 0 .5rem; }
.week i { display: block; height: 1.3rem; background: var(--bg); border: 1px solid var(--line); }
.week i.admin { background: var(--yellow); border-color: var(--yellow); }

/* 9 · customer and owner */
.flip { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.phone { border: 2px solid var(--line); border-radius: 1.4rem; background: var(--bg); padding: 1rem .9rem 1.2rem; min-width: 0; }
.phone-top { font-family: "IBM Plex Mono", monospace; font-size: .72rem; color: var(--muted); text-align: center; margin: 0 0 .8rem; }
.phone h3, .desk h3 { font-size: 1.05rem; margin: 0 0 .6rem; }
.phone p, .desk p { font-size: .95rem; margin: 0 0 .7rem; }
.opts { display: grid; gap: .45rem; margin-bottom: 1rem; }
.opts button, .desk-actions button { min-height: 44px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); padding: .5rem .7rem; text-align: left; font-size: .95rem; }
.opts button[aria-pressed=true] { border-color: var(--yellow); box-shadow: inset 0 -3px var(--yellow); }
.phone .send { width: 100%; min-height: 48px; background: var(--yellow); color: #111; border: 0; font-weight: 600; }
.phone .send:disabled { opacity: .45; cursor: default; }
.desk { border: 1px solid var(--line); background: var(--bg); padding: 1.1rem; min-width: 0; }
.desk.lit { border-color: var(--yellow); animation: wire-in .3s ease-out; }
.desk-label { font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.desk-card { border-left: 4px solid var(--yellow); padding: .2rem 0 .2rem .9rem; margin-bottom: 1rem; }
.desk-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.desk-actions button:first-child { background: var(--yellow); color: #111; border-color: var(--yellow); font-weight: 600; }
.ok { color: var(--yellow); font-weight: 600; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: .6rem 0; min-height: 44px; font-size: .9rem; }

/* 10 · break-even dots */
.dots { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1rem; }
.dots i { width: 2rem; height: 2rem; border-radius: 50%; background: var(--yellow); display: block; }
.dots i.free { background: transparent; border: 2px dashed var(--yellow); }
.dots-key { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }

/* 11 · steps */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.steps > div { border: 1px solid var(--line); background: var(--bg); padding: 1rem; }
.steps > div.win { border-color: var(--yellow); }
.steps h3 { font-size: 1rem; margin: 0 0 .5rem; }
.steps ol { margin: 0; padding-left: 1.3rem; }
.steps li { margin: .35rem 0; font-size: .95rem; }
.steps .hand li { color: var(--muted); }

/* 12 · stopwatch */
.clock { font-family: "IBM Plex Mono", monospace; font-size: clamp(3rem, 12vw, 5.5rem); line-height: 1; margin: .2rem 0 1rem; color: var(--yellow); font-variant-numeric: tabular-nums; }
.clock-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.todo { counter-reset: todo; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.todo li { counter-increment: todo; padding: .5rem 0 .5rem 2.4rem; position: relative; border-top: 1px solid var(--line); }
.todo li::before { content: counter(todo); position: absolute; left: 0; top: .5rem; font-family: "IBM Plex Mono", monospace; color: var(--yellow); }

/* 13 · year bars */
.years { display: flex; align-items: flex-end; gap: .5rem; height: 9rem; border-bottom: 1px solid var(--line); margin: 1rem 0 .3rem; }
.years div { flex: 1 1 0; min-width: 0; background: var(--yellow); min-height: 2px; transition: height .25s; }
.years-x { display: flex; gap: .5rem; font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--muted); }
.years-x span { flex: 1 1 0; min-width: 0; text-align: center; }

/* 14 · reply race */
.race { display: grid; gap: .9rem; margin: 0 0 1.2rem; }
.race-row span { display: block; font-size: .9rem; margin-bottom: .25rem; }
.race-row b { font-family: "IBM Plex Mono", monospace; color: var(--yellow); }
.race-track { height: 1.5rem; background: var(--bg); border: 1px solid var(--line); }
.race-track i { display: block; height: 100%; background: var(--line); width: 0; transition: width .5s; }
.race-track i.hot { background: var(--yellow); }
.bubble { border: 1px solid var(--line); background: var(--bg); border-radius: 1rem 1rem 1rem .2rem; padding: .9rem 1rem; max-width: 30rem; font-size: .95rem; }
.bubble small { display: block; font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: var(--muted); margin-bottom: .35rem; }

/* 15 · dashboard */
.dash { border: 1px solid var(--line); background: var(--bg); padding: 1rem; }
.dash-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: var(--muted); margin: 0 0 .8rem; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.dash-stats div { border: 1px solid var(--line); padding: .7rem; background: var(--panel); min-width: 0; }
.dash-stats strong { display: block; font-size: 1.5rem; line-height: 1.15; color: var(--yellow); overflow-wrap: anywhere; }
.dash-stats span { font-size: .8rem; color: var(--muted); }
.dash h3 { font-size: .95rem; margin: 1.1rem 0 .4rem; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding: .5rem 0; font-size: .92rem; }
.dash-list li.done span { color: var(--muted); text-decoration: line-through; }
.dash-list button { flex: none; min-height: 44px; border: 1px solid var(--yellow); background: transparent; color: var(--fg); padding: .3rem .7rem; font-size: .85rem; }
.dash-list button:disabled { border-color: var(--line); color: var(--muted); cursor: default; }

@media (max-width: 760px) {
  .flip, .steps { grid-template-columns: minmax(0, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours { grid-template-columns: 2rem repeat(24, minmax(0, 1fr)); gap: 1px; }
  .hours i { height: .9rem; }
  .steps > div.win { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .years div, .race-track i { transition: none; }
  .desk.lit { animation: none; }
}

/* Candidate website check. Loaded after the two concept stylesheets, which it does not change. */
.concept > div > .controls { margin-bottom: 1.2rem; }
.concept .tiles { margin: 0 0 .5rem; }
#summary-lines { padding-left: 1.2rem; }
#summary-lines li { margin: .5rem 0; overflow-wrap: anywhere; }
.report-elapsed { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: .85rem; font-variant-numeric: tabular-nums; }
.report-intro { font-size: 1.2rem; max-width: 55rem; }
.report-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.5rem 0; }
.report-metrics:empty { display: none; }
.report-metrics > div { background: var(--panel); padding: 1.2rem; min-width: 0; }
.report-metrics strong { display: block; color: var(--yellow); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.report-metrics span { display: block; font-size: 1rem; margin-top: .6rem; }
.report-metrics small { display: block; color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.report-findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.report-findings section { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.report-findings h3 { margin: 0 0 .6rem; font-size: 1.15rem; }
.report-findings p { margin: 0; color: var(--muted); font-size: 1rem; }
.report-total { container-type: inline-size; margin: 1rem 0; padding: clamp(1.2rem, 4vw, 2.5rem); background: var(--panel); border: 1px solid var(--yellow); border-top-width: 5px; }
.report-total p { max-width: none; }
.report-total-label { margin: 0 0 1.2rem; font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
.report-total .report-total-number { color: var(--yellow); font-size: min(clamp(2rem, 4vw, 3rem), 12cqi); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0; white-space: nowrap; }
.report-total-unit { font-size: clamp(1rem, 2.6vw, 1.6rem); margin: .7rem 0 1.5rem; }
.report-equation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: 1rem; }
.report-equation dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.report-total-detail { font-size: 1rem; }
.report-total .report-note, .report-basis { color: var(--muted); font-size: .85rem; }
.report-basis { margin: 1rem 0 1.5rem; }
.report-choices { border-block: 1px solid var(--line); margin: 1.5rem 0; padding: 1rem 0; }
.report-choices summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; font-size: 1rem; }
@media (max-width: 640px) {
  .report-findings { grid-template-columns: minmax(0, 1fr); }
  .report-metrics > div { padding: .9rem; }
  .report-metrics strong { font-size: clamp(1.6rem, 7vw, 2.5rem); overflow-wrap: anywhere; }
}
.usual { border: 1px solid var(--line); background: var(--bg); padding: 1rem; display: grid; gap: .5rem; }
.usual p { margin: 0; }
.usual-title { font-size: 1.15rem; font-weight: 600; }
.usual-title b { color: var(--yellow); }
.usual-detail, .usual-state { font-size: .9rem; color: var(--muted); }
.usual-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.usual-again { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.usual-repeat { min-height: 44px; padding: 0 .9rem; background: var(--bg); color: var(--fg); border: 1px solid var(--yellow); font-size: .95rem; }
.usual-repeat[aria-pressed=true] { background: var(--yellow); color: #111; font-weight: 600; }
.usual-repeat:disabled { color: var(--muted); border-color: var(--line); cursor: default; }

/* Reflow with the available text space, including a larger browser font. */
.website-check-page { overflow-wrap: anywhere; }
.concept { container-type: inline-size; }
.concept .out { container-type: inline-size; }
.concept .big { font-size: min(clamp(2.2rem, 7vw, 3.6rem), 11cqi); overflow-wrap: normal; }
.bar-val { font-size: min(.85rem, 12cqi); overflow-wrap: normal; }
.receipt { container-type: inline-size; padding: clamp(.5rem, 4vw, 1.1rem); }
.receipt span:last-child { white-space: nowrap; font-size: min(1em, 18cqi); }
[data-skin="icq"] .stat-row div { background: var(--panel); }
@container (max-width: 26rem) {
  .stat-row.sticky { position: static; }
  .bar-row { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .range-head { flex-wrap: wrap; gap: .25rem .75rem; }
  .receipt > div > div { flex-wrap: wrap; gap: .25rem 1rem; }
  .receipt span:last-child { margin-left: auto; }
  .report-equation { grid-template-columns: minmax(0, 1fr); }
  .report-equation dd { text-align: left; margin-bottom: .5rem; }
  .years-x { justify-content: space-between; }
  .years-x span { display: none; }
  .years-x span:first-child, .years-x span:last-child { display: block; flex: 0 1 auto; }
}
.desk-signin { display: grid; gap: .7rem; justify-items: start; }
.desk-tasks label { display: flex; gap: .6rem; align-items: center; min-width: 0; min-height: 44px; }
.desk-tasks input { width: 22px; height: 22px; accent-color: var(--yellow); flex: none; }
.desk-tasks span { overflow-wrap: anywhere; }
.desk-add { display: flex; gap: .5rem; margin-top: .8rem; }
.desk-add input { flex: 1 1 auto; min-width: 0; padding: .6rem; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-size: .95rem; border-radius: 0; }
.desk-add button { min-height: 44px; padding: 0 1rem; border: 1px solid var(--yellow); background: transparent; color: var(--fg); }
@media (max-width: 760px) { .desk-draft .stage .out { order: 0; } }

.tool-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .7rem; }
.tool-list li { display: flex; gap: 1rem; justify-content: space-between; align-items: center; border: 1px solid var(--line); background: var(--bg); padding: 1rem; }
.tool-list li.chosen { border-color: var(--yellow); }
.tool-list li > div { min-width: 0; }
.tool-list h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.tool-list p { margin: 0 0 .3rem; font-size: .95rem; }
.tool-list .tool-more, .tool-list .tool-for { color: var(--muted); font-size: .88rem; }
.tool-list button { flex: none; min-height: 44px; padding: 0 1rem; border: 1px solid var(--yellow); background: transparent; color: var(--fg); font-size: .95rem; }
.tool-list button[aria-pressed=true] { background: var(--yellow); color: #111; font-weight: 600; }
.tool-keep { border-left: 4px solid var(--yellow); padding: .2rem 0 .2rem 1rem; display: grid; gap: .7rem; justify-items: start; }
.tool-keep h3 { font-size: 1.2rem; margin: 0; }
@media (max-width: 760px) { .tool-list li { flex-direction: column; align-items: stretch; } }
