/* t186: account menu (top-right name → dropdown) */
.am{position:relative;display:inline-flex}
.am .acct-b{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#24231f;font:600 14px Inter,sans-serif;padding:4px 10px 4px 4px;border-radius:999px;border:1px solid #e0d8c7;min-height:40px;white-space:nowrap;background:#fff;cursor:pointer}
.am .acct-b:hover,.am .acct-b:focus-visible,.am.on .acct-b{background:#f1ead8}
.am .acct-av{width:30px;height:30px;border-radius:50%;background:#4f6b3a;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:700 14px Inter,sans-serif;flex:none}
.am .acct-n{max-width:110px;overflow:hidden;text-overflow:ellipsis}
.am-car{color:#6b665a;transition:transform .15s}
.am.on .am-car{transform:rotate(180deg)}
.am-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:1100;width:272px;background:#fffdf8;border:1px solid #e3dccb;border-radius:18px;box-shadow:0 24px 60px -24px rgba(20,19,15,.35);padding:8px;text-align:left}
.am-pop[hidden]{display:none}
.am-hd{display:flex;align-items:center;gap:10px;padding:10px 10px 12px;border-bottom:1px solid #ece6d6;margin-bottom:6px}
.am-hd .acct-av{width:36px;height:36px;font-size:15px}
.am-who{display:flex;flex-direction:column;min-width:0}
.am-who b{font:700 15px/1.2 Inter,sans-serif;color:#1b1a17;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-who small{font:500 12.5px/1.3 Inter,sans-serif;color:#6b665a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-pop [role=menuitem]{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border-radius:12px;border:0;background:none;color:#24231f;font:600 14.5px Inter,sans-serif;text-decoration:none;cursor:pointer;text-align:left}
.am-pop [role=menuitem] svg{color:#4f6b3a;flex:none}
.am-pop [role=menuitem]:hover,.am-pop [role=menuitem]:focus-visible{background:#f1ead8;outline:0}
.am-pop [data-am-out]{color:#8a2a1f}.am-pop [data-am-out] svg{color:#8a2a1f}
.am-sep{height:1px;background:#ece6d6;margin:6px 4px}
@media (max-width:480px){
  .am .acct-b{padding:4px;border-color:transparent;background:transparent}
  .am .acct-n,.am .am-car{display:none}
  .am-pop{position:fixed;top:62px;left:12px;right:12px;width:auto}
}
@media (max-width:420px){
  .hn:has(.am) .btn-nav > span[aria-hidden]{display:none}
  .hn:has(.am) .btn-nav{padding-left:14px;padding-right:14px}
  .hn:has(.am) .hn-r{gap:2px}
}
/* t212: signed-in homepage at phone width: give the brand room next to the CTA and the account button */
@media (max-width:420px){
  .hn:has(.am) .hn-logo b{font-size:14px}
  .hn:has(.am) .hn-logo img{max-width:44px;height:auto}
  .hn:has(.am) .btn-nav{padding-left:12px;padding-right:12px;font-size:13.5px}
  .hn:has(.am) .hn-logo{gap:6px}
}
