/* Shared account menu on Home, Studio, Estimator and Dashboard. */
.tool-account { position:relative; min-width:0; max-width:160px; margin-left:auto; }
.tool-account[hidden], .tool-account [hidden] { display:none !important; }
.tool-account .tool-account-trigger { display:inline-flex; align-items:center; gap:10px; max-width:100%; box-sizing:border-box; min-height:42px; padding:0 14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border:1.5px solid #d7d1ca; border-radius:999px; background:#fff; color:#1c1c1c; font:inherit; font-size:14px; font-weight:600; line-height:1.4; letter-spacing:normal; text-transform:none; cursor:pointer; }
.tool-account .tool-account-trigger[data-signed-in="true"]::after { content:'\25BE'; flex:0 0 auto; }
.tool-account .tool-account-trigger-label { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.tool-account .tool-account-icon { width:18px; height:18px; flex:0 0 18px; }
.tool-account .tool-account-menu { position:absolute; top:calc(100% + 7px); right:0; width:260px; max-width:calc(100vw - 32px); padding:5px 0; overflow:hidden; border:1px solid #d8d8d8; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.12); color:#1c1c1c; font-size:14px; letter-spacing:normal; text-transform:none; z-index:100; }
.tool-account .tool-account-identity { display:block; padding:10px 14px 12px; border-bottom:1px solid #eee9e4; margin-bottom:4px; text-align:left; }
.tool-account .tool-account-name { font-size:14px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.tool-account .tool-account-email { margin-top:3px; font-size:12px; line-height:1.4; color:#68645f; overflow-wrap:anywhere; }
.tool-account .tool-account-item { display:flex; align-items:center; gap:10px; box-sizing:border-box; width:100%; min-height:44px; margin:0; padding:10px 14px; border:0; border-radius:0; background:#fff; color:#1c1c1c; font:inherit; font-size:15px; font-weight:400; line-height:1.5; letter-spacing:normal; text-transform:none; text-align:left; text-decoration:none; cursor:pointer; }
.tool-account .tool-account-label { min-width:0; }
.tool-account .tool-account-divider { margin:6px 14px; border-top:1px solid #eee9e4; }
.tool-account .tool-account-item:disabled { color:#68645f; cursor:wait; }
.tool-account .tool-account-trigger:focus-visible, .tool-account .tool-account-item:focus-visible { outline:2px solid #b0675f; outline-offset:-3px; background:#faf7f5; }
.tool-account .tool-account-status { padding:10px 14px; font-size:13px; line-height:1.4; color:#7a2a26; text-align:left; }
.tool-account .tool-account-status:empty { display:none; }
@media (hover:hover) { .tool-account .tool-account-item:hover { background:#faf7f5; } }
@media (max-width:599px) { .tool-account { max-width:132px; } }

@media (max-width:700px), (max-height:600px) {
  .tool-account .tool-account-menu { max-height:calc(100vh - 140px); max-height:calc(100dvh - 140px); overflow-y:auto; overscroll-behavior:contain; }
}
