.auth-actions{display:grid;gap:10px}.secondary-login-button{width:100%;padding:12px 14px;border:1px solid #ccd7e0;border-radius:10px;background:#fff;color:#123653;font-size:14px;font-weight:600;cursor:pointer}.secondary-login-button:hover{border-color:#7896ad;background:#f8fafb}.secondary-login-button:disabled{opacity:.65;cursor:not-allowed}.home-actions{display:flex;flex-wrap:wrap;gap:8px}.outline-button{padding:9px 12px;border:1px solid #947737;border-radius:9px;background:rgba(255,255,255,.55);color:#394b57;font-size:12px;font-weight:600;cursor:pointer}.outline-button:hover{background:#fff}.outline-button span{color:#927331;font-size:16px;margin-left:4px}.people-shortcut{margin-bottom:10px}.people-toolbar{display:flex;align-items:end;gap:9px}.people-toolbar .search-box{flex:1;min-width:0}.add-person-button{flex:0 0 auto;height:43px;padding:0 13px}.people-list{display:grid;gap:9px}.person-card{width:100%;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e0e6ea;border-radius:14px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}.person-card:hover{border-color:#a9c0d1}.person-card:active{transform:scale(.99)}.person-avatar,.person-avatar-fallback{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;overflow:hidden;border-radius:50%;background:#e7edf1;color:#456078;object-fit:cover}.person-avatar-fallback{border:1px solid #d2dce3;font-family:"Noto Serif Thai",serif;font-size:20px}.person-card-copy{display:block;min-width:0;flex:1}.person-card-copy strong,.person-card-copy span,.person-card-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-card-copy strong{color:#112f49;font-size:14px;line-height:1.4}.person-card-copy span{color:#596d7d;font-size:11px;margin-top:3px}.person-card-copy small{color:#7a8791;font-size:10px;margin-top:3px}.person-card-arrow{color:#b08e48;font-size:25px}.person-form-card{padding:17px}.person-photo-editor{display:flex;flex-direction:column;align-items:center;text-align:center;padding:6px 0 18px;margin-bottom:16px;border-bottom:1px solid #edf0f2}.person-photo-frame{display:grid;place-items:center;width:108px;height:108px;overflow:hidden;border:1px dashed #b9c6ce;border-radius:50%;background:#f0f4f6;color:#718290;font-size:12px}.person-photo-frame img{width:100%;height:100%;object-fit:cover}.photo-actions{display:flex;align-items:center;gap:12px;margin-top:11px}.photo-label{margin:0;color:#173b58;font-size:12px;font-weight:700;cursor:pointer}.photo-label input{display:block;max-width:225px;margin:6px auto 0;padding:5px;font-size:10px}.person-photo-editor small{margin-top:7px;color:#7e8b95;font-size:10px}.remove-photo-button{font-size:11px;color:#985148}.person-section-title{margin-top:20px}.optional-label{font-weight:400;color:#8a959d}.person-detail-card{padding:17px;background:#fff;border:1px solid #e1e7eb;border-radius:16px}.person-detail-heading{display:flex;align-items:center;gap:14px;padding:2px 0 17px;border-bottom:1px solid #e7ecef}.person-detail-heading h2{margin:3px 0;color:#102f49;font-family:"Noto Serif Thai",serif;font-size:20px;line-height:1.35}.person-detail-heading p:not(.eyebrow){margin:4px 0 0;color:#70808d;font-size:12px}.person-avatar-large,.person-avatar-fallback.person-avatar-large{width:92px;height:92px;flex-basis:92px;font-size:29px}.person-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px 1px 19px}.person-detail-grid label{margin:0;color:#7d8a95;font-size:10px}.person-detail-grid p{margin:4px 0 0;color:#263c4d;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.person-detail-full{grid-column:1/-1}.person-notes{white-space:pre-wrap}.person-detail-card .privacy-note{margin:12px 0 0}.photo-input-error{margin:8px 0 0;color:#a74138;font-size:12px}@media(max-width:370px){.people-toolbar{align-items:center;gap:6px}.add-person-button{padding:0 10px}.person-card{gap:9px;padding:10px}.person-avatar,.person-avatar-fallback{width:48px;height:48px;flex-basis:48px}.person-avatar-large,.person-avatar-fallback.person-avatar-large{width:78px;height:78px;flex-basis:78px}.person-detail-heading h2{font-size:17px}.home-actions{display:grid}.home-actions button{width:100%}}

@supports (padding: max(0px)){
  .app-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  .topbar{padding-top:max(14px,env(safe-area-inset-top))}
  .bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:calc(5px + env(safe-area-inset-bottom))}
}


@supports (padding: max(0px)) {
  .topbar{height:auto;min-height:calc(76px + env(safe-area-inset-top))}
}
