/* Clubhouse presentation only. Existing layout and behavior stay in app.css. */
:root {
  --ink: #173c32;
  --paper: #f5efdf;
  --card: #fffbf2;
  --line: #d5cebb;
  --muted: #53665b;
  --accent: #e7bb65;
  --ochre: #a57529;
  --river: #355e70;
  --orange: #b7643c;
}
body { border-top: 5px solid var(--ink); }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { font-family: inherit; }
select { touch-action: manipulation; }
.brand { padding: 16px 24px; gap: 12px; border-bottom: 0; }
.brand-mark { border-radius: 9px 9px 18px 18px; border: 2px solid var(--ochre); height: 48px; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 1px; margin-top: 3px; color: var(--muted); text-transform: uppercase; }
.page-actions { display: flex; align-items: center; gap: 14px; }
.page-actions a { min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.page-actions form { margin: 0; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 20; padding: 12px; background: var(--card); }
.skip-link:focus { top: 12px; }
.app-nav { position: sticky; top: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-nav > div { max-width: 1080px; margin: auto; padding: 6px 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.app-nav a { min-height: 44px; display: grid; place-items: center; padding: 8px 20px; border-radius: 7px; font-size: 14px; font-weight: 650; text-decoration: none; }
.app-nav a[aria-current="page"] { color: var(--card); background: var(--ink); }
.app-nav a:not([aria-current]):hover { background: #e9dfca; }
main { padding-top: 28px; }
.trip-heading { gap: 24px; margin-bottom: 24px; }
.trip-heading h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -1.2px; margin-bottom: 12px; }
.trip-heading .eyebrow { margin-bottom: 12px; color: var(--river); }
.retreat-note { border-left: 3px solid var(--orange); padding-left: 12px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
/* Approved portrait stays intact at every viewport; controls stay in HTML. */
.trip-intro { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; align-items: center; margin-bottom: 28px; }
.trip-intro .trip-heading { display: block; margin: 0; }
.trip-intro .top-add { display: inline-flex; margin-top: 20px; }
.retreat-poster { width: 100%; max-width: 360px; margin: 0 auto; border: 1px solid var(--line); padding: 8px; background: var(--card); border-radius: 10px; }
.retreat-poster img { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 799px) {
  .trip-intro { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .trip-intro .top-add { display: flex; max-width: 360px; }
}
.primary { border-radius: 8px; }
.primary:hover { background: #285547; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; }
.board-summary { background: #e7e8d7; border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.board-toolbar { margin-bottom: 24px; }
.view-tabs { border-radius: 9px; background: #e8dfcb; }
.view-tabs a { min-height: 44px; border-radius: 6px; }
.meal-card, .person-card, .commodity-card, .admin-card { border-radius: 10px; box-shadow: 0 3px 0 #173c3205; }
.meal-heading { background: #f3ecdb; border-bottom-color: var(--line); }
.meal-heading h3 { font-size: 23px; }
.meal-kicker { color: var(--river); }
.group-heading h2, .people-section > h2 { font-family: Georgia, serif; font-weight: 400; }
.group-heading { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.coverage { font-size: 11px; border-radius: 5px; }
.coverage.needed { background: #f4e2bc; color: #744d16; }
.coverage.covered { background: #e2e9d9; color: #315439; }
.empty-meal { color: var(--muted); padding-bottom: 16px; }
.add-to-meal { color: var(--ink); background: #f6f0e3; }
.dish-main { color: #3f6235; }
.person-grid { gap: 16px; }
.person-avatar { background: #dce5de; color: var(--river); }
.people-section { margin: 28px 0; scroll-margin-top: 80px; }
.people-nav { gap: 8px; }
.people-nav a { min-height: 44px; background: var(--card); padding: 11px 14px; border-radius: 7px; }
.commodity-card { padding: 22px; border-top: 4px solid var(--ochre); }
.commodity-card h2 { margin-bottom: 16px; }
.commodity-card:hover { background: #f7efdc; border-color: var(--ochre); }
.commodity-total strong { color: var(--river); }
.commodity-card small { color: #3d6037; }
.admin-stats > div { background: #e7e8d7; border: 1px solid var(--line); border-radius: 8px; }
.admin-card { padding: 22px; }
.field input, .field textarea, .field select { border-color: #adaf9b; border-radius: 7px; background: var(--card); }
.form-identity, .optional { color: var(--muted); }
.back-link { min-height: 44px; margin-bottom: 18px; padding-top: 10px; }
.notice, .save-notice, .form-error, .empty-state { border-radius: 9px; }
.remove-contribution { color: #8b3d2b; min-height: 48px; }
footer { border-top: 2px solid var(--line); }
@media (max-width: 600px) {
  .brand { padding: 12px 16px; flex-wrap: nowrap; }
  .brand a { font-size: 13px; gap: 8px; }
  .brand-mark { width: 42px; height: 44px; flex-shrink: 0; }
  .page-actions a { font-size: 11px; max-width: 110px; text-align: right; }
  .app-nav > div { padding: 5px 12px; gap: 3px; }
  .app-nav a { flex: 1 0 auto; min-width: max-content; padding: 8px 5px; font-size: 12px; }
  main { padding: 22px 16px 40px; }
  .trip-heading h1 { font-size: 34px; }
  .trip-heading .eyebrow { margin-bottom: 10px; }
  .top-add { margin-top: 16px; }
  .board-summary { padding: 16px; gap: 20px; }
  .board-summary > div + div { padding-left: 20px; }
  .meal-heading { padding: 16px; }
  .meal-items { padding: 0 16px; }
  .meal-grid { gap: 14px; }
  .coverage { font-size: 10px; }
  .person-card, .commodity-card, .admin-card { padding: 18px; }
  .admin-stats { gap: 10px; }
  .admin-stats > div { padding: 16px; }
}

/* River Commodities ledger; detail and Admin pages retain their existing layout. */
.commodity-grid{grid-template-columns:1fr;gap:8px}
.commodity-grid .commodity-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:4px 12px;padding:12px 14px;border-top:1px solid var(--line);border-left:4px solid var(--ochre);border-radius:8px;align-items:center}
.commodity-grid .commodity-card h2{font-size:21px;line-height:1.25;margin:0}
.commodity-grid .commodity-total{font-size:16px;line-height:1.4;margin:0;text-align:right;max-width:130px}
.commodity-grid .commodity-card>p:last-of-type{margin:0;font-size:12px;justify-content:flex-start;gap:8px}
.commodity-grid .commodity-card small{font-size:12px;line-height:1.4;margin:0;text-align:right;max-width:130px}

.commodity-grid .commodity-total strong{font-size:21px}

/* Compact People roster; scoped away from Meals and Admin attendance controls. */
.roster-list{grid-template-columns:1fr;gap:8px}
.roster-list .roster-row{padding:10px 14px;border-left:4px solid #a4aaa4;border-radius:8px;background:#f1f1ec}
.roster-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.roster-row h3{font:700 23px/1.2 Georgia,serif;letter-spacing:-.2px;margin:0;min-width:0}
.roster-status{padding:3px 8px;border-radius:999px;background:#e1e3de;color:#626b65;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;flex-shrink:0}
.roster-row.status-attending{border-left-color:#6f8f5a;background:#f0f4ea}
.roster-row.status-attending .roster-status{background:#dce9d4;color:#41653d}
.roster-row.status-unconfirmed{border-left-color:#c4932f;background:#faf3e2}
.roster-row.status-unconfirmed .roster-status{background:#f2e2b9;color:#805d18}
.roster-row.status-not-attending{border-left-color:#9aa09c;background:#f0f0ec}
.roster-row.status-not-attending .roster-status{background:#dfe1dd;color:#59625d}
.roster-row .attendance-window{font-size:12px;font-weight:600;line-height:1.45;margin:7px 0 2px;padding:6px 8px;border-left:2px solid #a7b59f;background:#ffffff80;color:#536259;overflow-wrap:anywhere}
.roster-row>.small{font-size:12px;margin:4px 0}
.roster-row .eligible-preview{margin-top:0}
.roster-row .eligible-preview summary{padding:8px 0;min-height:44px}
.people-editor{max-width:560px;padding:8px 14px;margin:18px 0}
.people-editor>summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:650;overflow-wrap:anywhere}
.people-editor .travel-plan-form{margin-top:8px}
.people-editor .travel-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.people-editor .field input,.people-editor .field select{min-width:0;width:100%}
@media(max-width:600px){
  .attendance-group.status-attending{margin:22px 0}
  .attendance-group.status-attending>h2{font-size:24px;margin:0 0 8px}
  .attendance-group.status-attending .roster-list{gap:0}
  .attendance-group.status-attending .roster-row{padding:3px 7px;border-top:0;border-right:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
  .attendance-group.status-attending .roster-row h3{font-size:18px;line-height:1.15}
  .attendance-group.status-attending .roster-status{padding:2px 6px;font-size:8px}
  .attendance-group.status-attending .attendance-window{margin:2px 0 0;padding:0;border:0;background:transparent;font-size:11px;line-height:1.3}
  .attendance-group.status-attending .eligible-preview{margin:0}
  .attendance-group.status-attending .eligible-preview summary{min-height:22px;padding:1px 0;font-size:10px;line-height:1.2}
  .attendance-group.status-attending .eligible-preview ul{margin:2px 0 5px;padding-left:18px;font-size:11px}
}

/* Meal planning ledger; contribution ownership/edit handlers remain unchanged. */
.meals-ledger .meal-grid,.meals-ledger .person-grid{grid-template-columns:1fr;gap:0}
.meals-ledger .meal-card,.meals-ledger .person-card{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent}
.meals-ledger .meal-group{margin-bottom:22px}
.meals-ledger .group-heading{margin-bottom:4px}
.meals-ledger .meal-heading{padding:8px 0;background:transparent;border-bottom:0}
.meals-ledger .meal-heading>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.meals-ledger .meal-heading h3{font-size:20px}
.meals-ledger .meal-headcount{font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap}
.meals-ledger .meal-kicker{margin:0;font-size:12px}
.meals-ledger .meal-group-day .group-heading{align-items:center;margin:0 0 6px;padding:10px 12px;background:#e9ecdf;border-top:3px solid var(--ink);border-bottom:1px solid #c9d0c2}
.meals-ledger .meal-group-day .group-heading h2{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:21px;font-weight:800;letter-spacing:.01em}
.meals-ledger .meal-group-day .group-heading>span{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.meals-ledger .meal-card .meal-heading{padding-left:10px;border-left:4px solid transparent}
.meals-ledger .meal-type-breakfast .meal-heading{background:#edf3e7;border-left-color:#6f8f5a}
.meals-ledger .meal-type-breakfast .meal-heading h3{color:#41653d;font-weight:700}
.meals-ledger .meal-type-lunch .meal-heading{background:#faf0d7;border-left-color:#c4932f}
.meals-ledger .meal-type-lunch .meal-heading h3{color:#805d18;font-weight:700}
.meals-ledger .meal-type-dinner .meal-heading{background:#f8e8e2;border-left-color:#c96b56}
.meals-ledger .meal-type-dinner .meal-heading h3{color:#914a3e;font-weight:700}
.meals-ledger .meal-type-extras .meal-heading{background:#f0ede4;border-left-color:#8a806b}
.meals-ledger .meal-type-extras .meal-heading h3{color:#5f594d;font-size:16px;font-weight:700}
.destination-choice{display:flex;gap:16px;border:0;padding:0;margin:0}.destination-choice legend{font-size:12px;font-weight:700;margin-bottom:8px}.destination-choice label{display:flex;align-items:center;gap:6px}.form-destination{margin:0;color:var(--muted);font-size:13px;font-weight:700}
.meals-ledger .meal-items{padding:0}
.meals-ledger .contribution{padding:6px 0;gap:8px;align-items:center}
.meals-ledger .dish-line{gap:4px 8px}
.meals-ledger .dish-line h4{font-size:15px}
.meals-ledger .contributor{margin:0;font-size:13px;overflow-wrap:anywhere}
.meals-ledger .dish-main{font-size:11px;letter-spacing:.4px}
.meals-ledger .item-note{margin:2px 0 0;font-size:13px;line-height:1.4}
.meals-ledger .edit-item{margin:0;font-size:13px;padding:10px 0 10px 8px}
.meals-ledger .empty-meal{font-size:13px;margin:4px 0;padding:0}
.meals-ledger .add-to-meal{min-height:44px;padding:8px 0;border:0;background:transparent}
.meals-ledger .person-card{padding:10px 0}
.meals-ledger .person-heading{padding-bottom:8px}
.meals-ledger .person-item{padding-top:6px}
.meals-ledger .person-meal{font-size:12px}
