/* Tilpass Hjem og Verktøy (hjem-valg.js): egne snarveier, valgfrie kort på Hjem, og hvilke verktøy som vises.
   Kortet bruker sidelistenes egne klasser (.gjoreliste, .gl-topp, .ao-alle), så det ser ut som naboene. */

/* Plassene på Hjem (moduler). To spalter på PC: plass 1, 3, 5 til venstre og 2, 4, 6 til høyre,
   så en høy modul ikke lager hull ved siden av seg. På smal skjerm blir spaltene borte
   (display:contents) og plassene står i rekkefølge med `order`. I appen flyttes ingenting. */
html:not(.vs-native) .sidelister.hk-flyttet,html:not(.vs-native) .snarveier.hk-flyttet{display:none!important;}
#hjem-kort[hidden],.vs-tools-page #hjem-kort,.vs-tools-page .hk-tilpass-app,.vs-tools-page .hk-tips,.vs-tools-page #hk-oppg-topp{display:none!important;}
#hjem-kort{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;min-width:0;}
.hk-spalte{display:grid;gap:20px;align-content:start;min-width:0;}
.hk-plassen{min-width:0;}
.hk-plassen > .gjoreliste{margin:0;}
.hk-plassen:empty,.hk-plassen:has(> .gjoreliste[hidden]){display:none;}
.hk-fot{grid-column:1/-1;order:99;display:flex;align-items:baseline;justify-content:center;gap:22px;padding-top:2px;}
.hk-fot a{font-size:14px;font-weight:600;color:var(--green2,#155F55);text-underline-offset:3px;}
@media (max-width:1100px){
  #hjem-kort{grid-template-columns:minmax(0,1fr);}
  .hk-spalte{display:contents;}
  /* Tomme plasser vises ikke på smal skjerm. «Tilpass Hjem» nederst holder. */
  .hk-plassen.hk-ledig{display:none;}
}
.hk-plass{display:grid;justify-items:center;gap:10px;padding:26px 18px;border:1.5px dashed #CBD8D1;border-radius:14px;text-align:center;color:var(--muted,#335B56);font-size:14px;}
.hk-plass p{margin:0;}
.hk-knapp{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid #C6D1CA;border-radius:10px;background:#fff;color:#155F55;font:600 14px/1.2 Inter,sans-serif;cursor:pointer;}
.hk-knapp:hover{background:#F2F6F3;border-color:#1A7A6E;}
.hk-bytt{flex:none;margin-left:auto;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:#5E716C;cursor:pointer;}
.hk-bytt:hover{background:#EEF4EE;color:#155F55;}
.hk-bytt svg{width:18px;height:18px;}
.hk-kort{min-width:0;}
#hjem-kort .gl-topp{align-items:center;justify-content:flex-start;}
.hk-under{font-size:13px;color:var(--muted,#335B56);margin:-6px 0 8px;}
.hk-liste{list-style:none;margin:0;padding:0;}
.hk-rad{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #EEF4EE;color:var(--ink,#1E2B1A);text-decoration:none;font-size:14px;line-height:1.4;}
.hk-liste li:last-child .hk-rad{border-bottom:0;}
a.hk-rad:hover .hk-navn{color:#155F55;text-decoration:underline;text-underline-offset:3px;}
.hk-tekst{display:grid;min-width:0;flex:1;}
.hk-navn{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hk-meta{font-size:12.5px;color:var(--muted,#335B56);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hk-hoyre{flex:none;font-size:13px;font-weight:600;color:var(--muted,#335B56);font-variant-numeric:tabular-nums;}
.hk-ulest{flex:none;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:#1A7A6E;color:#fff;font:700 12px/22px Inter,sans-serif;text-align:center;}
.hk-pagar{color:#155F55;}
.hk-tom{font-size:13px;color:var(--muted,#335B56);text-align:center;padding:14px 6px 6px;margin:0;}

/* Tilpass-knappen ved overskriftene */
.snar-topp .snar-lenker{display:flex;align-items:baseline;gap:18px;}
.hv-tilpass{border:0;background:none;padding:4px 0;font:600 14px/1.2 Inter,sans-serif;color:var(--green2,#155F55);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.hv-tilpass:hover{color:#0f4a42;}
.snar-tom{font-size:14px;color:var(--muted,#335B56);margin:0;}
.tool-search .hv-verktoy-topp{display:flex;align-items:baseline;justify-content:space-between;gap:12px;}
.tool-search .hv-verktoy-topp label{margin:0;}

/* Dialogen */
.hv-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:18px;background:#fff;color:#1E2B1A;box-shadow:0 18px 60px #172d3044;font:16px/1.5 Inter,sans-serif;}
.hv-dialog[open]{display:flex;flex-direction:column;}
.hv-dialog::backdrop{background:#15251c77;}
.hv-dialog :focus-visible{outline:3px solid #1A7A6E;outline-offset:2px;}
.hv-hode{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px 24px 6px;}
.hv-hode h2{margin:0;font:800 23px/1.25 Nunito,sans-serif;}
.hv-hode p{margin:4px 0 0;font-size:14px;color:#46605A;}
.hv-lukk{flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#EDF1EE;color:#46605A;font:400 22px/1 Inter,sans-serif;cursor:pointer;}
.hv-lukk:hover{background:#E1E7E2;}
.hv-innhold{overflow:auto;padding:6px 24px 8px;}
.hv-innhold fieldset{border:0;margin:0 0 18px;padding:0;min-width:0;}
.hv-innhold legend{padding:0;margin:12px 0 8px;font:800 13px/1.4 Nunito,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#46605A;}
.hv-gruppe{margin:14px 0 6px;font:700 13px/1.4 Inter,sans-serif;color:#46605A;}
.hv-valg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.hv-rad{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 10px;border:1px solid #DCE3DD;border-radius:12px;background:#fff;cursor:pointer;}
.hv-rad:hover{border-color:#1A7A6E;background:#FBFCFA;}
.hv-rad:has(input:checked){border-color:#1A7A6E;background:#EEF6F4;}
.hv-rad input{flex:none;width:20px;height:20px;margin:0;accent-color:#155F55;}
.hv-rad img{flex:none;width:34px;height:34px;object-fit:contain;}
.hv-rad span{display:grid;min-width:0;}
.hv-rad b{font-size:14px;font-weight:600;line-height:1.3;}
.hv-rad small{font-size:12.5px;line-height:1.35;color:#46605A;}
.hv-merk{font-size:13px;color:#46605A;margin:4px 0 0;}
.hv-fot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px 20px;border-top:1px solid #E3E8E4;}
.hv-status{font-size:13px;color:#46605A;}
.hv-ferdig{min-height:44px;padding:9px 20px;border:0;border-radius:10px;background:#155F55;color:#fff;font:700 15px/1.2 Inter,sans-serif;cursor:pointer;}
.hv-ferdig:hover{background:#0f4a42;}
@media (max-width:560px){
  .hv-valg{grid-template-columns:minmax(0,1fr);}
  .hv-hode,.hv-innhold,.hv-fot{padding-left:16px;padding-right:16px;}
}
@media print{#hjem-kort,.hv-tilpass{display:none!important;}}

/* Mini-kalender */
.mk-nav{display:flex;gap:2px;margin-left:auto;}
.mk-nav + .hk-bytt{margin-left:0;}
.mk-bla{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:#46605A;font:600 20px/1 Inter,sans-serif;cursor:pointer;}
.mk-bla:hover{background:#EEF4EE;color:#155F55;}
.mk-rutenett{display:grid;gap:2px;}
.mk-rad{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;}
.mk-hode span{padding:2px 0 4px;text-align:center;font:700 11.5px/1.2 Inter,sans-serif;color:#5E716C;text-transform:uppercase;letter-spacing:.03em;}
.mk-dag{display:grid;justify-items:center;align-content:center;gap:2px;min-height:40px;border-radius:9px;color:var(--ink,#1E2B1A);text-decoration:none;font:500 14px/1 Inter,sans-serif;font-variant-numeric:tabular-nums;}
.mk-dag:hover{background:#EEF4EE;}
.mk-helg{color:#5E716C;}
.mk-utenfor{color:#A3ADA6;}
.mk-noe{font-weight:700;}
.mk-idag{background:#155F55;color:#fff;font-weight:700;}
.mk-idag:hover{background:#0f4a42;}
.mk-prikker{display:flex;gap:3px;height:5px;}
.mk-prikker i{width:5px;height:5px;border-radius:50%;background:var(--c);}
.mk-idag .mk-prikker i{background:#fff;}
.mk-neste{display:flex;align-items:baseline;gap:8px;margin:10px 0 0;padding:9px 10px;border-radius:9px;background:#F4F6F3;font-size:13px;min-width:0;}
.mk-neste span:first-child{flex:none;font-weight:700;color:#46605A;}
.mk-neste a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--ink,#1E2B1A);text-decoration:none;}
.mk-neste a:hover{text-decoration:underline;text-underline-offset:3px;}
.mk-flere{flex:none;margin-left:auto;font-weight:700;color:#5E716C;}

/* Denne uka */
.uk-liste,.uk-ting{list-style:none;margin:0;padding:0;}
.uk-dag{display:flex;gap:12px;padding:8px 2px;border-bottom:1px solid #EEF4EE;}
.uk-dag:last-child{border-bottom:0;}
.uk-dato{flex:none;display:grid;justify-items:center;width:40px;padding:3px 0;border-radius:9px;color:#46605A;text-decoration:none;line-height:1.15;}
.uk-dato span{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;}
.uk-dato b{font:800 18px/1.15 Nunito,sans-serif;color:var(--ink,#1E2B1A);}
.uk-dato:hover{background:#EEF4EE;}
.uk-idag .uk-dato{background:#155F55;color:#fff;}
.uk-idag .uk-dato b{color:#fff;}
.uk-forbi{opacity:.6;}
.uk-ting{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-content:center;}
.uk-hendelse{display:flex;gap:8px;align-items:baseline;padding:5px 9px;border-left:4px solid var(--c);border-radius:7px;background:#F4F6F3;background:color-mix(in srgb,var(--c) 11%,#fff);color:var(--ink,#1E2B1A);text-decoration:none;font-size:13.5px;min-width:0;}
.uk-hendelse:hover{background:color-mix(in srgb,var(--c) 20%,#fff);}
.uk-tid{flex:none;font-size:12.5px;font-weight:700;color:#46605A;font-variant-numeric:tabular-nums;}
.uk-tittel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}
.uk-ingen{flex:1;align-self:center;font-size:13px;color:#7D8A84;}

/* Snarveier i en plass */
.hk-snar img{flex:none;width:36px;height:36px;object-fit:contain;}
.hk-velg-snar{display:block;margin:10px auto 2px;}
.hk-stor{display:flex;align-items:center;gap:16px;padding:6px 4px 4px;color:var(--ink,#1E2B1A);text-decoration:none;}
.hk-stor img{flex:none;width:72px;height:72px;object-fit:contain;}
.hk-stor span:not(.hk-apne){display:grid;gap:2px;flex:1;min-width:0;}
.hk-stor b{font:800 20px/1.25 Nunito,sans-serif;}
.hk-stor small{font-size:13.5px;line-height:1.4;color:var(--muted,#335B56);}
.hk-apne{flex:none;font-size:14px;font-weight:600;color:var(--green2,#155F55);}
.hk-stor:hover b{color:#155F55;text-decoration:underline;text-underline-offset:3px;}
.hk-plassen .gl-topp{align-items:center;}
.hk-plassen .gl-topp .hk-bytt{margin-left:auto;}
.hk-plassen .gl-topp .gl-antall + .hk-bytt{margin-left:0;}
.hk-plassen .gl-topp:has(.gl-antall) .gl-antall{margin-left:auto;}
.hk-plassen .hk-plass{min-height:120px;align-content:center;}

/* Dialogen: plassene som et lite kart over Hjem */
.hv-plasser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;}
.hv-plass{display:grid;gap:4px;padding:10px 12px;border:1px solid #DCE3DD;border-radius:12px;background:#FBFCFA;}
.hv-plass span{font:700 12.5px/1.3 Inter,sans-serif;color:#46605A;}
.hv-plass select{font:inherit;font-size:14px;min-height:44px;padding:8px 10px;border:1px solid #C6D1CA;border-radius:9px;background:#fff;color:#1E2B1A;max-width:100%;}
@media (max-width:560px){.hv-plasser{grid-template-columns:minmax(0,1fr);}}

/* Appen: startsiden er plassene i én spalte (hjem-valg.js tegnApp). #hjem-kort er bare en beholder;
   hvert kort står i .dash sin flex-rekkefølge sammen med Kommende og oppgavene. */
html.vs-native #hjem-kort{display:contents;}
html.vs-native #hjem-kort .hk-plassen{margin:0 0 18px;}
html.vs-native #hjem-kort .hk-kort{background:var(--vs-surface,#fff);border:1px solid var(--vs-border,#DCE3DD);border-radius:14px;padding:14px 16px 10px;}
html.vs-native #hjem-kort .gl-topp h3,html.vs-native .hk-app-topp h3{font:800 17px/1.4 Nunito,sans-serif;}
html.vs-native .hv-plasser{grid-template-columns:minmax(0,1fr);}
html.vs-native .hv-plass{order:0!important;}
html.vs-native #kommende.hk-ikke-valgt{display:none!important;}
/* Pila som lukker og åpner en modul. Hele overskriften kan trykkes. */
.hk-fold{flex:none;display:grid;place-items:center;width:40px;height:40px;margin:-6px -8px -6px 2px;padding:0;border:0;border-radius:10px;background:none;color:#46605A;cursor:pointer;}
.hk-fold svg{width:22px;height:22px;transition:transform .18s ease;}
.hk-fold[aria-expanded="false"] svg{transform:rotate(-90deg);}
.hk-fold:active{background:#EEF4EE;}
html.vs-native .gl-topp:has(.hk-fold){display:flex;align-items:center;gap:4px;}
html.vs-native .gl-topp:has(.hk-fold) h3{flex:1;min-width:0;cursor:pointer;}
html.vs-native .gl-topp:has(.hk-fold) .hk-bytt{margin-left:0;}
html.vs-native .gl-topp:has(.hk-fold) .mk-nav{margin-left:0;}
html.vs-native .hk-lukket .gl-topp{margin-bottom:0;}
html.vs-native .hk-lukket > .gjoreliste > :not(.gl-topp),html.vs-native #kommende.hk-lukket > :not(.gl-topp){display:none!important;}
html.vs-native.hk-oppg-lukket .vs-task-tabs,html.vs-native.hk-oppg-lukket #vs-task-unavailable,html.vs-native.hk-oppg-lukket .hk-oppg-innhold{display:none!important;}
html.vs-native .hk-app-topp{margin:0 0 10px;padding:0 2px;}
html.vs-native .hk-app-topp h3{margin:0;}
html.vs-native.hk-oppg-lukket .hk-app-topp{margin-bottom:0;}
/* «Tilpass startsiden» og tipset første gang. */
.hk-tilpass-app{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;min-height:40px;margin:2px 0 6px;padding:8px 14px;border:1px solid #C6D1CA;border-radius:999px;background:#fff;color:#155F55;font:600 14px/1.2 Inter,sans-serif;cursor:pointer;}
.hk-tilpass-app svg{width:18px;height:18px;}
.hk-tilpass-app:active{background:#EEF4EE;}
.hk-tips{margin:4px 0 10px;padding:14px 16px;border-radius:14px;background:#EEF6F4;border:1px solid #BFD9D2;color:#1E2B1A;}
.hk-tips p{margin:0 0 10px;font-size:14.5px;line-height:1.45;}
.hk-tips div{display:flex;gap:10px;flex-wrap:wrap;}
.hk-tips button{min-height:40px;padding:8px 14px;border-radius:10px;font:600 14px/1.2 Inter,sans-serif;cursor:pointer;border:1px solid #155F55;}
.hk-tips-ja{background:#155F55;color:#fff;}
.hk-tips-nei{background:transparent;color:#155F55;border-color:#C6D1CA!important;}
html.vs-native .hk-app-topp{margin-top:4px;}
html.vs-native.hk-oppg-lukket .hk-app-topp{margin:0 0 18px;padding:14px 16px;background:var(--vs-surface,#fff);border:1px solid var(--vs-border,#DCE3DD);border-radius:14px;}
html.vs-native .hk-oppg-innhold{margin-bottom:18px;}
html.vs-native .hk-lukket .mk-nav{display:none;}

/* Hold inne på en modul (appen) */
html.vs-native #hjem-kort .hk-plassen,html.vs-native #kommende.vs-next,html.vs-native #hk-oppg-topp{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;}
html.vs-native .hk-plassen,html.vs-native #kommende.vs-next{transition:transform .15s ease;}
html.vs-native .hk-holdt{transform:scale(.97);}
html.vs-native .hk-plassen.hk-holdt .hk-kort,html.vs-native #kommende.hk-holdt{box-shadow:0 0 0 3px #1A7A6E55;}

/* Arket for én modul og velgeren */
.hv-ark .hv-innhold{padding-bottom:20px;}
.hv-meny-forhand{display:grid;place-items:center;padding:6px 0 14px;}
.hv-meny-forhand .pv{width:200px;}
.hv-meny{display:grid;gap:8px;}
.hv-meny button{min-height:50px;padding:10px 16px;border:1px solid #C6D1CA;border-radius:12px;background:#fff;color:#155F55;font:600 16px/1.2 Inter,sans-serif;text-align:left;cursor:pointer;}
.hv-meny button:disabled{opacity:.4;}
.hv-meny button:active{background:#EEF4EE;}
.hv-meny .hv-fare{color:#A43623;border-color:#E6C9C2;}
.hv-galleri{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.hv-modul{display:grid;gap:4px;align-content:start;padding:10px;border:1px solid #DCE3DD;border-radius:14px;background:#fff;color:#1E2B1A;text-align:left;cursor:pointer;font:inherit;}
.hv-modul:active,.hv-modul:hover{border-color:#1A7A6E;background:#F6FAF8;}
.hv-modul b{font-size:14px;line-height:1.3;margin-top:4px;}
.hv-modul small{font-size:12px;line-height:1.35;color:#46605A;}
.hv-galleri-sma .pv{height:52px;}
/* Lista i «Tilpass startsiden» */
.hv-hold{margin:0 0 10px;}
.hv-liste{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px;}
.hv-linje{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #DCE3DD;border-radius:14px;background:#fff;}
.hv-linje .pv{flex:none;width:64px;height:52px;padding:6px;}
.hv-linje-navn{flex:1;min-width:0;display:grid;}
.hv-linje-navn b{font-size:15px;line-height:1.3;}
.hv-linje-navn small{font-size:12px;color:#46605A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hv-linje-knapper{flex:none;display:flex;gap:2px;}
.hv-linje-knapper button{width:40px;height:44px;padding:0;border:0;border-radius:10px;background:#F1F5F2;color:#155F55;font:600 17px/1 Inter,sans-serif;cursor:pointer;}
.hv-linje-knapper button:disabled{opacity:.3;}
.hv-linje-knapper [data-g="fjern"]{color:#A43623;background:#FBEFEC;}
.hv-legg-til{display:block;width:100%;min-height:50px;margin:0 0 18px;border:1.5px dashed #9FC2B8;border-radius:14px;background:#F6FAF8;color:#155F55;font:700 15px/1.2 Inter,sans-serif;cursor:pointer;}

/* Forhåndsvisning: en liten tegning av modulen */
.pv{box-sizing:border-box;height:84px;padding:8px;border-radius:10px;background:#F4F6F3;border:1px solid #E6EBE7;overflow:hidden;}
.pv-l{display:block;height:6px;border-radius:3px;background:#C9D3CD;}
.pv-rader{display:grid;align-content:start;gap:6px;}
.pv-rad{display:flex;align-items:center;gap:6px;min-width:0;}
.pv-mellom{justify-content:space-between;}
.pv-ring{flex:none;width:11px;height:11px;border-radius:50%;border:1.5px solid #9DB0A6;box-sizing:border-box;}
.pv-fylt{background:#BFD9D2;border:0;}
.pv-to{flex:1;display:grid;gap:3px;}
.pv-ulest{flex:none;width:8px;height:8px;border-radius:50%;background:#1A7A6E;margin-left:auto;}
.pv-km{display:flex;gap:6px;align-items:center;padding:4px 6px;border-left:3px solid var(--c);border-radius:4px;background:#fff;}
.pv-km .pv-l:first-child{flex:none;}
.pv-mk{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;align-content:center;}
.pv-mk i{position:relative;height:13px;border-radius:3px;background:#fff;}
.pv-mk i.pv-idag{background:#155F55;}
.pv-mk i.pv-prikk::after{content:"";position:absolute;left:50%;bottom:2px;width:3px;height:3px;margin-left:-1.5px;border-radius:50%;background:#1A7A6E;}
.pv-dag{flex:none;width:14px;height:13px;border-radius:3px;background:#fff;}
.pv-dag.pv-idag{background:#155F55;}
.pv-hend{flex:1;height:11px;border-radius:3px;background:#D5E8E2;border-left:3px solid #1A7A6E;}
.pv-tid{flex:none;width:24%;height:6px;border-radius:3px;background:#9DB0A6;}
.pv-fil{flex:none;width:10px;height:13px;border-radius:2px;background:#C26B5A;}
.pv-sole{height:8px;border-radius:4px;background:#1A7A6E;}
.pv img{flex:none;width:16px;height:16px;object-fit:contain;}
.pv-stor{display:flex;align-items:center;gap:8px;}
.pv-stor img{width:40px;height:40px;}
.pv-stor span{flex:1;display:grid;gap:5px;}

/* Rikere moduler */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.hk-naa{margin:-4px 0 8px;font-size:13px;color:var(--muted,#335B56);}
.hk-naa b{font:800 15px/1.2 Nunito,sans-serif;color:var(--ink,#1E2B1A);}
.hk-status{flex:none;width:9px;height:9px;border-radius:50%;background:#D5DDD8;}
.hk-status.hk-inne{background:#2E9C6A;box-shadow:0 0 0 3px #2E9C6A22;}
.hk-ferdig{opacity:.55;}
.hk-meld{display:grid;gap:2px;}
.hk-msg{display:flex;gap:10px;align-items:flex-start;padding:8px 6px;border-radius:10px;color:var(--ink,#1E2B1A);text-decoration:none;}
.hk-msg:hover{background:#F2F6F3;}
.hk-msg.hk-ny{background:#EEF6F4;}
.hk-avatar{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#D5E8E2;color:#155F55;font:800 12px/1 Inter,sans-serif;}
.hk-msg-tekst{display:grid;gap:1px;min-width:0;flex:1;}
.hk-msg-hode{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:13px;}
.hk-msg-hode b{font-weight:700;}
.hk-msg-hode span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#335B56);font-size:12px;}
.hk-msg-hode time{margin-left:auto;flex:none;font-size:12px;color:#5E716C;font-variant-numeric:tabular-nums;}
.hk-msg-kropp{font-size:13.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
.hk-ny .hk-msg-kropp{font-weight:600;}
.hk-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;}
.hk-chips a{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:99px;background:#F2F6F3;color:var(--ink,#1E2B1A);font-size:13px;font-weight:600;text-decoration:none;}
.hk-chips a span{min-width:18px;padding:0 5px;border-radius:9px;background:#1A7A6E;color:#fff;font-size:11.5px;line-height:18px;text-align:center;}

/* Velgeren på PC: kart over plassene og galleri */
.hv-kart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px;}
.hv-plass-knapp{display:grid;gap:6px;align-content:start;padding:10px;border:1px solid #DCE3DD;border-radius:14px;background:#fff;color:#1E2B1A;text-align:left;font:inherit;cursor:pointer;}
.hv-plass-knapp:hover{border-color:#1A7A6E;background:#F6FAF8;}
.hv-plass-knapp b{font-size:14px;line-height:1.3;}
.hv-plass-nr{font:700 11.5px/1.2 Inter,sans-serif;color:#5E716C;text-transform:uppercase;letter-spacing:.04em;}
.hv-tom{border-style:dashed;background:#FBFCFA;}
.pv-tomt{display:grid;place-items:center;font:400 28px/1 Inter,sans-serif;color:#9DB0A6;}
.hv-modul.hv-valgt{border-color:#155F55;background:#EEF6F4;box-shadow:inset 0 0 0 1px #155F55;}
.hv-tilbake{border:0;background:none;padding:4px 0;font:600 14px/1.2 Inter,sans-serif;color:#155F55;cursor:pointer;}
.hv-galleri-tittel{margin:6px 0 2px;font:800 17px/1.3 Nunito,sans-serif;}
@media (max-width:420px){.hv-kart{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;}}
