.login-page {
  --entry-ink: #123d3e;
  --entry-muted: #496568;
  --entry-rule: #d6e4df;
  min-height: 100svh;
  color: var(--entry-ink);
  background: linear-gradient(180deg, #eef6f2 0, #f6f9f7 390px);
}
.login-page .brand-header {
  flex-wrap: nowrap;
  min-height: 64px;
  gap: 16px;
  padding: 8px max(16px, calc((100% - 960px) / 2), env(safe-area-inset-right))
           8px max(16px, calc((100% - 960px) / 2), env(safe-area-inset-left));
  background: #0a4243;
}
.login-page .brand-lockup { gap: 10px; }
.login-page .brand-lockup img { width: 38px; height: 38px; border-radius: 11px; }
.login-page .brand-lockup strong {
  font-size: clamp(16px, 4.4vw, 20px); line-height: 1.2; white-space: nowrap;
}
.login-page .header-actions a.attendance-entry {
  gap: 6px; padding-inline: 13px; border-radius: 10px;
  font-size: 14px; text-decoration: none; letter-spacing: .02em;
}
.login-entry {
  width: min(100%, 530px);
  margin-inline: auto;
  padding: clamp(24px, 7vh, 72px) max(16px, env(safe-area-inset-right))
           max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.entry-surface {
  border: 1px solid var(--entry-rule);
  border-radius: 20px;
  background: white;
  box-shadow: 0 12px 32px -18px rgb(11 61 52 / 22%);
}
.login-entry .login-layout {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
.login-entry :is(.face-card, .qr-card) {
  width: 100%; margin: 0; padding: clamp(22px, 4vw, 34px);
  border: 0; border-radius: inherit; box-shadow: none; background: none;
}
.login-entry .face-card { text-align: start; }
.entry-card-heading {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 10px; margin-bottom: 12px; text-align: start;
}
.provider-handoff .entry-card-heading { display: none; }
.login-entry .eyebrow {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 25px; padding: 2px 9px;
  border-radius: 7px; background: #e7f3eb; color: #245d4b;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.is-signed-out .login-entry #modeLabel::before {
  content: ''; width: 8px; height: 4px; margin: 0 1px 3px 0;
  border-inline-start: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg);
}
.login-entry :is(#pageTitle, .qr-card h1) {
  margin: 0;
  font-size: clamp(27px, 5vw, 34px); font-weight: 750; line-height: 1.25;
}
.login-entry :is(#pageLead, .qr-card > p) {
  margin: 0 0 22px; color: var(--entry-muted); font-size: 16px; line-height: 1.6;
}
.login-entry .status-message {
  width: 100%; min-height: 0; margin: 0 0 14px; padding: 10px 12px;
  border-radius: 8px; font-size: 15px; text-align: start;
}
.login-entry :is(.status-message, .form-error):empty { display: none; }
.login-entry .primary-button:not([hidden]), .login-entry .password-choice:not([hidden]) {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 11px;
  font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none;
}
.login-entry .primary-button { background: #07574f; }
.login-entry .primary-button:enabled:hover { background: #08463f; }
.login-entry .password-choice {
  margin: 10px 0 0; border: 1px solid #bacfc6; background: #fff; color: #214f46;
}
.login-entry .password-choice:is(:hover, [aria-expanded="true"]) { background: #f1f7f3; }
.login-entry .primary-button::before, .login-entry .password-choice::before {
  content: ''; display: block; width: 19px; height: 19px; flex: none; background: currentColor;
}
.login-entry .primary-button::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V5a2 2 0 0 1 2-2h3m8 0h3a2 2 0 0 1 2 2v3m0 8v3a2 2 0 0 1-2 2h-3m-8 0H5a2 2 0 0 1-2-2v-3M8 9v1m8-1v1m-8 4a5 5 0 0 0 8 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.login-entry .password-choice::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10' width='15' height='11' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3m-4 5v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.login-entry .password-panel { width: 100%; margin-top: 16px; }
.login-entry .password-panel input { min-height: 46px; font-size: 16px; }
.login-entry .camera-shell { max-width: 100%; }
.login-entry .qr-frame { width: min(198px, 100%); margin: 12px auto; border-radius: 14px; }
.login-entry .qr-status { min-height: 0; margin: 8px auto; }
.login-entry .qr-card small { margin: 8px 0 14px; }
.login-entry .login-help {
  max-width: none; margin: 0; padding: 0 clamp(22px, 4vw, 34px);
  border: 0; border-top: 1px solid var(--entry-rule); border-radius: 0 0 20px 20px;
  color: var(--entry-muted); background: #fbfdfb; font-size: 15px; line-height: 1.65;
}
.login-help summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; list-style: none;
}
.login-help summary::-webkit-details-marker { display: none; }
.login-help summary::after {
  content: ''; width: 7px; height: 7px; margin-inline-end: 4px;
  border-bottom: 1.8px solid; border-right: 1.8px solid; transform: rotate(45deg);
}
.login-help[open] summary::after { transform: rotate(225deg); }
.login-help ol { margin: 4px 0 12px; padding-inline-start: 22px; }
.login-help li + li { margin-top: 5px; }
.login-entry .login-action-row { margin: 0; padding-bottom: 16px; gap: 8px; }
.login-entry .login-action-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 10px; }
.provider-handoff .login-entry .login-help #empregLoginLink { display: inline-flex !important; }
.login-entry .site-status-entry { padding: 4px 0 0; }
.login-entry .site-status-entry button { color: #45655b; font-size: 13px; }
.login-entry .site-status-entry button.has-sync-alert { color: #9e3023; }
.login-entry .login-session-notice {
  width: 100%; max-width: none; margin: 0 0 12px; padding: 12px 16px; font-size: 15px;
}
.login-entry #loginNetworkNotice { background: #fff0d6; color: #684308; }
.login-entry [hidden] { display: none !important; }
@media (max-width: 600px) {
  .login-entry { padding-top: 22px; }
}
@media (max-width: 360px) {
  .login-page .brand-header {
    gap: 8px;
    padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
  }
  .login-page .brand-lockup { gap: 6px; }
  .login-page .brand-lockup img { width: 30px; height: 30px; border-radius: 8px; }
  .login-page .header-actions a.attendance-entry { padding-inline: 8px; }
}
