#attendanceAccessGate,
#attendanceToolbar,
.attendance-quick-quote,
.attendance-copy-budget { display: none; }

html.attendance-auth-pending,
html.attendance-auth-pending body { min-height: 100%; overflow: hidden; }
html.attendance-auth-pending body > * { visibility: hidden; }

#attendanceAccessGate {
  position: fixed; inset: 0; z-index: 100000; place-items: center; padding: 24px;
  background: #f3f7fd; visibility: visible;
}
html.attendance-access-denied #attendanceAccessGate { display: grid; }
.attendance-access-card {
  width: min(430px, 100%); padding: 36px; border: 1px solid #d6e1f2; border-radius: 26px;
  background: #fff; box-shadow: 0 24px 70px rgba(16,37,75,.14); color: #10254b; text-align: center;
}
.attendance-access-card img { width: 220px; max-width: 80%; }
.attendance-access-card h1 { margin: 25px 0 10px; font-size: 28px; }
.attendance-access-card p { color: #64718b; line-height: 1.55; }
.attendance-access-card a {
  display: inline-flex; min-height: 46px; margin-top: 12px; padding: 0 20px; align-items: center;
  justify-content: center; border-radius: 11px; background: #1554b8; color: #fff; font-weight: 850; text-decoration: none;
}

body.attendance-mode #attendanceToolbar {
  position: sticky; top: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 10px clamp(14px,3vw,34px); background: #10254b; color: #fff;
  box-shadow: 0 6px 22px rgba(16,37,75,.16);
}
.attendance-toolbar-title { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.attendance-toolbar-title span { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #f57c00; }
#attendanceToolbar small { color: #d7e4f8; }
#attendanceToolbar a { color: #fff; font-size: 13px; font-weight: 800; }

body.attendance-mode .shipping-bar,
body.attendance-mode .hero,
body.attendance-mode .promo-banner,
body.attendance-mode .showcase-section,
body.attendance-mode #openLogin,
body.attendance-mode #heroAccount { display: none !important; }
html.launch-hold-active body.attendance-mode { overflow: auto; }
html.launch-hold-active body.attendance-mode #launchHold { display: none; }
body.attendance-mode .header { padding-top: 16px; padding-bottom: 16px; }
body.attendance-mode .catalog-section { padding-top: 22px; }
body.attendance-mode .drawer { z-index: 1000; }
body.attendance-mode .drawer-head {
  position: sticky; top: 0; z-index: 2; flex: 0 0 auto; background: #fff;
}
.drawer-close-button {
  display: inline-flex; min-height: 38px; padding: 0 13px; align-items: center; gap: 7px;
  border: 1px solid #cbd8e9; border-radius: 9px; background: #f6f9fd; color: #10254b;
  font: 800 12px Inter,Arial,sans-serif; cursor: pointer;
}
.drawer-close-button span { font-size: 20px; line-height: 1; }
.drawer-close-button:hover { border-color: #1255bd; background: #edf4ff; }

body.attendance-mode .attendance-quick-quote {
  display: flex; width: 100%; min-height: 40px; margin-top: 9px; border: 1px solid #f57c00;
  align-items: center; justify-content: center; gap: 8px;
  border-radius: 9px; background: #fff8f1; color: #bd5200; font-weight: 850; cursor: pointer;
}
body.attendance-mode .attendance-quick-quote:hover { background: #ffeddc; }
body.attendance-mode .attendance-quick-quote:disabled { cursor: not-allowed; opacity: .5; }
body.attendance-mode .attendance-copy-budget {
  display: flex; min-height: 48px; margin-bottom: 10px; border: 1px solid #f57c00;
  align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; background: #fff7ed; color: #b44d00; font-weight: 900; cursor: pointer;
}
body.attendance-mode .attendance-copy-budget:disabled { cursor: not-allowed; opacity: .48; }

body.attendance-mode .attendance-warning-icon {
  display: inline-flex; width: 19px; height: 19px; flex: 0 0 19px;
  color: #e16400;
}
body.attendance-mode .attendance-warning-icon svg {
  width: 100%; height: 100%; overflow: visible;
  fill: #fff0c7; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

#attendanceToast {
  position: fixed; right: 22px; bottom: 24px; z-index: 100001; max-width: min(390px,calc(100vw - 32px));
  padding: 14px 18px; border-radius: 12px; background: #10254b; color: #fff; font-weight: 800;
  box-shadow: 0 18px 50px rgba(16,37,75,.28); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .2s ease, transform .2s ease;
}
#attendanceToast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  #attendanceToolbar { align-items: flex-start; flex-direction: column; }
  #attendanceToolbar small { display: block; margin-top: 3px; }
  body.attendance-mode .header { grid-template-columns: 1fr; }
  body.attendance-mode .header .brand { display: none; }
  body.attendance-mode .navigation { padding-left: 12px; }
}
