/* PC-P22: mobile UX consolidation */
.topbar-copy { min-width: 0; }
.feedback-link-compact b { font-size: 15px; line-height: 1; }
.feedback-link-compact span { display: inline; }

.home-welcome { display:grid; gap:18px; margin:2px 2px 24px; }
.home-welcome h1 { margin:0; font-size:clamp(34px,10vw,46px); letter-spacing:-.04em; line-height:1; }
.home-welcome p { margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.55; max-width:510px; }
.home-kicker { margin:0 0 5px !important; color:var(--brand) !important; font-size:11px !important; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.home-create { width:100%; }
.home-section { margin-top:28px; }
.home-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin:0 3px 12px; }
.home-section-head .eyebrow { display:block; margin-bottom:3px; }
.home-section-head h2 { margin:0; font-size:19px; line-height:1.15; }
.eyebrow { color:var(--brand); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.text-action { color:var(--brand-dark); font-size:12px; font-weight:900; text-decoration:none; }
.home-empty { margin-top:0; }
.event-card-home .event-hero { height:142px; }
.event-open-hint { float:right; color:var(--brand); font-weight:900; }
.home-tool-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.home-tool { min-height:104px; padding:15px; display:flex; flex-direction:column; justify-content:space-between; text-decoration:none; box-shadow:0 6px 20px rgba(76,47,35,.05); }
.home-tool-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:var(--brand-soft); color:var(--brand-dark); font-size:18px; font-weight:900; }
.home-tool strong { display:block; margin-top:12px; font-size:14px; }
.home-tool small { display:block; margin-top:3px; color:var(--muted); font-size:10px; line-height:1.35; }
.home-wide-link { min-height:76px; display:flex; align-items:center; gap:13px; padding:14px 15px; text-decoration:none; }
.home-wide-copy { min-width:0; flex:1; }
.home-wide-copy strong { display:block; font-size:15px; }
.home-wide-copy small { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.home-wide-link > b { color:var(--muted-2); font-size:24px; }
.admin-drawer { margin-top:28px; overflow:hidden; box-shadow:none; }
.admin-drawer summary { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 17px; cursor:pointer; list-style:none; }
.admin-drawer summary::-webkit-details-marker { display:none; }
.admin-drawer summary span { min-width:0; }
.admin-drawer summary strong { display:block; font-size:14px; }
.admin-drawer summary small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.admin-drawer summary > b { font-size:20px; color:var(--muted-2); }
.admin-tool-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:0 14px 14px; }
.admin-tool-grid a { min-height:46px; display:flex; align-items:center; justify-content:center; padding:8px; border:1px solid var(--line); border-radius:12px; background:var(--soft); color:var(--brand-dark); text-decoration:none; text-align:center; font-size:11px; font-weight:900; }
.compact-logout { margin-top:30px; }
.compact-logout .btn { min-height:44px; font-size:12px; }

.event-home-hero .summary-hero { height:210px; }
.event-home-hero .summary-body { padding:19px; }
.event-home-hero .summary-body h1 { font-size:27px; }
.event-date-line { margin-bottom:4px !important; }
.event-identity-link { display:inline-block; margin-top:7px; color:var(--brand); font-size:11px; font-weight:900; text-decoration:none; }
.focus-card { margin-top:14px; padding:19px; background:linear-gradient(145deg,#fff9f4,#fff); border-color:#eacfc0; }
.focus-card h2 { margin:5px 0 6px; font-size:20px; }
.focus-card p { margin:0 0 15px; color:var(--muted); font-size:12px; line-height:1.5; }
.access-card-compact { margin-top:12px; padding:15px; display:grid; grid-template-columns:1fr auto; gap:10px 12px; align-items:start; box-shadow:none; }
.access-card-compact strong { display:block; margin-top:4px; font-size:14px; }
.access-card-compact small { display:block; margin-top:3px; color:var(--muted); font-size:10px; line-height:1.4; }
.access-actions { grid-column:1/-1; margin-top:2px; }
.access-actions form { display:flex; flex:1 1 120px; }
.access-actions form .btn { width:100%; }
.admin-testing-note { margin:12px 2px 0; padding:9px 11px; border-radius:10px; background:#f7f2ec; color:var(--muted); font-size:10px; text-align:center; }
.event-manage-section { margin-top:28px; }
.compact-setup-grid { gap:9px; }
.compact-setup-grid .setup-card { min-height:76px; padding:13px 14px; border-radius:18px; box-shadow:0 5px 18px rgba(76,47,35,.045); }
.compact-setup-grid .setup-card strong { font-size:14px; }
.compact-setup-grid .setup-card span { font-size:10px; line-height:1.35; }
.compact-setup-grid .setup-icon { width:42px; height:42px; flex-basis:42px; }
.priority-setup { border-color:#e8c8b6; background:linear-gradient(145deg,#fff,#fff8f3); }
.event-more-card { margin-top:28px; overflow:hidden; box-shadow:none; }
.event-more-card a { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 15px; text-decoration:none; border-bottom:1px solid var(--line); font-size:12px; font-weight:900; }
.event-more-card a:last-child { border-bottom:0; }
.event-more-card a b { color:var(--muted-2); font-size:20px; }

@media (max-width:390px) {
  .feedback-link-compact { width:38px; height:38px; min-height:38px; padding:0; justify-content:center; }
  .feedback-link-compact span { display:none; }
  .home-tool-grid { gap:8px; }
  .home-tool { min-height:98px; padding:13px; }
}

@media (min-width:680px) {
  .home-welcome { grid-template-columns:1fr auto; align-items:end; }
  .home-create { width:auto; min-width:170px; }
  .home-tool-grid { grid-template-columns:repeat(4,1fr); }
  .event-list-home { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compact-setup-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .compact-setup-grid .setup-card:last-child:nth-child(odd) { grid-column:1/-1; }
}
