/* Organisasjonsrommet – demo (Synlig på nett). Grunnstil gjenbrukt fra rom-prosjektet, egne farger: dus lavendel, hvitt og sort. Helvetica. */

:root {
  --rod: #4a3fa8; --rod-mork: #382f86; --rod-lys: #f1effb; --sort: #141414; --tekst: #262626; --grå: #5e6166; --linje: #e6e6e8; --flate: #f7f7f8; --hvit: #fff;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif; --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --r: 14px; --r-stor: 20px; --skygge: 0 1px 2px rgba(20,20,20,.04), 0 6px 24px rgba(20,20,20,.05);
  --romfarge: #4a3fa8; --romlys: #f1effb;
}
.rom-styret { --romfarge: #2f2f33; --romlys: #f3f3f4; }
.rom-koordinator { --romfarge: #4a3fa8; --romlys: #f1effb; }
.rom-film { --romfarge: #6b5b7b; --romlys: #f6f3f8; }
.rom-it { --romfarge: #3f5f73; --romlys: #f0f4f6; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hvit); color: var(--tekst); font: 17px/1.6 var(--sans); }
a { color: var(--rod); text-underline-offset: 3px; }
a:hover { color: var(--rod-mork); }
h1, h2, h3 { font-family: var(--serif); color: var(--sort); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 14px; }
h1 + .ingress, h2 + .ingress, h1 + p, h2 + p, h3 + p { margin-top: 14px; }
h2 + ul, h2 + ol, h2 + form, h2 + div, h2 + table { margin-top: 16px; }
.ingress { font-size: 19px; color: var(--grå); line-height: 1.55; }
.liten, small { font-size: 15px; color: var(--grå); }
.etikett { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--rod); margin: 0 0 10px; }
code { font: 15px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.ordmerke { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--sort); text-decoration: none; letter-spacing: -.01em; }
.ordmerke em { color: var(--rod); font-style: italic; font-weight: 600; }

.knapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--rod); background: var(--rod); color: #fff; font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.knapp:hover { background: var(--rod-mork); border-color: var(--rod-mork); color: #fff; }
.knapp.lys { background: #fff; color: var(--sort); border-color: #d4d4d8; }
.knapp.lys:hover { border-color: var(--sort); color: var(--sort); }
.knapp.liten { min-height: 36px; padding: 7px 14px; font-size: 15px; }
.knapp-lenke { background: none; border: 0; padding: 0; color: var(--grå); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.knapp-lenke:hover { color: var(--rod); }
.knapp-lenke.liten { font-size: 14px; }
.knapperad { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 0; }
.knapperad + * { margin-top: 16px; }
:focus-visible { outline: 3px solid rgba(74,63,168,.35); outline-offset: 2px; }

.skjema { display: grid; gap: 16px; }
.felt { display: grid; gap: 6px; }
.felt > span { font-weight: 600; font-size: 15px; color: var(--sort); }
.felt small { font-size: 14px; }
input, select, textarea { width: 100%; font: 17px/1.4 var(--sans); color: var(--tekst); background: #fff; border: 1px solid #d4d4d8; border-radius: 10px; padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; }
input[type=file] { padding: 9px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--romfarge); box-shadow: 0 0 0 3px rgba(20,20,20,.07); }
.to-felt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.skjema.linje { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; margin-top: 14px; }
.skjema.linje .knapp { justify-self: start; }
.inline { display: inline; }

.feil, .ok, .varsel, .flash { border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; font-size: 16px; }
.feil { background: var(--rod-lys); color: #7d0d14; border: 1px solid #f1c7c9; }
.ok, .flash { background: #f0f6f2; color: #24513a; border: 1px solid #cfe3d6; }
.varsel { background: #fbf7ec; color: #5f4a12; border: 1px solid #ecdfb8; }
.tom { color: var(--grå); font-style: italic; }
.merke { display: inline-block; font: 600 13px/1.3 var(--sans); padding: 3px 9px; border-radius: 999px; background: var(--flate); color: var(--grå); border: 1px solid var(--linje); margin-right: 4px; }
.merke.gronn { background: #eef6f1; color: #24513a; border-color: #cfe3d6; }
.merke.rod { background: var(--rod-lys); color: #7d0d14; border-color: #f1c7c9; }

body.enkel { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; background: linear-gradient(180deg, #fff 0, #fff 60%, #f7f6fc 100%); }
.enkel-boks { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 36px 32px 32px; box-shadow: var(--skygge); }
.enkel-boks > .ordmerke { display: block; margin-bottom: 28px; }
.enkel-boks h1 { font-size: 32px; }
.enkel-boks .ingress { font-size: 17px; margin-bottom: 24px; }
.enkel-fot { margin-top: 20px; font-size: 15px; }
.enkel-fot a { color: var(--grå); }
.steg { padding-left: 22px; margin: 0 0 20px; } .steg li { margin-bottom: 8px; }
.qr-boks { display: grid; justify-items: start; gap: 10px; background: var(--flate); border-radius: var(--r); padding: 18px; margin: 0 0 22px; }
.qr { width: 200px; height: 200px; border-radius: 8px; background: #fff; }
.nokkel { display: inline-block; margin-top: 6px; background: #fff; border: 1px solid var(--linje); border-radius: 8px; padding: 6px 10px; word-break: break-all; }
.koder { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.koder code { display: block; background: var(--flate); border: 1px solid var(--linje); border-radius: 8px; padding: 10px; text-align: center; font-size: 17px; }

body.app { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.mobilmeny { display: none; }
.meny { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--linje); padding: 26px 18px 22px; display: flex; flex-direction: column; gap: 22px; background: #fff; }
.meny-topp { text-decoration: none; display: grid; gap: 6px; padding: 0 8px; }
.meny-topp .ordmerke { font-size: 19px; }
.meny-under { font-size: 14px; color: var(--grå); }
.meny-gruppe { display: grid; gap: 2px; }
.meny-etikett { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grå); margin: 0 8px 6px; }
.meny-lenke { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--tekst); text-decoration: none; font-size: 16px; }
.meny-lenke:hover { background: var(--flate); color: var(--sort); }
.meny-lenke.aktiv { background: var(--romlys); color: var(--sort); font-weight: 600; box-shadow: inset 3px 0 0 var(--romfarge); }
.meny-lenke small { color: var(--grå); font-weight: 400; }
.prikk { width: 9px; height: 9px; border-radius: 50%; background: var(--romfarge); flex: none; display: inline-block; }
.meny-bunn { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid var(--linje); }
.meny-person { font-size: 15px; margin-bottom: 10px; line-height: 1.4; }
.innhold { padding: 44px clamp(16px, 4vw, 56px) 96px; max-width: 1180px; width: 100%; }

.sidetopp { margin-bottom: 36px; max-width: 760px; }
.romtopp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; background: var(--romlys); border-radius: var(--r-stor); padding: 36px 36px; margin-bottom: 32px; position: relative; overflow: hidden; }
.romtopp:not(.med-bilde) { grid-template-columns: 1fr; }
.romtopp::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--romfarge); }
.romtopp .etikett { color: var(--romfarge); }
.romtopp .ingress { margin-bottom: 0; color: #4a4d52; }
.romtopp-bilde { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.romtopp-bilde img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hjem-topp h1 { font-size: clamp(34px, 4.4vw, 50px); }
.tilbake { margin-bottom: 18px; font-size: 15px; } .tilbake a { color: var(--grå); }

.faner { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; border-bottom: 1px solid var(--linje); }
.faner a { padding: 10px 14px; color: var(--grå); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.faner a:hover { color: var(--sort); }
.faner a.aktiv { color: var(--sort); border-bottom-color: var(--romfarge); font-weight: 600; }

.kort { background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 28px; }
.kort.smalt { max-width: 640px; }
.topp-luft { margin-top: 24px; }
.topp-luft-liten { margin-top: 28px; }
.rutenett { display: grid; gap: 24px; }
.rutenett.to { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rutenett.to-en { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.romkort-rad { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 8px; }
.romkort { position: relative; display: grid; align-content: start; gap: 8px; background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 26px 24px 24px; text-decoration: none; color: var(--tekst); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.romkort:hover { border-color: var(--romfarge); box-shadow: var(--skygge); transform: translateY(-1px); color: var(--tekst); }
.romkort-farge { position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--romfarge); }
.romkort .etikett { color: var(--romfarge); margin: 4px 0 0; }
.romkort p { margin: 0; color: var(--grå); font-size: 16px; }
.romkort .pil { margin-top: 14px; font-weight: 600; color: var(--sort); }
.romkort .pil::after { content: ' →'; color: var(--romfarge); }

.innlegg-skjema { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--linje); }
.innlegg-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.innlegg { background: var(--flate); border-radius: var(--r); padding: 16px 18px; }
.innlegg-topp { font-size: 15px; margin-bottom: 6px; } .innlegg-topp time { color: var(--grå); margin-left: 6px; }
.innlegg p:last-of-type { margin-bottom: 4px; }

.personer { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.personer li { display: flex; gap: 12px; align-items: center; }
.initial { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--romlys); color: var(--romfarge); font-weight: 700; border: 1px solid var(--linje); }

.kalender-topp { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kalender-topp h2 { font-size: 26px; text-align: center; }
.forklaring { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.maaned { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--linje); border-radius: var(--r); overflow: hidden; background: var(--linje); gap: 1px; }
.ukedag { background: var(--flate); padding: 8px; font: 600 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--grå); }
.dag { background: #fff; min-height: 104px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dag.tom { background: #fcfcfc; }
.dag.idag { background: var(--romlys); }
.dag.idag .dagnr { background: var(--romfarge); color: #fff; }
.dagnr { font-size: 14px; font-weight: 600; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.hend { display: block; font-size: 13px; line-height: 1.3; padding: 3px 6px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid; }
.type-merke { display: inline-block; font: 600 13px/1.3 var(--sans); padding: 3px 9px; border-radius: 999px; margin-right: 6px; }
.type-intervju { --tf: #6b5b7b; --tb: #f3eff6; } .type-klipping { --tf: #3f5f73; --tb: #edf2f5; } .type-frist { --tf: #b0101a; --tb: #f1effb; }
.type-lansering { --tf: #4d6b5f; --tb: #eef5f1; } .type-publisering { --tf: #7a6a2e; --tb: #f7f4e8; } .type-mote { --tf: #3f5f73; --tb: #edf2f5; }
.type-oppfolging { --tf: #4d6b5f; --tb: #eef5f1; } .type-annet { --tf: #5e6166; --tb: #f3f3f4; }
.hend, .type-merke { color: var(--tf); background: var(--tb); border-color: var(--tf); }
.hendelser { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hendelse { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--linje); }
.hendelse:first-child { border-top: 0; padding-top: 0; }
.hendelse-dato { font-size: 15px; }
.hendelse-tekst .type-merke { margin-bottom: 6px; }

.tabell-rull { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tilg-tabell { border-collapse: separate; border-spacing: 3px; font-size: 14px; }
.tilg-tabell th { font-weight: 600; text-align: left; padding: 4px 8px; white-space: nowrap; }
.tilg-tabell thead th { text-align: center; color: var(--grå); font-weight: 500; }
.tilg { width: 34px; height: 34px; text-align: center; border-radius: 8px; font-weight: 700; }
.tilg.kan, .tilg-merke.kan { background: #e8f2ec; color: #24513a; } .tilg.kanskje, .tilg-merke.kanskje { background: #f7f2e2; color: #6a5414; }
.tilg.kan_ikke, .tilg-merke.kan_ikke { background: var(--rod-lys); color: #7d0d14; } .tilg.ukjent, .tilg-merke.ukjent { background: var(--flate); color: var(--grå); }
.tilg-merke { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; margin: 12px 6px 0 0; }
.enkel-liste { padding-left: 18px; margin: 18px 0 0; } .enkel-liste li { margin-bottom: 8px; }

.tall-rad { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tall { background: var(--romlys); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 2px; }
.tall strong { font-family: var(--serif); font-size: 34px; color: var(--sort); line-height: 1.1; } .tall span { color: var(--grå); font-size: 15px; }
.soyler { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.soyler li { display: grid; grid-template-columns: minmax(110px, 200px) 1fr 80px; gap: 12px; align-items: center; }
.soyle { height: 12px; background: var(--flate); border-radius: 999px; overflow: hidden; }
.soyle-fyll { display: block; height: 100%; background: var(--romfarge); border-radius: 999px; } .soyle-fyll.rod { background: var(--rod); }
.soyle-0 { width: 2%; } .soyle-1 { width: 10%; } .soyle-2 { width: 20%; } .soyle-3 { width: 30%; } .soyle-4 { width: 40%; } .soyle-5 { width: 50%; } .soyle-6 { width: 60%; } .soyle-7 { width: 70%; } .soyle-8 { width: 80%; } .soyle-9 { width: 90%; } .soyle-10 { width: 100%; }
.soyle-tall { font-size: 15px; color: var(--grå); text-align: right; }

.tabell { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabell th { text-align: left; font: 600 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--grå); padding: 10px 12px; border-bottom: 1px solid var(--linje); white-space: nowrap; }
.tabell td:first-child { white-space: nowrap; }
.tabell td { padding: 12px; border-bottom: 1px solid var(--linje); vertical-align: top; }
.tabell tr.trukket td { color: var(--grå); text-decoration: line-through; }
.status { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.s-ny { background: var(--rod-lys); color: #7d0d14; } .s-fordelt { background: #edf2f5; color: #2c4a5c; } .s-arbeid { background: #eef5f1; color: #24513a; }
.s-venter { background: #f7f2e2; color: #6a5414; } .s-avsluttet { background: var(--flate); color: var(--grå); }
.filer { padding-left: 18px; margin: 12px 0 18px; } .filer li { margin-bottom: 6px; }
.lesetekst { max-width: 70ch; }
.lenke-boks { display: block; background: var(--flate); border: 1px solid var(--linje); border-radius: 10px; padding: 12px; word-break: break-all; }

.kart { display: grid; justify-items: center; gap: 0; background: linear-gradient(180deg, #fff, #fbfbfc); border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 32px 20px; }
.kart .etikett { text-align: center; }
.kart-styret, .kart-koord { display: grid; justify-items: center; }
.kart-linje { width: 2px; height: 32px; background: #d9d9de; }
.tpersoner { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tpersoner.liste { justify-content: flex-start; margin-top: 16px; }
.tperson { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--linje); border-radius: var(--r); padding: 14px 16px; min-width: 240px; max-width: 320px; }
.tperson.ledig { border-style: dashed; background: #fcfcfc; color: var(--grå); }
.tperson-tekst { display: grid; gap: 2px; } .tperson-tekst small { font-size: 14px; }
.merker { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 2px; }
.sist { font-size: 13px !important; }
.kart-rom { display: grid; justify-items: center; gap: 22px; width: 100%; }
.sirkler { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sirkler.drift { align-items: center; gap: 14px; padding: 14px 20px; border: 1px dashed #d4d4d8; border-radius: 999px; }
.sirkler.drift .etikett { margin: 0; color: var(--grå); }
.sirkel { width: 148px; height: 148px; border-radius: 50%; background: var(--romlys); border: 2px solid var(--romfarge); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; text-decoration: none; color: var(--sort); transition: transform .15s; }
.sirkel:hover { transform: scale(1.03); color: var(--sort); }
.sirkel-navn { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.2; hyphens: manual; }
.sirkel-tall { font-size: 13px; color: var(--grå); margin-top: 4px; }
.rom-seksjon h2 { display: flex; align-items: center; gap: 10px; }
.sporsmal { border-color: #ecdfb8; background: #fffdf6; }
.admin-person { border-top: 1px solid var(--linje); padding: 14px 0; }
.admin-person summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-innhold { padding: 14px 0 6px; }
.rolleliste { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; font-size: 15px; }
.rolleliste li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--linje); padding: 4px 0; }
.rolleliste li span:first-child { color: var(--grå); }
.engang { border-color: var(--rod); }

body.info { background: #fff; }
.info-topp { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--linje); position: sticky; top: 0; background: rgba(255,255,255,.96); z-index: 2; }
.info-topp nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.info-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 48px) 48px; }
.info-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; }
.info-hero-bilde { margin: 0; border-radius: var(--r-stor); overflow: hidden; aspect-ratio: 3 / 2; }
.info-hero-bilde img, .info-bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-oppsett { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; max-width: 1240px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 112px; }
.info-meny { position: sticky; top: 92px; align-self: start; display: grid; gap: 4px; font-size: 15px; }
.info-meny a:not(.knapp) { color: var(--tekst); text-decoration: none; padding: 6px 0; border-left: 2px solid var(--linje); padding-left: 12px; }
.info-meny a:not(.knapp):hover { border-color: var(--rod); color: var(--rod); }
.info-meny .knapp { margin-top: 24px; justify-self: start; }
.info-innhold { max-width: 780px; }
.info-kap { padding-top: 24px; margin-bottom: 88px; scroll-margin-top: 80px; }
.info-kap h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 18px; }
.info-kap h3 { margin: 32px 0 10px; }
.info-kap p { max-width: 68ch; }
.info-bilde { margin: 0 0 36px; border-radius: var(--r-stor); overflow: hidden; aspect-ratio: 16 / 9; }
.info-liste, .info-steg { padding-left: 22px; margin: 16px 0 24px; } .info-liste li, .info-steg li { margin-bottom: 10px; }
.info-steg { counter-reset: s; list-style: none; padding: 0; } .info-steg li { counter-increment: s; position: relative; padding-left: 48px; min-height: 34px; }
.info-steg li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--rod-lys); color: var(--rod); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.info-boks { background: var(--flate); border-left: 4px solid var(--rod); border-radius: 0 var(--r) var(--r) 0; padding: 22px 24px; margin: 28px 0; }
.info-boks h3 { margin: 0 0 8px; font-size: 20px; }
.info-boks p { margin: 0; }
.qa details { border-top: 1px solid var(--linje); padding: 16px 0; } .qa details:last-child { border-bottom: 1px solid var(--linje); }
.qa summary { cursor: pointer; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--sort); }
.qa details p { margin: 12px 0 0; }
.info-fot { border-top: 1px solid var(--linje); padding: 32px clamp(16px, 4vw, 48px); text-align: center; }

.infokart { display: grid; justify-items: center; gap: 0; background: #fcfcfd; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 32px 18px; margin: 28px 0; }
.ik-nivaa { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ik-boks { background: #fff; border: 1px solid var(--linje); border-top: 4px solid var(--sort); border-radius: 12px; padding: 12px 16px; display: grid; text-align: center; min-width: 170px; }
.ik-boks small { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--grå); }
.ik-boks strong { font-family: var(--serif); font-size: 18px; color: var(--sort); }
.ik-boks span { font-size: 14px; color: var(--grå); }
.ik-boks.koord { border-top-color: var(--rod); }
.ik-boks.ledig { border-style: dashed; border-top-style: solid; }
.ik-strek { width: 2px; height: 26px; background: #d9d9de; }
.ik-rom { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ksirkel { width: 124px; height: 124px; border-radius: 50%; background: var(--romlys); border: 2px solid var(--romfarge); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.2; color: var(--sort); hyphens: manual; }
.ksirkel small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--grå); margin-top: 4px; }
.ik-drift { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 18px; border: 1px dashed #d4d4d8; border-radius: 999px; }
.ik-drift-etikett { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--grå); }
.ik-drift .ksirkel { width: 96px; height: 96px; font-size: 14px; }
.ik-hvelv { margin-top: 18px; font-size: 15px; color: var(--grå); display: flex; align-items: center; gap: 8px; }
.ik-las { width: 14px; height: 12px; border: 2px solid var(--sort); border-radius: 3px; position: relative; margin-top: 4px; }
.ik-las::before { content: ''; position: absolute; left: 1px; top: -8px; width: 8px; height: 7px; border: 2px solid var(--sort); border-bottom: 0; border-radius: 6px 6px 0 0; }
.inforom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.inforom-kort { position: relative; border: 1px solid var(--linje); border-radius: var(--r); padding: 20px 20px 18px; background: #fff; overflow: hidden; }
.infokort-strek { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--romfarge); }
.inforom-kort h3 { margin: 0 0 6px; font-size: 19px; }
.inforom-kort p { margin: 0; font-size: 16px; color: #45484d; }

.filmkort-rad { display: grid; gap: 16px; margin-top: 16px; }
.filmkort { border: 1px solid var(--linje); border-left: 5px solid var(--romfarge); border-radius: var(--r); padding: 20px 22px; background: #fff; }
.filmkort.status-levert { border-left-color: var(--rod); background: #fbfaff; }
.filmkort.status-loftet { border-left-color: #b9bcc2; background: var(--flate); }
.filmkort h3 { margin: 10px 0 2px; }
.filmfakta { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 20px; margin: 16px 0 12px; }
.filmfakta div { display: grid; gap: 2px; } .filmfakta dt { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--grå); } .filmfakta dd { margin: 0; font-size: 16px; }
.f-planlagt { background: #f3eff6; color: #4e3f5e; } .f-levert { background: var(--rod-lys); color: #7d0d14; } .f-loftet { background: var(--flate); color: var(--grå); }
.levert { font-size: 15px; background: var(--flate); border-radius: 10px; padding: 10px 12px; }
.lever { margin-top: 14px; } .lever summary { cursor: pointer; font-weight: 600; color: var(--sort); }
.lever form { margin-top: 14px; }
.loft .knapperad { margin-top: 18px; }
.mine-oppgaver { margin-bottom: 28px; }
.oppgaver { list-style: none; padding: 0; margin: 16px 0 14px; display: grid; gap: 0; }
.oppgaver li { display: grid; grid-template-columns: 12px 150px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--linje); }
.oppgaver li:first-child { border-top: 0; }
.oppgaver .prikk { margin-top: 8px; }
.oppg-dato { font-size: 15px; font-weight: 600; color: var(--sort); }
.gjoremal { border-color: #ecdfb8; background: #fffdf6; }
.gjoremal ul { margin: 14px 0 0; padding-left: 20px; } .gjoremal li { margin-bottom: 8px; }
.sperret-knapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border: 1px dashed #c9c9cf; border-radius: 999px; color: var(--grå); font-size: 15px; }

.type-vakt { --tf: #4f6d8a; --tb: #eef3f8; }
.ulest { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: auto; border-radius: 999px; background: var(--rod); color: #fff; font: 700 12px/1 var(--sans); }
h2 .ulest, .kanalkort .ulest { margin-left: 8px; vertical-align: middle; }
.meny-knapp .ulest { margin-left: 8px; }
.fane-ut { margin-left: auto; color: var(--romfarge) !important; }
.dash-overskrift { margin: 56px 0 18px; font-size: 22px; }

.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; object-position: center 28%; background: var(--flate); border: 1px solid var(--linje); }
.avatar.initial { display: inline-flex; align-items: center; justify-content: center; background: var(--romlys); color: var(--romfarge); font-weight: 700; font-size: 17px; }
.avatar.liten { width: 36px; height: 36px; font-size: 15px; }
.avatar.stor { width: 96px; height: 96px; font-size: 34px; }

.meldinger-oppsett { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.mliste { position: sticky; top: 24px; display: grid; gap: 2px; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 20px 12px; }
.mliste .meny-etikett { margin-top: 4px; } .mliste .topp-luft { margin-top: 20px; }
.mliste-lenke { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--tekst); text-decoration: none; font-size: 15px; }
.mliste-lenke:hover { background: var(--flate); color: var(--sort); }
.mliste-lenke.aktiv { background: var(--flate); font-weight: 600; color: var(--sort); }
.mliste-navn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mliste .liten { margin: 0 10px; }
.mliste-ny { margin: 20px 10px 0; }
.kanal-topp { margin-bottom: 24px; } .kanal-topp .etikett { color: var(--romfarge); } .kanal-topp h1 { font-size: clamp(28px, 3.4vw, 38px); }
.kanal-topp .liten { margin-top: 12px; }
.dm-topp { display: flex; gap: 20px; align-items: center; }
.mobil-tilbake { display: none; }
.samtale { padding: 24px 28px 28px; }
.meldinger { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.melding { display: flex; gap: 12px; align-items: flex-start; }
.melding-kropp { min-width: 0; flex: 1; background: var(--flate); border-radius: 4px var(--r) var(--r) var(--r); padding: 12px 16px; }
.melding.min .melding-kropp { background: #f4f6f8; }
.melding.skjult .melding-kropp { background: #fff; border: 1px dashed #d4d4d8; color: var(--grå); }
.melding.skjult > .liten { margin: 0; padding: 10px 16px; border: 1px dashed #d4d4d8; border-radius: var(--r); width: 100%; }
.melding-topp { font-size: 15px; margin: 0 0 4px; } .melding-topp a { color: var(--sort); font-weight: 600; text-decoration: none; } .melding-topp time { color: var(--grå); margin-left: 6px; }
.melding-tekst p { margin: 0 0 8px; overflow-wrap: anywhere; } .melding-tekst p:last-child { margin-bottom: 0; }
.melding-mod { margin-top: 8px; }
.omtale { background: var(--rod-lys); color: #7d0d14; border-radius: 6px; padding: 0 4px; font-weight: 600; }
.skriv { border-top: 1px solid var(--linje); padding-top: 24px; }
.skriv-hint { margin: 0; }
.skriv .knapperad { margin-top: 12px; }
.taushet { display: flex; gap: 16px; align-items: flex-start; background: #f1f6f3; border: 1px solid #d5e5db; border-radius: var(--r-stor); padding: 18px 22px; margin: 0 0 24px; color: #24412f; }
.taushet p { margin: 6px 0 0; font-size: 16px; }
.taushet-ikon { flex: none; width: 18px; height: 15px; margin-top: 6px; border: 2px solid #4d6b5f; border-radius: 3px; position: relative; }
.taushet-ikon::before { content: ''; position: absolute; left: 2px; top: -9px; width: 10px; height: 8px; border: 2px solid #4d6b5f; border-bottom: 0; border-radius: 6px 6px 0 0; }
.kanalliste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.kanalliste li + li { border-top: 1px solid var(--linje); }
.kanalkort { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 4px; color: var(--tekst); text-decoration: none; }
.kanalkort:hover strong { color: var(--rod); }
.kanalkort .prikk { margin-top: 2px; }
.kanal-tid { color: var(--grå); font-size: 13px; text-align: right; }
.varselliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.varselliste li { padding: 14px 0 14px 16px; border-top: 1px solid var(--linje); } .varselliste li:first-child { border-top: 0; }
.varselliste li.ny { box-shadow: inset 3px 0 0 var(--rod); }

.profil-hode { display: flex; gap: 24px; align-items: center; }
.profil-hode h1 { font-size: clamp(28px, 3.4vw, 40px); }
.profil-hode .knapperad { margin-top: 20px; }
.avkryss-felt { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.avkryss-felt input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; }

.okart { display: grid; justify-items: center; background: linear-gradient(180deg, #fff, #fbfbfc); border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 32px 20px; }
.okart-niva { display: grid; justify-items: center; width: 100%; } .okart .etikett { text-align: center; }
.okart-grupper { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.okort-liste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.okort-liste.rad { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 0; }
.okort { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; background: #fff; border: 1px solid var(--linje); border-radius: var(--r); padding: 16px; }
.okort-liste.rad .okort { width: 300px; }
.okort .avatar { grid-row: span 2; }
.okort form, .okort > .knapp { grid-column: 2; justify-self: start; margin-top: 10px; }
.okort.ledig { border-style: dashed; background: #fcfcfc; color: var(--grå); }
.okort-tekst { display: grid; gap: 2px; min-width: 0; } .okort-tekst a { color: var(--sort); text-decoration: none; } .okort-tekst a:hover { color: var(--rod); }
.okort-tekst small { font-size: 14px; }
.tilgang-linje { font-size: 13px; color: var(--romfarge); font-weight: 600; margin-top: 4px; }
.ogruppe h2 { display: flex; align-items: center; gap: 10px; }
.nivaa { display: grid; gap: 0; margin: 16px 0 0; } .nivaa div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--linje); }
.nivaa div:first-child { border-top: 0; } .nivaa dt { font-weight: 600; color: var(--sort); } .nivaa dd { margin: 0; }

.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dkort { background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 26px 28px; min-width: 0; }
.dkort.bred { grid-column: 1 / -1; }
.dkort h2 { font-size: 22px; } .dkort > .etikett { color: var(--grå); }
.dkort.rom-styret > .etikett { color: var(--romfarge); }
.dkort-lenke { margin: 18px 0 0; font-weight: 600; } .dkort-lenke a { color: var(--sort); text-decoration: none; } .dkort-lenke a::after { content: ' →'; color: var(--rod); }
.dkort .oppgaver li { grid-template-columns: 12px 120px minmax(0, 1fr); }
.dash-tall { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dash-tall .tall { background: #fff; border: 1px solid var(--linje); text-decoration: none; color: var(--tekst); }
.dash-tall a.tall:hover { border-color: #c9c9cf; }
.venter { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.venter li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--linje); } .venter li:first-child { border-top: 0; }
.venter .prikk { margin-top: 8px; }
.forhandsvisning { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.forhandsvisning li { background: var(--flate); border-radius: var(--r); padding: 10px 14px; font-size: 15px; overflow-wrap: anywhere; }
.spor-liste { list-style: none; padding: 0; margin: 16px 0 14px; display: grid; gap: 14px; }
.spor-liste li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.spor-liste a { color: var(--sort); text-decoration: none; }
.vedtak-liste { list-style: none; padding: 0; margin: 16px 0 0; } .vedtak-liste li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--linje); } .vedtak-liste li:first-child { border-top: 0; }
.paa-tvers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.tvers-gruppe { background: var(--romlys); border-radius: var(--r); padding: 16px 18px; }
.tvers-gruppe h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tvers-gruppe ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.tvers-gruppe a { color: var(--tekst); text-decoration: none; } .tvers-gruppe a:hover { color: var(--rod); } .tvers-gruppe strong { color: var(--sort); }
.tvers-gruppe .tom { margin: 0; font-size: 15px; }
.dash.varm .dkort { border-color: #ece7e1; }

.fremdrift .soyle { display: block; max-width: 420px; margin: 4px 0 16px; }
.fremdrift-tall { margin: 12px 0 8px; } .fremdrift-tall strong { font-family: var(--serif); font-size: 28px; color: var(--sort); }
.dkort .soyle { display: block; margin: 4px 0 8px; }
.oppliste, .oppliste-indre { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.oppliste-indre { margin: 0; }
.opp-ramme { border-top: 1px solid var(--linje); padding: 14px 0; } .opp-ramme:first-child { border-top: 0; }
.opp { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.oppliste.kompakt .opp { grid-template-columns: 80px minmax(0, 1fr); padding: 8px 0; }
.opp-video { --tf: #6b5b7b; --tb: #f3eff6; } .opp-artikkel { --tf: #3f5f73; --tb: #edf2f5; }
.opp .type-merke { justify-self: start; }
.opp.ferdig .opp-tekst strong { color: var(--grå); }
.opp-handling { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.avkryss { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 1px solid #d4d4d8; border-radius: 999px; background: #fff; color: var(--sort); font: 600 14px/1.2 var(--sans); cursor: pointer; }
.avkryss:hover { border-color: var(--sort); }
.avkryss .boks { width: 16px; height: 16px; border: 2px solid #9a9ca1; border-radius: 4px; position: relative; }
.avkryss.pa { background: #f0f6f2; border-color: #cfe3d6; color: #24513a; }
.avkryss.pa .boks { border-color: #24513a; background: #24513a; }
.avkryss.pa .boks::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.opp-rediger { margin-top: 10px; font-size: 15px; } .opp-rediger summary { cursor: pointer; color: var(--grå); }
.opp-rediger form { margin-top: 14px; max-width: 640px; }
.opp-gruppe h2 { display: flex; align-items: center; gap: 10px; }

.rom-hjem { --romfarge: #4a3fa8; --romlys: #f3f1fb; }
.ikon { display: block; }
.seksjon { margin-top: 112px; }
.velkomst + .idag { margin-top: 64px; }
.velkomst-ingress { margin: 64px 0 0; max-width: 720px; font-size: 19px; color: var(--grå); }
.velkomst-ingress + .varsel { margin-top: 24px; }
.velkomst { position: relative; }
.velkomst-bilde { margin: 0; overflow: hidden; background: var(--romlys); }
.velkomst-bilde img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.velkomst-kort { background: #fff; }
.velkomst-dato { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--romfarge); }
.velkomst-romikon { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--romlys); color: var(--romfarge); flex: none; }
.velkomst h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.velkomst h1 em { font-style: italic; color: var(--romfarge); font-weight: 600; }
.velkomst-rom { margin: 14px 0 0; font: 600 20px/1.35 var(--sans); color: var(--sort); }
.velkomst-setning { margin: 8px 0 0; font-size: 18px; line-height: 1.55; color: var(--grå); max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--romlys); color: var(--sort); text-decoration: none; font-size: 15px; }
.chip strong { color: var(--romfarge); }
.chip:hover { color: var(--sort); box-shadow: inset 0 0 0 1px var(--romfarge); }
.velkomst-smal { display: flex; align-items: center; gap: 16px; margin: 0 0 32px; }
.velkomst-smal .velkomst-romikon { width: 48px; height: 48px; border-radius: 14px; }
.velkomst-smal .etikett { color: var(--romfarge); margin-bottom: 4px; }
.velkomst-smal h1 { font-size: clamp(28px, 3.2vw, 36px); }
.romside .faner, .velkomst ~ .faner { margin-top: 0; }
.idag + .faner, .idag + .seksjon { margin-top: 112px; }
.idag + .faner { margin-top: 72px; }

.idag { border-radius: var(--r-stor); padding: 30px 32px 22px; }
.idag-hode { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.idag-hode .etikett { margin: 0 0 2px; color: var(--romfarge); }
.idag-hode h2 { font-size: 24px; }
.idag-ikon { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--romfarge); border: 1px solid var(--linje); flex: none; }
.idag-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.idag-liste > li + li { border-top: 1px solid var(--linje); }
.idag-punkt summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 16px 0; cursor: pointer; }
.idag-punkt summary::-webkit-details-marker { display: none; }
.idag-tegn { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--romlys); color: var(--romfarge); }
.idag-tekst strong { font-weight: 600; font-size: 17px; color: var(--sort); }
.idag-pil { color: var(--grå); transition: transform .15s; }
.idag-punkt[open] .idag-pil { transform: rotate(90deg); }
.idag-punkt summary:hover .idag-tekst strong { color: var(--romfarge); }
.idag-mer { padding: 0 0 20px 54px; }
.idag-mer p { margin: 0; color: var(--grå); font-size: 17px; }
.idag-mer .knapperad { margin-top: 24px; }
.idag-tom { margin: 4px 0 10px; color: var(--grå); font-size: 17px; }

.meny-rom { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.meny-rom img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; border: 1px solid var(--linje); }
.meny-rom strong { display: block; font-size: 15px; color: var(--sort); line-height: 1.3; }
.meny-rom small { display: block; font-size: 13px; }
.meny-ikon { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--flate); color: var(--grå); flex: none; }
.meny-lenke.aktiv .meny-ikon { background: #fff; color: var(--romfarge); }

.dkort { padding: 30px 32px; }
.dkort-hode { display: flex; align-items: flex-start; gap: 14px; }
.dkort-hode .etikett { margin: 2px 0 4px; }
.dkort-hode + * { margin-top: 18px; }
.dash-blokk { margin-top: 40px; }
.velkomst-ingress.seksjon { margin-top: 112px; }
.dkort-ikon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--romlys); color: var(--romfarge); flex: none; }
.dkort h2 { font-size: 23px; }
.dash { gap: 28px; }
.tall strong { font-size: 44px; font-weight: 600; letter-spacing: -.02em; }
.dash-tall { gap: 18px; margin-bottom: 28px; }
.dash-tall .tall { padding: 22px 22px 20px; border-radius: var(--r-stor); }
.dkort-lenke { margin-top: 28px; }

.utseende-a .velkomst-bilde { border-radius: 28px; height: 420px; }
.utseende-a .velkomst-kort { position: relative; margin: -96px 0 0 44px; max-width: 640px; border-radius: 24px; padding: 36px 40px 34px; box-shadow: 0 2px 4px rgba(20,20,20,.03), 0 18px 48px rgba(20,20,20,.08); }
.utseende-a .idag { background: #fff; border: 1px solid var(--linje); box-shadow: inset 4px 0 0 var(--romfarge); }

.utseende-b { --flate: #faf9f7; }
.utseende-b .velkomst { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.utseende-b .velkomst-bilde { order: 2; height: 360px; border-radius: 220px 220px 26px 26px; }
.utseende-b .velkomst-kort { padding: 0; }
.utseende-b .velkomst h1 { font-size: clamp(42px, 5.4vw, 66px); font-weight: 500; }
.utseende-b .velkomst-rom { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 24px; color: var(--tekst); }
.utseende-b .velkomst-dato .velkomst-romikon { border-radius: 50%; }
.utseende-b .idag { background: #fff; border-top: 1px solid var(--sort); border-radius: 0; padding: 28px 0 8px; }
.utseende-b .idag-hode h2 { font-size: 30px; font-weight: 500; }
.utseende-b .idag-tekst strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.utseende-b .idag-tegn, .utseende-b .dkort-ikon, .utseende-b .idag-ikon { border-radius: 50%; }
.utseende-b .dkort { border-radius: 4px; border-color: #ebe8e3; }
.utseende-b .dkort h2 { font-weight: 500; font-size: 26px; }
.utseende-b .dash-tall .tall { border-radius: 4px; }

.utseende-c .velkomst-bilde { height: 460px; border-radius: 6px; }
.utseende-c .velkomst-kort { margin: 44px 0 0; padding: 0; max-width: 820px; }
.utseende-c .velkomst h1 { font-size: clamp(40px, 5vw, 60px); }
.utseende-c .idag { background: var(--romlys); border-radius: 6px; padding: 32px 32px 26px; }
.utseende-c .idag-liste { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.utseende-c .idag-liste > li + li { border-top: 0; }
.utseende-c .idag-liste > li { background: #fff; border-radius: 6px; padding: 4px 18px; }
.utseende-c .idag-punkt summary { grid-template-columns: 40px minmax(0, 1fr); }
.utseende-c .idag-pil { display: none; }
.utseende-c .idag-mer { padding: 0 0 18px; }
.utseende-c .dkort, .utseende-c .dash-tall .tall { border-radius: 6px; }

body.enkel.med-bilde { display: block; padding: 0; background: #fff; }
.velkommen-oppsett { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.velkommen-bilde { margin: 0; position: relative; min-height: 100vh; overflow: hidden; }
.velkommen-bilde img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
body.med-bilde .enkel-boks { max-width: none; border: 0; border-radius: 0; box-shadow: none; padding: 56px clamp(24px, 4vw, 56px) 40px; align-self: center; }
body.med-bilde .enkel-fot { margin: 40px 0 0; }
body.med-bilde .enkel-boks h1 { font-size: clamp(34px, 3.6vw, 44px); }
body.med-bilde .enkel-boks .ingress { font-size: 19px; }
.stegvis { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--grå); }
.stegvis li { display: inline-flex; align-items: center; gap: 8px; }
.stegvis span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d4d4d8; font-weight: 600; font-size: 13px; }
.stegvis li.naa { color: var(--sort); font-weight: 600; } .stegvis li.naa span { background: var(--rod); border-color: var(--rod); color: #fff; }
.stegvis li.ferdig span { background: #eef6f1; border-color: #cfe3d6; color: #24513a; }
.steg.vennlig li { margin-bottom: 12px; }
.adresse-hint { margin: 32px 0 0; padding: 16px 18px; border-radius: var(--r); background: var(--flate); font-size: 16px; color: var(--tekst); overflow-wrap: anywhere; }

.tilgang-na { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
.tilgang-liste, .utvikling-liste, .ledere { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.tilgang-liste li, .utvikling-liste li, .ledere li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--linje); align-items: start; }
.tilgang-liste li:first-child, .utvikling-liste li:first-child, .ledere li:first-child { border-top: 0; }
.tilgang-liste .ikon { color: #24513a; margin-top: 2px; }
.utvikling-liste .ikon { color: var(--grå); margin-top: 2px; }
.merke.utvikling { background: #f4f2fa; color: #4e4670; border-color: #e3dff0; font-weight: 600; }
.utvikling-liste strong { display: block; color: var(--sort); }
.ledere li { grid-template-columns: 240px minmax(0, 1fr); }
.ledere .ledere-rom { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--sort); }
.ledere .ledere-navn a { color: var(--tekst); }

body.hub { background: #fff; }
.hub-banner { margin: 0; padding: 12px 16px; text-align: center; background: #fbf7ec; color: #5f4a12; border-bottom: 1px solid #ecdfb8; font-size: 16px; }
.hub-topp { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px); }
.hub-topp nav { display: flex; gap: 12px; flex-wrap: wrap; }
.hub-innhold { max-width: 1180px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 112px; }
.hub .velkomst h1 em { color: var(--rod); }
.hub-h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 28px; }
.hub-ingress { max-width: 720px; margin: -12px 0 40px; }
.hub-kart { margin-top: 8px; }
.hub-rom { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--linje); }
.hub-rom-bilde { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--romlys); }
.hub-rom-bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-rom h3 { font-size: 28px; margin-bottom: 4px; }
.hub-rom .etikett { color: var(--romfarge); }
.hub-leder { margin-top: 18px; }
.hei-rad { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.hei-kort { background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 22px 22px 18px; box-shadow: inset 4px 0 0 var(--romfarge); }
.hei { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--sort); margin: 0; }
.hei + .liten { margin: 2px 0 12px; }
.hei-tekst { font-size: 17px; margin: 0; }
.hei-kode { margin-top: 16px; } .hei-kode summary { cursor: pointer; color: var(--romfarge); font-weight: 600; }
.hei-kode form { margin-top: 14px; }
.hei-inn { margin: 16px 0 0; }
.hub-husk .dkort h2 { overflow-wrap: anywhere; font-size: 24px; }

.sporsmal-liste { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 14px; }
.sporsmal-liste li { padding-left: 6px; } .sporsmal-liste small { font-size: 16px; }
.fremdrift-tavle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fremdrift-kol { border-radius: var(--r-stor); padding: 22px 22px 10px; background: var(--flate); }
.fremdrift-kol.ferdig { background: #f0f6f2; } .fremdrift-kol.underveis { background: #fbf7ec; } .fremdrift-kol.neste { background: #f2f4f8; }
.fremdrift-hode { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--sort); margin: 0 0 12px; }
.fremdrift-hode small { margin-left: auto; }
.fremdrift-prikk { width: 10px; height: 10px; border-radius: 50%; background: #9a9ca1; }
.ferdig .fremdrift-prikk { background: #24513a; } .underveis .fremdrift-prikk { background: #b08a1c; } .neste .fremdrift-prikk { background: #3f5f73; }
.fremdrift-kol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fremdrift-kol li { background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.fremdrift-kol li small { font-size: 15px; }

.seksjon-liten { margin-top: 48px; }
.visjon { max-width: 820px; } .visjon p { font-size: 18px; } .visjon .ingress { font-size: 21px; color: var(--tekst); }
.tidsplan { display: grid; gap: 0; border-top: 1px solid var(--linje); }
.tidsplan-rad { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--linje); }
.tidsplan-naar { margin: 0; font: 600 13px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--romfarge); }
.tidsplan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; } .tidsplan small { font-size: 16px; }

.demo-banner { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 10px 16px; background: #f2f4f8; border-bottom: 1px solid #dde2ea; color: #2c3a4a; font-size: 15px; text-align: center; }
.demo-valg { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.demo-valg a { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid #d4d9e2; color: #2c3a4a; text-decoration: none; font-size: 14px; }
.demo-valg a:hover { border-color: #2c3a4a; }
body.app .demo-banner { grid-column: 1 / -1; }
.persona-rad { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.persona { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px 20px 18px; border-radius: var(--r-stor); background: #fff; border: 1px solid var(--linje); text-decoration: none; color: var(--tekst); box-shadow: inset 4px 0 0 var(--rod); transition: border-color .15s, box-shadow .15s; }
.persona:hover { border-color: #c9c9cf; color: var(--tekst); }
.persona-t { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--sort); } .persona small { display: block; margin-top: 2px; font-size: 15px; }
.persona-init { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rod-lys); color: var(--rod); font-weight: 700; font-size: 15px; }
.persona.lys { box-shadow: none; background: var(--flate); }

.rolle-personer { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.rolle-personer li { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--linje); align-items: start; }
.rolle-personer li:first-child { border-top: 0; }
.rolle-personer li.mange { background: linear-gradient(90deg, #fbf7ec, #fff 60%); border-radius: 12px; padding: 14px 12px; }
.rp-navn { display: grid; gap: 2px; } .rp-navn small { font-size: 14px; }
.merke.belastning { background: #fbf7ec; color: #5f4a12; border-color: #ecdfb8; justify-self: start; margin-top: 6px; }
.rp-roller { display: flex; flex-wrap: wrap; gap: 6px; }
.rolle-chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--flate); border: 1px solid var(--linje); font-size: 14px; }

.testuke { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 32px; padding: 12px 18px; border-radius: 14px; background: #f2f4f8; border: 1px solid #dde2ea; font-size: 15px; color: #2c3a4a; }
.oppgaveliste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.oppgave { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linje); }
.oppgave:first-child { border-top: 0; }
.oppgave.snart, .oppgave.forsinket { box-shadow: inset 3px 0 0 var(--rod); padding-left: 14px; }
.oppgave-tekst small { font-size: 15px; }
.oppgave-handling { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.oppgave.s-gjort .oppgave-tekst strong { color: var(--grå); text-decoration: line-through; }
.oppgave-tavle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.oppgave-gruppe { background: var(--flate); border-radius: var(--r-stor); padding: 20px 20px 8px; }
.oppgave-gruppe.g-apen { background: #fbf7ec; } .oppgave-gruppe.g-gjort { background: #f0f6f2; }
.oppgave-gruppe h3 { font-size: 18px; } .oppgave-gruppe .oppgave { grid-template-columns: 1fr; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; border: 0; }
.oppgave-gruppe .oppgave-handling { justify-content: flex-start; }
.ny-oppgave { margin-top: 24px; }
.mine-oppg { margin-top: 48px; }

.rom-media { --romfarge: #7a3b52; --romlys: #fbf3f6; } .kanal-media { --romfarge: #7a3b52; }
.henv-liste { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.henv { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: var(--flate); }
.henv-hode { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; }
.h-ny { background: var(--rod-lys); color: #7d0d14; } .h-tildelt { background: #edf2f5; color: #2c4a5c; } .h-avtalt { background: #f7f2e2; color: #6a5414; } .h-gjennomfort { background: #eef5f1; color: #24513a; }
.type-opptreden { --tf: #7a3b52; --tb: #fbf3f6; }

.utredninger { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.utredning { border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 24px 26px; background: #fff; }
.utredning-hode { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.utredning h3 { font-size: 24px; margin-bottom: 8px; }
.u-lagt_til_side { background: var(--flate); color: var(--grå); } .u-vurdering { background: #f7f2e2; color: #6a5414; } .u-satt_i_gang { background: #eef5f1; color: #24513a; }
.utredning .knapp .ikon { width: 16px; height: 16px; }

.sirkel { width: 152px; height: auto; border: 0; border-radius: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--sort); }
.sirkel:hover { transform: none; } .sirkel:hover .sirkel-bilde { box-shadow: 0 0 0 3px var(--romfarge); }
.sirkel-bilde { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--romfarge); background: var(--romlys); flex: none; transition: box-shadow .15s; }
.sirkel-bilde img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.sirkel-navn { font-size: 15px; line-height: 1.25; hyphens: manual; overflow-wrap: break-word; max-width: 152px; }
.sirkel-tall { margin-top: 0; font-size: 13px; }
.sirkler.drift { border-radius: var(--r-stor); }

img.hode-hel { object-fit: contain !important; position: relative; z-index: 1; background: none !important; }
.hode-bak { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) brightness(.62) saturate(.9); z-index: 0; pointer-events: none; }
.hode-ramme { position: relative; overflow: hidden; background: #16171a; }

@media (max-width: 900px) {
  .rolle-personer li { grid-template-columns: 1fr; gap: 8px; }
  .oppgave-tavle { grid-template-columns: 1fr; }
  .oppgave { grid-template-columns: 1fr; }
  .oppgave-handling { justify-content: flex-start; }
  .demo-banner { position: static; font-size: 14px; }
  .tidsplan-rad { grid-template-columns: 1fr; gap: 8px; }
  .seksjon-liten { margin-top: 32px; }
  .hub-rom { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .hub-topp { padding: 16px; } .hub-topp .knapp.lys { display: none; }
  .fremdrift-tavle { grid-template-columns: 1fr; }
  .velkommen-oppsett { grid-template-columns: 1fr; }
  .velkommen-bilde { min-height: 0; height: 200px; }
  body.med-bilde .enkel-boks { padding: 32px 16px 40px; }
  .tilgang-na { grid-template-columns: 1fr; }
  .ledere li { grid-template-columns: 1fr; gap: 4px; }
  .seksjon { margin-top: 72px; }
  .velkomst + .idag { margin-top: 48px; }
  .idag + .faner { margin-top: 48px; }
  .velkomst-ingress, .velkomst-ingress.seksjon { margin-top: 72px; font-size: 17px; }
  .dash-blokk { margin-top: 28px; }
  .velkomst h1 { font-size: 34px; }
  .velkomst-rom { font-size: 18px; } .velkomst-setning { font-size: 17px; }
  .utseende-a .velkomst-bilde { height: 260px; border-radius: 20px; }
  .utseende-a .velkomst-kort { margin: -48px 12px 0; padding: 26px 22px 24px; border-radius: 20px; }
  .utseende-b .velkomst { grid-template-columns: 1fr; gap: 28px; }
  .utseende-b .velkomst-bilde { order: 0; height: 220px; border-radius: 140px 140px 20px 20px; }
  .utseende-b .velkomst h1 { font-size: 40px; }
  .utseende-c .velkomst-bilde { height: 260px; }
  .utseende-c .velkomst-kort { margin-top: 28px; }
  .idag { padding: 24px 18px 14px; }
  .utseende-b .idag { padding: 24px 0 6px; }
  .utseende-c .idag { padding: 22px 16px 16px; }
  .idag-mer { padding-left: 0; }
  .dkort { padding: 24px 20px; }
  .tall strong { font-size: 36px; }
  .meny-rom { display: none; }
  .meldinger-oppsett { grid-template-columns: 1fr; gap: 0; }
  .meldinger-oppsett .mliste { display: none; }
  .mobil-tilbake { display: block; }
  .samtale { padding: 20px 16px 22px; }
  .melding .avatar { display: none; }
  .dash { grid-template-columns: 1fr; gap: 16px; }
  .dkort { padding: 22px 18px; }
  .dkort .oppgaver li { grid-template-columns: 12px minmax(0, 1fr); }
  .vedtak-liste li { grid-template-columns: 1fr; gap: 2px; }
  .opp { grid-template-columns: 1fr; gap: 8px; }
  .opp-handling { justify-content: flex-start; }
  .okort-liste { grid-template-columns: 1fr; } .okort-liste.rad .okort { width: 100%; }
  .nivaa div { grid-template-columns: 1fr; gap: 4px; }
  .profil-hode { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spor-liste li { grid-template-columns: auto minmax(0, 1fr); } .spor-liste li form { grid-column: 2; }
  .dm-topp { align-items: flex-start; }
  .dm-topp .avatar.stor { width: 64px; height: 64px; }
  .fane-ut { margin-left: 0; }
  body.app { display: block; }
  .mobilmeny { display: block; position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--linje); }
  .mobilmeny summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; }
  .mobilmeny summary::-webkit-details-marker { display: none; }
  .mobilmeny .ordmerke { font-size: 18px; }
  .meny-knapp { border: 1px solid #d4d4d8; border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
  .meny { display: none; position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--linje); padding: 12px 16px 18px; }
  .mobilmeny[open] ~ .meny { display: flex; }
  .meny-topp { display: none; }
  .innhold { padding: 28px 16px 72px; }
  .romtopp, .romtopp.med-bilde { grid-template-columns: 1fr; padding: 26px 20px; gap: 22px; }
  .rutenett.to, .rutenett.to-en { grid-template-columns: 1fr; }
  .kort { padding: 22px 18px; }
  .to-felt { grid-template-columns: 1fr; }
  .hendelse { grid-template-columns: 1fr; gap: 6px; }
  .oppgaver li { grid-template-columns: 12px minmax(0, 1fr); } .oppgaver li > span:last-child { grid-column: 2; }
  .dag { min-height: 64px; padding: 3px; }
  .hend { font-size: 0; padding: 0; height: 6px; border-left: 0; background: var(--tf); }
  .ukedag { padding: 6px 2px; font-size: 11px; text-align: center; letter-spacing: 0; }
  .kalender-topp h2 { font-size: 20px; }
  .soyler li { grid-template-columns: 1fr 70px; } .soyle { grid-column: 1 / -1; grid-row: 2; }
  .sirkel { width: 140px; height: auto; } .sirkel-bilde { width: 92px; height: 92px; } .sirkel-navn { font-size: 14px; }
  .tperson { min-width: 0; width: 100%; max-width: none; }
  .info-hero { grid-template-columns: 1fr; padding-top: 36px; gap: 28px; }
  .info-oppsett { grid-template-columns: 1fr; gap: 0; padding-bottom: 72px; }
  .info-meny { position: static; margin-bottom: 40px; }
  .info-kap { margin-bottom: 64px; }
  .inforom { grid-template-columns: 1fr; }
  .ksirkel { width: 104px; height: 104px; font-size: 13px; }
  .info-topp .knapp.lys { display: none; }
  .enkel-boks { padding: 28px 20px 24px; }
  .koder { grid-template-columns: 1fr 1fr; }
  .tabell { font-size: 15px; }
}
@media print { .meny, .mobilmeny, .knapperad, form { display: none !important; } body.app { display: block; } }

.forside-ute .velkomst-kort h1 { margin-bottom: 0; }
.forside-ute .velkomst-kort .knapperad { margin-top: 28px; }
.forside-ute .forside-linje { margin: 16px 0 0; font-size: 16px; color: var(--dempet, #5e6166); }
.forside-ute .hub-innhold { padding-bottom: 72px; }

.cf-turnstile { margin: 20px 0 4px; min-height: 65px; }

/* ---------- Organisasjonsrommet (demo): egne romfarger, hengelås, portretter i kartet, spørsmålsbanken m.m. ---------- */
:root { --rod-lys: #f1effb; --romfarge: #4a3fa8; --romlys: #f1effb; --aksent-lys: #f6f5fd; }
body { background: #fff; }
#app { display: contents; }
.rom-hjem, .rom-koordinator { --romfarge: #4a3fa8; --romlys: #f3f1fb; }
.rom-styret, .rom-hvelv { --romfarge: #2f2f33; --romlys: #f3f3f4; }
.rom-medlem { --romfarge: #4d6b5f; --romlys: #f1f6f3; }
.rom-kommunikasjon { --romfarge: #4f6d8a; --romlys: #f1f5f9; }
.rom-film { --romfarge: #6b5b7b; --romlys: #f6f3f8; }
.rom-frivillige { --romfarge: #3d6b6f; --romlys: #eff5f5; }
.rom-salg { --romfarge: #5a6478; --romlys: #f2f3f7; }
.rom-drift { --romfarge: #3f5f73; --romlys: #f0f4f6; }
.kanal-alle { --romfarge: #4a3fa8; } .kanal-styret { --romfarge: #2f2f33; } .kanal-ledelse { --romfarge: #4a3fa8; }
.kanal-medlem { --romfarge: #4d6b5f; } .kanal-kommunikasjon { --romfarge: #4f6d8a; } .kanal-film { --romfarge: #6b5b7b; }
.kanal-frivillige { --romfarge: #3d6b6f; } .kanal-salg { --romfarge: #5a6478; } .kanal-drift { --romfarge: #3f5f73; }
.prikk { background: var(--romfarge); }
.ordmerke { font-weight: 700; letter-spacing: -.015em; }
.ordmerke em { color: var(--rod); font-style: normal; font-weight: 400; }
h1, h2, h3 { letter-spacing: -.02em; }
.velkomst h1 em { font-style: normal; }
.velkomst h1 { overflow-wrap: break-word; hyphens: manual; }

/* Demo-banneret: «Se rundt» + «Under utvikling» */
.demo-banner { position: static; background: #f6f5fd; border-bottom-color: #e2def5; color: #2b2560; }
.demo-banner .utv { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid #d8d3f1; font-size: 13px; font-weight: 600; color: #4a3fa8; }
.demo-valg a { border-color: #d8d3f1; }
.demo-valg a.aktiv { background: #4a3fa8; border-color: #4a3fa8; color: #fff; }
.demo-valg a.aktiv:hover { color: #fff; }
.demo-fot { border-top: 1px solid var(--linje); padding: 22px 16px; font-size: 14px; color: var(--grå); text-align: center; }
body.app .demo-fot { grid-column: 1 / -1; }
.tilbake-til-forslag { font-size: 14px; color: #2b2560; }

/* Hengelås «Kommer» – elegant og rolig */
.laas-merke { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 8px; border-radius: 999px; background: #fff; border: 1px solid #d8d3f1; color: #4a3fa8; font: 600 13px/1.3 var(--sans); white-space: nowrap; }
.laas-merke svg { width: 15px; height: 15px; }
.laas-kort { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start; background: linear-gradient(180deg, #fbfaff, #f6f5fd); border: 1px dashed #cfc9ee; border-radius: var(--r-stor); padding: 22px 24px; color: var(--tekst); }
.laas-kort .laas-ikon { grid-row: span 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid #e2def5; color: #4a3fa8; display: inline-flex; align-items: center; justify-content: center; }
.laas-kort h3 { font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.laas-kort p { margin: 4px 0 0; color: var(--grå); font-size: 16px; }
.laas-kort .knapperad { margin-top: 16px; }
.laas-rad { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.laast-knapp { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px dashed #c9c3ea; background: #fff; color: #5b5490; font: 600 15px/1.2 var(--sans); cursor: not-allowed; }
.laast-knapp svg { width: 16px; height: 16px; }
.faner a.laast { color: #8a85b0; }
.faner a.laast svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 4px; }

/* Portretter i organisasjonskartet: bilde i sirkelen, navn UNDER (aldri tekst over ansikter) */
.okart-folk { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.psirkel { display: grid; justify-items: center; align-content: start; gap: 4px; width: 168px; text-align: center; text-decoration: none; color: var(--sort); }
.psirkel-bilde { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--romfarge); background: var(--romlys); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 34px; color: var(--romfarge); transition: box-shadow .15s; }
.psirkel-bilde img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.psirkel:hover { color: var(--sort); } .psirkel:hover .psirkel-bilde { box-shadow: 0 0 0 3px var(--romfarge); }
.psirkel-navn { margin-top: 8px; font-weight: 600; font-size: 16px; line-height: 1.25; }
.psirkel-rolle { font-size: 14px; color: var(--grå); line-height: 1.3; }
.psirkel-tilgang { font-size: 13px; color: var(--romfarge); font-weight: 600; line-height: 1.3; margin-top: 2px; }
.psirkel.ledig .psirkel-bilde { border-style: dashed; box-shadow: 0 0 0 2px #d4d4d8; color: #a1a1aa; background: #fafafa; }
.psirkel.ledig { color: var(--grå); }
.avatar-bilde { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--linje); background: var(--romlys); display: inline-flex; align-items: center; justify-content: center; color: var(--romfarge); font-weight: 700; }
.avatar-bilde img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.avatar-bilde.stor { width: 132px; height: 132px; font-size: 44px; }
.avatar-bilde.liten { width: 36px; height: 36px; font-size: 14px; }
.okort .avatar-bilde { grid-row: span 2; }
.profil-topp { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.profil-topp h1 { font-size: clamp(30px, 3.6vw, 40px); }

/* Roller og «mange roller» */
.merke.belastning { background: #fbf7ec; color: #6a5414; border-color: #ecdfb8; }
.rolle-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--flate); border: 1px solid var(--linje); font-size: 13px; margin: 0 4px 4px 0; }

/* Oppgaver */
.oppg-liste { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.oppg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linje); }
.oppg:first-child { border-top: 0; }
.oppg strong { font-weight: 600; color: var(--sort); }
.oppg small { display: block; margin-top: 2px; }
.oppg.gjort strong { color: var(--grå); text-decoration: line-through; }
.st { display: inline-block; font: 600 12px/1.3 var(--sans); padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.st-maa { background: #f1effb; color: #3a3088; } .st-vent { background: #f7f2e2; color: #6a5414; } .st-gjort { background: #eef6f1; color: #24513a; } .st-snart { background: #fbeeee; color: #8a1c24; }
.avkryss-knapp { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d4d4d8; border-radius: 999px; padding: 7px 14px; font: 600 14px/1.2 var(--sans); color: var(--sort); cursor: pointer; }
.avkryss-knapp .boks { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #9a9aa3; display: inline-block; }
.oppg.gjort .avkryss-knapp .boks { background: #24513a; border-color: #24513a; box-shadow: inset 0 0 0 2px #fff; }
.ny-oppg { margin-top: 20px; }
.ny-oppg summary { cursor: pointer; font-weight: 600; color: var(--romfarge); }
.ny-oppg form { margin-top: 16px; }

/* Spørsmålsbanken */
.qa-sok { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 24px; }
.qa-sok input { flex: 1 1 260px; }
.qa-kat { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.qa-kat button { border: 1px solid #d8d3f1; background: #fff; border-radius: 999px; padding: 6px 14px; font: 500 15px/1.2 var(--sans); color: #2b2560; cursor: pointer; }
.qa-kat button.aktiv { background: #4a3fa8; border-color: #4a3fa8; color: #fff; }
.qa details { padding: 18px 0; }
.qa summary { font-family: var(--sans); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--rod); font-weight: 400; font-size: 24px; line-height: 1; }
.qa details[open] summary::after { content: '–'; }
.qa .qa-meta { margin: 12px 0 0; font-size: 14px; color: var(--grå); }
.qa .nyttig { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--grå); }
.qa .nyttig button { border: 1px solid #d4d4d8; background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; cursor: pointer; }
.qa .nyttig button.valgt { border-color: #4a3fa8; color: #4a3fa8; font-weight: 600; }
.qa .venter summary { color: var(--grå); }

/* Innlogging: robotsjekk og låsing (demo) */
.robotsjekk { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #d4d4d8; border-radius: 10px; padding: 12px 14px; background: #fafafa; font-size: 15px; }
.robotsjekk label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.robotsjekk input { width: 22px; height: 22px; min-height: 0; margin: 0; }
.robotsjekk small { font-size: 12px; color: var(--grå); text-align: right; line-height: 1.3; }
.demo-hint { background: #f6f5fd; border: 1px solid #e2def5; color: #2b2560; border-radius: 12px; padding: 12px 16px; font-size: 15px; margin: 18px 0 0; }
.demo-hint code { font-size: 14px; background: #fff; border-radius: 6px; padding: 1px 6px; }
.kode-boks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 16px; background: var(--flate); border-radius: 12px; font: 600 16px/1.4 ui-monospace, Menlo, Consolas, monospace; }
.qr-plass { width: 168px; height: 168px; border-radius: 14px; border: 1px solid var(--linje); background: repeating-linear-gradient(45deg, #f4f3fb 0 8px, #fff 8px 16px); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--grå); padding: 12px; }
.enkel-boks .ordmerke { display: inline-block; margin-bottom: 24px; }
.enkel-lenker { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 15px; }

/* Vakter, ukemål og ringeliste */
.vakt { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linje); }
.vakt:first-child { border-top: 0; }
.vakt-dato { font-weight: 600; font-size: 15px; }
.maal { background: var(--romlys); border-radius: var(--r-stor); padding: 24px 26px; }
.maal-tall { font-size: 40px; font-weight: 700; color: var(--sort); line-height: 1.1; }
.maal-stolpe { height: 12px; background: #fff; border-radius: 999px; overflow: hidden; margin: 14px 0 6px; }
.maal-fyll { display: block; height: 100%; background: var(--romfarge); border-radius: 999px; transition: width .3s; }
.ring { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linje); }
.ring:first-child { border-top: 0; }
.ring.ringt strong { color: var(--grå); }

/* Kalender (demo) */
.kal-uke { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--linje); border: 1px solid var(--linje); border-radius: var(--r); overflow: hidden; }
.kal-dag { background: #fff; min-height: 116px; padding: 8px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kal-dag.idag { background: var(--romlys); }
.kal-dag b { font-size: 13px; color: var(--grå); font-weight: 600; text-transform: capitalize; }
.kal-hend { font-size: 13px; line-height: 1.3; padding: 4px 6px; border-radius: 6px; background: var(--romlys); border-left: 3px solid var(--romfarge); overflow-wrap: anywhere; }

/* Meldinger i demoen */
.mld { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.mld li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.mld-topp { font-size: 15px; } .mld-topp time { color: var(--grå); margin-left: 6px; font-size: 14px; }
.mld-tekst { margin: 2px 0 0; }
.mld li.skjult .mld-tekst { color: var(--grå); font-style: italic; }
.mld-verktoy { margin-top: 4px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: min(560px, calc(100vw - 32px)); background: #1f1b3d; color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px; box-shadow: 0 10px 30px rgba(20,20,40,.25); }

/* Forsiden (inngangen) */
.forside-ute .demo-valg a { font-size: 14px; }
.inngang-folk { margin-top: 72px; }
.inngang-folk h2 { margin-bottom: 24px; }

@media (max-width: 900px) {
  .info-oppsett { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  .info-meny { position: static; }
  .vakt { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .oppg { grid-template-columns: minmax(0, 1fr); }
  .kal-uke { grid-template-columns: minmax(0, 1fr); }
  .kal-dag { min-height: 0; }
  .laas-kort { grid-template-columns: minmax(0, 1fr); }
  .laas-kort .laas-ikon { grid-row: auto; }
  .psirkel { width: 140px; } .psirkel-bilde { width: 96px; height: 96px; font-size: 28px; }
  .kode-boks { grid-template-columns: minmax(0, 1fr); }
  .robotsjekk { flex-wrap: wrap; }
}
@media print { .demo-banner, .testuke, .demo-fot, .toast { display: none !important; } }

/* 18.11: Denne uken + Mine varsler */
.uke-rad { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--linje); border-radius: 6px; padding: 16px 20px 14px; }
.uke-rad h3 { margin: 0 0 8px; font: 600 15px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--grå); }
.uke-rad ul { list-style: none; margin: 0; padding: 0; }
.uke-rad li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--linje); font-size: 15.5px; line-height: 1.4; }
.uke-rad li:first-child { border-top: 0; }
.uke-rad .uke-dato { color: var(--grå); font-size: 14.5px; }
.uke-rad a { color: var(--tekst); text-decoration: none; } .uke-rad a:hover { text-decoration: underline; }
@media (max-width: 900px) { .venter-plass { align-items: stretch; } .uke-rad { max-width: none; } .uke-rad li { grid-template-columns: 1fr; gap: 2px; } }
.varsel-skjema { display: grid; gap: 4px; margin-top: 16px; }
.varsel-valg { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--linje); cursor: pointer; }
.varsel-valg:first-of-type { border-top: 0; }
.varsel-valg input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rod); }
.varsel-valg strong { display: block; font-size: 16.5px; }
.varsel-valg small { display: block; font-size: 15px; color: var(--grå); line-height: 1.45; margin-top: 2px; }
.varsel-skjema .knapperad { margin-top: 24px; }
.uke-rad-demo { max-width: none; border-radius: 16px; background: #f7f6fc; border-color: transparent; }
.epost-demo { margin-top: 12px; padding: 18px 20px; border-radius: 12px; background: #f7f6fc; }
.epost-demo ul { list-style: none; margin: 10px 0; padding: 0; }
.epost-demo li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--linje); }
.epost-demo li span { color: var(--grå); }

/* 18.11: innleggsboksen og strømmen (som Skool/Facebook) */
.pa-seksjon .kortseksjon-hode { margin-bottom: 28px; }
.pa-side { max-width: 760px; margin: 72px auto 0; }
.pa-seksjon > .pb-ramme, .pa-seksjon > .pa-strom, .pa-seksjon > .pa-tom, .pa-seksjon > .pa-alle-lenke { max-width: 760px; }
.pb-skjult-etikett { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb-ramme { background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); box-shadow: var(--skygge); margin: 0 0 32px; }
.pb-ramme > summary { list-style: none; }
.pb-ramme > summary::-webkit-details-marker { display: none; }
.pb-start { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: text; }
.pb-start-tekst { flex: 1; color: var(--grå); font-size: 17px; background: var(--flate); border-radius: 999px; padding: 11px 18px; transition: background .15s; }
.pb-start:hover .pb-start-tekst { background: #f0f0f2; }
.pb-ramme[open] > .pb-start { display: none; }
.pb { padding: 22px 24px 20px; }
.pb .feil { margin: 0 0 16px; }
.pb-hvem { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 16px; color: var(--grå); }
.pb-hvem strong { color: var(--sort); }
.pb-hvor { color: var(--sort); font-weight: 600; }
.pb-tittel { border: 0; padding: 4px 0; min-height: 0; font: 600 26px/1.3 var(--serif); color: var(--sort); letter-spacing: -.01em; background: transparent; }
.pb-tekst { border: 0; padding: 6px 0; min-height: 80px; font: 17px/1.6 var(--sans); resize: none; background: transparent; }
.pb-tittel:focus, .pb-tekst:focus { box-shadow: none; outline: none; }
.pb-tittel::placeholder { color: #9a9ca1; } .pb-tekst::placeholder { color: #9a9ca1; }
.pb-ruter { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0; }
.pb-js .pb-ruter:not(.har) { display: none; }
.pb-rute, .pb-pluss { position: relative; width: 104px; height: 104px; border-radius: 14px; overflow: hidden; flex: none; }
.pb-rute { background: var(--flate); border: 1px solid var(--linje); }
.pb-rute img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-rute-fil { display: flex; align-items: center; justify-content: center; height: 100%; padding: 10px; font-size: 13px; line-height: 1.3; text-align: center; word-break: break-word; color: var(--tekst); }
.pb-rute-fjern { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(20,20,20,.62); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.pb-pluss { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed #c9cace; color: var(--grå); cursor: pointer; background: #fff; transition: border-color .15s, color .15s; }
.pb-pluss:hover { border-color: var(--sort); color: var(--sort); }
.pb-pluss[hidden] { display: none; }
.pb-js .pb-filfelt { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; }
.pb:not(.pb-js) .pb-ruter { display: block; } .pb:not(.pb-js) .pb-pluss { width: auto; height: auto; border: 0; } .pb:not(.pb-js) .pb-pluss svg { display: none; }
.pb-filfeil { margin: 10px 0 0; color: #7d0d14; font-size: 15px; }
.pb-del { margin: 18px 0 0; padding: 16px 18px; background: var(--flate); border-radius: 14px; }
.pb-js .pb-del[data-skjult] { display: none; }
.pb-del .felt { margin: 0; }
.pb-avst { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-avst legend { font-weight: 600; font-size: 15px; color: var(--sort); margin: 0 0 10px; padding: 0; }
.pb-avst input[hidden] { display: none; }
.pb-flere-valg { justify-self: start; font-size: 15px; }
.pb-bunn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linje); }
.pb-verktoy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pb-v { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: #55585e; cursor: pointer; transition: background .15s, color .15s; }
.pb-v:hover, .pb-v.aktiv { background: var(--flate); color: var(--sort); }
.pb-v.aktiv { color: var(--rod); }
.pb-gif-tekst { font: 700 12px/1 var(--sans); letter-spacing: .04em; border: 1.7px solid currentColor; border-radius: 5px; padding: 3px 4px; }
.pb-laast { color: #a8aaae; cursor: default; }
.pb-laast:hover { background: transparent; color: #a8aaae; }
.pb-las { position: absolute; right: 2px; bottom: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; color: var(--grå); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.pb-kommer { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: var(--sort); color: #fff; font: 600 13px/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.pb-laast:hover .pb-kommer, .pb-laast:focus .pb-kommer, .pb-laast.vis .pb-kommer { opacity: 1; }
.pb-emoji-hold { position: relative; }
.pb-emoji { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; display: grid; grid-template-columns: repeat(8, 38px); gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--linje); border-radius: 16px; box-shadow: 0 10px 34px rgba(20,20,20,.14); }
.pb-emoji[hidden] { display: none; }
.pb-em { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.pb-em:hover { background: var(--flate); }
.pb-rom { position: relative; }
.pb-romfast { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--flate); font-weight: 600; font-size: 15px; color: var(--sort); }
.pb-romvelger > summary { list-style: none; } .pb-romvelger > summary::-webkit-details-marker { display: none; }
.pb-romknapp { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px 8px 18px; border-radius: 999px; border: 1px solid #d4d4d8; background: #fff; font-weight: 600; font-size: 15px; color: var(--sort); cursor: pointer; max-width: 340px; }
.pb-romknapp-tekst { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-romknapp:hover { border-color: var(--sort); }
.pb-romvelger[open] .pb-romknapp svg { transform: rotate(180deg); }
.pb-romliste { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 320px; max-width: calc(100vw - 48px); padding: 18px 16px 14px; background: #fff; border: 1px solid var(--linje); border-radius: 18px; box-shadow: 0 14px 40px rgba(20,20,20,.16); }
.pb-romliste-tittel { margin: 0 4px 2px; font: 600 18px/1.3 var(--serif); color: var(--sort); }
.pb-romliste-hint { margin: 0 4px 12px; font-size: 14px; color: var(--grå); }
.pb-romvalg { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; cursor: pointer; }
.pb-romvalg:hover { background: var(--flate); }
.pb-romvalg input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--rod); margin: 0; }
.pb-romvalg strong { display: block; font-size: 16px; font-weight: 600; color: var(--sort); }
.pb-romvalg small { display: block; font-size: 13px; }
.pb-romvalg.av { opacity: .45; }
.pb-alle { background: var(--rod-lys); margin-bottom: 6px; }
.pb-alle:hover { background: #f8e3e4; }
.pb-romprikk { width: 10px; height: 10px; border-radius: 50%; background: var(--romfarge); flex: none; }
.pb-romliste-bunn { margin: 12px 0 0; text-align: right; }
.pb:not(.pb-js) .pb-romliste { position: static; box-shadow: none; width: auto; margin-top: 10px; }
.pb-handlinger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 0; }
.pb-bryter { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tekst); cursor: pointer; }
.pb-bryter input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.pb-bryter-spor { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d4d4d8; transition: background .15s; flex: none; }
.pb-bryter-spor::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.pb-bryter input:checked + .pb-bryter-spor { background: var(--rod); }
.pb-bryter input:checked + .pb-bryter-spor::after { transform: translateX(18px); }
.pb-bryter input:focus-visible + .pb-bryter-spor { box-shadow: 0 0 0 3px rgba(74,63,168,.22); }
.pb-knapper { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.pb-avbryt { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--grå); font: 600 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.pb-avbryt:hover { background: var(--flate); color: var(--sort); }
.pb-post { min-height: 46px; min-width: 112px; padding: 11px 30px; border: 1px solid #4a3fa8; border-radius: 999px; background: #4a3fa8; color: #fff; font: 600 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 2px 10px rgba(74,63,168,.18); transition: background .15s, box-shadow .15s, opacity .15s; }
.pb-post:hover { background: #382f86; border-color: #382f86; }
.pb-post:disabled { background: #e9b7ba; border-color: #e9b7ba; box-shadow: none; cursor: not-allowed; }

.pa-strom { display: grid; gap: 24px; }
.pa { background: #fff; border: 1px solid var(--linje); border-radius: var(--r-stor); padding: 24px 26px 18px; box-shadow: 0 1px 2px rgba(20,20,20,.03); }
.pa-topp { display: flex; align-items: flex-start; gap: 14px; }
.pa-topp > p { flex: 1; margin: 0; font-size: 15px; color: var(--grå); line-height: 1.5; }
.pa-topp strong { color: var(--sort); font-size: 16px; }
.pa-rom { display: inline-block; margin: 0 2px; padding: 1px 10px; border-radius: 999px; background: var(--romlys); color: var(--romfarge); font-weight: 600; font-size: 14px; text-decoration: none; }
.pa-rom:hover { color: var(--sort); }
.pa-mer { position: relative; } .pa-mer > summary { list-style: none; cursor: pointer; padding: 2px 10px; border-radius: 10px; color: var(--grå); font-size: 20px; } .pa-mer > summary::-webkit-details-marker { display: none; }
.pa-mer > form { position: absolute; right: 0; top: 100%; z-index: 10; white-space: nowrap; background: #fff; border: 1px solid var(--linje); border-radius: 12px; padding: 12px 16px; box-shadow: var(--skygge); }
.pa-tittel { margin: 18px 0 0; font-size: 24px; line-height: 1.3; }
.pa-tekst { margin: 10px 0 0; } .pa-tekst p { margin: 0 0 12px; }
.pa-bilder { display: grid; gap: 6px; margin: 16px 0 0; border-radius: 16px; overflow: hidden; }
.pa-bilder-2, .pa-bilder-4 { grid-template-columns: 1fr 1fr; } .pa-bilder-3 { grid-template-columns: 1fr 1fr 1fr; }
.pa-bilde { display: block; background: var(--flate); aspect-ratio: 4 / 3; }
.pa-bilder-1 .pa-bilde { aspect-ratio: auto; display: flex; justify-content: center; align-items: center; }
.pa-bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pa-bilder-1 .pa-bilde img { width: auto; height: auto; max-width: 100%; max-height: 520px; }
.pa-video { display: flex; align-items: center; gap: 16px; margin: 16px 0 0; padding: 18px; border-radius: 16px; background: #1d1f24; color: #fff; cursor: pointer; }
.pa-video.spiller { display: block; padding: 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.pa-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pa-video-spill { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: #4a3fa8; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding-left: 4px; }
.pa-video-tekst strong { display: block; font-size: 17px; } .pa-video-tekst small { color: #c9cbd0; } .pa-video-tekst a { color: #fff; }
.pa-lenke { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--flate); border: 1px solid var(--linje); color: var(--tekst); text-decoration: none; }
.pa-lenke:hover { border-color: #c9cace; color: var(--sort); }
.pa-lenke strong { display: block; color: var(--sort); } .pa-lenke small { display: block; word-break: break-all; }
.pa-filer { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.pa-filer a { display: inline-flex; align-items: center; gap: 8px; }
.pa-avst { margin: 18px 0 0; padding: 18px; border-radius: 16px; background: var(--romlys, #f7f7f8); background: #f6f7f9; display: grid; gap: 10px; }
.pa-avst-tittel { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 600; font-size: 15px; color: var(--sort); }
.pa-valg { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; border-radius: 12px; border: 1px solid #dcdde1; background: #fff; font: 16px/1.3 var(--sans); color: var(--tekst); text-align: left; cursor: pointer; overflow: hidden; }
.pa-valg:hover { border-color: var(--sort); }
.pa-valg.valgt { border-color: var(--rod); }
.pa-valg-fyll { position: absolute; left: 0; top: 0; bottom: 0; background: var(--rod-lys); transition: width .3s; }
.pa-valg-tekst, .pa-valg-tall { position: relative; } .pa-valg-tall { font-weight: 600; color: var(--sort); }
.pa-p-0 { width: 0%; } .pa-p-5 { width: 5%; } .pa-p-10 { width: 10%; } .pa-p-15 { width: 15%; } .pa-p-20 { width: 20%; } .pa-p-25 { width: 25%; } .pa-p-30 { width: 30%; } .pa-p-35 { width: 35%; } .pa-p-40 { width: 40%; } .pa-p-45 { width: 45%; } .pa-p-50 { width: 50%; } .pa-p-55 { width: 55%; } .pa-p-60 { width: 60%; } .pa-p-65 { width: 65%; } .pa-p-70 { width: 70%; } .pa-p-75 { width: 75%; } .pa-p-80 { width: 80%; } .pa-p-85 { width: 85%; } .pa-p-90 { width: 90%; } .pa-p-95 { width: 95%; } .pa-p-100 { width: 100%; }

.pa-kommentarer { margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--linje); }
.pa-kommentarer > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; color: var(--grå); font-size: 15px; font-weight: 600; padding: 6px 10px; margin-left: -10px; border-radius: 10px; }
.pa-kommentarer > summary::-webkit-details-marker { display: none; }
.pa-kommentarer > summary:hover { background: var(--flate); color: var(--sort); }
.pa-kom-liste { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.pa-kom { display: flex; gap: 12px; } .pa-kom > div { flex: 1; background: var(--flate); border-radius: 14px; padding: 10px 14px; }
.pa-kom p { margin: 0; } .pa-kom-topp { font-size: 15px; } .pa-kom-topp time { color: var(--grå); font-size: 13px; margin-left: 6px; }
.pa-liten { font-size: 13px; }
.pa-kom-skjema { display: flex; align-items: flex-end; gap: 10px; margin: 14px 0 0; }
.pa-kom-skjema textarea { min-height: 44px; border-radius: 22px; padding: 10px 16px; resize: none; }
.pa-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.pa-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linje); background: #fff; color: var(--tekst); text-decoration: none; font-size: 15px; }
.pa-filter a.aktiv { background: var(--sort); color: #fff; border-color: var(--sort); }
.pa-tom { margin: 8px 0 0; }
.pa-alle-lenke { margin: 24px 0 0; }

.vm-las { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 7px 14px; border-radius: 999px; background: #f4f5f7; border: 1px solid var(--linje); color: #6b6e74; font-size: 14px; font-weight: 600; cursor: default; }
.vm-kommer { font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--grå); background: #fff; border-radius: 999px; padding: 2px 8px; }
.hendelse-tekst .vm-las { display: flex; width: fit-content; }
@media (max-width: 640px) {
  .pb { padding: 18px 16px 16px; }
  .pb-tittel { font-size: 22px; }
  .pb-bunn { flex-direction: column; align-items: stretch; }
  .pb-rom, .pb-romvelger, .pb-romknapp { width: 100%; max-width: none; }
  .pb-romknapp { justify-content: space-between; }
  .pb-romliste { left: 0; right: 0; width: auto; max-width: none; }
  .pb-handlinger { flex-direction: column; align-items: stretch; }
  .pb-knapper { margin-left: 0; justify-content: flex-end; }
  .pb-post { flex: 1; }
  .pb-rute, .pb-pluss { width: 84px; height: 84px; }
  .pb-emoji { grid-template-columns: repeat(7, 38px); }
  .pa { padding: 18px 16px 14px; }
  .pa-tittel { font-size: 21px; }
  .pa-side { margin-top: 48px; }
}
.pb-post:disabled { background: #cfcaf0; border-color: #cfcaf0; }
.pb-alle:hover { background: #e9e6f8; }
.pb-avst legend, .pb-romliste-tittel { font-family: var(--sans); }
.pa-tittel { font-family: var(--sans); font-weight: 700; }
.pa-seksjon .avatar-bilde, .pb .avatar-bilde, .pb-start .avatar-bilde, .pa .avatar-bilde { width: 40px; height: 40px; }
.pa-seksjon .avatar-bilde.liten, .pb-start .avatar-bilde.liten, .pa-kom .avatar-bilde.liten { width: 36px; height: 36px; }
.avatar-bilde img { width: 100%; height: 100%; object-fit: cover; }
.pa-bilde img { max-height: 420px; }
.avtaler-vm { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.avtaler-vm li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--flate); }
.avtaler-vm .vm-tekst strong { display: inline; }
.avtaler-vm .vm-las { display: flex; width: fit-content; }
@media (max-width: 640px) { .avtaler-vm li { grid-template-columns: 1fr; gap: 6px; } }
