.profile-page{display:grid;gap:13px;min-width:0;padding:0 0 30px;color:#344d59}
.profile-page-heading{min-height:78px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:3px 2px 1px}
.profile-kicker,.profile-section-kicker{display:flex;align-items:center;gap:7px;color:#789097;font-size:8px;font-weight:700;letter-spacing:.13em}
.profile-kicker i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#3caaa0;box-shadow:0 0 0 3px #e4f4f1}
.profile-kicker b{color:#c0cccf;font-size:8px}
.profile-page-heading h1{margin:7px 0 3px;color:#142f3f;font-size:25px;font-weight:650;letter-spacing:-.04em}
.profile-page-heading p{margin:0;color:#778b93;font-size:11px;line-height:1.6}
.profile-local-label,.profile-section-count{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #e4eded;border-radius:999px;color:#567078;background:#f7fbfa;font-size:9px;font-weight:650;white-space:nowrap}
.profile-local-label{border-color:#d8ece4;color:#38745c;background:#f0f8f4}
.profile-local-label i{width:6px;height:6px;border-radius:50%;background:#48a87e;box-shadow:0 0 0 3px #d9eee3}
.profile-card,.profile-settings-card{min-width:0;overflow:hidden;border:1px solid #e3eaec;border-radius:13px;background:#fff;box-shadow:0 6px 22px rgb(25 49 62 / 4%)}
.profile-card{display:grid;grid-template-columns:158px minmax(0,1fr);align-items:center;gap:20px;padding:17px}
.profile-avatar-panel{width:158px;min-width:0}
.profile-avatar{display:grid;place-items:center;width:132px;height:132px;overflow:hidden;border:1px solid #dce9e8;border-radius:20px;color:#9af0e3;background:linear-gradient(145deg,#103342,#0c2937);font-size:58px;font-weight:550;line-height:1;box-shadow:0 8px 20px rgb(13 48 64 / 12%)}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-photo-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.profile-photo-actions .btn{min-height:28px;padding:0 9px;border:1px solid #dfe9ea;border-radius:7px;color:#506a73;background:#fff;font-size:9px;font-weight:650}
.profile-photo-actions .btn:hover:not(:disabled){border-color:#acd4d0;color:#176f70;background:#f5fbfa}
.profile-photo-actions [hidden]{display:none}
.profile-photo-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.profile-photo-input:focus-visible+.btn{outline:2px solid #53b8b0;outline-offset:2px}
.profile-photo-hint{margin:8px 0 0;color:#819198;font-size:8px;line-height:1.45}
.profile-photo-status{min-height:16px;margin:6px 0 0;color:#38745c;font-size:9px;line-height:1.4}
.profile-photo-status.is-error{color:#b24c50}
.profile-identity{position:relative;min-width:0;padding:0 0 46px}
.profile-identity-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.profile-identity-heading>div{display:grid;gap:5px;min-width:0}
.profile-identity h1{margin:0;overflow-wrap:anywhere;color:#142f3f;font-size:22px;font-weight:650;letter-spacing:-.025em}
.profile-identity-edit{position:static;flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:31px;padding:0 10px;border:1px solid #dfe9ea;border-radius:7px;color:#506a73;background:#fff;font-size:9px;font-weight:650}
.profile-identity-edit:hover{border-color:#acd4d0;color:#176f70;background:#f5fbfa}
.profile-identity-edit span{font-size:13px}
.profile-identity-edit[hidden],.profile-identity-form[hidden]{display:none}
.profile-identity dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.profile-identity dl>div{min-width:0;padding:9px 10px;border:1px solid #e7edef;border-radius:8px;background:#f9fbfb}
.profile-identity dt{margin:0 0 5px;color:#819198;font-size:8px;font-weight:650;letter-spacing:.045em}
.profile-identity dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#405a64;font-size:10px;font-weight:600;line-height:1.45}
.profile-role{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid #d8ece4;border-radius:999px;color:#38745c;background:#f0f8f4;font-size:9px;font-weight:650}
.profile-identity-form{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid #e3eaec;border-radius:9px;background:#f8fbfb}
.profile-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-identity-fields .field{min-width:0}
.profile-identity-fields .field>span,.profile-password-card .field>span{display:block;margin-bottom:4px;color:#627880;font-size:9px;font-weight:650}
.profile-identity-fields .input{width:100%;min-width:0;min-height:34px;border:1px solid #dce6e8;border-radius:7px;font-size:10px}
.profile-identity-fields .input[readonly]{color:#738891;background:#eff4f4}
.profile-identity-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.profile-identity-actions .btn{min-height:30px;padding:0 10px;border:1px solid #dfe9ea;border-radius:7px;color:#506a73;background:#fff;font-size:9px;font-weight:650}
.profile-identity-actions .btn.primary{border-color:#16837e;color:#fff;background:#168b84}
.profile-identity-form .auth-error{margin:0;font-size:10px}
.profile-settings-card{padding:0 15px 14px}
.profile-section-heading{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 -15px 13px;padding:11px 15px;border-bottom:1px solid #e7edef}
.profile-section-heading>div{display:grid;gap:4px;min-width:0}
.profile-section-heading h2{margin:0;color:#1b3948;font-size:14px;font-weight:650}
.profile-section-heading p{margin:0;color:#81939a;font-size:9px;line-height:1.5}
.profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-setting-column{min-width:0}
.profile-settings-card h3{display:flex;align-items:center;gap:7px;margin:17px 0 8px;padding-top:12px;border-top:1px solid #edf2f3;color:#2c4a57;font-size:10px;font-weight:700;letter-spacing:.035em}
.profile-setting-column>h3:first-child{margin-top:0;padding-top:0;border-top:0}
.profile-settings-card h3::before{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#3caaa0;box-shadow:0 0 0 3px #e4f4f1;content:""}
.profile-settings-card .muted.small{margin:0 0 8px;color:#819198;font-size:8px;line-height:1.55}
.profile-order-list,.profile-shortcut-list{max-height:320px;overflow:auto;margin:0;padding:5px;border:1px solid #e7edef;border-radius:9px;background:#f7fafa;list-style:none;scrollbar-color:#b7cccf #f3f7f7;scrollbar-width:thin}
.profile-order-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;margin:3px 0;padding:5px 7px;border:1px solid #e9eff0;border-radius:7px;background:#fff}
.profile-order-row label{display:flex;align-items:center;gap:7px;min-width:0;color:#526772;font-size:9px;cursor:pointer}
.profile-order-row label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-order-row .profile-unavailable{flex:0 0 auto;color:#9aabad;font-size:7px;white-space:nowrap}
.profile-order-actions{display:flex;flex:none;gap:3px}
.profile-order-actions .btn{min-width:25px;min-height:24px;padding:0 6px;border:1px solid #e0e8e9;border-radius:6px;color:#60777e;background:#fff;font-size:13px;line-height:1}
.profile-order-actions .btn:hover:not(:disabled){border-color:#b8d8d4;color:#176f70;background:#f3f9f8}
.profile-order-actions .btn:disabled{color:#b6c1c3;background:#f8fafa}
.profile-order-row input,.profile-check input{flex:0 0 auto;accent-color:#168b84}
.profile-notifications{max-height:490px;overflow:auto;padding:5px;border:1px solid #e7edef;border-radius:9px;background:#f7fafa;scrollbar-color:#b7cccf #f3f7f7;scrollbar-width:thin}
.profile-notifications fieldset{margin:0 0 7px;padding:8px 10px;border:1px solid #e7edef;border-radius:7px;background:#fff}
.profile-notifications fieldset:last-child{margin-bottom:0}
.profile-notifications legend{padding:0 4px;color:#526d75;font-size:9px;font-weight:700}
.profile-check{display:flex;align-items:center;gap:7px;min-width:0;margin:7px 0;color:#526772;font-size:9px;line-height:1.4;cursor:pointer}
.profile-check span{min-width:0}
.profile-check-unavailable{color:#819198;cursor:default}
.profile-check-unavailable input{cursor:not-allowed}
.profile-check .profile-unavailable{margin-left:auto;color:#9aabad;font-size:7px;white-space:nowrap}
.profile-inline-options{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0;color:#526772;font-size:9px}
.profile-inline-options label{display:flex;align-items:center;gap:5px}
.profile-setting-column>.input{width:100%;max-width:360px;min-height:34px;border:1px solid #dce6e8;border-radius:7px;font-size:10px}
.profile-check+.profile-check{margin-top:8px}
.profile-settings-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #e7edef}
.profile-settings-actions .btn,.profile-password-card form>.btn{min-height:31px;padding:0 11px;border:1px solid #dfe9ea;border-radius:7px;color:#506a73;background:#fff;font-size:9px;font-weight:650}
.profile-settings-actions .btn:hover{border-color:#acd4d0;color:#176f70;background:#f5fbfa}
.profile-settings-actions .btn.primary,.profile-password-card form>.btn.primary{border-color:#16837e;color:#fff;background:#168b84}
.profile-settings-actions .btn.primary:hover,.profile-password-card form>.btn.primary:hover{border-color:#116f6b;background:#117872}
.profile-password-card{max-width:900px}
.profile-password-card form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px}
.profile-password-card .field{display:grid;min-width:0}
.profile-password-card .input{width:100%;min-width:0;min-height:34px;border:1px solid #dce6e8;border-radius:7px;font-size:10px}
.profile-password-card form>.btn{grid-column:1;justify-self:start}
.profile-password-card .auth-error{grid-column:1/-1;margin:0;font-size:10px}
.profile-password-card .profile-section-heading{margin-bottom:10px}
@media(max-width:1050px){.profile-identity dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-password-card form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.profile-page-heading{align-items:flex-start;flex-direction:column;gap:12px}.profile-settings-grid{grid-template-columns:1fr;gap:10px}}
@media(max-width:540px){.profile-page-heading .profile-local-label{align-self:flex-end}.profile-card{grid-template-columns:1fr;gap:14px}.profile-avatar-panel{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:4px 12px;width:100%}.profile-avatar{grid-row:span 3;width:94px;height:94px;border-radius:16px;font-size:42px}.profile-photo-actions{margin:0}.profile-photo-hint,.profile-photo-status{grid-column:2}.profile-identity{padding-bottom:48px}.profile-identity-heading{align-items:flex-start}.profile-identity h1{font-size:18px}.profile-identity dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-section-heading{align-items:flex-start;flex-direction:column;gap:7px}.profile-identity-fields,.profile-password-card form{grid-template-columns:1fr}.profile-password-card form>.btn{grid-column:auto}.profile-password-card .auth-error{grid-column:auto}}
