/* Arbejdsmiljøhandleplan – prototype styles. */

:root {
  /* Aarhus-blå + safety-grøn palette */
  --color-bg: #f3f5f8;
  --color-surface: #ffffff;
  --color-surface-2: #f7f9fc;
  --color-surface-3: #eef2f7;
  --color-border: #dde3ec;
  --color-border-strong: #b9c4d5;
  --color-line: #e3e8f0;
  --color-ink: #0d2340;
  --color-text: #1a2640;
  --color-text-muted: #5b6678;
  --color-primary: #1c4a8a;
  --color-primary-hover: #143862;
  --color-primary-ink: #ffffff;
  --color-accent: #2f8a4e;
  --color-accent-soft: #e0efe5;
  --color-accent-deep: #1f6537;

  --color-danger: #b3261e;
  --color-warn: #c97a17;
  --color-ok: #2f8a4e;
  --color-focus: #4a7fc4;

  /* Risk traffic-light tones (matches docx) */
  --risk-accept-bg: #d9ead3;
  --risk-accept-fg: #1f5128;
  --risk-accept-border: #a6cf9b;
  --risk-small-bg: #d6e4f4;
  --risk-small-fg: #154a85;
  --risk-small-border: #9eb9da;
  --risk-moderate-bg: #fde9c6;
  --risk-moderate-fg: #7a4b07;
  --risk-moderate-border: #e9c47a;
  --risk-high-bg: #f4c8c5;
  --risk-high-fg: #7a1410;
  --risk-high-border: #d99490;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 0 var(--color-line);
  --shadow-md: 0 12px 32px -16px rgba(13, 35, 64, 0.18);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: "Fraunces", "Source Serif Pro", Georgia, serif;
  --font-sans: "Geist", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur: 220ms;

  --container-max: 1180px;
  --container-wide: 1600px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-feature-settings: "ss01", "ss02";
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
h1 { font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -0.02em; font-variation-settings: "opsz" 96, "SOFT" 40; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; color: var(--color-text); }

p { margin: 0 0 var(--space-3); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main.container, main.container-wide {
  flex: 1 0 auto;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-primary);
}
.serif { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--color-text); max-width: 60ch; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#view-root > * { animation: fade-up var(--dur) var(--ease-out) both; }
#view-root > *:nth-child(1) { animation-delay: 0ms; }
#view-root > *:nth-child(2) { animation-delay: 40ms; }
#view-root > *:nth-child(3) { animation-delay: 80ms; }
#view-root > *:nth-child(4) { animation-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  #view-root > * { animation: none; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  padding: var(--space-2) var(--space-3);
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); z-index: 100; }

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-ink);
}
.brand-mark {
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  align-self: flex-start;
}
.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.site-nav { display: flex; gap: var(--space-6); justify-content: center; }
.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-2) 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--color-ink);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav a:hover { color: var(--color-ink); }
.site-nav a:hover::after { transform: translateX(-50%) scaleX(1); }
.site-nav a.active { color: var(--color-ink); }
.site-nav a.active::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-ink);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.user-area {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.95rem;
  justify-self: end;
}
.user-area .user-name { color: var(--color-text); padding: var(--space-1) 0; font-weight: 500; }

@media (max-width: 1020px) {
  .header-row { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: inline-flex; order: 2; justify-self: end; }
  .user-area { justify-self: end; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    flex-direction: column;
    gap: 0;
    padding: var(--space-3) var(--gutter) var(--space-4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a::after, .site-nav a.active::after { display: none; }
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  padding: var(--space-5) 0;
  margin-top: var(--space-7);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-meta { margin: 0; }
.footer-link { text-decoration: none; color: var(--color-text-muted); }
.footer-link:hover { color: var(--color-ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover, a.btn:hover { background: var(--color-primary-hover); color: var(--color-primary-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
/* Keyboard focus ring sits a little outside the button so it reads as an outer
   ring rather than hugging the edge — easy to overlook on filled buttons. */
.btn:focus-visible, .btn-icon:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover, a.btn-secondary:hover { background: var(--color-surface-2); color: var(--color-text); }
.btn-ghost { background: transparent; color: var(--color-primary); }
.btn-ghost:hover, a.btn-ghost:hover { background: var(--color-surface-2); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-deep); }
.btn-danger { background: var(--color-danger); }
.btn-danger:hover { background: #872019; color: #fff; }
.btn-sm { padding: var(--space-2) var(--space-3); font-size: 0.9rem; }
.btn-icon {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 34px; height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
}
.btn-icon:hover { background: var(--color-surface-2); }

/* Icons */
.icon { flex-shrink: 0; vertical-align: -3px; }
.btn .icon, .btn-icon .icon { vertical-align: 0; }

/* Forms */
.form-grid { display: grid; gap: var(--space-4); }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: 1fr; } }

label.field { display: flex; flex-direction: column; gap: var(--space-1); font-size: 0.9rem; color: var(--color-text-muted); }
label.field .hint { font-size: 0.8rem; color: var(--color-text-muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="search"], input[type="date"], input[type="url"], input[type="tel"],
textarea, select {
  font: inherit;
  padding: var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  width: 100%;
  line-height: 1.4;
}
input[type="date"] { min-height: 45px; appearance: none; -webkit-appearance: none; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.6; }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: calc(var(--space-3) + 24px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 12px 12px;
}
textarea { resize: vertical; min-height: 88px; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
  border-color: var(--color-focus);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.card h2, .card h3 { margin-top: 0; }
.card + .card { margin-top: var(--space-4); }

/* Hero (editorial) */
.hero { padding: 0 0 var(--space-7); max-width: none; }
.hero .eyebrow { margin-bottom: var(--space-4); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin: 0 0 var(--space-5);
  max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero-title em {
  font-style: italic;
  color: var(--color-accent-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero .lede { margin-bottom: var(--space-6); }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Page header (non-hero) */
.page-head { margin-bottom: var(--space-5); max-width: 70ch; }
.page-head.full { max-width: none; }
.page-head .eyebrow { margin-bottom: var(--space-3); }
.page-head h1 { margin-bottom: var(--space-3); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.breadcrumb a { text-decoration: none; color: var(--color-text); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-line); }

/* Dashboard KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.kpi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.kpi-card .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.kpi-card .value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.kpi-card.is-warn .value { color: var(--color-warn); }
.kpi-card.is-danger .value { color: var(--color-danger); }
.kpi-card.is-ok .value { color: var(--color-ok); }

/* Notice / advis-stribe */
.notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.notice .notice-icon { color: var(--color-primary); flex-shrink: 0; }
.notice-warn { background: #fff7e6; border-color: var(--risk-moderate-border); }
.notice-warn .notice-icon { color: var(--color-warn); }
.notice-danger { background: #fdecea; border-color: var(--risk-high-border); }
.notice-danger .notice-icon { color: var(--color-danger); }
.notice-info { background: #e9eff8; border-color: #b6c7e2; }
.notice-ok { background: var(--risk-accept-bg); border-color: var(--risk-accept-border); }
.notice-ok .notice-icon { color: var(--color-ok); }
.notice p { margin: 0; line-height: 1.5; }
.notice strong { color: var(--color-ink); }
.notice-actions { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; }

/* Plan list */
.plan-list { display: grid; gap: var(--space-4); }
.plan-row {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.plan-row:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.plan-row h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-ink);
}
.plan-row .meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.plan-row .members { color: var(--color-text-muted); font-size: 0.9rem; }
.plan-row .right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  text-align: right;
}
@media (max-width: 700px) {
  .plan-row { grid-template-columns: 1fr; }
  .plan-row .right-side { align-items: flex-start; text-align: left; }
}

/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.badge::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.badge-ok { background: var(--risk-accept-bg); color: var(--risk-accept-fg); border-color: var(--risk-accept-border); }
.badge-warn { background: var(--risk-moderate-bg); color: var(--risk-moderate-fg); border-color: var(--risk-moderate-border); }
.badge-danger { background: var(--risk-high-bg); color: var(--risk-high-fg); border-color: var(--risk-high-border); }
.badge-neutral { background: var(--color-surface-3); color: var(--color-text); border-color: var(--color-border); }
.badge-info { background: var(--risk-small-bg); color: var(--risk-small-fg); border-color: var(--risk-small-border); }
.badge-plain { background: transparent; border-color: transparent; padding: 3px 0; color: var(--color-text-muted); }
.badge-plain::before { display: none; }

/* Risk badge — same as .badge but bigger, no dot prefix */
.risk-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.risk-pill[data-risk="accept"]   { background: var(--risk-accept-bg); color: var(--risk-accept-fg); border-color: var(--risk-accept-border); }
.risk-pill[data-risk="small"]    { background: var(--risk-small-bg); color: var(--risk-small-fg); border-color: var(--risk-small-border); }
.risk-pill[data-risk="moderate"] { background: var(--risk-moderate-bg); color: var(--risk-moderate-fg); border-color: var(--risk-moderate-border); }
.risk-pill[data-risk="high"]     { background: var(--risk-high-bg); color: var(--risk-high-fg); border-color: var(--risk-high-border); }

/* Tabs */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--color-line);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: var(--space-5);
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  background: transparent;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--color-ink); }
.tab-btn.is-active {
  color: var(--color-ink);
  border-bottom-color: var(--color-primary);
}

/* Risk matrix */
.risk-matrix-wrap {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .risk-matrix-wrap { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
}
.risk-matrix {
  display: grid;
  grid-template-columns: 160px repeat(4, 1fr);
  gap: 4px;
  background: var(--color-surface);
}
.risk-matrix .rm-cell {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.25;
  font-weight: 500;
}
.risk-matrix .rm-head {
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 32px;
}
.risk-matrix .rm-row-head {
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  justify-content: flex-end;
  text-align: right;
  padding-right: var(--space-3);
}
.risk-matrix .rm-cell[data-risk="accept"]   { background: var(--risk-accept-bg); color: var(--risk-accept-fg); }
.risk-matrix .rm-cell[data-risk="small"]    { background: var(--risk-small-bg); color: var(--risk-small-fg); }
.risk-matrix .rm-cell[data-risk="moderate"] { background: var(--risk-moderate-bg); color: var(--risk-moderate-fg); }
.risk-matrix .rm-cell[data-risk="high"]     { background: var(--risk-high-bg); color: var(--risk-high-fg); }
.risk-matrix .rm-cell.is-highlight {
  outline: 3px solid var(--color-ink);
  outline-offset: -3px;
  font-weight: 700;
}
.risk-matrix .rm-axis-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.risk-legend { display: grid; gap: var(--space-3); }
.risk-legend .item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.risk-legend .swatch {
  width: 24px; height: 24px; border-radius: var(--radius-sm);
}
.risk-legend .swatch[data-risk="accept"]   { background: var(--risk-accept-bg); border: 1px solid var(--risk-accept-border); }
.risk-legend .swatch[data-risk="small"]    { background: var(--risk-small-bg); border: 1px solid var(--risk-small-border); }
.risk-legend .swatch[data-risk="moderate"] { background: var(--risk-moderate-bg); border: 1px solid var(--risk-moderate-border); }
.risk-legend .swatch[data-risk="high"]     { background: var(--risk-high-bg); border: 1px solid var(--risk-high-border); }
.risk-legend .legend-title { font-weight: 600; color: var(--color-ink); display: block; margin-bottom: 2px; }
.risk-legend .legend-body { font-size: 0.9rem; color: var(--color-text-muted); }

/* Generic data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  font-size: 0.92rem;
}
.data-table th, .data-table td {
  padding: var(--space-3);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}
.data-table th {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.data-table tbody tr:hover td { background: var(--color-surface-2); }
.data-table td .inline-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

/* Action table — denser, with inline-edit feel */
.action-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  background: var(--color-surface);
}
.action-table th {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-2);
  position: sticky;
  top: 0;
}
.action-table td {
  padding: var(--space-3);
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}
/* Resolved indsats — muted, no line-through, prominent green check, read-only. */
.action-table tr.is-resolved td { background: var(--color-surface-2); }
.action-table tr.is-resolved .resolved-text,
.action-table tr.is-resolved .inline-meta { color: var(--color-text-muted); }
.action-table tr.is-resolved .resolved-text { display: block; }
.resolved-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-primary-ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.resolved-check:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }
.resolved-check .icon { stroke-width: 3; }

/* Resolved row: "Løst" + delete in a row, same height, with space between. */
.action-table .a-actions-resolved {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.action-table input, .action-table textarea, .action-table select {
  padding: var(--space-2);
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-sm);
}
/* Date inputs match the expandable preview: always-visible border + text. */
.action-table input[type="date"] {
  border-color: var(--color-border);
  color: var(--color-text);
  font-size: 0.9rem;
  padding: 6px 8px;
}
.action-table input:hover, .action-table textarea:hover { background: var(--color-surface-2); border-color: var(--color-border); }
.action-table input:focus, .action-table textarea:focus { background: var(--color-surface); border-color: var(--color-focus); }
.action-table textarea { min-height: 60px; resize: vertical; }
.action-table .a-actions { white-space: nowrap; }

/* Column sizing — keep the whole row in view, avoid horizontal scroll.
   Percentages let the flexible text columns share remaining space while the
   narrow data columns stay compact. The actions column is a fixed width so the
   leftover space isn't dumped into an empty trailing column. */
.action-table { table-layout: fixed; }
.action-table th, .action-table td { overflow-wrap: anywhere; }
.action-table .a-location    { width: 15%; }
.action-table .a-problem     { width: 19%; }
.action-table .a-risk        { width: 14%; min-width: 150px; }
.action-table .a-solution    { width: 19%; }
.action-table .a-responsible { width: 10%; }
.action-table .a-deadline    { width: 8%; }
.action-table .a-evaluation  { width: 15%; }
.action-table .a-actions     { width: 120px; }

/* Cell action buttons (handlinger / evaluering) — never wrap the label+count. */
.action-table .a-cell-btn { white-space: nowrap; max-width: 100%; }
.action-table .a-cell-btn span:not(.count-badge) {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stack the two risk selects so the column can stay narrow. */
.action-table .a-risk .risk-selects { grid-template-columns: 1fr; }

/* Risk select fields — labeled selects with visible chevron */
.risk-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.risk-select-field {
  gap: 2px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.risk-select-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.action-table select.risk-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 24px 6px 8px;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c4a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
}
.action-table select.risk-select:hover {
  border-color: var(--color-border-strong);
  background-color: var(--color-surface-2);
}
.action-table select.risk-select:focus {
  border-color: var(--color-focus);
  background-color: var(--color-surface);
}

/* Expandable text — clamp preview + popover editor */
.expandable {
  width: 100%;
}
.expandable-preview {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 28px 6px 8px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: text;
  position: relative;
  display: block;
  min-height: 32px;
}
.expandable-preview:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}
.expandable-preview:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}
.expandable-preview.is-muted .expandable-text,
.expandable-preview.is-muted .expandable-placeholder {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}
.expandable-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
}
.expandable-placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}
.expandable-edit-hint {
  position: absolute;
  right: 6px;
  top: 6px;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: opacity var(--dur-fast) var(--ease-out);
  display: inline-flex;
}
.expandable-preview:hover .expandable-edit-hint {
  opacity: 1;
}

.expandable-popover {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px -16px rgba(13, 35, 64, 0.35);
  padding: var(--space-3);
  z-index: 60;
  max-width: 480px;
  display: grid;
  gap: var(--space-2);
  animation: fade-up var(--dur-fast) var(--ease-out);
}
.expandable-popover textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: var(--space-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  resize: vertical;
  min-height: 120px;
  line-height: 1.45;
}
.expandable-popover textarea:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
  border-color: var(--color-focus);
}
.expandable-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}

.table-scroll { overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-md); }

/* Timeline / log */
.timeline {
  display: grid;
  gap: var(--space-3);
  position: relative;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  position: relative;
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: -12px;
  width: 1px;
  background: var(--color-line);
}
.timeline-entry:last-child::before { display: none; }
.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface-3);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  z-index: 1;
}
.timeline-entry[data-type="created"] .timeline-dot { background: var(--risk-accept-bg); color: var(--risk-accept-fg); border-color: var(--risk-accept-border); }
.timeline-entry[data-type="reviewed"] .timeline-dot { background: var(--risk-accept-bg); color: var(--risk-accept-fg); border-color: var(--risk-accept-border); }
.timeline-entry[data-type="shared"] .timeline-dot { background: var(--risk-small-bg); color: var(--risk-small-fg); border-color: var(--risk-small-border); }
.timeline-entry[data-type="action-added"] .timeline-dot,
.timeline-entry[data-type="action-edited"] .timeline-dot { background: #fff5d6; color: #7a5a00; border-color: #e9d480; }
.timeline-entry[data-type="action-resolved"] .timeline-dot { background: var(--risk-accept-bg); color: var(--risk-accept-fg); border-color: var(--risk-accept-border); }
.timeline-body { min-width: 0; }
.timeline-body .summary { font-weight: 500; color: var(--color-ink); margin: 0; }
.timeline-body .details { font-size: 0.9rem; color: var(--color-text-muted); margin: 2px 0 0; }
.timeline-body .when {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}

/* Year-wheel */
.year-wheel { overflow-x: auto; }
.year-wheel table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.year-wheel th, .year-wheel td {
  padding: var(--space-2);
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}
.year-wheel th:first-child, .year-wheel td:first-child { text-align: left; padding-left: var(--space-3); }
.year-wheel th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); background: var(--color-surface-2); }
.year-wheel td input[type="checkbox"] { transform: scale(1.2); cursor: pointer; }
.year-wheel td.month-on { background: var(--risk-accept-bg); }

/* Meta header (plan-edit top) */
.meta-header {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}
.meta-header .meta-title-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.meta-header h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.meta-header .meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  font-size: 0.92rem;
}
.meta-header .meta-grid dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.meta-header .meta-grid dd { margin: 0; color: var(--color-ink); font-weight: 500; }
.meta-header .meta-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* AMG members editor */
.amg-list { display: grid; gap: var(--space-2); max-width: 680px; }
.amg-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 36px;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.amg-row:hover { border-color: var(--color-border-strong); }
.amg-row:focus-within { border-color: var(--color-focus); background: var(--color-surface-2); }
.amg-row > input {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: var(--space-2) var(--space-3);
}
.amg-row > input:focus {
  outline: none;
  background: var(--color-surface);
}
.amg-row > input + input {
  border-left: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.amg-row > input + input:focus { color: var(--color-text); }
.amg-row > .btn-icon {
  border: none;
  border-left: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
}
.amg-row > .btn-icon:hover {
  background: var(--color-surface-3);
  color: var(--color-danger);
}
@media (max-width: 600px) {
  .amg-row { grid-template-columns: 1fr; }
  .amg-row > input + input { border-left: none; border-top: 1px solid var(--color-border); }
  .amg-row > .btn-icon { border-left: none; border-top: 1px solid var(--color-border); height: 36px; }
}

/* Empty state */
.empty {
  text-align: center;
  padding: var(--space-7) var(--space-5);
  color: var(--color-text-muted);
}
.empty h2 { color: var(--color-text); margin-bottom: var(--space-2); }
.empty .empty-illus {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--color-surface-3);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Toast */
.toast-region {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 100;
}
.toast {
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  animation: toast-in 0.2s ease-out;
}
.toast-ok { background: var(--color-accent-deep); }
.toast-error { background: var(--color-danger); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Auth */
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
}
.auth-tabs button {
  flex: 1;
  background: transparent;
  border: none;
  padding: var(--space-3);
  font: inherit;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.auth-tabs button.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.demo-credentials {
  background: var(--color-surface-2);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.demo-credentials code {
  font-family: var(--font-mono);
  background: var(--color-surface);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--color-ink);
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(13, 35, 64, 0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  padding: var(--space-4);
  animation: fade-in 0.15s ease-out;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  max-width: 560px;
  width: 100%;
  box-shadow: 0 24px 64px -16px rgba(13, 35, 64, 0.4);
  max-height: 90vh;
  overflow: auto;
}
.modal h3 { margin-top: 0; }
.modal.modal-wide { max-width: 680px; }
.modal-subhead {
  margin: var(--space-4) 0 var(--space-2);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.modal-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-4); }

/* Small inline count chip (handlinger / evalueringer / group sizes) */
.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 0.45em;
  border-radius: 999px;
  background: var(--color-surface-3);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.btn .count-badge { background: rgba(255, 255, 255, 0.25); color: inherit; }
.btn-secondary .count-badge { background: var(--color-surface-3); color: var(--color-text); }

/* Evaluation trail (inside evaluation modal) */
.eval-trail { display: grid; gap: var(--space-3); }
.eval-trail-item {
  border-left: 3px solid var(--color-line);
  padding: 0 0 0 var(--space-3);
}
.eval-trail-text { margin: 0 0 var(--space-1); white-space: pre-wrap; }
.eval-trail-meta { font-size: 0.8rem; color: var(--color-text-muted); }

/* Handlinger modal rows */
.handling-list { display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.handling-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}
.handling-row.is-done { background: var(--color-surface-2); }
.handling-row.is-done .handling-text { text-decoration: line-through; color: var(--color-text-muted); }
.handling-check { display: flex; align-items: center; padding-top: var(--space-1); }
.handling-fields { display: grid; gap: var(--space-2); }
.handling-fields input { width: 100%; }
.handling-meta { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.handling-meta input { flex: 1 1 140px; }

/* Popover help header (Placering & baggrund etc.) */
.expandable-popover-head { display: grid; gap: 2px; margin-bottom: var(--space-1); }
.expandable-popover-title { font-size: 0.95rem; }
.expandable-popover-help { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.4; }

/* Created date + evaluation summary in the action row */
.action-created {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin-top: var(--space-2);
  font-size: 0.78rem; color: var(--color-text-muted);
}
.action-created-label { white-space: nowrap; }
.action-table .a-evaluation .eval-latest {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  max-height: 3.6em;
  overflow: hidden;
}

/* Handlinger control folded into the Løsning cell */
.action-table .a-handlinger-control {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-line);
}

/* Filter bars (log view + plan list) */
.list-filters, .log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-end;
  margin-bottom: var(--space-4);
}
.list-filters .field.grow { flex: 1 1 280px; }
.list-filters .field, .log-filters .field { min-width: 180px; }
.log-filters { margin-top: var(--space-2); }

/* Plan list theme group heading */
.plan-group-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-2);
}
.plan-group-head:first-child { margin-top: 0; }

/* Autocomplete */
.autocomplete { position: relative; }
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 5;
  max-height: 260px;
  overflow: auto;
  margin-top: 4px;
}
.autocomplete-item {
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.autocomplete-item:hover, .autocomplete-item.is-focused { background: var(--color-surface-2); }
.autocomplete-item .ac-name { color: var(--color-ink); font-weight: 500; }
.autocomplete-item .ac-meta { color: var(--color-text-muted); font-size: 0.8rem; }

/* Share recipients chips */
.recipients {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.recipient-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-ink);
}
.recipient-chip button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
  display: inline-flex;
  align-items: center;
}
.recipient-chip button:hover { color: var(--color-ink); }

/* Shared view banner */
.shared-banner {
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 0.92rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Inline utilities */
.row { display: flex; gap: var(--space-3); align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.muted { color: var(--color-text-muted); }
.right { display: flex; justify-content: flex-end; gap: var(--space-2); }
.divider { height: 1px; background: var(--color-border); margin: var(--space-5) 0; border: 0; }
.text-sm { font-size: 0.9rem; }
.no-wrap { white-space: nowrap; }
.grow { flex: 1; }
.center { text-align: center; }

/* Section heading inside plan-edit panels */
.section-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.section-head-bar .info { max-width: 60ch; color: var(--color-text-muted); font-size: 0.92rem; }
.section-head-bar h2 { margin: 0 0 var(--space-2); }
