.freight-heading h1{font-size:38px;letter-spacing:-1px;margin:8px 0 10px}.freight-heading .eyebrow{font-size:10px;font-weight:700;color:var(--teal-dark);letter-spacing:1.8px}.freight-process{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0;padding:14px 18px;border-left:3px solid var(--teal);background:white;font-size:12px;color:var(--muted)}.freight-process b{font-weight:400;color:var(--teal)}.freight-process .current{background:var(--navy);color:white;padding:6px 9px}.freight-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.freight-history{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.freight-history input{width:17px;height:17px;accent-color:var(--teal)}.freight-table-wrap{max-width:100%;overflow-x:auto;background:white;border:1px solid var(--line)}.freight-table{width:100%;border-collapse:collapse;min-width:950px;font-size:14px}.freight-table th{text-align:left;background:#f9fbfb;padding:16px;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line)}.freight-table td{padding:18px 16px;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.8}.freight-table td strong,.freight-table td small{display:block;overflow-wrap:anywhere;max-width:270px}.freight-table td strong{font-size:15px;margin:5px 0;font-weight:600}.freight-table td small{font-size:12px;color:var(--muted)}.freight-table .table-link{font-weight:700}.freight-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;color:var(--muted);font-size:12px}.freight-pagination>div{display:flex;gap:8px}.freight-empty{padding:28px;background:white;border-top:3px solid var(--teal)}.freight-empty h2{font-size:28px;margin:0 0 12px}.freight-empty p{color:var(--muted)}.badge.freight-assigned,.badge.freight-pending{border-color:var(--teal);color:var(--teal-dark)}.badge.freight-shipped{background:#e2f1f2;border-color:var(--mint);color:var(--teal-dark)}.badge.freight-received{background:#edf4ee;color:#315c3a}.badge.freight-closed{background:var(--navy);color:white}.freight-form-section{border-bottom:1px solid var(--line);padding:0 0 24px;margin:0 0 24px}.freight-form-section h3{font-size:25px;font-weight:400;margin:0 0 16px}.freight-piece{padding:18px;border:1px solid var(--line);background:var(--paper);margin:14px 0}.freight-piece>header{display:flex;align-items:center;gap:10px;margin-bottom:16px}.freight-piece>header strong{margin-right:auto;font-size:16px}.freight-piece>header button{min-height:30px;padding:5px 10px;font-size:10px}.freight-piece-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.freight-piece-description{grid-column:span 3}.freight-piece-description textarea{min-height:65px}.freight-piece-grid>[data-piece-volume]{font-size:12px;font-weight:600;color:var(--teal-dark);grid-column:1/-1}.freight-charge{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;align-items:end;gap:12px;background:var(--paper);border:1px solid var(--line);padding:16px;margin:14px 0}.freight-charge>strong{grid-column:span 3;font-size:17px;color:var(--teal-dark)}.freight-charge>button{min-height:32px;padding:7px;font-size:10px}.freight-total-strip{margin:18px 0;padding:14px 18px;border-left:3px solid var(--teal);background:var(--navy);color:white;font-size:15px}.freight-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.freight-detail-top>div:first-child>strong{display:block;font-size:18px;font-weight:600;margin:12px 0}.freight-detail-top p{color:var(--muted)}.freight-quote-total{text-align:right;font-size:29px;font-weight:600;color:var(--teal-dark)}.freight-quote-total small{display:block;color:var(--muted);font-size:12px;font-weight:400}.freight-case-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0}.freight-lock-note{border-left:3px solid var(--teal);background:var(--paper);padding:14px 18px;color:var(--muted);font-size:14px}.freight-read-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.freight-read-grid div{min-width:0}.freight-read-grid dt{font-size:11px;color:var(--muted);margin-bottom:5px}.freight-read-grid dd{margin:0;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.freight-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.freight-piece-read{display:grid;grid-template-columns:1fr 1fr;gap:14px}.freight-piece-read>article{padding:18px;border:1px solid var(--line);background:var(--paper)}.freight-piece-read header{display:flex;align-items:center;justify-content:space-between;gap:12px}.freight-piece-read p{white-space:pre-wrap;overflow-wrap:anywhere}.freight-piece-read small{color:var(--muted);font-size:12px}.freight-piece-photos{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.freight-photo{display:block}.freight-photo img{width:150px;height:110px;object-fit:contain;background:#edf1f2;border:1px solid var(--line)}.freight-charges-read>article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.freight-charges-read small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.freight-charges-final{display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white;padding:17px 20px;margin-top:16px}.freight-attachments{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.freight-attachments article{min-width:0;padding:16px;background:var(--paper);border:1px solid var(--line);overflow-wrap:anywhere}.freight-attachments article>a:not(.freight-photo){display:block;margin:7px 0;font-size:14px}.freight-attachments small{display:block;font-size:11px;color:var(--muted)}.freight-attachments button{min-height:30px;margin-top:10px;font-size:10px;padding:5px 8px}.freight-dropzone{display:grid;place-items:center;gap:8px;min-height:150px;padding:22px;background:var(--paper);border:1px dashed var(--teal);text-align:center}.freight-dropzone>strong{font-size:17px;color:var(--teal-dark)}.freight-dropzone>span{font-size:12px;color:var(--muted)}.freight-dropzone.dragging{border-style:solid;background:#e3f3f2}.freight-dropzone input{width:100%;max-width:360px;background:white;font-size:12px}.freight-audit article{padding:14px 0;border-bottom:1px solid var(--line)}.freight-audit article>span,.freight-audit article>small{display:block;font-size:11px;color:var(--muted)}.freight-audit article>strong{display:block;font-size:14px;font-weight:600;margin:5px 0}.freight-audit details{margin-top:9px;font-size:12px}.freight-audit summary{color:var(--teal-dark);cursor:pointer}.freight-audit pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:var(--paper);padding:12px;font-size:11px}#freight-upload-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--paper);padding:8px 12px;font-size:13px;margin-top:7px;overflow-wrap:anywhere}#freight-upload-list button{min-height:28px;padding:0 8px;border:0;font-size:22px}#freight-status-form,#freight-retire-form{display:grid;gap:18px}
@media(max-width:1100px){.freight-filters{grid-template-columns:1fr 1fr}.freight-charge{grid-template-columns:1fr 1fr}.freight-charge>strong{grid-column:auto}}
@media(max-width:540px){.freight-heading h1{font-size:32px}.freight-filters{grid-template-columns:1fr}.freight-process{gap:7px;padding:14px 12px;font-size:11px}.freight-piece-grid{grid-template-columns:1fr 1fr}.freight-piece-description{grid-column:1/-1}.freight-piece{padding:14px}.freight-charge{grid-template-columns:1fr 1fr;padding:14px}.freight-charge>.field:first-child{grid-column:1/-1}.freight-read-grid,.freight-piece-read,.freight-attachments{grid-template-columns:1fr}.freight-detail-top{flex-direction:column;gap:10px}.freight-quote-total{text-align:left}.freight-pagination{flex-direction:column;align-items:flex-start}.freight-case-actions button{font-size:10px;flex:1}.freight-charges-final{font-size:14px;padding:14px}.freight-form-section h3{font-size:23px}}
.freight-fx{margin-top:18px;padding:20px;border:1px solid var(--line);border-top:3px solid var(--teal);background:var(--paper)}.freight-fx-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.freight-fx-heading h4{margin:0;font-size:20px;font-weight:600}.freight-fx-heading button{font-size:11px;padding:7px 10px;min-height:32px}.freight-fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.freight-fx-card{padding:14px 16px;background:#fff;border:1px solid var(--line);overflow-wrap:anywhere}.freight-fx-card.is-quoted{border-color:var(--teal)}.freight-fx-card>span{display:block;font-size:12px;color:var(--muted);letter-spacing:.04em}.freight-fx-card>strong{display:block;margin-top:7px;font-size:24px;font-weight:600;color:var(--ink)}.freight-fx-source{font-size:12px;color:var(--muted);margin:14px 0 7px}.freight-fx-source a{color:var(--teal-dark)}.freight-fx>.mini-note{margin:0}.freight-fx-compact{max-width:260px;white-space:normal;color:var(--teal-dark)!important;line-height:1.5;margin-top:5px}.freight-fx-date{font-size:10px!important}@media(max-width:540px){.freight-fx{padding:15px}.freight-fx-grid{grid-template-columns:1fr}.freight-fx-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.freight-fx-card>strong{margin-top:0;font-size:22px}.freight-fx-heading{flex-wrap:wrap}}

.freight-row-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.freight-row-actions button{font-size:10px;padding:6px 9px;min-height:30px;white-space:normal}.freight-row-actions .primary{font-weight:700}
.freight-view-link{display:inline-flex;align-items:center;gap:8px;justify-content:center;min-height:30px;padding:6px 9px;border:1px solid var(--line);background:white;color:var(--ink);font-size:10px;font-weight:700;letter-spacing:.07em;text-decoration:none;text-transform:uppercase;line-height:1.5}.freight-view-link:hover{border-color:var(--teal);color:var(--teal-dark)}.freight-view-link:focus-visible,.freight-gallery-arrow:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.freight-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.freight-page-header h1{margin:14px 0 4px;font-size:36px;font-weight:400}.freight-page-header p{margin:0;color:var(--muted);overflow-wrap:anywhere}.freight-page-header>a,.freight-page-header a{font-size:13px;color:var(--teal-dark)}.freight-detail-body{padding:24px;background:white;border-top:3px solid var(--teal);min-width:0}.freight-summary{margin-bottom:22px}.freight-summary h3{margin:0 0 12px;font-size:25px;font-weight:400}.freight-summary table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.freight-summary th,.freight-summary td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top;overflow-wrap:anywhere;line-height:1.55}.freight-summary th{width:17%;font-weight:600;background:var(--paper);color:var(--muted);font-size:12px}.freight-summary td{width:33%}.freight-summary small{display:block;color:var(--muted);font-size:11px}.freight-detail-page .freight-detail-top{margin-bottom:14px}.freight-detail-page .detail-section{padding-top:20px}
.freight-attachments{grid-template-columns:repeat(auto-fill,minmax(164px,1fr));gap:10px;margin:14px 0}.freight-attachments article{padding:10px;display:flex;flex-direction:column;align-items:stretch}.freight-attachments .freight-photo{width:100%;margin:0;min-height:0;line-height:0}.freight-attachments .freight-photo img{width:100%;height:126px;object-fit:contain}.freight-attachments .freight-file-name{font-size:12px;line-height:1.45;margin:8px 0 6px}.freight-attachments small{font-size:10px;line-height:1.5}.freight-attachments [data-retire-file]{align-self:flex-start;margin-top:auto;min-height:28px;padding:5px 7px;font-size:9px}.freight-attachments article:has([data-retire-file]) small{margin-bottom:10px}
.freight-image-navigation{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;background:#04141e}.freight-image-navigation .freight-image-stage{min-width:0}.freight-gallery-arrow{display:flex;align-items:center;justify-content:center;color:white;background:transparent;border:0;padding:0;font-size:58px;line-height:1;min-width:0;cursor:pointer}.freight-gallery-arrow:hover{background:#173641}.freight-gallery-arrow:disabled{opacity:.25;cursor:default}
@media(min-width:1600px){.freight-detail-page .freight-attachments{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
@media(max-width:640px){.freight-detail-body{padding:15px}.freight-page-header{flex-wrap:wrap}.freight-summary table,.freight-summary tbody{display:block}.freight-summary tr{display:grid;grid-template-columns:minmax(95px,34%) minmax(0,1fr)}.freight-summary th,.freight-summary td{display:block;width:auto;margin:-1px -1px 0 0;padding:9px;font-size:12px}.freight-summary th{font-size:11px}.freight-attachments{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.freight-attachments article{padding:8px}.freight-attachments .freight-photo img{height:115px}.freight-image-navigation{grid-template-columns:34px minmax(0,1fr) 34px}.freight-gallery-arrow{font-size:40px}}
.freight-attachments .freight-file-name{display:block;text-align:left;border:0;background:none;padding:0;min-height:0;font-size:12px;font-weight:600;color:var(--teal-dark);text-transform:none;letter-spacing:0;text-decoration:underline;margin:8px 0;overflow-wrap:anywhere}.freight-photo{padding:0!important;cursor:zoom-in;overflow:hidden}.freight-image-viewer{width:min(1280px,calc(100vw - 24px));max-height:96vh;background:var(--navy);color:white;padding:0}.freight-image-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;background:var(--navy);border-top:3px solid var(--teal)}.freight-image-header h2{font-size:21px;font-weight:400;overflow-wrap:anywhere;margin:0}.freight-image-header p{color:#b6cdd2;font-size:12px;margin:4px 0 0}.freight-image-header>div:last-child{display:flex;gap:12px;flex-shrink:0}.freight-image-header button{color:white;border:1px solid #638087;background:transparent;min-height:36px;padding:7px 12px;font-size:12px}.freight-image-header [data-image-close]{font-size:25px;line-height:1;padding:2px 10px}.freight-image-stage{height:min(78vh,900px);overflow:auto;display:flex;align-items:center;justify-content:center;padding:12px;background:#04141e}.freight-image-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.freight-image-stage img[hidden]{display:none}.freight-image-error{padding:35px;color:#d2e0e5}.freight-image-viewer.actual-size .freight-image-stage{display:block}.freight-image-viewer.actual-size img{max-width:none;max-height:none;margin:auto}.freight-image-stage [hidden]{display:none}@media(max-width:540px){.freight-image-header{padding:12px;gap:10px;align-items:flex-start}.freight-image-header h2{font-size:17px}.freight-image-header>div:last-child{gap:6px}.freight-image-header button{font-size:10px;padding:7px}.freight-image-stage{height:72vh;padding:5px}}
.shell:has(.freight-detail-page){grid-template-columns:minmax(0,1fr)}.shell:has(.freight-detail-page)>.sidebar{display:none}.shell:has(.freight-detail-page) .workspace-content{max-width:1500px;margin:0 auto}.shell:has(.freight-detail-page) .hub-brand{display:block}.shell:has(.freight-detail-page) .workspace-heading>h1,.shell:has(.freight-detail-page) .workspace-heading>p{display:none}.freight-upload-panel{margin-top:18px;border:1px solid var(--line);padding:12px 15px}.freight-upload-panel>summary{cursor:pointer;color:var(--teal-dark);font-size:13px;font-weight:600}.freight-upload-panel[open]>summary{margin-bottom:18px}
.freight-editor-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line)}.freight-editor-shortcuts button{font-size:11px;padding:8px 10px;min-height:34px;color:var(--teal-dark)}.freight-form-section{scroll-margin-top:20px}
/* Camera EXIF is honoured; manual rotation is display metadata, never a rewrite of evidence. */
.freight-photo img,.freight-image-stage img,.freight-upload-preview img{image-orientation:from-image}.freight-attachments .freight-photo{height:126px;display:grid;place-items:center}.freight-thumb-square{display:block;width:126px;max-width:100%;aspect-ratio:1;overflow:hidden}.freight-attachments .freight-thumb-square img,.freight-piece-photos .freight-thumb-square img{width:100%;height:100%;object-fit:contain;transform:rotate(var(--freight-rotation,0deg))}.freight-rotated-canvas{position:relative;flex-shrink:0;margin:auto}.freight-image-stage .freight-rotated-canvas img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;margin:0;object-fit:contain}.freight-image-header>div:last-child{flex-wrap:wrap}.freight-orientation-error{margin:0;padding:10px 20px;background:#422b32;font-size:13px;color:white}.freight-orientation-error[hidden]{display:none}.freight-upload-row>div:nth-last-child(2){flex:1;min-width:0}.freight-upload-preview{width:90px;height:90px;flex-shrink:0;overflow:hidden;background:#e5ebed;display:grid;place-items:center}.freight-upload-preview img{width:100%;height:100%;object-fit:contain}.freight-upload-orientation{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}.freight-upload-orientation small{color:var(--muted);font-size:11px}.freight-upload-orientation button{font-size:12px!important;min-height:30px!important;padding:4px 8px!important;border:1px solid var(--line)!important;background:white!important}.freight-upload-orientation+p{margin:0}@media(max-width:540px){.freight-image-header{flex-wrap:wrap}.freight-image-header>div:last-child{gap:5px}.freight-upload-preview{width:66px;height:66px}}

.freight-readiness{border:1px solid var(--line);border-left:3px solid var(--teal);padding:16px 18px;background:var(--paper)}.freight-readiness>strong{font-size:16px;color:var(--teal-dark)}.freight-readiness ul{padding-left:20px;margin:12px 0;line-height:1.7;overflow-wrap:anywhere}.freight-readiness p{margin:12px 0 0}.freight-readiness-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.freight-readiness-actions button{font-size:11px;padding:8px 10px;min-height:34px}
