.profile-shell { max-width: 1000px; padding-bottom: 48px; }
.profile-topline,.profile-section-heading,.profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.profile-topline { margin-bottom: 18px; }
.profile-topline p { margin: 0; }
.profile-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.profile-card { padding: 28px; margin: 22px 0; }
.profile-card h2 { font-size: 19px; margin: 0 0 14px; }
.profile-section-heading h2,.profile-section-heading h3 { margin: 0; }
.profile-card > .resource-note { margin: 14px 0; line-height: 1.8; }
.profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.profile-years { grid-template-columns: repeat(3,minmax(0,1fr)); }
.profile-card label { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-size: 12px; font-weight: 600; }
.profile-card input,.profile-card select,.profile-card textarea { width: 100%; min-width: 0; min-height: 43px; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.profile-card textarea { resize: vertical; line-height: 1.7; }
.profile-note { margin-top: 18px; }
.profile-row { border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-top: 16px; }
.profile-row h3 { font-size: 13px; }
.profile-remove,#profileClear { color: var(--danger); }
.profile-empty { color: var(--muted); font-size: 12px; padding: 12px 0 0; }
.profile-actions { position: sticky; bottom: 14px; padding: 16px 20px; background: #fffffff5; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 24px #142a3e0a; }
#profileClear { margin-left: auto; }
.profile-shell button:disabled { opacity: .55; cursor: default; }
@media(max-width:760px) { .profile-card { padding: 20px; } .profile-grid,.profile-years { grid-template-columns: minmax(0,1fr); } .profile-row { padding: 16px; } .profile-account { display: none; } .profile-topline,.profile-section-heading { align-items: flex-start; flex-wrap: wrap; } .profile-actions { flex-wrap: wrap; bottom: 8px; padding: 14px; } }
