/* Header account & practice menu (Components/Layout/AccountMenu.razor), My Profile, Help & Support. */
.acct{position:relative;display:flex;align-items:center}
.acct-trigger{display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;border-radius:12px;padding:4px 8px 4px 4px;cursor:pointer;font:inherit;color:#10213f;max-width:290px}
.acct-trigger:hover,.acct-trigger[aria-expanded="true"]{background:#f2f5fb;border-color:#e3e9f4}
.acct-trigger:focus-visible{outline:2px solid #245df5;outline-offset:2px}
.acct-avatar{width:38px;height:38px;border-radius:50%;background:#3157f6;color:#fff;display:grid;place-items:center;font-weight:750;font-size:14px;flex:0 0 auto;object-fit:cover}
.acct-trigger-text{display:grid;text-align:left;min-width:0;line-height:1.2}
.acct-trigger-text strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct-trigger-text small{font-size:12px;color:#6b7a92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acct-caret{width:12px;height:12px;color:#6b7a92;flex:0 0 auto}
.acct-caret svg{width:12px;height:12px;display:block}
.acct-scrim{position:fixed;inset:0;z-index:998;background:transparent;cursor:pointer}
.acct-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:999;width:320px;max-width:calc(100vw - 24px);max-height:calc(100vh - 90px);overflow-y:auto;background:#fff;border:1px solid #e3e9f4;border-radius:14px;box-shadow:0 18px 50px rgba(15,30,70,.16),0 2px 6px rgba(15,30,70,.06);padding:6px}
.acct-head{display:flex;gap:12px;align-items:flex-start;padding:12px 12px 10px}
.acct-practice-mark{width:42px;height:42px;border-radius:12px;background:#eaf0ff;color:#2453c9;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.acct-head>div{display:grid;gap:2px;min-width:0}
.acct-practice{font-size:14px;color:#10213f;overflow-wrap:anywhere}
.acct-user{font-size:13px;color:#33415c;font-weight:650}
.acct-email{font-size:12.5px;color:#6b7a92;overflow-wrap:anywhere}
.acct-roles{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.acct-role{font-size:11px;font-weight:750;background:#edf3ff;color:#2453c9;border-radius:999px;padding:2px 8px}
.acct-sep{height:1px;background:#edf0f5;margin:4px 6px}
.acct-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border-radius:9px;color:#1f2d48;text-decoration:none;font-size:14px;font-weight:550;border:0;background:transparent;cursor:pointer;font-family:inherit;text-align:left;box-sizing:border-box}
.acct-item:hover,.acct-item:focus{background:#f2f5fb;outline:none}
.acct-item:focus-visible{box-shadow:inset 0 0 0 2px #245df5}
.acct-icon{width:18px;height:18px;color:#5b6a84;flex:0 0 auto}
.acct-icon svg{width:18px;height:18px;display:block}
.acct-logout{color:#b42318}
.acct-logout .acct-icon{color:#b42318}
.acct-logout:hover,.acct-logout:focus{background:#fdf0ee}
.acct-logout-form{margin:0}
@media (max-width:768px){
  .acct-trigger-text,.acct-caret{display:none}
  .acct-trigger{padding:2px}
  .acct-menu{position:fixed;top:64px;right:12px;left:auto}
}

/* My Profile */
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.profile-photo-row{display:flex;gap:16px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.profile-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#3157f6;color:#fff;display:grid;place-items:center;font-size:24px;font-weight:800}
.profile-photo-row .field-hint{display:block;margin-top:6px}
.profile-upload{cursor:pointer;position:relative}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.profile-subhead{font-size:14px;margin:16px 0 4px}
.profile-grid .secondary-action{margin:4px 6px 0 0}
@media (max-width:900px){.profile-grid{grid-template-columns:minmax(0,1fr)}}

/* Help & Support */
.help-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:18px;align-items:start}
.help-search{min-width:0!important;width:220px;padding:8px 10px;border:1px solid #dce2ec;border-radius:9px}
.help-guide{border-top:1px solid #edf0f5;padding:10px 0}
.help-guide summary{cursor:pointer;display:grid;gap:2px;list-style:none}
.help-guide summary span{color:#5b6a84;font-size:13.5px}
.help-guide ol,.help-guide ul{margin:8px 0;padding-left:20px;color:#33415c;font-size:14px}
.help-links{display:flex;flex-wrap:wrap;gap:12px}
.help-links a{color:#245df5;font-weight:650;text-decoration:none}
@media (max-width:900px){.help-grid{grid-template-columns:minmax(0,1fr)}.help-search{width:100%}}
/* site.css styles every ".top-actions form button" (the old header logout); the menu's own button wins here. */
.top-actions .acct-logout-form button.acct-item{border:0;background:transparent;border-radius:9px;padding:9px 12px;font-weight:550;color:#b42318;font-size:14px}
.top-actions .acct-logout-form button.acct-item:hover,.top-actions .acct-logout-form button.acct-item:focus{background:#fdf0ee}
.top-actions .acct-logout-form button.acct-item:focus-visible{box-shadow:inset 0 0 0 2px #b42318}
