* { box-sizing: border-box; letter-spacing: 0 !important; -webkit-tap-highlight-color:transparent; }
html { width:100%; overflow-x:clip; overflow-y:auto; -webkit-tap-highlight-color:transparent; }
body { width:100%; overflow:visible; overscroll-behavior-y:auto; font-family:Inter,sans-serif; }
/* Keep only the status Stitch sample hidden until Android supplies live state. */
body:has(#punch-out-btn):not(.checked-state-ready) > header,
body:has(#punch-out-btn):not(.checked-state-ready) > main,
body:has(#punch-out-btn):not(.checked-state-ready) > nav { visibility:hidden; }
main { touch-action:pan-y; }
body.map-page .checked-map-viewport { touch-action:none; position:relative; }
body.map-page #map-canvas { position:absolute; inset:0; z-index:0; width:100%; height:100%; background:#e9eef5; }
body.map-page .checked-map-viewport > div:has(#zoom-in) { z-index:10; pointer-events:auto; }
body.map-page .checked-map-viewport #zoom-in,
body.map-page .checked-map-viewport #zoom-out,
body.map-page .checked-map-viewport #recenter-btn { touch-action:manipulation; }
body.map-page .checked-map-all-offices { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:8px; background:#fff; color:#0051d5; box-shadow:0 2px 8px #0002; touch-action:manipulation; }
body.map-page .checked-map-all-offices[hidden] { display:none; }
body.map-page .leaflet-container { font-family:Inter,sans-serif; }
body.map-page .leaflet-control-attribution { font-size:10px; background:rgba(255,255,255,.9); }
body.map-page .checked-map-credits-button { position:absolute; left:4px; bottom:4px; z-index:11; display:grid; place-items:center; width:28px; height:28px; border:0; border-radius:50%; background:#fff; color:#34445a; box-shadow:0 1px 6px #0002; touch-action:manipulation; }
body.map-page .checked-map-credits-button[hidden], body.map-page .leaflet-control-attribution[hidden] { display:none; }
body.map-page .checked-map-credits-button .material-symbols-outlined { font-size:19px; }
body.map-page .checked-map-unavailable { position:absolute; left:12px; bottom:12px; z-index:5; padding:6px 8px; border-radius:6px; background:#fff; color:#6b4650; font-size:12px; box-shadow:0 1px 6px #0002; }
body.map-page .checked-map-location-status { position:absolute; left:12px; top:12px; z-index:5; max-width:calc(100% - 24px); padding:6px 8px; border-radius:6px; background:#fff; color:#18304b; font-size:12px; box-shadow:0 1px 6px #0002; }
body.map-page .checked-distance-card { min-height:96px; }
body.map-page .checked-distance-card .font-headline-lg-mobile { font-size:34px; line-height:38px; }
body:has(> nav) > main { padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)); }
.material-symbols-outlined { font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24; flex-shrink:0; }
nav { background:#f8f9ff !important; }
nav#bottomNav { position:fixed; left:0; right:0; bottom:0; z-index:50; height:80px; min-height:80px; contain:layout paint; transition:none !important; animation:none !important; }
.preview-nav { height:80px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:center; padding:0 4px; }
.preview-nav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; height:64px; min-height:64px; color:#45464d; text-decoration:none; font-size:11px; line-height:16px; contain:layout; }
.preview-nav a[href="diagnostics.html"] { display:none !important; }
.preview-nav a[aria-current] { color:#0051d5; }
.preview-nav .material-symbols-outlined { font-size:24px; line-height:24px; }
button:active,[data-go]:active { opacity:.86; }
button,a { cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:focus,a:focus { outline:none; }
.checked-hidden { display:none !important; }
body.status-page header .bg-surface-container-high,
body.map-page header .bg-surface-container-high,
body.history-page header .bg-surface-container-high,
body.profile-page header .bg-surface-container-high { display:none !important; }
body.status-page .attendance-tracking-info { display:none !important; }
.attendance-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; }
.attendance-actions button { width:100%; min-width:0; min-height:52px; padding:12px; border-radius:8px; }
body.status-page main > div > div > div:nth-child(n+2) { display:none !important; }
.employee-month-summary { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 var(--margin,16px) 16px; }
.employee-summary-card { min-height:138px; padding:16px; border-radius:8px; background:#fff; box-shadow:0 2px 10px rgba(15,23,42,.06); display:flex; flex-direction:column; align-items:flex-start; gap:4px; color:#0b1c30; overflow:hidden; }
.employee-summary-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:8px; background:#e9f0ff; color:#0051d5; font-size:20px; margin-bottom:4px; }
.employee-summary-icon--streak { background:#fff0d9; color:#b35c00; }
.employee-summary-icon--fine { background:#ffe8e8; color:#ba1a1a; }
.employee-summary-label { font-size:13px; line-height:18px; color:#5d6270; font-weight:600; }
.employee-summary-card strong { font-size:32px; line-height:36px; letter-spacing:0; color:#0b1c30; }
.employee-summary-card small { font-size:12px; line-height:16px; color:#5d6270; }
.employee-summary-card--salary { grid-column:1 / -1; min-height:94px; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; background:#e9f0ff; }
.employee-summary-card--salary > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.employee-summary-card--salary strong { flex-shrink:0; font-size:22px; line-height:28px; color:#0051d5; text-align:right; }
body.confirm-attendance > header,
body.confirm-attendance > nav { display:none !important; }
body.confirm-attendance > main { padding-top:0 !important; padding-bottom:0 !important; min-height:100vh; background:#f8f9ff !important; }
body.confirm-attendance .confirm-map-top { position:fixed; left:12px; right:12px; top:calc(12px + env(safe-area-inset-top,0px)); z-index:80; display:grid; grid-template-columns:44px minmax(0,1fr); gap:8px; align-items:center; }
body.confirm-attendance .confirm-map-top { background:#f8f9ff; }
body.confirm-attendance .confirm-map-top button,
body.confirm-attendance .confirm-map-top .confirm-office { min-height:44px; border:0; border-radius:0; background:transparent; color:#0b1c30; box-shadow:none; display:flex; align-items:center; justify-content:center; }
body.confirm-attendance .confirm-map-top .confirm-office { justify-content:flex-start; padding:0 4px; font-size:18px; font-weight:600; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
body.confirm-attendance .confirm-map-top .material-symbols-outlined { color:#0b1c30; font-size:24px; }
body.confirm-attendance main > div > div:first-child { padding-top:calc(72px + env(safe-area-inset-top,0px)) !important; background:#f8f9ff; color:#0b1c30; }
body.confirm-attendance #office-selector span:first-child { color:#0b1c30; }
body.confirm-attendance #map-canvas { background-color:#e5eeff !important; }
#checked-logout-confirm { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:20px; background:rgba(11,28,48,.55); }
#checked-logout-confirm section { width:min(100%,420px); padding:24px; border-radius:8px; background:#fff; color:#0b1c30; box-shadow:0 16px 40px #0b1c3040; }
#checked-logout-confirm h2 { margin:0 0 12px; font-size:20px; line-height:26px; font-weight:700; }
#checked-logout-confirm p { margin:0 0 24px; font-size:15px; line-height:22px; color:#45464d; }
#checked-logout-confirm section div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#checked-logout-confirm button { min-height:48px; border:0; border-radius:8px; font-weight:700; }
#logout-cancel { color:#0051d5; background:#e9f0ff; }
#logout-confirm { color:#fff; background:#ba1a1a; }
#delete-cancel { color:#0051d5; background:#e9f0ff; }
#delete-confirm { color:#fff; background:#ba1a1a; }
.checked-language-trigger { min-width:0; display:inline-flex; align-items:center; gap:7px; padding:8px 0 8px 8px; border:0; background:transparent; color:#10203a; font:inherit; font-size:14px; font-weight:650; white-space:nowrap; }
.checked-language-trigger .material-symbols-outlined { color:#8b98aa; font-size:20px; }
.checked-language-flag { display:none; }
#checked-language-dialog { position:fixed; inset:0; z-index:150; display:flex; align-items:flex-end; justify-content:center; background:#0b1c3070; }
#checked-language-dialog section { width:100%; max-width:480px; box-sizing:border-box; padding:10px 18px calc(18px + env(safe-area-inset-bottom,0px)); border-radius:8px 8px 0 0; background:#fff; color:#10203a; box-shadow:0 -12px 36px #0b1c3033; }
#checked-language-dialog section::before { content:""; display:block; width:34px; height:4px; margin:0 auto 16px; border-radius:4px; background:#c9d2df; }
.checked-language-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
#checked-language-title { margin:0; font-size:18px; line-height:24px; font-weight:700; }
.checked-language-close { width:36px; height:36px; flex:none; display:grid; place-items:center; border:0; border-radius:8px; background:#f1f4f7; color:#536176; }
.checked-language-option { width:100%; min-height:58px; display:grid; grid-template-columns:38px minmax(0,1fr) 24px; align-items:center; gap:12px; padding:7px 10px; border:1px solid transparent; border-radius:8px; background:transparent; color:#10203a; font:600 14px/20px Inter,sans-serif; text-align:left; }
.checked-language-option + .checked-language-option { margin-top:4px; }
.checked-language-code { display:grid; place-items:center; width:34px; height:34px; border-radius:8px; background:#f1f4f7; color:#536176; font:700 11px/14px Inter,sans-serif; }
.checked-language-option[aria-pressed="true"] { border-color:#a9c6ff; background:#eef4ff; color:#124fc8; }
.checked-language-option[aria-pressed="true"] .checked-language-code { background:#dce9ff; color:#124fc8; }
.checked-language-option .checked-language-check { visibility:hidden; color:#1769f4; font-size:20px; }
.checked-language-option[aria-pressed="true"] .checked-language-check { visibility:visible; }
html[data-theme=dark] .checked-language-close,html[data-theme=dark] .checked-language-code { background:#2c4b73; color:#bfd0e8; }
html[data-theme=dark] .checked-language-option[aria-pressed="true"] { background:#263f67!important; border-color:#5d8bc5; color:#eaf3ff!important; }
html[data-theme=dark] .checked-language-option[aria-pressed="true"] .checked-language-code { background:#285b93; color:#fff; }
body.confirm-attendance main > div > div:last-child { border-radius:20px 20px 0 0; margin-top:-10px; background:#f8f9ff; }
@media(max-width:360px) { header .text-headline-sm { font-size:16px; } header .gap-space-sm { gap:4px; } }
