.profile-dialog{width:min(880px,calc(100vw - 28px));max-height:min(88vh,900px);border:1px solid #d8dfd0;border-radius:24px;background:#fffefa;color:var(--ink);padding:0;box-shadow:0 24px 80px #20331f33}.profile-dialog::backdrop{background:#1c2a1ca8;backdrop-filter:blur(3px)}.profile-wrap{padding:30px}.profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.profile-head h2{font-size:34px;margin:4px 0 7px}.profile-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.6;max-width:680px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-card{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fbfaf5;min-width:0}.profile-card h3{font-size:22px;margin:4px 0 14px}.profile-card label{display:block;font-size:11px;font-weight:650;color:var(--green-dark);margin:14px 0 6px}.profile-card input,.profile-card select{width:100%;min-height:44px;border:1px solid #ccd7c1;border-radius:10px;background:#fff;color:var(--ink);padding:9px 11px;font-size:14px}.profile-switch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.profile-switch .compact{min-height:44px;white-space:nowrap}.profile-checks{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.profile-check{display:flex!important;align-items:center;gap:8px;border:1px solid #d7dfce;border-radius:999px;padding:8px 11px!important;margin:0!important;font-size:11px!important;background:#fff}.profile-check input{width:auto;min-height:auto}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.profile-summary{display:grid;gap:12px;margin-top:18px}.profile-stat{padding:13px 14px;border-radius:12px;background:#eef2e8}.profile-stat b{display:block;font-size:12px;color:var(--green-dark);margin-bottom:5px}.profile-stat span{font-size:13px;line-height:1.5;color:#5f6d5b}.sens-row{display:flex;gap:7px;flex-wrap:wrap}.sens-chip{border-radius:999px;background:#f2eadc;color:#8c5c31;font-size:10px;padding:6px 9px}.profile-note{margin-top:14px;font-size:11px;line-height:1.65;color:var(--muted)}.profile-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #d7dfce;border-radius:999px;padding:8px 12px;font-size:11px;color:var(--green-dark);background:#fff}.profile-button .icon{width:15px;height:15px}.profile-mini-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-toast{font-size:11px;color:#587052;min-height:1.4em;margin-top:8px}.profile-section{margin-top:16px}.profile-section>b{display:block;font-size:12px;color:var(--green-dark);margin-bottom:4px}.profile-help{margin:0 0 10px;color:var(--muted);font-size:11px;line-height:1.5}.relation-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.relation-choice{display:flex!important;align-items:flex-start;gap:9px;border:1px solid #d7dfce;border-radius:12px;padding:10px 11px!important;margin:0!important;background:#fff;cursor:pointer;font-size:11px!important;line-height:1.35}.relation-choice input{width:auto;min-height:auto;margin-top:2px}.relation-choice.selected{border-color:#9aae90;background:#eef2e8}.relation-chip{border-radius:999px;background:#e8efe2;color:var(--green-dark);font-size:10px;padding:6px 9px}.profile-stat .relation-chip{line-height:1.2}
@media(max-width:780px){.profile-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.profile-wrap{padding:20px 16px max(24px,env(safe-area-inset-bottom))}.profile-grid{grid-template-columns:1fr}.profile-head h2{font-size:30px}.profile-card input,.profile-card select{font-size:16px}.relation-grid{grid-template-columns:1fr}.relation-choice{min-height:44px;align-items:center}.profile-switch{grid-template-columns:1fr}.profile-switch .compact{width:100%}}
.profile-optional{font-weight:400;color:var(--muted)}
.profile-account-line{padding:11px 12px;border-radius:12px;background:#eef2e8;margin-bottom:8px}.profile-account-line b,.profile-account-line span{display:block}.profile-account-line b{font-size:11px;color:var(--green-dark)}.profile-account-line span{font-size:10px;color:var(--muted);margin-top:3px}
