/* VisionQuantech NFC Tap System — mobile-first, system fonts only */
:root{
  --blue:#2B5CE6; --navy:#0D1B3E; --navy2:#12224e; --bg:#f4f6fb; --card:#fff;
  --text:#17203a; --muted:#5b6b8c; --line:#e2e7f2; --green:#0e8a4d; --red:#c22f2f;
  --amber:#b7791f; --radius:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--navy);color:#fff;padding:12px 14px}
.topbar .brand{color:#fff;font-weight:800;font-size:17px}
.topbar .brand em{display:block;font-style:normal;font-weight:500;font-size:11px;color:#a9bcf5;letter-spacing:.4px}
.setup-link{color:#fff;background:var(--blue);padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.setup-link:hover{text-decoration:none;opacity:.9}
.container{max-width:520px;margin:0 auto;padding:14px 14px 28px}
.footer{max-width:520px;margin:0 auto;padding:0 14px 30px;color:var(--muted);font-size:12px;text-align:center}
.footer a{color:var(--muted);text-decoration:underline}
h1{font-size:24px;line-height:1.25;margin:6px 0 8px;color:var(--navy)}
h2{font-size:19px;margin:20px 0 8px;color:var(--navy)}
h3{font-size:15px;margin:14px 0 6px;color:var(--navy)}
p{margin:6px 0}
.muted{color:var(--muted);font-size:13px}
.small{font-size:12px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px;margin:10px 0}
.hero{background:linear-gradient(135deg,var(--navy),var(--navy2) 60%,var(--blue));color:#fff;border-radius:var(--radius);padding:18px;margin:6px 0 12px}
.hero h1{color:#fff;margin:0 0 6px}
.hero p{color:#dbe4ff;margin:4px 0}
.demo-badge{display:inline-block;background:#fff3cd;color:#7a5b00;border:1px solid #e6c65c;font-size:11px;font-weight:800;letter-spacing:.5px;padding:2px 8px;border-radius:999px;text-transform:uppercase}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.mod{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px;display:block;color:var(--text)}
.mod:hover{border-color:var(--blue);text-decoration:none}
.mod .ic{font-size:26px}
.mod b{display:block;margin-top:4px;color:var(--navy);font-size:15px}
.mod span{font-size:12.5px;color:var(--muted)}
.btn{display:inline-block;border:0;cursor:pointer;background:var(--blue);color:#fff;font-weight:700;font-size:15px;padding:11px 18px;border-radius:10px;margin:6px 6px 6px 0;text-align:center}
.btn:hover{opacity:.92}
.btn.ghost{background:#eef2ff;color:var(--blue);border:1px solid #c9d6ff}
.btn.green{background:var(--green)}
.btn.red{background:var(--red)}
.btn.block{display:block;width:100%;margin:8px 0}
.btn:disabled{opacity:.5;cursor:not-allowed}
input,select,textarea{width:100%;font:inherit;padding:10px 12px;border:1px solid #cbd5ea;border-radius:10px;margin:4px 0 10px;background:#fff;color:var(--text)}
label{font-size:13px;font-weight:700;color:var(--navy)}
textarea{resize:vertical;min-height:64px}
.steps{margin:8px 0;padding-left:20px}
.steps li{margin:6px 0}
.chip{display:inline-block;background:#eef2ff;color:var(--navy);border:1px solid #d5e0ff;border-radius:999px;padding:4px 10px;font-size:12.5px;font-weight:700;margin:2px 4px 2px 0}
.chip.on{background:var(--blue);color:#fff;border-color:var(--blue)}
.menu-item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.menu-item:last-child{border-bottom:0}
.menu-item .nm{font-weight:700}
.menu-item .ds{font-size:12.5px;color:var(--muted)}
.veg{color:var(--green);font-weight:800}
.nonveg{color:#a33;font-weight:800}
.price{font-weight:800;color:var(--navy);white-space:nowrap}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:32px;height:32px;border-radius:8px;border:1px solid #cbd5ea;background:#fff;font-size:18px;font-weight:800;cursor:pointer;color:var(--navy)}
.qty b{min-width:20px;text-align:center}
.kot{border-left:5px solid var(--blue)}
.kot.st-preparing{border-left-color:var(--amber)}
.kot.st-ready{border-left-color:var(--green)}
.kot.st-served{border-left-color:#999}
.status{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}
.status.received{color:var(--blue)} .status.preparing{color:var(--amber)}
.status.ready{color:var(--green)} .status.served{color:#777}
table{width:100%;border-collapse:collapse;font-size:14px}
td,th{padding:7px 4px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.4px}
tr.total td{font-weight:800;color:var(--navy);border-bottom:0}
.avatar{width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:19px;flex:none}
.resrow{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.resrow:last-child{border-bottom:0}
.logrow{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.logrow:last-child{border-bottom:0}
.allow{color:var(--green);font-weight:800} .deny{color:var(--red);font-weight:800}
.vcard{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;border-radius:var(--radius);padding:20px;margin:10px 0}
.vcard .nm{font-size:22px;font-weight:800}
.vcard .rl{color:#c7d6ff;font-size:14px}
.vcard .ct{margin-top:12px;font-size:14px;line-height:1.7}
.vcard .ct a{color:#fff;text-decoration:underline}
.stars{font-size:34px;letter-spacing:6px;cursor:pointer;user-select:none}
.stars .on{color:#f5a623}
.stars .off{color:#cbd5ea}
.passcode{font-size:28px;font-weight:800;letter-spacing:3px;text-align:center;background:#eef2ff;border:1px dashed var(--blue);border-radius:10px;padding:12px;margin:10px 0;color:var(--navy)}
.kv{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px}
.kv:last-child{border-bottom:0}
.kv b{color:var(--navy)}
.notice{background:#fff8e1;border:1px solid #f0d48a;color:#6d4c00;border-radius:10px;padding:10px 12px;font-size:13px;margin:10px 0}
.ok{background:#e9f7ef;border:1px solid #9fd6b4;color:#0b5c2e;border-radius:10px;padding:10px 12px;font-size:13px;margin:10px 0}
.code{background:var(--navy);color:#dbe4ff;border-radius:10px;padding:10px 12px;font-size:13px;overflow-x:auto;word-break:break-all}
@media (min-width:560px){.grid{grid-template-columns:1fr 1fr}}
.qr-box{max-width:220px;margin:12px auto;background:#fff;padding:10px;border:1px solid var(--line);border-radius:12px}
.qr-box svg{width:100%;height:auto;display:block}
.share-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:8px}
.share-row .btn{margin:6px 0}
.ways .mod{cursor:default}
