/* Base and state rules. Everything else (the layout of each block) lives in the design's own inline styles,
 * which scripts/lib_style.py hoists into /assets/css/page.css at build time. */
:root{--c1:#ffc978;--c2:#dcb8e3;--c3:#bfe6cd;--rL:20px;--rM:16px;--rS:12px;--rP:999px;--maxW:1760px;--ink:#000;--acc:#5a36c9}
/* The design's three tweaks, kept as switches: palette (Sorbet default), shape (Soft default), width (Full default). */
html[data-palette=mineral]{--c1:#bcd3ec;--c2:#e6d6b8;--c3:#c4dbc9}
html[data-palette=paper]{--c1:#ececec;--c2:#e3e3e3;--c3:#efefef}
html[data-shape=sharp]{--rL:0px;--rM:0px;--rS:0px;--rP:2px}
html[data-shape=pebble]{--rL:32px;--rM:24px;--rS:16px;--rP:999px}
html[data-width=contained]{--maxW:1240px}
html{-webkit-text-size-adjust:100%}
nav::-webkit-scrollbar{display:none}
body{margin:0;background:#fff;color:#000;-webkit-font-smoothing:antialiased}
a:not(.nl){color:#5a36c9}
a:not(.nl):hover{color:#3d2096}
a:not(.nl){text-decoration:underline;text-decoration-color:rgba(90,54,201,.45);text-underline-offset:3px}
a:not(.nl):hover{text-decoration-color:currentColor}
p a.nl,li a.nl,dd a.nl,td a.nl,span>a.nl{text-decoration:underline;text-decoration-color:rgba(0,0,0,.35);text-underline-offset:3px}
:where(a.nl){color:inherit;text-decoration:none}
*{box-sizing:border-box}
input{font:inherit}
button{font:inherit;color:inherit}
.nl{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:2px solid #5a36c9;outline-offset:2px}

/* Edition: html[data-country] drives every AU/CA switch, set before paint by /assets/js/boot.js. */
.loc{background:transparent;color:#000}
.loc .loc-name{max-width:0;opacity:0}
html[data-country=au] .loc[data-c=au],html[data-country=ca] .loc[data-c=ca]{background:#000;color:#fff}
html[data-country=au] .loc[data-c=au] .loc-name,html[data-country=ca] .loc[data-c=ca] .loc-name{max-width:min(140px,24vw);opacity:1}
html[data-country=au] .result{background:var(--c1)}
html[data-country=ca] .result{background:var(--c2)}
.ed-panel,.ed-scrim{display:none}
.ed.open .ed-panel,.ed.open .ed-scrim{display:block}
.ed.open .ed-more{background:#f4f4f4;color:#000}
.ed.open .ed-caret{transform:rotate(180deg)}
.ed-row[data-live="0"]{cursor:default;opacity:.5}
.ed-row .ed-status{color:#9c9c9c}
.ed-row[data-live="1"] .ed-status{color:#0a6b35}
.ed-row.cur{background:#f4f4f4}
.ed-row.cur .ed-status{color:#000}
.ed-row.nomatch{display:none}
[data-only]{display:none}
html[data-country=au] [data-only=au],html[data-country=ca] [data-only=ca]{display:revert}
html[data-country=au] .prog-list[data-only=au],html[data-country=ca] .prog-list[data-only=ca]{display:flex}
html[data-country=au] .test-list[data-only=au],html[data-country=ca] .test-list[data-only=ca]{display:grid}
.hubi:last-child{border-bottom:0!important}

/* Selected states for the design's pills, rows and tabs. */
.pill{background:#fff;color:#000;border-color:#d6d6d6}
.pill.on{background:#000;color:#fff;border-color:#000}
.prow{background:#fff;color:#000}
.prow.on{background:#000;color:#fff}
.tabs .tab{background:transparent;color:#000}
.tabs .tab.on{background:#000;color:#fff}
.nav-i.on{color:#000;box-shadow:inset 0 -2px 0 #000}
.tcard{border:1px solid #e4e4e4}
.tcard.on{border:2px solid #000}
.faq-a{display:none}
.faq-i.open .faq-a{display:block}
html:not(.js) .faq-a{display:block}
.faq-i .faq-plus::before{content:"+"}
.faq-i.open .faq-plus::before{content:"\2212"}
html:not(.js) .faq-plus{display:none}
.meets{color:#08582a}.short{color:#a8231b}
.row-short{background:#fff8f6}
.bar-ok{background:#000}.bar-short{background:#e0573a}
.verdict-ok{background:#cdeed8}.verdict-short{background:#ffd9cf}
.sw-pending{display:none}
/* Tables from official sources scroll sideways inside their card rather than breaking the page. */
.tbl{border-collapse:collapse}
.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:560px;background:#000;color:#fff;border-radius:var(--rM);padding:16px 18px;font-size:14px;line-height:1.5;box-shadow:0 12px 40px rgba(0,0,0,.28)}
.consent button{cursor:pointer;height:40px;padding:0 16px;border-radius:var(--rP);font-weight:500;font-size:14px;border:1px solid #fff;background:transparent;color:#fff}
.consent button[data-consent=granted]{background:#fff;color:#000}
.consent a{color:#fff;text-decoration:underline}
