/* Shared required-name fields and the local sign-in preview. */
.person-name-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.person-name-fields .field{min-width:0}
.person-name-fields input{min-width:0}
.required-mark{color:var(--blue);font-weight:600}
#dialog-content .required-key{font-size:10px;color:var(--muted);margin-top:9px;line-height:1.4}
.identity-dialog{width:460px;padding:29px;background:var(--paper)}
.identity-dialog .dialog-heading{align-items:flex-start;margin-bottom:15px}
.identity-dialog .dialog-heading h2{font-size:34px;line-height:1.05;max-width:300px}
.identity-dialog .dialog-heading .icon-button{min-width:44px;min-height:44px}
.identity-dialog [hidden]{display:none!important}
.identity-dialog .primary{min-height:50px;justify-content:space-between;font-size:13px}
.identity-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;margin:21px 0}
.identity-consent>input{width:19px;height:19px;flex-shrink:0;margin:2px 0;accent-color:var(--blue)}
.identity-consent button{border:0;background:none;padding:0;color:var(--ink);font:inherit;text-decoration:underline;text-underline-offset:3px}
.identity-policy{background:#e0e8ed;padding:15px;margin:-5px 0 20px;border-left:2px solid var(--blue)}
.identity-policy>strong{font-size:12px}
#dialog-content .identity-policy p{font-size:11px;margin-top:8px;line-height:1.6}
.google-sign-in{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid #71879488;background:#fcfaf5;color:var(--ink);width:100%;min-height:52px;font-size:14px}
.google-sign-in:hover{background:#e5ebed}
.identity-divider{display:flex;align-items:center;gap:13px;margin:25px 0 22px;color:var(--muted);font-size:11px}
.identity-divider::before,.identity-divider::after{content:'';height:1px;flex:1;background:var(--rule)}
.identity-dialog .field{font-size:12px;gap:8px}
.identity-dialog .field input{min-height:50px}
.identity-dialog .field .form-hint{font-size:10px}
.identity-code{font:22px var(--mono)!important;letter-spacing:.32em}
#dialog-content .identity-demo-code{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font:9px var(--mono);margin-top:15px;color:var(--muted)}
.identity-demo-code strong{font-size:16px;color:var(--blue);letter-spacing:.08em}
.identity-demo-code span{width:100%;font:11px var(--sans);margin-top:2px}
.identity-code-actions{display:flex;justify-content:space-between;gap:15px;margin-top:13px}
.identity-code-actions button,.identity-back{font-size:11px;min-height:44px}
.identity-back{margin-top:12px}
#dialog-content .identity-error{font-size:12px;color:#9c332d;margin-top:14px}
#dialog-content .identity-status{font-size:11px;color:var(--muted);line-height:1.5}
.identity-provider-preview{padding:24px 20px;background:#e0e8ed;text-align:center}
.identity-provider-preview .eyebrow{font-size:9px;color:var(--blue)}
.identity-provider-preview .avatar{margin:24px auto 15px;display:grid;place-items:center;width:64px;height:64px;border:1px solid #8299a8;background:#eff1ec;border-radius:50%}
.identity-provider-preview h3{font:500 28px var(--serif);letter-spacing:-.5px;margin-bottom:12px}
#dialog-content .identity-provider-preview p{font-size:12px}
.photo-flow-dialog .photo-message-field textarea{background:#fcfaf5;border:1px solid #43292366;font-size:14px;min-height:78px}
@media(max-width:759px){
  .identity-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,var(--phone-preview-width));max-width:100%;max-height:94dvh;padding:29px 24px max(26px,env(safe-area-inset-bottom));border-radius:23px 23px 0 0;border-bottom:0}
  .identity-dialog::before{content:'';display:block;width:39px;height:3px;background:#9babb3;border-radius:5px;position:absolute;top:10px;left:calc(50% - 19.5px)}
  .identity-dialog .dialog-heading h2{font-size:32px;max-width:260px}
  .identity-consent{font-size:11px;margin-block:19px}
  .photo-flow-dialog .photo-message-field textarea{font-size:16px}
}
@media(max-width:360px){.identity-dialog{padding-inline:20px}.identity-dialog .dialog-heading h2{font-size:29px;max-width:220px}.person-name-fields{gap:10px}}

.profile-events-section{margin-top:30px;padding-top:23px;border-top:1px solid var(--rule)}.profile-events-section>h2{font:500 28px/1.15 var(--serif);letter-spacing:-.6px;margin:0 0 17px}.profile-event-list{display:flex;flex-direction:column;gap:15px}.profile-event-card{display:flex;align-items:center;gap:17px;padding:14px;border:1px solid var(--rule);text-decoration:none;min-width:0}.profile-event-card img{width:72px;height:88px;object-fit:cover;flex-shrink:0}.profile-event-card>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.profile-event-card strong{font:500 25px/1.1 var(--serif);overflow-wrap:anywhere}.profile-event-card small{font-size:11px;color:var(--muted)}.profile-event-card>svg{flex-shrink:0}
