:root {
  color-scheme: light;
  --navy: #1a2e44;
  --navy-deep: #12212f;
  --teal: #35aaa9;
  --teal-deep: #187d7e;
  --teal-soft: #eaf7f6;
  --ink: #1f2c38;
  --slate: #667583;
  --mist: #f4f7f8;
  --line: #dfe7ea;
  --green: #238654;
  --green-soft: #e8f6ee;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(53, 170, 169, 0.12), transparent 34rem),
    #eaf0f2;
  color: var(--ink);
}

button, input, select { font: inherit; }
button { cursor: pointer; }
button[hidden] { display: none !important; }

.app-shell {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px 14px;
}

.app-container {
  width: min(100%, 430px);
  min-height: 780px;
  background: var(--mist);
  border: 1px solid rgba(18,33,47,.1);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(18, 33, 47, 0.16);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px 14px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  border-bottom: 3px solid var(--teal);
}

.brand { display: flex; align-items: center; gap: 11px; }
.logo-chip { width: 48px; height: 48px; border-radius: 13px; background: white; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.logo-chip img { width: 39px; height: 39px; object-fit: contain; transform: translateX(2px); }
.brand p { margin: 0; }
.brand-name { font-size: 17px; font-weight: 850; letter-spacing: .02em; }
.module-name { margin-top: 2px !important; color: #9edede; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.language-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.07); }
.language { min-width: 36px; border: 0; border-radius: 14px; padding: 6px 8px; background: transparent; color: #b9c7d1; font-size: 11px; font-weight: 850; }
.language.active { background: var(--teal); color: var(--navy-deep); }

.screen { flex: 1; padding: 22px 18px 18px; }
.screen[hidden] { display: none; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.screen-heading { margin-bottom: 17px; }
.screen-heading p, .screen-heading h1 { margin-top: 0; }
.step-pill { display: inline-flex; padding: 5px 9px; border-radius: 20px; background: #dfecef; color: var(--teal-deep); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow { margin: 16px 0 5px; color: var(--teal-deep); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin-bottom: 8px; color: var(--navy); font-size: 27px; line-height: 1.08; letter-spacing: -.03em; }
.lead { margin-bottom: 0; color: var(--slate); font-size: 13.5px; line-height: 1.5; }

.card, .details-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(23, 44, 58, .07);
}

.field { display: block; margin-bottom: 14px; }
.field > span:first-child { display: block; margin-bottom: 6px; color: #4f606e; font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.field input, .field select { width: 100%; height: 49px; border: 1px solid var(--line); border-radius: 11px; background: var(--mist); color: var(--ink); padding: 0 13px; font-size: 16px; font-weight: 650; outline: none; }
.field input:focus, .field select:focus { border-color: var(--teal); background: white; box-shadow: 0 0 0 3px rgba(53,170,169,.12); }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 18px; width: 8px; height: 8px; border-right: 2px solid #72808a; border-bottom: 2px solid #72808a; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; }
.field small { display: block; margin-top: 5px; color: #7b8993; font-size: 10.5px; }

.primary-button, .clock-button, .secondary-button { width: 100%; border-radius: 12px; font-weight: 800; min-height: 52px; }
.primary-button { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 5px; border: 0; background: var(--navy); color: white; box-shadow: 0 8px 18px rgba(26,46,68,.2); }
.primary-button:disabled, .clock-button:disabled, .shift-complete-button:disabled { cursor: wait; opacity: .62; }
.primary-button > span[aria-hidden="true"] { color: #7fd3d2; font-size: 21px; }
.primary-button .button-text, .primary-button .button-label { color: inherit; font-size: inherit; }
.help-text { margin: 15px 4px 0; text-align: center; color: #73818c; font-size: 11.5px; }

.welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 25px 28px;
  background:
    radial-gradient(circle at 50% 33%, rgba(53,170,169,.15), transparent 190px),
    linear-gradient(180deg, #f9fbfb 0%, #eef6f6 100%);
}

.welcome-screen[hidden] { display: none; }
.welcome-mark { width: 105px; height: 105px; display: grid; place-items: center; border: 1px solid #d5e7e7; border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 18px 38px rgba(18,33,47,.11); }
.welcome-mark img { width: 84px; height: 84px; object-fit: contain; transform: translateX(5px); }
.welcome-kicker { margin: 24px 0 7px; color: var(--teal-deep); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.welcome-screen h1 { max-width: 315px; margin: 0; font-size: 31px; line-height: 1.08; }
.welcome-copy { max-width: 305px; margin: 14px 0 0; color: var(--slate); font-size: 14px; line-height: 1.55; }
.welcome-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 23px 0 25px; }
.welcome-values span { padding: 7px 10px; border: 1px solid #d5e5e7; border-radius: 20px; background: rgba(255,255,255,.76); color: #53707a; font-size: 9.5px; font-weight: 800; }
.welcome-button { max-width: 290px; }
.privacy-line { max-width: 285px; margin: 15px 0 0; color: #7c8b94; font-size: 10px; line-height: 1.45; }
.signin-back { position: static; display: block; margin-bottom: 14px; }
.limited-access-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 11px; border-radius: 11px; background: #eaf2f4; color: #59707b; font-size: 10.5px; line-height: 1.4; }
.limited-access-note span { color: var(--teal); font-size: 9px; padding-top: 2px; }
.form-message, .action-message { margin: 10px 0; padding: 10px 11px; border: 1px solid #ecc7c1; border-radius: 10px; background: #fbeae7; color: #8f3026; font-size: 11px; line-height: 1.4; }

.compact-heading { position: relative; padding-top: 28px; }
.back-button { position: absolute; left: 0; top: -2px; border: 0; background: transparent; padding: 2px 0; color: var(--teal-deep); font-size: 12px; font-weight: 800; }
.compact-heading .eyebrow { margin-top: 13px; }

.time-card { margin-bottom: 12px; border-radius: 17px; padding: 15px 18px; text-align: center; color: white; background: linear-gradient(145deg, #243f59, var(--navy-deep)); box-shadow: 0 10px 24px rgba(26,46,68,.18); }
.time-card p { margin: 0; }
.time-label { color: #9edede; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.current-time { margin-top: 4px !important; font-size: 40px; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.current-time span { font-size: 15px; letter-spacing: .03em; color: #d8e6ec; }
.current-date { margin-top: 5px !important; color: #bdcad2; font-size: 11px; }

.details-card { padding: 6px 15px; }
.detail-row { display: grid; grid-template-columns: 35px 1fr; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; }
.detail-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--teal-deep); background: var(--teal-soft); font-size: 11px; font-weight: 900; }
.detail-row div span, .detail-row div small { display: block; color: #798791; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.detail-row div strong { display: block; margin-top: 2px; color: var(--navy); font-size: 13px; line-height: 1.25; }
.detail-row div small { margin-top: 3px; text-transform: none; letter-spacing: 0; font-size: 10px; }

.status-note { display: flex; gap: 10px; align-items: center; margin: 12px 0; padding: 11px 12px; border: 1px solid #c9e8d7; border-radius: 12px; background: var(--green-soft); color: #276444; }
.status-note p { margin: 0; font-size: 11.5px; line-height: 1.35; }
.status-icon { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 900; }
.clock-button { border: 0; background: var(--teal); color: var(--navy-deep); font-size: 16px; box-shadow: 0 8px 18px rgba(24,125,126,.2); }
.shift-complete-button { width: 100%; min-height: 52px; margin-top: 9px; border: 0; border-radius: 12px; background: var(--navy); color: white; font-size: 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(26,46,68,.2); }
.clock-symbol { margin-right: 7px; }
.secondary-button { min-height: 42px; margin-top: 7px; border: 0; background: transparent; color: var(--teal-deep); font-size: 11.5px; }

.app-footer { min-height: 42px; padding: 11px 18px 14px; border-top: 1px solid var(--line); background: white; color: #86939c; font-size: 9px; font-weight: 750; }
.footer-status { display: flex; justify-content: space-between; gap: 12px; }
.proprietary-notice { margin: 10px auto 0; max-width: 390px; color: #7b8790; font-size: 8px; font-weight: 500; line-height: 1.45; text-align: center; }
.proprietary-notice strong { color: #526371; font-weight: 800; }
.preview-nav { display: flex; gap: 7px; padding: 5px; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: 0 8px 30px rgba(18,33,47,.09); }
.preview-tab { border: 0; border-radius: 22px; padding: 9px 16px; background: transparent; color: #667583; font-size: 11px; font-weight: 800; }
.preview-tab.active { color: white; background: var(--navy); }

.confirmation-screen { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(180deg, #f9fbfb 0%, #edf7f3 100%); }
.confirmation-screen[hidden] { display: none; }
.confirmation-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 38px; font-weight: 900; box-shadow: 0 16px 36px rgba(35,134,84,.22); }
.confirmation-screen h1 { max-width: 310px; margin-top: 0; }
.confirmation-screen .lead { max-width: 300px; }
.confirmation-card { width: 100%; margin: 24px 0; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 10px 26px rgba(23,44,58,.07); }
.confirmation-card span, .confirmation-card small { display: block; color: var(--slate); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.confirmation-card strong { display: block; margin: 5px 0; color: var(--navy); font-size: 27px; }

@media (max-width: 430px) {
  .app-shell { display: block; padding: 0; }
  .app-container { width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
}

@media (max-height: 760px) and (min-width: 431px) {
  .app-container { min-height: 700px; }
}
