/* This surface remains phone-sized in desktop browsers. */
#scoutLocationStatus { position: fixed; z-index: 810; left: 50%; bottom: calc(85px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: min(400px, calc(100vw - 30px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 9px; padding: 4px 10px; border: 1px solid #d6e0ee; border-radius: 12px; background: rgba(255,255,255,.96); color: #152033; box-shadow: 0 3px 14px #10223c24; font-size: 12px; line-height: 1.35; }
#mainBottomNav.locations-six-actions { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
body.buyer-account #mainBottomNav.locations-six-actions { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
body.scout-locations-open #mainBottomNav, body.scout-locations-open #scoutLocationStatus { visibility: hidden !important; }
body:not(.camera-open) #scoutLocationStatus, body.scanner-detail-open #scoutLocationStatus, body.ebay-comps-open #scoutLocationStatus { display: none !important; }
#scoutLocationStatus[hidden], .scout-locations-modal [hidden], .scout-locations-modal[hidden] { display: none !important; }
.location-current-name { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.location-status-note { color: var(--ink-soft, #586476); font-size: 11px; }
.scout-locations-modal { position: fixed; inset: 0; z-index: 550; display: grid; place-items: center; background: rgba(3,8,16,.7); color: #152033; font-family: inherit; text-transform: none; letter-spacing: normal; }
.location-sheet { display: flex; flex-direction: column; width: min(100%, 500px); height: 100%; max-height: 100dvh; background: #f7f9fc; overflow: hidden; }
.location-header { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; padding: max(15px, env(safe-area-inset-top)) 16px 13px; border-bottom: 1px solid #dce3ee; background: #fff; }
.location-header h2 { margin: 3px 0 0; font-size: 23px; line-height: 1.15; color: #152033; }
.location-eyebrow { color: #155eef; font-weight: 800; font-size: 10px; letter-spacing: .13em; }
.location-close { width: 40px; height: 40px; border-radius: 50%; background: #f3f6fa; border: 1px solid #d5deec; color: #152033; font-size: 28px; line-height: 1; cursor: pointer; }
.location-content { overflow: auto; overscroll-behavior: contain; padding: 13px 13px max(22px, env(safe-area-inset-bottom)); }
.location-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.location-button { min-height: 40px; padding: 9px 13px; border: 1px solid #d3ddeb; border-radius: 10px; background: #fff; color: #152033; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; line-height: 1.25; letter-spacing: normal; text-transform: none; }
.location-button:disabled, .location-candidate:disabled { opacity: .55; cursor: default; }
.location-primary { background: #155eef; color: white; border-color: #155eef; }
.location-text-button { min-height: 32px; padding: 5px 6px; border: 0; background: transparent; color: #155eef; font: inherit; font-weight: 750; font-size: 12px; letter-spacing: normal; text-transform: none; cursor: pointer; }
.location-button:focus-visible, .location-text-button:focus-visible, .location-close:focus-visible, .location-candidate:focus-visible, .location-store-select:focus-visible, .location-input:focus-visible { outline: 3px solid #7ba9ff; outline-offset: 2px; }
.location-muted, .location-small { color: #5a677a; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.location-small { font-size: 11px; }
.location-notice { padding: 11px 12px; background: #edf3ff; border: 1px solid #d5e2fc; color: #294675; font-size: 12px; line-height: 1.5; border-radius: 11px; }
.location-map-frame { display: block; width: 100%; height: clamp(250px, 39dvh, 355px); border: 1px solid #d4deea; border-radius: 13px; background: #e9eef5; }
.location-legend { display: flex; flex-wrap: wrap; gap: 7px 13px; padding-top: 11px; }
.location-legend-item { display: inline-flex; align-items: center; gap: 5px; color: #44536a; font-size: 10px; }
.location-dot { display: inline-block; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.location-dot-red { background: #d63343; }
.location-dot-yellow { background: #efb527; }
.location-dot-green { background: #1b9566; }
.location-dot-gray { background: #8793a4; }
.location-store-list { display: grid; gap: 9px; }
.location-store { background: #fff; border: 1px solid #d9e1ed; border-radius: 12px; overflow: hidden; }
.location-store-selected { border-color: #155eef; box-shadow: 0 0 0 2px #b9d1ff; }
.location-store-select { display: flex; width: 100%; align-items: flex-start; gap: 10px; padding: 13px 12px; background: transparent; border: 0; color: #152033; text-align: left; text-transform: none; letter-spacing: normal; font-family: inherit; cursor: pointer; }
.location-store-select > .location-dot { margin-top: 4px; }
.location-store-description { display: grid; gap: 4px; min-width: 0; }
.location-store-description strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.location-visit { font-size: 11px; line-height: 1.4; font-weight: 700; color: #3c4b60; }
.location-attribution { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; padding: 3px 12px 9px; font-size: 11px; line-height: 1.3; color: #5e5e5e; }
.location-google-attribution { font: 400 12px/1.3 Arial, sans-serif; color: #5e5e5e; white-space: nowrap; letter-spacing: normal; text-transform: none; }
.location-attribution a { color: #5e5e5e; text-decoration: underline; }
#scoutLocationStatus .location-attribution { padding: 0; }
.location-store-admin { display: flex; gap: 12px; border-top: 1px solid #eef1f6; padding: 1px 10px; }
.location-candidates:empty, .location-admin:empty { display: none; }
.location-candidates, .location-admin { margin: 10px 0 15px; padding: 13px; border: 1px solid #d5dfed; border-radius: 13px; background: #fff; }
.location-candidates h3, .location-admin h3 { margin: 0 0 8px; font-size: 16px; color: #152033; }
.location-candidate { display: grid; gap: 5px; width: 100%; padding: 12px; margin-top: 9px; border: 1px solid #c9d8ef; border-radius: 11px; background: #f6f9ff; color: #152033; text-align: left; font: inherit; font-size: 13px; text-transform: none; letter-spacing: normal; cursor: pointer; }
.location-form { display: grid; gap: 13px; }
.location-field { display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: #344258; }
.location-input { width: 100%; min-width: 0; min-height: 41px; padding: 9px; border: 1px solid #ccd7e7; background: #fff; color: #152033; border-radius: 8px; font: inherit; font-size: 14px; text-transform: none; letter-spacing: normal; }
.location-input[type="checkbox"] { width: 24px; height: 24px; min-height: 24px; accent-color: #155eef; }
.location-form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.location-details { border-top: 1px solid #e0e7f1; padding-top: 11px; }
.location-details summary { font-size: 12px; font-weight: 750; cursor: pointer; padding: 4px 0 11px; }
.location-details .location-field { margin-bottom: 12px; }
.location-form-message { margin: 0; font-size: 12px; line-height: 1.5; color: #294675; }
.location-visit-row { padding: 10px 0; border-top: 1px solid #e0e7f1; font-size: 12px; }
.location-void-form { display: grid; gap: 8px; }
.location-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 22px 4px 4px; }
.location-footer a { color: #576b87; font-size: 11px; text-decoration: underline; }
#scoutLocationsMore { display: block; margin: 12px auto 0; }
@media (min-width: 480px) {
  #scoutLocationStatus { bottom: calc(max(12px, (100dvh - var(--desktop-phone-height))/2) + 84px); }
  .scout-locations-modal { inset: 50% auto auto 50%; width: var(--desktop-phone-width, 430px); height: var(--desktop-phone-height, min(932px, calc(100dvh - 24px))); transform: translate(-50%, -50%); border-radius: 34px; overflow: hidden; box-shadow: 0 20px 65px rgba(3,8,16,.3); }
  .location-sheet { max-height: 100%; }
}

/* 2.3.16: compact scan check-in strip; store/city, Change, then status. */
#scoutLocationStatus { box-sizing: border-box; left: 12px; transform: none; flex-wrap: nowrap; gap: 6px; padding: 1px 8px; border-radius: 9px; font-size: 11px; line-height: 1.2; min-height: 30px; max-width: min(400px, calc(100vw - 24px)); }
#scoutLocationStatus .location-current-name { min-width: 0; flex: 0 1 auto; max-width: none; font-size: 11px; }
#scoutLocationStatus .location-text-button { flex-shrink: 0; min-height: 28px; padding: 2px 1px; font-size: 11px; line-height: 1.2; }
#scoutLocationStatus .location-status-note { min-width: 0; font-size: 10px; }
#scoutLocationStatus .location-current-name ~ .location-status-note { flex-shrink: 0; white-space: nowrap; }
#scoutLocationStatus .location-attribution { flex-shrink: 0; gap: 4px; flex-wrap: nowrap; }
@media (min-width: 480px) {
  #scoutLocationStatus { left: max(12px, calc((100vw - var(--desktop-phone-width, 430px)) / 2 + 12px)); }
}
/* Reserve a small status row only while a recorded store is displayed. */
#scoutLocationStatus:has(.location-current-name) { display:grid; grid-template-columns:minmax(0,1fr) auto auto; column-gap:5px; row-gap:0; width:min(310px,calc(100vw - 92px)); max-width:none; height:34px; padding:2px 7px; justify-content:start; }
#scoutLocationStatus .location-current-name { grid-column:1 / 3; grid-row:1; line-height:13px; }
#scoutLocationStatus:has(.location-current-name) .location-text-button { grid-column:3; grid-row:1 / 3; align-self:stretch; min-height:28px; }
#scoutLocationStatus:has(.location-current-name) .location-status-note { grid-column:1; grid-row:2; line-height:13px; }
#scoutLocationStatus:has(.location-current-name) .location-attribution { grid-column:2; grid-row:2; }

/* 2.3.16: compact map history, routing links and filters only. */
.location-map-tools2315 { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.location-map-filters2315 { display:flex; gap:5px; }
.location-map-filters2315 [aria-pressed="true"] { background:#155eef; color:#fff; border-color:#155eef; }
#scoutLocationsFilterGreen[aria-pressed="true"] { background:#138652; border-color:#138652; }
.location-dot-blue2315 { background:#1877ef; }
.location-store-list .location-store-select { box-sizing:border-box; padding:10px; text-decoration:none; align-items:center; gap:8px; }
.location-store-list .location-store-description { flex:1; gap:2px; }
.location-store-list .location-store-description strong { font-size:13px; }
.location-store-list .location-store-description .location-muted { font-size:10px; line-height:1.2; }
.location-store-list .location-navigate2315 { flex-shrink:0; color:#155eef; font-size:10px; font-weight:750; }
.location-store-list .location-attribution { padding:0 10px 5px; font-size:9px; }
.location-store-list .location-google-attribution { font-size:10px; }
.location-record-tools2315 { border-top:1px solid #edf1f6; }
.location-record-tools2315 summary { padding:4px 10px; font-size:10px; color:#5a677a; cursor:pointer; }
.location-record-tools2315 .location-store-admin { border-top:0; flex-wrap:wrap; }

/* 2.3.16: scanner location occupies its reserved lower-left control cell. */
#scannerLocationDock2316 #scoutLocationStatus {
  position:static; inset:auto; transform:none; width:100%; max-width:none;
  min-height:40px; height:auto; margin:0; padding:4px 7px; box-shadow:none;
  justify-content:flex-start; gap:3px 5px; border-radius:10px;
}
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) {
  display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:5px; row-gap:0;
}
#scannerLocationDock2316 #scoutLocationStatus .location-current-name {
  grid-column:1; grid-row:1; font-size:10px; line-height:13px;
}
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) .location-text-button {
  grid-column:2; grid-row:1 / 4; min-height:40px; padding:0 1px; font-size:10px;
}
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) .location-status-note {
  grid-column:1; grid-row:2; font-size:9px; line-height:12px;
}
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) .location-attribution {
  grid-column:1; grid-row:3; font-size:8px; line-height:11px;
}
#scannerLocationDock2316 #scoutLocationStatus .location-google-attribution { font-size:9px; line-height:11px; }
#scannerLocationDock2316 #scoutLocationStatus > .location-status-note:only-child {
  font-size:10px; font-weight:750; letter-spacing:.035em;
}

/* 2.3.16 rebuild: one compact row, vertically centered beside Scan/AI. */
#scannerLocationDock2316 #scoutLocationStatus {
  min-height:32px; padding:0; width:fit-content; max-width:100%;
  background:transparent; border:0; border-radius:0; color:#aebbd0;
}
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) {
  grid-template-rows:auto; align-items:center; column-gap:7px;
}
#scannerLocationDock2316 #scoutLocationStatus .location-current-name { color:#d8e1ef; }
#scannerLocationDock2316 #scoutLocationStatus .location-status-note { color:#aebbd0; }
#scannerLocationDock2316 #scoutLocationStatus:has(.location-current-name) .location-text-button {
  grid-row:1; min-height:32px; color:#83b0ff;
}

/* Expanded map uses the same iframe; only the surrounding layout changes. */
.location-map-tools2315 { flex-wrap:wrap; }
.location-map-frame { touch-action:none; overscroll-behavior:none; }
.location-map-expanded2316 .location-content {
  display:flex; flex-direction:column; flex:1; min-height:0; overflow:hidden;
}
.location-map-expanded2316 .location-content > :not(.location-map-tools2315):not(.location-map-frame):not(.location-legend):not(.location-selected2318):not(.location-manual247):not(#scoutLocationsMessage):not(#scoutLocationsAvailability) { display:none !important; }
.location-map-expanded2316 .location-map-tools2315,
.location-map-expanded2316 .location-legend { flex-shrink:0; }
.location-map-expanded2316 .location-map-frame { flex:1; height:0; min-height:0; }

/* 2.4: one map control row and an expanded-map selection card. */
.location-header { padding: max(10px, env(safe-area-inset-top)) 13px 10px; }
.location-header h2 { margin:0; font-size:22px; }
.location-content { padding:10px 12px max(12px, env(safe-area-inset-bottom)); }
.location-toolbar2318 { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:4px; width:100%; min-width:0; margin-bottom:10px; }
.location-toolbar2318 .location-map-filters2315 { display:flex; flex:1 1 auto; min-width:80px; max-width:108px; gap:0; height:44px; border:1px solid #d3ddeb; border-radius:10px; overflow:hidden; background:#fff; }
.location-toolbar2318 .location-map-filters2315 .location-button { flex:1 1 auto; min-width:0; min-height:42px; padding:0 7px; border:0; border-radius:0; font-size:12px; }
.location-toolbar2318 .location-map-filters2315 .location-button:focus-visible { outline-offset:-3px; }
.location-toolbar2318 .location-map-icon2318 { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; min-height:44px; padding:0; border-radius:10px; }
.location-map-icon2318 svg { display:block; width:21px; height:21px; pointer-events:none; }
.location-change-store2318 { display:block; width:fit-content; margin:-3px 0 8px; }
.location-selected2318 { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:9px; row-gap:3px; margin-top:10px; padding:10px; border:1px solid #ccd9eb; border-radius:13px; background:#fff; box-shadow:0 3px 12px #172a4212; }
.location-selected-heading2318 { grid-column:1; grid-row:1; display:flex; align-items:center; gap:7px; min-width:0; margin:0; color:#152033; font-size:14px; line-height:1.3; }
.location-selected-heading2318 > span:last-child { min-width:0; overflow-wrap:anywhere; }
.location-selected-close2318 { grid-column:2; grid-row:1; justify-self:end; display:grid; place-items:center; width:40px; height:40px; margin:-5px -5px 0 0; padding:0; border:0; border-radius:50%; background:radial-gradient(circle, #edf2f8 15px, transparent 15.5px); color:#344258; font:inherit; font-size:22px; line-height:1; cursor:pointer; }
.location-selected-city2318 { grid-column:1; grid-row:2; margin:0; color:#5a677a; font-size:10px; line-height:1.3; overflow-wrap:anywhere; }
.location-selected-visit2318 { grid-column:1; grid-row:3; margin:0; color:#3c4b60; font-size:11px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.location-selected-navigate2318 { grid-column:2; grid-row:2 / 4; display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:40px; padding:0 10px; border-radius:10px; background:#155eef; color:#fff; font-size:12px; font-weight:750; text-decoration:none; white-space:nowrap; }
.location-selected-navigate2318 svg { width:15px; height:15px; }
.location-selected2318 > .location-attribution { grid-column:1 / -1; grid-row:4; padding:3px 0 0; font-size:9px; }
.location-selected2318 .location-google-attribution { font-size:9px; }
.location-selected-close2318:focus-visible, .location-selected-navigate2318:focus-visible { outline:3px solid #7ba9ff; outline-offset:2px; }
.location-map-expanded2316 .location-selected2318 { flex-shrink:0; }
.location-map-expanded2316 #scoutLocationsMessage { flex-shrink:0; max-height:3.5em; overflow:auto; margin:6px 0 0; font-size:11px; line-height:1.4; }
.location-map-expanded2316 #scoutLocationsMessage:empty { display:none !important; }
.location-map-expanded2316 #scoutLocationsAvailability { flex-shrink:0; margin:0 0 10px; }
.location-map-expanded2316 .location-legend { padding-top:8px; }
@media (max-width:350px) {
  .location-content { padding-inline:8px; }
  .location-toolbar2318 .location-map-icon2318 { flex-basis:40px; width:40px; }
  .location-toolbar2318 .location-map-filters2315 { min-width:80px; max-width:86px; }
  .location-toolbar2318 .location-map-filters2315 .location-button { padding-inline:5px; font-size:11px; }
  .location-selected2318 { column-gap:7px; padding:9px; }
  .location-selected-navigate2318 { padding-inline:8px; font-size:11px; }
}

/* 2.4: permission is handled before the scanner begins. */
.scout-location-permission2320 { position:fixed; inset:0; z-index:6000; display:grid; place-items:center; box-sizing:border-box; padding:max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background:#07101f99; overflow-y:auto; overscroll-behavior:contain; }
.scout-location-permission2320[hidden] { display:none !important; }
.location-permission-sheet2320 { box-sizing:border-box; width:min(100%, 390px); padding:22px; border:1px solid #d4dfef; border-radius:20px; background:#fff; color:#172133; box-shadow:0 18px 60px #0004; }
.location-permission-sheet2320 h2 { margin:0 0 12px; font-size:22px; line-height:1.25; }
.location-permission-sheet2320 p { margin:0; font-size:15px; line-height:1.5; color:#4c5c73; }
.location-permission-actions2320 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:10px; margin-top:22px; }
.location-permission-actions2320 .location-button { min-height:46px; padding:9px 10px; font-size:14px; line-height:1.25; }
.location-permission-actions2320 .location-permission-primary2320 { background:#155eef; border-color:#155eef; color:#fff; }
.location-permission-actions2320 .location-button:focus-visible { outline:3px solid #7ba9ff; outline-offset:3px; }
.location-permission-actions2320 .location-button:disabled { opacity:.65; cursor:wait; }
body.scout-location-permission-open2320 { overflow:hidden; }
@media (max-width:350px) { .location-permission-sheet2320 { padding:18px; } .location-permission-sheet2320 h2 { font-size:20px; } }

/* 2.4.1: catalog actions and collapsible, labeled filters. Existing toolbar stays one row. */
.location-catalog241 { display:flex; align-items:flex-start; gap:8px; margin:0 0 10px; min-width:0; }
.location-catalog241 > .location-button { min-height:44px; font-size:12px; padding:8px 10px; flex:0 0 auto; }
.location-filters241 { flex:1; min-width:0; border:1px solid #d3ddeb; border-radius:10px; background:#fff; }
.location-filters241 summary { min-height:44px; box-sizing:border-box; padding:12px 10px; cursor:pointer; font-size:12px; font-weight:750; color:#172133; }
.location-catalog241:has(.location-filters241[open]) { flex-wrap:wrap; }
.location-catalog241 .location-filters241[open] { flex-basis:100%; }
.location-filter-grid241 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:0 10px 12px; }
.location-filter-field241 { display:flex; flex-direction:column; gap:5px; min-width:0; font-size:12px; font-weight:700; color:#344258; }
.location-filter-field241 select,.location-filter-field241 input { box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:8px; border:1px solid #cbd7e8; border-radius:8px; background:#f8faff; color:#172133; font:inherit; font-size:16px; }
.location-filter-search241 { grid-column:1 / -1; }
.location-area-message241 { font-size:12px; line-height:1.4; color:#4d607b; margin:0 0 10px; }
.location-area-message241:empty { display:none; }
.location-filtered-visit241 { font-size:11px; color:#4d607b; }
.location-filter-field241 select:focus-visible,.location-filter-field241 input:focus-visible,.location-filters241 summary:focus-visible { outline:3px solid #7ba9ff; outline-offset:2px; }

/* 2.4.2: compact visit rows, with credits and record tools sharing a footer. */
.location-store-list { width:100%; max-width:400px; min-width:0; margin-inline:auto; gap:7px; }
.location-store-list .location-store { display:grid; grid-template-columns:minmax(0,1fr) auto; border-radius:10px; }
.location-store-list .location-store-select { grid-column:1 / -1; min-width:0; min-height:54px; padding:6px 9px 4px; gap:7px; }
.location-store-list .location-store-select > .location-dot { margin-top:0; }
.location-store-list .location-store-description { display:block; min-width:0; line-height:1.35; }
.location-store-list .location-store-description strong { font-size:13px; line-height:1.35; }
.location-store-list .location-store-description > .location-muted { display:inline-block; max-width:100%; font-size:11px; line-height:1.35; white-space:normal; vertical-align:baseline; }
.location-store-list .location-store-description > .location-muted::before { content:" · "; }
.location-store-list .location-store-description > .location-visit,
.location-store-list .location-store-description > .location-filtered-visit241 { display:block; margin-top:2px; font-size:11px; line-height:1.35; overflow-wrap:anywhere; }
.location-store-list .location-navigate2315 { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-width:60px; min-height:44px; padding-inline:2px; font-size:11px; line-height:1.2; white-space:nowrap; }
.location-store-list .location-attribution { grid-column:1; grid-row:2; min-width:0; align-self:center; margin:0; padding:2px 9px 5px; gap:2px 7px; }
.location-store-list .location-record-tools2315 { grid-column:2; grid-row:2; min-width:0; border-top:0; align-self:end; }
.location-store-list .location-record-tools2315 summary { box-sizing:border-box; min-height:28px; padding:7px 9px 6px; font-size:10px; line-height:1.3; white-space:nowrap; }
.location-store-list .location-record-tools2315[open] { grid-column:1 / -1; grid-row:3; border-top:1px solid #edf1f6; }
.location-store-list .location-record-tools2315 .location-store-admin { padding:0 6px 4px; gap:5px 10px; }
.location-store-list .location-store:has(.location-record-tools2315[open]) .location-attribution { padding-bottom:4px; }

/* 2.4.5: visited members stay below the map without moving the page. */
.location-members245 { grid-column:1 / -1; min-width:0; border-top:1px solid #dce4ee; margin-top:6px; padding-top:8px; }
.location-members245 h4 { margin:0 0 6px; color:#344258; font-size:12px; }
.location-members-list245 { margin:0; padding:0; list-style:none; max-height:190px; overflow-y:auto; overscroll-behavior:contain; }
.location-member245 { display:flex; align-items:center; gap:9px; min-width:0; padding:8px 0; border-top:1px solid #edf1f6; }
.location-member245:first-child { border-top:0; }
.location-member-details245 { display:flex; flex-direction:column; flex:1; min-width:0; gap:3px; }
.location-member-details245 strong { color:#152033; font-size:13px; overflow-wrap:anywhere; }
.location-member-visit245 { color:#5a677a; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.location-member-navigate245 { display:inline-flex; align-items:center; min-height:40px; padding:0 3px; color:#155eef; font-size:12px; font-weight:700; text-decoration:none; }
.location-member-navigate245:focus-visible { outline:3px solid #7ba9ff; outline-offset:2px; }
.location-map-expanded2316 .location-members-list245 { max-height: min(150px, 22dvh); }

button.location-store-select { width:100%; background:transparent; border:0; font:inherit; text-align:left; cursor:pointer; }
/* 2.4.7 manual map actions; scanner styling is unchanged. */
.location-catalog241{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)}
.location-manual247{background:#fff;border:1px solid #d6dfed;border-radius:16px;padding:16px;margin:12px 0}
.location-manual247[hidden]{display:none!important}
.location-manual-form247{display:grid;gap:12px;min-width:0}
.location-manual-form247 h3,.location-manual-form247 p{margin:0}
.location-manual-form247 .location-input{width:100%;box-sizing:border-box;min-width:0;font-size:16px}
.location-manual-actions247{display:flex;gap:12px;flex-wrap:wrap}
.location-store,.location-selected2318,.location-member245{position:relative}
.location-store-list .location-store-select{padding-right:48px}
.location-member245{padding-right:44px}
.location-selected2318:has(>.location-visit-circle249:not([hidden]))>.location-selected-close2318{margin-right:39px}
.location-visit-circle249{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;box-shadow:none}
.location-visit-circle249[hidden]{display:none!important}
.location-visit-mark249{box-sizing:border-box;display:grid;place-items:center;width:22px;height:22px;border:2px solid #8b9aae;border-radius:50%;background:transparent;color:#fff;font:800 14px/1 system-ui}
.location-visit-circle249.is-visited249 .location-visit-mark249{border-color:#12835b;background:#12835b}
.location-visit-circle249.is-visited249 .location-visit-mark249::after{content:'✓'}
.location-visit-circle249.is-saving249 .location-visit-mark249::after{content:'…';color:#52657d}
.location-visit-circle249:disabled{opacity:1;cursor:default}
.location-visit-circle249:focus-visible{outline:3px solid #7ba9ff;outline-offset:-3px}
.location-map-expanded2316 .location-manual247:not([hidden]){flex:none;max-height:45dvh;overflow:auto}
@media(max-width:400px){.location-catalog241>.location-button,.location-catalog241 summary{font-size:12px;padding:10px 6px}.location-manual247{padding:12px}}

.location-catalog241 .location-filters241[open]{grid-column:1/-1}
