:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#edf3f8;color:#102b45;font-size:15px}.shell{max-width:530px;min-height:100vh;margin:auto;padding:0 19px 24px;background:linear-gradient(#f9fbfd 0%,#f0f5f9 300px,#f0f5f9 100%)}.header{display:flex;align-items:center;justify-content:space-between;padding:23px 0 13px;gap:12px}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand-icon{display:grid;place-items:center;width:39px;height:39px;background:#0b2d4b;border-radius:11px;color:#eab44a;font-size:22px;font-weight:900}.brand b{display:block;font-size:14px;letter-spacing:.1px}.brand strong{color:#168c86}.brand small{display:block;font-size:9px;font-weight:800;letter-spacing:1.2px;color:#6b8295}.status-dot{font-size:10px;letter-spacing:.5px;font-weight:800;color:#11936d;white-space:nowrap}.hero{padding:21px 0 19px}.eyebrow{font-size:10px;letter-spacing:2px;color:#168b86;font-weight:900}.hero h1{font-size:clamp(27px,7.7vw,37px);line-height:1.13;margin:10px 0 11px;color:#0c2f4c;letter-spacing:-1.2px}.hero em{color:#d79d35;font-style:normal}.hero p{margin:0;color:#667d91;line-height:1.65}.panel{background:#fff;border:1px solid #dbe6ef;border-radius:22px;padding:20px;box-shadow:0 14px 36px #102c4912}.panel-head{display:flex;align-items:center;gap:11px;margin-bottom:21px}.symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e4f7f2;color:#058665;font-size:26px}.panel-head h2{margin:0 0 3px;font-size:18px}.panel-head p{margin:0;color:#8292a0;font-size:11px}label{font-size:12px;font-weight:800;display:block;margin:14px 0 7px}input,select{width:100%;min-height:47px;padding:12px 13px;border-radius:11px;border:1px solid #cfdce6;background:#fafcff;color:#122d45;font:inherit;font-size:15px}input:focus,select:focus{outline:2px solid #8edbd6;border-color:#178f8a}.proof{border:1px solid #e2eaf1;background:#fafcfe;padding:13px;margin-top:17px;border-radius:14px}.step-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.step-head b{font-size:13px}.flag{border-radius:30px;background:#eaeef3;color:#65798c;font-size:10px;font-weight:800;padding:5px 8px}.flag.ready{background:#def7ea;color:#137c50}.btn{border:0;border-radius:11px;padding:13px 12px;min-height:46px;font-size:13px;font-weight:900;cursor:pointer}.btn:disabled{opacity:.46;cursor:not-allowed}.btn.ghost{width:100%;background:#e9f3f7;border:1px solid #d2e3eb;color:#164b68}.buttons{display:flex;gap:9px}.buttons .btn{flex:1;min-width:0}.proof small{display:block;color:#738699;font-size:11px;line-height:1.55;margin-top:9px}.proof video,.proof img{display:block;width:100%;max-height:270px;object-fit:cover;border-radius:10px;background:#142e41;margin:0 0 11px;transform:scaleX(-1);transform-origin:center center}.proof video[hidden],.proof img[hidden]{display:none}.result{background:#f1f6fa;border-radius:10px;padding:12px;margin:16px 0;color:#5b7489;font-size:12px;line-height:1.5}.action .btn{font-size:14px}.primary{background:#119468;color:white}.secondary{background:#102f4e;color:white}.alert{padding:15px;border-radius:13px;margin:0 0 14px;font-size:13px;line-height:1.6}.alert p{margin:2px 0}.alert.error{background:#fff0ef;border:1px solid #f3b8b0;color:#9b2d26}.alert.success{background:#e6f8ee;border:1px solid #a1e3be;color:#17663f}.install-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#0d304c;color:white;border-radius:17px;padding:16px;margin:16px 0}.install-panel b{font-size:13px}.install-panel p{color:#bfd2df;font-size:11px;line-height:1.6;margin:6px 0 0}.install{white-space:nowrap;background:#eab44a;color:#142b3b}.help{font-size:12px;line-height:1.6;color:#687b8e;padding:0 5px}footer{text-align:center;font-size:10px;color:#8093a3;padding:17px 0}footer a{color:#537e98}@media(max-width:375px){.shell{padding:0 12px 20px}.panel{padding:15px}.header{padding-top:17px}.install-panel{flex-direction:column;align-items:stretch}.install{width:100%}}

/* Absensi Mobile V1.2 – camera selfie / installation guide. No POS styles affected. */
.photo-proof{background:#f8fbfd}
.camera-stage{position:relative;width:100%;overflow:hidden;aspect-ratio:4/5;max-height:390px;border-radius:17px;background:#132c45;margin:0 0 12px}
.camera-stage[hidden],.camera-empty[hidden],.install-help[hidden],.btn[hidden]{display:none!important}
.camera-stage video,.camera-stage img{display:block;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:cover;transform:scaleX(-1);transform-origin:center}
.camera-stage video[hidden],.camera-stage img[hidden]{display:none}
.face-guide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.face-guide span{display:block;width:65%;height:69%;border:2px dashed rgba(255,255,255,.82);border-radius:49% 49% 46% 46%;box-shadow:0 0 0 200px rgba(9,29,46,.13)}
.camera-stage-label{position:absolute;top:10px;left:10px;padding:6px 10px;border-radius:30px;background:rgba(8,31,51,.74);color:#fff;font-size:11px;font-weight:800;pointer-events:none}
.camera-empty{min-height:146px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;text-align:center;padding:17px;border:1px dashed #bed3df;border-radius:15px;background:linear-gradient(160deg,#eaf5fa,#fff)}
.camera-empty-icon{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#e0f2ee;color:#0f8a76;font-size:27px}
.camera-empty strong{font-size:13px;color:#123e59}
.camera-empty small{margin:0;max-width:240px}
.photo-actions{flex-wrap:wrap}
.photo-actions .btn{min-width:0}
.photo-actions .capture{background:#0f8b73;color:#fff}
.photo-actions #retake_button{background:#eaf3f8}
.install-panel{background:linear-gradient(130deg,#0c304d,#134b61);padding:20px}
.install-panel h2{margin:4px 0 7px;font-size:18px;color:#fff}
.install-eyebrow{font-size:10px;letter-spacing:1.5px;color:#91f0dd;font-weight:900}
.install-panel p{font-size:12px;margin-bottom:15px}
.install-buttons{display:flex;flex-wrap:wrap;gap:9px}
.install-buttons .btn{flex:1 1 130px}
.install-how{background:transparent;color:#fff;border:1px solid #6b90a5}
.install-help{margin-top:-5px;background:#fff;border:1px solid #dbe6ef;border-radius:15px;padding:16px;box-shadow:0 9px 23px #102c490d}
.install-help-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}
.close-help{background:#f0f5f9;color:#385870;border:0;width:31px;height:31px;border-radius:9px;font-size:24px;cursor:pointer}
.platform-switch{display:flex;gap:6px;margin:12px 0 10px;padding:4px;background:#eff5f8;border-radius:10px}
.platform{flex:1;border:0;background:transparent;color:#517084;border-radius:8px;min-height:36px;font-weight:800;cursor:pointer}
.platform.active{background:#fff;color:#0d5e61;box-shadow:0 2px 7px #123d5117}
.install-help ol{padding-left:22px;font-size:12px;color:#3b5669;line-height:1.75;margin:10px 0}
.install-help li{padding-bottom:7px}
.install-hint{background:#edf8f4;border-radius:9px;color:#286b59;font-size:11px;line-height:1.5;padding:11px;margin:0}
@media(max-width:375px){.camera-stage{max-height:350px}.install-panel{align-items:stretch}.install-buttons{flex-direction:column}}
.face-guide[hidden]{display:none!important}
