.site { max-width: 1100px; padding: 0 32px; margin: auto; }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); margin-bottom: 30px; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.user-name { color: var(--text-secondary); font-size: 12px; }
main { min-height: calc(100dvh - 205px); }
.portal-heading { display: flex; justify-content: space-between; align-items: start; margin: 25px 0; gap: 15px; }
.portal-heading h1 { font-size: 20px; }
.portal-heading:has(+ #event-picker[hidden]) #portal-title { font-size: 14px; color: var(--text-secondary); font-weight: 450; letter-spacing: 0; }
.event-heading { padding: 20px 0 0; }
.event-heading h2 { font-size: clamp(28px,3vw,36px); letter-spacing: -.04em; line-height: 1.2; margin-bottom: 9px; }
.hero-date { color: var(--text-secondary); margin-bottom: 12px; }
.overview-grid { display: grid; grid-template-columns: repeat(2,1fr); column-gap: 45px; row-gap: 25px; padding-top: 30px; margin-top: 22px; border-top: 1px solid var(--border-subtle); }
.info-card { min-width: 0; overflow-wrap: anywhere; padding: 0 0 20px; }
.info-card h3 { font-size: 12px; font-weight: 600; }
.info-card p { font-size: 13px; margin-bottom: 6px; }
.info-card .info-icon { display: inline-flex; width: 22px; height: 22px; margin-bottom: 10px; color: var(--accent); }
.info-icon svg { width: 100%; height: 100%; }
.portal-heading svg,.picker svg,.pagination svg,.text-link svg,.icon-button svg,.auth-card button svg { width: 17px; height: 17px; flex: none; vertical-align: middle; }
.icon-button svg { width: 20px; height: 20px; }
.access-note { color: var(--text-secondary); font-size: 12px; border-top: 1px solid var(--border-subtle); padding-top: 16px; }
.event-grid { min-width: 0; margin: 20px 0; }
#portal-stats { margin: 20px 0; }
#portal-stats .metric-strip { margin-bottom: 10px; }
#guests-list .guest-name { font-size: 13px; font-weight: 550; margin: 0; overflow-wrap: anywhere; }
#guests-list td:last-child { width: 105px; }
.feedback { position: fixed; bottom: max(20px,env(safe-area-inset-bottom)); right: 25px; width: 315px; max-width: calc(100vw - 32px); padding: 22px; background: white; border: 1px solid #D8D8D0; border-radius: 10px; box-shadow: 0 5px 25px #17171512; }
.feedback h2 { font-size: 16px; }
.feedback p { color: var(--text-secondary); font-size: 12px; }
.rating { display: flex; gap: 8px; margin: 16px 0 10px; }
.rating button { width: 42px; min-height: 37px; padding: 6px; background: var(--bg-muted); color: var(--text-primary); border-color: var(--border-subtle); }
.rating button:hover { border-color: var(--accent); }
footer { border-top: 1px solid var(--border-subtle); display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-top: 45px; padding: 25px 0; color: var(--text-secondary); font-size: 11px; }
@media (max-width: 768px) { .site { padding: 0 24px; } .overview-grid { column-gap: 24px; } }
@media (max-width: 600px) {
  .site { padding: 0 18px; }
  .topbar { min-height: 75px; margin-bottom: 20px; }
  .brand { font-size: 17px; }
  .top-actions { gap: 7px; }
  .user-name { max-width: 95px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .top-actions button { font-size: 11px; padding: 7px; }
  .portal-heading { margin: 20px 0; }
  .portal-heading .eyebrow { font-size: 9px; }
  .event-heading { padding-top: 8px; }
  .event-heading h2 { font-size: 29px; }
  .overview-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 24px; }
  .info-card { padding-bottom: 16px; }
  #guests-list td { padding: 11px 8px; }
  #guests-list td:last-child { width: auto; }
  #guests-list .guest-name { max-width: 130px; }
  #guests-list button { font-size: 10px; padding: 6px; }
  .section-head .toolbar { gap: 5px; justify-content: flex-end; }
  .section-head .toolbar button { font-size: 11px; padding: 6px 8px; }
  .feedback { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); }
  footer { gap: 15px; font-size: 10px; }
}
