/* J6 op Ameland – house style "J6 Wad vet" (see docs/02 §7).
   Fonts are self-hosted (SIL Open Font License, see static/fonts/OFL-*.txt): no calls to Google. */
@font-face { font-family: Fraunces; src: url("../fonts/fraunces-latin-400-normal.15ccd91d7a8f.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url("../fonts/fraunces-latin-400-italic.b02d32cd59dc.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Fraunces; src: url("../fonts/fraunces-latin-600-normal.b8dca52ca5f9.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url("../fonts/fraunces-latin-700-normal.d99d78cac1e8.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black-latin-400-normal.4b6914a69e6a.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Caveat; src: url("../fonts/caveat-latin-700-normal.9700119a3654.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --paper: #a6b2d0;
  --cream: #f6f3ec;
  --ink: #1b2340;
  --navy: #121933;
  --fluor: #ff5b24;
  --mark: #e9714f;
  --muted: rgba(18, 25, 51, .62);
  --rule: rgba(27, 35, 64, .16);
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --hand: Caveat, "Bradley Hand", cursive;
  --black: "Archivo Black", "Arial Black", sans-serif;
  /* Plain text: the device's own font. Fraunces (with its wavy J) only for the logo and big headings. */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --busy: #c3cbe0;          /* occupied days: light house blue, always with a pattern */
  --busy-line: rgba(27, 35, 64, .38);
  --stay: rgba(255, 91, 36, .32);   /* the nights of the stay you are choosing */
  --holiday: #5f6f9e;              /* staff accents */
  --hol-0: #3d5a99;                /* school holidays: each its own colour (sea, wad, sand) */
  --hol-1: #2a9d8f;
  --hol-2: #d49a12;
}

* { box-sizing: border-box; }

html {
  font-size: 106.25%; /* 17px base, readable on phones */
  /* Always keep room for the scrollbar: the page does not shift sideways when a page
     becomes longer than the screen (e.g. when the price appears under the calendar). */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: var(--navy); text-underline-offset: .15em; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a, .site-nav .link-button { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav .link-button:hover { text-decoration: underline; }
.site-nav .nav-login { font-family: var(--black); font-weight: 400; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--fluor); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: .45em 1em; box-shadow: 2px 2px 0 var(--navy); }
.site-nav .nav-login:hover { text-decoration: none; }
@media (max-width: 600px) {
  .site-nav { gap: .9rem; }
  .site-nav .nav-logout { display: none; } /* on phones: log out via Mijn account */
  .site-nav .nav-home { display: none; } /* the logo already links to the home page */
}
.inline { display: inline; margin: 0; }
.link-button {
  background: none; border: 0; padding: 0; font: inherit;
  text-decoration: underline; text-underline-offset: .15em; cursor: pointer;
}
.site-logo img { display: block; height: 4.6rem; width: auto; }
@media (max-width: 600px) { .site-logo img { height: 3.8rem; } }

.site-main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.site-main.wide { max-width: 72rem; }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  color: var(--ink);
  padding: 1rem;
  font-size: .9rem;
  text-align: center;
}
.site-footer p { margin: 0; }

h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -.015em; }
h1 { font-size: 2.2rem; margin: .25rem 0 1rem; }

.eyebrow {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

.lede { font-size: 1.1rem; color: var(--navy); }

/* Highlighter as a solid block, like the printed house style. */
.mark { position: relative; z-index: 0; padding: 0 .1em; }
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; top: .36em; bottom: .02em;
  background: var(--mark);
  border-radius: .06em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1.2rem;
  background: var(--fluor);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--navy);
  font-family: var(--black);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--navy); }
.button:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--navy); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--fluor); outline-offset: 2px; }

.button-secondary { background: #fff; color: var(--navy); }

/* Forms */
.form { margin: 1.25rem 0; }
.narrow { max-width: 28rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=tel], .field input[type=number], .field input[type=date],
.field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: .5rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--fluor); outline-offset: 1px; }
.field-checkbox { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.field-checkbox label { display: inline; margin: 0; }
.field-checkbox input { width: 1.4rem; height: 1.4rem; }
.field-checkbox .help, .field-checkbox .error { flex-basis: 100%; }
.help { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.error { color: #9b1c00; font-weight: 600; margin: .3rem 0 0; }
.field-error input, .field-error select { border-color: #9b1c00; }
.form-errors { border-left: 4px solid #9b1c00; background: #fff; padding: .6rem .9rem; margin-bottom: 1rem; }
.form-errors p { margin: 0; }

/* Messages and notices */
.messages { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.message { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--fluor); border-radius: .5rem; padding: .7rem 1rem; margin-bottom: .5rem; }
.message-success { border-left-color: #2f6b3a; }
.message-error { border-left-color: #9b1c00; }
.notice { background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .8rem 1rem; margin: 1rem 0; }
.notice p { margin: 0 0 .6rem; }

/* Tables and lists */
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: #fff; border: 1px solid var(--rule); }
.table th, .table td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--rule); }
.table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; padding: .05rem .45rem; border-radius: 1rem; background: var(--paper); color: var(--ink); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.link-list { padding-left: 1.2rem; }
.link-list li { margin-bottom: .5rem; }
.eyebrow a { color: inherit; }

/* Wide tables (tariff overview) scroll sideways on phones */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table.compact th, .table.compact td { padding: .4rem .5rem; font-size: .9rem; white-space: nowrap; }
.table td.changed { background: #ffe3d8; font-weight: 600; }
.row-vervalt td { color: var(--muted); text-decoration: line-through; }
.row-vervalt td:first-child { text-decoration: none; }
.notice ul, .form-errors ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* ---------- Calendar (docs/02 §3.4): colour plus pattern/marker, never colour alone ---------- */
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0 .5rem; }
.cal-month { margin: 0; font-size: 1.3rem; text-transform: capitalize; }
.cal-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy);
  font-size: 1.6rem; text-decoration: none; color: var(--navy); background: #fff;
}
.cal-nav-btn:empty { background: transparent; border-color: transparent; }
.cal { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal th { font-size: .8rem; font-weight: 600; color: var(--muted); padding: .2rem 0; }
.day { padding: 0; height: 46px; text-align: center; border-radius: .35rem; position: relative; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.day a, .day span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; color: inherit; border-radius: .35rem; font-variant-numeric: tabular-nums; }
.day a:hover { outline: 2px solid var(--navy); }
.day-other { opacity: .35; }
.day-free { background: #fff; color: var(--navy); }
.day-arrive a::after { content: "▸"; position: absolute; bottom: 1px; right: 4px; font-size: .7rem; color: var(--fluor); }
.day-unavailable { background: repeating-linear-gradient(-45deg, var(--busy) 0 4px, var(--busy-line) 4px 5.5px); color: var(--ink); }
.day-own_request, .day-own_booking { background: repeating-linear-gradient(45deg, #ffd8c9, #ffd8c9 5px, #fff 5px, #fff 10px); color: var(--ink); font-weight: 700; }
.day-own_booking { background: var(--mark); color: var(--ink); }
.day-not_bookable { background: repeating-linear-gradient(-45deg, #e6e3dc, #e6e3dc 3px, #f1eee8 3px, #f1eee8 7px); color: var(--muted); text-decoration: line-through; }
.day-changeover { background: linear-gradient(135deg, var(--busy) 0 30%, #fff 30% 100%); }
.day-changeover a, .day-changeover span { color: var(--navy); }
.day-range { background: #ffe3d8; }
.day-selected, .day-selected.day-changeover { background: var(--fluor); }
.day-selected a { color: #fff; font-weight: 700; }
.day-departure, .day-departure.day-unavailable { background: linear-gradient(135deg, #fff 0 70%, var(--busy) 70% 100%); color: var(--navy); box-shadow: inset 0 0 0 3px var(--fluor); }
.day-departure a { font-weight: 700; }

.legend { list-style: none; padding: 0; margin: .5rem 0 .75rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: .35rem; }
.swatch { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: .25rem; border: 1px solid var(--rule); font-size: .7rem; color: var(--fluor); }
.swatch-free { background: #fff; }
.swatch-unavailable { background: repeating-linear-gradient(-45deg, var(--busy) 0 3px, var(--busy-line) 3px 4.5px); }
.swatch-own { background: repeating-linear-gradient(45deg, #ffd8c9, #ffd8c9 3px, #fff 3px, #fff 6px); }
.swatch-closed { background: repeating-linear-gradient(-45deg, #e6e3dc, #e6e3dc 2px, #f1eee8 2px, #f1eee8 4px); }
.swatch-changeover { background: linear-gradient(135deg, var(--busy) 0 35%, #fff 35% 100%); }

.cal-bar { background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: 1rem; margin: 1rem 0; border-top: 4px solid var(--fluor); }
.cal-bar-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 .5rem; }
.cleaning-choice { margin: .5rem 0 .75rem; }
.cleaning-choice label { font-weight: 600; }

.price { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.price th, .price td { padding: .35rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price th { text-align: left; font-weight: 400; }
.price td { text-align: right; white-space: nowrap; padding-left: 1rem; }
.price .muted td, .price .muted th { color: var(--muted); }
.price .total th, .price .total td { font-weight: 700; border-bottom: 2px solid var(--navy); }

.card { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .8rem 1rem; margin-bottom: .6rem; text-decoration: none; }
.card-title { font-weight: 700; }
.card .help { grid-column: 1 / -1; margin: 0; }
.status-requested { background: #ffe3d8; }
.status-confirmed { background: #d6e7d9; }
.status-rejected, .status-cancelled { background: #e6e3dc; }

/* ---------- Administration ---------- */
.blocks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-bottom: 1.5rem; }
.block { background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .9rem 1rem; }
.block h2 { font-size: 1.1rem; margin: 0 0 .6rem; display: flex; justify-content: space-between; }
.count { background: var(--paper); border-radius: 1rem; padding: 0 .55rem; font-size: .9rem; }
.row-link { display: block; padding: .5rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.row-link:hover { background: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.two-col { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.history { padding-left: 1.2rem; }
.history li { margin-bottom: .8rem; }
.tag-exception { background: #ffd8c9; }
input[type=radio] { width: 1.2rem; height: 1.2rem; }
.field ul { list-style: none; padding: 0; margin: 0; }
.field ul li { margin: .3rem 0; }

/* ---------- Money ---------- */
.late, .late a, tr.late td { color: #9b1c00; font-weight: 700; }
.money-betaald { background: #d6e7d9; }
.money-te-laat, .money-terugbetalen { background: #ffd1c2; color: #7a1600; }
.money-aanbetaald, .money-deels-betaald { background: #fff0c2; }
.payment-form { background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .5rem .8rem; margin: .5rem 0; }
.payment-form summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }

/* Blocks that need attention first; empty ones move down and stay compact. */
.block-empty { order: 1; padding: .6rem 1rem; }
.block-empty h2 { margin: 0 0 .2rem; font-size: 1rem; }
@media (max-width: 420px) {
  .site-nav { gap: .7rem; }
  .site-nav a { font-size: .88rem; }
}

.ical-link code { display: block; word-break: break-all; background: #fff; padding: .5rem .7rem; border-radius: .4rem; font-size: .85rem; }

/* ---------- Public pages ---------- */
.site-main.full { max-width: none; padding: 0; }
.page { max-width: 44rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
.hero { position: relative; background: var(--paper); }
.hero-img { display: block; width: 100%; height: clamp(13rem, 42vh, 32rem); object-fit: cover; object-position: 35% 55%; }
.hero-text { max-width: 44rem; margin: -2.5rem auto 0; position: relative; background: var(--cream); padding: 1.4rem 1.2rem 1.2rem; border-radius: .6rem .6rem 0 0; }
.hero-text h1 { font-size: 2.6rem; margin-top: .2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.button-light { background: var(--paper); color: var(--ink); }
.facts-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.facts-grid li { background: #fff; border-radius: .5rem; padding: .8rem .9rem; }
.facts-grid strong { display: block; font-size: 1.7rem; color: var(--ink); }
.facts-grid span { font-size: .9rem; color: var(--muted); }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .7rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mark); font-weight: 700; }
@media (min-width: 700px) { .check-list.two-cols { columns: 2; column-gap: 2rem; } .check-list.two-cols li { break-inside: avoid; } }
.wide-img { display: block; width: 100%; height: auto; border-radius: .5rem; margin: 1rem 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .5rem; margin: 2rem 0 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .4rem; display: block; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .7rem; }
.card-info { background: #fff; border-radius: .5rem; padding: .8rem 1rem; }
.card-info h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.card-info p { margin: 0; font-size: .95rem; }
.access strong { font-size: 1.15rem; letter-spacing: .04em; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; margin-bottom: .5rem; }
.site-footer a { color: var(--ink); }
@media (max-width: 420px) { .hero-text h1 { font-size: 2.1rem; } }

/* ---------- Manual for the administrators ---------- */
.manual section { scroll-margin-top: 1rem; }
.manual li { margin-bottom: .45rem; }
.manual-toc { background: #fff; border-radius: .5rem; padding: .6rem 1rem; margin: 1rem 0 1.5rem; }
.manual-toc ol { margin: 0; padding-left: 1.3rem; }
@media print { .site-header, .site-footer, .manual-toc { display: none; } }

/* Administrators: which tariff the calendar shows */
.view-as { margin: 0 0 .5rem; font-size: .95rem; }
.view-as a[aria-current] { font-weight: 700; text-decoration: none; background: var(--paper); border-radius: 999px; padding: .1rem .6rem; }

/* The chosen stay: every night you are there in a faded orange, the arrival day outlined,
   and the departure day split diagonally (morning yours, the rest free or someone else's). */
.day-range, .day-range.day-selected, .day-range.day-changeover { background: var(--stay); }
.day-range.day-departure { box-shadow: none; } /* other departure options inside the chosen stay: no outline */
.day-range.day-selected { box-shadow: inset 0 0 0 2px var(--fluor); }
.day-range a, .day-range span, .day-range.day-selected a { color: var(--navy); font-weight: 700; }
.day-leave, .day-leave.day-departure { background: linear-gradient(135deg, var(--stay) 0 50%, #fff 50% 100%); box-shadow: inset 0 0 0 1px var(--rule); }
.day-leave.day-unavailable { background: linear-gradient(135deg, var(--stay) 0 50%, var(--busy) 50% 100%); }
.day-leave a, .day-leave span { color: var(--navy); font-weight: 700; }

/* Picking a departure day: the possible days stand out, the rest of the month steps back. */
.cal-step { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .25rem 0 .5rem; font-size: .92rem; }
.cal-step-done { color: var(--muted); }
.cal-step-now { font-weight: 700; color: var(--navy); background: #fff1ea; border: 2px solid var(--fluor); border-radius: 999px; padding: .15rem .75rem; }
.cal-picking .day:not(.day-departure):not(.day-selected) { opacity: .35; }
.cal-picking .day-departure { opacity: 1; background: #fff1ea; box-shadow: inset 0 0 0 3px var(--fluor); }
.cal-picking .day-departure.day-unavailable { background: linear-gradient(135deg, #fff1ea 0 70%, var(--busy) 70% 100%); }
.cal-picking .day-departure a { color: var(--navy); font-weight: 700; }
.swatch-departure { background: #fff1ea; border: 2px solid var(--fluor); }

/* Holidays and holiday arrangements in the calendar. Each school holiday has its own colour and
   its own line at the top of the day, so overlapping holidays of different regions stay apart. */
.cal-highlights { list-style: none; padding: 0; margin: .25rem 0 .75rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .88rem; }
.hl { display: flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: .3rem .75rem .3rem .55rem; }
.hl a { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; color: inherit; text-decoration: none; width: 100%; }
.hl-bar { flex: none; width: 1.3rem; height: .4rem; border-radius: 999px; }
.hl-dates { color: var(--muted); white-space: nowrap; margin-left: .2rem; }
.hl-mark { color: var(--fluor); font-size: 1rem; line-height: 1; }
.hl-arrangement { flex-basis: 100%; border-color: var(--fluor); border-radius: .5rem; padding: .45rem .7rem; }
.hl-cta { margin-left: auto; font-family: var(--black); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--fluor); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: .2em .8em; }
.hb { position: absolute; left: 3px; right: 3px; top: 2px; height: 4px; border-radius: 999px; z-index: 1; pointer-events: none; }
.hb-lane-1 { top: 7px; }
.hb-lane-2 { top: 12px; }
.hb-0 { background: var(--hol-0); }
.hb-1 { background: var(--hol-1); }
.hb-2 { background: var(--hol-2); }
.day-feest a::before, .day-feest span::before { content: "★"; position: absolute; bottom: 1px; left: 4px; font-size: .65rem; color: var(--fluor); }

/* ---------- What only administrators see ---------- */
.mode-bar { padding: .45rem 1rem; font-size: .88rem; text-align: center; border-bottom: 1px solid var(--rule); }
.mode-bar a { margin-left: .4rem; font-weight: 600; }
.mode-staff { background: var(--holiday); color: #fff; }
.mode-staff a { color: #fff; }
.mode-guest { background: #fff; color: var(--ink); }
.staff-only { position: relative; border: 2px dashed var(--holiday); border-radius: .5rem; background: #eef1f8; padding: 1.1rem .9rem .6rem; margin: 1rem 0; }
.staff-only::before { content: "Alleen beheer"; position: absolute; top: -.7rem; left: .7rem; background: var(--holiday); color: #fff;
  font-family: var(--black); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; }
.staff-only p { margin: 0 0 .4rem; }
.staff-only .help { margin: 0; }
.site-nav .nav-staff { background: var(--holiday); color: #fff; border-radius: 999px; padding: .3em .9em; }
.site-nav .nav-staff:hover { text-decoration: none; opacity: .9; }

/* Reservations and payments overview */
.tiles { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .5rem; }
.tile { background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .55rem .8rem; font-size: .9rem; color: var(--muted); }
.tile strong { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--muted); }
.tile-on, .tile-on strong { color: var(--ink); }
.tile-on { border-color: var(--holiday); }
.tile-late { border-color: #9b1c00; background: #fff4f1; color: #9b1c00; }
.tile-late strong { color: #9b1c00; }
.list-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.list-buttons { display: inline-flex; gap: .5rem; margin-left: auto; }
.table.overview td { white-space: normal; }

/* "Wat moet ik doen?" in three groups */
.dash-group { margin: 0 0 2rem; }
.dash-group > h2 { margin: 0 0 .1rem; font-size: 1.35rem; }
.dash-group > .help { margin: 0 0 .7rem; }
.dash-group .blocks { margin-bottom: .6rem; }
.block h3 { font-size: 1.05rem; margin: 0 0 .6rem; display: flex; justify-content: space-between; }
.block-empty h3 { margin: 0 0 .2rem; font-size: 1rem; }

.invite-link { display: grid; gap: .4rem; }
.invite-link label { font-weight: 600; font-size: .9rem; }
.invite-link input { width: 100%; min-height: 44px; padding: .5rem .7rem; font: inherit; font-size: .85rem; border: 1.5px solid var(--navy); border-radius: .5rem; background: #fff; }
.invite-link .button { justify-self: start; }

/* Admin submenu (on every /beheer/ page) */
.staff-menu { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; padding: .45rem 1rem; background: var(--holiday); color: #fff; font-size: .88rem; }
.staff-menu a { color: #fff; text-decoration: none; padding: .2rem .6rem; border-radius: 999px; }
.staff-menu a:hover { background: rgba(255, 255, 255, .15); }
.staff-menu a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 700; }
.staff-menu-label { font-family: var(--black); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; margin-right: .3rem; }
.staff-menu-note { margin-left: auto; opacity: .75; font-size: .8rem; }
@media (max-width: 700px) { .staff-menu { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; } .staff-menu-note { display: none; } }

/* "Wat moet ik doen?" as one task table */
.counters { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.counters li { background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: .2rem .8rem; font-size: .88rem; color: var(--muted); }
.counters li strong { color: inherit; margin-right: .2rem; }
.counters li.on { color: var(--ink); border-color: var(--holiday); }
.counters li.late { color: #9b1c00; border-color: #9b1c00; background: #fff4f1; }
.table.todo td { vertical-align: middle; }
.table.todo tr.group th { background: var(--cream); color: var(--ink); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; padding-top: 1rem; }
.todo-act { white-space: nowrap; text-align: right; }
.todo-act .button { min-height: 34px; padding: .3rem .9rem; font-size: .72rem; }
.todo-act form { margin-left: .5rem; }

/* Tabs (Handmatig boeken: reservering / blokkade) */
.tabs { display: flex; gap: .3rem; border-bottom: 2px solid var(--rule); margin: 0 0 1rem; }
.tabs a { padding: .5rem 1rem; text-decoration: none; color: var(--muted); border-radius: .5rem .5rem 0 0; font-weight: 600; margin-bottom: -2px; border: 2px solid transparent; }
.tabs a[aria-current="page"] { color: var(--ink); background: #fff; border-color: var(--rule); border-bottom-color: #fff; }

/* Settings overview */
.quick-links { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.quick-links a { display: block; height: 100%; background: #fff; border: 1px solid var(--rule); border-radius: .5rem; padding: .8rem 1rem; text-decoration: none; color: var(--ink); }
.quick-links a:hover { border-color: var(--holiday); }
.quick-links strong { display: block; margin-bottom: .2rem; }
.quick-links span { display: block; font-size: .9rem; color: var(--muted); }

/* Clickable counters and tiles (filter Reserveringen en betalingen) */
.counters li { padding: 0; }
.counters li a { display: block; padding: .2rem .8rem; border-radius: 999px; color: inherit; text-decoration: none; }
.counters li { background: none; border: 0; }
.counters li a { background: #fff; border: 1px solid var(--rule); color: var(--muted); }
.counters li a.on { color: var(--ink); border-color: var(--holiday); }
.counters li a.late { color: #9b1c00; border-color: #9b1c00; background: #fff4f1; }
.counters li a:hover { border-color: var(--ink); }
.tiles li { list-style: none; }
.tiles a.tile { display: block; height: 100%; text-decoration: none; }
.tiles a.tile:hover { border-color: var(--ink); }
.tile-active { outline: 3px solid var(--fluor); outline-offset: -1px; }
.filter-on { font-size: 1rem; }

/* Deposit status labels (guests only) */
.tag[class*="deposit-"] { margin-top: .25rem; }
.deposit-nog-te-ontvangen { background: #eef1f8; color: var(--ink); }
.deposit-ontvangen { background: #e3e8f4; color: var(--ink); }
.deposit-moet-terug, .deposit-moet-binnenkort-terug { background: #fff0c2; color: #5c4300; font-weight: 600; }
.deposit-te-laat-terug { background: #ffd1c2; color: #7a1600; font-weight: 700; }
.deposit-terugbetaald { background: #d6e7d9; color: #1e4d27; }
.deposit-deels-ingehouden { background: #e6e3dc; color: var(--ink); }

/* "Niet opgeslagen" summary at the top of a form */
.form-errors { background: #fff4f1; border: 2px solid #9b1c00; border-left-width: 6px; border-radius: .5rem; padding: .7rem 1rem; margin: 0 0 1.2rem; color: #7a1600; }
.form-errors-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 .3rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }

/* Fraunces only for big headings; everything small in the plain font */
h1, h2 { font-family: var(--serif); }
h3, h4, .block h3, .table.todo tr.group th, .cal-month { font-family: var(--sans); }

/* Login screen with the J6 brand */
.login-brand { text-align: center; margin: .5rem auto 1.5rem; }
.login-brand img { display: block; width: 96px; height: auto; margin: 0 auto .6rem; }
.login-brand h1 { margin: 0; font-size: 2.4rem; }
.login-tag { font-family: var(--hand); font-weight: 700; font-size: 1.7rem; margin: .1rem 0 0; color: var(--ink); }
.login-family { margin: .3rem 0 0; color: var(--muted); }
.login-form { margin: 0 auto; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Login screen like the home page: dusty blue, no header bar, the big logo */
body.page-login { background: var(--paper); }
body.page-login .site-main { display: flex; flex-direction: column; justify-content: center; padding-top: 1.5rem; padding-bottom: 1.5rem; min-height: 100vh; }
body.page-login .login-brand { margin-top: 0; }
body.page-login .login-brand img { width: 260px; max-width: 80%; }
body.page-login .login-tag { font-size: 2rem; margin-top: .4rem; }
body.page-login .login-family { color: var(--ink); opacity: .75; }
body.page-login .login-form { background: var(--cream); border: 2px solid var(--navy); border-radius: 18px; box-shadow: 6px 6px 0 var(--navy);
  padding: 1.4rem 1.3rem 1rem; width: 100%; max-width: 28rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Always clear how to get back: reservation system -> website, admin -> reservation system. */
.site-nav .nav-site { margin-right: auto; border: 2px solid var(--ink); border-radius: 999px; padding: .25em .85em; }
.site-nav .nav-site:hover { text-decoration: none; background: rgba(0, 0, 0, .05); }
@media (max-width: 600px) { .site-nav .nav-site .long { display: none; } }
.staff-menu a.staff-back { border: 1.5px solid rgba(255, 255, 255, .7); margin-right: .5rem; }
