/* The one account control, last on the right of every header (owner 2026-11-27: "the entire site to use the account
   profile icon ... We must only have 1 account icon link"): a round person icon at every width on www (site_base.html),
   the Reader (lex/base.html) and the Guides (actsite/base.html), all through templates/frontend/_account.html. Signed out
   it links to the sign-in (blue); signed in it opens a small menu (a <details>: it opens without script;
   static/frontend/account.js closes it on a click elsewhere or Escape). Sizes in px: the three surfaces have different
   root sizes. The words are in aria-label and title. */
.eu-account { position: relative; flex: none; font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.eu-account[hidden], a.eu-account-btn[hidden], .eu-account-menu li[hidden] { display: none !important; }
a.eu-account-btn, .eu-account > summary.eu-account-btn { display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; padding: 0; box-sizing: border-box; border: 1px solid; border-radius: 50%; background: #fff;
  cursor: pointer; list-style: none; text-decoration: none; }
a.eu-account-btn, a.eu-account-btn:visited { color: #2A4FD0; border-color: #2A4FD0; }
a.eu-account-btn:hover, a.eu-account-btn:focus-visible { color: #1B2540; background: #EEF1FC; border-color: #1B2540; }
.eu-account > summary.eu-account-btn { color: #1B2540; border-color: #d0d5dd; }
.eu-account > summary::-webkit-details-marker { display: none; }
.eu-account > summary:hover, .eu-account[open] > summary { background: #EEF1FC; border-color: #2A4FD0; }
a.eu-account-btn:focus-visible, .eu-account > summary:focus-visible { outline: 2px solid #2A4FD0; outline-offset: 2px; }
.eu-account-icon { display: block; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='6.5' r='3.5'/%3E%3Cpath d='M3.5 17.5c.8-3.4 3.4-5.2 6.5-5.2s5.7 1.8 6.5 5.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10' cy='6.5' r='3.5'/%3E%3Cpath d='M3.5 17.5c.8-3.4 3.4-5.2 6.5-5.2s5.7 1.8 6.5 5.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.eu-account-menu { box-sizing: border-box; position: absolute; right: 0; top: calc(100% + 6px); z-index: 1060; min-width: 176px; margin: 0; padding: 6px 0;
  list-style: none; background: #fff; border: 1px solid #E3E6EE; border-radius: 10px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
  font-weight: 500; text-align: left; }
.eu-account-menu li { margin: 0; padding: 0; }
.eu-account-menu a { display: block; padding: 9px 16px; font-size: 14px; line-height: 1.4; color: #1B2540; text-decoration: none; white-space: nowrap; }
.eu-account-menu a:hover, .eu-account-menu a:focus-visible { background: #EEF1FC; color: #1B2540; text-decoration: none; }
.eu-account-menu .eu-account-sep { border-top: 1px solid #E3E6EE; margin-top: 5px; padding-top: 5px; }
/* phones: a little smaller, the act's or the Guide's name beside it needs the room */
@media (max-width: 480px) { a.eu-account-btn, .eu-account > summary.eu-account-btn { width: 34px; height: 34px; } }
@media print { .eu-account, a.eu-account-btn { display: none !important; } }
