@import url('/admin/assets/fonts/baomoi-lexend/styles.css');

:root {
  --font-admin: Lexend, baomoi, AvenirNextCondensed-Medium, HelveticaNeue-CondensedBold, "sans-serif-condensed", Calibri, Corbel, "Liberation Sans Narrow", "Lohit Odia", sans-serif;
  --bg: #f7f9fb;
  --bg-soft: #f0f4f7;
  --card: rgba(255, 255, 255, 0.96);
  --card-strong: #ffffff;
  --text: #2a3439;
  --muted: #566166;
  --muted-strong: #3f4a50;
  --primary: #0053db;
  --primary-strong: #0048c1;
  --primary-soft: #d3e4fe;
  --teal: #625b77;
  --teal-soft: #ebe8ff;
  --border: #d9e4ea;
  --border-strong: #c7d4dc;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #ca8a04;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-admin);
  background:
    radial-gradient(circle at top left, rgba(0, 83, 219, 0.10), transparent 24%),
    radial-gradient(circle at top right, rgba(98, 91, 119, 0.10), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 34%, #eef3f7 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button {
  border: 0;
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 83, 219, 0.22);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
button:hover { transform: translateY(-1px); }
@media (hover: hover) and (pointer: fine) {
  button:hover { transform: none; }
}
button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; filter: saturate(.72); }
button.secondary {
  background: rgba(255,255,255,.92);
  color: var(--text);
  border: 1px solid rgba(225, 232, 238, 0.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
button.ghost {
  background: transparent;
  color: var(--muted-strong);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
}
input, textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
input:focus, textarea:focus {
  outline: 3px solid rgba(25, 169, 116, 0.14);
  border-color: rgba(25, 169, 116, 0.45);
}
label { display: grid; gap: 8px; font-weight: 700; color: var(--muted-strong); }

.container { max-width: 1180px; margin: 0 auto; padding: 24px; }
.shell { display: grid; gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid rgba(225, 232, 238, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.stack { display: grid; gap: 12px; text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.spread { justify-content: space-between; }
.hidden { display: none !important; }

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.08; }
h2 { font-size: clamp(22px, 4vw, 30px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.18; }
.small { font-size: 14px; line-height: 1.55; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--teal-soft);
  color: #0f6f6b;
  font-weight: 800;
  font-size: 13px;
}
.status-line {
  min-height: 24px;
  font-size: 14px;
  color: var(--muted-strong);
}
.status-line.error { color: var(--danger); }
.status-line.success { color: var(--success); }
.employee-skeleton-line {
  position: relative;
  color: transparent !important;
}
.employee-skeleton-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(88%, 280px);
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(226,232,240,.8) 0%, rgba(241,245,249,.95) 48%, rgba(226,232,240,.8) 100%);
  background-size: 220% 100%;
  animation: employeeSkeletonPulse 1.25s ease-in-out infinite;
}
@keyframes employeeSkeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -40% 0; }
}
@keyframes employeeShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -40% 0; }
}
body.employee-popup-open {
  overflow: hidden;
}
.employee-popup-shell {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.employee-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(16px);
}
.employee-popup-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  border-radius: 34px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,250,252,0.97));
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.employee-popup-glow {
  position: absolute;
  right: -52px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24), rgba(45, 212, 191, 0));
  pointer-events: none;
}
.employee-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.employee-popup-head {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-right: 44px;
}
.employee-popup-icon {
  width: 78px;
  height: 78px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #2563eb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.employee-popup-icon.success {
  background: linear-gradient(135deg, #dcfce7, #ecfdf5);
  color: #059669;
}
.employee-popup-icon.error {
  background: linear-gradient(135deg, #fee2e2, #fff1f2);
  color: #dc2626;
}
.employee-popup-icon .material-symbols-outlined {
  font-size: 38px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 48;
}
.employee-popup-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}
.employee-popup-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0f766e;
}
.employee-popup-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.employee-popup-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}
.employee-popup-meta {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.employee-popup-meta-card {
  border-radius: 22px;
  padding: 14px 16px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.92);
  display: grid;
  gap: 6px;
}
.employee-popup-meta-label {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #64748b;
}
.employee-popup-meta-card strong {
  font-size: 15px;
  line-height: 1.5;
  color: #0f172a;
  word-break: break-word;
}
.employee-popup-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.98), rgba(236, 253, 245, 0.98));
  border: 1px solid rgba(167, 243, 208, 0.8);
  font-size: 14px;
  line-height: 1.6;
  color: #0f766e;
}
.employee-popup-action {
  margin-top: 20px;
  width: 100%;
  border: 0;
  border-radius: 22px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.22);
}
.employee-popup-action.error {
  background: linear-gradient(135deg, #dc2626, #f97316);
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.22);
}
.employee-popup-action.success {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.22);
}
@media (max-width: 640px) {
  .employee-popup-shell {
    align-items: end;
    padding: 12px;
  }
  .employee-popup-card {
    width: 100%;
    border-radius: 24px 24px 20px 20px;
    padding: 18px 16px 14px;
  }
  .employee-popup-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-right: 36px;
  }
  .employee-popup-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .employee-popup-eyebrow { display: none; }
  .employee-popup-card h3 {
    font-size: 20px;
  }
  .employee-popup-card p {
    font-size: 14px;
    line-height: 1.55;
  }
  .employee-popup-meta,
  .employee-popup-note { display: none; }
  .employee-popup-action {
    margin-top: 14px;
    border-radius: 16px;
    padding: 14px 16px;
  }
}
.auth-shell { min-height: 100vh; display: grid; place-items: center; }
.hidden-label { display: none; }
.countdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(225, 232, 238, 0.96);
  color: var(--muted-strong);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
.token-box {
  color: #cd1313;
  font-size: x-large;
  font-family: math;
}
.qr-box {
  min-height: 240px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8fffb, #eef8f3);
}
.scanner-video {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 24px;
  background: #10211a;
}

.kiosk-page-body {
  min-height: 100vh;
}
.kiosk-shell-redesigned {
  max-width: 1240px;
  padding-top: 32px;
  padding-bottom: 32px;
  display: grid;
  gap: 24px;
}
.kiosk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr);
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(240,244,247,.94));
  border: 1px solid rgba(217, 228, 234, .96);
}
.kiosk-hero-copy,
.kiosk-hero-side {
  display: grid;
  gap: 16px;
}
.kiosk-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 83, 219, .08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.kiosk-badge .material-symbols-outlined,
.kiosk-icon-pill .material-symbols-outlined,
.kiosk-hero-chip .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
.kiosk-hero-text {
  text-align: left;
  gap: 10px;
}
.kiosk-hero-text h1 {
  font-family: var(--font-admin);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.kiosk-hero-text .small {
  max-width: 62ch;
  font-size: 15px;
}
.kiosk-hero-side {
  align-content: start;
}
.kiosk-hero-chip {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(217, 228, 234, .96);
}
.kiosk-hero-chip strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.35;
  word-break: break-word;
}
.kiosk-hero-chip.muted strong {
  color: var(--primary);
  font-size: 14px;
}
.kiosk-live-clock {
  justify-self: start;
  padding: 12px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(217, 228, 234, .96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.kiosk-main-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, .95fr);
  gap: 24px;
  align-items: stretch;
}
.kiosk-qr-card,
.kiosk-token-card-redesigned,
.kiosk-guide-card {
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,252,.96));
  border: 1px solid rgba(217, 228, 234, .96);
}
.kiosk-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.kiosk-section-head.compact {
  margin-bottom: 14px;
}
.kiosk-section-head h2,
.kiosk-section-head h3 {
  font-family: var(--font-admin);
  letter-spacing: -.02em;
}
.kiosk-icon-pill {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 83, 219, .10);
  color: var(--primary);
}
.kiosk-icon-pill.soft {
  background: rgba(98, 91, 119, .10);
  color: var(--teal);
}
.kiosk-qr-box {
  min-height: 420px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #eef4fb);
  border: 1px solid rgba(217, 228, 234, .96);
}
.kiosk-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(217, 228, 234, .92);
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.55;
}
.kiosk-side-stack {
  display: grid;
  gap: 24px;
}
.kiosk-token-card-redesigned {
  display: grid;
  gap: 12px;
  align-content: start;
}
.kiosk-token-box {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0,83,219,.06), rgba(255,255,255,.98));
  border: 1px solid rgba(207, 220, 227, .98);
  color: var(--primary);
  font-family: var(--font-admin);
  font-size: clamp(48px, 8vw, 74px);
  font-weight: 800;
  letter-spacing: .18em;
  padding-left: .18em;
}
.kiosk-token-status-row {
  text-align: center;
  padding-top: 5px;
  display: block;
}
.kiosk-countdown-pill {
  background: rgba(0, 83, 219, .08);
  border-color: rgba(0, 83, 219, .14);
  color: var(--primary);
}
.kiosk-guide-list {
  display: grid;
  gap: 14px;
}
.kiosk-guide-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(217, 228, 234, .9);
}
.kiosk-guide-step {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 83, 219, .10);
  color: var(--primary);
  font-weight: 800;
}
.kiosk-guide-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.kiosk-grid-compact {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: start;
}
.kiosk-qr-panel .qr-box {
  min-height: 360px;
}
.kiosk-topbar-compact {
  align-items: start;
}
.kiosk-info-stack {
  gap: 16px;
}
.kiosk-token-card {
  padding-top: 18px;
}
.kiosk-status-badge {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(217, 228, 234, 0.96);
  background: #f8fafc;
  padding: 12px 14px;
}
.kiosk-status-badge .material-symbols-outlined {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}
.kiosk-status-badge p {
  margin: 0;
}
#kioskStatusTitle {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
#kioskStatusSubtitle {
  margin-top: 2px;
  font-size: 12px;
  color: #475569;
}
.kiosk-status-badge.is-active {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.08);
}
.kiosk-status-badge.is-active .material-symbols-outlined {
  background: rgba(16, 185, 129, 0.22);
  color: #047857;
}
.kiosk-status-badge.is-pending {
  border-color: rgba(245, 158, 11, 0.44);
  background: rgba(251, 191, 36, 0.09);
}
.kiosk-status-badge.is-pending .material-symbols-outlined {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
}
.kiosk-status-badge.is-disabled,
.kiosk-status-badge.is-error {
  border-color: rgba(239, 68, 68, 0.44);
  background: rgba(239, 68, 68, 0.08);
}
.kiosk-status-badge.is-disabled .material-symbols-outlined,
.kiosk-status-badge.is-error .material-symbols-outlined {
  background: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}
.kiosk-status-badge.is-expired {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}
.kiosk-status-badge.is-expired .material-symbols-outlined {
  background: rgba(99, 102, 241, 0.2);
  color: #4338ca;
}
.kiosk-status-badge.is-landing {
  border-color: rgba(14, 116, 144, 0.4);
  background: rgba(14, 116, 144, 0.08);
}
.kiosk-status-badge.is-landing .material-symbols-outlined {
  background: rgba(14, 116, 144, 0.2);
  color: #0e7490;
}
.kiosk-connection-card {
  border-radius: 20px;
  border: 1px solid rgba(217, 228, 234, 0.96);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}
.kiosk-connection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kiosk-connection-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.kiosk-connection-badge.is-online {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}
.kiosk-connection-badge.is-offline {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}
.kiosk-connection-badge.is-unstable {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}
.kiosk-hero-actions {
  display: grid;
  gap: 8px;
}
.kiosk-power-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}
.kiosk-power-btn .material-symbols-outlined {
  font-size: 20px;
}
.kiosk-activation-actions {
  text-align: center;
  padding-top: 5px;
}
.kiosk-token-actions {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 12px;
}
.kiosk-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  border-radius: 14px;
  padding: 10px 16px;
}
.kiosk-copy-btn .material-symbols-outlined {
  font-size: 18px;
}
.kiosk-landing-panel {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(217, 228, 234, 0.92);
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.kiosk-landing-head {
  display: grid;
  gap: 4px;
}
.kiosk-store-list {
  display: grid;
  gap: 10px;
}
.kiosk-store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(209, 219, 230, 0.95);
  background: #fff;
  padding: 12px 14px;
  transition: border-color .16s ease, background-color .16s ease;
}
.kiosk-store-item:hover {
  border-color: rgba(0, 83, 219, 0.35);
  background: rgba(241, 245, 255, 0.8);
}
.kiosk-store-item-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.kiosk-store-item .material-symbols-outlined {
  color: #2563eb;
  font-size: 20px;
}
.kiosk-qr-svg-wrap {
  width: min(100%, 360px);
  margin: 0 auto;
}
.kiosk-qr-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.kiosk-shell-minimal {
  max-width: 760px;
  padding-top: 10px;
  padding-bottom: 14px;
  gap: 10px;
}
.kiosk-unified-card {
  border-radius: 20px;
  padding: 14px;
}
.kiosk-unified-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  align-items: start;
}
.kiosk-unified-grid-single {
  grid-template-columns: 1fr;
}
.kiosk-unified-pane {
  min-width: 0;
}
.kiosk-unified-pane-token {
  border-top: 1px solid rgba(217, 228, 234, 0.96);
  padding-top: 14px;
}
.kiosk-unified-pane-token.kiosk-token-card {
  padding-top: 14px;
}
.kiosk-main-grid-two {
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.95fr);
  gap: 16px;
}
.kiosk-card-compact {
  border-radius: 24px;
  padding: 16px;
}
.kiosk-card-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.kiosk-card-head-row h2 {
  font-size: 21px;
}
.kiosk-compact-clock-wrap {
  min-width: 120px;
  text-align: right;
}
.kiosk-compact-clock {
  font-family: var(--font-admin);
  font-size: 20px;
  line-height: 1.1;
  color: #0f172a;
}
.kiosk-compact-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.kiosk-compact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid rgba(217, 228, 234, 0.96);
  background: rgba(255, 255, 255, 0.88);
  padding: 10px;
}
.kiosk-compact-meta-item .material-symbols-outlined {
  font-size: 20px;
  color: #334155;
}
.kiosk-compact-meta-item strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}
.kiosk-shell-minimal .kiosk-qr-box {
  min-height: 290px;
  border-radius: 22px;
}
.kiosk-shell-minimal .kiosk-note {
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.kiosk-shell-minimal .kiosk-status-badge {
  padding: 10px 12px;
}
.kiosk-shell-minimal .kiosk-token-box {
  min-height: 92px;
  font-size: clamp(38px, 8vw, 58px);
}
.kiosk-shell-minimal .kiosk-connection-card-compact {
  margin-top: 8px;
  padding: 8px 10px;
}
.kiosk-shell-minimal #kioskActivationPanel .rounded-\[20px\] {
  border-radius: 16px;
}
.kiosk-shell-minimal #kioskActivationForm {
  border-radius: 14px;
  padding: 12px;
}
.kiosk-compact-link {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: rgba(241, 245, 255, 0.62);
  padding: 8px 10px;
  font-size: 12px;
  color: #334155;
  word-break: break-all;
}
.kiosk-connection-card-compact {
  padding: 10px 12px;
}
.kiosk-power-btn-small {
  min-height: 40px;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
}
.kiosk-power-hint {
  margin-top: -2px;
}

/* Kiosk reference layout (desktop 2-panel, inspired by provided mockup) */
.kiosk-ref-body {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, #eff5ff 0%, #f7fbff 44%, #eef5ff 100%);
}
.kiosk-ref-shell {
  max-width: 820px;
  padding-top: 18px;
  padding-bottom: 18px;
  display: grid;
  gap: 16px;
}
.kiosk-ref-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8e7ff;
}
.kiosk-ref-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kiosk-ref-brand-icon {
  font-size: 40px;
  color: #1d6ce0;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 48;
}
.kiosk-ref-brand-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-family: var(--font-admin);
  color: #0b2b61;
}
.kiosk-ref-brand-sub {
  margin: 4px 0 0;
  color: #52607d;
  font-size: 13px;
}
.kiosk-ref-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kiosk-ref-time-wrap {
  text-align: right;
}
.kiosk-ref-time {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: #0b2b61;
  font-family: var(--font-admin);
}
.kiosk-ref-date {
  margin: 4px 0 0;
  color: #52607d;
  font-size: 14px;
}
.kiosk-ref-lang-btn {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 14px;
  gap: 6px;
  display: inline-flex;
  align-items: center;
}
.kiosk-ref-main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 20px 20px 16px;
  border: 1px solid #d9e6fb;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 42, 92, 0.08);
}
.kiosk-ref-heading {
  text-align: center;
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.kiosk-ref-heading h1 {
  margin: 0;
  font-family: var(--font-admin);
  color: #0b2b61;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.kiosk-ref-heading p {
  margin: 0;
  color: #52607d;
  font-size: 16px;
}
.kiosk-ref-panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
.kiosk-ref-method {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #dbe7f8;
  background: #f9fcff;
}
.kiosk-ref-method-qr {
  border-color: #c9ddff;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}
.kiosk-ref-method-token {
  border-color: #c7ead4;
  background: linear-gradient(180deg, #f8fdf9 0%, #f4fbf6 100%);
}
.kiosk-ref-method-token #kioskTokenPanel {
  margin-top: 5px;
}
.kiosk-ref-method-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.kiosk-ref-method-head h2 {
  margin: 6px 0 0;
  color: #0b2b61;
  font-size: 22px;
  line-height: 1.18;
}
.kiosk-ref-running-clock {
  font-family: var(--font-admin);
  font-size: 22px !important;
  letter-spacing: 0;
  color: #0b2b61 !important;
  line-height: 1.18;
}
.kiosk-ref-method-token .kiosk-ref-method-head h2 {
  color: #06713e;
}
.kiosk-ref-store-meta {
  text-align: right;
  min-width: 180px;
}
.kiosk-ref-store-meta strong {
  display: block;
  margin-top: 2px;
  color: #0b2b61;
  font-size: 13px;
  line-height: 1.35;
}
.kiosk-ref-method-desc {
  margin: 10px 0 12px;
  color: #52607d;
  text-align: center;
  font-size: 15px;
}
.kiosk-ref-qr-box {
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid #cfe0ff;
  background: #ffffff;
}
.kiosk-ref-qr-meta {
  margin: 10px 0 0;
  color: #2f63c5;
  font-size: 14px;
  text-align: center;
}
.kiosk-ref-divider {
  display: none;
}
.kiosk-ref-main .kiosk-status-badge {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.88);
}
.kiosk-ref-main .kiosk-connection-card-compact {
  margin-top: 10px;
  background: #ffffff;
}
.kiosk-ref-main .kiosk-power-hint {
  margin-top: 8px;
  color: #5a6b85;
}
.kiosk-ref-token-box {
  min-height: 108px;
  border-radius: 14px;
  border: 1px solid #bfe8cb;
  background: #ffffff;
  color: #13a24f;
  font-size: clamp(44px, 6vw, 70px);
  letter-spacing: 0.26em;
}
.kiosk-ref-expiry-card {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid #c7ead4;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.kiosk-ref-expiry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #4a5b77;
  font-size: 14px;
}
.kiosk-ref-expiry-head strong {
  color: #0b8c48;
  font-size: 20px;
  line-height: 1;
}
.kiosk-ref-expiry-progress {
  height: 8px;
  border-radius: 999px;
  background: #dcf7e6;
  overflow: hidden;
}
.kiosk-ref-expiry-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transition: width 0.3s ease;
}
.kiosk-ref-security {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #d8e7ff;
  background: #f9fcff;
  padding: 12px 14px;
  text-align: center;
}
.kiosk-ref-security-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #17366f;
}
.kiosk-ref-security-text {
  margin: 4px 0 0;
  color: #52607d;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .kiosk-ref-shell { max-width: 760px; }
}

@media (max-width: 760px) {
  .kiosk-ref-shell {
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .kiosk-ref-topbar {
    padding: 12px;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .kiosk-ref-topbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .kiosk-ref-brand-title {
    font-size: 24px;
  }
  .kiosk-ref-time {
    font-size: 32px;
  }
  .kiosk-ref-main {
    max-width: 100%;
    padding: 14px 12px;
    border-radius: 16px;
  }
  .kiosk-ref-method {
    padding: 12px;
    border-radius: 14px;
    max-width: 100%;
  }
  .kiosk-ref-method-head {
    flex-direction: column;
    gap: 8px;
  }
  .kiosk-ref-store-meta {
    text-align: left;
    min-width: 0;
  }
  .kiosk-ref-token-box {
    font-size: clamp(34px, 12vw, 52px);
    letter-spacing: 0.2em;
    padding-left: 0.2em;
  }
}

@media (max-width: 700px) {
  .kiosk-unified-card {
    padding: 12px;
    border-radius: 18px;
  }
  .kiosk-card-head-row h2 {
    font-size: 19px;
  }
  .kiosk-compact-meta-grid {
    grid-template-columns: 1fr;
  }
  .kiosk-shell-minimal {
    max-width: 100%;
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .kiosk-shell-minimal .kiosk-qr-box {
    min-height: 250px;
  }
}

.employee-premium-body { min-height: 100vh; }
.employee-premium-shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 18px 110px;
}
.employee-login-shell {
  width: min(420px, 100%);
  margin: 24px auto 0;
  display: grid;
  gap: 28px;
}
.employee-login-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}
.employee-login-brandmark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: white;
  font-size: 32px;
  box-shadow: 0 16px 34px rgba(0,83,219,.22);
}
.employee-login-copy h1 {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.employee-login-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.employee-login-card {
  display: grid;
  gap: 28px;
  padding: 32px 28px;
  border-radius: 32px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(219,231,222,.9);
  box-shadow: 0 16px 42px rgba(44,52,55,.08);
}
.employee-login-form {
  display: grid;
  gap: 24px;
}
.employee-login-field {
  display: grid;
  gap: 10px;
}
.employee-login-field > span,
.employee-login-field-row > span {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.employee-login-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.employee-login-link {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.employee-input-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(172,179,183,.28);
}
.employee-input-line input {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 0 0;
  box-shadow: none;
}
.employee-input-line input:focus {
  outline: none;
  border: 0;
}
.employee-input-icon {
  color: rgba(89,96,100,.45);
  font-size: 18px;
}
.employee-login-submit {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4e45e4, #6760fd);
}
.employee-login-helper {
  margin: -6px 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.employee-login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
}
.employee-login-divider span {
  flex: 1;
  height: 1px;
  background: rgba(172,179,183,.16);
}
.employee-login-divider small {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(89,96,100,.55);
}
.employee-login-quick-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.employee-quick-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f0f4f7;
  color: var(--muted-strong);
  box-shadow: none;
  font-size: 24px;
}
.employee-login-footer {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.employee-premium-app { display: grid; gap: 18px; }
.employee-topbar,
.employee-history-topbar,
.employee-schedule-topbar,
.employee-leave-topbar,
.employee-settings-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(225,232,238,.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(34,54,85,.06);
}
.employee-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}
.employee-topbar-copy,
.employee-history-topbar-copy,
.employee-schedule-topbar-copy,
.employee-leave-topbar-copy,
.employee-settings-topbar-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.employee-topbar-copy {
  display: grid;
  gap: 2px;
}
.employee-topbar-copy h2 {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.employee-history-topbar-copy h3,
.employee-schedule-topbar-copy h3,
.employee-leave-topbar-copy h3,
.employee-settings-topbar-copy h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.employee-settings-topbar-sub {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.employee-greeting-kicker {
  font-size: 13px;
  line-height: 1.2;
  color: var(--muted);
}
.employee-topbar-date {
  font-size: 13px;
  line-height: 1.2;
  color: var(--muted);
}
#todayStatusTitle {
  display: block;
  font-size: clamp(20px, 3.2vw, 24px);
  line-height: 1.12;
  font-weight: 700;
}
.employee-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  border: 1px solid rgba(199,212,220,.9);
  box-shadow: none;
  font-size: 18px;
}
.employee-topbar-notify-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,.94);
  color: #4e45e4;
  border: 1px solid rgba(219,231,222,.9);
  box-shadow: 0 10px 22px rgba(18,34,26,.05);
  display: grid;
  place-items: center;
}
.employee-topbar-notify-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  border: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.employee-section { display: contents; }
.home-editorial {
  gap: 22px;
}
.employee-hero-status {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  padding: 22px;
}
.editorial-home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}
.editorial-home-hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -50px;
  border-radius: 999px;
  background: rgba(227, 224, 249, 0.45);
  filter: blur(10px);
}
.editorial-home-head,
.editorial-home-hero > * { position: relative; z-index: 1; }
.employee-status-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(0, 83, 219, 0.10);
  color: var(--primary);
  font-size: 28px;
}
.employee-shift-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.employee-shift-timeline {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}
.employee-shift-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.employee-shift-timeline-now {
  color: #0f58cd;
  font-weight: 800;
  letter-spacing: .02em;
}
.employee-shift-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.28);
}
.employee-shift-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f58cd, #3b82f6);
  transition: width .24s ease;
}
.employee-shift-track span[data-phase="completed"] {
  background: linear-gradient(90deg, #475569, #64748b);
}
.employee-shift-track span[data-phase="overtime"] {
  background: linear-gradient(90deg, #dc2626, #f97316);
}
.employee-shift-track span.employee-skeleton-progress {
  background: linear-gradient(90deg, rgba(226,232,240,.9) 0%, rgba(241,245,249,.98) 48%, rgba(226,232,240,.9) 100%);
  background-size: 220% 100%;
  animation: employeeShimmer 1.2s linear infinite;
}
.employee-home-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.employee-mini-panel {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.05);
}
.employee-mini-panel.accent {
  background: linear-gradient(180deg, #dbe1ff, #eef2ff);
}
.employee-mini-panel-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.employee-mini-panel strong {
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
}
.employee-mini-panel small {
  color: var(--muted);
  line-height: 1.45;
}
.employee-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.employee-quick-grid {
  display: none !important;
}
.employee-quick-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.05);
  text-align: left;
}
.employee-quick-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #dbe1ff;
  color: #394c83;
}
.employee-quick-card span:last-child {
  display: grid;
  gap: 4px;
}
.employee-quick-card strong {
  font-size: 15px;
}
.employee-quick-card small {
  color: var(--muted);
  line-height: 1.4;
}
.employee-home-activity {
  display: grid;
  gap: 14px;
}
.employee-home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.employee-live-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(103, 96, 253, 0.12);
  color: #4e45e4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.employee-activity-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
}
.employee-activity-card.soft {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
.employee-activity-card.layered {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
.employee-activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #dbe1ff;
  color: #394c83;
  font-size: 22px;
}
.employee-activity-icon.muted {
  background: transparent;
  color: rgba(89, 96, 100, 0.45);
}
.employee-activity-copy {
  flex: 1;
  display: grid;
  gap: 4px;
}
.employee-activity-time {
  font-size: 13px;
  font-weight: 800;
  color: var(--outline-variant, #acb3b7);
}
.employee-location-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fdd2fd;
  border: 2px solid white;
}
.employee-hero-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.employee-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #daf7ec;
  color: #0b7d54;
  font-size: 13px;
  font-weight: 800;
}
.employee-chip.subtle {
  background: rgba(255,255,255,.82);
  color: var(--muted-strong);
}
.employee-chip.pending { background: #fff3c8; color: #926600; }
.employee-chip.approved { background: #dcfce7; color: #166534; }
.employee-chip.rejected { background: #fee2e2; color: #991b1b; }
.employee-mint { color: var(--teal); }
.employee-primary-cta {
  min-height: 58px;
  border-radius: 22px;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(180deg, #0a4dc4 0%, #1e66db 100%);
  box-shadow: 0 14px 30px rgba(10, 77, 196, 0.34);
}
.employee-secondary-cta {
  min-height: 52px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.52);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}
.employee-secondary-cta:not(:disabled):hover {
  background: #f1f5f9;
}
.employee-scanner-card,
.employee-list-card,
.employee-leave-form-card,
.employee-profile-card {
  padding: 20px;
}
.employee-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
}
.employee-scan-headline-note {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}
.employee-camera-box {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(225,232,238,.96);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
.employee-camera-state {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 16px;
}
.employee-camera-state.compact .employee-camera-frame {
  display: none;
}
.employee-camera-state.compact #scanMsg {
  display: none;
}
.employee-camera-state.compact {
  gap: 10px;
}
.employee-scan-pill {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}
.employee-scan-guide {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.employee-camera-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #10211a;
}
.employee-camera-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: white;
  background: linear-gradient(180deg, rgba(11,22,17,.25), rgba(11,22,17,.62));
}
.employee-camera-footer {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.employee-scan-toggle-btn {
  min-height: 46px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}
.employee-fallback-card {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.04);
}
.employee-manual-mode-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0f58cd;
}
.employee-fallback-card .employee-primary-cta {
  margin-top: 4px;
}
.employee-attendance-dock {
  z-index: 12;
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(203,213,225,.9);
}
.employee-attendance-dock .status-line {
  min-height: 18px;
  font-size: 13px;
}
.manual-token,
.manualToken {
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 8px 18px rgba(15, 23, 42, 0.05);
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .24em;
  color: #0f172a;
  caret-color: #1e66db;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.manual-token::placeholder,
.manualToken::placeholder {
  color: #94a3b8;
  letter-spacing: .18em;
  font-weight: 700;
}
.manual-token:focus,
.manualToken:focus {
  outline: 3px solid rgba(30, 102, 219, 0.18);
  border-color: rgba(30, 102, 219, 0.5);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 1px rgba(30, 102, 219, 0.14),
    0 10px 22px rgba(30, 102, 219, 0.12);
}
.employee-timeline,
.employee-request-list,
.employee-history-list { display: grid; gap: 12px; }
.employee-timeline-item,
.employee-request-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  border: 1px solid rgba(219,231,222,.9);
}
.employee-request-item.enhanced {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(18,34,26,.04);
}
.employee-schedule-screen,
.employee-leave-screen {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.employee-schedule-screen > *,
.employee-leave-screen > * {
  min-width: 0;
  max-width: 100%;
}
.employee-schedule-topbar,
.employee-leave-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.employee-schedule-topbar-copy,
.employee-leave-topbar-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.employee-schedule-topbar-copy h3,
.employee-leave-topbar-copy h3 {
  margin: 0;
  font-size: 22px;
}
.employee-schedule-topbar-sub,
.employee-leave-topbar-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.employee-leave-form-card.redesigned {
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(209,214,229,.5);
  box-shadow: 0 10px 24px rgba(34, 54, 85, .06);
}
.employee-leave-section-head {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}
.employee-leave-section-bar {
  width: 6px;
  min-width: 6px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary);
}
.employee-leave-section-head h3 {
  margin: 0;
  font-size: 19px;
}
.employee-leave-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.employee-leave-quick-ranges {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4px;
  padding-bottom: 4px;
  max-width: 100%;
}
.employee-leave-quick-ranges .employee-filter-pill {
  min-height: 34px;
  padding: 6px 11px;
  background: #f8fafc;
  border-color: rgba(203, 213, 225, 0.84);
  box-shadow: none;
}
.employee-leave-form-grid {
  display: grid;
  gap: 10px;
}
.employee-leave-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.employee-leave-field {
  display: grid;
  gap: 6px;
}
.employee-leave-field > span {
  padding-left: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a7f91;
}
.employee-leave-input-wrap {
  position: relative;
}
.employee-leave-input-wrap input,
.employee-leave-input-wrap select,
.employee-leave-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 24px;
  background: #f1f3fb;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 14px;
}
.employee-leave-input-wrap input.invalid {
  border: 1px solid rgba(220, 38, 38, 0.55);
  background: #fff7f7;
}
.employee-leave-input-wrap span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}
.employee-leave-field textarea {
  min-height: 90px;
  resize: none;
  line-height: 1.4;
}
.employee-leave-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.employee-leave-submit-btn {
  border: 0;
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  background: linear-gradient(90deg, #0a56d8 0%, #2f7df6 100%);
  box-shadow: 0 14px 28px rgba(10, 86, 216, .24);
}
.employee-leave-submit-btn .material-symbols-outlined {
  font-size: 18px;
}
.employee-leave-submit-row {
  display: grid;
  gap: 8px;
}
.employee-leave-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.employee-leave-overview-grid.refreshed {
  margin-bottom: 0;
}
.employee-leave-overview-card,
.employee-settings-stat-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(219,231,222,.9);
}
.employee-leave-overview-card.balance-card {
  background: #1c6d24;
  color: #fff;
  border-color: transparent;
}
.employee-leave-overview-card.pending-card {
  background: #dbe1ff;
  color: #394c83;
  border-color: transparent;
}
.employee-leave-overview-card.approved-card {
  background: #e8f7ea;
  color: #0f5132;
  border-color: transparent;
}
.employee-leave-overview-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,.18);
}
.employee-leave-overview-card.pending-card .employee-leave-overview-icon {
  background: rgba(255,255,255,.45);
}
.employee-leave-overview-card.approved-card .employee-leave-overview-icon {
  background: rgba(255,255,255,.65);
}
.employee-leave-overview-card strong,
.employee-settings-stat-card strong {
  font-size: 24px;
  line-height: 1.1;
  color: inherit;
}
.employee-leave-overview-card small,
.employee-settings-stat-card small {
  font-size: 12px;
  color: inherit;
  opacity: .82;
  line-height: 1.45;
}
.employee-leave-history-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(209,214,229,.5);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(34, 54, 85, .05);
  min-width: 0;
  max-width: 100%;
}
.employee-leave-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
.employee-leave-history-head h3 {
  margin: 0;
  font-size: 20px;
}
.employee-leave-history-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.employee-leave-status-filters {
  margin-top: -2px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.employee-leave-link-btn {
  border: 0;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2549a8;
  border: 1px solid rgba(147, 197, 253, 0.5);
  font-weight: 700;
}
.employee-request-list.leave-redesigned {
  gap: 12px;
}
.employee-request-item.redesigned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(209,214,229,.45);
  box-shadow: 0 8px 22px rgba(34, 54, 85, .04);
  min-width: 0;
  max-width: 100%;
}
.employee-request-item.redesigned.approved {
  border-color: rgba(22, 163, 74, 0.18);
}
.employee-request-item.redesigned.pending {
  border-color: rgba(59, 130, 246, 0.2);
}
.employee-request-item.redesigned.rejected {
  border-color: rgba(239, 68, 68, 0.25);
}
.employee-request-item-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.employee-request-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.employee-request-item-icon.approved { background: rgba(136, 217, 130, .18); color: #0e6b1b; }
.employee-request-item-icon.pending { background: rgba(172, 191, 254, .28); color: #495c94; }
.employee-request-item-icon.rejected { background: rgba(255, 218, 214, .7); color: #ba1a1a; }
.employee-request-item-copy {
  min-width: 0;
  max-width: 100%;
}
.employee-request-item-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
}
.employee-request-type-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0f5132;
  background: #e8f7ea;
}
.employee-request-item-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.employee-request-meta {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.employee-request-status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.employee-request-status-pill.approved { background: #a3f69c; color: #005312; }
.employee-request-status-pill.pending { background: #e7e7f3; color: #434655; }
.employee-request-status-pill.rejected { background: #ffdad6; color: #93000a; }
.employee-leave-empty {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  text-align: center;
}
.employee-settings-stat-card {
  background: linear-gradient(180deg, #eef4ff, #f7f9ff);
}
.employee-settings-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.employee-settings-stat-card.subtle {
  background: linear-gradient(180deg, #ffffff, #fbfbff);
}
.employee-timeline-date {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.employee-timeline-date span {
  color: var(--muted);
  font-size: 13px;
}
.employee-timeline-body { display: grid; gap: 10px; }
.employee-time-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
}
.employee-time-row strong { color: var(--text); }
.employee-profile-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}
.employee-mini-stat {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f6fbf8);
  border: 1px solid rgba(219,231,222,.9);
}
.employee-soft-btn { color: var(--text); }
.employee-history-screen {
  display: grid;
  gap: 18px;
}
.employee-history-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.employee-history-topbar-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}
.employee-settings-avatar.small-avatar {
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.employee-avatar-slot {
  position: relative;
  overflow: hidden;
}
.employee-avatar-slot .material-symbols-outlined {
  pointer-events: none;
}
.employee-avatar-slot[data-avatar-preset="classic-blue"] {
  background: linear-gradient(180deg, #e8f2ff, #dbeafe);
  color: #1d4ed8;
}
.employee-avatar-slot[data-avatar-preset="mint-leaf"] {
  background: linear-gradient(180deg, #def7ec, #bbf7d0);
  color: #0f766e;
}
.employee-avatar-slot[data-avatar-preset="sunset-orange"] {
  background: linear-gradient(180deg, #ffedd5, #fed7aa);
  color: #c2410c;
}
.employee-avatar-slot[data-avatar-preset="berry-pink"] {
  background: linear-gradient(180deg, #fce7f3, #fbcfe8);
  color: #be185d;
}
.employee-avatar-slot[data-avatar-preset="amber-coffee"] {
  background: linear-gradient(180deg, #fef3c7, #fde68a);
  color: #92400e;
}
.employee-avatar-slot[data-avatar-preset="ocean-wave"] {
  background: linear-gradient(180deg, #e0f2fe, #bae6fd);
  color: #0c4a6e;
}
.employee-avatar-slot[data-avatar-preset="violet-night"] {
  background: linear-gradient(180deg, #ede9fe, #ddd6fe);
  color: #5b21b6;
}
.employee-avatar-slot[data-avatar-preset="graphite-pro"] {
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  color: #334155;
}
.employee-history-icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #4e45e4;
  border: 1px solid rgba(219,231,222,.9);
  box-shadow: 0 10px 22px rgba(18,34,26,.05);
  position: relative;
}
.employee-history-icon-btn.has-unread::after {
  content: attr(data-unread-count);
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  border: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.employee-history-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.employee-history-summary-main {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, #0053db, #2f7df6);
  color: #fff;
  border: 0;
  box-shadow: 0 16px 32px rgba(0,83,219,.18);
}
.employee-history-summary-values {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 6px;
}
.employee-history-summary-values h2 {
  font-size: clamp(28px, 5.8vw, 34px);
  color: #fff;
}
.employee-history-summary-values span {
  color: rgba(255,255,255,.78);
  margin-bottom: 6px;
}
.employee-history-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
  margin-top: 16px;
}
.employee-history-progress > div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(255,255,255,.96);
}
.employee-history-summary-mini {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 152px;
  border-radius: 28px;
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.05);
}
.employee-history-summary-mini-icon {
  font-size: 28px;
}
.employee-history-summary-mini strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}
.employee-history-summary-mini span {
  display: block;
  margin-top: 4px;
  color: var(--muted-strong);
}
.employee-history-summary-mini.secondary-tint {
  background: #ffffff;
}
.employee-history-summary-mini.tertiary-tint {
  background: #ffffff;
}
.employee-history-section-title {
  margin: 2px 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.employee-history-filters {
  --employee-filter-radius-shell: 16px;
  --employee-filter-radius-control: 12px;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: var(--employee-filter-radius-shell);
  border: 1px solid rgba(225,232,238,.96);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.employee-range-pills {
  flex-wrap: nowrap;
}
.employee-filter-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 6px;
}
.employee-filter-pill {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  border: 1px solid rgba(220,228,238,.95);
  box-shadow: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.employee-filter-pill.active {
  background: #0a56d8;
  color: white;
  border-color: #0a56d8;
  box-shadow: 0 8px 16px rgba(10,86,216,.18);
}
.employee-filter-group {
  display: grid;
  gap: 6px;
}
.employee-filter-group-status-compact {
  align-items: start;
}
.employee-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.employee-filter-select-compact-wrap {
  position: relative;
  width: min(190px, 100%);
}
.employee-filter-select-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: #64748b;
  pointer-events: none;
}
.employee-filter-select-icon-left {
  left: 10px;
}
.employee-filter-select-compact {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 34px 6px 34px;
}
.employee-filter-select-compact:focus {
  outline: 3px solid rgba(25, 169, 116, 0.14);
  border-color: rgba(25, 169, 116, 0.45);
}
.employee-history-custom-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 10px;
  border-radius: var(--employee-filter-radius-control);
  border: 1px solid rgba(225,232,238,.96);
  background: rgba(255,255,255,.92);
}
.employee-history-custom-field {
  display: grid;
  gap: 6px;
}
.employee-history-custom-field span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-strong);
}
.employee-history-custom-input {
  height: 36px;
  border-radius: var(--employee-filter-radius-control);
  border: 1px solid rgba(215,223,234,.95);
  background: #f8fafc;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.employee-history-custom-input[type='text'] {
  border-color: rgba(148, 163, 184, 0.48);
  border-radius: 999px;
  font-size: 12px;
}
.employee-history-custom-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}
.employee-history-custom-input:focus {
  border-color: #6aa3ff;
  background: #fff;
}
.employee-history-custom-input.invalid {
  border-color: rgba(220, 38, 38, 0.55);
  background: #fff7f7;
}
.employee-history-custom-apply {
  grid-column: 1 / -1;
  min-height: 38px;
  border: 0;
  border-radius: var(--employee-filter-radius-control);
  background: #0a56d8;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.employee-history-custom-apply:disabled {
  background: #cbd5e1;
  color: #64748b;
  box-shadow: none;
}
.employee-history-list.grouped {
  display: grid;
  gap: 12px;
}
.employee-history-day-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(225,232,238,.95);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.employee-history-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.employee-history-day-labels {
  display: grid;
  gap: 3px;
}
.employee-history-day-labels h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.employee-history-day-labels span {
  font-size: 12px;
  color: var(--muted);
}
.employee-history-day-total {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0a56d8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.employee-history-day-events {
  display: grid;
  gap: 8px;
}
.employee-history-event-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(225,232,238,.95);
  background: #fff;
}
.employee-history-event-card.tone-late {
  border-color: rgba(245,158,11,.35);
}
.employee-history-event-card.tone-early,
.employee-history-event-card.tone-pending {
  border-color: rgba(249,115,22,.32);
}
.employee-history-event-card.tone-overtime {
  border-color: rgba(14,116,144,.28);
}
.employee-history-event-card.tone-leave {
  border-color: rgba(22,163,74,.28);
}
.employee-history-event-card.tone-inprogress {
  border-color: rgba(99,102,241,.35);
}
.employee-history-event-card.tone-issue {
  border-color: rgba(239,68,68,.35);
}
.employee-history-event-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.employee-history-event-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.employee-history-event-main strong {
  font-size: 15px;
  color: var(--text);
}
.employee-history-event-main p {
  margin: 0;
  font-size: 12px;
  color: var(--muted-strong);
  line-height: 1.45;
}
.employee-history-event-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.employee-history-event-status.tone-ontime {
  background: #e6f9ef;
  color: #047857;
}
.employee-history-event-status.tone-late {
  background: #fff5e6;
  color: #b45309;
}
.employee-history-event-status.tone-early,
.employee-history-event-status.tone-pending {
  background: #fff1e8;
  color: #c2410c;
}
.employee-history-event-status.tone-overtime {
  background: #ecfeff;
  color: #0e7490;
}
.employee-history-event-status.tone-leave {
  background: #edfdf2;
  color: #15803d;
}
.employee-history-event-status.tone-inprogress {
  background: #eef2ff;
  color: #4f46e5;
}
.employee-history-event-status.tone-issue {
  background: #fef2f2;
  color: #b91c1c;
}
.employee-history-detail-toggle {
  border: 1px solid rgba(215,223,234,.95);
  border-radius: 10px;
  min-height: 34px;
  padding: 0 10px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.employee-history-event-detail {
  border-top: 1px dashed rgba(203,213,225,.95);
  padding-top: 8px;
  display: grid;
  gap: 8px;
}
.employee-history-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.employee-history-detail-item {
  display: grid;
  gap: 2px;
}
.employee-history-detail-item dt {
  font-size: 11px;
  color: var(--muted);
}
.employee-history-detail-item dd {
  margin: 0;
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
}
.employee-history-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted-strong);
  line-height: 1.45;
}
@media (max-width: 560px) {
  .employee-filter-select-compact-wrap {
    width: 100%;
  }
  .employee-history-custom-range {
    grid-template-columns: 1fr;
  }
}
.employee-history-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
  border: 1px solid rgba(225,232,238,.95);
  box-shadow: 0 10px 30px rgba(44,52,55,.05);
}
.employee-history-load-more {
  margin-top: 16px;
}
.employee-history-load-more-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #0a56d8, #2f7df6);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(10,86,216,.18);
}
.employee-history-load-more-btn:disabled {
  opacity: .55;
  box-shadow: none;
}
.employee-history-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.employee-history-head.timeline-style {
  margin-bottom: 2px;
}
.employee-history-date-block {
  display: grid;
  gap: 6px;
}
.employee-history-head strong {
  font-size: 16px;
  line-height: 1.35;
}
.employee-history-date-block span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.employee-hours-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f0f4f7;
  color: #4e45e4;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.employee-history-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 2px;
}
.employee-history-timeline-line {
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: #e9eef3;
}
.employee-history-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  align-items: center;
}
.employee-history-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 1;
}
.employee-history-dot.checkin {
  background: #4e45e4;
  box-shadow: 0 0 0 6px rgba(78,69,228,.10);
}
.employee-history-dot.checkout {
  background: #fdd2fd;
}
.employee-history-timeline-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.employee-history-timeline-content p {
  font-size: 14px;
  font-weight: 700;
}
.employee-history-timeline-content strong {
  font-size: 14px;
  color: var(--muted-strong);
}
.employee-history-empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 32px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
  border: 1px solid rgba(219,231,222,.9);
}
.employee-history-empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef8f3;
  font-size: 24px;
}
.employee-settings-screen {
  display: grid;
  gap: 16px;
}
.employee-settings-topbar {
  align-items: flex-start;
  padding: 14px 16px;
}
.employee-settings-topbar-copy {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: flex-start;
}
.employee-settings-topbar > .employee-history-icon-btn {
  flex: 0 0 auto;
  margin-top: 2px;
}
.employee-settings-topbar-copy > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.employee-settings-topbar-copy h3 {
  font-size: 20px;
}
.employee-settings-card {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 10px 24px rgba(34,54,85,.05);
}
.employee-settings-card.editorial {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}
.employee-settings-profile-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(225,232,238,.96);
}
.employee-settings-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.employee-settings-profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.employee-settings-profile-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}
.employee-settings-profile-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.employee-settings-profile-edit {
  width: fit-content;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.44);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.employee-settings-profile-edit:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: #f8fbff;
}
.employee-settings-profile-edit:active {
  transform: scale(.99);
}
.employee-settings-profile-edit:focus-visible {
  outline: none;
  border-color: rgba(59, 130, 246, 0.68);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.employee-settings-hero-photo {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ebf6ff, #f4fbff);
  color: var(--primary);
  font-size: 30px;
  transform: none;
  box-shadow: 0 8px 18px rgba(34,54,85,.08);
}
.employee-settings-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ebfbf4, #dff7ed);
  font-size: 28px;
}
.employee-settings-group {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.employee-settings-group-title {
  padding: 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 800;
}
.employee-settings-list {
  display: grid;
  gap: 9px;
}
.employee-settings-item {
  display: grid;
  grid-template-columns: 40px 1fr 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  color: var(--text);
  border: 1px solid rgba(225,232,238,.96);
  box-shadow: 0 6px 14px rgba(34,54,85,.04);
  text-align: left;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.employee-settings-item:hover {
  border-color: rgba(148, 163, 184, 0.52);
  background: #fcfdff;
}
.employee-settings-item:active {
  transform: scale(.995);
}
.employee-settings-item:focus-visible {
  outline: none;
  border-color: rgba(59, 130, 246, 0.68);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.employee-settings-item.editorial {
  grid-template-columns: 40px 1fr 14px;
  border-radius: 18px;
  padding: 12px 14px;
}
.employee-settings-item > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.employee-settings-item strong {
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--text);
}
.employee-settings-item small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.employee-settings-item.has-updates {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(120deg, rgba(240,249,255,0.95), rgba(255,255,255,0.98));
}
.employee-settings-item.has-updates strong {
  color: #0f4a84;
}
.employee-settings-item.has-updates strong::after {
  content: 'Mới';
  display: inline-flex;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.employee-settings-item.danger {
  color: var(--danger);
}
.employee-settings-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f1f5ff;
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}
.employee-settings-icon.lavender {
  background: #ebe8ff;
  color: #625b77;
}
.employee-settings-icon.pink {
  background: #f3e8ff;
  color: #7c3aed;
}
.employee-settings-icon.danger {
  background: #ffebef;
  color: var(--danger);
}
.employee-settings-arrow {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #94a3b8;
}
.employee-settings-logout-block {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(225,232,238,.96);
}
.employee-settings-item-logout {
  background: linear-gradient(180deg, #fff7f8, #ffffff);
}
.employee-settings-item-logout .employee-settings-icon {
  background: #ffe8ec;
  color: var(--danger);
}
.employee-settings-item-logout .employee-settings-arrow,
.employee-settings-item-logout strong,
.employee-settings-item-logout small {
  color: var(--danger);
}
.employee-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.employee-settings-modal.hidden {
  display: none;
}
.employee-settings-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(16px);
}
.employee-settings-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 34px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,250,252,0.97));
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.employee-settings-modal-card::before {
  content: '';
  position: absolute;
  right: -52px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24), rgba(45, 212, 191, 0));
  pointer-events: none;
}
.employee-settings-modal-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}
.employee-settings-modal-head-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.14;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.employee-settings-modal-head-copy p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}
.employee-settings-modal-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #0f766e;
  font-weight: 800;
  margin-bottom: 4px;
}
.employee-settings-modal-close {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.employee-settings-modal:not(.hidden) .employee-settings-modal-backdrop {
  animation: employeeSettingsBackdropFade .2s ease both;
}
.employee-settings-modal:not(.hidden) .employee-settings-modal-card {
  animation: employeeSettingsModalIn .24s cubic-bezier(.22, .9, .31, 1) both;
}
.employee-settings-modal-body {
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 16px 20px 20px;
  display: grid;
  gap: 14px;
}
.employee-settings-panel {
  display: grid;
  gap: 14px;
}
.employee-settings-form-grid {
  display: grid;
  gap: 12px;
}
.employee-settings-field {
  display: grid;
  gap: 7px;
}
.employee-settings-avatar-field {
  gap: 10px;
}
.employee-settings-field > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
}
.employee-settings-field input,
.employee-settings-field textarea,
.employee-settings-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  background: rgba(255,255,255,0.98);
  color: #0f172a;
  font-size: 15px;
  box-shadow: none;
  outline: none;
}
.employee-settings-field textarea {
  min-height: 108px;
  resize: vertical;
  font-family: inherit;
}
.employee-settings-field input:focus,
.employee-settings-field textarea:focus,
.employee-settings-field select:focus {
  border-color: rgba(59, 130, 246, 0.62);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}
.employee-settings-field input[readonly] {
  background: rgba(248, 250, 252, 0.96);
  color: #475569;
}
.employee-avatar-preset-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.employee-avatar-preset-option {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background: #fff;
  padding: 8px 6px;
  display: grid;
  justify-items: center;
  gap: 6px;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.employee-avatar-preset-option:hover {
  border-color: rgba(59, 130, 246, 0.42);
}
.employee-avatar-preset-option:active {
  transform: scale(.98);
}
.employee-avatar-preset-option:focus-visible {
  outline: none;
  border-color: rgba(59, 130, 246, 0.64);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}
.employee-avatar-preset-option.is-active {
  border-color: rgba(29, 78, 216, 0.76);
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2);
}
.employee-avatar-preset-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.employee-avatar-preset-chip .material-symbols-outlined {
  font-size: 21px;
  line-height: 1;
}
.employee-avatar-preset-label {
  font-size: 11px;
  line-height: 1.2;
  color: #475569;
  text-align: center;
}
.employee-settings-panel-actions {
  display: flex;
  justify-content: flex-end;
}
.employee-settings-submit-btn {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 0;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.22);
  transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}
.employee-settings-submit-btn:hover {
  opacity: .96;
}
.employee-settings-submit-btn:active {
  transform: scale(.99);
}
.employee-settings-submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.employee-settings-submit-btn.secondary {
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
@keyframes employeeSettingsBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes employeeSettingsModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  .employee-settings-modal {
    align-items: end;
    padding: 12px;
  }
  .employee-settings-modal-card {
    width: 100%;
    border-radius: 24px 24px 20px 20px;
    max-height: min(92vh, 760px);
  }
  .employee-settings-modal-head {
    padding: 16px 16px 12px;
  }
  .employee-settings-modal-head-copy h3 {
    font-size: 22px;
    line-height: 1.15;
  }
  .employee-settings-modal-head-copy p {
    font-size: 14px;
    margin-top: 6px;
  }
  .employee-settings-modal-body {
    padding: 12px 14px 14px;
    gap: 12px;
  }
  .employee-settings-submit-btn {
    width: 100%;
    border-radius: 16px;
  }
  .employee-avatar-preset-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .employee-settings-modal:not(.hidden) .employee-settings-modal-backdrop,
  .employee-settings-modal:not(.hidden) .employee-settings-modal-card {
    animation: none;
  }
}
.employee-notification-center {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.employee-notification-center.hidden {
  display: none;
}
.employee-notification-center-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(16px);
}
.employee-notification-center-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  border-radius: 34px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,250,252,0.97));
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.employee-notification-center-glow {
  position: absolute;
  right: -52px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24), rgba(45, 212, 191, 0));
  pointer-events: none;
}
.employee-notification-center-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  column-gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}
.employee-notification-center-head > div:first-child {
  min-width: 0;
}
.employee-notification-center-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #0f766e;
}
.employee-notification-center-head h3 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.employee-notification-center-sub {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}
.employee-notification-center-head-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-left: 8px;
  flex: 0 0 auto;
}
.employee-notification-center-mark-all {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform .12s ease, opacity .12s ease, border-color .12s ease;
}
.employee-notification-center-mark-all .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
}
.employee-notification-center-mark-all:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.employee-notification-center-mark-all:not(:disabled):hover {
  border-color: rgba(59, 130, 246, 0.42);
}
.employee-notification-center-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.employee-notification-center-list {
  position: relative;
  z-index: 1;
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
  overflow: auto;
  overscroll-behavior: contain;
}
.employee-notification-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(191, 219, 254, 0.85);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 250, 252, 0.98));
  padding: 11px 12px;
  display: grid;
  gap: 6px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.employee-notification-item.is-unread {
  border-color: rgba(59, 130, 246, 0.48);
}
.employee-notification-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}
.employee-notification-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.employee-notification-item-head strong {
  font-size: 14px;
  line-height: 1.45;
  color: #0f172a;
}
.employee-notification-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.employee-notification-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.52;
  color: #334155;
  white-space: pre-wrap;
}
.employee-notification-item small {
  font-size: 12px;
  color: #64748b;
}
.employee-notification-empty {
  border: 1px dashed rgba(148, 163, 184, 0.52);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.72);
}
.employee-notification-center:not(.hidden) .employee-notification-center-backdrop {
  animation: employeeNotificationBackdropFade .2s ease both;
}
.employee-notification-center:not(.hidden) .employee-notification-center-card {
  animation: employeeNotificationModalIn .24s cubic-bezier(.22, .9, .31, 1) both;
}
@keyframes employeeNotificationBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes employeeNotificationModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 640px) {
  .employee-notification-center {
    align-items: end;
    padding: 12px;
  }
  .employee-notification-center-card {
    width: 100%;
    border-radius: 24px 24px 20px 20px;
    max-height: min(92vh, 760px);
  }
  .employee-notification-center-head {
    padding: 16px 16px 12px;
  }
  .employee-notification-center-head h3 {
    font-size: 22px;
  }
  .employee-notification-center-sub {
    font-size: 14px;
    margin-top: 6px;
  }
  .employee-notification-center-list {
    padding: 12px 12px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .employee-notification-center:not(.hidden) .employee-notification-center-backdrop,
  .employee-notification-center:not(.hidden) .employee-notification-center-card,
  .employee-notification-item {
    animation: none;
    transition: none;
  }
}
.employee-password-strength {
  display: grid;
  gap: 6px;
}
.employee-password-strength-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.employee-password-strength-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #94a3b8;
  transition: width .18s ease, background-color .18s ease;
}
.employee-password-strength-text {
  font-size: 12px;
  color: var(--muted);
}
.employee-settings-toggle-list {
  display: grid;
  gap: 8px;
}
.employee-settings-toggle-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(225,232,238,.96);
  background: #fff;
}
.employee-settings-toggle-item strong {
  display: block;
  font-size: 14px;
}
.employee-settings-toggle-item small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.employee-settings-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.employee-settings-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background .12s ease;
}
.employee-settings-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
  transition: transform .12s ease;
}
.employee-settings-switch-input:checked + .employee-settings-switch {
  background: #1d66de;
}
.employee-settings-switch-input:checked + .employee-settings-switch::after {
  transform: translateX(20px);
}
.employee-settings-security-grid {
  display: grid;
  gap: 9px;
}
.employee-settings-security-card {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(225,232,238,.96);
  background: #fff;
}
.employee-settings-security-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
}
.employee-settings-security-card strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.employee-settings-security-card small {
  color: var(--muted);
  font-size: 12px;
}
.employee-settings-security-note {
  font-size: 12px;
  color: var(--muted);
  padding: 0 2px;
}
.employee-settings-support-faq {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(225,232,238,.96);
  background: #f8fbff;
}
.employee-settings-support-faq h4,
.employee-settings-support-history h4 {
  margin: 0;
  font-size: 14px;
}
.employee-settings-faq-item {
  display: grid;
  gap: 2px;
}
.employee-settings-faq-item strong {
  font-size: 13px;
}
.employee-settings-faq-item small {
  font-size: 12px;
  color: var(--muted);
}
.employee-settings-support-history {
  display: grid;
  gap: 8px;
}
.employee-settings-support-list {
  display: grid;
  gap: 8px;
}
.employee-settings-ticket-item {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(225,232,238,.96);
  background: #fff;
}
.employee-settings-ticket-item.is-unread {
  border-color: rgba(59,130,246,.32);
  box-shadow: 0 8px 16px rgba(37,99,235,.08);
}
.employee-settings-ticket-item.is-focused {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.employee-settings-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.employee-settings-ticket-item strong {
  font-size: 13px;
}
.employee-settings-ticket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.employee-settings-ticket-item small {
  font-size: 12px;
  color: var(--muted);
}
.employee-settings-ticket-thread {
  margin-top: 6px;
  display: grid;
  gap: 6px;
}
.employee-settings-ticket-thread-item {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(203,213,225,.65);
  background: #f8fafc;
}
.employee-settings-ticket-thread-item.from-admin {
  border-color: rgba(147,197,253,.9);
  background: #eff6ff;
}
.employee-settings-ticket-thread-item.from-admin.is-unread {
  border-color: rgba(37,99,235,.65);
  background: #dbeafe;
}
.employee-settings-ticket-thread-item.from-employee {
  border-color: rgba(148,163,184,.4);
  background: #f8fafc;
}
.employee-settings-ticket-thread-meta {
  font-size: 11px;
  color: #475569;
  font-weight: 600;
}
.employee-settings-ticket-thread-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #0f172a;
  white-space: pre-wrap;
}
.employee-settings-ticket-reply-form {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}
.employee-settings-ticket-reopen-hint {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}
.employee-settings-ticket-reply-input {
  width: 100%;
  border: 1px solid rgba(148,163,184,.38);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
}
.employee-settings-ticket-reply-input:focus {
  border-color: rgba(59,130,246,.7);
  box-shadow: 0 0 0 3px rgba(59,130,246,.14);
}
.employee-settings-ticket-reply-input:disabled {
  background: #f8fafc;
  color: #94a3b8;
}
.employee-settings-ticket-reply-actions {
  display: flex;
  justify-content: flex-end;
}
.employee-settings-ticket-reply-send {
  border: 1px solid rgba(29,78,216,.84);
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  cursor: pointer;
}
.employee-settings-ticket-reply-send:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.employee-settings-ticket-reply {
  margin-top: 6px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.24);
  background: #f8fafc;
  display: grid;
  gap: 4px;
}
.employee-settings-ticket-reply.is-unread {
  border-color: rgba(59,130,246,.35);
  background: #eff6ff;
}
.employee-settings-ticket-reply-meta {
  font-size: 11px;
  color: #4b5563;
  font-weight: 600;
}
.employee-settings-ticket-reply p {
  margin: 0;
  font-size: 12.5px;
  color: #1f2937;
  line-height: 1.45;
  white-space: pre-wrap;
}
.employee-settings-privacy-head {
  display: grid;
  gap: 4px;
}
.employee-settings-privacy-head strong {
  font-size: 16px;
}
.employee-settings-privacy-head small {
  font-size: 12px;
  color: var(--muted);
}
.employee-settings-privacy-body {
  display: grid;
  gap: 8px;
}
.employee-settings-privacy-body p {
  margin: 0;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}
.employee-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(480px, calc(100vw - 22px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(225,232,238,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(34,54,85,.12);
}
.nav-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 56px;
  padding: 8px 6px;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}
.nav-item.active {
  background: #dbe1ff;
  color: #003ea8;
  border: 1px solid rgba(0,83,219,.08);
}
.nav-item small { font-size: clamp(9px, 2.8vw, 12px); font-weight: 700; white-space: nowrap; }

@media (max-width: 390px) {
  .employee-bottom-nav { width: calc(100vw - 12px); gap: 2px; padding: 6px 4px; border-radius: 24px; }
  .employee-bottom-nav .nav-item { min-width: 0; padding-inline: 2px; }
}

@media (min-width: 900px) {
  .employee-premium-shell { max-width: 520px; padding: 24px 18px 110px; }
  .employee-section#homeTab {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .employee-section#leaveTab,
  .employee-section#historyTab,
  .employee-section#profileTab {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .employee-leave-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .kiosk-hero,
  .kiosk-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container { padding: 16px; }
  .card { padding: 18px; border-radius: 24px; }
  .kiosk-shell-redesigned { gap: 16px; }
  .kiosk-hero,
  .kiosk-qr-card,
  .kiosk-token-card-redesigned,
  .kiosk-guide-card {
    padding: 20px;
    border-radius: 28px;
  }
  .kiosk-hero-text h1 { font-size: 32px; }
  .kiosk-qr-box { min-height: 280px; }
  .kiosk-token-box {
    min-height: 104px;
    font-size: 42px;
  }
  .kiosk-connection-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .kiosk-status-badge {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }
  .kiosk-status-badge .material-symbols-outlined {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 20px;
  }
  .kiosk-store-item {
    padding: 11px 12px;
  }
  .kiosk-guide-item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px 14px;
  }
  .kiosk-guide-step {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .kiosk-grid-compact { grid-template-columns: 1fr; }
  .qr-box {
    justify-items: center;
    overflow: hidden;
  }
  .qr-box img,
  .qr-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
  .employee-premium-shell { padding: 14px 12px 104px; }
  .employee-topbar {
    top: 8px;
    padding: 10px 12px;
    border-radius: 20px;
  }
  .employee-topbar-copy h2 { font-size: 15px; }
  .employee-avatar-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .employee-home-summary-grid,
  .employee-quick-grid,
  .employee-settings-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .employee-request-item.redesigned {
    flex-direction: column;
    align-items: stretch;
  }
  .employee-request-status-pill {
    width: fit-content;
  }
  .employee-leave-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .employee-request-item.enhanced {
    grid-template-columns: 1fr;
  }
  #leaveTab .employee-leave-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #leaveTab .employee-request-item.redesigned {
    flex-direction: row;
    align-items: center;
  }
  #leaveTab .employee-request-status-pill {
    width: auto;
  }
  .employee-camera-footer { flex-direction: column; align-items: stretch; }
  .employee-camera-footer button { width: 100%; }
  .employee-scan-toggle-btn {
    min-height: 50px;
    font-size: 15px;
  }
  .employee-profile-grid { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .manual-token,
  .manualToken {
    min-height: 54px;
    font-size: 21px;
    letter-spacing: .2em;
    padding: 13px 16px;
  }
}

@media (min-width: 1200px) and (max-height: 850px) {
  .kiosk-shell-redesigned {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 16px;
  }
  .kiosk-hero,
  .kiosk-qr-card,
  .kiosk-token-card-redesigned,
  .kiosk-guide-card {
    border-radius: 24px;
    padding: 18px;
  }
  .kiosk-main-grid {
    gap: 16px;
  }
  .kiosk-qr-box {
    min-height: 300px;
  }
  .kiosk-token-box {
    min-height: 88px;
    font-size: clamp(38px, 5vw, 62px);
  }
  .kiosk-guide-list {
    gap: 10px;
  }
  .kiosk-guide-item {
    padding: 10px 12px;
  }
}
