#app { max-width: 560px; margin: 0 auto; min-height: 100vh; }
.duty { margin: 14px 16px 0; border-radius: 22px; padding: 16px; display: flex; align-items: center; gap: 14px; background: #2A2829; color: #fff; transition: background .25s; }
.duty.on { background: var(--fb-yellow); color: var(--fb-black); }
.duty .big { font-family: var(--fb-font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.duty .switch { transform: scale(1.25); transform-origin: right center; }
.wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 16px 0; }
.cashbar { height: 8px; border-radius: 4px; background: rgba(19,18,19,.12); overflow: hidden; margin-top: 8px; }
.cashbar span { display: block; height: 100%; background: var(--fb-black); }
.cashbar.warn span { background: var(--fb-red); }
.job { background: #fff; border: 1px solid var(--fb-line); border-radius: 20px; padding: 14px; margin-bottom: 12px; box-shadow: var(--fb-shadow-1); }
.route { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; margin: 10px 0; }
.route .p { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.route .a { background: var(--fb-yellow); border: 2px solid var(--fb-black); }
.route .b { background: var(--fb-black); color: var(--fb-yellow); }
.route .line-v { width: 2px; height: 14px; background: var(--fb-line-2); margin: 0 auto; }
.fee { font-family: var(--fb-font-display); font-weight: 800; font-size: 22px; color: var(--fb-green); }
.collect { background: var(--fb-red-soft); color: #131213; border-radius: 12px; padding: 8px 12px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.pin-input { display: flex; gap: 10px; justify-content: center; direction: ltr; }
.pin-input input { width: 56px; height: 66px; text-align: center; font-size: 30px; font-weight: 800; font-family: var(--fb-font-display); border-radius: 14px; border: 2px solid var(--fb-line-2); }
.pin-input input:focus { outline: none; border-color: var(--fb-black); box-shadow: 0 0 0 4px var(--fb-yellow-soft); }
.stepper { display: flex; gap: 6px; margin: 12px 0; }
.stepper span { flex: 1; height: 6px; border-radius: 3px; background: var(--fb-line); }
.stepper span.on { background: var(--fb-black); }

/* ---------- Full-detail job and delivery cards ---------- */
.job.rd { padding: 0; overflow: hidden; }
.job.rd.active { border: 2px solid var(--fb-black); }
.rd-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--fb-black); color: #fff; }
.rd-head .code { font-family: var(--fb-font-display); font-weight: 800; font-size: 21px; line-height: 1.05; }
.rd-head .sub { font-size: 12px; opacity: .72; font-weight: 600; margin-top: 2px; }
.fee-box { text-align: center; background: var(--fb-yellow); color: var(--fb-black); border-radius: 14px; padding: 6px 12px; }
.fee-box .v { font-family: var(--fb-font-display); font-weight: 800; font-size: 22px; line-height: 1; }
.fee-box .k { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.rd-body { padding: 14px; }
.btn-lg { min-height: 54px; font-size: 17px; }

.rd-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rd-steps li { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--fb-ink-3); padding: 7px 8px; border-radius: 12px; background: #F3F1EC; }
.rd-steps .b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fff; border: 1.5px solid var(--fb-line-2); flex: none; }
.rd-steps li.done { color: var(--fb-black); }
.rd-steps li.done .b { background: var(--fb-black); color: var(--fb-yellow); border-color: var(--fb-black); }
.rd-steps li.now { background: var(--fb-yellow); color: var(--fb-black); box-shadow: inset 0 0 0 2px var(--fb-black); }
.rd-steps li.now .b { border-color: var(--fb-black); }

.rd-next { border-radius: 16px; background: var(--fb-yellow); padding: 12px 14px; border: 2px solid var(--fb-black); box-shadow: 0 3px 0 var(--fb-black); }
.rd-next .k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.rd-next .t { font-family: var(--fb-font-display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.rd-next .s { font-size: 14px; font-weight: 600; margin-top: 2px; }

.rd-stop { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--fb-line); border-radius: 16px; background: #fff; margin-top: 10px; }
.rd-stop .k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--fb-ink-3); }
.rd-stop .nm { font-weight: 800; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.rd-stop .ad { font-size: 13px; color: var(--fb-ink-2, #4A4642); margin-top: 2px; overflow-wrap: anywhere; }
.rd-pin { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 2px; }
.rd-pin.a { background: var(--fb-yellow); border: 2px solid var(--fb-black); }
.rd-pin.b { background: var(--fb-black); color: var(--fb-yellow); }
.rd-link { width: 2px; height: 10px; background: var(--fb-line-2); margin: 0 0 -10px 25px; }
.rd-house { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; background: #F3F1EC; border-radius: 10px; padding: 7px 9px; font-weight: 700; font-size: 14px; }
.rd-call { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fb-black); color: var(--fb-yellow); }
.collect.paid { background: #F3F1EC; }
.job.rd .trip { margin-top: 12px; }
.job.rd .collect { margin-top: 10px; }

.rd-items { margin-top: 12px; border: 1px solid var(--fb-line); border-radius: 16px; overflow: hidden; }
.rd-items .hd { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; background: #FCFBF8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--fb-ink-3); border-bottom: 1px solid var(--fb-line); }
.rd-items ul { list-style: none; margin: 0; padding: 0; }
.rd-items li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px dashed var(--fb-line-2); font-size: 15px; }
.rd-items li:last-child { border-bottom: 0; }
.rd-items li[role=checkbox] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rd-items .cb { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--fb-line-2); display: grid; place-items: center; color: transparent; }
.rd-items li.ok .cb { background: var(--fb-black); border-color: var(--fb-black); color: var(--fb-yellow); }
.rd-items li.ok .nm { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .6; }
.rd-items .q { font-weight: 800; min-width: 30px; }
.rd-items .nm { flex: 1; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.rd-items .pr { color: var(--fb-ink-3); font-size: 13px; white-space: nowrap; }
.rd-note { background: var(--fb-black); color: #fff; padding: 10px 12px; font-weight: 700; overflow-wrap: anywhere; }
.rd-note .k { display: flex; gap: 6px; align-items: center; color: var(--fb-yellow); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

.rd-money { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 12px; }
.rd-cash { border-radius: 16px; background: var(--fb-black); color: #fff; padding: 12px 14px; }
.rd-cash .k { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--fb-yellow); }
.rd-cash .v { font-family: var(--fb-font-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--fb-yellow); margin-top: 2px; }
.rd-cash .brk { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; opacity: .75; margin-top: 4px; }
.rd-cash.paid { background: #F3F1EC; color: var(--fb-black); }
.rd-cash.paid .k { color: var(--fb-black); } .rd-cash.paid .v { color: var(--fb-black); font-size: 20px; }
.rd-earn { border-radius: 16px; background: var(--fb-yellow); padding: 12px 14px; border: 2px solid var(--fb-black); display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.rd-earn .k { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.rd-earn .v { font-family: var(--fb-font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.rd-chip { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 8px; align-self: flex-start; }
.rd-chip.dark { background: var(--fb-black); color: var(--fb-yellow); }
.rd-actions { display: flex; gap: 8px; margin-top: 14px; }
.rd-actions .btn { min-height: 52px; }
@media (max-width: 360px) { .rd-money { grid-template-columns: 1fr; } }
