/* Skolerytme — Grafisk Designsystem v1.0 ("Køkkenbordet & Natlampen")
   Nordic Editorial Craft: Newsreader + Plus Jakarta Sans, warm linen daylight & quiet evening lamp dark mode.
   Preserves the calm 1-question-at-a-time Wizard and 3-card Storyboard Weekly Plan while elevating
   the rest of the site (Forside, Mulighed 01, Mulighed 03, Katalog, Lovsamling, Mødepapir, Header & Footer). */

:root {
  color-scheme: light;
  --bg: #f5f0e6;
  --bg-subtle: #ebe3d3;
  --header-bg: rgba(245, 240, 230, 0.88);
  --surface: #fcfaf5;
  --surface-index: #f1ebdd;
  --surface-index-border: #dcd2be;
  --surface-card: #f6f1e6;
  --surface-muted: #f7f3ea;
  --border: #ddd4c3;
  --border-strong: #c2b49b;
  --hairline: #d6cbb7;
  --ink: #18231e;
  --ink-secondary: #435049;
  --ink-muted: #69756d;
  --accent: #234739;
  --accent-hover: #183429;
  --accent-soft: #e3ede6;
  --accent-soft-border: #b8cebf;
  --accent-contrast: #ffffff;
  --ochre: #b66e36;
  --ochre-soft: #f3e6d6;
  --warm-sand: #efe4ce;
  --warm-ochre: #8c521e;
  --bookmark-ochre: #b66e36;
  --bookmark-moss: #234739;
  --status-green-bg: #e3efe6;
  --status-green-ink: #1b5230;
  --status-yellow-bg: #f6ebd1;
  --status-yellow-ink: #764d0c;
  --status-red-bg: #f6e6e3;
  --status-red-ink: #822b22;
  --shadow-sm: 0 1px 2px rgba(24, 35, 30, 0.04), 0 4px 12px rgba(24, 35, 30, 0.035);
  --shadow-md: 0 4px 14px rgba(24, 35, 30, 0.06), 0 18px 36px rgba(24, 35, 30, 0.065);
  --shadow-index: 0 2px 6px rgba(24, 35, 30, 0.045), 0 12px 28px rgba(24, 35, 30, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Night Mode ("Stille stue kl. 23.45"): Warm olive-anthracite, parchment ink & brass-amber lamp glow */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151815;
  --bg-subtle: #1c211c;
  --header-bg: rgba(21, 24, 21, 0.86);
  --surface: #1e231e;
  --surface-index: #232a25;
  --surface-index-border: #36413a;
  --surface-card: #252b23;
  --surface-muted: #1a1f1a;
  --border: #313930;
  --border-strong: #485245;
  --hairline: #2b332a;
  --ink: #ece5d8;
  --ink-secondary: #beb8aa;
  --ink-muted: #8f8b7f;
  --accent: #74ab90;
  --accent-hover: #89bca3;
  --accent-soft: #213228;
  --accent-soft-border: #385343;
  --accent-contrast: #101713;
  --ochre: #e0ad5e;
  --ochre-soft: #31291c;
  --warm-sand: #2a251c;
  --warm-ochre: #e5b76d;
  --bookmark-ochre: #e0ad5e;
  --bookmark-moss: #74ab90;
  --status-green-bg: #1d3225;
  --status-green-ink: #9dd4b1;
  --status-yellow-bg: #352b18;
  --status-yellow-ink: #ecc579;
  --status-red-bg: #341e1c;
  --status-red-ink: #f0a49c;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.42);
  --shadow-index: 0 8px 26px rgba(0, 0, 0, 0.38);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.28s ease, color 0.28s ease;
}

button, input, select, textarea, summary {
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

/* ==================== EDITORIAL TOP HEADER & DUAL-MODE PILL SWITCH ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.28s ease, border-color 0.28s ease;
}

/* Front page: ultra-quiet topbar with only title on left and Lys/mørk switch on right */
body[data-current-view="home"] .site-header {
  border-bottom-color: transparent;
}

body[data-current-view="home"] .header-nav-group,
body[data-current-view="fit"] .header-nav-group,
body[data-current-view="wizard"] .header-nav-group,
body[data-current-view="result"] .header-nav-group,
body[data-current-view="aula"] .header-nav-group,
body[data-current-view="advice"] .header-nav-group {
  display: none;
}

body[data-current-view="home"] #btn-symmetry-exit {
  display: none;
}

body[data-current-view="home"] .mobile-symmetry-bar {
  display: none;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-back-btn {
  appearance: none;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.home-back-btn:hover {
  background-color: var(--accent-soft);
  border-color: var(--accent);
}

.home-back-btn[hidden] {
  display: none;
}

.brand-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 2px 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--ochre-soft);
  color: var(--ochre);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  display: inline;
}

body[data-current-view="home"] .brand-title {
  font-size: 26px;
  color: var(--ink);
}

.brand-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin-left: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.header-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background-color: var(--surface-muted);
  border: 1px solid var(--border);
}

.mode-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mode-switch-label {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 500;
}

.theme-pill-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--ink-secondary);
  padding: 5px 12px 5px 7px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-pill-btn:hover {
  border-color: var(--ochre);
  color: var(--ink);
}

.switch-track {
  position: relative;
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background-color: var(--accent);
  transition: background-color 0.22s ease;
  flex-shrink: 0;
}

html[data-theme="dark"] .switch-track {
  background-color: var(--ochre);
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] .switch-thumb {
  transform: translateX(15px);
  background-color: #151815;
}

.nav-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-btn:hover {
  color: var(--ink);
}

.nav-btn[aria-selected="true"] {
  color: var(--ink);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.exit-symmetry-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.exit-symmetry-btn:hover {
  color: var(--ochre);
  background-color: var(--surface);
  border-color: var(--border);
}

/* ==================== SYMMETRY EXIT / RESET SHEET ==================== */
.symmetry-drawer {
  background-color: var(--surface-index);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.symmetry-drawer[hidden] {
  display: none;
}

.symmetry-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 28px;
}

.symmetry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.symmetry-heading {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-top: 2px;
  color: var(--ink);
}

.symmetry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.symmetry-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.symmetry-card-moss {
  background-color: var(--accent-soft);
  border-color: var(--accent-soft-border);
}

.symmetry-card-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}

.symmetry-card-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* ==================== MAIN CONTAINER ==================== */
.main-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
  animation: viewFadeIn 0.24s ease;
}

@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== UNIVERSAL BOOKMARK RIBBON (USED IN DYNAMIC CATALOG/LAW CARDS) ==================== */
.card-ribbon {
  position: absolute;
  top: -1px;
  right: 18px;
  width: 14px;
  height: 24px;
  color: var(--bookmark-ochre);
  pointer-events: none;
  opacity: 0.88;
}

.card-ribbon.moss {
  color: var(--bookmark-moss);
}

/* ==================== SCREEN 0: NORDIC EDITORIAL LIVING-ROOM ENTRANCE ==================== */
.editorial-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) 1px minmax(0, 0.96fr);
  gap: 44px;
  align-items: start;
}

.desk-divider {
  width: 1px;
  align-self: stretch;
  background-color: var(--hairline);
}

.desk-left {
  display: flex;
  flex-direction: column;
}

.mobile-lamp-crest {
  display: none;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ochre);
  margin-bottom: 12px;
}

.editorial-h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.022em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}

.editorial-lead {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0 0 26px;
  max-width: 530px;
  line-height: 1.58;
}

/* Editorial Rhythm / Sub-Navigation Strip (shared across Catalog & Law Compass) */
.rhythm-strip,
.subtab-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.rhythm-dot {
  color: var(--border-strong);
  user-select: none;
}

/* ==================== THE 3 INVITING DOOR CARDS (01, 02, 03) ==================== */
.doors-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.door-card {
  position: relative;
  appearance: none;
  width: 100%;
  text-align: left;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  min-height: 82px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.door-card:hover {
  transform: translateY(-2px);
  border-color: var(--ochre);
  box-shadow: var(--shadow-md);
}

.door-card-primary {
  background-color: var(--accent-soft);
  border-color: var(--accent-soft-border);
  padding: 20px 22px;
}

html[data-theme="dark"] .door-card-primary {
  background-color: #213027;
  border-color: rgba(224, 173, 94, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.34);
}

.door-card-primary:hover {
  border-color: var(--accent);
}

html[data-theme="dark"] .door-card-primary:hover {
  border-color: var(--ochre);
  background-color: #26392e;
}

.door-num {
  font-family: var(--font-serif);
  font-size: 29px;
  line-height: 1;
  color: var(--ochre);
  padding-right: 14px;
  border-right: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}

.door-card[data-door-tone="moss"] .door-num {
  color: var(--bookmark-moss);
}

.door-card-primary .door-num {
  color: var(--accent);
  border-right-color: var(--accent-soft-border);
}

html[data-theme="dark"] .door-card-primary .door-num {
  color: var(--ochre);
  border-right-color: rgba(224, 173, 94, 0.3);
}

.door-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.door-kicker-row {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.door-recommend-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  background-color: var(--surface);
  border: 1px solid var(--accent-soft-border);
  padding: 2px 8px;
  border-radius: 999px;
}

html[data-theme="dark"] .door-recommend-tag {
  color: var(--ochre);
  background-color: rgba(224, 173, 94, 0.12);
  border-color: rgba(224, 173, 94, 0.35);
}

.door-title-line {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.door-clicks {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 14px;
  white-space: nowrap;
}

.door-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.46;
}

.door-arrow {
  font-size: 18px;
  color: var(--ink-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.door-card:hover .door-arrow {
  transform: translateX(4px);
  color: var(--ochre);
}

.door-card-primary .door-arrow {
  color: var(--accent);
}

html[data-theme="dark"] .door-card-primary .door-arrow {
  color: var(--ochre);
}

.desk-trust-footnote {
  margin-top: 26px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background-color: var(--surface-muted);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--ochre);
  flex-shrink: 0;
}

.trust-item strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

/* ==================== RIGHT COLUMN: NORDIC PICTOGRAM ILLUSTRATIONS & HEADLINES ==================== */
.desk-right {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.pictogram-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pictogram-panel-head {
  padding-left: 4px;
}

.pictogram-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pictogram-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background-color: var(--surface-index);
  border: 1px solid var(--surface-index-border);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.pictogram-figure {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.pictogram-figure svg {
  width: 60px;
  height: 60px;
}

.pictogram-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pictogram-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.pictogram-sub {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin: 0;
}

.pictogram-panel-foot {
  font-size: 12.5px;
  color: var(--ink-muted);
  padding: 4px 4px 0;
}

.preview-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vignette-stage {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-index) 100%);
  border: 1px solid var(--border);
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

html[data-theme="dark"] .vignette-stage {
  background: radial-gradient(circle at 46% 42%, rgba(224, 173, 94, 0.12) 0%, rgba(30, 35, 30, 0.92) 64%, #1a1f1a 100%);
  border-color: var(--surface-index-border);
}

.vignette-art {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.vignette-svg {
  width: 100%;
  max-width: 196px;
  height: auto;
  overflow: visible;
}

.vignette-svg .lamp-day-halo {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.vignette-svg .lamp-night-halo,
.vignette-svg .lamp-shade-lit {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vignette-svg .morning-mug {
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

html[data-theme="dark"] .vignette-svg .lamp-day-halo {
  opacity: 0;
}

html[data-theme="dark"] .vignette-svg .lamp-night-halo,
html[data-theme="dark"] .vignette-svg .lamp-shade-lit {
  opacity: 1;
}

html[data-theme="dark"] .vignette-svg .morning-mug {
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
}

.vignette-caption-day,
.vignette-caption-night {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.vignette-caption-night {
  display: none;
}

html[data-theme="dark"] .vignette-caption-day {
  display: none;
}

html[data-theme="dark"] .vignette-caption-night {
  display: block;
}

.tangible-index-card {
  position: relative;
  background-color: var(--surface-index);
  border: 1px solid var(--surface-index-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-index);
  color: var(--ink);
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.index-card-head {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-card-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.index-card-time {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.how-it-works-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  font-size: 13.5px;
  line-height: 1.48;
}

.how-it-works-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.how-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ochre);
  font-family: var(--font-serif);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.how-it-works-list li strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.how-it-works-list li span {
  color: var(--ink-secondary);
}

.index-card-privacy {
  font-size: 12.5px;
  color: var(--ink-muted);
  padding-top: 11px;
  border-top: 1px solid var(--border);
}

.index-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.index-ics-link {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.index-ics-link:hover {
  color: var(--ochre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==================== UNIFIED SUBVIEW EDITORIAL MASTHEADS & SURFACES ==================== */
.hero-intro {
  max-width: 760px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.hero-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(29px, 3.6vw, 42px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

.hero-intro p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 15.5px;
  max-width: 660px;
  line-height: 1.58;
}

.step-kicker,
.editorial-rubric {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre);
  display: inline-block;
}

.editorial-rubric.moss {
  color: var(--bookmark-moss);
}

.tag-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--ochre);
}

/* Tactile Cotton / Slate Sheets across all subviews */
.panel,
.fit-card,
.care-card,
.exp-card-full,
.catalog-tile {
  position: relative;
  background-color: var(--surface-index);
  border: 1px solid var(--surface-index-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-index);
  margin-bottom: 22px;
}

/* Wizard form sits cleanly on the open editorial desk without a heavy wrapper box */
#situation-form.panel {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
}

/* ==================== DOOR 01: EDITORIAL 2-COLUMN SPREAD ==================== */
.fit-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 26px;
}

.fit-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.fit-card-yes {
  background-color: var(--accent-soft);
  border-color: var(--accent-soft-border);
}

.fit-card-no {
  background-color: var(--surface);
  border-color: var(--border);
}

.fit-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.fit-card-yes .fit-card-head {
  border-bottom-color: var(--accent-soft-border);
}

.fit-num {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--ochre);
  line-height: 1;
}

.fit-num-moss {
  color: var(--bookmark-moss);
}

.fit-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  font-size: 14.5px;
  line-height: 1.54;
  color: var(--ink-secondary);
}

.fit-list li {
  position: relative;
  padding-left: 24px;
}

.fit-list-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bookmark-moss);
  font-weight: 700;
}

.fit-list-no li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ochre);
  font-weight: 600;
}

.fit-list strong {
  color: var(--ink);
}

.editorial-colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 8px;
}

.colophon-text {
  max-width: 580px;
}

.colophon-text .step-kicker {
  margin-bottom: 4px;
}

.colophon-text .panel-title {
  margin-bottom: 6px;
  font-size: 20px;
}

.colophon-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* ==================== MULIGHED 02: MACBOOK / WINDOWS SETUP OPLEVELSE ==================== */
body[data-current-view="wizard"] .site-footer {
  display: none;
}

#view-wizard {
  max-width: 740px;
  margin: 0 auto;
}

@keyframes setupStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.wizard-steps-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Minimalistiske MacBook / Windows setup prikker */
.wiz-pill {
  appearance: none;
  border: none;
  width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  border-radius: 999px;
  background-color: var(--border-strong);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: width 0.24s ease, background-color 0.24s ease;
}

.wiz-pill:hover {
  background-color: var(--ochre);
}

.wiz-pill.is-done {
  background-color: var(--bookmark-moss);
}

.wiz-pill[aria-current="step"] {
  width: 28px;
  background-color: var(--ochre);
}

.wizard-step-counter {
  font-size: 12.5px;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.wiz-step-pane {
  display: none;
}

.wiz-step-pane.active {
  display: block;
  animation: setupStepIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes interstitialFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mellem-skærme ("MacBook / Windows setup" forklarende tekstskærme) */
.wiz-step-pane.setup-interstitial.active {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px 36px;
  animation: interstitialFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.setup-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--ochre);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 20px;
}

.phase-bridge {
  max-width: 540px;
  margin: 0 auto 28px;
  background: transparent;
  border: none;
  padding: 0;
}

.phase-bridge > strong,
.setup-interstitial-title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.8vw, 38px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.phase-bridge p,
.setup-interstitial-lead {
  margin: 0 auto;
  max-width: 500px;
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--ink-secondary);
  text-wrap: pretty;
}

.setup-interstitial-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.setup-interstitial-actions .btn-primary {
  min-width: 196px;
  justify-content: center;
  font-size: 15.5px;
}

/* Grupperet K.I.S.-overskrift i Spørgsmål 5 */
.step5-group-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre);
  margin: 18px 0 10px 2px;
}

.step5-group-label:first-of-type {
  margin-top: 0;
}

/* Tematiske, rolige baggrundsillustrationer i Spørgsmål 5 kort (egen luftig højre-zone uden tekst-overlap) */
.choice-card-illustrated {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  padding: 15px 14px 15px 16px;
  overflow: hidden;
}

.choice-card-illustrated input {
  align-self: start;
  margin-top: 3px;
}

.choice-card-illustrated .choice-content {
  min-width: 0;
}

.choice-card-bg {
  position: static;
  width: 74px;
  height: 56px;
  justify-self: center;
  align-self: center;
  color: var(--ochre);
  opacity: 0.36;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

html[data-theme="dark"] .choice-card-bg {
  opacity: 0.38;
}

.choice-card-illustrated:hover .choice-card-bg {
  opacity: 0.56;
  transform: scale(1.04);
}

.choice-card-illustrated:has(input:checked) .choice-card-bg {
  color: var(--accent);
  opacity: 0.62;
}

/* Rene spørgsmålsskærme (kun spørgsmålet + valgmulighederne) */
.wiz-step-pane.setup-question {
  padding-top: 6px;
}

.wizard-question-head {
  text-align: center;
  margin-bottom: 28px;
}

.wizard-question-head .step-kicker {
  display: none;
}

.wizard-question-title {
  font-family: var(--font-serif);
  font-size: clamp(25px, 3.2vw, 33px);
  font-weight: 400;
  margin: 0 auto;
  line-height: 1.22;
  max-width: 720px;
  text-wrap: balance;
}

.wizard-question-sub {
  color: var(--ink-secondary);
  font-size: 15px;
  margin: 8px auto 0;
  max-width: 540px;
}

.choice-card[hidden] {
  display: none !important;
}

/* Plain-Danish explainer above the right-hand front-page example sheet */
.preview-explainer-box {
  margin-bottom: -8px;
}

.preview-explainer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.preview-explainer-sub {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0 0 10px;
  line-height: 1.45;
}

/* Hand-held, step-by-step explained optional next actions on the Result page */
.handheld-guide-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}

.handheld-guide-head {
  max-width: 680px;
  margin-bottom: 18px;
}

.handheld-guide-head h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin: 4px 0 6px;
  color: var(--ink);
}

.handheld-guide-head p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.52;
}

.explained-option-card {
  background-color: var(--surface);
  border: 1px solid var(--surface-index-border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.explained-option-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.explained-option-num {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ochre);
  font-weight: 400;
}

.explained-option-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.explained-option-desc {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.52;
  margin: 0 0 14px;
  max-width: 690px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field-label {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.field-hint {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: -4px;
}

.radio-grid, .check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

/* Tactile Index-Style Choice Cards */
.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  min-height: 54px;
  border: 1px solid var(--surface-index-border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-index);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}

.choice-card:hover {
  border-color: var(--ochre);
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

html[data-theme="dark"] .choice-card:has(input:checked) {
  border-color: var(--ochre);
  background-color: #2c382f;
}

.choice-card.red-guard {
  background-color: var(--surface);
  border-style: dashed;
}

.choice-card.red-guard:has(input:checked) {
  border-style: solid;
  border-color: var(--status-red-ink);
  background-color: var(--status-red-bg);
}

.choice-card input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.choice-title {
  font-size: 15px;
  font-weight: 600;
  display: block;
  color: var(--ink);
}

.choice-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  display: block;
  margin-top: 3px;
  line-height: 1.45;
}

select, input[type="time"], input[type="text"], textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 15px;
}

/* Refined search field with icon in Law Compass */
.law-controls {
  margin-bottom: 26px;
}

.law-controls .subtab-row {
  margin-bottom: 16px;
}

.search-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  pointer-events: none;
}

#law-search {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background-color: var(--surface);
  padding: 12px 16px 12px 42px;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

#law-search:focus-visible {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(182, 110, 54, 0.14);
}

.weekday-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 54px;
  padding: 8px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.day-pill:has(input:checked) {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  font-weight: 600;
}

.day-pill input {
  display: none;
}

/* ==================== EDITORIAL BOOKCLOTH & PAPER BUTTONS ==================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-row-spread {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.btn-primary {
  appearance: none;
  border: 1px solid var(--accent);
  background-color: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.16s ease, transform 0.1s ease, box-shadow 0.16s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  appearance: none;
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-secondary:hover {
  border-color: var(--ochre);
  background-color: var(--bg-subtle);
}

.btn-urgent-soft {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px dashed var(--border-strong);
  background-color: var(--surface);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  cursor: pointer;
  margin-top: 16px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn-urgent-soft:hover {
  border-style: solid;
  border-color: var(--status-red-ink);
  background-color: var(--status-red-bg);
  color: var(--status-red-ink);
}

/* Editorial filter / tag buttons */
.chip-btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip-btn:hover {
  border-color: var(--ochre);
  color: var(--ink);
}

/* Subtab buttons inside Catalog & Law Compass act like clean editorial index tabs */
.subtab-row .chip-btn {
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent !important;
  border-radius: 0;
  padding: 6px 5px;
  font-size: 14px;
}

.subtab-row .chip-btn:hover {
  color: var(--ink);
}

/* ==================== DOOR 03: NUMBERED EDITORIAL CHAPTERS (BALANCED 2x2 GRIDS) ==================== */
.triage-grid {
  display: grid;
  gap: 24px;
}

.care-card {
  margin-bottom: 0;
}

.care-card-free {
  background-color: var(--surface-index);
}

.care-card-aula {
  background-color: var(--surface-index);
}

.care-card-optional {
  background-color: var(--surface-muted);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
}

.care-chapter-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.care-chapter-num {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: var(--ochre);
  padding-right: 14px;
  border-right: 1px solid var(--border-strong);
}

.care-num-moss {
  color: var(--bookmark-moss);
}

.care-num-muted {
  color: var(--ink-muted);
}

.care-lead {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  max-width: 720px;
  line-height: 1.56;
}

.helpline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.helpline-item {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s ease;
}

.helpline-item:hover {
  border-color: var(--border-strong);
}

.helpline-item-urgent {
  background-color: var(--status-red-bg);
  border-color: rgba(130, 43, 34, 0.28);
}

html[data-theme="dark"] .helpline-item-urgent {
  border-color: rgba(240, 164, 156, 0.3);
}

.helpline-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  margin-top: 4px;
  line-height: 1.48;
}

.helpline-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--accent-soft);
  width: fit-content;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.helpline-phone:hover {
  background-color: var(--accent);
  color: var(--accent-contrast);
}

.helpline-phone-urgent {
  color: var(--status-red-ink);
  background-color: rgba(130, 43, 34, 0.10);
}

html[data-theme="dark"] .helpline-phone-urgent {
  background-color: rgba(240, 164, 156, 0.14);
}

.helpline-phone-urgent:hover {
  background-color: var(--status-red-ink);
  color: var(--bg);
}

.helpline-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.quick-reply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.quick-reply-card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.16s ease, transform 0.14s ease;
}

.quick-reply-card:hover {
  border-color: var(--ochre);
  transform: translateY(-1px);
}

/* ==================== EXPERIMENT CARDS: FULL-SIZE TANGIBLE INDEX CARDS ==================== */
.notice-box {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--warm-sand);
  margin-bottom: 18px;
  font-size: 14px;
}

.notice-box.clinical-stop {
  background-color: var(--status-red-bg);
  color: var(--status-red-ink);
  border-color: var(--status-red-ink);
}

.notice-box h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-family: var(--font-serif);
  font-weight: 400;
}

.notice-box ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.exp-card-full {
  padding: 28px 30px;
}

.exp-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ochre);
  padding-right: 28px;
}

.exp-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 400;
  margin: 4px 0 8px;
  line-height: 1.2;
}

.exp-subtitle {
  color: var(--ink-secondary);
  margin: 0 0 18px;
  font-size: 15.5px;
}

/* ==================== UDKAST 1: DE 3 VISUELLE STORYBOARD-KORT ==================== */
#match-results-area > article.exp-card-full.storyboard-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 10px;
}

.storyboard-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 20px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-strong);
}

.storyboard-goal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--ochre);
  background-color: rgba(182, 110, 54, 0.10);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

html[data-theme="dark"] .storyboard-goal-pill {
  background-color: rgba(221, 168, 89, 0.13);
}

.steps-list.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: none;
  margin: 16px 0 8px;
}

.step-item.storyboard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 19px 19px;
  background-color: var(--surface-index);
  border: 1px solid var(--surface-index-border);
  border-radius: 8px;
  box-shadow: var(--shadow-index);
}

.storyboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 12px;
}

.storyboard-card:first-child .storyboard-top {
  padding-right: 22px;
}

.storyboard-num {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

.storyboard-when {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  white-space: nowrap;
}

.storyboard-scene {
  height: 116px;
  margin: 12px 0 14px;
  border-radius: 6px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  overflow: hidden;
}

html[data-theme="dark"] .storyboard-scene {
  background-color: #191e1a;
}

.storyboard-scene svg {
  width: 100%;
  max-width: 248px;
  height: 100px;
  overflow: visible;
}

.storyboard-title {
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.28;
  margin: 0 0 5px;
  color: var(--ink);
}

.storyboard-desc {
  font-size: 13.5px;
  line-height: 1.46;
  color: var(--ink-secondary);
  margin: 0;
}

.storyboard-speech {
  background-color: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 10px 10px 10px 2px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.44;
  color: var(--ink);
}

.storyboard-speech-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 3px;
}

.phrase-quote {
  margin-top: 8px;
  padding: 8px 12px;
  border-left: 2px solid var(--ochre);
  background-color: var(--surface);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
}

.sync-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  margin: 14px 0;
}

.inline-ics-adjust {
  margin: 12px 0 16px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
}

.inline-ics-adjust summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.visual-diagram {
  margin: 16px 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  border: 1px solid var(--border);
}

.diagram-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 680px) {
  .diagram-grid {
    grid-template-columns: 1fr;
  }
  .diagram-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

.diagram-node {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-index);
  border: 1px solid var(--border);
  font-size: 13.5px;
}

.diagram-node-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ochre);
  margin-bottom: 4px;
}

.diagram-caption {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-secondary);
  margin-top: 10px;
}

details.fold-panel {
  border-top: 1px solid var(--border-strong);
  margin-top: 14px;
  padding-top: 12px;
}

details.fold-panel.panel-accordion {
  border: 1px solid var(--surface-index-border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-index);
  padding: 15px 20px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}

details.fold-panel summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
}

details.fold-panel summary::-webkit-details-marker {
  display: none;
}

details.fold-panel summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ochre);
  flex-shrink: 0;
}

details.fold-panel[open] summary::after {
  content: "−";
}

.fold-body {
  padding-top: 12px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.eval-logger {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.battery-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  min-height: 36px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-index);
  color: var(--ink);
}

.battery-pill[data-active="true"][data-level="Grøn"] {
  background: var(--status-green-bg);
  color: var(--status-green-ink);
  border-color: var(--status-green-ink);
}

.battery-pill[data-active="true"][data-level="Gul"] {
  background: var(--status-yellow-bg);
  color: var(--status-yellow-ink);
  border-color: var(--status-yellow-ink);
}

.battery-pill[data-active="true"][data-level="Rød"] {
  background: var(--status-red-bg);
  color: var(--status-red-ink);
  border-color: var(--status-red-ink);
}

/* ==================== CATALOG GRID: 16 TANGIBLE INDEX CARDS ==================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.catalog-tile {
  padding: 22px 24px;
  margin-bottom: 0;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.catalog-tile:hover {
  border-color: var(--ochre);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.catalog-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  padding-right: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ==================== LAW COMPASS & STATIONERY LETTER SHEETS ==================== */
#law-content .panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 18px;
}

#law-content .exp-meta-top {
  border-bottom-color: var(--border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.template-pre {
  white-space: pre-wrap;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  background: var(--surface-index);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 14px 0 16px;
  color: var(--ink);
}

/* ==================== PRINT-READY 1-PAGE MEETING SHEET ==================== */
.moede-controls-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.print-stage-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 26px 4px 10px;
}

.print-sheet {
  background: #ffffff;
  color: #161a18;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 36px 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 20px 44px rgba(0, 0, 0, 0.12);
}

.print-sheet h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 6px;
  color: #161a18;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin: 14px 0;
}

.print-table th, .print-table td {
  border: 1px solid #d4dad7;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.print-table th {
  background-color: #f6f3ec;
  font-weight: 600;
}

.print-row-remove {
  appearance: none;
  border: 1px solid #d8c7c4;
  background: #fdf6f5;
  color: #8c2d23;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.print-row-remove:hover {
  background: #8c2d23;
  color: #ffffff;
}

.print-add-bar {
  margin: -6px 0 14px;
}

.print-add-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px dashed #b9c5be;
  background-color: #f8f7f2;
  color: #234739;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.print-add-btn:hover {
  background-color: #ebf3ee;
  border-color: #234739;
}

.print-add-form {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #d4dad7;
  border-radius: 8px;
  background-color: #faf8f3;
  color: #18231e;
  display: grid;
  gap: 10px;
}

.print-add-form[hidden] {
  display: none;
}

.print-add-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #435049;
  margin-bottom: 4px;
}

.print-add-form input,
.print-add-form select {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #c5cec9;
  border-radius: 6px;
  background: #ffffff;
  color: #161a18;
  font-size: 13px;
}

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

.moede-agree-editor {
  display: grid;
  gap: 14px;
}

.moede-agree-item {
  display: grid;
  gap: 6px;
}

.moede-agree-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.moede-agree-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.moede-agree-item textarea {
  min-height: 62px;
  font-size: 13.5px;
  line-height: 1.5;
  resize: vertical;
}

/* ==================== REFINED HOMEPAGE 1:1 ALIGNMENT, DOOR 01 K.I.S. & DOOR 03 MINI-TABS ==================== */
.home-hero-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.home-hero-head .editorial-lead {
  margin-bottom: 0;
}

.editorial-desk-grid {
  align-items: stretch;
  gap: 36px;
}

.desk-left,
.desk-right {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.doors-stack,
.pictogram-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(106px, 1fr));
  gap: 14px;
  height: 100%;
}

.door-card,
.pictogram-item {
  height: 100%;
  min-height: 106px;
}

/* Door 01 (Afklaring): K.I.S. visual pictogram list */
.fit-visual-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.fit-visual-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.fit-icon {
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fit-icon svg {
  width: 100%;
  height: 100%;
}

.fit-icon-moss {
  background-color: var(--surface);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent);
}

.fit-icon-ochre {
  background-color: var(--ochre-soft);
  border: 1px solid rgba(182, 110, 54, 0.25);
  color: var(--ochre);
}

.fit-icon-urgent {
  background-color: var(--status-red-bg);
  border: 1px solid rgba(130, 43, 34, 0.25);
  color: var(--status-red-ink);
}

.fit-visual-list li strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.fit-visual-list li span {
  display: block;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

/* Door 03 (Gratis rådgivning): Compact 02 & 03 side-by-side tabs */
.advice-secondary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.advice-mini-tab {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.advice-mini-optional {
  background-color: var(--surface-muted);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
}

.advice-mini-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.advice-mini-num {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1;
  color: var(--ochre);
}

.advice-mini-muted {
  color: var(--ink-muted);
}

.advice-mini-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.25;
}

.advice-mini-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.48;
}

.advice-mini-tab .btn-secondary {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 13.5px;
}

#plan-symmetry-feedback:empty {
  display: none;
}

/* ==================== SMARTPHONE (< 820px): UNIFIED ERGONOMIC THUMB-ZONE ==================== */
.mobile-symmetry-bar {
  display: none;
}

@media (max-width: 820px) {
  .header-inner {
    padding: 10px 14px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .brand-title {
    font-size: 15.5px;
  }
  .theme-pill-btn {
    padding: 4px 9px 4px 6px;
    min-height: 34px;
    font-size: 11.5px;
    gap: 6px;
  }
  .brand-sub,
  .mode-switch-label,
  .header-nav-group,
  .header-actions .exit-symmetry-btn {
    display: none;
  }
  .main-wrap {
    padding: 18px 16px 88px;
  }
  .home-hero-head {
    margin-bottom: 18px;
  }
  .editorial-desk-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .desk-divider {
    display: none;
  }

  .mobile-lamp-crest {
    display: flex;
    justify-content: center;
    margin: 0 0 6px;
  }
  .mobile-lamp-crest .vignette-svg {
    max-width: 84px;
  }

  .hero-eyebrow {
    text-align: center;
    margin-bottom: 8px;
  }
  .editorial-h1 {
    text-align: center;
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.14;
    margin-bottom: 10px;
  }
  .editorial-lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.48;
    margin: 0 auto;
  }

  .doors-stack,
  .pictogram-stack {
    grid-template-rows: auto;
    gap: 10px;
  }
  .door-card,
  .pictogram-item {
    min-height: auto;
  }
  .door-card {
    padding: 15px 16px;
    min-height: 68px;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
  }
  .door-num {
    font-size: 23px;
    padding-right: 10px;
  }
  .door-title-line {
    font-size: 16px;
  }
  .door-clicks {
    font-size: 13px;
  }
  .door-sub {
    font-size: 12.5px;
  }

  .desk-trust-footnote {
    justify-content: center;
    margin-top: 18px;
    gap: 8px 14px;
  }

  .vignette-stage {
    display: none;
  }

  .symmetry-grid,
  .fit-two-col,
  .helpline-list,
  .quick-reply-grid,
  .advice-secondary-row {
    grid-template-columns: 1fr;
  }

  .exp-card-full, .panel, .fit-card, .care-card, #law-content .panel {
    padding: 20px 18px;
  }
  .print-sheet {
    padding: 22px 18px;
  }
  .steps-list.storyboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .storyboard-header {
    align-items: flex-start;
  }

  .mobile-symmetry-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.14);
  }
  .mob-sym-btn {
    appearance: none;
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background-color: var(--surface);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
  }
  .mob-sym-btn:active {
    background-color: var(--accent-soft);
  }
}

/* ==================== QUIET EDITORIAL FOOTER ==================== */
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px 88px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 18px;
}

.footer-brand-note strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.footer-link-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 4px 0;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-link-btn:hover {
  color: var(--ochre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link-muted {
  color: var(--ink-muted);
}

.dev-drawer {
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface-muted);
}

.dev-drawer summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 12.5px;
}

.persona-bar {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.toast {
  position: fixed;
  bottom: 72px;
  right: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  max-width: min(420px, calc(100vw - 40px));
}

.toast.visible {
  opacity: 1;
}

/* ==================== FORTSÆT FORLØB (UGE 1 -> UGE 2) & MØDEPAPIR MOBIL/MØRK ==================== */
.resume-journey-banner {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--accent-soft-border);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.resume-journey-banner[hidden] {
  display: none !important;
}

.resume-journey-copy {
  display: grid;
  gap: 3px;
}

.resume-journey-copy strong {
  font-size: 15px;
  color: var(--ink);
}

.resume-journey-copy span {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.print-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 10px;
}

html[data-theme="dark"] .print-sheet {
  background-color: #f3efe7;
  color: #1a211d;
  border-color: #3a443b;
}

.fridge-option-bar {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.fridge-option-copy {
  display: grid;
  gap: 2px;
  max-width: 520px;
}

.fridge-option-copy strong {
  font-size: 14px;
  color: var(--ink);
}

.fridge-option-copy span {
  font-size: 13px;
  color: var(--ink-secondary);
}

.fridge-sheet {
  padding: 26px 28px;
}

.fridge-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid #234739;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.fridge-head h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: #18231e;
}

.fridge-week-slot {
  font-size: 13px;
  color: #48534d;
  white-space: nowrap;
}

.fridge-timetable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 0 12px;
  font-size: 12px;
}

.fridge-timetable th,
.fridge-timetable td {
  border: 1px solid #c3cbc5;
  padding: 8px 8px;
  vertical-align: top;
  text-align: left;
  color: #18231e;
}

.fridge-timetable th {
  background: #edf2ee;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}

.fridge-timetable th:first-child {
  width: 112px;
  text-align: left;
}

.fridge-time-cell {
  background: #f7f5ef;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.35;
}

.fridge-time-sub {
  display: block;
  font-weight: 400;
  color: #59655e;
  font-size: 11px;
  margin-top: 2px;
}

.fridge-post-cell {
  background: #ffffff;
  line-height: 1.35;
}

.fridge-post-cell.is-off {
  background: #faf8f4;
  color: #9aa39d;
  text-align: center;
  vertical-align: middle;
}

.fridge-post-title {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 600;
  font-size: 11.5px;
}

.fridge-energy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  font-size: 11px;
  color: #435049;
}

.fridge-energy-row span {
  white-space: nowrap;
}

.fridge-checkbox {
  display: inline-block;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border: 1.5px solid #234739;
  border-radius: 3px;
  vertical-align: -2px;
  margin-right: 2px;
  background: #ffffff;
}

.fridge-compact-check {
  border: 1px solid #c3cbc5;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  background: #faf8f4;
  color: #18231e;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 10px;
}

.fridge-note-line {
  flex: 1 1 220px;
  border-bottom: 1px dotted #8a958e;
  padding-bottom: 2px;
  color: #59655e;
  font-size: 11.5px;
}

.fridge-steps-whisper {
  font-size: 11px;
  line-height: 1.45;
  color: #5d6861;
  padding-top: 6px;
  border-top: 1px solid #e4e0d6;
}

/* ==================== JURIDISK DISCLAIMER & MODEL 1+2 OPGRADERING ==================== */
.legal-disclaimer-box {
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.legal-disclaimer-box strong {
  color: var(--ink);
}

.moede-legal-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.footer-disclaimer {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 820px;
}

.upgrade-gate-card {
  margin: 16px 0 20px;
  padding: 20px 22px;
  border: 1px solid var(--accent-soft-border);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.upgrade-gate-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin: 4px 0 6px;
  color: var(--ink);
}

.upgrade-gate-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.upgrade-gate-list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink);
  display: grid;
  gap: 5px;
}

.model2-addon-bar {
  margin: 0 0 16px;
  padding: 15px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.model2-addon-bar[hidden] {
  display: none !important;
}

@media print {
  @page {
    margin: 12mm;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
  }
  .site-header, .symmetry-drawer, .mobile-symmetry-bar, .site-footer, .no-print, .toast {
    display: none !important;
  }
  .main-wrap {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .view-section {
    display: none !important;
  }
  #view-moedebilag {
    display: block !important;
  }
  body[data-print-mode="fridge"] #view-moedebilag,
  body[data-current-view="ugeske"] #view-moedebilag {
    display: none !important;
  }
  body[data-print-mode="fridge"] #view-ugeske,
  body[data-current-view="ugeske"] #view-ugeske {
    display: block !important;
  }
  .print-sheet,
  .fridge-sheet {
    background: #ffffff !important;
    color: #000000 !important;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .print-table-wrap {
    overflow: visible !important;
  }
}
