#receipt-dialog #receipt-form #receipt-trip-handoff{display:grid;gap:8px;padding:10px;margin:0 0 10px;border:1px solid #cbdff1;border-radius:12px;background:#f6faff;color:#173f60;min-width:0}
#receipt-dialog #receipt-form #receipt-trip-handoff.is-hidden{display:none!important}
#receipt-trip-handoff .trip-handoff-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#receipt-trip-heading{font-size:14px;overflow-wrap:anywhere}
#receipt-dialog #receipt-form #receipt-trip-handoff button{min-height:44px;padding:6px 10px;border:1px solid #c5dbee;border-radius:9px;background:#fff;font-size:12px;line-height:1.3;color:#235c87;white-space:normal;cursor:pointer}
#receipt-trip-refresh{flex-shrink:0}
#receipt-trip-handoff :is(.trip-handoff-stock,.trip-handoff-counts){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#receipt-trip-handoff :is(.trip-handoff-stock,.trip-handoff-counts) span{display:grid;gap:2px;padding:7px 9px;border:1px solid #e1ebf4;border-radius:9px;background:#fff;font-size:11px;color:#516d84}
#receipt-trip-handoff .trip-handoff-stock b{font-size:22px;line-height:1.2;font-variant-numeric:tabular-nums;color:#164f80}
#receipt-trip-handoff .trip-handoff-stock small{font-size:10px;line-height:1.3}
#receipt-trip-handoff .trip-handoff-counts{grid-template-columns:repeat(4,minmax(0,1fr))}
#receipt-trip-handoff .trip-handoff-counts span{text-align:center;padding:6px 2px;font-size:10px}
#receipt-trip-handoff .trip-handoff-counts b{font-size:17px;color:#174d79}
#receipt-trip-handoff .trip-handoff-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px;border-radius:10px;background:#e7f0f9}
#receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-modes button{border-color:transparent;background:transparent;padding:5px 3px;font-size:12px;font-weight:700}
#receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-modes button.is-selected{background:#1478cb;color:#fff}
#receipt-dialog #receipt-form #receipt-trip-handoff button:disabled{opacity:.5;cursor:default}
#receipt-dialog #receipt-form #receipt-trip-handoff p{margin:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
#receipt-trip-handoff .trip-handoff-suggestion{display:grid;gap:5px}
#receipt-trip-handoff .trip-handoff-suggestion>div,.trip-handoff-empty-actions{display:flex;flex-wrap:wrap;gap:6px}
#receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-preview{padding:8px;border:1px solid #cde2f5;border-radius:9px;background:#e9f3fc;font-size:13px;font-weight:700}
#receipt-dialog #receipt-form #receipt-trip-status{padding:8px;border-radius:8px;background:#fff2e4;color:#8d510f;font-size:12px}
#receipt-dialog #receipt-form #receipt-trip-status[hidden]{display:none}
#receipt-trip-handoff .trip-handoff-detail{border-top:1px solid #d8e5f0}
#receipt-trip-handoff .trip-handoff-detail summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;cursor:pointer;list-style:none}
#receipt-trip-handoff .trip-handoff-detail summary::-webkit-details-marker{display:none}
#receipt-trip-handoff .trip-handoff-detail summary::after{content:'＋';font-size:16px}
#receipt-trip-handoff .trip-handoff-detail[open] summary::after{content:'−'}
#receipt-trip-handoff .trip-handoff-detail>small{font-size:10px;color:#62788b}
#receipt-trip-handoff .trip-handoff-boundary{color:#4b6376;margin-top:6px!important}
#receipt-dialog #receipt-form #receipt-trip-confirm-row{display:flex;align-items:center;gap:9px;min-height:48px;padding:9px;border:1px solid #c7dcef;border-radius:10px;background:#f2f8ff;font-size:12px;font-weight:700;line-height:1.4;color:#234d70}
#receipt-dialog #receipt-form #receipt-trip-confirm-row.is-hidden{display:none!important}
#receipt-dialog #receipt-form #receipt-trip-confirm{width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;flex:0 0 22px;margin:0;accent-color:#1373c6}
#receipt-dialog #receipt-form#receipt-form>.dialog-head{min-height:0!important;padding-top:10px!important;padding-bottom:10px!important;align-items:center!important}
#receipt-dialog #receipt-form #receipt-dialog-title{font-size:20px!important;line-height:1.25!important}
#receipt-dialog #receipt-form #receipt-dialog-kicker{font-size:10px!important;letter-spacing:.08em!important}
#receipt-dialog.trip-handoff-active #receipt-form #receipt-vehicle-balance-preview,#receipt-dialog.trip-handoff-active #receipt-form #receipt-empty-stock-state:not(.is-short){display:none!important}
#receipt-dialog #receipt-form #receipt-trip-handoff :is(button,summary):focus-visible,#receipt-dialog #receipt-form #receipt-trip-confirm:focus-visible{outline:2px solid #1478cb!important;outline-offset:2px}
#company-trip-handoff-history{display:grid;gap:9px;margin:12px 0}.trip-handoff-history-card{min-width:0;padding:10px;border:1px solid #cce0ee;border-radius:12px;background:#f7fbff}.trip-handoff-history-card>div{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.trip-handoff-history-card strong{font-size:14px;color:#244b69}.trip-handoff-history-card small{display:block;font-size:10px;font-weight:400;color:#62788b}.trip-handoff-history-card table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:7px;font-size:13px}.trip-handoff-history-card caption{text-align:left;font-size:11px;color:#60798b;padding:3px 0 6px}.trip-handoff-history-card th,.trip-handoff-history-card td{padding:7px 3px;border-bottom:1px solid #dce8ef;text-align:center;overflow-wrap:anywhere}.trip-handoff-history-card th:first-child{width:26%;text-align:left}.trip-handoff-history-card p{margin:8px 0 0;font-size:12px;color:#62788b}
@media(max-width:360px){#receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-head{flex-wrap:wrap}#receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-modes button{font-size:11px}.trip-handoff-history-card table{font-size:12px}}
