:root{--primary:#155b9c;--primary-dark:#0f477a;--teal:#28b8bd;--teal-dark:#119ba7;--accent:#f15a24;--ink:#172033;--muted:#6f7f93;--bg:#f1f5fb;--surface:#fff;--border:#dce6ef;--soft:#edf8fa;--success:#18a968;--danger:#e23d4f;--warning:#f4a62a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#eef5fb 0,#f8fbfd 35%,#f1f5fb 100%);min-height:100vh;padding-bottom:20px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}

header{position:sticky;top:0;z-index:20;background:rgba(248,252,253,.96);backdrop-filter:blur(12px);border-bottom:1px solid #dcecef;min-height:68px;padding:8px 5%;display:flex;gap:14px;align-items:center;box-shadow:0 2px 14px rgba(17,111,135,.07)}.brand{display:flex;align-items:center;min-width:0}.brand img{width:120px;height:auto;display:block;object-fit:contain}.role-label{font-size:12px;color:var(--muted);padding-left:10px;border-left:1px solid var(--border)}header .ghost{margin-left:auto}.ghost{background:#fff;color:var(--primary);border:1px solid #bcd3e4;border-radius:9px;padding:9px 13px}
main{width:min(1150px,100%);margin:24px auto;padding:0 15px}.card{background:rgba(255,255,255,.97);border:1px solid var(--border);border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 7px 24px rgba(30,83,120,.07)}.card h2,.card h3{color:var(--primary)}.card h2{margin-top:0}.narrow{max-width:440px;margin:48px auto}.login-brand{text-align:center;margin-bottom:18px}.login-brand img{width:120px;height:auto;display:block;margin:0 auto 12px}.login-brand p{margin:0;color:var(--muted);font-size:13px}.hidden{display:none!important}
.tabs,.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tabs{background:#eaf7f8;padding:5px;border-radius:12px;margin-bottom:18px}.tab{border:0;background:transparent;color:var(--muted);padding:11px;border-radius:9px;font-weight:700}.tab.active{background:#fff;color:var(--primary);box-shadow:0 2px 9px rgba(21,91,156,.11)}label{display:block;font-weight:700;font-size:13px;margin:12px 0;color:var(--ink)}input,select,textarea{width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;margin-top:6px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(40,184,189,.12)}.primary,.secondary{border-radius:10px;padding:12px 15px;font-weight:700;transition:.15s ease}.primary{background:linear-gradient(135deg,var(--primary),#237bb0);color:#fff;border:0}.primary:hover{background:linear-gradient(135deg,var(--primary-dark),#1d6b9d)}.secondary{background:#eef8fa;color:var(--primary);border:1px solid #cce6eb}.secondary:hover{background:#e1f3f6}.full{width:100%;margin-top:8px}
.profile{display:flex;align-items:center;gap:16px}.profile img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #e7f4f6}.profile h2{margin:0 0 3px}.profile p,.profile small,.muted{color:var(--muted)}.center{text-align:center}.clock{font-size:42px;font-weight:800;color:var(--primary);margin:10px}.center .primary,.center .secondary{min-height:46px}.center small{display:block;color:#40566c;line-height:1.5;margin-top:9px}#status{font-weight:700;color:var(--primary)}
.table{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:11px}table{width:100%;border-collapse:collapse;font-size:13px;min-width:620px;background:#fff}th,td{padding:11px 12px;border-bottom:1px solid #e8eef4;text-align:left;white-space:nowrap}th{background:#f5fbfc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.03em}tr:last-child td{border-bottom:0}.mini{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid #e8f1f8}footer{text-align:center;color:var(--muted);padding:25px 15px;font-size:12px}.task{border:1px solid var(--border);border-radius:12px;padding:13px;margin:9px 0;background:#fbfdff}.task p{color:var(--muted);margin:7px 0;line-height:1.5;word-break:break-word}.task small{color:var(--muted)}.task strong{font-size:12px;color:var(--primary)}#loginMsg,#empMsg,#taskMsg,#leaveMsg{color:var(--accent);font-weight:600}
.location-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.location-head h2{margin-bottom:6px}.location-head .muted{margin:0;max-width:760px}.location-legend{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 16px}.location-key,.location-badge,.type-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;border-radius:999px;padding:6px 10px}.location-key i,.location-badge i{width:8px;height:8px;border-radius:50%;display:inline-block}.office-key{background:#e8f7ef;color:#117a4b}.office-key i{background:#16a05d}.wfh-key{background:#fff5df;color:#a66200}.wfh-key i{background:#f59e0b}.other-key{background:#fdecec;color:#b42318}.other-key i{background:#dc2626}.location-badge.office,.type-badge.office{background:#e8f7ef;color:#117a4b}.location-badge.office i{background:#16a05d}.location-badge.wfh,.type-badge.wfh{background:#fff5df;color:#a66200}.location-badge.wfh i{background:#f59e0b}.location-badge.other,.type-badge.other{background:#fdecec;color:#b42318}.location-badge.other i{background:#dc2626}.location-row-office td:first-child{border-left:4px solid #16a05d}.location-row-wfh td:first-child{border-left:4px solid #f59e0b}.location-row-other td:first-child{border-left:4px solid #dc2626}.cell-sub{display:block;color:var(--muted);margin-top:3px}.location-coords{margin-top:5px;font-size:11px}.map-link{color:var(--primary);text-decoration:none}.location-alert{margin-bottom:14px;padding:12px 14px;border:1px solid #f3d08a;background:#fff8e8;color:#8a5a00;border-radius:12px;font-size:13px}.location-alert span{color:#b42318}
.mobile-nav{display:none}.mobile-nav button{border:0;background:transparent;color:#7790a1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;font-weight:700}.mobile-nav button span{font-size:19px;line-height:1}.mobile-nav small{font-size:9px}.mobile-nav .nav-center{width:54px;height:54px;margin-top:-22px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--teal));color:#fff;box-shadow:0 7px 18px rgba(21,91,156,.25);border:4px solid #f1f5fb}.mobile-nav .nav-center span{font-size:20px}
@media(max-width:900px){main{margin:18px auto}header{padding-left:20px;padding-right:20px}.brand img{width:120px;height:auto}}
@media(max-width:700px){body{padding-bottom:78px}header{min-height:60px;padding:8px 14px;gap:9px}.brand img{width:120px;height:auto}.role-label{font-size:11px;padding-left:6px}main{padding:0 10px;margin:14px auto}.card{padding:15px;border-radius:15px;margin-bottom:13px}.narrow{margin:25px auto}.grid2{grid-template-columns:1fr;gap:2px}.tabs{grid-template-columns:1fr 1fr}.clock{font-size:32px;margin:8px}.profile{align-items:flex-start}.profile img{width:58px;height:58px}.profile h2{font-size:20px}.primary,.secondary{min-height:44px}.center small{display:block;line-height:1.5;margin-top:10px}table{min-width:700px}.location-head{flex-direction:column}.location-head button{width:100%}.location-legend{gap:8px}.location-key{font-size:11px;padding:5px 8px}.mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:100;display:grid!important;grid-template-columns:repeat(5,1fr);align-items:end;height:62px;padding:7px 8px;background:rgba(255,255,255,.96);backdrop-filter:blur(15px);border:1px solid #d9e5eb;border-radius:18px;box-shadow:0 8px 28px rgba(34,75,110,.16)}footer{padding-bottom:8px}}
@media(max-width:480px){header{flex-wrap:wrap}.brand img{width:120px;height:auto}.role-label{border-left:0;padding-left:0;width:auto;order:0}.login-brand img{width:120px}.card{padding:13px}.profile{gap:11px}.profile img{width:52px;height:52px}.profile h2{font-size:18px}input,select,textarea{font-size:16px}}
