:root{--brand:#0f766e;--brand-dark:#115e59;--bg:#f4f7f6;--text:#16302d;--muted:#64807c;--line:#d9e4e2;--danger:#b42318;--ok:#067647;font-family:Cairo,system-ui,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-size:16px}h1,h2{margin:0 0 .5rem}.shell{flex-direction:column;min-height:100dvh;display:flex}.top{background:var(--brand);color:#fff;justify-content:space-between;align-items:center;padding:.6rem 1rem;display:flex}.brand{font-size:1.25rem}main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:1rem 1rem 5rem}.tabs{bottom:0;border-top:1px solid var(--line);background:#fff;display:flex;position:fixed;inset-inline:0}.tabs a{text-align:center;color:var(--muted);flex:1;padding:.8rem 0;font-size:.85rem;font-weight:600;text-decoration:none}.tabs a.active{color:var(--brand);border-top:3px solid var(--brand);margin-top:-1px}.card{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;gap:.7rem;margin:.8rem 0;padding:1rem;display:flex}label{flex-direction:column;gap:.25rem;font-size:.92rem;font-weight:600;display:flex}input,select,button{font:inherit;border:1px solid var(--line);color:inherit;background:#fff;border-radius:10px;padding:.6rem .75rem}input,select{width:100%}button{cursor:pointer;font-weight:600}button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}button.primary:disabled{opacity:.6}button.link,.link{color:var(--brand);background:0 0;border:none;padding:0;text-decoration:none}.top .link{color:#fff}.row{justify-content:space-between;align-items:center;gap:.5rem;margin:.4rem 0;display:flex}.row input{flex:1}.list{flex-direction:column;gap:.5rem;margin:.6rem 0;padding:0;list-style:none;display:flex}.list>li{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem .9rem;display:flex}.list>li.col{flex-direction:column;align-items:stretch}.muted{color:var(--muted);font-size:.9rem}.error{color:var(--danger);font-weight:600}fieldset{border:1px solid var(--line);border-radius:10px}.login{place-items:center;min-height:100dvh;padding:1rem;display:grid}.login .card{width:100%;max-width:380px}.pill{border-radius:999px;padding:.1rem .6rem;font-size:.8rem;font-weight:700}.pill.PRESENT{color:var(--ok);background:#d1fadf}.pill.LATE{color:#93370d;background:#fef0c7}.pill.ABSENT{color:var(--danger);background:#fee4e2}.syncbar{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:.6rem;padding:.5rem .8rem;display:flex}.dot{background:var(--ok);border-radius:50%;width:.6rem;height:.6rem;margin-inline-end:.4rem;display:inline-block}.dot.off{background:var(--danger)}.flash{background:#d1fadf;border:1px solid #a6f4c5;border-radius:12px;padding:.7rem 1rem;font-weight:700}.flash.bad{background:#fee4e2;border-color:#fda29b}.idcard{border:2px solid var(--brand);background:#fff;border-radius:16px;flex-direction:column;align-items:center;gap:.3rem;width:300px;margin:1rem auto;padding:0 0 1rem;display:flex;overflow:hidden}.idhead{background:var(--brand);color:#fff;text-align:center;width:100%;margin-bottom:.6rem;padding:.5rem;font-weight:800}@media print{.top,.tabs,.noprint{display:none}main{padding:0}body{background:#fff}}.card.ack{background:#fffaeb;border:2px dashed #b54708}.card.bad{background:#fff5f4;border-color:#fda29b}.landing{max-width:960px;margin:0 auto;padding:1rem 1rem 3rem}.l-hero{text-align:center;padding:3rem 1rem 2rem}.l-hero h1{color:var(--brand);font-size:2.8rem}.l-hero p{max-width:560px;color:var(--muted);margin:0 auto 1.5rem;font-size:1.15rem}.l-cta{background:var(--brand);color:#fff;border-radius:12px;padding:.8rem 2.2rem;font-weight:700;text-decoration:none;display:inline-block}.l-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;display:grid}.l-grid h3{margin:0}.l-sec{margin-top:2rem}.l-sec li{margin:.4rem 0}.landing footer{text-align:center;margin-top:2rem}
