/* Guider och Om oss. Bygger på tokens i /bransch/bransch.css. Läsbar text först: en kolumn, 68 tecken. */
.gd-page main { padding: clamp(96px, 12vw, 140px) var(--gutter) 0; }
.gd-art, .gd-hub, .gd-more { max-width: 760px; margin: 0 auto; }
.gd-hub { max-width: 1000px; }

.gd-k { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-muted); font-weight: 500; }
.gd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; font-size: 13px; color: var(--olive-muted); }
.gd-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.gd-crumbs a { text-decoration: none; }
.gd-crumbs a:hover { text-decoration: underline; }
.gd-crumbs [aria-current] { color: var(--olive); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gd-head h1, .gd-hub h1 { font-size: clamp(38px, 6vw, 64px); margin: 12px 0 18px; }
.gd-meta { margin: 0; font-size: 14px; color: var(--olive-muted); }
.gd-meta a { color: inherit; }
.gd-lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--olive-muted); max-width: 60ch; margin: 0; }

.gd-svar { margin: 36px 0 28px; padding: 24px 26px; border-radius: 20px; background: var(--gloss-fill); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.gd-svar p { margin: 8px 0 0; font-size: 19px; line-height: 1.55; }

.gd-toc { margin: 0 0 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gd-toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.gd-toc a { color: var(--olive); text-decoration: none; }
.gd-toc a:hover { text-decoration: underline; }

.gd-body { font-size: 18px; line-height: 1.65; }
.gd-sec { padding-top: 36px; scroll-margin-top: 96px; }
.gd-sec h2 { font-size: clamp(28px, 3.6vw, 36px); margin: 0 0 14px; }
.gd-sec p { margin: 0 0 16px; max-width: 68ch; }
.gd-dl { margin: 8px 0 0; display: grid; gap: 0; }
.gd-dl > div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 24px; }
.gd-dl > div:last-child { border-bottom: 1px solid var(--line); }
.gd-dl dt { font-weight: 600; }
.gd-dl dd { margin: 0; color: var(--olive-muted); }
.gd-steg { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.gd-steg li { counter-increment: s; position: relative; padding-left: 44px; }
.gd-steg li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--olive); color: var(--salt-50); }

.gd-faq details { border-top: 1px solid var(--line); }
.gd-faq details:last-child { border-bottom: 1px solid var(--line); }
.gd-faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; min-height: var(--target); }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-weight: 400; font-size: 22px; transition: transform .4s var(--ease-out); }
.gd-faq details[open] summary::after { transform: rotate(45deg); }
.gd-faq details p { margin: 0 0 18px; color: var(--olive-muted); }

.gd-cta { margin: 48px 0 0; padding: clamp(24px, 4vw, 36px); border-radius: 24px; background: var(--olive); color: var(--salt-50); }
.gd-cta .gd-k { color: rgba(243,245,248,0.7); }
.gd-cta-h { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 36px); line-height: 1.1; margin: 8px 0 10px; }
.gd-cta p { margin: 0 0 18px; color: rgba(243,245,248,0.82); max-width: 56ch; }
.gd-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-cta .btn-glass { color: var(--olive); }

.gd-more { padding: clamp(56px, 8vw, 88px) 0 clamp(64px, 9vw, 110px); }
.gd-more h2 { font-size: clamp(28px, 3.6vw, 36px); margin: 0 0 18px; }
.gd-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-cards a { display: grid; gap: 8px; padding: 20px 22px; border-radius: 18px; text-decoration: none; background: var(--gloss-fill); box-shadow: var(--gloss-edge), var(--gloss-lift); transition: transform .5s var(--ease-out); }
.gd-cards a:hover { transform: translateY(-2px); }
.gd-cards b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.gd-sum { color: var(--olive-muted); font-size: 15px; line-height: 1.5; }
.gd-go { font-size: 14px; font-weight: 500; }
.gd-go i { font-style: normal; }
.gd-hub { padding-bottom: clamp(64px, 9vw, 110px); }
.gd-hub .gd-lede { margin-bottom: 36px; }
.gd-cards-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }

.gd-om .gd-lede { margin-top: 4px; }
.gd-roll { color: var(--olive-muted); margin-top: -8px; }
.gd-om .gd-cta { margin-bottom: clamp(64px, 9vw, 110px); }

@media (max-width: 560px) {
  .gd-dl > div { grid-template-columns: 1fr; }
  .gd-body { font-size: 17px; }
  .gd-svar p { font-size: 17px; }
}
.gd-cta .btn-glass { background: var(--salt-50); box-shadow: none; }

/* Hemsida för <bransch> */
.hs-ex { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; text-decoration: none; background: var(--gloss-fill); box-shadow: var(--gloss-edge), var(--gloss-lift); font-weight: 500; transition: transform .5s var(--ease-out); }
.hs-ex:hover { transform: translateY(-2px); }
.hs-ex i { font-style: normal; font-size: 20px; }
.hs-andra { margin: 22px 0 0; color: var(--olive-muted); font-size: 15px; }
.hs-andra a { color: var(--olive); }

/* Hemsidekollen */
.hk { max-width: 820px; }
.hk-form { margin: 32px 0 8px; padding: 22px; border-radius: 22px; background: var(--gloss-fill); box-shadow: var(--gloss-edge), var(--gloss-lift); }
.hk-l { display: block; font-weight: 600; margin-bottom: 10px; }
.hk-row { display: flex; gap: 10px; }
.hk-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--salt-50); font: inherit; font-size: 17px; color: var(--olive); }
.hk-row input:focus { outline: 2px solid var(--olive); outline-offset: 2px; }
.hk-fine { margin: 10px 0 0; font-size: 13px; color: var(--olive-muted); }
.hk-wait, .hk-fel { margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: var(--salt-50); }
.hk-fel { box-shadow: inset 3px 0 0 #B4553F; }
.hk-res:empty { display: none; }
.hk-res { margin-top: 28px; }
.hk-score { display: flex; gap: 22px; align-items: center; padding: 22px; border-radius: 22px; background: var(--olive); color: var(--salt-50); }
.hk-score .gd-k { color: rgba(243,245,248,0.7); margin: 0; }
.hk-ring { flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--olive) 78%, transparent 79% 100%), conic-gradient(var(--pink) calc(var(--p) * 1%), rgba(255,255,255,0.035) 0); }
.hk-ring b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.hk-ring span { font-size: 12px; opacity: .75; }
.hk-sum { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; margin: 6px 0; }
.hk-n { margin: 0; color: rgba(243,245,248,0.8); }
.hk-grupp { margin-top: 28px; }
.hk-grupp h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 10px; }
.hk-grupp ul { list-style: none; margin: 0; padding: 0; }
.hk-grupp li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.hk-grupp li:last-child { border-bottom: 1px solid var(--line); }
.hk-grupp li b { font-weight: 600; }
.hk-grupp li p { margin: 2px 0 0; color: var(--olive-muted); }
.hk-ikon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.ok .hk-ikon { background: rgba(255,255,255,0.092); color: var(--olive); }
.nej .hk-ikon { background: var(--olive); color: var(--salt-50); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hk-cta { margin-bottom: 8px; }
.hk-faq { margin-top: 40px; }
@media (max-width: 560px) {
  .hk-row { flex-direction: column; }
  .hk-score { flex-direction: column; align-items: flex-start; }
}

/* Studier: tre huvudsiffror och ett stapeldiagram som är en riktig tabell (läsbart utan färg och utan skript) */
.st-tiles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-tiles li { padding: 20px 20px 18px; border-radius: 18px; background: var(--gloss-fill); box-shadow: var(--gloss-edge); display: grid; gap: 6px; align-content: start; }
.st-tiles b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 60px); line-height: 1; letter-spacing: -.01em; }
.st-tiles li:first-child b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-left: 4px; vertical-align: .55em; }
.st-tiles span { font-size: 15px; line-height: 1.4; }
.st-tiles small { font-size: 13px; color: var(--olive-muted); }
.st-bars { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
.st-bars caption { text-align: left; font-size: 13px; color: var(--olive-muted); padding-bottom: 10px; }
.st-bars thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st-bars tr { border-top: 1px solid var(--line); outline: none; }
.st-bars tr:last-child { border-bottom: 1px solid var(--line); }
.st-bars th { text-align: left; font-weight: 500; padding: 10px 16px 10px 0; width: 42%; vertical-align: middle; }
.st-bars td { padding: 10px 0; position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.st-bar { display: block; height: 10px; width: calc(var(--v) * .55); min-width: 2px; border-radius: 0 4px 4px 0; background: var(--olive); }
.st-hi .st-bar { background: var(--pink); }
.st-hi th, .st-hi .st-val { font-weight: 700; }
.st-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-tip { font-size: 13px; color: var(--olive-muted); white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .0; transition: opacity .25s var(--ease-out); }
.st-bars tr:hover .st-tip, .st-bars tr:focus-visible .st-tip, .st-hi .st-tip { opacity: 1; }
.st-bars tr:focus-visible { box-shadow: inset 0 0 0 2px var(--olive); }
.st-h3 { font-size: 20px; margin: 24px 0 8px; }
.st-list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 6px; color: var(--olive-muted); }
.st-kalla { font-size: 15px; padding: 14px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 640px) {
  .st-tiles { grid-template-columns: 1fr; }
  .st-bars th { width: auto; display: block; padding: 12px 0 2px; }
  .st-bars td { padding: 2px 0 12px; }
  .st-bars tr { display: block; }
  .st-bar { width: calc(var(--v) * .5); }
  .st-tip { opacity: 1; }
}

/* ================================================================
   Guider 2.0 (25 nov, Joshua: "fixa allt"): samma lugna uttryck som startsidan.
   Ljus uppifrån, större rubriker, platta kort med hårfina linjer i stället för glans,
   och innehållsförteckningen som en fast spalt bredvid texten på stora skärmar.
   ================================================================ */
.gd-page main { background: radial-gradient(90% 520px at 50% 0%, rgba(255,255,255,0.115), rgba(255,255,255,0.01) 100%); padding-top: clamp(112px, 13vw, 160px); }
.gd-head h1, .gd-hub h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.025em; margin: 14px 0 20px; max-width: 18ch; }
.gd-lede { font-size: clamp(19px, 2.2vw, 23px); }
.gd-svar { background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); border-radius: 14px; }
.gd-cards a, .hs-ex { background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); border-radius: 14px; transition: background-color .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1); }
.gd-cards a:hover, .hs-ex:hover { transform: none; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.192); }
.gd-cards b { font-size: 26px; }
.gd-hub { max-width: 1120px; }
.gd-cards-lg { gap: 12px; }
.gd-more { max-width: 1120px; }
.gd-more .gd-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gd-cta { border-radius: 16px; }
.hk-form { background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); border-radius: 14px; }
.hk-row input { border-radius: 8px; }
.hk-score { border-radius: 14px; }
.gd-steg li::before { background: var(--olive); color: var(--salt-50); }

@media (min-width: 1100px) {
  .gd-art { max-width: 1120px; display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 80px; justify-content: center; }
  .gd-art > * { grid-column: 2; }
  .gd-art > .gd-toc { grid-column: 1; grid-row: 1 / span 6; align-self: start; position: sticky; top: 108px; margin: 8px 0 0; padding: 0; border: 0; font-size: 14px; }
  .gd-art > .gd-toc ol { padding-left: 0; list-style: none; gap: 10px; border-left: 1px solid rgba(255,255,255,0.112); }
  .gd-art > .gd-toc li { padding-left: 14px; }
  .gd-art > .gd-toc a { color: var(--olive-muted); }
  .gd-art > .gd-toc a:hover { color: var(--olive); text-decoration: none; }
  .gd-art.gd-om { grid-template-columns: minmax(0, 760px); }
  .gd-art.gd-om > * { grid-column: 1; }
}

/* Hemsidekollen: ett exempel på resultatet under formuläret, så att man ser vad man får (25 nov) */
.hk-demo { margin: 36px 0 0; padding: 20px; border-radius: 16px; background: rgba(255,255,255,0.066); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); position: relative; }
.hk-demo figcaption { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; color: var(--olive-muted); }
.hk-demo .hk-score .gd-k { margin: 0; }
.hk-demo-list { list-style: none; margin: 14px 0 0; padding: 0; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hk-demo-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.hk-demo-list b { font-weight: 600; }
.hk-demo-list p { margin: 2px 0 0; color: var(--olive-muted); font-size: 15px; }
.hk-res:not(:empty) + .hk-demo { display: none; }
@media (min-width: 1100px) {
  .gd-art:not(:has(> .gd-toc)) { grid-template-columns: minmax(0, 760px); }
  .gd-art:not(:has(> .gd-toc)) > * { grid-column: 1; }
}

/* Hemsidekollen 2.0 (27 nov, "en del om dagen", dag 2): poängen syns under menyn, samtalsknappen vid poängen,
   de tre viktigaste bristerna först, förhandsvisning i Google, och det som fungerar hopfällt. */
.hk-res { scroll-margin-top: 92px; }
.hk-wait { display: grid; gap: 12px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.hk-wait p { margin: 0; }
.hk-bar { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.092); overflow: hidden; position: relative; }
.hk-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; background: var(--olive); animation: hk-bar 1.4s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes hk-bar { from { transform: translateX(-100%); } to { transform: translateX(290%); } }

.hk-score { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ring text cta" "delar delar delar"; gap: 20px 26px; align-items: center; padding: clamp(20px, 3vw, 30px); border-radius: 16px; }
.hk-ring { grid-area: ring; }
.hk-score-t { grid-area: text; min-width: 0; }
.hk-score-cta { grid-area: cta; display: grid; gap: 8px; justify-items: stretch; }
.hk-score .btn-salt { background: var(--salt-50); color: var(--olive); box-shadow: none; white-space: nowrap; }
.hk-score .btn-salt:hover { background: rgba(255,255,255,0.07); }
.hk-igen { border: 0; background: none; padding: 6px; font: inherit; font-size: 14px; color: rgba(243,245,248,0.78); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hk-igen:hover { color: var(--olive); }
.hk-delar { grid-area: delar; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.06); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hk-delar li { display: grid; grid-template-columns: 1fr auto; gap: 8px 6px; font-size: 13px; color: rgba(243,245,248,0.75); }
.hk-delar b { font-weight: 600; color: var(--olive); font-variant-numeric: tabular-nums; }
.hk-delar i { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.032); position: relative; overflow: hidden; }
.hk-delar i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--v)); background: rgba(255,255,255,0.115); }
.hk-delar li.full i::after { background: var(--salt-50); }

.hk-prio { margin-top: 36px; }
.hk-prio h2, .hk-g h2, .hk-grupp h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 14px; }
.hk-prio ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hk-prio li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.097); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.hk-nr { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--salt-50); font-family: var(--serif); font-size: 20px; line-height: 1; }
.hk-prio li:first-child .hk-nr { background: var(--pink); color: rgb(243 245 248); }
.hk-prio-g { margin: 0 0 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-muted); }
.hk-prio b { font-size: 18px; font-weight: 600; }
.hk-prio li p:not(.hk-prio-g) { margin: 4px 0 0; color: var(--olive-muted); }
.hk-prio .hk-kostar { color: var(--olive); font-weight: 500; }

.hk-g { margin-top: 40px; }
.hk-g-kort { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding: 22px; border-radius: 14px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
.hk-g-ruta { min-width: 0; font-family: Arial, Helvetica, sans-serif; }
.hk-g-url { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; }
.hk-g-fav { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgb(12 15 21); color: rgb(154 163 175); font-size: 13px; font-weight: 700; }
.hk-g-url > span:last-child { display: grid; min-width: 0; }
.hk-g-url b { font-weight: 400; font-size: 14px; color: rgb(243 245 248); }
.hk-g-url span span { font-size: 12px; color: rgb(154 163 175); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-g-titel { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: #1A0DAB; }
.hk-g-text { margin: 0; font-size: 14px; line-height: 1.58; color: rgb(154 163 175); }
.hk-g-saknas { font-style: italic; }
.hk-g-bild { margin: 0; width: 180px; }
.hk-g-bild img { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; border-radius: 8px; background: rgb(12 15 21); }
.hk-g-bild figcaption { margin-top: 6px; font-size: 12px; color: var(--olive-muted); }
.hk-g-not { margin: 10px 0 0; font-size: 13px; color: var(--olive-muted); }

.hk-grupp { margin-top: 40px; }
.hk-bra { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hk-bra summary { display: flex; align-items: center; gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.hk-bra summary::-webkit-details-marker { display: none; }
.hk-bra summary b { min-width: 28px; height: 24px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; background: rgba(255,255,255,0.08); font-size: 13px; }
.hk-bra summary::after { content: "+"; margin-left: auto; font-weight: 400; font-size: 22px; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.hk-bra[open] summary::after { transform: rotate(45deg); }
.hk-bra ul { list-style: none; margin: 0; padding: 0 0 8px; }
.hk-bra li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.hk-bra li b { font-weight: 600; }
.hk-bra li p { margin: 2px 0 0; color: var(--olive-muted); }

/* Exemplet under formuläret följer samma uppbyggnad */
.hk-demo .hk-score { grid-template-areas: "ring text"; grid-template-columns: auto 1fr; }
.hk-demo .hk-prio { margin-top: 14px; }
.hk-demo .hk-prio li { padding: 16px; }
.hk-demo-list { -webkit-mask-image: none; mask-image: none; }

@media (max-width: 760px) {
  .hk-score { grid-template-columns: auto 1fr; grid-template-areas: "ring text" "delar delar" "cta cta"; gap: 16px 18px; }
  .hk-score .hk-ring { width: 88px; height: 88px; }
  .hk-score .hk-ring b { font-size: 32px; }
  .hk-score .hk-sum { font-size: 21px; }
  .hk-delar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .hk-score-cta { grid-template-columns: 1fr; }
  .hk-score .btn-salt { white-space: normal; }
  .hk-prio li { grid-template-columns: 32px 1fr; gap: 12px; padding: 16px; }
  .hk-nr { width: 30px; height: 30px; font-size: 17px; }
  .hk-g-kort { grid-template-columns: 1fr; padding: 16px; }
  .hk-g-bild { width: 100%; max-width: 320px; }
  .hk-g-titel { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hk-bar::after { animation: none; width: 100%; opacity: .4; } }

/* Mobil: större tryckytor för brödsmulor och innehållsförteckning (27 nov) */
@media (pointer: coarse) {
  .gd-crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .gd-toc ol { gap: 0; }
  .gd-toc a { display: inline-block; padding: 9px 0; }
}
/* Kontroller som inte gick att avgöra (30 nov): neutrala, varken godkända eller brister */
.okand .hk-ikon { background: transparent; color: var(--olive-muted); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24); }
.hk-okand h2 { font-size: clamp(22px, 2.6vw, 26px); }
.hk-okand-p { margin: 0; color: var(--olive-muted); max-width: 62ch; }

/* Prisguiden (1 dec, Joshua: "denna är viktig för oss"): tabeller, kalkylator och källor i guiderna. */
.gd-tab { margin: 18px 0 8px; overflow-x: auto; border-radius: 14px; background: rgba(255,255,255,0.087); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); -webkit-overflow-scrolling: touch; }
.gd-tab:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.gd-tab table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.gd-tab caption { text-align: left; padding: 14px 18px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-muted); font-weight: 500; }
.gd-tab th, .gd-tab td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.gd-tab thead th { font-size: 13px; font-weight: 600; color: var(--olive-muted); border-top: 0; white-space: nowrap; }
.gd-tab tbody th { font-weight: 600; min-width: 160px; }
.gd-tab td { font-variant-numeric: tabular-nums; white-space: nowrap; }

.gd-kalk { margin: 18px 0 8px; padding: clamp(18px, 3vw, 26px); border-radius: 16px; background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); display: grid; gap: 18px; }
.gd-kalk fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gd-kalk legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.gd-val { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-val label { position: relative; cursor: pointer; }
.gd-val input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gd-val span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 8px; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.176); background: rgba(255,255,255,0.08); transition: background-color .3s cubic-bezier(.16,1,.3,1), color .3s cubic-bezier(.16,1,.3,1); }
.gd-val label:hover span { background: rgba(255,255,255,0.07); }
.gd-val input:checked + span { background: var(--olive); color: var(--salt-50); box-shadow: none; }
.gd-val input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.gd-kalk-ut { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.gd-kalk-ut b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.gd-kalk-ut p { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--olive-muted); }
.gd-kalk-fot { margin: 0; font-size: 14px; color: var(--olive-muted); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.gd-kalk-boka { border: 0; border-radius: 8px; min-height: 40px; padding: 0 16px; background: var(--olive); color: var(--salt-50); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.gd-kalk-boka:hover { background: rgb(17 21 28); }
@media (max-width: 640px) {
  .gd-kalk-ut { grid-template-columns: 1fr; gap: 10px; }
  .gd-kalk-ut > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .gd-kalk-ut b { margin: 0; font-size: 22px; text-align: right; }
}

.gd-kallor { margin: 6px 0 0; padding-left: 20px; font-size: 15px; color: var(--olive-muted); display: grid; gap: 4px; }
.gd-kallor a { color: inherit; }
@media (max-width: 640px) {
  .gd-tab { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .gd-tab table, .gd-tab tbody, .gd-tab tr, .gd-tab th, .gd-tab td { display: block; min-width: 0; }
  .gd-tab table { min-width: 0; }
  .gd-tab caption { display: block; padding: 0 0 8px; }
  .gd-tab thead { display: none; }
  .gd-tab tr { margin: 0 0 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.094); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.096); }
  .gd-tab tbody th { padding: 0 0 8px; border: 0; min-width: 0; }
  .gd-tab td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid var(--line); white-space: normal; text-align: right; }
  .gd-tab td::before { content: attr(data-l); color: var(--olive-muted); text-align: left; white-space: nowrap; }
}
.gd-kalk-lx { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.056); }
.gd-kalk-lx p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.5; }
.gd-kalk-ut [data-ut="not"][hidden] { display: none; }
/* Förval från branschsidorna (1 december) */
.gd-kalk-forval { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255,79,171,.08); box-shadow: inset 0 0 0 1px rgba(255,79,171,.22); font-size: 14px; color: #F3F5F8; }
.gd-dl dt a { color: inherit; text-decoration: underline; text-decoration-color: rgba(243,245,248,.35); text-underline-offset: 4px; }
.gd-dl dt a:hover { text-decoration-color: #FF4FAB; }

/* SEO-lyftet (1 december, paket 4): "Det här kontrollerar vi" på Hemsidekollen, kort svar på hubben, plats för porträtt på Om oss */
.hk-kontroller { margin-top: 48px; }
.hk-kontroller > p { color: var(--olive-muted); max-width: 68ch; }
.hk-kgrid { display: grid; gap: 28px; margin-top: 20px; }
.hk-kg h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.hk-kg h3 span { font-size: 13px; font-weight: 500; color: var(--olive-muted); font-variant-numeric: tabular-nums; }
.hs-hub-svar { max-width: 760px; }
.gd-portratt { float: right; width: 160px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: 4px 0 16px 24px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.gd-person-bild::after { content: ""; display: block; clear: both; }
@media (max-width: 560px) {
  .gd-portratt { float: none; display: block; width: 128px; margin: 0 0 16px; }
}

/* ================================================================
   Guider 3.0 (2 december, Joshua: "samma standard som flaggskeppet"). Innehållssidor som läses som en bra
   redaktionell sajt: Natt-ljus bakom rubriken, läsbar radlängd, innehållsförteckning som visar var man är,
   citat, faktarutor och diagram i kod, och en väg till flaggskeppen. Rörelsen är diskret: bara diagrammen
   ritas upp, och allt står still med minskad rörelse.
   ================================================================ */
.gd-page main { background:
  radial-gradient(38vw 300px at 18% 40px, rgba(43,58,140,.22), transparent 70%),
  radial-gradient(30vw 260px at 78% 0, rgba(91,43,134,.16), transparent 70%),
  radial-gradient(90% 520px at 50% 0%, rgba(255,255,255,0.07), rgba(255,255,255,0) 100%); }
/* Rubrikerna i mjukt glas klipps vid radboxen: luft för å, g och j */
.gd-head h1, .gd-hub h1 { padding-bottom: .12em; margin-bottom: 8px; text-wrap: balance; }
.gd-sec h2, .gd-more h2, .fs h2 { text-wrap: balance; letter-spacing: -.015em; }

/* Läsbar radlängd: cirka 70 tecken. Tabeller, diagram och kort får hela spalten. */
.gd-body .gd-sec > p, .gd-svar p, .gd-lede, .gd-faq details p { max-width: 35em; text-wrap: pretty; }
.gd-body { font-size: 18px; line-height: 1.7; }
.gd-sec { padding-top: clamp(40px, 5vw, 56px); }
.gd-sec h2 { margin-bottom: 16px; }
.gd-meta { font-variant-numeric: tabular-nums; }

/* Kort svar: glaset får ett svagt färgat ljus, som heron */
.gd-svar { position: relative; overflow: hidden; background:
  radial-gradient(120% 140% at 0% 0%, rgba(43,58,140,.2), transparent 60%),
  radial-gradient(90% 120% at 100% 100%, rgba(14,92,107,.16), transparent 60%),
  rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.09); border-radius: 16px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 30px); }
.gd-svar p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: #F3F5F8; }

/* Innehållsförteckningen: aktivt avsnitt och hur långt man läst (las.js) */
.gd-toc a[aria-current] { color: #F3F5F8; }
@media (min-width: 1100px) {
  .gd-art > .gd-toc ol { position: relative; border-left: 0; }
  .gd-art > .gd-toc ol::before, .gd-art > .gd-toc ol::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: rgba(255,255,255,.11); }
  .gd-art > .gd-toc ol::after { background: linear-gradient(180deg, rgba(255,255,255,.2), #F3F5F8); transform-origin: top; transform: scaleY(var(--las, 0)); transition: transform .5s cubic-bezier(.16,1,.3,1); }
  .gd-art > .gd-toc li { position: relative; }
  .gd-art > .gd-toc a { display: block; line-height: 1.4; transition: color .3s cubic-bezier(.16,1,.3,1); }
  .gd-art > .gd-toc a[aria-current] { color: #F3F5F8; }
  .gd-art > .gd-toc a[aria-current]::before { content: ""; position: absolute; left: -2px; top: .42em; width: 5px; height: 5px; border-radius: 50%; background: #FF4FAB; }
  .gd-art > .gd-toc { max-height: calc(100vh - 140px); overflow: auto; scrollbar-width: none; }
  .gd-art > .gd-toc::-webkit-scrollbar { display: none; }
}
/* Mobil och platta: förteckningen som en tät lista med numrering */
@media (max-width: 1099px) {
  .gd-toc { margin-top: 8px; }
  .gd-toc ol { counter-reset: t; list-style: none; padding-left: 0; gap: 0; }
  .gd-toc li { counter-increment: t; display: grid; grid-template-columns: 30px 1fr; align-items: baseline; border-top: 1px solid rgba(255,255,255,.06); }
  .gd-toc li:first-child { border-top: 0; }
  .gd-toc li::before { content: counter(t, decimal-leading-zero); font-size: 12px; color: #5F6773; font-variant-numeric: tabular-nums; }
  .gd-toc a { display: block; padding: 9px 0; font-size: 16px; line-height: 1.35; }
}

/* Citat: en mening ur texten, satt stort */
.gd-citat { margin: 28px 0 30px !important; padding: 0 0 0 22px; max-width: 24em !important; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.01em; color: #F3F5F8; box-shadow: inset 2px 0 0 #FF4FAB; text-wrap: balance; }

/* Faktaruta */
.gd-fakta { margin: 22px 0 10px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08); max-width: 30em; }
.gd-fakta dl { margin: 10px 0 0; display: grid; }
.gd-fakta dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 16px; }
.gd-fakta dt { color: #9AA3AF; }
.gd-fakta dd { margin: 0; font-variant-numeric: tabular-nums; color: #F3F5F8; }
.gd-fakta .gd-fakta-s { border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; align-items: baseline; }
.gd-fakta .gd-fakta-s dt { color: #F3F5F8; font-weight: 500; }
.gd-fakta .gd-fakta-s dd { font-family: var(--serif); font-size: 28px; line-height: 1; }
.gd-fakta.vant dl > div { opacity: 0; transform: translateY(6px); }
.gd-fakta.in dl > div { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.gd-fakta.in dl > div:nth-child(2) { transition-delay: .08s; } .gd-fakta.in dl > div:nth-child(3) { transition-delay: .16s; }
.gd-fakta.in dl > div:nth-child(4) { transition-delay: .24s; } .gd-fakta.in dl > div:nth-child(5) { transition-delay: .4s; }

/* Diagram i kod: spann på en gemensam skala */
.gd-dia { margin: 14px 0 10px; padding: 20px 22px 16px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.gd-dia figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 18px; }
.gd-dia-leg { display: flex; gap: 16px; font-size: 13px; color: #9AA3AF; }
.gd-dia-leg i { display: inline-block; width: 18px; height: 6px; border-radius: 3px; margin-right: 7px; vertical-align: 1px; }
.gd-dia .s0 { --c: rgba(154,163,175,.55); } .gd-dia .s1 { --c: #F3F5F8; }
.gd-dia[style*="--n:1"] .s0 { --c: #F3F5F8; }
.gd-dia-leg i { background: var(--c); }
.gd-dia-yta { position: relative; display: grid; gap: 4px; padding-top: 26px; }
.gd-dia-ax { position: absolute; inset: 0 0 0 var(--namn, 150px); pointer-events: none; }
.gd-dia-ax span { position: absolute; top: 0; bottom: 0; transform: translateX(-50%); font-size: 11px; color: #5F6773; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-dia-ax span::after { content: ""; position: absolute; left: 50%; top: 20px; bottom: 0; width: 1px; background: rgba(255,255,255,.06); }
.gd-dia-ax span:first-child { transform: none; } .gd-dia-ax span:last-child { transform: translateX(-100%); }
.gd-dia-ax span:first-child::after { left: 0; } .gd-dia-ax span:last-child::after { left: auto; right: 0; }
.gd-dia-rad { display: grid; grid-template-columns: var(--namn, 150px) 1fr; align-items: center; min-height: calc(var(--n) * 18px + 14px); position: relative; }
.gd-dia-namn { font-size: 14px; color: #F3F5F8; padding-right: 14px; line-height: 1.25; }
.gd-dia-sp { position: relative; display: grid; gap: 6px; }
.gd-dia-b { position: relative; display: block; height: 10px; margin-left: var(--a); width: var(--w); border-radius: 5px; background: var(--c); transform-origin: left; }
.gd-dia-b b { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 500; color: #9AA3AF; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gd-dia-b.s1 b { color: #F3F5F8; }
.gd-dia-b.l b { left: auto; right: calc(100% + 8px); }
.gd-dia-not { margin: 14px 0 0 !important; font-size: 13px; color: #9AA3AF; }
.gd-dia.vant .gd-dia-b { transform: scaleX(0); opacity: 0; }
.gd-dia.in .gd-dia-b { transform: none; opacity: 1; transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .4s cubic-bezier(.16,1,.3,1); }
.gd-dia.in .gd-dia-rad:nth-child(3) .gd-dia-b { transition-delay: .06s; } .gd-dia.in .gd-dia-rad:nth-child(4) .gd-dia-b { transition-delay: .12s; }
.gd-dia.in .gd-dia-rad:nth-child(5) .gd-dia-b { transition-delay: .18s; } .gd-dia.in .gd-dia-rad:nth-child(6) .gd-dia-b { transition-delay: .24s; }
.gd-dia.in .gd-dia-rad:nth-child(7) .gd-dia-b { transition-delay: .3s; }
.gd-dia.in .gd-dia-b.s1 { transition-delay: calc(.1s + var(--d, 0s)); }
@media (max-width: 640px) {
  .gd-dia { padding: 16px 14px 14px; --namn: 0px; }
  .gd-dia-ax { inset: 0; }
  .gd-dia-rad { grid-template-columns: 1fr; gap: 6px; padding: 6px 0 8px; }
  .gd-dia-namn { font-size: 13px; color: #9AA3AF; }
  .gd-dia-b b { font-size: 11px; }
}

/* Avslutet: en rad till flaggskeppen */
.fs-rad { margin: 18px 0 0 !important; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: #9AA3AF !important; }
.fs-rad a { color: #F3F5F8; text-decoration: underline; text-decoration-color: rgba(243,245,248,.3); text-underline-offset: 4px; }
.fs-rad a:hover { text-decoration-color: #F3F5F8; }

/* Flaggskeppen: tre kort med riktiga skärmbilder */
.fs { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 0; }
.gd-hub .fs { padding-bottom: 0; }
.fs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: 24px; }
.fs-head h2 { margin: 0; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; }
.fs-head p { margin: 0; color: #9AA3AF; max-width: 34em; font-size: 16px; line-height: 1.55; }
.fs-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fs-kort { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08); }
.fs-bild { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #11151C; }
.fs-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.fs-kort:hover .fs-bild img { transform: scale(1.03); }
.fs-text { display: grid; align-content: start; gap: 6px; padding: 18px 20px 20px; }
.fs-namn { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: #F3F5F8; text-decoration: none; }
.fs-namn::after { content: ""; position: absolute; inset: 0; }
.fs-kort { position: relative; }
.fs-text p { margin: 2px 0 6px; font-size: 15px; line-height: 1.5; color: #9AA3AF; }
.fs-mod { position: relative; z-index: 1; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #F3F5F8; text-decoration: none; }
.fs-mod i { font-style: normal; margin-left: 6px; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.fs-mod:hover i { transform: translateX(3px); }
.fs-kort:focus-within { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
@media (max-width: 900px) {
  .fs-head { grid-template-columns: 1fr; }
  .fs-lista { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fs-lista::-webkit-scrollbar { display: none; }
  .fs-kort { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .fs-bild img, .gd-art > .gd-toc ol::after { transition: none; } }

/* Kalkylatorn som produkt: siffrorna räknas till sitt värde, och samma sida jämförs på tre år med alla vägar */
.gd-kalk { background:
  radial-gradient(70% 90% at 100% 0%, rgba(91,43,134,.16), transparent 60%),
  radial-gradient(60% 80% at 0% 100%, rgba(14,92,107,.14), transparent 60%),
  rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.09); }
.gd-kalk-ut b { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; }
.gd-kalk-ut > div:first-child b { color: #FFFFFF; }
.gd-kalk-jfr { margin: 0; padding: 16px 0 4px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.gd-kalk-jfr figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 4px; font-size: 13px; color: #5F6773; font-variant-numeric: tabular-nums; }
.gd-kalk-jr { display: grid; grid-template-columns: 110px 1fr 170px; align-items: center; gap: 14px; font-size: 14px; color: #9AA3AF; min-height: 28px; }
.gd-kalk-jr b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-kalk-sp { position: relative; height: 8px; border-radius: 4px; background: rgba(255,255,255,.05); }
.gd-kalk-sp i { position: absolute; top: 0; bottom: 0; left: var(--a); width: var(--w); border-radius: 4px; background: rgba(154,163,175,.5); transition: left .7s cubic-bezier(.16,1,.3,1), width .7s cubic-bezier(.16,1,.3,1), background-color .4s cubic-bezier(.16,1,.3,1); }
.gd-kalk-jr.vald { color: #F3F5F8; }
.gd-kalk-jr.vald .gd-kalk-sp i { background: #F3F5F8; box-shadow: 0 0 18px rgba(243,245,248,.25); }
.gd-kalk-jnot { margin: 2px 0 0; font-size: 13px; color: #5F6773; }
@media (max-width: 640px) {
  .gd-kalk-jr { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .gd-kalk-sp { grid-column: 1 / -1; grid-row: 2; }
  .gd-kalk-jr { padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .gd-kalk-sp i { transition: none; } }

/* Rättningar efter första granskningen */
@media (min-width: 1100px) { .gd-art > .gd-toc { padding-left: 4px; margin-left: -4px; } }
.gd-tab tbody th { width: 34%; }
.gd-tab td { white-space: normal; }
@media (min-width: 641px) { .gd-tab td { min-width: 120px; } }

/* Hemsida för <bransch>: ett flaggskepp i full bredd under exemplet */
.hs-fs-in { margin: 22px 0 12px !important; font-size: 16px; color: #9AA3AF; }
.fs-en { grid-template-columns: 1fr !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; grid-auto-flow: row !important; }
.fs-stor { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: none; }
.fs-stor .fs-bild { aspect-ratio: auto; height: 100%; min-height: 240px; }
.fs-stor .fs-text { align-content: center; padding: 24px 26px; }
@media (max-width: 700px) {
  .fs-stor { grid-template-columns: 1fr; }
  .fs-stor .fs-bild { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 640px) { .gd-dia-ax span:nth-child(even) { visibility: hidden; } }

/* Hemsidekollen 3.0 (2 december): poängen byggs upp, delarna tänds en i taget och de viktigaste bristerna följer efter.
   Ringen får ett svagt ljus i samma rosa, eftersom poängen är det viktigaste i vyn. */
.hk-score { position: relative; overflow: hidden; }
.hk-score::before { content: ""; position: absolute; left: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,79,171,.12), transparent); pointer-events: none; }
.hk-score > * { position: relative; }
.hk-ring b { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .hk-delar li { opacity: .35; transition: opacity .6s cubic-bezier(.16,1,.3,1); }
  .hk-delar i::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.16,1,.3,1); }
  .hk-in .hk-delar li { opacity: 1; }
  .hk-in .hk-delar i::after { transform: scaleX(var(--v)); }
  .hk-in .hk-delar li:nth-child(2), .hk-in .hk-delar li:nth-child(2) i::after { transition-delay: .08s; }
  .hk-in .hk-delar li:nth-child(3), .hk-in .hk-delar li:nth-child(3) i::after { transition-delay: .16s; }
  .hk-in .hk-delar li:nth-child(4), .hk-in .hk-delar li:nth-child(4) i::after { transition-delay: .24s; }
  .hk-in .hk-delar li:nth-child(5), .hk-in .hk-delar li:nth-child(5) i::after { transition-delay: .32s; }
  .hk-visas .hk-prio li, .hk-visas .hk-g, .hk-visas .hk-grupp, .hk-visas .hk-bra { animation: hk-upp .8s cubic-bezier(.16,1,.3,1) both; }
  .hk-visas .hk-prio li:nth-child(1) { animation-delay: .7s; } .hk-visas .hk-prio li:nth-child(2) { animation-delay: .8s; }
  .hk-visas .hk-prio li:nth-child(3) { animation-delay: .9s; } .hk-visas .hk-g { animation-delay: 1s; }
  .hk-visas .hk-grupp, .hk-visas .hk-bra { animation-delay: 1.1s; }
}
@keyframes hk-upp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Formuläret som en produkt: större fält, knappen i raden, ljus bakom */
.hk-form { background:
  radial-gradient(80% 140% at 0% 0%, rgba(43,58,140,.22), transparent 60%),
  radial-gradient(60% 120% at 100% 100%, rgba(91,43,134,.16), transparent 60%),
  rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.09); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.hk-row input { min-height: 56px; border-radius: 12px; background: rgba(7,9,13,.6); border-color: rgba(255,255,255,.14); font-size: 18px; transition: border-color .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1); }
.hk-row input:focus { outline: none; border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.hk-row .btn { min-height: 56px; }
.hk .gd-lede { max-width: 34em; }
.hk-delar i { background: rgba(255,255,255,.07); }
.hk-delar i::after { background: rgba(243,245,248,.45); }
.hk-delar li.full i::after { background: #F3F5F8; }
.gd-om .gd-cta { margin-bottom: 0; }
.fs-om { padding-bottom: clamp(64px, 9vw, 110px); }
.gd-fakta dd { text-align: right; }
@media (max-width: 640px) { .gd-fakta .gd-fakta-s dd { font-size: 22px; } .gd-fakta dl > div { font-size: 15px; } }
