/* Visible only after an authenticated response; public page HTML has no counts. */
.admin-bar { position:sticky; top:0; z-index:110; margin:0; padding:0; width:100%; background:var(--g,#27c97a); border-bottom:1px solid rgba(3,21,13,.18); color:#03150d; font:700 max(14px,1rem)/1.35 var(--font,system-ui,sans-serif); }
.admin-bar__inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.3rem 1rem; min-height:3rem; padding-block:.3rem; }
.admin-bar a { display:inline-flex; align-items:center; gap:.3em; min-height:2.25rem; padding:.4rem .65rem; border-radius:.4rem; color:#03150d; text-decoration:none; }
.admin-bar a:hover { color:#03150d; background:rgba(3,21,13,.1); }
.admin-bar a:focus-visible { outline:2px solid #03150d; outline-offset:2px; }
.admin-bar__entry { margin-left:-.65rem; }
.admin-bar__links { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:.25rem .4rem; margin-left:auto; min-width:0; }
.admin-bar__total,.admin-bar__new { white-space:nowrap; font-variant-numeric:tabular-nums; }
.admin-bar a.admin-bar__new { background:#062f1b; color:#fff; }
.admin-bar a.admin-bar__new:hover { background:#031b10; color:#fff; }
.admin-bar__empty { padding:.4rem 0 .4rem .35rem; font-weight:400; }
.admin-bar__connection { padding:.3rem .5rem; border:1px solid currentColor; border-radius:.35rem; font-weight:400; }
.admin-bar [hidden] { display:none!important; }
.admin-bar__announcement { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.admin-bar.has-arrival .admin-bar__new { animation:admin-bar-arrival 1.2s ease-in-out 4; }
@keyframes admin-bar-arrival { 50% { box-shadow:0 0 0 3px rgba(3,21,13,.25); } }
html.has-admin-bar { scroll-padding-top:calc(var(--hd) + var(--admin-bar-height,0px) + 1rem); }
html.has-admin-bar .hd { top:calc(var(--admin-bar-height,0px) - var(--hd-top)); }
html.has-admin-bar .calc-sum,html.has-admin-bar .toc { top:calc(var(--hd) + var(--admin-bar-height,0px) + 1.25rem); }
html.has-admin-bar .toc { max-height:calc(100dvh - var(--hd) - var(--admin-bar-height,0px) - 2.5rem); }
html.has-admin-bar .rp { top:var(--admin-bar-height,0px); }
html.has-admin-bar.nb .hd { top:var(--admin-bar-height,0px); }
html.has-admin-bar.nb .nav { top:calc(var(--hd) + var(--admin-bar-height,0px)); }
@media(max-width:1024px) {
  html.has-admin-bar .hd { top:var(--admin-bar-height,0px); }
  html.has-admin-bar .nav { top:calc(var(--hd) + var(--admin-bar-height,0px)); }
}
@media(max-width:960px) { html.has-admin-bar .toc { max-height:none; } }
@media(max-width:540px) {
  .admin-bar__inner { gap:0 .6rem; padding-block:.25rem; }
  .admin-bar__links { flex-basis:100%; justify-content:space-between; }
  .admin-bar__total { margin-left:-.65rem; }
  .admin-bar__empty { padding-left:0; }
}
@media(prefers-reduced-motion:reduce) { .admin-bar.has-arrival .admin-bar__new { animation:none; } }
@media print { .admin-bar { display:none!important; } }
