/* Cookie choices panel and the two policy pages. Brand kit tokens only. */
.cc{position:fixed;left:0;right:0;bottom:0;z-index:80;padding:12px;pointer-events:none}
.cc-box{pointer-events:auto;max-width:760px;margin:0 auto;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:var(--r-card);box-shadow:var(--shadow);padding:18px 20px;max-height:calc(100dvh - 24px);overflow:auto}
.cc-h{font:700 1.15rem/1.2 var(--display);margin:0 0 6px}
.cc-h:focus{outline:none}
.cc p{margin:0 0 12px;font-size:.92rem;line-height:1.5}
.cc-acts{display:flex;flex-wrap:wrap;gap:10px}
.cc-acts .btn{min-height:44px;flex:1 1 150px}
.cc .check{margin:0 0 12px}
.cc .check label{display:block}
.cc-sub{display:block;font-size:.85rem;color:var(--text-2);line-height:1.45;font-weight:400}
p.cc-sub{margin-bottom:14px}
@media(min-width:640px){.cc{padding:20px}.cc-acts .btn{flex:0 1 auto}}
@media print{.cc{display:none!important}}
.link-btn{background:none;border:0;padding:0;font:inherit;color:var(--rust);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.link-btn:hover{color:var(--ink)}
.site-footer .link-btn{color:var(--cream)}
.site-footer .link-btn:hover{color:var(--amber)}
.footer-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.footer-credit{margin:14px 0 0;font-size:.82rem}

/* policy pages */
.legal{padding:40px 0 72px}
.legal h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:.3em}
.legal h2{font-size:clamp(1.3rem,3vw,1.6rem);margin:2em 0 .5em;scroll-margin-top:90px}
.legal h3{font-size:1.1rem;margin:1.6em 0 .4em;scroll-margin-top:90px}
.legal p,.legal li{max-width:70ch}
.legal ul{padding-left:22px;margin:0 0 1em}
.legal li{margin-bottom:.4em}
.legal-dates,.legal-contact{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-card);padding:14px 18px;display:inline-block}
.legal-toc{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-card);padding:18px 20px;margin:22px 0 8px}
.legal-toc h2{font:600 .75rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--text-2);margin:0 0 12px}
.legal-toc ol{margin:0;padding-left:22px;columns:2 240px;column-gap:32px}
.legal-toc li{margin-bottom:6px;break-inside:avoid}
.legal .tbl-wrap{overflow:auto;margin:0 0 1em}    /* both directions: brand.css sets overflow hidden, which would cut text at the bottom */
.legal table{min-width:480px}
.legal th[scope=row]{font:600 .92rem/1.4 var(--body);letter-spacing:0;text-transform:none;color:var(--ink);background:var(--surface);vertical-align:top;border-bottom:1px solid var(--border);padding:12px 14px;min-width:150px}
.legal td{vertical-align:top}
.legal-foot{margin-top:2.4em;padding-top:1.2em;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px 22px}

/* footer column headings (the footer is shared by the public pages) */
.footer-grid .footer-h{font:600 .75rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--amber);margin:0 0 12px}

/* No bullets or numbers that a person sees on the public pages and the form. The two policy pages keep the owner's own lists. */
:where(main:not(.legal)) :where(ul,ol){list-style:none;padding-left:0}
:where(main:not(.legal)) :where(ul,ol):not([class]) > li{margin-bottom:.45em}
/* The registration progress names its steps, with no numerals, at every width */
.steps li span{display:inline}
@media(max-width:559px){.steps{gap:6px}.steps li{font:600 .75rem/1.3 var(--body);letter-spacing:0;text-transform:none;overflow-wrap:anywhere}}

/* Tap targets under 768 wide: at least 38 by 38 (footer links and Cookie Choices, the policy contents, single checkboxes on the form). */
@media(max-width:767px){
  .footer-legal a,.footer-legal .link-btn{display:inline-flex;align-items:center;min-height:38px}
  .legal-toc li a{display:inline-flex;align-items:center;min-height:38px}
  .check > label{padding:7px 0;min-height:38px}
  .check > input{margin-top:9px}
}
/* The owner's rule of 2026-11-13: no mark in front of a label or a status, and no dashed line anywhere. The brand kit draws a small
   dot before an eyebrow label and inside a status pill, and dashes three borders. The kit file is not edited, so they are switched
   off here, in the stylesheet every page loads after it. */
.eyebrow::before,.pill::before,.ticks li::before{content:none}
.ticks li{padding-left:0}
.tbc,.ref{border-style:solid}
.session .out{border-top-style:solid}
/* The closing row of a policy page: its link and its button are as easy to tap as the footer's. */
@media(max-width:767px){.legal-foot a,.legal-foot .link-btn{display:inline-flex;align-items:center;min-height:38px}}
/* The footer on a phone, on the pages that do not load the program page's stylesheet: each link in the two columns is a full 38 px row. */
@media(max-width:767px){.footer-grid ul{gap:0}.footer-grid li > a{display:inline-flex;align-items:center;min-height:38px}.footer-grid .footer-addr{padding:7px 0}}
/* A field keeps its label and box at the top when the field beside it is taller (it carries a hint or an error). */
.field{align-content:start}
/* Phones: the form buttons and the done buttons take the full width, one under the other, in reading order. */
@media(max-width:479px){.form-nav{flex-direction:column}.form-nav .btn{width:100%}.form-nav > span{display:none}#r-done .btn-row .btn{width:100%}}
/* With the shorter second name the progress row can be a little larger from 360 wide. */
@media(min-width:360px) and (max-width:559px){.steps li{font-size:.75rem}}
/* Readable on a phone: nothing a person reads is smaller than 12 px. The kit sets its small labels at 11 to 11.5 px; they are
   raised here, in the stylesheet loaded after it. */
.pill,th,.batch dt,.steps li,.footer-grid h4,.session .out b{font-size:.75rem}
table.stack td[data-l]::before{font-size:.75rem}
/* On a phone the cookie panel takes less of the first screen: Accept and Reject share a row, equal in size, and the third
   choice sits under them. */
@media(max-width:639px){.cc-box{padding:14px 16px}.cc p{margin-bottom:10px}.cc-acts{gap:8px}.cc-acts [data-cc="accept"],.cc-acts [data-cc="reject"]{flex:1 1 calc(50% - 4px);padding-inline:10px}.cc-acts [data-cc="manage"]{flex-basis:100%}}
