@import url('./city-account-filter.css?v=20261202-shared-city-account-v2');
.fr{padding:22px;min-width:0}.fr[hidden]{display:none}.fr-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.fr-toolbar h2{margin:0 0 8px;font-size:24px}.fr-toolbar p,.fr-muted{color:#6c7789;margin:0;line-height:1.6}.fr-controls{display:grid;grid-template-columns:auto minmax(150px,220px) auto minmax(120px,160px) auto;flex:0 0 auto;align-items:center;gap:10px}.fr-controls label{white-space:nowrap;margin:0;width:auto;color:#626d7e;font-size:13px}.fr-controls select{width:100%;min-width:0;max-width:none;background:white;border:1px solid #dce3ed;border-radius:8px;padding:9px 12px;color:#273249}.fr-controls button{border:1px solid #dce3ed;border-radius:8px;padding:9px 16px;background:#fff;color:#273249;cursor:pointer}.fr-controls button:disabled{opacity:.5;cursor:wait}.fr-summary{color:#768296;font-size:13px;margin:12px 0}.fr-error{background:#fff1ee;color:#a13d28;border-radius:8px;padding:12px 15px}.fr-list{display:flex;flex-direction:column;gap:12px}.fr-order{background:#fff;border:1px solid #e2e7ef;border-radius:10px;overflow:hidden;min-width:0}.fr-source{padding:8px 14px;display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:12px;color:#7c8796;background:#fbfcfe;border-bottom:1px solid #edf0f5}.fr-account{display:flex;gap:12px;align-items:center;min-width:0}.fr-account strong{color:#35425a;font-weight:600;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fr-source time{white-space:nowrap}.fr-timebar{color:#d83e48;background:#fff0f0;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:600;white-space:nowrap}.fr-timebar.scheduled{color:#248b5b;background:#edf8f0}.fr-distance{white-space:nowrap;color:#687386}.fr-order-content{display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(230px,1.2fr) 165px;gap:18px;padding:12px 14px;align-items:start}.fr-route{display:flex;flex-direction:column;gap:8px;min-width:0}.fr-address{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.55;min-width:0}.fr-address-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.fr-dot{margin-top:7px;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#3c4658}.fr-dot.destination{background:#ef7662}.fr-description{min-width:0;color:#566176;font-size:12px;line-height:1.5}.fr-vehicle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#425069;margin-bottom:3px}.fr-remark{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.fr-price-row{display:flex;gap:3px;flex-direction:column;align-items:flex-start}.fr-price{display:inline-flex;gap:2px;align-items:baseline;color:#e8533c;font-size:28px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}.fr-price-unit{font-size:14px;font-weight:400}.fr-payment-status{color:#687386;font-size:12px;line-height:1.5}.fr-tags{display:flex;flex-wrap:nowrap;gap:5px;margin-top:6px;max-height:25px;overflow:hidden;align-items:center}.fr-tag{flex:0 0 auto;font-size:11px;line-height:1.4;border:1px solid;border-radius:4px;padding:2px 5px;max-width:100%;overflow-wrap:anywhere}.fr-tag.with-image{padding:0;line-height:0;border:0;background:transparent!important}.fr-tag.with-image img{height:22px;max-width:160px;object-fit:contain;vertical-align:middle}.fr-tag.with-image .fr-tag-fallback{display:inline-block;border:1px solid #dce2eb;border-radius:4px;padding:2px 5px;font-size:11px;line-height:1.4}.fr-tag.with-image .fr-tag-fallback[hidden]{display:none}.fr-owner{color:#7b8595;font-size:11px;line-height:1.5;margin-top:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.fr-detail-button{font-size:12px!important;line-height:1.4!important;height:auto!important;min-height:0!important;padding:4px 8px!important;margin-top:8px;border:1px solid #dce3ed;border-radius:5px;color:#47677f;background:#fff;cursor:pointer}.fr-empty{padding:55px 20px;text-align:center;color:#8993a3;background:#fff;border:1px dashed #dfe5ee;border-radius:12px}
@media(max-width:1150px){.fr-toolbar{align-items:flex-start;flex-direction:column}.fr-order-content{grid-template-columns:minmax(200px,1fr) minmax(190px,1fr) 130px;gap:12px}.fr-account{gap:8px}.fr-account strong{max-width:160px}.fr-price{font-size:26px}}
@media(max-width:800px){.fr-order-content{grid-template-columns:minmax(0,1fr) 130px;gap:10px 16px}.fr-route,.fr-description{grid-column:1}.fr-payment{grid-column:2;grid-row:1/span 2}.fr-source{align-items:flex-start;flex-wrap:wrap;gap:5px}.fr-account{flex-wrap:wrap}.fr-source time{font-size:11px}.fr-description{font-size:12px}.fr-tags{margin-top:5px}}
@media(max-width:520px){.fr{padding:12px}.fr-toolbar h2{font-size:21px}.fr-toolbar p{font-size:12px}.fr-controls{grid-template-columns:minmax(0,1fr) auto;width:100%;flex:auto}.fr-controls label{grid-column:1/-1}.fr-order-content{grid-template-columns:minmax(0,1fr) 105px;padding:11px;gap:9px}.fr-price{font-size:25px}.fr-price-unit{font-size:12px}.fr-address{font-size:13px}.fr-account strong{max-width:150px}.fr-distance{font-size:11px}.fr-source{padding:7px 11px}.fr-summary{font-size:12px}}

.fr-processing{margin:8px 0 14px;padding:10px 13px;border:1px solid #f2ddba;background:#fff9ef;color:#865e27;border-radius:7px;font-size:13px;line-height:1.6}.fr-processing[hidden]{display:none}

.fr-tag.with-image .fr-tag-fallback{color:#445067;background:#fff}

.fr-pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding:20px 0;color:#768296;font-size:13px}.fr-pagination button{border:1px solid #dce3ed;border-radius:7px;padding:8px 16px;background:#fff;color:#526174;cursor:pointer}.fr-pagination button:disabled{opacity:.45;cursor:default}

.fr-pagination{flex-wrap:wrap}.fr-jump{display:flex;align-items:center;gap:8px;margin:0}.fr-jump label{margin:0;width:auto;white-space:nowrap;font-size:13px;color:#768296}.fr-jump input{width:70px;min-width:0;margin:0;padding:8px;border:1px solid #dce3ed;border-radius:7px;background:#fff;color:#273249}.fr-jump input:disabled{opacity:.45}

.fr-account-vehicle{white-space:nowrap;color:#14776d;background:#eaf6f3;border-radius:4px;padding:2px 6px;font-size:12px}.fr-account{flex-wrap:wrap;gap:6px 10px}
@media(max-width:650px){.fr-controls{grid-template-columns:auto minmax(0,1fr);width:100%}.fr-controls label{grid-column:1}.fr-controls select{grid-column:2}.fr-controls button{grid-column:1/-1}}

.fr-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:900px}.fr-controls select{width:155px}.fr-controls input[type=date]{width:160px;min-width:0;padding:9px 10px;background:#fff;border:1px solid #dce3ed;border-radius:8px;color:#273249;font:inherit}.fr-controls #freightAllDates{padding-inline:10px}.fr-controls #freightRefresh{white-space:nowrap}
@media(max-width:800px){.fr-controls{justify-content:flex-start;width:100%;max-width:none}}
@media(max-width:520px){.fr-controls{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.fr-controls label{grid-column:1;width:auto}.fr-controls select,.fr-controls input[type=date]{grid-column:2;width:100%}.fr-controls #freightAllDates{grid-column:1}.fr-controls #freightRefresh{grid-column:2}}

.fr-detail-dialog{width:min(900px,calc(100vw - 32px));max-height:90vh;max-height:90dvh;padding:0;border:1px solid #dce3ed;border-radius:16px;background:#f5f7fa;color:#273249;box-shadow:0 24px 80px #17223840;overflow:auto;box-sizing:border-box;overscroll-behavior:contain}
.fr-detail-dialog::backdrop{background:#17223888}.fr-detail-header{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px;background:#fff;border-bottom:1px solid #e5eaf1}.fr-detail-header h2{font-size:22px;margin:0 0 6px}.fr-detail-header p{font-size:12px;color:#748195;margin:0;line-height:1.6;overflow-wrap:anywhere}.fr-detail-header button{flex:none;border:1px solid #e1e7ee;border-radius:8px;background:white;color:#526174;font:inherit;font-size:24px;line-height:1;padding:7px 12px;cursor:pointer}
.fr-detail-body{padding:20px;display:grid;gap:14px}.fr-detail-status{padding:24px;line-height:1.6;overflow-wrap:anywhere}.fr-detail-status[hidden]{display:none}.fr-detail-status button{margin-left:14px;border:1px solid #dce3ed;background:#fff;border-radius:7px;padding:6px 14px;cursor:pointer}.fr-detail-overview,.fr-detail-section{padding:20px;border:1px solid #e2e7ef;border-radius:12px;background:#fff;min-width:0}.fr-detail-overview{display:flex;align-items:center;justify-content:space-between;gap:18px}.fr-detail-overview p{margin:10px 0 0;font-size:13px;color:#6c7789}.fr-detail-price{color:#e8533c;font-size:32px;overflow-wrap:anywhere}.fr-detail-section h3{font-size:16px;margin:0 0 16px}.fr-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:0}.fr-detail-grid>div{min-width:0}.fr-detail-grid dt{font-size:12px;color:#748195;margin-bottom:5px}.fr-detail-grid dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.fr-detail-stops{list-style:none;padding:0;margin:0;display:grid;gap:18px}.fr-detail-stops li{display:flex;align-items:flex-start;gap:14px}.fr-stop-label{flex:0 0 58px;font-weight:600;color:#425069;font-size:13px;line-height:1.7}.fr-stop-label span{display:block;font-size:11px;font-weight:400;color:#8b7655}.fr-stop-content{min-width:0}.fr-stop-content p{margin:0;font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.fr-stop-content small{color:#748195;line-height:1.6}.fr-stop-coordinates{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:12px;color:#748195}.fr-stop-coordinates b{font-weight:500;color:#425069;font-variant-numeric:tabular-nums}.fr-coordinate-note{font-size:12px;color:#748195;margin:16px 0 0;line-height:1.6}
.fr-detail-description{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;font-size:14px;line-height:1.75}.fr-detail-description+.fr-detail-description{margin-top:12px}.fr-detail-description strong{font-weight:500;color:#748195}.fr-detail-description div{white-space:pre-wrap;overflow-wrap:anywhere}.fr-detail-tags{display:flex;flex-wrap:wrap;gap:8px}.fr-detail-tag{border:1px solid #e2e7ef;border-radius:6px;padding:5px 8px;font-size:12px}.fr-detail-tag small{display:block;margin-top:4px;color:#748195}.fr-owner-full{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:12px 0 0}.fr-returned-fields summary{font-size:13px;color:#526174;cursor:pointer}.fr-returned-fields pre{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}
@media(max-width:520px){.fr-detail-dialog{width:calc(100vw - 16px);max-height:94vh;max-height:94dvh;border-radius:12px}.fr-detail-header{padding:16px}.fr-detail-body{padding:10px;gap:10px}.fr-detail-overview,.fr-detail-section{padding:15px}.fr-detail-grid{grid-template-columns:1fr}.fr-detail-description{grid-template-columns:1fr;gap:3px}.fr-detail-stops li{gap:8px}.fr-stop-label{flex-basis:48px}.fr-detail-price{font-size:27px}}

.fr-detail-fees{display:grid;gap:12px}.fr-detail-fees>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}.fr-detail-fees small{font-size:11px;color:#748195;margin-left:8px}.fr-detail-fees strong{font-weight:500;white-space:nowrap}
.fr-order-meta{display:flex;flex-wrap:wrap;gap:6px 24px;padding:8px 14px;border-top:1px solid #edf0f5;color:#566176;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.fr-order-meta span{min-width:0}
.fr-owner{white-space:normal;overflow-wrap:anywhere}

.fr-detail-map{height:300px;background:#eef2f4;border-radius:8px;overflow:hidden;isolation:isolate}.fr-map-marker{background:none;border:0}.fr-map-badge{display:grid;place-items:center;width:32px;height:32px;border:2px solid white;border-radius:50%;box-shadow:0 2px 8px #0003;color:white;font-size:12px;font-weight:700}.fr-map-badge.start{background:#258963}.fr-map-badge.end{background:#e86b35}.fr-map-badge.via{background:#66758c}@media(max-width:520px){.fr-detail-map{height:230px}}

/* Keep each result-filter label with its field at every breakpoint. */
.fr .fr-controls{display:flex;flex:1 1 auto;align-items:flex-end;justify-content:flex-end;gap:12px;max-width:900px;min-width:0}
.fr .fr-controls .fr-filter-field{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;flex:1 1 150px;min-width:140px;max-width:200px;margin:0;font-size:12px;white-space:normal}
.fr .fr-controls .fr-filter-field select,.fr .fr-controls .fr-filter-field input[type="date"]{grid-column:auto;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:40px;margin:0;font:inherit}
.fr .fr-filter-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fr .fr-filter-actions button{min-height:40px;white-space:nowrap}
@media(max-width:1150px){.fr .fr-controls{width:100%;max-width:none;justify-content:flex-start}.fr .fr-controls .fr-filter-field{max-width:240px}}
@media(max-width:520px){.fr .fr-controls{gap:10px}.fr .fr-controls .fr-filter-field{flex:1 1 calc(50% - 5px);min-width:0;max-width:none}.fr .fr-filter-actions{flex:1 1 100%}.fr .fr-filter-actions button{flex:1 1 0}}

/* Query origin belongs to the card heading, immediately after distance. */
.fr-source .fr-account{flex:1 1 auto}
.fr-source .fr-point{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:0 3px;min-width:0;margin:0;font-size:12px;line-height:1.5;color:#687386}
.fr-source .fr-point-value{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.fr .fr-controls{max-width:none;justify-content:flex-start;flex-wrap:wrap;margin-bottom:16px}
.fr-date-value{box-sizing:border-box;min-height:40px;padding:9px 12px;background:white;border:1px solid #dce3ed;border-radius:8px;color:#273249}
.fr #freightDate[hidden],.fr #freightDateAll[hidden]{display:none}

.fr-export-dialog{width:min(460px,calc(100vw - 24px))}
.fr-export-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:20px;background:white}
.fr-export-form label{display:grid;gap:6px;min-width:0;margin:0}
.fr-export-form input,.fr-export-form select{box-sizing:border-box;width:100%;min-width:0}
.fr-export-form label:has(select),.fr-export-form .fr-filter-actions,.fr-export-form p{grid-column:1/-1}
.fr-export-form .fr-filter-actions{justify-content:flex-end}
.fr-export-form p{margin:0;color:#475569}
.fr-export-form p:empty{display:none}

.fr-export-form .fr-export-dedupe{grid-column:1/-1;display:flex;align-items:center;gap:8px;cursor:pointer}
.fr-export-form .fr-export-dedupe input{width:16px;height:16px;margin:0}
