/* =====================================================================
   Relationer – roligt, mobile-first design. Lys og mørk tilstand.
   ===================================================================== */
:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #efece5;
  --text: #22231f;
  --muted: #6f6e68;
  --line: #e3dfd6;
  --accent: #2e5d50;
  --accent-ink: #ffffff;
  --danger: #b4432f;
  --late: #b4432f;
  --c-venner: #3f8f78;
  --c-familie: #cf7a4d;
  --c-interesse: #6d68c4;
  --c-venner-soft: #e1efe9;
  --c-familie-soft: #f7e6dc;
  --c-interesse-soft: #e7e6f6;
  --k-groen: #3f8f78; --k-groen-soft: #e1efe9;
  --k-orange: #cf7a4d; --k-orange-soft: #f7e6dc;
  --k-lilla: #6d68c4; --k-lilla-soft: #e7e6f6;
  --k-blaa: #3b78b5; --k-blaa-soft: #e0ebf6;
  --k-guld: #b38a1e; --k-guld-soft: #f4ecd2;
  --k-rosa: #c25683; --k-rosa-soft: #f6e1ea;
  --k-petrol: #23838f; --k-petrol-soft: #dbeef0;
  --k-skifer: #66707c; --k-skifer-soft: #e6e8eb;
  --shadow: 0 1px 2px rgba(40, 35, 25, .06), 0 4px 16px rgba(40, 35, 25, .05);
  --radius: 16px;
  --tabbar-h: 64px;
  --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:not([data-theme="light"]) {
    --bg: #15171a; --surface: #1e2125; --surface-2: #262a2f; --text: #ecebe6; --muted: #9b9a94; --line: #30343a;
    --accent: #8cc7b4; --accent-ink: #10231d; --danger: #f08f7b; --late: #f08f7b;
    --c-venner: #72c2a8; --c-familie: #eba27a; --c-interesse: #a6a1f0;
    --c-venner-soft: #1f3530; --c-familie-soft: #3a2a21; --c-interesse-soft: #2a2944;
    --k-groen: #72c2a8; --k-groen-soft: #1f3530;
    --k-orange: #eba27a; --k-orange-soft: #3a2a21;
    --k-lilla: #a6a1f0; --k-lilla-soft: #2a2944;
    --k-blaa: #82b4ea; --k-blaa-soft: #1f2d3d;
    --k-guld: #dcbb5e; --k-guld-soft: #362e17;
    --k-rosa: #ec97ba; --k-rosa-soft: #3c2330;
    --k-petrol: #6cc5cf; --k-petrol-soft: #18343a;
    --k-skifer: #a6aeb8; --k-skifer-soft: #2a2e34;
    --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171a; --surface: #1e2125; --surface-2: #262a2f; --text: #ecebe6; --muted: #9b9a94; --line: #30343a;
  --accent: #8cc7b4; --accent-ink: #10231d; --danger: #f08f7b; --late: #f08f7b;
  --c-venner: #72c2a8; --c-familie: #eba27a; --c-interesse: #a6a1f0;
  --c-venner-soft: #1f3530; --c-familie-soft: #3a2a21; --c-interesse-soft: #2a2944;
  --k-groen: #72c2a8; --k-groen-soft: #1f3530;
  --k-orange: #eba27a; --k-orange-soft: #3a2a21;
  --k-lilla: #a6a1f0; --k-lilla-soft: #2a2944;
  --k-blaa: #82b4ea; --k-blaa-soft: #1f2d3d;
  --k-guld: #dcbb5e; --k-guld-soft: #362e17;
  --k-rosa: #ec97ba; --k-rosa-soft: #3c2330;
  --k-petrol: #6cc5cf; --k-petrol-soft: #18343a;
  --k-skifer: #a6aeb8; --k-skifer-soft: #2a2e34;
  --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
/* Ingen zoom på mobil: hurtige tryk (fx på PIN-tasterne) må ikke blive til dobbelttryk-zoom,
   og felter under 16px får iPhone til at zoome ind, når man trykker i dem */
button, a, input, select, textarea, label { touch-action: manipulation; }
input, select, textarea { font-size: max(16px, 1em); }
.keypad, .pin-dots { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
h1, h2 { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 1.9rem; margin: 0 0 .2rem; line-height: 1.15; }
h2 { font-size: 1.05rem; margin: 0 0 .7rem; display: flex; align-items: center; gap: .45rem; }
p { margin: .4rem 0; }
code { background: var(--surface-2); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }

.muted { color: var(--muted); }
.small { font-size: .87rem; }
.center { text-align: center; }
.error { color: var(--danger); font-size: .92rem; min-height: 0; }
.error:empty { display: none; }
.quiet { color: var(--muted); font-size: .95rem; padding: .4rem 0 .2rem; }

/* ---------- Layout ---------- */
.main {
  max-width: 640px; margin: 0 auto;
  padding: calc(18px + var(--safe-t)) 16px calc(var(--tabbar-h) + var(--safe-b) + 90px);
}
.center-screen {
  min-height: 100dvh; display: grid; place-items: center;
  padding: calc(24px + var(--safe-t)) 16px calc(24px + var(--safe-b));
}
.card { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card.narrow { width: 100%; max-width: 380px; }
.card > * + * { margin-top: .7rem; }
.logo-mark { color: var(--accent); display: flex; justify-content: center; margin-bottom: .5rem; }
.center-screen h1 { text-align: center; }
.center-screen .card > p { text-align: center; }

.page-head { margin: 4px 0 18px; }
.eyebrow { color: var(--muted); font-size: .85rem; margin: 0 0 .1rem; text-transform: none; }
.lede { color: var(--muted); margin: 0; }

.section { margin-top: 24px; }
.section h2 .count { color: var(--muted); font-family: inherit; font-weight: 500; font-size: .85rem; background: var(--surface-2); border-radius: 99px; padding: 0 .55rem; }
.demo-bar { background: var(--c-interesse-soft); color: var(--text); text-align: center; font-size: .85rem; padding: calc(6px + var(--safe-t)) 12px 6px; }
.demo-bar + .main { padding-top: 14px; }
.banner { background: var(--c-familie-soft); border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin-bottom: 12px; }

/* ---------- Kategorifarver ---------- */
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat, var(--muted)); display: inline-block; flex: none; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-weight: 550; text-decoration: none; transition: transform .08s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger-ghost { background: transparent; color: var(--danger); border-color: transparent; }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 40px; padding: 0 12px; font-size: .92rem; border-radius: 11px; }
.btn.done { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.subtle { background: var(--surface-2); border-color: transparent; }
.btn.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.08); } }
.link { background: none; border: 0; color: var(--accent); padding: 6px 2px; font-weight: 550; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.icon-btn.tiny { width: 30px; height: 30px; box-shadow: none; background: transparent; color: var(--muted); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.stack { display: grid; gap: 8px; }
.stack .btn { justify-content: space-between; }
.file-btn { cursor: pointer; }

/* ---------- Filtre ---------- */
.filters { display: grid; gap: 8px; margin-bottom: 4px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 14px;
  border-radius: 99px; border: 1px solid var(--line); background: transparent; font-size: .9rem; color: var(--muted);
}
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.on .dot { box-shadow: 0 0 0 2px var(--bg); }

/* ---------- Påmindelser ---------- */
.list { display: grid; gap: 10px; }
.item {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--cat); padding: 12px 12px 12px 10px;
  display: grid; gap: 10px;
}
.item-main, .prow {
  display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; width: 100%;
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--cat-soft); color: var(--cat); font-weight: 650; font-size: .95rem; letter-spacing: .02em;
}
.avatar.big { width: 76px; height: 76px; font-size: 1.6rem; }
.item-text { display: grid; min-width: 0; flex: 1; }
.name { font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .88rem; }
.kind { display: inline-flex; align-items: center; gap: 4px; }
.kind svg { width: 16px; height: 16px; }
.due-txt.late, .late { color: var(--late); font-weight: 550; }
.item-actions { display: flex; justify-content: flex-end; gap: 8px; }
.item-actions .btn.done { flex: 1; max-width: 190px; }
.item:not(.due) { box-shadow: none; border: 1px solid var(--line); border-left: 4px solid var(--cat); background: transparent; }
.item:not(.due) { grid-template-columns: 1fr auto; align-items: center; padding: 10px 10px 10px 10px; }
.item:not(.due) .avatar { width: 36px; height: 36px; font-size: .85rem; }
.item:not(.due) .item-actions { gap: 4px; }
.item:not(.due) .item-actions .btn { min-height: 38px; padding: 0 10px; }
.item:not(.due) .item-actions .btn span { display: none; }
.item:not(.due) .item-actions .btn { width: 42px; padding: 0; }
.item:not(.due) .item-actions .btn.ghost { border-color: transparent; color: var(--muted); }

.plist { display: grid; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.prow { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.prow:last-child { border-bottom: 0; }
.prow > svg:last-child { color: var(--muted); }

.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 12px; padding: 0 12px; border: 1px solid var(--line); color: var(--muted); }
.search input { flex: 1; border: 0; background: none; height: 44px; outline: none; color: var(--text); }

/* ---------- Tom tilstand ---------- */
.empty { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.empty-art svg { width: 90px; height: 90px; }

/* ---------- Person ---------- */
.detail-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.person-hero { text-align: center; display: grid; justify-items: center; gap: 8px; margin-bottom: 16px; }
.person-hero h1 { margin: 4px 0 0; }
.cat-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--cat-soft); color: var(--text); padding: 3px 12px; border-radius: 99px; font-size: .85rem; }
.note-card { background: var(--surface); border-radius: var(--radius); padding: 12px 14px 6px; box-shadow: var(--shadow); margin-top: 10px; }
.note-card.next { border: 1.5px dashed var(--line); background: transparent; box-shadow: none; }
.note-card.next.filled { border: 0; background: var(--k-guld-soft); }
.note-head { display: flex; align-items: center; gap: 7px; font-size: .92rem; }
.note-head svg { color: var(--muted); }
.note-card.next.filled .note-head svg { color: var(--k-guld); }
.note-head .link { margin-left: 6px; padding: 0 2px; }
.save-state { margin-left: auto; color: var(--muted); font-size: .8rem; }
.note-input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 0 8px !important; min-height: 0 !important; resize: none; line-height: 1.45; overflow: hidden; }
.next-snip { display: flex; align-items: flex-start; gap: 5px; margin-top: 3px; font-size: .86rem; color: var(--text); }
.next-snip svg { color: var(--k-guld); margin-top: 2px; }
.next-snip span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Kategorivalg */
.catpick { display: flex; flex-wrap: wrap; gap: 6px; }
.catpick input, .colors input { position: absolute; opacity: 0; pointer-events: none; }
.catpick span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); font-size: .9rem; color: var(--muted); cursor: pointer; }
.catpick span svg { width: 16px; height: 16px; }
.catpick input:checked + span { background: var(--cat-soft, var(--surface-2)); border-color: var(--cat, var(--text)); color: var(--text); font-weight: 600; }
.catpick input:focus-visible + span, .colors input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.catpick .new span { border-style: dashed; }
.newcat { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--cat); cursor: pointer; box-shadow: inset 0 0 0 3px var(--bg); border: 2px solid transparent; }
.colors input:checked + span { border-color: var(--cat); }
.swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--cat); flex: none; margin: 0 4px 0 6px; }
.add-cat { margin-top: 8px; }
.danger-zone { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 10px; }
.link.inline { padding: 0; font-size: inherit; }
.fu { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 10px; }
.fu.off { opacity: .6; box-shadow: none; border: 1px dashed var(--line); background: transparent; }
.fu-head { display: flex; align-items: center; gap: 8px; }
.fu-head .muted { margin-left: auto; font-size: .87rem; }
.fu-facts { margin: 10px 0 12px; display: grid; gap: 4px; }
.fu-facts div { display: flex; gap: 10px; }
.fu-facts dt { color: var(--muted); width: 52px; flex: none; }
.fu-facts dd { margin: 0; }
.fu-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.fu-actions .btn.done { margin-left: auto; }
.pill { font-size: .75rem; background: var(--surface-2); color: var(--muted); padding: 1px 7px; border-radius: 99px; font-weight: 500; }
.history { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.history li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.history li:last-child { border-bottom: 0; }
.h-kind { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); flex: 1; }
.h-kind svg { width: 16px; height: 16px; }

/* ---------- Formularer ---------- */
.field { display: grid; gap: 5px; margin: 0; }
.field > span { font-size: .87rem; color: var(--muted); font-weight: 550; }
.field.inline { grid-template-columns: 1fr auto; align-items: center; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); padding: 10px 12px; outline: none; color: var(--text);
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.field.inline input, .field.inline select { width: auto; min-width: 120px; }

.card .segmented, .sheet-form .segmented { margin-bottom: 4px; }
.segmented { display: flex; background: var(--surface-2); border-radius: 12px; padding: 3px; gap: 3px; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 10px; font-size: .92rem; color: var(--muted); font-weight: 550; cursor: pointer; }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); }

.fu-edit { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0; display: grid; gap: 10px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.switch-row > span { display: flex; align-items: center; gap: 10px; }
.switch-row > span > span { display: grid; }
.switch-row small { color: var(--muted); font-size: .82rem; }
.fu-fields { display: grid; gap: 10px; }
.fu-fields[hidden], [hidden] { display: none !important; }
.switch { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .2s; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }

/* ---------- Ark ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 15, 12, .4); opacity: 0; transition: opacity .2s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto;
  background: var(--bg); border-radius: 22px 22px 0 0; padding: 8px 16px calc(20px + var(--safe-b));
  transform: translateY(100%); transition: transform .22s ease; max-width: 640px; margin: 0 auto;
}
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.grabber { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 10px; }
.sheet-form { display: grid; gap: 14px; }
.sheet-form h2 { font-size: 1.35rem; margin: 0; }
.sheet-form > p { margin: -8px 0 0; }
.sheet-actions { display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; background: var(--bg); padding-top: 6px; }
.sheet-actions .btn { flex: 1; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }

/* ---------- Lås ---------- */
.lock-screen .lock-inner { width: 100%; max-width: 320px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pin-dots { display: flex; gap: 14px; height: 18px; margin: 8px 0 14px; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); }
.pin-dots i.on { background: var(--text); border-color: var(--text); }
.keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px 24px; }
.keypad button { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); font-size: 1.6rem; font-weight: 450; display: grid; place-items: center; }
.keypad button:active { background: var(--surface-2); }
.keypad button.ghost { background: transparent; box-shadow: none; font-size: 1rem; color: var(--muted); }
.pw-unlock { display: grid; gap: 10px; width: 100%; }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Navigation ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: center; gap: 4px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(6px + var(--safe-b));
}
.tabbar button { flex: 1; max-width: 160px; display: grid; justify-items: center; gap: 2px; background: none; border: 0; color: var(--muted); font-size: .72rem; padding: 6px 0; border-radius: 12px; }
.tabbar button.active { color: var(--accent); }
.fab {
  position: fixed; right: max(16px, calc(50vw - 304px)); bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px); z-index: 21;
  width: 58px; height: 58px; border-radius: 18px; border: 0; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(30, 60, 50, .3); display: grid; place-items: center;
}
.fab svg { width: 26px; height: 26px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--safe-t) + 12px); z-index: 60;
  transform: translate(-50%, -20px); box-shadow: 0 6px 24px rgba(0,0,0,.18); opacity: 0; transition: .25s;
  background: var(--text); color: var(--bg); border-radius: 12px; padding: 10px 16px;
  display: flex; gap: 14px; align-items: center; width: max-content; max-width: calc(100vw - 32px); font-size: .92rem;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .link { color: var(--bg); padding: 0; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Logo ---------- */
.logo-img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 8px 24px rgba(120, 60, 90, .25); display: block; }
.empty-art .logo-img { width: 96px; height: 96px; }

/* ---------- Opfølgninger på personens side ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.section-head h2 { margin: 0; }
.icon-btn.plus { width: 40px; height: 40px; background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.icon-btn.tiny.minus { color: var(--danger); }
.fu-head { flex-wrap: nowrap; }
.fu-head strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fu-head .fu-every { margin-left: 0; font-size: .85rem; white-space: nowrap; }
.fu-head .icon-btn.tiny { width: 32px; height: 32px; flex: none; }
.fu-head .icon-btn.tiny.minus { border: 1.5px solid currentColor; border-radius: 50%; width: 28px; height: 28px; margin-left: 2px; }
.fu-empty { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: var(--radius); border: 1.5px dashed var(--line); background: transparent; color: var(--text); }
.fu-empty > svg { color: var(--accent); }
.fu-empty span { display: grid; }
.fu-empty small { color: var(--muted); font-size: .85rem; }
.segmented.kinds span { flex-direction: column; gap: 2px; font-size: .8rem; min-height: 54px; }
.segmented.kinds span svg { width: 20px; height: 20px; }

/* Face ID-knap på låseskærmen */
.lock-inner .bio-btn { margin: 18px 0 6px; padding: 16px; font-size: 1.05rem; }
