/* apps/web/public/consent.css — the cookie question (consent.js): a strip along the bottom and the choices panel, on
   /, /privacy/, /terms/ and /help/. Self-contained like footer.css: its own tokens (site.css's night values), scoped to
   .tc, and every rule two classes deep, so it reads the same on the homepage's night and on the light pages, and
   neither page's element rules (legal.css's bare `h2`) reach it. Fonts: Barlow from /theme/tokens.css. */
.tc{
  --tc-night:#061013;--tc-deep:#0E242A;--tc-ink:#E6EEED;--tc-ink-2:#A9BCBD;--tc-accent:#4CC3D3;--tc-accent-hi:#78D6E2;
  --tc-clear:#3CCB7C;--tc-off:#42545B;--tc-line:rgba(230,238,237,.14);--tc-line-2:rgba(230,238,237,.28);
  --tc-ui:'Barlow','Helvetica Neue',Arial,sans-serif;
  box-sizing:border-box;position:fixed;z-index:70;background:var(--tc-deep);color:var(--tc-ink);
  font:400 15px/1.5 var(--tc-ui);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:left;
}
.tc *,.tc *::before,.tc *::after{box-sizing:border-box}
.tc[hidden]{display:none}
/* the page keeps room at its foot while the strip shows (consent.js measures it), so no words sit under it */
html.tc-asking body{padding-bottom:var(--tc-room,0px)}

.tc.tc-strip{left:0;right:0;bottom:0;border-top:1px solid var(--tc-line);padding-bottom:env(safe-area-inset-bottom,0px)}
.tc .tc-in{max-width:1296px;margin-inline:auto;padding:14px max(16px,env(safe-area-inset-right,0px)) 14px max(16px,env(safe-area-inset-left,0px));display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
@media (min-width:720px){.tc .tc-in{padding-inline:32px}}
@media (min-width:1100px){.tc .tc-in{padding-inline:48px}}
.tc .tc-q{margin:0;flex:1 1 300px;font-size:15px;line-height:1.5;color:var(--tc-ink);text-wrap:pretty}
.tc .tc-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
/* "No thanks" and "Allow" (and "No thanks" and "Save"): two equal columns, the same size and the same weight */
.tc .tc-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
/* on a phone the actions take their own full line, and the pair shares it evenly */
@media (max-width:719px){.tc.tc-strip .tc-acts{flex:1 1 100%}.tc.tc-strip .tc-pair{flex:1 1 232px}}
.tc .tc-btn{min-width:112px;height:44px;padding:0 16px;border:1px solid var(--tc-accent);border-radius:0;background:transparent;color:var(--tc-ink);font:600 15px/1 var(--tc-ui);letter-spacing:.01em;white-space:nowrap;cursor:pointer}
.tc .tc-btn:hover{border-color:var(--tc-accent-hi);background:rgba(76,195,211,.1)}
.tc .tc-btn.tc-fill{background:var(--tc-accent);color:var(--tc-night)}
.tc .tc-btn.tc-fill:hover{background:var(--tc-accent-hi)}
.tc .tc-ln{display:inline;padding:0;border:0;background:none;color:var(--tc-ink-2);font:inherit;font-size:14px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.tc .tc-ln:hover{color:var(--tc-ink);text-decoration-thickness:2px}
.tc :focus-visible{outline:2px solid var(--tc-accent);outline-offset:3px}

.tc.tc-panel{right:max(16px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:18px 20px;border:1px solid var(--tc-line-2);box-shadow:0 18px 48px rgba(0,0,0,.45)}
.tc .tc-h{margin:0 0 6px;font:600 18px/1.3 var(--tc-ui);letter-spacing:0;color:var(--tc-ink)}
.tc .tc-h:focus{outline:none}
.tc .tc-h:focus-visible{outline:2px solid var(--tc-accent);outline-offset:3px}
.tc .tc-item{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--tc-line)}
.tc .tc-name{margin:0;font-weight:600;font-size:15px;color:var(--tc-ink)}
.tc .tc-say{margin:2px 0 0;font-size:13.5px;line-height:1.45;color:var(--tc-ink-2)}
.tc .tc-tog{flex:none;position:relative;width:42px;height:24px;margin-top:2px;padding:0;border:1px solid transparent;border-radius:12px;background:var(--tc-off);cursor:pointer}
.tc .tc-tog::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--tc-ink)}
.tc .tc-tog[aria-checked="true"]{background:var(--tc-clear)}
.tc .tc-tog[aria-checked="true"]::after{left:21px}
.tc .tc-tog[aria-disabled="true"]{opacity:.55;cursor:default}
@media (prefers-reduced-motion:no-preference){.tc .tc-tog,.tc .tc-tog::after{transition:background-color .2s,left .2s}}
.tc.tc-panel .tc-acts{justify-content:flex-end;margin-top:12px}
@media (forced-colors:active){.tc .tc-tog{border-color:CanvasText}.tc .tc-tog[aria-checked="true"]::after{background:Highlight}}
@media print{.tc{display:none!important}}
