/* Shared account controls. Loaded after each page's styles to avoid divergent
   authentication, administration and map button defaults. */
body .account-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #b6c9bd;
  border-radius: 10px;
  background: #f5f8f3;
  color: #20543b;
  font: 700 14px/1.35 Inter, Aptos, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}
body .account-action-button svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body .account-action-button span { min-width: 0; }
body .account-action-button:hover { background: #e8f0e4; border-color: #7e9e89; }
body .account-action-button:focus-visible { outline: 3px solid #dcae42; outline-offset: 3px; }
body .account-action-button.account-action-exit { color: #932e28; background: #fff9f7; border-color: #d5b8b1; }
body .account-action-button.account-action-exit:hover { background: #fbece7; border-color: #b8786b; }
body .account-action-button.account-action-dark { color: #f5fbf6; background: rgb(255 255 255 / 7%); border-color: rgb(235 246 235 / 38%); }
body .account-action-button.account-action-dark:hover { background: rgb(255 255 255 / 16%); border-color: #c7dccb; }
body .account-action-button.account-action-dark.account-action-exit { color: #ffe0d9; border-color: rgb(247 190 177 / 55%); }
body .account-action-form { display: flex; gap: 0; min-width: 0; margin: 0; padding: 0; }
body .account-action-form > .account-action-button { width: 100%; height: 100%; }
body .account-action-bar { display: flex; align-items: stretch; gap: 10px; }
body .account-action-footer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #dce5dc; margin-top: 24px; padding-top: 20px; }
body .account-action-footer > .account-action-button:only-child { grid-column: 1/-1; }
body .app-header .account-action-bar .account-action-button { min-height: 44px; margin: 0; padding: 11px 14px; font-size: 14px; line-height: 1.35; border-radius: 10px; }
body .profile-account-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
body .profile-account-actions .account-action-button { min-height: 44px; margin: 0; font-size: 14px; border-radius: 10px; }
body .workspace-navigation-tools .account-action-form { display: flex; }
body .workspace-navigation-tools .account-action-button { font-size: 12px; padding: 8px 10px; }
.admin-body a.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #b6c9bd; border-radius: 10px; padding: 10px 14px; color: #20543b; background: #f5f8f3; font-weight: 700; text-decoration: none; }
.admin-body a.secondary-button:hover { background: #e8f0e4; }
@media(max-width:820px) {
  body.admin-index-body .account-action-bar { gap: 8px; }
  body.admin-index-body .app-header .account-action-bar .account-action-button { flex-direction: column; gap: 5px; padding: 10px 5px; font-size: 12px; }
}
@media(max-width:600px) {
  body .profile-account-actions { grid-template-columns: 1fr; }
  body .account-action-footer .account-action-button { padding-inline: 8px; font-size: 13px; }
}
@media(max-width:1190px) {
  body .account-action-form.desktop-context-action,
  body .account-action-form.desktop-logout-action { display: none; }
}
