/* Account menu: one quiet surface, orange allowance, and the shared black-square marks. */
#typewriterWorkshop #accountPopover {
  width: min(320px, calc(100vw - 32px));
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 8px rgb(0 0 0 / 3%), 0 12px 32px rgb(0 0 0 / 9%);
  backdrop-filter: none;
}
#typewriterWorkshop #accountPopover::after { display: none; }
#typewriterWorkshop #accountPopover .account-popover-content {
  padding: 16px;
  border-radius: inherit;
}
#typewriterWorkshop #accountPopover .account-profile {
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 12px;
  min-height: 64px;
  margin: 0 0 14px;
  padding: 8px;
  border: 0;
  border-radius: 3px;
  color: #171717;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: background-color 160ms ease, color 160ms ease;
}
#typewriterWorkshop #accountPopover .account-profile::after { content: none; display: none; }
#typewriterWorkshop #accountPopover .account-profile .account-avatar {
  width: 44px;
  height: 44px;
  border: 0;
  box-shadow: none;
}
#typewriterWorkshop #accountPopover .account-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.015em;
}
#typewriterWorkshop #accountPopover :is(.account-title, .account-email) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#typewriterWorkshop #accountPopover .account-email {
  margin: 3px 0 0;
  color: #737373;
  font-size: 12px;
  line-height: 1.5;
}
#typewriterWorkshop #accountPopover .account-allowance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  margin: 0 0 12px;
  padding: 12px;
  border: 0;
  border-radius: 3px;
  background: #f5f5f5;
}
#typewriterWorkshop #accountPopover .account-allowance b {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ed5728;
  background: transparent;
  box-shadow: none;
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
#typewriterWorkshop #accountPopover .account-allowance-label {
  min-width: 0;
  color: #242424;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
#typewriterWorkshop #accountPopover .account-allowance-label > span {
  display: block;
  margin-top: 3px;
  color: #737373;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#typewriterWorkshop #accountPopover .account-get-more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-height: 44px;
  color: #242424;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms ease;
}
#typewriterWorkshop #accountPopover .account-get-more > span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  color: #fff;
  background: #171717;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
#typewriterWorkshop #accountPopover .account-popover-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
}
#typewriterWorkshop #accountPopover .account-link {
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 8px;
  border: 0;
  border-radius: 3px;
  color: #242424;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transform: none;
  transition: color 160ms ease, background-color 160ms ease;
}
#typewriterWorkshop #accountPopover #accountDesignsLink { font-weight: 500; }
#typewriterWorkshop #accountPopover .account-link-icon {
  width: 18px;
  height: 18px;
  color: #242424;
  stroke-width: 1.6;
}
#typewriterWorkshop #accountPopover .account-designs-accent { color: currentColor; }
#typewriterWorkshop #accountPopover :is(.account-profile, .account-link) .account-link-arrow {
  display: block;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 2px;
  color: #fff;
  background: #171717;
  stroke-width: 2;
  pointer-events: none;
  transform: none;
}
#typewriterWorkshop #accountPopover .account-signout {
  gap: 12px;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 12px 8px 4px;
  border-top: 1px solid #e8e8e8;
  border-radius: 0;
  color: #737373;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.5;
  transition: color 160ms ease;
}
#typewriterWorkshop #accountPopover .account-signout svg { width: 18px; height: 18px; }
#typewriterWorkshop #accountPopover :is(.account-profile, .account-link):active {
  color: #171717;
  background: #ececec;
  box-shadow: none;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  #typewriterWorkshop #accountPopover :is(.account-profile, .account-link):hover {
    color: #686868;
    border-color: transparent;
    background: #f5f5f5;
    box-shadow: none;
    transform: none;
  }
  #typewriterWorkshop #accountPopover .account-get-more:hover { color: #686868; text-decoration: underline; text-underline-offset: 3px; }
  #typewriterWorkshop #accountPopover .account-signout:hover { color: #171717; }
}
#typewriterWorkshop #accountPopover :is(.account-profile, .account-link, .account-get-more, .account-signout):focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
  transition: none;
}
@media (max-width: 380px) {
  #typewriterWorkshop #accountPopover .account-popover-content { padding: 12px; }
  #typewriterWorkshop #accountPopover .account-allowance { gap: 8px; padding: 10px; }
  #typewriterWorkshop #accountPopover .account-get-more { gap: 5px; font-size: 10px; }
}
html.reduce-motion #typewriterWorkshop #accountPopover :is(.account-profile, .account-link, .account-get-more, .account-signout) { transition: none; }
@media (prefers-reduced-motion: reduce) {
  #typewriterWorkshop #accountPopover :is(.account-profile, .account-link, .account-get-more, .account-signout) { transition: none; }
}
@media (forced-colors: active) {
  #typewriterWorkshop #accountPopover { color: CanvasText; background: Canvas; border-color: CanvasText; box-shadow: none; }
  #typewriterWorkshop #accountPopover .account-allowance { border: 1px solid CanvasText; }
  #typewriterWorkshop #accountPopover .account-allowance b { color: CanvasText; }
  #typewriterWorkshop #accountPopover :is(.account-link-arrow, .account-get-more > span) { forced-color-adjust: none; color: ButtonFace; background: ButtonText; }
}
