/* Gratisprøven (Sample v2) — delt CSS. MASTER: _shared/sample-exam/sample-exam.css.
   Byte-kopieres til <nisje>/sample.css av _pipeline/bake-sample.mjs og lastes som
   /<slug>/sample.css?v=… (immutable via _headers → bump ?v= ved endring).
   Tokens = nisje-LP-ens designsystem (index.html :root), uendret. Mobil først. */
:root {
  --bg: #F7F4ED; --bg-2: #EFEAE0; --ink: #14110D; --ink-2: #4B463E; --ink-3: #807868;
  --line: rgba(20,17,13,0.10); --line-2: rgba(20,17,13,0.06); --card: #FFFDF8;
  --accent: #BA0C2F; --accent-soft: #FBE9EC; --accent-ink: #FFFFFF; --deep: #00205B;
  --positive: #1F6B4A; --positive-soft: #E4F1EA; --warn: #B95A1A; --warn-soft: #F8E9DD;
  --radius: 14px; --radius-sm: 8px; --radius-lg: 22px;
  --shadow-sm: 0 1px 0 rgba(20,17,13,0.04), 0 2px 6px rgba(20,17,13,0.04);
  --shadow-md: 0 1px 0 rgba(20,17,13,0.04), 0 12px 32px -12px rgba(20,17,13,0.18);
  --shadow-lg: 0 1px 0 rgba(20,17,13,0.04), 0 32px 60px -24px rgba(20,17,13,0.24);
  --serif: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --container: 640px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sx-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---- nav ---- */
.sx-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-2); }
.sx-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 8px; }
.sx-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.sx-brand strong { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.sx-accent { color: var(--accent); }
.sx-nav-right { display: flex; align-items: center; gap: 6px; }
.sx-back { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 500; }
@media (hover: hover) { .sx-back:hover { background: var(--card); } }
.sx-lang { position: relative; }
.sx-lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.sx-lang-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 170px; padding: 6px; margin: 0; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); z-index: 60; }
.sx-lang-item { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 0; background: transparent; border-radius: 8px; font-size: 14px; color: var(--ink); text-align: start; }
@media (hover: hover) { .sx-lang-item:hover { background: var(--bg-2); } }
.sx-lang-item.is-current { font-weight: 600; }
.sx-lang-short { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* ---- felles ---- */
.sx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sx-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 500; font-size: 15px; line-height: 1; border: 1px solid transparent; white-space: nowrap; transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; }
.sx-btn:active { transform: translateY(1px); }
.sx-btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sx-btn-accent:hover { filter: brightness(0.95); }
.sx-btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sx-btn-primary:hover { background: #000; }
.sx-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.sx-btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink), transparent 82%); }
@media (hover: hover) { .sx-btn-ghost:hover { background: var(--card); } }
.sx-btn-quiet { color: var(--ink-3); }
.sx-btn-lg { padding: 15px 22px; font-size: 16px; border-radius: 12px; }
.sx-btn-block { width: 100%; white-space: normal; line-height: 1.2; text-align: center; } /* lange oversettelser (en/pl/so/uk) får bryte */
.sx-btn-text { background: none; border: 0; padding: 8px 4px; font-size: 14px; color: var(--ink-2); font-weight: 500; align-self: flex-start; }
@media (hover: hover) { .sx-btn-text:hover { color: var(--ink); } }

/* ---- landing (= spørsmål 1) + prøve ---- */
.sx-test { padding: 18px 0 48px; }
.sx-land { margin-bottom: 16px; }
.sx-title { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 6px; text-wrap: balance; }
.sx-title em { color: var(--accent); font-weight: 700; font-style: normal; }
.sx-format { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.sx-format b { color: var(--ink); font-weight: 600; }
.sx-langnote { margin-top: 10px; padding: 9px 12px; background: var(--bg-2); border-radius: 9px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.sx-langnote svg { flex-shrink: 0; margin-top: 2px; color: var(--ink-3); }
.sx-resume { margin-top: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.sx-resume p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.sx-resume-btns { display: flex; flex-direction: column; gap: 8px; }
.sx-resume-btns .sx-btn { width: 100%; white-space: normal; line-height: 1.2; }
@media (min-width: 720px) { .sx-resume-btns { flex-direction: row; } .sx-resume-btns .sx-btn { width: auto; flex: 1; } }
.sx-qtop { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.sx-qtop b { color: var(--ink); font-weight: 600; }
.sx-qtime { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sx-qtime.is-over { color: var(--warn); }
[dir="rtl"] .sx-flip { display: inline-block; transform: scaleX(-1); }
.sx-qbar { height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 16px; }
.sx-qbar > i { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width 0.25s ease; }
.sx-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 18px; box-shadow: var(--shadow-md); animation: sxIn 0.18s ease both; }
@keyframes sxIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sx-q-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.sx-q { font-family: var(--serif); font-size: 19.5px; font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; margin: 0 0 16px; }
.sx-options { display: flex; flex-direction: column; gap: 9px; }
.sx-opt { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; min-height: 54px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); text-align: start; width: 100%; color: var(--ink); font-size: 14.5px; line-height: 1.4; transition: border-color 0.15s ease, background 0.15s ease; }
@media (hover: hover) { .sx-opt:hover { border-color: color-mix(in srgb, var(--ink), transparent 70%); background: var(--card); } } /* ikke på touch — ellers henger hover-stilen igjen etter trykk */
.sx-opt.is-picked { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--ink) inset; }
.sx-opt-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--bg-2); display: inline-grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-2); flex-shrink: 0; }
.sx-opt.is-picked .sx-opt-mark { background: var(--ink); color: var(--bg); }
.sx-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.sx-hint { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; display: flex; gap: 8px; }
.sx-hint svg { flex-shrink: 0; margin-top: 3px; }
.sx-empty { color: var(--ink-3); }

/* ---- resultat ---- */
.sx-result { padding: 18px 0 110px; }
.sx-rhead { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-md); overflow: hidden; /* stempelets rotasjon/pop skal ikke gi sidescroll */ }
.sx-rtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sx-score { font-family: var(--serif); font-size: 46px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sx-score small { font-size: 16px; color: var(--ink-3); letter-spacing: 0; font-weight: 500; margin-inline-start: 5px; }
.sx-rtime { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.sx-stamp-wrap { margin-top: 6px; padding: 2px 4px 0 0; }
.sx-stamp { --c: var(--positive); color: var(--c); border: 2.5px solid var(--c); border-radius: 999px; padding: 7px 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,253,248,0.6); font-weight: 600; transform: rotate(-7deg); }
.sx-stamp.is-pop { animation: sxStamp 0.55s cubic-bezier(.2,1.4,.3,1) both; animation-delay: 0.75s; }
@keyframes sxStamp { from { opacity: 0; transform: rotate(-18deg) scale(1.8); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
.sx-gauge { position: relative; margin: 16px 0 30px; height: 9px; border-radius: 999px; background: var(--bg-2); }
.sx-gauge-fill { position: absolute; inset-inline-start: 0; top: 0; height: 100%; border-radius: 999px; background: var(--positive); transition: width 0.9s cubic-bezier(.2,.8,.2,1); }
.sx-gauge.is-fail .sx-gauge-fill { background: var(--warn); }
.sx-gauge-tick { position: absolute; top: -6px; width: 2px; height: 21px; background: var(--ink); border-radius: 2px; }
.sx-gauge-tick::after { content: attr(data-label); position: absolute; top: 23px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-2); white-space: nowrap; }
.sx-rline { margin: 0; font-size: 15px; line-height: 1.45; }
.sx-rline b { font-weight: 600; }

.sx-block { margin-top: 20px; }
.sx-block-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.sx-block-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sx-block-head span { font-size: 12px; color: var(--ink-3); }
.sx-block-head a { font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.sx-topics { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sx-topic { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 11px 14px; border-top: 1px solid var(--line-2); align-items: center; }
.sx-topic:first-child { border-top: 0; }
.sx-topic-name { font-size: 14px; font-weight: 500; line-height: 1.3; display: flex; align-items: center; gap: 8px; }
.sx-topic-name i { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.sx-topic.r .sx-topic-name i, .sx-topic.r .sx-topic-bar > i { background: var(--accent); }
.sx-topic.y .sx-topic-name i, .sx-topic.y .sx-topic-bar > i { background: var(--warn); }
.sx-topic.g .sx-topic-name i, .sx-topic.g .sx-topic-bar > i { background: var(--positive); }
.sx-topic-score { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: end; }
.sx-topic-bar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.sx-topic-bar > i { display: block; height: 100%; border-radius: 999px; }
.sx-topic-more { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 0; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); background: var(--bg); text-align: start; }
.sx-topic-more b { color: var(--positive); font-weight: 600; }
.sx-topic-more .sx-lnk { text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; }
.sx-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.sx-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sx-legend i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.sx-legend i.r { background: var(--accent); } .sx-legend i.y { background: var(--warn); } .sx-legend i.g { background: var(--positive); }

/* bro-blokk (mørk) */
.sx-bridge { margin-top: 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-lg); }
.sx-bridge > p { margin: 0; font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--bg) 88%, transparent); }
.sx-bridge > p b { color: var(--bg); font-weight: 600; }
.sx-bridge-offer { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sx-bridge-meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.sx-bridge-meta b { font-family: var(--serif); font-size: 18px; letter-spacing: -0.01em; text-transform: none; color: var(--bg); font-weight: 500; }
.sx-bridge-sub { font-size: 12.5px; color: color-mix(in srgb, var(--bg) 72%, transparent); margin: 2px 0 0; line-height: 1.45; }
.sx-bridge-sub a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }

/* fasit */
.sx-fasit { display: flex; flex-direction: column; gap: 8px; }
.sx-fitem { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sx-fitem.is-compact { padding: 10px 14px; }
.sx-ftop { display: flex; gap: 10px; align-items: flex-start; }
.sx-fq { font-size: 14px; font-weight: 500; line-height: 1.4; flex: 1; }
.sx-fmark { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.sx-fmark.ok { background: var(--positive); } .sx-fmark.no { background: var(--accent); }
.sx-fans { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.sx-fans b { color: var(--ink); font-weight: 500; }
.sx-fans .no { color: var(--accent); text-decoration: line-through; text-decoration-thickness: 1px; }
.sx-fexp { margin: 10px 0 0; padding: 11px 12px; background: var(--bg-2); border-radius: 9px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.sx-fexp b { color: var(--ink); }
.sx-flock { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; }
.sx-flock svg { color: var(--ink-3); flex-shrink: 0; }
.sx-fmore { text-align: center; margin-top: 2px; }
.sx-fmore button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; color: var(--ink-2); }
.sx-fmore button:hover { background: var(--card); }

/* fullt tilbudskort (= Priser .pr-tier--popular-look) */
.sx-offer { position: relative; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--card) 26%); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; box-shadow: var(--shadow-md); margin-top: 8px; }
.sx-offer-ribbon { position: absolute; top: -10px; inset-inline-start: 18px; background: var(--ink); color: var(--card); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.sx-offer-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.sx-offer-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; margin: 4px 0 0; line-height: 1.1; }
.sx-offer-price { display: flex; align-items: baseline; gap: 5px; margin: 12px 0 2px; }
.sx-offer-amount { font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -0.025em; line-height: 1; }
.sx-offer-cur { font-size: 13px; color: var(--ink-3); }
.sx-offer-vat { font-size: 12px; color: var(--ink-3); }
.sx-offer-feat { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.sx-offer-feat li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.sx-offer-feat svg { flex-shrink: 0; color: var(--positive); margin-top: 2px; }
.sx-offer-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sx-offer-gar { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; display: flex; gap: 8px; }
.sx-offer-gar svg { flex-shrink: 0; margin-top: 2px; color: var(--positive); }
.sx-offer-gar a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sx-offer-trust { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.sx-offer-trust span { display: inline-flex; gap: 5px; align-items: center; }

/* e-post + ny prøve */
.sx-mail { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.sx-mail h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; }
.sx-mail p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); }
.sx-mail-row { display: flex; gap: 8px; }
.sx-mail-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); }
.sx-mail-row input::placeholder { color: var(--ink-3); }
.sx-mail-ok { color: var(--positive) !important; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.sx-mail-err { color: var(--accent) !important; margin: 8px 0 0 !important; }
.sx-mail-note { color: var(--ink-2) !important; margin: 8px 0 0 !important; }
.sx-retest { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.sx-rfoot { margin-top: 22px; font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.5; }

/* ---- v3: gate-steget (dato + e-post før resultatet) — samme byggeklosser som spørsmålskortet ---- */
.sx-gate .sx-q { margin-bottom: 12px; }
.sx-gate-q { margin-top: 10px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 14.5px; line-height: 1.2; font-weight: 500; transition: border-color 0.15s ease, background 0.15s ease; }
@media (hover: hover) { .sx-chip:hover { border-color: color-mix(in srgb, var(--ink), transparent 70%); background: var(--card); } }
.sx-chip.is-picked { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--ink) inset; }
.sx-chip.is-quiet { color: var(--ink-2); font-weight: 400; }
.sx-chip svg { flex-shrink: 0; }
.sx-date { margin-top: 10px; }
.sx-date input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); min-height: 46px; }
.sx-field { margin-top: 20px; }
.sx-field label { display: block; font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 8px; }
.sx-field input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); min-height: 48px; }
.sx-field input::placeholder { color: var(--ink-3); }
.sx-field input.is-invalid { border-color: var(--accent); }
.sx-fine { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.sx-gate-err { margin: 8px 0 0; font-size: 13px; color: var(--accent); font-weight: 500; }
.sx-gate-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.sx-gate-actions .sx-btn-primary:disabled { opacity: 0.6; }
/* bekreftelse under scoren (erstatter v2-boksen «Få rapporten på e-post») */
.sx-confirm { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--positive-soft); border: 1px solid rgba(31,107,74,0.18); border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.sx-confirm svg { flex-shrink: 0; color: var(--positive); margin-top: 2px; }
.sx-confirm b { color: var(--ink); font-weight: 600; display: block; overflow-wrap: anywhere; }
@media (min-width: 720px) { .sx-chip { font-size: 15px; } }

/* klistrebar (= Priser .pr-stickybar) */
.sx-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; z-index: 40; transform: translateY(150%); transition: transform 0.25s ease; }
.sx-sticky.is-visible { transform: translateY(0); }
.sx-sticky-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sx-sticky-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sx-sticky-label { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-sticky-amount { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.sx-sticky-btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; }

/* footer (statisk i Sample.html) */
.sx-footer { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-3); }
.sx-footer a:hover { color: var(--ink); }

/* ---- desktop ---- */
@media (min-width: 720px) {
  .sx-container { padding: 0 24px; }
  .sx-nav-inner { height: 64px; }
  .sx-title { font-size: 36px; }
  .sx-card { padding: 28px 26px 24px; }
  .sx-q { font-size: 22px; }
  .sx-actions { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .sx-actions .sx-btn-block { width: auto; min-width: 180px; }
  .sx-rhead { padding: 24px 26px 22px; }
  .sx-score { font-size: 56px; }
  .sx-sticky { left: auto; right: 24px; width: 360px; }
}
@media (min-width: 1000px) {
  /* To kolonner: diagnose/emnekart/fasit til venstre, tilbud + e-post + ny prøve
     klistret til høyre. Bro-blokken beholder setningen, men CTA-en bor i
     tilbudskortet (én rød knapp synlig om gangen); klistrebaren utløses aldri
     her siden bro-knappen er skjult. */
  .sx-result .sx-container { max-width: 1100px; }
  .sx-rgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; align-items: start; }
  .sx-rmain { grid-column: 1; grid-row: 1; }
  .sx-rside { grid-column: 2; grid-row: 1; position: sticky; top: 84px; }   /* kun tilbudskortet — alltid innenfor skjermen */
  .sx-rtail { grid-column: 1; grid-row: 2; }
  .sx-rside .sx-offer-block { margin-top: 0; }
  .sx-rside .sx-offer { margin-top: 10px; }
  .sx-bridge .sx-bridge-offer { display: none; }
  .sx-sticky { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-stamp.is-pop, .sx-card { animation: none; }
  .sx-gauge-fill, .sx-sticky, .sx-qbar > i { transition: none; }
}
