:root {
  --ink: #17212b;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #e4e7ec;
  --surface: #ffffff;
  --canvas: #f3f5f7;
  --nav: #111827;
  --nav-soft: #1f2937;
  --amber: #f5a524;
  --amber-soft: #fff7e6;
  --green: #16803c;
  --green-soft: #ecfdf3;
  --red: #b42318;
  --red-soft: #fff1f0;
  --blue: #175cd3;
  --blue-soft: #eff8ff;
  --shadow: 0 12px 34px rgba(16, 24, 40, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.mt-12 { margin-top: 12px; }
.mt-7 { margin-top: 7px; }
.mb-0 { margin-bottom: 0 !important; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 12px; background: var(--amber); color: #111827; font-size: 12px; font-weight: 950; box-shadow: inset 0 -2px rgba(0,0,0,.13); }
.brand strong { display: block; font-size: 16px; letter-spacing: -.025em; }
.brand small { display: block; color: var(--subtle); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.brand-light strong { color: white; }
.brand-light small { color: #9ca3af; }

.eyebrow { color: #fbbf24; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow.dark { color: #9a5b00; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); }
.login-brand-panel { min-height: 100vh; display: flex; flex-direction: column; padding: 42px clamp(36px, 6vw, 90px); color: white; background: radial-gradient(circle at 80% 12%, rgba(245,165,36,.20), transparent 28%), linear-gradient(145deg, #101722, #1d2939); }
.login-copy { max-width: 720px; margin: auto 0; padding: 60px 0; }
.login-copy h1 { font-size: clamp(42px, 5.5vw, 72px); line-height: .98; letter-spacing: -.055em; margin: 15px 0 24px; max-width: 760px; }
.login-copy > p { color: #cbd5e1; font-size: 18px; line-height: 1.65; max-width: 680px; }
.feature-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 680px; }
.feature-grid > div { padding: 17px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 14px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
.feature-grid > div > span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(245,165,36,.14); color: #fbbf24; font-weight: 900; }
.feature-grid strong { font-size: 13px; }
.feature-grid small { color: #9ca3af; margin-top: 3px; font-size: 11px; }
.login-privacy { margin: 0; color: #6b7280; font-size: 11px; }
.login-form-panel { min-height: 100vh; display: grid; place-items: center; padding: 36px; background: white; }
.login-card { width: min(440px, 100%); }
.login-card h2 { font-size: 34px; letter-spacing: -.04em; margin: 9px 0 5px; }
.login-card > p { margin: 0 0 28px; }
.login-card label { display: block; color: #344054; font-size: 12px; font-weight: 750; margin-bottom: 15px; }
.label-note { display: block; color: var(--subtle); font-size: 10px; font-weight: 500; margin-top: 2px; }
input, select, textarea { width: 100%; border: 1px solid #d0d5dd; background: white; color: var(--ink); border-radius: 10px; padding: 11px 12px; outline: none; transition: box-shadow .15s, border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: #d9a441; box-shadow: 0 0 0 4px rgba(245,165,36,.15); }
.login-card input { margin-top: 7px; padding: 13px 14px; }
.mobile-brand { display: none; margin-bottom: 32px; }
.login-secondary { margin-top: 9px; }
.signup-note { text-align: center; color: var(--subtle); font-size: 10px; margin: 8px 0 0 !important; }
.form-error { margin: 14px 0 0; padding: 11px 12px; border-radius: 10px; background: var(--red-soft); color: var(--red); font-size: 12px; }
.demo-box { margin-top: 22px; padding: 15px; border: 1px dashed #d0d5dd; background: #f9fafb; border-radius: 12px; }
.demo-box > strong { font-size: 12px; }
.demo-box p { font-size: 11px; color: var(--muted); margin: 5px 0 11px; }
.demo-box code { color: #344054; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn { border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 800; font-size: 12px; transition: transform .12s, box-shadow .12s, opacity .12s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { background: var(--nav); color: white; box-shadow: 0 5px 14px rgba(17,24,39,.16); }
.btn-amber { background: var(--amber); color: #111827; }
.btn-success { background: var(--green); color: white; }
.btn-danger { background: var(--red); color: white; }
.btn-ghost { background: white; color: #344054; border: 1px solid var(--line); }
.btn-soft { background: #f2f4f7; color: #344054; }
.btn-small { padding: 7px 9px; font-size: 11px; }
.btn-large { width: 100%; padding: 14px 16px; font-size: 13px; }
.btn-link { background: transparent; color: var(--blue); padding: 5px; }
.icon-btn { border: 0; background: transparent; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.icon-btn:hover { background: #f2f4f7; }

.app-header { height: 72px; position: sticky; top: 0; z-index: 40; padding: 0 24px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-good { color: var(--green); background: var(--green-soft); }
.status-warn { color: #a15c00; background: var(--amber-soft); }
.status-bad { color: var(--red); background: var(--red-soft); }
.user-menu { display: flex; align-items: center; gap: 9px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e9edf2; color: #344054; font-size: 11px; font-weight: 900; }
.user-copy strong, .user-copy small { display: block; }
.user-copy strong { font-size: 12px; }
.user-copy small { color: var(--subtle); font-size: 10px; margin-top: 2px; text-transform: capitalize; }

.admin-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { position: sticky; top: 72px; height: calc(100vh - 72px); padding: 20px 13px; background: var(--nav); display: flex; flex-direction: column; }
.sidebar nav { display: grid; gap: 4px; }
.nav-button { width: 100%; border: 0; background: transparent; color: #aeb7c4; padding: 11px 12px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; text-align: left; border-radius: 10px; font-size: 12px; font-weight: 750; }
.nav-button span { font-size: 15px; text-align: center; }
.nav-button:hover { color: white; background: rgba(255,255,255,.05); }
.nav-button.active { background: var(--nav-soft); color: white; }
.nav-count { min-width: 20px; padding: 3px 6px; border-radius: 999px; background: var(--amber); color: #111827; font-size: 9px; text-align: center; }
.sidebar-note { margin-top: auto; padding: 15px; border: 1px solid #2f3a4b; background: #172131; border-radius: 13px; color: white; }
.sidebar-note strong, .sidebar-note span, .sidebar-note small { display: block; }
.sidebar-note strong { color: var(--amber); font-size: 22px; }
.sidebar-note span { font-size: 11px; font-weight: 800; margin-top: 2px; }
.sidebar-note small { color: #7f8b9b; font-size: 9px; margin-top: 4px; }
.main-content { min-width: 0; padding: 28px clamp(18px, 3vw, 42px) 50px; max-width: 1500px; width: 100%; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.page-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.stat-card { padding: 17px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-label { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.stat-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f2f4f7; font-weight: 850; }
.stat-number { font-size: 28px; font-weight: 900; letter-spacing: -.045em; margin-top: 10px; }
.stat-note { color: var(--subtle); font-size: 10px; margin-top: 4px; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .8fr); gap: 18px; margin-bottom: 18px; }
.stack { display: grid; gap: 14px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; border-radius: 12px; font-size: 11px; line-height: 1.5; }
.notice strong { display: block; font-size: 11px; margin-bottom: 2px; }
.notice-amber { background: var(--amber-soft); border: 1px solid #fedf89; color: #7a2e0e; }
.notice-blue { background: var(--blue-soft); border: 1px solid #b2ddff; color: #1849a9; }
.notice-green { background: var(--green-soft); border: 1px solid #abefc6; color: #166534; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 10px 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
td { padding: 12px 11px; border-bottom: 1px solid #eff1f4; font-size: 11px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.table-person { display: flex; align-items: center; gap: 9px; min-width: 160px; }
.table-person strong, .table-person small { display: block; }
.table-person strong { font-size: 11px; }
.table-person small { color: var(--subtle); font-size: 9px; margin-top: 2px; }
.table-actions { display: flex; gap: 5px; justify-content: flex-end; }
.empty-state { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty-state span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #f2f4f7; margin: 0 auto 12px; font-size: 20px; }
.empty-state strong { display: block; color: #344054; font-size: 13px; }
.empty-state p { margin: 5px auto 0; max-width: 400px; font-size: 11px; line-height: 1.5; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; white-space: nowrap; text-transform: capitalize; }
.pill:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-green { color: var(--green); background: var(--green-soft); }
.pill-amber { color: #a15c00; background: var(--amber-soft); }
.pill-red { color: var(--red); background: var(--red-soft); }
.pill-blue { color: var(--blue); background: var(--blue-soft); }
.pill-grey { color: #667085; background: #f2f4f7; }
.tag-list { display: flex; gap: 4px; flex-wrap: wrap; }
.tag { padding: 4px 7px; background: #f2f4f7; border-radius: 7px; color: #475467; font-size: 9px; font-weight: 700; }

.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filter-bar input, .filter-bar select { width: auto; min-width: 180px; padding: 9px 10px; font-size: 11px; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.site-admin-card { padding: 17px; }
.site-admin-card .site-title { display: flex; justify-content: space-between; gap: 12px; }
.site-admin-card h3 { margin: 0; font-size: 14px; }
.site-admin-card p { color: var(--muted); font-size: 10px; line-height: 1.45; min-height: 29px; }
.site-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.site-metric { background: #f7f8fa; padding: 10px; border-radius: 10px; }
.site-metric strong, .site-metric small { display: block; }
.site-metric strong { font-size: 17px; }
.site-metric small { color: var(--subtle); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.coordinates { padding-top: 12px; border-top: 1px solid #eff1f4; color: var(--subtle); font-size: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.approval-list { display: grid; gap: 11px; }
.approval-card { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.approval-card h3 { margin: 0; font-size: 13px; }
.approval-card .approval-meta { color: var(--muted); font-size: 10px; margin-top: 4px; }
.approval-card .approval-reason { margin-top: 10px; padding: 9px 10px; background: #f7f8fa; border-radius: 9px; color: #475467; font-size: 10px; line-height: 1.45; }
.approval-card .approval-hours { text-align: right; }
.approval-card .approval-hours strong { display: block; font-size: 22px; }
.approval-card .approval-hours small { color: var(--subtle); font-size: 9px; }
.approval-buttons { display: flex; justify-content: flex-end; gap: 6px; margin-top: 9px; }

.billing-hero { padding: 23px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 18px; background: radial-gradient(circle at 90% 0, rgba(245,165,36,.18), transparent 35%), var(--nav); color: white; }
.billing-hero .eyebrow { color: #fbbf24; }
.billing-hero h2 { font-size: 29px; letter-spacing: -.04em; margin: 6px 0; }
.billing-hero p { color: #aeb7c4; font-size: 11px; line-height: 1.55; max-width: 630px; }
.billing-total { text-align: right; }
.billing-total strong { display: block; font-size: 35px; color: white; letter-spacing: -.04em; }
.billing-total span { color: #9ca3af; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.audit-details { max-width: 440px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; overflow-wrap: anywhere; }

.worker-background { min-height: calc(100vh - 72px); padding: 24px; background: radial-gradient(circle at 50% 0, #dde3e8, transparent 44%), #eef1f4; }
.worker-frame { max-width: 520px; margin: 0 auto; }
.worker-greeting { display: flex; justify-content: space-between; align-items: flex-end; margin: 2px 2px 16px; }
.worker-greeting h1 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.worker-greeting p { color: var(--muted); font-size: 10px; margin: 4px 0 0; }
.worker-card { background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.location-card { padding: 17px; }
.location-top { display: flex; justify-content: space-between; gap: 12px; }
.location-label { color: var(--subtle); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.location-name { font-size: 18px; font-weight: 900; letter-spacing: -.03em; margin-top: 5px; }
.location-address { color: var(--muted); font-size: 10px; margin-top: 4px; }
.location-detail { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #eff1f4; color: var(--muted); font-size: 10px; line-height: 1.4; }
.location-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.location-dot.good { background: var(--green); box-shadow: 0 0 0 4px #dcfae6; }
.location-dot.bad { background: var(--red); box-shadow: 0 0 0 4px #fee4e2; }
.location-dot.wait { background: #d58b00; box-shadow: 0 0 0 4px #fef0c7; }
.clock-card { padding: 24px 18px; text-align: center; }
.clock-status { color: var(--subtle); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.clock-timer { font-size: 46px; font-weight: 950; letter-spacing: -.055em; font-variant-numeric: tabular-nums; margin: 7px 0 20px; }
.clock-button { width: 166px; height: 166px; border-radius: 50%; border: 9px solid var(--amber-soft); background: var(--amber); color: #111827; font-size: 18px; font-weight: 950; box-shadow: 0 13px 28px rgba(245,165,36,.25); }
.clock-button.clock-out { background: var(--nav); color: white; border-color: #e5e7eb; box-shadow: 0 13px 28px rgba(17,24,39,.16); }
.clock-hint { max-width: 350px; margin: 15px auto 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.worker-section { padding: 16px; }
.worker-section .card-head { margin-bottom: 10px; }
.assigned-list { display: grid; gap: 7px; }
.assigned-row { display: grid; grid-template-columns: 29px 1fr auto; gap: 9px; align-items: center; padding: 9px; border-radius: 11px; background: #f7f8fa; }
.assigned-row.current { background: var(--green-soft); border: 1px solid #abefc6; }
.assigned-icon { width: 29px; height: 29px; display: grid; place-items: center; background: white; border-radius: 8px; color: var(--muted); }
.assigned-row strong, .assigned-row small { display: block; }
.assigned-row strong { font-size: 10px; }
.assigned-row small { color: var(--subtle); font-size: 8px; margin-top: 2px; }
.worker-shift { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eff1f4; }
.worker-shift:last-child { border-bottom: 0; }
.worker-shift strong, .worker-shift small { display: block; }
.worker-shift strong { font-size: 10px; }
.worker-shift small { color: var(--subtle); font-size: 8px; margin-top: 3px; }
.demo-location-controls { margin-top: 12px; padding-top: 11px; border-top: 1px dashed #d0d5dd; }
.demo-location-controls > span { display: block; color: #a15c00; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.demo-location-controls > div { display: flex; gap: 5px; flex-wrap: wrap; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(17,24,39,.56); backdrop-filter: blur(4px); }
.modal { width: min(640px, 100%); max-height: min(840px, calc(100vh - 40px)); overflow-y: auto; background: white; border-radius: 18px; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.modal-head { position: sticky; top: 0; z-index: 2; background: white; padding: 17px 19px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.modal-body { padding: 19px; }
.modal-foot { position: sticky; bottom: 0; background: white; padding: 14px 19px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label, .field-label { display: block; color: #344054; font-size: 10px; font-weight: 800; margin-bottom: 6px; }
.form-field small { display: block; color: var(--subtle); font-size: 8px; margin-top: 5px; line-height: 1.4; }
.form-field textarea { min-height: 90px; resize: vertical; }
.check-grid { display: grid; gap: 7px; }
.check-card { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.check-card input { width: 15px; margin-top: 1px; accent-color: var(--amber); }
.check-card strong, .check-card small { display: block; }
.check-card strong { font-size: 10px; }
.check-card small { color: var(--subtle); font-size: 8px; margin-top: 2px; }

.toast { position: fixed; z-index: 200; right: 20px; bottom: 20px; max-width: min(380px, calc(100vw - 40px)); padding: 12px 14px; color: white; background: var(--nav); border-radius: 12px; box-shadow: 0 15px 35px rgba(17,24,39,.25); font-size: 11px; line-height: 1.45; animation: toast-in .2s ease; }
.toast.error { background: #8f1d16; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.loading { min-height: 300px; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.spinner { width: 28px; height: 28px; border: 3px solid #e4e7ec; border-top-color: var(--amber); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-column { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { padding: 24px; background: linear-gradient(#f9fafb, white); }
  .mobile-brand { display: inline-flex; }
  .app-header { height: 64px; padding: 0 14px; }
  .app-header .brand small, .user-copy, #connectionBadge { display: none; }
  .admin-layout { min-height: calc(100vh - 64px); display: block; }
  .sidebar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; top: auto; height: 64px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(17,24,39,.98); }
  .sidebar nav { grid-template-columns: repeat(6, 1fr); gap: 2px; }
  .nav-button { padding: 6px 2px; display: flex; flex-direction: column; gap: 2px; justify-content: center; text-align: center; font-size: 7px; }
  .nav-button span { font-size: 15px; }
  .nav-button[data-view="audit"] { display: none; }
  .nav-count { position: absolute; margin: -16px 0 0 19px; }
  .sidebar-note { display: none; }
  .main-content { padding: 20px 13px 90px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .site-grid { grid-template-columns: 1fr; }
  .billing-hero { grid-template-columns: 1fr; }
  .billing-total { text-align: left; }
  .worker-background { min-height: calc(100vh - 64px); padding: 13px 10px 32px; }
}

@media (max-width: 560px) {
  .stats-grid { gap: 9px; }
  .stat-card { padding: 13px; }
  .stat-number { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .approval-card { grid-template-columns: 1fr; }
  .approval-card .approval-hours { text-align: left; }
  .approval-buttons { justify-content: flex-start; }
  .clock-button { width: 152px; height: 152px; }
  .clock-timer { font-size: 40px; }
}
