/* Date and time stay in the route card; only the active picker occupies the screen. */
.compact-schedule{gap:18px 24px}
.schedule-picker-button,.schedule-readout{display:flex;align-items:flex-start;gap:10px;min-width:0;text-align:left;padding:5px 0;background:transparent;color:#173c65;font:inherit;border:0;border-radius:9px}
.schedule-picker-button>svg,.schedule-readout>svg{width:19px;height:19px;flex:none;color:#147ac3;margin-top:1px}
.schedule-picker-button>span,.schedule-readout>span{min-width:0;flex:1}
.schedule-picker-button small,.schedule-readout small{display:block;color:#7387a0;font-size:11px;font-weight:400;margin-bottom:5px}
.schedule-picker-button strong,.schedule-readout strong{font-family:inherit;font-size:13px;font-weight:600;line-height:1.5}
.schedule-picker-button .schedule-field-chevron{width:15px;height:15px;margin:1px 0 0 auto}
.schedule-picker-button:disabled{cursor:default;opacity:.62}.schedule-picker-button:not(:disabled):hover{background:#f1f7fe}.schedule-picker-button:focus-visible{outline:3px solid #9cccf1;outline-offset:5px}
.selected-vessel{display:flex;flex-direction:column;gap:5px;margin-top:17px;padding:14px 16px;background:#f2f8ff;border-radius:12px;font-size:13px}.selected-vessel span{color:#7387a0;font-size:11px}.selected-vessel[hidden]{display:none!important}
.journey-picker{border:0;padding:0;border-radius:21px;width:calc(100% - 32px);max-width:420px;max-height:88dvh;background:#fff;color:#183c65;box-shadow:0 24px 90px #08203c45;font:inherit;overflow:hidden}
.journey-picker:not([open]){display:none!important}.journey-picker[open]{display:flex;flex-direction:column}.journey-picker::backdrop{background:#09264480}
body:has(.journey-picker[open]){overflow:hidden}
.picker-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 21px 18px;border-bottom:1px solid #e1ebf5;flex:none}.picker-heading{display:flex;align-items:center;gap:12px;min-width:0}.picker-heading>svg{flex:none;width:43px;height:43px;padding:11px;border-radius:12px;background:#eaf4ff;color:#0877c7}.picker-heading h2{font-family:inherit;font-size:18px;line-height:1.4;margin:0;color:#1a3c64}.picker-heading p{font-size:11px;color:#7489a1;line-height:1.5;margin:5px 0 0}.picker-close{width:32px;height:32px;font-size:26px;line-height:1;color:#6c8097;border:0;border-radius:8px;background:none;flex:none}.picker-close:hover{background:#edf5fd}
.picker-content{padding:18px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.date-picker .booking-calendar{max-width:none;border:0;padding:0;border-radius:0}.date-picker .calendar-heading select{font-family:inherit}.date-picker .calendar-day{font-family:inherit}.picker-footer{padding:5px 20px 18px;text-align:right;flex:none}.picker-footer button{color:#096cb3;font-weight:600;padding:9px 12px;border-radius:9px}.picker-footer button:hover{background:#edf6ff}
.time-picker{max-width:520px;max-height:82dvh}.picker-departures{display:grid;gap:11px;padding-bottom:24px}.departure-option{position:relative;border:1px solid #d8e5f3;border-radius:15px;padding:15px 46px 15px 16px;min-width:0;gap:5px}.departure-option.selected{padding:14px 45px 14px 15px;background:#eaf4ff;border:2px solid #267ec6}.departure-option .departure-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.departure-option .departure-top>span{display:flex;flex-direction:column;gap:4px}.departure-option .departure-top small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7387a0}.departure-option .departure-top strong{font-size:16px;font-family:inherit}.departure-option .departure-arrival strong{color:#0d6bb6}.departure-option .departure-vessel{font-size:11px;color:#7087a1}.departure-radio{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:17px;height:17px;border:2px solid #d3e3f3;border-radius:50%;background:white}.departure-option.selected .departure-radio{border-color:#1975bd;background:#1975bd;box-shadow:inset 0 0 0 3px white}
/* Shared upload cards retain the real file input and existing upload handlers. */
.document-upload-row,body .tf-doc-row.document-upload-row,body .tf-clearance-upload.document-upload-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:14px 15px;border:1px solid #deE9f4;border-radius:13px;background:#fff;position:relative;margin:0;text-align:left}
.document-upload-icon{display:grid;place-items:center;width:38px;height:38px;background:#eaf4ff;border-radius:11px;color:#086db7;align-self:start}.document-upload-icon svg{width:19px;height:19px;display:block}.document-upload-copy{min-width:0}.document-upload-title,body .tf-doc-row .document-upload-title{display:block!important;color:#1c3e65;font:inherit;font-size:13px;font-weight:600;line-height:1.5;margin:0!important;overflow-wrap:anywhere}
.document-upload-subtitle,body .tf-doc-row .document-upload-subtitle{display:block;color:#7a8ca3;font-size:11px;line-height:1.5;margin:3px 0 0!important}.document-upload-meta{display:block;color:#7a8ca3;font-size:10px;line-height:1.5;margin-top:3px}.document-upload-filename,body .tf-doc-row .document-upload-filename{display:block;max-width:100%;font-size:11px;color:#267145;line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere;word-break:break-word}.document-upload-filename:empty{display:none}
.document-upload-action,body .tf-doc-row .document-upload-action{display:inline-flex;align-items:center;justify-content:center;min-width:68px;min-height:40px;padding:8px 7px;border:0;border-radius:9px;color:#075da6;background:transparent;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;text-align:center}.document-upload-action:hover{background:#eaf4ff}.document-upload-action:focus-visible{outline:3px solid #9cccf1;outline-offset:2px}
input.document-file-input,body .tf-doc-row input.document-file-input,body .tf-clearance-upload input.document-file-input,.journey-card input.document-file-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap;left:12px;bottom:12px}
.document-upload-field{margin-top:5px}.document-upload-row:focus-within{border-color:#70a9d6}.document-upload-row.upload-invalid{border-color:#c86363;background:#fffafa}.document-upload-error{display:block;font-size:11px;color:#a13737;margin:5px 0 0;line-height:1.5}.document-upload-error:empty{display:none}
.tf-doc-list{gap:10px}.tf-clearance-upload.document-upload-row{margin:12px 0}.tf-clearance-upload.document-upload-row>.muted-sm{grid-column:2/-1;margin:0}.tf-clearance-upload.document-upload-row>[data-plant-upload]{grid-column:2/-1;justify-self:end;font-size:12px;min-height:34px}.tf-clearance-upload.document-upload-row>.document-upload-copy p{font-size:11px;line-height:1.6;margin:4px 0 0;color:#7a8ca3}.document-summary{min-width:0}.document-summary>div{min-width:0;overflow-wrap:anywhere}.document-summary>div:last-child{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
@media(max-width:650px){.compact-schedule{gap:18px 15px}.schedule-picker-button,.schedule-readout{gap:8px}.schedule-picker-button>svg,.schedule-readout>svg{width:17px;height:17px}.schedule-picker-button strong,.schedule-readout strong{font-size:12px}.schedule-picker-button small,.schedule-readout small{font-size:10px}.picker-header{padding:20px 17px 16px}.picker-heading{gap:10px}.picker-heading h2{font-size:17px}.picker-content{padding:17px}.time-picker{position:fixed;inset:auto 0 0;max-width:none;width:100%;margin:0;border-radius:23px 23px 0 0;max-height:82dvh}.time-picker .picker-header{padding-top:25px}.time-picker .picker-header::before{content:'';position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:4px;border-radius:4px;background:#b8c4d1}.picker-departures{padding-bottom:calc(23px + env(safe-area-inset-bottom,0px))}.departure-option .departure-top{gap:10px}.departure-option .departure-top strong{font-size:15px}.document-upload-row,body .tf-doc-row.document-upload-row,body .tf-clearance-upload.document-upload-row{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:12px}.document-upload-icon{width:34px;height:34px;border-radius:10px}.document-upload-title,body .tf-doc-row .document-upload-title{font-size:12px}.document-upload-action,body .tf-doc-row .document-upload-action{min-width:59px;font-size:12px;padding:8px 4px}.document-upload-subtitle,body .tf-doc-row .document-upload-subtitle{font-size:10px}.document-upload-meta{font-size:9px}.document-upload-filename{font-size:10px}.document-summary{gap:10px}}
