/* The user guide page (brukerveiledning.html, generated by docs/word/tools/docsync.py html 08).
   Loaded after forside.css, which supplies the tokens, top bar, footer and .wrap; this file
   only styles the article itself. */
.guide{max-width:820px;padding-top:36px;padding-bottom:56px}
.guide h1{font-size:clamp(1.9rem,4.6vw,2.6rem);margin-bottom:10px}
.guide .lead{color:var(--muted);margin:6px 0}
.guide h2{font-size:clamp(1.45rem,3.2vw,1.8rem);margin:52px 0 12px;padding-top:20px;border-top:1px solid var(--line);scroll-margin-top:16px}
.guide h3{font-size:1.2rem;margin:30px 0 8px;scroll-margin-top:16px}
.guide p{margin:10px 0}
.guide ul,.guide ol{padding-left:1.4em;margin:10px 0}
.guide li{margin:4px 0}
.guide code{background:var(--paper-deep);padding:1px 4px;border-radius:var(--radius-md)}

.guide-toc{margin:28px 0 8px;padding:18px 22px;background:var(--paper-deep);border:1px solid var(--line);border-radius:var(--radius-lg)}
.guide-toc h2{margin:0 0 8px;padding:0;border:0;font-size:1.25rem}
/* Milepæl 27.11 (A-6): the table of contents folds away (closed on a phone by static-doc.js). */
.guide-toc summary{display:flex;align-items:center;min-height:44px;font-size:1.25rem;font-weight:700;cursor:pointer}
.guide-toc details[open] summary{margin-bottom:8px}
/* The way back and «↑ Til toppen» — 44 px to press. */
.doc-back{margin:0 0 6px}
.doc-back a,.to-top a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.to-top{margin:18px 0 0;text-align:right}
.guide-toc ul{list-style:none;padding:0;margin:0;columns:2 240px;column-gap:28px}
.guide-toc li{margin:3px 0;break-inside:avoid}
.guide-toc a{text-decoration:none}
.guide-toc a:hover,.guide-toc a:focus-visible{text-decoration:underline}

.guide figure{margin:18px 0 22px}
.guide figure img{width:100%;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper)}
.guide figcaption{margin-top:6px;color:var(--muted);font-size:.9rem}

.table-wrap{overflow-x:auto}
.guide table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.95rem}
.guide th,.guide td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.guide th{background:var(--paper-deep);font-weight:600}

@media (max-width:600px){
  .guide{padding-top:24px}
  .guide h2{margin-top:40px}
}
