.booking-flow { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:12px; padding:18px 24px 0; }
.booking-flow article { display:flex; align-items:center; justify-content:space-between; min-height:72px; padding:14px 18px; border:1px solid var(--border); border-top:4px solid #7895aa; border-radius:12px; background:var(--surface); box-shadow:var(--shadow-sm); }
.booking-flow article.complete { border-top-color:#237a55; }
.booking-flow span { color:var(--muted); font-size:13px; }
.booking-flow strong { color:var(--accent); font-size:28px; }
.shipping-workspace { grid-template-columns:minmax(570px,.92fr) minmax(620px,1.08fr); gap:12px; }
.shipping-detail-panel { max-height:calc(100vh - 220px); overflow:auto; }
.shipping-detail-header { display:flex; justify-content:space-between; gap:20px; padding-bottom:14px; border-bottom:2px solid var(--accent); }
.shipping-detail-header h2 { margin:3px 0; }
.shipping-detail-list { grid-template-columns:120px minmax(0,1fr) 120px minmax(0,1fr); gap:0; border-top:1px solid #ccd6de; border-left:1px solid #ccd6de; }
.shipping-detail-list dt,.shipping-detail-list dd { min-height:38px; margin:0; padding:9px 10px; border-right:1px solid #ccd6de; border-bottom:1px solid #ccd6de; white-space:pre-wrap; overflow-wrap:anywhere; }
.shipping-detail-list dt { color:#315f7d; background:#edf3f7; font-weight:700; }
.shipping-detail-list dd { color:#18242d; background:#fff; }
.stage-strip { display:grid; grid-template-columns:repeat(4,1fr); margin:16px 0; border-radius:8px; overflow:hidden; background:#e7ebee; }
.stage-strip span { padding:10px; color:#6d7780; text-align:center; font-size:12px; }
.stage-strip span.complete { color:#fff; background:#237a55; }
.stage-strip span.current { color:#fff; background:#315f7d; }
.cargo-totals { display:flex; justify-content:flex-end; gap:20px; padding:10px 2px 0; color:var(--muted); font-size:12px; }
.status-badge.submitted { background:#fff5d8; color:#7c5b13; }
.status-badge.booking_in_progress { background:#edf6ff; color:#215f8a; }
.status-badge.booked { background:#e8f7ef; color:#176440; }
.shipping-dialog { width:min(1180px,96vw); }
.shipping-dialog .package-table input { min-width:100px; }
.prebooking-list-panel { padding:10px; }
.prebooking-list-tools { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-bottom:7px; }
.column-chooser { position:relative; }
.column-chooser summary { list-style:none; cursor:pointer; padding:6px 10px; }
.column-chooser summary::-webkit-details-marker { display:none; }
.column-chooser-menu { position:absolute; z-index:8; right:0; top:calc(100% + 5px); display:grid; grid-template-columns:repeat(2,minmax(120px,1fr)); gap:5px; width:290px; padding:10px; border:1px solid var(--border); border-radius:9px; background:var(--surface); box-shadow:var(--shadow-md); }
.column-chooser-menu label { display:flex; align-items:center; gap:6px; font-size:12px; }
.column-chooser-menu input { width:auto; }
.prebooking-table { table-layout:auto; width:max-content; min-width:100%; }
.prebooking-table th,.prebooking-table td { height:36px; max-width:130px; padding:6px 8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.25; }
.prebooking-table th[data-column="request"],.prebooking-table td[data-column="request"] { min-width:130px; }
.prebooking-table th[data-column="transport"],.prebooking-table td[data-column="transport"] { min-width:130px; }
.prebooking-table th[data-column="customer"],.prebooking-table td[data-column="customer"] { min-width:90px; max-width:105px; }
.prebooking-table th[data-column="mode"],.prebooking-table td[data-column="mode"] { max-width:85px; }
.booking-form-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px 12px; }
.booking-form-grid input,.booking-form-grid select { min-height:36px; padding:7px 9px; }
.booking-form-grid textarea { min-height:54px; padding:8px 9px; }
.container-composition { display:flex; align-items:end; flex-wrap:wrap; gap:10px; margin:0; padding:8px 10px 10px; border:1px solid var(--border); border-radius:8px; }
.container-composition legend { padding:0 5px; color:var(--muted); font-size:12px; }
.container-composition label { display:grid; grid-template-columns:auto 64px; align-items:center; gap:6px; }
.container-composition input { width:64px; min-width:0; }
.container-composition output { margin-left:auto; padding:8px 10px; border-radius:6px; color:var(--accent); background:var(--surface-subtle); font-weight:700; }
@media print { @page { size:A4 landscape; margin:10mm; } .shipping-workspace,.shipping-detail-panel { display:block!important; padding:0; max-height:none; overflow:visible; } .shipping-detail-panel { border:0; box-shadow:none; } }
@media (max-width:1050px) { .booking-flow { grid-template-columns:repeat(2,1fr); } .shipping-workspace { grid-template-columns:1fr; } .shipping-detail-panel { max-height:none; } }
@media (max-width:760px) { .booking-flow { grid-template-columns:1fr; } .shipping-detail-list { grid-template-columns:105px 1fr; } .stage-strip { grid-template-columns:1fr 1fr; } .booking-form-grid { grid-template-columns:1fr; } .booking-form-grid .full { grid-column:1; } }
