/* The free Rijo OS fit check (/rijo-os/fit-check/): the start and its sample, the questions, the result
   and a clean printed report. Loaded on that page only (scripts/build.mjs); public/js/fit-check.js runs it.
   Verdict colours: strong green, good orange (the accent), not yet amber. */

.fc-app[hidden], .fc-results[hidden], .fc-step[hidden], .fc-row[hidden], .fc-card[hidden], .fc-block[hidden],
.fc-smaller[hidden], .fc-send[hidden], .fc-sent[hidden], #fc-back[hidden] { display: none; }
html:not(.js) #fc-start { display: none; }

/* ---------- the start ---------- */
.fc-hero .lede { max-width: 52ch; }
.fc-tags { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fc-tags li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(255 255 255 / .03); font-size: 14px; color: #d4d4d8; }
.fc-tags .ph { font-size: 16px; color: var(--accent); }
.fc-hero .hero-ctas { margin-top: 28px; }
.fc-hero figcaption a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; white-space: nowrap; }

/* the sample result: a made-up firm, in the website check's card */
.fc-s-top { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fc-s-top > .ph { flex: none; font-size: 40px; color: #8fd18b; }
.fc-s-top[data-v="good"] > .ph { color: var(--accent); }
.fc-s-top[data-v="notyet"] > .ph { color: #ffc35a; }
.fc-s-top small, .fc-s-label { display: block; font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.fc-s-top b { display: block; margin-top: 2px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fc-s-top span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.fc-s-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fc-s-nums div { display: grid; gap: 4px; align-content: start; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fc-s-nums small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.fc-s-nums b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: clamp(16px, 1.7vw, 21px); letter-spacing: -0.02em; line-height: 1.2; }
.fc-s-nums div:last-child b { color: var(--accent); }
.fc-s-label { padding: 6px 4px 0; }
/* the sample's price of the matching modules, under its two numbers */
.fc-s-cost { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fc-s-cost small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.fc-s-cost b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: clamp(14px, 1.4vw, 17px); letter-spacing: -0.02em; line-height: 1.3; }

/* ---------- the questions ---------- */
.fc-app, .fc-results { padding-top: clamp(16px, 3vw, 40px); scroll-margin-top: calc(var(--nav-h) + 8px); }
.fc-quiz { max-width: 880px; margin: 0 auto; padding: clamp(20px, 3.2vw, 40px); border-radius: var(--r-card); background: linear-gradient(170deg, #17171c, #0e0e11); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px rgb(255 106 43 / .18), inset 0 1px 0 rgb(255 255 255 / .06); }
.fc-progress { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 32px); }
.fc-count { font-family: "Geist Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.fc-bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffb08a); transform-origin: left; transform: scaleX(var(--p, .14)); transition: transform .5s var(--ease-out); }
.fc-q { max-width: 26ch; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; outline: none; }
.fc-hint { margin-top: 10px; max-width: 62ch; color: var(--muted); }
.fc-group { margin-top: 24px; }
.fc-label { font-size: 14px; font-weight: 500; color: #d4d4d8; }

.fc-opts { display: grid; gap: 10px; margin-top: 20px; }
.fc-group .fc-opts { margin-top: 10px; }
.fc-opts.is-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fc-opts.is-chips { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.fc-opts.is-list { grid-template-columns: 1fr 1fr; }

/* each choice is a native radio or checkbox laid over its label, so taps, Tab and the arrow keys all work */
.fc-opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.fc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fc-opt > span { display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: #0e0e11; border: 1px solid #3a3a42; color: #d4d4d8; font-size: 15px; line-height: 1.3; text-align: center; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.fc-opt:hover > span { border-color: rgb(255 255 255 / .32); color: var(--text); }
.fc-opt input:checked + span { border-color: var(--accent); background: rgb(255 106 43 / .12); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.fc-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-missing .fc-opt > span { border-color: rgb(255 138 101 / .75); }

.fc-opt.is-card > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: start; justify-content: stretch; column-gap: 12px; row-gap: 3px; padding: 16px; text-align: left; }
.fc-opt.is-card .ph { grid-row: span 2; margin-top: 1px; font-size: 24px; color: var(--accent); }
.fc-opt.is-card b { font-size: 16px; font-weight: 600; color: var(--text); }
.fc-opt.is-card small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.fc-opt.is-unsure > span { flex-direction: column; gap: 2px; }
.fc-opt.is-unsure small { font-size: 12px; color: var(--dim); }
.fc-quiz[data-cur="GBP"] .fc-cur[data-c="AED"], .fc-quiz[data-cur="AED"] .fc-cur[data-c="GBP"] { display: none; }

/* lists: one choice per line, with a radio dot or a tick box */
.fc-opts.is-list .fc-opt > span { justify-content: flex-start; padding: 12px 16px; text-align: left; }
.fc-opts.is-list .fc-opt > span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 99px; border: 2px solid #52525b; transition: border-color .2s, background-color .2s; }
.fc-opts.is-list .fc-opt input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #1a0f0a; }
.fc-opt.is-check > span::before { border-radius: 5px; }
.fc-opts.is-list .fc-opt.is-check input:checked + span::before { box-shadow: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231a0b03' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* hours a week: one row per task, five answers in a line */
.fc-rows { display: grid; gap: 10px; margin-top: 22px; }
.fc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 20px; align-items: center; padding: 14px 14px 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.fc-row-label { display: grid; gap: 2px; }
.fc-row-label b { font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.fc-row-label small { font-size: 13px; line-height: 1.4; color: var(--dim); }
.fc-seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.fc-seg .fc-opt > span { min-height: 44px; padding: 6px 4px; border-radius: 10px; font-size: 13.5px; }

.fc-err { margin-top: 18px; font-size: 14.5px; color: #ff8a65; }
.fc-err:empty { display: none; }
.fc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
#fc-next { margin-left: auto; }
#fc-back:hover .ph { transform: translateX(-3px); }

/* ---------- the result ---------- */
.fc-print-head, .fc-print-link { display: none; }
.fc-rhead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 28px; }
.fc-rhead .eyebrow { margin-bottom: 12px; }
#fc-r-title { --v: var(--accent); display: flex; align-items: center; gap: 14px; max-width: none; font-size: clamp(2.2rem, 5vw, 3.6rem); outline: none; }
#fc-r-title[data-v="strong"] { --v: #8fd18b; }
#fc-r-title[data-v="notyet"] { --v: #ffc35a; }
#fc-r-title .ph { font-size: .8em; color: var(--v); }
.fc-meta { margin-top: 12px; color: var(--muted); }
.fc-rbtns { display: flex; flex-wrap: wrap; gap: 10px; }

.fc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.fc-panel { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-card); background: linear-gradient(170deg, #17171c, #0e0e11); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.fc-panel h3 { font-size: 1.15rem; }
.fc-vline { margin-top: 10px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.45; letter-spacing: -0.01em; }
.fc-reasons { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.fc-reasons li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.55; color: #c9c9cf; }
.fc-reasons .ph { margin-top: 4px; color: var(--accent); }

.fc-nums { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px; }
.fc-num { display: grid; gap: 4px; align-content: start; min-width: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fc-num small { font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.fc-num b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.15; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.fc-num:last-child b { color: var(--accent); }
.fc-num span { font-size: 13.5px; color: var(--muted); }
/* beside the estimate: the published price of the modules that match */
.fc-cost { display: grid; gap: 4px; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(160deg, #261309 0%, var(--surface) 70%); border: 1px solid rgb(255 106 43 / .28); }
.fc-cost small { font-family: "Geist Mono", monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fc-cost > b { font-family: "Geist Mono", monospace; font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.25; letter-spacing: -0.02em; }
.fc-cost > span { font-size: 13.5px; color: var(--muted); }
.fc-cost-start { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: #c9c9cf; }
.fc-note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
.fc-how-h { margin-top: 22px; }
.fc-how { display: grid; gap: 6px; margin: 10px 0 0; padding: 0 0 0 20px; font-size: 14.5px; line-height: 1.5; color: #c9c9cf; }
.fc-how li::marker { font: 12px "Geist Mono", monospace; color: var(--dim); }
.fc-how-sum { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; }
.fc-how-sum + .fc-how-sum { margin-top: 6px; padding-top: 0; border-top: 0; }

.fc-block, .fc-smaller { margin-top: clamp(40px, 5vw, 64px); }
.fc-block > h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; }
.fc-sub { margin-top: 8px; max-width: 72ch; font-size: 15px; color: var(--muted); }
/* the modules, one row per answer: the answer on the left, what takes it on beside it (like the industry pages) */
.fc-matches { display: grid; gap: 10px; margin-top: 20px; }
.fc-match { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 14px 28px; align-items: start; padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.fc-match:first-child { border-color: rgb(255 106 43 / .4); background: linear-gradient(110deg, rgb(255 106 43 / .08), var(--surface) 55%); }
.fc-match-now { display: grid; gap: 4px; }
.fc-match-now small { font: 500 11px "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.fc-match-now b { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.fc-match-now span { font-size: 14px; color: var(--accent); }
.fc-match-mods { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; padding: 0; }
.fc-match-mods li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-content: start; }
.fc-match-mods .ph { grid-row: span 2; margin-top: 2px; font-size: 20px; color: var(--accent); }
.fc-match-mods b { font-size: 15px; font-weight: 600; }
.fc-match-mods span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.fc-also { margin-top: 10px; font-size: 13.5px; color: var(--dim); }
.fc-match-mods + .fc-also { margin-top: 12px; }
.fc-match-fix > .fc-also:first-child { margin-top: 0; }
.fc-tag { margin-left: 4px; font: 500 10.5px "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); white-space: nowrap; }

.fc-tools { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.fc-tools li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 8px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.fc-tools .ph { grid-row: span 2; margin-top: 2px; font-size: 20px; color: var(--accent); }
.fc-tools b { font-size: 15.5px; font-weight: 600; }
.fc-tools span { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-style: normal; color: #d4d4d8; }
.fc-tools + .fc-sub { margin-top: 14px; }

.fc-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.fc-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(20px, 2.4vw, 26px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.fc-card > .ph { font-size: 26px; color: var(--accent); }
.fc-card h4 { margin: 4px 0 0; font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.fc-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.fc-card-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.fc-card.is-accent { background: linear-gradient(160deg, #261309 0%, var(--surface) 70%); border-color: rgb(255 106 43 / .3); }
.fc-send { display: grid; gap: 12px; }
.fc-send .field input { padding: 11px 13px; }
.fc-preview summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.fc-preview summary:hover { color: var(--text); }
.fc-preview pre { max-height: 260px; overflow: auto; margin: 10px 0 0; padding: 12px; border-radius: 12px; background: #0e0e11; border: 1px solid var(--line); font: 12.5px/1.5 "Geist Mono", monospace; color: #c9c9cf; white-space: pre-wrap; overflow-wrap: anywhere; }
.fc-send-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fc-send-foot small { font-size: 13px; color: var(--dim); }
.fc-send-foot small a { color: var(--muted); }
.fc-sent { display: grid; gap: 8px; outline: none; }
.fc-sent .ph { font-size: 32px; color: var(--accent); }
.fc-sent p { color: var(--muted); }
.fc-sent b { color: var(--text); font-weight: 600; }
.fc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.fc-copied { font-size: 14px; color: #8fd18b; }
.fc-honest { margin-top: 28px; }

@media (max-width: 1080px) { .fc-next { grid-template-columns: 1fr 1fr; } .fc-send-card { grid-column: 1 / -1; } }
@media (max-width: 960px) { .fc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .fc-row { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .fc-opts.is-list, .fc-tools { grid-template-columns: minmax(0, 1fr); }
  .fc-match { grid-template-columns: minmax(0, 1fr); padding: 16px; }
}
@media (max-width: 560px) { .fc-match-mods { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .fc-next { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .fc-opts.is-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-seg { gap: 5px; }
  .fc-seg .fc-opt > span { padding: 6px 2px; font-size: 12.5px; }
  .fc-nums, .fc-s-nums { grid-template-columns: minmax(0, 1fr); }
  .fc-nav .btn { flex: 1; justify-content: center; padding: 0 16px; }
  .fc-rbtns, .fc-actions { width: 100%; }
  .fc-rbtns .btn, .fc-actions .btn { flex: 1 1 auto; justify-content: center; }
}
/* Natalie's button steps aside while Next or Send is on screen (public/js/fit-check.js) */
@media (max-width: 960px) { .nat-launch.fc-tucked { opacity: 0; transform: translateY(20px); pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .fc-bar i, .fc-opt > span { transition: none; } }

/* ---------- Save as PDF: the result alone, dark on white, in one or two A4 pages ----------
   html.fc-done is set while a result is on screen; printing at any other time prints the page as usual. */
@media print {
  @page { size: A4; margin: 13mm 13mm 15mm; }
  html.fc-done { --bg: #fff; --bg-2: #fff; --surface: #fff; --surface-2: #f4f4f5; --line: #d4d4d8; --line-2: #c4c4cc; --text: #18181b; --muted: #3f3f46; --dim: #52525b; --accent: #c2410c; }
  html.fc-done body { background: #fff; color: var(--text); font-size: 10pt; line-height: 1.45; }
  html.fc-done body::after { display: none; }
  html.fc-done :is(.skip, .nav, .site-footer, .nat-launch, .nat, .fc-rbtns, .fc-actions, .fc-send-card, .fc-card-btns, .fc-smaller .btn),
  html.fc-done main > section:not(.fc-results) { display: none !important; }
  html.fc-done .wrap { max-width: none; padding: 0; }
  html.fc-done .fc-results { padding: 0; }
  html.fc-done .fc-print-head { display: block; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); font-size: 9pt; color: var(--muted); }
  html.fc-done .fc-print-head b { color: var(--text); }
  html.fc-done .fc-print-link { display: block; margin-top: 6px; font-size: 8.5pt; color: var(--dim); overflow-wrap: anywhere; }
  html.fc-done .fc-rhead { margin-bottom: 12px; }
  html.fc-done .fc-rhead .eyebrow { margin-bottom: 4px; font-size: 8pt; }
  html.fc-done #fc-r-title { font-size: 24pt; }
  html.fc-done #fc-r-title[data-v="strong"] { --v: #15803d; }
  html.fc-done #fc-r-title[data-v="notyet"] { --v: #b45309; }
  html.fc-done .fc-meta { margin-top: 4px; }
  html.fc-done :is(.fc-panel, .fc-num, .fc-cost, .fc-tools li, .fc-card, .fc-note, .fc-smaller) { background: #fff !important; box-shadow: none !important; border: 1px solid var(--line) !important; break-inside: avoid; }
  html.fc-done .fc-panel { padding: 10px 14px; }
  html.fc-done .fc-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html.fc-done :is(.fc-reasons li, .fc-how, .fc-how-sum, .fc-vline, .fc-note) { font-size: 9pt; line-height: 1.4; color: var(--text); }
  html.fc-done .fc-vline { margin-top: 2px; }
  html.fc-done .fc-reasons { margin-top: 6px; gap: 3px; }
  html.fc-done .fc-reasons .ph { margin-top: 2px; }
  html.fc-done .fc-panel h3 { font-size: 11pt; }
  html.fc-done .fc-nums { grid-template-columns: 1fr 1fr; gap: 8px; }
  html.fc-done .fc-num { padding: 8px 12px; gap: 2px; }
  html.fc-done .fc-num b { font-size: 14pt; }
  html.fc-done .fc-num small { font-size: 7pt; }
  html.fc-done .fc-num span { font-size: 8.5pt; }
  html.fc-done .fc-note { margin-top: 6px; padding: 6px 10px; }
  html.fc-done .fc-how-h { margin-top: 10px; }
  html.fc-done .fc-how { margin-top: 4px; gap: 1px; }
  html.fc-done .fc-how-sum { margin-top: 5px; padding-top: 5px; }
  html.fc-done .fc-how-sum + .fc-how-sum { margin-top: 2px; }
  html.fc-done .fc-block, html.fc-done .fc-smaller { margin-top: 14px; }
  html.fc-done .fc-block > h3 { font-size: 13pt; break-after: avoid; }
  html.fc-done .fc-sub { margin-top: 2px; font-size: 8.5pt; }
  html.fc-done .fc-matches { gap: 5px; margin-top: 8px; }
  html.fc-done .fc-match { grid-template-columns: minmax(0, .75fr) minmax(0, 1.9fr); gap: 4px 16px; padding: 7px 12px; background: #fff !important; border: 1px solid var(--line) !important; break-inside: avoid; }
  html.fc-done .fc-match-now { gap: 1px; }
  html.fc-done .fc-match-mods span { line-height: 1.35; }
  html.fc-done .fc-match-now b { font-size: 10pt; }
  html.fc-done .fc-match-now span { font-size: 8.5pt; }
  html.fc-done .fc-match-now small { font-size: 7pt; }
  html.fc-done .fc-match-mods { gap: 6px 14px; }
  html.fc-done .fc-match-mods .ph { font-size: 13pt; }
  html.fc-done .fc-match-mods b { font-size: 9.5pt; }
  html.fc-done .fc-match-mods span, html.fc-done .fc-also { font-size: 8.5pt; }
  html.fc-done .fc-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
  html.fc-done .fc-tools li { row-gap: 3px; padding: 7px 10px; }
  html.fc-done .fc-tools b { font-size: 9.5pt; }
  html.fc-done .fc-tools .ph { font-size: 12pt; }
  html.fc-done .fc-tools + .fc-sub { margin-top: 6px; }
  html.fc-done .fc-chip { min-height: 0; padding: 0 8px; font-size: 8pt; color: var(--text); }
  html.fc-done .fc-smaller { padding: 12px 14px; }
  html.fc-done .fc-smaller p { font-size: 10pt; }
  html.fc-done .fc-next { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  html.fc-done .fc-card { padding: 12px 14px; gap: 4px; }
  html.fc-done .fc-card > .ph { display: none; }
  html.fc-done .fc-card h4 { font-size: 11pt; }
  html.fc-done .fc-card p { font-size: 9pt; color: var(--muted); }
  html.fc-done .fc-honest { margin-top: 14px; font-size: 9pt; color: var(--muted); }
}

/* the result shows prices (the AI audit fee) in the result's own currency, whatever the site picker says */
.fc-results[data-cur="GBP"] .px > .c-gbp, .fc-results[data-cur="AED"] .px > .c-aed { display: inline; }
.fc-results[data-cur] .px > .c-usd, .fc-results[data-cur="GBP"] .px > .c-aed, .fc-results[data-cur="AED"] .px > .c-gbp { display: none; }
