body { font-size: 17px; line-height: 24px; padding-bottom: env(safe-area-inset-bottom); }
.bar { position: sticky; top: 0; z-index: 10; background: var(--soil); color: var(--on-soil); display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-2) var(--space-4); padding-top: max(var(--space-2), env(safe-area-inset-top)); min-height: 56px; }
.bar .lockup { color: var(--on-soil); }
.pill { font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 6px 14px; border: 1px solid var(--on-soil); background: transparent; color: var(--on-soil); min-height: 36px; }
.pill.waiting { background: var(--on-soil); color: var(--soil); }
.pill.offline { border-style: dashed; }
main { padding: var(--space-4); max-width: 640px; margin: 0 auto; }
.btn { height: var(--tap-min); font-size: 17px; }
.btn.block { width: 100%; }
.btn.small { height: 40px; font-size: 15px; }
input[type=text], input[type=email], input[type=tel], select, textarea { height: var(--tap-min); font-size: 17px; }
textarea { height: auto; }
.back { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: 600; text-decoration: none; }
.list { display: grid; gap: var(--space-2); }
.item { display: flex; gap: var(--space-3); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  min-height: 64px; text-decoration: none; color: var(--ink); width: 100%; text-align: left; font: inherit; cursor: pointer; }
.item .grow { flex: 1; min-width: 0; }
.item .sub { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.status { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid var(--border-control); }
.status.done { background: var(--success); border-color: var(--success); }
.status.not_home { background: var(--undecided); border-color: var(--ink-muted); border-style: dashed; }
.status.refused { background: var(--plum); border-color: var(--plum); }
.progress { height: 8px; background: var(--surface-sunken); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.progress span { display: block; height: 100%; background: var(--success); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.choice { font: inherit; font-weight: 600; min-height: var(--tap-min); border-radius: var(--radius-md); border: 2px solid var(--line); background: var(--surface); color: var(--ink); padding: 6px 8px; cursor: pointer; line-height: 20px; }
.choice[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.choice.party { border-color: transparent; }
.choice.party[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ground), 0 0 0 5px var(--ink); }
.section { margin-bottom: var(--space-6); }
.section > .label { display: block; margin-bottom: var(--space-2); }
.sticky-foot { position: sticky; bottom: 0; background: var(--ground); padding: var(--space-3) 0 max(var(--space-3), env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: var(--space-2); }
details.points { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
details.points summary { font-weight: 600; cursor: pointer; min-height: 32px; }
details.points div { white-space: pre-wrap; margin-top: var(--space-2); }
.check { min-height: var(--tap-min); }
.check input { width: 24px; height: 24px; }
