/* burnmanager camp app (/app/): light, soft glass cards, big titles, a glass tab bar with a dark block for the active tab.
   Corners in three sizes (user 25 Nov: less round): --ui-r cards, --ui-r-m buttons/rows/fields, --ui-r-s tags and bars.
   After the example the user sent on 25 Nov 2026 (voorstellen/app/voorbeeld-whatsapp-2026-11-25.jpg). */
:root {
  --ui-bg: #EEEDE8;
  --ui-card: rgba(255, 255, 255, .7);
  --ui-card-solid: #FAFAF8;
  --ui-edge: rgba(255, 255, 255, .9);
  --ui-line: rgba(22, 20, 26, .08);
  --ui-ink: #17151A;
  --ui-dim: #6E6A73;
  --ui-faint: #9B97A1;
  --ui-black: #151417;
  --ui-fire: #D9843F;
  --ui-good: #3FA663;
  --ui-warn: #DD5446;
  --ui-grad: linear-gradient(90deg, #F2A48A 0%, #F5C45C 48%, #7ACF86 100%);
  --ui-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 34px rgba(40, 30, 20, .07);
  --ui-on-black: #fff;
  --ui-raised: #fff;
  --ui-av-edge: #fff;
  --ui-field: rgba(255, 255, 255, .85);
  --ui-field-edge: rgba(22, 20, 26, .1);
  --ui-track: rgba(22, 20, 26, .06);
  --ui-soft: rgba(22, 20, 26, .07);
  --ui-good-bg: rgba(63, 166, 99, .14);
  --ui-good-ink: #23794A;
  --ui-warn-bg: rgba(221, 84, 70, .13);
  --ui-warn-ink: #A93527;
  --ui-glass: rgba(255, 255, 255, .72);
  --ui-glass-edge: rgba(255, 255, 255, .85);
  --ui-glass-solid: rgba(250, 250, 248, .96);
  --ui-glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 36px rgba(40, 30, 20, .16);
  --ui-tab-ink: rgba(23, 21, 26, .72);
  --ui-bar-ink: rgba(23, 21, 26, .78);
  --ui-hover: rgba(255, 255, 255, .7);
  --ui-empty: rgba(255, 255, 255, .4);
  --ui-empty-edge: rgba(22, 20, 26, .14);
  --ui-lift: 0 4px 12px rgba(40, 30, 20, .08);
  --ui-lift-s: 0 2px 8px rgba(40, 30, 20, .05);
  --ui-tint-a: rgba(178, 222, 168, .55);
  --ui-tint-b: rgba(245, 196, 158, .6);
  --ui-tint-c: rgba(255, 255, 255, .7);
  --ui-scrim: rgba(20, 18, 24, .32);
  --ui-r: 14px;
  --ui-r-m: 10px;
  --ui-r-s: 6px;
  --ui-gutter: 18px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ui {
  margin: 0; min-height: 100svh; background: var(--ui-bg); color: var(--ui-ink);
  font-family: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] body.ui { font-family: "Geist", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
html[lang="he"] body.ui { font-family: "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif; }
.ui-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 38% at 0% 0%, var(--ui-tint-a), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, var(--ui-tint-b), transparent 70%),
    radial-gradient(40% 30% at 100% 20%, var(--ui-tint-c), transparent 70%),
    var(--ui-bg);
}
.ui a { color: inherit; }
.ui :focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- top: big title and round buttons ---------- */
.ui-top { max-width: 1120px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top)) var(--ui-gutter) 6px; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; }
.ui-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ui-dim); grid-column: 1 / -1; }
.ui-brand .mark { width: 20px; height: 20px; }
.ui-title { margin: 0; font-size: clamp(34px, 9vw, 46px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.ui-actions { display: flex; gap: 8px; }
.ui-round {
  width: 46px; height: 46px; border-radius: var(--ui-r-m); display: grid; place-items: center; flex: none;
  background: var(--ui-card); border: 1px solid var(--ui-edge); box-shadow: var(--ui-shadow); color: var(--ui-ink);
  text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; position: relative;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ui-round svg { width: 20px; height: 20px; }
.ui-round .dot { position: absolute; top: 11px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ui-good); box-shadow: 0 0 0 2px var(--ui-raised); }
.ui-camp { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ui-camp select { appearance: none; -webkit-appearance: none; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ui-dim); padding: 0 18px 0 0;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.ui-camp-name { font-weight: 600; color: var(--ui-dim); }

/* ---------- main ---------- */
.ui-main { max-width: 1120px; margin: 0 auto; padding: 8px var(--ui-gutter) calc(120px + env(safe-area-inset-bottom)); }
.ui-wait { color: var(--ui-dim); padding: 30px 0; }
.ui-error { margin: 12px 0; padding: 12px 16px; border-radius: var(--ui-r-m); background: var(--ui-warn-bg); color: var(--ui-warn-ink); font-size: 15px; }
.ui-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-grid > .wide { grid-column: 1 / -1; }
.ui-sec { margin-top: 26px; }
.ui-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 2px 12px; }
.ui-h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.ui-more { font-size: 14px; color: var(--ui-dim); text-decoration: none; font-weight: 500; }
.ui-more:hover { color: var(--ui-ink); }

/* ---------- cards ---------- */
.ui-card {
  background: var(--ui-card); border: 1px solid var(--ui-edge); border-radius: var(--ui-r); box-shadow: var(--ui-shadow);
  padding: 18px 18px 16px; min-width: 0; position: relative;
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
}
a.ui-card { display: block; text-decoration: none; }
a.ui-card:hover { background: var(--ui-field); }
.ui-label { font-size: 13px; color: var(--ui-dim); margin: 0 0 2px; }
.ui-big { font-size: 40px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 2px 0 0; }
.ui-big small { font-size: 18px; font-weight: 500; color: var(--ui-dim); letter-spacing: 0; }
.ui-corner { position: absolute; top: 16px; right: 18px; font-size: 14px; font-weight: 600; color: var(--ui-good); }
[dir="rtl"] .ui-corner { right: auto; left: 18px; }
.ui-corner.low { color: var(--ui-warn); }
.ui-sub { font-size: 13px; color: var(--ui-faint); margin: 6px 0 0; }
.ui-bar { margin-top: 14px; height: 34px; border-radius: var(--ui-r-s); background: var(--ui-track); position: relative; overflow: hidden; }
.ui-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: var(--ui-r-s); background: var(--ui-grad); }
[dir="rtl"] .ui-bar > i { inset: 0 0 0 auto; }
.ui-bar > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13px; font-weight: 500; color: var(--ui-bar-ink); }
.ui-thin { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--ui-soft); overflow: hidden; }
.ui-thin > i { display: block; height: 100%; border-radius: 3px; background: var(--ui-grad); }
.ui-hero { padding: 22px 22px 20px; }
.ui-hero .ui-big { font-size: clamp(52px, 14vw, 72px); }
.ui-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--ui-r-s); font-size: 13px; font-weight: 600; background: var(--ui-good-bg); color: var(--ui-good-ink); }
.ui-tag.warn { background: var(--ui-warn-bg); color: var(--ui-warn-ink); }
.ui-tag.dim { background: var(--ui-soft); color: var(--ui-dim); }
.ui-tag.dark { background: var(--ui-black); color: var(--ui-on-black); }

/* ---------- avatars ---------- */
.ui-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 600; color: #fff; border: 2px solid var(--ui-av-edge); }
.ui-avs { display: flex; margin-top: 12px; }
.ui-avs .ui-av { margin-inline-start: -10px; }
.ui-avs .ui-av:first-child { margin-inline-start: 0; }
.ui-av.big { width: 68px; height: 68px; font-size: 22px; border-width: 3px; }
.ui-stars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; padding: 6px 0 14px; }
.ui-stars .ui-av { margin: 0 auto 6px; }
.ui-stars b { display: block; font-size: 14px; font-weight: 600; }
.ui-stars span { font-size: 12px; color: var(--ui-dim); }

/* ---------- lists ---------- */
.ui-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ui-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: 12px; min-width: 0;
  background: var(--ui-card); border: 1px solid var(--ui-edge); box-shadow: var(--ui-shadow); text-decoration: none; color: inherit;
}
button.ui-row { width: 100%; font: inherit; text-align: start; cursor: pointer; }
.ui-row-main { flex: 1; min-width: 0; }
.ui-row-title { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.ui-row-sub { font-size: 13px; color: var(--ui-dim); margin-top: 2px; overflow-wrap: anywhere; }
.ui-pill-dark { flex: none; height: 38px; padding: 0 14px; border-radius: var(--ui-r-m); background: var(--ui-black); color: var(--ui-on-black); display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui-icon { width: 42px; height: 42px; border-radius: var(--ui-r-m); display: grid; place-items: center; flex: none; background: var(--ui-raised); box-shadow: var(--ui-lift); }
.ui-icon svg { width: 20px; height: 20px; }
.ui-empty { color: var(--ui-dim); font-size: 15px; padding: 18px; text-align: center; background: var(--ui-empty); border-radius: 12px; border: 1px dashed var(--ui-empty-edge); }

/* ---------- pills (filters) ---------- */
.ui-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin: 4px -2px 10px; }
.ui-pills::-webkit-scrollbar { display: none; }
.ui-pill {
  flex: none; height: 42px; padding: 0 18px; border-radius: var(--ui-r-m); border: 1px solid var(--ui-edge); background: var(--ui-card);
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ui-ink); cursor: pointer; box-shadow: var(--ui-shadow);
}
.ui-pill.on { background: var(--ui-black); color: var(--ui-on-black); border-color: var(--ui-black); }

/* ---------- buttons and forms ---------- */
.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--ui-r-m);
  border: 0; background: var(--ui-black); color: var(--ui-on-black); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
}
.ui-btn.light { background: var(--ui-raised); color: var(--ui-ink); box-shadow: var(--ui-shadow); }
.ui-btn.fire { background: var(--ui-fire); color: #1A1008; }
.ui-btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.ui-btn.wide { width: 100%; }
.ui-btn:disabled { opacity: .55; cursor: default; }
.ui-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ui-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ui-form { display: grid; gap: 12px; }
.ui-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ui-fields .full { grid-column: 1 / -1; }
.ui-field { display: grid; gap: 6px; min-width: 0; }
.ui-field > span { font-size: 13px; color: var(--ui-dim); font-weight: 500; }
.ui-field input, .ui-field select, .ui-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--ui-r-m); border: 1px solid var(--ui-field-edge); background: var(--ui-field);
  font: inherit; font-size: 16px; color: var(--ui-ink);
}
.ui-field textarea { min-height: 84px; resize: vertical; }
.ui-field select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ui-dim) 50%), linear-gradient(135deg, var(--ui-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .ui-field select { background-position: 20px 52%, 15px 52%; }
.ui-field input:focus, .ui-field select:focus, .ui-field textarea:focus { outline: none; border-color: var(--ui-fire); box-shadow: 0 0 0 3px rgba(217, 132, 63, .18); }
.ui-check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.ui-check input { width: 22px; height: 22px; accent-color: var(--ui-black); }
.ui-msg { font-size: 14px; color: var(--ui-dim); margin: 0; }
.ui-details > summary { list-style: none; cursor: pointer; }
.ui-details > summary::-webkit-details-marker { display: none; }
.ui-add-sum { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ui-details[open] > summary { margin-bottom: 14px; }
.ui-code { display: block; padding: 10px 12px; border-radius: 8px; background: var(--ui-soft); font-family: "Geist Mono", monospace; font-size: 13px; word-break: break-all; direction: ltr; text-align: left; }

/* ---------- calendar ---------- */
.ui-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ui-cal-head b { font-size: 17px; font-weight: 600; }
.ui-cal-nav { display: flex; gap: 6px; }
.ui-cal-nav .ui-round { width: 38px; height: 38px; }
.ui-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; text-align: center; }
.ui-cal .wd { font-size: 13px; color: var(--ui-dim); font-weight: 500; padding-bottom: 4px; }
.ui-day {
  position: relative; width: 40px; height: 40px; margin: 0 auto; border-radius: var(--ui-r-m); border: 0; background: var(--ui-raised); font: inherit; font-size: 15px;
  font-variant-numeric: tabular-nums; color: var(--ui-ink); cursor: pointer; box-shadow: var(--ui-lift-s);
}
.ui-day.out { background: transparent; box-shadow: none; color: var(--ui-faint); cursor: default; }
.ui-day.burn { background: rgba(217, 132, 63, .22); }
.ui-day.today { background: var(--ui-black); color: var(--ui-on-black); }
.ui-day.sel { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui-day i { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); display: flex; gap: 3px; }
.ui-day i b { width: 5px; height: 5px; border-radius: 50%; background: var(--ui-good); }
.ui-day i b.d { background: var(--ui-warn); }
.ui-day i b.e { background: var(--ui-fire); }

/* ---------- more ---------- */
.ui-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ui-tile { display: flex; flex-direction: column; gap: 14px; padding: 18px; min-height: 132px; text-decoration: none; }
.ui-tile b { font-size: 17px; font-weight: 600; }
.ui-tile span { font-size: 13px; color: var(--ui-dim); }

/* ---------- the tab bar ---------- */
.ui-tabs {
  position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 460px); height: 68px; padding: 0 9px; border-radius: 18px;
  background: var(--ui-glass); border: 1px solid var(--ui-glass-edge);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--ui-glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ui-tabs { background: var(--ui-glass-solid); } }
.ui-tab { height: 50px; min-width: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 15px; font-weight: 600; padding: 0 12px; }
.ui-tab svg { width: 22px; height: 22px; flex: none; }
.ui-tab .tl { display: none; }
.ui-tab.on { background: var(--ui-black); color: var(--ui-on-black); padding: 0 18px; }
.ui-tab.on .tl { display: inline; }
.ui-tab:not(.on):hover { background: var(--ui-hover); }

/* ---------- sheet (a form that slides up) ---------- */
.ui-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: var(--ui-scrim); }
.ui-sheet-in { width: min(100%, 560px); max-height: 92svh; overflow: auto; background: var(--ui-card-solid); border-radius: 16px 16px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
.ui-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ui-sheet-head h2 { margin: 0; font-size: 22px; font-weight: 600; }

@media (min-width: 760px) {
  :root { --ui-gutter: 32px; }
  .ui-top { padding-top: 30px; }
  .ui-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ui-grid > .half { grid-column: span 2; }
  .ui-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ui-sheet { align-items: center; }
  .ui-sheet-in { border-radius: 16px; }
  .ui-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .ui-tab .tl { display: inline; font-size: 14px; }
  .ui-tab { padding: 0 14px; }
}
@media (max-width: 380px) {
  .ui-fields { grid-template-columns: 1fr; }
  .ui-day { width: 36px; height: 36px; font-size: 14px; }
}
@media print {
  .ui-tabs, .ui-actions, .ui-bg, .ui-btn, .ui-details > summary { display: none !important; }
  body.ui { background: #fff; }
  .ui-card, .ui-row { box-shadow: none; border: 1px solid #ccc; backdrop-filter: none; }
}

/* ---------- the account page (its lists come from account.js) and the language links ---------- */
.ui #passkeys li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 16px; border-radius: 12px; background: var(--ui-card); border: 1px solid var(--ui-edge); box-shadow: var(--ui-shadow); }
.ui .app-li-main { flex: 1 1 160px; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.ui .app-li-side { font-size: 13px; color: var(--ui-dim); }
.ui .linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ui-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ui #social-list .ui-row-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.ui #social-list .ic { width: 20px; height: 20px; }
.ui-foot { max-width: 1120px; margin: 0 auto; padding: 10px var(--ui-gutter) calc(112px + env(safe-area-inset-bottom)); }
/* languages: one quiet line that opens the list (the same as on the site, in the colours of the app) */
.talen { position: relative; width: fit-content; }
.talen summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; font-size: 13px; color: var(--ui-faint); cursor: pointer; -webkit-user-select: none; user-select: none; }
.talen summary::-webkit-details-marker { display: none; }
.talen summary svg { flex: none; }
.talen summary:hover, .talen[open] summary { color: var(--ui-ink); }
.talen summary:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 4px; }
.talen-lijst { position: absolute; z-index: 40; bottom: 100%; inset-inline-start: -14px; display: grid; min-width: 172px; padding: 6px 0; background: var(--ui-card-solid, var(--ui-bg)); border: 1px solid var(--ui-edge); box-shadow: var(--ui-lift); }
.talen-lijst a { padding: 9px 14px; font-size: 14px; line-height: 1.3; color: var(--ui-dim); text-decoration: none; }
.talen-lijst a:hover, .talen-lijst a.here { color: var(--ui-ink); }
.talen-lijst a.here { font-weight: 600; }
/* a list as a spreadsheet file: one quiet line under the list, and the whole set on the page of the camp settings */
.ui-x { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 26px 0 0; font-size: 14px; }
.ui-x svg { width: 18px; height: 18px; flex: none; color: var(--ui-faint); }
.ui-x a, .ui-xlist a { color: var(--ui-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ui-xcard { margin-top: 18px; }
.ui-xlist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.ui-x-in { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ui-x-in[hidden] { display: none; }
/* People: how many are on site on each day. One column per day from a single baseline, thin (24 px at most) with a gap
   of 2 px, the number only on the fullest day and on today; the rest is said in the line under the chart when you
   point at or tap a column. The colour is checked against both surfaces (a darker step on white). */
body.ui { --ui-bar: #D9843F; }
body.ui:not(.night) { --ui-bar: #C06A22; }
.ui-site { margin-top: 14px; }
.ui-days { display: grid; gap: 2px; height: 128px; margin-top: 16px; border-bottom: 1px solid var(--ui-line-strong, var(--ui-edge)); }
.ui-dayc { display: grid; grid-template-rows: 18px minmax(0, 1fr); justify-items: center; min-width: 0; padding: 0; border: 0; background: none; color: var(--ui-ink); font: inherit; cursor: pointer; }
.ui-dayc i { display: block; align-self: end; width: min(24px, 100%); min-height: 2px; background: var(--ui-bar); }
.ui-dayc-v { font-size: 12px; font-weight: 600; line-height: 18px; white-space: nowrap; }
.ui-dayc.on i, .ui-dayc:focus-visible i { background: var(--ui-ink); }
.ui-dayc:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 1px; }
.ui-days-x { display: grid; gap: 2px; margin-top: 5px; font-size: 11px; line-height: 1.3; color: var(--ui-faint); }
.ui-days-x span { grid-row: 1; text-align: center; white-space: nowrap; min-width: 0; }
.ui-days-x span.m { color: var(--ui-dim); font-weight: 600; justify-self: start; }
.ui-days-x .ui-days-burn { margin-top: 6px; padding-top: 3px; border-top: 2px solid var(--ui-ink); color: var(--ui-dim); font-size: 12px; }
.ui-days-read { margin: 12px 0 0; font-size: 14.5px; min-height: 1.5em; }
@media print { .ui-days-read { display: none; } }
/* on paper: only the list itself, in the light colours (camp-app.js takes the night colours off while printing), with
   the name of the camp above the title, and no row cut in half over two pages */
@page { margin: 14mm 12mm; }
@media print {
  .ui-x, .ui-xcard, .ui-foot, .ui-skel, .ui-offline, .ui-pills, .ui-details, .ui-crumb, .ui-lead, .ui-error, #ui-words { display: none !important; }
  body.ui { background: #fff !important; }
  .ui .ui-main { max-width: none; margin: 0; padding: 0; }
  body.ui #app-body { max-width: none !important; }
  .ui-head { margin-bottom: 14px; }
  .ui-head::before { content: attr(data-camp); display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
  .ui .ui-title { font-size: 26px; }
  .ui-row, .ui-card, .ui-list > li { break-inside: avoid; }
  .ui-row { cursor: default !important; }
  * { animation: none !important; transition: none !important; }
}
/* the profile: how much ground your tent or vehicle takes (width, length, unit) on one line */
.ui-size-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 84px; gap: 8px; align-items: center; }
.ui-size-in i { font-style: normal; color: var(--ui-faint); }
.ui-main { padding-bottom: 24px; }

/* ---------- fixes after the first screenshots ---------- */
.ui .ui-tab { color: var(--ui-tab-ink); }
.ui .ui-tab:hover { color: var(--ui-ink); }
.ui .ui-tab.on { color: var(--ui-on-black); }
.ui-row-title, .ui-row-sub { display: block; }
.ui-add-sum { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ui-add-sum svg { width: 22px; height: 22px; flex: none; }
.ui .ui-av { color: #fff; }
.ui-avs .ui-av { margin-inline-start: -12px; }
.ui-avs .ui-av:first-child { margin-inline-start: 0; }
.ui-row-main > .ui-avs, .ui-row-main > select, .ui-row-main > .ui-acts { margin-top: 10px; }
.ui-row-main > .ui-link { display: inline-block; margin-top: 8px; }
.ui-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ui-row .ui-btn.small.light { box-shadow: var(--ui-lift); }
@media (max-width: 759px) {
  .ui-grid > .half .ui-big { font-size: 32px; }
  .ui-grid > .half .ui-big small { display: block; font-size: 15px; margin-top: 2px; }
}
a.ui-card.ui-tile { display: flex; flex-direction: column; }
.ui-btn svg { width: 20px; height: 20px; flex: none; }
.ui-field input[type="date"], .ui-field input[type="time"] { min-width: 0; max-width: 100%; display: block; }
.ui-offline { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--ui-r-m); background: var(--ui-black); color: var(--ui-on-black); font-size: 14px; }
.ui-card:has(> .ui-corner) > .ui-label { padding-inline-end: 52px; }
[dir="rtl"] .ui-cal-nav svg, [dir="rtl"] .ui-actions .ui-round:not(#ui-me) svg { transform: scaleX(-1); }

/* ---------- Crew: the bar over People, Chat, Meetings and Ideas ---------- */
.ui-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 0 16px;
  background: var(--ui-card); border: 1px solid var(--ui-edge); border-radius: var(--ui-r-m); box-shadow: var(--ui-shadow); }
.ui-seg a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 4px; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--ui-dim); text-decoration: none; text-align: center; overflow-wrap: anywhere; line-height: 1.15; }
.ui-seg a:hover { color: var(--ui-ink); }
.ui-seg a.on { background: var(--ui-raised); color: var(--ui-ink); box-shadow: var(--ui-lift); }
.ui-seg-dot, .ui-tab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ui-fire); display: inline-block; }
.ui-seg-dot { margin-inline-start: 6px; }
.ui-tab { position: relative; }
.ui-tab-dot { position: absolute; top: 9px; inset-inline-end: 9px; box-shadow: 0 0 0 2px var(--ui-glass-solid); }
.ui-sec-s { margin-top: 14px; }
.ui-inline { display: inline-grid; }
.ui-inline select { min-height: 46px; width: auto; }

/* ---------- chat ---------- */
.ui-chans .ui-row { text-decoration: none; }
.ui-chan-hash { width: 42px; height: 42px; border-radius: var(--ui-r-m); display: grid; place-items: center; flex: none; background: var(--ui-raised); font-weight: 700; color: var(--ui-dim); }
.ui-count { flex: none; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; display: inline-grid; place-items: center; background: var(--ui-fire); color: #1A1008; font-size: 13px; font-weight: 700; }
.ui-row.archived { opacity: .6; }
.ui-room-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ui-room-title { flex: 1; min-width: 0; }
.ui-room-title .ui-sub { margin: 2px 0 0; }
.ui-room-more { margin: 0 0 8px; text-align: center; }
.ui-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ui-cmsg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 10px; padding: 6px 8px; border-radius: var(--ui-r-m); }
.ui-cmsg:hover { background: var(--ui-hover); }
.ui-cmsg.cont { padding-top: 0; }
.ui-cmsg.cont > .ui-av { visibility: hidden; height: 0; border: 0; }
.ui-cmsg.mention { background: rgba(217, 132, 63, .12); }
.ui-cmsg.wait { opacity: .55; }
.ui-msg-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ui-msg-head b { font-size: 15px; }
.ui-msg-head time, .ui-msg-head .ui-msg-note { font-size: 12px; color: var(--ui-faint); }
.ui-msg-body { font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ui-msg-body a { color: var(--ui-fire); }
.ui-msg-body .at { font-weight: 600; color: var(--ui-fire); }
.ui-msg-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.ui-react { height: 28px; padding: 0 9px; border-radius: 14px; border: 1px solid var(--ui-edge); background: var(--ui-raised); color: var(--ui-ink); font: inherit; font-size: 13px; cursor: pointer; }
.ui-react.mine { border-color: var(--ui-fire); }
.ui-msg-more { opacity: 0; }
.ui-cmsg:hover .ui-msg-more, .ui-cmsg:focus-within .ui-msg-more, .ui-cmsg.open .ui-msg-more { opacity: 1; }
@media (hover: none) { .ui-msg-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ui-cmsg { cursor: pointer; } }
.ui-daysep { list-style: none; text-align: center; font-size: 12px; font-weight: 600; color: var(--ui-faint); margin: 14px 0 6px; }
.ui-composer { position: sticky; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; padding: 8px;
  background: var(--ui-glass); border: 1px solid var(--ui-glass-edge); border-radius: 14px; box-shadow: var(--ui-glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); }
.ui-composer textarea { flex: 1; min-height: 44px; max-height: 40vh; resize: none; padding: 11px 12px; border-radius: var(--ui-r-m); border: 1px solid var(--ui-field-edge);
  background: var(--ui-field); color: var(--ui-ink); font: inherit; font-size: 16px; line-height: 1.35; }
.ui-composer textarea:focus { outline: none; border-color: var(--ui-fire); }
.ui-send { min-height: 44px; width: 48px; padding: 0; flex: none; }
.ui-chat .ui-room { padding-bottom: 8px; }
@media (min-width: 760px) {
  .ui-chat { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
  .ui-chat .ui-chans { position: sticky; top: 16px; }
  .ui-chat .ui-room[hidden] { display: block !important; visibility: hidden; }
  .ui-room-back { display: none; }
}
@media (max-width: 759px) {
  .ui-chat.in-room .ui-chans { display: none; }
}

/* ---------- meetings: the meeting as text ---------- */
.ui-lines { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.ui-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.45; }
.ui-lines li.wait { opacity: .55; }
.ui-lines time { font-size: 12px; color: var(--ui-faint); font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.ui-lines .by { display: block; font-size: 12px; color: var(--ui-faint); }
.ui-lines:empty { display: none; }
.ui-rec-now { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--ui-r-m); background: var(--ui-soft); font-size: 15px; color: var(--ui-dim); font-style: italic; }
.ui-btn.recording { background: var(--ui-warn); color: #fff; }
.ui-btn.recording svg { animation: ui-blink 1.2s steps(2, start) infinite; }
@keyframes ui-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ui-btn.recording svg { animation: none; } }

/* ---------- ideas ---------- */
.ui-idea { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; }
.ui-vote { width: 56px; min-height: 62px; border-radius: var(--ui-r-m); border: 1px solid var(--ui-edge); background: var(--ui-raised); color: var(--ui-ink);
  display: grid; place-items: center; align-content: center; gap: 2px; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.ui-vote svg { width: 18px; height: 18px; }
.ui-vote.on { background: var(--ui-black); color: var(--ui-on-black); border-color: var(--ui-black); }
.ui-idea-body { min-width: 0; }
.ui-idea-body p { margin: 6px 0 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ui-comments { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ui-comments li { font-size: 14.5px; padding: 8px 10px; border-radius: var(--ui-r-m); background: var(--ui-soft); overflow-wrap: anywhere; white-space: pre-wrap; }
.ui-comments b { display: block; font-size: 12.5px; color: var(--ui-dim); white-space: normal; }
@media (min-width: 1000px) { .ui-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* ---------- night: the colours of the homepage (user 25 Nov 2026: "misschien wil ik de kleuren wel van de homepage").
   Same tokens as site/assets/styles.css. The strong block (active tab, today, main button) is fire with dark ink,
   like the buttons on the homepage. gen-modules.py UI_THEME puts the class on <body>. ---------- */
body.ui.night {
  --ui-bg: #12061F;
  --ui-card: rgba(31, 20, 43, .8);
  --ui-card-solid: #1A0E26;
  --ui-edge: #31263A;
  --ui-line: rgba(242, 237, 227, .08);
  --ui-ink: #F2EDE3;
  --ui-dim: #A19A9C;
  --ui-faint: #877E85;
  --ui-black: #D9843F;
  --ui-on-black: #1A1008;
  --ui-good: #6FBF8E;
  --ui-warn: #E8796B;
  --ui-grad: linear-gradient(90deg, #A8472A 0%, #D9843F 55%, #E9B567 100%);
  --ui-shadow: 0 1px 0 rgba(242, 237, 227, .05) inset, 0 14px 34px rgba(0, 0, 0, .35);
  --ui-raised: #2A1E36;
  --ui-av-edge: #1F142B;
  --ui-field: rgba(18, 6, 31, .55);
  --ui-field-edge: #43394A;
  --ui-track: rgba(242, 237, 227, .08);
  --ui-soft: rgba(242, 237, 227, .08);
  --ui-good-bg: rgba(111, 191, 142, .16);
  --ui-good-ink: #8FD3A9;
  --ui-warn-bg: rgba(232, 121, 107, .16);
  --ui-warn-ink: #F09A8E;
  --ui-glass: rgba(31, 20, 43, .74);
  --ui-glass-edge: rgba(242, 237, 227, .1);
  --ui-glass-solid: rgba(26, 14, 38, .97);
  --ui-glass-shadow: 0 1px 0 rgba(242, 237, 227, .06) inset, 0 14px 36px rgba(0, 0, 0, .45);
  --ui-tab-ink: rgba(242, 237, 227, .75);
  --ui-bar-ink: #F2EDE3;
  --ui-hover: rgba(242, 237, 227, .08);
  --ui-empty: rgba(242, 237, 227, .03);
  --ui-empty-edge: #43394A;
  --ui-lift: 0 4px 12px rgba(0, 0, 0, .3);
  --ui-lift-s: none;
  --ui-tint-a: rgba(91, 46, 140, .32);
  --ui-tint-b: rgba(217, 132, 63, .14);
  --ui-tint-c: transparent;
  --ui-scrim: rgba(8, 3, 14, .6);
  color-scheme: dark;
}
html:has(> body.ui.night) { background: #12061F; color-scheme: dark; }
body.ui.night .ui-bar > span { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
body.ui.night a.ui-card:hover { background: #241830; }
/* labels (time, date, amount, headcount) stay calm; fire only for what is active or what you press */
body.ui.night .ui-pill-dark, body.ui.night .ui-tag.dark { background: var(--ui-raised); color: var(--ui-ink); box-shadow: inset 0 0 0 1px var(--ui-edge); }

/* ======================================================================================================================
   The set-up of the horoscoop.app website (25 Nov 2026, user about proposal 2: "dit is perfect!"). A sidebar with groups
   on the laptop and a strip of icons on the phone (no tab bar), a date line, a very big title and a short introduction,
   cards with a header and rows divided by lines, filters as tabs. Proposal: voorstellen/app-v3/. No rounded corners.
   ====================================================================================================================== */
:root { --ui-side: #FFFFFF; --ui-line-strong: #E4E4E8; --ui-band: #FAFAFB; --ui-acc-soft: #FBF0E6; --ui-acc-ink: #A9561A; --ui-card-solid: #FFFFFF; }
body.ui.night { --ui-side: #0E0418; --ui-line-strong: #31263A; --ui-band: #1F142B; --ui-acc-soft: rgba(217, 132, 63, .14); --ui-acc-ink: #E9A266; --ui-card-solid: #1A0E26; }
body.ui { background: var(--ui-bg); }
.ui-bg { display: none; }

/* the shell */
.ui .ui-main { min-width: 0; max-width: 1240px; margin: 0; padding: 44px 56px 56px; }
.ui-crumb { margin: 0 0 10px; font-size: 14px; color: var(--ui-dim); }
.ui-crumb a { text-decoration: none; color: var(--ui-dim); }
.ui-crumb a:hover { color: var(--ui-ink); }
.ui-crumb span { margin: 0 7px; color: var(--ui-faint); }
.ui-head { margin-bottom: 26px; }
.ui-date { margin: 0; font-size: 15.5px; color: var(--ui-dim); }
.ui-date:empty { display: none; }
.ui .ui-title { margin: 4px 0 0; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; max-width: 15em; }
.ui-lead { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: var(--ui-dim); max-width: 34em; }
.ui-you { margin: -10px 0 24px; font-size: 15.5px; color: var(--ui-dim); max-width: 44em; }
.ui-you a { color: var(--ui-acc-ink); font-weight: 650; }
body.ui:not([data-view="home"]):not([data-view="chat"]) #app-body { max-width: 900px; }
.ui-cols2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.ui-cols2 > aside > * + * { margin-top: 20px; }
.ui .ui-foot { max-width: none; margin: 0; padding: 36px 0 0; }
.ui-wait { padding: 0 0 30px; }

/* cards: a header and rows with lines between them */
.ui .ui-card { background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 22px; }
.ui .ui-card.ui-flush { padding: 0; }
a.ui-card:hover { background: var(--ui-band); }
.ui-card-h { padding: 22px 22px 14px; }
.ui-card-h .ui-sub { margin: 6px 0 0; font-size: 14.5px; color: var(--ui-dim); }
.ui .ui-h2 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.ui-band { margin: 0; padding: 11px 22px; font-size: 14px; font-weight: 650; color: var(--ui-dim); background: var(--ui-band); border-bottom: 1px solid var(--ui-line-strong); }
.ui-band:empty { display: none; }
.ui .ui-sec { margin-top: 22px; }
.ui .ui-sec > .ui-sec-head { margin: 0; padding: 20px 22px 14px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); border-bottom: 0; }
.ui .ui-list { gap: 0; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); }
.ui .ui-card .ui-list { border: 0; background: none; }
.ui .ui-list > * { border-bottom: 1px solid var(--ui-line-strong); }
.ui .ui-list > *:last-child { border-bottom: 0; }
.ui .ui-row { border: 0; background: transparent; box-shadow: none; padding: 14px 22px; gap: 14px; border-radius: 0; }
.ui .ui-list > li > .ui-row { border: 0; }
.ui a.ui-row:hover, .ui button.ui-row:hover { background: var(--ui-hover); }
.ui .ui-row-title { font-size: 16.5px; font-weight: 700; }
.ui .ui-row-title small { font-size: 13.5px; font-weight: 500; color: var(--ui-faint); margin-inline-start: 8px; }
.ui .ui-row-sub { font-size: 14.5px; }
.ui .ui-row-chev { width: 18px; height: 18px; color: var(--ui-dim); flex: none; }
.ui .ui-empty { border: 0; background: none; padding: 20px 22px; text-align: start; }
.ui .ui-icon { width: 40px; height: 40px; box-shadow: none; background: var(--ui-acc-soft); color: var(--ui-acc-ink); }
.ui .ui-icon.k-shift { background: rgba(232, 121, 107, .16); color: #E8796B; }
.ui .ui-icon.k-meal, .ui .ui-icon.k-arrive { background: rgba(111, 191, 142, .16); color: #6FBF8E; }
.ui .ui-icon.k-meeting { background: rgba(142, 162, 255, .16); color: #8EA2FF; }
.ui .ui-icon.k-deadline, .ui .ui-icon.k-event { background: rgba(231, 180, 90, .16); color: #E7B45A; }
.ui .ui-icon.k-task, .ui .ui-icon.k-leave { background: rgba(190, 140, 230, .16); color: #C79BEA; }
body.ui:not(.night) .ui-icon.k-shift { color: #C8402D; } body.ui:not(.night) .ui-icon.k-meal, body.ui:not(.night) .ui-icon.k-arrive { color: #1E8A55; }
body.ui:not(.night) .ui-icon.k-meeting { color: #3E5BE0; } body.ui:not(.night) .ui-icon.k-deadline, body.ui:not(.night) .ui-icon.k-event { color: #A8700F; }
body.ui:not(.night) .ui-icon.k-task, body.ui:not(.night) .ui-icon.k-leave { color: #8A4FBF; }

/* filters become tabs with a line under the chosen one */
.ui .ui-pills { margin: 0; padding: 0 12px; gap: 4px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); overflow-x: auto; }
.ui .ui-card .ui-pills { border: 0; border-bottom: 1px solid var(--ui-line-strong); }
.ui .ui-pills + .ui-list, .ui .ui-pills + .ui-card, .ui .ui-pills + .ui-sec { margin-top: -1px; }
.ui .ui-pill { height: auto; padding: 11px 12px 12px; border: 0; border-bottom: 2px solid transparent; background: none; box-shadow: none; color: var(--ui-dim); font-weight: 650; font-size: 15.5px; white-space: nowrap; }
.ui .ui-pill.on { background: none; color: var(--ui-ink); border-color: transparent; border-bottom-color: var(--ui-fire); }

/* the chat: the writing bar stays at the bottom of the screen (there is no tab bar any more) */
.ui .ui-composer { bottom: calc(12px + env(safe-area-inset-bottom)); }
.ui .ui-msgs { background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); padding: 8px; }
.ui .ui-chans .ui-list > li > a.ui-row[aria-current] { background: var(--ui-acc-soft); }

/* the phone: the sidebar is a strip of icons that folds open over the page */
@media (max-width: 899px) {
  .ui .ui-main { padding: 22px 16px 40px; }
  .ui .ui-title { font-size: clamp(32px, 9vw, 44px); }
  .ui-lead { font-size: 17px; }
  .ui-cols2 { grid-template-columns: minmax(0, 1fr); }
  .ui-card-h, .ui .ui-sec > .ui-sec-head { padding: 18px 16px 12px; }
  .ui .ui-h2 { font-size: 21px; }
  .ui .ui-row { padding: 13px 16px; gap: 12px; }
  .ui .ui-icon { width: 38px; height: 38px; }
  .ui .ui-row-title { font-size: 16px; }
  .ui .ui-row-title small { display: block; margin: 0; }
  .ui-band, .ui .ui-empty { padding-inline: 16px; }
  .ui .ui-pills { padding: 0 4px; }
  .ui .ui-card { padding: 18px 16px; }
}
/* no rounded corners anywhere in the app (user), people and dots included */
body.ui *, body.ui *::before, body.ui *::after { border-radius: 0 !important; }
.ui .ui-you a { text-decoration: none; }
.ui .ui-you a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* the phone: what stands right in a row may drop under it, so a title keeps its width; fields one under the other */
@media (max-width: 899px) {
  .ui .ui-row { flex-wrap: wrap; }
  .ui .ui-row-main { flex: 1 1 150px; }
}
@media (max-width: 560px) { .ui .ui-fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the camp feed ---------- */
.ui-compose { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px 0; }
.ui-compose .ui-field { flex: 1; }
.ui-compose textarea { min-height: 52px; }
.ui-photo-prev { padding: 12px 22px 0; }
.ui-photo-prev img { display: block; max-width: 100%; max-height: 320px; margin-bottom: 8px; }
.ui-compose-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 22px 18px; }
.ui-compose-tools #f-post { margin-inline-start: auto; }
.ui-file { cursor: pointer; }
.ui-file:focus-within { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui-feed { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.ui .ui-post.wait { opacity: .6; }
.ui-post-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px 0; }
.ui-post-head > div > b { display: block; font-size: 16px; font-weight: 700; }
.ui-post-head > div > span { display: block; font-size: 13px; color: var(--ui-faint); }
.ui-post-tags { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ui-post-body { padding: 12px 22px 0; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.ui-post-body a { color: var(--ui-acc-ink); }
.ui-post-body .at { font-weight: 650; color: var(--ui-acc-ink); }
.ui-post-pic { display: block; margin-top: 14px; }
.ui-post-img { display: block; width: 100%; max-height: 640px; object-fit: cover; background: var(--ui-band); }
.ui-post-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 22px 18px; }
.ui-act { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--ui-line-strong); background: transparent; color: var(--ui-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.ui-act .ui-ic svg { width: 17px; height: 17px; }
.ui-act.on { background: var(--ui-acc-soft); border-color: var(--ui-fire); color: var(--ui-acc-ink); }
.ui-post-tools { margin-inline-start: auto; }
.ui-post-comments { padding: 0 22px 18px; border-top: 1px solid var(--ui-line-strong); }
@media (max-width: 899px) {
  .ui-compose, .ui-post-head, .ui-post-body, .ui-photo-prev { padding-inline: 16px; }
  .ui-compose-tools, .ui-post-acts { padding-inline: 16px; }
  .ui-post-comments { padding: 0 16px 16px; }
  .ui-post-tools { margin-inline-start: 0; width: 100%; }
}
@media (max-width: 899px) {
  .ui-post-head { flex-wrap: wrap; }
  .ui-post-tags { width: 100%; justify-content: flex-start; margin-inline-start: 50px; }
}

/* ======================================================================================================================
   The modern look of the screens the user sent (25 Nov 2026: "die moderne sfeer mis ik een beetje"): crisp white or the
   night of the homepage, calmer lines, big numbers, a ring and a colour bar, faces, camp moments as photos, labels with
   a coloured dot, times in black blocks. Light or night is chosen per device (sidebar); hard corners stay.
   ====================================================================================================================== */
body.ui:not(.night) {
  --ui-bg: #F4F4F6; --ui-card: #FFFFFF; --ui-card-solid: #FFFFFF; --ui-edge: #ECECF0; --ui-line: #F0F0F3; --ui-line-strong: #E6E6EB;
  --ui-ink: #111114; --ui-dim: #63636D; --ui-faint: #9A9AA4; --ui-black: #111114; --ui-on-black: #FFFFFF; --ui-raised: #F4F4F6;
  --ui-field: #FFFFFF; --ui-field-edge: #DEDEE4; --ui-track: #EFEFF2; --ui-soft: #F1F1F4; --ui-hover: #F6F6F8; --ui-side: #FFFFFF;
  --ui-band: #FAFAFB; --ui-acc-soft: #FBF0E6; --ui-acc-ink: #A9561A; --ui-good: #1E9E62; --ui-warn: #DE4B37; --ui-mid: #E9A23B;
  --ui-good-bg: rgba(30, 158, 98, .1); --ui-good-ink: #177A4C; --ui-warn-bg: rgba(222, 75, 55, .1); --ui-warn-ink: #B33A28;
  --ui-empty: transparent; --ui-empty-edge: #DEDEE4; --ui-av-edge: #FFFFFF; --ui-lift: 0 1px 2px rgba(17, 17, 20, .06);
  --ui-grad: linear-gradient(90deg, #F2A48A 0%, #F5C45C 50%, #7ACF86 100%);
  --ui-card-shadow: 0 1px 2px rgba(17, 17, 20, .04), 0 10px 28px rgba(17, 17, 20, .05);
  color-scheme: light;
}
body.ui.night { --ui-line: #241A30; --ui-line-strong: #2C2138; --ui-mid: #E7B45A; --ui-card-shadow: none; }
.ui .ui-card { border-color: var(--ui-line-strong); box-shadow: var(--ui-card-shadow); }
.ui .ui-list { border-color: var(--ui-line-strong); }
.ui .ui-card .ui-list > *, .ui .ui-list > * { border-bottom-color: var(--ui-line); }
.ui .ui-sec > .ui-sec-head { border-color: var(--ui-line-strong); }

/* the four cards with a big number */
.ui-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ui a.ui-metric { display: flex; flex-direction: column; gap: 8px; color: var(--ui-ink); text-decoration: none; min-height: 158px; }
.ui a.ui-metric:hover { background: var(--ui-card-solid); border-color: var(--ui-fire); }
.ui-metric .ui-label { margin: 0; font-size: 14px; color: var(--ui-dim); }
.ui-num { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ui-metric > .ui-sub { margin: auto 0 0; font-size: 13.5px; color: var(--ui-dim); }
.ui-metric-ring { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.ui-metric-ring .ui-num { display: block; font-size: 28px; }
.ui-metric-ring .ui-sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ui-dim); }
.ui-ring { flex: none; }
.ui-ring svg { width: 76px; height: 76px; display: block; }
.ui-gbar { height: 10px; background: var(--ui-track); }
.ui-gbar i { display: block; height: 100%; width: 0; background: var(--ui-grad); }
.ui-metric .ui-avs { margin-top: 2px; }
@media (max-width: 1240px) { .ui-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* camp moments: the newest photos of the feed */
.ui-moments { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 0 22px; padding: 2px 0 4px; }
.ui-moments::-webkit-scrollbar { display: none; }
.ui a.ui-moment { flex: none; width: 84px; text-align: center; font-size: 12.5px; color: var(--ui-dim); text-decoration: none; }
.ui-moment .pic { display: block; width: 84px; height: 84px; padding: 3px; border: 2px solid var(--ui-fire); background: var(--ui-card-solid); margin-bottom: 6px; }
.ui-moment .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-moment.add .pic { border: 1px dashed var(--ui-faint); display: grid; place-items: center; color: var(--ui-ink); }
.ui-moment.add .pic svg { width: 24px; height: 24px; }
.ui-moment .cap { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-moment-hint { align-self: center; margin: 0 0 22px 4px; font-size: 14px; color: var(--ui-dim); max-width: 22em; }

/* labels with a coloured dot, a photo as the picture of a row */
.ui .ui-tag { gap: 6px; }
.ui .ui-tag:not(.dark):not(.dim)::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.ui .ui-icon.ui-thumb { padding: 0; overflow: hidden; background: var(--ui-band); }
.ui-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* light or night */

@media (max-width: 899px) {
  .ui-metrics { gap: 12px; grid-auto-flow: dense; }
  .ui-metrics > :nth-child(2), .ui-metrics > :nth-child(4) { grid-column: 1 / -1; }
  .ui a.ui-metric { min-height: 0; }
  .ui-num { font-size: 32px; }
  .ui-ring svg { width: 64px; height: 64px; }
  .ui-metric-ring .ui-num { font-size: 24px; }
  .ui-moment, .ui a.ui-moment { width: 72px; }
  .ui-moment .pic { width: 72px; height: 72px; }
}
/* the house mark: black into fire on white, white into fire at night */

/* faces side by side, overlapping a little so the initials stay readable */
.ui .ui-avs .ui-av { margin-inline-start: -6px; }
.ui .ui-avs .ui-av:first-child { margin-inline-start: 0; }

/* ---------- teams ---------- */
/* every picture of a team has its own colour, light at night and darker on white */
.ui .ui-icon.tm-ic { background: var(--tm-bg); color: var(--tm-fg); }
.tm-i-build { --tm-fg: #E7B45A; --tm-bg: rgba(231, 180, 90, .16); }
.tm-i-kitchen { --tm-fg: #6FBF8E; --tm-bg: rgba(111, 191, 142, .16); }
.tm-i-power, .tm-i-other { --tm-fg: #E9A266; --tm-bg: rgba(217, 132, 63, .16); }
.tm-i-sound { --tm-fg: #8EA2FF; --tm-bg: rgba(142, 162, 255, .16); }
.tm-i-art { --tm-fg: #C79BEA; --tm-bg: rgba(190, 140, 230, .16); }
.tm-i-bar { --tm-fg: #E8796B; --tm-bg: rgba(232, 121, 107, .16); }
.tm-i-welcome { --tm-fg: #6FC7C0; --tm-bg: rgba(111, 199, 192, .16); }
.tm-i-strike { --tm-fg: #9DB0C8; --tm-bg: rgba(157, 176, 200, .16); }
.tm-i-moop { --tm-fg: #9CCB6B; --tm-bg: rgba(156, 203, 107, .16); }
.tm-i-water { --tm-fg: #6FB8E8; --tm-bg: rgba(111, 184, 232, .16); }
.tm-i-care { --tm-fg: #EE8FB5; --tm-bg: rgba(238, 143, 181, .16); }
body.ui:not(.night) .tm-i-build { --tm-fg: #A8700F; }
body.ui:not(.night) .tm-i-kitchen { --tm-fg: #1E8A55; }
body.ui:not(.night) .tm-i-power, body.ui:not(.night) .tm-i-other { --tm-fg: #A9561A; }
body.ui:not(.night) .tm-i-sound { --tm-fg: #3E5BE0; }
body.ui:not(.night) .tm-i-art { --tm-fg: #8A4FBF; }
body.ui:not(.night) .tm-i-bar { --tm-fg: #C8402D; }
body.ui:not(.night) .tm-i-welcome { --tm-fg: #137F78; }
body.ui:not(.night) .tm-i-strike { --tm-fg: #4A6280; }
body.ui:not(.night) .tm-i-moop { --tm-fg: #4E8A1E; }
body.ui:not(.night) .tm-i-water { --tm-fg: #1F74AE; }
body.ui:not(.night) .tm-i-care { --tm-fg: #C23A72; }
.ui .ui-icon.tm-ic.big { width: 52px; height: 52px; }
.ui .ui-icon.tm-ic.big svg { width: 26px; height: 26px; }
.ui .ui-av.more { background: var(--ui-soft); color: var(--ui-dim); font-size: 12px; }

/* the list: cards for the teams that could use you, rows for the rest */
.ui .tm-h { margin: 0 0 14px; }
.tm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ui .tm-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.ui a.tm-card-top { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ui-ink); }
.tm-card-name { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tm-card-top:hover .tm-card-name { text-decoration: underline; text-underline-offset: 3px; }
.tm-card-about { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ui-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.tm-card-meta { min-height: 36px; }
.ui .tm-card-meta .ui-avs { margin: 0; }
/* one strong button per screen is enough: joining from a card is the quieter kind */
.ui .ui-btn.tm-join { background: var(--ui-acc-soft); color: var(--ui-acc-ink); border: 1px solid var(--ui-fire); box-shadow: none; }
.ui .ui-btn.tm-join:hover { background: var(--ui-fire); color: #1A1008; }
.ui .tm-card-meta .ui-sub { margin: 0; font-size: 14px; font-weight: 650; color: var(--ui-ink); font-variant-numeric: tabular-nums; }
.tm-card-want { margin: -4px 0 0; font-size: 13.5px; font-weight: 650; color: var(--ui-acc-ink); }

/* the usual teams, for a camp that has none yet */
.ui .tm-start { padding: 24px; }
.ui .tm-start .ui-sub { font-size: 15px; color: var(--ui-dim); margin: 8px 0 16px; max-width: 40em; }
.tm-usual { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--ui-line-strong); }
.tm-usual li { display: flex; gap: 14px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--ui-line); }
.tm-usual li:last-child { border-bottom: 0; }

/* the picture of a team: a row of icons to choose from */
.ui .tm-picks { border: 0; padding: 0; margin: 0; min-width: 0; }
.tm-picks legend { font-size: 13px; color: var(--ui-dim); font-weight: 500; padding: 0; margin-bottom: 8px; }
.tm-pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-pick { cursor: pointer; display: block; }
.tm-pick .ui-icon { outline: 2px solid transparent; outline-offset: 2px; }
.tm-pick input:checked + .ui-icon { outline-color: var(--ui-fire); }
.tm-pick input:focus-visible + .ui-icon { outline-color: var(--ui-ink); }

/* one team: its picture in the title, three cards, then people and shifts */
.tm-head .ui-title { display: flex; align-items: center; gap: 18px; }
.ui .tm-head .ui-title .ui-icon.tm-ic { width: 64px; height: 64px; }
.ui .tm-head .ui-title .ui-icon.tm-ic svg { width: 32px; height: 32px; }
.ui .tm-head .ui-title > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.ui .ui-metrics.tm-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ui .tm-metric { display: flex; flex-direction: column; gap: 8px; min-height: 158px; }
.ui .tm-metric .ui-avs { margin-top: 2px; }
.ui .tm-metric > .ui-sub, .ui #tm-chat-card > .ui-sub { margin: auto 0 0; font-size: 13.5px; color: var(--ui-dim); }
.ui #tm-chat-card .tm-chat-ic { margin-top: 2px; }
.tm-chat-name { margin: 4px 0 0; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ui .tm-lead-tag { margin-top: 8px; }
.ui a#tm-chat-card.off { cursor: default; }
.ui a#tm-chat-card.off:hover { border-color: var(--ui-line-strong); }
.ui .tm-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ui .tm-acts .ui-btn svg { width: 17px; height: 17px; }
.ui #tm-edit-box .ui-sub { margin-top: 16px; font-size: 14px; color: var(--ui-dim); }
.ui .tm-add-person { margin-top: -1px; display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ui .tm-add-person .ui-field { flex: 1 1 220px; }
@media (max-width: 1240px) { .ui .ui-metrics.tm-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  /* the phone: people over the whole width, shifts and chat side by side */
  .ui .ui-metrics.tm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui .tm-metrics > :nth-child(1) { grid-column: 1 / -1; }
  .ui .tm-metrics > :nth-child(2), .ui .tm-metrics > :nth-child(3) { grid-column: auto; min-height: 0; }
  .ui .tm-metrics .ui-metric-ring { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ui .tm-metrics .ui-ring svg { width: 56px; height: 56px; }
  .tm-chat-name { font-size: 20px; }
  .ui .tm-metric { min-height: 0; }
  /* the teams that could use you: a strip to swipe through, so your own teams stay close */
  .tm-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline-end: -16px; padding-inline-end: 16px; }
  .tm-cards::-webkit-scrollbar { display: none; }
  .ui .tm-cards > .tm-card { flex: 0 0 82%; scroll-snap-align: start; }
  .ui .tm-head .ui-title { gap: 14px; }
  .ui .tm-head .ui-title .ui-icon.tm-ic { width: 48px; height: 48px; }
  .ui .tm-head .ui-title .ui-icon.tm-ic svg { width: 24px; height: 24px; }
  .ui .tm-start { padding: 18px 16px; }
  .tm-usual li { padding: 12px 14px; }
}

/* ======================================================================================================================
   The shell in the set-up of the geertjan app (26 Nov 2026, user: "de sidebar menu net zo modern als de geertjan app,
   ook diezelfde opzet"): a wide sidebar that folds to a rail, rows with a square icon tile and a line under the name,
   the chosen row with a filled tile with a cut corner, the camp on top, the account at the bottom. On the phone a rail
   that opens as a drawer. The sidebar stands still while pages change (view transition), so a page opens in the app.
   ====================================================================================================================== */
:root { --sb: 288px; --sb-in: 84px; --sb-e: cubic-bezier(.2, .7, .2, 1); --sb-cut: polygon(0 0, 100% 0, 100% 62%, 78% 100%, 0 100%); }
body.ui { --sb-w: var(--sb); --sb-tile: rgba(17, 17, 20, .05); --sb-bar: #111114; }
body.ui.night { --sb-tile: rgba(255, 255, 255, .06); --sb-bar: #12061F; }
.ui-wrap { display: block; min-height: 100vh; min-height: 100svh; }
/* on a home screen the page runs under the clock of the phone: a dark band keeps the clock readable in both themes */
.ui-wrap::before { content: ""; position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--sb-bar); }
.ui-side { position: fixed; z-index: 45; top: 0; bottom: 0; inset-inline-start: 0; width: var(--sb-w); display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: calc(18px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom)); background: var(--ui-side); border-inline-end: 1px solid var(--ui-line-strong);
  view-transition-name: bm-side; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ui .ui-main { margin-inline-start: var(--sb-w); padding-top: calc(44px + env(safe-area-inset-top)); }
body.sb-ready .ui-side { transition: width .4s var(--sb-e), box-shadow .4s; }
body.sb-ready .ui-main { transition: margin-inline-start .4s var(--sb-e); }
.sb-veil { display: none; }

/* on top: the mark and the name, and the button that folds the menu */
.sb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 6px 18px; }
.ui .ui-brand { display: flex; align-items: center; gap: 11px; min-width: 0; color: var(--ui-ink); text-decoration: none; font-size: inherit; grid-column: auto; }
.ui .ui-brand .mark { width: 34px; height: 37px; flex: none; }   /* the b with the longer stem: taller than wide */
/* wide: the whole logo and a small "app" after it; folded to a rail: the mark alone */
.ui .ui-brand .logo { display: block; height: 29px; width: auto; flex: none; }
.ui .ui-brand .mark { display: none; }
.sb-app { align-self: flex-end; margin: 0 0 4px -3px; font-size: 12px; font-weight: 500; color: var(--ui-faint); }
.ui .ui-brand { --bm-acc: var(--ui-fire); }
.ui-fold { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: var(--sb-tile); color: var(--ui-dim); cursor: pointer; transition: color .2s; }
.ui-fold:hover { color: var(--ui-ink); }
.ui-fold svg { width: 16px; height: 16px; transition: transform .4s var(--sb-e); }
[dir="rtl"] .ui-fold svg { transform: rotate(180deg); }

/* a row: a tile, a name with a line under it, a number. The name and the line are separate pieces in a grid */
.ui-nav { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-content: center; align-items: center;
  height: 52px; padding: 0 10px; color: var(--ui-dim); text-decoration: none; transition: background .2s, color .2s; }
.ui a.ui-nav { color: var(--ui-dim); }
.ui button.ui-nav { width: 100%; border: 0; background: none; font: inherit; text-align: start; color: var(--ui-dim); cursor: pointer; }
.ui a.ui-nav:hover, .ui button.ui-nav:hover { background: var(--ui-hover); color: var(--ui-ink); }
.ui a.ui-nav.on { background: var(--ui-acc-soft); color: var(--ui-ink); }
.ui-nav.on::before { content: ""; position: absolute; inset-inline-start: 0; top: 15px; width: 3px; height: 22px; background: var(--ui-fire); }
.ui-nav:focus-visible, .sb-lab:focus-visible, .ui-fold:focus-visible, .sb-out:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: -2px; }
.sb-ico, .sb-chip, .sb-av { grid-column: 1; grid-row: 1 / span 2; }
.sb-ico { position: relative; width: 36px; height: 36px; display: grid; place-items: center; background: var(--sb-tile); transition: background .2s, transform .1s; }
.sb-ico svg { width: 20px; height: 20px; }
.ui-nav.on .sb-ico { background: var(--ui-fire); color: #1A1008; clip-path: var(--sb-cut); }
.sb-b { grid-column: 2; grid-row: 1; align-self: end; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-s { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; margin-top: 2px; font-size: 11.5px; line-height: 1.15; color: var(--ui-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-nav.one .sb-b { grid-row: 1 / span 2; align-self: center; }
.ui-n { grid-column: 3; grid-row: 1 / span 2; min-width: 22px; height: 22px; padding: 0 7px; background: var(--ui-fire); color: #1A1008; font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.ui-theme-ic { display: grid; }
body.ui.night .ui-theme .ic-moon, body.ui:not(.night) .ui-theme .ic-sun { display: none; }

/* the camp you are in; with more than one camp the whole block is a chooser */
.sb-pick { margin: 0 0 14px; color: var(--ui-ink); background: var(--sb-tile); box-shadow: inset 0 0 0 1px var(--ui-line-strong); }
.sb-chip { width: 36px; height: 36px; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: -0.02em; color: #1A1008; background: var(--ui-fire); clip-path: var(--sb-cut); }
.sb-pick .sb-s { grid-row: 1; align-self: end; margin: 0 0 2px; }
.sb-pick .sb-b { grid-row: 2; align-self: start; }
.sb-pick-arrow { grid-column: 3; grid-row: 1 / span 2; display: grid; color: var(--ui-faint); }
.sb-pick-arrow[hidden] { display: none; }
.sb-pick-arrow svg { width: 15px; height: 15px; }
.sb-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.sb-pick:has(select:not([hidden])):hover { background: var(--ui-hover); }

/* the menu: groups of rows */
.sb-nav { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; }
.sb-nav::-webkit-scrollbar { display: none; }
.sb-g { display: grid; gap: 2px; flex: none; }
.sb-lab { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 14px 8px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 650; color: var(--ui-dim); text-align: start; white-space: nowrap; cursor: pointer; transition: color .2s; }
.sb-lab:hover { color: var(--ui-ink); }
.sb-lab svg { margin-inline-start: auto; width: 12px; height: 12px; transform: rotate(90deg); transition: transform .3s var(--sb-e); }
.sb-g.shut .sb-lab svg { transform: none; }
[dir="rtl"] .sb-g.shut .sb-lab svg { transform: rotate(180deg); }
.sb-dot { width: 7px; height: 7px; background: var(--ui-fire); flex: none; }
.sb-g:not(.shut) .sb-dot { display: none; }
.sb-g.shut { gap: 0; }
.sb-g.shut .sb-lab { padding-bottom: 2px; }
.sb-g.shut > .ui-nav { display: none; }
.ui .sb-gi { display: none; }
/* the last rows of the menu (light or night, your profile or an invitation) sit at the bottom when there is room */
.sb-end { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ui-line-strong); }
.ui .sb-end > .ui-nav[hidden] { display: none; }
/* where the menu runs on under the edge it fades out instead of being cut */
.sb-nav[data-fade="end"] { -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent); mask-image: linear-gradient(#000 calc(100% - 30px), transparent); }
.sb-nav[data-fade="top"] { -webkit-mask-image: linear-gradient(transparent, #000 30px); mask-image: linear-gradient(transparent, #000 30px); }
.sb-nav[data-fade="both"] { -webkit-mask-image: linear-gradient(transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(transparent, #000 30px, #000 calc(100% - 30px), transparent); }

/* at the bottom: your account, and the family this app comes from */
.sb-foot { display: grid; margin-top: 12px; }
.sb-acct { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--ui-line-strong); }
.ui a.sb-me { flex: 1; min-width: 0; grid-template-columns: 38px minmax(0, 1fr); column-gap: 10px; padding: 0 6px; color: var(--ui-ink); }
.ui a.sb-me.on { background: var(--ui-hover); }
.ui a.sb-me.on::before { display: none; }
.sb-av { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ui-fire); color: #1A1008; font-size: 13px; font-weight: 800; letter-spacing: -0.02em; clip-path: var(--sb-cut); }
.sb-me .sb-s:empty { display: none; }
.sb-me:has(.sb-s:empty) .sb-b { grid-row: 1 / span 2; align-self: center; }
.sb-out { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--ui-faint); cursor: pointer; transition: background .2s, color .2s; }
.sb-out:hover { color: var(--ui-warn); background: var(--ui-warn-bg); }
.sb-out svg { width: 18px; height: 18px; }
.ui a.sb-fam { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 6px 0; border-top: 1px solid var(--ui-line-strong); font-size: 12px; color: var(--ui-faint); text-decoration: none; white-space: nowrap; }
.ui a.sb-fam:hover { color: var(--ui-dim); }
.sb-fam svg { width: 12px; height: 12px; flex: none; fill: currentColor; }

/* the laptop, folded: a rail of tiles; a group you are not in is one tile */
@media (min-width: 900px) {
  body.ui.narrow { --sb-w: var(--sb-in); }
  body.narrow .ui-side { padding-inline: 12px; }
  body.narrow .sb-top { flex-direction: column; align-items: center; gap: 12px; padding: 2px 0 16px; }
  body.narrow .ui-brand .logo, body.narrow .sb-app, body.narrow .sb-b, body.narrow .sb-s, body.narrow .sb-lab, body.narrow .sb-pick-arrow, body.narrow .sb-fam span { display: none; }
  body.narrow.ui .ui-brand .mark { display: block; }
  body.narrow .ui-fold svg { transform: rotate(180deg); }
  [dir="rtl"] body.narrow .ui-fold svg { transform: none; }
  body.narrow .ui-nav { grid-template-columns: 36px; justify-content: center; padding: 0; height: 46px; }
  body.narrow .ui-nav.on::before { top: 12px; }
  body.narrow .ui a.sb-me { grid-template-columns: 38px; flex: none; }
  body.narrow .sb-nav { gap: 10px; }
  body.narrow .sb-g:not(.sb-g0) { padding-top: 10px; border-top: 1px solid var(--ui-line-strong); }
  body.narrow .sb-g:not(.has-on):not(.sb-g0) > .ui-nav { display: none; }
  body.narrow .sb-g:not(.has-on):not(.sb-g0) > .sb-gi, body.narrow .sb-g.has-on > .ui-nav:not(.sb-gi) { display: grid; }
  body.narrow .ui-n { position: absolute; top: 5px; inset-inline-end: calc(50% - 22px); min-width: 0; width: 9px; height: 9px; padding: 0; font-size: 0; line-height: 0; box-shadow: 0 0 0 2px var(--ui-side); }
  body.narrow .sb-acct { flex-direction: column; }
  body.narrow .ui a.sb-fam { justify-content: center; padding-inline: 0; }
}

/* the phone: the rail is always there, the menu opens over the page as a drawer */
@media (max-width: 899px) {
  body.ui, body.ui.narrow { --sb-w: 64px; }
  .ui-side { padding: calc(12px + env(safe-area-inset-top)) 10px calc(12px + env(safe-area-inset-bottom)); }
  .ui-side.open { width: min(300px, 86vw); padding-inline: 14px; box-shadow: 30px 0 80px rgba(0, 0, 0, .55); }
  .ui-side.open + .sb-veil { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(0, 0, 0, .5); }
  .ui .ui-main { padding: calc(22px + env(safe-area-inset-top)) 16px 40px; }
  .ui .ui-side:not(.open) .ui-brand .mark { display: block; width: 38px; height: 41px; }
  .ui-side:not(.open) .sb-top { flex-direction: column; align-items: center; gap: 10px; padding: 0 0 12px; }
  .ui .ui-side:not(.open) .ui-brand .logo, .ui-side:not(.open) .sb-app, .ui-side:not(.open) .sb-b, .ui-side:not(.open) .sb-s, .ui-side:not(.open) .sb-lab, .ui-side:not(.open) .sb-pick-arrow, .ui-side:not(.open) .sb-fam span { display: none; }
  .ui-side:not(.open) .ui-fold svg { transform: rotate(180deg); }
  [dir="rtl"] .ui-side:not(.open) .ui-fold svg { transform: none; }
  .ui-side:not(.open) .ui-nav { grid-template-columns: 36px; justify-content: center; padding: 0; height: 48px; }
  .ui-side:not(.open) .ui-nav.on::before { top: 13px; }
  .ui .ui-side:not(.open) a.sb-me { grid-template-columns: 38px; flex: none; }
  .ui-side:not(.open) .sb-pick { margin-bottom: 8px; box-shadow: none; background: none; }
  .ui-side:not(.open) .sb-nav { gap: 8px; }
  .ui-side:not(.open) .sb-g:not(.sb-g0) { padding-top: 8px; border-top: 1px solid var(--ui-line-strong); }
  .ui-side:not(.open) .sb-g:not(.has-on):not(.sb-g0) > .ui-nav { display: none; }
  .ui-side:not(.open) .sb-g:not(.has-on):not(.sb-g0) > .sb-gi, .ui-side:not(.open) .sb-g.has-on > .ui-nav:not(.sb-gi) { display: grid; }
  .ui-side:not(.open) .ui-n { position: absolute; top: 3px; inset-inline-end: calc(50% - 22px); min-width: 0; width: 9px; height: 9px; padding: 0; font-size: 0; line-height: 0; box-shadow: 0 0 0 2px var(--ui-side); }
  .ui-side:not(.open) .sb-foot { margin-top: 8px; }
  .ui-side:not(.open) .sb-end { padding-top: 8px; }
  .ui-side:not(.open) .sb-acct { flex-direction: column; gap: 2px; padding-top: 8px; }
  .ui-side:not(.open) .sb-out { display: none; }
  .ui .ui-side:not(.open) a.sb-fam { justify-content: center; padding-inline: 0; margin-top: 6px; padding-top: 8px; }
}
@media (hover: none) { .ui-nav:active .sb-ico { transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) { body.sb-ready .ui-side, body.sb-ready .ui-main, .ui-fold svg, .sb-lab svg { transition: none; } }
@media print { .ui-side, .sb-veil { display: none !important; } .ui-wrap::before { display: none; } .ui .ui-main { margin: 0; } }

/* a page opens in the app: the menu stays where it is, only the page changes */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) { @view-transition { navigation: auto; } }
::view-transition-old(root) { animation: .12s ease-out both sb-out; }
::view-transition-new(root) { animation: .22s ease-out both sb-in; }
@keyframes sb-out { to { opacity: 0; } }
@keyframes sb-in { from { opacity: 0; } }

/* ======================================================================================================================
   Loading, controls and messages (26 Nov 2026, user: "in bijvoorbeeld horoscoop app website laden de vlakken eerst, zodat
   er al iets staat voordat er iets laadt, en zo zijn er meer van dat soort ui/ux upgrades, ook voor radiobuttons en
   tekstvlakken, volgens de laatste design trends"). Hard corners stay; no glass, no pills, no coloured side stripes.
   ====================================================================================================================== */
body.ui { --ui-sk: #E9E9EE; --ui-sk-hi: #F8F8FA; --ui-toast-err: #B33A28; --ui-toast-err-ink: #FFFFFF; --ui-danger: #B33A28; --ui-danger-ink: #FFFFFF; }
body.ui.night { --ui-sk: rgba(255, 255, 255, .06); --ui-sk-hi: rgba(255, 255, 255, .13); --ui-toast-err: #E8796B; --ui-toast-err-ink: #1A0806; --ui-danger: #E8796B; --ui-danger-ink: #1A0806; }

/* ---------- the page before its data is there: the frames first ---------- */
.ui-skel { display: grid; gap: 20px; }
.ui-skel[hidden] { display: none; }
.sk { display: block; max-width: 100%; background: linear-gradient(100deg, var(--ui-sk) 35%, var(--ui-sk-hi) 50%, var(--ui-sk) 65%) 0 0 / 220% 100%; animation: sk-sweep 1.5s linear infinite; }
@keyframes sk-sweep { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.sk-tile { flex: none; width: 40px; height: 40px; }
.sk-tile.big { width: 52px; height: 52px; }
.sk-card > * + * { border-top: 1px solid var(--ui-line); }
.sk-head { padding: 22px 22px 16px; }
.sk-row { display: flex; align-items: center; gap: 14px; padding: 15px 22px; }
.sk-row > span { flex: 1; display: grid; gap: 8px; min-width: 0; }
.sk-row.sk-bare { padding: 0; }
.ui .sk-metric { display: grid; gap: 12px; align-content: start; min-height: 158px; }
.sk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ui .sk-form { display: grid; gap: 18px; }
.sk-form .ui-fields > span { display: grid; gap: 8px; }
.sk-tabs { display: flex; gap: 22px; padding: 14px 16px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); overflow: hidden; }
.sk-text { display: grid; gap: 8px; padding: 2px 22px 16px; border-top: 0 !important; }
.sk-photo { width: 100%; height: 260px; }
.sk-month { width: 100%; height: 280px; margin-top: 16px; }
.ui-skel .ui-cols2 > aside { display: grid; }
.ui-skel .tm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; overflow: hidden; }
/* when the data does not come: the bars stand still, the reason and a way out on top */
.ui-skel.is-stuck .sk { animation: none; opacity: .55; }
.ui-stuck { display: grid; gap: 14px; justify-items: start; padding: 22px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); }
.ui-stuck p { margin: 0; font-size: 17px; font-weight: 650; }
@media (max-width: 899px) {
  .sk-head { padding: 18px 16px 12px; }
  .sk-row { padding: 13px 16px; }
  .sk-text { padding-inline: 16px; }
  .ui-skel .ui-metrics .sk-metric { min-height: 110px; }
  .ui-skel .tm-cards { display: flex; }
  .ui-skel .tm-cards > * { flex: 0 0 82%; }
  .sk-photo { height: 200px; }
}
/* the real page comes in piece by piece, like on the horoscoop.app website; the fill is backwards only, so nothing in the
   page keeps a stacking context of its own afterwards */
@media (prefers-reduced-motion: no-preference) {
  #app-body.ui-in > * { animation: ui-in .46s cubic-bezier(.2, .8, .2, 1) backwards; }
  #app-body.ui-in > :nth-child(2) { animation-delay: .05s; }
  #app-body.ui-in > :nth-child(3) { animation-delay: .1s; }
  #app-body.ui-in > :nth-child(4) { animation-delay: .15s; }
  #app-body.ui-in > :nth-child(5) { animation-delay: .2s; }
  #app-body.ui-in > :nth-child(n+6) { animation-delay: .25s; }
}
@keyframes ui-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
/* the sidebar before it knows who you are (only the very first time; after that the device remembers) */
.sb-chip:empty, .sb-av:empty { background: var(--ui-sk); clip-path: none; }
.sb-pick .sb-b:empty::before { content: ""; display: block; width: 120px; max-width: 100%; height: 14px; background: var(--ui-sk); }
/* a photo that is still on its way shows its place */
.ui-post-img, .ui-moment .pic img, .ui .ui-icon.ui-thumb { background-color: var(--ui-sk); }

/* ---------- fields ---------- */
.ui .ui-field { gap: 7px; }
.ui .ui-field > span, .ui .ui-field > legend { font-size: 13.5px; font-weight: 600; color: var(--ui-dim); transition: color .15s; }
.ui .ui-field:focus-within > span { color: var(--ui-ink); }
.ui .ui-field input, .ui .ui-field select, .ui .ui-field textarea {
  min-height: 50px; padding: 13px 14px; border: 1px solid var(--ui-field-edge); background: var(--ui-field); font-size: 16px; color: var(--ui-ink);
  transition: border-color .15s, box-shadow .15s, background .15s; }
.ui .ui-field input:hover, .ui .ui-field select:hover, .ui .ui-field textarea:hover { border-color: var(--ui-faint); }
.ui .ui-field input:focus, .ui .ui-field select:focus, .ui .ui-field textarea:focus { outline: none; border-color: var(--ui-fire); box-shadow: inset 0 0 0 1px var(--ui-fire); }
.ui .ui-field input:user-invalid, .ui .ui-field select:user-invalid, .ui .ui-field textarea:user-invalid { border-color: var(--ui-danger); box-shadow: inset 0 0 0 1px var(--ui-danger); }
.ui .ui-field :disabled { opacity: .55; cursor: default; }
.ui .ui-field ::placeholder { color: var(--ui-faint); opacity: 1; }
/* a text box grows with what you write */
.ui .ui-field textarea, .ui .ui-compose textarea { field-sizing: content; min-height: 96px; max-height: 55vh; line-height: 1.5; resize: vertical; }
.ui .ui-compose textarea { min-height: 52px; }
/* dates and times: the same box as the rest, also on the iPhone (which centres them and gives them a width of their own) */
.ui .ui-field input[type="date"], .ui .ui-field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; text-align: start; }
.ui .ui-field input::-webkit-date-and-time-value { text-align: start; }
.ui .ui-field input[type="number"] { -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums; }
.ui .ui-field input[type="number"]::-webkit-inner-spin-button, .ui .ui-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* a number of people: one less, the number, one more */
.ui-step { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; }
.ui .ui-field .ui-step input { text-align: center; font-weight: 650; border-inline-width: 0; }
.ui .ui-field .ui-step input:focus { border-inline-width: 0; }
.ui-step-b { display: grid; place-items: center; min-height: 50px; border: 1px solid var(--ui-field-edge); background: var(--sb-tile); color: var(--ui-ink); cursor: pointer; transition: background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ui-step-b:hover { background: var(--ui-hover); border-color: var(--ui-faint); }
.ui-step-b:active { background: var(--ui-acc-soft); }
.ui-step-b:disabled { opacity: .4; cursor: default; }
.ui-step-b svg { width: 18px; height: 18px; }
.ui-step-b:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: -2px; }

/* ---------- on or off: a switch ---------- */
.ui .ui-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ui .ui-check input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 26px; margin: 0; border: 1px solid var(--ui-field-edge); cursor: pointer;
  --knob: var(--ui-dim); background: linear-gradient(var(--knob), var(--knob)) 3px 50% / 18px 18px no-repeat, var(--ui-track); transition: background-position .18s var(--sb-e), background-color .16s, border-color .16s; }
.ui .ui-check input[type="checkbox"]:checked { --knob: #1A1008; background-color: var(--ui-fire); background-position: 23px 50%; border-color: var(--ui-fire); }
[dir="rtl"] .ui .ui-check input[type="checkbox"] { background-position: 23px 50%; }
[dir="rtl"] .ui .ui-check input[type="checkbox"]:checked { background-position: 3px 50%; }
.ui .ui-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui .ui-check:hover input[type="checkbox"]:not(:checked) { border-color: var(--ui-faint); }

/* ---------- one of a few: tiles to choose from, each with a line that says what it means ---------- */
.ui .ui-choice { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ui .ui-choice > legend { padding: 0; margin-bottom: 7px; }
.ui-opt { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--ui-field-edge); background: var(--ui-field);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.ui-opt:hover { border-color: var(--ui-faint); }
.ui .ui-field .ui-opt input { -webkit-appearance: none; appearance: none; grid-row: 1 / span 2; display: grid; place-content: center; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0;
  border: 2px solid var(--ui-faint); background: none; box-shadow: none; cursor: pointer; }
.ui .ui-field .ui-opt input::before { content: ""; width: 10px; height: 10px; background: var(--ui-fire); transform: scale(0); transition: transform .14s var(--sb-e); }
.ui .ui-field .ui-opt input:checked { border-color: var(--ui-fire); }
.ui .ui-field .ui-opt input:checked::before { transform: scale(1); }
.ui .ui-field .ui-opt input:focus { box-shadow: none; }
.ui-opt:has(input:checked) { border-color: var(--ui-fire); background: var(--ui-acc-soft); box-shadow: inset 0 0 0 1px var(--ui-fire); }
.ui-opt:has(input:focus-visible) { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui-opt-b { grid-column: 2; font-size: 15.5px; font-weight: 650; }
.ui-opt-s { grid-column: 2; font-size: 13px; line-height: 1.35; color: var(--ui-dim); }
.ui-opt.one .ui-opt-b { grid-row: 1 / span 2; }
@media (min-width: 561px) { .ui-choice.row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .ui-choice.row > legend { grid-column: 1 / -1; } }
/* the picture of a team: the chosen one gets a corner mark */
.tm-pick input:checked + .ui-icon { outline: 2px solid var(--ui-fire); outline-offset: 2px; }

/* ---------- buttons ---------- */
.ui .ui-btn { position: relative; overflow: hidden; min-height: 48px; padding: 0 22px; font-size: 15.5px; font-weight: 650; transition: transform .08s, filter .15s, background .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ui .ui-btn.small { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.ui .ui-btn:hover { filter: brightness(1.08); }
.ui .ui-btn:active { transform: scale(.98); }
.ui .ui-btn:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui .ui-btn.danger { background: var(--ui-danger); color: var(--ui-danger-ink); }
/* on the laptop a form ends with a button of its own width, on the phone it fills the row */
@media (min-width: 900px) { .ui .ui-form > .ui-btn:not(.wide) { justify-self: start; min-width: 220px; } }
/* a button that is at work says so itself: a line runs along its bottom and it cannot be pressed twice */
.ui .ui-btn.is-busy { pointer-events: none; }
.ui .ui-btn.is-busy::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, currentColor, transparent) 0 0 / 45% 100% no-repeat; animation: btn-busy .9s linear infinite; }
@keyframes btn-busy { from { background-position: -80% 0; } to { background-position: 180% 0; } }
@media (prefers-reduced-motion: reduce) { .ui .ui-btn.is-busy::after { animation: none; background: currentColor; opacity: .5; } .ui .ui-btn:active { transform: none; } }

/* ---------- a message: at the bottom of the screen, where your thumb and your eyes already are ---------- */
.ui .ui-error { position: fixed; z-index: 90; inset-inline-start: calc(var(--sb-w) + 16px); inset-inline-end: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: fit-content; max-width: 520px; margin: 0 auto;
  padding: 14px 18px; background: var(--ui-toast-err); color: var(--ui-toast-err-ink); font-size: 15px; font-weight: 600; line-height: 1.4; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); cursor: pointer;
  animation: toast-in .28s cubic-bezier(.2, .8, .2, 1) backwards; }
.ui .ui-error[hidden] { display: none; }
body.ui[data-view="chat"] .ui-error { bottom: calc(96px + env(safe-area-inset-bottom)); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .ui .ui-error { animation: none; } }

/* ---------- are you sure: a sheet of the app itself, not a window of the browser ---------- */
dialog.ui-ask { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--ui-line-strong); background: var(--ui-card-solid); color: var(--ui-ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
dialog.ui-ask::backdrop { background: rgba(10, 4, 18, .55); }
.ui-ask-in { display: grid; gap: 20px; padding: 24px; }
.ui-ask-q { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.ui-ask-acts { display: flex; justify-content: flex-end; gap: 10px; }
dialog.ui-ask[open] { animation: ask-in .22s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px); } }
/* the phone: from the bottom, the buttons under your thumb, and no dark layer over the page (the iPhone takes the colour
   of such a layer for its own bars and keeps it) */
@media (max-width: 899px) {
  dialog.ui-ask { width: 100%; max-width: none; margin: auto 0 0; border-inline: 0; border-bottom: 0; box-shadow: 0 -24px 70px rgba(0, 0, 0, .6); }
  dialog.ui-ask::backdrop { background: transparent; }
  .ui-ask-in { padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); }
  .ui-ask-acts { flex-direction: column-reverse; }
  .ui-ask-acts .ui-btn { width: 100%; }
  dialog.ui-ask[open] { animation-name: ask-up; }
  .ui .ui-error { inset-inline-start: calc(var(--sb-w) + 10px); inset-inline-end: 10px; }
}
@keyframes ask-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { dialog.ui-ask[open] { animation: none; } }
html:has(dialog.ui-ask[open]) { overflow: hidden; }

/* ---------- the shell, set right after earlier lessons ---------- */
/* the strip behind the clock of an iPhone takes its colour from the background of the page itself (a band drawn over it
   is ignored), so the page is as dark as that strip and the light theme lies on top of it */
html:has(body.ui) { background: #12061F; }
html:has(body.ui:not(.night)) { background: #111114; }
/* a menu that runs on shows that it does: a thin bar, never a hidden one */
.sb-nav { scrollbar-width: thin; scrollbar-color: var(--ui-line-strong) transparent; }
.sb-nav::-webkit-scrollbar { display: block; width: 6px; }
.sb-nav::-webkit-scrollbar-thumb { background: var(--ui-line-strong); }
@media (max-width: 899px) {
  /* behind the open drawer nothing dark: a clear layer that only catches the tap; the drawer has its shadow */
  .ui-side.open + .sb-veil { background: transparent; }
  .ui-side.open { box-shadow: 30px 0 90px rgba(0, 0, 0, .7), 1px 0 0 var(--ui-line-strong); }
}

/* ---------- what the look round of every screen turned up (26 Nov 2026) ---------- */
/* the month fits the phone: seven days share the width instead of each taking 40 px */
.ui-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ui .ui-day { width: 100%; max-width: 40px; height: auto; aspect-ratio: 1; }
/* done or not, in a list (tasks, shopping, the agenda of a meeting): a box that fills with fire and a tick */
.ui input.ui-tick { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ui-faint); background: transparent center / 16px 16px no-repeat; cursor: pointer;
  transition: background-color .15s, border-color .15s; }
.ui input.ui-tick:hover { border-color: var(--ui-ink); }
.ui input.ui-tick:checked { border-color: var(--ui-fire); background-color: var(--ui-fire);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231A1008' stroke-width='2.4'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E"); }
.ui input.ui-tick:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
/* several people: a tile each, on or off */
.ui-many { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ui-many-b span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-many-b { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 14px 5px 6px; border: 1px solid var(--ui-field-edge); background: var(--ui-field); color: var(--ui-ink); font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ui-many-b:hover { border-color: var(--ui-faint); }
.ui-many-b[aria-pressed="true"] { border-color: var(--ui-fire); background: var(--ui-acc-soft); box-shadow: inset 0 0 0 1px var(--ui-fire); }
.ui-many-b:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.ui-many-b .ui-av { width: 30px; height: 30px; font-size: 11px; }
/* a laptop that is not tall: the rows of the menu follow the height of the screen, and the light switch shares a line
   with the row next to it. Measured on 1920x960, 1536x864, 1440x900, 1440x760 and 1280x700: the whole menu is in sight
   without scrolling; lower than that it scrolls, with a thin bar that shows it */
@media (min-width: 900px) {
  body:not(.narrow) .ui-nav { height: clamp(36px, 5.5vh, 52px); }
  body:not(.narrow) .ui-nav.on::before { top: calc(50% - 11px); }
}
@media (min-width: 900px) and (max-height: 920px) {
  body:not(.narrow) .sb-end { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 4px; padding-top: 10px; }
  body:not(.narrow) .sb-end .ui-theme .sb-b, body:not(.narrow) .sb-end .sb-s { display: none; }
  body:not(.narrow) .sb-end .sb-b { grid-row: 1 / span 2; align-self: center; }
}
/* the owner of burnmanager has one row more (Access). For him the end of the menu is always one line: the light switch and
   Access as tiles, then the row next to them. So his menu is as high as it is for everybody else, on every screen. */
@media (min-width: 900px) {
  body:not(.narrow) .sb-end:has(#ui-admin:not([hidden])) { display: grid; grid-template-columns: 56px 56px minmax(0, 1fr); column-gap: 4px; }
  body:not(.narrow) .sb-end:has(#ui-admin:not([hidden])) .ui-theme .sb-b, body:not(.narrow) .sb-end:has(#ui-admin:not([hidden])) .sb-s,
  body:not(.narrow) .sb-end #ui-admin .sb-b { display: none; }
  body:not(.narrow) .sb-end:has(#ui-admin:not([hidden])) .sb-b { grid-row: 1 / span 2; align-self: center; }
  body:not(.narrow) .sb-end #ui-admin { order: 1; }
  body:not(.narrow) .sb-end #ui-cta, body:not(.narrow) .sb-end #ui-cta-invite { order: 2; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .sb-top { padding-bottom: 12px; }
  .sb-nav { gap: 10px; }
  .sb-lab { padding-bottom: 5px; }
  .ui-side { padding-top: calc(14px + env(safe-area-inset-top)); }
  body:not(.narrow) .sb-ico { width: 34px; height: 34px; }
}
@media (min-width: 900px) and (max-height: 720px) {
  .sb-nav { gap: 6px; }
  body:not(.narrow) .sb-ico { width: 32px; height: 32px; }
}

/* ---------- Today, the second round (27 Nov 2026) ----------
   Two columns on a laptop: the camp on the left (what a new camp still has to set up, the four cards two by two, what
   waits for a lead, the days that come, shifts with room), what is yours on the right (for you, crew, the plan). On a
   phone it is one column and the two wrappers fall away, so what is yours can come first: the order is set here. */
.td { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.td-main, .td-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.td .ui-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.td .ui-card { margin: 0; }
.td-foot { margin: 0; padding: 13px 22px 15px; font-size: 14.5px; border-top: 1px solid var(--ui-line); }
.td-foot a { color: var(--ui-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.td-foot .ui-link { font-size: 14.5px; }
.td-bar { height: 6px; margin: 0 22px 8px; }
/* a step that still has to be done carries its number; what is done carries a tick and steps back */
.ui .ui-icon.td-n { background: none; border: 1px solid var(--ui-line-strong); color: var(--ui-ink); font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.ui .ui-icon.k-done { background: var(--ui-good-bg); color: var(--ui-good-ink); }
.ui .ui-list > li.is-done .ui-row { padding-block: 9px; }
.ui .ui-list > li.is-done .ui-row-title { font-weight: 550; color: var(--ui-dim); }
.ui .ui-list > li.is-done .ui-icon { width: 30px; height: 30px; margin-inline: 5px; }
.ui .ui-list > li.is-done .ui-icon svg { width: 16px; height: 16px; }
.td .ui-card-h:has(+ .ui-list[hidden]) { padding-bottom: 22px; }
/* a camp without a plan: the steps above ask for it already, so the card that asks the same stays away */
.td:has(#h-start:not([hidden])) #h-plan.is-none { display: none; }
/* a shift you can take right here */
.ui .ui-row.td-take { align-items: center; }
.ui .ui-row.td-take .ui-btn, .ui .ui-row.td-take .ui-tag { flex: none; }
/* the announcement a lead pinned: one line above everything, the whole line is the way to the post */
.td-note { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 14px 18px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); box-shadow: var(--ui-card-shadow); color: var(--ui-ink); text-decoration: none; }
.td-note:hover { background: var(--ui-band); }
.td-note > svg { width: 18px; height: 18px; color: var(--ui-dim); flex: none; }
.ui .td-note .ui-icon.k-note { background: var(--ui-fire); color: #1A1008; }
.td-note-main { flex: 1; min-width: 0; }
.td-note-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16.5px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.td-note-by { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ui-dim); }
/* right to left: the arrow of a line points the other way (on every page), and so does the megaphone */
[dir="rtl"] .td-note svg, [dir="rtl"] .ui-row-chev { transform: scaleX(-1); }

/* one column as soon as the left one would get too narrow (a small laptop with the menu open), and on a phone */
@media (max-width: 1279px) {
  .td { display: flex; flex-direction: column; align-items: stretch; }
  .td-main, .td-side { display: contents; }
  #h-start { order: 1; } #h-me { order: 2; } #h-metrics { order: 3; } #h-wait { order: 4; } #h-agenda { order: 5; }
  #h-open { order: 6; } #h-crew { order: 7; } #h-plan { order: 8; }
}
@media (max-width: 899px) {
  .td { gap: 14px; }
  .td-foot { padding-inline: 16px; }
  .td-bar { margin-inline: 16px; }
  .td-note { margin-bottom: 16px; padding: 12px 14px; gap: 12px; }
  .td-note-text { font-size: 15.5px; }
  /* a line of Today stays one line: the time sits next to the title, not under it (the arrow makes room for it) */
  .td .ui-list > li > a.ui-row { flex-wrap: nowrap; }
  .td .ui-list > li > a.ui-row .ui-row-main { flex: 1 1 0; }
  .td .ui-list > li > a.ui-row .ui-row-chev { display: none; }
  .td .ui-pill-dark { height: 32px; padding: 0 10px; font-size: 13.5px; }
  /* and the button of a shift you can take stays next to it as long as the title keeps room to be read */
  .td .ui-row.td-take { flex-wrap: wrap; }
  .td .ui-row.td-take .ui-row-main { flex: 1 1 110px; }
  .td .ui-row.td-take .ui-btn.small { min-height: 38px; padding: 0 12px; }
}
@media print { .td-note > svg, .td-foot, #h-start, #h-open .ui-btn { display: none !important; } .td { display: block; } .td .td-main > *, .td .td-side > * { margin-bottom: 14px; } }

/* ---------- The burner profile and the photo in the square (27 Nov 2026) ----------
   A photo covers the initials of a square, everywhere a person is drawn (camp-app.js, putFace). */
.ui-av, .sb-av { position: relative; overflow: hidden; }
.ui-av > img, .sb-av > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-av.has-face, .sb-av.has-face { color: transparent; }
/* Your profile: about you on top (the photo with its two buttons, the fields, where else people find you), then the camp */
#me-burner { margin-bottom: 20px; }
#me-profile { scroll-margin-top: 16px; }
.bp .ui-h2, .bp-camp-h { margin: 0 0 6px; }
.bp-sub { margin: 0 0 20px; font-size: 14.5px; color: var(--ui-dim); }
.bp-face { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; }
.bp-pic { flex: none; }
.bp-pic .ui-av { width: 96px; height: 96px; font-size: 30px; }
.bp-face-b { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.bp-face-b .ui-sub { margin: 0; }
.ui .ui-btn.bp-pick { cursor: pointer; }
.bp-pick:focus-within { outline: 2px solid var(--ui-fire); outline-offset: 2px; }
.bp-h3 { margin: 28px 0 14px; font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
/* in the list of people: the photo large, a few words, the links */
.bp-card { display: flex; align-items: flex-start; gap: 16px; margin: 8px 0 12px; }
.bp-card .ui-av { width: 84px; height: 84px; font-size: 26px; flex: none; }
.bp-card-t { min-width: 0; }
.bp-about { margin: 0 0 8px; white-space: pre-line; font-size: 15px; line-height: 1.5; color: var(--ui-ink); overflow-wrap: anywhere; }
.bp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.bp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ui-ink); text-decoration: underline; text-underline-offset: 3px; }
.bp-ic { display: inline-flex; }
.bp-ic svg { width: 17px; height: 17px; }
@media (max-width: 899px) {
  .bp-pic .ui-av { width: 84px; height: 84px; font-size: 26px; }
  .bp-card .ui-av { width: 68px; height: 68px; font-size: 22px; }
}
@media print { .bp-face-b, .bp-links { display: none; } }

/* ---------- Rideshare (27 Nov 2026): a ride is a row with its driver, who sits in it under it, and one button ---------- */
.rd-row { align-items: flex-start; }
.ui .ui-row.rd-row > .ui-btn, .ui .ui-row.rd-row > .ui-tag { flex: none; align-self: center; }
.rd-with { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.rd-who { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ui-ink); }
.ui .rd-who .ui-av { width: 28px; height: 28px; font-size: 11px; border-width: 1px; }
.rd-who .ui-link { font-size: 13.5px; }
.rd-row .ui-acts { margin-top: 10px; }
#rd-offer-box + #rd-want-box { margin-top: 14px; }
.rd-calc { margin: 18px 0 0; font-size: 14.5px; }
.rd-calc a { color: var(--ui-ink); font-weight: 600; text-underline-offset: 3px; }
@media print { .rd-row .ui-btn, .rd-row .ui-acts, .rd-who .ui-link { display: none !important; } }

/* ---------- The packing list (30 Nov 2026): your own list and the list of the camp, as two tabs ----------
   A thing is one row: a box to tick, the words, and on your own list a small cross that takes it off the list. The whole
   row is the tap target for the tick (a label), the cross is a target of its own next to it. */
.ui .ui-pills + .pl-pane > :first-child { margin-top: -1px; }
.pl-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-inline-start: 8px; padding: 0 6px; background: var(--ui-fire); color: #1A1008; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.pl-dot[hidden] { display: none; }
.pl-sum .ui-card-h { padding-bottom: 12px; }
.pl-sum .ui-gbar { margin-bottom: 20px; }
.pl-sum .ui-gbar[hidden] { display: none; }
.pl-sum:has(.ui-gbar[hidden]) .ui-card-h { padding-bottom: 20px; }
.pl-how { margin: 18px 2px 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--ui-fire); font-size: 14.5px; line-height: 1.5; color: var(--ui-dim); max-width: 680px; }
.pl-how a, .pl-src a { color: var(--ui-ink); font-weight: 600; text-underline-offset: 3px; }
.ui .ui-sec-head > div { min-width: 0; }
.ui .ui-sec-head > div > .ui-sub { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ui-dim); }
.ui .ui-sec-head > .ui-more { flex: none; font-variant-numeric: tabular-nums; }
.pl-row { display: flex; align-items: stretch; min-width: 0; }
.pl-l { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 14px; padding: 14px 22px; }
label.pl-l { cursor: pointer; }
.pl-row:has(.pl-x) .pl-l, .pl-row.is-out .pl-l { padding-inline-end: 6px; }
label.pl-l:hover { background: var(--ui-hover); }
.pl-l .ui-tick, .pl-box { margin-top: 1px; }
.pl-box { flex: none; width: 24px; height: 24px; border: 2px dashed var(--ui-line-strong); }
.pl-t { min-width: 0; font-size: 16.5px; line-height: 1.4; color: var(--ui-ink); overflow-wrap: anywhere; }
.pl-t small { display: block; margin-top: 3px; font-size: 14px; color: var(--ui-dim); }
.pl-t small.pl-qty, .ui-row-title small.pl-qty { display: inline; margin: 0; margin-inline-start: 8px; font-size: 14px; font-weight: 600; color: var(--ui-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-row.is-done .pl-t { color: var(--ui-faint); text-decoration: line-through; text-decoration-color: var(--ui-line-strong); }
.pl-row.is-done .pl-t small { text-decoration: none; display: block; }
.pl-row.is-done .pl-t small.pl-qty { display: inline; }
.pl-row.is-camp .pl-t, .pl-row.is-out .pl-t { color: var(--ui-dim); }
.pl-row.is-camp .pl-t small { color: var(--ui-acc-ink); font-weight: 600; }
.pl-x { flex: none; width: 52px; display: grid; place-items: center; border: 0; background: none; color: var(--ui-faint); cursor: pointer; }
.pl-x svg { width: 15px; height: 15px; }
.pl-x:hover { color: var(--ui-ink); background: var(--ui-hover); }
.pl-x:focus-visible, .pl-back:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: -2px; }
.ui .pl-row > .pl-back { flex: none; align-self: center; margin-inline: 8px 22px; font-size: 14.5px; white-space: nowrap; }
.pl-add { display: flex; gap: 8px; padding: 14px 22px 18px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); }
.ui-list:not([hidden]) + .pl-add { border-top: 0; }
.pl-add input { flex: 1; min-width: 0; min-height: 50px; padding: 13px 14px; border: 1px solid var(--ui-field-edge); background: var(--ui-field); font: inherit; font-size: 16px; color: var(--ui-ink); }
.pl-add input::placeholder { color: var(--ui-faint); }
.pl-add input:focus { outline: none; border-color: var(--ui-fire); box-shadow: inset 0 0 0 1px var(--ui-fire); }
.ui .pl-add .ui-btn { flex: none; }
/* the two folded lists under your own list: what you left off, and what not to bring */
.ui .pl-fold { margin-top: 22px; }
.ui .pl-fold + .pl-fold { margin-top: 14px; }
.pl-fold > summary svg { transition: transform .15s; }
.pl-fold[open] > summary svg { transform: rotate(90deg); }
[dir="rtl"] .pl-fold:not([open]) > summary svg { transform: scaleX(-1); }
.pl-count { margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--ui-dim); font-variant-numeric: tabular-nums; }
.pl-fold .pl-list { margin: 0 -22px -22px; border-top: 1px solid var(--ui-line-strong); }
.pl-leave + .pl-leave { margin-top: 20px; }
.pl-leave h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; }
.pl-leave p { margin: 0 0 8px; font-size: 14.5px; color: var(--ui-dim); }
.pl-leave ul { margin: 0; padding-inline-start: 20px; font-size: 15.5px; line-height: 1.55; }
.pl-src { margin: 14px 0 0; font-size: 14.5px; }
.ui-x #pl-clear[hidden] { display: none; }
/* the camp list: who brings a thing in the square, one button or one box on the right */
.pl-crow { align-items: flex-start; }
.ui .ui-list > .pl-crow { border-bottom: 1px solid var(--ui-line); }
.ui .ui-list > .pl-crow:last-child { border-bottom: 0; }
.ui .ui-row.pl-crow > .ui-btn, .ui .ui-row.pl-crow > .ui-tag, .ui .ui-row.pl-crow > .ui-tick { flex: none; align-self: center; }
.ui .ui-av.pl-none { background: none; border: 2px dashed var(--ui-line-strong); }
.pl-crow.is-done .ui-row-title { color: var(--ui-dim); }
.pl-crow .ui-acts { margin-top: 10px; }
#pc-add-box + #pc-std-box, #pc-std-box + .pl-dest { margin-top: 14px; }
.pl-std-how { margin: 0 0 14px; font-size: 14.5px; color: var(--ui-dim); }
#pc-std-box .pl-list { margin: 0 -22px -22px; border-top: 1px solid var(--ui-line-strong); }
.pl-dest .ui-sub { margin: 12px 0 0; font-size: 14.5px; color: var(--ui-dim); }
@media (max-width: 899px) {
  .pl-l { padding-inline: 16px; }
  .pl-add { padding-inline: 16px; }
  .pl-x { width: 48px; }
  .ui .pl-row > .pl-back { margin-inline-end: 16px; }
  .pl-fold .pl-list, #pc-std-box .pl-list { margin-inline: -16px; margin-bottom: -18px; }
}
@media print {
  .pl-x, .pl-add, .pl-how, .pl-src, .pl-back, .pl-crow .ui-btn, .pl-crow .ui-acts, #pc-lead { display: none !important; }
  .pl-l { padding: 5px 0; }
  .pl-t { font-size: 11pt; color: #000; }
  .pl-row.is-done .pl-t, .pl-row.is-camp .pl-t { color: #000; }
  .pl-row { break-inside: avoid; }
}

/* ---------- Workshops & program (29 Nov 2026): the program of the camp as a timetable (program.js). The places are the
   columns, the hours run down in one line through the burn, hours without anything fold to a thin band. Calm like the
   rest of the app: lines and one tone for the blocks; the colour is only for now and for what is in your own program. ---------- */
body.ui.ui[data-view="events"] #app-body { max-width: 1120px; }
.pg { --pg-axis: 46px; --pg-col: 108px; --pg-block: var(--ui-card-solid); --pg-edge: var(--ui-field-edge); --pg-lift: 0 10px 30px rgba(17, 17, 20, .14); position: relative; margin-top: 4px; }
body.ui.night .pg { --pg-block: var(--ui-raised); --pg-edge: var(--ui-edge); --pg-lift: 0 12px 34px rgba(0, 0, 0, .45); }
.pg [hidden], .pg-sheet [hidden] { display: none !important; }

/* the days and the names of the places stay in sight while the hours scroll by */
.pg-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 8px; background: var(--ui-bg); }
.pg-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px; }
.pg-days::-webkit-scrollbar { display: none; }
.pg-daybtn { flex: none; min-width: 58px; display: grid; justify-items: center; gap: 2px; padding: 8px 10px 7px; border: 1px solid var(--ui-line-strong); background: none;
  color: var(--ui-ink); font: inherit; font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; cursor: pointer; }
.pg-daybtn b { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ui-dim); }
.pg-daybtn:hover { border-color: var(--ui-dim); }
.pg-daybtn[aria-current="true"] { background: var(--ui-ink); border-color: var(--ui-ink); color: var(--ui-bg); }
.pg-daybtn[aria-current="true"] b { color: inherit; opacity: .72; }
.pg-heads { display: flex; border-block: 1px solid var(--ui-line-strong); }
.pg-corner, .pg-axis { flex: none; width: var(--pg-axis); border-inline-end: 1px solid var(--ui-line-strong); }
.pg-heads-win { flex: 1; min-width: 0; overflow: hidden; }
.pg-heads-in, .pg-cols { display: flex; min-width: calc(var(--pg-n, 1) * var(--pg-col)); }
.pg-head, .pg-col { flex: 1 0 var(--pg-col); min-width: 0; border-inline-end: 1px solid var(--ui-line); }
.pg-head { padding: 11px 8px 10px; text-align: center; }
.pg-head b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-head-none b { font-weight: 600; color: var(--ui-dim); }

/* the grid: it scrolls sideways when there are more places than fit, the hours stay where they are */
.pg-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; border-bottom: 1px solid var(--ui-line-strong); }
.pg-grid { position: relative; display: flex; min-width: calc(var(--pg-axis) + var(--pg-n, 1) * var(--pg-col)); }
.pg-axis { position: sticky; inset-inline-start: 0; z-index: 4; background: var(--ui-bg); }
.pg-hour { position: absolute; inset-inline: 0; padding: 6px 4px 0 3px; font-size: 12.5px; font-weight: 500; line-height: 1; color: var(--ui-faint); font-variant-numeric: tabular-nums; }
[dir="rtl"] .pg-hour { text-align: right; padding: 6px 3px 0 4px; }
/* (a time is written left to right in every language; on a right-to-left page it still stands on the side where the text starts) */
[dir="rtl"] .pg-block small, [dir="rtl"] .pg-row-time { text-align: right; }
.pg-hour b { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--ui-ink); white-space: nowrap; }
.pg-cols { position: relative; flex: 1; }
.pg-col { position: relative; }
.pg-line { position: absolute; inset-inline: 0; height: 0; border-top: 1px solid var(--ui-line); pointer-events: none; }
.pg-line-day { border-top-color: var(--ui-field-edge); }
.pg-fold { position: absolute; z-index: 1; inset-inline: 0; background: var(--ui-band); border-block: 1px dashed var(--ui-line-strong); pointer-events: none; }
.pg-block { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 7px 8px 6px; overflow: hidden;
  border: 1px solid var(--pg-edge); background: var(--pg-block); color: var(--ui-ink); font: inherit; text-align: start; cursor: pointer; }
.pg-block b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pg-block small { font-size: 12px; line-height: 1; color: var(--ui-dim); font-variant-numeric: tabular-nums; }
.pg-block.short { padding-block: 5px 4px; }
.pg-block.short small { display: none; }
.pg-block.tiny { padding-block: 2px; }
.pg-block.tiny b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-block:hover { border-color: var(--ui-dim); }
.ui .pg-block:focus-visible { outline-offset: -2px; z-index: 3; }
.pg-star { display: none; }
.pg-star svg { display: block; width: 13px; height: 13px; fill: var(--ui-bar); stroke: none; }
.is-mine .pg-star { display: inline-block; margin-inline-end: 5px; vertical-align: -1px; }
.pg-block.is-mine { border-inline-start: 3px solid var(--ui-bar); padding-inline-start: 6px; }
.pg-block.is-now { background: var(--ui-ink); border-color: var(--ui-ink); color: var(--ui-bg); }
.pg-block.is-now.is-mine { border-inline-start-color: var(--ui-bar); }
.pg-block.is-now small { color: inherit; opacity: .72; }
.pg-only-mine .pg-block:not(.is-mine), .pg-only-mine .pg-row:not(.is-mine) { opacity: .24; }
/* now: a line behind the blocks (it never runs through a title) and the time itself on the hours */
.pg-nowline { position: absolute; z-index: 1; inset-inline: 0; height: 2px; margin-top: -1px; background: var(--ui-bar); pointer-events: none; }
.pg-nowtime { position: absolute; z-index: 2; inset-inline: 0; margin-top: -10px; padding: 4px 0 4px; background: var(--ui-bar); color: #1A1008; font-size: 12.5px; font-weight: 700;
  line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .pg-can .pg-col { cursor: cell; } .pg-can .pg-block { cursor: grab; } }
/* a lead moves an event (program.js): the event itself fades where it was, a copy follows the finger and a dashed mark
   shows where it lands. Holding an event on a phone must lift it, not select its words or open a menu. */
.pg-hint { margin: 0 0 10px; font-size: 14px; color: var(--ui-dim); }
.pg-can .pg-block { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pg-block.is-lifted { opacity: .28; }
.pg-ghost { position: fixed; z-index: 60; top: 0; left: 0; margin: 0; pointer-events: none; cursor: grabbing; box-shadow: var(--pg-lift); border-color: var(--ui-ink); will-change: transform; }
.pg .pg-block.pg-ghost { opacity: 1; }   /* (also when only your own program is lit and this one is not yours) */
.pg-drop { position: absolute; z-index: 1; inset-inline: 3px; border: 2px dashed var(--ui-bar); background: var(--ui-acc-soft); pointer-events: none; }
.pg-drop b { position: absolute; top: 4px; inset-inline-start: 6px; font-size: 12px; font-weight: 700; line-height: 1; color: var(--ui-acc-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-arranging .pg-block { cursor: grabbing; }
html.pg-dragging, html.pg-dragging body { -webkit-user-select: none; user-select: none; cursor: grabbing; overscroll-behavior: none; }

/* the same program as a list, day by day */
.pg-list { display: grid; gap: 24px; padding-top: 4px; }
.pg-day { scroll-margin-top: 96px; }
.pg-day-h { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.pg-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 0 14px; align-items: start; width: 100%; padding: 13px 16px 14px; border: 0; background: none;
  color: inherit; font: inherit; text-align: start; cursor: pointer; }
.pg-row:hover { background: var(--ui-hover); }
.ui .pg-row:focus-visible { outline-offset: -2px; }
.pg-row-time { display: grid; gap: 4px; padding-top: 3px; line-height: 1; font-variant-numeric: tabular-nums; }
.pg-row-time b { font-size: 15.5px; font-weight: 700; }
.pg-row-time small { font-size: 13px; color: var(--ui-faint); }
.pg-row-time.none { padding-top: 4px; font-size: 13px; line-height: 1.25; color: var(--ui-faint); }
.pg-row-main { min-width: 0; }
.pg-row-sum { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
.pg-block-s { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--ui-dim); overflow-wrap: anywhere; }
.pg-block.is-now .pg-block-s { color: inherit; opacity: .78; }
.pg-count { font-size: 12.5px; color: var(--ui-faint); }
.pg-count:empty { display: none; }
.pg-row.is-now { border-inline-start: 3px solid var(--ui-bar); padding-inline-start: 13px; }
.pg-row.is-now .pg-row-time b { color: var(--ui-acc-ink); }
.pg-none { margin: 4px 0 0; padding: 20px 0; font-size: 16px; color: var(--ui-dim); border-block: 1px solid var(--ui-line-strong); }

/* the bar at the bottom: what is on now, what comes, the grid or the list, only your own program */
.pg-bar { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 21; display: flex; align-items: stretch; gap: 6px; max-width: 560px;
  margin: 14px auto 0; padding: 6px; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); box-shadow: var(--pg-lift); }
.pg-say { flex: 1; min-width: 0; display: grid; align-content: center; gap: 3px; padding: 3px 8px; border: 0; background: none; color: var(--ui-ink); font: inherit; text-align: start; cursor: pointer; }
.pg-say span { display: block; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-say span:empty { display: none; }
.pg-say-a { font-weight: 600; }
.pg-say-b { color: var(--ui-dim); }
.pg-say b { margin-inline-end: 6px; font-weight: 700; color: var(--ui-acc-ink); }
.pg-bar-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 46px; height: 46px; padding: 0 12px;
  border: 1px solid var(--ui-line-strong); background: none; color: var(--ui-ink); font: inherit; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.pg-bar-btn:hover { border-color: var(--ui-dim); }
.pg-bar-btn svg { display: block; width: 20px; height: 20px; }
@media (max-width: 899px) {
  .pg-bar { gap: 5px; padding: 5px; }
  .pg-say { padding: 3px 6px; }
  .pg-bar-btn { min-width: 42px; height: 44px; padding: 0 9px; gap: 5px; }
}
.pg-ic-grid, .pg-as-list .pg-ic-list { display: none !important; }
.pg-as-list .pg-ic-grid { display: block !important; }
.pg-bar-mine.has .pg-ic-star { fill: var(--ui-bar); stroke: var(--ui-bar); }
.pg-bar-mine[aria-pressed="true"] { background: var(--ui-ink); border-color: var(--ui-ink); color: var(--ui-bg); }

/* the sheet of one event: from the bottom on a phone, in the middle on a laptop. No dark layer over a phone: iOS would
   colour its own bars with it and keep that colour */
dialog.pg-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 88svh; margin: 0; padding: 0; overflow: hidden;
  border: 0; border-top: 1px solid var(--ui-line-strong); background: var(--ui-card-solid); color: var(--ui-ink); box-shadow: 0 -24px 70px rgba(0, 0, 0, .45); }
dialog.pg-sheet::backdrop { background: transparent; }
html:has(dialog.pg-sheet[open]) { overflow: hidden; }
.pg-sheet-in { max-height: 88svh; overflow: auto; overscroll-behavior: contain; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.pg-s-when { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ui-acc-ink); }
.pg-s-title { margin: 6px 0 0; font-size: clamp(26px, 6.4vw, 34px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.pg-s-sum { margin: 10px 0 0; max-width: 46ch; font-size: 18.5px; line-height: 1.35; font-weight: 550; letter-spacing: -0.01em; overflow-wrap: anywhere; }
/* (the row of one person on the page of the members, reached from "Given by": a little air above it) */
.ui-list > li[id^="who-"] { scroll-margin-top: calc(14px + env(safe-area-inset-top, 0px)); }
.pg-s-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; font-size: 15px; }
.pg-s-who-l { color: var(--ui-dim); }
.pg-giver { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; color: var(--ui-ink); font-weight: 600; text-decoration: none; }
.pg-giver > span:last-child { text-decoration: underline; text-decoration-color: var(--ui-field-edge); text-underline-offset: 4px; }
.pg-giver:hover > span:last-child { text-decoration-color: var(--ui-ink); }
.pg-s-text { margin: 16px 0 0; max-width: 62ch; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.pg-s-text p { margin: 0; white-space: pre-line; }
.pg-s-text p + p { margin-top: 12px; }
.pg-s-notes { margin: 16px 0 0; padding-top: 14px; max-width: 62ch; border-top: 1px solid var(--ui-line-strong); font-size: 15px; overflow-wrap: anywhere; }
.pg-s-notes b { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 600; color: var(--ui-dim); }
.pg-s-link { margin: 12px 0 0; font-size: 15px; }
.pg-s-link a { color: var(--ui-acc-ink); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.pg-s-going { margin: 12px 0 0; font-size: 14.5px; color: var(--ui-dim); }
.pg-s-clash { margin: 12px 0 0; font-size: 14.5px; color: var(--ui-warn-ink); }
.pg-s-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.pg-s-acts .ui-link { margin-inline-start: auto; }
#pg-s-pick .pg-star { display: inline-block; }
#pg-s-pick .pg-star svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
#pg-s-pick.is-in .pg-star svg { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  dialog.pg-sheet[open] { animation: pg-up .24s cubic-bezier(.2, .8, .2, 1) backwards; }
  @keyframes pg-up { from { transform: translateY(24px); opacity: 0; } }
}
.sk-tabs.sk-days { gap: 6px; padding: 0 0 10px; border: 0; background: none; }
.sk-tabs.sk-days + .sk-stage { display: block; height: clamp(300px, 56svh, 620px); }

@media (min-width: 900px) {
  .pg { --pg-axis: 62px; --pg-col: 170px; }
  .pg-daybtn { min-width: 74px; padding: 9px 14px 8px; font-size: 23px; }
  .pg-hour { padding-inline: 8px 4px; font-size: 13px; }
  [dir="rtl"] .pg-hour { padding: 6px 8px 0 4px; }
  .pg-head b { font-size: 15.5px; }
  .pg-block { padding: 8px 10px 7px; }
  .pg-block b { font-size: 15px; }
  .pg-say span { font-size: 14px; }
  dialog.pg-sheet { inset: 0; margin: auto; width: min(540px, calc(100vw - 48px)); height: fit-content; border: 1px solid var(--ui-line-strong); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
  dialog.pg-sheet::backdrop { background: rgba(10, 4, 18, .55); }
  .pg-sheet-in { padding: 28px 28px 26px; }
}
/* on paper: the list, never the grid */
@media print {
  .pg-top, .pg-scroll, .pg-bar, .pg-loose, .pg-hint, dialog.pg-sheet { display: none !important; }
  .pg .pg-list, .pg .pg-list[hidden] { display: grid !important; }
  .pg-only-mine .pg-row:not(.is-mine) { opacity: 1; }
}

/* ---------- Your account (30 Nov 2026): behind your photo in the menu. Your profile first (About you, For this camp),
   your account under it; on a laptop the two stand next to each other. Without a camp there is the account alone. ---------- */
body.ui.ui[data-view="account"] #app-body { max-width: 1128px; }
.acc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.acc:not(.has-profile) { max-width: 640px; }
.acc-main, .acc-side { min-width: 0; }
.ui .acc-head { margin: 0 2px 14px; align-items: baseline; }
.acc-head .ui-more { text-decoration: underline; text-underline-offset: 3px; }
.acc-side > .ui-sec:first-of-type { margin-top: 26px; }
@media (min-width: 1280px) {
  .acc.has-profile { grid-template-columns: minmax(0, 1fr) 372px; gap: 32px; align-items: start; }
  /* (in the narrow column your name and your address stand under each other) */
  .acc.has-profile .acc-side .ui-fields { grid-template-columns: minmax(0, 1fr); }
}
/* the dot on your photo in the menu: your profile for this camp still misses something */
.ui a.sb-me { position: relative; }
.sb-todo { position: absolute; top: 3px; inset-inline-start: 36px; width: 11px; height: 11px; background: var(--ui-warn); border: 2px solid var(--sb-bg, var(--ui-bg)); pointer-events: none; }
.sb-todo[hidden] { display: none; }
@media (max-width: 599px) {
  .ui .acc-head { flex-wrap: wrap; gap: 4px 12px; }
  .acc-head .ui-h2 { white-space: nowrap; }
}

/* ---------- Members (30 Nov 2026): four numbers that are buttons, the people (search, filters, a list or a wall of
   faces) and the camp in numbers. A laptop shows the two parts next to each other, a phone one at a time, so the list is
   never a long way down. A tap on somebody opens a sheet with the whole profile (the sheet of the program, pg-sheet). ---------- */
body.ui.ui[data-view="people"] #app-body { max-width: 1128px; }
.ui .mb-metrics { margin-bottom: 18px; }
.ui button.mb-metric { display: flex; flex-direction: column; gap: 8px; min-height: 150px; font: inherit; color: var(--ui-ink); text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mb-metric .ui-label, .mb-metric .ui-num, .mb-metric > .ui-sub { display: block; }
.mb-metric .ui-metric-ring { display: flex; }
.ui button.mb-metric:hover { border-color: var(--ui-fire); }
.ui button.mb-metric[aria-pressed="true"] { border-color: var(--ui-fire); box-shadow: inset 0 -3px 0 var(--ui-fire); }
.ui button.mb-metric:focus-visible, .mb-face:focus-visible, .mb-lead:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: 2px; }

.mb-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 14px; border: 1px solid var(--ui-line-strong); background: var(--ui-card-solid); }
.mb-seg button { min-height: 46px; padding: 6px 8px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 650; line-height: 1.2; color: var(--ui-dim); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mb-seg button.on { background: var(--ui-ink); color: var(--ui-bg); }
.mb-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mb-main, .mb-side { min-width: 0; }
.mb-side { display: flex; flex-direction: column; gap: 16px; }
.mb[data-part="people"] .mb-side, .mb[data-part="numbers"] .mb-main { display: none; }
.ui .mb-side .ui-card { margin: 0; }
.ui .mb-side .ui-h2 { font-size: 20px; }

/* the search field and the choice between the list and the faces, joined to the filters and the list under them */
.mb-tools { display: flex; align-items: stretch; background: var(--ui-card-solid); border: 1px solid var(--ui-line-strong); border-bottom: 0; }
.mb-tools:has(input:focus-visible) { box-shadow: inset 0 -2px 0 var(--ui-fire); }
.mb-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 20px; color: var(--ui-dim); cursor: text; }
.mb-search svg { width: 19px; height: 19px; flex: none; }
.mb-search input { flex: 1; min-width: 0; height: 54px; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; font-size: 16px; color: var(--ui-ink); outline: none; -webkit-appearance: none; appearance: none; }
.mb-search input::placeholder { color: var(--ui-faint); }
.mb-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.mb-view { display: flex; border-inline-start: 1px solid var(--ui-line-strong); }
.mb-view button { width: 52px; display: grid; place-items: center; border: 0; background: none; color: var(--ui-faint); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mb-view button svg { width: 20px; height: 20px; }
.mb-view button[aria-pressed="true"] { color: var(--ui-ink); background: var(--ui-hover); }
.mb-view button:focus-visible, .mb-seg button:focus-visible, .mb-bar:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: -2px; }
.mb-count { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 46px; padding: 8px 22px; background: var(--ui-card-solid); border-inline: 1px solid var(--ui-line-strong); }
.mb-count:has(+ .ui-list[hidden]) { border-bottom: 1px solid var(--ui-line-strong); }
.mb-count-n { margin: 0; font-size: 14px; color: var(--ui-dim); font-variant-numeric: tabular-nums; }
.mb-count .ui-link[hidden], .mb-chip[hidden] { display: none; }
.mb-copy { margin-inline-start: auto; }
/* who applied through the link of the camp and waits for a lead: a card per person above the list */
.mb-apps { margin: 0 0 14px; }
.mb-apps[hidden] { display: none; }
.ui .mb-apps .ui-sec-head { margin: 0 2px 12px; }
.ui .ui-list > li.mb-app { display: grid; gap: 12px; padding: 18px 22px; }
.mb-app-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mb-app-who > div { min-width: 0; }
.mb-app-who b { display: block; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.mb-app-who > div > span { display: block; margin-top: 2px; font-size: 13px; color: var(--ui-dim); overflow-wrap: anywhere; }
.ui .mb-app-qa { margin: 0; grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
.mb-app-qa dt { margin-top: 8px; font-size: 13px; }
.mb-app-qa dt:first-child { margin-top: 0; }
.mb-app-qa dd { white-space: pre-line; }
.mb-app-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mb-apps-msg { margin: 0 2px 14px; color: var(--ui-ink); }
.mb-apps-msg:empty { display: none; }
/* Camp settings, who can join: the link of the camp with its two buttons */
.ui .jn .ui-h2 { margin: 0 0 6px; }
.jn-sub { margin: 0 0 16px; font-size: 14.5px; color: var(--ui-dim); }
.jn-link { margin: 18px 0 0; padding: 16px 18px; border: 1px solid var(--ui-line-strong); }
.jn-link[hidden] { display: none; }
.jn-link .ui-code { display: block; margin-top: 8px; overflow-wrap: anywhere; user-select: all; }
.jn-link-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 12px 0 0; }
@media (max-width: 899px) { .ui .ui-list > li.mb-app { padding: 16px; } }
/* what a reminder did: a line of its own under the count */
.mb-note { flex-basis: 100%; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ui-ink); }
.mb-note[hidden] { display: none; }
.mb-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 2px 10px; border: 1px solid var(--ui-fire); background: var(--ui-acc-soft); color: var(--ui-acc-ink); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.mb-chip i { font-style: normal; font-size: 17px; line-height: 1; }
.mb-paper { display: none; }

/* the wall of faces: the photo (or the letters) as large as the tile, the name under it */
.mb-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; padding-top: 12px; }
.mb-faces[hidden] { display: none; }
.mb-face { display: flex; flex-direction: column; min-width: 0; padding: 0 0 11px; border: 1px solid var(--ui-line-strong); background: var(--ui-card-solid); font: inherit; color: var(--ui-ink); text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ui .mb-face .ui-av { width: 100%; height: auto; aspect-ratio: 1; border: 0; margin-bottom: 10px; font-size: 30px; }
.mb-face b, .mb-face > span:last-child { display: block; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* (a name may take two lines: on a phone a tile is narrower than most names) */
.mb-face b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow-wrap: anywhere; font-size: 14.5px; font-weight: 650; line-height: 1.25; }
.mb-face > span:last-child { margin-top: 2px; min-height: 1.35em; font-size: 12.5px; line-height: 1.35; color: var(--ui-dim); }
.mb-face:hover { border-color: var(--ui-fire); }
.mb-face.is-missing { box-shadow: inset 0 -3px 0 var(--ui-warn); }
.mb-faces .ui-empty { grid-column: 1 / -1; }

/* who runs the camp: each one is a button to their sheet */
.mb-lead { min-width: 0; padding: 4px 2px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.mb-lead b { overflow-wrap: anywhere; }

/* food, getting there, sleeping: a line per answer, the longest line the most people; a tap shows who */
.ui .mb-facet { padding-bottom: 14px; }
.ui .mb-h { margin: 0 0 10px; }
.mb-bars { display: grid; gap: 1px; margin: 0 -10px; }
/* (the name and the number on one line, the line itself under them: a long word in any language keeps its room) */
.mb-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; padding: 9px 10px 10px; border: 0; background: none; font: inherit; font-size: 14.5px; line-height: 1.3; color: var(--ui-ink); text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mb-bar-l { grid-column: 1; grid-row: 1; overflow-wrap: anywhere; }
.mb-bar-t { grid-column: 1 / -1; grid-row: 2; display: block; height: 8px; background: var(--ui-track); }
.mb-bar-t i { display: block; height: 100%; background: var(--ui-fire); }
.mb-bar b { grid-column: 2; grid-row: 1; text-align: end; font-weight: 650; font-variant-numeric: tabular-nums; }
.mb-bar.none { color: var(--ui-dim); }
.mb-bar.none .mb-bar-t i { background: var(--ui-faint); }
.mb-bar:hover, .mb-bar.on { background: var(--ui-hover); }
.mb-bar.on { box-shadow: inset 3px 0 0 var(--ui-fire); }
[dir="rtl"] .mb-bar.on { box-shadow: inset -3px 0 0 var(--ui-fire); }
.mb-hint { margin: -6px 2px 0; }

/* the sheet of one person */
.pp-top { display: flex; align-items: center; gap: 18px; }
.pp-pic { flex: none; }
.ui .pp-pic .ui-av { width: 104px; height: 104px; font-size: 32px; border: 0; }
.pp-top-t { flex: 1; min-width: 0; }
/* (a long profile has its way out on top as well as at the bottom) */
.pp-x { flex: none; align-self: flex-start; width: 44px; height: 44px; margin: -8px -8px 0 0; display: grid; place-items: center; border: 0; background: none; color: var(--ui-dim); cursor: pointer; -webkit-tap-highlight-color: transparent; }
[dir="rtl"] .pp-x { margin: -8px 0 0 -8px; }
.pp-x svg { width: 22px; height: 22px; }
.pp-x:hover { color: var(--ui-ink); background: var(--ui-hover); }
.pp-x:focus-visible { outline: 2px solid var(--ui-fire); outline-offset: -2px; }
.pp-name { margin: 0; font-size: clamp(24px, 6.2vw, 30px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.pp-playa { margin: 5px 0 0; font-size: 16px; color: var(--ui-dim); overflow-wrap: anywhere; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; }
.pp-about { margin: 18px 0 0; max-width: 60ch; }
#pp-links .bp-links { margin-top: 12px; }
.pp-h3 { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--ui-line-strong); font-size: 15px; line-height: 1.3; font-weight: 700; }
.pp-facts { display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); gap: 7px 16px; margin: 16px 0 0; font-size: 15px; line-height: 1.4; }
.pp-h3 + .pp-facts { margin-top: 12px; }
.pp-facts[hidden] { display: none; }
.pp-facts dt { color: var(--ui-dim); }
/* (a value in another script than the page keeps its own direction, and stands on the side where the page reads from) */
.pp-facts dd { margin: 0; overflow-wrap: anywhere; text-align: match-parent; }
.pp-facts a { color: var(--ui-ink); font-weight: 600; text-underline-offset: 3px; }
.pp-credits { margin: 12px 0 0; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ui .pp-bar { height: 8px; margin-top: 8px; }
.pp-shifts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.pp-shifts li { display: flex; justify-content: space-between; gap: 14px; }
.pp-shifts li b { font-weight: 600; overflow-wrap: anywhere; }
.pp-shifts li span { flex: none; color: var(--ui-dim); }
.pp-shifts li.none { color: var(--ui-dim); }
.pp-private-s { margin: 4px 0 0; }
.pp-acts { margin-top: 24px; }
.ui select.pp-role { min-height: 48px; padding-inline: 16px 34px; font-size: 15.5px; font-weight: 650; }
.pp-msg { flex-basis: 100%; }
.pp-msg:empty { display: none; }

@media (max-width: 899px) {
  /* (two by two: on Today the second and the fourth card take a whole row, here the four stay small) */
  .ui .mb-metrics { gap: 10px; margin-bottom: 12px; }
  .ui .mb-metrics > :nth-child(n) { grid-column: auto; }
  .ui button.mb-metric { min-height: 0; padding: 13px 14px 12px; gap: 3px; }
  .mb-metric .ui-label { font-size: 13px; }
  .mb-metric .ui-num { font-size: 28px; }
  .mb-metric .ui-metric-ring { gap: 9px; margin-top: 4px; }
  .mb-metric .ui-ring svg { width: 42px; height: 42px; }
  .mb-metric .ui-metric-ring .ui-num { font-size: 22px; }
  .mb-metric .ui-sub, .mb-metric .ui-metric-ring .ui-sub { margin-top: 2px; font-size: 12.5px; line-height: 1.3; }
  .mb-count { padding-inline: 16px; }
  .mb-search { padding-inline: 16px 10px; }
  /* (a phone says only who still misses something: a row stays two lines high and the list half as long) */
  #p-list .ui-tag:not(.warn) { display: none; }
  .mb-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ui .pp-pic .ui-av { width: 88px; height: 88px; font-size: 28px; }
}
/* (four numbers in one row from a small laptop on: in two rows the list would start under the fold) */
@media (min-width: 900px) { .ui .mb-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1280px) {
  .ui .mb-metrics { gap: 16px; }
  .mb-seg { display: none; }
  .mb-cols { grid-template-columns: minmax(0, 1fr) 372px; gap: 24px; align-items: start; }
  .mb[data-part] .mb-main { display: block; }
  .mb[data-part] .mb-side { display: flex; }
}
/* on paper: both parts, the list with everything about everybody, nothing to tap */
@media print {
  .mb-seg, .mb-tools, .mb .ui-pills, .mb-count .ui-link, .mb-chip, .mb-hint, dialog.pp-sheet { display: none !important; }
  .mb[data-part] .mb-main { display: block !important; }
  .mb[data-part] .mb-side { display: flex !important; }
  .mb-cols { display: block; }
  .mb-count { border-top: 1px solid var(--ui-line-strong); }
  .mb-paper { display: block; padding-block: 0 12px; padding-inline: 74px 22px; font-size: 12.5px; line-height: 1.5; }
  .mb-metric, .mb-facet { break-inside: avoid; }
}
