/* Delivery desk: a live board of app orders (designed for 1366×768 and up, works on tablets). */
#app { height: 100%; }
.desk { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.dhead { background: var(--ink); color: #fff; display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.dhead img { height: 36px; }
.dhead .stat b { display: block; font-family: var(--font-head); font-size: 20px; line-height: 1.1; }
.dhead .stat span { font-size: 12px; opacity: .8; }
.dhead .grow { flex: 1; }
.toggle { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-weight: 600; color: #fff; }
.toggle.on { background: var(--green); } .toggle.off { background: var(--red); }
.dhead .iconbtn { color: #fff; opacity: .8; font-size: 13px; }

.board { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 16px; padding: 16px 20px; overflow-x: auto; min-height: 0; }
.colm { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.colm > header { display: flex; align-items: center; gap: 8px; }
.colm > header i { width: 10px; height: 10px; border-radius: 50%; }
.colm .list { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 2px 2px 12px; }
.ocard { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ocard.alert { border: 2px solid var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(200,65,45,.15); } }
.ocard .oh { display: flex; align-items: center; gap: 8px; }
.ocard .oh h3 { font-size: 20px; }
.ocard .items { background: var(--subtle); border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.ocard .btns { display: flex; gap: 8px; }
.ocard .btns .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; flex: 1; }
.late { color: var(--red); font-weight: 700; }
.rider { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 8px 10px; background: var(--subtle); text-align: left; width: 100%; }
.rider.free { background: var(--green-subtle); }
.rider.busy { opacity: .55; }
.cashcard { background: var(--turmeric-subtle); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.none { color: var(--muted); text-align: center; padding: 18px 0; font-size: 14px; }
.start { position: fixed; inset: 0; background: rgba(31,26,22,.7); display: flex; align-items: center; justify-content: center; z-index: 60; }

@media (max-width: 1000px) { .board { grid-template-columns: repeat(4, 260px); } .dhead .stat { display: none; } }
