/* Layout: search-first home with grouped lists; each tool is a workbench, with inputs beside a sticky dark "readout" panel. */
:root {
  --bg: #f3f6fc;
  --surface: #ffffff;
  --sunken: #e7edf8;
  --ink: #021430;
  --muted: #4f5f7d;
  --line: #d3dcec;
  --accent: #0b63e5;
  --on-accent: #ffffff;
  --cta: linear-gradient(100deg, #0b63e5, #7321f3);
  --on-cta: #ffffff;
  --panel: #021430;
  --panel-ink: #eaf2ff;
  --panel-muted: #a8bcdc;
  --panel-line: #24406e;
  --readout: #33c9ff;
  --danger: #c0271a;
  --success: #0a7a55;
  --paper: #ffffff;
  --paper-muted: #4f5f7d;
  --c1: #0b63e5;
  --c2: #7321f3;
  --c3: #01a6e6;
  --c4: #d946c9;
  --display: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070f20; --surface: #0f1a30; --sunken: #18263f; --ink: #e8effc; --muted: #9db0cf; --line: #27375a;
    --accent: #4da3ff; --on-accent: #03122b; --panel: #0e2350; --panel-ink: #eaf2ff; --panel-muted: #a8bcdc; --panel-line: #2c4a80;
    --readout: #4fd4ff; --danger: #ff8f7d; --success: #4fd6a6; --c1: #4da3ff; --c2: #a078ff; --c3: #33c9ff; --c4: #ee7be0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070f20; --surface: #0f1a30; --sunken: #18263f; --ink: #e8effc; --muted: #9db0cf; --line: #27375a;
  --accent: #4da3ff; --on-accent: #03122b; --panel: #0e2350; --panel-ink: #eaf2ff; --panel-muted: #a8bcdc; --panel-line: #2c4a80;
  --readout: #4fd4ff; --danger: #ff8f7d; --success: #4fd6a6; --c1: #4da3ff; --c2: #a078ff; --c3: #33c9ff; --c4: #ee7be0; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.panel :focus-visible { outline-color: var(--readout); }
@media (prefers-reduced-motion: no-preference) {
  .bar span, .scale-mark { transition: flex-grow .2s ease, left .2s ease; }
}

.shell {
  max-width: 72rem; margin: 0 auto; width: 100%;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 2.5rem; width: auto; max-width: 100%; }
.brand .logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-on-dark { display: block; }
}
:root[data-theme="dark"] .brand .logo-on-light { display: none; }
:root[data-theme="dark"] .brand .logo-on-dark { display: block; }
.top-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.currency { height: 2.4rem; max-width: 5.6rem; padding: 0 .35rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; font: 400 .85rem var(--mono); cursor: pointer; }
.currency:hover { border-color: var(--accent); }
.theme-toggle { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 1.2rem; height: 1.2rem; display: block; }
.open-search { display: flex; align-items: center; gap: .9rem; padding: .4rem .6rem .4rem .8rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); cursor: pointer; min-height: 2.4rem; }
.open-search:hover { border-color: var(--accent); color: var(--ink); }
kbd { font: 400 .72rem var(--mono); border: 1px solid var(--line); border-radius: 3px; padding: .05rem .3rem; background: var(--surface); }
@media (max-width: 480px) {
  .open-search kbd, .open-search-more { display: none; }
  .open-search { padding-inline: .6rem; }
  .top .shell { gap: .5rem; }
  .top-actions { gap: .35rem; }
  .brand img { height: 2rem; }
  .currency { max-width: 4.2rem; padding-inline: .15rem; font-size: .78rem; }
}
@media (max-width: 360px) { .brand img { height: 1.6rem; } .open-search { padding-inline: .45rem; font-size: .85rem; } .currency { max-width: 3.6rem; } .theme-toggle { width: 2.2rem; } }

/* Home */
.hero { padding-block: 3rem 2rem; display: grid; gap: 1.1rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.025em; max-width: 18ch; }
.search-box { display: flex; align-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: 8px; max-width: 42rem; }
.search-box:focus-within { border-color: var(--accent); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; padding: .85rem 1rem; font-size: 1.15rem; outline: none; }
.hint { color: var(--muted); font-size: .95rem; }
.answer { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; background: var(--panel); color: var(--panel-ink); padding: .8rem 1rem; border-radius: 8px; max-width: 42rem; }
.answer b { font: 500 1.5rem var(--mono); color: var(--readout); overflow-wrap: anywhere; min-width: 0; }
.answer a { color: var(--panel-ink); margin-left: auto; font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: .35rem .8rem; border-radius: 99px; cursor: pointer; min-height: 2.25rem; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2.25rem 3rem; padding-block: 1.25rem 3.5rem; align-items: start; }
.group { min-width: 0; }
.group h2 { font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.group h2 i { font: 500 .9rem var(--mono); font-style: normal; color: var(--accent); }
.group h2 small { margin-left: auto; font: 400 .78rem var(--mono); color: var(--muted); }
.tools { list-style: none; margin: 0; padding: 0; }
.tools a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.tools a:hover b { color: var(--accent); text-decoration: underline; }
.tools b { display: block; font-weight: 600; }
.tools span { color: var(--muted); font-size: .92rem; }
.empty { color: var(--muted); padding-block: 1rem 3rem; }

/* Tool page */
.tool { padding-block: 1.5rem 3.5rem; display: grid; gap: 1.5rem; }
.tool > * { min-width: 0; }
.crumb { font-size: .9rem; color: var(--muted); }
.tool-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .6rem 1rem; }
.tool-head > div { display: grid; gap: .3rem; min-width: 0; flex: 1 1 18rem; }
.tool-head h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); letter-spacing: -.02em; outline: none; }
.tool-head p { color: var(--muted); }
.ghost { background: none; border: 1px solid var(--line); border-radius: 6px; padding: .35rem .75rem; cursor: pointer; min-height: 2.4rem; }
.ghost:hover { border-color: var(--accent); }
.ghost[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.bench { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.bench > * { min-width: 0; }
@media (max-width: 800px) { .bench { grid-template-columns: minmax(0, 1fr); } }

/* Inputs */
.inputs { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.field { flex: 1 1 8.5rem; min-width: 0; display: grid; gap: .3rem; border: 0; padding: 0; margin: 0; }
.field.wide { flex-basis: 100%; }
.field > label, .field > legend { font-weight: 600; font-size: .92rem; padding: 0; }
.field legend { margin-bottom: .3rem; }
.affix { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.affix:focus-within { border-color: var(--accent); outline: 1px solid var(--accent); }
.affix input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; padding: .55rem .65rem; outline: none; font-family: var(--mono); font-size: .98rem; font-variant-numeric: tabular-nums; }
.affix em { font-style: normal; font-size: .8rem; color: var(--muted); padding-right: .65rem; white-space: nowrap; }
.affix.before { flex-direction: row-reverse; }
.affix.before em { padding: 0 0 0 .65rem; }
select, textarea, input[type="date"], input[type="time"] { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: .55rem .6rem; min-width: 0; }
textarea { font-family: var(--mono); min-height: 7rem; resize: vertical; }
input[type="range"] { width: 100%; accent-color: var(--accent); margin: .25rem 0 0; }
.seg { display: flex; flex-wrap: wrap; gap: 2px; background: var(--sunken); padding: 2px; border-radius: 7px; }
.seg label { flex: 1 1 auto; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: .4rem .55rem; border-radius: 5px; font-size: .92rem; white-space: nowrap; }
.seg input:checked + span { background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.err { color: var(--danger); font-size: .85rem; }
.field.bad .affix, .field.bad input[type="date"], .field.bad textarea { border-color: var(--danger); }
.checks { display: grid; gap: .4rem; }
.checks label { display: flex; gap: .5rem; align-items: center; cursor: pointer; }
.checks input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; }

/* Readout */
.results { display: grid; gap: 1.25rem; }
.results > * { min-width: 0; }
.panel { background: var(--panel); color: var(--panel-ink); border-radius: 10px; padding: 1.25rem 1.35rem; display: grid; gap: .9rem; }
.panel > * { min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.panel-top > div:first-child { min-width: 0; display: grid; gap: .15rem; }
.main-label { color: var(--panel-muted); font-size: .95rem; }
.main-value { display: block; font: 500 clamp(1.8rem, 5.5vw, 3rem)/1.1 var(--mono); color: var(--readout); letter-spacing: -.02em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.main-hint { color: var(--panel-ink); font-size: .95rem; }
.copy { flex: none; background: none; border: 1px solid var(--panel-line); color: var(--panel-ink); border-radius: 6px; padding: .3rem .65rem; cursor: pointer; font-size: .85rem; min-height: 2.2rem; }
.copy:hover { border-color: var(--readout); }
.rows { margin: 0; display: grid; }
.rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-top: 1px solid var(--panel-line); }
.rows dt { color: var(--panel-muted); min-width: 0; }
.rows dd { margin: 0; font-family: var(--mono); font-size: .95rem; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.panel-error { color: var(--readout); }

/* Breakdown bar and scale, drawn on the page surface so the series colours stay legible */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; display: grid; gap: .75rem; }
.card > * { min-width: 0; }
.card h2 { font-size: 1rem; }
.bar { display: flex; height: 1rem; border-radius: 4px; overflow: hidden; gap: 2px; background: var(--surface); }
.bar span { min-width: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: .4rem; }
.legend i { width: .7rem; height: .7rem; border-radius: 2px; flex: none; }
.legend b { font: 400 .88rem var(--mono); }
.c1 { background: var(--c1); } .c2 { background: var(--c2); } .c3 { background: var(--c3); } .c4 { background: var(--c4); }
.scale { position: relative; padding-top: 1.4rem; }
.scale-track { display: flex; height: .9rem; border-radius: 4px; overflow: hidden; gap: 2px; }
.scale-mark { position: absolute; top: 0; transform: translateX(-50%); font: 500 .8rem var(--mono); }
.scale-mark::after { content: ""; display: block; width: 2px; height: 1.7rem; background: var(--ink); margin: 0 auto; }
.scale-labels { position: relative; height: 1.2rem; margin-top: .35rem; font: 400 .74rem var(--mono); color: var(--muted); }
.scale-labels span { position: absolute; transform: translateX(-50%); }
.chart { display: block; width: 100%; height: auto; }
.chart text { fill: var(--muted); font: 400 13px var(--mono); }
@media (max-width: 600px) { .chart text { font-size: 17px; } }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .s0 { stroke: var(--c1); fill: none; stroke-width: 2.5; }
.chart .s1 { stroke: var(--c2); fill: none; stroke-width: 2; stroke-dasharray: 6 4; }
.chart .area { fill: var(--c1); opacity: .13; stroke: none; }
.chart .end { fill: var(--c1); stroke: var(--surface); stroke-width: 2; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: .4rem .6rem; text-align: right; border-bottom: 1px solid var(--line); font: 400 .88rem var(--mono); white-space: nowrap; }
th { color: var(--muted); }
th:first-child, td:first-child { text-align: left; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: .6rem; }
.note { color: var(--muted); font-size: .9rem; }
.how { max-width: 65ch; display: grid; gap: .4rem; }
.how h2, .related h2 { font-size: 1.1rem; }
.related { display: grid; gap: .6rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.related a { display: block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); text-decoration: none; color: inherit; }
.related a:hover { border-color: var(--accent); }

/* Scientific keypad */
.sci { display: grid; gap: .8rem; }
.sci-screen { background: var(--panel); color: var(--panel-ink); border-radius: 10px; padding: .9rem 1.1rem; display: grid; gap: .3rem; }
.sci-screen input { width: 100%; min-width: 0; background: none; border: 0; outline: none; color: var(--panel-ink); font: 400 1.1rem var(--mono); caret-color: var(--readout); }
.sci-out { min-height: 2.6rem; font: 500 clamp(1.5rem, 5vw, 2.2rem)/1.2 var(--mono); color: var(--readout); text-align: right; overflow-wrap: anywhere; }
.sci-out.is-error { font: 400 .95rem/1.4 var(--body); color: var(--panel-muted); align-self: end; padding-top: .8rem; }
.keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.keys button { min-height: 2.75rem; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; cursor: pointer; font: 400 .98rem var(--mono); padding: 0; }
.keys button:hover { border-color: var(--accent); }
.keys button:active { background: var(--sunken); }
.keys .fn { background: var(--sunken); font-size: .86rem; }
.keys .eq { background: var(--cta); border-color: transparent; color: var(--on-cta); font-weight: 500; }
.history { list-style: none; margin: 0; padding: 0; display: grid; }
.history button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; background: none; border: 0; border-bottom: 1px solid var(--line); padding: .45rem 0; cursor: pointer; font: 400 .9rem var(--mono); text-align: left; }
.history button:hover { color: var(--accent); }
.history span { min-width: 0; overflow-wrap: anywhere; }
.history b { font-weight: 500; text-align: right; }

.pw { font: 500 clamp(1.05rem, 3.2vw, 1.5rem)/1.35 var(--mono); color: var(--readout); overflow-wrap: anywhere; }
.primary { background: var(--cta); color: var(--on-cta); border: 0; border-radius: 6px; padding: .6rem 1rem; font-weight: 600; cursor: pointer; min-height: 2.6rem; width: 100%; }
.primary:hover { filter: brightness(1.08); }
.meter { height: .4rem; background: var(--panel-line); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--readout); }

/* Palette */
dialog { width: min(36rem, calc(100vw - 32px)); margin: 12vh auto auto; border: 1px solid var(--line); border-radius: 10px; padding: 0; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(2, 20, 48, .55); }
.palette-input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: .9rem 1rem; font-size: 1.1rem; outline: none; }
.palette-list { list-style: none; margin: 0; padding: .35rem; max-height: 55vh; overflow-y: auto; }
.palette-list a { display: flex; flex-wrap: wrap; gap: 0 .6rem; align-items: baseline; padding: .5rem .65rem; border-radius: 6px; color: inherit; text-decoration: none; }
.palette-list a b { font-weight: 600; }
.palette-list a span { color: var(--muted); font-size: .88rem; min-width: 0; }
.palette-list [aria-selected="true"] a { background: var(--sunken); }
.palette-list .calc-row b { font-family: var(--mono); color: var(--accent); }
.palette-empty { padding: .6rem .65rem; color: var(--muted); }

/* Mobile result peek */
.peek {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: none;
  background: var(--panel); color: var(--panel-ink); border: 0; cursor: pointer;
  padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; text-align: left;
}
.peek b { font: 500 1.1rem var(--mono); color: var(--readout); overflow-wrap: anywhere; text-align: right; min-width: 0; }
@media (max-width: 800px) { .peek.on { display: flex; } }
@media (max-width: 800px) { .foot .shell { padding-bottom: 5rem; } }

.toast { position: fixed; left: 50%; bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .45rem .9rem; border-radius: 6px; font-size: .92rem; z-index: 20; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot .shell { padding-block: 1.25rem 2rem; }

/* Export section */
#export-slot { min-width: 0; }
.export { gap: 1rem; }
.export-head { display: grid; gap: .2rem; }
.export-logo { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-start; border-top: 1px solid var(--line); padding-top: .9rem; }
.export-preview { flex: none; width: 7.5rem; height: 4rem; display: grid; place-items: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 6px; padding: .3rem; overflow: hidden; }
.export-preview img { max-width: 100%; max-height: 100%; display: block; }
.export-preview span { color: var(--paper-muted); font-size: .8rem; }
.export-logo-text { flex: 1 1 14rem; min-width: 0; display: grid; gap: .3rem; justify-items: start; }
.export-optional { font-weight: 400; color: var(--muted); }
.export-logo-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.export-option { display: grid; gap: .25rem; }
.export-option label { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.export-option input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex: none; margin-top: .2rem; }
.export-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .5rem; }
.export-btn { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .5rem .9rem; background: var(--cta); color: var(--on-cta); border: 1px solid transparent; border-radius: 6px; font-weight: 600; cursor: pointer; }
.export-btn[data-format="xlsx"] { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.export-btn:hover { filter: brightness(1.08); }
.export-btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.export-icon { width: 1.25rem; height: 1.45rem; flex: none; }
.export-icon text { font-family: var(--body); }
.export-btn[aria-busy="true"] .export-icon { display: none; }
.export-btn[aria-busy="true"]::before { content: ""; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .export-btn[aria-busy="true"]::before { animation: export-spin .7s linear infinite; }
}
@keyframes export-spin { to { transform: rotate(360deg); } }
.export-status { font-size: .92rem; overflow-wrap: anywhere; }
.export-status.is-error { color: var(--danger); }
.export-status.is-success { color: var(--success); }

/* Remember consent */
.remember { display: grid; gap: .25rem; margin-top: .8rem; }
.remember label { display: flex; gap: .5rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.remember input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex: none; margin-top: .2rem; }

/* Text on real tool pages */
.hero-sub { margin: .35rem 0 0; color: var(--muted); font-size: 1.1rem; }
.example ul { margin: 0; padding-left: 1.2rem; }
.example:empty { display: none; }
.tools-footer { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; margin: .8rem 0 0; padding: 0; }
.not-found { display: grid; gap: .8rem; padding-block: 2rem; }

/* Analytics consent */
.consent { position: fixed; z-index: 30; left: 1rem; right: 1rem; bottom: 1rem; max-width: 40rem; margin-inline: auto; display: grid; gap: .7rem; padding: .9rem 1rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 28px rgb(2 20 48 / .22); }
.consent p { margin: 0; font-size: .92rem; }
.consent-actions { display: flex; justify-content: flex-end; gap: .5rem; }
.consent-accept { min-height: 2.4rem; padding: .35rem 1.1rem; background: var(--cta); color: var(--on-cta); border: 0; border-radius: 6px; font-weight: 600; cursor: pointer; }
.foot-consent { margin: .5rem 0 0; }
.link-button { padding: 0; background: none; border: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; }
