:root {
  --ink: #1b2a4a;
  --accent: #ff5a1f;
  --muted: rgba(27, 42, 74, 0.65);
  --line: rgba(27, 42, 74, 0.1);
  --soft: rgba(27, 42, 74, 0.04);
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--ink);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}

button, input, select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

.wrap {
  width: min(100% - 2rem, 64rem);
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}

.wrap-narrow { width: min(100% - 2.5rem, 48rem); }

.topbar, .split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-row { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-glyph {
  flex: 0 0 auto;
  display: inline-flex;
  line-height: 0;
}
.brand-glyph img,
.brand-glyph svg {
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin: 0; }

.hero {
  margin-top: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .brand-glyph img {
  width: 128px;
  height: 128px;
  min-width: 128px;
  min-height: 128px;
}

.hero h1, .title {
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22rem;
  margin: 0 auto;
}
.hero-subhead {
  margin: 0.55rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink-soft, #3a4558);
}
.seo-shell .hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}
.seo-shell .hero .lede {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.35rem;
}
.app-title {
  margin: 0.1rem 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.app .brand-row {
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.4rem;
}
.app .brand-copy {
  min-width: 0;
}
.app-header-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 0;
}
.list-code-header-btn {
  border: 1px solid rgba(255, 90, 31, 0.35);
  background: rgba(255, 90, 31, 0.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
  max-width: min(46vw, 11rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-code-header-btn:active {
  transform: scale(0.98);
}
.app-lang {
  flex: 0 0 auto;
  padding-top: 0;
  text-align: right;
}
.app-tools-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  width: 100%;
}
.app-tools-row .list-sync-card {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.app-tools-row .chrome-ext-banner {
  margin-top: 0;
}
/* Mobile / tablet: one full-width card, button under copy (no half-width grid cell) */
.app-tools-row .list-sync-card-top {
  flex-direction: column;
  align-items: stretch;
}
.app-tools-row .list-sync-open {
  width: 100%;
}
.list-sync-card {
  margin: 1rem 0 0.25rem;
  border: 1px solid rgba(255, 90, 31, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.07), #fff 55%);
  padding: 0.9rem 1rem 1rem;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.06);
}
.list-sync-card-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.list-sync-card-copy {
  min-width: 0;
  width: 100%;
}
.list-sync-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  width: 100%;
}
.list-sync-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.55);
  text-align: left;
  flex: 0 0 auto;
}
.list-sync-code {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
.list-sync-hint {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.list-sync-open,
.btn.list-sync-open,
.app-tools-row .chrome-ext-banner .btn.growth-banner-cta {
  width: 100%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  height: 2.15rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}
.list-code-restore .btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.app .lang-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.app .app-composer {
  margin-top: 1.35rem;
}
.app .url-input {
  border: 1.5px solid rgba(255, 90, 31, 0.55);
  background: #fff;
  box-shadow: none;
}
.app .url-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.14);
}
/* Desktop + tablet landscape: large lockup next to logo */
@media (min-width: 640px) and (orientation: landscape), (min-width: 1024px) {
  .app-header {
    margin-bottom: 0.75rem;
    gap: 1rem 1.25rem;
  }
  .app .brand-row {
    gap: 0.4rem;
    align-items: center;
  }
  .app .brand-glyph img,
  .app .brand-glyph svg {
    width: 92px;
    height: 92px;
    min-width: 92px;
    min-height: 92px;
  }
  .app .kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
  }
  .app-title {
    margin-top: 0.2rem;
    font-size: 1.55rem;
    line-height: 1.18;
  }
  .app .app-composer {
    margin-top: 2.35rem;
  }
}

/* Phone + tablet portrait: keep slogan aligned/smaller next to logo */
@media (max-width: 1023px) and (orientation: portrait) {
  .app-header {
    align-items: center;
    gap: 0.55rem;
  }
  .app .brand-row {
    gap: 0.55rem;
    align-items: center;
  }
  .app .brand-glyph img,
  .app .brand-glyph svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .app .kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.25;
  }
  .app-title {
    margin-top: 0.15rem;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 700;
  }
  .app .app-composer {
    margin-top: 1.55rem;
  }
}

.lede {
  max-width: 36rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.4vw, 1.02rem);
  line-height: 1.55;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin-top: 2rem;
}

.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 90, 31, 0.35);
}

.btn-dark { background: var(--ink); color: #fff; }

.btn-ghost, .btn-line {
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.14);
}

.btn:disabled { opacity: 0.5; cursor: default; }

.offline-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--ink);
}

.offline-icon {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.offline-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.offline-text {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.offline-retry {
  width: auto;
  min-width: 10rem;
  margin-top: 0.75rem;
  padding-inline: 1.4rem;
}

.seo-shell .seo-lang {
  text-align: right;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.seo-shell .seo-lang a { color: var(--accent); font-weight: 600; text-decoration: none; }

.seo-shops, .seo-guides, .seo-partners {
  margin-top: 2rem;
}

.seo-shops h2, .seo-guides h2, .seo-partners h2 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.seo-shops p, .seo-guides ul, .seo-partners p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.seo-guides ul {
  padding-left: 1.1rem;
}

.seo-guides a {
  color: var(--ink);
  font-weight: 600;
}

.guide-page {
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(255, 90, 31, 0.08), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(27, 42, 74, 0.06), transparent 50%),
    linear-gradient(180deg, #fbfaf8 0%, #fff 42%, #fff 100%);
  min-height: 100vh;
}
.guide-wrap {
  max-width: min(100% - 2rem, 56rem);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
  text-align: left;
}
.guide-nav { margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.guide-nav a { color: var(--accent); font-weight: 600; text-decoration: none; }
.guide-search {
  position: relative;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}
.guide-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.guide-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line, #dce1e8);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.guide-search-input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.guide-search-results {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  max-height: 18rem;
  overflow: auto;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dce1e8);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.12);
}
.guide-search-results[hidden] { display: none; }
.guide-search-results li { margin: 0; }
.guide-search-results a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
}
.guide-search-results a:hover,
.guide-search-results a:focus {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  outline: none;
}
.guide-search-empty {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.seo-guides-all { margin: 0 0 0.75rem; }
.seo-guides-all a { color: var(--accent); font-weight: 700; text-decoration: none; }
.guides-hub-list { margin: 1.5rem 0 0; }
.guides-hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .guides-hub-grid { grid-template-columns: 1fr 1fr; }
}
.guides-hub-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, #dce1e8);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  background: var(--surface, #fff);
}
.guides-hub-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line, #dce1e8));
  color: var(--accent);
}
html[dir="rtl"] .guides-hub-card,
html[dir="rtl"] .seo-guides-all {
  text-align: right;
}
.guide-article { display: grid; gap: 0; max-width: 100%; }
.guide-hero {
  padding: 0 0 1.35rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.guide-kicker { margin: 0 0 0.65rem; }
.guide-wrap h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.guide-wrap .lede {
  color: var(--muted);
  margin: 0 0 1.15rem;
  line-height: 1.65;
  font-size: 1.08rem;
  width: 100%;
  max-width: none;
  text-align: left;
}
.guide-hero-cta { margin: 0; }
.guide-poster {
  margin: 0 0 1.15rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #eef1f6;
}
.guide-poster img {
  display: block;
  width: 100%;
  height: auto;
}
.guide-poster-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.guide-media-wrap { margin: 2.25rem 0 0; }
.guide-media {
  display: grid;
  gap: 1rem;
  margin: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .guide-media { grid-template-columns: 1fr 1fr; }
  .guide-media .guide-figure:first-child { grid-column: 1 / -1; }
}
.guide-figure { margin: 0; }
.guide-figure-problem {
  margin: 1.25rem 0 0;
}
.guide-figure-problem img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--soft);
}
.guide-media .guide-figure-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.9rem;
  overflow: hidden;
}
.guide-media .guide-figure-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--soft);
}
.guide-media .guide-figure-link img {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.guide-media .guide-figure-link:hover img {
  transform: scale(1.01);
  opacity: 0.96;
}
.guide-media .guide-figure-open {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(27, 42, 74, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.guide-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}
.guide-body { margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.guide-body > p { margin: 0; color: var(--ink); line-height: 1.7; font-size: 1.05rem; }
.guide-voices,
.guide-solution,
.guide-discuss {
  margin: 2.1rem 0 0;
}
.guide-voices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.guide-voice {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 90, 31, 0.06);
  border-top: 1px solid rgba(255, 90, 31, 0.1);
  border-right: 1px solid rgba(255, 90, 31, 0.1);
  border-bottom: 1px solid rgba(255, 90, 31, 0.1);
}
.guide-voice blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.guide-voice-note {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.guide-solution {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 90, 31, 0.28);
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.08), rgba(27, 42, 74, 0.03));
}
.guide-solution > p { margin: 0; line-height: 1.65; color: var(--ink); }
.guide-solution-cta { margin: 1rem 0 0 !important; }
.guide-discuss {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(27, 42, 74, 0.25);
  background: rgba(27, 42, 74, 0.03);
}
.guide-discuss-prompt {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--ink);
}
.guide-discuss-btn,
a.btn.guide-discuss-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.guide-discuss-btn:hover { border-color: var(--accent); color: var(--accent); }
.guide-steps-wrap,
.guide-faq,
.guide-related,
.guide-media-wrap { width: 100%; }
.guide-callout,
.guide-tip,
.guide-shops {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  line-height: 1.55;
}
.guide-callout {
  border-left: 4px solid var(--accent);
  background: rgba(255, 90, 31, 0.07);
  border-top: 1px solid rgba(255, 90, 31, 0.12);
  border-right: 1px solid rgba(255, 90, 31, 0.12);
  border-bottom: 1px solid rgba(255, 90, 31, 0.12);
}
.guide-callout-title {
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guide-callout p:last-child,
.guide-tip p,
.guide-shops p:last-child { margin: 0; color: var(--ink); }
.guide-tip {
  border: 1px dashed rgba(27, 42, 74, 0.22);
  background: rgba(27, 42, 74, 0.035);
}
.guide-shops {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.06), rgba(27, 42, 74, 0.04));
}
.guide-shops-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.guide-section-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.guide-steps-wrap { margin: 2.25rem 0 0; }
.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}
.guide-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
}
.guide-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.guide-step-copy h3 {
  font-size: 1.05rem;
  margin: 0.1rem 0 0.35rem;
  line-height: 1.25;
}
.guide-step-copy p { margin: 0; color: var(--muted); line-height: 1.5; }
.guide-faq { margin: 2.25rem 0 0; display: grid; gap: 0.65rem; }
.guide-faq details {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.92);
}
.guide-faq summary { cursor: pointer; font-weight: 700; }
.guide-faq p { margin: 0.55rem 0 0; color: var(--muted); line-height: 1.5; }
.guide-related { margin: 2.25rem 0 0; }
.guide-related-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .guide-related-grid { grid-template-columns: 1fr 1fr; }
}
.guide-related-card {
  display: block;
  text-decoration: none;
  padding: 0.95rem 1.05rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.guide-related-card:hover {
  border-color: rgba(255, 90, 31, 0.45);
  transform: translateY(-1px);
}
.guide-related-card span { display: block; }
.guide-cta { margin: 2rem 0 3rem; }
.guide-wrap .btn { display: inline-block; width: auto; min-width: 12rem; }

/* Arabic / RTL guide pages: full right-to-left reading block */
html[dir="rtl"] .guide-wrap,
html[dir="rtl"] .guide-hero,
html[dir="rtl"] .guide-body,
html[dir="rtl"] .guide-section-title,
html[dir="rtl"] .guide-wrap h1,
html[dir="rtl"] .guide-wrap .lede,
html[dir="rtl"] .guide-kicker,
html[dir="rtl"] .guide-nav,
html[dir="rtl"] .guide-search,
html[dir="rtl"] .guide-faq,
html[dir="rtl"] .guide-related,
html[dir="rtl"] .guide-solution,
html[dir="rtl"] .guide-discuss,
html[dir="rtl"] .guide-voices,
html[dir="rtl"] .guide-steps-wrap,
html[dir="rtl"] .guide-figure figcaption {
  text-align: right;
}
html[dir="rtl"] .guide-search-input {
  text-align: right;
}
html[dir="rtl"] .guide-search-results a,
html[dir="rtl"] .guide-search-empty {
  text-align: right;
}
html[dir="rtl"] .guide-hero-cta,
html[dir="rtl"] .guide-solution-cta,
html[dir="rtl"] .guide-cta {
  text-align: right;
}
html[dir="rtl"] .guide-callout {
  border-left: 1px solid rgba(255, 90, 31, 0.12);
  border-right: 4px solid var(--accent);
}
html[dir="rtl"] .guide-voice {
  border-left: 1px solid rgba(255, 90, 31, 0.1);
  border-right: 4px solid var(--accent);
}
html[dir="rtl"] .guide-steps li {
  grid-template-columns: 1fr auto;
}
html[dir="rtl"] .guide-step-num {
  order: 2;
}
html[dir="rtl"] .guide-step-copy {
  order: 1;
  text-align: right;
}
html[dir="rtl"] .guide-faq summary,
html[dir="rtl"] .guide-faq p,
html[dir="rtl"] .guide-related-card,
html[dir="rtl"] .guide-callout-title,
html[dir="rtl"] .guide-shops-title,
html[dir="rtl"] .guide-voice blockquote,
html[dir="rtl"] .guide-voice-note,
html[dir="rtl"] .guide-discuss-prompt,
html[dir="rtl"] .guide-solution > p {
  text-align: right;
}
html[dir="rtl"] .guide-media .guide-figure-open {
  right: auto;
  left: 0.75rem;
}

.legal-doc p { margin: 0 0 1.1rem; line-height: 1.55; color: var(--ink); }
.legal-doc .guide-cta { margin-top: 2.25rem; margin-bottom: 3rem; }

.benefits {
  display: grid;
  gap: 0.75rem;
  margin-top: 3.5rem;
  padding: 0;
  list-style: none;
}

.benefit {
  border: 1px solid rgba(27, 42, 74, 0.08);
  background: rgba(27, 42, 74, 0.03);
  border-radius: 1.5rem;
  padding: 1.25rem;
  text-align: left;
}

.benefit .num { color: var(--accent); font-size: 0.75rem; font-weight: 700; }
.benefit h2 { margin-top: 0.4rem; font-size: 1.1rem; }
.benefit p { margin-top: 0.3rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.note { margin-top: 3rem; text-align: center; color: rgba(27, 42, 74, 0.45); font-size: 0.75rem; }

.lang-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.lang-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.lang-wrap {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(27, 42, 74, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.lang-flag {
  display: block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(27, 42, 74, 0.12);
  flex: none;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-end: 0;
  inset-inline-start: auto;
  z-index: 40;
  min-width: 11rem;
  max-width: min(14rem, calc(100vw - 1.25rem));
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid rgba(27, 42, 74, 0.12);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(27, 42, 74, 0.14);
}
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-menu li:hover,
.lang-menu li.active {
  background: var(--soft);
}

.site-footer {
  margin-top: 2.25rem;
  padding: 1.15rem 0 0.5rem;
  text-align: center;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer-links button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(27, 42, 74, 0.55);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.site-footer-links button:hover,
.site-footer-links a:hover {
  color: var(--accent);
}
.site-footer-links a {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(27, 42, 74, 0.55);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer-copy {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(27, 42, 74, 0.45);
}
.site-footer-heart {
  color: #e11d48;
}
.legal-modal .legal-body-wrap {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
  max-height: min(55vh, 28rem);
  overflow: auto;
  text-align: left;
}
.legal-modal .legal-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: rgba(27, 42, 74, 0.78);
  font-size: 0.92rem;
}
.sites {
  margin-top: 2.75rem;
}
.partners {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.partners-caption {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.45);
}
.partner-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(100%, 26rem);
  padding: 0.55rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(27, 42, 74, 0.1);
  background: rgba(27, 42, 74, 0.02);
  text-decoration: none;
  color: inherit;
  text-align: left;
}
.partner-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.04);
}
.partner-logo {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 0.75rem;
}
.partner-copy {
  min-width: 0;
}
.partner-name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.partner-blurb {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(27, 42, 74, 0.62);
}
@media (max-width: 639px) {
  .partners {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    padding: 0 0.15rem;
  }
  .partners-caption {
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
  }
  .partner-card {
    gap: 0.55rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.65rem;
    border-radius: 0.85rem;
  }
  .partner-logo {
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
  }
  .partner-name {
    font-size: 0.82rem;
  }
  .partner-blurb {
    font-size: 0.7rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .partners {
    margin-top: 1.85rem;
  }
  .partner-card {
    gap: 0.65rem;
    max-width: min(100%, 22rem);
    padding: 0.5rem 0.75rem;
  }
  .partner-logo {
    width: 48px;
    height: 48px;
    border-radius: 0.65rem;
  }
  .partner-blurb {
    font-size: 0.72rem;
  }
}
.sites-caption {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.45);
}
.sites-note {
  margin: 0.75rem 0 1rem;
  border-radius: 0.8rem;
  background: rgba(255, 90, 31, 0.12);
  color: var(--accent);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.65rem 0.75rem;
}
.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.logo-grid li { margin: 0; }
.logo-grid button,
.logo-grid a.merchant-logo-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(27, 42, 74, 0.08);
  background: rgba(27, 42, 74, 0.03);
  border-radius: 0.6rem;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.logo-grid button:hover,
.logo-grid button.active,
.logo-grid a.merchant-logo-link:hover,
.logo-grid a.merchant-logo-link.active {
  background: rgba(255, 90, 31, 0.12);
  border-color: #ff5a1f;
  transform: scale(1.04);
}
.list-code-help {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted, #6b7280);
  line-height: 1.4;
}
.list-code-modal-back {
  padding: max(0.5rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}
.list-code-modal {
  width: min(100%, 32rem);
  max-height: calc(100dvh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.1rem 0.85rem;
  overflow: hidden;
}
.list-code-modal h2 {
  margin: 0;
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  line-height: 1.2;
}
.list-code-lead {
  margin-top: 0.55rem;
}
.list-code-body {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 0.1rem;
  padding-bottom: 0.15rem;
}
.list-code-modal > h2,
.list-code-modal > .list-code-lead,
.list-code-modal > .list-code-close {
  flex-shrink: 0;
}
.list-code-modal .code {
  margin-top: 0;
  font-size: clamp(0.72rem, 2.8vw, 0.88rem);
  line-height: 1.35;
  user-select: all;
  -webkit-user-select: all;
}
.list-code-restore {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 90, 31, 0.06);
  border: 1px solid rgba(255, 90, 31, 0.18);
}
.list-code-form {
  margin-top: 0;
}
.list-code-form .field {
  font-size: 1rem; /* avoid iOS zoom on focus */
  min-height: 2.85rem;
}
.list-code-modal .btn {
  min-height: 2.85rem;
}
.list-code-close {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.7rem 0.5rem;
  flex-shrink: 0;
}
.cat-ro {
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
}
.open-site {
  display: block;
  margin-top: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.list-code-note {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
.list-code-open {
  display: block;
  width: auto;
  min-height: 2.65rem;
  max-width: min(100%, 22rem);
  margin: 0.85rem auto 0.35rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 90, 31, 0.28);
}
.logo-grid svg, .logo-grid img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
.merchant-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  background: rgba(27, 42, 74, 0.08);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.logo-grid span {
  margin-top: 0.15rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: rgba(27, 42, 74, 0.75);
}

.list-card {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--soft);
  padding: 1rem 1.1rem 1.15rem;
}
.list-card h2 { margin: 0; font-size: 1.2rem; }
.list-card > p { margin: 0.5rem 0 0; color: var(--muted); line-height: 1.45; }
.list-card .code { font-size: 1.05rem; text-align: center; }
.list-card .form { margin-top: 0.85rem; }

.split + .composer {
  margin-top: 2rem;
}

.composer, .panel {
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: #fff;
  padding: 0.8rem;
  box-shadow: 0 16px 50px rgba(27, 42, 74, 0.08);
}

.paste-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.paste-row .url-input { flex: 1; min-width: 0; }
.paste-btn {
  width: auto;
  flex: none;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.paste-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b45309;
}
.paste-price-wrap {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.3rem;
}
.paste-price-wrap[hidden] {
  display: none;
}
.paste-price-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink, #1b2a4a);
}
.paste-price-input {
  max-width: 12rem;
}
.paste-price-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
}
.share-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-top: 0.15rem;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.share-note--local {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.3;
}
.share-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.share-chip-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.share-chip-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.share-chip-label {
  white-space: nowrap;
}
.share-chip.whatsapp {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}
.share-chip.wechat {
  border-color: #09bb07;
  background: #09bb07;
  color: #fff;
}
.share-chip.x {
  border-color: #111;
  background: #111;
  color: #fff;
  flex: 0 0 auto;
  min-width: 2.35rem;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  justify-content: center;
}
.share-chip.x .share-chip-label { display: none; }
.share-chip.telegram {
  border-color: #229ed9;
  background: #229ed9;
  color: #fff;
}
.share-chip.reddit {
  border-color: #ff4500;
  background: #ff4500;
  color: #fff;
}
.app-share-banner {
  border-color: rgba(27, 42, 74, 0.14);
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.06), rgba(27, 42, 74, 0.04));
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.75rem;
  text-align: left;
}
.app-share-banner > div:first-child {
  width: 100%;
  text-align: left;
}
.app-share-chips {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
}
.app-share-networks {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
}
.app-share-networks .share-chip {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.1rem;
  padding: 0.4rem 0.35rem;
  justify-content: center;
  gap: 0.28rem;
  font-size: 0.62rem;
  line-height: 1.1;
}
.app-share-networks .share-chip-icon {
  width: 15px;
  height: 15px;
}
.app-share-networks .share-chip-icon svg {
  width: 15px;
  height: 15px;
}
.app-share-chips .share-chip-copy {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  width: 100%;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  justify-content: center;
  font-size: 0.72rem;
}
@media (max-width: 639px) {
  .app-share-banner {
    padding: 0.85rem 0.75rem 0.9rem;
    gap: 0.65rem;
  }
  .app-share-networks {
    gap: 0.28rem;
  }
  .app-share-networks .share-chip {
    min-height: 2.15rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.55rem;
    gap: 0.2rem;
  }
  .app-share-networks .share-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .app-share-networks .share-chip-icon {
    width: 14px;
    height: 14px;
  }
  .app-share-networks .share-chip-icon svg {
    width: 14px;
    height: 14px;
  }
}
.share-note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803d;
}
.social-proof {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(27, 42, 74, 0.55);
}
.growth-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--soft);
}
.growth-banner strong {
  display: block;
  font-size: 0.9rem;
}
.growth-banner p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.growth-banner-cta {
  width: auto;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
}
.growth-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.chrome-ext-banner {
  border-color: rgba(255, 90, 31, 0.28);
  background: rgba(255, 90, 31, 0.06);
}
/* Soft mobile/tablet tip: extension on desktop Chrome — link at bottom, no mid-page CTA */
.chrome-desktop-tip {
  margin: 1.25rem 0 0.5rem;
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
  text-align: left;
}
.chrome-desktop-tip .list-sync-kicker {
  margin: 0 0 0.35rem;
}
.chrome-desktop-tip p:not(.list-sync-kicker) {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted, rgba(27, 42, 74, 0.62));
}
.chrome-desktop-tip__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 31, 0.35);
  background: rgba(255, 90, 31, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent, #ff5a1f);
  text-decoration: none;
}
.temu-ext-banner {
  border-color: rgba(255, 90, 31, 0.35);
  background: rgba(255, 90, 31, 0.09);
}
.install-nudge-banner {
  border-color: rgba(27, 42, 74, 0.12);
}
.review-nudge-banner {
  border-color: rgba(4, 120, 87, 0.28);
  background: rgba(236, 253, 245, 0.85);
}
.review-nudge-banner strong {
  color: #047857;
}
@media (max-width: 639px) {
  .paste-btn {
    padding: 0.85rem 0.75rem;
    font-size: 0.8rem;
  }
}
.chrome-add {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 800px) {
  .chrome-add { display: inline-flex; }
}

.url-input, .field, .admin input, .admin select {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  background: var(--soft);
  padding: 1rem;
  font-size: 16px;
  outline: none;
}

.field, .admin input, .admin select {
  border: 1px solid rgba(27, 42, 74, 0.15);
  background: #fff;
  padding: 0.75rem 1rem;
}

.field:focus, .url-input:focus, .admin input:focus { border-color: var(--accent); }

.chips { margin-top: 0.75rem; }
.watch-filters { margin-top: 0.15rem; }
.chips--period { margin-top: 0.55rem; }
.chips--period .chip {
  font-size: 0.7rem;
  padding: 0.32rem 0.65rem;
  font-weight: 650;
}
.chips p {
  margin-bottom: 0.45rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.45);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 4px;
}
.chip {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(27, 42, 74, 0.06);
  line-height: 1.15;
}
.chip.active { background: var(--accent); color: #fff; }
.chip.chip--price-down {
  position: relative;
  padding-right: 1.05rem;
}
.chip.chip--price-down.chip--alert { padding-right: 1.15rem; }
.chip-alert {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
  animation: chip-alert-pulse 2s ease-in-out infinite;
}
.chip.active .chip-alert {
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
}
@keyframes chip-alert-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
}
.linkish {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0;
}
.email-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 1.1rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 90, 31, 0.28);
  background: rgba(255, 90, 31, 0.08);
}
.email-nudge-text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
}
.email-nudge-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.email-nudge-cta {
  width: auto;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
}
.email-nudge--ok {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(22, 163, 74, 0.08);
}
.email-nudge-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.5);
  margin-bottom: 0.1rem;
}
.email-nudge-address {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  word-break: break-all;
}
.email-nudge-edit {
  font-size: 0.78rem;
}
.email-nudge + .section-head {
  margin-top: 0.85rem;
}
@media (max-width: 420px) {
  .email-nudge {
    flex-wrap: wrap;
  }
  .email-nudge-actions {
    margin-left: auto;
  }
}
.home-link { color: rgba(27, 42, 74, 0.5); font-size: 0.75rem; font-weight: 700; text-decoration: none; }
.lifetime {
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
}
.error { color: #e11d48; font-size: 0.9rem; margin-top: 0.7rem; }
.empty { margin-top: 2.5rem; text-align: center; color: rgba(27, 42, 74, 0.45); font-size: 0.9rem; }

.gallery {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.watch {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.08);
}
.watch .shot {
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
}
.watch.bought { opacity: 0.7; }
.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4f5f8;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(27, 42, 74, 0.35);
}
.badge, .bought-flag {
  position: absolute;
  top: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge { left: 0.75rem; }
.badge.down { background: #10b981; color: #fff; }
.badge.up { background: #f43f5e; color: #fff; }
.badge.flat { background: #fff; color: var(--ink); }
.bought-flag {
  right: 0.75rem;
  background: rgba(27, 42, 74, 0.8);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.watch-body { padding: 0.75rem; display: grid; gap: 0.5rem; }
.merchant-line, .actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.actions.actions-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.35rem;
  align-items: stretch;
  margin-top: 0.55rem;
  padding-top: 0.35rem;
}
.merchant-line span { font-size: 0.75rem; color: rgba(27, 42, 74, 0.55); }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 999px; display: inline-block; vertical-align: middle; }
.cat-select {
  max-width: 42%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.2rem 0.45rem;
  font-size: 11px;
  font-weight: 700;
}
.watch h3 {
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; min-width: 0; }
.price-box {
  border-radius: 0.7rem;
  padding: 0.35rem 0.4rem;
  min-width: 0;
  overflow: hidden;
}
.price-box.was { background: var(--soft); }
.price-box.now { background: rgba(255, 90, 31, 0.08); }
.price-box.now.now--down {
  background: #ecfdf5;
  position: relative;
}
.price-box.now.now--down strong { color: #047857; }
.price-box.now.now--soldout {
  background: #fff1f2;
}
.price-box.now.now--soldout strong.soldout-label {
  color: #9f1239;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.price-change-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.price-box small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.45);
}
.price-box .verified-ago {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(27, 42, 74, 0.55);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.price-box strong {
  display: block;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.was strong { color: rgba(27, 42, 74, 0.5); text-decoration: line-through; font-weight: 500; }
.now strong { font-size: 0.92rem; color: var(--ink, #1b2a4a); }
.warn { color: #b45309; font-size: 0.75rem; }
.delta {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.delta--chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0.28rem 0.58rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  box-sizing: border-box;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
}
/* Pending / Temu client-price hint — wrap instead of truncating mid-word */
.delta--chip.delta--hint {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.3;
  width: auto;
}
/* Same peach wash as .price-box.now */
.delta--chip.flat {
  color: var(--ink, #1b2a4a);
  background: rgba(255, 90, 31, 0.08);
  border-color: rgba(255, 90, 31, 0.18);
}
.delta--chip.down {
  color: #047857;
  border-color: rgba(4, 120, 87, 0.35);
  background: #ecfdf5;
}
.delta--chip.up {
  color: #be123c;
  border-color: rgba(190, 18, 60, 0.35);
  background: #fff1f2;
}
.delta--chip.soldout {
  color: #9f1239;
  border-color: rgba(159, 18, 57, 0.28);
  background: #fff1f2;
}
.price-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) auto;
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
}
.price-meta .delta--chip {
  justify-self: start;
  min-width: 0;
}
.price-meta .mobile-price-edit__open {
  justify-self: end;
  text-align: right;
}
.mobile-price-edit {
  display: grid;
  gap: 0.2rem;
  width: min(100%, 14rem);
  margin: 0.15rem 0 0 auto;
  justify-items: start;
}
.mobile-price-edit__open,
.mobile-price-edit__cancel {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.15rem 0;
  margin: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.mobile-price-edit__cancel {
  color: rgba(27, 42, 74, 0.55);
  font-weight: 600;
  text-decoration: none;
}
.mobile-price-edit__row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) auto;
  gap: 0.3rem;
  align-items: center;
  width: 100%;
  max-width: 12rem;
}
.mobile-price-edit__input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(27, 42, 74, 0.16);
  border-radius: 0.45rem;
  padding: 0.35rem 0.45rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1b2a4a;
  background: #fff;
  touch-action: manipulation;
}
.mobile-price-edit__btn {
  flex: none !important;
  width: auto !important;
  min-width: 2.8rem;
  padding: 0.35rem 0.65rem !important;
  touch-action: manipulation;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.actions .btn { flex: 1; padding: 0.75rem; }
.watch .actions-card .btn {
  flex: unset;
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.28rem;
  font-size: 0.68rem;
  border-radius: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}

.modal-back {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.modal {
  width: min(100%, 28rem);
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}
.modal h2 { font-size: 1.25rem; }
.modal .help { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.form { display: grid; gap: 0.7rem; margin-top: 1rem; }
.or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.2rem 0;
  color: rgba(27, 42, 74, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.or span { flex: 1; height: 1px; background: rgba(27, 42, 74, 0.1); }
.push-box { margin-top: 1.2rem; border-radius: 1rem; background: var(--soft); padding: 1rem; }
.push-box p { margin-top: 0.3rem; font-size: 0.75rem; color: var(--muted); line-height: 1.45; }
.success {
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 1.2rem 1rem;
  font-weight: 600;
}
.hint { margin-top: 0.5rem; font-size: 0.75rem; color: rgba(27, 42, 74, 0.55); line-height: 1.45; }
.tools { width: min(100%, 24rem); margin: 2.75rem auto 0; }
.end { display: flex; flex-direction: column; align-items: flex-end; gap: 0.45rem; }

.admin {
  width: min(100% - 2rem, 56rem);
  margin: 0 auto;
  padding: 1.35rem 0 5rem;
  position: relative;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.08), transparent 42%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.05);
}
.admin-top .brand-row {
  text-decoration: none;
  color: inherit;
}
.admin-top h1 {
  margin: 0.1rem 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.admin .btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
}
.admin .btn:not(:disabled):hover {
  transform: translateY(-1px);
}
.admin .btn:not(:disabled):active {
  transform: translateY(1px);
}
.admin .btn-primary:not(:disabled):hover {
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.4);
}
.admin .btn-line:not(:disabled):hover {
  border-color: rgba(27, 42, 74, 0.28);
  background: var(--soft);
}
.admin-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid transparent;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.admin-nav-btn {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(27, 42, 74, 0.72);
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.admin-nav-btn:not(:disabled):hover {
  color: var(--ink);
  background: #fff;
}
.admin-nav-btn:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.55);
  outline-offset: 2px;
}
.admin-nav-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 42, 74, 0.18);
}
.admin-nav-btn.alert:not(.active) {
  border-color: rgba(255, 90, 31, 0.45);
  color: var(--accent);
  background: rgba(255, 90, 31, 0.08);
}
.admin-nav-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.admin-issue-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.admin-pill.warn {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}
.admin-pill.danger,
.admin-pill.warn.danger {
  background: rgba(225, 29, 72, 0.12);
  color: #be123c;
}
.admin-error-line {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #be123c;
  line-height: 1.35;
}
.admin-clients .admin-client-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
  padding: 0.9rem 1.05rem;
  border-radius: 1.05rem;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 0.5rem;
  list-style: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}
.admin-clients .admin-client-row:hover {
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 8px 22px rgba(27, 42, 74, 0.08);
  transform: translateY(-1px);
}
.admin-clients .admin-client-row:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.5);
  outline-offset: 2px;
}
.admin-client-no {
  font-weight: 800;
  color: var(--accent);
  min-width: 2.2rem;
}
.admin-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.admin-top-products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.admin-top-products li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.admin-top-count {
  color: var(--accent);
  font-size: 1.1rem;
}
.admin-code {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.admin-back {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}
.admin-embedded {
  margin-top: 1rem;
}
.admin-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.admin-section h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1rem;
}
.admin-label {
  display: block;
  margin: 0.7rem 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.admin-rule-form,
.admin-search,
.admin-toolbar {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--soft);
}
.admin-search {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem;
}
.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.admin-section-head h2 {
  margin: 0;
}
.admin-section-head .muted {
  margin: 0;
}
.admin-toolbar {
  grid-template-columns: minmax(8rem, 1.4fr) repeat(3, minmax(7rem, 1fr)) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem;
}
.admin-filter-select {
  min-width: 0;
  font-size: 0.84rem;
}
.admin-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
  max-width: 16rem;
}
.admin-status-stack small {
  font-size: 0.72rem;
  line-height: 1.25;
}
.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.admin-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.admin-list li:hover {
  border-color: rgba(27, 42, 74, 0.18);
  box-shadow: 0 6px 16px rgba(27, 42, 74, 0.05);
}
.admin-empty {
  margin: 1rem 0 0;
  padding: 1.4rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px dashed rgba(27, 42, 74, 0.18);
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-weight: 600;
}
.admin-list-main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}
.admin-list-main strong {
  font-size: 0.92rem;
}
.admin-watch {
  align-items: flex-start;
  flex-wrap: wrap;
}
.admin-links .admin-watch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem 0.7rem;
  padding: 0.55rem 0.7rem;
  align-items: start;
}
.admin-links .admin-watch:has(.admin-watch-select) {
  grid-template-columns: auto auto 1fr auto;
}
.admin-watch-select {
  display: grid;
  place-items: start center;
  padding-top: 0.35rem;
}
.admin-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0.35rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(27, 42, 74, 0.03);
}
.admin-bulk-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 650;
  margin-right: auto;
}
.admin-product-key {
  display: block;
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.admin-issue-filters {
  margin: 0.35rem 0 0.55rem;
}
.admin-watch-media {
  flex: 0 0 auto;
}
.admin-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
}
.admin-thumb.placeholder {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--muted);
}
.admin-watch-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.admin-watch-title {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.admin-watch-meta {
  font-size: 0.78rem;
}
.admin-url {
  color: var(--accent, #0b6bcb);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline;
  text-underline-offset: 2px;
  max-width: 100%;
}
.admin-price-row {
  display: grid;
  grid-template-columns: 1fr 4.2rem auto;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.25rem;
}
.admin-price-row .field {
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
}
.admin-currency-field {
  text-transform: uppercase;
  text-align: center;
}
.admin-currency-readonly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink, #1b2a4a);
  background: rgba(27, 42, 74, 0.06);
  border-radius: 0.35rem;
}
.admin-affiliate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.15rem;
}
.admin-affiliate-row .field {
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
}
.admin-affiliate-ready {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.2rem;
  min-width: 0;
}
.admin-affiliate-ready .admin-url {
  flex: 1 1 8rem;
  min-width: 0;
}
.admin-watch-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.3rem;
  justify-content: flex-start;
}
.admin-stats-grid {
  display: grid;
  gap: 1rem;
  margin: 0.75rem 0 1.25rem;
}
.admin-analyses-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}
.admin-analyses-head h2 { margin: 0 0 0.25rem; }
.admin-analyses-head .muted { margin: 0; }
.admin-analyses-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: 0.5rem;
  z-index: 5;
}
.admin-filter-group {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(27, 42, 74, 0.06);
  border: 1px solid var(--line);
  gap: 0.15rem;
}
.admin-filter-pill {
  border: 0;
  background: transparent;
  color: rgba(27, 42, 74, 0.7);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.admin-filter-pill.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.08);
}
.admin-section-label {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 42, 74, 0.45);
}
.admin-stats-kpi .admin-stat strong {
  font-size: 1.55rem;
}
.admin-stats-nested {
  margin: 0;
  grid-template-columns: 1fr 1fr;
}
.admin-panel {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  box-shadow: 0 8px 20px rgba(27, 42, 74, 0.04);
}
.admin-panel h3 {
  margin: 0 0 0.7rem;
}
.admin-panel-chart {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  border: 1px solid var(--line);
}
.admin-series-scroll {
  overflow-x: auto;
  padding-bottom: 0.15rem;
}
.admin-series-scroll.is-scroll {
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.admin-day-col:hover .admin-day-bar {
  filter: brightness(1.05);
}
.admin-day-bar.is-empty {
  background: rgba(27, 42, 74, 0.08);
  min-height: 3px;
}
.admin-facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.admin-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.admin-rank-item {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.7rem;
  align-items: center;
}
.admin-rank-badge {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(27, 42, 74, 0.65);
  background: var(--soft);
}
.admin-rank-badge.top {
  color: #fff;
  background: var(--ink);
}
.admin-rank-badge.top:first-child,
.admin-rank-item:nth-child(1) .admin-rank-badge.top {
  background: var(--accent);
}
.admin-rank-body { min-width: 0; }
.admin-rank-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.admin-rank-label {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink);
  overflow: hidden;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.admin-rank-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}
.admin-rank-meta strong {
  font-size: 0.95rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.admin-rank-meta small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
}
.admin-rank-track {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(27, 42, 74, 0.08);
  overflow: hidden;
}
.admin-rank-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rank-c, var(--accent)), color-mix(in srgb, var(--rank-c, var(--accent)) 65%, #fff));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rank-c, var(--accent)) 25%, transparent);
  animation: admin-rank-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes admin-rank-grow {
  to { width: var(--rank-w, 0%); }
}
.admin-donut {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.admin-donut-visual {
  position: relative;
  width: min(100%, 11.5rem);
  margin: 0 auto;
  aspect-ratio: 1;
}
.admin-donut-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.admin-donut-track {
  stroke: rgba(27, 42, 74, 0.08);
}
.admin-donut-seg {
  transition: stroke-width 0.2s ease;
}
.admin-donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.admin-donut-center strong {
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1;
}
.admin-donut-center span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.admin-donut-legend li {
  display: grid;
  grid-template-columns: 0.7rem 1fr auto;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.84rem;
}
.admin-donut-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}
.admin-donut-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  min-width: 3.5rem;
  font-weight: 650;
}
.admin-dash-main {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}
.admin-dash-triple {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
.admin-dash-quad {
  grid-template-columns: 1fr;
}
.admin-line-axis-left { fill: #ff5a1f; }
.admin-line-axis-right { fill: #1b2a4a; }
.admin-help {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.admin-chart-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}
.admin-line-chart {
  display: grid;
  gap: 0.85rem;
}
.admin-line-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 12rem;
}
.admin-line-grid {
  stroke: rgba(27, 42, 74, 0.08);
  stroke-width: 1;
}
.admin-line-axis {
  fill: rgba(27, 42, 74, 0.45);
  font-size: 10px;
  font-family: inherit;
}
.admin-line-path {
  animation: admin-line-draw 0.7s ease both;
}
.admin-line-dot {
  opacity: 0;
  animation: admin-fade-in 0.35s ease 0.45s forwards;
}
@keyframes admin-line-draw {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes admin-fade-in {
  to { opacity: 1; }
}
.admin-line-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.admin-line-legend li {
  display: grid;
  grid-template-columns: 0.7rem auto auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.84rem;
}
.admin-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.admin-panel-head h3 { margin: 0; }
.admin-panel-head .muted { margin: 0; font-size: 0.78rem; }
.admin-health {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.admin-health-card {
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 20px rgba(27, 42, 74, 0.04);
}
.admin-health-card.ok {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.06), #fff 55%);
}
.admin-health-card.warn {
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.08), #fff 55%);
}
.admin-health-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.admin-health-top strong {
  flex: 1;
  font-size: 0.92rem;
}
.admin-health-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.18);
}
.admin-health-card.ok .admin-health-dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
  animation: admin-pulse 1.8s ease-in-out infinite;
}
.admin-health-card.warn .admin-health-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.16);
}
.admin-health-card .muted {
  margin: 0;
  font-size: 0.8rem;
}
@keyframes admin-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}
.admin-stats-kpi-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-day-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: end;
  min-height: 8.5rem;
}
.admin-day-col {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  min-width: 0;
}
.admin-day-bar-wrap {
  width: 100%;
  height: 5.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.admin-day-bar {
  width: 70%;
  min-height: 4px;
  border-radius: 0.4rem 0.4rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, var(--accent), #ff8a55);
}
.admin-day-count {
  font-size: 0.72rem;
  font-weight: 700;
}
.admin-day-label {
  font-size: 0.68rem;
  color: var(--muted);
}
.admin-mini {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  width: auto;
}
.admin-mini.danger {
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.35);
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-pill.ok {
  background: rgba(255, 90, 31, 0.12);
  color: var(--accent);
}
.admin-pill.ready {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}
.admin-pill.off {
  background: rgba(27, 42, 74, 0.08);
  color: var(--muted);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}
.admin-stat {
  padding: 1.05rem 0.9rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 8px 20px rgba(27, 42, 74, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.admin-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(27, 42, 74, 0.08);
}
.admin-stat strong,
.admin-stat-value {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.admin-stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}
.admin-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}
.admin-banner {
  margin: 0 0 0.85rem;
}
.admin-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  max-width: min(92vw, 28rem);
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 14px 36px rgba(27, 42, 74, 0.28);
  animation: admin-toast-in 0.28s ease;
}
@keyframes admin-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.admin-panel-enter {
  animation: admin-panel-in 0.28s ease;
}
@keyframes admin-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.admin-skeleton {
  display: grid;
  gap: 0.85rem;
}
.admin-skel {
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(27, 42, 74, 0.06), rgba(27, 42, 74, 0.12), rgba(27, 42, 74, 0.06));
  background-size: 200% 100%;
  animation: admin-skel-shine 1.1s ease-in-out infinite;
}
.admin-skel-title {
  height: 1.6rem;
  width: min(14rem, 55%);
}
.admin-skel-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.admin-skel-card {
  height: 5.2rem;
}
.admin-skel-block {
  height: 7.5rem;
}
@keyframes admin-skel-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.admin-login {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 31, 0.14), transparent 42%),
    radial-gradient(circle at bottom left, rgba(27, 42, 74, 0.07), transparent 48%),
    #fff;
}
.admin-login-card {
  width: min(100%, 24rem);
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 1.55rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 56px rgba(27, 42, 74, 0.12);
  animation: admin-panel-in 0.32s ease;
}
.admin-login-card .kicker { margin-top: 1rem; }
.admin-login-card h1 { margin: 0.25rem 0 0; font-size: 1.7rem; }
.admin-login-card .lede { margin-top: 0.55rem; color: var(--muted); font-size: 0.95rem; }
.admin-login-card .btn-primary {
  margin-top: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-login-card .btn-primary:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.4);
}
.admin-card, .admin form.grid {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1rem;
}
.admin form.grid { display: grid; gap: 0.5rem; background: var(--soft); }
.row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.row select, .row button { width: auto; }
.code {
  margin-top: 0.75rem;
  border-radius: 0.8rem;
  background: var(--ink);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  word-break: break-all;
}
.steps {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}
.steps li { margin: 0.45rem 0; line-height: 1.4; }
.steps-lg { margin-top: 1.25rem; font-size: 1.05rem; }
.steps-lg li { margin: 0.7rem 0; line-height: 1.45; }
.install-modal { width: min(100%, 34rem); padding: 1.6rem 1.5rem 1.3rem; }
.install-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.install-head h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 700;
}
.install-lead {
  margin: 1.4rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}
.install-choices {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 0.9rem;
}
.install-choice {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  margin: 0;
  padding: 0.9rem 0.8rem;
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 1.1rem;
  background: rgba(255, 90, 31, 0.08);
  text-align: center;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  cursor: pointer;
}
.install-choice:hover,
.install-choice:focus-visible {
  background: rgba(255, 90, 31, 0.2);
  border-color: #ff5a1f;
}
.install-or {
  align-self: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.install-later {
  display: block;
  width: 100%;
  margin-top: 1.35rem;
  font-size: 1rem;
  text-align: center;
}
.list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1rem;
  background: var(--soft);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
}
.muted { color: rgba(27, 42, 74, 0.55); font-size: 0.9rem; }
.login-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 2rem, 24rem);
  margin: 0 auto;
}

@media (max-width: 639px) {
  .hero h1,
  .seo-shell .hero h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    max-width: 17.5rem;
  }
  .hero-subhead {
    font-size: clamp(0.98rem, 3.6vw, 1.15rem);
    max-width: 22rem;
    margin-top: 0.45rem;
  }
  .hero .lede,
  .seo-shell .hero .lede {
    font-size: 0.92rem;
    max-width: 22rem;
    margin-top: 0.7rem;
  }
  .sites {
    margin-top: 2.25rem;
  }
  .chips { margin-top: 0.55rem; }
  .chips p {
    margin-bottom: 0.3rem;
    font-size: 10px;
  }
  .chip-row {
    gap: 0.3rem;
    flex-wrap: wrap;
    overflow: visible;
    padding-top: 4px;
    padding-bottom: 2px;
  }
  .chip {
    padding: 0.28rem 0.55rem;
    font-size: 0.7rem;
    flex: 0 0 auto;
  }
  .chip.chip--price-down { padding-right: 0.95rem; }
  .chip-alert {
    width: 15px;
    height: 15px;
    font-size: 9px;
    line-height: 15px;
  }
  .app-header {
    align-items: center;
    gap: 0.55rem;
  }
  .app .brand-row {
    gap: 0.55rem;
    align-items: center;
  }
  .app .brand-copy {
    padding-bottom: 0;
  }
  .app .brand-glyph img,
  .app .brand-glyph svg {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  .hero .brand-glyph img {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
  }
  .app .kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.25;
  }
  .app-title {
    margin-top: 0.15rem;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 700;
  }
  .app .app-composer {
    margin-top: 1.55rem;
  }
  .app .lang-label {
    margin: 0;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(27, 42, 74, 0.5);
    max-width: 5.5rem;
    white-space: normal;
    text-align: right;
    line-height: 1.2;
  }
  .app .lang-btn {
    padding: 0.4rem;
    min-width: 2.6rem;
    justify-content: center;
  }
  .app .lang-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .app .lang-flag {
    width: 24px;
    height: 18px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1rem;
  }
  .watch.watch--row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    column-gap: 0.45rem;
    align-items: start;
    overflow: hidden;
    padding: 0.4rem;
    border-radius: 0.9rem;
    box-shadow: 0 6px 20px rgba(27, 42, 74, 0.06);
  }
  .watch.watch--row .shot {
    width: 5.5rem;
    height: 5.5rem;
    max-width: 5.5rem;
    aspect-ratio: auto;
    align-self: start;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.7rem;
  }
  .watch.watch--row .badge,
  .watch.watch--row .bought-flag {
    top: 0.3rem;
    padding: 0.12rem 0.4rem;
    font-size: 0.62rem;
  }
  .watch.watch--row .badge { left: 0.3rem; }
  .watch.watch--row .bought-flag { right: 0.3rem; }
  .watch.watch--row .watch-body {
    padding: 0.05rem 0.15rem 0.1rem 0;
    gap: 0.28rem;
    min-width: 0;
    overflow: hidden;
  }
  .watch.watch--row .merchant-line span { font-size: 0.68rem; }
  .watch.watch--row .cat-select {
    max-width: 38%;
    padding: 0.12rem 0.35rem;
    font-size: 10px;
  }
  .watch.watch--row h3 {
    font-size: 12px;
    -webkit-line-clamp: 2;
    margin: 0;
  }
  .watch.watch--row .prices--inline {
    gap: 0.25rem;
  }
  .watch.watch--row .price-box {
    padding: 0.22rem 0.32rem;
    border-radius: 0.5rem;
  }
  .watch.watch--row .price-box small { font-size: 8px; }
  .watch.watch--row .price-box strong { font-size: 0.78rem; }
  .watch.watch--row .now strong { font-size: 0.82rem; }
  .watch.watch--row .delta--chip {
    font-size: 0.62rem;
    padding: 0.22rem 0.5rem;
    border-radius: 0.45rem;
  }
  .watch.watch--row .warn {
    font-size: 0.68rem;
    margin: 0;
  }
  .watch.watch--row .actions.actions-card {
    grid-template-columns: minmax(0, 1.4fr) auto auto;
    gap: 0.28rem;
    margin-top: 0.45rem;
    padding-top: 0.4rem;
  }
  .watch.watch--row .actions-card .btn {
    padding: 0.38rem 0.35rem;
    font-size: 0.64rem;
    border-radius: 0.55rem;
  }
}

@media (max-width: 639px) {
  .install-choices { flex-direction: column; }
  .install-head h2 { font-size: 1.28rem; }
  .install-choice { min-height: 3.6rem; }
  .admin { width: min(100% - 1rem, 56rem); padding-top: 0.85rem; }
  .admin-top { flex-direction: column; align-items: stretch; }
  .admin-nav {
    border-radius: 1.1rem;
    padding: 0.3rem;
    gap: 0.3rem;
  }
  .admin-nav-btn { font-size: 0.8rem; padding: 0.45rem 0.75rem; }
  .admin-skel-row { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats-kpi-4 { grid-template-columns: 1fr 1fr; }
  .admin-dash-triple { grid-template-columns: 1fr; }
  .admin-health { grid-template-columns: 1fr; }
  .admin-search { grid-template-columns: 1fr; }
  .admin-toolbar { grid-template-columns: 1fr; }
  .admin-list li { flex-direction: column; align-items: stretch; }
  .admin-links .admin-watch { grid-template-columns: auto 1fr; }
  .admin-links .admin-watch:has(.admin-watch-select) { grid-template-columns: auto auto 1fr; }
  .admin-watch-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .admin-affiliate-row { grid-template-columns: 1fr; }
  .admin-section-head { flex-direction: column; align-items: stretch; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .admin-stats-kpi-4 { grid-template-columns: 1fr 1fr; }
  .admin-dash-triple { grid-template-columns: 1fr 1fr; }
  .admin-health { grid-template-columns: 1fr 1fr 1fr; }
  .admin-nav { flex-wrap: wrap; }
}

@media (min-width: 900px) {
  .admin-stats-grid { grid-template-columns: 1fr 1fr 1fr; }
  .admin-stats-grid-top { grid-template-columns: 1.4fr 1fr; }
  .admin-dash-main { grid-template-columns: 1.35fr 1fr; }
  .admin-donut { grid-template-columns: auto 1fr; gap: 1.1rem; }
}

@media (min-width: 1024px) {
  .admin-dash-triple { grid-template-columns: 1fr 1fr 1fr; }
  .admin-stats-kpi-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .modal-back { align-items: center; }
  .admin form.grid { grid-template-columns: 1fr 1fr 1fr; }
  .admin form.grid button { grid-column: 1 / -1; }
  .list-code-modal {
    max-height: calc(100dvh - 2.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 1.35rem 1.35rem 1rem;
  }
}

@media (max-width: 639px) {
  .list-code-modal {
    width: 100%;
    border-radius: 1.35rem 1.35rem 0.85rem 0.85rem;
    max-height: calc(100dvh - 0.75rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  .list-code-note {
    font-size: 0.86rem;
    padding: 0 0.25rem;
  }
  .list-code-open {
    width: min(100%, 18rem);
    font-size: 0.9rem;
  }
  .app-header {
    align-items: flex-start;
  }
  .list-code-header-btn {
    font-size: 0.74rem;
    padding: 0.42rem 0.7rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .list-code-modal {
    width: min(100%, 28rem);
  }
  .list-sync-card {
    padding: 1rem 1.15rem 1.1rem;
  }
}

/* Desktop only (≥1024): side-by-side with extension card — matches showChromeExtMidBanner() */
@media (min-width: 1024px) {
  .app-tools-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
  }
  .app-tools-row > :only-child {
    grid-column: 1 / -1;
  }
  .app-tools-row .list-sync-card,
  .app-tools-row .chrome-ext-banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 90, 31, 0.22);
    background: linear-gradient(180deg, rgba(255, 90, 31, 0.07), #fff 55%);
    box-shadow: 0 10px 28px rgba(27, 42, 74, 0.06);
  }
  .app-tools-row .list-sync-card-top,
  .app-tools-row .chrome-ext-banner-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0.45rem;
  }
  .app-tools-row .list-sync-card-copy {
    flex: 0 1 auto;
    width: 100%;
  }
  .app-tools-row .list-sync-hint,
  .app-tools-row .chrome-ext-banner .list-sync-hint {
    margin: 0.25rem 0 0;
    font-size: 0.76rem;
    line-height: 1.35;
    color: rgba(27, 42, 74, 0.62);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .app-tools-row .btn.list-sync-open,
  .app-tools-row .chrome-ext-banner .btn.growth-banner-cta {
    margin-top: auto;
    width: 100%;
    min-width: 0;
    min-height: 2.15rem;
    height: 2.15rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    box-sizing: border-box;
  }
  .app-tools-row .chrome-ext-banner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
  }
  .app-tools-row .chrome-ext-banner .list-sync-kicker {
    margin: 0;
    text-align: left;
  }
  .app-tools-row .list-sync-heading {
    flex-direction: row;
    align-items: baseline;
  }
}

/* Report / help widget — keep FAB outside transformed ancestors (iPad/PWA). */
.app-shell {
  position: relative;
  min-height: 100%;
  overflow: visible;
}
.report-fab {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 120;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: var(--ink, #1b2a4a);
  color: #fff;
  font: 700 0.92rem/1.1 ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 10px 28px rgba(27, 42, 74, 0.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.report-fab:hover { filter: brightness(1.06); }
@media (min-width: 640px) and (max-width: 1024px) {
  .report-fab {
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
  }
  .report-panel {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
    width: min(24rem, calc(100vw - 2rem));
  }
}
.report-panel {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(4.2rem + env(safe-area-inset-bottom));
  z-index: 121;
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-height: min(78vh, 36rem);
  overflow: auto;
  padding: 1rem 1rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--ink, #1b2a4a);
  box-shadow: 0 18px 48px rgba(27, 42, 74, 0.28);
  display: grid;
  gap: 0.55rem;
}
.report-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.report-panel-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.report-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
.report-label,
.report-motif-title {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}
.report-motifs {
  display: grid;
  gap: 0.35rem;
}
.report-motif {
  text-align: left;
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: #f7f8fb;
  font: 600 0.82rem/1.25 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  color: inherit;
}
.report-motif.active {
  border-color: #ff5a1f;
  background: rgba(255, 90, 31, 0.08);
}
.report-help {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(27, 42, 74, 0.06);
  font-size: 0.82rem;
  line-height: 1.4;
}
.report-link-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.report-link-row .field { flex: 1; }
.report-link-remove {
  min-width: 2.2rem;
  padding: 0.45rem 0.5rem;
}
.report-add-link { justify-self: start; }
.report-comment { resize: vertical; min-height: 4rem; }
.report-thanks {
  margin: 0.4rem 0;
  font-weight: 600;
  line-height: 1.4;
}
.admin-report-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  margin-bottom: 0.65rem;
}
.admin-report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.82rem;
}
.admin-report-urls {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  word-break: break-all;
}
.admin-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
