/* The rows of an import: one line with the counts above a standard Filament table, the import button below it. */
.retailer-import-status { display: grid; gap: 4px; color: #3f3f3f; font-size: 14px; }
.retailer-import-status p { margin: 0; }
.retailer-import-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.retailer-import-progress { display: flex; gap: 8px; align-items: center; color: #6f6f6f; }
.retailer-import-progress-icon { width: 16px; height: 16px; flex: none; }
/* Rows the queue is still working on: greyed out, nothing in them reacts until the page is done. */
.retailer-import-row-busy { opacity: .45; pointer-events: none; }
/* A run's locations no longer in the file: one line of names, each a link to its editor. */
.retailer-import-missing { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.retailer-import-issue { color: #f04545; }
.retailer-import-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.retailer-import-schedule { min-width: 16rem; }
/* What an update changes, next to the name: the old value red and struck through, the new one green. */
.retailer-import-change { white-space: nowrap; color: #3f3f3f; font-size: 13px; }
.retailer-import-change-old { color: #c62828; text-decoration: line-through; }
.retailer-import-change-new { color: #09a787; }
/* A field that comes from a linked file: a lock and one line saying where to change it. */
.retailer-import-lock { display: flex; gap: 6px; align-items: center; margin: 0; color: #6f6f6f; font-size: 13px; }
.retailer-import-lock svg { width: 16px; height: 16px; flex: none; }
.retailer-store-code-lock { width: 14px; height: 14px; flex: none; color: #6f6f6f; }
/* A weekday is a fieldset, so the days a linked file fills can be disabled one by one; it looks like the div it was. */
fieldset.retailer-hours-day { margin: 0; padding-inline: 0; border-width: 0; min-width: 0; }
fieldset.retailer-hours-day:disabled { opacity: 0.7; }
.retailer-import-mapping-rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.retailer-import-mapping-row { display: grid; gap: 4px 12px; align-items: center; padding: 10px 14px; border: 1px solid #ebebeb; border-radius: 8px; background: #fff; grid-template-columns: auto minmax(0, 1fr) minmax(11rem, 15rem); }
.retailer-import-mapping-row.is-duplicate { border-color: #ffdca6; }
.retailer-import-mapping-state { display: flex; width: 20px; height: 20px; color: #ff9d00; }
.retailer-import-mapping-state svg { width: 20px; height: 20px; }
.retailer-import-mapping-row.is-ok .retailer-import-mapping-state { color: #09a787; }
.retailer-import-mapping-text { display: grid; gap: 2px; min-width: 0; }
.retailer-import-mapping-header { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.retailer-import-mapping-samples { display: flex; gap: 10px; min-width: 0; overflow: hidden; color: #6f6f6f; font-size: 13px; }
.retailer-import-mapping-samples span { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.retailer-import-mapping-error { grid-column: 2 / -1; margin: 0; color: #f04545; font-size: 13px; }
.retailer-import-mapping-problems { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; color: #f04545; font-size: 14px; }
.retailer-import-mapping-problems li { display: flex; gap: 6px; align-items: center; }
.retailer-import-mapping-problems svg { width: 18px; height: 18px; flex: none; }
.retailer-import-mapping-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; color: #6f6f6f; font-size: 14px; }
@media (max-width: 640px) {
    .retailer-import-mapping-row { grid-template-columns: auto minmax(0, 1fr); }
    .retailer-import-mapping-row .fi-input-wrp { grid-column: 2; }
}
.retailer-business-group-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.retailer-business-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
/* A tile is the link (map, name, address) plus a strip under it for status badges and the trash icon. */
.retailer-business-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ebebeb; border-radius: 8px; background: #fff; }
.retailer-business-tile:has(> .retailer-business-card:hover) { border-color: #0064d1; }
.retailer-business-grid .retailer-business-card { display: block; flex: 1 1 auto; overflow: hidden; color: inherit; text-decoration: none; }
.retailer-business-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 0 8px 8px 16px; }
.retailer-business-card-status { flex: 1 1 auto; min-width: 0; align-items: center; padding-top: 0; }
.retailer-business-card-status span { max-width: 100%; gap: 4px; }
.retailer-business-card-status span svg { width: 14px; height: 14px; flex: none; }
.retailer-business-card-status span.is-closed { background: #fdecec; color: #c62828; }
.retailer-business-card-status span.is-transfer { background: #e7f0fb; color: #0064d1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.retailer-business-card-status span.is-pending { background: #fff4e0; color: #b26a00; }
.retailer-business-card-status span.is-unsent { background: #f1f1f1; color: #6f6f6f; }
.retailer-business-card-status .retailer-business-card-status-action { flex: none; }
.retailer-business-card-remove { flex: none; color: #9a9a9a; }
.retailer-business-card-remove:hover, .retailer-business-card-remove:focus-visible { color: #f04545; }
/* The four choices in the remove modal each start with an icon. */
.retailer-remove-option-icon { display: inline-block; width: 1rem; height: 1rem; margin-inline-end: 6px; vertical-align: -0.125rem; color: #6f6f6f; }
.retailer-search-results { display: grid; margin: 0; padding: 0; list-style: none; }
.retailer-search-results > li + li { border-top: 1px solid #ebebeb; }
.retailer-search-results-heading { margin: 0 0 2px; padding: 0 4px; color: #3f3f3f; font-size: 13px; font-weight: 700; }
.retailer-search-results-loading { display: flex; gap: 8px; align-items: center; padding: 10px 4px; color: #6f6f6f; font-size: 14px; }
.retailer-search-results-loading .fi-loading-indicator { width: 16px; height: 16px; }
/* The legal and attribution lines in the footer of the page (footer-notices), stacked and centred (Bob, 2026-10-09). */
.retailer-footer-notices { display: grid; gap: 4px; justify-items: center; text-align: center; }
.retailer-footer-notice { margin: 0; color: #9a9a9a; font-size: 12px; }
.retailer-search-result { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 4px; }
.retailer-search-result-manual { margin-top: 6px; padding: 12px 10px; background: #f4f6f9; border-radius: 8px; }
.retailer-search-results > li + .retailer-search-result-manual { border-top: 0; }
.retailer-search-result-text { display: grid; gap: 2px; min-width: 0; }
.retailer-search-result-text strong { font-size: 15px; font-weight: 700; }
.retailer-search-result-text small { color: #6f6f6f; font-size: 14px; }

.retailer-search-results-more { padding: 8px 4px; color: #6f6f6f; font-size: 13px; }
/* Selected locations: tick some (or none for all), one button, one modal. */
.retailer-selection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 8px; }
.retailer-selection-all { display: inline-flex; align-items: center; gap: 8px; color: #3f3f3f; font-size: 14px; cursor: pointer; }
.retailer-search-result-selected { justify-content: flex-start; }
.retailer-search-result-selected > .retailer-search-result-text { flex: 1 1 auto; }
.retailer-search-result-company { color: #0064d1; }
.retailer-search-result.is-selectable { cursor: pointer; border-radius: 6px; }
.retailer-search-result.is-selectable:hover,
.retailer-search-result.is-selectable:focus-visible { background: #f5f8fc; outline: none; }
.retailer-search-result.is-selectable:focus-visible { box-shadow: inset 0 0 0 2px #0064d1; }
