.location-field .input-icon-wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; }
.location-chips { display: flex; flex: 0 1 auto; flex-wrap: nowrap; gap: 4px; max-width: 65%; overflow-x: auto; scrollbar-width: thin; padding: 3px 0 3px 5px; }
.location-chips[hidden] { display: none; }
.location-chips:not([hidden]) ~ input { flex: 1 1 80px; width: 0; min-width: 50px; }
.location-chips .selection-chip { flex: 0 0 auto; }
.location-field .input-icon-wrap:has(.location-chips:not([hidden])) { border: 1px solid #9ca5af; border-radius: 4px; background: var(--control, #fff); padding-right: 24px; }
:root[data-board-layout=standard] .location-field .input-icon-wrap:has(.location-chips:not([hidden])) { height: 36px; }
:root[data-board-layout=standard] .location-field .location-chips:not([hidden]) ~ input { border: 0; height: 32px; min-height: 32px; box-shadow: none; padding: 0 2px; }
.location-field .input-icon-wrap:has(.location-chips:not([hidden])):focus-within { outline: 2px solid #0046e0; outline-offset: -1px; }
:root[data-board-layout=standard] #search-form .location-field:has(.location-chips:not([hidden])) .label-row label { visibility: visible; }
:root[data-board-layout=standard] .location-field > .suggestions { top: 100%; width: 100%; }
.location-field:has(.location-chips:not([hidden])) .field-icon { display: none; }
.selection-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 25px; max-width: 100%; padding: 3px 6px 3px 8px; border: 1px solid #d4e0fb; border-radius: 4px; background: #e9effe; color: #234987; font-size: 12px; line-height: 1.3; }
.selection-chip > span { overflow: hidden; text-overflow: ellipsis; }
.chip-remove { flex: 0 0 auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; padding: 0; color: inherit; background: transparent; box-shadow: none; cursor: pointer; font-size: 17px; }
.chip-remove:hover { background: #d3def5; }
.company-popover { width: min(340px, calc(100vw - 32px)); min-width: 0; gap: 0; }
.company-title { display: block; font-size: 16px; margin-bottom: 16px; }
.company-mode-options { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.company-mode-options label { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; }
.company-mode-options input[type=radio], :root[data-board-layout=standard] .company-mode-options input[type=radio] { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: #0046e0; }
.company-search-field { position: relative; }
.company-input-wrap { border: 1px solid var(--border, #9ca5af); border-radius: 4px; padding: 5px; }
.company-input-wrap:focus-within { outline: 2px solid #0046e0; outline-offset: -1px; }
.company-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.company-chip { width: auto; }
#company-input { width: 100%; min-height: 35px; border: 0; padding: 5px; background: transparent; box-shadow: none; }
#company-input:focus { outline: 0; box-shadow: none; }
#company-names-help { display: block; margin-top: 7px; font-size: 11px; line-height: 1.5; }
#company-options { position: relative; inset: auto; margin-top: 4px; max-height: 220px; overflow: auto; }
.company-suggestion { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.company-suggestion small { color: var(--muted, #697586); font-size: 11px; }
.company-actions { display: flex; justify-content: flex-end; gap: 18px; align-items: center; border-top: 1px solid var(--border, #dde2e8); margin-top: 16px; padding-top: 14px; }
.company-actions .primary { min-width: 80px; min-height: 36px; border-radius: 20px; }
[data-theme=dark] .selection-chip { background: #29384c; border-color: #405773; color: #d9e6ff; }
[data-theme=dark] .chip-remove:hover { background: #405773; }
.location-field > .suggestions { width: min(480px, calc(100vw - 24px)); right: auto; padding: 0; border-radius: 3px; border-color: var(--line, #c5cbd1); background: var(--surface, #fff); box-shadow: 0 4px 12px #0003; }
.location-field > .suggestions .suggestion { border-radius: 0; padding: 12px 14px; font-size: 13px; line-height: 1.45; box-shadow: none; animation: none; transform: none; }
.geography-help { padding: 14px 14px 17px; border-bottom: 1px solid var(--line, #dce0e5); color: var(--ink, #252a30); font-size: 12px; line-height: 1.5; }
.geography-help p { margin: 0 76px 7px 0; color: inherit; font-size: inherit; line-height: inherit; }
.geography-help ul { margin: 0; padding-left: 18px; }
.geography-help li { margin: 2px 0; }
.geography-help-toggle { float: right; border: 0; padding: 2px 0 8px 8px; color: var(--link, #183a9c); background: transparent; box-shadow: none; font-size: 11px; font-weight: 700; letter-spacing: 1px; cursor: pointer; }
.geography-help-toggle:hover { text-decoration: underline; }
.geography-section-title { padding: 12px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .7px; color: var(--muted, #6b7280); }
.location-field .suggestion.recent-lane { display: grid; align-items: center; column-gap: 14px; min-height: 43px; text-align: left; font-weight: 400; }
.recent-lane-pair { grid-template-columns: 16px minmax(0, 1fr) 18px minmax(0, 1fr); }
.recent-lane-single { grid-template-columns: 16px minmax(0, 1fr); }
.recent-lane-clock { font-size: 19px; line-height: 1; }
.recent-lane-arrow { text-align: center; font-size: 17px; }
.recent-lane-origin, .recent-lane-destination { overflow-wrap: anywhere; }
.location-field .suggestion.zone-suggestion { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; }
[data-theme=dark] .location-field > .suggestions { background: #202329; border-color: #444a54; box-shadow: 0 7px 20px #0008; }
[data-theme=dark] .location-field > .suggestions .suggestion { background: #202329; color: #eef1f6; }
[data-theme=dark] .location-field > .suggestions .suggestion:hover, [data-theme=dark] .location-field > .suggestions .suggestion.active { background: #303744; color: #fff; }
[data-theme=dark] .geography-help { color: #eef1f6; border-color: #444a54; }
[data-theme=dark] .geography-help-toggle { color: #9cb8ff; }
