:root{--bg: #f4f5f4;--card: #fff;--text: #17201a;--muted: #5d6860;--line: #dfe3e0;--green: #14532d;--green-soft: #dcfce7;--amber: #b45309;--amber-soft: #fef3c7;--red: #b00020;--red-soft: #fde8ea;--blue: #1d4ed8}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{font-size:1.3rem;margin:0}h2{font-size:1.25rem;margin:2px 0 10px}p{margin:8px 0}a{color:var(--blue)}.page{max-width:480px;min-height:100dvh;margin:0 auto;padding:16px 16px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.page.wide{max-width:1200px}.page.center{justify-content:center;align-items:center}.brand{font-size:1.8rem;color:var(--green);margin:12vh 0 16px}.top{display:flex;justify-content:space-between;align-items:center;gap:12px}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.lead{font-size:1.15rem;font-weight:600}.right{text-align:right;white-space:nowrap}.error{color:var(--red);background:var(--red-soft);padding:10px 12px;border-radius:8px}.note{padding:10px 12px;border-radius:8px;background:#eceeed}.note.ok{background:var(--green-soft);color:var(--green)}.note.warn{background:var(--amber-soft);color:#7c3a06}label{display:flex;flex-direction:column;gap:4px;font-size:.9rem;color:var(--muted)}label.check{flex-direction:row;align-items:center;gap:8px;color:var(--text)}input,select{font:inherit;color:var(--text);padding:12px;min-height:48px;border:1px solid #b8c0ba;border-radius:8px;background:#fff;width:100%;min-width:0}input[type=checkbox]{width:22px;min-height:22px;height:22px;padding:0}input.pin{font-size:1.6rem;letter-spacing:.4em;text-align:center}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #60a5fa;outline-offset:1px}.btn{font:inherit;font-weight:600;min-height:48px;padding:10px 16px;border:0;border-radius:10px;cursor:pointer;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;color:var(--text);background:#e3e7e4}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--green);color:#fff}.btn.out{background:var(--amber);color:#fff}.btn.danger{background:var(--red);color:#fff}.btn.secondary{background:#fff;border:1px solid #b8c0ba}.btn.link{background:none;color:var(--blue);padding:6px 8px;min-height:40px;font-weight:500}.btn.big{min-height:56px;font-size:1.1rem}.btn.huge{min-height:96px;font-size:1.7rem;letter-spacing:.04em;border-radius:16px;width:100%}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}.card.flagged{border-left:5px solid var(--amber)}.card.rejected{border-left:5px solid var(--red);opacity:.75}.card form{display:flex;flex-direction:column;gap:10px}.times{display:grid;grid-template-columns:1fr 1fr;gap:8px}.times div{background:var(--bg);border-radius:10px;padding:8px 12px;display:flex;flex-direction:column}.times b{font-size:1.5rem;font-variant-numeric:tabular-nums}.links{display:flex;flex-direction:column;margin-top:4px}.links a{padding:14px 4px;border-bottom:1px solid var(--line);text-decoration:none;font-weight:500}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;font-variant-numeric:tabular-nums}.row.plain{border:0;padding:0}.chip{display:inline-block;font-size:.78rem;font-weight:600;padding:2px 8px;border-radius:999px;background:#e3e7e4;margin:2px 4px 2px 0;white-space:nowrap}.chip.flag{background:var(--amber-soft);color:#7c3a06}.chip.masuk,.chip.valid{background:var(--green-soft);color:var(--green)}.chip.rejected{background:var(--red-soft);color:var(--red)}.camera{background:#000;border-radius:14px;overflow:hidden;aspect-ratio:3 / 4;max-height:56dvh;width:100%}.camera video,.camera img{width:100%;height:100%;object-fit:cover;display:block}.page.full{max-width:none;align-items:center;justify-content:center;text-align:center;color:#fff}.page.full h1{font-size:1.5rem;max-width:18em}.page.green{background:#15803d}.page.yellow{background:#facc15;color:#1c1917}.bigmark{font-size:5rem;line-height:1;font-weight:700}.clock{font-size:3.2rem;font-weight:700;margin:0;font-variant-numeric:tabular-nums}.btn.onfull{background:#fff;color:#17201a;min-width:220px;margin-top:16px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filters .check{grid-column:1 / -1}.tabs{display:flex;gap:4px;border-bottom:2px solid var(--line)}.tabs button{font:inherit;font-weight:600;min-height:44px;padding:8px 14px;border:0;background:none;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px;cursor:pointer}.tabs button.on{color:var(--green);border-bottom-color:var(--green)}.event-head{display:flex;gap:12px}.thumb{width:84px;height:112px;object-fit:cover;border-radius:8px;flex:none;background:#ddd;cursor:zoom-in}.thumb.empty{display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--muted);text-align:center;cursor:default}.pair{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.pair>*{flex:1 1 110px}.pair>.grow{flex-grow:3}.zoom{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:10}.zoom img{max-width:100%;max-height:100%}.inline{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}.inline>*{flex:1 1 160px}.inline>.btn{flex:0 0 auto}.search{max-width:360px}.tablewrap{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:.92rem}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:middle}th{color:var(--muted);font-weight:600;white-space:nowrap}td select{min-height:38px;padding:6px 8px;min-width:120px}tr.inactive td{color:#8a938c;background:#f7f8f7}td.actions{white-space:nowrap}.device{display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:340px}
