/* =========================================================
   Offertklar, designprov v2.1. Gemensam stil för alla sidor.
   Byt namn: ändra BRAND i site.js.

   Identitet: offertpapper, bläck och en gul markör på fotona.
   Rubriker: Archivo, bred och tung som en skylt. Brödtext och siffror: IBM Plex Sans.
   IBM Plex Mono bara på etiketterna i fotona.
   Inget under 14 px. Allt man ska läsa är mörkt, inte grått.
   ========================================================= */

:root {
  color-scheme: light;

  --paper: #F2EFE7;
  --paper-2: #E9E5DA;
  --sheet: #FFFFFF;
  --ink: #111418;
  --ink-2: #2E353C;
  --muted: #5B636C;
  --line: #D5CFC1;
  --line-strong: #A9A08C;

  --accent: #FFC53D;
  --accent-deep: #E8AC12;
  --accent-ink: #5C4400;
  --accent-soft: #FFF1C2;

  --warn: #C4361C;
  --ok: #1E7A4B;
  --ok-soft: #E1F1E7;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 6px;
  --r-lg: 10px;
  --maxw: 1160px;
  --gutter: 16px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Ryska: Archivo saknar kyrilliska bokstäver, så rubriken blandade två typsnitt
   ("Смета: ванная в" i ett, "Huddinge" i ett annat). På ryska tar rubrikerna
   Plex Sans i stället. Loggan och offerten till kunden (lang="sv") behåller Archivo. */
html[lang="ru"] { --font-head: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; }
html[lang="ar"] { --font-head: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Arial, sans-serif; --font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Arial, sans-serif; }
html[dir="rtl"] .h1, html[dir="rtl"] .h2, html[dir="rtl"] .h3, html[dir="rtl"] .logo .word { letter-spacing: 0; font-variation-settings: normal; }
html[lang="ru"] [lang="sv"], html[lang="ru"] .logo { --font-head: "Archivo", "Arial Narrow", Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 0;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); min-width: 0; }
@media (min-width: 760px) { :root { --gutter: 32px; } }

/* ---------- Typografi ---------- */
.h1, .h2, .doc-title, .bar h1 { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -.01em; }
.h1 { font-size: clamp(32px, 7vw, 56px); line-height: 1.02; text-wrap: balance; }
.h2 { font-size: clamp(26px, 4.4vw, 36px); line-height: 1.08; text-wrap: balance; }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }

/* Källan på en rad: vanlig text, "gissat" som gul etikett, "kollat" grön */
.src { display: block; font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.src i { display: inline-block; font-style: normal; font-weight: 600; padding: 1px 7px; border-radius: 3px; }
.src i.g { background: var(--accent-soft); color: var(--accent-ink); }
.src i.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- Knappar (få, tydliga, samma form överallt) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px;
  border-radius: var(--r); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .08s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: #000; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: rgba(17, 20, 24, .06); }
.btn-quiet { background: transparent; color: var(--ink-2); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-lg { min-height: 58px; padding: 0 26px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--accent); }
.textlink { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Sidhuvud ---------- */
.top {
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 40;
}
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo .word { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1; font-variation-settings: "wdth" 100; }
.logo .word::after { content: "."; color: var(--accent-deep); }
.nav { display: none; gap: 22px; }
.nav a, .top .quiet, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.nav a:hover, .top .quiet:hover, .foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav a, .top .quiet { white-space: nowrap; }
@media (min-width: 860px) { .nav { display: flex; } }

/* =========================================================
   STARTSIDAN
   ========================================================= */
.hero { padding: 36px 0 44px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.hero-copy .h1 { margin-bottom: 14px; }
.hero-copy .lead { margin-bottom: 24px; }
@media (min-width: 980px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .hero-copy .lead { margin-bottom: 28px; }
}

/* Inmatningsrutan */
.ask-form { display: grid; gap: 12px; }
.ask { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.ask.drag { border-color: var(--accent-deep); background: var(--accent-soft); }
.ask-field { padding: 16px 16px 6px; }
.ask textarea {
  display: block; width: 100%; min-width: 0; min-height: 96px; resize: none;
  border: 0; outline: 0; background: transparent; padding: 0;
  font-size: 18px; line-height: 1.45; color: var(--ink);
}
.ask textarea::placeholder { color: var(--muted); opacity: 1; }
.ask-thumbs { display: flex; gap: 8px; padding: 0 16px 8px; flex-wrap: wrap; }
.ask-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.ask-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.ask-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 8px; white-space: nowrap; min-width: 0;
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--r); font-weight: 600; font-size: 16px; color: var(--ink); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.ask-btn svg { width: 22px; height: 22px; flex: none; }
.ask-btn:hover { background: rgba(17, 20, 24, .06); }
.ask-btn input { display: none; }
.mic.on { background: var(--accent); border-color: var(--accent); }
.wave { display: none; align-items: center; gap: 3px; height: 24px; }
.wave i { width: 3px; height: 6px; background: currentColor; border-radius: 2px; animation: wave .9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; }
.wave i:nth-child(5) { animation-delay: .15s; } .wave i:nth-child(6) { animation-delay: .05s; } .wave i:nth-child(7) { animation-delay: .25s; }
.mic.on .wave { display: inline-flex; }
.mic.on .mic-icon { display: none; }
.go { width: 100%; }
.ask-hint { margin-top: 14px; font-size: 16px; color: var(--ink-2); }

/* Fotot i hero: produkten i arbete */
.hero-shot { position: relative; min-width: 0; }
.hero-shot .caption { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.shot { position: relative; overflow: hidden; border-radius: var(--r); background: #ddd; aspect-ratio: 4 / 3; border: 1px solid var(--line-strong); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .scan { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--accent); animation: scan 2.2s var(--ease) forwards; opacity: 0; }

/* Markör på föremålet: en ring där det sitter, ett kort streck, etiketten bredvid */
.tag {
  position: absolute; left: calc(var(--x) - 11px); top: calc(var(--y) - 11px);
  display: flex; align-items: center; opacity: 0; transform: translateY(4px);
  animation: tagIn .35s var(--ease) forwards; animation-delay: var(--d, 0s);
}
.tag.left { left: auto; right: calc(100% - var(--x) - 11px); flex-direction: row-reverse; }
.tag .ring { width: 22px; height: 22px; flex: none; border: 2.5px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(17, 20, 24, .55), inset 0 0 0 1.5px rgba(17, 20, 24, .55); }
.tag .ln { width: 14px; height: 2px; flex: none; background: var(--accent); box-shadow: 0 1px 0 rgba(17, 20, 24, .4); }
.tag b { background: var(--ink); color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1; padding: 7px 9px; border-radius: 4px; white-space: nowrap; }

/* Så går det till: en linje med tre steg, inte tre kort */
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .section { padding: 80px 0; } }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 48em; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); padding-top: 2px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { grid-template-columns: minmax(0, 1fr); padding: 24px 0 0; border-bottom: 0; }
  .step .n { padding-top: 0; margin-bottom: 14px; }
}

/* Dealen: en prislista på papper */
.deal { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .deal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.pricelist { background: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px 20px; min-width: 0; }
.pricelist .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pricelist .row:last-child { border-bottom: 0; }
.pricelist .k { font-weight: 500; }
.pricelist .k small { display: block; font-size: 14.5px; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
.pricelist .v { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricelist .v small { font-size: 14px; color: var(--ink-2); font-weight: 400; margin-left: 4px; }
.pricelist .row.big .v { font-size: 32px; }
.deal-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

/* Exempeloffert med anteckningar bredvid */
.example { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 900px) { .example { grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); gap: 48px; } }
.notes { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .notes { padding-top: 40px; position: sticky; top: calc(var(--header-h) + 24px); } }
.note { padding-left: 16px; border-left: 3px solid var(--accent); font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.note b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Frågor */
.faq { border-top: 1.5px solid var(--ink); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 24px; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* Sidfot */
.foot { padding: 36px 0 44px; }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot .fine { font-size: 14px; color: var(--ink-2); }

/* =========================================================
   OFFERTDOKUMENTET (används på start- och offertsidan)
   ========================================================= */
.doc {
  position: relative; background: var(--sheet); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 26px 18px 20px; min-width: 0;
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(17, 20, 24, .35);
}
@media (min-width: 640px) { .doc { padding: 40px 40px 30px; } }
/* Samma uppställning som PDF-mallen (mall-v2): sidhuvud med firma och offertnummer, rubrik, parter,
   prisruta, det som ingår, pris med ROT steg för steg, villkor i två spalter, underskrift med ort och datum. */
.doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px 24px; flex-wrap: wrap; }
.doc-firm { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 105; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.doc-firm.empty, .doc-parties b.empty, .doc-sign b .empty { color: var(--muted); font-weight: 600; }
.doc-meta { display: flex; gap: 20px; margin: 0; }
.doc-meta div { display: grid; gap: 2px; }
.doc-meta dt, .doc-parties .k, .doc-pricebox .k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-meta dd { margin: 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-titles { margin-top: 26px; }
.doc-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.doc-title { font-size: 30px; line-height: 1.05; margin: 4px 0 6px; }
.doc-sub { color: var(--ink-2); font-size: 16px; }
.doc-intro { margin-top: 14px; font-size: 16px; line-height: 1.5; max-width: 60ch; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; min-width: 0; }
.doc-parties > div { min-width: 0; }
.doc-parties .k { display: block; margin-bottom: 4px; }
.doc-parties b { display: block; font-weight: 600; }
.doc-parties span:not(.k) { display: block; color: var(--ink-2); overflow-wrap: anywhere; }
.doc-parties span span { display: inline; }
@media (max-width: 559px) { .doc-parties { grid-template-columns: minmax(0, 1fr); } }
.doc-pricebox { margin-top: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.doc-pricebox .cells { display: grid; grid-template-columns: 1fr 1fr 1.3fr; }
.doc-pricebox .cells > div { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.doc-pricebox .cells > div:first-child { border-left: 0; }
.doc-pricebox .k { display: block; }
.doc-pricebox .v { display: block; margin-top: 4px; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-pricebox .pay .v { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 108; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.doc-pricebox .pay .num { font-weight: 800; }
.doc-pricebox .num.calc { color: var(--muted); }
.doc-pricebox .note { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 559px) {
  .doc-pricebox .cells { grid-template-columns: 1fr 1fr; }
  .doc-pricebox .pay { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
.doc h4 { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink); margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc h4 .sub { font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 8px; }
.doc-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: 16px; line-height: 1.45; }
.doc-list li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--ink); justify-self: center; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; padding-left: 12px; }
.doc-table td small { display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.doc-table tr.del td { font-weight: 600; border-bottom: 1px solid var(--ink); }
.doc-table tr.sum td { font-weight: 600; }
.doc-table tr.rot td { color: var(--ok); }
.doc-table tr.rot td small { color: var(--ok); }
.doc-table tr.pay td { font-weight: 700; font-size: 18px; border-top: 1.5px solid var(--ink); border-bottom: 0; padding-top: 12px; }
.doc-note { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.doc-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.doc-terms > div { min-width: 0; }
.doc-terms b { display: block; font-weight: 600; font-size: 15px; }
.doc-terms p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 559px) { .doc-terms { grid-template-columns: minmax(0, 1fr); } }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.doc-sign > div { min-width: 0; }
.doc-sign .line { display: block; height: 34px; border-bottom: 1px solid var(--ink); }
.doc-sign .line.short { height: 24px; }
.doc-sign .u { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.doc-sign .u b { color: var(--ink); font-weight: 600; }
@media (max-width: 559px) { .doc-sign { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.doc-foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.doc-foot .made::after { content: var(--brand-name); }
.delta {
  display: inline-block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 4px 8px; border-radius: 3px; background: var(--accent-soft); color: var(--accent-ink);
  margin-left: 10px; vertical-align: middle; opacity: 0; transform: translateY(3px); transition: opacity .3s, transform .3s;
}
.delta.show { opacity: 1; transform: none; }
.delta.minus { background: var(--ok-soft); color: var(--ok); }

/* =========================================================
   FLÖDET (skapa.html): en konversation
   ========================================================= */
.flow { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 120px; display: grid; gap: 22px; min-width: 0; }
@media (min-width: 760px) { .flow { padding-top: 40px; gap: 26px; } }
.msg { display: grid; gap: 8px; min-width: 0; animation: rise .4s var(--ease) both; scroll-margin-top: calc(var(--header-h) + 12px); }
.msg .who { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.msg.me { justify-items: end; }
.bubble { background: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 14px 16px; font-size: 17px; line-height: 1.5; max-width: 100%; min-width: 0; }
.msg.me .bubble { background: var(--ink); color: #fff; border-color: var(--ink); border-bottom-right-radius: 2px; max-width: 92%; }
.msg.ai .bubble { border-bottom-left-radius: 2px; }
.bubble.redo { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; text-align: left; font-weight: 500; }
.bubble.redo .pen { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bubble .thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.bubble .thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.bubble .voice { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; opacity: .9; }
.bubble .voice .wave { display: inline-flex; }
.bubble .voice .wave i { animation: none; }
.bubble .voice .wave i:nth-child(1) { height: 6px; } .bubble .voice .wave i:nth-child(2) { height: 14px; } .bubble .voice .wave i:nth-child(3) { height: 20px; }
.bubble .voice .wave i:nth-child(4) { height: 10px; } .bubble .voice .wave i:nth-child(5) { height: 18px; } .bubble .voice .wave i:nth-child(6) { height: 8px; } .bubble .voice .wave i:nth-child(7) { height: 14px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }

/* Läser bilderna */
.reading { display: grid; gap: 10px; }
.reading .status { font-size: 15.5px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.reading .status .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); animation: pulse 1s infinite; flex: none; }
.reading.done .status .pulse { animation: none; background: var(--ok); }
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .shots { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .shots .shot:first-child { grid-row: span 2; aspect-ratio: auto; } }
.shot .tag, .shot .scan { animation-play-state: paused; }
.shot.live .tag, .shot.live .scan { animation-play-state: running; }
.reading.done .shot .scan { display: none; }
.reading.done .shot .tag { opacity: 1; transform: none; animation: none; }

/* Så här förstod jag det */
.grasp { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.grasp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.grasp-head h2 { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 108; font-size: 20px; }
.grasp-head .hint, .assume .head p { font-size: 14.5px; color: var(--ink-2); }
.grasp .row, .assume .row { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; background: transparent; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; }
.grasp .row { animation: rise .35s var(--ease) both; }
.grasp .row:hover, .assume .row:hover { background: var(--paper); }
.grasp .row[aria-disabled="true"]:hover { background: transparent; }
.grasp .row .k, .assume .row .k { font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding-top: 3px; }
.grasp .row .v, .assume .row .v { font-size: 16.5px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.pen { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pen:empty { display: none; }
.grasp .edit, .assume .edit { display: grid; gap: 10px; padding: 12px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); animation: rise .25s var(--ease) both; }
.grasp .edit .chips, .assume .edit .chips { margin: 0; }
.grasp .edit input { width: 100%; min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.grasp .go-row { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.grasp .go-row .btn { width: 100%; }
@media (max-width: 420px) { .grasp .row, .assume .row { grid-template-columns: 84px minmax(0, 1fr) auto; } }

/* Frågor i chatten: chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  min-height: 46px; padding: 0 14px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 15.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .12s, color .12s;
}
.chip small { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.chip:hover { background: var(--paper); }
.chip.on, .chip:active { background: var(--ink); color: #fff; }
.chip.on small { color: #d8d8d8; }
.chip.quiet { border-color: var(--line-strong); color: var(--ink-2); font-weight: 500; }
.chips .other { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.chips .other input { min-width: 0; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.msg.answered .chips { display: none; }

/* Det jag räknat med */
.check { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--sheet); }
.check .t { font-weight: 600; font-size: 16px; }
.check ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.check li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; padding: 4px 0; border-bottom: 1px dotted var(--line); min-width: 0; }
.check li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check li .src { margin: 0; flex: none; }
@media (max-width: 420px) { .check ul { grid-template-columns: minmax(0, 1fr); } }

/* Räknar */
.calc { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 18px 18px 20px; display: grid; gap: 6px; }
.calc .t { font-size: 14.5px; font-weight: 500; color: #C9CED4; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.calc .t .pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
.calc .line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; font-size: 15.5px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.calc .line.on { opacity: 1; transform: none; }
.calc .line .num { color: #fff; white-space: nowrap; }
.calc .line.rot .num { color: #8FE0B2; }
.calc .big { margin-top: 12px; display: grid; gap: 4px; }
.calc .big .k { font-size: 15px; color: #C9CED4; }
.calc .big .num { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.calc .big .num.done { color: var(--accent); }
.calc .next { margin-top: 16px; }
.calc .next .btn { width: 100%; }

/* =========================================================
   OFFERTSIDAN
   ========================================================= */
.bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.bar h1 { font-size: 22px; line-height: 1.1; }
.bar .sub { font-size: 15px; color: var(--ink-2); margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tagline { display: inline-block; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tocheck { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; }
.tocheck.done { color: var(--ok); text-decoration: none; }
.bar .bar-text { min-width: 0; }
.bar .yousend { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-top: 8px; max-width: 56ch; }
.bar .tools { display: none; gap: 10px; flex: none; }
@media (min-width: 760px) { .bar .tools { display: flex; } .bar h1 { font-size: 26px; } }
.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 120px; }
@media (min-width: 1000px) {
  .result { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
  .result .side { position: sticky; top: calc(var(--header-h) + 16px); }
}
.main-col { display: grid; gap: 20px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 999px) { .main-col .assume { order: -1; } }

/* Det vi gissat */
.assume { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 12px); }
.assume .head { display: grid; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.assume .head h2 { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 108; font-size: 20px; }
.assume .row:last-of-type { border-bottom: 0; }
.assume .more { display: block; width: 100%; padding: 12px 16px; min-height: 44px; background: var(--paper); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.assume .more:last-child { border-bottom: 0; }
.assume .all-ok { padding: 12px 16px; font-size: 15.5px; color: var(--ok); font-weight: 500; }

/* Chatten */
.chat { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-width: 0; overflow: hidden; }
@media (min-width: 1000px) { .chat { height: min(72vh, 680px); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-head .who { font-weight: 600; font-size: 16px; }
.chat-head .count { font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.chat-head .count b { color: var(--ink); font-weight: 600; }
.chat-body { padding: 16px; display: grid; gap: 16px; align-content: start; overflow-y: auto; min-height: 0; }
.chat-body .msg { animation: rise .35s var(--ease) both; }
.chat-body .msg.ai .bubble { background: var(--paper); border-color: var(--paper); }
.chat-body .bubble { font-size: 16px; padding: 12px 14px; }
.chat-body .bubble .flag { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ok); }
.chat-body .bubble .flag.stop { color: var(--warn); }
.chat-body .bubble .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; scrollbar-width: none; }
.suggest::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .suggest { flex-wrap: wrap; overflow: visible; } }
.suggest button { flex: none; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line-strong); background: var(--sheet); border-radius: var(--r); font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.suggest button:hover { border-color: var(--ink); }
.chat-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px 16px 16px; }
.chat-in input { min-width: 0; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.chat-in input::placeholder { color: var(--muted); opacity: 1; }
.send { width: 50px; height: 50px; border-radius: var(--r); border: 0; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.send svg { width: 22px; height: 22px; }
.send:hover { background: var(--accent-deep); }

/* Knappen fast i botten (mobil) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(242, 239, 231, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
.dock { display: flex; gap: 10px; }
.dock .btn-accent { flex: 1; min-width: 0; }
.dock .btn-line { flex: none; width: 58px; padding: 0; justify-content: center; }
@media (min-width: 760px) { .dock { display: none; } }
@media (min-width: 760px) { .dock.dock-alltid { display: flex; justify-content: center; } .dock.dock-alltid .btn-accent { flex: none; min-width: 320px; } .dock.dock-alltid .btn-line { width: auto; padding: 0 22px; } body:has(.dock-alltid) { padding-bottom: 80px; } }

/* Skicka: kund, firma och org.nr frågas sist */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; background: rgba(17, 20, 24, .5); overflow-y: auto; }
.sheet-wrap.show { display: flex; }
.sheet { width: 100%; max-width: 520px; background: var(--sheet); border-radius: 14px 14px 0 0; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 14px; animation: sheetUp .3s var(--ease); min-width: 0; margin-top: auto; }
@media (min-width: 640px) { .sheet-wrap { align-items: center; padding: 20px; } .sheet { border-radius: 10px; padding: 28px 28px; margin: auto; } }
.sheet h2 { font-family: var(--font-head); font-weight: 800; font-variation-settings: "wdth" 108; font-size: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input { width: 100%; min-width: 0; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 17px; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field .help { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.sheet .warn { background: var(--accent-soft); color: var(--accent-ink); padding: 10px 12px; border-radius: var(--r); font-size: 15px; font-weight: 500; line-height: 1.4; }
.sheet .sheet-lead { font-size: 15.5px; color: var(--ink-2); line-height: 1.45; margin-top: -6px; }
.sheet .acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(10px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 70; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }
@media (min-width: 760px) { .toast { bottom: 32px; } }

/* =========================================================
   SPRÅK OCH TESTVERSION (v2.2)
   ========================================================= */
/* Språkväljaren i sidhuvudet: SV · UZ · RU, hela namnen när det finns plats */
.top-end { display: flex; align-items: center; gap: 10px; min-width: 0; }
@media (min-width: 760px) { .top-end { gap: 18px; } }
.lang { display: flex; align-items: center; flex: none; }
.lang button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 30px; padding: 0 4px;
  border: 0; background: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang .dot { color: var(--line-strong); font-weight: 600; }
.lang .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 560px) {
  body:not([data-page="start"]) .lang .l { position: static; width: auto; height: auto; overflow: visible; clip: auto; letter-spacing: 0; }
  body:not([data-page="start"]) .lang .s { display: none; }
  body:not([data-page="start"]) .lang button { padding: 0 6px; }
}
@media (min-width: 1180px) {
  .lang .l { position: static; width: auto; height: auto; overflow: visible; clip: auto; letter-spacing: 0; }
  .lang .s { display: none; }
  .lang button { padding: 0 6px; }
}
/* Startsidan i smal mobil: väljaren får platsen, priset står längre ner */
@media (max-width: 429px) { body[data-page="start"] .top .quiet { display: none; } }

/* Lappen överst: det här är en testversion */
.test-strip { background: var(--ink); color: #fff; }
.test-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.test-strip p { font-size: 14.5px; line-height: 1.4; min-width: 0; }
.test-strip .btn { flex: none; min-height: 40px; padding: 0 14px; font-size: 15px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.test-strip .btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Länkknapp i sidfoten (Tyck till) */
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.linkbtn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Offerten till kunden är på svenska (visas bara på uz och ru) */
.sv-note { font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.4; padding-left: 12px; border-left: 3px solid var(--accent); }
html[lang="sv"] .sv-note { display: none; }
.ex-doc { display: grid; gap: 14px; min-width: 0; }

/* Skicka-rutan i testversionen: inget skickas */
.test-note { display: grid; gap: 10px; justify-items: start; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; font-size: 15px; font-weight: 500; line-height: 1.4; }

/* Tyck till: samma ruta som Skicka offerten */
.fb-body { display: grid; gap: 14px; min-width: 0; }
.field .lbl { font-size: 15px; font-weight: 600; color: var(--ink); }
.field textarea { width: 100%; min-width: 0; min-height: 110px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 17px; line-height: 1.45; resize: vertical; }
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.chips.rate { margin-top: 0; }
.chips.rate .chip { min-width: 48px; justify-content: center; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-done { display: grid; gap: 16px; justify-items: start; }
.fb-done p { font-size: 18px; font-weight: 600; }

/* ---------- Rörelse ---------- */
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 22px; } }
@keyframes scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes tagIn { to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes dots { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Bara för skärmdumpar (?stage=): allt ritas i sitt slutläge */
.instant *, .instant *::before, .instant *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .shot .scan { display: none; }
  .tag, .calc .line { opacity: 1; transform: none; }
}

/* ---------- 18 okt natt: meny i mobilen, korta steg, exempel som PDF, prisrad ---------- */
.nav-m { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-m a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.nav a[aria-current], .nav-m a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent-deep); }
@media (min-width: 860px) { .nav-m { display: none; } }
.steps.short .step { align-items: center; padding: 18px 0; }
.steps.short .step h3 { margin: 0; }
@media (min-width: 760px) { .steps.short { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; } }
.ex-pages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .ex-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ex-pages a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; }
.ex-pages img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 28px rgba(17, 20, 24, .08); margin-bottom: 8px; }
.ex-more { margin-top: 22px; }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 26px 0; }
.band-text { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 30px); margin: 0; }
.page-head .narrow { max-width: 760px; }
.page-head .pricelist { margin-top: 24px; }
.page-head .faq { margin-top: 28px; }

/* ---------- Konto och Mina sidor ---------- */
.tabs { display: flex; margin: 22px 0 18px; border-bottom: 1.5px solid var(--ink); }
.tab { appearance: none; background: none; border: 0; padding: 12px 16px; min-height: 48px; font: 600 16px var(--font-body); color: var(--muted); cursor: pointer; }
.tab.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent-deep); }
.kform { display: grid; gap: 16px; max-width: 460px; }
.kfel { margin: 0; color: var(--warn); font-weight: 600; }
.mina { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 760px) { .mina { grid-template-columns: 1fr 1fr; } }
.mina-box { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.mina-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mina-top h2 { margin: 0; }
.mina-lista { list-style: none; margin: 10px 0 0; padding: 0; }
.mina-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mina-lista li.tom { color: var(--muted); }
.mina-lista a { color: var(--ink); font-weight: 600; }

/* ---------- Ny offert: frågorna ---------- */
#fragor .lead { margin-bottom: 18px; }
.kort { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin: 0 0 16px; display: grid; gap: 14px; }
.kort > h2 { margin: 0; }
.q { display: grid; gap: 8px; min-width: 0; }
.q .lbl, .field .lbl { font-size: 15px; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font: 500 15.5px var(--font-body); color: var(--ink-2); cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rad3 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rum { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 14px; }
.rum:first-of-type { border-top: 0; padding-top: 0; }
.rad-top { display: flex; align-items: end; gap: 12px; }
.rad-top .field { flex: 1; }
.bilder-rad { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tumme { position: relative; display: block; width: 120px; height: 90px; }
.tumme img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.tumme button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
#qRakna { margin-top: 4px; }
.svar { margin-top: 24px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
.svar-pris { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.svar-pris span { font-weight: 600; }
.svar-pris b { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 5vw, 40px); }
.svar-rader { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; color: var(--ink-2); }
.svar-rader span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.svar h3 { margin: 8px 0 0; }
.svar-text { margin: 0; line-height: 1.55; color: var(--ink-2); }
.svar-lista { margin: 0; padding-left: 18px; color: var(--ink-2); }
.svar-lista li { margin: 4px 0; }
#qPdfRuta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
#qPdfRuta p { flex-basis: 100%; margin: 0; }
.ok-text { color: var(--ok); font-weight: 600; }
.hero-jobb { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 22px; }
.hero-jobb .btn { justify-content: space-between; }
.hero-shot .offert-bild { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 28px rgba(17, 20, 24, .1); }

.lbl-stor { font-weight: 600; margin: 22px 0 0; }
.hero-jobb { margin-top: 10px; }

/* ---------- 18 okt kväll: skicka in jobb, startsidan i Fables stil, lite rörelse ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.ask-bar.one { grid-template-columns: 1fr; }
.ask-thumbs .tumme { width: 72px; height: 72px; }
.ask-thumbs .tumme button { width: 24px; height: 24px; font-size: 16px; top: 2px; right: 2px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.checks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero-shot .offert-bild { box-shadow: 0 18px 40px -22px rgba(17, 20, 24, .45); transition: transform .35s ease, box-shadow .35s ease; }
.hero-shot a:hover .offert-bild { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 26px 48px -22px rgba(17, 20, 24, .5); }
.steg3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.steg3 li { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px 20px; display: grid; gap: 8px; transition: transform .25s ease, border-color .25s ease; }
.steg3 li:hover { transform: translateY(-3px); border-color: var(--ink); }
.steg3 .ik { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.steg3 .ik svg { width: 24px; height: 24px; color: var(--ink); }
.steg3 .n { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--paper-2); line-height: 1; }
.steg3 h3 { margin: 0; }
.steg3 p { margin: 0; color: var(--ink-2); line-height: 1.5; }
@media (min-width: 760px) { .steg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section.dark { background: var(--ink); color: #fff; border-bottom: 0; }
.section.dark .h2 { color: #fff; }
.varfor { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 32px; grid-template-columns: minmax(0, 1fr); }
.varfor li { border-top: 2px solid var(--accent); padding-top: 14px; }
.varfor h3 { color: #fff; margin: 0 0 6px; }
.varfor p { margin: 0; color: #C9CED3; line-height: 1.5; }
@media (min-width: 640px) { .varfor { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pris-kort { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 26px 22px; display: grid; gap: 16px; max-width: 620px; margin: 0 auto; }
.pris-rad { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.pris-tal { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.pris-rad:first-child .pris-tal { color: var(--ok); }
.pricelist .row.paket { background: var(--accent-soft, #FFF3CC); border-radius: 12px; padding-left: 12px; padding-right: 12px; }
.pricelist .row.paket .v { color: var(--accent-deep); }
.pris-txt { color: var(--ink-2); line-height: 1.45; }
.pris-fot { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.pris-kort .btn { justify-self: start; }
.dela-knappar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.fe-rad { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) 70px 70px 100px 110px 36px; align-items: end; margin-bottom: 10px; }
.fe-rad input, .fe-rad select { width: 100%; min-width: 0; min-height: 44px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.fe-rad button { min-height: 44px; }
@media (max-width: 640px) { .fe-rad { grid-template-columns: 1fr 1fr 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--line); } .fe-rad .fe-text { grid-column: 1 / -1; } }
#faEgen { max-width: none; }
.tva { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .tva { grid-template-columns: 150px minmax(0, 1fr); } }
.kort > h2 .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); font-size: 16px; margin-right: 6px; vertical-align: middle; }
.kort .help { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.sjalv { margin-top: 28px; font-size: 15.5px; color: var(--ink-2); }
.sjalv a { color: var(--ink); font-weight: 600; }
.kort.klar { border: 1.5px solid var(--ok); background: var(--ok-soft); }
.kort.klar .h2 { display: flex; align-items: center; gap: 10px; }
.ok-ik { width: 34px; height: 34px; color: var(--ok); flex: none; }
.mina-lista li.vantar span { color: var(--accent-ink); font-weight: 600; }
.mina-lista li.vantar em { font-style: normal; color: var(--ink-2); }
.rise { animation: rise .55s ease both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .3s; }

.kform textarea { width: 100%; min-width: 0; min-height: 90px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; line-height: 1.45; resize: vertical; }
.kform .ok-text { margin: 0; }

/* ---------- utkastet: sidorna som bilder, raderna, dock ---------- */
.sidor { display: grid; gap: 18px; }
.sida-bild { margin: 0; }
.sida-bild img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 10px 28px -18px rgba(17, 20, 24, .4); }
.sida-bild figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; text-align: right; }
.rader { display: grid; gap: 8px; }
.rad { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rad-text { grid-column: 1 / -1; }
@media (min-width: 700px) { .rad { grid-template-columns: minmax(0, 1fr) auto auto auto; } .rad-text { grid-column: auto; } }
.rad-text { font-size: 15.5px; line-height: 1.35; }
.rad-text small { display: block; color: var(--muted); font-size: 13px; }
.rad-mangd { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.rad-mangd input { width: 72px; min-height: 42px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; text-align: right; }
.rad-summa { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; min-width: 74px; text-align: right; }
.rad-bort { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; font-size: 20px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.rad-bort:hover { border-color: var(--warn); color: var(--warn); }
.lagg { position: relative; }
.lagg input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px dashed var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.sok-lista { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; max-height: 320px; overflow-y: auto; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r); margin-top: 4px; display: grid; }
.sok-lista button { text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 15px; cursor: pointer; }
.sok-lista button:hover { background: var(--accent-soft); }
.sok-lista button small { display: block; color: var(--muted); font-size: 13px; }
.sok-lista .help { padding: 10px 14px; margin: 0; }
.chat-snart { border-style: dashed; }
.utkast-mark { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }

body[data-page="utkast"] .result { padding-bottom: 110px; }

.rad-text .ov { display: block; color: var(--ink); font-weight: 600; margin-top: 2px; }
.rad-text .ov + small { margin-top: 2px; }

/* ---------- hjärnan: läser, förstått, frågor, chatten ---------- */
.snurr { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line-strong); border-top-color: var(--ink); border-radius: 50%; animation: snurr .9s linear infinite; vertical-align: -3px; }
@keyframes snurr { to { transform: rotate(360deg); } }
.forstatt-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.forstatt-lista li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.lapp { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; background: var(--paper-2); color: var(--ink-2); }
.lapp.gissat { background: var(--accent-soft); color: var(--accent-ink); }
.lapp.bild { background: var(--ok-soft); color: var(--ok); }
.fraga { display: grid; gap: 8px; padding-top: 6px; }
.fraga .lbl { margin: 0; font-weight: 600; }
.chatt { display: grid; gap: 10px; max-height: 360px; overflow-y: auto; }
.chatt .msg { display: flex; }
.chatt .msg.me { justify-content: flex-end; }
.chatt .bubble { max-width: 85%; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 15.5px; line-height: 1.4; }
.chatt .msg.me .bubble { background: var(--accent-soft); }
.kort .chat-in { padding: 0; }

.rad-koper { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.rad-koper input { width: 18px; height: 18px; }
.firma-ruta { margin: 0 auto 120px; max-width: 760px; border: 1.5px solid var(--ink); }

/* ---------- 19 okt: luftigare (Sukhrob: C + A, papper och gult men renare, färre lådor, som techbolag) ---------- */
:root { --paper: #FAF8F3; --paper-2: #F0ECE2; --line: #E4DFD3; --line-strong: #BDB5A3; --r: 10px; --r-lg: 16px; --maxw: 1140px; }
@media (min-width: 760px) { :root { --gutter: 32px; } }
body { -webkit-font-smoothing: antialiased; }
.top { border-bottom: 1px solid var(--line); background: rgba(250, 248, 243, .92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 25; }
.nav a { font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.btn { border-radius: 999px; font-weight: 600; }
.btn-lg { min-height: 56px; padding: 0 28px; }
.h1 { font-size: clamp(36px, 5.6vw, 58px); line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "wdth" 105; }
.h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.hero { padding: 64px 0 72px; border-bottom: 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 22px 22px; opacity: .28; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; } }
.eyebrow { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); letter-spacing: .08em; font-size: 12.5px; padding: 6px 12px; }
.ask { border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 24px 60px -36px rgba(17, 20, 24, .35); background: #fff; }
.ask:focus-within { border-color: var(--ink); }
.ask-btn { border-radius: 999px; border-color: var(--line-strong); }
.hero-shot .offert-bild { border-radius: 10px; box-shadow: 0 30px 70px -34px rgba(17, 20, 24, .45); }
.section { padding: 88px 0; border-bottom: 0; }
.section-head { margin-bottom: 40px; }
.steg3 { gap: 40px; }
.steg3 li { background: transparent; border: 0; padding: 0; border-top: 1px solid var(--line-strong); padding-top: 22px; border-radius: 0; }
.steg3 li:hover { transform: none; border-color: var(--ink); }
.steg3 .ik { background: var(--accent); border-radius: 12px; }
.steg3 .n { color: var(--line-strong); font-size: 15px; font-weight: 600; top: 26px; letter-spacing: .08em; }
.ex-pages a img { border-radius: 8px; box-shadow: 0 20px 50px -30px rgba(17, 20, 24, .4); transition: transform .3s ease; }
.ex-pages a:hover img { transform: translateY(-4px); }
.section.dark { background: var(--ink); border-radius: 24px; margin: 0 var(--gutter); padding: 72px 0; }
.section.dark .wrap { padding: 0 var(--gutter); }
.varfor li { border-top: 1px solid rgba(255, 255, 255, .18); }
.varfor h3 { font-size: 20px; }
.pris-kort { border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -40px rgba(17, 20, 24, .4); padding: 36px 32px; max-width: 680px; }
.pris-tal { font-size: 36px; }
.band { border-bottom: 0; }
.foot { border-top: 1px solid var(--line); padding-top: 40px; }
.kort { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 16px 40px -32px rgba(17, 20, 24, .35); padding: 24px 22px; }
.kort > h2 .n { background: var(--ink); color: #fff; }
.chip { border-radius: 999px; }
.field input, .field textarea, .kform textarea, .rad-mangd input, .lagg input, .chat-in input { border-color: var(--line-strong); border-radius: 10px; }
.field input:focus, .field textarea:focus, .chat-in input:focus, .lagg input:focus { border-color: var(--ink); outline: 0; }
.mina-box { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 16px 40px -32px rgba(17, 20, 24, .3); }
.bar { border-bottom: 1px solid var(--line); }
.sida-bild img { border-radius: 8px; }
.dock { background: rgba(250, 248, 243, .94); }
.kform select, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 16px; }
.kform .lbl { margin: 6px 0 0; font-weight: 600; }

/* ---------- 19 okt: lugnare rubriker, mindre tomt, mer känsla (Sukhrob) ---------- */
.h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.015em; }
.h3 { font-size: 18px; }
.lead { font-size: 17px; line-height: 1.55; }
.hero { padding: 40px 0 44px; }
.hero::before { opacity: .22; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 26px; }
.steg3 { gap: 24px; }
.section.dark { padding: 52px 0; border-radius: 20px; }
.section.dark .h2 { color: #fff; }
.section.dark { background: #16191d; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 18px 18px; }
.pris-kort { padding: 28px 26px; }
.pris-tal { font-size: 30px; }
.ex-pages { gap: 20px; }
#exempel { background: var(--paper-2); border-radius: 20px; margin: 0 var(--gutter); }
#exempel .wrap { padding: 0 var(--gutter); }
.siffror { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 36px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .siffror { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.siffror b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.siffror span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.checks { margin-top: 14px; }
.eyebrow { margin-bottom: 10px; }
.btn-lg { min-height: 52px; font-size: 17px; }

.hero-grid .siffror { grid-column: 1 / -1; }

.betala-ruta { display: grid; gap: 10px; justify-items: start; }
.betala-ruta .lbl { font-size: 20px; font-weight: 700; margin: 0; }

.samm { border-left: 4px solid var(--accent); }
.samm p { margin: 6px 0 0; line-height: 1.55; }
.rad-text .ov-forst { display: block; font-weight: 600; }
.rad-text small[lang="sv"] { color: var(--muted); }
.fraga .annat { width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px dashed var(--line-strong); border-radius: 10px; background: #fff; font-size: 15.5px; margin-top: 4px; }
.fraga .annat:focus { border-color: var(--ink); border-style: solid; outline: 0; }
.sida-bild img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

.logga-rad { display: flex; gap: 16px; align-items: center; margin: 6px 0 14px; flex-wrap: wrap; }
.logga-rad img { max-height: 56px; max-width: 220px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }

.juridik h2 { margin: 28px 0 8px; }
.juridik p, .juridik li { line-height: 1.6; color: var(--ink-2); }
.juridik ul { padding-left: 20px; }
.jt { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
.jt th, .jt td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.jt th { font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .jt { font-size: 13px; } }
.godk { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.godk input { width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* chatten på utkast-sidan: synlig text (ustans bubbla var vit på ljus botten) */
.chatt .msg { animation: none; opacity: 1; }
.chatt .bubble { color: var(--ink); background: var(--paper); border: 1px solid var(--line); font-size: 15.5px; }
.chatt .msg.me .bubble { color: #fff; background: var(--ink); border-color: var(--ink); }
.chatt .msg.ai .bubble { color: var(--ink); background: #fff; border-color: var(--line-strong); }

/* Mina sidor: namn (+ utkast-lapp) till vänster, datum och belopp till höger, radbryt snyggt i mobilen */
.mina-lista li { flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.mina-lista li > a, .mina-lista li > em { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mina-lista li > span:last-child { margin-left: auto; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.utkast-mark { margin-left: 0; font-size: 12px; padding: 2px 8px; line-height: 1.4; }
@media (max-width: 480px) { .mina-lista li > span:last-child { margin-left: 0; width: 100%; } }

/* mobil: sidhuvudet får plats (logga, Mina sidor, språk) */
.logo svg { flex: none; }
@media (max-width: 520px) {
  .top .wrap { gap: 8px; }
  .logo { gap: 6px; }
  .logo .word { font-size: 18px; }
  .top-end { gap: 8px; min-width: 0; }
  .top-end .btn-sm { min-height: 36px; padding: 0 10px; font-size: 13.5px; white-space: nowrap; }
  .lang { gap: 4px; font-size: 13px; }
  .lang button, .lang a { padding: 0 2px; min-width: 0; }
}

.nav-m .lang-m { margin-left: auto; flex: none; }
.lang-m { display: none; }
@media (max-width: 859px) { .top .lang { display: none; } .lang-m { display: flex; } }

/* språkväljaren: tre knappar i en ram, ingen prick */
.lang { border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; gap: 2px; background: #fff; }
.lang .dot { display: none; }
.lang button { border-radius: 999px; padding: 5px 10px; min-height: 0; text-decoration: none !important; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button .l { display: none; }
.lang button .s { display: inline; }
/* äldre regler (body:not(start) .lang .s) gömde SV/UZ/RU på datorn: rutan blev tom */
.lang button span.s { display: inline !important; }
.lang button span.l { display: none !important; }

/* Mina sidor som översikt */
.dash-topp { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.dash-topp .lead { margin-top: 6px; font-size: 15px; }
.dash-tal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.dash-tal div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.dash-tal b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.dash-tal span { font-size: 13.5px; color: var(--ink-2); }
.dash-flikar { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.dflik { appearance: none; background: none; border: 0; padding: 12px 14px; font: 600 15.5px var(--font-body); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.dflik.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent-deep); }
.dpanel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.dpanel > .help { margin-top: 0; }
@media (max-width: 520px) { .dash-tal { gap: 8px; } .dash-tal div { padding: 12px; } .dash-tal b { font-size: 22px; } .dash-topp .btn-lg { width: 100%; } }

.visa-inlogg { border: 2px solid var(--accent-deep); margin-top: 16px; }
@media (max-width: 859px) {
  .nav-m { gap: 14px; align-items: center; }
  .nav-m a { font-size: 14.5px; }
  .nav-m .lang-m { padding: 2px; }
  .nav-m .lang-m button { padding: 4px 8px; font-size: 12.5px; }
}
@media (max-width: 400px) { .nav-m { gap: 10px; } .nav-m a { font-size: 13.5px; } }
.kontant-ruta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.rut-priser { display: grid; gap: 6px; }
.rut-rad { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; align-items: center; font-size: 14.5px; }
.rut-rad small { color: var(--muted); }
.rut-rad input { min-height: 40px; padding: 0 10px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; text-align: right; width: 100%; }
.just-rad { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; } .just-rad input { flex: 1; min-width: 160px; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; font-size: 16px; }
.wa-rad { margin: 14px 0 0; } .wa-rad .btn { white-space: normal; text-align: center; }
/* granskning 20 okt: knappar i betalrutan får radbrytas, tabeller kan svepas, språkknappar stora nog för fingret, docken täcker inte sidfoten */
.betala-ruta .btn, .kontant-ruta .btn { white-space: normal; text-align: center; max-width: 100%; }
.tabellrull { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lang button { min-height: 36px; min-width: 36px; }
@media (max-width: 759px) { body:has(.dock) { padding-bottom: 84px; } }

/* ===== Renare stil (okt 2026): kort, notisrutor, runda knappar ===== */
.btn { border-radius: 999px; }
.btn-lg { min-height: 56px; }
.steg3 { gap: 18px; }
.steg3 li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 24px; box-shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 18px 40px -30px rgba(17, 20, 24, .25); }
.steg3 li:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.steg3 .n { top: 24px; right: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink-2); font-size: 14px; display: grid; place-items: center; letter-spacing: 0; }
.siffror > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.hero-shot { padding: 26px 0 0; }
.notis .ik svg { color: var(--ink); }
.notis { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 11px 14px; box-shadow: 0 18px 40px -18px rgba(17, 20, 24, .35), 0 0 0 1px rgba(17, 20, 24, .05); max-width: 78%; font-size: 13.5px; line-height: 1.3; animation: notisIn .6s var(--ease, ease) both; }
.notis small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); opacity: .75; margin-bottom: 2px; }
.notis b { font-weight: 600; }
.notis .ik { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.notis.in { top: 0; left: -10px; }
.notis.in .ik { background: var(--paper); }
.notis.ut { bottom: 64px; right: -10px; animation-delay: .5s; }
.notis.ut .ik { background: var(--accent); }
@keyframes notisIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero-shot { display: flex; flex-direction: column; padding-top: 0; }
  .hero-shot > a { order: 1; } .hero-shot .caption { order: 3; }
  .notis { position: relative; top: auto; bottom: auto; left: auto; right: auto; font-size: 12.5px; max-width: 88%; padding: 8px 12px; }
  .notis .ik { width: 26px; height: 26px; }
  .notis.in, .notis.ut { top: auto; bottom: auto; left: auto; right: auto; }
  .notis.in { order: 0; align-self: flex-start; margin: 0 0 -12px 8px; }
  .notis.ut { order: 2; align-self: flex-end; margin: -16px 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .notis { animation: none; } }

/* Arabiska: höger till vänster (okt 2026). Speglar de regler ovan som pekar åt vänster. */
html[dir="rtl"] .note, html[dir="rtl"] .sv-note { padding-left: 0; padding-right: 16px; border-left: 0; border-right: 3px solid var(--accent); }
html[dir="rtl"] .samm { border-left: 0; border-right: 4px solid var(--accent); }
html[dir="rtl"] .doc-table td:last-child { text-align: left; padding-left: 0; padding-right: 12px; }
html[dir="rtl"] .bubble.redo, html[dir="rtl"] .sok-lista button, html[dir="rtl"] .jt th, html[dir="rtl"] .jt td { text-align: right; }
html[dir="rtl"] .jt th, html[dir="rtl"] .jt td { padding: 8px 0 8px 10px; }
html[dir="rtl"] .svar-lista { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .juridik ul { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .mina-lista li > span:last-child, html[dir="rtl"] .nav-m .lang-m { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .lapp, html[dir="rtl"] .doc h4 .sub, html[dir="rtl"] .pricelist .v small { margin-left: 0; margin-right: 6px; }
html[dir="rtl"] .doc-pricebox .cells > div { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .doc-pricebox .cells > div:first-child { border-right: 0; }
html[dir="rtl"] .pricelist .v, html[dir="rtl"] .doc-table td:last-child, html[dir="rtl"] .tel, html[dir="rtl"] .doc-pricebox .v { direction: ltr; unicode-bidi: isolate; }

/* ---------- Guider (sökmotorsidor) och guidelänkar i sidfoten ---------- */
.foot nav.foot-guider { gap: 0 18px; }
.foot-guider b { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--ink); }
.foot nav.foot-guider a { font-size: 14.5px; min-height: 36px; }
.guide h2 { margin: 34px 0 8px; }
.guide ol, .guide ul { padding-left: 20px; }
.guide li { margin: 4px 0; }
.guide-cta { margin: 34px 0; padding: 22px 22px 24px; border: 1.5px solid var(--ink); border-radius: 14px; }
.guide-cta p { margin: 0 0 14px; color: var(--ink); }
.guide .faq { margin-top: 8px; }
.guide-mer ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.guide-mer a { display: inline-flex; min-height: 40px; align-items: center; }
html[dir="rtl"] .guide ol, html[dir="rtl"] .guide ul { padding-left: 0; padding-right: 20px; }

/* ===== Ny offert: laddningsvy och resultatvy (24 okt) ===== */
.kort.vy { text-align: center; margin-top: 18px; padding: 34px 20px 30px; overflow: hidden; position: relative; }
.vy-ladd { display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity .35s ease; }
.vy-papper { position: relative; width: 132px; height: 168px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 20, 24, .10), 0 2px 6px rgba(17, 20, 24, .06); padding: 18px 16px; display: flex; flex-direction: column; gap: 9px;
  animation: vyFlyt 3.2s ease-in-out infinite; }
.vy-papper::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent); border-radius: 8px 8px 0 0; }
.vy-papper span { display: block; height: 6px; border-radius: 3px; background: var(--line); transform-origin: left center; transform: scaleX(0);
  animation: vySkriv 4.8s var(--ease) infinite; }
[dir="rtl"] .vy-papper span { transform-origin: right center; }
.vy-papper .vy-rub { height: 9px; width: 62%; background: var(--ink); opacity: .82; margin-bottom: 4px; animation-delay: 0s; }
.vy-papper .r1 { width: 100%; animation-delay: .35s; } .vy-papper .r2 { width: 86%; animation-delay: .6s; }
.vy-papper .r3 { width: 94%; animation-delay: .85s; } .vy-papper .r4 { width: 70%; animation-delay: 1.1s; }
.vy-papper .vy-summa { width: 44%; height: 8px; margin-top: auto; margin-left: auto; background: var(--accent-deep); animation-delay: 1.45s; }
[dir="rtl"] .vy-papper .vy-summa { margin-left: 0; margin-right: auto; }
.vy-text { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; min-height: 1.6em; margin: 0; transition: opacity .4s ease, transform .4s ease; }
.vy-text.byt { opacity: 0; transform: translateY(6px); }
.vy-under { margin: -8px 0 0; color: var(--muted); font-size: .92rem; max-width: 34ch; }
.vy-prickar { display: flex; gap: 6px; } .vy-prickar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); animation: dots 1.2s infinite; }
.vy-prickar i:nth-child(2) { animation-delay: .15s; } .vy-prickar i:nth-child(3) { animation-delay: .3s; }
@keyframes vySkriv { 0% { transform: scaleX(0); opacity: 1; } 22% { transform: scaleX(1); } 82% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes vyFlyt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.vy-res { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: vyIn .6s var(--ease) both; }
/* tack-sidan: utkastets sida 1 som ett papper, ändra-knapp (Sukhrob 25 okt) */
.hj-utkast-lbl { margin: 6px 0 -4px; }
.hj-utkast { width: min(100%, 300px); }
.hj-utkast a { display: block; }
.hj-utkast img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(17,20,24,.14); transform: rotate(-1.2deg); transition: transform .3s var(--ease); }
.hj-utkast a:hover img { transform: rotate(0) scale(1.02); }
.hj-utkast.skelett { display: flex; justify-content: center; }
.hj-fri textarea { width: 100%; min-height: 64px; resize: vertical; }
.hj-saker { background: var(--sheet); border: 1px solid var(--line-strong); border-radius: 14px; padding: 16px; animation: vyIn .35s var(--ease) both; }
.hj-saker .lbl { margin: 0 0 12px; }
.hj-saker .vy-knappar { margin: 0; }
.vy-res .h2 { margin: 2px 0 0; max-width: 22ch; }
.vy-res .help { margin: 0; max-width: 40ch; }
.vy-bock { width: 72px; height: 72px; }
.vy-bock circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 202; stroke-dashoffset: 202; animation: vyRita .7s var(--ease) .1s forwards; }
.vy-bock path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: vyRita .45s var(--ease) .65s forwards; }
.vy-bock.vy-dok circle { fill: var(--accent-soft); stroke: var(--accent-deep); } .vy-bock.vy-dok path { stroke: var(--accent-ink); }
.vy-knappar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.vy-mejl { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.vy-mejl svg { width: 18px; height: 18px; flex: none; }
@keyframes vyIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes vyRita { to { stroke-dashoffset: 0; } }

.vy-konf { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.vy-konf i { position: absolute; top: -14px; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: vyFall 2.6s cubic-bezier(.25, .6, .4, 1) forwards; }
@keyframes vyFall { 0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); } 8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx, 0), 420px, 0) rotate(var(--rot, 360deg)); } }

@media (max-width: 560px) {
  .kort.vy { padding: 28px 16px 24px; }
  .vy-knappar { flex-direction: column; align-self: stretch; } .vy-knappar .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .vy-papper, .vy-papper span, .vy-prickar i, .vy-res { animation: none; } .vy-papper span { transform: none; }
  .vy-bock circle, .vy-bock path { animation: none; stroke-dashoffset: 0; } .vy-konf { display: none; }
}

/* =========================================================
   Mina sidor: vänsterpanel + Mina dokument (2026-10-24, backup *.fore-panel)
   ========================================================= */
body.mp-inne .top, body.mp-inne .nav-m, body.mp-inne .foot, body.mp-inne .page-head { display: none; }
body.mp-inne { background: var(--paper); }
.mp { --mp-side: #14181D; --mp-w: 260px; }
.mp-side { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: var(--mp-w); max-width: 86vw; background: var(--mp-side); color: #E9ECEF;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(-100%); transition: transform .25s ease; z-index: 40; }
[dir="rtl"] .mp-side { transform: translateX(100%); }
body.mp-oppen .mp-side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
.mp-skymning { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 35; }
body.mp-oppen .mp-skymning { opacity: 1; pointer-events: auto; }
.mp-side-topp { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 16px; }
.mp-logo { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 20px var(--font-head); text-decoration: none; }
.mp-logo svg { width: 30px; height: 30px; }
.mp-stang { width: 36px; height: 36px; border-radius: 9px; border: 0; background: #1F252C; color: #C9CFD6; font-size: 22px; line-height: 1; cursor: pointer; }
.mp-profil { display: flex; align-items: center; gap: 10px; background: #1F252C; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.mp-gubbe { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 800 16px var(--font-head); flex: none; }
.mp-profil-txt { min-width: 0; }
.mp-profil b { display: block; font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.mp-profil span { font-size: 12.5px; color: #9AA3AD; }
.mp-meny a, .mp-ut { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 9px; color: #C9CFD6; font-size: 15px; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: start; }
.mp-meny a:hover, .mp-ut:hover { background: #1F252C; color: #fff; }
.mp-meny a.aktiv { background: #2A323B; color: #fff; }
.mp-meny svg, .mp-ut svg { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mp-rubrik { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6F7882; padding: 16px 10px 6px; }
.mp-fot { margin-top: auto; padding-top: 14px; border-top: 1px solid #262D35; }
.mp-lang { display: flex; background: #1B2027; border-color: #2C343D; margin: 0 4px 10px; }   /* mörk som panelen, inte den vita rutan från sidhuvudet */
.mp-lang button { flex: 1; color: #9AA3AD; }
.mp-lang button:hover { color: #fff; }
.mp-lang button[aria-pressed="true"] { background: #FFC53D; color: #111418; }
.mp-huvud { min-height: 100vh; }
.mp-topp { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(250,248,243,.94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.mp-streck { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.mp-streck span, .mp-streck span::before, .mp-streck span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.mp-streck span::before { position: absolute; top: -6px; } .mp-streck span::after { position: absolute; top: 6px; }
.mp-h { font: 800 20px var(--font-head); margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-ny { background: var(--accent); color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; text-decoration: none; }
.mp-main { padding: 20px 16px 60px; max-width: 920px; }
.mp-main > section[hidden], .mp [data-grp][hidden] { display: none; }
.mp-lead { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; }
.mp-gratis { margin: 16px 0 0; color: var(--ink-2); font-size: 14.5px; }
.mp-gratis b { color: var(--accent-ink); }
@media (min-width: 900px) {
  .mp-side { transform: none !important; box-shadow: none !important; }
  .mp-skymning, .mp-streck, .mp-stang { display: none !important; }
  .mp-huvud { margin-inline-start: var(--mp-w); }
  .mp-topp { padding: 16px 28px; }
  .mp-main { padding: 28px 28px 60px; }
  .mp-h { font-size: 24px; }
}
/* tre val */
.mp-val { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mp-val a { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.mp-val a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.mp-val b { display: block; font: 800 18px var(--font-head); }
.mp-val span { display: block; color: var(--muted); font-size: 13.5px; }
.mp-ikon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.mp-ikon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mp-val a.mp-val-mork { background: var(--ink); border-color: var(--ink); color: #fff; }
.mp-val-mork .mp-ikon { background: var(--accent); }
.mp-val-mork span { color: #C9CFD6; }
@media (min-width: 640px) {
  .mp-val { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .mp-val-2 { grid-template-columns: repeat(2, 1fr); }
  .mp-val a { flex-direction: column; align-items: flex-start; padding: 22px 18px; }
}
/* listorna */
.mp-tillbaka { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; text-decoration: none; }
.mp-tillbaka svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
[dir="rtl"] .mp-tillbaka svg { transform: scaleX(-1); }
.mp-lista { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mp-tom { margin: 0; padding: 20px 18px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mp-post { border-top: 1px solid var(--line); }
.mp-post:first-child { border-top: 0; }
.mp-post summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.mp-post summary::-webkit-details-marker { display: none; }
.mp-post summary:hover { background: #FCFBF8; }
.mp-nr { width: 34px; height: 34px; border-radius: 9px; background: var(--paper); display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--muted); }
.mp-titel { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.mp-titel small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.mp-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.mp-tag-utkast, .mp-tag-vantar { background: var(--accent-soft); color: var(--accent-ink); }
.mp-tag-sen { background: #FBE3DD; color: var(--warn); }
.mp-pil { color: var(--muted); transition: transform .2s; }
.mp-post[open] .mp-pil { transform: rotate(180deg); }
.mp-detalj { padding: 0 16px 18px; animation: mp-ner .22s ease; }
@keyframes mp-ner { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mp-detalj dl, .mp-fakta { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; font-size: 14.5px; margin: 0 0 14px; }
.mp-detalj dt, .mp-fakta dt { color: var(--muted); }
.mp-detalj dd, .mp-fakta dd { margin: 0; overflow-wrap: anywhere; }
.mp-knappar { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-knapp { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1.5px solid var(--ink); color: var(--ink); background: #fff; text-decoration: none; }
.mp-knapp.mp-gul { background: var(--accent); border-color: var(--accent); }
.mp-knapp:hover { filter: brightness(.96); }
@media (min-width: 640px) {
  .mp-post summary { padding: 16px 18px; gap: 14px; }
  .mp-detalj { padding: 0 18px 18px 66px; }
  [dir="rtl"] .mp-detalj { padding: 0 66px 18px 18px; }
  .mp-detalj dl, .mp-fakta { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 420px) { .mp-post summary { grid-template-columns: auto minmax(0, 1fr) auto; } .mp-post summary .mp-pil { display: none; } }
/* firmans uppgifter, priser, logga */
.mp-kort { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; }
.mp-kort .kform { max-width: 560px; }
.mp-fakta { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
dl.mp-fakta { grid-template-columns: minmax(0, 1fr); gap: 0; }   /* rubriken ovanför värdet: "Organisationsnummer" får inte plats bredvid */
.mp-fakta dt { font-size: 13px; }
.mp-fakta dd { margin-bottom: 10px; font-weight: 600; }
@media (min-width: 640px) { .mp-kort { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .mp-side, .mp-skymning, .mp-detalj, .mp-val a { transition: none; animation: none; } }

/* =========================================================
   Finslipning 25 okt (Sukhrob: knapparna såg "dockiga" ut, ska kännas proffsigare).
   Inga piller längre: raka, lugna hörn, lite djup, tydligt tryck. Ligger sist och vinner över allt ovan.
   ========================================================= */
:root { --r-btn: 10px; --r-chip: 8px; }
.btn, .btn-lg, .btn-sm, .ask-btn, .mp-knapp, .mp-ny, .pris-kort .btn { border-radius: var(--r-btn); }
.btn { font-weight: 650; letter-spacing: .005em; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .08s; }
.btn-accent { background: linear-gradient(180deg, #FFD15C 0%, var(--accent) 60%, #F7BC2E 100%); border-color: #E3A90F; color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 1px 2px rgba(17,20,24,.12), 0 6px 16px -8px rgba(232,172,18,.7); }
.btn-accent:hover { background: linear-gradient(180deg, #FFC94A 0%, #F5B827 60%, #EDAE1A 100%); border-color: #D59E0C; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 2px 4px rgba(17,20,24,.14), 0 10px 22px -10px rgba(232,172,18,.8); transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(17,20,24,.16) inset; }
.btn-ink { background: linear-gradient(180deg, #232A31, var(--ink)); border-color: var(--ink); box-shadow: 0 1px 2px rgba(17,20,24,.2), 0 8px 18px -10px rgba(17,20,24,.6); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-line { background: #fff; border: 1.5px solid var(--line-strong); color: var(--ink); box-shadow: 0 1px 2px rgba(17,20,24,.05); }
.btn-line:hover { border-color: var(--ink); background: #fff; box-shadow: 0 2px 6px rgba(17,20,24,.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[disabled]:hover { transform: none; box-shadow: none; }
.mp-knapp.mp-gul { background: linear-gradient(180deg, #FFD15C, #F7BC2E); border-color: #E3A90F; box-shadow: 0 1px 2px rgba(17,20,24,.1); }
.chip, .chips .chip, .chip.on { border-radius: var(--r-chip); }
.chip { border-color: var(--line-strong); background: #fff; box-shadow: 0 1px 2px rgba(17,20,24,.04); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 2px 6px -2px rgba(17,20,24,.5); }
.field input, .field textarea, .chips .other input, .ask textarea, .chat-in input { border: 1.5px solid var(--line-strong); border-radius: var(--r-chip); transition: border-color .12s, box-shadow .12s; }
.field input:focus, .field textarea:focus, .chips .other input:focus, .chat-in input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,197,61,.35); }
.kort { border-radius: 14px; box-shadow: 0 1px 2px rgba(17,20,24,.04), 0 12px 32px -28px rgba(17,20,24,.35); }
.lang { border-radius: var(--r-btn); padding: 3px; }
.lang button { border-radius: 7px; }
.mp-tag, .lapp, .utkast-mark { border-radius: 6px; }
.eyebrow { border-radius: 6px; }
.hj-saker { border-radius: 12px; }
.mp-val a { border-radius: 14px; }
.pricelist .row.paket { border-radius: 10px; }

/* Prissidan som tre kort (25 okt) */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
@media (min-width: 760px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; } }
.plan { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(17,20,24,.04), 0 16px 40px -34px rgba(17,20,24,.4); }
.plan.hl { border: 2px solid var(--accent-deep); box-shadow: 0 2px 4px rgba(17,20,24,.05), 0 24px 56px -36px rgba(232,172,18,.8); }
.plan-tag { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.plan-h { margin: 0; font-weight: 600; color: var(--ink-2); font-size: 15.5px; letter-spacing: .02em; text-transform: uppercase; }
.plan-pris { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.plan-pris small { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink-2); margin-inline-start: 6px; letter-spacing: 0; }
.plan-sub { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; min-height: 2.9em; }
.plan-lista { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; flex: 1; }
.plan-lista li { position: relative; padding-inline-start: 26px; }
.plan-lista li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--ok); font-weight: 700; }
.plan .btn { width: 100%; }
.plan-rad { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 18px; padding: 16px 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; font-size: 15.5px; color: var(--ink-2); }
.plan-rad b { color: var(--ink); }
.plan-rad-v { font-size: 20px; white-space: nowrap; }
.page-head .narrow { max-width: 900px; }

/* Ljusare, plattare knappar (25 okt, efter titt på hur de stora offertsajterna gör: lugnt, ljust, utan tunga skuggor) */
.btn-accent { background: #FFCB47; border-color: #FFCB47; color: var(--ink); box-shadow: 0 1px 2px rgba(17,20,24,.08); }
.btn-accent:hover { background: #FFC12B; border-color: #FFC12B; box-shadow: 0 3px 10px -4px rgba(232,172,18,.7); transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); box-shadow: none; }
.btn-ink { background: var(--ink); box-shadow: 0 1px 2px rgba(17,20,24,.1); }
.btn-line { background: #fff; border: 1.5px solid var(--line); color: var(--ink); box-shadow: none; }
.btn-line:hover { border-color: var(--line-strong); background: #FBFAF7; box-shadow: 0 2px 6px rgba(17,20,24,.06); }
.mp-knapp.mp-gul { background: #FFCB47; border-color: #FFCB47; box-shadow: none; }
.chip { border-color: transparent; background: #F3F0E8; color: var(--ink); box-shadow: none; }
.chip:hover { background: #ECE8DD; border-color: transparent; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip.quiet { border-color: transparent; }
.ask-btn { border-color: var(--line); }
.steg3 .ik { border-radius: 10px; }

/* Mjukt, utan kanter (Sukhrob 25 okt: som Offerta, inga kanter, mjukare hörn på knappar, fält, kort och rader) */
:root { --r-btn: 14px; --r-chip: 12px; --line: #E4E0D6; --line-strong: #CFC9BC; }
.btn, .btn-lg, .btn-sm, .ask-btn, .mp-knapp, .mp-ny, .pris-kort .btn, .plan .btn { border-radius: var(--r-btn); border-color: transparent; }
.btn-accent, .btn-accent:hover { border-color: transparent; }
.btn-line { background: #F1EEE6; border-color: transparent; color: var(--ink); box-shadow: none; }
.btn-line:hover { background: #E9E5DA; border-color: transparent; box-shadow: none; transform: none; }
.btn-ink { border-color: transparent; }
.mp-knapp { border-color: transparent; background: #F1EEE6; }
.mp-knapp.mp-gul { border-color: transparent; }
.chip, .chips .chip { border-color: transparent; border-radius: var(--r-chip); }
.field input, .field textarea, .chips .other input, .chat-in input, .ask textarea, .annat, .hj-fri textarea, .rut-rad input, .mp-kort input, .mp-kort textarea, .mp-kort select, .kform input, .kform select, .kform textarea, input, textarea, select {
  border: 1px solid #E6E2D8; border-radius: 12px; background: #fff; }
.field input:focus, .field textarea:focus, .chips .other input:focus, .chat-in input:focus, .annat:focus, .hj-fri textarea:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: #D9D3C6; box-shadow: 0 0 0 4px rgba(255,197,61,.28); }
.ask { border: 0; box-shadow: 0 2px 4px rgba(17,20,24,.04), 0 24px 60px -36px rgba(17,20,24,.3); border-radius: 18px; }
.ask:focus-within { border: 0; box-shadow: 0 0 0 4px rgba(255,197,61,.28), 0 24px 60px -36px rgba(17,20,24,.3); }
.ask textarea { border: 0; box-shadow: none; }
.ask textarea:focus { box-shadow: none; }
.kort, .plan, .plan-rad, .mp-post, .mp-lista, .mp-kort, .mp-val a, .pricelist, .betala-ruta, .kontant-ruta, .hj-saker, .faq details, .fraga, .steg3 li, .hero-shot .offert-bild, .pris-kort, .ex-pages a img {
  border-color: transparent; }
.kort, .plan, .mp-kort, .mp-val a, .mp-lista, .pris-kort { border-radius: 18px; box-shadow: 0 1px 2px rgba(17,20,24,.03), 0 18px 44px -36px rgba(17,20,24,.35); }
.plan.hl { border: 2px solid transparent; box-shadow: 0 0 0 2px var(--accent) inset, 0 24px 56px -36px rgba(232,172,18,.8); }
.plan-rad { border-radius: 14px; }
.mp-post { border-radius: 0; box-shadow: none; }
.mp-post + .mp-post { border-top: 1px solid #F0EDE5; }
.mp-post summary, .mp-post:last-child { border-color: transparent; }
.pricelist .row, .faq details, .steps, .step, .steg3 li, .hero, .top, .foot, .mp-topp, .mp-fot, .mp-fakta, .plan-lista li { border-color: #ECE9E1; }
.faq { border-top-color: #ECE9E1; border-top-width: 1px; }
.steps { border-top: 1px solid #ECE9E1; }
.top { border-bottom-color: #ECE9E1; }
.lang { border-color: transparent; background: #F1EEE6; border-radius: 12px; }
.lang button { border-radius: 9px; }
.mp-lang { background: #1B2027; }
.eyebrow { border-color: transparent; background: #F1EEE6; }
.hj-saker { background: #FAF8F3; border-radius: 16px; }
.betala-ruta, .kontant-ruta { border-radius: 16px; }
.mp-streck, .mp-stang { border-color: transparent; background: #F1EEE6; border-radius: 12px; }
.sida-bild img, .hj-utkast img { border-color: transparent; }

/* Jobbrutan: en ram, inte två, luftigare text, inga streck inuti (Sukhrob 25 okt) */
.ask, .ask:focus-within { border: 0; background: #F6F4EE; border-radius: 18px; box-shadow: none; }
.ask:focus-within { box-shadow: 0 0 0 4px rgba(255,197,61,.28); }
.kort .ask { background: #F6F4EE; }
.hero .ask { background: #fff; box-shadow: 0 2px 4px rgba(17,20,24,.04), 0 24px 60px -36px rgba(17,20,24,.3); }
.hero .ask:focus-within { box-shadow: 0 0 0 4px rgba(255,197,61,.28), 0 24px 60px -36px rgba(17,20,24,.3); }
.ask-field { padding: 18px 20px 8px; }
.ask textarea, .ask textarea:focus { border: 0; background: transparent; padding: 0; font-size: 17.5px; line-height: 1.6; box-shadow: none; }
.ask-bar { border-top: 0; padding: 6px 12px 12px; }
.ask-btn { background: #fff; border: 0; border-radius: 12px; box-shadow: 0 1px 2px rgba(17,20,24,.06); }
.kort .ask-btn { background: #fff; }
.ask-thumbs img { border: 0; border-radius: 8px; }
/* färre streck: stegen, listorna och sidfoten utan linjer */
.steps, .step, .steg3 li, .faq, .mp-fakta { border-top: 0; border-bottom: 0; }
.faq details { border-bottom: 1px solid #ECE9E1; }
.faq details:last-child { border-bottom: 0; }
.hero { border-bottom: 0; }
.mp-topp { border-bottom: 0; }
.plan-rad { border: 0; }
.field { margin-bottom: 2px; }

/* Bakgrund (Sukhrob 25 okt: beiga kändes tråkig). Vit sida, varm ljus gradient överst, mjukt tonade sektioner, kort som ligger "på" sidan. */
:root { --paper: #FFFFFF; --paper-2: #F6F3EC; }
body { background: #fff; }
.top { background: rgba(255,255,255,.9); }
.hero { background: linear-gradient(180deg, #FFF3CF 0%, #FFF9EA 45%, #FFFFFF 100%); padding-bottom: 56px; }
.hero::before { display: none; }
.hero .ask { box-shadow: 0 2px 4px rgba(17,20,24,.04), 0 28px 64px -36px rgba(232,172,18,.55); }
.section#sa-funkar-det, .section#pris, .page-head { background: #fff; }
.section#exempel { background: #F8F6F0; border-radius: 28px; margin: 0 var(--gutter); }
@media (min-width: 900px) { .section#exempel { margin: 0 auto; max-width: calc(var(--maxw) + 48px); } }
.section.dark { background: linear-gradient(160deg, #1B2129, #111418); }
.steg3 li { background: #F8F6F0; border-radius: 18px; padding: 22px 20px; border-top: 0; }
.steg3 .ik { background: var(--accent); }
.kort, .plan, .mp-val a { background: #fff; }
.kort { background: #FAF9F5; box-shadow: none; }
.kort .ask, .btn-line, .chip, .mp-knapp, .lang, .eyebrow, .mp-streck, .mp-stang { background: #EFECE4; }
.kort .ask { background: #fff; }
.kort .ask-btn { background: #F3F1EA; box-shadow: none; }
.chip.on { background: var(--ink); }
.chip:hover, .btn-line:hover { background: #E6E2D8; }
.foot { background: #F8F6F0; }
.page-head { background: linear-gradient(180deg, #FFF6DC 0%, #FFFFFF 70%); }
.plan { box-shadow: 0 1px 2px rgba(17,20,24,.04), 0 22px 50px -36px rgba(17,20,24,.35); }
.mp-main { background: #fff; }
.mp-huvud { background: #FBFAF7; }
.pris-kort { background: #fff; }
.field input, .field textarea, input, textarea, select { background: #fff; border-color: #E6E2D8; }
/* Ta bilder-knappen: liten, till vänster, inte över hela rutan (Sukhrob 25 okt). Sidhuvudets gradient bara överst, inte hela sidan. */
.ask-bar.one { display: flex; justify-content: flex-start; }
.ask-bar.one .ask-btn { width: auto; padding: 0 16px; min-height: 44px; font-size: 15.5px; }
.page-head { background: linear-gradient(180deg, #FFF6DC 0px, #FFFFFF 260px); }

/* Bakgrund, andra försöket (Sukhrob 25 okt: gult bakom förstörde känslan). Rent vitt, svala ljusgrå ytor, inget gult utom knappar och markör. */
.hero, .page-head { background: #fff; }
.hero .ask { box-shadow: 0 2px 4px rgba(17,20,24,.04), 0 24px 56px -34px rgba(17,20,24,.35); }
.hero-shot .offert-bild { box-shadow: 0 30px 70px -34px rgba(17,20,24,.4); }
.section#exempel, .steg3 li, .foot { background: #F4F5F7; }
.kort { background: #fff; border: 1px solid #EEF0F3; box-shadow: 0 1px 2px rgba(17,20,24,.03), 0 14px 36px -30px rgba(17,20,24,.3); }
.kort .ask { background: #F4F5F7; }
.kort .ask-btn { background: #fff; }
.btn-line, .chip, .mp-knapp, .lang, .eyebrow, .mp-streck, .mp-stang, .ask-btn { background: #EEF0F3; }
.hero .ask-btn { background: #F4F5F7; }
.chip:hover, .btn-line:hover, .mp-knapp:hover { background: #E3E6EA; }
.chip.on { background: var(--ink); }
.plan { border: 1px solid #EEF0F3; }
.plan-rad, .hj-saker { background: #F4F5F7; }
.mp-huvud { background: #F7F8FA; }
.mp-val a, .mp-lista, .mp-kort { background: #fff; }
.field input, .field textarea, input, textarea, select { border-color: #E3E6EA; }
:root { --line: #E6E9ED; --line-strong: #CFD4DA; }
.faq details { border-bottom-color: #EEF0F3; }
.top { border-bottom-color: #EEF0F3; }
.pricelist .row { border-color: #EEF0F3; }

/* Lugnare: färre rutor (Sukhrob 25 okt: "bara rutor"). Plattor bara där man trycker; resten ligger fritt på vitt. */
.eyebrow { background: transparent; padding: 0; color: var(--accent-ink); letter-spacing: .1em; }
.lang { background: transparent; padding: 0; gap: 4px; }
.lang button { background: transparent; color: var(--muted); padding: 5px 8px; }
.lang button[aria-pressed="true"] { background: transparent; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mp-lang { background: #1B2027; }
.wa-rad .btn, .wa-rad .btn:hover { background: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; min-height: 0; padding: 6px 0; font-weight: 500; box-shadow: none; }
.hero .ask-btn, .kort .ask-btn { background: transparent; box-shadow: none; padding: 0 4px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.hero .ask-btn:hover, .kort .ask-btn:hover { color: var(--ink); background: transparent; }
.hero .ask { box-shadow: 0 1px 3px rgba(17,20,24,.06), 0 14px 36px -28px rgba(17,20,24,.3); }
.kort .ask { background: #fff; box-shadow: 0 1px 3px rgba(17,20,24,.06); border: 1px solid #EEF0F3; }
.kort { background: transparent; border: 0; box-shadow: none; padding: 8px 0 18px; border-radius: 0; }
.kort + .kort { border-top: 1px solid #EEF0F3; padding-top: 22px; }
.section#exempel { background: transparent; margin: 0; }
.steg3 li { background: transparent; padding: 0 0 0 0; }
.steg3 li:hover { transform: none; }
.foot { background: transparent; border-top: 1px solid #EEF0F3; }
.plan-rad { background: transparent; padding: 14px 0; border-top: 1px solid #EEF0F3; border-radius: 0; }
.hj-saker { background: transparent; border: 0; padding: 8px 0 0; }
.btn-line { background: #F1F2F4; }
.chip { background: #F1F2F4; }
.mp-streck, .mp-stang { background: transparent; }
.mp-val a { border: 1px solid #EEF0F3; box-shadow: none; }
.mp-lista { border: 1px solid #EEF0F3; box-shadow: none; }
.hero-shot .offert-bild { box-shadow: 0 20px 50px -30px rgba(17,20,24,.35); }
.steg3 li { box-shadow: none; border: 0; }
.wa-rad { text-align: center; }
/* "Så går det till": ett rent kort med luft runt texten, numret i hörnet utan cirkel (Sukhrob 25 okt: texten stack ut ur ramen) */
.steg3 li { background: #F7F8FA; border: 0; box-shadow: none; border-radius: 18px; padding: 22px 22px 22px; display: grid; gap: 8px; }
.steg3 li:hover { transform: none; }
.steg3 .n { top: 22px; right: 22px; width: auto; height: auto; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.steg3 li h3 { padding-right: 36px; margin: 0; }
.steg3 li p { margin: 0; }

/* Ikoner och text, mjukare (Sukhrob 25 okt): ljusgula plattor med tunna ikoner, rubriker lite lättare och smalare, luftigare brödtext */
.steg3 .ik, .mp-ikon { width: 52px; height: 52px; border-radius: 16px; background: #FFF1C2; }
.steg3 .ik svg, .mp-ikon svg { width: 26px; height: 26px; color: var(--accent-ink); stroke: var(--accent-ink); }
.steg3 .ik svg *, .mp-ikon svg *, .btn svg *, .ask-btn svg *, .mp-meny svg * { stroke-width: 1.6; }
.kort > h2 .n, .mp-nr { background: #FFF1C2; color: var(--accent-ink); font-weight: 700; }
.vy-bock circle { fill: #E8F5EC; }
.h1, .h2, .doc-title { font-weight: 700; font-variation-settings: "wdth" 100; letter-spacing: -.02em; }
.h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.06; }
.h2 { font-size: clamp(26px, 3.8vw, 38px); line-height: 1.12; }
.h3 { font-weight: 600; font-size: 19px; }
.lead, .step p, .steg3 li p, .help, .plan-sub { color: var(--ink-2); line-height: 1.6; }
.steg3 li p { font-size: 16px; }
.eyebrow { font-weight: 600; letter-spacing: .08em; font-size: 12.5px; }
body { -webkit-font-smoothing: antialiased; }
.mp-topp { background: #fff; }
.mp-main { background: #fff; }
.mp-huvud { background: #fff; }

/* Jobbet från startsidan visas kort (Sukhrob 25 okt: inte fråga igen) */
.kort.jobb-kort #bransch, .kort.jobb-kort .ask, .kort.jobb-kort > .help { display: none; }
.jobb-summa { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #F7F8FA; border-radius: 14px; padding: 14px 16px; }
.jobb-summa p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
/* Mina sidor: Skapa ny som de andra korten, ikoner mörka på ljusgult, Ny offert-knappen som de andra knapparna */
.mp-val a.mp-val-mork { background: #fff; color: var(--ink); border: 1px solid #EEF0F3; }
.mp-val-mork span { color: var(--ink-2); }
.mp-val-mork .mp-ikon { background: #FFF1C2; }
.steg3 .ik svg, .mp-ikon svg { color: var(--ink); stroke: var(--ink); }
.kort > h2 .n, .mp-nr { color: var(--ink); }
.mp-ny { border-radius: 14px; background: #FFCB47; padding: 11px 16px; }
/* WhatsApp-raden: en lugn ljus knapp, inte understruken fet text i två rader (Sukhrob 25 okt) */
.wa-rad { text-align: left; margin-top: 10px; }
.wa-rad .btn, .wa-rad .btn:hover { display: inline-flex; background: #F1F2F4; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; min-height: 46px; padding: 0 16px; border-radius: 12px; white-space: normal; text-align: left; line-height: 1.3; box-shadow: none; }
.wa-rad .btn:hover { background: #E6E9ED; }
/* Jobbrutan i fokus: tunn mörk kant, ingen tjock gul ring (Sukhrob 25 okt: "rutan är jättekonstig" när man skriver) */
.ask, .hero .ask, .kort .ask { border: 1.5px solid transparent; }
.ask:focus-within, .hero .ask:focus-within, .kort .ask:focus-within { border-color: var(--ink); box-shadow: 0 2px 4px rgba(17,20,24,.04), 0 14px 36px -28px rgba(17,20,24,.3); }
.field input:focus, .field textarea:focus, .chips .other input:focus, .chat-in input:focus, .annat:focus, .hj-fri textarea:focus, input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: none; }
/* Ta bilder: liten ljus knapp, inte understruken text */
.hero .ask-btn, .kort .ask-btn { background: #F1F2F4; text-decoration: none; padding: 0 14px; min-height: 42px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.hero .ask-btn:hover, .kort .ask-btn:hover { background: #E6E9ED; }
/* Sukhrob 25 okt: gula ringen var bra, behåll den. Exempeltexten i rutan ska vara tydligt ljusare än det man skriver. */
.ask:focus-within, .hero .ask:focus-within, .kort .ask:focus-within { border-color: transparent; box-shadow: 0 0 0 4px rgba(255,197,61,.28), 0 14px 36px -28px rgba(17,20,24,.3); }
.ask textarea { color: var(--ink); }
.ask textarea::placeholder, .field textarea::placeholder, .field input::placeholder { color: #B4BAC1; opacity: 1; }
.ask textarea { overflow: hidden; resize: none; padding-bottom: 4px; }
/* Språkvalet kompakt igen (Sukhrob 25 okt: lös text över hela raden såg konstig ut) */
.lang:not(.mp-lang) { background: #F1F2F4; border-radius: 12px; padding: 3px; gap: 2px; }
.lang:not(.mp-lang) button { padding: 5px 9px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none !important; min-height: 0; }
.lang:not(.mp-lang) button[aria-pressed="true"] { background: var(--ink); color: #fff; text-decoration: none; }

/* Prissidan som trappa, en knapp (Sukhrob 25 okt: tre kort såg ut som abonnemang att välja) */
.pt-ing { margin: 10px 0 18px; }
.pris-trappa { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #EEF0F3; border-radius: 18px; overflow: hidden; }
.pris-trappa li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 18px; }
.pris-trappa li + li { border-top: 1px solid #EEF0F3; }
.pris-trappa li.hl { background: #FFF8E1; }
.pt-n { width: 32px; height: 32px; border-radius: 50%; background: #FFF1C2; color: var(--ink); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.pris-trappa b { display: block; font-size: 17px; }
.pris-trappa div span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.pt-pris { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -.02em; white-space: nowrap; }
.pt-pris small { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.pt-lista { margin: 18px 0 6px; }
.pt-cta { margin: 14px 0 0; }
.pt-cta .btn { width: 100%; }
@media (min-width: 760px) { .pt-cta .btn { width: auto; } }
