
    .profile-content { max-width: 1180px; padding-top: 28px; }
    .profile-heading { margin-bottom: 32px; }
    .profile-heading h1 { font-size: clamp(30px,3.4vw,44px); }
    .profile-heading p { font-size: 16px; margin-top: 12px; }
    .profile-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: start; gap: 24px; }
    .profile-panel { background: var(--surface); border-radius: var(--radius); padding: 32px; min-width: 0; box-shadow: var(--shadow); }
    .profile-identity { display: flex; align-items: center; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
    .profile-avatar { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--success-bg); color: var(--success); font: 600 23px/1 var(--font-display); letter-spacing: -.01em; }
    .profile-avatar svg { width: 30px; height: 30px; }
    .profile-identity-copy { min-width: 0; }
    .profile-identity h2 { font-size: 23px; overflow-wrap: anywhere; }
    .profile-identity p { color: var(--muted); font-size: 13px; letter-spacing: .01em; margin-top: 5px; }
    .profile-form { margin-top: 28px; }
    .profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 20px; }
    .profile-fields .field { margin: 0; gap: 9px; }
    .profile-fields .field > span:first-child { font-weight: 500; letter-spacing: .02em; font-size: 14px; }
    .profile-fields input { min-height: 52px; border-color: var(--border); background: var(--soft); border-radius: 12px; padding: 12px 14px; line-height: 1.5; font-size: 16px; }
    .profile-fields input:hover { border-color: var(--control-border); }
    .profile-fields input:focus { border-color: var(--fg); background: var(--surface); color: var(--fg); }
    .profile-fields input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); color: var(--fg); }
    .profile-fields .field-error { line-height: 1.5; letter-spacing: .01em; }
    .profile-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
    .profile-form-footer .btn { min-width: 176px; }
    .profile-save-status { color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .01em; max-width: 23ch; }
    .profile-save-status.saved { color: var(--success); }
    .profile-storage-error { color: var(--danger); background: var(--danger-bg); padding: 12px 14px; border-radius: 10px; margin-top: 20px; font-size: 13px; letter-spacing: .01em; }
    .profile-local-note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--muted); letter-spacing: .01em; }
    .profile-side { display: grid; gap: 24px; min-width: 0; }
    .profile-side h2 { font-size: 20px; }
    .profile-account { margin-top: 26px; }
    .profile-account-head { display: flex; align-items: center; gap: 12px; }
    .profile-account-head img { width: 44px; height: auto; flex: 0 0 auto; }
    .profile-account-name { font-weight: 600; font-size: 16px; flex: 1; min-width: 0; }
    .profile-account-status { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .01em; white-space: nowrap; }
    .profile-account p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 18px 0 22px; max-width: 32ch; }
    .profile-account .btn { background: var(--surface); color: var(--fg); min-height: 48px; font-size: 14px; }
    .profile-account .btn:hover { background: var(--soft); color: var(--fg); }
    .profile-preferences { margin-top: 22px; display: grid; gap: 14px; }
    .profile-preferences > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; }
    .profile-preferences dt { color: var(--muted); }
    .profile-preferences dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; max-width: 62%; }
    .profile-preferences-empty { font-size: 14px; line-height: 1.6; margin-top: 16px; color: var(--muted); }
    .profile-preferences-link { margin-top: 20px; text-decoration: none; font-size: 14px; }
    .profile-preferences-link:hover { text-decoration: underline; }
    .profile-preferences-link svg { width: 18px; height: 18px; }
    .profile-dialog-copy { color: var(--muted); font-size: 15px; }
    .profile-dialog-note { padding: 16px; background: var(--soft); border-radius: 14px; color: var(--fg); font-size: 14px; margin-top: 18px; }
    .profile-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
    .profile-dialog-actions .btn { font-size: 14px; padding-inline: 18px; }
    .profile-footnote { max-width: 1180px; margin: auto; }
    @media(max-width:1000px) { .profile-layout { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 20px; }.profile-panel { padding: 26px; }.profile-fields { grid-template-columns: minmax(0,1fr); gap: 20px; }.profile-side { gap: 20px; }.profile-account-head { flex-wrap: wrap; }.profile-account-status { margin-left: 56px; margin-top: -8px; } }
    @media(max-width:760px) { .profile-layout { grid-template-columns: minmax(0,1fr); }.profile-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }.profile-side { grid-template-columns: repeat(2,minmax(0,1fr)); }.profile-side .profile-panel { padding: 24px; }.profile-account-name { flex-basis: calc(100% - 60px); }.profile-side h2 { font-size: 18px; } }
    @media(max-width:600px) { .profile-content { padding-top: 16px; }.profile-heading { margin-bottom: 24px; }.profile-heading h1 { font-size: 28px; }.profile-heading p { font-size: 14px; max-width: 30ch; }.profile-panel { padding: 24px 20px; }.profile-identity { gap: 14px; padding-bottom: 22px; }.profile-avatar { width: 56px; height: 56px; font-size: 21px; }.profile-identity h2 { font-size: 20px; }.profile-identity p { font-size: 12px; }.profile-form { margin-top: 24px; }.profile-fields { grid-template-columns: minmax(0,1fr); gap: 20px; }.profile-form-footer { flex-direction: column-reverse; align-items: stretch; margin-top: 26px; padding-top: 22px; gap: 14px; }.profile-save-status { max-width: none; text-align: center; }.profile-form-footer .btn { width: 100%; }.profile-local-note { text-align: center; }.profile-side { grid-template-columns: minmax(0,1fr); }.profile-side .profile-panel { padding: 24px 20px; }.profile-side h2 { font-size: 20px; }.profile-account-head { flex-wrap: nowrap; }.profile-account-name { flex-basis: auto; }.profile-account-status { margin: 0; }.profile-dialog-actions { display: grid; grid-template-columns: minmax(0,1fr); }.profile-dialog-actions .btn { width: 100%; }.profile-dialog-actions .primary { grid-row: 1; } }
    @media(max-width:360px) { .profile-account-head { flex-wrap: wrap; }.profile-account-name { flex-basis: calc(100% - 60px); }.profile-account-status { margin-left: 56px; margin-top: -8px; } }
