:root {
  --forest: #1f3d2b;
  --forest-2: #2d5a3d;
  --moss: #6f8f5e;
  --sun: #f2b84b;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1d2a22;
  --muted: #5d6b62;
  --line: #e4ddcf;
  --danger: #b3261e;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Top bar */
.topbar { position: absolute; inset: 0 0 auto; z-index: 2; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; text-decoration: none; color: var(--cream); }
.thanks-page .logo, .lang-switch { color: var(--cream); }
.lang-switch { font-size: .95rem; font-weight: 500; text-decoration: none; padding: 6px 14px; border: 1px solid rgba(250, 246, 238, .35); border-radius: 999px; }
.lang-switch:hover { background: rgba(250, 246, 238, .12); }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #17301f 0%, var(--forest) 55%, var(--forest-2) 100%); color: var(--cream); padding: 150px 0 0; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-bottom: 40px; }
.hero-copy { max-width: 680px; }
.hero .lead { font-size: 1.2rem; color: rgba(250, 246, 238, .85); max-width: 600px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(242, 184, 75, .15); color: var(--sun); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(242, 184, 75, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 184, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 184, 75, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.landscape { display: block; width: 100%; height: 200px; margin-top: 10px; }
.hill-far { fill: #2f6342; opacity: .55; }
.hill-near { fill: var(--cream); }
.pines path { fill: #1a3424; }
.tent { fill: var(--sun); }
.tent-door { fill: #1a3424; }

/* Buttons */
.button { display: inline-block; font: 600 1rem var(--sans); text-decoration: none; padding: 13px 24px; border-radius: 10px; border: 0; cursor: pointer; background: var(--sun); color: var(--forest); transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.button:focus-visible, .lang-switch:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.button.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(250, 246, 238, .4); }

/* Features */
.features { padding: 80px 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { color: var(--forest); }
.card p { color: var(--muted); margin: 0; }

.seasonal { padding: 60px 0; text-align: center; }
.seasonal p { font-size: 1.15rem; color: var(--muted); }

/* Request form */
.request { padding: 70px 0 90px; background: var(--paper); border-top: 1px solid var(--line); }
.request .lead { color: var(--muted); font-size: 1.1rem; }
.form { margin-top: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cfc6b4; border-radius: 10px; background: var(--cream); color: var(--ink); }
input:focus, textarea:focus { border-color: var(--forest-2); background: #fff; }
textarea { resize: vertical; }
.has-error input, .has-error textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; }
.form-error { background: #fdecea; color: var(--danger); padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Thanks */
.thanks { background: var(--forest); color: var(--cream); min-height: calc(100vh - 70px); display: flex; align-items: center; text-align: center; padding: 120px 0 60px; }
.thanks .lead { font-size: 1.2rem; color: rgba(250, 246, 238, .85); }
.thanks img { margin-bottom: 18px; }

.footer { padding: 24px 0; font-size: .9rem; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .landscape { height: 120px; }
  .card { padding: 22px; }
}

/* ─── Landing top bar links ─────────────────────────────────────────────── */
.topbar-links { display: flex; gap: 8px; }

/* ─── App (signed-in pages) ─────────────────────────────────────────────── */
body.app { background: var(--cream); }
.appbar { background: var(--forest); color: var(--cream); }
.appbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.appnav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .95rem; }
.appnav a { color: var(--cream); text-decoration: none; font-weight: 500; }
.appnav a:hover { text-decoration: underline; }
form.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.appnav .linklike { color: var(--cream); text-decoration: none; font-weight: 500; }
.linklike.danger { color: var(--danger); font-size: .9rem; }
.pill { font: 500 .9rem var(--sans); color: var(--cream); background: none; padding: 5px 12px; border: 1px solid rgba(250, 246, 238, .35); border-radius: 999px; cursor: pointer; }
.pill:hover { background: rgba(250, 246, 238, .12); }

.app-main { padding-top: 32px; padding-bottom: 48px; min-height: calc(100vh - 140px); }
.app-main h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.app-main h2 { font-size: 1.35rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel > :last-child { margin-bottom: 0; }
.panel .form + .muted { margin-top: 18px; }
.narrow-panel { max-width: 480px; margin: 24px auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-head h2 { margin: 0; }
.soon { background: transparent; border-style: dashed; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 600; color: var(--moss); margin: 0 0 4px; }
.count { font: 500 .85rem var(--sans); color: var(--muted); background: var(--cream); border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.button.small { padding: 8px 14px; font-size: .9rem; }
.button.round { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.actions-row { display: flex; align-items: center; gap: 16px; }
.hint { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.fixed-value { margin: 0; padding: 11px 13px; background: var(--cream); border-radius: 10px; color: var(--muted); }
select { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cfc6b4; border-radius: 10px; background: var(--cream); color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; margin: 0; }
.choice:has(input:checked) { border-color: var(--forest-2); background: #f1f6ef; }
.choice input { width: auto; margin-top: 4px; }

.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.flash.notice { background: #e8f2e3; color: var(--forest); }
.flash.alert { background: #fdecea; color: var(--danger); }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; line-height: 1.5; padding: 0 8px; border-radius: 999px; background: var(--cream); color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.role-owner { background: #fbecc8; color: #7a5410; }
.role-manager { background: #e2ecdf; color: var(--forest-2); }
.role-client { background: #e4ebf3; color: #2c4a6b; }
.role-admin { background: var(--forest); color: var(--cream); }
.kind-seasonal { background: #efe3f3; color: #5d3470; }
.kind-transient { background: #e6eef0; color: #2d5560; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: var(--cream); }
a.card-link:hover { border-color: var(--forest-2); }

.campbar { margin-bottom: 20px; }
.campbar h1 { margin-bottom: 12px; }
/* The rule under the tabs is a shadow inside the bar, so the current tab's
   underline covers it without sticking out: anything sticking out of a
   scrolling box gives it a scrollbar. Narrow screens scroll the tabs sideways,
   without showing a bar. */
.tabs { display: flex; gap: 4px; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a { border-bottom-width: 3px; }
.tabs a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--sun); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; }
.stat-value { font: 700 2rem var(--serif); color: var(--forest); }
.stat-label { color: var(--muted); font-size: .9rem; }
a.stat:hover { border-color: var(--forest-2); }

.copy-field { margin: 8px 0 0; }
.copy-field code { display: block; padding: 10px 12px; background: var(--cream); border: 1px dashed #cfc6b4; border-radius: 8px; font-size: .85rem; overflow-wrap: anywhere; user-select: all; }

.people, .requests { list-style: none; padding: 0; margin: 0; }
.people li, .requests li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.people li:first-child, .requests li:first-child { border-top: 0; padding-top: 0; }
.people li > div, .requests li > div { min-width: 0; flex: 1; }
.campgrounds { list-style: none; padding: 0; margin: 0; }
.campgrounds > li { padding: 20px 0; border-top: 1px solid var(--line); }
.campgrounds > li:first-child { border-top: 0; padding-top: 0; }
.campground-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.campground-head h3 { margin: 0; }
.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.roster h4 { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.roster ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-height: 18rem; overflow-y: auto; }
.roster li { min-width: 0; overflow-wrap: anywhere; }
.rights { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.right { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: .9rem; margin: 0; }
.right input { width: auto; margin: 0; }
.right:has(input:disabled) { color: var(--muted); }
.rights-list { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.quote { margin: 6px 0; padding-left: 10px; border-left: 3px solid var(--line); color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 16px; }
/* A quiet search box: no fill, a faint line, a magnifier; it wakes up on focus. */
.search input[type="search"] {
  flex: 0 1 280px; width: auto; padding: 6px 10px 6px 32px; font-size: .9rem;
  border-color: var(--line); border-radius: 999px; background: transparent no-repeat 11px 50% / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b62' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E");
}
.search input[type="search"]:focus { background-color: #fff; border-color: var(--forest-2); }
.search .clear { font-size: .85rem; color: var(--muted); }
/* In a panel's heading, between the title and its button. */
.panel-head .search { flex: 1 1 200px; justify-content: flex-end; margin: 0; }
/* Nothing to clear in an empty search. */
.search input:placeholder-shown ~ .clear { display: none; }
mark { background: color-mix(in srgb, var(--sun) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
th a.sort { color: inherit; text-decoration: none; white-space: nowrap; }
th a.sort:hover { color: var(--forest); text-decoration: underline; }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--forest); }
.admin-table td a { overflow-wrap: anywhere; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table .address { min-width: 12rem; max-width: 18rem; white-space: pre-line; }
.admin-table .owners { min-width: 10rem; }
/* Inline-block badges make table rows about 20px taller in Chrome; they have no vertical padding, so inline looks the same. */
.admin-table .badge { display: inline; }
.role-list { list-style: none; padding: 0; margin: 0; }
.role-list li + li { margin-top: 4px; }
.profile { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 12px 0 0; }
.profile dt { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 3px; }
.profile dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .panel { padding: 18px; }
  .people li, .requests li { flex-direction: column; gap: 8px; }
}

/* User menu (appbar) */
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--cream); padding: 4px 0; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .75; }
.usermenu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.usermenu summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.usermenu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; min-width: 210px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); padding: 6px; }
.usermenu-panel form { margin: 0; }
.usermenu-panel a, .usermenu-panel button { display: block; width: 100%; text-align: left; font: 500 .95rem var(--sans); color: var(--ink); background: none; border: 0; padding: 9px 12px; border-radius: 8px; text-decoration: none; cursor: pointer; }
.usermenu-panel a:hover, .usermenu-panel button:hover, .usermenu-panel a:focus-visible, .usermenu-panel button:focus-visible { background: var(--cream); outline: none; }
.usermenu-panel form + form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* Admin sub-bar */
.subbar { background: var(--forest-2); color: var(--cream); }
.subbar-inner { display: flex; align-items: center; gap: 22px; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
.subbar-inner::-webkit-scrollbar { display: none; }
.subbar a { color: var(--cream); text-decoration: none; font-size: .93rem; font-weight: 500; white-space: nowrap; opacity: .78; padding: 11px 0 8px; border-bottom: 3px solid transparent; }
.subbar a:hover { opacity: 1; }
.subbar a[aria-current="page"] { opacity: 1; font-weight: 600; border-bottom-color: var(--sun); }
.subbar .subbar-tag { opacity: 1; font: 600 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: var(--sun); padding: 3px 8px; border: 0; border-radius: 6px; }
.subbar .subbar-tag[aria-current="page"] { box-shadow: 0 0 0 2px var(--cream); }
.subbar .subbar-exit { margin-left: auto; font-size: .85rem; }
.subbar a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Front desk: the booking board */
.app-main.wide { max-width: 1480px; }
:root {
  --st-free: #dcefd6; --st-free-ink: #1f4d2a;
  --st-reserved: #f6d7b8; --st-reserved-ink: #7a4313;
  --st-seasonal: #e6dcf0; --st-seasonal-ink: #5d3470;
  --st-open: #f1ecf6; --st-out: #e2e0dc; --st-out-ink: #6d6a64;
  --st-refused: #f4efe2; --st-closed: #ece7dc;
  --st-picked: var(--sun);
}
.desk-stay { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; padding: 16px 20px; }
.desk-field { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; margin: 0; }
.desk-field input, .desk-field select { padding: 7px 10px; font-size: .95rem; min-width: 9.5rem; }
.desk-field.narrow-field input { min-width: 0; width: 5rem; }
.desk-stay-sum { flex-basis: 100%; margin: 2px 0 0; font-size: .92rem; }

.desk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.desk-main { min-width: 0; }
.desk-side { position: sticky; top: 12px; }
.desk-book h2 { font-size: 1.15rem; }
.desk-picked { list-style: none; padding: 0; margin: 0 0 8px; max-height: 14rem; overflow-y: auto; }
.desk-picked li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.unpick { border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.unpick:hover { color: var(--danger); }
.desk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 16px; padding-top: 6px; border-top: 2px solid var(--line); }
.desk-total strong { font: 700 1.3rem var(--serif); color: var(--forest); }
.desk-book .field { margin-bottom: 12px; }
.desk-book input, .desk-book select, .desk-book textarea { padding: 8px 10px; font-size: .95rem; }
.desk-submit { width: 100%; }
.desk-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.button.ghost-dark { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); }

.desk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 0; font-size: .8rem; color: var(--muted); }
.desk-legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .08); }

/* Spot states. */
.state-free { --bg: var(--st-free); --fg: var(--st-free-ink); }
.state-reserved { --bg: var(--st-reserved); --fg: var(--st-reserved-ink); }
.state-seasonal { --bg: var(--st-seasonal); --fg: var(--st-seasonal-ink); }
.state-seasonal_open { --bg: var(--st-open); --fg: var(--st-seasonal-ink); }
.state-out { --bg: var(--st-out); --fg: var(--st-out-ink); }
.state-refused { --bg: var(--st-refused); --fg: var(--muted); }
.state-selected { --bg: var(--st-picked); --fg: var(--forest); }
.swatch { background: var(--bg); }

/* Timeline */
.grille-wrap { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 10px; }
.grille { border-collapse: separate; border-spacing: 0; font-size: .82rem; }
.grille thead th { position: sticky; top: 0; z-index: 2; background: var(--paper); text-transform: none; letter-spacing: 0; padding: 6px 2px; text-align: center; }
.g-day span { display: block; font-weight: 400; font-size: .7rem; }
.g-day b { font-size: .95rem; color: var(--ink); }
.g-day.weekend { background: #f7f3ea; }
.g-day.in-stay { background: #fff3d6; box-shadow: inset 0 -3px 0 var(--sun); }
.g-day.closed b { color: var(--muted); text-decoration: line-through; }
.grille .g-spot { position: sticky; left: 0; z-index: 1; background: var(--paper); min-width: 190px; text-align: left; padding: 4px 8px; border-right: 1px solid var(--line); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); }
.grille thead .g-spot { z-index: 3; }
.g-spot label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; font-size: .85rem; }
.g-spot input { width: auto; margin: 0; }
.g-facts { display: block; color: var(--muted); font-size: .72rem; line-height: 1.2; }
.g-section th { position: sticky; left: 0; background: var(--cream); text-align: left; font: 600 .85rem var(--sans); padding: 6px 8px; color: var(--forest); border-top: 1px solid var(--line); }
.grille td.cell { min-width: 44px; height: 34px; padding: 0; border-bottom: 1px solid #f1ece2; border-right: 1px solid #f6f2ea; }
.cell.free { background: transparent; cursor: pointer; }
.cell.free.in-stay { background: #fff7e3; }
.cell.reserved { background: var(--st-reserved); color: var(--st-reserved-ink); font-size: .74rem; font-weight: 600; padding: 0 6px; border-radius: 6px; border: 2px solid var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; }
.cell.reserved span { display: block; overflow: hidden; text-overflow: ellipsis; }
.cell.seasonal { background: repeating-linear-gradient(135deg, var(--st-seasonal) 0 6px, #efe7f5 6px 12px); }
.cell.out { background: var(--st-out); }
.cell.closed { background: repeating-linear-gradient(45deg, var(--st-closed) 0 4px, transparent 4px 8px); }
.g-row:has(input:checked) th, .g-row:has(input:checked) .cell.in-stay { background: #fde7b0; }
.g-row.state-free:hover th { background: #f4f9f2; }

@media (max-width: 980px) {
  .desk-layout { grid-template-columns: 1fr; }
  .desk-side { position: static; }
}
.grille-legend { margin: 4px 0 10px; }
.desk-field input::placeholder { color: #a9a294; }

/* Taking someone's place: an unmissable band on every page. */
.impersonation { background: var(--sun); color: var(--forest); }
.impersonation-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 8px; }
.impersonation p { margin: 0; font-weight: 600; }
.impersonation form { margin: 0; }
.impersonate { display: grid; gap: 6px; justify-items: start; margin-top: 16px; }
.impersonate p { margin: 0; }
