/* ============ Den nya landningssidan (/sv/ny/) ============ */
/* Vitt och luftigt med tallgrönt, stora rubriker och rundade kort. Inbäddad i sidan av build.mjs. */
:root {
  --bg: #FFFFFF; --soft: #F4F6F2; --paper: #FDFDFB; --ink: #121A16; --muted: #5E6A63; --line: #E3E8E2;
  --pine: #1F4D3A; --pine-2: #2C6A50; --pine-soft: #E4EEE7; --sun: #F2C230; --red: #B4532A;
  --r: 22px; --shadow: 0 1px 2px rgba(20, 40, 28, .05), 0 14px 40px rgba(20, 40, 28, .09);
  color-scheme: light only;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 calc(17px * var(--ts, 1))/1.55 Figtree, "Instrument Sans", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 1.15rem + 2.6vw, 3.2rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; line-height: 1.2; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.nwrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.nnarrow { max-width: 780px; }
section { padding-block: clamp(64px, 9vw, 120px); }
.center { text-align: center; margin-inline: auto; }
.neyebrow { font-size: calc(13px * var(--ts, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-2); margin-bottom: 14px; }
.nlede { color: var(--muted); font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); max-width: 58ch; }
.nbody { font-size: 1.12rem; color: #2A342F; max-width: 62ch; }

/* knappar */
.nbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--pine); color: #fff; font-weight: 600; text-decoration: none; transition: transform .12s, background .15s; white-space: nowrap; }
.nbtn:hover { background: var(--pine-2); }
.nbtn:active { transform: scale(.98); }
.nbtn.sm { height: 40px; padding: 0 18px; font-size: calc(15px * var(--ts, 1)); }
.nbtn.lg { height: 56px; padding: 0 30px; font-size: 1.08rem; }
.nbtn.wide { width: 100%; }
.nbtn.light { background: #fff; color: var(--pine); }
.nghost { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; text-decoration: none; background: #fff; }
.nghost:hover { border-color: var(--ink); }
.nacts { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 28px; }
.nacts > * { flex: 0 1 auto; min-width: 0; }
.nghost .nw-short { display: none; }
/* the quiz, Min trädgårdsplan, under the hero's buttons (only on /sv/) */
.nquiz { display: flex; align-items: center; gap: 12px; max-width: 460px; margin-top: 14px; padding: 10px 18px 10px 10px; border-radius: 999px; background: #E8F1EA; color: var(--ink); text-decoration: none; transition: transform .15s, background .15s; }
.nquiz:hover { background: #DDEBE1; transform: translateY(-1px); }
.nquiz-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: calc(22px * var(--ts, 1)); }
.nquiz > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.nquiz small { font-size: calc(13px * var(--ts, 1)); color: #4A5A50; }
.nquiz b { font-size: calc(16px * var(--ts, 1)); color: #1F4D3A; }
.nquiz em { font-style: normal; font-weight: 600; font-size: calc(14px * var(--ts, 1)); color: #1F4D3A; white-space: nowrap; }
@media (max-width: 520px) {
  .nacts .nbtn.lg { padding: 0 20px; font-size: calc(16px * var(--ts, 1)); }
  .nacts .nghost { padding: 0 16px; }
  .nghost .nw-long { display: none; }
  .nghost .nw-short { display: inline; }
}
/* the live counter under the buttons: every bed planned so far, with a pulsing red dot */
.nlivecount { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: calc(15px * var(--ts, 1)); color: var(--muted); }
.nlivecount[hidden] { display: none; }
.nlivecount b { color: var(--ink); font-variant-numeric: tabular-nums; }
.nlivecount i { width: 9px; height: 9px; border-radius: 50%; background: #E0322D; box-shadow: 0 0 0 0 rgba(224, 50, 45, .5); animation: nlive-pulse 1.8s ease-out infinite; flex: none; }
@keyframes nlive-pulse { 70% { box-shadow: 0 0 0 7px rgba(224, 50, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 50, 45, 0); } }
@media (prefers-reduced-motion: reduce) { .nlivecount i { animation: none; } }
.ncenter { display: flex; justify-content: center; margin-top: 40px; }
.nlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--pine); text-decoration: none; }
.nlink:hover { text-decoration: underline; }

/* erbjudande och topp */
.npromo { background: var(--pine); color: #fff; text-align: center; font-size: calc(14px * var(--ts, 1)); padding: 9px 16px; }
.npromo a { color: #fff; font-weight: 700; margin-left: 6px; text-decoration: none; }
.nhead { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nhead-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.nlogo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.nlogo img { display: block; height: 28px; width: auto; }
.nnav { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.nnav > a, .ndrop > summary { text-decoration: none; color: var(--muted); font-size: calc(15px * var(--ts, 1)); font-weight: 500; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.nnav > a:hover, .ndrop > summary:hover { color: var(--ink); background: var(--soft); }
.nnav > a[aria-current="page"], .ndrop[data-cur] > summary { color: var(--pine); font-weight: 600; }
.ndrop { position: relative; }
.ndrop > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.ndrop > summary::-webkit-details-marker { display: none; }
.ndrop > summary svg { width: 12px; height: 12px; transition: transform .15s; }
.ndrop[open] > summary svg { transform: rotate(180deg); }
.ndrop ul { position: absolute; top: calc(100% + 8px); left: -8px; z-index: 30; list-style: none; margin: 0; padding: 8px; min-width: 300px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ndrop ul a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ndrop ul a:hover { background: var(--soft); }
.ndrop ul b { display: block; font-weight: 600; font-size: calc(15px * var(--ts, 1)); } .ndrop ul small { display: block; color: var(--muted); font-size: calc(13px * var(--ts, 1)); }
.nhead-acts { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nlogin { text-decoration: none; font-weight: 600; font-size: calc(15px * var(--ts, 1)); }
.nburger { display: none; position: relative; }
.nburger > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nburger > summary::-webkit-details-marker { display: none; }
.nburger > summary svg { width: 24px; height: 24px; }
.nburger[open] > summary { background: var(--soft); }
.nburger nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(280px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; }
.nburger ul { list-style: none; margin: 0; padding: 0; }
.nburger a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nburger a[aria-current="page"] { color: var(--pine); font-weight: 700; }
.nburger-h { padding: 12px 12px 4px; font-size: calc(12px * var(--ts, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .nnav, .nlogin { display: none; } .nburger { display: block; } .nhead-acts { gap: 8px; } }

/* undermenyn på en sida: ankarlänkarna, markerar avsnittet som syns */
.nsub { position: sticky; top: 64px; z-index: 19; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nsub ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nsub ol::-webkit-scrollbar { display: none; }
.nsub a { display: block; white-space: nowrap; padding: 10px 12px; font-size: calc(14px * var(--ts, 1)); font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.nsub a:hover { color: var(--ink); }
.nsub a[aria-current="location"] { color: var(--pine); border-bottom-color: var(--pine); font-weight: 600; }
html { scroll-padding-top: 120px; }

/* hero */
.nhero h1 { font-size: clamp(2.1rem, 1rem + 3vw, 3.4rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.nhero { padding-block: clamp(36px, 6vw, 80px) 0; overflow: hidden; }
.nhero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.npill { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); font-size: calc(14px * var(--ts, 1)); font-weight: 600; margin-bottom: 22px; }
.nhero .nlede { margin-top: 20px; }
.nhero-art { position: relative; aspect-ratio: 4 / 3.4; }
.nhero-photo { position: absolute; inset: 0 0 8% 10%; width: 90%; height: 92%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.nphone { border-radius: 34px; overflow: hidden; background: #fff; border: 7px solid #121A16; box-shadow: 0 30px 60px rgba(20, 40, 28, .25); }
.nhero-phone { position: absolute; left: 0; bottom: 0; width: 38%; }
.nstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.nstat b { display: block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.03em; color: var(--pine); }
.nstat span { color: var(--muted); font-size: calc(15px * var(--ts, 1)); }
.ncards { margin-top: 44px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ncards-in { display: flex; gap: 16px; width: max-content; animation: nslide 60s linear infinite; padding-bottom: 8px; }
.ncard { flex: none; width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 14px; }
.ncard b { display: block; margin-top: 8px; font-size: calc(15px * var(--ts, 1)); }
.ncard-draw { aspect-ratio: 300 / 160; background: var(--soft); border-radius: 12px; overflow: hidden; }
.ncard-draw svg, .ntpl-draw svg, .nrule-art svg { width: 100%; height: 100%; display: block; }
@keyframes nslide { to { transform: translateX(-50%); } }
@media (max-width: 860px) {
  .nhero-grid { grid-template-columns: minmax(0, 1fr); }
  .nhero-art { max-width: 560px; }
}
@media (max-width: 560px) { .nstats { grid-template-columns: 1fr; gap: 14px; } .nstat { display: flex; align-items: baseline; gap: 12px; } .nstat b { font-size: 2rem; min-width: 76px; } }

/* varför */
.nwhy { background: var(--soft); }
.nwhy h2 { margin-bottom: 26px; }

/* funktioner */
.ntabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 30px 0 34px; padding-bottom: 4px; }
.ntab { flex: none; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: calc(15px * var(--ts, 1)); color: var(--muted); cursor: pointer; }
.ntab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.npanel { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.npanel[hidden] { display: none; }
.npanel .nphone { max-width: 320px; width: 100%; margin-inline: auto; }
.npanel-copy h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.npanel-copy p { color: #2A342F; font-size: 1.1rem; }
.nchecks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.nchecks li { display: flex; gap: 10px; align-items: flex-start; }
.nchecks svg { flex: none; color: #fff; background: var(--pine); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 760px) { .npanel { grid-template-columns: 1fr; } .npanel .nphone { max-width: 260px; } }

/* film */
.nfilm { background: var(--soft); text-align: center; }
.nfilm .nlede { margin-inline: auto; }
.nfilm .film { width: 100%; border-radius: 22px; margin-top: 26px; box-shadow: var(--shadow); background: #fff; }
/* the phone film stands upright: a phone's width, centred, never taller than the screen */
.nfilm .film.tall { display: block; width: min(100%, 380px, calc((100svh - 120px) * 9 / 16)); height: auto; margin-inline: auto; }

/* trädgårdstyper */
.nniche { padding-block: 56px; overflow: hidden; }
.nmarq { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nmarq + .nmarq { margin-top: 12px; }
.nmarq-in { display: flex; gap: 10px; width: max-content; animation: nslide 70s linear infinite; }
.nmarq.rev .nmarq-in { animation-direction: reverse; }
.nchip { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: calc(15px * var(--ts, 1)); font-weight: 500; color: var(--ink); white-space: nowrap; }
button.nchip { cursor: pointer; }
.nchip.on { background: var(--pine); border-color: var(--pine); color: #fff; }

/* steg */
.nsteps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.nstep { background: var(--soft); border-radius: var(--r); padding: 28px; }
.nnum { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: #fff; font-weight: 700; margin-bottom: 18px; }
.nstep h3 { margin-bottom: 10px; }
.nstep p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .nsteps { grid-template-columns: 1fr; } }

/* mallar */
.nfilters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 28px; }
.ntpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ntpl { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 18px; display: flex; flex-direction: column; }
.ntpl[hidden] { display: none; }
.ntpl-draw { aspect-ratio: 300 / 160; background: var(--soft); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.ntpl h3 { margin-bottom: 6px; }
.ntpl p { color: var(--muted); font-size: calc(15px * var(--ts, 1)); flex: 1; }
.nphoto { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; margin-top: 56px; background: var(--soft); border-radius: 28px; padding: clamp(22px, 4vw, 44px); }
.nphoto-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.nphoto-copy p { color: var(--muted); }
.nphoto-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nphoto-pair figure { margin: 0; position: relative; background: #fff; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.nphoto-pair img { width: 100%; height: 100%; object-fit: cover; }
.nphoto-pair .ntpl-draw { width: 100%; margin: 0; background: none; }
.ntag { position: absolute; left: 10px; top: 10px; z-index: 1; font-size: calc(12px * var(--ts, 1)); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); }
@media (max-width: 860px) { .nphoto { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nphoto-pair { grid-template-columns: 1fr; } }

/* reglerna */
.nrules { background: var(--soft); }
.nrule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 34px; }
.nrule { background: #fff; border-radius: var(--r); padding: 22px; }
.nrule-art { aspect-ratio: 280 / 130; margin-bottom: 14px; }
.nrule h3 { margin-bottom: 8px; }
.nrule p { color: var(--muted); margin: 0; font-size: calc(15.5px * var(--ts, 1)); }

/* öppna data */
.ndatas { padding-block: 52px; border-bottom: 1px solid var(--line); }
.ndata-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; text-align: center; }
.ndata b { display: block; font-size: 1.35rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ndata span { color: var(--muted); font-size: calc(14px * var(--ts, 1)); }
@media (max-width: 640px) { .ndata-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* allt ingår */
.nincl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 32px; }
.nincl { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.nincl svg { flex: none; color: #fff; background: var(--pine); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.nincl h3 { font-size: 1.05rem; margin-bottom: 4px; }
.nincl p { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts, 1)); }

/* pris */
.nprice { background: var(--soft); }
.nprice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 36px auto 0; align-items: stretch; }
.nreplace { padding: 28px; border-radius: var(--r); background: #fff; }
.nreplace b { display: block; margin-bottom: 14px; }
.nreplace ul, .npath ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nreplace li, .npath li { display: flex; gap: 10px; color: var(--muted); }
.nreplace svg, .npath.bad svg { flex: none; color: var(--red); margin-top: 3px; }
.nplan { padding: 30px; border-radius: var(--r); background: #fff; border: 2px solid var(--pine); box-shadow: var(--shadow); }
.nplan-name { font-weight: 700; color: var(--pine); margin-bottom: 6px; }
.nplan-amt b { font-size: 3.2rem; letter-spacing: -0.04em; }
.nplan-amt span { color: var(--muted); }
.nplan .nchecks { margin: 14px 0 24px; }
.nnote { color: var(--muted); font-size: calc(14px * var(--ts, 1)); text-align: center; margin: 12px 0 0; }
@media (max-width: 760px) { .nprice-grid { grid-template-columns: 1fr; } }

/* två vägar */
.npath-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.npath { border-radius: var(--r); padding: 28px; }
.npath h3 { margin-bottom: 18px; font-size: 1.3rem; }
.npath.bad { background: var(--soft); }
.npath.good { background: var(--pine); color: #fff; }
.npath.good li { color: rgba(255, 255, 255, .9); }
.npath.good svg { flex: none; color: var(--pine); background: #fff; border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.npath.good .nbtn { background: #fff; color: var(--pine); margin-top: 24px; }
@media (max-width: 760px) { .npath-grid { grid-template-columns: 1fr; } }

/* vi */
.nus .nbody { margin-inline: auto; }

/* frågor */
.nfaq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.nfaq { border-bottom: 1px solid var(--line); }
.nfaq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
.nfaq summary::-webkit-details-marker { display: none; }
.nfaq summary i { flex: none; width: 22px; height: 22px; position: relative; }
.nfaq summary i::before, .nfaq summary i::after { content: ''; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nfaq summary i::after { transform: rotate(90deg); }
.nfaq[open] summary i::after { transform: rotate(0); }
.nfaq p { color: var(--muted); padding: 0 2px 20px; margin: 0; max-width: 64ch; }

/* sista */
.nfinal { background: var(--pine); color: #fff; }
.nfinal .nlede { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }

/* fot */
.nfoot { padding-block: 44px; }
.nfoot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.nfoot p { color: var(--muted); font-size: calc(14px * var(--ts, 1)); margin: 8px 0 0; }
.nfoot nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: calc(15px * var(--ts, 1)); }
.nfoot nav a { text-decoration: none; color: var(--muted); }
.nfoot nav a:hover { color: var(--ink); }
.ncopy { grid-column: 1 / -1; }
.nfoot nav.nmach { grid-column: 1 / -1; gap: 14px; font-size: calc(13px * var(--ts, 1)); }
.nfoot nav.nmach a { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
@media (max-width: 640px) { .nfoot-in { grid-template-columns: 1fr; } }

/* ritningarna från landing.js tonas in */
[data-draw] svg { opacity: 0; transition: opacity .5s; }
[data-draw] svg.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ncards-in, .nmarq-in { animation: none; } }

/* Add to home screen: a flyout along the bottom on a phone (landing.js). */
.na2hs { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1000; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 40px 12px 12px; border-radius: 18px; background: #fff; color: #111; box-shadow: 0 10px 40px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); transform: translateY(calc(100% + 30px)); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.na2hs.in { transform: none; }
.na2hs img { border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.na2hs-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.na2hs-t b { font-size: calc(15px * var(--ts, 1)); }
.na2hs-t span { font-size: calc(13px * var(--ts, 1)); color: #5b635e; }
.na2hs-add { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 600; font-size: calc(14px * var(--ts, 1)); }
.na2hs-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; background: none; color: #5b635e; font-size: calc(22px * var(--ts, 1)); line-height: 1; }
.na2hs-steps { grid-column: 1 / -1; margin: 8px 0 4px; padding-left: 22px; font-size: calc(14.5px * var(--ts, 1)); line-height: 1.5; }
.na2hs-steps li { margin-bottom: 6px; }
.na2hs-ic { display: inline-flex; vertical-align: -3px; color: #0A84FF; }
.na2hs-done { grid-column: 1 / -1; height: 42px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .na2hs { transition: none; } }
.nmore { margin-top: 28px; }
.nmore .nlink { color: var(--pine); font-weight: 600; text-decoration: none; }

/* ============ Tillgänglighet: textstorlek och hög kontrast (samma val som i appen) ============ */
html { font-size: calc(100% * var(--ts, 1)); }
.na11y { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: calc(14px * var(--ts, 1)); color: var(--muted); }
.na11y span { margin-right: 4px; }
.na11y button { font: inherit; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; min-height: 36px; cursor: pointer; }
.na11y button[data-ts="1.15"] { font-size: 1.1em; } .na11y button[data-ts="1.3"] { font-size: 1.2em; }
.na11y button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
:root[data-contrast="high"] { --ink: #000000; --muted: #262B28; --line: #5C6660; --soft: #EDF1EE; --pine: #0C2E20; --pine-2: #0C2E20; --pine-soft: #D3E5D9; }
:root[data-contrast="high"] .bbody, :root[data-contrast="high"] .bfaq details > div { color: #000; }
:root[data-contrast="high"] :where(.bbody, .bfaq, .bagent, .bapi, .nfoot) a:not(.nbtn) { text-decoration: underline; text-underline-offset: 3px; }
:root[data-contrast="high"] :where(a, button, summary):focus-visible { outline: 3px solid #000; }
:root[data-contrast="high"] .bcard, :root[data-contrast="high"] .bsum, :root[data-contrast="high"] .bfeatures .bbody > ul > li { border: 1px solid var(--line); }
/* ============ Inspiration (tools/blog.mjs) ============ */
/* Landningssidans grund (ny.css) plus arkivet och artiklarna: en läsbar spalt, luftigt, tallgrönt. */
.bhead { padding-block: clamp(48px, 7vw, 88px) 12px; }
.bhead h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.bhead .nlede { margin-top: 14px; }
.blist { padding-block: 24px clamp(56px, 8vw, 96px); }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.bcard { display: flex; flex-direction: column; gap: 8px; padding: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.bcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bcard img { width: 100%; aspect-ratio: 13 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.bcard .bkind, .bcard h2, .bcard p { margin-inline: 20px; }
.bcard .bkind { margin-top: 12px; }
.bcard h2 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 0; }
.bcard p { color: var(--muted); font-size: .98rem; margin: 0 20px; }
.bkind { display: inline-block; align-self: flex-start; font-size: calc(12px * var(--ts, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-2); }
.bart { padding-bottom: clamp(48px, 7vw, 88px); }
.bart-head { padding-top: clamp(32px, 5vw, 64px); }
.bart-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); margin: 10px 0 16px; }
.bback { display: block; width: fit-content; margin-bottom: 22px; color: var(--pine); font-weight: 600; text-decoration: none; font-size: calc(15px * var(--ts, 1)); }
.bmeta { color: var(--muted); font-size: calc(14px * var(--ts, 1)); }
.bfig { margin-block: 8px 28px; }
.bfig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: var(--r); border: 1px solid var(--line); }
.btoc { margin-block: 0 28px; }
.btoc ol { margin: 0; padding: 16px 20px 16px 38px; border-radius: 16px; background: var(--soft); display: grid; gap: 6px; font-size: calc(15.5px * var(--ts, 1)); }
.btoc a { color: var(--pine); text-decoration: none; font-weight: 600; }
.bbody { font-size: 1.1rem; line-height: 1.7; color: #26302B; }
.bbody h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 2em 0 .6em; line-height: 1.15; }
.bbody h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.bbody h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.bbody p, .bbody ul, .bbody ol { margin: 0 0 1.1em; }
.bbody ul, .bbody ol { padding-left: 1.3em; }
.bbody li { margin-bottom: .45em; }
.bbody a { color: var(--pine); font-weight: 600; text-decoration: none; }
.bbody a:hover { text-decoration: underline; }
.bbody strong { color: var(--ink); }
.bbody blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--pine); background: var(--soft); border-radius: 0 14px 14px 0; }
.bbody blockquote p { margin: 0; }
.btable { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 16px; }
.btable table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; line-height: 1.45; }
.btable th, .btable td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.btable thead th { background: var(--soft); font-size: calc(13px * var(--ts, 1)); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.btable tbody th { font-weight: 700; color: var(--ink); }
.btable tbody tr:last-child > * { border-bottom: 0; }
.bcta { margin: 2em 0; padding: 24px; border-radius: var(--r); background: var(--pine); color: #fff; }
.bcta b { display: block; font-size: 1.35rem; letter-spacing: -0.015em; }
.bcta p { color: rgba(255,255,255,.88); margin: 8px 0 16px; font-size: 1rem; line-height: 1.5; }
.bcta .nbtn { background: #fff; color: var(--pine); }
.bmore { margin-top: clamp(40px, 6vw, 72px); }
.bmore h2 { font-size: 1.6rem; margin-bottom: 18px; }
@media (max-width: 640px) { .bbody { font-size: 1.04rem; } }
.bart > section { padding-block: 0; }
.bsumw { margin-block: 22px 28px; }
.bsum { background: var(--soft); border-radius: var(--r); padding: 20px 24px; }
@media (max-width: 640px) { .bsum { padding: 18px; } }
.bsum h2 { font-size: calc(13px * var(--ts, 1)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-2); margin: 0 0 10px; }
.bsum ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 1.04rem; line-height: 1.55; }
.bagent { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: calc(13.5px * var(--ts, 1)); color: var(--muted); }
.bagent a { color: var(--pine); font-weight: 600; text-decoration: none; }
.bfaq { margin-top: clamp(32px, 5vw, 56px); }
.bfaq h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0 0 14px; }
.bfaq details { border-top: 1px solid var(--line); }
.bfaq details:last-child { border-bottom: 1px solid var(--line); }
.bfaq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1.08rem; }
.bfaq summary::-webkit-details-marker { display: none; }
.bfaq summary::after { content: "+"; color: var(--pine); font-size: 1.4rem; line-height: 1; }
.bfaq details[open] summary::after { content: "−"; }
.bfaq summary:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; border-radius: 6px; }
.bfaq details > div { padding: 0 0 16px; font-size: 1.04rem; line-height: 1.65; color: #26302B; }
.bfaq details > div p { margin: 0 0 .8em; }
.bfaq details > div a { color: var(--pine); font-weight: 600; text-decoration: none; }
.bfeatures .bart-head .bagent { border-top: 0; padding-top: 0; margin-top: 10px; }
.bchips ol { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bchips a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--soft); color: var(--pine); font-weight: 600; font-size: calc(14px * var(--ts, 1)); text-decoration: none; }
.bchips a:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.bfeatures .bbody > ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.bfeatures .bbody > ul > li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 1rem; line-height: 1.55; }
.bfeatures .bbody > ul > li > a:last-child { display: block; margin-top: 6px; font-size: calc(14px * var(--ts, 1)); }
.bfeatures .bbody > ul > li > a:last-child::after { content: " →"; }
.bapi { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 10px 20px; margin: 0 0 1.2em; }
.bapi dt { font-weight: 600; } .bapi dd { margin: 0; color: var(--muted); }
.bapi code, .bbody code { font-size: .9em; background: var(--soft); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .bapi { grid-template-columns: minmax(0, 1fr); gap: 2px; } .bapi dd { margin-bottom: 10px; } }
.bchips { margin-bottom: 28px; }
.blog .nlogo { flex-shrink: 0; }
/* ============ Växterna (tools/wiki.mjs) ============ */
.wcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: calc(14px * var(--ts, 1)); color: var(--muted); }
.wcrumbs li + li::before { content: "›"; margin-right: 6px; }
.wcrumbs a { color: var(--pine); font-weight: 600; text-decoration: none; }
.wlat { margin: -6px 0 12px; color: var(--muted); font-size: 1.1rem; }
.wh { font-size: 1.35rem; margin: 32px 0 12px; letter-spacing: -0.015em; }
.wtop { margin-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.wtop .wh { margin-top: 0; }
.wfig { margin: 0; width: 128px; }
.wfig img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.wfig figcaption { font-size: calc(12px * var(--ts, 1)); color: var(--muted); margin-top: 8px; line-height: 1.4; overflow-wrap: anywhere; }
.wfig figcaption a { color: inherit; }
.wfacts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 1rem; }
.wfacts dt { color: var(--muted); } .wfacts dd { margin: 0; font-weight: 500; }
.wfacts a { color: var(--pine); text-decoration: none; }
.wsw { display: inline-block; width: .85em; height: .85em; border-radius: 50%; background: var(--c); margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.wcal { display: grid; gap: 6px; }
.wcal-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.wcal-row li { text-align: center; font-size: calc(13px * var(--ts, 1)); font-weight: 700; padding: 9px 0; border-radius: 8px; color: #fff; }
.wcal-row li.no, .wcal-key .no::before { background: #D9DED9; color: #5E6A63; }
.wcal-row li.up, .wcal-key .up::before { background: #E8B400; color: #2B2300; }
.wcal-row li.bl, .wcal-key .bl::before { background: #2E8B47; }
.wcal-row li.down, .wcal-key .down::before { background: #E8731C; }
.wcal-fr li { padding: 0; height: 8px; } .wcal-fr li.fr, .wcal-key .fr::before { background: #8E2F5A; }
.wcal-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; font-size: calc(13px * var(--ts, 1)); color: var(--muted); }
.wcal-key span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.wcare { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.wcare li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.wcare span { color: var(--muted); font-size: calc(14px * var(--ts, 1)); margin-left: 6px; }
.wcare p { margin: 6px 0 0; color: var(--muted); font-size: .98rem; }
.wnote { color: var(--muted); font-size: calc(14px * var(--ts, 1)); margin-top: 10px; }
.wlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 8px; }
.wlist a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.wlist a:hover { border-color: var(--pine); }
.wlist img, .wnopic { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.wnopic { display: block; background: radial-gradient(circle at 50% 45%, var(--c) 0 28%, var(--soft) 30%); }
.wlist b { display: block; font-weight: 600; line-height: 1.25; }
.wlist i { display: block; color: var(--muted); font-size: calc(14px * var(--ts, 1)); }
.wlist small { color: var(--muted); font-size: calc(13px * var(--ts, 1)); text-align: right; white-space: nowrap; }
.wletters ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 8px; }
.wletters a { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 10px; background: var(--soft); color: var(--pine); font-weight: 700; text-decoration: none; }
.wchips a[aria-current="page"] { background: var(--pine); color: #fff; }
.wbuy { margin: 28px auto 0; max-width: 780px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.wbuy h2 { font-size: 1.2rem; margin: 0 0 8px; } .wbuy ul { margin: 0 0 8px; padding-left: 1.2em; } .wbuy p { font-size: calc(13px * var(--ts, 1)); color: var(--muted); margin: 0; }
.wplant .bcta, .wpage .bcta { margin-top: 36px; }
@media (max-width: 560px) { .wtop { grid-template-columns: minmax(0, 1fr); margin-top: 28px; } .wlist small { display: none; } .wlist a { grid-template-columns: 56px minmax(0, 1fr); } .wcal-row li { font-size: calc(11px * var(--ts, 1)); padding: 7px 0; } }
.wplant section, .wpage section { padding-block: 0; }
/* ============ Landningssidor (tools/landings.mjs) ============ */
.lhero { padding-block: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 48px); }
.lhero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lhero h1 { font-size: clamp(2.1rem, 1rem + 3vw, 3.4rem); hyphens: auto; -webkit-hyphens: auto; margin: 0 0 16px; }
.lhero .nacts { margin-top: 24px; }
.lfig { margin: 0; min-width: 0; }
.lshot img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--soft); }
.lbed img { width: 100%; height: auto; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.lbed figcaption { font-size: calc(14px * var(--ts, 1)); color: var(--muted); margin: 10px 2px 12px; }
.lplants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.lplants a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--bg); }
.lplants a:hover { border-color: var(--pine); }
.lplants img, .lplants .wnopic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lplants b { display: block; font-size: calc(14px * var(--ts, 1)); font-weight: 600; line-height: 1.25; } .lplants i { display: block; font-style: normal; color: var(--muted); font-size: calc(12.5px * var(--ts, 1)); }
.lintro { padding-bottom: 8px; }
.lpage > section.lsec { padding-block: clamp(36px, 5vw, 64px); }
.lsec:nth-of-type(even) { background: var(--soft); }
.lsec-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lsec.flip .ltext { order: 2; }
.lsec-text .lsec-in { grid-template-columns: minmax(0, 780px); }
.ltext h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 0 0 12px; }
.ltext p, .ltext li { font-size: 1.06rem; line-height: 1.65; color: #26302B; }
.lpage .bfaq { margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 820px) { .lhero-in, .lsec-in { grid-template-columns: minmax(0, 1fr); } .lsec.flip .ltext { order: 0; } }
/* blomningens tidslinje ([[bloom:]]): en rad per växt i blomfärgen, sist vilka månader som täcks */
.lbloom-scroll { overflow-x: auto; }
.lbloom table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-size: calc(13px * var(--ts, 1)); margin: 0; }
.lbloom caption { text-align: left; font-weight: 600; font-size: calc(15px * var(--ts, 1)); padding: 0 3px 6px; caption-side: top; }
.lbloom th { font-weight: 600; color: var(--muted); text-align: center; padding: 2px 0; border: 0; background: none; }
.lbloom th:first-child { width: 38%; }
.lbloom tbody th { text-align: left; font-weight: 500; color: var(--ink); line-height: 1.25; padding-right: 6px; overflow-wrap: anywhere; }
.lbloom tbody th a { color: var(--pine); text-decoration: none; font-weight: 600; }
.lbloom abbr { text-decoration: none; }
.lbloom td { height: 22px; padding: 0; border-radius: 6px; background: #EEF1EE; border: 0; }
.lbloom td.on { background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.lbloom td.ok { background: #2E8B47; } .lbloom td.gap { background: #C8402E; }
.lbloom td span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lbloom-all th { color: var(--pine); font-weight: 700; }
.lbloom figcaption { font-size: calc(14px * var(--ts, 1)); color: var(--muted); margin: 8px 3px 0; }
/* året ([[year:]]): samma tabell som blomningen, uppgifterna i tallgrönt */
.lyear th:first-child { width: 34%; } .lyear thead th { font-size: calc(12px * var(--ts, 1)); }
.lyear td.on { background: var(--pine, #1F4D3A); box-shadow: none; }
.lyear tbody th { font-weight: 500; }
/* höjderna ([[heights:]]): liggande staplar i blomfärgen */
.lheights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lheights li { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; align-items: center; font-size: calc(14px * var(--ts, 1)); margin: 0; }
.lheights a { color: var(--pine); font-weight: 600; text-decoration: none; line-height: 1.25; overflow-wrap: anywhere; }
.lh-bar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lh-bar i { display: block; height: 18px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.lh-bar b { font-size: calc(13px * var(--ts, 1)); font-weight: 600; color: var(--muted); white-space: nowrap; }
.lheights-cap { font-weight: 600; font-size: calc(15px * var(--ts, 1)); margin: 0 0 8px; color: var(--ink); }
/* sol och skugga ([[light:]]) */
.llight { display: grid; gap: 10px; }
.llight > div { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.llight p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px; }
.llight svg { width: 22px; height: 22px; }
.llight small { color: var(--muted); font-size: calc(13px * var(--ts, 1)); flex-basis: 100%; }
.llight-s { background: #FFF8E1; } .llight-s svg { color: #D99A00; }
.llight-h { background: #F4F6EC; } .llight-h svg { color: #8A8F3C; }
.llight-k { background: #EEF1EE; } .llight-k svg { color: #5E6A63; }
.bbody .llight .lplants a { background: rgba(255,255,255,.75); }
/* bilder i artiklarna: samma rader som landningssidorna, kompaktare växtlista */
.bbody .lfig { margin: 1.6em 0; }
.bbody .lplants { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.bbody .lplants li { margin: 0; }
.bbody .lplants a { display: inline-flex; grid-template-columns: none; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; font-weight: 400; }
.bbody .lplants img, .bbody .lplants .wnopic { width: 30px; height: 30px; }
.bbody .lplants b { font-size: calc(13.5px * var(--ts, 1)); } .bbody .lplants i { display: none; }
.lbed-pics { display: grid; gap: 10px; }
.lpair .lbed-pics { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.lpair .lbed-pics img + img { border-radius: 18px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .lpair .lbed-pics { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mallarna (/sv/mallar/): arkivet som en kategorisida, en mall som en produktsida ---------- */
.mbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 18px; }
.mbar .nfilters { margin: 0; }
.mcount { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts, 1)); }
.mgrid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mgrid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mcard[hidden] { display: none; }
.mcard a { display: grid; height: 100%; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; font-weight: 400; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mcard a:hover { border-color: var(--pine); box-shadow: 0 10px 28px rgba(20, 40, 30, .1); transform: translateY(-2px); }
.mcard-pic { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.mcard-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.mcard-pic .mcard-draw, .mcard-pic .mcard-alt { object-fit: contain; padding: 10px; background: var(--paper); }
.mcard-pic .mcard-alt { opacity: 0; }
.mcard a:hover .mcard-alt, .mcard a:focus-visible .mcard-alt { opacity: 1; }
.mcard-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.mcard-body h3 { margin: 0; font-size: calc(19px * var(--ts, 1)); }
.mcard-body p { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts, 1)); }
.mcard-meta { font-size: calc(13.5px * var(--ts, 1)) !important; }
.mbadges { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mbadges li { font-size: calc(12.5px * var(--ts, 1)); font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--pine); }

.mprod .wcrumbs { margin-top: 18px; }
.mtop { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; margin: 12px auto 40px; }
.mgal { position: relative; min-width: 0; }
.mgal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); scrollbar-width: none; }
.mgal-track::-webkit-scrollbar { display: none; }
.mslide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.mslide img { width: 100%; height: 100%; object-fit: contain; }
.mslide.mdraw img { padding: 18px; }
.mslide.mphoto img { object-fit: cover; }
.mslide figcaption { position: absolute; left: 12px; bottom: 12px; font-size: calc(13px * var(--ts, 1)); font-weight: 600; background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 999px; color: var(--ink); }
/* the first picture fades between the drawing and the AI picture of the same bed */
.mfade img { position: absolute; inset: 0; padding: 18px; }
.mfade .mfade-top { padding: 0; object-fit: cover; animation: mfade 9s ease-in-out infinite; }
@keyframes mfade { 0%, 35% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mfade .mfade-top { animation: none; opacity: 1; } }
.mgal-dots { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; }
.mgal-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.mgal-dots button[aria-current] { background: var(--pine); }
.mbuy { display: grid; gap: 14px; position: sticky; top: 90px; }
.mbuy h1 { margin: 0; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; }
.mbuy .nlede { margin: 0; }
.mspec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 4px 0; font-size: calc(15px * var(--ts, 1)); border-top: 1px solid var(--line); padding-top: 12px; }
.mspec dt { color: var(--muted); }
.mspec dd { margin: 0; font-weight: 600; }
.mbuy-note { margin: 0; color: var(--muted); font-size: calc(14px * var(--ts, 1)); }
.mbuy-more { margin: 0; }
.mbody section { margin: 0 0 36px; }
.mcheck { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.mcheck li { padding-left: 30px; position: relative; }
.mcheck li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: calc(13px * var(--ts, 1)); font-weight: 700; background: var(--soft); color: var(--pine); }
.mcheck li.no::before { content: "!"; background: #FDF0E6; color: #A4511D; }
.mbody .wcare i { color: var(--muted); font-style: normal; }
@media (max-width: 860px) {
  .mtop { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mbuy { position: static; }
}

/* /docs/: the id tables for AI agents */
.bdocs { width: 100%; border-collapse: collapse; font-size: calc(14px * var(--ts, 1)); margin: 10px 0 20px; }
.bdocs th, .bdocs td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bdocs th { font-weight: 600; color: var(--muted); }
.bdocs-scroll { overflow-x: auto; max-height: 70vh; overflow-y: auto; }
.bdocs-scroll thead th { position: sticky; top: 0; background: var(--bg); }
