:root {
  --bg: #f7f4ef;
  --surface: rgba(255,255,255,.94);
  --surface-solid: #fff;
  --ink: #1f1c1a;
  --muted: #746e69;
  --brand: #713642;
  --brand-dark: #5e2b35;
  --gold: #b89b72;
  --border: #e7e0d8;
  --success: #365a4c;
  --danger: #8b4b4a;
  --shadow: 0 22px 70px rgba(49, 35, 30, .10);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--ink); background:
  radial-gradient(circle at 15% 5%, rgba(184,155,114,.12), transparent 25%),
  radial-gradient(circle at 90% 22%, rgba(113,54,66,.08), transparent 26%), var(--bg);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.ambient { position: fixed; pointer-events: none; filter: blur(80px); opacity: .25; z-index: -1; }
.ambient-one { width: 260px; height: 260px; background: #dfcbb2; top: 100px; left: -140px; border-radius: 50%; }
.ambient-two { width: 300px; height: 300px; background: #d7b9bf; right: -180px; top: 36%; border-radius: 50%; }
.site-header { width: min(100%, 980px); margin: 0 auto; padding: 24px 22px 14px; display:flex; justify-content:space-between; align-items:center; }
.brand { display:flex; align-items:center; gap:11px; letter-spacing:.06em; }
.brand-mark { display:grid; place-items:center; width:38px; height:38px; border:1px solid rgba(113,54,66,.22); border-radius:50%; color:var(--brand); font-family: Georgia, serif; font-size:22px; background:rgba(255,255,255,.55); }
.brand strong { display:block; font-size:12px; letter-spacing:.18em; }
.brand small { display:block; font-size:10px; color:var(--muted); letter-spacing:.03em; margin-top:2px; }
.page-shell { width:min(100% - 32px, 520px); margin: 12px auto 80px; }
.hero-card { padding: 58px 28px 42px; border-top: 1px solid var(--border); }
.hero-card h1, .intro-block h1, .welcome-row h1 { font-family: Georgia, "Times New Roman", serif; font-weight:500; letter-spacing:-.035em; line-height:1.14; margin:10px 0 18px; }
.hero-card h1 { font-size:clamp(40px,11vw,58px); }
.intro-block { margin: 20px 4px 28px; }
.intro-block.centered { text-align:center; }
.intro-block.spacious { padding-top: 60px; }
.intro-block h1 { font-size:clamp(37px,9vw,50px); }
.welcome-row h1 { font-size:clamp(34px,8vw,48px); }
.eyebrow { margin:0; font-size:11px; font-weight:700; color:var(--brand); letter-spacing:.16em; text-transform:uppercase; }
.lead { color:var(--muted); font-size:16px; margin:0; }
.card { background:var(--surface); border:1px solid rgba(231,224,216,.96); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; backdrop-filter: blur(16px); }
.form-card { display:flex; flex-direction:column; gap:18px; }
.form-card.bare { box-shadow:none; border:0; background:transparent; padding:18px 0 0; }
.section-heading { display:flex; align-items:flex-start; gap:14px; margin:26px 0 18px; }
.section-heading:first-child { margin-top:0; }
.section-heading > span { display:grid; place-items:center; flex:0 0 34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; font-size:11px; letter-spacing:.08em; }
.section-heading h2 { font-size:22px; margin:0; letter-spacing:-.02em; }
.section-heading p { color:var(--muted); margin:3px 0 0; font-size:14px; }
.section-heading > strong { margin-left:auto; font-size:14px; color:var(--brand); padding-top:6px; }
.section-heading.compact { margin-top:10px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field > span { font-size:13px; font-weight:700; }
.field small { color:var(--muted); font-size:12px; }
input, textarea, select { width:100%; border:1px solid var(--border); border-radius:14px; background:#fbfaf8; color:var(--ink); padding:14px 15px; outline:none; transition:border-color .18s, box-shadow .18s, background .18s; }
input:focus, textarea:focus, select:focus { border-color:rgba(113,54,66,.55); box-shadow:0 0 0 4px rgba(113,54,66,.08); background:#fff; }
textarea { resize:vertical; }
.suffix-input { display:flex; position:relative; align-items:center; }
.suffix-input input { padding-right:48px; }
.suffix-input > span { position:absolute; right:16px; color:var(--muted); font-size:13px; }
.form-grid { display:grid; gap:14px; }
.form-grid.two { grid-template-columns:1fr 1fr; }
.segmented-field { border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.segmented-field legend { font-size:13px; font-weight:700; margin-bottom:8px; }
.segmented-field label input { position:absolute; opacity:0; }
.segmented-field label span { display:grid; place-items:center; min-height:48px; border:1px solid var(--border); border-radius:14px; background:#fbfaf8; cursor:pointer; }
.segmented-field input:checked + span { border-color:var(--brand); color:var(--brand); background:#fbf3f5; font-weight:700; }
.primary-button, .secondary-button, .ghost-button { min-height:52px; border-radius:15px; border:1px solid transparent; display:inline-flex; justify-content:center; align-items:center; padding:13px 18px; font-weight:700; cursor:pointer; transition:transform .16s, background .16s, border-color .16s; text-align:center; }
.primary-button { background:var(--brand); color:white; box-shadow:0 10px 25px rgba(113,54,66,.22); }
.primary-button:hover { background:var(--brand-dark); }
.secondary-button { background:#fff; color:var(--ink); border-color:var(--border); }
.secondary-button:hover { border-color:#cdbfae; background:#fdfbf9; }
.ghost-button { min-height:42px; background:transparent; border-color:var(--border); color:var(--muted); }
.ghost-button.small { min-height:38px; padding:8px 12px; font-size:12px; }
.primary-button:active, .secondary-button:active, .ghost-button:active { transform:scale(.985); }
.is-submitting { pointer-events:none; opacity:.82; }
.primary-button.wide { width:100%; margin-top:12px; }
.text-button { border:0; background:transparent; color:var(--brand); font-weight:700; cursor:pointer; padding:8px; }
.text-link { color:var(--muted); text-decoration:underline; text-underline-offset:4px; display:inline-block; margin-top:16px; }
.button-row { display:flex; gap:10px; flex-wrap:wrap; }
.button-row > * { flex:1 1 150px; }
.consent-card { border:1px solid var(--border); border-radius:16px; background:#fbfaf8; overflow:hidden; }
.consent-summary { display:flex; gap:10px; align-items:flex-start; justify-content:space-between; padding:16px; }
.consent-summary p { margin:5px 0 0; color:var(--muted); font-size:12px; }
.consent-title { font-size:13px; font-weight:700; }
.badge { display:inline-flex; align-items:center; border-radius:20px; padding:3px 7px; font-size:9px; margin-right:6px; }
.badge-required { background:#efe2e5; color:var(--brand); }
.consent-detail { padding:0 16px 16px; color:var(--muted); font-size:13px; border-top:1px dashed var(--border); }
.consent-detail h4 { color:var(--ink); margin:15px 0 3px; font-size:13px; }
.consent-detail p { margin:0 0 7px; }
.check-row { display:flex; gap:9px; align-items:center; border-top:1px solid var(--border); padding:13px 16px; font-size:13px; cursor:pointer; }
.check-row input { width:19px; height:19px; accent-color:var(--brand); }
.welcome-row { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:20px 4px 26px; }
.status-orb { white-space:nowrap; display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border); border-radius:30px; background:rgba(255,255,255,.8); padding:9px 12px; color:var(--muted); font-size:12px; box-shadow:0 8px 20px rgba(49,35,30,.05); }
.status-orb > span { width:8px; height:8px; background:var(--success); border-radius:50%; box-shadow:0 0 0 5px rgba(54,90,76,.10); }
.return-card { display:flex; flex-direction:column; gap:16px; margin-bottom:26px; }
.return-card p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.section-block { margin-top:30px; }
.choice-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; }
.person-choice { min-height:142px; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.75); display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; padding:16px; cursor:pointer; color:var(--ink); transition:.18s ease; }
.person-choice:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(49,35,30,.08); }
.person-choice.selected { background:linear-gradient(145deg,#7d4250,#65303b); border-color:transparent; color:#fff; box-shadow:0 16px 35px rgba(113,54,66,.22); }
.person-number { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:1px solid currentColor; font-family:Georgia,serif; font-size:23px; opacity:.9; }
.person-number.small-number { width:36px; height:36px; font-size:18px; }
.choice-action { font-size:11px; opacity:.65; }
.microcopy { color:var(--muted); font-size:12px; margin:12px 4px 0; }
.centered-state { text-align:center; padding:48px 25px; }
.centered-state.spacious { padding:72px 25px; }
.centered-state h2 { font-family:Georgia,serif; font-weight:500; font-size:32px; line-height:1.25; }
.centered-state p { color:var(--muted); }
.readonly-pills { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:18px; }
.readonly-pills span, .status-chip { border:1px solid var(--border); background:#fbfaf8; color:var(--muted); border-radius:999px; padding:7px 10px; font-size:11px; }
.match-card, .process-card, .empty-result { margin-bottom:14px; }
.match-ribbon { color:var(--success); font-size:12px; font-weight:700; }
.match-card h3, .process-card h3 { font-size:22px; margin:6px 0; }
.contact-number { font-family:Georgia,serif; font-size:28px; letter-spacing:.02em; margin:14px 0; }
.empty-result h3 { margin-top:0; }
.empty-result p { color:var(--muted); }
.recommendation-form { box-shadow:none; }
.choice-list { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.radio-person { display:flex; align-items:center; gap:12px; padding:13px; border:1px solid var(--border); border-radius:15px; cursor:pointer; }
.radio-person input { width:18px; height:18px; accent-color:var(--brand); }
.process-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.process-card > p { color:var(--muted); }
.profile-card { overflow:hidden; background:#fff; border:1px solid var(--border); border-radius:22px; box-shadow:var(--shadow); }
.profile-card img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; background:#e9e2da; }
.profile-body { padding:20px; }
.profile-body h2, .profile-body h3 { margin:4px 0 12px; }
.profile-meta { color:var(--muted); margin:0; font-size:13px; }
.profile-body blockquote { margin:16px 0 0; padding-left:14px; border-left:2px solid var(--gold); color:#544e4a; }
.hero-profile { margin-bottom:16px; }
.compact-profile { display:grid; grid-template-columns:120px 1fr; margin:16px 0; box-shadow:none; }
.compact-profile img { aspect-ratio:4/5; height:100%; }
.preview-mini { display:grid; grid-template-columns:110px 1fr; margin-bottom:16px; box-shadow:none; }
.preview-mini img { height:100%; }
.verified-badge { display:inline-flex; background:#f1ede7; color:var(--success); border-radius:999px; padding:6px 9px; font-size:10px; font-weight:700; margin-bottom:12px; }
.privacy-note { margin:14px 6px; color:var(--muted); font-size:12px; text-align:center; }
.decision-card { box-shadow:none; }
.photo-upload { position:relative; min-height:240px; border:1px dashed #cbbfb2; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:#fbfaf8; overflow:hidden; cursor:pointer; padding:20px; }
.photo-upload input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.photo-upload small { color:var(--muted); margin-top:6px; }
.photo-icon { display:grid; place-items:center; width:50px; height:50px; border-radius:50%; border:1px solid var(--border); font-size:24px; color:var(--brand); margin-bottom:12px; }
.photo-upload img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; }
.connection-box { text-align:center; padding:34px; }
.connection-box h2, .connection-box h3 { font-family:Georgia,serif; font-weight:500; font-size:34px; margin:10px 0; }
.toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%, 130%); background:#24211f; color:#fff; border-radius:12px; padding:12px 16px; font-size:13px; z-index:100; transition:transform .25s ease; box-shadow:0 14px 30px rgba(0,0,0,.2); max-width:calc(100% - 40px); }
.toast.show { transform:translate(-50%, 0); }
.soft-panel, .privacy-note { border:1px solid var(--border); border-radius:15px; padding:14px; background:rgba(255,255,255,.55); }
.stack { display:flex; flex-direction:column; }.gap-sm{gap:10px}
.admin-grid { display:grid; gap:14px; }
.admin-event-card { display:block; }
.admin-event-card p { color:var(--muted); }
.metric-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.metric-row span { border-right:1px solid var(--border); padding-right:12px; color:var(--muted); font-size:12px; }
.metric-row span:last-child { border:0; }
.metric-row strong { color:var(--ink); font-size:18px; margin-right:4px; }
.metric-row.large strong { font-size:28px; display:block; }
.admin-create { margin-top:18px; }
details > summary { cursor:pointer; font-weight:700; }
.admin-control { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:14px; }
.admin-control h2, .qr-admin h2 { margin:0; }
.admin-control p, .qr-admin p { color:var(--muted); margin:4px 0 0; font-size:13px; }
.qr-admin { display:grid; grid-template-columns:1fr 110px; gap:14px; align-items:center; margin-bottom:16px; }
.qr-admin img { width:110px; border-radius:12px; border:1px solid var(--border); }
.qr-admin .secondary-button { grid-column:1/-1; }
.admin-columns { display:grid; gap:16px; }
.admin-table { display:flex; flex-direction:column; gap:2px; margin:14px 0; }
.admin-table > div { display:grid; grid-template-columns:1fr 1fr .8fr .7fr; gap:8px; padding:10px 0; border-bottom:1px solid var(--border); font-size:12px; }
.admin-table.recommendations > div { grid-template-columns:1.5fr 1fr 1fr; }
.admin-table.likes-table > div { grid-template-columns:minmax(110px,1fr) 28px minmax(110px,1fr) auto; align-items:center; }
.mutual-chip, .oneway-chip { display:inline-flex; align-items:center; justify-content:center; justify-self:start; padding:4px 8px; border-radius:999px; white-space:nowrap; font-size:10px; font-weight:800; }
.mutual-chip { background:#f3e4e8; color:#7a3442; }
.oneway-chip { background:#f2f0ec; color:#6b655f; }
@media (min-width: 900px) {
  .page-shell { width:min(100% - 60px, 980px); }
  .hero-card { max-width:720px; }
  .admin-columns { grid-template-columns:1.05fr .95fr; }
  .admin-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 520px) {
  .page-shell { width:min(100% - 24px, 500px); }
  .site-header { padding-left:15px; padding-right:15px; }
  .form-grid.two { grid-template-columns:1fr; }
  .choice-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .person-choice { min-height:132px; padding:14px; }
  .welcome-row { flex-direction:column; }
  .compact-profile, .preview-mini { grid-template-columns:95px 1fr; }
  .admin-control { flex-direction:column; align-items:stretch; }
  .admin-table > div { grid-template-columns:1fr 1fr; }
  .qr-admin { grid-template-columns:1fr 95px; }
  .qr-admin img { width:95px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; } }
.danger-text{color:#8a3f48!important}.break-all{word-break:break-all}.lower-admin{margin-top:16px}.recommendation-row{grid-template-columns:1.45fr .8fr 1fr auto!important;align-items:center}.recommendation-row form{margin:0}.warning-panel,.success-panel{border-radius:15px;padding:15px;margin:12px 0}.warning-panel{background:#f8eded;border:1px solid #e6c8cc;color:#6f333c}.success-panel{background:#eef4f0;border:1px solid #cadbd1;color:#365a4c}.warning-panel p,.success-panel p{margin:5px 0 0;font-size:12px}.deletion-table>div{grid-template-columns:1.5fr .45fr 1.2fr}.soft-panel p{margin:6px 0 0;color:var(--muted);font-size:12px}.admin-shell{max-width:1120px}
@media(max-width:720px){.recommendation-row{grid-template-columns:1fr 1fr!important}.recommendation-row form{grid-column:1/-1}.deletion-table>div{grid-template-columns:1fr!important}.participants-table>div{grid-template-columns:1fr 1fr!important}}
@media(max-width:720px){.admin-table.likes-table>div{grid-template-columns:1fr 22px 1fr!important}.admin-table.likes-table>div span:nth-child(2){display:inline}.admin-table.likes-table>div span:last-child{grid-column:1/-1}}

/* v1.1 mobile usability and friend-result lookup */
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom); }
img { max-width: 100%; }
input, textarea, select { min-height: 50px; }
button, .primary-button, .secondary-button, .ghost-button { touch-action: manipulation; }
.card, .soft-panel, .profile-body, .consent-detail, .admin-table span { overflow-wrap: anywhere; }
.lookup-entry-card { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-shadow: none; }
.lookup-entry-card h2 { margin: 5px 0 7px; font-size: 21px; }
.lookup-entry-card p { margin: 0; color: var(--muted); font-size: 13px; }
.lookup-entry-card .secondary-button { flex: 0 0 auto; }
.lookup-form { max-width: 520px; margin: 0 auto; }
.centered-link { align-self: center; margin-top: 0; }
.lookup-switch { margin-bottom: 14px; box-shadow: none; }
.lookup-switch p { color: var(--muted); margin-top: 0; }
.legacy-recovery { box-shadow: none; }
.recovery-guide { margin-bottom: 2px; }

@media (max-width: 520px) {
  .site-header { padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .brand small { display: none; }
  .page-shell { width: calc(100% - 24px); margin-top: 4px; margin-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .hero-card { padding: 36px 8px 26px; }
  .hero-card h1 { font-size: clamp(37px, 12vw, 48px); }
  .intro-block { margin: 14px 2px 22px; }
  .intro-block h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .lead { font-size: 15px; }
  .card { padding: 18px; border-radius: 18px; }
  .form-card { gap: 15px; }
  input, textarea, select { font-size: 16px; padding: 13px 14px; }
  .section-heading { gap: 11px; margin: 22px 0 15px; }
  .section-heading > span { flex-basis: 31px; height: 31px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading p { font-size: 12px; }
  .consent-summary { padding: 14px; }
  .consent-detail { padding: 0 14px 14px; }
  .check-row { padding: 13px 14px; }
  .primary-button, .secondary-button { width: 100%; min-height: 50px; }
  .button-row { flex-direction: column; }
  .button-row > * { flex-basis: auto; width: 100%; }
  .choice-grid { gap: 8px; }
  .person-choice { min-height: 122px; padding: 13px; }
  .person-choice:hover { transform: none; }
  .contact-number { font-size: clamp(23px, 7.5vw, 28px); word-break: break-all; }
  .profile-body { padding: 16px; }
  .photo-upload { min-height: 210px; }
  .centered-state { padding: 38px 18px; }
  .centered-state.spacious { padding: 54px 18px; }
  .connection-box { padding: 28px 16px; }
  .lookup-entry-card { flex-direction: column; align-items: stretch; padding: 18px; }
  .lookup-entry-card .secondary-button { width: 100%; }
  .return-card { margin-bottom: 20px; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); width: calc(100% - 28px); text-align: center; }
}

@media (max-width: 380px) {
  .page-shell { width: calc(100% - 18px); }
  .site-header { padding-left: 12px; padding-right: 12px; }
  .brand strong { font-size: 11px; }
  .card { padding: 16px; }
  .choice-grid { grid-template-columns: 1fr; }
  .person-choice { min-height: 96px; }
  .compact-profile, .preview-mini { grid-template-columns: 1fr; }
  .compact-profile img, .preview-mini img { width: 100%; max-height: 310px; }
  .segmented-field { gap: 8px; }
}

/* Prevent hidden radio controls and decorative glows from widening mobile pages. */
html, body { overflow-x: clip; }
.segmented-field label { position: relative; min-width: 0; }
.segmented-field label input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}

.consent-summary > div:first-child { min-width: 0; }
.consent-toggle { flex: 0 0 auto; min-width: 48px; white-space: nowrap; }
.toast { opacity: 0; visibility: hidden; transform: translate(-50%, calc(100% + 48px)); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* v1.2 mobile-first role login and two-phase operation */
.login-intro { margin-bottom: 16px; }
.role-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; margin:0 0 12px; border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.62); }
.role-tab { min-height:48px; border:0; border-radius:12px; background:transparent; color:var(--muted); font-weight:800; cursor:pointer; }
.role-tab.active { background:var(--surface-solid); color:var(--brand); box-shadow:0 8px 20px rgba(49,35,30,.08); }
.login-card { margin-top:0; }
.role-help { margin:2px 0 4px; }
.role-help strong { display:block; }
.role-help p { margin:5px 0 0; }
.first-section { margin-top:10px; }
.participant-welcome { margin-bottom:4px; }
.waiting-card { box-shadow:none; }
.phase-card { margin-top:26px; text-align:left; box-shadow:none; }
.phase-card h2, .closed-banner h2 { margin:5px 0 8px; font-size:22px; }
.phase-card p, .closed-banner p { margin:0; color:var(--muted); }
.readonly-left { justify-content:flex-start; }
.closed-banner { margin-top:24px; border-color:#ddc3c7; background:#faf0f1; box-shadow:none; }
.admin-action-stack { display:flex; flex-direction:column; gap:8px; min-width:230px; }
.admin-action-stack form { margin:0; }
.admin-action-stack button { width:100%; }
.danger-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 18px; border:1px solid #c9969d; border-radius:14px; background:#fff5f6; color:#7e3540; font-weight:800; cursor:pointer; }

@media (max-width: 520px) {
  .login-intro { margin-bottom:14px; }
  .role-tabs { position:sticky; top:8px; z-index:10; backdrop-filter:blur(12px); }
  .login-card { padding:17px; }
  .login-fields { gap:12px; }
  .participant-welcome h1 { font-size:clamp(31px,9vw,40px); }
  .participant-welcome .status-orb { align-self:flex-start; }
  .section-heading { align-items:flex-start; }
  .section-heading > strong { margin-left:auto; white-space:nowrap; }
  .person-choice { min-height:112px; }
  .admin-action-stack { min-width:0; width:100%; }
  .phase-control { gap:14px; }
}

@media (max-width: 360px) {
  .choice-grid { grid-template-columns:1fr; }
  .person-choice { min-height:92px; }
}

/* v1.2.0: selected cards must keep readable contrast on every child element. */
.person-choice.selected,
.person-choice.selected * {
  color: #fff;
}
