/* Check in Please — app-style UI (V8.3 frontend)
 * app.css — design tokens from the APPROVED mockup (Nov 14, 2026).
 * HARD RULE: ivory backgrounds/cards, deep green accents/buttons,
 * black text. NO black/dark backgrounds anywhere. The variable named
 * --app-gold is deep green — do NOT "fix" it to gold. */
:root {
  --app-bg: #faf8ef;
  --app-card: #fffef9;
  --app-ink: #111111;
  --app-soft: #5c605a;
  --app-line: #ddded3;
  --app-gold: #1b4332;          /* primary deep green (name kept from mockup) */
  --app-gold-2: #2d6a4f;        /* mid green */
  --app-green-soft: #e3ede4;
  --app-green: #1b4332;
  --app-amber-text: #b06a12;
  --app-amber-bg: #fbeed3;
  --app-warn-bg: #fdf3e3;
  --app-red-text: #b03a2e;
  --app-red-bg: #f9e9e4;
  --app-red-line: #e5c4bd;
  --app-ok-bg: #e9f2e6;
  --app-ok-line: #b9d3ae;
  --app-radius: 22px;
  --app-shadow: 0 6px 18px -12px rgba(17, 17, 17, .22);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--app-bg); color: var(--app-ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.45;
}
h1, h2, h3, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
a { color: var(--app-gold-2); }
button, [role=button], select, summary, input, textarea { min-height: 2rem; font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.muted { color: var(--app-soft); }
.small { font-size: 12.5px; }
.center { text-align: center; }

/* ---------- App shell ---------- */
.app { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.appbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: rgba(250, 248, 239, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--app-line);
}
.appbar .ttl { flex: 1; min-width: 0; text-align: center; }
.appbar .ttl b { display: block; font-size: 16.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .ttl span { display: block; font-size: 11.5px; color: var(--app-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Home + Back buttons (top bar): solid deep-green pills with words —
   the icon-only circles (‹ and ⌂) were too faint to spot. A host must
   see at a glance where Back and Home are. */
.iconbtn {
  height: 44px; min-height: 44px; flex: 0 0 auto; border-radius: 22px;
  border: 0; background: var(--app-green); color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1; padding: 0 16px; gap: 6px;
  box-shadow: 0 2px 8px rgba(27, 67, 50, .35);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  white-space: nowrap;
}
.iconbtn:disabled { opacity: .45; box-shadow: none; }
main.screen { flex: 1; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); animation: slidein .28s ease; }
@keyframes slidein { from { transform: translateX(14px); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- Cards, tiles ---------- */
.card { background: var(--app-card); border: 1px solid var(--app-line); border-radius: var(--app-radius); box-shadow: var(--app-shadow); padding: 16px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--app-gold-2); }
.eventname { font-family: "Fraunces", Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.15; margin: 2px 0 4px; }
.kindline { font-size: 14px; font-weight: 600; color: var(--app-soft); }
.progress { height: 10px; border-radius: 999px; background: #e7e9df; overflow: hidden; margin: 10px 0 6px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--app-gold-2), var(--app-gold)); border-radius: 999px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.tile {
  background: var(--app-card); border: 1px solid var(--app-line); border-radius: var(--app-radius);
  padding: 16px 15px 14px; min-height: 118px; text-align: left; box-shadow: var(--app-shadow);
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.tile:hover { border-color: var(--app-gold-2); transform: translateY(-2px); }
.tile .tic { width: 40px; height: 40px; border-radius: 13px; background: var(--app-green-soft); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.tile b { font-size: 15.5px; font-weight: 800; }
.tile .sub { font-size: 12.5px; font-weight: 600; color: var(--app-soft); }
.tile .status { margin-top: auto; font-size: 11.5px; font-weight: 800; color: var(--app-soft); }
.tile .status .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d98a1f; margin-right: 5px; vertical-align: 1px; }
.tile .status.updated { color: var(--app-green); }
.tile .status.updated .dot { background: var(--app-green); }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; gap: 12px; }
.tile.wide .tic { flex: 0 0 40px; }
.tile.wide .tw { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tile.wide .go { font-size: 20px; color: var(--app-soft); }

/* ---------- Buttons, inputs ---------- */
.btn {
  display: block; width: 100%; min-height: 54px; padding: 15px 22px; border: none;
  border-radius: 999px; font-size: 16px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, var(--app-gold-2), var(--app-gold));
  box-shadow: 0 12px 22px -10px rgba(27, 67, 50, .45); text-align: center; text-decoration: none;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; }
.btn.ghost { background: var(--app-card); color: var(--app-ink); border: 1.5px solid var(--app-line); box-shadow: none; }
.btn.small { min-height: 46px; font-size: 14.5px; width: auto; padding: 10px 18px; display: inline-block; }
.btn.danger { background: var(--app-red-bg); color: var(--app-red-text); border: 1.5px solid var(--app-red-line); box-shadow: none; }
.btn.big { min-height: 64px; font-size: 18px; }
label.fld { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--app-soft); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; font-size: 16px; font-weight: 600; color: var(--app-ink);
  background: var(--app-card); border: 1.5px solid var(--app-line); border-radius: 15px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: transparent; outline: 2px solid var(--app-gold-2); }
textarea { min-height: 84px; resize: vertical; }
/* Menu & Event Flow rows (§43d): one row per dish / per moment —
   a dropdown, a text field, and a remove button. The dropdowns
   stay narrow so the text field keeps most of the width. */
.flowrow { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.flowrow select { flex: 0 0 118px; width: auto; min-width: 0; padding-left: 10px; padding-right: 8px; }
.flowrow select.flow-time { flex-basis: 128px; }
.flowrow input[type=text] { flex: 1; min-width: 0; }
.flowx { flex: 0 0 40px; width: 40px; min-height: 52px; border-radius: 15px; border: 1.5px solid var(--app-line); background: var(--app-card); color: var(--app-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.help { font-size: 12.5px; color: var(--app-soft); margin-top: 6px; }
.errbox { background: var(--app-red-bg); border: 1px solid var(--app-red-line); color: var(--app-red-text); border-radius: 15px; padding: 12px 14px; font-weight: 600; margin: 12px 0; }
.okbox { background: var(--app-ok-bg); border: 1px solid var(--app-ok-line); color: var(--app-green); border-radius: 15px; padding: 12px 14px; font-weight: 600; margin: 12px 0; }
.warnbox { background: var(--app-warn-bg); border: 1px solid #ecd9a8; color: #7a4d08; border-radius: 15px; padding: 12px 14px; font-weight: 600; margin: 12px 0; }
.warnbox ul { margin: 6px 0 0; padding-left: 18px; }
.demobanner { background: var(--app-amber-bg); border: 1px solid #ecd9a8; border-radius: 15px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600; }
.demobanner .sub { font-weight: 500; font-size: 13px; color: #7a4d08; }

/* ---------- Pinned footer ---------- */
.screen-foot {
  position: sticky; bottom: 0; z-index: 15; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(250, 248, 239, 0), var(--app-bg) 30%);
}
.screen-foot .btn { max-width: 560px; margin: 0 auto; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%) translateY(20px);
  background: #fff; color: var(--app-ink); border-radius: 999px; padding: 12px 20px;
  font-size: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(17, 17, 17, .25);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 60;
  max-width: 92vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast .tick { color: var(--app-green); margin-right: 6px; }

/* ---------- Guest rows ---------- */
.search { position: relative; margin-bottom: 10px; }
.search input { border-radius: 999px; padding-left: 44px; }
.search .mag { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 19px; color: var(--app-soft); pointer-events: none; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.letters button {
  min-width: 34px; min-height: 34px; padding: 4px 8px; border-radius: 999px;
  border: 1.5px solid var(--app-line); background: var(--app-card); font-weight: 800; font-size: 13.5px;
}
.letters button.on { background: var(--app-green); color: #fff; border-color: var(--app-green); }
.guestrow {
  background: var(--app-card); border: 1px solid var(--app-line); border-radius: 17px;
  padding: 13px 14px; margin-bottom: 9px; width: 100%; text-align: left; display: block;
}
.guestrow .gr-top { display: flex; gap: 11px; align-items: center; }
.avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--app-green-soft); color: var(--app-green); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.guestrow .nm { font-weight: 800; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guestrow .sub2 { font-size: 12.5px; color: var(--app-soft); font-weight: 600; }
.guestrow .chev { margin-left: auto; font-size: 20px; color: var(--app-soft); }
.ticketline { border-top: 1px dashed var(--app-line); margin-top: 10px; padding-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ticketline code { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--app-green-soft); border-radius: 8px; padding: 3px 7px; }
.pill { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.pill.sent { background: var(--app-green-soft); color: var(--app-green); }
.pill.notsent { background: var(--app-amber-bg); color: var(--app-amber-text); }
.pill.in { background: var(--app-green-soft); color: var(--app-green); }
.pill.waiting { background: #eceee6; color: var(--app-soft); }
.pill.note { background: var(--app-amber-bg); color: var(--app-amber-text); }
/* Nov 28, 2026: the guest's own special-requirements note, and the
   over-count flag ("6 coming, invited 4") — amber, so the extra
   people catch the host's eye. */
.pill.guestnote { background: var(--app-amber-bg); color: var(--app-amber-text); }
.pill.rsvp-over { background: var(--app-amber-bg); color: var(--app-amber-text); }
.pill.rsvp-yes { background: var(--app-green-soft); color: var(--app-green); }
.pill.rsvp-no { background: var(--app-red-bg); color: var(--app-red-text); }
.pill.hostrsvp { background: #eceee6; color: var(--app-soft); }
/* ---------- Event Status dashboard: table pills ---------- */
.tablepills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tablepill { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left;
  border: 2px solid transparent; border-radius: 16px; padding: 10px 12px; min-width: 0; }
.tablepill b { font-size: 14.5px; font-weight: 800; }
.tablepill span { font-size: 11.5px; font-weight: 700; opacity: .85; }
.tablepill.on { border-color: var(--app-ink); box-shadow: 0 2px 8px rgba(17, 17, 17, .18); }
.tp0 { background: #e3ede4; color: #1b4332; }
.tp1 { background: #fbeed3; color: #7a4a08; }
.tp2 { background: #dbe7f3; color: #2c5f8a; }
.tp3 { background: #f9e9e4; color: #8f2f22; }
.tp4 { background: #ece6f3; color: #5b4a8a; }
.tp5 { background: #dff0ec; color: #1f6b5a; }
.tp6 { background: #f3e8d8; color: #6b4a1f; }
.tp7 { background: #e8e4da; color: #4c4636; }
.tabledetail { border-top: 1px dashed var(--app-line); margin-top: 12px; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.trow { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid #eeeedf; }
.trow:last-child { border-bottom: 0; padding-bottom: 0; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.badge.VIP { background: var(--app-green); color: #fff; }
.badge.Speaker { background: var(--app-gold-2); color: #fff; }
.badge.Family { background: var(--app-green-soft); color: var(--app-green); border: 1px solid #c4d8c5; }
.badge.General { background: #eceee6; color: var(--app-soft); }
.badge.Vendor { background: #fff; color: var(--app-ink); border: 1.5px solid var(--app-gold-2); }
.badge.Full { background: var(--app-green); color: #fff; }
.badge.Checkin { background: var(--app-green-soft); color: var(--app-green); }
.minibtn {
  margin-left: auto; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--app-gold-2); background: var(--app-card); color: var(--app-green);
  font-size: 13.5px; font-weight: 800;
}
.minibtn:disabled { opacity: .5; }

/* ---------- Switch / segmented / stepper ---------- */
.switchrow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--app-line); }
.switchrow:last-child { border-bottom: none; }
.switchrow .swtxt { flex: 1; min-width: 0; }
.switchrow .swtxt b { display: block; font-size: 15.5px; }
.switchrow .swtxt span { font-size: 12.5px; color: var(--app-soft); font-weight: 600; }
.switch { position: relative; width: 54px; height: 32px; flex: 0 0 54px; appearance: none; -webkit-appearance: none; background: #d3d6cb; border-radius: 999px; border: none; min-height: 32px; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch:checked { background: var(--app-green); }
.switch:checked::after { left: 25px; }
.segmented { display: flex; background: #e7e9df; border-radius: 999px; padding: 4px; gap: 4px; }
.segmented button { flex: 1; min-height: 46px; border: none; background: transparent; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--app-soft); }
.segmented button.on { background: #fff; color: var(--app-ink); box-shadow: 0 1px 4px rgba(17, 17, 17, .15); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 52px; height: 52px; min-height: 52px; border-radius: 50%; border: 1.5px solid var(--app-line); background: var(--app-card); font-size: 24px; font-weight: 800; }
.stepper .num { font-size: 22px; font-weight: 800; min-width: 44px; text-align: center; }
.optcards { display: grid; gap: 10px; }
.optcard { display: block; text-align: left; width: 100%; background: var(--app-card); border: 2px solid var(--app-line); border-radius: 17px; padding: 14px; }
.optcard.on { border-color: var(--app-green); background: var(--app-green-soft); }
.optcard b { display: block; font-size: 15px; }
.optcard span { font-size: 12.5px; color: var(--app-soft); font-weight: 600; }

/* ---------- Theme cards ---------- */
.themegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.themecard { background: var(--app-card); border: 2px solid var(--app-line); border-radius: 19px; padding: 10px; text-align: left; width: 100%; }
.themecard.on { border-color: var(--app-green); }
.themecard .sw { height: 62px; border-radius: 12px; margin-bottom: 8px; }
.themecard b { font-size: 15px; }
.themecard .sel { font-size: 12px; font-weight: 800; color: var(--app-green); }

/* ---------- Stats / tables ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 17px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 24px; font-family: "Fraunces", Georgia, serif; }
.stat span { font-size: 11.5px; font-weight: 800; color: var(--app-soft); text-transform: uppercase; letter-spacing: .04em; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--app-soft); padding: 8px 6px; border-bottom: 1px solid var(--app-line); }
table.data td { padding: 9px 6px; border-bottom: 1px solid #eeeedf; vertical-align: top; }
.pinbox { border: 2px dashed var(--app-gold-2); border-radius: 17px; padding: 14px; text-align: center; background: var(--app-card); margin: 10px 0; }
.pinbox code { font-family: ui-monospace, Menlo, monospace; font-size: 16px; font-weight: 700; background: var(--app-green-soft); padding: 4px 10px; border-radius: 8px; word-break: break-all; }
.photoframe { border-radius: 22px; border: 1px solid var(--app-line); overflow: hidden; background: #eceee6; min-height: 230px; display: flex; align-items: center; justify-content: center; }
.photoframe img, .photoframe video { width: 100%; height: 230px; object-fit: cover; display: block; }
/* Premier logo preview: show the WHOLE logo, never cropped — the
   preview must match the guest panel, which fits the logo with
   object-fit contain. White behind it, so a logo with a clear
   background reads exactly as it will on the panel. */
.photoframe.logo img { object-fit: contain; background: #fff; padding: 10px; box-sizing: border-box; }
.photoframe .ph { font-size: 44px; color: var(--app-soft); }
.scanframe { width: 220px; height: 220px; margin: 10px auto; border: 3px solid var(--app-green); border-radius: 22px; position: relative; overflow: hidden; background: #fff; }
.scanframe .line { position: absolute; left: 8%; right: 8%; height: 3px; background: var(--app-gold-2); animation: scan 2s ease-in-out infinite alternate; }
@keyframes scan { from { top: 12%; } to { top: 86%; } }
.verdict { border-radius: 22px; padding: 20px; text-align: center; margin: 12px 0; }
.verdict.ok { background: var(--app-ok-bg); border: 1px solid var(--app-ok-line); }
.verdict.already { background: var(--app-green-soft); border: 1px solid #b9d3ae; }
.verdict.notfound { background: var(--app-red-bg); border: 1px solid var(--app-red-line); }
.verdict .big { font-family: "Fraunces", Georgia, serif; font-size: 25px; font-weight: 600; color: var(--app-green); }
.verdict.notfound .big { color: var(--app-red-text); }
.verdict .nm { font-size: 19px; font-weight: 800; margin-top: 6px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 10px; }
.bars .bar { flex: 1; background: linear-gradient(180deg, var(--app-gold-2), var(--app-gold)); border-radius: 8px 8px 0 0; min-height: 6px; position: relative; }
.bars .bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; }
.bars .barlab { font-size: 10.5px; color: var(--app-soft); text-align: center; margin-top: 4px; }
.barscol { flex: 1; display: flex; flex-direction: column; }
.loginwrap { max-width: 480px; margin: 0 auto; padding: 28px 18px; }
.brand { text-align: center; margin-bottom: 18px; }
.brand .wordmark { font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600; }
.brand .wordmark em { font-style: normal; color: var(--app-gold-2); }
.brand .tag { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--app-soft); }
.loginfoot { text-align: center; font-size: 13px; color: var(--app-soft); margin-top: 18px; line-height: 2; }
.loginfoot a { color: var(--app-gold-2); font-weight: 700; }
.backlink { display: inline-block; margin-bottom: 14px; font-weight: 700; color: var(--app-gold-2); text-decoration: none; }

/* ---------- Tablet / iPad landscape ---------- */
.rail { display: none; }
@media (min-width: 821px) {
  .app { max-width: none; flex-direction: row; }
  .rail {
    display: flex; flex-direction: column; width: 15.5em; flex: 0 0 15.5em; min-height: 100vh;
    background: var(--app-card); border-right: 1px solid var(--app-line); padding: 20px 14px;
    position: sticky; top: 0; height: 100vh;
  }
  .rail .rbrand { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
  .rail .rmark { width: 44px; height: 44px; border: 2px solid var(--app-green); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--app-green); font-size: 17px; }
  .rail .rbrand b { display: block; font-size: 15px; }
  .rail .rbrand span { font-size: 11.5px; color: var(--app-soft); font-weight: 700; }
  .rail nav button {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 3em; text-align: left;
    background: transparent; border: none; border-radius: 12px; padding: 8px 12px; font-size: 14.5px; font-weight: 700; color: var(--app-ink);
  }
  .rail nav button.on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--app-green); }
  .rail .rcurrent { margin-top: auto; background: var(--app-green-soft); border-radius: 15px; padding: 12px; }
  .rail .rcurrent .eyebrow { font-size: 10.5px; }
  .rail .rcurrent b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 16px; margin: 2px 0; }
  .rail .rcurrent span { font-size: 12px; color: var(--app-soft); font-weight: 600; }
  .appmain { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .appmain main.screen { max-width: 900px; width: 100%; margin: 0 auto; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
  .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .screen-foot .btn { max-width: 900px; }
}
@media (max-width: 560px) {
  .rail { width: 4.9em; flex-basis: 4.9em; padding: 16px 8px; }
  .rail nav button span.lbl, .rail .rbrand .rtxt, .rail .rcurrent { display: none; }
  .rail nav button { justify-content: center; padding: 8px 0; }
}
@media print {
  body { background: #fff; }
  .appbar, .screen-foot, .rail, #toast, .btn, .iconbtn { display: none !important; }
  .app, .appmain { display: block; }
  main.screen { padding: 0; }
  .card, .guestrow { box-shadow: none; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
