.store-tools, .account-heading {
  display:flex;
  align-items:center;
  gap:16px;
}
.store-tools .bag, #account-open, #account-close, #account-switch { min-height:44px; }
#account-open, #account-close, #account-switch {
  background:transparent;
  border:0;
  padding:0 4px;
  color:var(--green);
}
#account-open { font-size:14px; white-space:nowrap; }
#account-dialog {
  width:min(360px, calc(100% - 32px));
  max-height:calc(100% - 32px);
  overflow-y:auto;
  padding:22px;
  border:1px solid var(--line);
  border-radius:16px;
  color:var(--ink);
  background:#fff;
  box-shadow:0 12px 40px #182b2126;
}
#account-dialog::backdrop { background:#14261d70; }
.account-heading { justify-content:space-between; margin-bottom:12px; }
#account-close { min-width:44px; font-size:24px; line-height:1; }
#account-form:not([hidden]), #account-profile:not([hidden]) { display:grid; gap:12px; }
#account-form label { display:grid; gap:5px; font-size:14px; }
#account-form input {
  width:100%;
  min-height:44px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--ink);
  font-size:16px;
}
#account-password-hint { color:var(--sub); font-size:13px; }
#account-submit, #account-logout { min-height:44px; }
#account-switch { justify-self:center; font-size:14px; }
#account-email { overflow-wrap:anywhere; }
#account-error:not(:empty) { margin-top:12px; font-size:14px; color:#91371f; }
.account-announcement {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
@media (max-width:400px) {
  .store-tools { gap:10px; }
}
