
.fleet-data-section { background:var(--fleet-canvas); padding:22px 24px 28px; min-width:0; }
.fleet-data-section>.section-title,.fleet-data-section>.fleet-section-heading>.section-title { padding:0; color:var(--fleet-ink); font-size:22px; font-weight:600; line-height:1.4; margin:0 0 6px; }
.fleet-section-heading { margin-bottom:18px; }
.fleet-section-heading>p { color:var(--fleet-secondary); margin:0; font-size:13px; line-height:1.6; }
.fleet-table { width:100%; margin:16px 0 0; background:var(--fleet-surface); color:var(--fleet-ink); border:1px solid var(--fleet-line); border-radius:8px; box-sizing:border-box; box-shadow:0 2px 5px rgba(25,35,45,.04); overflow:hidden; }
.fleet-table-tools,.fleet-table-pager,.fleet-gallery-controls { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.fleet-table-tools { padding:14px 16px; background:var(--fleet-surface); border-bottom:1px solid var(--fleet-line); }
.fleet-table>.fleet-table-tools>[data-table-status] { flex:1; margin:0; }
.fleet-table .fleet-table-options-toggle { display:inline-flex; align-items:center; gap:10px; white-space:nowrap; }
.fleet-table-options-toggle[aria-expanded="true"]>.fleet-chevron { transform:rotate(45deg); }
.fleet-table-options { display:flex; flex:1 1 100%; flex-wrap:wrap; align-items:center; gap:14px; min-width:0; padding-top:14px; border-top:1px solid var(--fleet-line); }
.fleet-table .fleet-table-tools .fleet-result-filter { display:flex; flex:1 1 100%; gap:10px; flex-wrap:wrap; margin:0; color:var(--fleet-secondary); font-size:12px; font-weight:600; }
.fleet-table .fleet-result-filter .form-select { width:180px; max-width:100%; }
.fleet-table .fleet-result-filter input[data-table-search] { flex:1 1 220px; width:280px; max-width:420px; }
.fleet-table-option-actions { display:flex; flex:1 1 100%; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
.fleet-table-option-actions .fleet-group-tools { margin:0; }
.fleet-table .fleet-clear-results { color:var(--fleet-link); }
.fleet-table-pager>.fleet-page-size { display:flex; align-items:center; gap:8px; margin:0 0 0 auto; color:var(--fleet-secondary); }
.fleet-table .fleet-page-size select { width:auto; min-width:66px; height:34px; margin:0; }
.fleet-table .fleet-export-scope,.fleet-table .fleet-view-notice { margin:0; }
.fleet-table .fleet-view-notice:empty { display:none; }
.fleet-table-tools>label { display:flex; gap:10px; align-items:center; margin:0; font-size:12px; font-weight:600; color:var(--fleet-secondary); }
.fleet-table input[data-table-search] { width:240px; max-width:100%; height:34px; margin:0; padding:7px 10px; border:1px solid var(--fleet-line); border-radius:5px; background:var(--fleet-surface); color:var(--fleet-ink); font-size:12px; box-sizing:border-box; }
.fleet-table [data-table-status] { margin-left:auto; font-size:12px; color:var(--fleet-secondary); white-space:nowrap; }
.fleet-group-tools { display:flex; gap:6px; margin-left:8px; }
.fleet-table button { font:inherit; cursor:pointer; }
.fleet-table-pager button,.fleet-group-tools button,.fleet-table-empty button { padding:7px 10px; border:1px solid var(--fleet-line); border-radius:5px; background:var(--fleet-surface); color:var(--fleet-ink); font-size:12px; line-height:1.4; }
.fleet-table-pager button:hover:not(:disabled),.fleet-group-tools button:hover:not(:disabled),.fleet-table-empty button:hover { border-color:var(--fleet-line-strong); background:var(--fleet-hover); }
.fleet-table button:disabled { color:var(--fleet-secondary); background:var(--fleet-canvas); border-color:var(--fleet-line); cursor:default; }
.fleet-table button:focus-visible,.fleet-table input:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:2px; }
.fleet-table-scroll { overflow:auto; max-width:100%; }
.fleet-table-scroll table.dataTable { border-collapse:separate; border-spacing:0; width:100%; font-size:12px; }
.fleet-table-scroll table.dataTable>thead>tr>th,.fleet-table-scroll table.dataTable>tbody>tr>td { padding:11px 12px; border:0; border-bottom:1px solid var(--fleet-line); vertical-align:middle; text-align:left; }
.fleet-table-scroll table.dataTable>thead>tr>th { background:var(--fleet-soft); color:var(--fleet-secondary); font-size:11px; font-weight:600; white-space:nowrap; }
.fleet-table th button { display:inline-flex; align-items:center; gap:7px; padding:2px 0; background:none; border:0; color:inherit; font-weight:600; text-align:left; }
.fleet-table th button::after { content:""; width:4px; height:4px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(135deg); opacity:.35; margin:0 3px; }
.fleet-table th[aria-sort="ascending"] button::after { transform:rotate(-45deg); opacity:1; }
.fleet-table th[aria-sort="descending"] button::after { opacity:1; }
.fleet-table [data-table-row] { background:var(--fleet-surface); }
.fleet-table [data-table-row][data-detail-url] { cursor:pointer; }
.fleet-table [data-table-row]:hover { background:var(--fleet-hover); }
.fleet-table [data-table-row]:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:-2px; }
.fleet-table [data-table-row].is-selected { background:var(--fleet-soft); box-shadow:inset 3px 0 var(--fleet-accent); }
.fleet-table [data-table-row].is-complete { background:var(--fleet-complete-bg); color:var(--fleet-complete-ink); }
.fleet-table [data-table-row].is-complete:hover { background:var(--fleet-complete-bg); }
.fleet-table .has-notes>td:first-of-type { border-left:3px solid #c39535; }
.fleet-table [data-table-expand] { display:inline-flex; align-items:center; gap:8px; padding:7px 9px; min-width:83px; background:var(--fleet-surface); border:1px solid var(--fleet-line); border-radius:5px; color:var(--fleet-secondary); font-size:12px; white-space:nowrap; }
.fleet-table [data-table-expand]:hover { background:var(--fleet-soft); border-color:var(--fleet-line-strong); }
.fleet-table [data-table-expand][aria-expanded="true"] { background:var(--fleet-soft); border-color:var(--fleet-line-strong); }
.fleet-chevron { display:inline-block; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); flex-shrink:0; margin-right:2px; transition:transform .12s; }
[aria-expanded="true"]>.fleet-chevron { transform:rotate(45deg); }
.fleet-table-scroll table.dataTable>tbody>.fleet-group>td { padding:10px 14px; background:var(--fleet-soft); border-bottom:1px solid var(--fleet-line); }
.fleet-group button { display:inline-flex; gap:10px; align-items:center; background:none; border:0; padding:4px 2px; font-weight:600; color:var(--fleet-ink); }
.fleet-group-count { display:inline-block; margin-left:14px; padding:3px 8px; border-radius:12px; background:var(--fleet-surface); color:var(--fleet-secondary); font-size:11px; }
.fleet-table-scroll table.dataTable>tbody>.fleet-detail>td { padding:18px; background:var(--fleet-hover); border-bottom:1px solid var(--fleet-line); vertical-align:top; }
.fleet-detail .fleet-data-section { padding:0; }
.fleet-detail .fleet-table { box-shadow:none; margin-top:12px; }
.fleet-table-pager { padding:12px 16px; font-size:12px; background:var(--fleet-surface); }
.fleet-table-pager [data-table-page] { margin:0 6px; color:var(--fleet-secondary); }
.fleet-table-empty { text-align:center; padding:48px 24px; background:var(--fleet-surface); color:var(--fleet-secondary); }
.fleet-table-empty strong { display:block; font-size:18px; font-weight:600; color:var(--fleet-ink); margin-bottom:10px; }
.fleet-table-empty p { font-size:13px; line-height:1.7; max-width:530px; margin:0 auto 14px; }
.fleet-link { border:0; background:none; padding:0; color:var(--fleet-link); text-decoration:underline; text-underline-offset:3px; cursor:pointer; font:inherit; }
@media (max-width:700px) {
.fleet-data-section { padding:16px 12px; }
.fleet-table-tools { gap:12px; padding:12px; }
.fleet-table-tools>label { width:100%; }
.fleet-table .fleet-table-tools .fleet-result-filter { width:100%; }
.fleet-table .fleet-result-filter input[data-table-search] { flex-basis:100%; width:100%; max-width:none; }
.fleet-table>.fleet-table-tools>[data-table-status] { flex-basis:100%; }
.fleet-table .fleet-table-options-toggle { margin-left:auto; }
.fleet-table input[data-table-search] { width:100%; min-width:0; }
.fleet-group-tools { margin-left:0; }
.fleet-table-scroll table.dataTable>tbody>.fleet-detail>td { padding:10px; }
}
.fleet-gallery { width:100%; max-width:650px; margin:auto; }
.fleet-gallery [data-gallery-slide] { display:block; text-align:center; }
.fleet-gallery [data-gallery-slide][hidden],.fleet-ui [hidden],.fleet-table [hidden] { display:none!important; }
.fleet-gallery img { max-width:100%; width:auto; height:350px; object-fit:contain; }
.fleet-gallery-compact { width:250px; max-width:100%; }
.fleet-gallery-compact img { height:220px; }
.fleet-gallery-controls { justify-content:center; }
.fleet-tabs>[role="tablist"] { display:flex; gap:2px; overflow-x:auto; border-bottom:1px solid #aaa; }
.fleet-tabs [role="tab"] { padding:.7rem 1rem; background:#555; color:white; border:0; white-space:nowrap; cursor:pointer; }
.fleet-tabs [role="tab"][aria-selected="true"] { background:#eee; color:#222; }
.fleet-tabs>[role="tabpanel"] { padding:1rem 0; }
.fleet-tabs>[role="tabpanel"][hidden] { display:none; }
.fleet-form { display:grid; gap:.75rem; padding:1rem; max-width:600px; }
.fleet-form label { display:grid; gap:.25rem; }
.fleet-form input,.fleet-form textarea { font:inherit; padding:.5rem; }
.fleet-error { color:#a00000; }
.fleet-domain-actions { display:flex; gap:.75rem; }
.fleet-receipt { container:receipt / inline-size; max-width:1020px; min-width:0; margin:0 auto; color:#252724; background:#fff; color-scheme:light; font:13px/1.5 "Segoe UI",Arial,sans-serif; }
.fleet-receipt-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 0 16px; background:var(--fleet-surface); color:var(--fleet-secondary); font-size:12px; }
.fleet-receipt-toolbar button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:8px 12px; border:1px solid var(--fleet-strong); border-radius:4px; background:var(--fleet-strong); color:var(--fleet-on-strong); font:600 12px/1.4 "Segoe UI",Arial,sans-serif; cursor:pointer; }
.fleet-receipt-toolbar button:hover:not(:disabled) { background:var(--fleet-strong-hover); }
.fleet-receipt-toolbar button:disabled { opacity:.6; cursor:wait; }
.fleet-receipt-toolbar button:focus-visible,.fleet-receipt-table-scroll:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:3px; }
.fleet-receipt-document { padding:32px 36px 20px; border:1px solid #dcded8; border-top:3px solid #343b32; background:#fff; box-shadow:0 3px 12px #17201508; }
.fleet-receipt-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:24px; }
.fleet-receipt-eyebrow { margin:0 0 7px; color:#596153; font-size:10px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; }
.fleet-receipt h2 { margin:0; color:#252724; font-size:30px; font-weight:650; line-height:1.2; letter-spacing:-.8px; }
.fleet-receipt-document-id { display:grid; gap:3px; text-align:right; }
.fleet-receipt-document-id span { color:#687064; font-size:10px; text-transform:uppercase; letter-spacing:.7px; }
.fleet-receipt-document-id strong { color:#252724; font-size:21px; font-weight:650; font-variant-numeric:tabular-nums; }
.fleet-receipt dl { margin:0; }
.fleet-receipt dt { margin:0 0 4px; color:#687064; font-size:10px; font-weight:500; }
.fleet-receipt dd { margin:0; color:#252724; font-size:12px; font-weight:600; overflow-wrap:anywhere; }
.fleet-receipt-reference-row { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:18px; padding:14px 16px; border-top:1px solid #dcded8; border-bottom:1px solid #dcded8; background:#f4f5f1; }
.fleet-receipt-reference-row dt { text-transform:uppercase; letter-spacing:.6px; }
.fleet-receipt-parties { display:grid; grid-template-columns:1fr 1fr; gap:32px; padding:24px 0; }
.fleet-receipt h3 { margin:0; color:#596153; font-size:10px; font-weight:700; line-height:1.5; letter-spacing:1px; text-transform:uppercase; }
.fleet-receipt address { display:grid; gap:2px; margin:8px 0 0; font-style:normal; font-size:12px; overflow-wrap:anywhere; }
.fleet-receipt address strong { color:#252724; font-size:14px; font-weight:600; }
.fleet-receipt-contact { display:flex; flex-wrap:wrap; gap:2px 14px; margin-top:8px; color:#596153; font-size:11px; overflow-wrap:anywhere; }
.fleet-receipt-section { margin-top:22px; }
.fleet-receipt-parties+.fleet-receipt-section { margin-top:0; }
.fleet-receipt-section-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 14px; margin-bottom:10px; }
.fleet-receipt-section-heading>span { color:#687064; font-size:10px; }
.fleet-receipt-table-scroll { width:100%; min-width:0; overflow:auto; }
.fleet-receipt table { width:100%; border-collapse:collapse; margin:0; color:#252724; font-size:11px; }
.fleet-receipt th,.fleet-receipt td { padding:10px 12px; border:0; border-bottom:1px solid #dcded8; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.fleet-receipt th { background:#f4f5f1; color:#596153; font-size:10px; font-weight:600; border-top:1px solid #dcded8; }
.fleet-receipt td strong { font-weight:600; }
.fleet-receipt-item-sku,.fleet-receipt-event-time { display:block; color:#687064; margin-top:3px; font-size:10px; }
.fleet-receipt .fleet-receipt-quantity { text-align:right; font-variant-numeric:tabular-nums; width:45px; }
.fleet-receipt-items th:nth-child(1) { width:20%; }
.fleet-receipt-items th:nth-child(2) { width:30%; }
.fleet-receipt-events th:first-child { width:140px; }
.fleet-receipt-events th:nth-child(2) { width:25%; }
.fleet-receipt-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 24px; padding:14px 16px; background:#f8f9f6; border:1px solid #e4e6df; }
.fleet-receipt-fields dd { font-weight:400; }
.fleet-receipt-signature { break-inside:avoid; }
.fleet-receipt-signature-content { display:flex; align-items:center; min-height:110px; padding:14px 18px; border:1px solid #dcded8; border-bottom:2px solid #a5ad9f; background:#fff; }
.fleet-receipt-signature-content img { display:block; max-width:100%; width:auto; height:auto; max-height:150px; object-fit:contain; object-position:left center; }
.fleet-receipt-signature-content [hidden] { display:none!important; }
.fleet-receipt-empty { margin:0; color:#687064; font-size:12px; line-height:1.6; }
.fleet-receipt-footer { display:flex; justify-content:space-between; gap:16px; margin-top:28px; padding-top:12px; border-top:1px solid #dcded8; color:#687064; font-size:9px; letter-spacing:.3px; }
.fleet-receipt tr { break-inside:avoid; }
#fleet-print-area { display:none; }
@container receipt (max-width:600px) {
    .fleet-receipt-toolbar { flex-wrap:wrap; }
    .fleet-receipt-document { padding:20px 16px 16px; }
    .fleet-receipt-heading { flex-wrap:wrap; gap:16px; padding-bottom:18px; }
    .fleet-receipt h2 { font-size:26px; }
    .fleet-receipt-document-id { text-align:left; }
    .fleet-receipt-reference-row { grid-template-columns:1fr 1fr; gap:14px; padding:12px; }
    .fleet-receipt-parties { grid-template-columns:1fr; gap:20px; padding:20px 0; }
    .fleet-receipt-fields { grid-template-columns:1fr; }
    .fleet-receipt table { min-width:540px; }
}
@page fleet-receipt { margin:12mm; }
@media print {
    body.fleet-print-receipt>* { display:none!important; }
    body.fleet-print-receipt>#fleet-print-area { display:block!important; }
    .fleet-receipt { page:fleet-receipt; container:none; max-width:none; width:100%; color:#252724!important; background:#fff!important; font-size:10pt; }
    .fleet-receipt-toolbar { display:none!important; }
    .fleet-receipt-document { padding:0; border:0; box-shadow:none; }
    .fleet-receipt-heading { break-after:avoid; }
    .fleet-receipt-reference-row { grid-template-columns:1.2fr 1fr 1fr; }
    .fleet-receipt-parties { grid-template-columns:1fr 1fr; break-inside:avoid; }
    .fleet-receipt-fields { grid-template-columns:1fr 1fr; }
    .fleet-receipt-section-heading { break-after:avoid; }
    .fleet-receipt-table-scroll { overflow:visible; }
    .fleet-receipt table { min-width:0; table-layout:fixed; }
    .fleet-receipt thead { display:table-header-group; }
    .fleet-receipt th,.fleet-receipt td { padding:7px 8px; }
    .fleet-receipt-signature-content { min-height:100px; }
    .fleet-receipt-signature-content img { max-height:120px; }
    .fleet-receipt-footer { break-inside:avoid; }
}
:root { --fleet-ink:#292925; --fleet-secondary:#63665b; --fleet-canvas:#f5f4f1; --fleet-line:#deded8; --fleet-accent:#626b55; }
html { background:var(--fleet-canvas); }
body { color:var(--fleet-ink); font-family:"Segoe UI",Arial,sans-serif; }
.wrapper,.content,#main-area,.fleet-data-section { min-width:0; max-width:100%; box-sizing:border-box; }
.fleet-brand { display:flex; align-items:center; }
.fleet-eyebrow { margin:0 0 5px; color:var(--fleet-secondary); font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; line-height:1.6; }
.banner-text { color:var(--fleet-ink); font-size:32px; line-height:1.1; font-weight:500; letter-spacing:-1.2px; }
#ribbon { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:12px 24px; border:0; border-bottom:1px solid var(--fleet-line); background:var(--fleet-surface); }
#ribbon .ribbon-item { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:0 0 104px; width:104px; min-height:68px; gap:6px; padding:9px 4px; margin:0; border:1px solid transparent; border-radius:7px; background:transparent; font-family:inherit; color:var(--fleet-secondary); box-sizing:border-box; }
#ribbon .ribbon-item p { margin:0; font-size:11px; line-height:1.3; }
#ribbon .ribbon-item:hover { padding:9px 4px; background:var(--fleet-hover); border-color:var(--fleet-line); }
#ribbon .ribbon-item.is-active { background:var(--fleet-soft); border-color:var(--fleet-line); color:var(--fleet-ink); }
.fleet-icon { display:block; width:24px; height:24px; flex-shrink:0; }
#ribbon .ribbon-item img { width:24px; height:24px; }
#ribbon .ribbon-section { border:0; margin:0; padding:0; min-width:0; }
#ribbon .ribbon-section:has(form) { flex:1 1 100%; padding-top:14px; margin-top:4px; border-top:1px solid var(--fleet-line); }
#ribbon form .flex { align-items:center; gap:8px; flex-wrap:wrap; }
#ribbon form .flex>div { min-width:0; }
#ribbon form .flex .flex { margin:0 0 8px; }
#ribbon input[type=text],#ribbon input[type=date],#ribbon select { height:36px; padding:7px 10px; margin:0; max-width:100%; border:1px solid var(--fleet-line); border-radius:6px; font:12px "Segoe UI",Arial,sans-serif!important; background:var(--fleet-surface); }
#ribbon form .ribbon-item { flex:0 0 86px; width:86px; min-height:44px; flex-direction:row; background:var(--fleet-strong); color:var(--fleet-on-strong); padding:9px; align-self:center; }
#ribbon form .ribbon-item:hover { background:#45463f; padding:9px; }
#ribbon form .ribbon-item:disabled { opacity:.45; cursor:default; }
#ribbon form label { font-size:12px; color:var(--fleet-secondary); }
.fleet-table-scroll table.dataTable { table-layout:fixed; }
.fleet-table-scroll table.dataTable>thead>tr>th { white-space:normal; }
.fleet-table th button { max-width:100%; }
.fleet-table-scroll table.dataTable>tbody>[data-table-row]>td { overflow-wrap:anywhere; }
.fleet-detail-content { width:min(100%,calc(100cqw - 36px)); position:sticky; left:18px; min-width:0; max-width:100%; contain:inline-size; box-sizing:border-box; }
.fleet-detail-content>.fleet-table,.fleet-detail-content>.fleet-data-section,.fleet-tabs,[role=tabpanel] { min-width:0; max-width:100%; box-sizing:border-box; }
.fleet-detail-content { overflow:auto; }
.fleet-route-extra { min-width:0; margin-top:12px; border:1px solid var(--fleet-line); border-radius:8px; background:var(--fleet-surface); }
.fleet-route-extra>summary { padding:12px 16px; color:var(--fleet-secondary); font-size:13px; font-weight:600; cursor:pointer; }
.fleet-route-extra>summary:hover { color:var(--fleet-ink); background:var(--fleet-soft); border-radius:8px; }
.fleet-route-extra>summary:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:2px; }
.fleet-route-extra>.fleet-table { margin:0; border:0; border-top:1px solid var(--fleet-line); border-radius:0 0 8px 8px; }
.fleet-tabs>[role=tablist] { border-color:var(--fleet-line); gap:4px; padding-bottom:1px; }
.fleet-tabs [role=tab] { padding:10px 14px; background:transparent; color:var(--fleet-secondary); font:12px "Segoe UI",Arial,sans-serif; border-radius:6px 6px 0 0; border-bottom:2px solid transparent; }
.fleet-tabs [role=tab][aria-selected=true] { background:var(--fleet-surface); color:var(--fleet-ink); border-bottom-color:var(--fleet-accent); }
.fleet-tabs [role=tab]:hover { background:var(--fleet-soft); }
.fleet-message-button { position:relative; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; padding:8px; border:1px solid var(--fleet-line); border-radius:8px; background:var(--fleet-surface); color:var(--fleet-secondary); cursor:pointer; text-decoration:none; box-sizing:border-box; }
.fleet-message-button:hover { background:var(--fleet-soft); border-color:var(--fleet-line-strong); }
.fleet-message-button[data-unread=true] { color:var(--fleet-link); background:var(--fleet-selected); border-color:var(--fleet-accent-line); }
.fleet-message-dot { display:none; position:absolute; top:4px; right:4px; width:7px; height:7px; border-radius:50%; background:var(--fleet-accent); border:2px solid var(--fleet-surface); }
.fleet-message-button[data-unread=true]>.fleet-message-dot { display:block; }
.fleet-message-dialog { width:min(980px,calc(100vw - 40px)); max-width:none; padding:0; border:1px solid var(--fleet-line); border-radius:14px; background:var(--fleet-surface); color:var(--fleet-ink); box-shadow:0 24px 80px #15181140; overflow:hidden; }
.fleet-message-dialog::backdrop { background:#24251f70; backdrop-filter:blur(3px); }
.fleet-message-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border-bottom:1px solid var(--fleet-line); }
.fleet-message-header h2 { font-weight:500; font-size:24px; letter-spacing:-.5px; margin:0; }
.fleet-message-header button { width:36px; height:36px; border:1px solid var(--fleet-line); border-radius:50%; background:var(--fleet-canvas); font-size:24px; color:var(--fleet-secondary); cursor:pointer; }
.fleet-message-body { padding:0; }
.fleet-message-body>[data-message-status] { padding:32px; margin:0; max-width:640px; font-size:14px; line-height:1.7; }
.fleet-message-body>[data-message-retry] { margin:0 32px 24px; padding:10px 18px; border:0; background:var(--fleet-strong); color:var(--fleet-on-strong); border-radius:6px; cursor:pointer; }
.fleet-message-body>iframe { display:block; width:100%; height:min(620px,calc(100dvh - 160px)); border:0; background:var(--fleet-canvas); }
.fleet-message-dialog [hidden] { display:none!important; }
.fleet-messaging-embedded .wrapper { min-height:0; }
.fleet-messaging-page { padding:24px; background:var(--fleet-canvas); box-sizing:border-box; }
.fleet-conversation-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:24px; max-width:1100px; margin:auto; }
.fleet-conversation-layout #PhoneDisplay { display:block; min-width:0; margin:0; }
.fleet-conversation-layout .phone-display-container { width:100%; box-sizing:border-box; border:1px solid var(--fleet-line); border-radius:10px; box-shadow:0 2px 8px #29292506; }
.fleet-conversation-layout .driver-name { margin:18px 18px 4px; font-size:16px; font-weight:600; text-align:left; }
.fleet-conversation-layout #driverPhone { text-align:left; font-size:12px; font-weight:400; margin:0 18px 16px; color:var(--fleet-secondary); }
.fleet-conversation-layout #messageList { height:370px; border-top:1px solid var(--fleet-line); padding:12px 16px 24px; scrollbar-width:thin; }
.fleet-conversation-layout #messageList>li { float:none; overflow-wrap:anywhere; }
.fleet-conversation-layout .driver-blue-message,.fleet-conversation-layout .green-message { width:fit-content; max-width:82%; box-sizing:border-box; padding:12px 14px; font-size:13px; line-height:1.6; margin:16px 0 8px; border-radius:10px; }
.fleet-conversation-layout .driver-blue-message { background:var(--fleet-soft); color:var(--fleet-ink); margin-right:auto; }
.fleet-conversation-layout .green-message { background:#42483b; color:#fff; margin-left:auto; }
.fleet-conversation-layout .driver-from-number,.fleet-conversation-layout .green-number { font-size:10px; color:var(--fleet-secondary); margin:0 0 14px; line-height:1.5; }
.fleet-conversation-layout .driver-from-number { text-align:left; }
.fleet-conversation-layout .green-number { text-align:right; }
.fleet-conversation-layout .no-messages { margin:24px 0; width:auto; background:var(--fleet-canvas); color:var(--fleet-secondary); text-align:center; }
.fleet-message-compose { min-width:0; }
.fleet-conversation-context { padding:18px; border:1px solid var(--fleet-line); border-radius:10px; background:var(--fleet-surface); margin-bottom:24px; overflow-wrap:anywhere; }
.fleet-conversation-context h2 { font-size:18px; font-weight:500; margin:4px 0 10px; }
.fleet-conversation-context p:not(.fleet-eyebrow) { font-size:12px; color:var(--fleet-secondary); margin:6px 0; }
.fleet-conversation-identity { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:8px 0 12px; }
.fleet-conversation-driver-info { min-width:0; flex:1; }
.fleet-conversation-driver-info h2 { margin:0 0 6px; font-weight:600; }
.fleet-conversation-driver-info p { margin:0!important; }
.fleet-conversation-avatar { position:relative; display:grid; place-items:center; flex:0 0 64px; width:64px; height:64px; overflow:hidden; border:1px solid var(--fleet-line); border-radius:50%; background:var(--fleet-soft); color:var(--fleet-secondary); }
.fleet-conversation-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.fleet-conversation-avatar [data-driver-photo-fallback] { display:grid; place-items:center; width:100%; height:100%; font-size:20px; font-weight:600; letter-spacing:.5px; }
.fleet-conversation-avatar [hidden] { display:none!important; }
@media (max-width:420px) {
    .fleet-conversation-identity { gap:12px; }
    .fleet-conversation-avatar { flex-basis:56px; width:56px; height:56px; }
    .fleet-conversation-driver-info h2 { font-size:17px; }
}
.fleet-message-compose label { display:block; margin-bottom:8px; font-size:12px; font-weight:600; }
.fleet-message-compose .message-textbox { width:100%; box-sizing:border-box; padding:14px; border:1px solid var(--fleet-line); border-radius:8px; resize:vertical; font:13px "Segoe UI",Arial,sans-serif; line-height:1.6; }
.fleet-compose-hint,#messageSendStatus { color:var(--fleet-secondary); font-size:11px; line-height:1.6; }
.fleet-message-compose .send-text-btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; border:0; padding:12px; border-radius:7px; background:var(--fleet-strong); color:var(--fleet-on-strong); font:600 13px "Segoe UI",Arial,sans-serif; cursor:pointer; }
.fleet-message-compose .send-text-btn:disabled { opacity:.5; cursor:wait; }
.fleet-message-compose .send-text-btn .fleet-icon { width:18px; height:18px; }
.fleet-message-dialog button:focus-visible,.fleet-message-button:focus-visible,#ribbon button:focus-visible,#ribbon input:focus-visible,#ribbon select:focus-visible,.fleet-message-compose textarea:focus-visible,.fleet-message-compose button:focus-visible,.fleet-tabs [role=tab]:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:3px; }
.shipment-messages-container { flex-wrap:wrap; gap:20px; }
.shipment-message-container { max-width:100%; border:1px solid var(--fleet-line); box-sizing:border-box; box-shadow:none; }
.shipment-message-detail .message-blue,.shipment-message-detail .message-gray { max-width:75%; width:fit-content; box-sizing:border-box; overflow-wrap:anywhere; margin:20px 14px 12px; }
.shipment-message-detail .message-blue { margin-left:auto; background:#42483b; }
.shipment-message-detail .message-gray { background:var(--fleet-soft); }
@media (max-width:900px) {
#ribbon { padding:10px 16px; }
}
@media (max-width:600px) {
.fleet-eyebrow { font-size:9px; letter-spacing:1.4px; }
#ribbon { gap:4px; padding:8px; }
#ribbon form .flex { gap:8px; }
#ribbon form input[type=text] { width:min(275px,100%); }
.fleet-message-dialog { width:calc(100vw - 16px); }
.fleet-message-header { padding:16px; }
.fleet-messaging-page { padding:16px; }
.fleet-conversation-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
.fleet-conversation-layout #messageList { height:240px; }
}
#ribbon .ribbon-section:has(form) { order:2; }
.fleet-table-scroll { container-type:inline-size; }
#ribbon .fleet-search-filters { display:flex; align-items:center; gap:20px; flex-wrap:nowrap; }
#ribbon .fleet-filter-field { display:flex; align-items:center; gap:8px; min-width:0; flex:1 1 220px; }
#ribbon .fleet-filter-search { flex:1.4 1 280px; }
#ribbon .fleet-filter-field label { flex-shrink:0; white-space:nowrap; }
#ribbon .fleet-filter-field input,#ribbon .fleet-filter-field select { width:100%; min-width:0; }
.fleet-table th button[data-table-sort] { display:flex; width:100%; min-width:0; justify-content:space-between; white-space:normal; overflow-wrap:normal; line-height:1.4; }
.fleet-table th button[data-table-sort]::after { flex-shrink:0; }
.fleet-table-scroll { scrollbar-width:thin; scrollbar-color:var(--fleet-line-strong) var(--fleet-soft); }
@media (max-width:1050px) {
#ribbon .fleet-search-filters { flex-wrap:wrap; gap:12px 16px; }
#ribbon .fleet-filter-field { flex:1 1 210px; }
}
@media (max-width:600px) {
#ribbon .fleet-filter-field { flex-basis:100%; }
}
#routes>.fleet-table-scroll table.dataTable>thead>tr>th:first-child,#routes>.fleet-table-scroll table.dataTable>tbody>[data-table-row]>td:first-child,#routes>.fleet-table-scroll table.dataTable>tbody>[data-table-row]>td:nth-child(2) { padding-left:6px; padding-right:6px; }
#routes>.fleet-table-scroll table.dataTable>tbody>[data-table-row] [data-table-expand] { min-width:0; gap:4px; padding:7px 4px; font-size:11px; }
.fleet-table .fleet-message-button { width:32px; height:32px; padding:5px; }
.fleet-table .fleet-message-button .fleet-icon { width:20px; height:20px; }
#ribbon .fleet-claims-filters { gap: 16px; }
#ribbon .fleet-claims-filters .fleet-filter-field { flex-basis: 180px; }
#ribbon .fleet-filter-toggle { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 36px; white-space: nowrap; cursor: pointer; }
#ribbon .fleet-filter-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--fleet-accent); }
@media (max-width: 600px) {
#ribbon .fleet-claims-filters .fleet-filter-field { flex-basis: 100%; } }
#driverProfiles .fleet-gallery-compact { width: 80px; }
#driverProfiles .fleet-gallery-compact img { width: 64px; height: 64px; object-fit: contain; }
#driverProfiles .fleet-gallery-controls { gap: 4px; flex-wrap: nowrap; margin-top: 4px; font-size: 10px; }
#driverProfiles .fleet-gallery-controls button { padding: 3px 6px; border: 1px solid var(--fleet-line); border-radius: 4px; background: var(--fleet-surface); color: var(--fleet-ink); }
.fleet-profile-dialog { width: min(800px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--fleet-line); border-radius: 14px; background: var(--fleet-surface); color: var(--fleet-ink); box-shadow: 0 24px 80px #15181140; overflow: hidden; }
.fleet-profile-dialog::backdrop { background: #24242480; backdrop-filter: blur(3px); }
.fleet-profile-dialog>.profile-container { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 34px); margin: 0; padding: 0; position: static; transform: none; border: 0; border-radius: 0; background: var(--fleet-surface); color: var(--fleet-ink); box-sizing: border-box; }
.fleet-profile-dialog * { box-sizing: border-box; }
.fleet-profile-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 18px 24px; border-bottom: 1px solid var(--fleet-line); }
.fleet-profile-header h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.4px; }
.fleet-profile-dialog .profile-close-top { display: inline-flex; align-items: center; justify-content: center; float: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--fleet-line); border-radius: 50%; background: var(--fleet-soft); color: var(--fleet-secondary); font-size: 24px; flex-shrink: 0; }
.fleet-profile-body { padding: 24px; min-height: 0; overflow: auto; font-size: 12px; scrollbar-width: thin; }
.fleet-profile-dialog .profile-content { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; margin: 0 0 24px; }
.fleet-profile-photo { padding: 10px; align-self: start; border: 1px solid var(--fleet-line); border-radius: 8px; background: var(--fleet-soft); }
.fleet-profile-photo .fleet-gallery-compact { width: 100%; }
.fleet-profile-photo .fleet-gallery img, .fleet-profile-placeholder { display: block; width: 100%; height: 140px; object-fit: contain; }
.fleet-profile-dialog .profile-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; float: none; width: auto; min-width: 0; }
.fleet-profile-dialog .profile-information>div { min-width: 0; }
.fleet-profile-dialog input[type=text], .fleet-profile-dialog select, .fleet-profile-dialog .profile-text-area { width: 100%!important; margin: 6px 0 0; padding: 8px 10px; border: 1px solid var(--fleet-line); border-radius: 6px; background: var(--fleet-surface); color: var(--fleet-ink); font: 12px "Segoe UI", Arial, sans-serif; }
.fleet-profile-dialog input[type=text], .fleet-profile-dialog select { height: 36px; }
.fleet-profile-dialog input:disabled, .fleet-profile-dialog select:disabled, .fleet-profile-dialog textarea:disabled { opacity: 1; background: var(--fleet-soft); color: var(--fleet-secondary); }
.fleet-profile-upload { grid-column: 1 / -1; }
.fleet-profile-upload input[type=file] { display: block; width: 100%; margin: 8px 0 0; font: inherit; }
.fleet-profile-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fleet-profile-questions .profile-question { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.fleet-profile-questions .profile-question>br { display: none; }
.fleet-profile-questions .profile-question>.bold { min-height: 32px; line-height: 1.5; }
.fleet-profile-dialog .profile-text-area { min-height: 100px; margin: 0; resize: vertical; line-height: 1.5; }
.fleet-profile-footer { display: flex; justify-content: flex-end; gap: 10px; flex-shrink: 0; padding: 16px 24px; border-top: 1px solid var(--fleet-line); background: var(--fleet-surface); }
.fleet-profile-footer button { padding: 10px 16px; border: 1px solid var(--fleet-line); border-radius: 6px; background: var(--fleet-surface); color: var(--fleet-ink); font: 12px "Segoe UI", Arial, sans-serif; cursor: pointer; }
.fleet-profile-footer .profile-submit { background: var(--fleet-strong); color: var(--fleet-on-strong); border-color: var(--fleet-strong); }
.fleet-profile-footer button:disabled { opacity: .5; cursor: default; }
.fleet-profile-dialog .driver-profile-not-found { height: auto; padding: 48px 20px; font-size: 16px; color: var(--fleet-secondary); }
.fleet-profile-dialog .req-text { color: var(--fleet-danger); }
.fleet-profile-dialog button:focus-visible, .fleet-profile-dialog input:focus-visible, .fleet-profile-dialog select:focus-visible, .fleet-profile-dialog textarea:focus-visible { outline: 2px solid var(--fleet-accent); outline-offset: 3px; }
html:has(.fleet-profile-dialog[open]) { overflow: hidden; }
@media (max-width: 650px) {
.fleet-profile-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
.fleet-profile-dialog>.profile-container { max-height: calc(100dvh - 18px); }
.fleet-profile-header { padding: 16px; }
.fleet-profile-body { padding: 16px; }
.fleet-profile-dialog .profile-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fleet-profile-photo { width: 128px; justify-self: center; }
.fleet-profile-photo .fleet-gallery img, .fleet-profile-placeholder { height: 108px; }
.fleet-profile-dialog .profile-information { grid-template-columns: minmax(0, 1fr); }
.fleet-profile-questions { grid-template-columns: minmax(0, 1fr); }
.fleet-profile-questions .profile-question>.bold { min-height: 0; }
.fleet-profile-footer { padding: 12px 16px; }
}
.fleet-login-page { display: grid; place-items: center; width: 100%; min-height: calc(100dvh - 64px); padding: 40px 20px; background: var(--fleet-canvas); box-sizing: border-box; }
.fleet-login-page #login-box { position: static; top: auto; width: min(480px, 100%); max-width: none; max-height: none; margin: 0; padding: 36px; border: 1px solid var(--fleet-line); border-top: 3px solid var(--fleet-ink); border-radius: 12px; background: var(--fleet-surface); box-shadow: 0 12px 40px #19191908; perspective: none; overflow: visible; font-family: "Segoe UI", Arial, sans-serif; box-sizing: border-box; }
.fleet-login-brand { text-align: center; }
.fleet-login-logo { display: block; width: 210px; max-width: 100%; height: auto; margin: 0 auto 32px; }
.fleet-login-page #login-box .fleet-eyebrow { margin: 0 0 7px; color: var(--fleet-secondary); font-size: 10px; font-weight: 500; letter-spacing: .2em; line-height: 1.2; }
.fleet-login-page #login-box h1 { margin: 0; color: var(--fleet-ink); font: 400 42px/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.fleet-login-page #login-box .fleet-login-intro { margin: 16px 0 28px; color: var(--fleet-secondary); font-size: 13px; line-height: 1.6; }
.fleet-login-options { display: grid; gap: 12px; }
.fleet-login-page .fleet-login-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--fleet-line); border-radius: 8px; background: var(--fleet-surface); color: var(--fleet-ink); text-decoration: none; }
.fleet-login-page .fleet-login-option:hover { background: var(--fleet-hover); border-color: var(--fleet-line-strong); }
.fleet-login-option>span { flex: 1; min-width: 0; }
.fleet-login-option strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.fleet-login-option small { display: block; margin-top: 2px; color: var(--fleet-secondary); font-size: 12px; line-height: 1.5; }
.fleet-login-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--fleet-secondary); }
.fleet-login-arrow { width: 18px; height: 18px; flex-shrink: 0; color: var(--fleet-secondary); }
.fleet-login-appearance { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; color: var(--fleet-secondary); font-size: 11px; }
.fleet-login-page #login-box .fleet-login-error { padding: 12px; margin: 0 0 18px; border: 1px solid var(--fleet-danger-line); border-radius: 6px; background: var(--fleet-danger-bg); color: var(--fleet-danger); font-size: 12px; line-height: 1.5; }
.fleet-login-option:focus-visible { outline: 2px solid var(--fleet-accent); outline-offset: 3px; }
html[data-bs-theme=dark] .fleet-login-logo { filter: invert(1) brightness(1.65); mix-blend-mode: screen; }
@media (max-width: 600px) {
.fleet-login-page { padding: 24px 16px; }
.fleet-login-page #login-box { padding: 28px 20px; }
.fleet-login-logo { width: 190px; margin-bottom: 28px; } }

/* Shipment operations: one record surface, compact facts and status-led hierarchy. */
.fleet-shipment-detail.fleet-data-section { --shipment-status-ink:var(--fleet-secondary); --shipment-status-bg:var(--fleet-soft); --shipment-status-line:var(--fleet-line-strong); container:shipment-detail / inline-size; padding:0 22px 22px; border:1px solid var(--fleet-line); border-top:3px solid var(--shipment-status-line); border-radius:4px; background:var(--fleet-surface); color:var(--fleet-ink); }
.fleet-shipment-detail[data-shipment-tone=positive] { --shipment-status-ink:#286040; --shipment-status-bg:#eaf4ed; --shipment-status-line:#7ea78b; }
.fleet-shipment-detail[data-shipment-tone=warning] { --shipment-status-ink:var(--fleet-warning); --shipment-status-bg:var(--fleet-warning-bg); --shipment-status-line:var(--fleet-warning-line); }
.fleet-shipment-detail[data-shipment-tone=negative] { --shipment-status-ink:var(--fleet-danger); --shipment-status-bg:var(--fleet-danger-bg); --shipment-status-line:var(--fleet-danger-line); }
html[data-bs-theme=dark] .fleet-shipment-detail[data-shipment-tone=positive] { --shipment-status-ink:#b4d9bd; --shipment-status-bg:#263c2d; --shipment-status-line:#577e62; }
.fleet-shipment-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px 24px; padding:18px 0; }
.fleet-shipment-identity { display:flex; align-items:center; gap:12px; min-width:0; }
.fleet-shipment-symbol { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border:1px solid var(--fleet-line); background:var(--fleet-soft); border-radius:4px; color:var(--fleet-secondary); }
.fleet-shipment-symbol .fleet-icon { width:23px; height:23px; }
.fleet-shipment-kicker { margin:0 0 3px; color:var(--fleet-secondary); font-size:10px; font-weight:600; line-height:1.3; letter-spacing:1.2px; text-transform:uppercase; }
.fleet-shipment-heading h2 { margin:0; color:var(--fleet-ink); font-size:23px; font-weight:650; line-height:1.25; letter-spacing:-.5px; }
.fleet-shipment-reference { font-variant-numeric:tabular-nums; }
.fleet-shipment-header-context { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px 18px; min-width:0; max-width:55%; }
.fleet-shipment-recipient { color:var(--fleet-secondary); font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.fleet-shipment-status { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border:1px solid var(--shipment-status-line); border-radius:4px; background:var(--shipment-status-bg); color:var(--shipment-status-ink); font-size:11px; font-weight:700; line-height:1.3; letter-spacing:.35px; text-transform:uppercase; }
.fleet-shipment-status::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; flex-shrink:0; }
.fleet-shipment-detail>.fleet-tabs>[role=tablist] { flex-wrap:nowrap; gap:18px; padding:0; border-bottom:1px solid var(--fleet-line); scrollbar-width:thin; }
.fleet-shipment-detail>.fleet-tabs>[role=tablist]>[role=tab] { flex:0 0 auto; margin:0; padding:11px 0; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:var(--fleet-secondary); font-size:12px; font-weight:500; box-shadow:none; }
.fleet-shipment-detail>.fleet-tabs>[role=tablist]>[role=tab][aria-selected=true] { border-bottom-color:var(--fleet-ink); color:var(--fleet-ink); font-weight:650; }
.fleet-shipment-detail>.fleet-tabs>[role=tablist]>[role=tab]:hover { color:var(--fleet-ink); background:transparent; }
.fleet-shipment-detail>.fleet-tabs>[role=tabpanel] { padding:22px 0 0; }
.fleet-shipment-summary { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr); align-items:start; gap:24px; }
.fleet-shipment-card { min-width:0; padding:0; border:0; border-radius:0; background:transparent; }
.fleet-shipment-location,.fleet-shipment-photos { border-left:1px solid var(--fleet-line); padding-left:24px; }
.fleet-shipment-card-heading { margin:0 0 14px; }
.fleet-shipment-card-heading h3 { margin:0; color:var(--fleet-secondary); font-size:10px; font-weight:700; line-height:1.4; letter-spacing:1.2px; text-transform:uppercase; }
.fleet-shipment-card-body { min-width:0; }
.fleet-shipment-window { display:grid; gap:4px; margin:0 0 18px; text-align:left; }
.fleet-shipment-delivery-date { color:var(--fleet-secondary); font-size:13px; font-weight:500; line-height:1.5; }
.fleet-shipment-delivery-time { color:var(--fleet-ink); font-size:25px; font-weight:650; line-height:1.2; letter-spacing:-.7px; font-variant-numeric:tabular-nums; overflow-wrap:break-word; }
.fleet-shipment-facts { display:grid; gap:0; margin:0; border-top:1px solid var(--fleet-line); }
.fleet-shipment-fact { display:grid; grid-template-columns:minmax(88px,.75fr) minmax(0,1.5fr); align-items:baseline; gap:12px; min-width:0; padding:9px 0; border-bottom:1px solid var(--fleet-line); }
.fleet-shipment-facts dt { margin:0; color:var(--fleet-secondary); font-size:11px; font-weight:500; line-height:1.5; }
.fleet-shipment-facts dd { margin:0; color:var(--fleet-ink); font-size:12px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.fleet-shipment-latest-event { margin-top:16px; padding:12px 14px; border-left:3px solid var(--shipment-status-line); background:var(--fleet-hover); }
.fleet-shipment-event-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin-bottom:6px; }
.fleet-shipment-event-heading h4 { margin:0; color:var(--fleet-secondary); font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.6px; }
.fleet-shipment-event-time { color:var(--fleet-secondary); font-size:11px; line-height:1.5; }
.fleet-shipment-event-name { display:block; margin:0 0 3px; color:var(--shipment-status-ink); font-size:13px; font-weight:650; }
.fleet-shipment-event-notes { margin:0; color:var(--fleet-ink); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.fleet-shipment-empty { margin:0; color:var(--fleet-secondary); font-size:12px; line-height:1.6; }
.fleet-shipment-address { display:grid; gap:3px; margin:0 0 16px; color:var(--fleet-secondary); font-size:13px; font-style:normal; line-height:1.55; overflow-wrap:anywhere; }
.fleet-shipment-address strong { margin-bottom:3px; color:var(--fleet-ink); font-size:16px; font-weight:600; line-height:1.4; }
.fleet-shipment-map { width:100%; height:190px; border:1px solid var(--fleet-line); border-radius:3px; background:var(--fleet-soft); }
.fleet-shipment-location .fleet-shipment-empty { padding-top:12px; border-top:1px solid var(--fleet-line); font-size:11px; }
.fleet-shipment-photos .fleet-tabs>[role=tablist] { flex-wrap:nowrap; gap:14px; }
.fleet-shipment-photos .fleet-tabs [role=tab] { padding:0 0 8px; border-radius:0; background:transparent; font-size:11px; }
.fleet-shipment-photos .fleet-tabs>[role=tabpanel] { padding:12px 0 0; }
.fleet-shipment-photos [role=tabpanel]>p { display:grid; place-items:center; min-height:120px; margin:0; padding:16px; border:1px solid var(--fleet-line); background:var(--fleet-hover); color:var(--fleet-secondary); font-size:12px; }
.fleet-shipment-photos .fleet-gallery img { display:block; width:100%; height:220px; max-height:none; border-radius:3px; background:var(--fleet-soft); object-fit:contain; }
.fleet-shipment-photos .fleet-gallery-controls { justify-content:space-between; gap:10px; margin-top:8px; font-size:11px; color:var(--fleet-secondary); }
.fleet-shipment-photos .fleet-gallery-controls button { display:grid; place-items:center; width:30px; height:28px; padding:0; border:1px solid var(--fleet-line); border-radius:3px; background:var(--fleet-surface); color:var(--fleet-ink); font-size:18px; }
.fleet-shipment-claims { display:grid; gap:16px; min-width:0; }
.fleet-shipment-claims-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--fleet-line); }
.fleet-shipment-claims-heading h3 { display:flex; align-items:center; gap:8px; margin:0; color:var(--fleet-ink); font-size:17px; font-weight:650; }
.fleet-shipment-claims-count { min-width:23px; padding:3px 6px; border-radius:3px; background:var(--fleet-soft); color:var(--fleet-secondary); text-align:center; font-size:11px; font-weight:600; }
.fleet-shipment-claims .fleet-shipment-primary-action,.fleet-shipment-claims .fleet-shipment-secondary-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:8px 12px; border:1px solid var(--fleet-line); border-radius:4px; background:var(--fleet-surface); color:var(--fleet-ink); font:600 12px/1.4 "Segoe UI",Arial,sans-serif; cursor:pointer; }
.fleet-shipment-claims .fleet-shipment-primary-action { background:var(--fleet-strong); border-color:var(--fleet-strong); color:var(--fleet-on-strong); }
.fleet-shipment-claims .fleet-shipment-primary-action:not(:disabled):hover { background:var(--fleet-strong-hover); }
.fleet-shipment-claims .fleet-shipment-secondary-action:hover { background:var(--fleet-soft); }
.fleet-shipment-claims button:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:3px; }
.fleet-shipment-claims button:disabled { opacity:.5; cursor:default; }
.fleet-shipment-primary-action svg { width:16px; height:16px; flex-shrink:0; }
.fleet-shipment-claims-empty { display:flex; align-items:center; gap:16px; padding:24px 0 12px; color:var(--fleet-secondary); }
.fleet-shipment-claims-empty>svg { width:40px; height:40px; flex-shrink:0; padding:9px; border:1px solid var(--fleet-line); border-radius:4px; background:var(--fleet-soft); }
.fleet-shipment-claims-empty h4 { margin:0 0 4px; color:var(--fleet-ink); font-size:14px; font-weight:600; }
.fleet-shipment-claims-empty p { margin:0; color:var(--fleet-secondary); font-size:12px; line-height:1.6; }
.fleet-shipment-claim-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px 24px; min-width:0; padding:18px 0; border:0; border-bottom:1px solid var(--fleet-line); border-radius:0; background:transparent; }
.fleet-shipment-claim-heading { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:14px; min-width:0; }
.fleet-shipment-claim-identity { min-width:0; }
.fleet-shipment-claim-topline { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.fleet-shipment-claim-topline h4 { margin:0; color:var(--fleet-ink); font-size:16px; font-weight:650; font-variant-numeric:tabular-nums; }
.fleet-shipment-claim-status { display:inline-flex; padding:3px 7px; border:1px solid var(--fleet-line); border-radius:3px; background:var(--fleet-soft); color:var(--fleet-secondary); font-size:10px; font-weight:600; text-transform:uppercase; }
.fleet-shipment-claim-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin:7px 0 0; color:var(--fleet-secondary); font-size:11px; line-height:1.5; }
.fleet-shipment-claim-type { color:var(--fleet-ink); font-weight:500; }
.fleet-shipment-claim-amounts { display:flex; gap:28px; margin:0; padding-left:24px; border-left:1px solid var(--fleet-line); text-align:right; }
.fleet-shipment-claim-amounts dt { margin:0 0 6px; color:var(--fleet-secondary); font-size:10px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; }
.fleet-shipment-claim-amounts dd { margin:0; color:var(--fleet-ink); font-size:20px; font-weight:600; line-height:1.25; letter-spacing:-.4px; font-variant-numeric:tabular-nums; }
.fleet-shipment-claim-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-column:1 / -1; gap:14px 22px; margin:0; }
.fleet-shipment-claim-fields>div { min-width:0; }
.fleet-shipment-claim-fields dt { margin:0 0 4px; color:var(--fleet-secondary); font-size:10px; font-weight:500; }
.fleet-shipment-claim-fields dd { margin:0; color:var(--fleet-ink); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
@container shipment-detail (max-width: 1000px) {
    .fleet-shipment-summary { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:22px; }
    .fleet-shipment-overview { grid-column:1; grid-row:1 / span 2; }
    .fleet-shipment-location,.fleet-shipment-photos { grid-column:2; padding-left:22px; }
    .fleet-shipment-photos { padding-top:4px; }
    .fleet-shipment-claim-card { grid-template-columns:minmax(0,1fr); }
    .fleet-shipment-claim-amounts { justify-content:flex-start; padding-left:0; border-left:0; text-align:left; }
    .fleet-shipment-claim-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container shipment-detail (max-width: 560px) {
    .fleet-shipment-heading { gap:12px; padding:14px 0; }
    .fleet-shipment-heading h2 { font-size:21px; }
    .fleet-shipment-header-context { max-width:100%; justify-content:flex-start; gap:8px 12px; }
    .fleet-shipment-recipient { font-size:12px; }
    .fleet-shipment-detail>.fleet-tabs>[role=tablist] { gap:16px; }
    .fleet-shipment-summary { grid-template-columns:minmax(0,1fr); gap:22px; }
    .fleet-shipment-overview,.fleet-shipment-location,.fleet-shipment-photos { grid-column:auto; grid-row:auto; }
    .fleet-shipment-location,.fleet-shipment-photos { padding:18px 0 0; border-left:0; border-top:1px solid var(--fleet-line); }
    .fleet-shipment-delivery-time { font-size:22px; }
    .fleet-shipment-claims-heading { gap:10px; }
    .fleet-shipment-claims-empty { align-items:flex-start; padding-top:14px; }
    .fleet-shipment-claim-amounts { gap:24px; }
    .fleet-shipment-claim-amounts dd { font-size:18px; }
}
@media (max-width:600px) { .fleet-shipment-detail.fleet-data-section { padding:0 14px 18px; } }

.fleet-shipment-message-action { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; min-height:36px; border:1px solid var(--fleet-line); border-radius:6px; background:var(--fleet-surface); color:var(--fleet-ink); font-size:12px; font-weight:600; text-decoration:none; white-space:nowrap; }
.fleet-shipment-message-action .fleet-icon { width:17px; height:17px; }
.fleet-shipment-message-action:hover { background:var(--fleet-soft); color:var(--fleet-ink); }
.fleet-shipment-message-action:focus-visible { outline:2px solid var(--fleet-accent); outline-offset:3px; }
