/* [project]/node_modules/@fontsource-variable/figtree/index.css [app-client] (css) */
@font-face {
  font-family: Figtree Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../media/figtree-latin-ext-wght-normal.3a0f7841.woff2") format("woff2-variations");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Figtree Variable;
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../media/figtree-latin-wght-normal.f755e4bc.woff2") format("woff2-variations");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --font-sans: "Figtree Variable", Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: .16s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .26s cubic-bezier(.4, 0, .2, 1);
  --sidebar-width: 88px;
  --tabbar-height: 64px;
  --header-height: 56px;
}

:root, [data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg-primary: #0a1410;
  --bg-secondary: #101c16;
  --bg-card: #111d17;
  --bg-card-hover: #172620;
  --bg-glass: #111d17;
  --bg-input: #0d1813;
  --bg-hover: #e7f1eb0f;
  --text-primary: #e7f1eb;
  --text-secondary: #a8bdb1;
  --text-muted: #8aa095;
  --text-on-accent: #04251a;
  --accent: #34d399;
  --accent-hover: #6ee7b7;
  --accent-glow: #34d39933;
  --success: #34d399;
  --warning: #f5b94a;
  --danger: #f87171;
  --deal: #ffa27e;
  --deal-bg: #3a1d12;
  --border: #1f3027;
  --border-hover: #2e463a;
  --shadow-sm: 0 1px 2px #00000059;
  --shadow-md: 0 2px 10px #00000059;
  --shadow-lg: 0 14px 36px #00000080;
  --scrim: #0000008c;
  --theme-toggle-bg-light: #ffffff0f;
  --theme-toggle-bg-light-hover: #ffffff1a;
}

[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg-primary: #f4f7f5;
  --bg-secondary: #e9efeb;
  --bg-card: #fff;
  --bg-card-hover: #f7faf8;
  --bg-glass: #fff;
  --bg-input: #fff;
  --bg-hover: #0c22180d;
  --text-primary: #0c2218;
  --text-secondary: #4b6155;
  --text-muted: #5e7366;
  --text-on-accent: #fff;
  --accent: #0a7f59;
  --accent-hover: #07694a;
  --accent-glow: #0a7f5929;
  --success: #0a7f59;
  --warning: #b45309;
  --danger: #b42318;
  --deal: #a93a15;
  --deal-bg: #ffe9df;
  --border: #e1e8e3;
  --border-hover: #cfd9d3;
  --shadow-sm: 0 1px 2px #0c22180f;
  --shadow-md: 0 2px 10px #0c221812;
  --shadow-lg: 0 14px 36px #0c221824;
  --scrim: #0c221873;
  --theme-toggle-bg-light: #0000000f;
  --theme-toggle-bg-light-hover: #0000001f;
}

*, :before, :after {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.app-shell {
  min-height: 100dvh;
  display: flex;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 1.75rem 3rem;
}

.page-header {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.page-title {
  letter-spacing: -.02em;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-subtitle {
  color: var(--text-secondary);
  margin: .25rem 0 0;
  font-size: .95rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
}

.card + .card {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  color: var(--text-secondary);
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
  display: block;
}

.form-input, .form-select {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-input);
  width: 100%;
  color: var(--text-primary);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  padding: .65rem .85rem;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.form-error {
  color: var(--danger);
  margin-bottom: .75rem;
  font-size: .9rem;
}

.form-success {
  color: var(--success);
  margin-bottom: .75rem;
  font-size: .9rem;
}

.form-hint {
  color: var(--text-muted);
  margin-top: .35rem;
  font-size: .8rem;
}

.btn {
  border-radius: var(--radius-md);
  font: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  font-size: .95rem;
  font-weight: 700;
  display: inline-flex;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-ghost {
  color: var(--text-secondary);
  background: none;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-lg {
  padding: .75rem 1.25rem;
}

.theme-toggle {
  border-radius: 999px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
}

[data-theme="light"] .theme-toggle {
  background: var(--theme-toggle-bg-light);
}

[data-theme="light"] .theme-toggle:hover:not(:disabled) {
  background: var(--theme-toggle-bg-light-hover);
}

.btn-danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
  background: none;
}

.auth-page {
  min-height: 100dvh;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.auth-theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
}

.auth-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto .85rem;
  display: block;
}

.auth-title {
  text-align: center;
  margin: 0 0 .25rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.auth-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: .95rem;
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 1.25rem;
  font-size: .9rem;
}

.badge {
  background: var(--accent-glow);
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 999px;
  align-items: center;
  padding: .15rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.badge-muted {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

.settings-tabs {
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.tab-btn {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  background: none;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .85rem;
  font-weight: 600;
}

.tab-btn.active {
  background: var(--accent-glow);
  color: var(--accent-hover);
  border-color: #0000;
}

.stack {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  align-items: start;
  gap: 1rem;
  display: grid;
}

.group-pricing-editor {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  gap: .6rem;
  margin-bottom: 1rem;
  padding: .85rem;
  display: grid;
}

.group-pricing-editor .form-label {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
}

.search-bar-card {
  z-index: 5;
  position: sticky;
  top: .75rem;
}

.search-row {
  align-items: stretch;
  gap: .6rem;
  display: flex;
}

.search-input {
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
}

.search-meta {
  align-items: center;
  gap: .5rem;
  padding: 0 .15rem;
  font-size: .9rem;
  display: flex;
}

.search-timings {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: .4rem 1rem;
  padding: .25rem .15rem;
  font-size: .75rem;
  display: flex;
}

.search-timings span {
  white-space: nowrap;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: .35;
  }

  50% {
    opacity: .7;
  }
}

.skeleton-row {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  align-items: center;
  gap: .85rem;
  padding: .65rem 1rem;
  animation: 1.4s ease-in-out infinite skeleton-pulse;
  display: flex;
}

.skeleton-thumb {
  background: var(--bg-hover);
  border-radius: 8px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.skeleton-lines {
  flex-direction: column;
  flex: 1;
  gap: .45rem;
  display: flex;
}

.skeleton-line {
  background: var(--bg-hover);
  border-radius: 4px;
  height: .85rem;
}

.skeleton-line:first-child {
  width: 65%;
}

.skeleton-line:last-child {
  width: 40%;
}

.search-pending {
  background: var(--accent);
  vertical-align: middle;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  animation: 1.2s ease-in-out infinite pulse-status;
  display: inline-block;
}

.product-list {
  flex-direction: column;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.product-row {
  color: inherit;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  align-items: center;
  gap: .85rem;
  padding: .65rem 1rem;
  text-decoration: none;
  display: flex;
}

.product-result-card-header {
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: .75rem;
  display: flex;
}

.product-image {
  object-fit: contain;
  background: var(--surface-subtle, #80808014);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: block;
}

.product-image--thumb {
  width: 48px;
  height: 48px;
}

.product-image--detail {
  width: min(220px, 40vw);
  max-width: 100%;
  height: min(220px, 40vw);
}

.product-image--placeholder {
  border: 1px dashed var(--border);
}

.product-row-image {
  margin: 0;
}

.favorite-star {
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  padding: 2px;
  transition: opacity .15s;
  display: inline-flex;
}

.favorite-star:hover {
  opacity: .85;
}

.favorite-star-pending {
  pointer-events: none;
  opacity: .5;
}

.product-row-fav {
  flex-shrink: 0;
  margin-right: -.25rem;
}

.product-row-main {
  flex: 1;
  min-width: 0;
}

.product-detail-hero {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
  display: flex;
}

.product-detail-image {
  box-shadow: var(--shadow-sm);
}

.product-gallery {
  flex-direction: column;
  gap: .6rem;
  width: min(320px, 60vw);
  max-width: 100%;
  display: flex;
}

.product-gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.product-gallery-image {
  object-fit: contain;
  background: var(--surface-subtle, #80808014);
  width: 100%;
  height: 100%;
}

.product-gallery-image-trigger {
  cursor: zoom-in;
  background: none;
  border: none;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
}

.product-gallery-image-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.product-gallery-arrow {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  width: 2rem;
  height: 2rem;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  opacity: .85;
  transition: opacity var(--transition), background var(--transition);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.product-gallery-arrow:hover {
  background: var(--bg-card);
  opacity: 1;
}

.product-gallery-arrow:focus-visible, .product-gallery-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-gallery-arrow--prev {
  left: .5rem;
}

.product-gallery-arrow--next {
  right: .5rem;
}

.product-gallery-thumbs {
  flex-wrap: wrap;
  gap: .4rem;
  display: flex;
}

.product-gallery-thumb {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .7;
  width: 52px;
  height: 52px;
  transition: border-color var(--transition), opacity var(--transition);
  background: none;
  padding: 0;
  overflow: hidden;
}

.product-gallery-thumb:hover, .product-gallery-thumb--active {
  border-color: var(--accent);
  opacity: 1;
}

.product-gallery-thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.product-lightbox-overlay {
  z-index: 110;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #000c;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.product-lightbox-content {
  justify-content: center;
  align-items: center;
  width: min(90vw, 1200px);
  max-width: 100%;
  height: min(90vh, 1000px);
  max-height: 100%;
  display: flex;
  position: relative;
}

.product-lightbox-content img {
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle, #80808014);
  max-width: 90vw;
  max-height: 90vh;
}

.product-lightbox-close, .product-lightbox-arrow {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  opacity: .9;
  transition: opacity var(--transition), background var(--transition);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 1;
  display: flex;
  position: fixed;
}

.product-lightbox-close:hover, .product-lightbox-arrow:hover {
  background: var(--bg-card);
  opacity: 1;
}

.product-lightbox-close:focus-visible, .product-lightbox-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-lightbox-close {
  font-size: 1.25rem;
  top: 1rem;
  right: 1rem;
}

.product-lightbox-arrow {
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.product-lightbox-arrow--prev {
  left: 1.5rem;
}

.product-lightbox-arrow--next {
  right: 1.5rem;
}

.product-detail-title-meta {
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .75rem 0 0;
  font-size: .9rem;
  display: flex;
}

.product-detail-title-meta > div {
  min-width: 0;
}

.product-detail-title-meta dt {
  color: var(--text-muted, var(--text-secondary));
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .75rem;
  font-weight: 700;
}

.product-detail-title-meta dd {
  margin: .1rem 0 0;
}

.product-detail-barcode-value {
  overflow-wrap: anywhere;
  max-width: 22rem;
}

.product-detail-basis-badge {
  background: var(--accent);
  color: var(--text-on-accent, #fff);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
}

.product-detail-meta {
  flex: 1;
  min-width: 12rem;
}

.product-detail-meta h2 {
  margin: 0;
  font-size: 1.05rem;
}

.product-detail-description {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-width: 60ch;
  margin: .45rem 0 0;
}

.product-info-panel {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.product-info-panel-summary {
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
  display: flex;
}

.product-info-panel-summary::-webkit-details-marker {
  display: none;
}

.product-info-panel-summary::marker {
  display: none;
}

.product-info-panel-summary:after {
  color: var(--accent);
  content: "+";
  text-align: center;
  flex: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.product-info-panel[open] > .product-info-panel-summary:after {
  content: "−";
}

.product-info-panel-summary:hover {
  background: var(--bg-hover);
}

.product-info-panel-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: var(--bg-hover);
}

.product-info-sections {
  border-top: 1px solid var(--border);
}

.product-info-section {
  border-bottom: 1px solid var(--border);
}

.product-info-section:last-child {
  border-bottom: none;
}

.product-info-section summary {
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  list-style: none;
  display: flex;
}

.product-info-section summary::-webkit-details-marker {
  display: none;
}

.product-info-section summary::marker {
  display: none;
}

.product-info-section summary:after {
  color: var(--accent);
  content: "+";
  text-align: center;
  flex: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.product-info-section[open] summary:after {
  content: "−";
}

.product-info-section summary:hover {
  background: var(--bg-hover);
}

.product-info-section summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: var(--bg-hover);
}

.price-history-table summary {
  cursor: pointer;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  list-style: none;
  display: flex;
}

.price-history-table summary::-webkit-details-marker {
  display: none;
}

.price-history-table summary::marker {
  display: none;
}

.price-history-table[open] summary {
  margin-bottom: .75rem;
}

.price-history-table summary:hover h2 {
  color: var(--accent);
}

.price-history-table summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.product-info-value {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 0 1.5rem 1.1rem;
}

.nutrition-panel {
  white-space: normal;
}

.nutrition-serving-info {
  color: var(--text-secondary);
  margin: 0 0 .75rem;
  font-size: .9rem;
}

.nutrition-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
}

.nutrition-table caption {
  caption-side: top;
  text-align: left;
}

.nutrition-table th, .nutrition-table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: .5rem .75rem;
}

.nutrition-table thead th {
  border-bottom: 2px solid var(--text-primary);
  color: var(--text-primary);
  font-weight: 700;
}

.nutrition-table thead th:not(:first-child), .nutrition-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.nutrition-table tbody th {
  color: var(--text-primary);
  font-weight: 600;
}

.nutrition-table tbody tr:last-child th, .nutrition-table tbody tr:last-child td {
  border-bottom: none;
}

.nutrition-row-sub th {
  color: var(--text-secondary);
  font-weight: 400;
}

.nutrition-footnotes {
  color: var(--text-secondary);
  margin: .75rem 0 0;
  padding-left: 1.1rem;
  font-size: .8rem;
}

.nutrition-footnotes li {
  margin-bottom: .25rem;
}

.product-row:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  color: inherit;
}

.product-name {
  letter-spacing: -.01em;
  font-weight: 600;
}

.product-meta {
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin-top: .2rem;
  font-size: .85rem;
  display: flex;
}

.product-row-price {
  text-align: right;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
  gap: .2rem;
  display: flex;
}

.product-row-price-top {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.price-value {
  font-variant-numeric: tabular-nums;
  color: var(--accent-hover);
  font-weight: 700;
}

.price-stores {
  font-size: .8rem;
}

.unit-price-value {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
}

.table-wrap {
  margin-top: .85rem;
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
}

.data-table th, .data-table td {
  text-align: left;
  border-top: 1px solid var(--border);
  padding: .55rem .65rem;
}

.data-table th {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-top: none;
  font-size: .8rem;
  font-weight: 600;
}

.price-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
}

.price-table th, .price-table td {
  text-align: left;
  border-top: 1px solid var(--border);
  padding: .55rem .65rem;
}

.price-table th {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-top: none;
  font-size: .8rem;
  font-weight: 600;
}

.sale-price {
  color: var(--success);
  font-weight: 600;
}

.price-strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.admin-form-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem 1rem;
  margin-bottom: .85rem;
  display: grid;
}

.admin-actions {
  flex-wrap: wrap;
  gap: .25rem;
  display: flex;
}

.btn-sm {
  padding: .3rem .55rem;
  font-size: .8rem;
}

.pagination-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  min-width: 32px;
  height: 32px;
  color: var(--text-secondary);
  font-size: .85rem;
  font-family: var(--font-primary, inherit);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  display: inline-flex;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.pagination-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.status-on {
  color: var(--success);
  font-size: .9rem;
  font-weight: 600;
}

.status-off {
  color: var(--danger);
  font-size: .9rem;
  font-weight: 600;
}

.admin-edit-panel {
  padding: .5rem 0;
}

.admin-edit-row td {
  background: var(--bg-hover);
}

.import-stats {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.import-stat-row {
  grid-template-columns: 220px 1fr;
  align-items: baseline;
  gap: .75rem;
  font-size: .9rem;
  display: grid;
}

.import-stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.import-stat-value {
  color: var(--text-primary);
}

.status-badge {
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--bg-hover);
  color: var(--text-secondary);
  border-radius: 999px;
  align-items: center;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-flex;
}

.status-completed {
  color: var(--success);
  background: #22c55e26;
}

.status-running {
  color: var(--warning);
  background: #f59e0b26;
  animation: 1.5s ease-in-out infinite pulse-status;
}

.status-failed {
  color: var(--danger);
  background: #ef444426;
}

.status-idle {
  background: var(--bg-hover);
  color: var(--text-muted);
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .55;
  }
}

.import-actions {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.store-list {
  flex-direction: column;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.store-row {
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  align-items: center;
  gap: .85rem;
  margin: 0;
  padding: .75rem 1rem;
  display: flex;
}

.store-row input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.store-row-main {
  flex: 1;
  min-width: 0;
}

.store-row.is-selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.store-row.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.store-chip-row {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  display: flex;
}

.store-chip {
  border: 1px solid var(--border);
  background: var(--bg-hover);
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
}

.store-chip.selected {
  background: var(--accent-glow);
  color: var(--accent-hover);
  border-color: #0000;
}

.store-chip-vendor {
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .75;
  font-size: .7rem;
}

.store-chip-x {
  opacity: .7;
  font-weight: 700;
}

.store-scope-bar {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: .85rem;
  padding-top: .75rem;
  display: flex;
}

.search-groups-header {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.sort-bar {
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
  margin-bottom: .25rem;
  display: flex;
}

.sort-label {
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 500;
}

.sort-pills {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  display: flex;
}

.sort-unit-select select {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  min-height: 30px;
  color: var(--text-primary);
  font: inherit;
  border-radius: 20px;
  padding: 3px 26px 3px 9px;
  font-size: .85rem;
}

.sort-pill {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .85rem;
  font-weight: 500;
}

.sort-pill:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.sort-pill:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.sort-pill.active {
  background: var(--accent, #059669);
  color: var(--text-on-accent, #fff);
  border-color: #0000;
}

.tab-bar {
  gap: .5rem;
  margin-bottom: .75rem;
  display: flex;
}

.tab-pill {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: .9rem;
  font-weight: 600;
}

.tab-pill:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.tab-pill:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.tab-pill.active {
  background: var(--accent, #059669);
  color: var(--text-on-accent, #fff);
  border-color: #0000;
}

.multibuy-badge {
  background: color-mix(in srgb, var(--accent, #059669) 12%, transparent);
  color: var(--accent, #059669);
  white-space: nowrap;
  border-radius: 4px;
  margin-top: 2px;
  padding: 1px 6px;
  font-size: .72rem;
  font-weight: 600;
  display: inline-block;
}

.savings-badge {
  background: var(--deal-bg);
  color: var(--deal);
  white-space: nowrap;
  border-radius: 6px;
  margin-top: 2px;
  padding: 1px 7px;
  font-size: .75rem;
  font-weight: 700;
  display: inline-block;
}

.super-badge {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
  white-space: nowrap;
  border-radius: 6px;
  margin-top: 2px;
  padding: 1px 7px;
  font-size: .72rem;
  font-weight: 700;
  display: inline-block;
}

.product-row-badges {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  display: flex;
}

.store-chips-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .6rem;
  display: flex;
}

.search-store-chips {
  margin-top: .7rem;
  margin-bottom: 0;
}

.search-store-edit-link {
  margin-left: auto;
}

.store-chip-toggle {
  font-weight: 600;
}

.store-chip-toggle.active {
  color: var(--accent);
}

.store-chip-chevron {
  opacity: .7;
  margin-left: 2px;
  font-size: .7rem;
}

.store-chip {
  border: 1px solid var(--border);
  background: var(--bg-glass);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
  white-space: nowrap;
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: .8rem;
  display: inline-flex;
}

.store-chip:hover {
  border-color: var(--accent);
}

.store-chip.active {
  background: color-mix(in srgb, var(--accent, #059669) 15%, transparent);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.store-chip:not(.active) {
  opacity: .6;
}

.store-fulfilment-fees {
  margin-top: .15rem;
  font-size: .85rem;
  font-weight: 500;
}

.multibuy-cell {
  color: var(--accent, #059669);
  font-size: .88rem;
  font-weight: 600;
}

.multibuy-unit {
  opacity: .7;
  font-size: .78rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .app-shell {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    flex-direction: column;
  }

  .main {
    padding: 12px 12px calc(64px + env(safe-area-inset-bottom)  + 16px);
    padding-top: calc(14px + env(safe-area-inset-top));
    min-width: 0;
    max-width: 100vw;
    overflow-x: clip;
  }

  .card {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding: 1rem;
  }

  .form-input, .form-select, .sort-unit-select select {
    font-size: 16px;
  }

  .page-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
  }

  .page-title {
    overflow-wrap: anywhere;
    flex-wrap: wrap;
    font-size: 1.25rem;
  }

  .page-title > span:first-child, .page-header > * {
    min-width: 0;
  }

  .page-title > span:first-child {
    overflow-wrap: anywhere;
  }

  .product-info-panel-summary, .product-info-section summary {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .product-info-value {
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .data-table, .table-wrap {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    overflow-x: auto;
  }

  .product-row {
    min-width: 0;
    padding: .55rem .75rem;
  }

  .product-row-main {
    min-width: 0;
  }

  .product-detail-hero {
    flex-direction: column;
    gap: 1rem;
  }

  .product-detail-meta {
    min-width: 0;
  }

  .search-row {
    flex-wrap: wrap;
  }

  .search-input {
    font-size: 1rem;
  }

  .search-row .form-select {
    flex: 1;
    min-width: 120px;
    max-width: none;
  }

  .store-scope-bar {
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
  }

  .store-scope-bar .row {
    justify-content: flex-end;
  }

  .sort-bar {
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .sort-pills {
    flex-wrap: nowrap;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 8px;
  }

  .modal-content {
    border-radius: 20px 20px 14px 14px;
    width: 100%;
    max-width: none;
    max-height: 85vh;
    padding: 1.25rem;
  }

  .group-picker-dialog {
    border-radius: 20px 20px 14px 14px;
    width: 100%;
    max-width: none;
  }

  .btn-sm {
    min-width: 44px;
    min-height: 44px;
  }

  .sort-pill, .tab-pill, .store-chip, .category-tree-link {
    min-height: 44px;
  }

  .icon-button, .favorite-star {
    min-width: 44px;
    min-height: 44px;
  }

  .category-tree-root {
    columns: 1;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    width: 100%;
    max-width: 100%;
  }

  .product-gallery-main {
    aspect-ratio: 1;
    max-height: 50vh;
  }

  .product-image--detail {
    width: min(160px, 35vw);
    height: min(160px, 35vw);
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-back-link {
    color: var(--accent);
    align-items: center;
    gap: .35rem;
    margin-bottom: .75rem;
    font-size: .9rem;
    font-weight: 500;
    display: inline-flex;
  }
}

.store-pick-row {
  cursor: pointer;
}

.store-pick-row:hover td {
  background: var(--bg-hover, #80808014);
}

.store-pick-row.is-selected td {
  box-shadow: inset 4px 0 0 var(--accent);
}

.modal-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 100;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-content {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  padding: 1.5rem;
  overflow-y: auto;
}

.group-picker-overlay {
  z-index: 1000;
}

.group-picker-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: min(26rem, 100vw - 2rem);
  max-height: min(75vh, 34rem);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  overflow-y: auto;
}

.group-picker-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  display: flex;
}

.group-picker-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.group-picker-header p {
  margin: .2rem 0 0;
  font-size: .9rem;
}

.group-picker-options {
  gap: .45rem;
  display: grid;
}

.group-picker-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-hover);
  width: 100%;
  color: var(--text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  padding: .75rem .85rem;
}

.group-picker-option:hover, .group-picker-option:focus-visible {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.group-picker-create {
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md);
  width: 100%;
  color: var(--accent);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  padding: .7rem .85rem;
}

.group-picker-create:hover, .group-picker-create:focus-visible {
  background: var(--bg-hover);
}

.group-picker-create-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-hover);
  gap: .65rem;
  padding: .85rem;
  display: grid;
}

.radius-slider {
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  width: 100%;
  height: 6px;
  margin-top: .3rem;
}

.radius-slider::-webkit-slider-thumb {
  appearance: none;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg-card);
  width: 20px;
  height: 20px;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
}

.radius-slider::-moz-range-thumb {
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg-card);
  width: 20px;
  height: 20px;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
}

.match-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  display: flex;
}

.match-stats {
  font-size: .85rem;
}

.match-meta {
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  display: flex;
}

.badge-auto {
  color: var(--accent);
  background: #10b9812e;
}

.badge-review {
  color: #3b82f6;
  background: #3b82f62e;
}

.badge-warn {
  color: #f59e0b;
  background: #f59e0b2e;
}

.match-pair {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
}

.match-card {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.match-card img {
  object-fit: contain;
  align-self: center;
  max-height: 260px;
}

.match-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.match-token-diff {
  background: #f59e0b38;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 600;
}

.match-facts {
  grid-template-columns: auto 1fr;
  gap: .25rem .75rem;
  margin: 0;
  font-size: .85rem;
  display: grid;
}

.match-facts > div {
  display: contents;
}

.match-facts dt {
  color: var(--text-muted);
}

.match-facts dd {
  margin: 0;
}

.match-barcodes {
  flex-wrap: wrap;
  gap: .4rem;
  display: flex;
}

.match-barcode {
  font-family: var(--font-mono, monospace);
  font-size: .8rem;
}

.match-canonical {
  margin-top: auto;
}

.match-evidence {
  margin-top: 1rem;
}

.match-evidence h4 {
  margin: .75rem 0 .35rem;
  font-size: .9rem;
}

.match-evidence ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .85rem;
}

.match-diffprice {
  color: #f59e0b;
}

.match-actions {
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
  display: flex;
}

.match-actions kbd {
  border: 1px solid var(--border);
  opacity: .85;
  border-radius: 4px;
  margin-left: .4rem;
  padding: .05rem .35rem;
  font-size: .72rem;
}

.match-last {
  margin-bottom: .5rem;
  font-size: .85rem;
}

.list-savings {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
}

.product-row-cart {
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: .25rem;
}

.list-quantity-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle, #80808014);
  align-items: center;
  gap: .35rem;
  padding: .15rem .25rem;
  display: inline-flex;
}

.list-quantity-control.sm {
  font-size: .82rem;
}

.list-quantity-control.md {
  font-size: .95rem;
}

.plan-item-remove {
  color: var(--text-muted);
  padding: .25rem .35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.plan-item-remove:hover {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
}

.purchase-qty {
  flex-direction: column;
  align-items: flex-end;
  gap: .28rem;
  display: inline-flex;
}

.purchase-qty-tabs {
  gap: .3rem;
  display: flex;
}

.purchase-qty-tab {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: inherit;
  cursor: pointer;
  font: inherit;
  background: none;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  padding: .28rem .55rem;
  line-height: 1.2;
  display: inline-flex;
}

.purchase-qty-tab.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.purchase-qty-tab-price {
  color: var(--text-muted, var(--muted));
  font-size: .75em;
}

.purchase-qty-tabs.compact .purchase-qty-tab {
  padding: .12rem .4rem;
  font-size: .72rem;
}

.purchase-qty-tabs.compact .purchase-qty-tab-price {
  display: none;
}

.purchase-qty.md {
  align-items: flex-start;
}

.icon-button {
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

.icon-button:hover:not(:disabled) {
  background: var(--surface-subtle, #80808024);
}

.icon-button:disabled {
  opacity: .45;
  cursor: default;
}

.checkbox-label {
  cursor: pointer;
  align-items: center;
  gap: .45rem;
  display: inline-flex;
}

.button-link {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .85rem;
  display: grid;
}

.category-card {
  color: var(--text-primary);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  display: block;
}

.category-card:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.category-card-title {
  margin-bottom: .35rem;
  font-size: 1.02rem;
  font-weight: 650;
}

.category-card-arrow {
  color: var(--accent);
  margin-top: .8rem;
  font-size: .86rem;
}

.category-tree {
  margin: .3rem 0 0;
  padding-left: 1.1rem;
  list-style: none;
}

.category-tree-root {
  columns: 2 300px;
  column-gap: 2rem;
  padding-left: 0;
}

.category-tree-root > li {
  break-inside: avoid;
  margin-bottom: .8rem;
}

.category-tree-link {
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .28rem .45rem;
  display: flex;
}

.category-tree-link:hover {
  background: var(--bg-hover);
  color: var(--accent-hover);
}

.category-count {
  white-space: nowrap;
  font-size: .78rem;
}

.category-breadcrumb {
  color: var(--text-secondary);
  margin-bottom: .4rem;
  font-size: .84rem;
}

.category-controls {
  padding-bottom: .85rem;
}

.category-sort-bar {
  margin-top: .8rem;
}

@media (max-width: 768px) {
  .match-pair {
    grid-template-columns: 1fr;
  }
}

@media (display-mode: standalone) {
  body {
    min-height: 100dvh;
  }

  .main {
    padding-top: calc(env(safe-area-inset-top)  + 16px);
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}

.ptr-indicator {
  z-index: 9999;
  pointer-events: none;
  justify-content: center;
  transition: transform .3s;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.ptr-spinner {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ptr-spinner-inner {
  border: 2px solid var(--border-hover);
  border-top-color: var(--accent);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: .7s linear infinite ptr-spin;
}

.pwa-install-banner {
  bottom: calc(64px + env(safe-area-inset-bottom)  + 8px);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  animation: .3s ptr-slide-up;
  display: flex;
  position: fixed;
  left: 12px;
  right: 12px;
}

@keyframes ptr-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pwa-install-icon {
  flex-shrink: 0;
  font-size: 22px;
}

.pwa-install-text {
  color: var(--text-secondary);
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

.pwa-install-btn {
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}

.pwa-install-dismiss {
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 4px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
}

@media (min-width: 769px) {
  .pwa-install-banner {
    display: none;
  }
}

@media (max-width: 400px) {
  .product-row-fav, .product-row-cart {
    display: none;
  }
}

.concept-badge {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .05rem .4rem;
  font-size: .72rem;
  font-weight: 700;
  display: inline-block;
}

.concept-search-card {
  color: inherit;
  text-decoration: none;
}

.concept-panel h2 a {
  color: inherit;
}

.concept-sibling-list {
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.concept-sibling-list li {
  justify-content: space-between;
  gap: .75rem;
  font-size: .9rem;
  display: flex;
}

.concept-member-stores {
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .55rem;
  margin-top: .35rem;
  display: flex;
}

.concept-member-store {
  color: var(--text-muted);
  white-space: nowrap;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  display: inline-flex;
}

.concept-member-store img {
  object-fit: contain;
  width: auto;
  max-width: 72px;
  height: 16px;
  display: block;
}

.concept-member-store-vendor {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
}

.concept-member-store-more {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: .78rem;
}

.concept-store-comparison {
  margin-top: 1rem;
  overflow: hidden;
}

.concept-store-comparison > summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding: .9rem 1rem;
  list-style-position: inside;
  display: flex;
}

.concept-store-comparison > summary::marker {
  color: var(--accent);
}

.concept-store-table-wrap {
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.concept-store-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
  font-size: .88rem;
}

.concept-store-table th, .concept-store-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  padding: .55rem .75rem;
}

.concept-store-table th {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .76rem;
  font-weight: 600;
}

.concept-store-table tbody tr:last-child td {
  border-bottom: 0;
}

.concept-store-name, .concept-store-product {
  align-items: center;
  gap: .4rem;
  display: inline-flex;
}

.concept-store-name {
  white-space: nowrap;
}

.concept-store-name img {
  object-fit: contain;
  width: auto;
  max-width: 76px;
  height: 17px;
  display: block;
}

.concept-store-product {
  color: inherit;
  min-width: 14rem;
  text-decoration: none;
}

.concept-store-product:hover {
  color: var(--accent);
}

.concept-store-product .product-image {
  width: 36px;
  height: 36px;
}

.concept-store-product > span {
  flex-direction: column;
  gap: .1rem;
  display: flex;
}

.concept-admin-layout {
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1rem;
  display: grid;
}

@media (max-width: 768px) {
  .concept-admin-layout {
    grid-template-columns: 1fr;
  }
}

.concept-list {
  flex-direction: column;
  gap: .25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
}

.concept-list-item {
  text-align: left;
  border: 1px solid var(--border);
  width: 100%;
  color: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  flex-direction: column;
  align-items: flex-start;
  padding: .45rem .6rem;
  display: flex;
}

.concept-list-item.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.concept-hit-list {
  flex-direction: column;
  gap: .35rem;
  margin: .4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.concept-hit-list li {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.concept-member-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .88rem;
}

.concept-member-table td {
  vertical-align: middle;
  padding: .3rem .35rem;
}

.concept-context-menu {
  z-index: 1200;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: min(18rem, 100vw - 1.5rem);
  max-height: min(70vh, 26rem);
  box-shadow: var(--shadow-lg);
  padding: .65rem;
  position: fixed;
  overflow: auto;
}

.concept-context-menu-header {
  flex-direction: column;
  gap: .15rem;
  margin-bottom: .5rem;
  font-size: .85rem;
  display: flex;
}

.concept-context-menu-header strong {
  font-size: .92rem;
}

.concept-context-menu-list {
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .45rem;
  display: flex;
}

.concept-context-menu-item {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg-hover);
  width: 100%;
  color: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  justify-content: space-between;
  gap: .5rem;
  padding: .4rem .5rem;
  display: flex;
}

.concept-context-menu-item:hover, .concept-context-menu-item:focus-visible {
  border-color: var(--accent);
}

.concept-context-menu-create {
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--accent);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  padding: .4rem .5rem;
}

.concept-context-menu-form {
  gap: .4rem;
  margin-top: .35rem;
  display: grid;
}

@media (max-width: 768px) {
  .product-result-card {
    padding: 0;
  }

  .stacked-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 0;
    display: block;
  }

  .stacked-table thead {
    display: none;
  }

  .stacked-table tbody {
    gap: .75rem;
    display: grid;
  }

  .stacked-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-hover);
    min-width: 0;
    display: block;
    overflow: hidden;
  }

  .stacked-table td {
    border-top: 1px solid var(--border);
    text-align: right;
    overflow-wrap: anywhere;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    min-width: 0;
    padding: .65rem .75rem;
    display: flex;
    white-space: normal !important;
  }

  .stacked-table td:first-child {
    text-align: left;
    border-top: 0;
    display: block;
  }

  .stacked-table td:before {
    color: var(--text-secondary);
    letter-spacing: .03em;
    text-align: left;
    text-transform: uppercase;
    content: attr(data-label);
    flex: 0 0 min(42%, 9rem);
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .stacked-table td:first-child:before {
    margin-bottom: .25rem;
    display: block;
  }

  .stacked-table td .concept-store-product {
    min-width: 0;
    max-width: 100%;
  }

  .stacked-table.concept-store-table {
    min-width: 0;
  }

  .concept-store-table-wrap {
    overflow-x: visible;
  }

  .shopping-plan-item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .shopping-plan-item .product-row-main {
    min-width: 0;
  }

  .shopping-plan-item-actions {
    border-top: 1px solid var(--border);
    flex: 0 0 100%;
    justify-content: flex-end;
    width: 100%;
    padding-top: .55rem;
  }

  .product-row-price {
    min-width: 0;
    max-width: 45%;
  }

  .product-row-price .product-row-badges {
    justify-content: flex-end;
    max-width: 100%;
  }

  .product-name, .product-meta {
    overflow-wrap: anywhere;
  }

  .store-chip {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .price-history-chart {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .modal-overlay {
    overscroll-behavior: contain;
    align-items: flex-end;
    padding: 8px;
  }

  .modal-content, .group-picker-dialog {
    overscroll-behavior: contain;
    border-radius: 20px 20px 14px 14px;
    width: 100%;
    max-width: none;
    max-height: 85vh;
  }

  .modal-content {
    padding: 1.25rem;
  }

  .mobile-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-form-row > * {
    width: 100%;
    max-width: none !important;
  }
}

.product-result-card {
  padding: 0;
  display: block;
  overflow: hidden;
}

.product-result-card .result-card-header {
  flex-direction: column;
  align-items: stretch;
  gap: .55rem;
  min-width: 0;
  padding: .9rem;
  display: flex;
}

.result-card-title-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.search-result-card .result-card-title-row {
  align-items: center;
  gap: .45rem;
}

.result-card-title-toggle, .result-card-hero-toggle {
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
}

.result-card-title-copy {
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: .25rem;
  min-width: 0;
  display: flex;
}

.result-card-title-toggle {
  flex: 0 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  display: block;
}

.result-card-title-toggle .product-name {
  overflow-wrap: anywhere;
  font-size: .95rem;
  line-height: 1.18;
  display: block;
}

.result-card-details-link {
  border: 1px solid color-mix(in srgb, var(--accent, #059669) 28%, var(--border));
  background: color-mix(in srgb, var(--accent, #059669) 9%, transparent);
  width: fit-content;
  color: var(--accent, #059669);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  border-radius: 999px;
  align-items: center;
  gap: .2rem;
  padding: .18rem .45rem;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  display: inline-flex;
}

.result-card-details-link:hover, .result-card-details-link:focus-visible {
  border-color: var(--accent, #059669);
  background: color-mix(in srgb, var(--accent, #059669) 16%, transparent);
  color: var(--accent, #059669);
  transform: translateY(-1px);
}

.result-card-concepts {
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: .2rem .5rem;
  font-size: .74rem;
  line-height: 1.2;
  display: flex;
}

.result-card-concept a {
  color: var(--accent, #059669);
  font-weight: 650;
  text-decoration: none;
}

.result-card-concept a:hover, .result-card-concept a:focus-visible {
  text-decoration: underline;
}

.result-card-title-toggle .product-name:after {
  content: "⌄";
  color: var(--text-muted);
  margin-left: .45rem;
  font-size: .9em;
  transition: transform .15s;
  display: inline-block;
}

.result-card-title-toggle[aria-expanded="true"] .product-name:after {
  transform: rotate(180deg);
}

.result-card-favorite {
  flex: none;
}

.result-card-hero-row {
  min-width: 0;
  position: relative;
}

.result-card-hero-toggle {
  grid-template-columns: minmax(96px, 7rem) minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-width: 0;
  padding: .1rem 0;
  display: grid;
}

.result-card-hero-toggle:hover, .result-card-title-toggle:hover {
  color: var(--text-primary);
}

.result-card-product-image {
  border-radius: var(--radius-md);
  width: 100%;
  height: 7rem;
}

.result-card-price-block {
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  min-width: 0;
  display: flex;
}

.result-card-primary-price {
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  white-space: nowrap;
  font-size: clamp(.98rem, 1.2vw, 1.12rem);
  font-weight: 750;
}

.result-card-unit-price, .result-card-size, .result-card-category {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
  line-height: 1.28;
}

.result-card-unit-price {
  color: var(--text-primary);
}

.result-card-sale-offer {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  min-height: 1.2rem;
  margin-top: .02rem;
  display: inline-flex;
}

.result-card-sale-offer .special-vendor-logos {
  gap: .25rem;
  margin-top: 0;
}

.result-card-sale-offer .special-vendor-logos img {
  max-width: 3.6rem;
  height: 1.1rem;
}

.result-card-sale-offer .savings-badge {
  margin-top: 0;
}

.result-card-category {
  overflow-wrap: anywhere;
}

.special-vendor-logos {
  align-items: center;
  gap: .35rem;
  margin-top: .12rem;
  display: inline-flex;
}

.special-vendor-logos img {
  object-fit: contain;
  width: auto;
  max-width: 4.5rem;
  height: 1.35rem;
}

.result-card-size {
  color: var(--text-primary);
  font-weight: 700;
}

.result-card-actions {
  z-index: 2;
  justify-content: flex-end;
  align-items: center;
  gap: .55rem;
  width: auto;
  min-height: 2.75rem;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
}

.search-result-card .result-card-actions {
  flex: none;
  gap: .4rem;
  min-height: 0;
  position: static;
}

.result-card-details-toolbar {
  justify-content: flex-end;
  margin-bottom: .5rem;
  display: flex;
}

.result-card-history-toggle {
  background: color-mix(in srgb, var(--accent, #2563eb) 14%, transparent);
  width: 2rem;
  height: 2rem;
  color: var(--accent, #2563eb);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.result-card-history-toggle:hover, .result-card-history-toggle:focus-visible, .result-card-history-toggle[aria-expanded="true"] {
  background: color-mix(in srgb, var(--accent, #2563eb) 24%, transparent);
}

.result-card-history-toggle .result-card-chart-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.result-card-group-action {
  min-width: 0;
  display: inline-flex;
}

.result-card-details {
  border-top: 1px solid var(--border);
  padding: .75rem .9rem .9rem;
}

.result-card-history {
  border-top: 1px solid var(--border);
  margin-top: .55rem;
  padding: .55rem 0 0;
}

.result-card-history .product-info-section {
  background: none;
  border: 0;
  margin-top: 0 !important;
}

.result-card-history .product-info-section > summary {
  display: none;
}

.search-price-table-section {
  min-width: 0;
}

.search-price-table-wrap {
  width: 100%;
  overflow-x: hidden;
}

.product-price-table {
  table-layout: fixed;
  width: 100%;
  margin: 0;
  font-size: .82rem;
}

.product-price-table th, .product-price-table td {
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.product-price-table th:first-child, .product-price-table td:first-child {
  width: 42%;
}

.product-price-table th:nth-child(2), .product-price-table td:nth-child(2) {
  width: 25%;
}

.product-price-table th:nth-child(3), .product-price-table td:nth-child(3) {
  width: 33%;
}

.product-price-table th {
  color: var(--text-primary);
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 500;
}

.product-price-table-price-heading {
  text-align: right !important;
}

.product-price-table td:nth-child(2), .product-price-table td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.product-price-store-cell {
  min-width: 0;
}

.product-price-store-cell-inner {
  align-items: center;
  gap: .4rem;
  min-width: 0;
  display: flex;
}

.product-price-vendor-logo {
  object-fit: contain;
  flex: none;
  width: 2rem;
  height: 1.75rem;
}

.product-price-store-name {
  overflow-wrap: anywhere;
  min-width: 0;
}

.product-price-value-cell {
  position: relative;
}

.product-price-row-has-offer {
  cursor: pointer;
}

.product-price-row-has-offer:hover td {
  background: color-mix(in srgb, var(--accent, #059669) 7%, transparent);
}

.product-price-row-has-offer:focus-visible td {
  background: color-mix(in srgb, var(--accent, #059669) 12%, transparent);
}

.product-price-value-cell.product-price-discount {
  color: var(--danger, #e05245);
  font-weight: 600;
}

.product-price-cheapest, .product-price-row-cheapest td:nth-child(2) {
  color: var(--danger, #e05245);
  font-weight: 700;
}

.product-price-date-cell, .price-table-note, .price-table-hint, .search-price-plan-note {
  color: var(--text-muted);
}

.price-info-btn {
  background: var(--accent, #2563eb);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-on-accent, #fff);
  cursor: pointer;
  vertical-align: middle;
  border: 0;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-left: .25rem;
  padding: 0;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}

.price-info-btn:hover, .price-info-btn:focus-visible {
  filter: brightness(.92);
}

.price-offer-details {
  color: var(--text-secondary);
  white-space: normal;
  margin-top: .3rem;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.3;
  display: block;
}

.price-offer-details-title {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .1rem;
  font-size: .68rem;
  font-weight: 700;
  display: block;
}

.price-offer-details span {
  display: block;
}

.price-table-hint, .price-table-note {
  margin: .55rem 0 0;
  font-size: .86rem;
}

.search-price-details-link {
  margin-top: .55rem;
  display: inline-block;
}

.search-price-loading, .search-price-empty, .search-price-empty p {
  margin: 0;
}

@media (max-width: 768px) {
  .search-bar-card {
    position: static;
    top: auto;
  }

  .product-result-card .result-card-header {
    gap: .35rem;
    padding: .65rem;
  }

  .search-result-card .result-card-header {
    gap: .25rem;
    padding: .55rem .65rem;
  }

  .result-card-title-toggle .product-name {
    font-size: .94rem;
  }

  .result-card-title-toggle .product-name:after {
    content: none;
  }

  .result-card-concepts {
    display: none;
  }

  .result-card-hero-toggle {
    grid-template-columns: minmax(72px, 4.75rem) minmax(0, 1fr);
    gap: .55rem;
  }

  .result-card-product-image {
    height: 4.75rem;
  }

  .result-card-price-block {
    padding-bottom: 2.75rem;
  }

  .search-result-card .result-card-hero-toggle {
    grid-template-columns: minmax(64px, 4.25rem) minmax(0, 1fr);
    gap: .5rem;
  }

  .search-result-card .result-card-product-image {
    height: 4.25rem;
  }

  .search-result-card .result-card-price-block {
    padding-bottom: 0;
  }

  .result-card-primary-price {
    font-size: 1rem;
  }

  .result-card-unit-price, .result-card-size, .result-card-category {
    font-size: .78rem;
  }

  .result-card-details-link {
    font-size: .69rem;
  }

  .result-card-sale-offer .special-vendor-logos img {
    max-width: 3.1rem;
    height: .95rem;
  }

  .result-card-actions {
    z-index: 2;
    width: auto;
    min-height: 2.75rem;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .result-card-actions .list-quantity-control {
    background: color-mix(in srgb, var(--accent, #2563eb) 14%, transparent);
    border: 0;
    border-radius: 999px;
    min-height: 2.75rem;
    padding: 0;
  }

  .result-card-actions .list-quantity-control .icon-button {
    width: 3.4rem;
    min-width: 3.4rem;
    height: 2.75rem;
    min-height: 2.75rem;
    color: var(--accent, #2563eb);
    border-radius: 999px;
    font-size: 1.55rem;
  }

  .result-card-actions .list-quantity-control strong {
    display: none;
  }

  .result-card-actions .list-quantity-control .icon-button:last-child {
    border-left: 2px solid color-mix(in srgb, var(--border) 70%, transparent);
  }

  .result-card-actions .result-card-group-action {
    display: none;
  }

  .search-result-card .result-card-actions {
    min-height: 0;
    position: static;
  }

  .search-result-card .result-card-actions .purchase-qty {
    align-items: flex-end;
    gap: .18rem;
  }

  .search-result-card .result-card-actions .purchase-qty-tabs.compact .purchase-qty-tab {
    padding: .08rem .32rem;
    font-size: .68rem;
  }

  .search-result-card .result-card-actions .list-quantity-control {
    background: color-mix(in srgb, var(--accent, #2563eb) 14%, transparent);
    gap: .2rem;
    min-height: 1.75rem;
  }

  .search-result-card .result-card-actions .list-quantity-control .icon-button {
    width: 1.75rem;
    min-width: 1.75rem;
    height: 1.75rem;
    min-height: 1.75rem;
    font-size: 1.05rem;
  }

  .search-result-card .result-card-actions .list-quantity-control strong {
    display: none;
  }

  .search-result-card .result-card-actions .list-quantity-control.has-quantity strong {
    text-align: center;
    min-width: 1rem;
    font-size: .72rem;
    display: inline-block;
  }

  .search-result-card .result-card-actions .list-quantity-control .icon-button:last-child {
    border-left: 2px solid color-mix(in srgb, var(--border) 70%, transparent);
  }

  .search-result-card .result-card-actions .result-card-group-action {
    display: none;
  }

  .result-card-details {
    padding: .55rem .7rem .8rem;
  }

  .result-card-details-toolbar {
    margin-bottom: .4rem;
  }

  .product-price-table {
    font-size: .8rem;
  }

  .product-price-table thead th {
    padding: .45rem .25rem;
    font-size: .76rem;
    font-weight: 500;
  }

  .product-price-table tbody td {
    padding: .65rem .25rem;
  }

  .product-price-table td:before {
    content: none !important;
    display: none !important;
  }

  .product-price-store-cell {
    text-align: left !important;
    white-space: normal !important;
  }

  .product-price-store-cell-inner {
    gap: .3rem;
  }

  .product-price-vendor-logo {
    width: 2rem;
    height: 1.8rem;
  }

  .product-price-store-name {
    line-height: 1.3;
  }

  .product-price-table td:nth-child(2), .product-price-table td:nth-child(3) {
    white-space: nowrap !important;
  }

  .price-info-btn {
    width: 1.35rem;
    min-width: 1.35rem;
    height: 1.35rem;
    min-height: 1.35rem;
    margin-left: .1rem;
    font-size: .7rem;
  }
}

@media (max-width: 359px) {
  .product-price-table {
    table-layout: auto;
  }

  .product-price-table thead {
    display: none;
  }

  .product-price-table, .product-price-table tbody, .product-price-table tr, .product-price-table td {
    width: 100%;
    display: block;
  }

  .product-price-table tr {
    padding: .2rem 0;
  }

  .product-price-table td {
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    display: flex;
    text-align: right !important;
  }

  .product-price-table td:before {
    color: var(--text-secondary);
    text-align: left;
    text-transform: uppercase;
    flex: 0 0 42%;
    font-size: .75rem;
    font-weight: 600;
    content: attr(data-label) !important;
    display: block !important;
  }

  .product-price-table .product-price-store-cell-inner {
    display: flex;
  }
}

.print-plan-sheet {
  box-sizing: border-box;
  color: #000;
  background: #fff;
  width: 100%;
  min-height: 100vh;
  padding: 10mm 12mm 12mm;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  line-height: 1.25;
  display: none;
}

.print-plan-sheet * {
  box-sizing: border-box;
  color: #000;
  box-shadow: none !important;
  text-shadow: none !important;
}

.print-plan-screen-sheet {
  max-width: 210mm;
  min-height: auto;
  margin: 0 auto;
  display: block;
}

.print-page {
  background: #f3f5f9;
  min-height: 100vh;
  padding: 1rem;
}

.print-page-toolbar {
  color: #172033;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 210mm;
  margin: 0 auto 1rem;
  padding: .75rem 1rem;
  display: flex;
}

.print-page-toolbar-copy {
  gap: .15rem;
  min-width: 0;
  display: grid;
}

.print-page-toolbar-copy strong {
  font-size: .95rem;
}

.print-page-toolbar-copy span {
  color: #516074;
  font-size: .82rem;
}

.print-plan-header {
  border-bottom: 2pt solid #000;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8mm;
  padding-bottom: 3mm;
  display: flex;
}

.print-plan-heading {
  min-width: 0;
}

.print-brand {
  letter-spacing: .02em;
  align-items: center;
  gap: 2mm;
  margin-bottom: 1.5mm;
  font-size: 10pt;
  font-weight: 700;
  display: flex;
}

.print-brand img {
  filter: grayscale() contrast(1.2);
  flex: none;
  width: 9mm;
  height: 9mm;
}

.print-plan-header h1 {
  margin: 0;
  font-size: 19pt;
  line-height: 1.05;
}

.print-plan-date {
  color: #444;
  margin: 1.2mm 0 0;
  font-size: 8pt;
}

.print-plan-total {
  white-space: nowrap;
  flex-direction: column;
  align-items: flex-end;
  gap: .5mm;
  display: flex;
}

.print-plan-total span {
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 7.5pt;
  font-weight: 700;
}

.print-plan-total strong {
  font-size: 16pt;
  line-height: 1;
}

.print-store-list {
  margin-top: 4mm;
}

.print-store {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 4mm;
}

.print-store-header {
  border-bottom: 1.2pt solid #000;
  align-items: baseline;
  gap: 4mm;
  padding: 1.5mm 1.5mm 1mm;
  display: flex;
}

.print-store-heading {
  flex: 1;
  min-width: 0;
}

.print-store-header h2 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 11.5pt;
  line-height: 1.15;
}

.print-store-fees {
  margin: .4mm 0 0;
  font-size: 8pt;
  font-weight: 400;
  line-height: 1.2;
}

.print-store-header strong {
  white-space: nowrap;
  font-size: 11pt;
}

.print-list-heading, .print-item-row {
  grid-template-columns: 4mm minmax(0, 1fr) 13mm 28mm;
  align-items: center;
  column-gap: 2mm;
  display: grid;
}

.print-list-heading {
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: .6pt solid #000;
  padding: 1mm 1.5mm .8mm;
  font-size: 7.5pt;
  font-weight: 700;
}

.print-list-heading span:nth-child(3) {
  text-align: center;
}

.print-list-heading span:last-child {
  text-align: right;
}

.print-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.print-item-row {
  break-inside: avoid;
  page-break-inside: avoid;
  border-bottom: .3pt solid #999;
  min-height: 7mm;
  padding: 1.35mm 1.5mm;
}

.print-check {
  border: .7pt solid #000;
  width: 3.2mm;
  height: 3.2mm;
  display: inline-block;
}

.print-product-name {
  overflow-wrap: anywhere;
  min-width: 0;
  font-weight: 600;
}

.print-sale-label {
  letter-spacing: .04em;
  white-space: nowrap;
  vertical-align: .15em;
  border: .7pt solid #000;
  margin-left: 2mm;
  padding: .3mm 1.2mm;
  font-size: 7pt;
  font-weight: 700;
  line-height: 1.1;
  display: inline-block;
}

.print-qty {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.print-expected {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.print-unavailable .print-store-header {
  border-bottom-style: dashed;
}

.print-unavailable .print-expected {
  font-weight: 400;
}

@media (max-width: 600px) {
  .print-page {
    padding: .75rem;
  }

  .print-page-toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: .75rem;
  }

  .print-page-toolbar .btn {
    width: 100%;
  }

  .print-plan-screen-sheet {
    padding: 8mm 6mm;
  }

  .print-plan-screen-sheet .print-plan-header {
    gap: 4mm;
  }

  .print-plan-screen-sheet .print-list-heading, .print-plan-screen-sheet .print-item-row {
    grid-template-columns: 4mm minmax(0, 1fr) 11mm 24mm;
    column-gap: 1.5mm;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body > :not(.print-plan-sheet):not(.print-page) {
    display: none !important;
  }

  .print-page {
    background: #fff;
    min-height: 0;
    padding: 0;
  }

  .print-page-toolbar {
    display: none !important;
  }

  .print-plan-sheet, .print-page .print-plan-sheet {
    max-width: none;
    margin: 0;
    display: block !important;
  }
}

.nav-badge {
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  min-width: 1.35rem;
  margin-left: .5rem;
  padding: .05rem .4rem;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
}

.nav-dot {
  background: var(--accent);
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  margin-left: -.25rem;
  display: inline-block;
  position: relative;
  top: -.55rem;
}

.alert-day {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1rem 0 .4rem;
  font-size: .78rem;
  font-weight: 700;
}

.alert-list {
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.alert-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  align-items: center;
  gap: .75rem;
  padding: .65rem .8rem;
  display: flex;
}

.alert-row.unread {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.alert-row.ended {
  opacity: .6;
}

.alert-main {
  flex: 1;
  min-width: 0;
}

.alert-title {
  color: var(--text-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.alert-meta {
  color: var(--text-secondary);
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: .15rem;
  font-size: .82rem;
  display: flex;
}

.alert-meta img {
  width: auto;
  height: 14px;
}

.alert-price {
  color: var(--text-primary);
  font-weight: 700;
}

.alert-was {
  color: var(--text-muted);
  text-decoration: line-through;
}

.alert-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  display: flex;
}

.alert-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  display: flex;
}

.alert-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.watch-btn {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  background: none;
  border-radius: 999px;
  align-items: center;
  gap: .35rem;
  padding: .3rem .65rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
}

.watch-btn.on {
  background: var(--accent-glow);
  color: var(--accent-hover);
  border-color: #0000;
}

.watch-btn:disabled {
  opacity: .6;
  cursor: default;
}

.notif-section + .notif-section {
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.notif-section h3 {
  margin: 0 0 .5rem;
  font-size: .98rem;
}

.notif-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .35rem 0;
  display: flex;
}

.nl-list-card .store-chips-bar {
  margin: 0 0 .75rem;
}

.nl-list-textarea {
  resize: vertical;
  width: 100%;
  min-height: 9rem;
  font: inherit;
  line-height: 1.45;
}

.nl-list-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.nl-list-check {
  cursor: pointer;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  display: flex;
}

.nl-list-nearby, .nl-list-credit {
  margin: .35rem 0 0;
  font-size: .8rem;
}

.nl-line {
  padding: .85rem 1rem;
}

.nl-line.skipped .nl-options {
  opacity: .7;
}

.nl-line-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.nl-line-title {
  overflow-wrap: anywhere;
  min-width: 0;
}

.nl-line-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.nl-line-size {
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  display: flex;
}

.nl-line-size .form-input {
  width: auto;
  padding: .25rem .5rem;
  font-size: .85rem;
}

.nl-line-kg {
  width: 5rem !important;
}

.nl-line-qty {
  align-items: center;
  gap: .35rem;
  display: flex;
}

.nl-line-qty strong {
  text-align: center;
  min-width: 1.5rem;
}

.nl-line-note {
  margin: .35rem 0 0;
  font-size: .85rem;
}

.nl-options {
  gap: .3rem;
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.nl-option {
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  gap: .6rem;
  padding: .4rem .55rem;
  display: flex;
}

.nl-option:hover {
  border-color: var(--border-hover);
}

.nl-option.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.nl-option input {
  accent-color: var(--accent);
  flex: none;
}

.nl-option-image {
  object-fit: contain;
  flex: none;
  width: 36px !important;
  height: 36px !important;
}

.nl-option-main {
  flex: 1;
  gap: .1rem;
  min-width: 0;
  display: grid;
}

.nl-option-name {
  overflow-wrap: anywhere;
}

.nl-option-meta {
  font-size: .8rem;
}

.nl-option-price {
  white-space: nowrap;
  flex: none;
  justify-items: end;
  gap: .1rem;
  font-weight: 600;
  display: grid;
}

.nl-star {
  color: #f59e0b;
  margin-right: .3rem;
}

.nl-list-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.nl-list-footer .nl-list-check {
  margin-top: 0;
}

.nl-list-errors {
  width: 100%;
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 600px) {
  .nl-line-head {
    align-items: flex-start;
  }

  .nl-list-footer .btn {
    width: 100%;
  }
}

.plan-nearby-toggle {
  cursor: pointer;
  align-items: center;
  gap: .5rem;
  margin: .5rem 0 0;
  font-size: .9rem;
  display: flex;
}

.store-chip-nearby {
  color: var(--text-muted);
  font-size: .7rem;
}

/* [project]/src/app/clear.css [app-client] (css) */
.result-card-primary-price, .result-card-unit-price, .price-value, .unit-price-value, .product-price-table, .nav-badge, .list-quantity-control strong {
  font-variant-numeric: tabular-nums;
}

[data-tone-locked="true"] .theme-toggle, [data-tone-locked="true"] .auth-theme-toggle {
  display: none;
}

.app-nav-shell {
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100dvh;
  padding: 16px 0;
  display: flex;
  position: sticky;
  top: 0;
}

.app-nav-brand {
  border-radius: 14px;
  margin-bottom: 4px;
  display: flex;
}

.app-nav-brand img {
  width: 44px;
  height: 44px;
  display: block;
}

.app-nav {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 6px;
  width: 100%;
  display: flex;
}

.nav-item {
  width: 70px;
  height: 62px;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  position: relative;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--text-primary);
  font-weight: 700;
}

.nav-item.active .nav-item-icon {
  color: var(--accent);
}

.nav-item-icon {
  display: inline-flex;
  position: relative;
}

.nav-item-admin {
  margin-top: auto;
}

.nav-badge {
  background: var(--accent);
  min-width: 18px;
  height: 18px;
  color: var(--text-on-accent);
  text-align: center;
  border-radius: 999px;
  padding: 0 5px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 18px;
  position: absolute;
  top: -7px;
  right: -11px;
}

.nav-item:focus-visible, .app-nav-brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .app-nav-shell {
    z-index: 50;
    width: auto;
    height: calc(var(--tabbar-height)  + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    border-right: 0;
    border-top: 1px solid var(--border);
    flex-direction: row;
    gap: 0;
    position: fixed;
    inset: auto 0 0;
  }

  .app-nav-brand, .nav-item-admin {
    display: none;
  }

  .app-nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    height: 100%;
  }

  .nav-item {
    border-radius: 0;
    flex: 1;
    width: auto;
    height: 100%;
    font-size: .7rem;
  }

  .nav-item.active {
    background: none;
  }

  .nav-item.active:before {
    content: "";
    background: var(--accent);
    border-radius: 0 0 3px 3px;
    width: 30px;
    height: 3px;
    position: absolute;
    top: 0;
  }

  .nav-badge {
    right: -13px;
  }
}

.me-layout {
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
  display: flex;
}

.me-layout > .card + .card {
  margin-top: 0;
}

.me-profile {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.me-avatar {
  background: var(--accent);
  width: 52px;
  height: 52px;
  color: var(--text-on-accent);
  border-radius: 999px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  display: inline-flex;
}

.me-profile-text {
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  display: flex;
}

.me-profile-text span {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
  font-size: .9rem;
}

.me-badges {
  gap: .35rem;
  margin-top: .25rem;
  display: flex;
}

.me-links {
  flex-direction: column;
  padding: .35rem;
  display: flex;
}

.me-link {
  border-radius: var(--radius-md);
  min-height: 56px;
  color: var(--text-primary);
  transition: background var(--transition);
  align-items: center;
  gap: .85rem;
  padding: .5rem .75rem;
  text-decoration: none;
  display: flex;
}

.me-link:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.me-link-icon {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  width: 40px;
  height: 40px;
  color: var(--accent);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.me-link-text {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.me-link-text span {
  color: var(--text-secondary);
  font-size: .85rem;
}

.me-link-chevron {
  color: var(--text-muted);
}

.me-appearance {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.me-signout {
  align-self: flex-start;
}

.palette-picker {
  margin-bottom: 1.5rem;
}

.palette-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
  display: flex;
}

.palette-head h3 {
  margin: 0;
  font-size: 1rem;
}

.palette-families {
  gap: .4rem;
  display: flex;
}

.palette-count {
  opacity: .7;
  font-variant-numeric: tabular-nums;
  margin-left: .2rem;
}

.palette-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  display: grid;
}

.palette-tile {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-direction: column;
  align-items: stretch;
  gap: .4rem;
  padding: .55rem;
  display: flex;
}

.palette-tile:hover {
  border-color: var(--border-hover);
}

.palette-tile.is-on {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.palette-tile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.palette-preview {
  gap: .35rem;
  display: flex;
}

.palette-mini {
  background: var(--sw-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sw-ink) 12%, transparent);
  border-radius: 8px;
  flex: 1;
  padding: .4rem;
}

.palette-mini-card {
  background: var(--sw-surface);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sw-ink) 10%, transparent);
  border-radius: 6px;
  flex-direction: column;
  gap: .28rem;
  padding: .4rem;
  display: flex;
}

.palette-mini-line {
  background: var(--sw-ink);
  opacity: .8;
  border-radius: 3px;
  height: 5px;
}

.palette-mini-line.short {
  opacity: .4;
  width: 60%;
}

.palette-mini-chip {
  background: var(--sw-accent);
  border-radius: 5px;
  width: 55%;
  height: 9px;
}

.palette-dots {
  gap: 4px;
  display: flex;
}

.palette-dots i {
  border-radius: 50%;
  width: 11px;
  height: 11px;
  box-shadow: inset 0 0 0 1px #80808059;
}

.palette-label {
  justify-content: space-between;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
}

.palette-check {
  color: var(--accent);
  flex: none;
}

.palette-tone {
  color: var(--text-muted);
  font-size: .75rem;
}

.list-quantity-control {
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.list-quantity-control strong {
  text-align: center;
  min-width: 2rem;
  font-size: 1rem;
}

.list-quantity-control .icon-button {
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  border-radius: 0;
  font-size: 1.1rem;
}

.list-quantity-control .icon-button:last-child {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.list-quantity-control .icon-button:last-child:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
}

.rc {
  padding: 0;
  overflow: hidden;
}

.rc-grid {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "title title title"
                       "media price add"
                       "media meta add"
                       "spread spread spread";
  align-items: center;
  gap: 4px 12px;
  padding: 10px 14px 8px;
  display: grid;
}

.rc-media {
  cursor: pointer;
  background: none;
  border: 0;
  grid-area: media;
  align-self: center;
  padding: 0;
}

.rc .result-card-product-image {
  border-radius: var(--radius-md);
  width: 72px;
  height: 72px;
}

.rc-info {
  display: contents;
}

.rc-title {
  flex-direction: column;
  grid-area: title;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.rc-meta {
  grid-area: meta;
  align-self: start;
  min-width: 0;
}

.rc-title .rc-brand {
  display: none;
}

.rc-brand {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
}

.rc .result-card-title-toggle .product-name {
  letter-spacing: -.01em;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.rc-size {
  color: var(--text-secondary);
  margin-left: .4rem;
  font-size: .9rem;
  font-weight: 500;
}

.rc .result-card-unit-price {
  color: var(--text-secondary);
  font-size: .8rem;
  font-weight: 600;
}

.rc-price {
  text-align: left;
  flex-direction: column;
  grid-area: price;
  align-self: end;
  align-items: flex-start;
  gap: 3px;
  display: flex;
}

.rc .result-card-primary-price {
  letter-spacing: -.03em;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.rc .result-card-primary-price small {
  color: var(--text-secondary);
  letter-spacing: 0;
  margin-left: .25rem;
  font-size: .78rem;
  font-weight: 600;
}

.rc-store {
  color: var(--text-secondary);
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
}

.rc-store img {
  object-fit: contain;
  width: auto;
  max-width: 3rem;
  height: 14px;
}

.rc-badges {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .3rem;
  display: flex;
}

.rc-badges .savings-badge, .rc-badges .super-badge, .rc-badges .multibuy-badge {
  margin-top: 0;
}

.rc-spread {
  grid-area: spread;
  min-width: 0;
}

.rc-spread-labels, .rc-spread-track {
  display: none;
}

.rc-spread-labels {
  font-variant-numeric: tabular-nums;
  font-size: .75rem;
  font-weight: 700;
}

.rc-spread-low {
  color: var(--success);
}

.rc-spread-high {
  color: var(--text-secondary);
}

.rc-spread-track {
  height: 18px;
  margin: 0 8px;
  position: relative;
}

.rc-spread-track:before {
  content: "";
  background: var(--border-hover);
  border-radius: 2px;
  height: 3px;
  position: absolute;
  top: 7.5px;
  left: 0;
  right: 0;
}

.rc-spread-dot {
  border: 2px solid var(--bg-card);
  background: var(--text-muted);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 1px var(--text-muted);
  border-radius: 50%;
  margin-right: -6px;
  position: absolute;
  top: 3px;
  right: 0;
}

.rc-spread-dot--best {
  background: var(--accent);
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 1px var(--accent);
  margin-left: -8px;
  margin-right: 0;
  top: 1px;
  left: 0;
  right: auto;
}

.rc-spread-meta {
  width: 100%;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  margin: -4px 0;
  padding: 7px 0;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
}

.rc-spread-meta:hover {
  color: var(--text-primary);
}

.rc-spread-brand {
  min-width: 0;
  max-width: 10rem;
  color: var(--text-secondary);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  overflow: hidden;
}

.rc-spread-sep {
  opacity: .6;
  flex: none;
}

.rc-spread-count {
  white-space: nowrap;
}

.rc-chevron {
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  margin-left: auto;
  transition: transform .15s;
  transform: rotate(45deg);
}

.rc-spread-meta[aria-expanded="true"] .rc-chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.rc-add {
  grid-area: add;
  place-self: center end;
}

.rc-add .btn {
  background: var(--accent);
  min-height: 44px;
  color: var(--text-on-accent);
  border-color: #0000;
  padding: 0 1rem;
}

.rc-add .btn:hover:not(:disabled) {
  background: var(--accent-hover);
}

.rc-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  display: flex;
}

@media (min-width: 1000px) {
  .rc-grid {
    grid-template-columns: 72px minmax(170px, 1.2fr) minmax(200px, 1fr) minmax(130px, auto) auto;
    grid-template-areas: "media info spread price add";
    gap: 12px 22px;
    padding: 14px 16px;
  }

  .rc-info {
    flex-direction: column;
    grid-area: info;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    display: flex;
  }

  .rc-title .rc-brand, .rc-meta {
    display: block;
  }

  .rc-price {
    text-align: right;
    align-self: center;
    align-items: flex-end;
  }

  .rc-badges {
    justify-content: flex-end;
  }

  .rc-spread {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    display: flex;
  }

  .rc-spread-labels {
    justify-content: space-between;
    display: flex;
  }

  .rc-spread-track {
    display: block;
  }

  .rc-spread-brand, .rc-spread-sep {
    display: none;
  }

  .rc-spread-meta {
    align-self: flex-start;
    width: auto;
    margin: -6px 0;
    padding: 6px 0;
  }

  .rc-chevron {
    margin-left: 0;
  }

  .rc .result-card-product-image {
    width: 72px;
    height: 72px;
  }
}

.search-bar-card {
  padding: 1rem 1.1rem;
}

.search-input {
  border: 1.5px solid var(--border-hover);
  border-radius: 14px;
  height: 54px;
  font-size: 1.05rem;
  font-weight: 600;
}

.search-row .btn-primary {
  border-radius: 14px;
  min-height: 54px;
  padding: 0 1.4rem;
}

.store-chip, .sort-pill {
  border: 1.5px solid var(--border-hover);
  background: var(--bg-card);
  min-height: 40px;
  color: var(--text-primary);
  border-radius: 999px;
  align-items: center;
  gap: .4rem;
  padding: 0 .95rem;
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
}

.store-chip:hover:not(.active), .sort-pill:hover:not(:disabled):not(.active) {
  border-color: var(--accent);
  color: var(--text-primary);
}

.store-chip-toggle:not(.active) {
  opacity: 1;
}

.store-chip.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--text-primary);
}

.store-chip svg {
  color: var(--accent);
}

.sort-pill.active {
  border-color: #0000;
}

.sort-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.auth-title {
  letter-spacing: -.03em;
  font-weight: 800;
}

.auth-card {
  box-shadow: var(--shadow-lg);
}

.sort-pill {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .search-bar-card {
    position: static;
  }

  .rc .result-card-primary-price {
    font-size: 1.5rem;
  }

  .rc-store {
    flex-wrap: wrap;
    justify-content: flex-start;
    line-height: 1.25;
  }

  .rc-store-label {
    display: none;
  }

  .store-chip, .sort-pill {
    min-height: 44px;
  }
}

.search-filter-btn {
  border: 1.5px solid var(--border-hover);
  background: var(--bg-card);
  min-height: 54px;
  color: var(--text-primary);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  padding: 0 1rem;
  font-weight: 600;
  display: inline-flex;
  position: relative;
}

.search-filter-btn svg {
  color: var(--accent);
}

.search-filter-btn.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.search-filter-count {
  background: var(--accent);
  min-width: 1.25rem;
  height: 1.25rem;
  color: var(--text-on-accent);
  border-radius: 999px;
  place-items: center;
  padding: 0 .3rem;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  display: inline-grid;
}

@media (max-width: 768px) {
  .search-filter-count {
    position: absolute;
    top: -6px;
    right: -6px;
  }
}

.search-filters {
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: .7rem;
  margin-top: .7rem;
  padding-top: .7rem;
  display: flex;
}

.search-filters .search-store-chips {
  margin: 0;
}

.search-filters .sort-bar {
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  margin: 0;
  padding-bottom: 0;
  overflow: visible;
}

.search-filters .sort-pills {
  flex-wrap: wrap;
}

.search-filters .sort-pill, .search-filters .store-chip {
  padding: 0 .75rem;
  font-size: .85rem;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

@media (max-width: 768px) {
  .search-bar-card {
    padding: .65rem .7rem;
  }

  .search-input {
    height: 46px;
  }

  .search-row .btn-primary, .search-filter-btn {
    min-height: 46px;
  }

  .search-row .btn-primary {
    padding: 0 1.1rem;
  }

  .search-filter-label {
    display: none;
  }

  .search-filter-btn {
    padding: 0 .8rem;
  }

  .product-price-table tbody td {
    padding: .4rem .25rem;
  }

  .product-price-vendor-logo {
    width: 1.7rem;
    height: 1.5rem;
  }
}

.results-hint {
  color: var(--text-muted);
  margin: -.4rem 0 -.25rem;
  font-size: .78rem;
}

a.store-chip {
  opacity: 1;
  text-decoration: none;
}

.store-chip-cta {
  color: var(--accent);
  text-underline-offset: 3px;
  margin-left: .15rem;
  font-weight: 700;
  text-decoration: underline;
}

.store-rows-toggle {
  justify-content: center;
  margin-top: .75rem;
  display: flex;
}

.store-rows-toggle .btn {
  min-height: 44px;
}

.nav-dot {
  border: 2px solid var(--bg-card);
  background: var(--deal);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: -2px;
  right: -4px;
}

.me-link-badge {
  background: var(--accent);
  min-width: 22px;
  height: 22px;
  color: var(--text-on-accent);
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  padding: 0 6px;
  font-size: .75rem;
  font-weight: 800;
  line-height: 22px;
}

.pps-cheapest {
  color: var(--danger, #e05245);
}

@media (min-width: 769px) {
  .mobile-back-link {
    display: none;
  }
}

.product-detail-more-meta {
  display: none;
}

@media (max-width: 768px) {
  .product-back-desktop {
    display: none;
  }

  .product-detail-title-meta {
    gap: .25rem .6rem;
    margin-top: .35rem;
  }

  .product-detail-title-meta .pdm-secondary, .product-detail-title-meta .pdm-primary dt {
    display: none;
  }

  .product-detail-title-meta .pdm-primary dd {
    margin: 0;
  }

  .product-detail-title-meta .pdm-primary + .pdm-primary dd:before {
    content: "·";
    margin-right: .6rem;
  }

  .product-detail-more-meta {
    margin: 0 0 1rem;
    display: flex;
  }

  .product-gallery-image.product-image--detail {
    width: 100%;
    height: 100%;
  }

  .product-gallery-main {
    aspect-ratio: 4 / 3;
  }

  .pps-table tbody {
    gap: 0;
  }

  .pps-table tr {
    border: 0;
    border-top: 1px solid var(--border);
    background: none;
    border-radius: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 .9rem;
    padding: .5rem 0;
    display: flex;
  }

  .pps-table tr:first-child {
    border-top: 0;
  }

  .pps-table tr:after {
    content: "";
    flex-basis: 100%;
    order: 1;
    height: 0;
  }

  .pps-table td {
    color: var(--text-secondary);
    text-align: left;
    border: 0;
    flex: none;
    order: 2;
    padding: 0;
    font-size: .8rem;
    display: block;
  }

  .pps-table td:before {
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: none;
    flex: none;
    margin: 0 .3rem 0 0;
    font-size: .72rem;
    font-weight: 600;
    display: inline;
  }

  .pps-table td.pps-store {
    min-width: 0;
    color: var(--text-primary);
    flex: 1 1 0;
    order: 0;
    font-size: .95rem;
    font-weight: 600;
  }

  .pps-table td.pps-store:before, .pps-table td[data-label="Best now"]:before {
    content: none;
  }

  .pps-table td[data-label="Best now"] {
    color: var(--text-primary);
    text-align: right;
    order: 1;
    font-size: 1.15rem;
    font-weight: 800;
  }

  .pps-table td.pps-cheapest {
    color: var(--danger, #e05245);
  }

  .pps-table td.pps-unit {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .3rem;
    display: flex;
  }

  .pps-table td.pps-unit:before {
    margin: 0;
  }

  .pps-table td.pps-empty, .pps-table td.pps-redundant {
    display: none;
  }
}

/* [project]/src/app/palettes.generated.css [app-client] (css) */
:root[data-palette="omarchy-catppuccin"] {
  --bg-primary: #1e1e2e;
  --bg-secondary: #2a2b3c;
  --bg-card: #252536;
  --bg-card-hover: #2a2b3c;
  --bg-glass: #252536;
  --bg-input: #1e1e2e;
  --bg-hover: #cdd6f40f;
  --text-primary: #cdd6f4;
  --text-secondary: #a6adc8;
  --text-muted: #8b90a9;
  --text-on-accent: #1e1e2e;
  --accent: #89b4fa;
  --accent-hover: #95baf9;
  --accent-glow: #89b4fa38;
  --success: #a6e3a1;
  --warning: #f9e2af;
  --danger: #f38ba8;
  --deal: #f38ba8;
  --deal-bg: #3f3345;
  --border: #303143;
  --border-hover: #404155;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-catppuccin-latte"] {
  --bg-primary: #e9ebf0;
  --bg-secondary: #e3e5eb;
  --bg-card: #f7f8fa;
  --bg-card-hover: #e3e5eb;
  --bg-glass: #f7f8fa;
  --bg-input: #f7f8fa;
  --bg-hover: #4c4f690f;
  --text-primary: #4c4f69;
  --text-secondary: #575a73;
  --text-muted: #65687f;
  --text-on-accent: #fff;
  --accent: #1e66f5;
  --accent-hover: #2c64db;
  --accent-glow: #1e66f538;
  --success: #4b7359;
  --warning: #746261;
  --danger: #d20f39;
  --deal: #b43548;
  --deal-bg: #f7ddde;
  --border: #dcdee5;
  --border-hover: #ccced8;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-palette="omarchy-ethereal"] {
  --bg-primary: #060b1e;
  --bg-secondary: #16192a;
  --bg-card: #0e1224;
  --bg-card-hover: #16192a;
  --bg-glass: #0e1224;
  --bg-input: #060b1e;
  --bg-hover: #ffcead0f;
  --text-primary: #ffcead;
  --text-secondary: #c6a28f;
  --text-muted: #957d75;
  --text-on-accent: #060b1e;
  --accent: #7d82d9;
  --accent-hover: #9391d4;
  --accent-glow: #7d82d938;
  --success: #92a593;
  --warning: #e9bb4f;
  --danger: #ed5b5a;
  --deal: #ed5b5a;
  --deal-bg: #2a1e2d;
  --border: #1d1f2e;
  --border-hover: #32303c;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-everforest"] {
  --bg-primary: #2d353b;
  --bg-secondary: #394044;
  --bg-card: #343b40;
  --bg-card-hover: #394044;
  --bg-glass: #343b40;
  --bg-input: #2d353b;
  --bg-hover: #d3c6aa0f;
  --text-primary: #d3c6aa;
  --text-secondary: #c0b69e;
  --text-muted: #afa793;
  --text-on-accent: #2d353b;
  --accent: #7fbbb3;
  --accent-hover: #90bdb2;
  --accent-glow: #7fbbb338;
  --success: #a7c080;
  --warning: #dbbc7f;
  --danger: #e3908a;
  --deal: #dea897;
  --deal-bg: #4c4549;
  --border: #3f4547;
  --border-hover: #4e5252;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-flexoki-light"] {
  --bg-primary: #f5f2e7;
  --bg-secondary: #ece9de;
  --bg-card: #fffef8;
  --bg-card-hover: #ece9de;
  --bg-glass: #fffef8;
  --bg-input: #fffef8;
  --bg-hover: #100f0f0f;
  --text-primary: #100f0f;
  --text-secondary: #373634;
  --text-muted: #605e5a;
  --text-on-accent: #fffcf0;
  --accent: #205ea6;
  --accent-hover: #204f88;
  --accent-glow: #205ea638;
  --success: #5f6c2e;
  --warning: #7b6221;
  --danger: #af4339;
  --deal: #af4339;
  --deal-bg: #fce6de;
  --border: #e1ded4;
  --border-hover: #c9c6bd;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-palette="omarchy-gruvbox"] {
  --bg-primary: #282828;
  --bg-secondary: #353331;
  --bg-card: #2f2e2d;
  --bg-card-hover: #353331;
  --bg-glass: #2f2e2d;
  --bg-input: #282828;
  --bg-hover: #d4be980f;
  --text-primary: #d4be98;
  --text-secondary: #b7a586;
  --text-muted: #a39479;
  --text-on-accent: #282828;
  --accent: #7daea3;
  --accent-hover: #8eb1a1;
  --accent-glow: #7daea338;
  --success: #a9b665;
  --warning: #d8a657;
  --danger: #e97166;
  --deal: #e48e77;
  --deal-bg: #483734;
  --border: #3a3834;
  --border-hover: #4a463f;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-hackerman"] {
  --bg-primary: #0b0c16;
  --bg-secondary: #191c26;
  --bg-card: #12141e;
  --bg-card-hover: #191c26;
  --bg-glass: #12141e;
  --bg-input: #0b0c16;
  --bg-hover: #ddf7ff0f;
  --text-primary: #ddf7ff;
  --text-secondary: #adc1ca;
  --text-muted: #84939d;
  --text-on-accent: #0b0c16;
  --accent: #82fb9c;
  --accent-hover: #95fbaf;
  --accent-glow: #82fb9c38;
  --success: #4fe88f;
  --warning: #50f7d4;
  --danger: #50f872;
  --deal: #50f872;
  --deal-bg: #1d2f2b;
  --border: #1f222d;
  --border-hover: #313742;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-kanagawa"] {
  --bg-primary: #1f1f28;
  --bg-secondary: #2c2c33;
  --bg-card: #26262e;
  --bg-card-hover: #2c2c33;
  --bg-glass: #26262e;
  --bg-input: #1f1f28;
  --bg-hover: #dcd7ba0f;
  --text-primary: #dcd7ba;
  --text-secondary: #b2ae9a;
  --text-muted: #949184;
  --text-on-accent: #1f1f28;
  --accent: #dcd7ba;
  --accent-hover: #dcd7ba;
  --accent-glow: #dcd7ba38;
  --success: #7e9970;
  --warning: #c0a36e;
  --danger: #d27d6e;
  --deal: #d48877;
  --deal-bg: #3b2d33;
  --border: #323238;
  --border-hover: #434245;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-last-horizon"] {
  --bg-primary: #0c0b0c;
  --bg-secondary: #1c1b1c;
  --bg-card: #141314;
  --bg-card-hover: #1c1b1c;
  --bg-glass: #141314;
  --bg-input: #0c0b0c;
  --bg-hover: #fafcfb0f;
  --text-primary: #fafcfb;
  --text-secondary: #c4c5c4;
  --text-muted: #959595;
  --text-on-accent: #0c0b0c;
  --accent: #b59790;
  --accent-hover: #c1a9a2;
  --accent-glow: #b5979038;
  --success: #87a9b0;
  --warning: #8b8192;
  --danger: #c38b7b;
  --deal: #c38b7b;
  --deal-bg: #292221;
  --border: #232223;
  --border-hover: #373637;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-lumon"] {
  --bg-primary: #16242d;
  --bg-secondary: #24323b;
  --bg-card: #1d2b34;
  --bg-card-hover: #24323b;
  --bg-glass: #1d2b34;
  --bg-input: #16242d;
  --bg-hover: #d6e2ee0f;
  --text-primary: #d6e2ee;
  --text-secondary: #abb8c4;
  --text-muted: #86949f;
  --text-on-accent: #16242d;
  --accent: #8bc9eb;
  --accent-hover: #99ceec;
  --accent-glow: #8bc9eb38;
  --success: #689bc0;
  --warning: #6fa4c9;
  --danger: #6e9cbf;
  --deal: #79a3c4;
  --deal-bg: #233744;
  --border: #2a3841;
  --border-hover: #3b4953;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-lupine"] {
  --bg-primary: #f1f1f1;
  --bg-secondary: #e9e9e9;
  --bg-card: #fcfcfc;
  --bg-card-hover: #e9e9e9;
  --bg-glass: #fcfcfc;
  --bg-input: #fcfcfc;
  --bg-hover: #2121210f;
  --text-primary: #212121;
  --text-secondary: #464646;
  --text-muted: #6b6b6b;
  --text-on-accent: #fafafa;
  --accent: #3264eb;
  --accent-hover: #3059c3;
  --accent-glow: #3264eb38;
  --success: #4a2fd0;
  --warning: #0e69cd;
  --danger: #bb14b6;
  --deal: #ac1da8;
  --deal-bg: #f8e1f5;
  --border: #dfdfdf;
  --border-hover: #cacaca;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-palette="omarchy-matte-black"] {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-card: #181818;
  --bg-card-hover: #1e1e1e;
  --bg-glass: #181818;
  --bg-input: #121212;
  --bg-hover: #bebebe0f;
  --text-primary: #bebebe;
  --text-secondary: #979797;
  --text-muted: #818181;
  --text-on-accent: #121212;
  --accent: #e68e0d;
  --accent-hover: #e09847;
  --accent-glow: #e68e0d38;
  --success: #ffc107;
  --warning: #c36a60;
  --danger: #d35f5f;
  --deal: #d2706e;
  --deal-bg: #2f2221;
  --border: #232323;
  --border-hover: #323232;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-miasma"] {
  --bg-primary: #222;
  --bg-secondary: #2e2e2c;
  --bg-card: #282827;
  --bg-card-hover: #2e2e2c;
  --bg-glass: #282827;
  --bg-input: #222;
  --bg-hover: #c2c2b00f;
  --text-primary: #c2c2b0;
  --text-secondary: #9f9f91;
  --text-muted: #8f8f84;
  --text-on-accent: #000;
  --accent: #78824b;
  --accent-hover: #858d5d;
  --accent-glow: #78824b38;
  --success: #7f9a78;
  --warning: #ba8967;
  --danger: #978f7b;
  --deal: #a19b87;
  --deal-bg: #34322f;
  --border: #333331;
  --border-hover: #41413e;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-nord"] {
  --bg-primary: #2e3440;
  --bg-secondary: #3b414d;
  --bg-card: #353b47;
  --bg-card-hover: #3b414d;
  --bg-glass: #353b47;
  --bg-input: #2e3440;
  --bg-hover: #d8dee90f;
  --text-primary: #d8dee9;
  --text-secondary: #b3b9c4;
  --text-muted: #a2a9b5;
  --text-on-accent: #2e3440;
  --accent: #81a1c1;
  --accent-hover: #90acc8;
  --accent-glow: #81a1c138;
  --success: #a3be8c;
  --warning: #ebcb8b;
  --danger: #ce989f;
  --deal: #d1a8b0;
  --deal-bg: #49434f;
  --border: #404652;
  --border-hover: #4f5662;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-osaka-jade"] {
  --bg-primary: #111c18;
  --bg-secondary: #1e2821;
  --bg-card: #18221d;
  --bg-card-hover: #1e2821;
  --bg-glass: #18221d;
  --bg-input: #111c18;
  --bg-hover: #c1c4970f;
  --text-primary: #c1c497;
  --text-secondary: #9a9f7b;
  --text-muted: #838a6b;
  --text-on-accent: #111c18;
  --accent: #509475;
  --accent-hover: #669d7b;
  --accent-glow: #50947538;
  --success: #549e6a;
  --warning: #519857;
  --danger: #ff5345;
  --deal: #f96b53;
  --deal-bg: #372c24;
  --border: #232d25;
  --border-hover: #333c31;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-retro-82"] {
  --bg-primary: #05182e;
  --bg-secondary: #162739;
  --bg-card: #0e2034;
  --bg-card-hover: #162739;
  --bg-glass: #0e2034;
  --bg-input: #05182e;
  --bg-hover: #f6dcac0f;
  --text-primary: #f6dcac;
  --text-secondary: #c0b193;
  --text-muted: #918c7c;
  --text-on-accent: #05182e;
  --accent: #faa968;
  --accent-hover: #fab275;
  --accent-glow: #faa96838;
  --success: #479297;
  --warning: #e97b3c;
  --danger: #f85525;
  --deal: #f96334;
  --deal-bg: #2f2b38;
  --border: #1e2d3d;
  --border-hover: #333f4a;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-ristretto"] {
  --bg-primary: #2c2525;
  --bg-secondary: #3a3232;
  --bg-card: #332c2c;
  --bg-card-hover: #3a3232;
  --bg-glass: #332c2c;
  --bg-input: #2c2525;
  --bg-hover: #e6d9db0f;
  --text-primary: #e6d9db;
  --text-secondary: #bdb1b3;
  --text-muted: #a09596;
  --text-on-accent: #2c2525;
  --accent: #f38d70;
  --accent-hover: #f29c84;
  --accent-glow: #f38d7038;
  --success: #adda78;
  --warning: #f9cc6c;
  --danger: #fd6883;
  --deal: #fc7d91;
  --deal-bg: #4d3537;
  --border: #3f3838;
  --border-hover: #504848;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-rose-pine"] {
  --bg-primary: #f4eee9;
  --bg-secondary: #eee8e5;
  --bg-card: #fdf9f6;
  --bg-card-hover: #eee8e5;
  --bg-glass: #fdf9f6;
  --bg-input: #fdf9f6;
  --bg-hover: #5752790f;
  --text-primary: #575279;
  --text-secondary: #5f5a7f;
  --text-muted: #6b6689;
  --text-on-accent: #000;
  --accent: #588999;
  --accent-hover: #597f93;
  --accent-glow: #58899938;
  --success: #286983;
  --warning: #726274;
  --danger: #8f5e7a;
  --deal: #805b7a;
  --deal-bg: #f4e3e4;
  --border: #e7e1e0;
  --border-hover: #d7d2d5;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

:root[data-palette="omarchy-solitude"] {
  --bg-primary: #101315;
  --bg-secondary: #1d2022;
  --bg-card: #171a1c;
  --bg-card-hover: #1d2022;
  --bg-glass: #171a1c;
  --bg-input: #101315;
  --bg-hover: #cacccc0f;
  --text-primary: #cacccc;
  --text-secondary: #a0a2a3;
  --text-muted: #828586;
  --text-on-accent: #101315;
  --accent: #798186;
  --accent-hover: #878e92;
  --accent-glow: #79818638;
  --success: #9fa5a9;
  --warning: #d9dbdc;
  --danger: #7e8485;
  --deal: #8d9294;
  --deal-bg: #212527;
  --border: #222527;
  --border-hover: #333637;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-tokyo-night"] {
  --bg-primary: #1a1b26;
  --bg-secondary: #242633;
  --bg-card: #1f212d;
  --bg-card-hover: #242633;
  --bg-glass: #1f212d;
  --bg-input: #1a1b26;
  --bg-hover: #a9b1d60f;
  --text-primary: #a9b1d6;
  --text-secondary: #9198b8;
  --text-muted: #858baa;
  --text-on-accent: #1a1b26;
  --accent: #7aa2f7;
  --accent-hover: #83a5f1;
  --accent-glow: #7aa2f738;
  --success: #9ece6a;
  --warning: #e0af68;
  --danger: #f7768e;
  --deal: #f7768e;
  --deal-bg: #3a2d3a;
  --border: #292a38;
  --border-hover: #363848;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-vantablack"] {
  --bg-primary: #000;
  --bg-secondary: #020202;
  --bg-card: #000;
  --bg-card-hover: #020202;
  --bg-glass: #000;
  --bg-input: #000;
  --bg-hover: #ffffff0f;
  --text-primary: #fff;
  --text-secondary: #bebebe;
  --text-muted: #868686;
  --text-on-accent: #000;
  --accent: #8d8d8d;
  --accent-hover: #a1a1a1;
  --accent-glow: #8d8d8d38;
  --success: #b6b6b6;
  --warning: #cecece;
  --danger: #a4a4a4;
  --deal: #a4a4a4;
  --deal-bg: #030303;
  --border: #060606;
  --border-hover: #1b1b1b;
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

:root[data-palette="omarchy-white"] {
  --bg-primary: #f3f3f3;
  --bg-secondary: #e8e8e8;
  --bg-card: #fff;
  --bg-card-hover: #e8e8e8;
  --bg-glass: #fff;
  --bg-input: #fff;
  --bg-hover: #0000000f;
  --text-primary: #000;
  --text-secondary: #161616;
  --text-muted: #424242;
  --text-on-accent: #fff;
  --accent: #6e6e6e;
  --accent-hover: #535353;
  --accent-glow: #6e6e6e38;
  --success: #3a3a3a;
  --warning: #4a4a4a;
  --danger: #2a2a2a;
  --deal: #2a2a2a;
  --deal-bg: #dedede;
  --border: #dbdbdb;
  --border-hover: #bebebe;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

/*# sourceMappingURL=_ee64f8b6._.css.map*/