:root {
  --store-navy: #103d55;
  --store-navy-2: #1d6b7d;
  --store-teal: #2a918d;
  --store-paper: #f2f5f3;
  --store-surface: #fff;
  --store-ink: #15272f;
  --store-muted: #6a7d83;
  --store-line: #dbe5e2;
  --store-soft: #edf5f3;
  --store-shadow: 0 14px 36px rgba(18, 60, 78, .075);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--store-ink);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--store-paper); }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 88% 0, #dcefeb 0, transparent 28%), linear-gradient(180deg, #f7f9f7, var(--store-paper)); color: var(--store-ink); font-size: 14px; line-height: 1.55; }
button, input, select { font: inherit; }
button, select, a { cursor: pointer; }
a { color: inherit; }

.store-topbar,
.store-detail-topbar {
  color: #fff;
  background: linear-gradient(135deg, var(--store-navy), var(--store-navy-2) 64%, var(--store-teal));
  box-shadow: 0 14px 36px rgba(18, 60, 78, .16);
}

.store-topbar-inner,
.store-detail-topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1200px, calc(100% - 32px));
  min-height: 132px;
  margin: auto;
  padding: 26px 0 28px;
}

.store-home,
.store-back {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, .14);
}

.store-home:hover,
.store-back:hover { background: rgba(255, 255, 255, .18); }
.store-home svg,
.store-back svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store-topbar-copy,
.store-detail-topbar-copy { min-width: 0; }
.store-eyebrow { margin: 0 0 4px; color: #9de2da; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.store-topbar h1,
.store-detail-topbar h1 { margin: 0; color: #fff; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.store-topbar p,
.store-detail-topbar p { margin: 6px 0 0; color: #d8ecee; font-size: 13px; }

.store-shell,
.store-detail-shell { width: min(1200px, calc(100% - 32px)); margin: auto; padding: 24px 0 68px; }
.store-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.store-stat { border: 1px solid var(--store-line); border-radius: 10px; padding: 15px 17px; background: rgba(255, 255, 255, .94); box-shadow: var(--store-shadow); }
.store-stat span { display: block; color: var(--store-muted); font-size: 12px; }
.store-stat strong { display: block; margin-top: 4px; color: var(--store-navy); font-size: 27px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.store-stat.is-colmo strong { color: #8b5b9f; }

.store-region-interaction { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 14px; margin-top: 16px; }
.store-region-visual { position: relative; aspect-ratio: 1.05; min-height: 0; overflow: hidden; border: 1px solid var(--store-line); border-radius: 10px; background: transparent; box-shadow: var(--store-shadow); }
.store-region-stage { position: absolute; z-index: 1; inset: 0; overflow: hidden; cursor: grab; touch-action: none; user-select: none; }
.store-region-stage:focus-visible { outline: 2px solid var(--store-teal); outline-offset: -3px; }
.store-region-stage.is-dragging { cursor: grabbing; }
.store-region-mosaic { position: absolute; top: 0; left: 0; width: 1402px; height: 1122px; transform-origin: 0 0; will-change: transform; }
.store-region-full-map { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.store-region-mosaic.is-region-detail .store-region-full-map { object-fit: contain; }
.store-region-composite { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.store-map-reset { position: absolute; z-index: 12; left: 12px; top: 12px; min-height: 34px; border: 1px solid #c5ded9; border-radius: 7px; padding: 0 10px; background: rgba(241,250,248,.95); color: var(--store-navy); box-shadow: 0 5px 16px rgba(16,61,85,.1); font-size: 11px; font-weight: 800; cursor: pointer; }
.store-map-reset:hover { border-color: var(--store-teal); background: #e2f3ef; }
.store-map-zoom-controls { position: absolute; z-index: 12; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 4px; border: 1px solid rgba(16,61,85,.16); border-radius: 8px; padding: 4px; background: rgba(255,255,255,.94); box-shadow: 0 5px 16px rgba(16,61,85,.12); }
.store-map-zoom-controls button { min-width: 30px; height: 30px; border: 1px solid #c5ded9; border-radius: 6px; padding: 0 7px; background: #f1faf8; color: var(--store-navy); font: 800 15px/1 system-ui, sans-serif; cursor: pointer; }
.store-map-zoom-controls button:last-child { font-size: 11px; }
.store-map-zoom-controls button:hover, .store-map-zoom-controls button:focus-visible { border-color: var(--store-teal); background: #e2f3ef; outline: none; }
.store-map-zoom-controls output { min-width: 43px; color: #45646b; font-size: 11px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.store-region-panel { min-width: 0; border: 1px solid var(--store-line); border-radius: 10px; padding: 18px; background: rgba(255,255,255,.96); box-shadow: var(--store-shadow); }
.store-region-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.store-region-panel-head h2 { margin: 0; color: var(--store-navy); font-size: 20px; }
.store-region-panel-head p { margin: 3px 0 0; color: var(--store-muted); font-size: 12px; }
.store-region-panel-head > span { color: var(--store-teal); font-size: 11px; font-weight: 800; white-space: nowrap; }
.store-region-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.store-region-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; min-width: 0; border: 1px solid #dce9e6; border-radius: 8px; padding: 10px 11px; background: #f7fbfa; color: var(--store-ink); text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.store-region-card:hover, .store-region-card:focus-visible, .store-region-card.is-active { border-color: var(--store-teal); background: #edf8f5; transform: translateY(-1px); outline: none; }
.store-region-card-name { overflow: hidden; color: #45646b; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.store-region-card strong { color: var(--store-navy); font-size: 19px; line-height: 1; }
.store-region-card-meta { grid-column: 1 / -1; color: #7a8f93; font-size: 10px; white-space: nowrap; }
.store-region-selection { margin-top: 14px; border-top: 1px solid var(--store-line); padding-top: 12px; }
.store-region-selection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.store-region-selection-head strong { color: var(--store-navy); font-size: 15px; }
.store-region-selection-head span { color: var(--store-teal); font-size: 11px; font-weight: 800; }
.selected-region-stores { display: grid; max-height: 220px; margin-top: 8px; overflow: auto; }
.selected-region-stores > p { margin: 0; color: var(--store-muted); font-size: 12px; }
.selected-region-store { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf1f0; padding: 8px 0; color: inherit; text-decoration: none; }
.selected-region-store:last-child { border-bottom: 0; }
.selected-region-store:hover strong { color: var(--store-teal); }
.selected-region-store span { min-width: 0; }
.selected-region-store strong, .selected-region-store small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-region-store strong { color: #2f555e; font-size: 12px; }
.selected-region-store small { margin-top: 2px; color: #819398; font-size: 10px; }
.selected-region-store em { flex: 0 0 auto; color: #607b82; font-size: 10px; font-style: normal; font-variant-numeric: tabular-nums; }

.store-toolbar { margin-top: 16px; border: 1px solid var(--store-line); border-radius: 10px; padding: 18px; background: rgba(255, 255, 255, .96); box-shadow: var(--store-shadow); }
.store-toolbar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.store-toolbar-head h2 { margin: 0; color: var(--store-navy); font-size: 22px; line-height: 1.25; }
.store-toolbar-head p { margin: 3px 0 0; color: var(--store-muted); font-size: 12px; }
.store-source { flex: 0 0 auto; color: var(--store-muted); font-size: 11px; text-align: right; }
.store-filters { display: grid; grid-template-columns: minmax(250px, 1.7fr) repeat(5, minmax(132px, 1fr)) auto; gap: 10px; }
.store-search,
.store-filter { display: flex; align-items: center; min-width: 0; min-height: 44px; border: 1px solid var(--store-line); border-radius: 8px; background: #f9fbfa; }
.store-search { gap: 9px; padding: 0 12px; }
.store-search svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: #6f878c; stroke-width: 1.8; }
.store-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--store-ink); font-size: 13px; }
.store-search input::placeholder { color: #88979b; }
.store-filter { padding: 0 10px; }
.store-filter span { flex: 0 0 auto; margin-right: 7px; color: #536a71; font-size: 11px; font-weight: 800; white-space: nowrap; }
.store-filter select { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--store-ink); font-size: 12px; text-overflow: ellipsis; }
.store-search:focus-within,
.store-filter:focus-within { border-color: #6db7ae; box-shadow: 0 0 0 3px rgba(42, 145, 141, .12); }
.store-multi-filter { position: relative; min-width: 0; }
.store-multi-trigger { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px; width: 100%; min-height: 44px; border: 1px solid var(--store-line); border-radius: 8px; padding: 0 11px; background: #f9fbfa; color: #536a71; font: inherit; text-align: left; }
.store-multi-trigger span { flex: 0 0 auto; font-size: 11px; font-weight: 850; }
.store-multi-trigger strong { min-width: 0; overflow: hidden; color: var(--store-ink); font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.store-multi-trigger::after { content: ""; justify-self: end; width: 7px; height: 7px; border-right: 2px solid #70868b; border-bottom: 2px solid #70868b; transform: translateY(-2px) rotate(45deg); }
.store-multi-filter.has-selection .store-multi-trigger { border-color: #69b7ad; background: #f1faf8; }
.store-multi-menu { position: absolute; z-index: 60; top: calc(100% + 5px); left: 0; width: max(100%, 230px); max-height: min(390px, 60vh); overflow: hidden; border: 1px solid #bad4cf; border-radius: 10px; padding: 8px; background: #fff; box-shadow: 0 16px 38px rgba(16,61,85,.2); }
.store-multi-menu[hidden] { display: none; }
.store-multi-search { width: 100%; min-height: 38px; box-sizing: border-box; border: 1px solid #d4e2df; border-radius: 7px; padding: 0 10px; outline: 0; color: var(--store-ink); font-size: 12px; }
.store-multi-search:focus { border-color: var(--store-teal); box-shadow: 0 0 0 3px rgba(42,145,141,.1); }
.store-multi-options { max-height: 255px; overflow-y: auto; margin-top: 6px; }
.store-multi-option { display: flex; align-items: center; gap: 9px; min-height: 36px; border-radius: 6px; padding: 0 7px; color: #29434b; font-size: 12px; cursor: pointer; }
.store-multi-option:hover { background: #edf6f4; }
.store-multi-option input { position: absolute; opacity: 0; pointer-events: none; }
.store-multi-check { position: relative; flex: 0 0 17px; width: 17px; height: 17px; border: 1.5px solid #9ebbb5; border-radius: 5px; background: #fff; }
.store-multi-option input:checked + .store-multi-check { border-color: var(--store-teal); background: var(--store-teal); }
.store-multi-option input:checked + .store-multi-check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.store-multi-empty { margin: 16px 0; color: var(--store-muted); font-size: 11px; text-align: center; }
.store-multi-actions { display: flex; justify-content: flex-end; gap: 7px; border-top: 1px solid #e4edeb; padding-top: 7px; }
.store-multi-actions button { min-height: 32px; border: 1px solid #c5d9d5; border-radius: 6px; padding: 0 10px; background: #fff; color: #536f76; font-size: 11px; font-weight: 800; }
.store-multi-actions button.primary { border-color: var(--store-teal); background: var(--store-teal); color: #fff; }
.store-reset { min-height: 44px; border: 1px solid var(--store-line); border-radius: 8px; padding: 0 13px; background: #fff; color: var(--store-navy); font-size: 12px; font-weight: 800; }
.store-reset:hover { border-color: var(--store-teal); background: var(--store-soft); }

.store-results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 2px 10px; }
.store-results-head h2 { margin: 0; color: var(--store-navy); font-size: 19px; }
.store-results-head span { color: var(--store-muted); font-size: 12px; }
.store-results-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.store-results-actions button { min-height: 34px; border: 1px solid #b9d8d3; border-radius: 7px; padding: 0 12px; background: #e9f6f3; color: #175e5a; font-size: 11px; font-weight: 850; }
.store-results-actions button:hover:not(:disabled) { border-color: var(--store-teal); background: #dff1ed; }
.store-results-actions button:disabled { cursor: not-allowed; opacity: .48; }
.store-table-panel { overflow: hidden; border: 1px solid var(--store-line); border-radius: 10px; background: var(--store-surface); box-shadow: var(--store-shadow); }
.store-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.store-table { width: 100%; min-width: 1320px; border-collapse: collapse; table-layout: fixed; }
.store-table th { padding: 0; border-bottom: 1px solid var(--store-line); background: #f3f8f6; color: #4c676f; font-size: 11px; font-weight: 850; text-align: left; white-space: nowrap; }
.store-table th:nth-child(1) { width: 48px; text-align: center; }
.store-table th:nth-child(2) { width: 100px; }
.store-table th:nth-child(3) { width: 125px; }
.store-table th:nth-child(4) { width: 22%; }
.store-table th:nth-child(5) { width: 105px; }
.store-table th:nth-child(6) { width: 86px; }
.store-table th:nth-child(7) { width: 88px; }
.store-table th:nth-child(8) { width: 16%; }
.store-table th:nth-child(9) { width: 100px; }
.store-table th:nth-child(10) { width: 105px; }
.store-table th:nth-child(11) { width: 110px; }
.store-table th:nth-child(12) { width: 18%; }
.store-table th:nth-child(13) { width: 72px; }
.store-table th button { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 43px; border: 0; padding: 0 13px; background: transparent; color: inherit; font: inherit; text-align: left; }
.store-table th button:hover,
.store-table th button[aria-pressed="true"] { background: #e7f3f0; color: var(--store-navy); }
.sort-mark { color: #91a3a5; font-size: 12px; }
.store-table th button[aria-pressed="true"] .sort-mark { color: var(--store-teal); }
.store-table td { padding: 12px 13px; border-bottom: 1px solid #edf1f0; color: #31484f; font-size: 12px; vertical-align: middle; }
.store-table .store-select-cell { padding-right: 8px; padding-left: 8px; text-align: center; }
.store-select-column input,
.store-select-cell input { width: 17px; height: 17px; margin: 0; accent-color: var(--store-teal); cursor: pointer; }
.store-table tbody tr:last-child td { border-bottom: 0; }
.store-table tbody tr:hover { background: #fbfdfc; }
.store-code { color: #536d75; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.store-operator { color: #315d63; font-weight: 750; white-space: nowrap; }
.store-name-link { display: inline; border-radius: 4px; padding: 2px 4px; color: #087d78; font-weight: 850; text-decoration: underline; text-decoration-color: rgba(42, 145, 141, .34); text-underline-offset: 3px; }
.store-name-link:hover { background: #e1f3ef; color: #075d5a; text-decoration-color: currentColor; }
.store-cell-muted { color: #829196; }
.store-brand { display: inline-flex; align-items: center; min-height: 25px; border-radius: 999px; padding: 0 8px; background: #e8f4f1; color: #237772; font-size: 10px; font-weight: 850; }
.store-brand.is-colmo { background: #f2eaf7; color: #795087; }
.store-contact { white-space: nowrap; font-variant-numeric: tabular-nums; }
.store-specialist { color: #385d66; font-weight: 750; white-space: nowrap; }
.store-specialist-value.is-missing { display: inline-flex; min-height: 28px; align-items: center; border: 1.5px solid #d95656; border-radius: 6px; padding: 0 8px; background: #fff4f3; color: #bd3434; font-weight: 850; }
.store-delete-row { min-height: 30px; border: 1px solid #e2aaa5; border-radius: 6px; padding: 0 9px; background: #fff7f6; color: #b5473e; font-size: 11px; font-weight: 800; }
.store-delete-row:hover { border-color: #ca5a50; background: #fdeceb; }
.store-merchant-code { color: #536d75; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.store-empty { padding: 65px 20px; color: #7e8d91; text-align: center; }
.store-empty strong { display: block; color: var(--store-navy); font-size: 18px; }
.store-empty p { margin: 5px 0 16px; font-size: 12px; }

.store-bulk-dialog { width: min(620px, calc(100% - 28px)); border: 0; border-radius: 14px; padding: 0; background: #fff; color: var(--store-ink); box-shadow: 0 24px 70px rgba(16,61,85,.28); }
.store-bulk-dialog::backdrop { background: rgba(12,37,48,.48); backdrop-filter: blur(2px); }
.store-bulk-dialog form { padding: 22px; }
.store-bulk-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.store-bulk-dialog-head h2 { margin: 3px 0 0; color: var(--store-navy); font-size: 22px; }
.store-bulk-dialog-head > button { width: 34px; height: 34px; border: 1px solid var(--store-line); border-radius: 8px; background: #f6faf9; color: #59737a; font-size: 22px; line-height: 1; }
.store-bulk-summary { margin: 16px 0 0; color: var(--store-teal); font-size: 13px; font-weight: 850; }
.store-bulk-hint { margin: 4px 0 15px; color: var(--store-muted); font-size: 11px; }
.store-bulk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.store-bulk-fields > label { display: grid; align-content: start; gap: 6px; min-width: 0; color: #587078; font-size: 11px; font-weight: 800; }
.store-bulk-fields > label:last-child { grid-column: 1 / -1; }
.store-bulk-fields > label > select,
.store-bulk-fields > label > input,
.bulk-single-picker > select,
.bulk-single-picker > input { width: 100%; min-height: 42px; box-sizing: border-box; border: 1px solid #cfe0dc; border-radius: 8px; padding: 0 11px; outline: 0; background: #fbfdfc; color: var(--store-ink); font: 12px system-ui, sans-serif; }
.bulk-type-picker { position: relative; }
.bulk-type-trigger { position: relative; width: 100%; min-height: 42px; box-sizing: border-box; border: 1px solid #cfe0dc; border-radius: 8px; padding: 0 34px 0 11px; background: #fbfdfc; color: var(--store-ink); font: 12px system-ui, sans-serif; text-align: left; }
.bulk-type-trigger::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #5d777c; border-bottom: 2px solid #5d777c; transform: translateY(-65%) rotate(45deg); }
.bulk-type-trigger.has-selection { border-color: var(--store-teal); color: #237772; font-weight: 750; }
.bulk-type-menu { position: absolute; z-index: 40; top: calc(100% + 5px); left: 0; right: 0; max-height: min(360px, 48vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #bcd5d0; border-radius: 9px; background: #fff; box-shadow: 0 16px 38px rgba(16,61,85,.22); }
.bulk-type-menu[hidden] { display: none; }
.bulk-type-option { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 8px 9px; border-radius: 6px; color: #29434b; font-size: 12px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.bulk-type-option:hover { background: #edf5f3; }
.bulk-type-option.is-custom { margin-bottom: 4px; border-bottom: 1px solid #e2ece9; color: #237772; font-weight: 800; }
.bulk-type-option > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.bulk-type-check { position: relative; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 0; border: 1.5px solid #9ebbb5; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 2px #fff; }
.bulk-type-option > input:checked + .bulk-type-check { border-color: var(--store-teal); background: var(--store-teal); }
.bulk-type-option > input:checked + .bulk-type-check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.bulk-type-option > input:focus-visible + .bulk-type-check { outline: 3px solid rgba(42,145,141,.16); outline-offset: 2px; }
.bulk-type-option > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.bulk-type-option[data-family="flagship"] .bulk-type-check { border-color: #d69acb; }
.bulk-type-option[data-family="mall"] .bulk-type-check { border-color: #b987e0; }
.bulk-type-option[data-family="air"] .bulk-type-check { border-color: #f0c96d; }
.bulk-type-option[data-family="colmo"] .bulk-type-check { border-color: #cf8fe4; }
.bulk-type-menu-actions { position: sticky; bottom: -6px; display: flex; justify-content: flex-end; margin: 5px -1px -1px; padding: 8px 6px 5px; border-top: 1px solid #e2ece9; background: rgba(255,255,255,.96); }
.bulk-type-menu-actions button { min-height: 34px; border: 1px solid var(--store-teal); border-radius: 7px; padding: 0 13px; background: var(--store-teal); color: #fff; font-size: 12px; font-weight: 800; }
.bulk-type-custom { margin-top: 7px; }
.bulk-single-picker { display: grid; gap: 7px; min-width: 0; }
.store-bulk-fields > label > select:focus,
.store-bulk-fields > label > input:focus,
.bulk-single-picker > select:focus,
.bulk-single-picker > input:focus { border-color: var(--store-teal); box-shadow: 0 0 0 3px rgba(42,145,141,.11); }
.bulk-type-trigger:focus { border-color: var(--store-teal); box-shadow: 0 0 0 3px rgba(42,145,141,.11); outline: 0; }
.store-bulk-message { min-height: 18px; margin: 10px 0 0; color: #b04f42; font-size: 11px; }
.store-bulk-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.store-bulk-actions button { min-height: 38px; border: 1px solid #c8dcd8; border-radius: 8px; padding: 0 16px; background: #fff; color: #4a656c; font-size: 12px; font-weight: 850; }
.store-bulk-actions button.primary { border-color: var(--store-teal); background: var(--store-teal); color: #fff; }

.detail-breadcrumb { margin-bottom: 16px; }
.detail-breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: #54747b; font-size: 12px; font-weight: 800; text-decoration: none; }
.detail-breadcrumb a:hover { color: var(--store-teal); }
.detail-breadcrumb svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border: 1px solid var(--store-line); border-top: 4px solid var(--store-teal); border-radius: 10px; padding: 22px 24px; background: #fff; box-shadow: var(--store-shadow); }
.detail-hero h2 { margin: 8px 0 4px; color: var(--store-navy); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.03em; }
.detail-hero p { margin: 0; color: var(--store-muted); font-size: 13px; }
.detail-hero-code { color: #536e75; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; }
.detail-brand { display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px; padding: 0 10px; background: #e8f4f1; color: #237772; font-size: 11px; font-weight: 850; }
.detail-brand.is-colmo { background: #f2eaf7; color: #795087; }
.detail-source { flex: 0 0 auto; color: var(--store-muted); font-size: 11px; text-align: right; }
.detail-hero-actions { display: grid; justify-items: end; gap: 12px; }
.detail-hero-actions > div { display: flex; gap: 8px; }
.detail-hero-actions button { min-height: 36px; border: 1px solid #83bdb5; border-radius: 7px; padding: 0 14px; background: #e8f5f2; color: #176c67; font-size: 12px; font-weight: 850; }
.detail-hero-actions button.danger { border-color: #e1aaa5; background: #fff6f5; color: #b5473e; }
.detail-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.detail-overview-card { min-width: 0; border: 1px solid var(--store-line); border-radius: 10px; padding: 14px 16px; background: rgba(255, 255, 255, .95); }
.detail-overview-card span { display: block; color: var(--store-muted); font-size: 11px; }
.detail-overview-card strong { display: block; overflow: hidden; margin-top: 5px; color: var(--store-navy); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.detail-fields-panel { margin-top: 14px; border: 1px solid var(--store-line); border-radius: 10px; padding: 20px; background: #fff; box-shadow: var(--store-shadow); }
.detail-fields-panel h3 { margin: 0 0 14px; color: var(--store-navy); font-size: 19px; }
.detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.detail-field { min-width: 0; border-left: 3px solid #d9eeea; border-radius: 5px; padding: 9px 11px; background: #f7faf9; }
.detail-field-label { display: block; color: #6b8085; font-size: 10px; font-weight: 850; }
.detail-field-value { display: block; margin-top: 3px; color: #29434b; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; }
.detail-field.is-missing { border: 1.5px solid #d95656; border-left-width: 3px; background: #fff4f3; }
.detail-field.is-missing .detail-field-value { color: #bd3434; font-weight: 850; }
.store-edit-dialog { width: min(820px, calc(100% - 28px)); max-height: min(86vh, 900px); border: 0; border-radius: 14px; padding: 0; background: #fff; color: var(--store-ink); box-shadow: 0 24px 70px rgba(16,61,85,.28); }
.store-edit-dialog::backdrop { background: rgba(12,37,48,.48); backdrop-filter: blur(2px); }
.store-edit-dialog form { padding: 22px; }
.store-edit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; max-height: 58vh; overflow-y: auto; padding: 3px; }
.store-edit-fields label { display: grid; gap: 5px; min-width: 0; color: #587078; font-size: 11px; font-weight: 800; }
.store-edit-fields input,
.store-edit-fields select { width: 100%; min-height: 41px; box-sizing: border-box; border: 1px solid #cfe0dc; border-radius: 8px; padding: 0 10px; outline: 0; background: #fbfdfc; color: var(--store-ink); font-size: 12px; }
.store-edit-fields input:focus,
.store-edit-fields select:focus { border-color: var(--store-teal); box-shadow: 0 0 0 3px rgba(42,145,141,.1); }
.store-add-dialog { width: min(860px, calc(100% - 28px)); }
.store-type-fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; border: 1px solid #cfe0dc; border-radius: 9px; padding: 10px 12px 12px; }
.store-type-fieldset legend { padding: 0 5px; color: #587078; font-size: 11px; font-weight: 850; }
.store-type-checkboxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.store-type-checkboxes label { display: flex; min-height: 36px; align-items: center; gap: 7px; border: 1px solid #d8e6e3; border-radius: 7px; padding: 0 9px; background: #f8fbfa; color: #29434b; font-size: 12px; font-weight: 700; cursor: pointer; }
.store-type-checkboxes input { width: 16px; min-height: 16px; height: 16px; margin: 0; accent-color: var(--store-teal); }
.detail-not-found { border: 1px dashed #b8cdc8; border-radius: 10px; padding: 70px 20px; background: #fff; text-align: center; }
.detail-not-found h2 { margin: 0 0 6px; color: var(--store-navy); }
.detail-not-found p { margin: 0 0 18px; color: var(--store-muted); font-size: 12px; }
.detail-not-found a { display: inline-flex; min-height: 40px; align-items: center; border-radius: 8px; padding: 0 14px; background: var(--store-navy); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }

@media (min-width: 1440px) {
  .store-topbar-inner,
  .store-detail-topbar-inner { width: min(1880px, calc(100% - 72px)); }
  .store-shell,
  .store-detail-shell { width: min(1880px, calc(100% - 72px)); padding-top: 32px; }
  .store-table td { padding-top: 14px; padding-bottom: 14px; }
}

@media (min-width: 2000px) {
  .store-topbar-inner,
  .store-detail-topbar-inner { width: min(2040px, calc(100% - 96px)); }
  .store-shell,
  .store-detail-shell { width: min(2040px, calc(100% - 96px)); }
  .store-table th:nth-child(4) { width: 29%; }
  .store-table th:nth-child(8) { width: 19%; }
}

@media (max-width: 1200px) {
  .store-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-search { grid-column: 1 / -1; }
  .store-reset { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .store-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-search { grid-column: 1 / -1; }
  .store-reset { grid-column: 1 / -1; }
  .store-table { min-width: 1380px; }
  .store-region-interaction { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .store-topbar-inner,
  .store-detail-topbar-inner { min-height: 116px; padding: 20px 0 22px; }
  .store-home,
  .store-back { width: 46px; height: 46px; border-radius: 12px; }
  .store-topbar h1,
  .store-detail-topbar h1 { font-size: 26px; }
  .store-topbar p,
  .store-detail-topbar p { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .store-shell,
  .store-detail-shell { padding-top: 18px; padding-bottom: 54px; }
  .store-summary,
  .detail-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-region-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-stat { padding: 12px 13px; }
  .store-stat strong { font-size: 23px; }
  .store-toolbar { padding: 14px; }
  .store-toolbar-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .store-results-head { align-items: flex-start; flex-direction: column; }
  .store-results-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .store-results-actions span { font-size: 11px; }
  .store-source { text-align: left; }
  .store-filters { grid-template-columns: 1fr; }
  .store-search,
  .store-reset { grid-column: auto; }
  .detail-hero { flex-direction: column; padding: 18px; }
  .detail-source { text-align: left; }
  .detail-hero-actions { width: 100%; justify-items: start; }
  .detail-fields-panel { padding: 15px; }
  .detail-fields { grid-template-columns: 1fr; }
  .store-edit-fields { grid-template-columns: 1fr; }
  .store-type-checkboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-region-panel { padding: 14px; }
  .store-bulk-dialog form { padding: 18px; }
  .store-bulk-fields { grid-template-columns: 1fr; }
  .store-bulk-fields > label:last-child { grid-column: auto; }
  .store-region-visual { height: 390px; aspect-ratio: auto; }
  .store-map-reset { left: 8px; top: 8px; }
  .store-map-zoom-controls { right: 8px; bottom: 8px; }
}

@media (max-width: 480px) {
  .store-topbar-inner,
  .store-detail-topbar-inner,
  .store-shell,
  .store-detail-shell { width: calc(100% - 26px); }
  .store-topbar-inner,
  .store-detail-topbar-inner { gap: 11px; }
  .store-home,
  .store-back { width: 42px; height: 42px; }
  .store-home svg,
  .store-back svg { width: 22px; height: 22px; }
  .store-topbar h1,
  .store-detail-topbar h1 { font-size: 24px; }
  .store-results-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .detail-hero h2 { font-size: 25px; }
}
