/* app.postvern.no – app-skall med sidemeny (13.10.2026). Design G fra 14.10.2026 (Gudjons GO): samme palett og fonter som postvern.no –
   papir #f7f8f4, dyp grønn #102321/#1c3933, lysegrønn aksent #b7ec88, DM Sans (brødtekst) + Manrope (overskrifter). */
:root { --paper: #f7f8f4; --ink: #132523; --deep: #102321; --deep2: #1c3933; --green: #b7ec88; --green2: #5a9b50; --mint: #eff8e8; --ice: #eef4f1;
        --navy: #102321; --navy2: #1c3933; --teal: #183a30; --teal2: #2f6a43; --bg: #f7f8f4; --panel: #fff; --border: #dfe6df;
        --text: #132523; --muted: #62716d; --muted2: #8a9991; --ok: #2d6a3c; --okbg: #dff3d2; --feil: #b26051; --feilbg: #ffebe9;
        --varsel: #9f7739; --varselbg: #fff0d9; --info: #2f6a43; --infobg: #eff8e8; --shadow: 0 24px 60px #1b2f2410, 0 2px 6px #1b2f240a; --r: 16px; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', sans-serif; font-weight: 800; letter-spacing: -.04em; }
a { color: var(--teal2); }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #68ad48; outline-offset: 3px; }
::selection { background: var(--green); color: #112522; }
svg.ikon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Merke (samme som postvern.no) --- */
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; text-decoration: none; color: inherit; }
.brand-mark { width: 35px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #183a30; color: #c3ed9a; flex-shrink: 0; }
.brand-mark svg { width: 23px; height: 23px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: Manrope, sans-serif; font-weight: 800; font-size: 23px; letter-spacing: -.075em; line-height: 1; }
.brand-name span { color: var(--green2); }

/* --- Skall --- */
.app { display: flex; min-height: 100vh; }
.sidemeny { position: fixed; top: 0; bottom: 0; left: 0; width: 250px; background: radial-gradient(ellipse at 100% 0%, #24443c 0%, transparent 45%), var(--deep); color: #dbe9df; padding: 24px 16px 18px; display: flex; flex-direction: column; z-index: 50; overflow-y: auto; }
.merke { display: flex; align-items: center; gap: 11px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.merke .brand-name { color: #fff; font-size: 21px; }
.merke small { display: block; color: #9fb8ac; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 800; margin-top: 4px; }
.meny-tittel { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: #7fa892; font-weight: 800; padding: 24px 14px 10px; }
.meny { display: flex; flex-direction: column; gap: 4px; }
.meny a { display: flex; align-items: center; gap: 12px; color: #a9c3b4; text-decoration: none; padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.meny a:hover { background: rgba(255,255,255,.06); color: #fff; }
.meny a.aktiv { background: #34574a; color: #f1ffed; box-shadow: inset 3px 0 0 var(--green); }
.meny .tall { margin-left: auto; background: rgba(255,255,255,.12); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.sidemeny .luft { flex: 1; }
.hjelp { background: #ffffff0a; border: 1px solid #ffffff14; border-radius: 12px; padding: 14px; font-size: 13px; color: #a9c3b4; line-height: 1.6; }
.hjelp b { color: #fff; display: flex; align-items: center; gap: 8px; }
.hjelp p { margin: 8px 0; }
.hjelp a { color: var(--green); font-weight: 700; text-decoration: none; }
.side-bunn { font-size: 12px; color: #7fa892; padding: 14px 10px 0; }
.side { flex: 1; margin-left: 250px; min-width: 0; display: flex; flex-direction: column; }
.topp { background: #fff; border-bottom: 1px solid var(--border); padding: 0 32px; min-height: 66px; display: flex; align-items: center; gap: 16px; }
.brodsmule { font-size: 14px; color: var(--muted); }
.brodsmule span { margin: 0 8px; color: #c5d0c9; }
.brodsmule b { color: var(--text); }
.meny-knapp { display: none; background: #fff; border: 1px solid #d3dfd6; border-radius: 10px; width: 42px; height: 42px; place-items: center; color: var(--ink); }
.mobil-merke { display: none; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.06em; color: var(--text); }
.topp .hoyre { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bruker { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bruker .avatar { width: 36px; height: 36px; border-radius: 10px; background: #e4f3dc; color: #2f6a43; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.bruker strong { display: block; color: var(--text); font-size: 13.5px; }
.bruker a { font-size: 13px; }
main.innhold { padding: 30px 32px 40px; max-width: 1180px; width: 100%; }
.bunn { margin-top: auto; padding: 18px 32px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 13px; color: var(--muted); max-width: 1180px; }

/* --- Sidetopp, kort --- */
.overlinje { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink); font-weight: 800; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.overlinje::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #72ae51; flex: 0 0 auto; }
.sidetopp { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.sidetopp h1 { font-size: 30px; margin: 0 0 6px; color: var(--text); line-height: 1.15; }
.sidetopp .ingress { color: var(--muted); margin: 0; max-width: 720px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.stat .st-topp { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.stat .st-ikon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e4f3dc; color: #2f6a43; }
.stat .st-ikon.varsel { background: #f3e9d8; color: #8f6a3c; }
.stat .st-ikon.ok { background: #e4f3dc; color: #2f6a43; }
.stat .st-ikon.feil { background: var(--feilbg); color: var(--feil); }
.stat .st-tall { font-family: Manrope, sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.06em; margin: 10px 0 2px; line-height: 1.1; }
.stat .st-tall small { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted2); letter-spacing: 0; margin-left: 4px; }
.stat .st-tekst { font-size: 13px; color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 22px; overflow: hidden; }
.panel-hode { padding: 22px 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: flex-start; }
.panel-hode h2 { margin: 0 0 4px; font-size: 19px; }
.panel-hode p { margin: 0; color: var(--muted); font-size: 14px; max-width: 760px; }
.panel-kropp { padding: 18px 24px 22px; }
.panel-kropp > :first-child { margin-top: 0; }
.panel h3 { font-size: 15px; margin: 18px 0 8px; }
.kort-tekst p { margin: 0 0 12px; }
.liten { font-size: 13px; color: var(--muted); }
.tom { color: var(--muted); font-style: italic; padding: 18px 24px; margin: 0; }
.melding { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; border: 1px solid transparent; }
.melding.ok { background: var(--okbg); color: var(--ok); border-color: #bfe3c8; }
.melding.feil { background: var(--feilbg); color: var(--feil); border-color: #f3c2bd; }
.melding.info { background: var(--infobg); color: var(--info); border-color: #d8e6d3; }
.infoboks { display: flex; gap: 14px; background: var(--mint); border: 1px solid #d8e6d3; border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px; font-size: 14px; color: #2f4a3c; }
.infoboks .i-ikon { width: 32px; height: 32px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: #2f6a43; flex-shrink: 0; }
.infoboks strong { display: block; margin-bottom: 4px; color: var(--ink); }
.infoboks p, .infoboks ul { margin: 0 0 8px; }
.infoboks ul { padding-left: 18px; }
.infoboks li { margin-bottom: 4px; }

/* --- Faner, verktøylinje --- */
.faner { display: flex; gap: 6px; padding: 16px 24px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.fane { background: none; border: 0; padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.fane.aktiv { color: var(--ink); border-bottom-color: var(--green2); }
.fane .tall { background: var(--ice); color: var(--text); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.fane-innhold[hidden] { display: none; }
.verktoy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 24px 4px; }
.sok { flex: 1; min-width: 220px; max-width: 380px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--muted2); }
.sok input { border: 0; outline: 0; padding: 10px 0; width: 100%; background: transparent; color: var(--text); }
.verktoy .hoyre { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.verktoy select { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--text); font-weight: 600; font-size: 13.5px; }
.verktoy[hidden] { display: none; }

/* --- Tabeller --- */
.tabell-rull { overflow-x: auto; }
table.liste { width: 100%; border-collapse: collapse; font-size: 14px; }
table.liste th, table.liste td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e8eee9; vertical-align: middle; }
table.liste th { background: #f3f6f2; color: var(--muted); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 800; }
table.liste tbody tr:hover td { background: #fafcf9; }
table.liste tbody tr:last-child td { border-bottom: 0; }
table.liste tr.dempet td { color: var(--muted2); }
table.liste tr[hidden] { display: none; }
td.emne { font-weight: 600; max-width: 420px; }
td.emne a { color: var(--text); text-decoration: none; }
td.emne a:hover { color: var(--teal2); text-decoration: underline; }
.avs { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.avatar-s { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; flex-shrink: 0; }
.f0 { background: #e4f3dc; color: #2f6a43; } .f1 { background: #f3e9d8; color: #8f6a3c; } .f2 { background: #e2ecef; color: #2f5c66; }
.f3 { background: #ede9fe; color: #5b21b6; } .f4 { background: #ffebe9; color: #b26051; }
.avs b { display: block; font-size: 14px; line-height: 1.25; word-break: break-word; }
.avs small { display: block; color: var(--muted); font-size: 12.5px; word-break: break-all; }
.pill { display: inline-block; min-width: 46px; text-align: center; padding: 4px 10px; border-radius: 20px; font-weight: 800; font-size: 12.5px; }
.pill.lav { background: var(--okbg); color: var(--ok); } .pill.midt { background: var(--varselbg); color: var(--varsel); }
.pill.hoy { background: var(--feilbg); color: var(--feil); } .pill.ingen { background: #e4ebe6; color: #4f5f57; }
.pill.ok { background: var(--okbg); color: var(--ok); }
.h { text-align: right !important; }
.nowrap { white-space: nowrap; }
.bryt { word-break: break-all; }
td.handling { white-space: nowrap; text-align: right; }
.sideskift { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.sideskift[hidden] { display: none; }
.sideskift button { border: 1px solid var(--border); background: #fff; border-radius: 8px; width: 32px; height: 32px; color: var(--ink); }
.sideskift button:disabled { color: #c5d0c9; cursor: default; }
.sideskift .side-nr { margin: 0 10px; font-weight: 700; color: var(--text); }
table.detalj th { width: 170px; white-space: nowrap; vertical-align: top; color: var(--muted); font-size: 13px; text-transform: none; letter-spacing: 0; background: none; }
table.detalj td { word-break: break-word; }
pre.tekst { white-space: pre-wrap; word-break: break-word; background: #f3f6f2; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 13px; max-height: 440px; overflow: auto; margin: 0 0 14px; }

/* --- Knapper, skjema --- */
.knapp, button.knapp, button.bred { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid transparent; border-radius: 10px; padding: 0 20px; min-height: 46px; font-weight: 800; font-size: 13.5px; text-decoration: none; transition: background .2s, transform .2s; }
.knapp:hover, button.bred:hover { background: #314d45; transform: translateY(-1px); }
.knapp.lys { background: #fff; color: var(--ink); border-color: #d3dfd6; }
.knapp.lys:hover { background: var(--mint); }
.liten-knapp { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; font-weight: 700; border-radius: 9px; background: var(--mint); color: #2f6a43; border: 1px solid #d8e6d3; text-decoration: none; }
.liten-knapp:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.liten-knapp.ok { background: var(--okbg); color: var(--ok); border-color: #bfe3c8; }
.liten-knapp.ok:hover { background: #2d6a3c; color: #fff; border-color: #2d6a3c; }
.liten-knapp.spam { background: var(--feilbg); color: var(--feil); border-color: #f3c2bd; }
.liten-knapp.spam:hover { background: #b26051; color: #fff; border-color: #b26051; }
.knapperad { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
form.inline { display: inline; }
label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--text); font-weight: 600; }
label input[type=email], label input[type=password], label input[type=text] { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font-size: 15px; font-weight: 400; border: 1px solid #c9d3cc; border-radius: 10px; background: #fff; }
label input:focus { border-color: var(--green2); outline: 0; box-shadow: 0 0 0 3px #b7ec8866; }
.valg { display: grid; gap: 10px; margin: 6px 0 16px; }
.valg label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 500; cursor: pointer; background: #fff; }
.valg label:has(input:checked) { border-color: var(--green2); background: var(--mint); }
.valg input { margin-top: 3px; accent-color: #2f6a43; }
.valg b { display: block; font-weight: 700; }
.valg span { color: var(--muted); font-size: 13px; }
.skjema-rad { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.skjema-rad label { flex: 1; min-width: 240px; margin: 0; }
.radioer { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0 16px; }
.radioer label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.radioer input { accent-color: #2f6a43; }
ul.punkt { padding-left: 20px; margin: 0; }
ul.punkt li { margin-bottom: 6px; }

/* --- Innlogging (uten sidemeny) – samme mørke flate som hero på postvern.no --- */
body.innlogging { background: radial-gradient(ellipse at 81% 68%, #24443c 0%, transparent 42%), radial-gradient(ellipse at 60% -10%, #29443c 0%, transparent 38%), #112521; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; position: relative; }
.innlogging-kort { background: #fff; border-radius: 20px; box-shadow: 0 45px 80px #06120d90, 0 12px 22px #0a221a9c; width: 100%; max-width: 440px; padding: 36px 36px 28px; text-align: center; position: relative; }
.innlogging-kort .brand { margin: 0 auto 6px; }
.innlogging-logo { display: block; margin: 0 auto 2px; width: 224px; max-width: 80%; height: auto; }
.innlogging-under { color: var(--green2); font-weight: 800; letter-spacing: .17em; text-transform: uppercase; font-size: 11px; margin: 0 0 22px; }
.innlogging-kort h1 { font-size: 26px; margin: 0 0 8px; }
.innlogging-kort p { color: #5f706a; font-size: 14px; margin: 0 0 10px; line-height: 1.65; }
.innlogging-kort form { text-align: left; margin-top: 18px; }
.innlogging-kort .liten { margin: 16px 0 0; font-size: 12.5px; }
.innlogging-kort .melding { text-align: left; }
button.bred { width: 100%; justify-content: center; padding: 13px; min-height: 50px; font-size: 15px; margin-top: 4px; }
.innlogging-bunn { color: #9fb8ac; font-size: 13px; margin-top: 22px; text-align: center; }
.innlogging-bunn a { color: #fff; }

/* valgsiden app.postvern.no/ (utlogget) og krysslenker på innloggingskortene (14.10) */
.velg { width: 100%; max-width: 820px; text-align: center; }
.velg-hode .brand { justify-content: center; display: flex; margin-bottom: 22px; }
.velg-hode .brand-name { color: #fff; }
.velg-hode h1 { color: #fff; font-size: clamp(30px, 4vw, 40px); margin: 0 0 10px; letter-spacing: -.05em; }
.velg-hode p { color: #b6cdc1; margin: 0 0 30px; font-size: 15.5px; }
.velg-kort { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.velg-valg { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 20px; padding: 28px 26px 24px; text-decoration: none; color: var(--text); box-shadow: 0 45px 80px #06120d90, 0 12px 22px #0a221a9c; border: 1px solid transparent; transition: transform .2s, border-color .2s; }
.velg-valg:hover { transform: translateY(-3px); border-color: var(--green); }
.velg-ikon { width: 44px; height: 44px; border-radius: 13px; background: #e4f3dc; color: #2f6a43; display: grid; place-items: center; }
.velg-ikon .ikon { width: 22px; height: 22px; }
.velg-valg strong { font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.04em; }
.velg-valg > span:not(.velg-ikon):not(.velg-knapp) { color: #5f706a; font-size: 14px; line-height: 1.65; }
.velg-knapp { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13.5px; }
.velg-valg:hover .velg-knapp { background: #314d45; }
.velg .innlogging-bunn { margin-top: 28px; }
.innlogging-kort .kryss { margin: 20px -36px 0; padding: 16px 36px 0; border-top: 1px solid var(--border); font-size: 13px; color: #5f706a; text-align: center; }
.innlogging-hint { text-align: center; color: #5f706a; font-size: 13.5px; margin: 0 0 14px; }

/* --- Mobil --- */
@media (max-width: 900px) {
    .sidemeny { transform: translateX(-100%); transition: transform .2s ease; width: 270px; box-shadow: 0 0 40px rgba(0,0,0,.4); }
    body.meny-aapen .sidemeny { transform: none; }
    body.meny-aapen::after { content: ''; position: fixed; inset: 0; background: rgba(16,35,33,.5); z-index: 40; }
    .side { margin-left: 0; }
    .topp { padding: 0 16px; min-height: 60px; gap: 10px; }
    .brodsmule { display: none; }
    .meny-knapp { display: grid; }
    .mobil-merke { display: flex; }
    .bruker div { display: none; }
    main.innhold { padding: 18px 16px 30px; }
    .bunn { padding: 14px 16px 22px; }
    .sidetopp h1 { font-size: 25px; }
    .panel-hode, .panel-kropp, .faner, .verktoy, .sideskift { padding-left: 16px; padding-right: 16px; }
    table.liste thead { display: none; }
    table.liste tr { display: block; border-bottom: 1px solid var(--border); padding: 10px 16px; }
    table.liste td { display: block; border: 0; padding: 3px 0; }
    table.liste td:empty { display: none; }
    td.handling { text-align: left; padding-top: 8px; }
    td.poeng::before { content: attr(data-l) ': '; color: var(--muted); font-size: 13px; }
    td.poeng { text-align: left !important; }
    table.detalj tr { display: table-row; } table.detalj th, table.detalj td { display: table-cell; padding: 8px 10px 8px 0; }
    table.detalj th { width: 110px; white-space: normal; }
    .innlogging-kort { padding: 28px 22px 22px; }
    .innlogging-kort .kryss { margin-inline: -22px; padding-inline: 22px; }
    .tabell, .dns-tabell, .pv-auth table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .tabell td, .pv-auth td { white-space: normal; min-width: 120px; }
}

/* --- Kundekonto (Postvern S2, 13.10.2026) --- */
.kort { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.kort h2 { font-size: 19px; margin: 0 0 10px; }
.kort ul { padding-left: 20px; } .kort li { margin: 6px 0; }
.liten { font-size: 13px; color: var(--muted); }
.steg-liste { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; flex-wrap: wrap; }
.steg-liste li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.steg-liste li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); font-size: 12px; font-weight: 800; }
.steg-liste li.naa { color: var(--ink); border-color: var(--ink); } .steg-liste li.naa::before { background: var(--ink); color: #fff; }
.steg-liste li.ferdig { color: var(--ok); } .steg-liste li.ferdig::before { content: "✓"; background: var(--okbg); color: var(--ok); }
.dns-tabell { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14.5px; }
.dns-tabell th, .dns-tabell td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dns-tabell th { color: var(--muted); font-weight: 600; font-size: 13px; }
.dns-tabell code, .kort code { background: var(--mint); padding: 2px 7px; border-radius: 6px; font-size: 13.5px; color: #2f5236; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tabell { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.tabell th, .tabell td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tabell th { color: var(--muted); font-weight: 600; font-size: 13px; }
.skjema label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: 14px; }
.skjema input[type=text], .skjema input[type=email], .skjema input[type=password] { width: 100%; max-width: 480px; display: block; border: 1px solid #c9d3cc; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.skjema .valg { display: grid; gap: 8px; margin-bottom: 8px; }
.skjema .valg label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; cursor: pointer; }
.skjema .valg label small { color: var(--muted); font-weight: 400; margin-left: auto; }
.skjema .valg label:has(input:checked) { border-color: var(--green2); background: var(--mint); }
.skjema button.knapp { margin-top: 14px; }
.lenkeknapp { background: none; border: 0; color: var(--teal2); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
/* auth-klossens referansesider inne i innloggingskortet */
.pv-auth { text-align: left; }
.pv-auth .brand, .pv-auth .innlogging-logo, .pv-auth .innlogging-under { text-align: center; margin-left: auto; margin-right: auto; }
.pv-auth .brand { display: flex; justify-content: center; }
.pv-auth .auth-tittel { font-size: 26px; margin: 0 0 8px; text-align: center; }
.pv-auth p { color: #5f706a; font-size: 14px; margin: 0 0 10px; }
.pv-auth .auth-felt label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: 14px; color: var(--text); }
.pv-auth .auth-felt input:not([type=checkbox]) { width: 100%; border: 1px solid #c9d3cc; border-radius: 10px; padding: 11px 12px; font-size: 15px; }
.pv-auth .auth-felt input:focus { border-color: var(--green2); outline: 0; box-shadow: 0 0 0 3px #b7ec8866; }
.pv-auth .auth-hake label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.5; }
.pv-auth .auth-hake input { margin-top: 3px; }
.pv-auth .auth-knapp { display: block; width: 100%; background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 13px 20px; font-weight: 800; font-size: 15px; margin-top: 16px; cursor: pointer; }
.pv-auth .auth-knapp:hover { background: #314d45; }
.pv-auth .auth-lenker { text-align: center; font-size: 13px; margin-top: 16px; }
.pv-auth .auth-melding { padding: 10px 12px; border-radius: 10px; font-size: 14px; margin: 0 0 12px; }
.pv-auth .auth-melding--feil { background: var(--feilbg); color: var(--feil); } .pv-auth .auth-melding--ok { background: var(--okbg); color: var(--ok); }
.innlogging-kort.pv-auth:has(table) { max-width: 820px; }
.pv-auth .auth-knapp--farlig { background: var(--feilbg); color: var(--feil); }
.pv-auth table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .pv-auth td, .pv-auth th { padding: 6px 4px; border-bottom: 1px solid var(--border); text-align: left; }
.notis { background: var(--mint); border: 1px solid #d8e6d3; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
@media (max-width: 640px) { .velg-kort { grid-template-columns: 1fr; } .velg-valg { padding: 22px 20px 20px; } }
