/* VITALENGLISH - faelles stylesheet. Farverne kommer fra logoet:
   navy #061F6C og roed #D0302E. */
:root {
  --navy: #061f6c;
  --red: #d0302e;
  --red-hover: #b52826;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --ink: #18213a;
  --muted: #5b6478;
  --line: #dfe4ee;
  --accent: #061f6c;
  --accent-ink: #ffffff;
  --accent-soft: #e6ebf7;
  --red-soft: #fbe9e8;
  --ok: #1d7f52;
  --ok-soft: #e3f4ea;
  --warn-soft: #fff4d6;
  --error: #c0392b;
  --error-soft: #fbe6e3;
  --premium: #8a5a00;
  --premium-soft: #fff1cc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(6, 31, 108, 0.06), 0 4px 16px rgba(6, 31, 108, 0.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1424;
    --surface: #161e33;
    --surface-2: #1d2740;
    --ink: #e8ecf5;
    --muted: #9ea8bf;
    --line: #2a3550;
    --accent: #8fa8ff;
    --accent-ink: #0e1424;
    --accent-soft: #1f2b4d;
    --red: #ef5350;
    --red-hover: #f26b68;
    --red-soft: #3a1f25;
    --ok: #4cc38a;
    --ok-soft: #173327;
    --warn-soft: #3a3118;
    --error: #f87171;
    --error-soft: #3a1d1f;
    --premium: #ffcf66;
    --premium-soft: #3a3118;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (max-width: 860px) { html { scroll-padding-top: 122px; } }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 12px; }
h2 { font-size: 1.4rem; margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 20px 0 8px; }
img { max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--red); margin: 0 0 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 780px; }
.site-main { flex: 1; padding-bottom: 48px; }
.site-main > .wrap:first-child { padding-top: 32px; }

/* ---------------------------------------------------------- header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
  .brand img { background: #fff; border-radius: 8px; padding: 4px 8px; height: 40px; }
}
.main-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a.active { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 860px) {
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -6px; }
  .main-nav a { white-space: nowrap; font-size: 0.9rem; }
  .header-actions { margin-left: auto; }
  .header-inner { min-height: 0; gap: 8px 12px; padding-top: 8px; padding-bottom: 6px; }
  .brand img { height: 34px; }
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, transform 0.1s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.15); }
.btn-book { background: var(--red); color: #fff; }
.btn-book:hover:not(:disabled) { background: var(--red-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--error); color: #fff; }
.btn-small { padding: 7px 14px; font-size: 0.9rem; border-radius: 8px; }
.btn-huge {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  padding: 20px 44px;
  border-radius: 14px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(208, 48, 46, 0.35);
}

/* ---------------------------------------------------------- cards & chips */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.chip-level { background: var(--accent-soft); color: var(--accent); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle; }
.badge-premium { background: var(--premium-soft); color: var(--premium); }
.badge-soon { background: var(--surface-2); color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; }
.alert-error { background: var(--error-soft); color: var(--error); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); }

/* ---------------------------------------------------------- forside */
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(208, 48, 46, 0.10), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(6, 31, 108, 0.10), transparent 45%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
  text-align: center;
}
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
.hero .lead { max-width: 680px; margin-left: auto; margin-right: auto; }
.hero .btn-huge { margin-top: 16px; }
.hero-note { margin-top: 12px; }
.section-title { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 48px 0 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.15s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-card h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.feature-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); font-size: 1.5rem;
}
.feature-meta { font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.method-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; counter-reset: step; }
.method-steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.method-steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.85rem;
}
.method-steps span { color: var(--muted); font-size: 0.9rem; }
.method-steps.compact { grid-template-columns: 1fr; }

/* ---------------------------------------------------------- sektion */
.crumbs { font-size: 0.9rem; margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.section-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.section-icon { font-size: 2.2rem; width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: var(--accent-soft); }
@media (max-width: 560px) { .section-head { flex-direction: column; gap: 8px; } .section-icon { width: 56px; height: 56px; font-size: 1.7rem; } }
.lesson-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 8px; }
.lesson-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
a.lesson-row:hover { border-color: var(--accent); }
.lesson-row.soon { color: var(--muted); }
.lesson-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem;
}
.soon .lesson-num { background: var(--surface-2); color: var(--muted); }
.lesson-title { flex: 1; font-weight: 600; }
.lesson-tags { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.go { color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------- lektion */
.lesson-head { margin-bottom: 20px; }
.goal { font-size: 1.08rem; background: var(--accent-soft); border-radius: 10px; padding: 12px 16px; margin: 12px 0 0; }
.path { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 28px; counter-reset: path; }
.path li { counter-increment: path; font-size: 0.82rem; font-weight: 600; }
.path li::before { content: counter(path) " "; }
.path li.has { color: var(--accent); }
.path li.has a { color: inherit; text-decoration: none; }
.path li.skip { color: var(--muted); opacity: 0.55; }
.path li:not(:last-child)::after { content: " →"; color: var(--muted); }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
 
}
.step-kicker { margin: 0 0 2px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--red); }
.step h2 { margin-bottom: 14px; }
@media (max-width: 560px) { .step { padding: 18px 16px; } }

.phrase-list li, .plain-list li { margin-bottom: 6px; }
.dialogue { border-left: 4px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; padding: 10px 16px; margin: 0 0 12px; }
.dialogue p { margin: 4px 0; }
.example { margin: 0 0 14px; padding: 12px 16px; border-left: 4px solid var(--red); background: var(--surface-2); border-radius: 0 10px 10px 0; font-style: italic; }
.muted-example { opacity: 0.7; border-left-color: var(--muted); text-decoration: none; }
.vocab { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 10px 18px; margin: 0; }
.vocab dt { font-weight: 700; color: var(--accent); }
.vocab dd { margin: 0; }
@media (max-width: 560px) { .vocab { grid-template-columns: 1fr; gap: 2px; } .vocab dd { margin-bottom: 10px; } }
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rule { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }
.rule h3 { margin-top: 0; color: var(--accent); }
.rule p { margin: 6px 0; }
.ex { font-style: italic; }
.rule .wrong { color: var(--error); }
.rule .right { color: var(--ok); }
.compare p { margin: 0 0 10px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; }
.compare span { display: block; font-size: 0.88rem; color: var(--muted); }
.useful, .contractions, .stress-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; }
.useful li, .contractions li, .stress-list li { background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.qa { margin-bottom: 18px; }
.qa h3 { margin-top: 0; }

/* oevelser */
.quiz-intro { font-weight: 600; margin-top: 0; }
.q-list { padding-left: 1.4em; margin: 0 0 14px; }
.q { margin-bottom: 14px; }
.q-prompt { margin: 0 0 6px; font-weight: 600; }
.q-gap .q-prompt { font-weight: 400; line-height: 2.2; }
.q-options { display: grid; gap: 6px; }
.opt {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.opt:hover { background: var(--surface-2); }
.opt input { accent-color: var(--accent); }
.opt.correct, .opt.reveal-answer { border-color: var(--ok); background: var(--ok-soft); }
.opt.wrong { border-color: var(--error); background: var(--error-soft); }
.q-choice.wrong:not(:has(.opt.wrong)) .q-options { outline: 2px dashed var(--error); outline-offset: 3px; border-radius: 10px; }
.gap, .free {
  font: inherit;
  padding: 2px 8px;
  border: none;
  border-bottom: 2px solid var(--accent);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}
.free { width: 9em; }
.free.wide { width: min(22em, 100%); }
.gap.correct { border-color: var(--ok); background: var(--ok-soft); }
.gap.wrong { border-color: var(--error); background: var(--error-soft); }
.gap.reveal-answer { border-color: var(--ok); background: var(--ok-soft); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quiz-score { font-weight: 700; color: var(--accent); }
.builder p { margin: 0 0 10px; line-height: 2.2; }
.reveal { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 0; }
.reveal summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--accent); list-style: none; }
.reveal summary::-webkit-details-marker { display: none; }
.reveal summary::before { content: "▸ "; }
.reveal[open] summary::before { content: "▾ "; }
.reveal-body { padding: 0 16px 12px; }

/* speaking challenge */
.speak-card {
  display: flex; gap: 16px;
  border: 2px solid var(--red);
  background: var(--red-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.speak-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.speak-body { flex: 1; min-width: 0; }
.speak-kicker { margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--red); }
.speak-body h3 { margin: 4px 0 8px; }
.speak-tip { font-size: 0.92rem; color: var(--muted); }
.speak-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 560px) { .speak-card { flex-direction: column; } }

/* lyd */
.audio-card { border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 14px 16px; margin: 8px 0 12px; }
.audio-title { margin: 0 0 10px; font-weight: 700; }
.audio-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.audio-progress { flex: 1; min-width: 120px; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; cursor: pointer; }
.audio-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.audio-pending { margin: 0; color: var(--muted); font-style: italic; }

.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 24px; margin: 28px 0 20px;
}
.cta-card h2 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; }
.cta-card p { margin: 0; opacity: 0.85; }
.pager { display: flex; justify-content: space-between; gap: 12px; }
.pager a { display: flex; flex-direction: column; text-decoration: none; font-weight: 600; max-width: 48%; }
.pager-next { text-align: right; margin-left: auto; }

/* ---------------------------------------------------------- booking */
.book-page h1 { margin-top: 0; }
.tz-bar label { display: block; font-weight: 700; margin-bottom: 6px; }
.tz-bar select, .field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.tz-bar p { margin: 8px 0 0; }
.book-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .book-grid { grid-template-columns: 1fr; } }
.book-grid .card { margin-bottom: 0; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-header h2 { margin: 0; font-size: 1.15rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer;
}
.icon-btn:disabled { opacity: 0.3; cursor: default; }
/* minmax(0, 1fr): kolonnerne maa aldrig vokse efter indholdet, ellers forskydes ugedagene. */
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.weekdays { margin-bottom: 6px; }
.weekdays span { text-align: center; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.day {
  height: 46px; width: 100%; border: none; border-radius: 10px; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.95rem; cursor: default; min-width: 0; padding: 0;
}
@media (max-width: 420px) { .day { height: 40px; } }
.day.blank { visibility: hidden; }
.day.today { box-shadow: inset 0 0 0 1.5px var(--muted); }
.day.free { background: var(--accent-soft); color: var(--accent); font-weight: 700; cursor: pointer; }
.day.free:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.day.selected, .day.selected:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.legend { margin: 12px 0 0; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.dot-free { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.slots-card h2 { font-size: 1.1rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 8px; border: 1px solid var(--accent); border-radius: 10px;
  background: var(--surface); color: var(--accent); font: inherit; font-weight: 700; cursor: pointer;
}
.slot small { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.slot:hover { background: var(--accent-soft); }
.slot.selected { background: var(--accent); color: var(--accent-ink); }
.slot.selected small { color: var(--accent-ink); opacity: 0.85; }
.booking-form { margin-top: 20px; }
.chosen { font-weight: 700; font-size: 1.05rem; background: var(--accent-soft); color: var(--accent); padding: 10px 14px; border-radius: 10px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-status { margin: 12px 0 0; min-height: 1.5em; }
.form-status.error { color: var(--error); font-weight: 600; }
.success { text-align: center; margin-top: 20px; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--ok); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center;
}
.success p { margin: 8px 0; }
.success .btn { margin: 6px 4px 0; }
.cancel-card form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.login-card { max-width: 420px; margin: 0 auto; }

/* ---------------------------------------------------------- admin */
.admin { padding-top: 24px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.admin-tabs a { padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.admin .card { }
.count { display: inline-block; min-width: 28px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.9rem; text-align: center; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.admin-table td.msg { max-width: 240px; color: var(--muted); }
.admin-table form { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.field p.small { margin: 4px 0 0; }
.switch { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 16px; }
.weekdays-field { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.weekdays-field legend { font-weight: 600; padding: 0 4px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
.inline-form .field { flex: 1; min-width: 150px; }
.inline-form .btn { margin-bottom: 14px; }
.blocked-list { list-style: none; padding: 0; margin: 8px 0 0; }
.blocked-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.recent { margin-top: 16px; }
.recent summary { cursor: pointer; font-weight: 600; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #dfe6ff; padding: 32px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: 0.06em; text-decoration: none; font-size: 1.1rem; }
.tagline { font-style: italic; margin: 4px 0; }
.site-footer .muted { color: #aab6e0; }
.social { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.social a { color: #fff; text-decoration: none; font-weight: 600; }
.social a:hover { text-decoration: underline; }
.copyright { margin-top: 20px; }

/* admin: ugeskema */
.hours-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hours-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.hours-table tbody th { font-weight: 600; white-space: nowrap; }
.hours-table tbody th label { display: flex; gap: 8px; align-items: center; }
.hours-table .range { white-space: nowrap; }
.hours-table input[type=time] {
  font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); width: 7.5em;
}
.hours-table tr:has(input[type=checkbox]:not(:checked)) .range { opacity: 0.45; }
