/*
 * advent_2026_campaign: the night sky of the advent calendar 2026 pages (the campaign page and its new page), in place of
 * the September campaign's blue. Snow falls in three layers: small sharp flakes far away, larger ones nearer, and a few
 * big soft ones close to the lens, out of focus. Each layer is one tile of dots repeated over the sky and moved down by
 * exactly one tile, so the fall never jumps; only transforms move, so it costs no layout or paint.
 * Markup: offers/campaigns/advent_2026_campaign/_snow.html.erb. The two nearer layers are the fallback for the snow
 * that settles (.a26-snow-front, below).
 */

.a26-night { background: #031839; }
/* Also when the night is put on another campaign's loading page (advent_2026_campaign_night_controller.js) */
.a26-night.a26-night--page { background: #031839; }
/* Its own stacking context, so the snow behind the page (z-index -1) stays above the night and below everything else */
.a26-night--page { isolation: isolate; }

.a26-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.a26-snow--page { position: fixed; z-index: -1; }
/* A tile taller and a sway wider than its box, so no edge of the layer ever shows */
.a26-snow i {
  position: absolute; top: calc(-1 * var(--a26-tile-h)); bottom: 0; left: -16px; right: -16px;
  background-repeat: repeat; background-size: var(--a26-tile-w) var(--a26-tile-h);
  animation: a26-snow-fall var(--a26-fall) linear infinite, a26-snow-sway var(--a26-sway) ease-in-out infinite alternate;
  will-change: transform;
}
.a26-snow i:nth-child(1) {
  --a26-tile-w: 260px; --a26-tile-h: 340px; --a26-fall: 34s; --a26-sway: 9s;
  background-image:
    radial-gradient(circle at 54px 116px, rgba(255, 255, 255, 0.8) 0.8px, rgba(255, 255, 255, 0) 1.5px),
    radial-gradient(circle at 162px 287px, rgba(255, 255, 255, 0.75) 1.2px, rgba(255, 255, 255, 0) 1.9px),
    radial-gradient(circle at 201px 254px, rgba(255, 255, 255, 0.56) 1.2px, rgba(255, 255, 255, 0) 1.9px),
    radial-gradient(circle at 153px 228px, rgba(255, 255, 255, 0.8) 1.2px, rgba(255, 255, 255, 0) 1.9px),
    radial-gradient(circle at 43px 58px, rgba(255, 255, 255, 0.68) 0.8px, rgba(255, 255, 255, 0) 1.5px),
    radial-gradient(circle at 52px 232px, rgba(255, 255, 255, 0.7) 0.9px, rgba(255, 255, 255, 0) 1.6px),
    radial-gradient(circle at 253px 162px, rgba(255, 255, 255, 0.69) 0.7px, rgba(255, 255, 255, 0) 1.4px),
    radial-gradient(circle at 130px 180px, rgba(255, 255, 255, 0.76) 0.8px, rgba(255, 255, 255, 0) 1.5px),
    radial-gradient(circle at 188px 177px, rgba(255, 255, 255, 0.72) 1.1px, rgba(255, 255, 255, 0) 1.8px),
    radial-gradient(circle at 227px 333px, rgba(255, 255, 255, 0.59) 1.0px, rgba(255, 255, 255, 0) 1.7px);
}
.a26-snow i:nth-child(2) {
  --a26-tile-w: 310px; --a26-tile-h: 430px; --a26-fall: 24s; --a26-sway: 7s;
  background-image:
    radial-gradient(circle at 254px 206px, rgba(255, 255, 255, 0.72) 1.9px, rgba(255, 255, 255, 0) 2.6px),
    radial-gradient(circle at 136px 219px, rgba(255, 255, 255, 0.66) 2.2px, rgba(255, 255, 255, 0) 2.9px),
    radial-gradient(circle at 249px 266px, rgba(255, 255, 255, 0.66) 2.0px, rgba(255, 255, 255, 0) 2.7px),
    radial-gradient(circle at 15px 297px, rgba(255, 255, 255, 0.83) 1.9px, rgba(255, 255, 255, 0) 2.6px),
    radial-gradient(circle at 69px 421px, rgba(255, 255, 255, 0.85) 1.7px, rgba(255, 255, 255, 0) 2.4px),
    radial-gradient(circle at 270px 346px, rgba(255, 255, 255, 0.69) 1.5px, rgba(255, 255, 255, 0) 2.2px),
    radial-gradient(circle at 120px 65px, rgba(255, 255, 255, 0.7) 1.6px, rgba(255, 255, 255, 0) 2.3px);
}
.a26-snow i:nth-child(3) {
  --a26-tile-w: 370px; --a26-tile-h: 520px; --a26-fall: 16s; --a26-sway: 5.5s;
  background-image:
    radial-gradient(circle at 165px 288px, rgba(255, 255, 255, 0.48) 0, rgba(255, 255, 255, 0.26) 2.9px, rgba(255, 255, 255, 0) 6.5px),
    radial-gradient(circle at 264px 365px, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0.19) 3.1px, rgba(255, 255, 255, 0) 6.9px),
    radial-gradient(circle at 144px 11px, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.22) 2.3px, rgba(255, 255, 255, 0) 5.1px),
    radial-gradient(circle at 341px 457px, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.22) 2.1px, rgba(255, 255, 255, 0) 4.6px),
    radial-gradient(circle at 258px 192px, rgba(255, 255, 255, 0.47) 0, rgba(255, 255, 255, 0.26) 2.7px, rgba(255, 255, 255, 0) 6.1px);
}
@keyframes a26-snow-fall { to { transform: translate3d(0, var(--a26-tile-h), 0); } }
/* Its own property, so it adds to the fall; a browser without it lets the snow fall straight */
@keyframes a26-snow-sway { from { translate: -12px 0; } to { translate: 12px 0; } }
/* The snow in front of the page (advent_2026_campaign_snow_controller): it lands on the [data-snow-roof] elements and falls
   off when they move. Its canvas covers the window above the page and its loader, and takes no clicks. It draws the two
   nearer layers itself, so their CSS copies are switched off while it runs */
.a26-snow-front { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; }
.a26-snow-live .a26-snow i:nth-child(n+2) { display: none; }
/* The snow lying on a roof: a strip of its own in the page at the roof's top edge, so it scrolls with the roof. In front
   of the night and its far snow, behind the cards and everything else: a card's edge and border are never covered */
.a26-snow-caps { position: relative; width: 0; height: 0; z-index: -1; pointer-events: none; }
.a26-snow-cap { position: absolute; pointer-events: none; }
/* The snow lies still */
@media (prefers-reduced-motion: reduce) { .a26-snow i { animation: none; } }
/*
 * advent_2026_campaign_new: the Scoopr 2026 live offers design (handover canvas, page v2) for the advent calendar 2026:
 * a copy of september_2026_campaign_new.css where the blue band is a navy night sky with falling snow
 * (advent_2026_campaign.css).
 * Every rule is scoped to .a26n so nothing leaks into Hyperion or the other campaigns.
 * Colours: navy #031839, dark blue #223C66, blue #18A0FB, pale #EFF7FF and #F0F4FA,
 * text #354661 and #687488, yellow #FDC564, orange #FA8331, light blue #9ED7FD.
 */

.a26n {
  --a26n-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --a26n-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --a26n-shadow-card: 0 12px 32px rgba(3, 24, 57, 0.14);
  --a26n-shadow-soft: 0 4px 16px rgba(24, 160, 251, 0.08);
  --a26n-line: 1px solid rgba(3, 24, 57, 0.08);

  position: relative;
  min-height: 100vh;
  background: #031839;
  color: #031839;
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Resets carry no specificity (:where), so every component class below wins over them */
:where(.a26n) *, :where(.a26n) *::before, :where(.a26n) *::after { box-sizing: border-box; }
:where(.a26n) :where(h1, h2, h3, p, ol, ul, dl, dd) { margin: 0; }
:where(.a26n) :where(ol, ul) { padding: 0; list-style: none; }
:where(.a26n) button { font-family: inherit; }
:where(.a26n) a { color: #223C66; }
:where(.a26n) a:hover { color: #031839; }
.a26n [hidden] { display: none !important; }

/* ---------- page frame ---------- */

.a26n-screen { position: relative; min-height: 100vh; }
/* The band is the advent calendar's night sky with falling snow (.a26-night and .a26-snow, advent_2026_campaign.css) */
.a26n-band { position: absolute; top: 0; left: 0; right: 0; height: 240px; overflow: hidden; }
.a26n-band--offer { height: 300px; }
.a26n-shell { position: relative; display: flex; flex-direction: column; min-height: 100vh; max-width: 430px; margin: 0 auto; }
.a26n-header { display: flex; flex-direction: column; padding: 16px 16px 0; }
.a26n-topbar { display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0 8px 24px; }
.a26n-topbar--offer { margin-bottom: 32px; }
/* The 44 px back button needs a 44 px row: the collapsing wrapper around it hides anything that sticks out */
.a26n-logo { display: block; width: 100px; height: 22px; color: #FFFFFF; }
.a26n-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.a26n a.a26n-pill { color: #031839; }
/* A bank still deciding: the same spinner as «Venter på svar» in «Tilbudene fra bankene», smaller */
.a26n-pill-waiting { display: inline-flex; }
.a26n-spinner--pill { width: 12px; height: 12px; }
/* Design «Kompakt ved 3 tilbud» (19.10): «Påmeldt» before the offer count, on a lighter navy (white 16 % over the night, AAA with
   white). advent_2026_campaign_new_draw_controller opens the page with it long («Påmeldt i trekningen», .a26n-draw-long)
   and the count as a spinner, then shrinks it; .a26n-draw-played holds the transitions while it does */
.a26n-draw-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: auto; padding: 0 12px 0 6px; border-radius: 999px; background: #2B3D58; color: #FFFFFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.a26n-draw-pill-check { display: flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #FDC564; color: #031839; }
.a26n-draw-pill-check svg { display: block; }
.a26n-draw-pill-text { display: flex; }
.a26n-draw-pill-more { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; }
/* Narrow phones: the logo gives way (64 px, less only if it must), so the long pill fits beside it from about 336 px */
.a26n-topbar:has(.a26n-draw-pill) { column-gap: 8px; }
.a26n-topbar:has(.a26n-draw-pill) .a26n-logo { width: clamp(64px, calc(100vw - 272px), 100px); height: auto; }
.a26n-draw-long .a26n-draw-pill-more { max-width: 100px; opacity: 1; }
.a26n-draw-played .a26n-draw-pill-more { transition: max-width 550ms cubic-bezier(0.3, 0.7, 0.2, 1), opacity 330ms ease-out; }
/* The count grows back to its own width (--a26n-count-width, measured by the controller) and its text fades in */
.a26n-draw-played .a26n-topbar .a26n-pill { position: relative; max-width: var(--a26n-count-width, none); overflow: hidden; transition: max-width 550ms cubic-bezier(0.3, 0.7, 0.2, 1), color 350ms ease 200ms; }
.a26n-draw-played .a26n-topbar .a26n-pill > * { transition: opacity 350ms ease 200ms; }
.a26n-draw-played .a26n-topbar .a26n-pill::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid #C9E9FE; border-top-color: #18A0FB; border-radius: 50%; opacity: 0; transition: opacity 250ms ease; animation: a26n-spin 800ms linear infinite; }
.a26n-draw-long .a26n-topbar .a26n-pill { max-width: 32px; color: transparent; }
.a26n-draw-long .a26n-topbar .a26n-pill > * { opacity: 0; }
.a26n-draw-long .a26n-topbar .a26n-pill::after { opacity: 1; }
/* The long state is put in place at once, before the page shows; nothing gives way while the controller measures */
.a26n-draw-instant .a26n-topbar *, .a26n-draw-instant .a26n-topbar *::after { transition: none !important; }
.a26n-draw-instant .a26n-topbar * { flex-shrink: 0; }

.a26n-main { flex-grow: 1; display: flex; flex-direction: column; gap: 40px; padding: 40px 24px 180px; }
.a26n-main--plain { gap: 12px; padding: 24px 24px 40px; }
.a26n-main--receipt { gap: 24px; padding: 32px 24px 40px; }
.a26n-main--confirm { gap: 12px; padding: 32px 24px 40px; }

/* ---------- cards ---------- */

.a26n-card { display: flex; flex-direction: column; padding: 24px 20px; background: #FFFFFF; border-radius: 24px; box-shadow: var(--a26n-shadow-card); }
.a26n-card--outcome { padding: 28px 20px 24px; }
.a26n-box { padding: 4px 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--a26n-shadow-soft); }
/* Banks still deciding, under «Tilbudene fra bankene» */
.a26n-waiting { display: flex; flex-direction: column; gap: 12px; }
.a26n-waiting-head { display: flex; flex-direction: column; gap: 2px; }
.a26n-waiting-title { font-size: 15px; line-height: 1.4; font-weight: 700; color: #031839; }
.a26n-waiting-bank { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 0; border-bottom: var(--a26n-line); }
.a26n-waiting-bank:last-child { border-bottom: 0; }
.a26n-waiting-name { min-width: 0; font-size: 15px; line-height: 1.35; font-weight: 700; color: #031839; }
.a26n-waiting-state { display: inline-flex; flex: none; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; font-weight: 500; color: #354661; }
.a26n-waiting-bank[data-state="no"] .a26n-waiting-name, .a26n-waiting-bank[data-state="no"] .a26n-waiting-state { color: #687488; }
.a26n-waiting-link { font-weight: 700; color: #223C66; text-decoration: underline; text-underline-offset: 3px; }
.a26n-box--sum { padding-bottom: 16px; }
.a26n-box--pad { padding: 16px; }

/* ---------- hero ---------- */

.a26n-fact-line { margin: 0 0 12px; font-size: 13px; line-height: 1.4; font-weight: 600; color: #354661; }
.a26n-headline { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.a26n-headline svg { flex: none; }
.a26n-hero-number { margin: 0 0 8px; font-size: 64px; line-height: 1; font-weight: 800; white-space: nowrap; }
/* The hero's width is the container, so a long payoff date never runs past the card */
.a26n-hero-box { container-type: inline-size; }
.a26n-hero-number--date { font-size: min(52px, calc(100cqi / var(--a26n-hero-em, 8.4))); }
.a26n-hero-number--long { font-size: 56px; }
.a26n-hero-number--long .a26n-hero-ca { font-size: 24px; }
.a26n-hero-number--long .a26n-hero-kr { font-size: 32px; }
@media (max-width: 380px) {
  .a26n-hero-number--long { font-size: 48px; }
}
.a26n-hero-ca { margin-right: 6px; font-size: 26px; font-weight: 600; color: #687488; }
.a26n-hero-kr { margin-left: 10px; font-size: 36px; font-weight: 700; color: #687488; }
.a26n-hero-under { display: block; margin: 0 0 16px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.a26n-hero-number { display: block; }
/* The hero as a button that opens «Slik regner vi» (D1): it looks like the hero, the info mark says it can be tapped */
.a26n-hero-toggle { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.a26n-hero-toggle:focus-visible { outline: 2px solid #18A0FB; outline-offset: 4px; border-radius: 8px; }
.a26n-hero-info { display: inline-block; margin-left: 8px; vertical-align: -2px; }
.a26n-calc { display: flex; flex-direction: column; gap: 6px; margin: -4px 0 16px; padding: 12px 16px; border-radius: 16px; background: #EFF7FF; font-size: 14px; line-height: 1.45; color: #354661; }
/* D30: one line under the number on why this offer, and «Dekker ikke alt» on a partial cover */
.a26n-hero-reason { margin: -4px 0 16px; font-size: 14px; line-height: 1.45; color: #354661; }
.a26n-hero-reason .a26n-chip { display: inline-block; margin-right: 6px; vertical-align: 1px; }
/* D36: banks still deciding, in place of «Anbefalt fordi …»; on its own line after a partial-cover chip */
.a26n-hero-waiting { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.a26n-hero-reason .a26n-chip + .a26n-hero-waiting { margin-top: 6px; }
/* «Se det nye tilbudet» while the page with it loads */
.a26n .a26n-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.a26n-calc-title { font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; }
/* The three notices on the way to the bank (waiting, countdown, leaving) share one warm yellow (secondary-40), so they stand
   out from the pale blue steps under them */
.a26n-redirect { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFDFA2; font-size: 15px; line-height: 1.45; font-weight: 500; color: #031839; }
.a26n-redirect strong { color: #031839; font-weight: 800; }
.a26n-redirect--wait { display: flex; align-items: center; gap: 10px; }
.a26n-spinner { flex: none; width: 16px; height: 16px; border: 2px solid #031839; border-top-color: transparent; border-radius: 50%; animation: a26n-spin 800ms linear infinite; }
@media (prefers-reduced-motion: reduce) { .a26n-spinner { animation: none; border-top-color: #031839; } }
.a26n-underline { position: relative; display: inline-block; }
.a26n-underline svg { position: absolute; left: -2px; bottom: -9px; width: calc(100% + 6px); height: 12px; overflow: visible; }
.a26n-lead { margin: 0 0 24px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
/* «ca. X kr mindre totalt» and «Nedbetalt X tidligere» under the lead: small chips, so the card stays short */
.a26n-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.a26n-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #EFF7FF; font-size: 13px; line-height: 1.3; font-weight: 700; color: #031839; }
.a26n-perks svg { flex: none; }
.a26n-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.a26n-hero-fact { padding: 12px 14px; border-radius: 14px; background: #EFF7FF; }
.a26n-hero-fact-label, .a26n-hero-fact-note { font-size: 12px; line-height: 1.5; color: #354661; }
.a26n-hero-fact-value { margin-top: 2px; font-size: 17px; line-height: 1.3; font-weight: 800; }

/* ---------- comparison bars ---------- */

.a26n-bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.a26n-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 500; color: #354661; }
.a26n-bar-head strong { font-weight: 700; color: #031839; }
.a26n-bar-value { font-size: 16px; font-weight: 700; white-space: nowrap; color: #031839; }
.a26n-bar { display: flex; gap: 2px; height: 28px; }
.a26n-seg { border-radius: 4px; }
.a26n-seg--extra { flex: 1 1 auto; border-radius: 4px; background: repeating-linear-gradient(135deg, #9ED7FD 0 6px, #C9E9FE 6px 12px); }
.a26n-gap { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; margin-left: 4px; border: 1.5px dashed rgba(3, 24, 57, 0.3); border-radius: 4px; }
.a26n-chip { padding: 2px 8px; border-radius: 6px; background: #FDC564; color: #031839; font-size: 12px; line-height: 1.5; font-weight: 800; white-space: nowrap; }
.a26n-gap .a26n-chip { padding: 1px 8px; }
.a26n-chip--muted { background: #F0F4FA; box-shadow: inset 0 0 0 1px rgba(3, 24, 57, 0.15); }
.a26n-chip-row { display: flex; justify-content: flex-end; margin-top: 8px; }

/* ---------- buttons ---------- */

.a26n-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #031839; border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.a26n a.a26n-btn { color: #031839; }
.a26n-btn--clear { background: transparent; }
.a26n-btn--primary { min-height: 56px; border: 0; background: #FDC564; font-size: 17px; }
.a26n-btn--dark { min-height: 56px; border: 0; background: #223C66; font-size: 17px; }
.a26n a.a26n-btn--dark, .a26n-btn--dark { color: #FFFFFF; }
.a26n .a26n-btn--disabled, .a26n .a26n-btn[aria-disabled="true"] { border: 0; min-height: 56px; background: #F0F4FA; color: #687488; font-size: 17px; cursor: default; }
.a26n-btn-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: #223C66; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.a26n a.a26n-btn-link { color: #223C66; }
.a26n-btn-adjust { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin: 0 0 12px; padding: 8px 16px; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.a26n a.a26n-btn-adjust { color: #031839; }
.a26n-btn-round { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 50%; background: #FFFFFF; color: #031839; cursor: pointer; }
.a26n-note { font-size: 12px; line-height: 1.4; color: #687488; text-align: center; }

/* ---------- Ring meg ---------- */

.a26n-ring-panel { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 16px; background: #EFF7FF; border-radius: 16px; }
.a26n-ring-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
.a26n-ring-from { margin-top: 2px; font-size: 13px; line-height: 1.45; font-weight: 500; color: #354661; }
.a26n-nowrap { white-space: nowrap; }
/* Small square tiles in one row; three (after 15:00) or four share the width */
.a26n-slots { display: grid; grid-template-columns: repeat(var(--a26n-slots, 4), minmax(0, 1fr)); column-gap: 8px; row-gap: 10px; }
.a26n-slot-day { padding-bottom: 6px; border-bottom: 2px solid rgba(3, 24, 57, 0.08); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; white-space: nowrap; }
.a26n-slot { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 4px; border: 2px solid #FFFFFF; border-radius: 14px; background: #FFFFFF; box-shadow: var(--a26n-shadow-soft); color: #031839; cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out, transform 100ms ease-out; }
.a26n-slot:hover { border-color: rgba(24, 160, 251, 0.4); }
.a26n-slot:active { transform: scale(0.96); }
.a26n-slot:focus-visible { outline: 2px solid #031839; outline-offset: 2px; }
.a26n-slot.is-selected { border-color: #18A0FB; background: #18A0FB; color: #FFFFFF; box-shadow: 0 6px 16px rgba(24, 160, 251, 0.35); }
/* A time that has started while the page was open (renderRing) */
.a26n-slot-time { font-size: min(17px, 4.6vw); line-height: 1.2; font-weight: 800; white-space: nowrap; }
.a26n-ring-done { flex-direction: row; align-items: flex-start; gap: 10px; }
.a26n-ring-done:focus { outline: none; }
.a26n-ring-done svg { flex: none; margin-top: 2px; }
.a26n-ring-text { font-size: 15px; line-height: 1.45; font-weight: 700; }
.a26n-ring-line { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #354661; }
.a26n-ring-change { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 -12px; padding: 0; border: 0; background: none; color: #223C66; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* D34: «Er det noe du ikke liker med tilbudet?» under «Ring meg» (repeat customers), and its sheet */
/* Above «Ring meg» for repeat customers (R1–R4) */
.a26n-ring-help { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #354661; }
.a26n-feedback-link { display: flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin: 4px auto 0; color: #223C66; font-size: 13px; line-height: 1.45; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.a26n-feedback { max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
.a26n-feedback-reasons { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.a26n-feedback-reason { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1.5px solid rgba(3, 24, 57, 0.15); border-radius: 14px; font-size: 15px; line-height: 1.35; font-weight: 600; cursor: pointer; }
.a26n-feedback-reason:has(input:checked) { border-color: #18A0FB; background: #EFF7FF; }
.a26n-feedback-reason:has(input:focus-visible) { outline: 2px solid #18A0FB; outline-offset: 2px; }
.a26n-feedback-reason input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #18A0FB; }
.a26n-feedback-label { display: block; margin-top: 16px; font-size: 14px; line-height: 1.45; font-weight: 600; }
.a26n-feedback-label span { font-weight: 500; color: #687488; }
.a26n-feedback-text { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 14px; font: inherit; font-size: 16px; line-height: 1.45; color: #031839; resize: vertical; }
.a26n-feedback-close { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #223C66; font-size: 14px; font-weight: 600; text-decoration: none; }
.a26n-feedback .a26n-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.a26n-feedback-draw { margin-top: 16px; }
/* Banks still deciding: the yellow waiting notice, the spinner on the first line */
.a26n-feedback-waiting { align-items: flex-start; }
.a26n-feedback-waiting .a26n-spinner { margin-top: 3px; }
.a26n-feedback-waiting p { margin: 0; }
.a26n-feedback-waiting strong { display: block; }
.a26n-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- sections ---------- */

.a26n-section { display: flex; flex-direction: column; gap: 16px; }
.a26n-section-intro { display: flex; flex-direction: column; gap: 8px; }
.a26n-h2 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.a26n-text { font-size: 14px; line-height: 1.45; color: #354661; }
.a26n-text--center { text-align: center; }
.a26n-kicker { font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #354661; }
.a26n-kicker--muted { color: #687488; }
.a26n-kicker--gap { margin-top: 16px; }

.a26n-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-bottom: var(--a26n-line); }
.a26n-step:last-child { border-bottom: 0; }
.a26n-step-n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #EFF7FF; color: #223C66; font-size: 13px; font-weight: 800; }
.a26n-step-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
.a26n-step-text { margin-top: 2px; font-size: 14px; line-height: 1.45; color: #354661; }
.a26n-step-plain { font-size: 15px; line-height: 1.45; font-weight: 500; }
.a26n-qa { padding: 12px 0; border-bottom: var(--a26n-line); }
.a26n-qa:last-child { border-bottom: 0; }

/* ---------- Vis detaljer ---------- */

.a26n-details { display: flex; flex-direction: column; gap: 4px; margin: -12px 0 0; }
.a26n-details-toggle { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: #223C66; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.a26n a.a26n-details-toggle { color: #223C66; }
.a26n-details-toggle svg { transition: transform 200ms ease-out; }
.a26n-details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.a26n-details-body { display: flex; flex-direction: column; gap: 8px; }
.a26n-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 12px 0; border-bottom: var(--a26n-line); }
.a26n-box > .a26n-row:last-child { border-bottom: 0; }
.a26n-box--sum > .a26n-row:last-of-type { border-bottom: var(--a26n-line); }
.a26n-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: #18A0FB; }
.a26n-dot--out { background: #F0F4FA; box-shadow: inset 0 0 0 1.5px rgba(3, 24, 57, 0.15); }
.a26n-dot--rest { background: #ADB7C5; }
.a26n-row-name { font-size: 15px; line-height: 1.35; font-weight: 600; }
.a26n-row-meta { margin-top: 2px; font-size: 13px; line-height: 1.5; color: #687488; }
.a26n-row-meta + .a26n-row-meta { margin-top: 0; }
.a26n-row-amount { font-size: 15px; line-height: 1.35; font-weight: 700; text-align: right; white-space: nowrap; }
.a26n-row-amount small { display: block; font-size: 12px; font-weight: 400; color: #687488; }
.a26n-tag { display: inline-block; margin-top: 4px; padding: 0 6px; border-radius: 4px; background: #FDECC8; color: #031839; font-size: 11px; line-height: 18px; font-weight: 700; white-space: nowrap; }
.a26n-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 2px solid #031839; font-size: 15px; font-weight: 700; }
.a26n-sum-muted { font-size: 13px; font-weight: 400; color: #687488; }
.a26n-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.a26n-fact-box { padding: 12px 16px; background: #FFFFFF; border: 1.5px solid #9ED7FD; border-radius: 16px; }
.a26n-fact-box-label { font-size: 12px; line-height: 1.5; color: #687488; }
.a26n-fact-box-value { margin-top: 2px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.a26n-fact-box-value small { display: block; font-size: 12px; font-weight: 400; color: #687488; }
.a26n-reservation { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #354661; }

/* ---------- bank list ---------- */

.a26n-banks { display: flex; flex-direction: column; gap: 12px; }
.a26n-bank { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 16px; box-shadow: var(--a26n-shadow-soft); cursor: pointer; }
.a26n-bank input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #18A0FB; }
.a26n-bank-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.a26n-bank-name { font-size: 15px; line-height: 1.4; font-weight: 700; }
.a26n-bank-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; color: #687488; }
.a26n-bank-main { font-size: 16px; line-height: 1.35; font-weight: 700; }
.a26n-bank-sub { font-size: 12px; line-height: 1.4; color: #687488; }
.a26n-bank-total { font-size: 13px; line-height: 1.4; font-weight: 600; }
/* D32: the choice's cards, shorter than the bank list's: three take about the room the two old ones did */
.a26n-bank--choice { padding: 14px 16px; }
.a26n-bank--choice .a26n-bank-body { gap: 4px; }
.a26n-choice-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.a26n-choice-title .a26n-badge { align-self: center; }
.a26n-badge { align-self: flex-start; padding: 1px 8px; border-radius: 6px; background: #FDC564; color: #031839; font-size: 12px; line-height: 1.5; font-weight: 700; }
.a26n-badge--next { margin-left: 6px; padding: 1px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }

.a26n-status-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 1.45; font-weight: 600; text-align: center; }
.a26n-status-line svg { flex: none; }
.a26n-draw { padding: 12px 16px; border: 1.5px dashed rgba(3, 24, 57, 0.25); border-radius: 16px; font-size: 14px; line-height: 1.45; color: #354661; }

.a26n-footer { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(3, 24, 57, 0.1); font-size: 13px; line-height: 1.5; color: #354661; }
.a26n-footer--bottom { margin-top: auto; }
.a26n-footer svg { color: #18A0FB; }

/* ---------- sticky dock ---------- */

/* The white dock spans the whole screen; its content keeps to the 430 px column (padding % is of the viewport here) */
.a26n-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px max(24px, calc(50% - 191px)) 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: #FFFFFF; box-shadow: 0 -8px 24px rgba(3, 24, 57, 0.1); transition: transform 480ms var(--a26n-ease); }
.a26n-dock .a26n-note { margin-top: 8px; }
.a26n-dock--adjust { padding-top: 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.a26n-dock-text { font-size: 13px; line-height: 1.45; color: #354661; }
.a26n-dock-text + .a26n-btn { margin-top: 12px; }
.a26n-dock .a26n-btn-link { margin-top: 4px; }

/* ---------- outcome cards (manual, rejected, expired, closed) ---------- */

.a26n-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #EFF7FF; color: #18A0FB; }
.a26n-icon--muted { background: #F0F4FA; color: #687488; }
.a26n-icon--warn { color: #FA8331; }
.a26n-icon--draw { background: #FDC564; color: #031839; }
.a26n-outcome-eyebrow { margin-top: 16px; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; }
.a26n-outcome-title { margin-top: 4px; font-size: 26px; line-height: 1.2; font-weight: 800; }
.a26n-outcome-text { margin-top: 10px; font-size: 15px; line-height: 1.5; font-weight: 500; color: #354661; }
.a26n-outcome-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.a26n-outcome-note { margin-top: 20px; padding-top: 16px; border-top: var(--a26n-line); font-size: 14px; line-height: 1.45; color: #354661; }

/* ---------- adjust (Endre løpetid eller lånebeløp) ---------- */

/* The top card shrinks with the scroll: --a26n-p goes from 0 (open) to 1 (compact bar), set by the controller on every
   frame. Every size below is linear in it, so the card's height falls exactly as far as the page scrolls. */
.a26n-adjust-top { --a26n-p: 0; --a26n-shadow: 0; position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: calc(16px - 8px * var(--a26n-p)) max(16px, calc(50% - 199px)) calc(12px * var(--a26n-p)); }
/* The night behind the compact bar, hidden under the page's own band until the band scrolls away */
.a26n-adjust-top::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: -1; height: var(--a26n-bar, 0px); background: #031839; box-shadow: 0 8px 20px rgba(3, 24, 57, calc(0.18 * var(--a26n-shadow))); }
.a26n-collapse { max-height: calc(var(--a26n-open, 400px) * (1 - var(--a26n-p))); opacity: calc(1 - var(--a26n-p)); overflow: hidden; }
.a26n-adjust-top.is-compact .a26n-collapse { visibility: hidden; }
.a26n-adjust-card { display: flex; flex-direction: column; padding: calc(24px - 12px * var(--a26n-p)) calc(20px - 2px * var(--a26n-p)); background: #FFFFFF; border-radius: calc(24px - 6px * var(--a26n-p)); box-shadow: var(--a26n-shadow-card); }
.a26n-adjust-title { font-size: 22px; line-height: 1.2; font-weight: 800; }
.a26n-adjust-line { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #354661; }
/* The number shrinks to the card on narrow phones, «ca.» and the warning included: «ca. 10 437 kr» is about 4.9 em */
.a26n-adjust-figure { --a26n-fit: 0px; container-type: inline-size; position: relative; display: flex; align-items: center; gap: 10px; margin-top: calc(20px * (1 - var(--a26n-p))); }
.a26n-adjust-figure:has(.a26n-adjust-fit:not([hidden])) { --a26n-fit: 44px; }
.a26n-adjust-number { --a26n-num: min(56px, calc((100cqi - var(--a26n-fit)) / 4.9)); font-size: calc(var(--a26n-num) * (1 - var(--a26n-p)) + 34px * var(--a26n-p)); line-height: 1; font-weight: 800; white-space: nowrap; }
/* The selection is more than the bank lends: a warning beside the number, its explanation on tap */
.a26n-adjust-fit { flex: none; display: inline-flex; align-items: center; justify-content: center; width: calc(34px - 6px * var(--a26n-p)); height: calc(34px - 6px * var(--a26n-p)); margin: 0; padding: 0; border: 0; border-radius: 999px; background: #FFF4E0; cursor: pointer; }
.a26n-adjust-fit[hidden] { display: none; }
.a26n-adjust-fit[data-state="info"] { background: #EFF7FF; }
.a26n-adjust-fit[data-state="warn"] .a26n-fit-info, .a26n-adjust-fit[data-state="info"] .a26n-fit-warn { display: none; }
.a26n-adjust-fit:focus-visible { outline: 2px solid #18A0FB; outline-offset: 2px; }
.a26n-adjust-fit-note { position: absolute; top: calc(100% + 10px); left: -8px; right: -8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; background: #FFF4E0; box-shadow: var(--a26n-shadow-card); font-size: 14px; line-height: 1.45; font-weight: 500; color: #354661; white-space: normal; }
.a26n-adjust-fit-note[hidden] { display: none; }
.a26n-adjust-fit-note[data-state="info"] { background: #EFF7FF; }
/* A partial offer on «Endre»: selected against what the bank lends */
.a26n-meter { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--a26n-shadow-soft); }
.a26n-meter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.a26n-meter-head p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.a26n-meter-head p:last-child { text-align: right; }
.a26n-meter-label { font-size: 13px; line-height: 1.4; font-weight: 500; color: #687488; }
.a26n-meter-value { font-size: 17px; line-height: 1.3; font-weight: 800; color: #031839; white-space: nowrap; }
.a26n-meter-track { height: 8px; border-radius: 999px; background: #E4EAF2; overflow: hidden; }
.a26n-meter-fill { height: 100%; border-radius: inherit; background: #18A0FB; }
.a26n-meter.is-over .a26n-meter-fill { background: #FA8331; }
.a26n-meter.is-over .a26n-meter-head p:first-child .a26n-meter-value { color: #C2410C; }
.a26n-adjust-number.is-empty { color: #687488; }
.a26n-adjust-pulse { display: inline-block; margin-left: -6px; padding: 2px 6px; border-radius: 10px; background-color: rgba(255, 233, 168, 0); transition: background-color 700ms ease-out; }
.a26n-adjust-pulse.is-on { background-color: #FFE9A8; transition: background-color 80ms ease-out; }
.a26n-adjust-ca { margin-right: 0.25em; font-size: 0.44em; font-weight: 600; color: #687488; }
.a26n-adjust-kr { margin-left: 0.27em; font-size: 0.55em; font-weight: 700; color: #687488; }
.a26n-adjust-under { margin-top: calc(6px - 4px * var(--a26n-p)); font-size: calc(15px - 2px * var(--a26n-p)); line-height: 1.45; font-weight: 500; color: #354661; }
.a26n-slider-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
/* The fill is measured against 1–15 years, so it matches the thumb (SPESIFIKASJON 4.5, point 5) */
.a26n-slider { flex: 1 1 auto; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.a26n-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, #18A0FB var(--a26n-progress, 50%), #C7CFDA var(--a26n-progress, 50%)); }
.a26n-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 2px solid #18A0FB; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 4px rgba(3, 24, 57, 0.25); }
.a26n-slider::-moz-range-track { height: 6px; border-radius: 999px; background: #C7CFDA; }
.a26n-slider::-moz-range-progress { height: 6px; border-radius: 999px; background: #18A0FB; }
.a26n-slider::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid #18A0FB; border-radius: 50%; background: #FFFFFF; }
.a26n-slider:focus-visible { outline: 2px solid #031839; outline-offset: 4px; border-radius: 999px; }
.a26n-slider-scale { position: relative; height: 20px; margin: 6px 56px 0; font-size: 12px; line-height: 20px; color: #687488; }
.a26n-slider-scale span { position: absolute; }
.a26n-slider-mark { transform: translateX(-50%); font-weight: 700; color: #031839; }

.a26n-adjust-main { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; padding: 32px 24px 260px; }

.a26n-loan { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 16px 0; border-bottom: var(--a26n-line); }
.a26n-loan:last-child { border-bottom: 0; }
.a26n-loan .a26n-dot { margin-top: 7px; }
.a26n-loan.is-off .a26n-dot { background: transparent !important; border: 1.5px dashed #939FB0; }
.a26n-loan-name { font-size: 15px; line-height: 1.35; font-weight: 700; }
.a26n-loan-monthly { margin-top: 4px; font-size: 22px; line-height: 1.2; font-weight: 800; }
.a26n-loan-monthly span { margin-left: 6px; font-size: 14px; font-weight: 500; color: #354661; }
.a26n-loan-meta { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #687488; }
.a26n-loan-off-note { display: none; margin-top: 6px; font-size: 13px; line-height: 1.45; color: #354661; }
.a26n-loan.is-off .a26n-loan-name, .a26n-loan.is-off .a26n-loan-monthly, .a26n-loan.is-off .a26n-loan-monthly span { color: #687488; }
.a26n-loan.is-off .a26n-loan-off-note { display: block; }
/* A partial offer: what the amount covers, the highest rate first */
/* «Dekkes» stays quiet; what doesn't fit gets a chip, so it stands out in a long list */
.a26n-loan-cover { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; line-height: 1.4; font-weight: 700; color: #354661; }
.a26n-loan-cover[hidden] { display: none; }
.a26n-loan-cover[data-state="part"], .a26n-loan-cover[data-state="none"] { margin-top: 8px; padding: 3px 10px; border-radius: 8px; color: #031839; }
.a26n-loan-cover[data-state="part"] { background: #FFF4E0; }
.a26n-loan-cover[data-state="none"] { background: #F0F4FA; box-shadow: inset 0 0 0 1px rgba(3, 24, 57, 0.12); }
.a26n-loan-cover svg { flex: none; }
.a26n-switch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; cursor: pointer; }
.a26n-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.a26n-switch-track { position: relative; display: block; width: 48px; height: 28px; border-radius: 999px; background: #18A0FB; transition: background 160ms ease-out; }
.a26n-switch-knob { position: absolute; top: 3px; left: 23px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(3, 24, 57, 0.25); transition: left 160ms ease-out; }
.a26n-switch-label { font-size: 12px; line-height: 1.3; font-weight: 700; color: #223C66; }
.a26n-switch input:not(:checked) + .a26n-switch-track { background: #C7CFDA; }
.a26n-switch input:not(:checked) + .a26n-switch-track .a26n-switch-knob { left: 3px; }
.a26n-switch input:not(:checked) ~ .a26n-switch-label { color: #687488; }
.a26n-switch input:focus-visible + .a26n-switch-track { outline: 2px solid #031839; outline-offset: 2px; }
.a26n-message { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--a26n-shadow-soft); }
.a26n-message svg { flex: none; margin-top: 1px; }
.a26n-message-title { font-size: 15px; line-height: 1.4; font-weight: 700; }

/* ---------- receipt and confirmation ---------- */

.a26n-receipt-title { margin-top: 16px; font-size: 24px; line-height: 1.2; font-weight: 800; }
.a26n-receipt-text { margin-top: 8px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
.a26n-receipt-request { margin-top: 20px; padding-top: 20px; border-top: var(--a26n-line); }
.a26n-receipt-amount { margin-top: 4px; font-size: 17px; line-height: 1.4; font-weight: 800; }
.a26n-form { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--a26n-shadow-soft); }
.a26n-form label { font-size: 14px; line-height: 1.4; font-weight: 700; }
.a26n-form textarea { width: 100%; padding: 12px; border: 1.5px solid rgba(3, 24, 57, 0.25); border-radius: 12px; background: #FFFFFF; color: #031839; font-size: 15px; line-height: 1.45; resize: vertical; }
.a26n-form .a26n-btn { margin-top: 4px; }
.a26n-confirm-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.a26n-confirm-title { margin-top: 12px; font-size: 28px; line-height: 1.15; font-weight: 800; }
.a26n-confirm-lead { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
.a26n-confirm-lead p:first-child { font-size: 17px; line-height: 1.4; font-weight: 800; color: #031839; }
.a26n-progress { margin-top: 20px; padding: 4px 16px; background: #EFF7FF; border-radius: 16px; }
.a26n-progress .a26n-step { align-items: start; }
.a26n-progress-done { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #18A0FB; color: #FFFFFF; }
.a26n-progress-next { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; color: #223C66; font-size: 13px; font-weight: 800; }
.a26n-confirm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.a26n-confirm-actions .a26n-note { font-size: 13px; font-weight: 500; color: #354661; }
.a26n-choice-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: var(--a26n-line); }
.a26n-choice-row:last-child { border-bottom: 0; }
.a26n-choice-row dt { font-size: 13px; line-height: 1.5; color: #687488; }
.a26n-choice-row dd { font-size: 15px; line-height: 1.4; font-weight: 700; }
.a26n-confirm-note { margin-top: 12px; padding-top: 12px; border-top: var(--a26n-line); font-size: 13px; line-height: 1.45; color: #354661; }
.a26n-callback-card { display: flex; align-items: flex-start; gap: 12px; }
.a26n-callback-card .a26n-icon { flex: none; width: 36px; height: 36px; }
.a26n-callback-card p { margin-top: 2px; font-size: 15px; line-height: 1.45; font-weight: 700; }
.a26n-callback-card p + p { margin-top: 4px; font-size: 14px; font-weight: 400; color: #354661; }

/* ---------- better offer sheet and toast ---------- */

.a26n-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(3, 24, 57, 0.55); }
.a26n-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; display: flex; flex-direction: column; max-width: 430px; margin: 0 auto; padding: 12px 24px 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); background: #FFFFFF; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 32px rgba(3, 24, 57, 0.16); }
.a26n-sheet-grip { align-self: center; width: 40px; height: 4px; margin-bottom: 20px; border-radius: 2px; background: rgba(3, 24, 57, 0.15); }
.a26n-sheet-title { margin-top: 16px; font-size: 24px; line-height: 1.25; font-weight: 800; }
.a26n-sheet-text { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #354661; }
.a26n-sheet-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ---------- loader (live_offers.html.erb) and the morph into the result ---------- */

/* The night (.a26-night--page, advent_2026_campaign.css) covers the whole page; the screens inside it are see-through, so
   the far snow behind them shows */
.a26n-live { min-height: 100vh; }
.a26n .a26n { background: transparent; }
.a26n-loader { position: fixed; inset: 0; z-index: 40; overflow: hidden; }
.a26n-loader-band { position: absolute; top: 0; left: 0; right: 0; height: 100%; overflow: hidden; transition: height 700ms var(--a26n-ease); }
.a26n-loader-logo { position: absolute; top: 16px; left: 0; right: 0; display: flex; align-items: center; max-width: 430px; height: 40px; margin: 0 auto; padding: 0 24px; }
.a26n-loader-column { position: absolute; left: 0; right: 0; top: 367px; display: flex; flex-direction: column; align-items: center; max-width: 430px; margin: 0 auto; padding: 0 16px; transition: top 700ms var(--a26n-ease); }
.a26n-loader-card { position: relative; flex: none; width: 14px; height: 14px; border-radius: 7px; background: #FFFFFF; box-shadow: var(--a26n-shadow-card); overflow: hidden; transform: scale(0); transition: transform 380ms var(--a26n-pop), width 480ms var(--a26n-ease), height 700ms var(--a26n-ease), border-radius 700ms var(--a26n-ease), opacity 420ms ease-out; }
/* min-width keeps the text from reflowing while the card grows, but never wider than the finished card (the screen
   less the column's 16 px each side), or a 375 px phone clips the right padding */
.a26n-loader-body { position: absolute; top: 0; left: 0; right: 0; min-width: min(358px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 20px; padding: 24px; opacity: 0; transition: opacity 320ms ease-out; }
.a26n-loader-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.a26n-loader-label, .a26n-loader-pct { font-size: 17px; line-height: 1.35; font-weight: 700; }
.a26n-loader-pct { font-weight: 800; white-space: nowrap; }
.a26n-loader-track { height: 8px; margin-top: 12px; border-radius: 999px; background: #EFF7FF; overflow: hidden; }
.a26n-loader-fill { width: 1%; height: 8px; border-radius: 999px; background: #18A0FB; transition: width 240ms linear; }
.a26n-loader-steps { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: var(--a26n-line); }
.a26n-loader-step { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; color: #687488; transition: color 200ms ease-out; }
.a26n-loader-step[data-state="active"] { font-weight: 700; color: #031839; }
.a26n-loader-step[data-state="done"] { color: #354661; }
.a26n-loader-step[data-state="pending"] { display: none; }
.a26n-loader-step:not([data-state="pending"]) { animation: a26n-step-in 320ms var(--a26n-ease) both; }
@keyframes a26n-step-in { from { opacity: 0; transform: translateY(6px); } }
.a26n-loader-icon { position: relative; flex: none; width: 20px; height: 20px; }
.a26n-loader-icon svg { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 200ms ease-out, transform 320ms var(--a26n-pop); }
.a26n-loader-step[data-state="pending"] .a26n-loader-pending,
.a26n-loader-step[data-state="active"] .a26n-loader-spinner { opacity: 1; }
.a26n-loader-done { transform: scale(0.6); }
.a26n-loader-step[data-state="done"] .a26n-loader-done { opacity: 1; transform: scale(1); }
.a26n-loader-spinner { animation: a26n-spin 900ms linear infinite; transform-origin: 50% 50%; }
@keyframes a26n-spin { to { transform: rotate(360deg); } }

/* Phases, set by the loader controller: dot → line → card → loading → morph → reveal */
.a26n-loader[data-phase="dot"] .a26n-loader-card { transform: scale(1); }
.a26n-loader[data-phase="line"] .a26n-loader-card { width: 100%; transform: scale(1); }
.a26n-loader[data-phase="card"] .a26n-loader-column,
.a26n-loader[data-phase="loading"] .a26n-loader-column { top: 268px; }
.a26n-loader[data-phase="card"] .a26n-loader-card,
.a26n-loader[data-phase="loading"] .a26n-loader-card { width: 100%; height: var(--a26n-loader-height, 148px); border-radius: 24px; transform: scale(1); }
.a26n-loader[data-phase="loading"] .a26n-loader-card { transition-duration: 380ms, 480ms, 360ms, 700ms, 420ms; }
.a26n-loader[data-phase="loading"] .a26n-loader-body { opacity: 1; }
.a26n-loader[data-phase="morph"] .a26n-loader-band,
.a26n-loader[data-phase="reveal"] .a26n-loader-band { height: var(--a26n-target-band, 240px); }
.a26n-loader[data-phase="morph"] .a26n-loader-column,
.a26n-loader[data-phase="reveal"] .a26n-loader-column { top: var(--a26n-target-top, 80px); }
.a26n-loader[data-phase="morph"] .a26n-loader-card,
.a26n-loader[data-phase="reveal"] .a26n-loader-card { width: 100%; height: var(--a26n-target-height, 380px); border-radius: 24px; transform: scale(1); }
.a26n-loader[data-phase="morph"] .a26n-loader-body,
.a26n-loader[data-phase="reveal"] .a26n-loader-body { opacity: 0; transition: opacity 180ms ease-out; }
/* The page fades in under the loader first, then the loader fades away (REVEAL in the loader controller). Both half
   transparent at once let the page's pale background through the blue band, which blinked */
.a26n-loader[data-phase="reveal"] { opacity: 0; transition: opacity 280ms ease-out 180ms; pointer-events: none; }
.a26n-loader[data-phase="done"] { display: none; }
/* The loader's logo takes the page's width during the morph (smaller on narrow phones beside «Påmeldt») */
.a26n-loader-logo .a26n-logo { height: auto; transition: width 700ms var(--a26n-ease); }
.a26n-loader[data-phase="morph"] .a26n-loader-logo .a26n-logo,
.a26n-loader[data-phase="reveal"] .a26n-loader-logo .a26n-logo { width: var(--a26n-target-logo, 100px); }

/* The result waits under the loader until the card has reached it */
.a26n-result-waiting { opacity: 0; pointer-events: none; }
.a26n-result-reveal { opacity: 1; transition: opacity 180ms ease-out; }
.a26n-result-waiting .a26n-dock { transform: translateY(110%); }

/* Outcome card on its own (Lukk → in the draw) */
.a26n-swap-out { opacity: 0; transition: opacity 160ms ease-out; }
.a26n-swap-in { animation: a26n-fade-in 320ms ease-out; }
@keyframes a26n-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .a26n *, .a26n *::before, .a26n *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .a26n-loader-spinner { animation: none; }
}

/* ---------- logo ---------- */

.a26n-logo svg, .a26n-footer-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.a26n-footer-logo { display: block; width: 72px; color: #18A0FB; }

/* Forslag (verkstedet 8.10, E4): delvis dekning. «I dag» (grå) og «Med {bank}» (blå) rett over hverandre, gult felt for
   besparelsen. Hierarki: «Med {bank}» sterkest, «I dag» dempet, forklaringer minst. Mål fra design/v3/skisser/delvis/ux.html */
.a26n-lead--cols { margin: 0 0 16px; }
.a26n-e4 { margin: 0 0 20px; }
.a26n-e4-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.3; color: #031839; }
.a26n-e4-h b { font-weight: 800; white-space: nowrap; }
/* The label («Med {bank}», «I dag») wraps on narrow phones; the amount beside it doesn't */
.a26n-e4-h > span b { white-space: normal; }
.a26n-e4-h--svak { margin-bottom: 6px; font-size: 13px; color: #354661; }
.a26n-e4-h--svak b { font-weight: 600; color: #354661; }
.a26n-e4-h i { font-style: normal; font-size: 12px; font-weight: 500; color: #687488; }
.a26n-e4-mnd { margin-left: 1px; font-size: 12px; font-weight: 500; color: #687488; }
.a26n-e4-par { position: relative; margin-bottom: 5px; }
.a26n-e4-bar { display: flex; height: 26px; }
.a26n-e4-h--ny { margin: 16px 0 6px; }
.a26n-e4-seg { border-radius: 4px; }
.a26n-e4-seg--idag { background: #939FB0; }
.a26n-e4-seg--bank { background: #18A0FB; }
/* Designer (8.10): besparelsen er et stiplet gult felt, med en svak gul fyll så den synes på hvitt */
.a26n-e4-seg--spar { margin-left: 2px; background: #FFF4E0; border: 1.5px dashed #FDC564; box-shadow: none !important; }
.a26n-e4-strek { position: absolute; top: -4px; bottom: -3px; width: 0; border-left: 2px dashed rgba(3, 24, 57, 0.55); transform: translateX(-1px); }
.a26n-e4-u { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 2px; min-height: 18px; }
.a26n-e4-n { flex: 1 1 auto; min-width: 0; white-space: normal; font-size: 12px; font-weight: 500; color: #687488; }

/* Forslag (verkstedet 8.10): knappen til banken i kortet med «Ring meg» som telefonikon, og «Endre» som dempet lenke */
.a26n-cta { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.a26n-cta .a26n-btn--primary { flex: 1 1 auto; }
.a26n-cta-note { margin: 8px 0 0; text-align: center; }
.a26n-btn-secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 14px 0 0; padding: 10px 16px; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 999px; background: #FFFFFF; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.a26n a.a26n-btn-secondary { color: #223C66; }
.a26n a.a26n-btn-secondary:hover { border-color: rgba(3, 24, 57, 0.45); }
/* Forslag (verkstedet 8.10): i «Hva skjer videre?» og «Godt å vite» står titlene, og teksten under hver er lukket fra start */
.a26n-fold { flex: 1 1 auto; min-width: 0; }
.a26n-fold-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; list-style: none; cursor: pointer; }
.a26n-fold-sum::-webkit-details-marker { display: none; }
.a26n-fold-sum .a26n-step-title { margin: 0; }
.a26n-fold-pil { flex: none; color: #687488; transition: transform 200ms ease-out; }
.a26n-fold[open] .a26n-fold-pil { transform: rotate(180deg); }
.a26n-fold .a26n-step-text { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .a26n-fold-pil { transition: none; } }
.a26n-cta-facts { margin: 4px 0 0; font-size: 12px; line-height: 1.4; text-align: center; color: #687488; }
/* Forslag (verkstedet 8.10): hierarki i «Velg det som passer deg». Etikett liten, beløpet i måneden størst, totalen dempet,
   detaljene minst */
.a26n-bank--choice .a26n-choice-title .a26n-bank-name { font-size: 13px; font-weight: 700; color: #354661; }
.a26n-choice-amount { font-size: 20px; line-height: 1.25; font-weight: 800; color: #031839; }
.a26n-choice-total { font-size: 13px; line-height: 1.4; font-weight: 500; color: #354661; }
/* Forslag (verkstedet 8.10): «Ring meg» som fast, rund knapp nederst til høyre */
.a26n-ring-fab { position: fixed; z-index: 30; right: max(16px, calc(50% - 199px)); bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; color: #031839; box-shadow: 0 4px 16px rgba(3, 24, 57, 0.18), inset 0 0 0 1.5px rgba(3, 24, 57, 0.12); }
.a26n a.a26n-ring-fab { color: #031839; }
.a26n-ring-fab[aria-expanded="true"] { background: #18A0FB; color: #FFFFFF; }
/* The bar with the button to the bank, fixed at the bottom, and the round «Ring meg» on top of it, in one fixed column. Out
   (data-bar="out"): the bar below the screen and the round button down at its own place (20 px above the safe area);
   --a26n-bar-h is the visible bar's height (measureBar). Clicks pass through the empty part of the column */
.a26n-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.a26n-bottom > * { pointer-events: auto; }
.a26n-bottom .a26n-ring-fab { position: static; flex: none; align-self: flex-end; margin: 0 max(16px, calc(50% - 199px)) 12px 0; transition: transform 320ms var(--a26n-ease); }
.a26n-bottom .a26n-dock { position: static; transition: transform 320ms var(--a26n-ease), visibility 0s; }
.a26n-bottom[data-bar="out"] .a26n-ring-fab { transform: translateY(calc(var(--a26n-bar-h, 0px) - 8px - env(safe-area-inset-bottom))); }
.a26n-bottom[data-bar="out"] .a26n-dock { transform: translateY(calc(100% + 32px)); visibility: hidden; transition: transform 320ms var(--a26n-ease), visibility 0s linear 320ms; }
.a26n-result-waiting .a26n-bottom[data-bar] .a26n-dock { transform: translateY(calc(100% + 32px)); visibility: hidden; }
.a26n-screen:has(.a26n-bottom) .a26n-main { padding-bottom: 240px; }
@media (prefers-reduced-motion: reduce) { .a26n-bottom .a26n-ring-fab, .a26n-bottom .a26n-dock { transition: none; } }
/* Forslag (verkstedet 8.10): «Ring meg» åpner tidspunktene i Max' bunnark (.a26n-backdrop + .a26n-sheet). Arket går godt opp
   (minst 70 % av skjermen), én rad per dag, store tidspunkter og luft mellom delene */
.a26n-ring-sheet { max-height: 92vh; overflow-y: auto; padding-top: 12px; padding-left: 24px; padding-right: 24px; }
.a26n-sheet-close { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F0F4FA; color: #031839; cursor: pointer; }
.a26n-sheet-close:focus-visible { outline: 2px solid #18A0FB; outline-offset: 2px; }
.a26n-ring-sheet .a26n-ring-panel { gap: 28px; margin: 12px 0 0; padding: 0; background: transparent; }
.a26n-ring-sheet .a26n-ring-title, .a26n-ring-sheet .a26n-ring-text { padding-right: 52px; font-size: 26px; line-height: 1.2; font-weight: 800; color: #031839; }
.a26n-ring-sheet .a26n-ring-from { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #354661; }
.a26n-ring-days { display: flex; flex-direction: column; gap: 24px; }
.a26n-ring-day .a26n-slot-day { margin: 0 0 10px; padding: 0; border: 0; }
.a26n-ring-day-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.a26n-ring-sheet .a26n-slot { height: 64px; border: 1.5px solid #DCE2EA; border-radius: 16px; background: #FFFFFF; box-shadow: none; }
.a26n-ring-sheet .a26n-slot-time { font-size: 18px; }
.a26n-ring-sheet .a26n-slot:hover { border-color: #18A0FB; }
.a26n-ring-sheet .a26n-slot.is-selected { border-color: #18A0FB; background: #18A0FB; color: #FFFFFF; }
.a26n-ring-self { margin: 4px 0 0; font-size: 14px; color: #687488; text-align: center; }
.a26n-ring-self a { font-weight: 700; color: #223C66; }
.a26n-ring-sheet .a26n-ring-done { gap: 14px; }
.a26n-ring-sheet .a26n-ring-done svg { width: 32px; height: 32px; margin-top: 0; }
.a26n-ring-sheet .a26n-ring-line { font-size: 15px; }
/* Forslag (verkstedet 8.10): «Tilbudene fra bankene» som kompakte rader */
.a26n-banks:has(.a26n-bank-kompakt) { gap: 8px; }
.a26n-bank:has(.a26n-bank-kompakt) { padding: 12px 16px; }
.a26n-bank-kompakt { gap: 2px; min-width: 0; flex: 1; }
.a26n-bank-rad { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.a26n-bank-hvem { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
/* Øyvind 8.10: banknavnet ble kuttet («Inst…»). Navnet brytes heller, og «Anbefalt» går på egen linje om det ikke er plass */
.a26n-bank-kompakt .a26n-bank-name { font-size: 15px; font-weight: 700; }
.a26n-bank-kompakt .a26n-bank-hvem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.a26n-bank-belop { font-size: 16px; font-weight: 800; white-space: nowrap; color: #031839; }
/* Forslag (verkstedet 8.10): tidspunktene som en liste med rader og valgsirkel; bekreft med knappen */
.a26n-ring-sheet .a26n-ring-title { font-size: 24px; }
.a26n-ring-list { display: flex; flex-direction: column; gap: 8px; }
.a26n-ring-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; border: 1.5px solid #DCE2EA; border-radius: 16px; background: #FFFFFF; color: #031839; text-align: left; cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out; }
.a26n-ring-row:hover { border-color: #18A0FB; }
.a26n-ring-row:focus-visible { outline: 2px solid #031839; outline-offset: 2px; }
.a26n-ring-row-day { width: 72px; font-size: 14px; font-weight: 600; color: #687488; }
.a26n-ring-row-time { flex: 1; font-size: 18px; font-weight: 800; }
.a26n-ring-row-dot { flex: none; width: 22px; height: 22px; border: 2px solid #ADB7C5; border-radius: 50%; }
.a26n-ring-row[aria-checked="true"] { border-color: #18A0FB; background: #EFF7FF; }
.a26n-ring-row[aria-checked="true"] .a26n-ring-row-dot { border: 7px solid #18A0FB; }
/* A time that has started (renderRing): greyed out and not tappable */
.a26n-ring-row:disabled { opacity: 0.4; cursor: default; pointer-events: none; }
.a26n-ring-confirm { width: 100%; }
/* Forslag (verkstedet 8.10): valgkortet er en ramme rundt radioen, den lovpålagte linjen og «Vis detaljer». Bare kortet som
   er valgt, viser «Vis detaljer» */
.a26n-choice-card { padding: 14px 16px; border: 2px solid #FFFFFF; border-radius: 16px; background: #FFFFFF; box-shadow: var(--a26n-shadow-soft); }
.a26n-choice-card .a26n-bank--choice { padding: 0; border: 0; background: none; box-shadow: none; }
.a26n-choice-legal { margin: 8px 0 0 32px; font-size: 12px; line-height: 1.45; color: #687488; }
.a26n-choice-legal--alene { margin: -24px 4px 0; text-align: center; }
.a26n-choice-card:not(:has(input:checked)) .a26n-choice-more { display: none; }
.a26n-choice-more .a26n-details { margin: 6px 0 0 32px; }
.a26n-details { gap: 0; margin: 0; padding: 0; background: none; box-shadow: none; }
.a26n-details .a26n-details-toggle { min-height: 36px; }
.a26n-details .a26n-details-body { padding: 8px 0 4px; }
.a26n-ring-sheet .a26n-ring-done .a26n-ring-text { font-size: 20px; line-height: 1.3; }

/* Øyvind 8.10 (Sak 11): «Behold det du har i dag» når tilbudet verken er lavere i måneden eller totalt */
.a26n-keep-title { margin: 4px 0 12px; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #031839; text-wrap: balance; }
.a26n-keep-next { margin: -12px 0 0; }
.a26n-keep-btn { margin-top: 20px; }
.a26n-step-alene { display: flex; align-items: center; min-height: 32px; margin: 0; }

/* Forslag 9.10 (loader-lista punkt 10): et senere, bedre tilbud som melding øverst i kortet. Tallet under endres ikke */
.a26n-better-notice { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px; background: #EFF7FF; }
.a26n-better-notice[hidden] { display: none; }
.a26n-better-notice-text { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; color: #031839; }
.a26n-better-notice-btn { align-self: flex-start; font-size: 14px; font-weight: 700; color: #223C66; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- on the night ----------
   The night covers the whole page, so everything that stands straight on it is light: headings white, running text a
   soft white, small print a grey-blue. Text inside a white surface keeps its dark colours */
.a26n :is(.a26n-h2, .a26n-status-line):not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *) { color: #FFFFFF; }
.a26n :is(.a26n-text, .a26n-draw, .a26n-footer):not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *) { color: #D5DCE8; }
.a26n :is(.a26n-note, .a26n-choice-legal):not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *) { color: #AEB9CB; }
.a26n :is(a.a26n-btn-link, .a26n-btn-link, .a26n-status-line a, .a26n-footer a, .a26n-text a):not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *) { color: #FFFFFF; }
.a26n :is(.a26n-status-line a, .a26n-footer a, .a26n-text a, a.a26n-btn-link):not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *):hover { color: #FFFFFF; }
.a26n-draw:not(:where(.a26n-card, .a26n-box, .a26n-dock, .a26n-choice-card, .a26n-sheet) *) { border-color: rgba(255, 255, 255, 0.3); }
.a26n-footer { border-top-color: rgba(255, 255, 255, 0.14); }
@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*.bg-custom-200 {
  background-color: #f0f4f8;
}
.bg-custom-400 {
  background-color: #bcccdc;
}
.bg-custom-500 {
  background-color: #829ab1;
}
.bg-custom-700 {
  background-color: #486581;
}*/
.bg-custom-100 {
  background-color: #fbb1d7;
}
.bg-custom-300 {
  background-color: #c794bf;
}
.bg-custom-500 {
  background-color: #9578a4;
}
.bg-custom-700 {
  background-color: #655d86;
}
.bg-custom-800 {
  background-color: #394365;
}
.bg-custom-900 {
  background-color: #102a43;
}

.bg-sunset-100 {
  background-color: #C4D0E1;
}

.bg-sunset-500 {
  background-color: #F5C570;
}

.bg-sunset-800 {
  background-color: #FA8331;
}

.border-sunset-500 {
  border-color: #F5C570;
}

.border-sunset-800 {
  border-color: #FA8331;
}

.bg-scoopr-sky {
  background: linear-gradient(to bottom, #D1ECFE, #E8F6FF);
}

.bg-scoopr-300 {
  background-color: #EFF7FF;
}

.bg-scoopr-400 {
  background-color: #223C66;
}

.text-scoopr-400 {
  color: #223C66;
}

.border-scoopr-400 {
  border-color: #223C66;
}

.bg-scoopr-500 {
  background-color: #18A0FB;
}

.bg-scoopr-600 {
  background-color: #354661;
}

.bg-scoopr-700 {
  background-color: #142e67;
}

.bg-scoopr-800 {
  background-color: #2a4376;
}

.bg-scoopr-900 {
  background-color: #031839;
}

.text-scoopr-500 {
  color: #18A0FB;
  fill: #18A0FB;
}

.text-scoopr-900 {
  color: #031839;
}

.text-scoopr-green-500 {
  color: #0DA951;
}

.border-scoopr-yellow-500 {
  border-color: #FDC564;
}

.border-scoopr-200 {
  border-color: #687488;
}

.border-scoopr-600 {
  border-color: #354661;
}

.divide-scoopr-200 > * + * {
  border-color: #687488;
}

.bg-scoopr-200 {
  background-color: #687488;
}

.bg-scoopr-yellow-500 {
  background-color: #FDC564;
}

.text-scoopr-200 {
  color: #687488;
}

.hover\:bg-scoopr-yellow-500:hover {
  background-color: #FDC564;
}

.to-scoopr-blue-600 {
  --tw-gradient-to: #295992 var(--tw-gradient-to-position);
}

.text-scoopr-yellow-500 {
  color: #FDC564;
}

.text-scoopr-yellow-600 {
  color: #56BA82;
}

.border-scoopr-yellow-600 {
  border-color: #56BA82;
}

.border-scoopr-100 {
  border-color: #F0F4FA;
}

.bg-scoopr-100 {
  background-color: #F0F4FA;
}

.text-custom-100 {
  color: #fbb1d7;
}
.text-custom-300 {
  color: #c794bf;
}
.text-custom-500 {
  color: #9578a4;
}
.text-custom-700 {
  color: #655d86;
}
.text-custom-800 {
  color: #394365;
}
.text-custom-900 {
  color: #102a43;
}

/* Add keyframes for the pop-up animation */
@keyframes pop-up {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-pop-up {
  animation: pop-up 0.5s ease-out forwards;
}

.animate-delay-250 {
  animation-delay: 0.25s;
}
.animate-delay-500 {
  animation-delay: 0.5s;
}
.animate-delay-750 {
  animation-delay: 0.75s;
}
.animate-delay-1000 {
  animation-delay: 1s;
}
.animate-delay-1500 {
  animation-delay: 1.5s;
}
.animate-delay-2000 {
  animation-delay: 2s;
}
.animate-delay-3000 {
  animation-delay: 3s;
}
.animate-delay-4000 {
  animation-delay: 4s;
}

.nunito-400 {
  font-family: "Nunito", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.nunito-600 {
  font-family: "Nunito", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.nunito-800 {
  font-family: "Nunito", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/*Chrome*/
/*@media screen and (-webkit-min-device-pixel-ratio:0) {
    input.custom-range {
      overflow: hidden;
      -webkit-appearance: none;
      background-color: #9a905d;
    }

    input.custom-range::-webkit-slider-runnable-track {
      height: 10px;
      -webkit-appearance: none;
      backgound-color: red;
      margin-top: -1px;
    }

    input.custom-range::-webkit-slider-thumb {
      width: 30px;
      -webkit-appearance: none;
      height: 30px;
      margin-top: -10px;
      cursor: ew-resize;
      background: #434343;
      box-shadow: 110px -10px -10px -10px #43e5f7;
    }

}*/
/** FF*/
/*input.custom-range::-moz-range-progress {
  background-color: #43e5f7;
}
input.custom-range::-moz-range-track {
  background-color: #9a905d;
}*/
/* IE*/
/*input.custom-range::-ms-fill-lower {
  background-color: #43e5f7;
}
input.custom-range::-ms-fill-upper {
  background-color: #9a905d;
}*/

/* Custom slider styling */
input.custom-range.white-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #FFFFFF, #FFFFFF) no-repeat, #e5e7eb;
  background-size: var(--progress, 100%) 100%;
  border-radius: 10px;
  outline: none;
}

input.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #18A0FB, #18A0FB) no-repeat, #e5e7eb;
  background-size: var(--progress, 100%) 100%;
  border-radius: 10px;
  outline: none;
}

input.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: url(https://i.postimg.cc/rsWZ3FqL/image-22.png) #18A0FB;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
/*  transform: rotate(90deg);*/

  border: 2px solid white;
  cursor: pointer;
}

input.custom-range::-moz-range-thumb {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: url(https://i.postimg.cc/rsWZ3FqL/image-22.png) #18A0FB;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
/*  transform: rotate(90deg);*/

  border: 2px solid white;
  cursor: pointer;
}

input.custom-range:active::-webkit-slider-thumb {
  transform: scale(1.1);
}

input.custom-range:active::-moz-range-thumb {
  transform: scale(1.1);
}

/* Custom scrollbar */
/* width */
/*::-webkit-scrollbar {
  width: 10px;
}*/

/* Track */
/*::-webkit-scrollbar-track {
  background: transparent;
}*/

/* Handle */
/*::-webkit-scrollbar-thumb {
  background: #354661;
  border-radius: 2px;
}*/

/* Handle on hover */
/*::-webkit-scrollbar-thumb:hover {
  background: #354661;
}*/

.flying {
  position: absolute;
  animation: fly var(--duration) linear infinite;
  will-change: transform;
}

@keyframes fly {
  0% {
    right: -10px;
    transform: translateX(100%);
  }
  100% {
    right: calc(100% + 10px);
  }
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

.mask-x-from-90 {
  /*mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-size: cover;*/

  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

:root {
  --ring-size: 54px;
  --ring-stroke: 4;
}

* { box-sizing: border-box; }

/* 9:16 story-like frame locked to 720/1280 ratio */
.story-container {
  position: relative;
  aspect-ratio: 720 / 1280;
  overflow: hidden;
  border-radius: 16px;
}

/* Countdown overlay (top-left) */
.countdown {
  position: absolute;
  top: 12px;
  left: 12px;
  width: var(--ring-size);
  height: var(--ring-size);
  pointer-events: none; /* never intercept taps/clicks */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}

.ring-svg { display: block; }

/* Circles */
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.35);
  stroke-width: var(--ring-stroke);
}
.ring-progress {
  fill: none;
  stroke: #fff;
  stroke-width: var(--ring-stroke);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.08s linear; /* smooth, but JS drives timing */
}

/* Centered number (not rotated) */
.ring-text {
  font-size: 16px;
  font-weight: 700;
  fill: #fff;
  dominant-baseline: middle;
  text-anchor: middle;
}

/*Custom fadein and fadeout animation*/

@layer utilities {
  @keyframes fadeInOut {
    0% {
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .animate-fade-in-out {
    animation: fadeInOut 5s ease-in-out forwards;
  }
}
/*
 * september_2026_campaign_new: the Scoopr 2026 live offers design (handover canvas, page v2).
 * Every rule is scoped to .s26n so nothing leaks into Hyperion or the other campaigns.
 * Colours: navy #031839, dark blue #223C66, blue #18A0FB, pale #EFF7FF and #F0F4FA,
 * text #354661 and #687488, yellow #FDC564, orange #FA8331, light blue #9ED7FD.
 */

.s26n {
  --s26n-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --s26n-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --s26n-shadow-card: 0 12px 32px rgba(3, 24, 57, 0.14);
  --s26n-shadow-soft: 0 4px 16px rgba(24, 160, 251, 0.08);
  --s26n-line: 1px solid rgba(3, 24, 57, 0.08);

  position: relative;
  min-height: 100vh;
  background: #EFF7FF;
  color: #031839;
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Resets carry no specificity (:where), so every component class below wins over them */
:where(.s26n) *, :where(.s26n) *::before, :where(.s26n) *::after { box-sizing: border-box; }
:where(.s26n) :where(h1, h2, h3, p, ol, ul, dl, dd) { margin: 0; }
:where(.s26n) :where(ol, ul) { padding: 0; list-style: none; }
:where(.s26n) button { font-family: inherit; }
:where(.s26n) a { color: #223C66; }
:where(.s26n) a:hover { color: #031839; }
.s26n [hidden] { display: none !important; }

/* ---------- page frame ---------- */

.s26n-screen { position: relative; min-height: 100vh; }
.s26n-band { position: absolute; top: 0; left: 0; right: 0; height: 240px; background: #18A0FB; }
.s26n-band--offer { height: 300px; }
.s26n-shell { position: relative; display: flex; flex-direction: column; min-height: 100vh; max-width: 430px; margin: 0 auto; }
.s26n-header { display: flex; flex-direction: column; padding: 16px 16px 0; }
.s26n-topbar { display: flex; align-items: center; justify-content: space-between; height: 40px; margin: 0 8px 24px; }
.s26n-topbar--offer { margin-bottom: 32px; }
/* The 44 px back button needs a 44 px row: the collapsing wrapper around it hides anything that sticks out */
.s26n-logo { display: block; width: 100px; height: 22px; color: #FFFFFF; }
.s26n-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.s26n a.s26n-pill { color: #031839; }
/* A bank still deciding: the same spinner as «Venter på svar» in «Tilbudene fra bankene», smaller */
.s26n-pill-waiting { display: inline-flex; }
.s26n-spinner--pill { width: 12px; height: 12px; }
/* Design «Kompakt ved 3 tilbud» (19.10): «Påmeldt» before the offer count, on a darker blue (navy 30 % over the band, AA with
   white). september_2026_campaign_new_draw_controller opens the page with it long («Påmeldt i trekningen», .s26n-draw-long)
   and the count as a spinner, then shrinks it; .s26n-draw-played holds the transitions while it does */
.s26n-draw-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin-left: auto; padding: 0 12px 0 6px; border-radius: 999px; background: #1277C1; color: #FFFFFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.s26n-draw-pill-check { display: flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #FDC564; color: #031839; }
.s26n-draw-pill-check svg { display: block; }
.s26n-draw-pill-text { display: flex; }
.s26n-draw-pill-more { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; }
/* Narrow phones: the logo gives way (64 px, less only if it must), so the long pill fits beside it from about 336 px */
.s26n-topbar:has(.s26n-draw-pill) { column-gap: 8px; }
.s26n-topbar:has(.s26n-draw-pill) .s26n-logo { width: clamp(64px, calc(100vw - 272px), 100px); height: auto; }
.s26n-draw-long .s26n-draw-pill-more { max-width: 100px; opacity: 1; }
.s26n-draw-played .s26n-draw-pill-more { transition: max-width 550ms cubic-bezier(0.3, 0.7, 0.2, 1), opacity 330ms ease-out; }
/* The count grows back to its own width (--s26n-count-width, measured by the controller) and its text fades in */
.s26n-draw-played .s26n-topbar .s26n-pill { position: relative; max-width: var(--s26n-count-width, none); overflow: hidden; transition: max-width 550ms cubic-bezier(0.3, 0.7, 0.2, 1), color 350ms ease 200ms; }
.s26n-draw-played .s26n-topbar .s26n-pill > * { transition: opacity 350ms ease 200ms; }
.s26n-draw-played .s26n-topbar .s26n-pill::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid #C9E9FE; border-top-color: #18A0FB; border-radius: 50%; opacity: 0; transition: opacity 250ms ease; animation: s26n-spin 800ms linear infinite; }
.s26n-draw-long .s26n-topbar .s26n-pill { max-width: 32px; color: transparent; }
.s26n-draw-long .s26n-topbar .s26n-pill > * { opacity: 0; }
.s26n-draw-long .s26n-topbar .s26n-pill::after { opacity: 1; }
/* The long state is put in place at once, before the page shows; nothing gives way while the controller measures */
.s26n-draw-instant .s26n-topbar *, .s26n-draw-instant .s26n-topbar *::after { transition: none !important; }
.s26n-draw-instant .s26n-topbar * { flex-shrink: 0; }

.s26n-main { flex-grow: 1; display: flex; flex-direction: column; gap: 40px; padding: 40px 24px 180px; }
.s26n-main--plain { gap: 12px; padding: 24px 24px 40px; }
.s26n-main--receipt { gap: 24px; padding: 32px 24px 40px; }
.s26n-main--confirm { gap: 12px; padding: 32px 24px 40px; }

/* ---------- cards ---------- */

.s26n-card { display: flex; flex-direction: column; padding: 24px 20px; background: #FFFFFF; border-radius: 24px; box-shadow: var(--s26n-shadow-card); }
.s26n-card--outcome { padding: 28px 20px 24px; }
.s26n-box { padding: 4px 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--s26n-shadow-soft); }
/* Banks still deciding, under «Tilbudene fra bankene» */
.s26n-waiting { display: flex; flex-direction: column; gap: 12px; }
.s26n-waiting-head { display: flex; flex-direction: column; gap: 2px; }
.s26n-waiting-title { font-size: 15px; line-height: 1.4; font-weight: 700; color: #031839; }
.s26n-waiting-bank { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 0; border-bottom: var(--s26n-line); }
.s26n-waiting-bank:last-child { border-bottom: 0; }
.s26n-waiting-name { min-width: 0; font-size: 15px; line-height: 1.35; font-weight: 700; color: #031839; }
.s26n-waiting-state { display: inline-flex; flex: none; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; font-weight: 500; color: #354661; }
.s26n-waiting-bank[data-state="no"] .s26n-waiting-name, .s26n-waiting-bank[data-state="no"] .s26n-waiting-state { color: #687488; }
.s26n-waiting-link { font-weight: 700; color: #223C66; text-decoration: underline; text-underline-offset: 3px; }
.s26n-box--sum { padding-bottom: 16px; }
.s26n-box--pad { padding: 16px; }

/* ---------- hero ---------- */

.s26n-fact-line { margin: 0 0 12px; font-size: 13px; line-height: 1.4; font-weight: 600; color: #354661; }
.s26n-headline { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.s26n-headline svg { flex: none; }
.s26n-hero-number { margin: 0 0 8px; font-size: 64px; line-height: 1; font-weight: 800; white-space: nowrap; }
/* The hero's width is the container, so a long payoff date never runs past the card */
.s26n-hero-box { container-type: inline-size; }
.s26n-hero-number--date { font-size: min(52px, calc(100cqi / var(--s26n-hero-em, 8.4))); }
.s26n-hero-number--long { font-size: 56px; }
.s26n-hero-number--long .s26n-hero-ca { font-size: 24px; }
.s26n-hero-number--long .s26n-hero-kr { font-size: 32px; }
@media (max-width: 380px) {
  .s26n-hero-number--long { font-size: 48px; }
}
.s26n-hero-ca { margin-right: 6px; font-size: 26px; font-weight: 600; color: #687488; }
.s26n-hero-kr { margin-left: 10px; font-size: 36px; font-weight: 700; color: #687488; }
.s26n-hero-under { display: block; margin: 0 0 16px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.s26n-hero-number { display: block; }
/* The hero as a button that opens «Slik regner vi» (D1): it looks like the hero, the info mark says it can be tapped */
.s26n-hero-toggle { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.s26n-hero-toggle:focus-visible { outline: 2px solid #18A0FB; outline-offset: 4px; border-radius: 8px; }
.s26n-hero-info { display: inline-block; margin-left: 8px; vertical-align: -2px; }
.s26n-calc { display: flex; flex-direction: column; gap: 6px; margin: -4px 0 16px; padding: 12px 16px; border-radius: 16px; background: #EFF7FF; font-size: 14px; line-height: 1.45; color: #354661; }
/* D30: one line under the number on why this offer, and «Dekker ikke alt» on a partial cover */
.s26n-hero-reason { margin: -4px 0 16px; font-size: 14px; line-height: 1.45; color: #354661; }
.s26n-hero-reason .s26n-chip { display: inline-block; margin-right: 6px; vertical-align: 1px; }
/* D36: banks still deciding, in place of «Anbefalt fordi …»; on its own line after a partial-cover chip */
.s26n-hero-waiting { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.s26n-hero-reason .s26n-chip + .s26n-hero-waiting { margin-top: 6px; }
/* «Se det nye tilbudet» while the page with it loads */
.s26n .s26n-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.s26n-calc-title { font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; }
/* The three notices on the way to the bank (waiting, countdown, leaving) share one warm yellow (secondary-40), so they stand
   out from the pale blue steps under them */
.s26n-redirect { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFDFA2; font-size: 15px; line-height: 1.45; font-weight: 500; color: #031839; }
.s26n-redirect strong { color: #031839; font-weight: 800; }
.s26n-redirect--wait { display: flex; align-items: center; gap: 10px; }
.s26n-spinner { flex: none; width: 16px; height: 16px; border: 2px solid #031839; border-top-color: transparent; border-radius: 50%; animation: s26n-spin 800ms linear infinite; }
@media (prefers-reduced-motion: reduce) { .s26n-spinner { animation: none; border-top-color: #031839; } }
.s26n-underline { position: relative; display: inline-block; }
.s26n-underline svg { position: absolute; left: -2px; bottom: -9px; width: calc(100% + 6px); height: 12px; overflow: visible; }
.s26n-lead { margin: 0 0 24px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
/* «ca. X kr mindre totalt» and «Nedbetalt X tidligere» under the lead: small chips, so the card stays short */
.s26n-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.s26n-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #EFF7FF; font-size: 13px; line-height: 1.3; font-weight: 700; color: #031839; }
.s26n-perks svg { flex: none; }
.s26n-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.s26n-hero-fact { padding: 12px 14px; border-radius: 14px; background: #EFF7FF; }
.s26n-hero-fact-label, .s26n-hero-fact-note { font-size: 12px; line-height: 1.5; color: #354661; }
.s26n-hero-fact-value { margin-top: 2px; font-size: 17px; line-height: 1.3; font-weight: 800; }

/* ---------- comparison bars ---------- */

.s26n-bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.s26n-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 500; color: #354661; }
.s26n-bar-head strong { font-weight: 700; color: #031839; }
.s26n-bar-value { font-size: 16px; font-weight: 700; white-space: nowrap; color: #031839; }
.s26n-bar { display: flex; gap: 2px; height: 28px; }
.s26n-seg { border-radius: 4px; }
.s26n-seg--extra { flex: 1 1 auto; border-radius: 4px; background: repeating-linear-gradient(135deg, #9ED7FD 0 6px, #C9E9FE 6px 12px); }
.s26n-gap { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; margin-left: 4px; border: 1.5px dashed rgba(3, 24, 57, 0.3); border-radius: 4px; }
.s26n-chip { padding: 2px 8px; border-radius: 6px; background: #FDC564; color: #031839; font-size: 12px; line-height: 1.5; font-weight: 800; white-space: nowrap; }
.s26n-gap .s26n-chip { padding: 1px 8px; }
.s26n-chip--muted { background: #F0F4FA; box-shadow: inset 0 0 0 1px rgba(3, 24, 57, 0.15); }
.s26n-chip-row { display: flex; justify-content: flex-end; margin-top: 8px; }

/* ---------- buttons ---------- */

.s26n-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #031839; border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.s26n a.s26n-btn { color: #031839; }
.s26n-btn--clear { background: transparent; }
.s26n-btn--primary { min-height: 56px; border: 0; background: #FDC564; font-size: 17px; }
.s26n-btn--dark { min-height: 56px; border: 0; background: #223C66; font-size: 17px; }
.s26n a.s26n-btn--dark, .s26n-btn--dark { color: #FFFFFF; }
.s26n .s26n-btn--disabled, .s26n .s26n-btn[aria-disabled="true"] { border: 0; min-height: 56px; background: #F0F4FA; color: #687488; font-size: 17px; cursor: default; }
.s26n-btn-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: #223C66; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.s26n a.s26n-btn-link { color: #223C66; }
.s26n-btn-adjust { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin: 0 0 12px; padding: 8px 16px; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 999px; background: #FFFFFF; color: #031839; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.s26n a.s26n-btn-adjust { color: #031839; }
.s26n-btn-round { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 50%; background: #FFFFFF; color: #031839; cursor: pointer; }
.s26n-note { font-size: 12px; line-height: 1.4; color: #687488; text-align: center; }

/* ---------- Ring meg ---------- */

.s26n-ring-panel { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 16px; background: #EFF7FF; border-radius: 16px; }
.s26n-ring-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
.s26n-ring-from { margin-top: 2px; font-size: 13px; line-height: 1.45; font-weight: 500; color: #354661; }
.s26n-nowrap { white-space: nowrap; }
/* Small square tiles in one row; three (after 15:00) or four share the width */
.s26n-slots { display: grid; grid-template-columns: repeat(var(--s26n-slots, 4), minmax(0, 1fr)); column-gap: 8px; row-gap: 10px; }
.s26n-slot-day { padding-bottom: 6px; border-bottom: 2px solid rgba(3, 24, 57, 0.08); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; white-space: nowrap; }
.s26n-slot { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 4px; border: 2px solid #FFFFFF; border-radius: 14px; background: #FFFFFF; box-shadow: var(--s26n-shadow-soft); color: #031839; cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out, transform 100ms ease-out; }
.s26n-slot:hover { border-color: rgba(24, 160, 251, 0.4); }
.s26n-slot:active { transform: scale(0.96); }
.s26n-slot:focus-visible { outline: 2px solid #031839; outline-offset: 2px; }
.s26n-slot.is-selected { border-color: #18A0FB; background: #18A0FB; color: #FFFFFF; box-shadow: 0 6px 16px rgba(24, 160, 251, 0.35); }
/* A time that has started while the page was open (renderRing) */
.s26n-slot-time { font-size: min(17px, 4.6vw); line-height: 1.2; font-weight: 800; white-space: nowrap; }
.s26n-ring-done { flex-direction: row; align-items: flex-start; gap: 10px; }
.s26n-ring-done:focus { outline: none; }
.s26n-ring-done svg { flex: none; margin-top: 2px; }
.s26n-ring-text { font-size: 15px; line-height: 1.45; font-weight: 700; }
.s26n-ring-line { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #354661; }
.s26n-ring-change { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 -12px; padding: 0; border: 0; background: none; color: #223C66; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* D34: «Er det noe du ikke liker med tilbudet?» under «Ring meg» (repeat customers), and its sheet */
/* Above «Ring meg» for repeat customers (R1–R4) */
.s26n-ring-help { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #354661; }
.s26n-feedback-link { display: flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin: 4px auto 0; color: #223C66; font-size: 13px; line-height: 1.45; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.s26n-feedback { max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
.s26n-feedback-reasons { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.s26n-feedback-reason { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1.5px solid rgba(3, 24, 57, 0.15); border-radius: 14px; font-size: 15px; line-height: 1.35; font-weight: 600; cursor: pointer; }
.s26n-feedback-reason:has(input:checked) { border-color: #18A0FB; background: #EFF7FF; }
.s26n-feedback-reason:has(input:focus-visible) { outline: 2px solid #18A0FB; outline-offset: 2px; }
.s26n-feedback-reason input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #18A0FB; }
.s26n-feedback-label { display: block; margin-top: 16px; font-size: 14px; line-height: 1.45; font-weight: 600; }
.s26n-feedback-label span { font-weight: 500; color: #687488; }
.s26n-feedback-text { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid rgba(3, 24, 57, 0.2); border-radius: 14px; font: inherit; font-size: 16px; line-height: 1.45; color: #031839; resize: vertical; }
.s26n-feedback-close { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #223C66; font-size: 14px; font-weight: 600; text-decoration: none; }
.s26n-feedback .s26n-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.s26n-feedback-draw { margin-top: 16px; }
/* Banks still deciding: the yellow waiting notice, the spinner on the first line */
.s26n-feedback-waiting { align-items: flex-start; }
.s26n-feedback-waiting .s26n-spinner { margin-top: 3px; }
.s26n-feedback-waiting p { margin: 0; }
.s26n-feedback-waiting strong { display: block; }
.s26n-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- sections ---------- */

.s26n-section { display: flex; flex-direction: column; gap: 16px; }
.s26n-section-intro { display: flex; flex-direction: column; gap: 8px; }
.s26n-h2 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.s26n-text { font-size: 14px; line-height: 1.45; color: #354661; }
.s26n-text--center { text-align: center; }
.s26n-kicker { font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #354661; }
.s26n-kicker--muted { color: #687488; }
.s26n-kicker--gap { margin-top: 16px; }

.s26n-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-bottom: var(--s26n-line); }
.s26n-step:last-child { border-bottom: 0; }
.s26n-step-n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #EFF7FF; color: #223C66; font-size: 13px; font-weight: 800; }
.s26n-step-title { font-size: 15px; line-height: 1.4; font-weight: 700; }
.s26n-step-text { margin-top: 2px; font-size: 14px; line-height: 1.45; color: #354661; }
.s26n-step-plain { font-size: 15px; line-height: 1.45; font-weight: 500; }
.s26n-qa { padding: 12px 0; border-bottom: var(--s26n-line); }
.s26n-qa:last-child { border-bottom: 0; }

/* ---------- Vis detaljer ---------- */

.s26n-details { display: flex; flex-direction: column; gap: 4px; margin: -12px 0 0; }
.s26n-details-toggle { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: #223C66; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.s26n a.s26n-details-toggle { color: #223C66; }
.s26n-details-toggle svg { transition: transform 200ms ease-out; }
.s26n-details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.s26n-details-body { display: flex; flex-direction: column; gap: 8px; }
.s26n-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 12px 0; border-bottom: var(--s26n-line); }
.s26n-box > .s26n-row:last-child { border-bottom: 0; }
.s26n-box--sum > .s26n-row:last-of-type { border-bottom: var(--s26n-line); }
.s26n-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: #18A0FB; }
.s26n-dot--out { background: #F0F4FA; box-shadow: inset 0 0 0 1.5px rgba(3, 24, 57, 0.15); }
.s26n-dot--rest { background: #ADB7C5; }
.s26n-row-name { font-size: 15px; line-height: 1.35; font-weight: 600; }
.s26n-row-meta { margin-top: 2px; font-size: 13px; line-height: 1.5; color: #687488; }
.s26n-row-meta + .s26n-row-meta { margin-top: 0; }
.s26n-row-amount { font-size: 15px; line-height: 1.35; font-weight: 700; text-align: right; white-space: nowrap; }
.s26n-row-amount small { display: block; font-size: 12px; font-weight: 400; color: #687488; }
.s26n-tag { display: inline-block; margin-top: 4px; padding: 0 6px; border-radius: 4px; background: #FDECC8; color: #031839; font-size: 11px; line-height: 18px; font-weight: 700; white-space: nowrap; }
.s26n-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 2px solid #031839; font-size: 15px; font-weight: 700; }
.s26n-sum-muted { font-size: 13px; font-weight: 400; color: #687488; }
.s26n-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.s26n-fact-box { padding: 12px 16px; background: #FFFFFF; border: 1.5px solid #9ED7FD; border-radius: 16px; }
.s26n-fact-box-label { font-size: 12px; line-height: 1.5; color: #687488; }
.s26n-fact-box-value { margin-top: 2px; font-size: 16px; line-height: 1.3; font-weight: 700; }
.s26n-fact-box-value small { display: block; font-size: 12px; font-weight: 400; color: #687488; }
.s26n-reservation { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #354661; }

/* ---------- bank list ---------- */

.s26n-banks { display: flex; flex-direction: column; gap: 12px; }
.s26n-bank { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 16px; box-shadow: var(--s26n-shadow-soft); cursor: pointer; }
.s26n-bank.is-selected { border-color: #18A0FB; box-shadow: none; }
.s26n-bank input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #18A0FB; }
.s26n-bank-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s26n-bank-name { font-size: 15px; line-height: 1.4; font-weight: 700; }
.s26n-bank-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; color: #687488; }
.s26n-bank-main { font-size: 16px; line-height: 1.35; font-weight: 700; }
.s26n-bank-sub { font-size: 12px; line-height: 1.4; color: #687488; }
.s26n-bank-total { font-size: 13px; line-height: 1.4; font-weight: 600; }
/* D32: the choice's cards, shorter than the bank list's: three take about the room the two old ones did */
.s26n-bank--choice { padding: 14px 16px; }
.s26n-bank--choice .s26n-bank-body { gap: 4px; }
.s26n-choice-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.s26n-choice-title .s26n-badge { align-self: center; }
.s26n-badge { align-self: flex-start; padding: 1px 8px; border-radius: 6px; background: #FDC564; color: #031839; font-size: 12px; line-height: 1.5; font-weight: 700; }
.s26n-badge--next { margin-left: 6px; padding: 1px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }

.s26n-status-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 1.45; font-weight: 600; text-align: center; }
.s26n-status-line svg { flex: none; }
.s26n-draw { padding: 12px 16px; border: 1.5px dashed rgba(3, 24, 57, 0.25); border-radius: 16px; font-size: 14px; line-height: 1.45; color: #354661; }

.s26n-footer { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(3, 24, 57, 0.1); font-size: 13px; line-height: 1.5; color: #354661; }
.s26n-footer--bottom { margin-top: auto; }
.s26n-footer svg { color: #18A0FB; }

/* ---------- sticky dock ---------- */

/* The white dock spans the whole screen; its content keeps to the 430 px column (padding % is of the viewport here) */
.s26n-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px max(24px, calc(50% - 191px)) 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: #FFFFFF; box-shadow: 0 -8px 24px rgba(3, 24, 57, 0.1); transition: transform 480ms var(--s26n-ease); }
.s26n-dock .s26n-note { margin-top: 8px; }
.s26n-dock--adjust { padding-top: 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.s26n-dock-text { font-size: 13px; line-height: 1.45; color: #354661; }
.s26n-dock-text + .s26n-btn { margin-top: 12px; }
.s26n-dock .s26n-btn-link { margin-top: 4px; }

/* ---------- outcome cards (manual, rejected, expired, closed) ---------- */

.s26n-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #EFF7FF; color: #18A0FB; }
.s26n-icon--muted { background: #F0F4FA; color: #687488; }
.s26n-icon--warn { color: #FA8331; }
.s26n-icon--draw { background: #FDC564; color: #031839; }
.s26n-outcome-eyebrow { margin-top: 16px; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #687488; }
.s26n-outcome-title { margin-top: 4px; font-size: 26px; line-height: 1.2; font-weight: 800; }
.s26n-outcome-text { margin-top: 10px; font-size: 15px; line-height: 1.5; font-weight: 500; color: #354661; }
.s26n-outcome-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.s26n-outcome-note { margin-top: 20px; padding-top: 16px; border-top: var(--s26n-line); font-size: 14px; line-height: 1.45; color: #354661; }

/* ---------- adjust (Endre løpetid eller lånebeløp) ---------- */

/* The top card shrinks with the scroll: --s26n-p goes from 0 (open) to 1 (compact bar), set by the controller on every
   frame. Every size below is linear in it, so the card's height falls exactly as far as the page scrolls. */
.s26n-adjust-top { --s26n-p: 0; --s26n-shadow: 0; position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: calc(16px - 8px * var(--s26n-p)) max(16px, calc(50% - 199px)) calc(12px * var(--s26n-p)); }
/* The blue behind the compact bar, hidden under the page's own blue band until the band scrolls away */
.s26n-adjust-top::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: -1; height: var(--s26n-bar, 0px); background: #18A0FB; box-shadow: 0 8px 20px rgba(3, 24, 57, calc(0.18 * var(--s26n-shadow))); }
.s26n-collapse { max-height: calc(var(--s26n-open, 400px) * (1 - var(--s26n-p))); opacity: calc(1 - var(--s26n-p)); overflow: hidden; }
.s26n-adjust-top.is-compact .s26n-collapse { visibility: hidden; }
.s26n-adjust-card { display: flex; flex-direction: column; padding: calc(24px - 12px * var(--s26n-p)) calc(20px - 2px * var(--s26n-p)); background: #FFFFFF; border-radius: calc(24px - 6px * var(--s26n-p)); box-shadow: var(--s26n-shadow-card); }
.s26n-adjust-title { font-size: 22px; line-height: 1.2; font-weight: 800; }
.s26n-adjust-line { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #354661; }
/* The number shrinks to the card on narrow phones, «ca.» and the warning included: «ca. 10 437 kr» is about 4.9 em */
.s26n-adjust-figure { --s26n-fit: 0px; container-type: inline-size; position: relative; display: flex; align-items: center; gap: 10px; margin-top: calc(20px * (1 - var(--s26n-p))); }
.s26n-adjust-figure:has(.s26n-adjust-fit:not([hidden])) { --s26n-fit: 44px; }
.s26n-adjust-number { --s26n-num: min(56px, calc((100cqi - var(--s26n-fit)) / 4.9)); font-size: calc(var(--s26n-num) * (1 - var(--s26n-p)) + 34px * var(--s26n-p)); line-height: 1; font-weight: 800; white-space: nowrap; }
/* The selection is more than the bank lends: a warning beside the number, its explanation on tap */
.s26n-adjust-fit { flex: none; display: inline-flex; align-items: center; justify-content: center; width: calc(34px - 6px * var(--s26n-p)); height: calc(34px - 6px * var(--s26n-p)); margin: 0; padding: 0; border: 0; border-radius: 999px; background: #FFF4E0; cursor: pointer; }
.s26n-adjust-fit[hidden] { display: none; }
.s26n-adjust-fit[data-state="info"] { background: #EFF7FF; }
.s26n-adjust-fit[data-state="warn"] .s26n-fit-info, .s26n-adjust-fit[data-state="info"] .s26n-fit-warn { display: none; }
.s26n-adjust-fit:focus-visible { outline: 2px solid #18A0FB; outline-offset: 2px; }
.s26n-adjust-fit-note { position: absolute; top: calc(100% + 10px); left: -8px; right: -8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; background: #FFF4E0; box-shadow: var(--s26n-shadow-card); font-size: 14px; line-height: 1.45; font-weight: 500; color: #354661; white-space: normal; }
.s26n-adjust-fit-note[hidden] { display: none; }
.s26n-adjust-fit-note[data-state="info"] { background: #EFF7FF; }
/* A partial offer on «Endre»: selected against what the bank lends */
.s26n-meter { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--s26n-shadow-soft); }
.s26n-meter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.s26n-meter-head p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s26n-meter-head p:last-child { text-align: right; }
.s26n-meter-label { font-size: 13px; line-height: 1.4; font-weight: 500; color: #687488; }
.s26n-meter-value { font-size: 17px; line-height: 1.3; font-weight: 800; color: #031839; white-space: nowrap; }
.s26n-meter-track { height: 8px; border-radius: 999px; background: #E4EAF2; overflow: hidden; }
.s26n-meter-fill { height: 100%; border-radius: inherit; background: #18A0FB; }
.s26n-meter.is-over .s26n-meter-fill { background: #FA8331; }
.s26n-meter.is-over .s26n-meter-head p:first-child .s26n-meter-value { color: #C2410C; }
.s26n-adjust-number.is-empty { color: #687488; }
.s26n-adjust-pulse { display: inline-block; margin-left: -6px; padding: 2px 6px; border-radius: 10px; background-color: rgba(255, 233, 168, 0); transition: background-color 700ms ease-out; }
.s26n-adjust-pulse.is-on { background-color: #FFE9A8; transition: background-color 80ms ease-out; }
.s26n-adjust-ca { margin-right: 0.25em; font-size: 0.44em; font-weight: 600; color: #687488; }
.s26n-adjust-kr { margin-left: 0.27em; font-size: 0.55em; font-weight: 700; color: #687488; }
.s26n-adjust-under { margin-top: calc(6px - 4px * var(--s26n-p)); font-size: calc(15px - 2px * var(--s26n-p)); line-height: 1.45; font-weight: 500; color: #354661; }
.s26n-slider-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
/* The fill is measured against 1–15 years, so it matches the thumb (SPESIFIKASJON 4.5, point 5) */
.s26n-slider { flex: 1 1 auto; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.s26n-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, #18A0FB var(--s26n-progress, 50%), #C7CFDA var(--s26n-progress, 50%)); }
.s26n-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 2px solid #18A0FB; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 4px rgba(3, 24, 57, 0.25); }
.s26n-slider::-moz-range-track { height: 6px; border-radius: 999px; background: #C7CFDA; }
.s26n-slider::-moz-range-progress { height: 6px; border-radius: 999px; background: #18A0FB; }
.s26n-slider::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid #18A0FB; border-radius: 50%; background: #FFFFFF; }
.s26n-slider:focus-visible { outline: 2px solid #031839; outline-offset: 4px; border-radius: 999px; }
.s26n-slider-scale { position: relative; height: 20px; margin: 6px 56px 0; font-size: 12px; line-height: 20px; color: #687488; }
.s26n-slider-scale span { position: absolute; }
.s26n-slider-mark { transform: translateX(-50%); font-weight: 700; color: #031839; }

.s26n-adjust-main { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; padding: 32px 24px 260px; }

.s26n-loan { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 16px 0; border-bottom: var(--s26n-line); }
.s26n-loan:last-child { border-bottom: 0; }
.s26n-loan .s26n-dot { margin-top: 7px; }
.s26n-loan.is-off .s26n-dot { background: transparent !important; border: 1.5px dashed #939FB0; }
.s26n-loan-name { font-size: 15px; line-height: 1.35; font-weight: 700; }
.s26n-loan-monthly { margin-top: 4px; font-size: 22px; line-height: 1.2; font-weight: 800; }
.s26n-loan-monthly span { margin-left: 6px; font-size: 14px; font-weight: 500; color: #354661; }
.s26n-loan-meta { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #687488; }
.s26n-loan-off-note { display: none; margin-top: 6px; font-size: 13px; line-height: 1.45; color: #354661; }
.s26n-loan.is-off .s26n-loan-name, .s26n-loan.is-off .s26n-loan-monthly, .s26n-loan.is-off .s26n-loan-monthly span { color: #687488; }
.s26n-loan.is-off .s26n-loan-off-note { display: block; }
/* A partial offer: what the amount covers, the highest rate first */
/* «Dekkes» stays quiet; what doesn't fit gets a chip, so it stands out in a long list */
.s26n-loan-cover { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; line-height: 1.4; font-weight: 700; color: #354661; }
.s26n-loan-cover[hidden] { display: none; }
.s26n-loan-cover[data-state="part"], .s26n-loan-cover[data-state="none"] { margin-top: 8px; padding: 3px 10px; border-radius: 8px; color: #031839; }
.s26n-loan-cover[data-state="part"] { background: #FFF4E0; }
.s26n-loan-cover[data-state="none"] { background: #F0F4FA; box-shadow: inset 0 0 0 1px rgba(3, 24, 57, 0.12); }
.s26n-loan-cover svg { flex: none; }
.s26n-switch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; cursor: pointer; }
.s26n-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.s26n-switch-track { position: relative; display: block; width: 48px; height: 28px; border-radius: 999px; background: #18A0FB; transition: background 160ms ease-out; }
.s26n-switch-knob { position: absolute; top: 3px; left: 23px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(3, 24, 57, 0.25); transition: left 160ms ease-out; }
.s26n-switch-label { font-size: 12px; line-height: 1.3; font-weight: 700; color: #223C66; }
.s26n-switch input:not(:checked) + .s26n-switch-track { background: #C7CFDA; }
.s26n-switch input:not(:checked) + .s26n-switch-track .s26n-switch-knob { left: 3px; }
.s26n-switch input:not(:checked) ~ .s26n-switch-label { color: #687488; }
.s26n-switch input:focus-visible + .s26n-switch-track { outline: 2px solid #031839; outline-offset: 2px; }
.s26n-message { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--s26n-shadow-soft); }
.s26n-message svg { flex: none; margin-top: 1px; }
.s26n-message-title { font-size: 15px; line-height: 1.4; font-weight: 700; }

/* ---------- receipt and confirmation ---------- */

.s26n-receipt-title { margin-top: 16px; font-size: 24px; line-height: 1.2; font-weight: 800; }
.s26n-receipt-text { margin-top: 8px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
.s26n-receipt-request { margin-top: 20px; padding-top: 20px; border-top: var(--s26n-line); }
.s26n-receipt-amount { margin-top: 4px; font-size: 17px; line-height: 1.4; font-weight: 800; }
.s26n-form { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--s26n-shadow-soft); }
.s26n-form label { font-size: 14px; line-height: 1.4; font-weight: 700; }
.s26n-form textarea { width: 100%; padding: 12px; border: 1.5px solid rgba(3, 24, 57, 0.25); border-radius: 12px; background: #FFFFFF; color: #031839; font-size: 15px; line-height: 1.45; resize: vertical; }
.s26n-form .s26n-btn { margin-top: 4px; }
.s26n-confirm-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.s26n-confirm-title { margin-top: 12px; font-size: 28px; line-height: 1.15; font-weight: 800; }
.s26n-confirm-lead { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #354661; }
.s26n-confirm-lead p:first-child { font-size: 17px; line-height: 1.4; font-weight: 800; color: #031839; }
.s26n-progress { margin-top: 20px; padding: 4px 16px; background: #EFF7FF; border-radius: 16px; }
.s26n-progress .s26n-step { align-items: start; }
.s26n-progress-done { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #18A0FB; color: #FFFFFF; }
.s26n-progress-next { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; color: #223C66; font-size: 13px; font-weight: 800; }
.s26n-confirm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.s26n-confirm-actions .s26n-note { font-size: 13px; font-weight: 500; color: #354661; }
.s26n-choice-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: var(--s26n-line); }
.s26n-choice-row:last-child { border-bottom: 0; }
.s26n-choice-row dt { font-size: 13px; line-height: 1.5; color: #687488; }
.s26n-choice-row dd { font-size: 15px; line-height: 1.4; font-weight: 700; }
.s26n-confirm-note { margin-top: 12px; padding-top: 12px; border-top: var(--s26n-line); font-size: 13px; line-height: 1.45; color: #354661; }
.s26n-callback-card { display: flex; align-items: flex-start; gap: 12px; }
.s26n-callback-card .s26n-icon { flex: none; width: 36px; height: 36px; }
.s26n-callback-card p { margin-top: 2px; font-size: 15px; line-height: 1.45; font-weight: 700; }
.s26n-callback-card p + p { margin-top: 4px; font-size: 14px; font-weight: 400; color: #354661; }

/* ---------- better offer sheet and toast ---------- */

.s26n-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(3, 24, 57, 0.55); }
.s26n-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; display: flex; flex-direction: column; max-width: 430px; margin: 0 auto; padding: 12px 24px 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); background: #FFFFFF; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 32px rgba(3, 24, 57, 0.16); }
.s26n-sheet-grip { align-self: center; width: 40px; height: 4px; margin-bottom: 20px; border-radius: 2px; background: rgba(3, 24, 57, 0.15); }
.s26n-sheet-title { margin-top: 16px; font-size: 24px; line-height: 1.25; font-weight: 800; }
.s26n-sheet-text { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #354661; }
.s26n-sheet-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ---------- loader (live_offers.html.erb) and the morph into the result ---------- */

.s26n-live { min-height: 100vh; background: #EFF7FF; }
.s26n-loader { position: fixed; inset: 0; z-index: 40; overflow: hidden; }
.s26n-loader-band { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: #18A0FB; transition: height 700ms var(--s26n-ease); }
.s26n-loader-logo { position: absolute; top: 16px; left: 0; right: 0; display: flex; align-items: center; max-width: 430px; height: 40px; margin: 0 auto; padding: 0 24px; }
.s26n-loader-column { position: absolute; left: 0; right: 0; top: 367px; display: flex; flex-direction: column; align-items: center; max-width: 430px; margin: 0 auto; padding: 0 16px; transition: top 700ms var(--s26n-ease); }
.s26n-loader-card { position: relative; flex: none; width: 14px; height: 14px; border-radius: 7px; background: #FFFFFF; box-shadow: var(--s26n-shadow-card); overflow: hidden; transform: scale(0); transition: transform 380ms var(--s26n-pop), width 480ms var(--s26n-ease), height 700ms var(--s26n-ease), border-radius 700ms var(--s26n-ease), opacity 420ms ease-out; }
/* min-width keeps the text from reflowing while the card grows, but never wider than the finished card (the screen
   less the column's 16 px each side), or a 375 px phone clips the right padding */
.s26n-loader-body { position: absolute; top: 0; left: 0; right: 0; min-width: min(358px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 20px; padding: 24px; opacity: 0; transition: opacity 320ms ease-out; }
.s26n-loader-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.s26n-loader-label, .s26n-loader-pct { font-size: 17px; line-height: 1.35; font-weight: 700; }
.s26n-loader-pct { font-weight: 800; white-space: nowrap; }
.s26n-loader-track { height: 8px; margin-top: 12px; border-radius: 999px; background: #EFF7FF; overflow: hidden; }
.s26n-loader-fill { width: 1%; height: 8px; border-radius: 999px; background: #18A0FB; transition: width 240ms linear; }
.s26n-loader-steps { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: var(--s26n-line); }
.s26n-loader-step { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; color: #687488; transition: color 200ms ease-out; }
.s26n-loader-step[data-state="active"] { font-weight: 700; color: #031839; }
.s26n-loader-step[data-state="done"] { color: #354661; }
.s26n-loader-step[data-state="pending"] { display: none; }
.s26n-loader-step:not([data-state="pending"]) { animation: s26n-step-in 320ms var(--s26n-ease) both; }
@keyframes s26n-step-in { from { opacity: 0; transform: translateY(6px); } }
.s26n-loader-icon { position: relative; flex: none; width: 20px; height: 20px; }
.s26n-loader-icon svg { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 200ms ease-out, transform 320ms var(--s26n-pop); }
.s26n-loader-step[data-state="pending"] .s26n-loader-pending,
.s26n-loader-step[data-state="active"] .s26n-loader-spinner { opacity: 1; }
.s26n-loader-done { transform: scale(0.6); }
.s26n-loader-step[data-state="done"] .s26n-loader-done { opacity: 1; transform: scale(1); }
.s26n-loader-spinner { animation: s26n-spin 900ms linear infinite; transform-origin: 50% 50%; }
@keyframes s26n-spin { to { transform: rotate(360deg); } }

/* Phases, set by the loader controller: dot → line → card → loading → morph → reveal */
.s26n-loader[data-phase="dot"] .s26n-loader-card { transform: scale(1); }
.s26n-loader[data-phase="line"] .s26n-loader-card { width: 100%; transform: scale(1); }
.s26n-loader[data-phase="card"] .s26n-loader-column,
.s26n-loader[data-phase="loading"] .s26n-loader-column { top: 268px; }
.s26n-loader[data-phase="card"] .s26n-loader-card,
.s26n-loader[data-phase="loading"] .s26n-loader-card { width: 100%; height: var(--s26n-loader-height, 148px); border-radius: 24px; transform: scale(1); }
.s26n-loader[data-phase="loading"] .s26n-loader-card { transition-duration: 380ms, 480ms, 360ms, 700ms, 420ms; }
.s26n-loader[data-phase="loading"] .s26n-loader-body { opacity: 1; }
.s26n-loader[data-phase="morph"] .s26n-loader-band,
.s26n-loader[data-phase="reveal"] .s26n-loader-band { height: var(--s26n-target-band, 240px); }
.s26n-loader[data-phase="morph"] .s26n-loader-column,
.s26n-loader[data-phase="reveal"] .s26n-loader-column { top: var(--s26n-target-top, 80px); }
.s26n-loader[data-phase="morph"] .s26n-loader-card,
.s26n-loader[data-phase="reveal"] .s26n-loader-card { width: 100%; height: var(--s26n-target-height, 380px); border-radius: 24px; transform: scale(1); }
.s26n-loader[data-phase="morph"] .s26n-loader-body,
.s26n-loader[data-phase="reveal"] .s26n-loader-body { opacity: 0; transition: opacity 180ms ease-out; }
/* The page fades in under the loader first, then the loader fades away (REVEAL in the loader controller). Both half
   transparent at once let the page's pale background through the blue band, which blinked */
.s26n-loader[data-phase="reveal"] { opacity: 0; transition: opacity 280ms ease-out 180ms; pointer-events: none; }
.s26n-loader[data-phase="done"] { display: none; }
/* The loader's logo takes the page's width during the morph (smaller on narrow phones beside «Påmeldt») */
.s26n-loader-logo .s26n-logo { height: auto; transition: width 700ms var(--s26n-ease); }
.s26n-loader[data-phase="morph"] .s26n-loader-logo .s26n-logo,
.s26n-loader[data-phase="reveal"] .s26n-loader-logo .s26n-logo { width: var(--s26n-target-logo, 100px); }

/* The result waits under the loader until the card has reached it */
.s26n-result-waiting { opacity: 0; pointer-events: none; }
.s26n-result-reveal { opacity: 1; transition: opacity 180ms ease-out; }
.s26n-result-waiting .s26n-dock { transform: translateY(110%); }

/* Outcome card on its own (Lukk → in the draw) */
.s26n-swap-out { opacity: 0; transition: opacity 160ms ease-out; }
.s26n-swap-in { animation: s26n-fade-in 320ms ease-out; }
@keyframes s26n-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .s26n *, .s26n *::before, .s26n *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .s26n-loader-spinner { animation: none; }
}

/* ---------- logo ---------- */

.s26n-logo svg, .s26n-footer-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.s26n-footer-logo { display: block; width: 72px; color: #18A0FB; }

/* Forslag (verkstedet 8.10, E4): delvis dekning. «I dag» (grå) og «Med {bank}» (blå) rett over hverandre, gult felt for
   besparelsen. Hierarki: «Med {bank}» sterkest, «I dag» dempet, forklaringer minst. Mål fra design/v3/skisser/delvis/ux.html */
.s26n-lead--cols { margin: 0 0 16px; }
.s26n-e4 { margin: 0 0 20px; }
.s26n-e4-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.3; color: #031839; }
.s26n-e4-h b { font-weight: 800; white-space: nowrap; }
/* The label («Med {bank}», «I dag») wraps on narrow phones; the amount beside it doesn't */
.s26n-e4-h > span b { white-space: normal; }
.s26n-e4-h--svak { margin-bottom: 6px; font-size: 13px; color: #354661; }
.s26n-e4-h--svak b { font-weight: 600; color: #354661; }
.s26n-e4-h i { font-style: normal; font-size: 12px; font-weight: 500; color: #687488; }
.s26n-e4-mnd { margin-left: 1px; font-size: 12px; font-weight: 500; color: #687488; }
.s26n-e4-par { position: relative; margin-bottom: 5px; }
.s26n-e4-bar { display: flex; height: 26px; }
.s26n-e4-h--ny { margin: 16px 0 6px; }
.s26n-e4-seg { border-radius: 4px; }
.s26n-e4-seg--idag { background: #939FB0; }
.s26n-e4-seg--bank { background: #18A0FB; }
/* Designer (8.10): besparelsen er et stiplet gult felt, med en svak gul fyll så den synes på hvitt */
.s26n-e4-seg--spar { margin-left: 2px; background: #FFF4E0; border: 1.5px dashed #FDC564; box-shadow: none !important; }
.s26n-e4-strek { position: absolute; top: -4px; bottom: -3px; width: 0; border-left: 2px dashed rgba(3, 24, 57, 0.55); transform: translateX(-1px); }
.s26n-e4-u { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 2px; min-height: 18px; }
.s26n-e4-n { flex: 1 1 auto; min-width: 0; white-space: normal; font-size: 12px; font-weight: 500; color: #687488; }

/* Forslag (verkstedet 8.10): knappen til banken i kortet med «Ring meg» som telefonikon, og «Endre» som dempet lenke */
.s26n-cta { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.s26n-cta .s26n-btn--primary { flex: 1 1 auto; }
.s26n-cta-note { margin: 8px 0 0; text-align: center; }
.s26n-link-adjust { display: block; margin: 12px auto 0; text-align: center; font-size: 14px; font-weight: 500; color: #687488; text-decoration: underline; text-underline-offset: 3px; }
.s26n a.s26n-link-adjust { color: #687488; }
/* Forslag (verkstedet 8.10): i «Hva skjer videre?» og «Godt å vite» står titlene, og teksten under hver er lukket fra start */
.s26n-fold { flex: 1 1 auto; min-width: 0; }
.s26n-fold-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; list-style: none; cursor: pointer; }
.s26n-fold-sum::-webkit-details-marker { display: none; }
.s26n-fold-sum .s26n-step-title { margin: 0; }
.s26n-fold-pil { flex: none; color: #687488; transition: transform 200ms ease-out; }
.s26n-fold[open] .s26n-fold-pil { transform: rotate(180deg); }
.s26n-fold .s26n-step-text { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .s26n-fold-pil { transition: none; } }
.s26n-cta-facts { margin: 4px 0 0; font-size: 12px; line-height: 1.4; text-align: center; color: #687488; }
/* Forslag (verkstedet 8.10): hierarki i «Velg det som passer deg». Etikett liten, beløpet i måneden størst, totalen dempet,
   detaljene minst */
.s26n-bank--choice .s26n-choice-title .s26n-bank-name { font-size: 13px; font-weight: 700; color: #354661; }
.s26n-choice-amount { font-size: 20px; line-height: 1.25; font-weight: 800; color: #031839; }
.s26n-choice-total { font-size: 13px; line-height: 1.4; font-weight: 500; color: #354661; }
/* Forslag (verkstedet 8.10): «Ring meg» som fast, rund knapp nederst til høyre */
.s26n-ring-fab { position: fixed; z-index: 30; right: max(16px, calc(50% - 199px)); bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; color: #031839; box-shadow: 0 4px 16px rgba(3, 24, 57, 0.18), inset 0 0 0 1.5px rgba(3, 24, 57, 0.12); }
.s26n a.s26n-ring-fab { color: #031839; }
.s26n-ring-fab[aria-expanded="true"] { background: #18A0FB; color: #FFFFFF; }
/* The bar with the button to the bank, fixed at the bottom, and the round «Ring meg» on top of it, in one fixed column. Out
   (data-bar="out"): the bar below the screen and the round button down at its own place (20 px above the safe area);
   --s26n-bar-h is the visible bar's height (measureBar). Clicks pass through the empty part of the column */
.s26n-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.s26n-bottom > * { pointer-events: auto; }
.s26n-bottom .s26n-ring-fab { position: static; flex: none; align-self: flex-end; margin: 0 max(16px, calc(50% - 199px)) 12px 0; transition: transform 320ms var(--s26n-ease); }
.s26n-bottom .s26n-dock { position: static; transition: transform 320ms var(--s26n-ease), visibility 0s; }
.s26n-bottom[data-bar="out"] .s26n-ring-fab { transform: translateY(calc(var(--s26n-bar-h, 0px) - 8px - env(safe-area-inset-bottom))); }
.s26n-bottom[data-bar="out"] .s26n-dock { transform: translateY(calc(100% + 32px)); visibility: hidden; transition: transform 320ms var(--s26n-ease), visibility 0s linear 320ms; }
.s26n-result-waiting .s26n-bottom[data-bar] .s26n-dock { transform: translateY(calc(100% + 32px)); visibility: hidden; }
.s26n-screen:has(.s26n-bottom) .s26n-main { padding-bottom: 240px; }
@media (prefers-reduced-motion: reduce) { .s26n-bottom .s26n-ring-fab, .s26n-bottom .s26n-dock { transition: none; } }
/* Forslag (verkstedet 8.10): «Ring meg» åpner tidspunktene i Max' bunnark (.s26n-backdrop + .s26n-sheet). Arket går godt opp
   (minst 70 % av skjermen), én rad per dag, store tidspunkter og luft mellom delene */
.s26n-ring-sheet { max-height: 92vh; overflow-y: auto; padding-top: 12px; padding-left: 24px; padding-right: 24px; }
.s26n-sheet-close { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F0F4FA; color: #031839; cursor: pointer; }
.s26n-sheet-close:focus-visible { outline: 2px solid #18A0FB; outline-offset: 2px; }
.s26n-ring-sheet .s26n-ring-panel { gap: 28px; margin: 12px 0 0; padding: 0; background: transparent; }
.s26n-ring-sheet .s26n-ring-title, .s26n-ring-sheet .s26n-ring-text { padding-right: 52px; font-size: 26px; line-height: 1.2; font-weight: 800; color: #031839; }
.s26n-ring-sheet .s26n-ring-from { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #354661; }
.s26n-ring-days { display: flex; flex-direction: column; gap: 24px; }
.s26n-ring-day .s26n-slot-day { margin: 0 0 10px; padding: 0; border: 0; }
.s26n-ring-day-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s26n-ring-sheet .s26n-slot { height: 64px; border: 1.5px solid #DCE2EA; border-radius: 16px; background: #FFFFFF; box-shadow: none; }
.s26n-ring-sheet .s26n-slot-time { font-size: 18px; }
.s26n-ring-sheet .s26n-slot:hover { border-color: #18A0FB; }
.s26n-ring-sheet .s26n-slot.is-selected { border-color: #18A0FB; background: #18A0FB; color: #FFFFFF; }
.s26n-ring-self { margin: 4px 0 0; font-size: 14px; color: #687488; text-align: center; }
.s26n-ring-self a { font-weight: 700; color: #223C66; }
.s26n-ring-sheet .s26n-ring-done { gap: 14px; }
.s26n-ring-sheet .s26n-ring-done svg { width: 32px; height: 32px; margin-top: 0; }
.s26n-ring-sheet .s26n-ring-line { font-size: 15px; }
/* Forslag (verkstedet 8.10): «Tilbudene fra bankene» som kompakte rader */
.s26n-banks:has(.s26n-bank-kompakt) { gap: 8px; }
.s26n-bank:has(.s26n-bank-kompakt) { padding: 12px 16px; }
.s26n-bank-kompakt { gap: 2px; min-width: 0; flex: 1; }
.s26n-bank-rad { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.s26n-bank-hvem { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
/* Øyvind 8.10: banknavnet ble kuttet («Inst…»). Navnet brytes heller, og «Anbefalt» går på egen linje om det ikke er plass */
.s26n-bank-kompakt .s26n-bank-name { font-size: 15px; font-weight: 700; }
.s26n-bank-kompakt .s26n-bank-hvem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.s26n-bank-belop { font-size: 16px; font-weight: 800; white-space: nowrap; color: #031839; }
/* Forslag (verkstedet 8.10): tidspunktene som en liste med rader og valgsirkel; bekreft med knappen */
.s26n-ring-sheet .s26n-ring-title { font-size: 24px; }
.s26n-ring-list { display: flex; flex-direction: column; gap: 8px; }
.s26n-ring-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; border: 1.5px solid #DCE2EA; border-radius: 16px; background: #FFFFFF; color: #031839; text-align: left; cursor: pointer; transition: border-color 150ms ease-out, background-color 150ms ease-out; }
.s26n-ring-row:hover { border-color: #18A0FB; }
.s26n-ring-row:focus-visible { outline: 2px solid #031839; outline-offset: 2px; }
.s26n-ring-row-day { width: 72px; font-size: 14px; font-weight: 600; color: #687488; }
.s26n-ring-row-time { flex: 1; font-size: 18px; font-weight: 800; }
.s26n-ring-row-dot { flex: none; width: 22px; height: 22px; border: 2px solid #ADB7C5; border-radius: 50%; }
.s26n-ring-row[aria-checked="true"] { border-color: #18A0FB; background: #EFF7FF; }
.s26n-ring-row[aria-checked="true"] .s26n-ring-row-dot { border: 7px solid #18A0FB; }
/* A time that has started (renderRing): greyed out and not tappable */
.s26n-ring-row:disabled { opacity: 0.4; cursor: default; pointer-events: none; }
.s26n-ring-confirm { width: 100%; }
/* Forslag (verkstedet 8.10): valgkortet er en ramme rundt radioen, den lovpålagte linjen og «Vis detaljer». Bare kortet som
   er valgt, viser «Vis detaljer» */
.s26n-choice-card { padding: 14px 16px; border: 2px solid #FFFFFF; border-radius: 16px; background: #FFFFFF; box-shadow: var(--s26n-shadow-soft); }
.s26n-choice-card:has(input:checked) { border-color: #18A0FB; box-shadow: none; }
.s26n-choice-card .s26n-bank--choice { padding: 0; border: 0; background: none; box-shadow: none; }
.s26n-choice-legal { margin: 8px 0 0 32px; font-size: 12px; line-height: 1.45; color: #687488; }
.s26n-choice-legal--alene { margin: -24px 4px 0; text-align: center; }
.s26n-choice-card:not(:has(input:checked)) .s26n-choice-more { display: none; }
.s26n-choice-more .s26n-details { margin: 6px 0 0 32px; }
.s26n-details { gap: 0; margin: 0; padding: 0; background: none; box-shadow: none; }
.s26n-details .s26n-details-toggle { min-height: 36px; }
.s26n-details .s26n-details-body { padding: 8px 0 4px; }
.s26n-ring-sheet .s26n-ring-done .s26n-ring-text { font-size: 20px; line-height: 1.3; }

/* Øyvind 8.10 (Sak 11): «Behold det du har i dag» når tilbudet verken er lavere i måneden eller totalt */
.s26n-keep-title { margin: 4px 0 12px; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #031839; text-wrap: balance; }
.s26n-keep-next { margin: -12px 0 0; }
.s26n-keep-btn { margin-top: 20px; }
.s26n-step-alene { display: flex; align-items: center; min-height: 32px; margin: 0; }

/* Forslag 9.10 (loader-lista punkt 10): et senere, bedre tilbud som melding øverst i kortet. Tallet under endres ikke */
.s26n-better-notice { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px; background: #EFF7FF; }
.s26n-better-notice[hidden] { display: none; }
.s26n-better-notice-text { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; color: #031839; }
.s26n-better-notice-btn { align-self: flex-start; font-size: 14px; font-weight: 700; color: #223C66; text-decoration: underline; text-underline-offset: 3px; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
