/* <x-action-menu> (action-menu.js): the one "···" row menu, on the site and in admin. */
.am { display: inline-flex; position: relative; }
.am__btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line, #E6DED6); border-radius: 999px; background: var(--surface, #fff); color: var(--ink-2, #403E3A); cursor: pointer; }
.am__btn:hover { border-color: var(--ink, #141414); color: var(--ink, #141414); }
.am__btn:focus-visible { outline: 2px solid var(--acc-d, #A63B20); outline-offset: 2px; }
.am__btn[aria-expanded="true"] { border-color: var(--ink, #141414); background: var(--ink, #141414); color: #fff; }
.am__menu, .am__menu * { box-sizing: border-box; }
.am__menu { position: fixed; z-index: var(--z-dropdown, 200); min-width: 190px; max-width: min(320px, calc(100vw - 16px)); max-height: 70vh; overflow-y: auto;
  padding: 6px; border: 1px solid var(--line, #E6DED6); border-radius: 14px; background: var(--surface, #fff); box-shadow: 0 16px 36px -14px rgba(20, 20, 20, .35); }
.am__menu[hidden] { display: none !important; }
.am__menu > form { margin: 0; }
.am__menu a, .am__menu button, .am__menu .am__item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink-2, #403E3A); font: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; white-space: nowrap; }
.am__menu a:hover, .am__menu button:hover, .am__menu a:focus-visible, .am__menu button:focus-visible { background: var(--line-2, #F4EFEA); color: var(--ink, #141414); outline: 0; }
.am__menu svg, .am__menu i { flex: none; width: 18px; font-size: 18px; text-align: center; }
.am__menu .row-menu-danger, .am__menu .is-danger, .am__menu .text--danger { color: var(--err, #B3261E); }
.am__menu .row-menu-danger:hover, .am__menu .is-danger:hover, .am__menu .text--danger:hover { background: var(--err-w, #FBEEEC); }
.am__menu .am__item.is-disabled { color: var(--mut, #8A847D); cursor: not-allowed; }
.am__menu hr, .am__menu .am__sep { margin: 4px 6px; border: 0; border-top: 1px solid var(--line, #E6DED6); }
.am__menu small { margin-left: 2px; color: var(--mut, #8A847D); font-size: 12px; }
/* phones: a bottom sheet */
.am__menu.am__menu--sheet { left: 0 !important; right: 0; width: auto; top: auto !important; bottom: 0; max-width: none; max-height: 75vh; border-radius: 20px 20px 0 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); z-index: var(--z-modal, 1000); }
.am__menu.am__menu--sheet a, .am__menu.am__menu--sheet button, .am__menu.am__menu--sheet .am__item { min-height: 48px; font-size: 15px; }
.am__backdrop { position: fixed; inset: 0; z-index: calc(var(--z-modal, 1000) - 1); background: rgba(20, 20, 20, .45); }
html.am-sheet-open { overflow: hidden; }

/* form-validate.js: the message under a field (site pages style .t-err themselves; admin uses this) */
.nbv-err:empty { display: none; }
.nbv-err { color: var(--err, #B3261E); font-size: 13px; margin-top: 4px; line-height: 1.4; }
[aria-invalid="true"]:not([type=radio]):not([type=checkbox]) { border-color: var(--err, #B3261E) !important; }
