/* =============================================================================
   Searchbase Offertgenerator — stilar
   Palett hämtad från searchbase.se
   ========================================================================== */

:root {
  --navy:        #0B1955;
  --navy-deep:   #070F35;
  --navy-soft:   #18233B;
  --navy-line:   #303F59;
  --sand:        #F4E5AA;
  --coral:       #FF6858;
  --ice:         #E5F0FF;
  --white:       #FFFFFF;
  --grey:        #D3DAE4;

  --ink:         #0B1955;
  --bg:          #0B1955;
  --panel:       rgba(255, 255, 255, .045);
  --panel-2:     rgba(255, 255, 255, .075);
  --line:        rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .28);
  --text:        #FFFFFF;
  --muted:       rgba(255, 255, 255, .62);
  --muted-2:     rgba(255, 255, 255, .42);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Poppins', var(--sans);

  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Mjuk ljussättning i bakgrunden */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 500px at 12% -6%, rgba(255, 104, 88, .16), transparent 62%),
    radial-gradient(700px 480px at 92% 4%, rgba(244, 229, 170, .12), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(229, 240, 255, .07), transparent 60%);
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

/* ============================ LAYOUT ==================================== */

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
  /* Hjälpbubblorna är absolut positionerade och kan sticka ut i sidled.
     clip hindrar sidan från att bli scrollbar i sidled utan att skapa en
     scrollcontainer — position: sticky i rälsen fortsätter alltså fungera. */
  overflow-x: clip;
}

/* ---- Vänsterkolumn: framstegsrälsen ---- */
.rail {
  border-right: 1px solid var(--line);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: rgba(7, 15, 53, .35);
  backdrop-filter: blur(8px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.rail::-webkit-scrollbar { width: 6px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14); border-radius: 99px;
}
.rail::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .26); }

.brand { display: block; text-decoration: none; color: inherit; }
.brand-logo { display: block; width: 150px; height: auto; }
.brand-sub {
  display: block; margin-top: 6px; padding-left: 2px;
  font-size: 11px; color: var(--muted-2); letter-spacing: .16em; text-transform: uppercase;
}

/* Framstegsring */
.ring-wrap { position: relative; display: grid; place-items: center; padding: 4px 0 2px; }
.ring-svg { width: 92px; height: 92px; transform: rotate(-90deg); overflow: visible; }
.ring-bg, .ring-fg { fill: none; stroke-width: 2.6; }
.ring-bg { stroke: rgba(255, 255, 255, .12); }
.ring-fg {
  stroke: var(--sand); stroke-linecap: round;
  transition: stroke-dashoffset .7s var(--ease);
  filter: drop-shadow(0 0 6px rgba(244, 229, 170, .35));
}
.ring-pct {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  font-family: var(--display); font-weight: 600; font-size: 19px;
}
.ring-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, 12px);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.step {
  display: flex; align-items: center; gap: 13px;
  padding: 9px 10px; border-radius: 10px;
  color: var(--muted-2); font-size: 14px;
  transition: color .25s var(--ease), background .25s var(--ease);
  position: relative;
}
.step-dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  transition: all .3s var(--ease);
}
.step.done { color: rgba(255,255,255,.72); }
.step.done .step-dot { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.step.active { color: var(--white); background: var(--panel-2); font-weight: 600; }
.step.active .step-dot { border-color: var(--coral); background: var(--coral); color: var(--white); box-shadow: 0 0 0 4px rgba(255,104,88,.2); }

.rail-foot { margin-top: auto; font-size: 12px; color: var(--muted-2); line-height: 1.55; }
.rail-foot strong { color: var(--muted); font-weight: 600; }

/* ---- Höger: innehåll ---- */
.main { padding: 46px 56px 120px; max-width: 900px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sand); font-weight: 700; margin-bottom: 14px;
}
.stage h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.lede { color: var(--muted); font-size: 17px; max-width: 62ch; margin-bottom: 34px; }

.field { margin-bottom: 34px; }
.field > label, .q-label {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 17px; margin-bottom: 6px;
}
.q-help { color: var(--muted-2); font-size: 14px; margin-bottom: 14px; }
.q-label + .q-help { margin-top: -2px; }

/* ============================ KONTROLLER ================================ */

.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); margin-top: 12px; }
.opts.one-col { grid-template-columns: 1fr; }

.opt {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.opt:hover { border-color: var(--line-strong); background: var(--panel-2); transform: translateY(-1px); }
/* Kortet lyfts i staplingsordningen när det hovras, annars hamnar dess
   hjälpbubbla bakom korten som kommer efter i dokumentet. */
.opt:hover, .opt:focus-within, .opt:focus-visible { z-index: 45; }
.opt.on { border-color: var(--sand); background: rgba(244, 229, 170, .1); }
.opt.on::after {
  content: ''; position: absolute; inset: -1px; border-radius: var(--r);
  border: 1px solid var(--sand); pointer-events: none;
}

.opt-box {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line-strong); border-radius: 6px;
  display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.opt-box.radio { border-radius: 50%; }
.opt.on .opt-box { background: var(--sand); border-color: var(--sand); }
.opt-box svg { opacity: 0; transform: scale(.6); transition: all .2s var(--ease); }
.opt.on .opt-box svg { opacity: 1; transform: none; }

.opt-text { min-width: 0; }
.opt-title { font-weight: 600; font-size: 15px; }
.opt-desc { font-size: 13.5px; color: var(--muted-2); margin-top: 3px; line-height: 1.5; }

/* Textfält */
.input, .textarea, .select {
  width: 100%; padding: 13px 15px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--sand); background: var(--panel-2);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.select option { background: var(--navy-deep); color: var(--white); }

.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

/* Stegare för siffror */
.stepper { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.stepper button {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel);
  cursor: pointer; font-size: 20px; line-height: 1;
  transition: all .18s var(--ease);
}
.stepper button:hover { border-color: var(--sand); background: var(--panel-2); }
.stepper .val {
  min-width: 74px; height: 42px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 19px;
  border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line);
}
.stepper .unit { color: var(--muted-2); font-size: 14px; margin-left: 6px; }

/* ============================ NAVIGERING ================================ */

.nav {
  position: fixed; left: 300px; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 56px;
  background: linear-gradient(to top, var(--navy-deep) 55%, rgba(7, 15, 53, 0));
}
.progress-mini { flex: 1; height: 4px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; max-width: 220px; }
.progress-mini i { display: block; height: 100%; background: var(--sand); border-radius: 99px; transition: width .45s var(--ease); }

.btn {
  border: 1px solid transparent; border-radius: 99px;
  padding: 13px 26px; cursor: pointer; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px;
  transition: all .2s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: #ff7a6c; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255,104,88,.32); }
.btn-primary:disabled { background: rgba(255,255,255,.12); color: var(--muted-2); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn-ghost:hover { border-color: var(--line-strong); color: var(--white); }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { background: #f8edc0; transform: translateY(-1px); }

.nav-hint { font-size: 13px; color: var(--muted-2); }

/* ============================ RESULTAT ================================== */

.hero-price {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  padding: 34px 36px; margin-bottom: 30px;
  position: relative; overflow: hidden;
}
.hero-price::before {
  content: ''; position: absolute; right: -70px; top: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,229,170,.2), transparent 70%);
}
.price-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.price-big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 62px); letter-spacing: -.03em; line-height: 1.05;
  margin: 8px 0 6px;
}
.price-sub { color: var(--muted); font-size: 15px; }
.price-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pm-item .pm-k { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
.pm-item .pm-v { font-family: var(--display); font-weight: 600; font-size: 19px; margin-top: 3px; }

.card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); padding: 26px 28px; margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card-lede { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

.section-title {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: .11em; text-transform: uppercase; color: var(--sand);
  margin: 40px 0 16px;
}

/* Tidsplan */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
.tl-gutter { position: relative; display: flex; justify-content: center; }
.tl-gutter::before {
  content: ''; position: absolute; top: 26px; bottom: -6px; width: 2px;
  background: linear-gradient(var(--line-strong), rgba(255,255,255,.06));
}
.tl-row:last-child .tl-gutter::before { display: none; }
.tl-dot {
  width: 28px; height: 28px; border-radius: 50%; flex: none; z-index: 1;
  background: var(--navy); border: 2px solid var(--sand); color: var(--sand);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  font-family: var(--display);
}
.tl-body { padding-bottom: 28px; }
.tl-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl-title { font-family: var(--display); font-weight: 600; font-size: 17px; }
.tl-weeks {
  font-size: 12px; font-weight: 600; color: var(--navy); background: var(--sand);
  padding: 2px 10px; border-radius: 99px;
}
.tl-takt { font-size: 13px; color: var(--muted-2); }
.tl-desc { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; }
.tl-out { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.tl-out li {
  font-size: 12.5px; color: var(--muted); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px;
}
.tl-blocks { font-size: 13.5px; color: var(--muted-2); line-height: 1.75; }
.tl-blocks span::after { content: ' · '; opacity: .45; }
.tl-blocks span:last-child::after { content: ''; }

/* Specifikationstabell */
.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th {
  text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; padding: 0 0 10px; border-bottom: 1px solid var(--line);
}
.spec th:last-child, .spec td:last-child { text-align: right; }
.spec td { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: top; }
.spec tr:last-child td { border-bottom: none; }
.spec .area-row td {
  padding-top: 22px; font-family: var(--display); font-weight: 600;
  font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--sand);
  border-bottom: 1px solid var(--line);
}
.spec .sum-row td {
  padding-top: 16px; border-top: 1px solid var(--line-strong); border-bottom: none;
  font-family: var(--display); font-weight: 600; font-size: 16px;
}
.num { font-variant-numeric: tabular-nums; }

/* Timbank */
.retainers { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ret {
  border: 1px solid var(--line); border-radius: var(--r); padding: 17px 18px;
  background: var(--panel); cursor: pointer; text-align: left;
  transition: all .2s var(--ease);
}
.ret:hover { border-color: var(--line-strong); background: var(--panel-2); }
.ret.on { border-color: var(--coral); background: rgba(255,104,88,.1); }
.ret-h { font-family: var(--display); font-weight: 600; font-size: 16px; }
.ret-p { font-size: 20px; font-weight: 700; font-family: var(--display); margin: 6px 0 4px; color: var(--sand); }
.ret-d { font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.ret-tag { font-size: 11px; color: var(--coral); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Betalningsplan */
.pay { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pay-item { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--panel); }
.pay-pct { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.pay-amt { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 5px 0 4px; }
.pay-when { font-size: 13px; color: var(--muted-2); line-height: 1.5; }

/* Listor */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.86); }
.ticks svg { flex: none; margin-top: 3px; color: var(--sand); }

.fineprint { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13px; color: var(--muted-2); line-height: 1.6; }
.fineprint li { padding-left: 16px; position: relative; }
.fineprint li::before { content: '—'; position: absolute; left: 0; opacity: .5; }

/* Notiser */
.note {
  border-radius: var(--r); padding: 15px 18px; font-size: 14px; line-height: 1.6;
  border: 1px solid; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px;
}
.note svg { flex: none; margin-top: 2px; }
.note.warn { background: rgba(255,104,88,.1); border-color: rgba(255,104,88,.4); color: rgba(255,255,255,.9); }
.note.info { background: rgba(229,240,255,.07); border-color: var(--line); color: var(--muted); }

.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; padding: 5px 13px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--muted);
}
.chip.sand { background: rgba(244,229,170,.15); border-color: rgba(244,229,170,.4); color: var(--sand); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 10px; }

/* Sammanfattning av val, visas i sidopanelen på resultatsteget */
.summary-box { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--panel); font-size: 13.5px; }
.summary-box dt { color: var(--muted-2); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; }
.summary-box dt:first-child { margin-top: 0; }
.summary-box dd { margin: 3px 0 0; color: rgba(255,255,255,.88); }

/* Laddningsindikatorn bor i avsnittet BERÄKNINGSVYN längre ner. Lägg inga
   regler för den här — en dubblett med egna mått låg tidigare kvar och sköt
   ringen ur centrum, eftersom måtten vann över positioneringen. */
.calc { display: grid; place-items: center; min-height: 60vh; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ LÖPANDE ESTIMAT =========================== */

.est {
  border: 1px solid rgba(244, 229, 170, .38); border-radius: var(--r);
  background: linear-gradient(150deg, rgba(244, 229, 170, .13), rgba(244, 229, 170, .04));
  padding: 14px 16px; margin-bottom: 12px;
}
.est-k { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.est-v { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 5px 0 4px; letter-spacing: -.01em; }
.est-n { font-size: 11px; color: var(--muted-2); line-height: 1.45; }

.meta-line {
  font-size: 13.5px; color: var(--muted-2);
  margin: -18px 0 32px; padding-left: 14px;
  border-left: 2px solid rgba(244, 229, 170, .4);
}

.rail-help { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rail-help a { color: var(--sand); text-decoration: none; }
.rail-help a:hover { text-decoration: underline; }

/* ============================ STARTPAKET ================================ */

.starter-card { border-color: rgba(244, 229, 170, .42); background: linear-gradient(155deg, rgba(244, 229, 170, .09), rgba(255, 255, 255, .03)); }
.starter-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.starter-price { text-align: right; flex: none; }
.starter-amt { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; }
.starter-save { font-size: 13px; color: var(--sand); font-weight: 600; margin-top: 3px; }
.starter-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.starter-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.starter-foot { font-size: 13.5px; color: var(--muted); margin-top: 20px; line-height: 1.6; }

@media (max-width: 620px) {
  .starter-cols { grid-template-columns: 1fr; gap: 20px; }
  .starter-price { text-align: left; }
}

/* ============================ SPECIFIKATION ============================= */

.lasguide {
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255, 255, 255, .035);
  padding: 15px 18px; margin-bottom: 22px;
}
.lg-titel {
  display: block; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px;
}
.lasguide ol {
  margin: 0; padding-left: 20px;
  display: grid; gap: 5px;
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
.lasguide strong { color: rgba(255, 255, 255, .88); font-weight: 600; }

.spec-wrap { overflow-x: auto; }
.spec-label { font-weight: 600; }
.spec-desc {
  font-size: 13.5px; color: rgba(255, 255, 255, .72);
  margin-top: 4px; line-height: 1.55; max-width: 62ch;
}
.spec-dod {
  font-size: 12.5px; color: var(--muted-2); margin-top: 5px; line-height: 1.5;
  padding-left: 11px; border-left: 2px solid rgba(244, 229, 170, .28);
}
.spec-h { color: var(--muted); }
.spec .phase-row td {
  padding: 14px 0 6px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); border-bottom: none;
}
.spec .area-row td:first-child { font-size: 12.5px; }

/* ======================== TOTALT FÖRSTA ÅRET ============================ */

.firstyear {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid; gap: 7px; max-width: 460px;
}
.fy-rad { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }
.fy-sum {
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--text);
  padding-top: 8px; margin-top: 3px; border-top: 1px solid var(--line);
}
.fy-moms { font-size: 13px; color: var(--muted-2); }
.fy-not { font-size: 13px; color: var(--muted-2); font-style: normal; }
.fy-varning {
  font-size: 13px; line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 104, 88, .1);
  border: 1px solid rgba(255, 104, 88, .32);
  border-radius: 10px; padding: 11px 13px; margin-top: 4px;
}
.fy-rad strong { color: rgba(255, 255, 255, .92); font-weight: 600; }

/* ===================== ÅTAGANDE OCH RISKER ============================== */

.atagande, .risklista { display: grid; gap: 14px; }
.at-rad, .risk-rad {
  display: grid; grid-template-columns: minmax(200px, 1fr) 1.4fr; gap: 18px;
  padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.at-rad:last-child, .risk-rad:last-child { border-bottom: none; padding-bottom: 0; }
.at-vad { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; }
.at-vad svg { flex: none; margin-top: 3px; color: var(--sand); }
.at-varfor, .risk-atgard { font-size: 13.5px; color: var(--muted-2); line-height: 1.55; }
.risk-vad { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .9); }

/* ============================== VILLKOR ================================= */

.villkor { display: grid; gap: 13px; }
.vk-rad { display: grid; grid-template-columns: 150px 1fr; gap: 18px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.vk-k { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--sand); }

@media (max-width: 620px) {
  .at-rad, .risk-rad, .vk-rad { grid-template-columns: 1fr; gap: 5px; }
}

/* ============================== ORDLISTA ================================ */

.ordlista { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; }
.ordlista dt {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  color: var(--sand); padding-top: 1px;
}
.ordlista dd { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); line-height: 1.6; }

@media (max-width: 620px) {
  .ordlista { grid-template-columns: 1fr; gap: 3px 0; }
  .ordlista dd { margin-bottom: 12px; }
}

/* ============================ ÅTERBETALNING ============================= */

.payback { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pb-item { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--panel); }
.pb-hero { border-color: rgba(244, 229, 170, .42); background: rgba(244, 229, 170, .08); }
.pb-k { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
.pb-v { font-family: var(--display); font-weight: 600; font-size: 21px; margin-top: 6px; letter-spacing: -.01em; }
.pb-hero .pb-v { color: var(--sand); font-size: 24px; }
.pb-u { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.pb-n { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; line-height: 1.5; }

.proportion-varning { border-color: rgba(255, 104, 88, .38); }
.varning-lista { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.55; }
.varning-lista li { padding-left: 2px; }

/* ============================ PRISSPAKAR ================================ */

.levers { display: grid; gap: 10px; }
.lever {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); padding: 15px 17px;
}
.lever-h { font-family: var(--display); font-weight: 600; font-size: 15px; }
.lever-d { font-size: 13px; color: var(--muted-2); margin-top: 3px; line-height: 1.5; }
.lever-num { text-align: right; flex: none; }
.lever-price { font-family: var(--display); font-weight: 600; font-size: 17px; }
.lever-diff { font-size: 13px; color: var(--sand); font-weight: 600; margin-top: 2px; }

@media (max-width: 560px) {
  .lever { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lever-num { text-align: left; }
}

/* ============================ FÖRVÄNTNINGAR ============================= */

.outcomes { display: grid; gap: 14px; }
.outcome {
  display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: start;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.outcome:last-child { border-bottom: none; padding-bottom: 0; }
.outcome-h {
  font-family: var(--display); font-weight: 600; font-size: 13.5px;
  color: var(--sand); padding-top: 1px;
}
.outcome-b { font-size: 14.5px; color: rgba(255, 255, 255, .84); line-height: 1.6; margin: 0; }
.koppling-mal {
  margin: 6px 0 0; font-size: 12.5px; color: var(--muted-2);
  letter-spacing: .02em;
}

@media (max-width: 620px) {
  .outcome { grid-template-columns: 1fr; gap: 5px; }
}

/* ================= INTERNT: PROMPTBIBLIOTEK OCH ÖVERLÄMNING ============= */

.prompt-list { display: grid; gap: 8px; }
.prompt-item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255, 255, 255, .03); overflow: hidden;
}
.prompt-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 14.5px;
  transition: background .18s var(--ease);
}
.prompt-item summary::-webkit-details-marker { display: none; }
.prompt-item summary:hover { background: rgba(255, 255, 255, .05); }
.prompt-item[open] summary { border-bottom: 1px solid var(--line); }
.prompt-meta { font-size: 12px; font-weight: 600; color: var(--sand); white-space: nowrap; }
.prompt-body {
  margin: 0; padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .84);
}
.prompt-dod {
  margin: 0; padding: 0 16px 14px;
  font-size: 12.5px; color: var(--muted-2);
}

.handover { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }
.ho-item {
  display: flex; flex-direction: column; gap: 9px;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 17px 18px; background: var(--panel);
}
.ho-h { font-family: var(--display); font-weight: 600; font-size: 15.5px; }
.ho-d { font-size: 13px; color: var(--muted-2); line-height: 1.55; flex: 1; }
.ho-item .btn { width: 100%; justify-content: center; padding: 10px 14px; font-size: 13.5px; }

.kickoff-preview {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
}
.kickoff-label {
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px;
}
.kickoff-preview pre {
  margin: 0; padding: 16px 18px; max-height: 260px; overflow: auto;
  background: #060D2B; border: 1px solid var(--line); border-radius: var(--r);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .82);
  white-space: pre-wrap; word-wrap: break-word;
}

/* ============================ HJÄLPTEXTER =============================== */

/* Markören bredvid en frågerubrik */
.tip-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 18px; height: 18px; margin-left: 7px; padding: 0;
  vertical-align: 2px; flex: none;
  border: 1.4px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--muted); cursor: help;
  transition: all .2s var(--ease);
}
.tip-btn:hover, .tip-btn:focus-visible, .tip-btn.open {
  border-color: var(--sand); color: var(--sand); background: rgba(244, 229, 170, .12);
  outline: none;
}

/* Markören inuti ett alternativ — span, eftersom knapp i knapp är ogiltigt */
.opt-tip {
  position: relative; display: inline-grid; place-items: center;
  width: 16px; height: 16px; margin-left: 6px; vertical-align: 1px;
  border: 1.3px solid var(--line-strong); border-radius: 50%;
  color: var(--muted-2); cursor: help; flex: none;
  transition: all .2s var(--ease);
}
.opt-tip-mark { font-size: 10px; font-weight: 700; line-height: 1; }
.opt:hover .opt-tip { border-color: var(--muted); color: var(--muted); }
.opt-tip:hover, .opt-tip.open { border-color: var(--sand); color: var(--sand); background: rgba(244, 229, 170, .14); }

/* Själva bubblan */
.tip-pop {
  position: absolute; z-index: 60; left: 50%; top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
  width: max-content; max-width: min(300px, 74vw);
  padding: 11px 14px;
  background: #060D2B; color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(244, 229, 170, .34); border-radius: 11px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .55);
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  line-height: 1.55; letter-spacing: 0; text-align: left; text-transform: none;
  white-space: normal; pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.tip-pop::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: rgba(244, 229, 170, .34);
}
.tip-btn:hover .tip-pop, .tip-btn:focus-visible .tip-pop, .tip-btn.open .tip-pop,
.opt-tip:hover .tip-pop, .opt-tip.open .tip-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* ============================ IKONER I KORT ============================= */

.opt-icon { align-items: center; padding: 17px 18px; }
.opt-glyph {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05); color: var(--sand);
  transition: all .25s var(--ease);
}
.opt-glyph svg { width: 23px; height: 23px; }
.opt:hover .opt-glyph { border-color: var(--line-strong); }
.opt.on .opt-glyph { background: rgba(244, 229, 170, .17); border-color: rgba(244, 229, 170, .5); }

.h1-glyph {
  display: inline-grid; place-items: center; vertical-align: -6px;
  width: 36px; height: 36px; margin-right: 12px;
  color: var(--sand);
}
.h1-glyph svg { width: 30px; height: 30px; }

.opt-label-soft { color: var(--muted-2); font-weight: 400; }

/* Markering av tjänster som svarar mot kundens mål */
.rek-flagga {
  display: inline-block; vertical-align: 2px; margin-left: 9px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.rek-kraver { background: rgba(255, 104, 88, .18); color: #FF9184; border: 1px solid rgba(255, 104, 88, .45); }
.rek-primar { background: rgba(244, 229, 170, .17); color: var(--sand); border: 1px solid rgba(244, 229, 170, .45); }
.rek-stod   { background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--line); }

.opt-motiv {
  display: block; margin-top: 6px; padding-left: 11px;
  border-left: 2px solid rgba(244, 229, 170, .35);
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.opt-rek { border-color: rgba(244, 229, 170, .28); }
.bundle-note { margin-top: 22px; animation: rise .4s var(--ease) both; }

/* ============================ RÖRELSE =================================== */

/* Bara steget som byter animeras — omritning vid klick ska kännas direkt */
.stage-in { animation: rise .45s var(--ease) both; }
.stage-in .opts > .opt { animation: optIn .42s var(--ease) both; }
.stage-in .opts > .opt:nth-child(1) { animation-delay: .04s; }
.stage-in .opts > .opt:nth-child(2) { animation-delay: .08s; }
.stage-in .opts > .opt:nth-child(3) { animation-delay: .12s; }
.stage-in .opts > .opt:nth-child(4) { animation-delay: .16s; }
.stage-in .opts > .opt:nth-child(5) { animation-delay: .20s; }
.stage-in .opts > .opt:nth-child(6) { animation-delay: .24s; }
.stage-in .opts > .opt:nth-child(7) { animation-delay: .28s; }
.stage-in .opts > .opt:nth-child(8) { animation-delay: .32s; }
@keyframes optIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.pulse { animation: pulse .42s var(--ease); }
@keyframes pulse {
  0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); }
}

/* Offertens delar tonar in en och en */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

/* Tidsplanens linje ritas uppifrån och ner */
.timeline.drawn .tl-gutter::before { animation: drawLine .6s var(--ease) both; }
@keyframes drawLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-gutter::before { transform-origin: top; }

/* ============================ BERÄKNINGSVYN ============================= */

.calc { gap: 26px; }

/* Märket i mitten, banorna runt om. Allt hänger på samma centrum: SVG:n
   fyller hela rutan och cirklarna sitter i dess mittpunkt, medan logotypen
   centreras av griden. Inga inset-beroenden, inga glapp. */
.calc-mark {
  position: relative;
  display: grid; place-items: center;
  width: 112px; height: 112px;
}
.calc-orbit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.calc-orbit circle {
  fill: none;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.orbit-track { stroke: rgba(255, 255, 255, .1); stroke-width: 2; }

/* Ringen visar faktisk progress. Startar högst upp och fylls medurs.
   Dasharray och dashoffset sätts från JS utifrån omkretsen. */
.orbit-progress {
  stroke: var(--sand); stroke-width: 2.6;
  transform: rotate(-90deg);
  transform-box: view-box; transform-origin: 50% 50%;
  transition: stroke-dashoffset .55s cubic-bezier(.4, 0, .2, 1);
  filter: drop-shadow(0 0 5px rgba(244, 229, 170, .3));
}

/* Logotypen står still. Rörelsen ligger i ringen och i steglistan —
   allt som rör sig samtidigt gör helheten rörigare, inte livligare. */
.calc-logo {
  position: relative; z-index: 1;
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .88; } 50% { opacity: 1; } }

.calc-title { font-size: 26px; margin-top: 2px; }

/* Byggstegen — varje rad redovisar ett riktigt värde ur beräkningen */
.build {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2px; width: min(420px, 90vw); text-align: left;
}
.build-step {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  opacity: .32; transform: translateY(3px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.build-step.active { opacity: 1; transform: none; background: rgba(255, 255, 255, .05); }
.build-step.done { opacity: .78; transform: none; }

.build-icon {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.build-step.active .build-icon {
  border-color: var(--sand); border-top-color: transparent;
  animation: spin .7s linear infinite;
}
.build-step.done .build-icon {
  background: var(--sand); border-color: var(--sand); animation: none;
}
.build-check { opacity: 0; transform: scale(.5); transition: all .25s var(--ease); }
.build-step.done .build-check { opacity: 1; transform: none; }

.build-label { font-size: 14.5px; }
.build-value {
  font-family: var(--display); font-weight: 600; font-size: 13.5px;
  color: var(--sand); opacity: 0; transform: translateX(-6px);
  transition: opacity .35s var(--ease) .1s, transform .35s var(--ease) .1s;
}
.build-step.done .build-value { opacity: 1; transform: none; }

/* Ingen separat förloppsindikator: ringen runt logotypen är förloppet.
   Två indikatorer för samma sak är en indikator för mycket. */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================ RESPONSIVT ================================ */

@media (max-width: 1100px) {
  .shell { grid-template-columns: 250px 1fr; }
  .nav { left: 250px; padding: 16px 34px; }
  .main { padding: 40px 34px 120px; }
  .brand-logo { width: 128px; }
  .ring-svg { width: 78px; height: 78px; }
}

@media (max-width: 940px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky; top: 0; z-index: 30;
    height: auto; flex-direction: row; align-items: center;
    gap: 16px; padding: 12px 18px;
    border-right: none; border-bottom: 1px solid var(--line);
    background: rgba(7, 15, 53, .94);
  }
  .brand-logo { width: 112px; }
  .brand-sub, .rail-foot, .rail .summary-box { display: none; }
  .ring-wrap { padding: 0; margin-left: auto; order: 3; }
  .ring-svg { width: 44px; height: 44px; }
  .ring-pct { font-size: 11px; transform: translate(-50%, -50%); }
  .ring-label { display: none; }

  /* Stegen får krympa och scrolla i sidled så att sidan aldrig gör det */
  .steps {
    flex-direction: row; gap: 3px; order: 2;
    flex: 1 1 auto; min-width: 0;
    overflow-x: auto; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { padding: 5px; flex: none; }
  .step span:not(.step-dot) { display: none; }
  .step-dot { width: 20px; height: 20px; font-size: 10px; }
  .brand { flex: none; }

  .main { padding: 28px 18px 132px; }
  .nav { left: 0; padding: 14px 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-meta { gap: 18px 22px; }
  .stage h1 { font-size: clamp(25px, 6vw, 32px); }
  .lede { font-size: 16px; margin-bottom: 28px; }
}

/* Utan hovring (pekskärm) visas hjälptexten inbyggd i stället för som bubbla.
   Det gör att alla alternativ förklarar sig själva på mobil. */
@media (hover: none) {
  .opt-tip { display: none; }
  .opt-desc { display: block; }
  .opt-text > .opt-title { display: block; }
  .opt-title::after {
    content: attr(data-tip);
    display: block; margin-top: 4px;
    font-size: 13px; font-weight: 400; line-height: 1.5;
    color: var(--muted-2); letter-spacing: 0;
  }
  .tip-btn .tip-pop { left: 0; transform: translateX(0) translateY(-4px); max-width: min(300px, 80vw); }
  .tip-btn .tip-pop::before { left: 9px; transform: none; }
  .tip-btn.open .tip-pop { transform: translateX(0) translateY(0); }
}

@media (max-width: 620px) {
  /* Smal skärm: bubblan ankras till vänsterkanten av markören i stället för
     att centreras, så att den håller sig inom skärmen. */
  .tip-pop {
    left: auto; right: -8px;
    transform: translateX(0) translateY(-4px);
    max-width: min(270px, calc(100vw - 48px));
  }
  .tip-pop::before { left: auto; right: 10px; transform: none; }
  .tip-btn:hover .tip-pop, .tip-btn:focus-visible .tip-pop, .tip-btn.open .tip-pop,
  .opt-tip:hover .tip-pop, .opt-tip.open .tip-pop { transform: translateX(0) translateY(0); }
}

@media (max-width: 560px) {
  .opts, .retainers, .pay, .handover { grid-template-columns: 1fr; }
  .btn { padding: 13px 18px; font-size: 14.5px; }
  .nav-hint, .progress-mini { display: none; }
  .nav { gap: 10px; }
  .nav .btn { flex: 1; justify-content: center; min-height: 48px; }
  .opt { padding: 14px 15px; min-height: 56px; }
  .stepper button { width: 48px; height: 48px; }
  .stepper .val { height: 48px; }
  .hero-price, .card { padding: 22px 20px; border-radius: 16px; }
  .price-big { font-size: clamp(34px, 11vw, 46px); }
  .tl-row { grid-template-columns: 24px 1fr; gap: 12px; }
  .tl-dot { width: 24px; height: 24px; font-size: 11px; }
  .spec th:nth-child(2), .spec td:nth-child(2) { display: none; }
  .actions .btn { width: 100%; justify-content: center; }
}

/* ============================ UTSKRIFT / PDF ============================ */

@media print {
  @page { size: A4; margin: 15mm 14mm; }

  /* Rita om hela paletten för papper. Det här fångar även inline-stilar
     som pekar på var(--muted) och liknande — annars blir de vit text på vitt. */
  :root {
    --text:        #0B1955;
    --muted:       #4A5468;
    --muted-2:     #5B6678;
    --line:        #C9D2E0;
    --line-strong: #0B1955;
    --panel:       #FFFFFF;
    --panel-2:     #F4F7FC;
    --sand:        #A9873B;
    --coral:       #C4432F;
    --bg:          #FFFFFF;
  }

  body {
    background: #fff !important; color: #0B1955 !important;
    font-size: 10.5pt; line-height: 1.5;
  }
  body::before { display: none; }
  .shell { display: block; }
  .rail, .nav, .actions, .no-print { display: none !important; }
  .main { padding: 0; max-width: none; }
  .stage, .stage-in, .stage-in .opts > .opt { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tip-btn, .opt-tip, .tip-pop { display: none !important; }

  h1, h2, h3, h4 { color: #0B1955 !important; }
  .eyebrow, .section-title, .price-label, .pay-pct { color: #A9873B !important; }
  .lede, .card-lede, .tl-desc, .muted, .ret-d, .pay-when, .tl-blocks { color: #4A5468 !important; }

  .hero-price, .card, .pay-item, .ret, .summary-box, .note {
    border: 1px solid #C9D2E0 !important; background: #fff !important;
    box-shadow: none !important; break-inside: avoid;
  }
  .hero-price::before { display: none; }
  .price-big { color: #0B1955 !important; }
  .pm-item .pm-k { color: #4A5468 !important; }

  .tl-dot { background: #fff !important; border-color: #A9873B !important; color: #A9873B !important; }
  .tl-weeks { background: #F4E5AA !important; color: #0B1955 !important; }
  .tl-out li, .chip { background: #F4F7FC !important; border-color: #C9D2E0 !important; color: #4A5468 !important; }
  .tl-gutter::before { background: #C9D2E0 !important; }

  .spec th { color: #4A5468 !important; border-color: #C9D2E0 !important; }
  .spec td { border-color: #E4EAF2 !important; }
  .spec .area-row td { color: #A9873B !important; border-color: #C9D2E0 !important; }
  .spec .sum-row td { border-color: #0B1955 !important; }
  .ticks svg { color: #A9873B !important; }
  .ticks li, .summary-box dd { color: #0B1955 !important; }
  .outcome-h { color: #A9873B !important; }
  .koppling-mal { color: #4A5468 !important; }
  .outcome-b { color: #0B1955 !important; }
  .outcome { border-color: #E4EAF2 !important; break-inside: avoid; }
  .spec-dod, .spec-h, .spec .phase-row td { color: #4A5468 !important; }
  .spec-desc { color: #2C3648 !important; }
  .lasguide { border-color: #C9D2E0 !important; background: #F4F7FC !important; break-inside: avoid; }
  .lasguide ol, .lg-titel { color: #4A5468 !important; }
  .tl-takt { color: #4A5468 !important; }
  .lasguide strong { color: #0B1955 !important; }
  .spec-dod { border-left-color: #C9A85A !important; }
  .fy-rad, .fy-moms, .fy-not { color: #4A5468 !important; }
  .fy-rad strong { color: #0B1955 !important; }
  .fy-varning {
    color: #0B1955 !important; background: #FFF4F2 !important;
    border-color: #FFD2CC !important; break-inside: avoid;
  }
  .fy-sum { color: #0B1955 !important; border-top-color: #C9D2E0 !important; }
  .firstyear { border-top-color: #C9D2E0 !important; }
  .at-rad, .risk-rad { border-bottom-color: #E4EAF2 !important; break-inside: avoid; }
  .at-vad, .risk-vad { color: #0B1955 !important; }
  .at-vad svg { color: #A9873B !important; }
  .at-varfor, .risk-atgard { color: #4A5468 !important; }
  .vk-rad { color: #0B1955 !important; break-inside: avoid; }
  .vk-k { color: #A9873B !important; }
  .ordlista dt { color: #A9873B !important; }
  .ordlista dd { color: #0B1955 !important; }
  .ordlista { break-inside: auto; }
  .spec .phase-row td { border-color: transparent !important; }
  .starter-card { border-color: #A9873B !important; background: #FDFBF3 !important; }
  .starter-amt, .starter-save { color: #0B1955 !important; }
  .starter-h { color: #4A5468 !important; }
  .pb-item { border-color: #C9D2E0 !important; background: #fff !important; break-inside: avoid; }
  .pb-hero { border-color: #A9873B !important; background: #FDFBF3 !important; }
  .pb-k, .pb-n, .pb-u { color: #4A5468 !important; }
  .pb-v, .pb-hero .pb-v { color: #0B1955 !important; }
  .starter-foot { color: #4A5468 !important; }
  .lever, .levers { break-inside: avoid; }
  .lever-diff { color: #A9873B !important; }
  .fineprint, .summary-box dt { color: #4A5468 !important; }
  .ret.on { border-color: #0B1955 !important; border-width: 2px !important; }
  .ret:not(.on) { display: none; }

  .card, .tl-row, .hero-price { break-inside: avoid; }
  .section-title { break-after: avoid; }
  .print-only { display: block !important; }
}

.print-only { display: none; }

/* Sidhuvud som bara syns i PDF:en */
.print-head { display: none; }
@media print {
  .print-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid #0B1955;
  }
  .print-head .ph-logo { width: 148px; height: auto; display: block; margin-bottom: 5px; }
  .print-head .ph-name { font-family: var(--display); font-weight: 700; font-size: 15pt; color: #0B1955; }
  .print-head .ph-meta { text-align: right; font-size: 8.5pt; color: #4A5468; line-height: 1.5; }
}

/* Honungsfälla i kontaktsteget. Inte display:none — en del robotar hoppar
   över dolda fält, men följer med utanför skärmkanten. aria-hidden och
   tabindex -1 gör att varken skärmläsare eller tangentbord når den. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Visas bara när JavaScript är avstängt. Gränssnittet ritas av JS, så utan
   det vore sidan tom — här står vad man gör i stället. */
.noscript {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 26px;
  text-align: center;
}
.noscript img { margin-bottom: 36px; }
.noscript h1 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.noscript p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}
.noscript a { color: var(--sand); }
.noscript-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}