/* V7.2: un solo acceso a Mi cuenta, cabecera legible y opciones funcionales. */
.family-body .academic-chip,
.family-body .sidebar-divider,
.family-body .family-account,
.family-body .family-signout {display:none !important;}
.family-body .family-sidebar-inner {padding-top:28px;}
.family-body .family-sidebar-foot.family-sidebar-help {margin-top:auto;margin-bottom:6px;padding:12px 9px;border-top:1px solid #e2e9f6;color:#647995;font-size:11px;line-height:1.55;overflow-wrap:anywhere;}
.family-body .family-topbar-title {display:flex!important;flex-direction:column!important;align-items:flex-start;justify-content:center;gap:3px!important;min-width:0;}
.family-body .family-topbar-title > span,
.family-body .family-topbar-title > strong {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.family-body .family-account-dropdown {position:relative;flex:0 0 auto;}
.family-body .family-account-trigger {display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:24px;padding:3px;background:transparent;transition:background .15s,border-color .15s;}
.family-body .family-account-trigger::-webkit-details-marker {display:none;}
.family-body .family-account-trigger:hover,
.family-body .family-account-dropdown[open] > .family-account-trigger {background:#edf4ff;border-color:#d6e6ff;}
.family-body .family-account-trigger .topbar-avatar {margin:0;flex:none;width:38px;height:38px;}
.family-body .family-account-trigger-chevron {color:#456ca8;display:grid;place-items:center;margin-right:1px;transition:transform .15s;}
.family-body .family-account-dropdown[open] .family-account-trigger-chevron {transform:rotate(180deg);}
.family-body .family-account-popover {position:absolute;right:0;top:calc(100% + 10px);width:min(295px,calc(100vw - 30px));background:#fff;border:1px solid #dbe5f4;border-radius:15px;box-shadow:0 17px 48px rgba(26,62,119,.17);padding:9px;z-index:90;}
.family-body .family-account-popover-head {display:flex;align-items:center;gap:12px;padding:12px 9px 15px;border-bottom:1px solid #e7edf7;margin-bottom:6px;min-width:0;}
.family-body .family-account-popover-head .family-avatar {flex:none;width:42px;height:42px;}
.family-body .family-account-popover-head > span:last-child {min-width:0;flex:1;}
.family-body .family-account-popover-head strong {display:block;color:#1e365f;font-size:13px;overflow-wrap:anywhere;line-height:1.4;}
.family-body .family-account-popover-head small {display:block;color:#667b9b;font-size:11px;overflow-wrap:anywhere;line-height:1.4;margin-top:2px;}
.family-body .family-account-popover > a {display:flex;align-items:center;gap:11px;color:#294567;font-size:13px;font-weight:600;padding:11px 12px;border-radius:10px;min-height:43px;}
.family-body .family-account-popover > a svg {color:#386ebf;flex:none;}
.family-body .family-account-popover > a:hover {background:#eef5ff;}
.family-body .family-account-popover-rule {height:1px;background:#e7edf7;margin:6px 2px;}
.family-body .family-account-popover > a.family-account-exit {color:#a23b50;}
.family-body .family-account-popover > a.family-account-exit svg {color:#b24357;}
.family-body .family-account-popover > a.family-account-exit:hover {background:#fff0f2;}
.family-body .family-profile-intro {margin-bottom:22px;}
.family-body .family-profile-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;}
.family-body .family-profile-grid .content-panel {min-width:0;padding:27px;}
.family-body .family-profile-symbol {display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e7f0ff;color:#2459c5;margin-bottom:15px;}
.family-body .family-profile-symbol.is-mint {background:#e0f7f1;color:#08836e;}
.family-body .family-profile-grid h2 {font:800 19px/1.35 'Plus Jakarta Sans','DM Sans',sans-serif;color:#213a62;margin:0 0 8px;}
.family-body .family-profile-help {font-size:13px;color:#687c97;line-height:1.6;margin:0 0 18px;}
.family-body .family-profile-list {margin:0;}
.family-body .family-profile-list > div {padding:13px 0;border-bottom:1px solid #e6edf6;min-width:0;}
.family-body .family-profile-list dt {font-size:11px;font-weight:700;color:#60789a;margin:0 0 5px;}
.family-body .family-profile-list dd {font-size:14px;line-height:1.5;font-weight:700;color:#263e62;margin:0;overflow-wrap:anywhere;}
.family-body .family-profile-note {font-size:12px;line-height:1.65;color:#687f9c;margin:18px 0 0;}
.family-body .family-profile-form {display:flex;flex-direction:column;gap:9px;}
.family-body .family-profile-form label {font-size:12px;font-weight:800;color:#2a4263;}
.family-body .family-profile-form input {width:100%;min-width:0;height:44px;padding:10px 12px;font:inherit;color:#243a5b;background:#fff;border:1px solid #cddbec;border-radius:10px;outline:none;margin-bottom:5px;}
.family-body .family-profile-form input:focus {border-color:#427fde;box-shadow:0 0 0 3px #dceafd;}
.family-body .family-password-hint {font-size:11px;color:#687d98;margin:-5px 0 7px;line-height:1.5;}
.family-body .family-profile-submit {width:100%;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:0;border-radius:11px;background:#235bc9;color:white;font-size:13px;font-weight:800;cursor:pointer;margin-top:9px;}
.family-body .family-profile-submit:hover {background:#174db2;}
.family-body .family-profile-message {display:flex;gap:10px;align-items:flex-start;margin-bottom:18px;padding:13px 15px;border-radius:12px;font-size:13px;line-height:1.5;}
.family-body .family-profile-message svg {flex:none;margin-top:1px;}
.family-body .family-profile-message.is-success {background:#e3f9ee;border:1px solid #bdebd2;color:#0b644a;}
.family-body .family-profile-message.is-error {background:#fff0f2;border:1px solid #f6cad2;color:#a12740;}
.family-body #cambiar-contrasena {scroll-margin-top:100px;}
@media(max-width:850px) {
  .family-body .family-profile-grid {grid-template-columns:minmax(0,1fr);gap:15px;}
  .family-body .family-profile-grid .content-panel {padding:22px;}
}
@media(max-width:520px) {
  .family-body .family-topbar-right {gap:6px;}
  .family-body .family-account-trigger {padding:2px;gap:1px;}
  .family-body .family-account-trigger .topbar-avatar {width:33px;height:33px;font-size:13px;}
  .family-body .family-account-trigger-chevron {display:none;}
  .family-body .family-profile-grid .content-panel {padding:18px;}
  .family-body .family-sidebar-foot.family-sidebar-help {margin-bottom:16px;}
}
