:root{--ink:#292929;--forest:#292929;--teal:#e5232f;--mint:#fff0f1;--line:#e2d9da;--paper:#f7f7f7;--danger:#b42318}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}.topbar{height:76px;padding:0 max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:var(--forest);color:white}.brand{display:flex;gap:11px;align-items:center;color:inherit;text-decoration:none;font-weight:750;line-height:1.05}.brand small{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.65;margin-top:5px}.mark{width:40px;height:40px;border-radius:12px;background:#e5232f;color:#ffffff;display:grid;place-items:center;font-size:14px}.admin-link{color:#ffffff;background:transparent;border:1px solid #ffffff30;border-radius:10px;padding:9px 14px;text-decoration:none;font:inherit}.entry-shell{min-height:calc(100vh - 76px);max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 500px;gap:70px;align-items:center;padding:48px 24px}.intro h1{font-size:clamp(48px,7vw,86px);line-height:.95;margin:12px 0 22px;letter-spacing:-.055em}.intro>p:not(.eyebrow){font-size:19px;line-height:1.6;max-width:480px;color:#676767}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--teal)}.privacy{margin-top:36px;padding:18px 20px;border-left:3px solid var(--teal);background:#fff;color:#676767;max-width:470px;line-height:1.55}.card,.login-card{background:white;border:1px solid var(--line);box-shadow:0 18px 60px #35101320;border-radius:24px;padding:34px}.steps{display:flex;align-items:center;margin-bottom:32px}.steps span{width:29px;height:29px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:13px;color:#888888}.steps span.active{color:white;background:var(--teal);border-color:var(--teal)}.steps i{height:1px;background:var(--line);flex:1}h1,h2{letter-spacing:-.03em}h2{font-size:25px;margin:0 0 22px}label{font-size:14px;font-weight:700;display:block;margin:16px 0 7px}input,textarea{width:100%;border:1px solid #cbc4c5;border-radius:11px;padding:13px 14px;font:inherit;background:#fff;color:var(--ink)}input:focus,textarea:focus{outline:3px solid #e5232f22;border-color:var(--teal)}textarea{min-height:82px;resize:vertical}.phone{display:flex;border:1px solid #cbc4c5;border-radius:11px;overflow:hidden}.phone:focus-within{outline:3px solid #e5232f22;border-color:var(--teal)}.phone b{display:flex;align-items:center;padding:0 13px;background:var(--paper);border-right:1px solid var(--line)}.phone input{border:0;border-radius:0;outline:0!important}button,.button{border:0;border-radius:11px;background:var(--teal);color:white;font:inherit;font-weight:750;padding:13px 18px;text-decoration:none;cursor:pointer}form>button[type=submit],form>button:not(.admin-link),.success>button{width:100%;margin-top:22px}button:disabled{opacity:.55}.link-btn{background:transparent!important;color:var(--teal)!important;margin-top:5px!important}.camera{border:1.5px dashed #c9aeb1;border-radius:14px;padding:18px;text-align:center;cursor:pointer}.camera input{position:absolute;opacity:0;width:1px}.camera span{color:var(--teal)}#preview{display:none;margin:14px auto 0;width:100%;max-height:260px;object-fit:cover;border-radius:10px}.hidden{display:none!important}.message{color:var(--danger);font-size:14px;min-height:20px}.muted{color:#777777}.success{text-align:center;padding:30px 0}.check{width:70px;height:70px;margin:auto;background:var(--mint);color:var(--teal);border-radius:50%;display:grid;place-items:center;font-size:36px}.admin-bg{min-height:100vh;display:grid;place-items:center;background:var(--forest);padding:22px}.login-card{width:min(440px,100%)}.brand.dark{color:var(--ink);margin-bottom:40px}.error{background:#fee4e2;padding:11px;border-radius:9px}.dashboard{max-width:1240px;margin:auto;padding:42px 24px}.dash-head{display:flex;align-items:end;justify-content:space-between}.dash-head h1{font-size:40px;margin:7px 0}.filters{display:grid;grid-template-columns:1fr 170px 170px 100px;gap:10px;margin:24px 0}.filters button{margin:0!important}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:16px}table{border-collapse:collapse;width:100%;min-width:900px}th,td{text-align:left;padding:16px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:#f6eeee;color:#6b6061}td{font-size:14px}td small{display:block;color:#756a6b;max-width:260px;margin-top:5px}.empty{text-align:center;padding:50px;color:#776d6e}code{background:var(--mint);padding:4px 7px;border-radius:6px;color:#b01822}@media(max-width:820px){.entry-shell{grid-template-columns:1fr;gap:26px;padding:28px 16px}.intro h1{font-size:48px}.intro .privacy{display:none}.card{padding:25px 20px}.filters{grid-template-columns:1fr 1fr}.filters input:first-child{grid-column:1/-1}.dashboard{padding:28px 14px}.dash-head h1{font-size:32px}}@media(max-width:480px){.topbar{height:68px;padding:0 14px}.entry-shell{min-height:auto}.intro h1{font-size:40px}.intro>p:not(.eyebrow){font-size:16px}.filters{grid-template-columns:1fr}.filters input:first-child{grid-column:auto}.dash-head{align-items:start;gap:12px;flex-direction:column}.card{border-radius:18px}}
.company-logo{width:118px;height:55px;object-fit:contain;background:#fff;border-radius:8px;padding:3px}.brand>span:last-child{font-size:15px;letter-spacing:.02em}.topbar{border-bottom:3px solid #e5232f}.card{border-top:4px solid #e5232f}.camera-stage{position:relative}.camera-actions{display:grid;gap:10px;margin-top:14px}.camera-actions button{margin:0!important;width:100%}.camera-switch{position:absolute;z-index:2;top:10px;right:10px;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;display:grid;place-items:center;background:#171717b8;color:#fff;font-size:27px;line-height:1;box-shadow:0 3px 14px #0005;backdrop-filter:blur(5px)}.camera-switch:active{transform:scale(.94)}#cameraVideo{background:#171717}
select{width:100%;border:1px solid #cbc4c5;border-radius:11px;padding:13px 14px;font:inherit;background:#fff;color:var(--ink);cursor:pointer}select:focus{outline:3px solid #e5232f22;border-color:var(--teal)}
.top-actions{display:flex;align-items:center;gap:9px}.top-actions form{margin:0}.top-actions button{margin:0!important}.guard-login{border-top:5px solid var(--teal)}.guard-login .brand{align-items:center}.guard-dashboard{max-width:1180px;margin:auto;padding:38px 24px 70px}.guard-hero{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.guard-hero h1{font-size:clamp(36px,5vw,60px);margin:5px 0 8px}.guard-hero p{color:#6b6263}.live-pill{display:flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:#fff0f1;color:#b01822;font-size:12px;font-weight:850;letter-spacing:.12em}.live-pill i{width:9px;height:9px;border-radius:50%;background:#e5232f;box-shadow:0 0 0 5px #e5232f1f}.guard-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guard-actions button{text-align:left;padding:25px;border-radius:20px;display:grid;grid-template-columns:54px 1fr;column-gap:16px;box-shadow:0 14px 35px #35101318}.guard-actions button>span{grid-row:1/3;width:54px;height:54px;border-radius:16px;background:#fff2;display:grid;place-items:center;font-size:30px}.guard-actions strong{font-size:23px}.guard-actions small{margin-top:5px;opacity:.78}.guard-actions .dark-action{background:#292929}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 32px}.stat-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.stat-grid span{display:block;color:#746a6b;font-size:13px}.stat-grid strong{display:block;font-size:35px;margin-top:6px}.inside-section{scroll-margin-top:20px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-head h2{margin:4px 0}.section-head h2 span{display:inline-grid;place-items:center;min-width:31px;height:31px;padding:0 8px;margin-left:5px;border-radius:999px;background:#fff0f1;color:#b01822;font-size:15px}.refresh-btn,.back-dashboard{width:auto!important;margin:0!important;background:#fff;color:#292929;border:1px solid var(--line)}.visitor-grid{display:grid;gap:12px}.visitor-card{display:grid;grid-template-columns:68px 1fr auto;align-items:center;gap:16px;padding:16px;background:#fff;border:1px solid var(--line);border-left:4px solid #292929;border-radius:16px}.visitor-card.overdue{border-left-color:#e5232f;background:#fffafa}.visitor-card>img{width:68px;height:68px;border-radius:14px;object-fit:cover;background:#eee}.visitor-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.visitor-title h3{margin:0;font-size:18px}.visitor-main p{margin:6px 0;color:#6f6667;font-size:14px}.visitor-main .time-in{color:#292929;font-weight:700}.overdue-label{display:inline-block;padding:4px 8px;border-radius:999px;background:#fee4e2;color:#b42318;font-size:11px;font-weight:800}.guard-checkout{min-width:112px}.inside-empty{background:#fff;border:1px solid var(--line);border-radius:16px}.secondary-action{background:#292929;margin-top:10px!important}.back-dashboard{margin-bottom:28px!important}@media(max-width:700px){.topbar .brand>span:last-child{display:none}.guard-dashboard{padding:26px 14px 50px}.guard-hero{align-items:start}.guard-actions,.stat-grid{grid-template-columns:1fr}.guard-actions button{padding:20px}.stat-grid{grid-template-columns:repeat(3,1fr);gap:8px}.stat-grid article{padding:13px 10px}.stat-grid strong{font-size:27px}.visitor-card{grid-template-columns:54px 1fr}.visitor-card>img{width:54px;height:54px}.guard-checkout{grid-column:1/-1;width:100%}.section-head{align-items:center}.company-logo{width:106px}}
@media(max-width:700px){.topbar .brand>span:last-child{display:block;font-size:11px;max-width:92px}.top-actions{gap:5px}.top-actions .admin-link{padding:8px;font-size:12px}}
