/* ---------- OSCS Valet screens (base look in style.css = my.oscs.in tokens) ---------- */
.ctxbar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--blue); font-weight: 700; margin: -4px 0 12px; flex-wrap: wrap; }
.ctxbar a { color: var(--blue); }
.bigfield { font-size: 22px !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.fieldrow { display: flex; gap: 8px; align-items: stretch; }
.fieldrow .in, .fieldrow .prefix { flex: 1; min-width: 0; }
.fieldrow .btn { flex: none; }
.tno { font-size: 34px; font-weight: 900; letter-spacing: 1px; color: var(--text); line-height: 1.1; }
.regp { display: inline-block; font-weight: 800; font-size: 18px; letter-spacing: 1px; border: 2px solid var(--text); border-radius: 8px; padding: 2px 10px; background: #fff; margin-top: 6px; }
.qrimg { width: 170px; height: 170px; image-rendering: pixelated; display: block; margin: 8px auto; }
.st { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .3px; white-space: nowrap; }
.st.OPEN, .st.PARKING { background: var(--amber-soft); color: var(--amber); }
.st.PARKED { background: var(--blue-soft); color: var(--blue); }
.st.REQUESTED { background: var(--red-soft); color: var(--red); }
.st.RETRIEVING { background: var(--orange-soft); color: var(--orange-dark); }
.st.READY, .st.DELIVERED { background: var(--green-soft); color: var(--green); }
.st.CANCELLED { background: #f1f5f9; color: var(--muted); }
.tcard { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 8px; text-decoration: none; color: inherit; }
.tcard .main { flex: 1; min-width: 0; }
.tcard .main b { font-size: 16px; }
.tcard .main small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tcard .side { text-align: right; flex: none; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.tcard.alert { border: 2px solid var(--red); background: #fff7f7; animation: pulse 1.2s ease-in-out 3; }
.tcard.ready { border: 2px solid var(--green); background: #f6fef9; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, .18); } }
.age { font-size: 12px; font-weight: 800; color: var(--red); }
.age.ok { color: var(--muted); }
.cols { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr 1fr; } }
.colh { font-size: 13px; font-weight: 800; color: var(--text-2); margin: 0 0 8px; display: flex; justify-content: space-between; }
.searchbar { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; margin-bottom: 12px; box-shadow: var(--shadow); }
.alertbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--red); color: #fff; padding: 14px 16px; font-weight: 800; font-size: 16px; text-align: center; box-shadow: 0 6px 20px rgba(220,38,38,.4); cursor: pointer; }
.alertbar.green { background: var(--green); }
.alertbar small { display: block; font-weight: 600; font-size: 13px; opacity: .9; }
.soundbtn.off { background: var(--red-soft); color: var(--red); border-color: #fecaca; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph { aspect-ratio: 4 / 3; border: 1.5px dashed var(--blue-light); border-radius: 12px; background: #fff; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--muted); overflow: hidden; position: relative; cursor: pointer; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph b { display: block; font-size: 22px; }
.ph .lbl { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(15,23,42,.55); color: #fff; font-size: 11px; padding: 2px; z-index: 1; }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.timeline li { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.timeline small { color: var(--muted); }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.kv li:first-child { border-top: 0; }
.kv li span { color: var(--muted); }
.kv li b { text-align: right; word-break: break-word; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 10px; font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; background: #fff; cursor: pointer; }
.choice input { accent-color: var(--orange); width: 18px; height: 18px; }
.choice label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.sw { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sw .tx b { display: block; font-size: 14px; }
.sw .tx small { color: var(--muted); font-size: 12.5px; }
.sw select.in { width: auto; padding: 8px 10px; font-size: 14px; }
.toggle { position: relative; width: 48px; height: 28px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 99px; transition: .2s; cursor: pointer; }
.toggle span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + span { background: var(--orange); }
.toggle input:checked + span::before { transform: translateX(20px); }
.scanbox { position: fixed; inset: 0; background: #000; z-index: 45; display: flex; flex-direction: column; }
.scanbox video { flex: 1; width: 100%; object-fit: cover; min-height: 0; }
.scanbox .frame { position: absolute; left: 8%; right: 8%; top: 32%; height: 18%; border: 3px solid #ffb35c; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); pointer-events: none; }
.scanbox .frame.sq { left: 15%; right: 15%; top: 18%; height: auto; aspect-ratio: 1; }
.scanbox .bot { background: rgba(10,14,20,.92); color: #fff; padding: 14px 16px 24px; text-align: center; }
.scanbox .bot p { margin: 0 0 10px; font-size: 14px; }
.wa { font-size: 12.5px; padding: 8px 10px; border-radius: 10px; margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wa.sent, .wa.manual { background: var(--green-soft); color: #166534; }
.wa.queued { background: var(--blue-soft); color: var(--blue); }
.wa.failed, .wa.skipped { background: var(--amber-soft); color: #92400e; }
.wa span { flex: 1; min-width: 140px; }
.btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.btnrow.three { grid-template-columns: 1fr 1fr 1fr; }
.btn-green { border: 0; color: #fff; background: linear-gradient(90deg, #16a34a, #15803d); box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.btn-red { border: 0; color: #fff; background: linear-gradient(90deg, #dc2626, #b91c1c); }
.sec { font-size: 13px; font-weight: 800; color: var(--text-2); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .5px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: flex; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.bnav a { flex: 1; text-align: center; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 700; padding: 4px 0; border-radius: 12px; }
.bnav a span { display: block; font-size: 20px; line-height: 1.2; }
.bnav a.on { color: var(--orange-dark); background: var(--orange-soft); }
.page { padding-bottom: 96px; }
.fab { bottom: 84px; }
.top .badge { text-decoration: none; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#printarea { display: none; }
@media print {
  @page { margin: 0; }
  body { background: #fff !important; }
  body > *:not(#printarea) { display: none !important; }
  #printarea { display: block !important; }
}
.pslip { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: #000; text-align: center; padding: 2mm; width: 54mm; }
.pslip.w80 { width: 76mm; }
.pslip h1 { font-size: 15px; margin: 0; }
.pslip .no { font-size: 22px; font-weight: 900; margin: 4px 0; }
.pslip .rg { font-size: 15px; font-weight: 800; }
.pslip img { width: 34mm; height: 34mm; }
.pslip p { margin: 2px 0; text-align: left; }
.pslip hr { border: 0; border-top: 1px dashed #000; }
.stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats .stat { padding: 10px; font-size: 12px; }
.stats .stat b { font-size: 22px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(6, 1fr); } }

a.btn, a.tab, a.tile { text-decoration: none; }
