/* V34.2.125: quantity-first handoff and aligned daily journal. */
body.af-ux #overview #overview-journal{padding:12px!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
body.af-ux #overview #overview-journal .overview-journal-head{align-items:center!important;gap:8px!important;margin:0 0 8px!important;padding:0!important}
body.af-ux #overview #overview-journal .overview-journal-head h2{font-size:17px!important;line-height:1.3!important}
body.af-ux #overview #overview-journal .overview-journal-filters{margin-bottom:4px!important}
body.af-ux #overview #overview-journal .overview-journal-filters button{white-space:nowrap!important;font-size:12px!important;gap:5px!important}
body.af-ux #overview #overview-journal .overview-journal-filters button>b{display:inline-grid!important;place-items:center!important;min-width:20px!important;min-height:20px!important;padding:0 4px!important;border-radius:6px!important;background:#e2ebf3!important;font-size:10px!important;line-height:1!important;font-variant-numeric:tabular-nums}
body.af-ux #overview #overview-journal .overview-journal-filters button.active>b{background:#e4f0ff!important}
body.af-ux #overview #overview-journal .journal-entry-summary{display:block!important;min-height:44px!important;padding:8px 0!important}
body.af-ux #overview #overview-journal .journal-entry-title{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:8px!important;padding-right:40px!important;flex-wrap:nowrap!important}
body.af-ux #overview #overview-journal .journal-entry-title>strong{font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body.af-ux #overview #overview-journal .journal-entry-amount{font-size:15px!important;line-height:1.4!important;white-space:nowrap!important;text-align:right!important}
body.af-ux #overview #overview-journal .journal-entry-menu{position:absolute!important;top:-9px!important;right:-5px!important;transform:none!important;align-self:start!important;color:#49647c!important;z-index:1!important}
body.af-ux #overview #overview-journal .journal-entry-body>small{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:2px 6px!important;margin-top:2px!important;padding-right:38px!important;font-size:11px!important;line-height:1.35!important}
body.af-ux #overview #overview-journal .journal-entry-body>small .entry-badge{margin:0!important;flex:none!important;font-size:10px!important;padding:2px 5px!important}
body.af-ux #overview #overview-journal .journal-entry-body>small time{white-space:nowrap!important;font-variant-numeric:tabular-nums}
body.af-ux #overview #overview-journal .journal-entry-actor{min-width:0!important;overflow-wrap:anywhere!important}
body.af-ux #overview #overview-journal .journal-entry-body>p{margin-top:2px!important;font-size:11px!important;line-height:1.4!important;max-width:none!important}
body.af-ux #overview #overview-journal .journal-entry[open]>.journal-entry-info{margin-bottom:12px!important}
body.af-ux #overview #overview-journal #overview-show-all{margin-top:6px!important;min-height:44px!important;padding:8px 12px!important;font-size:13px!important;border-radius:10px!important}

/* The specialized scope wins over legacy mobile form dimensions. */
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff{padding:12px!important;gap:10px!important;margin-bottom:10px!important;border-radius:14px!important;background:#f7fbff!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-head{gap:8px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-heading{font-size:14px!important;line-height:1.4!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff button{min-height:44px!important;min-width:0!important;padding:7px 9px!important;font-size:12px!important;line-height:1.3!important;letter-spacing:0!important;font-weight:650!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-refresh{font-size:11px!important;padding:7px 8px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-stock{gap:8px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-stock>span{gap:3px!important;padding:8px 10px!important;font-size:11px!important;line-height:1.35!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-stock b{font-size:20px!important;line-height:1.2!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-stock small{font-size:10px!important;line-height:1.3!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-modes{padding:3px!important;gap:3px!important;border-radius:10px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot{display:grid!important;gap:7px!important;min-width:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .receipt-quantity-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .receipt-quantity-field{display:grid!important;gap:6px!important;margin:0!important;padding:10px!important;border:1px solid #d3e3f1!important;border-radius:11px!important;background:#fff!important;text-align:left!important;font-size:12px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .receipt-quantity-field:last-child{border-color:#cce4d8!important;background:#f5fbf7!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot input{box-sizing:border-box!important;min-height:50px!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:9px!important;border:1px solid #c5dcec!important;border-radius:9px!important;background:#fff!important;color:#173952!important;text-align:center!important;font-size:20px!important;font-weight:750!important;line-height:1.3!important;font-variant-numeric:tabular-nums}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot input::placeholder{font-size:13px!important;font-weight:400!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .handoff-quantity-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot :is(.handoff-return-tools,.handoff-receive-tools){min-width:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .trip-handoff-empty-actions,body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .trip-handoff-suggestion>div{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot button{flex:1 1 60px!important;padding:6px 4px!important;font-size:11px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .trip-handoff-suggestion{display:flex!important;flex-direction:column-reverse!important;gap:5px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .trip-handoff-suggestion p{font-size:10px!important;line-height:1.45!important;color:#62788c!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-preview{margin:0!important;padding:9px 10px!important;font-size:13px!important;line-height:1.45!important;border-radius:10px!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-preview[data-state="pending"]{background:#fff8e9!important;border-color:#eddbb7!important;color:#836020!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-preview[data-state="error"]{background:#fff2ef!important;border-color:#ebc9c1!important;color:#a54132!important}
body.af-ux #receipt-dialog #receipt-form #receipt-trip-handoff .trip-handoff-detail summary{font-size:12px!important;letter-spacing:0!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-bottle-section{padding:10px!important;margin:0 0 10px!important;gap:8px!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-bottle-section>.receipt-section-title-row{display:none!important}
body.af-ux #receipt-dialog #receipt-form .handoff-company-details{margin:0!important;padding:0!important;border-top:1px solid #e0eaf2!important}
body.af-ux #receipt-dialog #receipt-form .handoff-company-details[hidden]{display:none!important}
body.af-ux #receipt-dialog #receipt-form .handoff-company-summary{min-height:44px!important;align-content:center!important;padding:8px 0!important;font-size:12px!important;font-weight:650!important;color:#48667d!important;cursor:pointer!important}
body.af-ux #receipt-dialog #receipt-form .handoff-company-details :is(.receipt-balance-strip,.receipt-company-pool-compact){margin:5px 0 8px!important;padding:10px!important;font-size:12px!important;line-height:1.45!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form .handoff-company-details :is(strong,b,p){font-size:13px!important;line-height:1.45!important;letter-spacing:0!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-late-return-toggle{gap:8px!important;padding:9px!important;margin:0!important;font-size:12px!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-late-return-toggle input{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px!important;margin:0!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-late-return-toggle strong{font-size:12px!important;line-height:1.4!important}
body.af-ux #receipt-dialog.trip-handoff-active #receipt-form .receipt-late-return-toggle small{font-size:11px!important;line-height:1.4!important}
body.af-ux #receipt-dialog.af-standard-dialog.trip-handoff-active #receipt-form.af-standard-form>.dialog-actions{display:grid!important;grid-template-columns:minmax(88px,.8fr) minmax(0,1.7fr)!important;gap:8px!important;padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px))!important;min-height:0!important}
body.af-ux #receipt-dialog.af-standard-dialog.trip-handoff-active #receipt-form.af-standard-form>.dialog-actions>.af-standard-status{grid-column:1/-1!important}
body.af-ux #receipt-dialog #receipt-form>.dialog-actions #receipt-trip-confirm-row{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;margin:0!important;padding:6px 8px!important;border:0!important;border-radius:8px!important;background:#f2f7fd!important;font-size:12px!important;line-height:1.4!important;color:#3d5c77!important;letter-spacing:0!important}
body.af-ux #receipt-dialog #receipt-form>.dialog-actions #receipt-trip-confirm-row.is-hidden{display:none!important}
body.af-ux #receipt-dialog #receipt-form>.dialog-actions #receipt-trip-confirm{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px!important;padding:0!important;margin:0!important}
body.af-ux #receipt-dialog.af-standard-dialog.trip-handoff-active #receipt-form.af-standard-form>.dialog-actions>button{min-height:48px!important;font-size:14px!important;padding:9px 8px!important}
body.af-ux #receipt-dialog #receipt-form #receipt-dialog-title{font-size:20px!important;line-height:1.3!important}
body.af-ux #receipt-dialog.af-standard-dialog #receipt-form.af-standard-form>.dialog-head{min-height:0!important;padding:10px 14px!important;gap:10px!important}
body.af-ux #receipt-dialog.af-standard-dialog #receipt-form.af-standard-form>.dialog-head .icon-btn{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important;font-size:26px!important;border-width:1px!important;border-radius:10px!important}
@media(max-width:360px){body.af-ux #overview #overview-journal{padding:12px!important}body.af-ux #overview #overview-journal .journal-entry-title>strong,body.af-ux #overview #overview-journal .journal-entry-amount{font-size:14px!important}body.af-ux #overview #overview-journal .overview-journal-filters button{font-size:11px!important}body.af-ux #receipt-dialog #receipt-form #receipt-trip-heading{font-size:13px!important}body.af-ux #receipt-dialog #receipt-form #receipt-trip-refresh{max-width:102px!important}body.af-ux #receipt-dialog #receipt-form #receipt-trip-quantity-slot .receipt-quantity-field{padding:8px!important;font-size:11px!important}}
