@font-face {
  font-family: Inter;
  src: url('/clock-it-inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/clock-it-manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #101e34;
  --navy: #101e34;
  --navy-2: #203550;
  --paper: #f3f5f9;
  --bg: var(--paper);
  --accent: #ffcf5b;
  --line: #dfe5ee;
  --grey: #53637a;
  --green: #146347;
  --amber: #8c520a;
  --display: Manrope, system-ui, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #347ceb;
  outline-offset: 3px;
}
.btn { min-height: 42px; }
.btn.sm { min-height: 34px; }
.btn.accent:hover { background: #f5b93b; color: var(--ink); }
.btn:disabled { cursor: wait; opacity: .68; }
.clock-it-wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font: 800 27px/1 var(--display); letter-spacing: -.065em; white-space: nowrap;
  text-decoration: none; color: inherit;
}
.clock-it-wordmark img { display: block; flex: none; }
.wordmark-dot { color: #a86400; }

/* Staff clock */
.clock-it-header { background: #fff; border-bottom: 1px solid var(--line); }
.clock-it-header-inner, .clock-it-shell { width: min(1272px, 100% - 64px); margin-inline: auto; }
.clock-it-header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clock-it-header-logo { display: block; width: 108px; height: auto; }
.clock-it-shell { padding-block: 28px; }
.clock-it-workspace { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(340px, 1fr); gap: 24px; }
.clock-it-hero {
  color: #fff; position: relative; overflow: hidden; isolation: isolate; min-width: 0; min-height: 500px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 24px; padding: 44px; background: #112339;
  box-shadow: 0 12px 35px #12223d16;
}
.clock-it-hero-image, .clock-it-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock-it-hero-image { object-fit: cover; object-position: 56% center; z-index: -2; }
.clock-it-hero::before {
  content: ''; z-index: -1;
  background: linear-gradient(105deg, #091a31ed 2%, #10243cb3 44%, #13294327 92%),
              linear-gradient(0deg, #08182dca, transparent 66%);
}
.clock-it-hero .date { margin: 0 0 9px; color: #f2f5f9; font-size: clamp(.85rem, 1.38vw, 1.09rem); font-weight: 600; }
.clock-it-hero h1 {
  display: flex; align-items: baseline; gap: 12px; color: #fff; margin: 0; font: 800 clamp(4.1rem, 8.25vw, 8rem)/1.12 var(--display);
  letter-spacing: -.075em; font-variant-numeric: tabular-nums;
}
#seconds { font-size: .29em; letter-spacing: -.045em; color: #ffde91; }
.clock-it-timezone { display: flex; align-items: center; gap: 9px; color: #f2f5f9; font-size: 13px; margin: 16px 0 0; }
.clock-it-timezone span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px #ffcf5b22; margin-left: 4px; }
.clock-it-timezone b { font-size: 10px; letter-spacing: .07em; color: #fff; border: 1px solid #ffffff53; border-radius: 5px; padding: 2px 5px; }
.clock-it-hours {
  display: flex; gap: 12px; align-items: center; width: fit-content; max-width: 100%;
  padding: 11px 14px 11px 11px; border: 1px solid #ffffff3d; border-radius: 14px; background: #112338dc;
}
.clock-it-hours-icon { color: var(--accent); display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 9px; background: #ffcf5b21; }
.clock-it-hours b, .clock-it-hours #hours { display: block; font-size: 13px; line-height: 1.55; }
.clock-it-hours #hours { font-variant-numeric: tabular-nums; color: #d3deed; font-size: 12px; }
.clock-it-hours:has(#hours:empty) { visibility: hidden; }
.clock-it-pad {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 27px 29px 23px;
  box-shadow: 0 12px 35px #12223d0c; min-width: 0;
}
.clock-it-pad-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.clock-it-pad-heading h2 { margin: 0; font: 800 28px/1.16 var(--display); letter-spacing: -.035em; }
.clock-it-pad-icon {
  display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center;
  border-radius: 13px; background: #fff1cc; color: #6b4304;
}
.clock-it-guide { color: var(--grey); font-size: 13px; margin: 4px 0 16px; line-height: 1.6; }
.clock-it-guide strong { color: var(--ink); }
.clock-it-pad .pin-display {
  width: 100%; height: 53px; display: flex; align-items: center; justify-content: center; gap: 15px;
  margin: 0 0 12px; background: #f1f4f8; border: 1px solid #e9edf3; border-radius: 12px;
}
.clock-it-pad .pin-display i { width: 11px; height: 11px; border: 1.5px solid #8394a9; background: none; transition: background-color .12s; }
.clock-it-pad .pin-display i.on { border-color: var(--navy); background: var(--navy); }
.clock-it-pad .keypad { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 9px; }
.clock-it-pad .keypad button {
  height: 53px; padding: 6px; background: #fff; border: 1px solid #dce3ee; box-shadow: 0 2px 1px #192a4309;
  color: var(--navy); border-radius: 11px; font: 800 24px/1 var(--display);
  transition: background-color .16s, border-color .16s, transform .16s;
}
.clock-it-pad .keypad button:hover { background: #f1f5fb; border-color: #b6c6da; }
.clock-it-pad .keypad button:active { transform: scale(.97); }
.clock-it-pad .keypad .small, .clock-it-pad .keypad .go { font-size: 15px; }
.clock-it-pad .keypad .small { color: #435670; background: #f7f9fc; }
.clock-it-pad .keypad .go { background: var(--accent); border-color: #e9ac33; color: #263048; }
.clock-it-pad .keypad .go:hover { background: #fac24c; border-color: #c88922; }
.clock-it-location { display: flex; gap: 8px; color: #4e6079; align-items: flex-start; font-size: 12px; line-height: 1.52; margin-top: 16px; }
.clock-it-location:has(#locationStatus:empty):has(#openKiosk.hidden) { display: none; }
.clock-it-location svg { flex: none; }
.clock-it-location a { display: block; color: #1b5197; text-underline-offset: 2px; }
.clock-it-kiosk .toast { backdrop-filter: blur(4px); background: #0e1b32a8; padding: 16px; }
.clock-it-kiosk .toast .box { border-radius: 22px; box-shadow: 0 18px 70px #06132957; }

/* PIN invitation */
.clock-it-setup { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.clock-it-setup-panel { display: grid; place-items: center; padding: 28px; background: #fff; }
.clock-it-setup-card { width: min(100%, 412px); }
.clock-it-setup-card .clock-it-wordmark { margin-bottom: 38px; }
.clock-it-setup-card h1 { font: 800 clamp(1.85rem, 3.4vw, 2.75rem)/1.12 var(--display); letter-spacing: -.04em; margin: 0; }
.clock-it-setup-card .muted { color: var(--grey); font-size: 14px; line-height: 1.65; margin: 13px 0 24px; }
.clock-it-setup-card form { display: grid; gap: 14px; }
.clock-it-setup-card input { min-height: 49px; }
.clock-it-setup-card .btn { text-align: center; text-decoration: none; margin-top: 4px; }
.clock-it-setup-card .tti-logo { background: var(--navy); border-radius: 6px; padding: 6px 10px; height: 39px; margin-top: 36px; }
.clock-it-setup-art { min-width: 0; min-height: 100%; position: relative; isolation: isolate; background: #102039; }
.clock-it-setup-art img, .clock-it-setup-art::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock-it-setup-art img { object-fit: cover; object-position: 60% center; z-index: -2; }
.clock-it-setup-art::after { content: ''; z-index: -1; background: linear-gradient(180deg, #0e203733 40%, #102039ec); }

@media (max-width: 900px) {
  .clock-it-header-inner, .clock-it-shell { width: min(100% - 40px, 760px); }
  .clock-it-workspace { grid-template-columns: minmax(0, 1.18fr) minmax(306px, 1fr); gap: 14px; }
  .clock-it-hero { padding: 27px; }
  .clock-it-pad { padding-inline: 19px; }
}
@media (max-width: 690px) {
  .clock-it-header-inner, .clock-it-shell { width: min(100% - 28px, 500px); }
  .clock-it-header-inner { min-height: 61px; }
  .clock-it-header-logo { width: 88px; }
  .clock-it-wordmark { font-size: 23px; gap: 8px; }
  .clock-it-wordmark img { width: 35px; height: 35px; }
  .clock-it-shell { padding-top: 14px; }
  .clock-it-workspace { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .clock-it-hero { min-height: 174px; display: block; padding: 16px 19px; border-radius: 17px; }
  .clock-it-hero h1 { font-size: clamp(3.05rem, 12vw, 4.5rem); gap: 8px; }
  .clock-it-hero .date { margin-bottom: 2px; }
  .clock-it-hero-image { object-position: 55% 40%; }
  .clock-it-timezone { margin: 3px 0 0; font-size: 11px; }
  .clock-it-hours { margin-top: 9px; padding: 0; gap: 7px; background: none; border: 0; }
  .clock-it-hours-icon { width: 17px; height: 17px; flex-basis: 17px; background: none; }
  .clock-it-hours-icon svg { width: 15px; height: 15px; }
  .clock-it-hours b { display: none; }
  .clock-it-hours #hours { font-size: 10.5px; }
  .clock-it-pad { padding: 15px; border-radius: 17px; }
  .clock-it-pad-heading h2 { font-size: 22px; }
  .clock-it-pad-icon { width: 33px; height: 33px; flex-basis: 33px; border-radius: 10px; }
  .clock-it-pad-icon svg { width: 18px; height: 18px; }
  .clock-it-guide { margin: 2px 0 10px; }
  .clock-it-pad .pin-display { height: 36px; margin-bottom: 9px; }
  .clock-it-pad .keypad { gap: 7px; }
  .clock-it-pad .keypad button { height: 47px; }
  .clock-it-location { margin-top: 11px; font-size: 11px; }
  .clock-it-setup { grid-template-columns: 1fr; grid-template-rows: auto minmax(165px, .55fr); }
  .clock-it-setup-panel { padding: 26px; }
  .clock-it-setup-card .clock-it-wordmark, .clock-it-setup-card .tti-logo { margin-bottom: 23px; }
  .clock-it-setup-card .tti-logo { margin-top: 24px; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .clock-it-pad .keypad button, .clock-it-pad .pin-display i { transition: none; }
}
