/* ONOFFELOW 3.5.1: display the original POST sign-out control on narrow screens. */
.login-page button[type="submit"],
main form.card button[type="submit"].btn-primary,
main form.card button[type="submit"].btn-coral,
.ea-faq summary { min-block-size:44px; }
.ea-faq summary { display:flex;align-items:center;justify-content:space-between;gap:.75rem; }
@media (max-width:1050px) {
  .app-shell > .sidebar:has(.sidebar-footer form[action="/api/auth/logout"]) {
    display:contents;
  }
  .app-shell > .sidebar:has(.sidebar-footer form[action="/api/auth/logout"]) > :not(.sidebar-footer),
  .app-shell > .sidebar > .sidebar-footer:has(form[action="/api/auth/logout"]) > :not(form) {
    display:none;
  }
  .app-shell > .sidebar > .sidebar-footer:has(form[action="/api/auth/logout"]) {
    display:block;position:fixed;inset-block-start:8px;inset-inline-end:12px;
    padding:0;margin:0;border:0;background:none;z-index:31;
  }
  .app-shell > .sidebar > .sidebar-footer form[action="/api/auth/logout"] > button {
    min-block-size:44px;padding:0 9px;font-size:12px;color:var(--tide);
    border:1px solid var(--line)!important;background:var(--surface)!important;
  }
  .app-shell:has(> .sidebar .sidebar-footer form[action="/api/auth/logout"]) .mobile-header {
    padding-inline-end:108px;
  }
  .app-shell .mobile-header > .brand-mono {
    overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  }
  .app-shell .mobile-header .notification-trigger { min-inline-size:44px;min-block-size:44px; }
  .app-shell .mobile-header .notification-popover { inset-inline-end:-80px;max-inline-size:calc(100vw - 24px); }
  .app-shell :focus-visible { scroll-margin-block-start:104px; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation:none; } }

/* Company Home: Add employee CTA */
.page-header a.btn.btn-coral[href="/admin/employees/new"]{background:#c2410c;color:#fff}
.page-header a.btn.btn-coral[href="/admin/employees/new"]:hover{background:#9a3412}
