/* Veggkalenderen – appen for de pårørende. Laget for telefonen først. */

@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* Samme profil som panel.medmalin.no, Meldio og Smart e-post:
   rosa til lilla, myk pastellbunn, hvite kort, Urbanist. */
:root {
  --bg: #FBF3F8;
  --bg-grad: linear-gradient(160deg, #FDEFF6 0%, #F6EFFC 100%);
  --panel: #FFFFFF;
  --panel-2: #FBF6FA;
  --ink: #221A2C;
  --ink-2: #5A4F66;
  --ink-3: #8C8098;
  --line: #F0E3EE;
  --brand: #E6529E;
  --brand-2: #B185DB;
  --grad: linear-gradient(135deg, #E6529E, #B185DB);
  --primary: #C43D83;
  --primary-soft: #FDE7F1;
  --lilac: #9B6DCE;
  --lilac-soft: #F2EAFB;
  --warm: #9B6DCE;
  --warm-soft: #F2EAFB;
  --ok: #2F7A57;
  --ok-soft: #DDF1E6;
  --bad: #B3261E;
  --bad-soft: #FCE4E2;
  --shadow: 0 1px 2px rgba(120, 40, 90, .05), 0 10px 30px rgba(214, 64, 140, .08);
  --r: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17121B;
    --bg-grad: linear-gradient(160deg, #1B1420 0%, #15121C 100%);
    --panel: #221B28;
    --panel-2: #2A2230;
    --ink: #F5EEF6;
    --ink-2: #CFC3D4;
    --ink-3: #A095A8;
    --line: #362C3C;
    --primary: #F28CC0;
    --primary-soft: #3A1E2E;
    --lilac: #C7A7EC;
    --lilac-soft: #2E2340;
    --warm: #C7A7EC;
    --warm-soft: #2E2340;
    --ok: #7FD1A4;
    --ok-soft: #1C3328;
    --bad: #F2958C;
    --bad-soft: #3B1D1B;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg) var(--bg-grad) fixed;
  color: var(--ink);
  font: 500 17px/1.45 "Urbanist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: 0; background: none; padding: 0; }

a { color: var(--primary); }

h1, h2, h3 { margin: 0; line-height: 1.2; }

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(var(--safe-t) + 20px) 16px calc(var(--safe-b) + 150px);
}

/* ------------------------------------------------------------- toppen */

.top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.top__title { flex: 1; min-width: 0; }
.top__title h1 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.top__sub { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 14px; color: var(--ink-3); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dot--bad { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }

.iconbtn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--ink);
  flex: none;
}

.iconbtn svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------- faner */

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px calc(var(--safe-b) + 8px);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.tab {
  flex: 1;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}

.tab svg { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--primary); font-weight: 800; }

/* ------------------------------------------------------------- prat-feltet */

.talk {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-b) + 66px);
  z-index: 25;
  padding: 0 12px 10px;
  pointer-events: none;
}

.talk__box {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 7px;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 8px 30px rgba(40, 30, 10, .16), 0 0 0 1px var(--line);
  pointer-events: auto;
}

.talk__box textarea {
  flex: 1;
  min-height: 44px;
  max-height: 140px;
  padding: 11px 6px 11px 12px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
}

.talk__box textarea::placeholder { color: var(--ink-3); }

.round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}

.round svg { width: 22px; height: 22px; }
.round--mic { background: var(--warm-soft); color: var(--warm); }
.round--mic.is-rec { background: var(--grad); color: #fff; animation: pulse 1.2s infinite; }
.round--send { background: var(--grad); color: #fff; }
.round:disabled { opacity: .45; }

@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--warm) 25%, transparent); } }

/* ------------------------------------------------------------- avtalelista */

.day { margin-top: 22px; }
.day:first-child { margin-top: 0; }

.day__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 4px 8px;
}

.day__head h2 { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.day__head span { font-size: 13px; color: var(--ink-3); }

.card {
  background: var(--panel);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.item:last-child { border-bottom: 0; }
.item:active { background: var(--panel-2); }

.item__time {
  flex: none;
  width: 52px;
  padding-top: 1px;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.item__time--day { font-size: 12px; font-weight: 600; color: var(--ink-3); padding-top: 3px; }

.item__body { flex: 1; min-width: 0; }
.item__title { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.item__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 3px; font-size: 13px; color: var(--ink-3); }
.item__meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }

.item--past { opacity: .5; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--panel-2);
  color: var(--ink-2);
}

.badge--skjerm { background: var(--warm-soft); color: var(--warm); }

.empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-3);
}

.empty strong { display: block; margin-bottom: 6px; font-size: 17px; color: var(--ink-2); }

.more {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--primary);
}

/* ------------------------------------------------------------- forslag fra prat */

.proposal {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 0 2px var(--brand);
  animation: rise .25s ease-out;
}

@keyframes rise { from { transform: translateY(8px); opacity: 0; } }

.proposal__said { font-size: 13px; color: var(--ink-3); font-style: italic; }
.proposal__reply { margin: 6px 0 12px; font-size: 16px; font-weight: 600; }

.op {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.op__tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.op--ny .op__tag { background: var(--ok-soft); color: var(--ok); }
.op--endre .op__tag { background: var(--warm-soft); color: var(--warm); }
.op--slett .op__tag { background: var(--bad-soft); color: var(--bad); }
.op__title { font-weight: 700; }
.op--slett .op__title { text-decoration: line-through; }
.op__when { font-size: 14px; color: var(--ink-2); }
.op__old { font-size: 13px; color: var(--ink-3); }

.row-btns { display: flex; gap: 10px; margin-top: 12px; }

/* ------------------------------------------------------------- knapper og skjema */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  flex: 1;
}

.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; }
.btn--main { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(214, 64, 140, .25); }
.btn--main:hover { filter: brightness(.96); }
.btn--ok { background: var(--ok); color: #fff; }
.btn--ghost { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--danger { background: var(--bad-soft); color: var(--bad); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; flex: none; border-radius: 12px; }

@media (prefers-color-scheme: dark) {
  .btn--ok { color: #0B0A09; }
}

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin: 0 0 6px 2px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

.input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.input:focus { box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px rgba(230, 82, 158, .16); }
textarea.input { min-height: 80px; resize: vertical; }
.input--code { font-size: 28px; font-weight: 700; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.seg {
  display: flex;
  padding: 4px;
  border-radius: 14px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.seg button {
  flex: 1;
  min-height: 40px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.switch:last-child { border-bottom: 0; }
.switch__text { flex: 1; }
.switch__text b { display: block; font-weight: 600; }
.switch__text small { color: var(--ink-3); font-size: 13px; }

.toggle {
  position: relative;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: var(--line);
  flex: none;
  transition: background .2s;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}

.toggle[aria-checked="true"] { background: var(--ok); }
.toggle[aria-checked="true"]::after { transform: translateX(20px); }

.section { margin-top: 26px; }
.section:first-child { margin-top: 0; }
.section > h2 { margin: 0 4px 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.section .card { padding: 16px; }
.section .card.flush { padding: 0; }

.hint { font-size: 14px; color: var(--ink-3); margin: 0 0 12px; }
.hint:last-child { margin-bottom: 0; }

.linkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  word-break: break-all;
  color: var(--ink-2);
}

.linkbox code { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; }

.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; font-size: 15px; }
.steps li::marker { font-weight: 800; color: var(--primary); }

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.person:last-child { border-bottom: 0; }

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  flex: none;
}

.person__text { flex: 1; min-width: 0; }
.person__text b { display: block; font-weight: 600; }
.person__text small { color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }

/* ------------------------------------------------------------- aktivitet */

.act { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.act:last-child { border-bottom: 0; }
.act__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--panel-2); color: var(--ink-2); flex: none; }
.act__icon svg { width: 18px; height: 18px; }
.act__icon--skjerm { background: var(--warm-soft); color: var(--warm); }
.act__body { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.act__meta { margin-top: 2px; font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------- ark (sheet) */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 16, 10, .38);
  animation: fadein .2s;
}

@keyframes fadein { from { opacity: 0; } }

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  max-height: 92vh;
  overflow-y: auto;
  padding: 10px 18px calc(var(--safe-b) + 18px);
  border-radius: 26px 26px 0 0;
  background: var(--bg);
  animation: up .28s cubic-bezier(.2, .9, .3, 1);
}

@media (min-width: 600px) {
  .sheet { left: 50%; right: auto; width: 560px; transform: translateX(-50%); animation: none; }
}

@keyframes up { from { transform: translateY(100%); } }

.sheet__grip { width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: var(--line); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sheet__head h2 { font-size: 21px; font-weight: 700; }

/* ------------------------------------------------------------- innlogging */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1040px;
  margin: 0 auto;
  padding: calc(var(--safe-t) + 40px) 32px 40px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img { width: 40px; height: 40px; border-radius: 11px; }
.wordmark b { font-weight: inherit; }
.wordmark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.auth__pitch h1 {
  margin: 28px 0 26px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.features { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink-2); }
.features i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; font-style: normal; }
.features i svg { width: 19px; height: 19px; }
.features li:nth-child(1) i { background: var(--primary-soft); color: var(--primary); }
.features li:nth-child(2) i { background: var(--lilac-soft); color: var(--lilac); }
.features li:nth-child(3) i { background: var(--ok-soft); color: var(--ok); }

.auth__card {
  padding: 34px 32px 30px;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(214, 64, 140, .16), 0 2px 6px rgba(120, 40, 90, .05);
}

.auth__card h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.auth__card p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.auth__card .btn { width: 100%; }
.auth__card .input { background: var(--panel); box-shadow: inset 0 0 0 1px #E7D6E4; }
.auth__card .input:focus { box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px rgba(230, 82, 158, .16); }
.auth__sep { height: 1px; margin: 22px 0 16px; background: var(--line); }
.auth__foot { text-align: center; font-size: 14px; color: var(--ink-3); }
.auth__foot button, .auth__foot a { color: var(--primary); font-weight: 700; font-size: 15px; }

@media (max-width: 820px) {
  .auth { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: calc(var(--safe-t) + 34px); align-content: start; }
  .auth__pitch h1 { font-size: 30px; margin: 22px 0 0; }
  .features { display: none; }
  .auth__card { padding: 28px 22px 24px; }
}

.error { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------- skjermliste */

.home-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  margin-bottom: 10px;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: left;
}

.home-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; flex: none; }
.home-card__icon svg { width: 24px; height: 24px; }
.home-card b { display: block; font-size: 17px; }
.home-card small { color: var(--ink-3); }

/* ------------------------------------------------------------- beskjed */

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-b) + 150px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 12px 12px 12px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s, opacity .25s;
}

#toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#toast button { padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--bg) 18%, transparent); color: var(--bg); font-weight: 700; }

.spin {
  width: 20px;
  height: 20px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: rot .7s linear infinite;
}

@keyframes rot { to { transform: rotate(360deg); } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------- innføring */

.dots { display: flex; gap: 6px; margin: 18px 0 20px; }
.dots i { width: 22px; height: 5px; border-radius: 3px; background: var(--line); }
.dots i.on { background: var(--grad); }

.onb {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--safe-t) + 24px) 16px 32px;
}

.onb__card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 30px 26px 26px;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(214, 64, 140, .14), 0 2px 6px rgba(120, 40, 90, .05);
}

.onb__card .wordmark { font-size: 24px; }
.onb__card .wordmark img { width: 30px; height: 30px; border-radius: 8px; }
.onb__card h2 { margin: 0 0 8px; font-size: 27px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.onb__card > p, .onb__card form > p:not(.hint) { margin: 0 0 20px; color: var(--ink-2); }
.onb__card .btn { width: 100%; }
.onb__card .steps { margin: 0 0 18px; }
.onb__card .proposal { box-shadow: 0 0 0 2px var(--brand); margin: 4px 0 8px; }

.wiz-back {
  position: absolute;
  top: 22px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--ink-2);
}
.wiz-back svg { width: 20px; height: 20px; }

.how { display: grid; gap: 16px; margin: 4px 0 24px; padding: 0; list-style: none; }
.how li { display: flex; gap: 14px; align-items: flex-start; }
.how i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; flex: none; font-style: normal; }
.how i svg { width: 21px; height: 21px; }
.how li:nth-child(1) i { background: var(--primary-soft); color: var(--primary); }
.how li:nth-child(2) i { background: var(--lilac-soft); color: var(--lilac); }
.how li:nth-child(3) i { background: var(--ok-soft); color: var(--ok); }
.how b { display: block; font-weight: 800; }
.how span { color: var(--ink-2); font-size: 15px; }

.skip { display: block; width: 100%; margin-top: 14px; padding: 10px; font-size: 15px; font-weight: 700; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.chip { padding: 8px 12px; border-radius: 999px; background: var(--lilac-soft); color: var(--lilac); font-size: 14px; font-weight: 700; }

.big-ok { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--ok); color: #fff; animation: rise .3s ease-out; }
.big-ok svg { width: 32px; height: 32px; }

.invited { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.invited span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 14px; }
.invited svg { width: 14px; height: 14px; }

/* «Kom i gang» og velkomst i kalenderen */

.checklist, .welcome {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 35%, transparent);
}

.checklist__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.checklist__head h2, .welcome h2 { font-size: 19px; font-weight: 800; }
.checklist__head span { font-size: 14px; font-weight: 700; color: var(--primary); }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 700;
}

.check:last-of-type { border-bottom: 0; }
.check i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; color: #fff; }
.check i svg { width: 15px; height: 15px; }
.check span { flex: 1; }
.check > svg { width: 18px; height: 18px; color: var(--primary); }
.check.is-done { color: var(--ink-3); font-weight: 600; }
.check.is-done span { text-decoration: line-through; }
.check.is-done i { background: var(--ok); box-shadow: none; }

.checklist__hide { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink-3); }

.welcome p { margin: 6px 0 14px; color: var(--ink-2); font-size: 15px; }

.more-info { margin-top: 14px; }
.more-info summary { cursor: pointer; font-weight: 700; color: var(--primary); padding: 6px 0; }
.more-info .steps { margin-top: 10px; }
