/* S2 adopts the existing semantic foundation inside the store list only. */
body.app-body main.stores-surface.stores-reference.stores-s2 {
  --sr-paper:var(--color-surface);--sr-ink:var(--color-text);--sr-muted:var(--color-text-muted);
  --sr-line:var(--color-border);--sr-wash:var(--color-surface-sunken);--sr-pink:var(--color-text);
  --background:var(--color-surface);--card:var(--color-surface);--card-foreground:var(--color-text);
  --popover:var(--color-surface);--popover-foreground:var(--color-text);--foreground:var(--color-text);
  --muted:var(--color-surface-sunken);--muted-foreground:var(--color-text-muted);--border:var(--color-border);
  --primary:var(--color-text);--primary-hover:var(--color-text-muted);--primary-foreground:var(--color-text-inverse);
  --secondary:var(--color-surface-sunken);--secondary-foreground:var(--color-text);
  --accent:var(--color-surface-sunken);--accent-foreground:var(--color-text);--ring:var(--color-focus);
  --pt-store-ink:var(--color-text);--pt-white-ink:var(--color-text);
  font-size:14px;background:var(--color-surface)!important;color:var(--color-text)!important;
}
/* Important legacy overrides already live in this earliest foundation layer. */
@layer pinktalk-tokens {
body.app-body main.stores-surface.stores-reference.stores-s2 {background:var(--color-surface)!important;color:var(--color-text)!important;font-size:14px!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(button,[data-slot="button"],[data-slot="select-trigger"],a) {
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(button,[data-slot="button"],[data-slot="select-trigger"]) {
  color:var(--color-text)!important;background:var(--color-surface)!important;border-color:var(--color-border)!important;
  border-radius:var(--radius-full)!important;box-shadow:none!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(button,[data-slot="button"],[data-slot="select-trigger"]):hover:not(:disabled) {
  background:var(--color-surface-sunken)!important;color:var(--color-text)!important;border-color:var(--color-border-strong)!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-advanced-filters,.store-nearby-controls,.store-item-actions) [aria-pressed="true"],
body.app-body main.stores-surface.stores-reference.stores-s2 .store-quick-filters [aria-expanded="true"] {
  background:var(--color-text)!important;color:var(--color-text-inverse)!important;border-color:var(--color-text)!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-quick-filters .store-nearby-pill[aria-pressed="true"] {
  background:color-mix(in srgb,var(--color-accent) 12%,var(--color-surface))!important;
  color:var(--color-accent)!important;border-color:var(--color-accent)!important;box-shadow:none!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-filter-chips .store-benefit-toggle[aria-pressed="true"] {
  border-color:var(--color-accent)!important;background:var(--color-accent)!important;color:var(--color-text-inverse)!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-register-action,.store-reference-primary)[data-slot="button"] {
  background:var(--color-text)!important;color:var(--color-text-inverse)!important;border-color:var(--color-text)!important;border-radius:var(--radius-full)!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-register-action,.store-reference-primary)[data-slot="button"]:hover {
  background:var(--color-text-muted)!important;color:var(--color-text-inverse)!important;border-color:var(--color-text-muted)!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-notification-count,.filter-count) {
  background:var(--color-text)!important;color:var(--color-text-inverse)!important;border:0!important;box-shadow:none!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-results-reset,.store-my-country,.store-update-delayed,.store-location-change,.store-reference-other) {
  color:var(--color-text-muted)!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-search-field {border-radius:var(--radius-full)!important;box-shadow:var(--shadow-1)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-search-field :is(button,[data-slot="button"]) {background:transparent!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-category-chip {display:block!important;grid-column:1/-1!important;flex-basis:100%!important;width:100%!important;min-width:0!important;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-category-label {display:block;margin:0 0 2px;font-size:12px;font-weight:600;color:var(--color-text-muted)}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-s2-categories {display:flex!important;gap:4px;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding:2px;padding:2px;background:transparent!important;border:0!important;border-radius:0!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-quick-filters .store-filter-toggle {flex-wrap:nowrap!important;gap:4px!important;padding-inline:8px!important;white-space:nowrap!important;overflow-wrap:normal!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-s2-control-label {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-filter-toggle .filter-count {display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;border-radius:var(--radius-full);font-size:10px;line-height:1}
body.app-body main.stores-surface.stores-reference.stores-s2 .site-hero-actions svg {color:var(--color-text)!important;stroke:currentColor!important}
body.app-body main.stores-surface.stores-reference.stores-s2 #store-category.store-s2-categories {background:transparent!important;padding:2px!important;border:0!important;border-radius:0!important}
body.app-body main.stores-surface.stores-reference.stores-s2 #store-category.store-s2-categories>.store-s2-category-option[data-slot="button"] {display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-height:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;background:transparent!important;line-height:1.4!important;white-space:nowrap!important;overflow-wrap:normal!important}
body.app-body main.stores-surface.stores-reference.stores-s2 #store-category.store-s2-categories .store-s2-chip-face {display:flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:4px 12px!important;border:1px solid var(--color-border)!important;border-radius:var(--radius-full)!important;font-size:12px!important;font-weight:600!important;color:var(--color-text)!important;background:var(--color-surface)!important;white-space:nowrap!important}
body.app-body main.stores-surface.stores-reference.stores-s2 #store-category.store-s2-categories .store-s2-category-option[aria-pressed="true"] .store-s2-chip-face {color:var(--color-text-inverse)!important;background:var(--color-text)!important;border-color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-item-image {border-radius:14px!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.site-list-panel,.store-item-row) {background:transparent!important;border-color:var(--color-border)!important;box-shadow:none!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-item-info h3 {font-size:15px!important;font-weight:700!important;color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-item-info p {font-size:12px!important;color:var(--color-text-muted)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-s2-badges {display:flex;flex-wrap:wrap;align-items:center;gap:6px}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-s2-payment[data-slot="badge"] {max-width:100%;padding:2px 5px;border:1px solid var(--color-border-strong)!important;border-radius:5px!important;background:transparent!important;color:var(--color-text-muted)!important;font-size:10.5px!important;font-weight:700!important;line-height:1.35!important;white-space:normal;overflow-wrap:anywhere;box-shadow:none!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-s2-payment[data-payment-kind="full"][data-slot="badge"] {border-color:var(--color-text)!important;color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-event-badge[data-slot="badge"] {border:1px solid var(--color-accent)!important;background:transparent!important;color:var(--color-text)!important;font-size:10.5px;font-weight:700;border-radius:var(--radius-full)!important;gap:5px;box-shadow:none!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-benefit-dot {display:inline-block;flex:none;width:6px;height:6px;border-radius:var(--radius-full);background:var(--color-accent)}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-s2-featured,.store-s2-photo-count)[data-slot="badge"] {border:1px solid var(--color-border-strong)!important;background:var(--color-surface)!important;color:var(--color-text-muted)!important;box-shadow:none!important;font-size:10.5px!important;font-weight:700!important;border-radius:var(--radius-full)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-reference-icon :is(svg,svg path) {color:var(--color-text)!important;stroke:currentColor!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-reference-empty {color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-results-layout aside :is(a,strong,h2,svg) {color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-results-layout aside span {color:var(--color-text-muted)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-results-layout aside :is(div,a,span) {border-color:var(--color-border)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .store-results-layout aside>div {background:var(--color-surface)!important;border-radius:14px!important;box-shadow:none!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .pt-store-map-selected-row {border-inline-start:3px solid var(--color-accent)!important;background:var(--color-surface-sunken)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .pt-store-map-selected-row h3 {color:var(--color-accent)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .pt-store-map {color:var(--color-text)}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.pt-map-frame,.pt-map-fallback) {border-color:var(--color-border)!important;background:var(--color-surface-sunken)!important;border-radius:14px}
body.app-body main.stores-surface.stores-reference.stores-s2 .pt-map-progress {background:var(--color-surface)!important;color:var(--color-text-muted)!important;box-shadow:var(--shadow-1)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.pt-map-status,.pt-map-store-heading) {color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.pt-map-hint,.pt-map-store-address,.pt-map-footer,.pt-map-payment) {color:var(--color-text-muted)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.pt-map-external,.pt-store-map-external) {color:var(--color-text)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 .pt-map-store-choice[aria-pressed="true"] {border-color:var(--color-accent)!important;color:var(--color-accent)!important;background:var(--color-surface)!important}
body.app-body main.stores-surface.stores-reference.stores-s2 :is(.store-results-reset,.store-reference-other,.store-my-country,.store-update-delayed,.store-location-change,button,a,[data-slot="select-trigger"]):focus-visible,
body.app-body main.stores-surface.stores-reference.stores-s2 .store-search-field:focus-within {outline:2px solid var(--color-focus)!important;outline-offset:3px!important}
/* Portal controls are scoped to an active S2 store list, never registration. */
body.app-body:has(main.stores-s2) [data-native-picker="country"] {background:var(--color-surface)!important;color:var(--color-text)!important;border:1px solid var(--color-border)!important;border-radius:20px!important;box-shadow:none!important}
body.app-body:has(main.stores-s2) [data-native-picker="country"] [data-slot="command"] {background:var(--color-surface)!important;color:var(--color-text)!important}
body.app-body:has(main.stores-s2) [data-native-picker="country"] [data-slot="command-item"][data-selected="true"] {background:var(--color-text)!important;color:var(--color-text-inverse)!important}
@media(prefers-reduced-motion:reduce) {
  body.app-body main.stores-surface.stores-reference.stores-s2 *,body.app-body:has(main.stores-s2) [data-native-picker="country"] {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
}
