/* SpotterOtter design system: the finishing layer on every page.
   Loaded after every page-specific stylesheet, so this file decides how the
   site looks. Order: tokens, base, site chrome (notice, header, footer),
   controls, surfaces, then each kind of page.

   Text accents and button fills are deliberately separate tokens: a green that
   works behind white text does not work as text on a dark surface. */

/* Inter, self-hosted. Copyright 2016 The Inter Project Authors
   (https://github.com/rsms/inter), SIL Open Font License 1.1. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/inter-latin-wght-5.2.8.woff2") format("woff2-variations"), url("/inter-latin-wght-5.2.8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
html:root, html[data-theme="light"], html body.so-modern {
  color-scheme: light;
  --bg: #f7f7f5; --card: #ffffff; --soft: #f1f4ef; --raised: #ffffff;
  --ink: #17211b; --muted: #5d6a62; --line: #dfe6df; --line-strong: #cfd8cf;
  --forest: #1d6142; --forest2: #164d34; --focus: #1b6845;
  --accent-text: #1b6845; --accent-soft: #e6f1ea; --control-line: #84877f;
  --warn-text: #7a4f00; --warn-soft: #fbf0d9; --notice-dot: #c98a12;
  --possible-bg: #fff4cc; --possible-border: #ecd27a; --possible-text: #6b4e00;
  --text: var(--ink); --panel: var(--card);
  --bad: #b42318; --danger-bg: #fdf1ef;
  --so-cream: var(--bg); --so-white: var(--card); --so-paper: var(--card);
  --so-ink: var(--ink); --so-deep: var(--ink); --so-muted: var(--muted);
  --so-line: var(--line); --so-forest: var(--forest); --so-emerald: var(--accent-text);
  --so-radius: 12px; --r: 12px;
  --radius-xs: 6px; --radius-sm: 10px; --radius: 12px; --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 20, .04);
  --shadow-lg: 0 1px 3px rgba(20, 22, 20, .06), 0 16px 40px rgba(20, 22, 20, .10);
  --so-shadow: var(--shadow); --so-shadow-soft: var(--shadow);
}

html[data-theme="dark"], html[data-theme="dark"] body.so-modern {
  color-scheme: dark;
  --bg: #0f1110; --card: #16231c; --soft: #1d2d24; --raised: #1a2a21;
  --ink: #e8f0ea; --muted: #a9b9ae; --line: #2f4637; --line-strong: #3d5a49;
  --forest: #227650; --forest2: #1c6644; --focus: #8ed8ad;
  --accent-text: #7ccf9f; --accent-soft: #16291f; --control-line: #7f9184;
  --warn-text: #f0c36a; --warn-soft: #2a2214; --notice-dot: #e0a93b;
  --possible-bg: #3a3112; --possible-border: #6e5c1c; --possible-text: #f6d872;
  --bad: #ff9d92; --danger-bg: #2a1816;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 56px rgba(0, 0, 0, .55);
}
/* Without the theme script (scripts off), follow the device preference. */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]), html:not([data-theme]) body.so-modern {
    color-scheme: dark;
    --bg: #0f1110; --card: #16231c; --soft: #1d2d24; --raised: #1a2a21;
    --ink: #e8f0ea; --muted: #a9b9ae; --line: #2f4637; --line-strong: #3d5a49;
    --forest: #227650; --forest2: #1c6644; --focus: #8ed8ad;
    --accent-text: #7ccf9f; --accent-soft: #16291f; --control-line: #7f9184;
    --warn-text: #f0c36a; --warn-soft: #2a2214; --notice-dot: #e0a93b;
    --possible-bg: #3a3112; --possible-border: #6e5c1c; --possible-text: #f6d872;
    --bad: #ff9d92; --danger-bg: #2a1816;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 56px rgba(0, 0, 0, .55);
  }
}
/* The original app sets these aliases on body in dark mode, so finish them at
   the same scope rather than relying only on inherited root variables. */
html[data-theme] body.so-modern {
  --so-cream: var(--bg); --so-white: var(--card); --so-paper: var(--card);
  --so-ink: var(--ink); --so-deep: var(--ink); --so-muted: var(--muted);
  --so-line: var(--line); --so-forest: var(--forest); --so-emerald: var(--accent-text);
}
html:root {
  /* Light and dark tokens match the signed-out home page (index.html #how,
     owner-tier-preview.js), so every page, signed in or out, looks the same. */
  --layout-width: 1120px; --reading-width: 720px; --form-width: 680px; --gutter: 24px;
  --header-h: 64px;
  --green: var(--forest); --green2: var(--accent-text);
  --font: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (max-width: 650px) { html:root { --gutter: 16px; --header-h: 56px; } }

/* ---------- Base ---------- */
/* The hidden attribute always hides. Component display rules (.btn, panels)
   must never reveal an element a script has hidden, such as "Show more" with
   nothing more to show or a report panel on another tab. */
[hidden] { display: none !important; }
/* Older create-form rules force some fields visible by ID; the form's own
   mode switching (AI description or exact keywords) must still win. */
html body :is(#createForm, #editForm) [hidden]:not(#_) { display: none !important; }

html body, html[data-theme] body, html body.so-modern, html[data-theme] body.so-modern {
  background: var(--bg) !important; color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html body :is(button, input, select, textarea) { font-family: inherit; }
html body ::selection { background: var(--accent-soft); color: var(--ink); }
html body.so-modern::before,
html body.so-modern :is(.feature, .step)::before { display: none; }
html body :is(h1, h2, h3, h4) { color: var(--ink); text-wrap: balance; }
html body :is(p, li) { text-wrap: pretty; }
html body :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
html body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus) !important; outline-offset: 2px !important;
}
/* A heading the page moves focus to (tabindex="-1") is a place for screen
   readers to start, not a control: it gets no ring. */
html body :is(h1, h2, h3)[tabindex="-1"]:focus-visible { outline: none !important; }
html body :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--forest); }
html body legend { color: var(--ink); }
html body :is(.price, .stat strong, .so-alert-price, .matchprice, .comparison-price strong, .usage-value, .so-report-totals strong) {
  font-variant-numeric: tabular-nums;
}
html body .skip-link { background: var(--forest); color: #fff; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: no-preference) {
  html body :is(.btn, .button, .so-tab, .settings-link, .theme-toggle, .theme-button, input, select, textarea) {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  }
}

/* ---------- Testing notice: one quiet bar on every page ---------- */
html body aside.so-testing-notice {
  display: block; margin: 0 !important; padding: 9px var(--gutter) !important;
  background: var(--soft) !important; color: var(--muted) !important;
  border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
  font: 500 13px/1.45 var(--font) !important; text-align: center; box-shadow: none !important;
}
html body aside.so-testing-notice strong { color: var(--ink); font-weight: 650; }
html body aside.so-testing-notice strong::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0;
  border-radius: 50%; background: var(--notice-dot); vertical-align: middle;
}

/* ---------- Site header: same bar, height and width on every page ---------- */
html:root body > :is(nav.nav, header.site-header, header.top),
html:root body.so-modern > nav.nav,
html:root body header.auth-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg) !important; border-bottom: 1px solid var(--line) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important;
  padding: 0 !important; margin: 0;
}
html body > nav.nav > .navin,
html body > header.site-header > .header-inner,
html body > header.top > .wrap.nav {
  width: min(var(--layout-width), calc(100% - 2 * var(--gutter))) !important; max-width: none !important;
  min-height: var(--header-h) !important; margin-inline: auto;
}
/* The sign-in header is its own bar: full width, content aligned to the same column. */
html:root body header.auth-header {
  width: 100% !important; max-width: none !important; min-height: var(--header-h) !important;
  padding-inline: max(var(--gutter), calc((100% - var(--layout-width)) / 2)) !important;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap;
}
html body > nav.nav > .navin:not(.shell) { display: flex; flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 16px; padding: 0 !important; }
/* The name beside the logo, its ™ included, is the buttons' green, in each theme. */
html body :is(.brand, .auth-brand) { color: var(--forest) !important; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
html body .brand-name { color: var(--forest) !important; }
html body :is(.brand, .auth-brand, .brand-name) .tm { color: inherit !important; }
html body :is(.navlinks, .header-actions) { display: flex; align-items: center; gap: 8px; }
html body :is(.navlinks, .header-actions, .nav, .auth-header) a:not(.brand):not(.auth-brand):not(.btn):not(.button) {
  color: var(--muted) !important; font-size: 14px; font-weight: 550; text-decoration: none;
  padding: 8px 10px; border-radius: var(--radius-sm);
}
html body :is(.navlinks, .header-actions, .nav, .auth-header) a:not(.brand):not(.auth-brand):not(.btn):not(.button):hover {
  color: var(--ink) !important; background: var(--soft);
}
html body .so-home-how-link { color: var(--muted) !important; font-size: 14px; font-weight: 550; text-decoration: none; padding: 8px 10px; border-radius: var(--radius-sm); }
html body .so-home-how-link:hover { color: var(--ink) !important; background: var(--soft); }
/* Header calls to action on info pages read as buttons, not links. */
html body.so-info-page .navlinks a.button,
html body.so-info-page .navlinks a:last-child:is([href="/"], [href^="/#"], [href*="create"]) {
  background: var(--forest) !important; color: #fff !important; padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600;
}
html body.so-info-page .navlinks a.button:hover,
html body.so-info-page .navlinks a:last-child:is([href="/"], [href^="/#"], [href*="create"]):hover { background: var(--forest2) !important; color: #fff !important; }

/* The brand at the top of every page: the bare logo, with no tile around it,
   and the name set at the logo's height. One size per screen width, small
   enough below 375px to leave the header buttons room; the narrowest phones
   show the name alone. */
html body { --brand-logo-h: 36px; }
@media (max-width: 650px) { html body { --brand-logo-h: 32px; } }
@media (max-width: 374px) { html body { --brand-logo-h: 25px; } html body .nav .brand .brandname { font-size: calc(var(--brand-logo-h) * .58) !important; } }
@media (max-width: 340px) { html body .nav .brand > img { display: none; } }
html body :is(.brand, .auth-brand):not(footer *) {
  display: inline-flex; align-items: center; gap: calc(var(--brand-logo-h) * .25);
  font-size: calc(var(--brand-logo-h) * .58); line-height: 1.1; white-space: nowrap;
}
html body :is(.brand, .auth-brand):not(footer *) > img {
  width: auto; height: var(--brand-logo-h); flex: 0 0 auto;
  object-fit: contain; margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none;
}
/* Wherever the name sits beside the logo, it is centred on the S and O, not
   on the whole picture: the otter's head rises above the letters, so their
   centre is 11.2% of the artwork's height below the picture's centre. The
   image box takes the artwork's own shape, so that share is exact at every
   size. */
html body :is(:is(.brand, .auth-brand) > img, img:has(+ .brand-name))[src*="/spotter-otter-logo-"] { aspect-ratio: 640 / 463; translate: 0 -11.2%; }
html body img[src*="/spotter-otter-logo-"]:has(+ .brand-name):not(:is(.brand, .auth-brand) > *) { height: auto; }
html body :has(> img[src*="/spotter-otter-logo-"] + .brand-name):not(.brand, .auth-brand) { display: inline-flex; align-items: center; }
/* The logo is one shape in the brand green, #1E6142, the light theme's button
   green. The dark theme's buttons are a lighter green, #227650; brightening
   the logo by 1.216 draws it in that same green (within 2/255 of red), so the
   logo, the name and the buttons match in both themes. :not(#_) only lifts
   specificity above the pages' own filter resets. */
html[data-theme="dark"] img:is([src*="/spotter-otter-logo-"], [src*="/spotter-otter-mascot-"]):not(#_) { filter: brightness(1.216) !important; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) img:is([src*="/spotter-otter-logo-"], [src*="/spotter-otter-mascot-"]):not(#_) { filter: brightness(1.216) !important; }
}
/* The home header's tagline: its own line under the name, in sentence case so
   eBay keeps its own capitalization, clear of the name's descenders. */
html body .brand .brandname { display: block; line-height: 1.15; }
html:root body .brand .brandsmall {
  display: block; margin-top: calc(var(--brand-logo-h) * .04); font-size: 12px;
  font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--muted); white-space: nowrap;
}
/* The ™ after the SpotterOtter name: small, raised, and outside the line height. */
html body .tm { font-size: .42em; font-weight: 600; line-height: 0; vertical-align: super; margin-left: .06em; letter-spacing: 0; }

/* Theme switch: a drawn moon or sun instead of an emoji glyph. */
html:root body #themeToggle:is(.theme-toggle, .theme-button, button) {
  position: relative; display: inline-flex !important; align-items: center; justify-content: center;
  width: 36px !important; min-width: 36px !important; height: 36px !important; min-height: 36px !important;
  padding: 0 !important; font-size: 0 !important; line-height: 0 !important;
  overflow: hidden !important; text-indent: 200% !important; white-space: nowrap !important;
  background: transparent !important; color: var(--muted) !important;
  border: 1px solid var(--line-strong) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
html:root body #themeToggle:is(.theme-toggle, .theme-button, button):hover { background: var(--soft) !important; color: var(--ink) !important; }
html body #themeToggle > * { display: none !important; }
/* The icon is centred on its own, whatever width the hidden emoji text takes
   (browsers with a minimum font size give it some). */
html body #themeToggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-indent: 0;
  width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.1A8.5 8.5 0 1 1 9.9 3.5a6.6 6.6 0 0 0 10.6 10.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.1A8.5 8.5 0 1 1 9.9 3.5a6.6 6.6 0 0 0 10.6 10.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme="dark"] body #themeToggle::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2M12 19.5v2M4.6 4.6l1.4 1.4M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2M12 19.5v2M4.6 4.6l1.4 1.4M18 18l1.4 1.4M2.5 12h2M19.5 12h2M4.6 19.4 6 18M18 6l1.4-1.4'/%3E%3C/svg%3E");
}

/* App navigation: a quiet segmented control. */
html:root body.so-modern .so-app-tabs {
  gap: 2px !important; padding: 3px !important; border: 1px solid var(--line) !important;
  border-radius: 10px !important; background: var(--soft) !important; box-shadow: none !important;
}
html:root body.so-modern .so-tab {
  min-height: 32px !important; padding: 0 14px !important; border: 0 !important; border-radius: 7px !important;
  background: transparent !important; color: var(--muted) !important; box-shadow: none !important;
  font-size: 14px !important; font-weight: 550 !important; transform: none !important;
}
html:root body.so-modern .so-tab:hover { color: var(--ink) !important; background: transparent !important; }
html:root body.so-modern .so-tab.active {
  background: var(--card) !important; color: var(--ink) !important;
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .06) !important;
}
html[data-theme="dark"] body.so-modern .so-tab.active { background: var(--line-strong) !important; box-shadow: none !important; }
html:root body.so-modern .so-tab { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
html:root body.so-modern .so-tab-badge {
  position: static !important; transform: none !important; margin: 0 !important;
  min-width: 20px; height: 18px; padding: 0 6px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--forest) !important; color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important; line-height: 18px !important; letter-spacing: 0; text-align: center;
  font-variant-numeric: tabular-nums;
}
html:root body.so-modern .so-tab-badge:not(.on) { display: none !important; }

/* ---------- Footers: one quiet style for all five page footers ---------- */
html:root body :is(footer.footer, footer.legal-footer, footer.foot) {
  background: var(--bg) !important; color: var(--muted) !important;
  border-top: 1px solid var(--line) !important; font-size: 13px; line-height: 1.6;
}
html body footer.legal-footer { width: min(var(--layout-width), calc(100% - 2 * var(--gutter))) !important; margin: 56px auto 0 !important; padding: 28px 0 40px !important; }
html body :is(footer.footer, footer.foot) { margin-top: 64px; padding: 32px 0 40px !important; }
html body :is(footer.footer, footer.foot) :is(.shell, .wrap) { width: min(var(--layout-width), calc(100% - 2 * var(--gutter))) !important; max-width: none !important; }
html body :is(footer.footer, footer.legal-footer, footer.foot, .auth-footer) a {
  color: var(--muted) !important; text-decoration: none; font-weight: 500;
}
html body :is(footer.footer, footer.legal-footer, footer.foot, .auth-footer) a:hover { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 3px; }
html body footer :is(p, div, span, small) { color: var(--muted); }
html body footer :is(.brand, .brand-name) { color: var(--forest) !important; font-size: 15px; font-weight: 650; }
html body footer .brand img { height: 24px; width: auto; filter: none; }
html body .footer-socials a.footer-social { color: var(--muted) !important; font-size: 12px; }
html body .footer-socials a.footer-social:hover { color: var(--ink) !important; text-decoration: none; }
html body :is(.site-legal-links, .footer-links, .footlinks) { display: flex; flex-wrap: wrap; gap: 6px 20px; }
html body :is(.footer-affiliate, .site-business-details) { font-size: 12px; max-width: 640px; }
html body .footer-meta { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }

/* ---------- Controls ---------- */
html body :is(.button, .btn, .auth-submit, .support-form-submit) {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border: 1px solid transparent;
  border-radius: var(--radius-sm) !important; font-size: 14px; font-weight: 600; line-height: 1.2;
  letter-spacing: -.005em; box-shadow: none !important; text-decoration: none; cursor: pointer;
}
html body :is(.button, .btn):hover { transform: none !important; }
html body :is(.button, .btn).small { min-height: 32px; padding: 0 12px; font-size: 13px; }
html body :is(.button.primary, .btn.primary, .btn.lime, .auth-submit, .support-form-submit) {
  background: var(--forest) !important; border-color: var(--forest) !important; color: #fff !important;
}
html body :is(.button.primary, .btn.primary, .btn.lime, .auth-submit, .support-form-submit):hover {
  background: var(--forest2) !important; border-color: var(--forest2) !important;
}
html body :is(.button:not(.primary):not(.danger), .btn.light, .theme-button,
  .so-notification-settings-button, .so-report-all-button, .so-report-view-spotter) {
  background: var(--card) !important; color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important; box-shadow: none !important;
}
html body :is(.button:not(.primary):not(.danger), .btn.light, .so-notification-settings-button, .so-report-all-button, .so-report-view-spotter):hover {
  background: var(--soft) !important; border-color: var(--control-line) !important;
}
html[data-theme] body.so-modern .btn.light {
  background: var(--card) !important; color: var(--ink) !important;
  border-color: var(--line-strong) !important;
}
html body :is(.btn.danger, .button.danger) {
  background: transparent !important; color: var(--bad) !important; border: 1px solid var(--line-strong) !important;
}
html body :is(.btn.danger, .button.danger):hover { background: var(--danger-bg) !important; border-color: var(--bad) !important; }
html:root body :is(.button, .btn, .auth-submit, .support-form-submit):is(:disabled, [aria-disabled="true"]) {
  background: var(--soft) !important; color: var(--muted) !important;
  border-color: var(--line) !important; cursor: not-allowed; opacity: 1 !important;
}
html body [data-paid-checkout-paused] { opacity: 1 !important; }

html body :is(.field input, .field select, .field textarea, .input, .select, .auth-input,
  .account-form input[type="email"], .account-form input[type="password"], .account-form .password-field input,
  .support-form input, .support-form select, .support-form textarea,
  .so-alert-control select, .so-report-controls :is(input, select), [id="spotterSearch"]) {
  background: var(--card) !important; color: var(--ink) !important;
  border: 1px solid var(--control-line) !important; border-radius: var(--radius-sm) !important;
  box-shadow: none !important; min-height: 44px; font-size: 15px;
}
/* Text fields show focus as a 2px accent ring (3:1 or better on every surface)
   with a soft halo, instead of a second outline stacked on the border. */
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea):focus {
  border-color: var(--accent-text) !important; box-shadow: 0 0 0 1px var(--accent-text), 0 0 0 4px var(--accent-soft) !important; outline: 2px solid transparent !important;
}
html body select { color-scheme: inherit; }
html body :is(.field-help, .help, .auth-help, .auth-fine, .support-form-note) { color: var(--muted); }
html body .field-help { font-size: 13px; }
html body :is(label, .field > label) { color: var(--ink); }

/* Settings switches: a checkbox drawn as a switch; still a checkbox to assistive tech. */
html body .setting-toggle input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: 0 0 38px !important; width: 38px; height: 22px; margin: 2px 0 0;
  border-radius: 999px; background: var(--line-strong); border: 0; position: relative; cursor: pointer;
}
html body .setting-toggle input[type="checkbox"]::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
html body .setting-toggle input[type="checkbox"]:checked { background: var(--forest); }
html body .setting-toggle input[type="checkbox"]:checked::after { left: 19px; }
html body .setting-toggle input[type="checkbox"]:disabled { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: no-preference) {
  html body .setting-toggle input[type="checkbox"], html body .setting-toggle input[type="checkbox"]::after { transition: background-color .15s ease, left .15s ease; }
}

/* Tags, badges and chips. */
html:root body.so-modern :is(.pill, .ebaybadge) {
  background: var(--soft) !important; color: var(--muted) !important;
  border: 0 !important; border-radius: var(--radius-xs) !important;
  font-size: 12px !important; font-weight: 550 !important; padding: 2px 8px !important; letter-spacing: 0 !important;
}
html:root body.so-modern .pill.pause { background: var(--warn-soft) !important; color: var(--warn-text) !important; }
html body :is(.subscription-badge, .subscription-tier-badge, .comparison-tier-badge, .plan-badge, .verified-badge, .so-intent-check) {
  background: var(--accent-soft) !important; color: var(--accent-text) !important;
  border: 0 !important; border-radius: var(--radius-xs) !important; box-shadow: none !important;
  font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body .comparison-keyword-badge { background: var(--soft) !important; color: var(--muted) !important; }
html:root body.so-modern .plan-usage strong {
  background: var(--accent-soft) !important; color: var(--accent-text) !important; border-radius: var(--radius-xs) !important;
  font-size: 12px !important; font-weight: 600 !important;
}
html:root body.so-modern .plan-usage :is(span, .manual-check-count) { color: var(--muted) !important; font-size: 13px !important; }
html:root body.so-modern :is(.chipbtn, .so-search-example) {
  background: var(--card) !important; color: var(--muted) !important; border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important;
}
html:root body.so-modern :is(.chipbtn, .so-search-example):hover { color: var(--ink) !important; background: var(--soft) !important; }

/* Kickers: small, quiet section labels. */
html body :is(.eyebrow, .auth-kicker, .support-dialog-kicker, .kicker, .spotter-confirm-kicker) {
  color: var(--accent-text) !important; background: transparent !important; padding: 0 !important; border: 0 !important;
  font-size: 12px !important; font-weight: 600 !important; letter-spacing: .06em !important; text-transform: uppercase;
}

/* ---------- Surfaces ---------- */
html body :is(.settings-panel, .account-dialog, .auth-page .account-dialog, .support-dialog,
  .box, .plan, .modal, .so-create-dialog, .saved-history-dialog) {
  background: var(--card) !important; color: var(--ink); border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow) !important;
}
html body :is(dialog, .spotter-confirm-shell, .spotter-confirm-card, .so-create-dialog, .saved-history-dialog, .support-dialog) {
  background: var(--raised) !important; color: var(--ink); border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-lg) !important;
}
/* One neutral scrim behind every dialog. The sign-in page keeps its full-page backdrop. */
html body :is(dialog:not(.account-dialog), .so-create-dialog, .saved-history-dialog, .billing-dialog, .plan-limit-dialog, .notify-prompt, .account-welcome)::backdrop,
html body :is(.support-dialog-backdrop, .modalbg) {
  background: rgba(12, 14, 13, .5) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html[data-theme="dark"] body :is(dialog:not(.account-dialog), .so-create-dialog, .saved-history-dialog, .billing-dialog, .plan-limit-dialog, .notify-prompt, .account-welcome)::backdrop,
html[data-theme="dark"] body :is(.support-dialog-backdrop, .modalbg) { background: rgba(0, 0, 0, .66) !important; }
html body :is(.account-head, .so-create-dialog-header, .spotter-confirm-header) {
  background: var(--raised) !important; border-bottom: 1px solid var(--line) !important; color: var(--ink);
}
html body .so-create-dialog-header :is(h2, p) { color: inherit; }
html body .so-create-dialog-header p { color: var(--muted) !important; }
html body :is(.profile-card, .subscription-card, .session-card, .billing-note) {
  background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
html body :is(.danger-box, .form-message.error, .notice.error, .notice.err, .formerror, .account-message.error, .account-page .error) {
  background: var(--danger-bg) !important; color: var(--bad) !important; border-color: color-mix(in srgb, var(--bad) 35%, transparent) !important;
}
html body :is(.notice.success, .notice.ok, .form-message.success) {
  background: var(--accent-soft) !important; color: var(--accent-text) !important; border-color: transparent !important;
}
html body .account-invalid, html body .field input.invalid { background: var(--danger-bg) !important; border-color: var(--bad) !important; border-left-width: 4px !important; }
html body :is(.page-heading h1, .panel-heading h2, .dialog-heading h2, .auth-heading,
  .so-page-heading h1, .so-report-summary h2, .so-report-section-heading h2) {
  font-weight: 650; letter-spacing: -.022em; line-height: 1.15;
}
html:root body.so-modern :is(.so-alert-empty, .empty) {
  background: transparent !important; color: var(--muted); border: 1px dashed var(--line-strong) !important; border-radius: var(--radius) !important;
}

/* Status and close symbols are drawn independently of font baselines. */
html body :is(.comparison-status, .check, .so-intent-check,
  .close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close) {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  vertical-align: middle;
}
html body .comparison-status > span[aria-hidden="true"] { font-size: 0 !important; }
html body :is(.comparison-status, .check, .so-intent-check,
  .close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 6px;
  box-sizing: border-box;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -65%) rotate(-45deg);
}
html body :is(.comparison-status.no,
  .close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close)::before,
html body :is(.comparison-status.no,
  .close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
html body :is(.comparison-status.no,
  .close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close)::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
html body :is(.close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close) {
  width: 36px !important; height: 36px !important; min-width: 36px; min-height: 36px;
  background: transparent !important; color: var(--muted) !important;
  border: 1px solid var(--line-strong) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
html body :is(.close, .account-close, .billing-close, .support-dialog-close, .so-create-dialog-close):hover {
  background: var(--soft) !important; color: var(--ink) !important;
}
html body :is(.comparison-status{ width: 22px; height: 22px; border-radius: 50%; }
html body :is(.comparison-status.yes{ background: var(--accent-soft) !important; color: var(--accent-text) !important; }
html body :is(.comparison-status.no{ background: var(--danger-bg) !important; color: var(--bad) !important; }

/* ---------- Page layout ---------- */
html body :is(.shell, .so-info-page .wrap) { width: min(var(--layout-width), calc(100% - 2 * var(--gutter))) !important; max-width: none !important; }
html body .page { width: min(var(--reading-width), calc(100% - 2 * var(--gutter))) !important; max-width: none !important; margin-inline: auto; }
html body :is(.account-main, .page) { padding-top: 40px; }
html body :is(.page h1, .page-heading h1, .so-page-heading h1, .sectiontitle) {
  font-size: clamp(28px, 3.2vw, 34px) !important; font-weight: 650 !important; letter-spacing: -.025em !important; line-height: 1.15 !important;
}
html body :is(.page .summary, .page-heading p, .so-page-heading p, .lead) { color: var(--muted) !important; font-size: 16px; }
html body :is(.page .eyebrow, .page-heading .eyebrow) { display: none; }
html body .settings-panel { min-height: 0; max-width: 100%; }
html body :is(.panel-heading h2, .account-head h1, .account-head h2) { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
html body :is(.auth-main, .account-main) { padding-bottom: 56px; }

/* ---------- Home: one calm search introduction ---------- */
html:root body[data-spotter-home] .hero { min-height: 0 !important; padding: 48px 0 40px !important; gap: 28px !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
html:root body[data-spotter-home] .hero-copy { width: min(var(--form-width), 100%); max-width: var(--form-width); margin-inline: auto !important; display: block !important; text-align: center !important; }
html:root body[data-spotter-home] .hero h1 {
  font-size: clamp(32px, 4.6vw, 48px) !important; font-weight: 700 !important; letter-spacing: -.035em !important;
  margin: 8px auto 12px !important; line-height: 1.08 !important; text-align: center !important; color: var(--ink) !important;
}
html:root body[data-spotter-home] .hero-copy > p { margin: 0 auto !important; max-width: 520px; color: var(--muted) !important; font-size: 17px !important; line-height: 1.55 !important; text-align: center !important; }
html:root body[data-spotter-home] .hero-copy > p strong { color: var(--ink) !important; }
html:root body[data-spotter-home] .watchbox { width: min(var(--form-width), 100%); margin-inline: auto !important; align-self: center; background: transparent !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
html:root body[data-spotter-home] .hero-copy .spotter-mascot-slot { float: none; width: 72px; margin: 0 auto 4px; }
html:root body.so-modern :is(.watchinner, .feature, .plan-card, .dashtop, .stat, .watchcard, .so-alert-card, .so-report-summary, .so-report-spotters, .so-mobile-story-card) {
  background: var(--card) !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
html:root body.so-modern.so-v2 .watchinner { background: var(--card) !important; border-color: var(--line) !important; box-shadow: var(--shadow-lg) !important; }
html[data-theme="dark"] body.so-modern.so-v2 .watchinner { box-shadow: none !important; }
html:root body[data-spotter-home] .watchinner { padding: 24px !important; border-radius: var(--radius-lg) !important; }
html:root body.so-modern :is(.feature, .plan-card, .watchcard, .so-alert-card):hover {
  transform: none !important; border-color: var(--line-strong) !important; box-shadow: var(--shadow) !important;
}
html:root body[data-spotter-home] .restrictive-guidance { background: transparent; border: 0; margin: 0 0 12px; padding: 0; font-size: 18px; line-height: 1.3; color: var(--ink); }
html:root body[data-spotter-home] .restrictive-guidance strong { color: var(--ink); font-weight: 650; }
html:root body[data-spotter-home] #searchDescriptionHelp { display: none !important; }
html:root body.so-modern.so-v2 #searchDescription {
  background: var(--card) !important; color: var(--ink) !important;
  border: 1px solid var(--control-line) !important; border-radius: 10px !important; box-shadow: none !important;
}
html:root body.so-modern.so-v2 #searchDescription::placeholder { color: var(--muted) !important; }
html:root body.so-modern.so-v2 #searchDescription:focus {
  border-color: var(--accent-text) !important; box-shadow: 0 0 0 1px var(--accent-text), 0 0 0 4px var(--accent-soft) !important;
}
html:root body.so-modern :is(#reviewSearch, #createBtn) {
  background: var(--forest) !important; border-color: var(--forest) !important;
  color: #fff !important; box-shadow: none !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important;
}
html:root body.so-modern :is(#reviewSearch, #createBtn):hover { background: var(--forest2) !important; transform: none; }
html:root body.so-modern.so-v2 :is(#imageSearch, #manualSearchDetails) {
  background: var(--soft) !important; border-color: var(--line) !important; border-radius: var(--radius-sm) !important;
}
html:root body.so-modern.so-v2 :is(#imageSearch, #manualSearchDetails) > summary { color: var(--ink) !important; }
html:root body.so-modern.so-v2 #manualSearchDetails > summary span { color: var(--muted) !important; }
html:root body[data-spotter-home] :is(#imageSearch, #manualSearchDetails):not([open]) { background: transparent !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; }
/* One prompt, compact reference actions, one budget and one next step. */
html:root body[data-spotter-home] #createForm .search-item-price-row { grid-template-columns: minmax(0, 1fr) 148px !important; gap: 16px; align-items: start; }
html:root body[data-spotter-home] #createForm #searchDescription { min-height: 88px !important; height: 88px; padding: 12px 14px !important; line-height: 1.45 !important; border-radius: 10px !important; }
html:root body[data-spotter-home] #createForm #searchDescriptionFields[data-source="description"] #restrictiveSearchGuidance { display: none; }
html:root body[data-spotter-home] #createForm .search-item-price-row label { min-height: 24px !important; line-height: 24px !important; margin: 0 0 8px !important; }
html:root body[data-spotter-home] #createForm .search-item-price-description label[for="searchDescription"],
html:root body[data-spotter-home].so-modern #searchDescriptionFields label[for="searchDescription"] {
  font-size: 15px !important; font-weight: 600 !important; color: var(--ink) !important; letter-spacing: -.005em;
}
html:root body[data-spotter-home] #createForm .spotter-source-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 6px 0 0 -8px; }
html:root body[data-spotter-home] #createForm .spotter-source-choice button { min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent !important; box-shadow: none !important; color: var(--accent-text) !important; font-size: 13px; font-weight: 600; }
html:root body[data-spotter-home] #createForm .spotter-source-choice button:hover { background: var(--soft) !important; }
html:root body[data-spotter-home] #createForm .spotter-source-choice button[aria-pressed="true"] { background: var(--accent-soft) !important; }
html:root body[data-spotter-home] #createForm .spotter-source-choice button[hidden],
html:root body[data-spotter-home] #imageSearch > summary[hidden] { display: none !important; }
html:root body[data-spotter-home] #imageSearch:not([open]) { border: 0 !important; margin: 0 !important; }
html:root body[data-spotter-home] #createForm .search-item-price-row > #maxPriceField { display: flex; flex-direction: column; min-width: 0; gap: 0; }
html:root body[data-spotter-home] #createForm .search-item-price-row > #maxPriceField > label { font-size: 15px !important; font-weight: 600 !important; color: var(--ink) !important; }
html:root body[data-spotter-home] #createForm .search-item-price-row > #maxPriceField > #maxPrice { width: 100%; min-height: 48px; padding: 10px 12px !important; font-size: 16px; }
html:root body[data-spotter-home] #createForm .search-item-price-row > #maxPriceField > #maxPriceHelp { margin: 8px 0 0 !important; font-size: 12px; line-height: 1.4; color: var(--muted); }
html:root body[data-spotter-home] #createForm .search-item-price-row.manual-only { grid-template-columns: minmax(0, 1fr) !important; }
@media (max-width: 600px) {
  html:root body[data-spotter-home] #createForm .search-item-price-row { grid-template-columns: minmax(0, 1fr) !important; gap: 12px; }
}
html:root body[data-spotter-home] #createForm #createBtn { min-height: 48px !important; padding: 12px 16px !important; margin: 16px 0 0 !important; font-size: 15px !important; }
html:root body[data-spotter-home] #createForm .spotter-form-legal { margin: 10px 0 4px !important; font-size: 12px !important; line-height: 1.5 !important; color: var(--muted); }
html:root body[data-spotter-home] #createForm .spotter-form-legal a { color: inherit !important; }
html:root body[data-spotter-home] #createForm #manualSearchDetails:not([open]) { border: 0 !important; margin: 0 !important; box-shadow: none !important; }
html:root body[data-spotter-home] #createForm #manualSearchDetails > summary { justify-content: center; gap: 8px; min-height: 44px !important; padding: 10px 0 !important; font-size: 13px !important; font-weight: 550; color: var(--accent-text) !important; }
html:root body[data-spotter-home] #createForm #manualSearchDetails > summary::after { font-size: 14px; }
html:root body[data-spotter-home] #createForm #manualSearchDetails[open] { margin: 8px 0 0 !important; }
/* While AI is unavailable (paused or not configured), the form is an exact-keyword
   form: no one-option mode switch, no photo or link entry (both need AI), and no
   toggle that would collapse the only search path. The notice reads as information. */
html:root body #createForm[data-ai-state="unavailable"] .search-intent > .search-mode,
html:root body #createForm[data-ai-state="unavailable"] :is(.spotter-source-choice, #imageSearch, #manualSearchDetails > summary, .manual-search-note) { display: none !important; }
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
html:root body #createForm[data-ai-state="unavailable"] .manual-search-details-body { padding: 0 !important; }
/* "More filters & check frequency": a plain disclosure row below the price. */
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced {
  margin: 16px 0 0 !important; padding: 0 !important; background: transparent !important;
  border: 0 !important; border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
}
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced > summary {
  display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 !important; list-style: none; cursor: pointer;
  color: var(--ink) !important; font-size: 14px !important; font-weight: 600 !important; background: transparent !important;
}
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced > summary::-webkit-details-marker { display: none; }
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced > summary .criteria-chevron { display: none !important; }
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced > summary::after {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg);
}
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced > summary:hover { color: var(--accent-text) !important; }
html:root body #createForm[data-ai-state="unavailable"] #manualSearchDetails #advanced[open] > .criteria-advanced-body { padding: 4px 0 16px !important; }
html:root body #createForm #searchCapability:not(:empty) {
  display: block; margin: 0 0 16px !important; padding: 10px 12px !important;
  background: var(--soft) !important; color: var(--ink) !important; border: 0 !important; border-left: 3px solid var(--notice-dot) !important;
  border-radius: var(--radius-sm) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.5 !important;
}
html:root body #createForm:not([data-ai-state="unavailable"]) #searchCapability { display: none !important; }
html:root body.so-modern #createForm :is(#query, #minPrice, #maxPrice, #condition) {
  background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--control-line) !important;
  border-radius: var(--radius-sm) !important; box-shadow: none !important; min-height: 44px !important; padding: 0 12px !important; font-size: 15px !important;
}
html:root body.so-modern #createForm :is(#query, #minPrice, #maxPrice, #condition):focus { box-shadow: 0 0 0 1px var(--accent-text), 0 0 0 4px var(--accent-soft) !important; }
html:root body.so-modern #createForm .required-tag { color: var(--muted) !important; font-weight: 500 !important; }
/* Inside the price-range group its heading already says optional and USD; repeating
   them under one box only pushed it out of line with the other. */
html:root body #createForm #manualSearchDetails .criteria-group #maxPriceField :is(.optional-tag, #maxPriceHelp) { display: none !important; }
html:root body[data-spotter-home] #searchReviewStatus:empty,
html:root body[data-spotter-home] #searchReview:empty { display: none; }
html:root body.so-modern :is(.manual-search-details, .criteria-advanced) {
  background: var(--soft) !important; border-color: var(--line) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
html:root body.so-modern .criteria-advanced summary { color: var(--accent-text) !important; }
html:root body.so-modern :is(.advanced-toggle, .checkrow, .spotter-start-later, .alert-consent, .so-alert-consent) {
  background: var(--card) !important; color: var(--ink) !important; border-color: var(--line) !important; border-radius: var(--radius-sm) !important;
}
html:root body.so-modern .year-support-note { background: var(--warn-soft) !important; color: var(--warn-text) !important; border-color: transparent !important; }

/* How it works: numbered steps on a hairline, not three heavy boxes. */
html:root body.so-modern.so-v2 #how { background: transparent !important; border-top: 1px solid var(--line) !important; border-bottom: 0 !important; }
html:root body[data-spotter-home] #how { padding: 56px 0 48px !important; }
html:root body.so-modern.so-v2 :is(#how, #plans) :is(.sectiontitle, .lead, .kicker) { text-align: left !important; margin-inline: 0 !important; }
html:root body.so-modern.so-v2 :is(#how, #plans) .sectiontitle { font-size: clamp(26px, 3.2vw, 34px) !important; margin-top: 8px !important; }
html:root body.so-modern #how .how { gap: 32px !important; margin-top: 32px; }
html:root body.so-modern #how .step {
  background: transparent !important; border: 0 !important; border-top: 1px solid var(--line-strong) !important;
  border-radius: 0 !important; box-shadow: none !important; padding: 20px 0 0 !important; min-height: 0 !important;
}
html:root body.so-modern #how .step:hover { border-color: var(--line-strong) !important; }
html:root body.so-modern #how .step h3 { font-size: 17px !important; font-weight: 600 !important; margin: 14px 0 6px !important; letter-spacing: -.01em; }
html:root body.so-modern #how .step p { color: var(--muted) !important; font-size: 15px; }
html:root body.so-modern :is(.featureicon, .num, .watchicon, .so-mobile-story-icon) {
  background: var(--accent-soft) !important; color: var(--accent-text) !important; box-shadow: none !important;
}
html:root body.so-modern .num { width: 28px !important; height: 28px !important; border-radius: var(--radius-sm) !important; font-size: 13px !important; font-weight: 650 !important; }

/* Plans */
html:root body.so-modern.so-v2 #plans { background: transparent !important; border-top: 1px solid var(--line); }
html:root body.so-modern #plans .plan-card { padding: 24px; }
html:root body.so-modern #plans .plan-card.pro { border-color: var(--line) !important; }
 .plan-note{ color: var(--muted) !important; }




 td) { border-color: var(--line) !important; color: var(--ink); }


 td).comparison-paid{ background: var(--soft) !important; }
 .comparison-variable, .comparison-price span) { color: var(--muted) !important; }


html body .comparison-annual-offer { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
/* Tier names and taglines share aligned rows in light and dark themes. */

html:root body.so-modern #plans .plan-card > .kicker { margin-bottom: 8px !important; }
html:root body.so-modern #plans .plan-card h3 { font-size: 24px !important; line-height: 1.18; min-height: 2.36em; }

html:root body.so-modern #plans .plan-card:first-child > .kicker { margin-top: 38px !important; }

@media (max-width: 900px) {
  html:root body.so-modern #plans .plan-card h3{ min-height: 0; }
  html:root body.so-modern #plans .plan-card:first-child > .kicker { margin-top: 0 !important; }
  
}

/* ---------- App: Spotters ---------- */
html:root body.so-modern :is(#dashboard, #soAlertsPage) { padding-top: 40px !important; }
html:root body.so-modern :is(#dashboard > .shell > .sectiontitle, #dashboard > .shell > .lead) { text-align: left !important; margin-inline: 0 !important; }
html:root body.so-modern #dashboard > .shell > .sectiontitle { margin: 0 0 6px !important; font-size: clamp(28px, 3.2vw, 34px) !important; }
html:root body.so-modern #dashboard > .shell > .lead { margin: 0 0 24px !important; }
html:root body.so-modern .so-page-heading { justify-content: flex-start; text-align: left; margin-bottom: 24px; }
html:root body.so-modern .so-page-heading > div { width: 100%; }
html:root body.so-modern .so-page-heading :is(h1, p) { margin-inline: 0 !important; text-align: left !important; }
html:root body.so-modern .so-page-heading h1 { margin-bottom: 6px !important; }
/* The otter keeps watch beside the heading instead of floating above it. */
html:root body.so-modern :is(#dashboard, #soAlertsPage) .spotter-mascot-slot { float: right; clear: none; display: block; width: 64px; margin: 0 0 8px 16px; }
html:root body.so-modern .dash, html:root body.so-modern .dashshell { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible !important; }
html:root body.so-modern .dashtop {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px !important; margin-bottom: 12px;
}
html:root body.so-modern .dashtop h3 { font-size: 17px !important; font-weight: 650 !important; margin: 0 0 6px !important; letter-spacing: -.01em; }
html:root body.so-modern .dashtop p { display: none; }
html:root body.so-modern .spotter-dashboard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Page-level actions share one button size. */
html:root body.so-modern :is(.spotter-dashboard-actions, .spotter-bulk-controls, .so-alert-view-row, .so-alert-more, .spotter-list-end, .so-report-controls) .btn,
html:root body.so-modern :is(.so-notification-settings-button, .so-report-apply, #desktopAlertsButton, #dashCreate, #scanAll, #pauseAllSpotters) {
  min-height: 40px !important; padding: 0 16px !important; font-size: 14px !important; font-weight: 600 !important; border-radius: var(--radius-sm) !important;
}
html:root body.so-modern .plan-usage :is(span, .manual-check-count) { font-weight: 500 !important; }
html:root body.so-modern :is(.so-alert-control select, .so-report-controls :is(input, select)) { font-size: 15px !important; font-weight: 500 !important; }
/* Four numbers read as one strip. */
html:root body.so-modern .stats {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 !important;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px;
}
html:root body.so-modern .stats .stat {
  border: 0 !important; border-left: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 14px 18px !important; background: transparent !important;
}
html:root body.so-modern .stats .stat:first-child { border-left: 0 !important; }
html:root body.so-modern .stat strong { display: block; font-size: 22px !important; font-weight: 650 !important; letter-spacing: -.02em; color: var(--ink) !important; }
html:root body.so-modern .stat > div { color: var(--muted) !important; font-size: 13px !important; }
html:root body.so-modern .toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: transparent !important; border: 0 !important; padding: 4px 0 12px !important; box-shadow: none !important;
}
html:root body.so-modern .toolbar > .help { font-size: 13px; color: var(--muted) !important; }
html:root body.so-modern .spotter-bulk-controls { display: flex; gap: 8px; }
html:root body.so-modern .spotter-list-controls { background: transparent !important; padding: 0 !important; border: 0 !important; margin: 0 0 12px !important; display: block !important; }
html:root body.so-modern .spotter-list-controls label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); background: transparent !important; }
html:root body.so-modern .spotter-list-controls #spotterSearch { width: 100%; margin-top: 6px; font-size: 15px !important; font-weight: 400 !important; padding: 0 12px !important; }
html:root body.so-modern .statusbar { background: var(--soft) !important; border-color: var(--line) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important; color: var(--muted); }
html:root body.so-modern .watchlist { display: grid; gap: 10px; }
html:root body.so-modern .watchcard { padding: 16px 18px !important; }
html:root body.so-modern .watchcard.paused { opacity: 1 !important; }
html:root body.so-modern .watchtop { grid-template-columns: minmax(0, 1fr) auto !important; align-items: start; gap: 12px 20px !important; }
html:root body.so-modern :is(.resultline, .matches) { margin-left: 0 !important; }
html:root body.so-modern .watchtitle { font-size: 16px !important; font-weight: 600 !important; letter-spacing: -.01em; color: var(--ink) !important; }
html:root body.so-modern .watchmeta { color: var(--muted) !important; font-size: 14px; }
html:root body.so-modern .watchactions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
/* One emphasized action per card would still be eight on a page; card actions stay quiet. */
html:root body.so-modern .watchactions .btn.lime:not(:disabled):not([aria-disabled="true"]) {
  background: var(--card) !important; color: var(--accent-text) !important; border: 1px solid var(--line-strong) !important;
}
html:root body.so-modern .watchactions .btn.lime:not(:disabled):not([aria-disabled="true"]):hover { background: var(--accent-soft) !important; border-color: var(--accent-text) !important; }
/* A Check now that cannot run looks unavailable, not like the live button. */
html:root body.so-modern .watchactions .btn.lime:is(:disabled, [aria-disabled="true"]) { border: 1px solid var(--line) !important; }
html:root body.so-modern .resultline { background: var(--soft) !important; color: var(--muted) !important; border-radius: var(--radius-sm) !important; border-color: transparent !important; }
html:root body.so-modern .resultline.match { background: var(--accent-soft) !important; color: var(--accent-text) !important; }
html:root body.so-modern .resultline.error,
html:root body.so-modern .resultline.spotter-no-match { background: var(--danger-bg) !important; color: var(--bad) !important; border-color: transparent !important; box-shadow: inset 3px 0 0 var(--bad) !important; }
html:root body.so-modern .matchimg { background: var(--soft) !important; }
/* The Listings disclosure: plain text with a chevron. */
html:root body.so-modern .spotter-listings { margin-top: 12px; border-top: 1px solid var(--line); }
html:root body.so-modern .spotter-listings > summary {
  list-style: none; display: flex; align-items: center; gap: 6px; padding: 12px 0 0; cursor: pointer;
  color: var(--ink) !important; font-size: 14px; font-weight: 600;
}
html:root body.so-modern .spotter-listings > summary::-webkit-details-marker { display: none; }
html:root body.so-modern .spotter-listings > summary .spotter-bell { display: none; }
html:root body.so-modern .spotter-listings > summary .watchmeta { font-weight: 400; font-size: 14px; }
html:root body.so-modern .spotter-listings > summary::after {
  content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
}
html:root body.so-modern .spotter-listings[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
html:root body.so-modern .spotter-listings > summary:hover { color: var(--accent-text) !important; }
html:root body.so-modern .spotter-alerts-off { background: var(--warn-soft) !important; color: var(--warn-text) !important; border-radius: var(--radius-sm); border: 0 !important; }
html:root body.so-modern .watch-search-requirements { background: transparent !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding-inline: 0 !important; }
html:root body.so-modern .watch-criteria-list { gap: 6px; }
html:root body.so-modern .watch-saved-description { color: var(--muted); }
html:root body.so-modern .watch-search-requirements > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); padding: 12px 0; }
html:root body.so-modern .watch-search-requirements > summary span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
html:root body.so-modern .watch-requirement-details > summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
html:root body.so-modern .watch-requirement-details[open] > summary { margin-bottom: 8px; }
html:root body.so-modern :is(.so-reveal, .so-in) { opacity: 1; transform: none; transition: none; }
html:root body.so-modern .spotter-list-end { color: var(--muted); font-size: 14px; }
@media (max-width: 1100px) {
  html:root body.so-modern .watchtop { grid-template-columns: minmax(0, 1fr) !important; }
  html:root body.so-modern .watchactions { grid-column: 1 !important; justify-content: flex-start; }
}

/* Recent listings in a Spotter card: a vertical list of rows. Photo, then the
   title with price and shipping, then the "Is this a match?" control in its own
   column (its own line on phones), so nothing sits on top of the text. */
html:root body.so-modern #watchList .spotter-listings .spotter-preview-nav { margin: 16px 0 8px !important; font-size: 13px; color: var(--ink); }
html:root body.so-modern #watchList .spotter-listings .spotter-preview-controls { display: none !important; }
html:root body.so-modern #watchList .spotter-listings .matches {
  display: flex !important; flex-direction: column !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; overflow: visible !important;
}
html:root body.so-modern #watchList .spotter-listings .matches > .so-affiliate-note { margin: 0 0 4px !important; font-size: 12px; color: var(--muted) !important; }
html:root body.so-modern #watchList .spotter-listings .matchcard {
  position: relative; display: grid !important; grid-template-columns: 56px minmax(0, 1fr) auto !important; align-items: center !important; gap: 12px !important;
  width: 100% !important; min-width: 0 !important; padding: 8px 10px 8px 8px !important;
  background: var(--card) !important; color: var(--ink) !important; text-decoration: none !important;
  border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important; overflow: visible !important;
}
html:root body.so-modern #watchList .spotter-listings .matchcard:hover { border-color: var(--line-strong) !important; }
html:root body.so-modern #watchList .spotter-listings .matchimg {
  grid-column: 1; grid-row: 1; width: 56px !important; height: 56px !important; aspect-ratio: auto !important;
  border-radius: 6px; overflow: hidden; background: var(--soft) !important;
}
html:root body.so-modern #watchList .spotter-listings .matchimg img { width: 100%; height: 100%; object-fit: cover; }
html:root body.so-modern #watchList .spotter-listings .matchbody {
  grid-column: 2; grid-row: 1; display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; align-items: baseline;
  gap: 2px 10px !important; padding: 0 !important; min-width: 0; background: transparent !important;
}
html:root body.so-modern #watchList .spotter-listings .matchbody > :is(.spotter-match-state, .matchtitle) { grid-column: 1 / -1; }
html:root body.so-modern #watchList .spotter-listings .matchtitle {
  height: auto !important; min-height: 0 !important; margin: 0 !important; color: var(--ink) !important;
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.35 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html:root body.so-modern #watchList .spotter-listings .matchprice { margin: 0 !important; color: var(--ink) !important; font-size: 14px !important; font-weight: 650 !important; }
html:root body.so-modern #watchList .spotter-listings .matchcard.spotter-match-previous .matchprice { color: var(--ink) !important; }
html:root body.so-modern #watchList .spotter-listings .matchshipping { margin: 0 !important; color: var(--muted) !important; font-size: 12px !important; font-weight: 500 !important; }
html:root body.so-modern #watchList .spotter-listings .matchsub { display: none !important; }
html:root body.so-modern #watchList .spotter-listings .spotter-match-state {
  justify-self: start; margin: 0 0 2px !important; padding: 1px 7px !important; border: 0 !important; border-radius: var(--radius-xs) !important;
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: .04em !important;
}
/* A new listing carries the same green accent as a new alert. */
html:root body.so-modern #watchList .spotter-listings .matchcard.spotter-match-new {
  border-color: var(--accent-text) !important; background: var(--accent-soft) !important; box-shadow: none !important;
}
html:root body.so-modern #watchList .spotter-listings .matchcard.spotter-match-new .matchbody { background: transparent !important; }
html:root body.so-modern #watchList .spotter-listings .spotter-match-state.new { background: var(--forest) !important; color: #fff !important; }
@media (max-width: 640px) {
  html:root body.so-modern #watchList .spotter-listings .matchcard { grid-template-columns: 48px minmax(0, 1fr) !important; gap: 4px 10px !important; }
  html:root body.so-modern #watchList .spotter-listings .matchimg { width: 48px !important; height: 48px !important; }
}

/* ---------- Arrange Spotters: drag handle, More menu, pinned and hidden ---------- */
html:root body.so-modern #watchList .watchcard { overflow: visible !important; }
html:root body.so-modern #watchList .watchtitle { display: flex; align-items: center; gap: 6px; }
html:root body.so-modern .spotter-drag {
  flex: 0 0 auto; width: 24px; height: 28px; margin: 0 2px 0 -6px; padding: 0 !important; border: 0 !important; border-radius: 6px;
  background: transparent !important; color: var(--muted); cursor: grab; touch-action: none; position: relative; box-shadow: none !important;
}
html:root body.so-modern .spotter-drag::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 28'%3E%3Ccircle cx='8' cy='8' r='1.7'/%3E%3Ccircle cx='14' cy='8' r='1.7'/%3E%3Ccircle cx='8' cy='14' r='1.7'/%3E%3Ccircle cx='14' cy='14' r='1.7'/%3E%3Ccircle cx='8' cy='20' r='1.7'/%3E%3Ccircle cx='14' cy='20' r='1.7'/%3E%3C/svg%3E") center / 22px 28px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 28'%3E%3Ccircle cx='8' cy='8' r='1.7'/%3E%3Ccircle cx='14' cy='8' r='1.7'/%3E%3Ccircle cx='8' cy='14' r='1.7'/%3E%3Ccircle cx='14' cy='14' r='1.7'/%3E%3Ccircle cx='8' cy='20' r='1.7'/%3E%3Ccircle cx='14' cy='20' r='1.7'/%3E%3C/svg%3E") center / 22px 28px no-repeat;
}
html:root body.so-modern .spotter-drag:hover { color: var(--ink); background: var(--soft) !important; }
html:root body.so-modern #watchList .watchcard.spotter-dragging {
  position: relative; z-index: 20; cursor: grabbing; border-color: var(--accent-text) !important; box-shadow: var(--shadow-lg) !important; transition: none !important;
}
html:root body.spotter-reordering, html:root body.spotter-reordering * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
html:root body.so-modern #watchList .watchcard.spotter-pinned { box-shadow: inset 3px 0 0 var(--accent-text), var(--shadow) !important; }
html:root body.so-modern #watchList .watchcard.spotter-is-hidden { border-style: dashed !important; }
html:root body.so-modern .pill.spotter-pinned-tag { background: var(--accent-soft) !important; color: var(--accent-text) !important; margin-left: 6px; }
html:root body.so-modern .pill.spotter-hidden-tag { margin-left: 6px; }
html:root body.so-modern .spotter-more { position: relative; display: inline-block; }
html:root body.so-modern .spotter-more > summary { list-style: none; cursor: pointer; }
html:root body.so-modern .spotter-more > summary::-webkit-details-marker { display: none; }
html:root body.so-modern .spotter-more[open] > summary { background: var(--soft) !important; border-color: var(--control-line) !important; }
html:root body.so-modern .spotter-more-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; min-width: 200px; padding: 6px;
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
html:root body.so-modern .spotter-more.spotter-more-up .spotter-more-menu { top: auto; bottom: calc(100% + 6px); }
/* The card with an open More menu sits above the cards after it, so their
   buttons never show through the menu, whatever lifts or layers a card. */
html:root body.so-modern #watchList > .watchcard:is(:has(details.spotter-more[open]), .spotter-menu-open) { z-index: 2; }
html:root body.so-modern .spotter-more-menu button {
  min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink);
  font: 500 14px/1.2 var(--font); text-align: left; cursor: pointer; white-space: nowrap;
}
html:root body.so-modern .spotter-more-menu button:hover:not(:disabled) { background: var(--soft); }
html:root body.so-modern .spotter-more-menu button:disabled { color: var(--muted); opacity: .6; cursor: default; }
html:root body.so-modern .spotter-more-menu button[data-layout-action="hide"] { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 2px; padding-top: 2px; }
.spotter-layout-status { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The list under the Spotter search: every Spotter with a box, ticked when it
   is in the list. Opens from the search box like a menu. */
html:root body.so-modern .spotter-list-controls.has-spotter-checklist { position: relative; z-index: 25; }
html:root body.so-modern .spotter-list-controls.has-spotter-checklist #spotterSearch { padding-right: 48px !important; }
html:root body.so-modern .spotter-checklist-toggle {
  position: absolute; right: 4px; bottom: 4px; width: 36px; height: 36px; padding: 0 !important;
  border: 0 !important; border-radius: 6px; background: transparent !important; color: var(--muted); cursor: pointer; box-shadow: none !important;
}
html:root body.so-modern .spotter-checklist-toggle[hidden] { display: none; }
html:root body.so-modern .spotter-checklist-toggle:hover { color: var(--ink); background: var(--soft) !important; }
html:root body.so-modern .spotter-checklist-toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  transition: transform .15s ease;
}
html:root body.so-modern .spotter-checklist-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(180deg); }
html:root body.so-modern .spotter-checklist {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: min(380px, 60vh); overflow: auto; overscroll-behavior: contain;
  padding: 0 6px 6px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
html:root body.so-modern .spotter-checklist[hidden] { display: none; }
html:root body.so-modern .spotter-checklist-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0 -6px 4px; padding: 10px 14px 9px;
  background: var(--raised); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink);
}
html:root body.so-modern .spotter-checklist-count { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
html:root body.so-modern .spotter-checklist-all {
  margin-left: auto; min-height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); color: var(--ink); font: 600 12px/1 var(--font); cursor: pointer;
}
html:root body.so-modern .spotter-checklist-all[hidden] { display: none; }
html:root body.so-modern .spotter-checklist-all:hover { border-color: var(--accent-text); color: var(--accent-text); }
html:root body.so-modern .spotter-list-controls label.spotter-check {
  display: flex !important; align-items: center; gap: 10px !important; min-height: 40px; margin: 0; padding: 8px 10px; border-radius: 6px;
  color: var(--ink); font-size: 14px !important; font-weight: 500 !important; line-height: 1.3; cursor: pointer; user-select: none;
}
html:root body.so-modern .spotter-list-controls label.spotter-check[hidden] { display: none !important; }
html:root body.so-modern .spotter-list-controls label.spotter-check:hover { background: var(--soft); }
html:root body.so-modern .spotter-list-controls label.spotter-check:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: -2px; }
html:root body.so-modern .spotter-list-controls label.spotter-check input { flex: 0 0 auto; width: 18px !important; height: 18px; margin: 0; padding: 0 !important; accent-color: var(--forest); cursor: pointer; }
html:root body.so-modern .spotter-list-controls label.spotter-check input:focus-visible { outline: none; }
/* Names read exactly as typed ("30x32", not the font's contextual "30×32"), as on the cards. */
html:root body.so-modern .spotter-list-controls .spotter-check-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-variant-ligatures: no-contextual; }
html:root body.so-modern .spotter-list-controls .spotter-check-note { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
html:root body.so-modern .spotter-list-controls label.spotter-check.off .spotter-check-name { color: var(--muted); }
html:root body.so-modern .spotter-checklist-empty { margin: 0; padding: 10px; color: var(--muted); font-size: 14px; }
html:root body.so-modern .spotter-checklist-empty[hidden] { display: none; }
@media (max-width: 650px) {
  html:root body.so-modern #watchList .watchcard { position: relative; }
  html:root body.so-modern #watchList .watchactions .spotter-more { position: absolute; top: 10px; right: 10px; }
  html:root body.so-modern #watchList .watchtitle { padding-right: 72px; }
}

/* ---------- App: Alerts and reports ---------- */
html:root body.so-modern .so-alert-view-row { align-items: center; gap: 12px; margin-bottom: 16px; }
html:root body.so-modern .so-alert-view-tabs {
  background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 10px !important;
  padding: 3px !important; gap: 2px; box-shadow: none !important;
}
html:root body.so-modern .so-alert-view-tabs button {
  min-height: 32px; padding: 0 14px; border: 0 !important; border-radius: 7px !important;
  background: transparent !important; color: var(--muted) !important; font-size: 14px; font-weight: 550 !important; box-shadow: none !important;
}
html:root body.so-modern .so-alert-view-tabs button:hover { color: var(--ink) !important; }
html:root body.so-modern .so-alert-view-tabs button.active {
  background: var(--card) !important; color: var(--ink) !important; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .06) !important;
}
html[data-theme="dark"] body.so-modern .so-alert-view-tabs button.active { background: var(--line-strong) !important; box-shadow: none !important; }
html:root body.so-modern .so-alert-toolbar {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin-bottom: 16px;
  align-items: end;
}
html:root body.so-modern .so-alert-control span { color: var(--muted) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
html:root body.so-modern .so-alert-count { color: var(--muted) !important; font-size: 13px; }
html:root body.so-modern .so-affiliate-note { color: var(--muted) !important; font-size: 12px; }
html:root body.so-modern .so-alert-list { display: grid; gap: 10px; }
html:root body.so-modern .so-alert-card { padding: 14px !important; color: var(--ink) !important; text-decoration: none !important; }
html:root body.so-modern .so-alert-image {
  background: var(--soft) !important; color: var(--muted) !important; border: 0 !important; box-shadow: none !important; border-radius: var(--radius-sm) !important;
}
html:root body.so-modern .so-alert-image span { color: var(--muted) !important; font-size: 12px; font-weight: 600; }
html:root body.so-modern .so-alert-spotter { background: transparent !important; padding: 0; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 500 !important; color: var(--muted) !important; }
/* An alert that was new when this visit began keeps a green accent until the
   person leaves the tab or the page. */
html:root body.so-modern .so-alert-card.so-alert-new { border-color: var(--accent-text) !important; background: var(--accent-soft) !important; }
html:root body.so-modern .so-alert-card.so-alert-new .so-alert-image { background: var(--card) !important; }
html:root body.so-modern .so-alert-new-tag {
  display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: var(--radius-xs);
  background: var(--forest); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 1px;
}
html:root body.so-modern .so-alert-title { font-size: 16px !important; line-height: 1.4; font-weight: 600 !important; color: var(--ink) !important; letter-spacing: -.01em; }
/* A possible match (the engine's Maybe): yellow, everywhere it is labeled. */
html:root body.so-modern .so-alert-main > strong, html:root body .so-possible {
  display: inline-block; margin: 4px 0 2px; padding: 1px 8px; border-radius: var(--radius-xs, 6px);
  background: var(--possible-bg, #fff4cc); border: 1px solid var(--possible-border, #ecd27a); color: var(--possible-text, #6b4e00) !important; font-size: 12px; font-weight: 650;
}
html:root body.so-modern .so-alert-meta { color: var(--muted) !important; font-size: 13px; }
html:root body.so-modern .so-alert-price { color: var(--ink) !important; font-size: 18px !important; font-weight: 650 !important; letter-spacing: -.01em; }
html:root body.so-modern .so-alert-price > div { color: var(--muted) !important; font-size: 12px !important; font-weight: 400 !important; }
html:root body.so-modern .so-alert-ebay-button {
  background: var(--forest) !important; color: #fff !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
  font-size: 13px !important; font-weight: 600 !important; min-height: 34px; padding: 0 12px !important;
}
html:root body.so-modern .so-alert-card:hover .so-alert-ebay-button { background: var(--forest2) !important; }
html:root body.so-modern :is(.so-report-summary .kicker, .matchprice) { color: var(--accent-text) !important; }
html:root body.so-modern .so-report-summary { margin-top: 20px; padding: 22px; }
html:root body.so-modern .so-report-timezone { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
html:root body.so-modern .so-report-totals > div {
  background: var(--soft) !important; color: var(--ink) !important; border: 0 !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
html:root body.so-modern .so-report-totals span { text-transform: none !important; letter-spacing: 0 !important; color: var(--muted) !important; font-weight: 500 !important; }
html:root body.so-modern .so-report-spotters header { background: var(--soft) !important; color: var(--muted) !important; letter-spacing: .04em; font-size: 12px; }
html:root body.so-modern .so-report-spotter-group summary:hover,
html:root body.so-modern .so-report-spotter-group[open] summary { background: var(--soft) !important; }
html:root body.so-modern .so-report-spotter-matches { background: var(--bg) !important; }
html:root body.so-modern .so-report-apply,
html:root body.so-modern .so-report-archive button.active { background: var(--forest) !important; color: #fff !important; border-color: var(--forest) !important; }
html:root body.so-modern .so-report-archive { gap: 8px; }
html:root body.so-modern .so-report-controls :is(input, select) { color-scheme: inherit; }
html:root body.so-modern .so-report-controls label { color: var(--muted) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }

/* ---------- Confirm a Spotter and the account gate ---------- */
html body .spotter-confirm-kicker { display: block; }
html body :is(.spotter-confirm-product, .spotter-confirm-price) {
  background: var(--soft) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
html body :is(.spotter-confirm-lead, .spotter-confirm-note, .spotter-confirm-price-label, .spotter-confirm-summary) { color: var(--muted) !important; }
html body .spotter-suggestion-box {
  background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
html body .spotter-optional-badge {
  background: var(--card) !important; color: var(--muted) !important; border: 0 !important; border-radius: var(--radius-xs) !important;
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: .04em !important;
}
html body .spotter-suggestion-chip {
  background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-sm) !important; font-size: 13px !important; font-weight: 550 !important; transform: none !important;
}
html body .spotter-suggestion-chip:hover { background: var(--accent-soft) !important; border-color: var(--accent-text) !important; }
html body .spotter-suggestion-chip-added { background: var(--accent-soft) !important; border-color: var(--accent-text) !important; color: var(--accent-text) !important; }
html body .spotter-add-details { border-top-color: var(--line) !important; }
html body .spotter-add-details textarea {
  background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--control-line) !important; border-radius: var(--radius-sm) !important;
}
html body :is(.spotter-add-details-help, .spotter-suggestion-foot, .spotter-suggestion-copy) { color: var(--muted) !important; }

/* ---------- Settings ---------- */
html body .settings-layout { gap: 24px; }
html body .settings-sidebar { background: transparent !important; border: 0 !important; }
html body .settings-link { color: var(--muted) !important; border-radius: var(--radius-sm) !important; font-weight: 550; text-decoration: none; }
html body .settings-link:hover { background: var(--soft) !important; color: var(--ink) !important; }
html body .settings-link:is([aria-current="page"], [aria-current="true"], .active, [aria-selected="true"]) {
  background: var(--card) !important; color: var(--ink) !important; box-shadow: 0 0 0 1px var(--line) !important;
}
html body .sidebar-help { color: var(--accent-text) !important; }
html body .avatar { background: var(--forest) !important; color: #fff !important; }
html body .settings-panel { padding: 24px 28px; }
html body :is(.account-link, .account-menu-status, .account-verification-icon, .account-settings summary) { color: var(--accent-text); }
html body .account-menu-status.error { color: var(--bad); }
html body .settings-tabs { background: transparent; gap: 4px; border-bottom: 1px solid var(--line); }
html[data-theme] body .settings-tabs { background: transparent; border-radius: 0; }
html body .settings-tab {
  border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent; color: var(--muted); font-weight: 600;
}
html body .settings-tab[aria-selected="true"] {
  background: transparent; color: var(--ink); border-bottom-color: var(--accent-text);
}
html body .settings-tab:hover { color: var(--ink); background: var(--soft); }
html body .notification-section {
  background: transparent; border: 0 !important; border-top: 1px solid var(--line) !important;
  border-radius: 0 !important; padding: 16px 0 0 !important; gap: 0 !important;
}
html body .notification-section legend { color: var(--ink); padding: 0 10px 0 0; font-weight: 650; font-size: 14px; }
html body .setting-toggle {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 16px 0; gap: 16px;
}
html body .setting-toggle strong { font-weight: 600; }
html body .setting-toggle small { color: var(--muted); font-size: 14px; }
html body .notification-section .field { margin: 6px 0 12px; }
html body .appearance-option { border-radius: var(--radius) !important; background: var(--card) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; box-shadow: none !important; min-height: 108px; }
html body .appearance-option:hover { border-color: var(--control-line) !important; }
html body .appearance-option[aria-pressed="true"] {
  border-color: var(--accent-text) !important; box-shadow: 0 0 0 1px var(--accent-text) !important;
}
html body .appearance-option[aria-pressed="true"]::after { color: var(--accent-text); }
html body .subscription-comparison-wrap { border-radius: var(--radius); }

html body :is(.subscription-action.pro, .subscription-action.pro-plus) { background: var(--soft); }
html body .subscription-action.pro-plus { border-color: var(--accent-text); }
html body :is(.usage-item) { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important; }
html body :is(.usage-label, .usage-note, .billing-fine) { color: var(--muted) !important; }
html body .usage-value { color: var(--ink) !important; }
html body :is(.settings-form, .notification-form) { max-width: 720px; }
html body :is(.account-help, .account-message, .account-page .legal-links, .so-create-dialog-header p) { color: var(--muted); }
html body .account-tabs { background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); padding: 0; gap: 12px; }
html body .account-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); box-shadow: none; }
html body .account-tab.active { background: transparent; color: var(--ink); border-bottom-color: var(--accent-text); }
html body :is(.account-page, main.card, body > main.box) { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
html body .account-page { width: min(560px, calc(100% - 32px)); margin: 40px auto; padding: 28px; }
html body .account-page :is(h1, p, label) { color: var(--ink); }
html body :is(.account-page .action, .account-page button[type="submit"]) { background: var(--forest); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
html body :is(.account-form, .account-page, .restrictive-fields) input:not([type="checkbox"]):not([type="radio"]) {
  background: var(--card) !important; color: var(--ink) !important;
  border: 1px solid var(--control-line) !important; border-radius: var(--radius-sm); min-height: 44px;
}
html body :is(.password-toggle, .account-page .password-toggle) { background: transparent; color: var(--muted); }
html body .verified-badge { border-radius: var(--radius-xs); }
html body :is(.saved-ebay-link) { color: var(--accent-text); }
html body .subscription-tier-badge { text-transform: none; }

/* ---------- Sign in and create account ---------- */
html body.auth-page { background: var(--bg) !important; }
html body .auth-main { padding-top: 48px; }
html[data-theme] body.auth-page .account-dialog,
html body.auth-page .account-dialog { border: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; box-shadow: var(--shadow-lg) !important; border-radius: var(--radius-lg) !important; }
html[data-theme="dark"] body.auth-page .account-dialog { box-shadow: none !important; }
html body :is(.auth-inline a, .auth-footer a) { color: var(--accent-text); }
html:root body.auth-page .account-dialog { overflow: hidden; }
html:root body.auth-page .account-head { background: transparent !important; border-bottom: 0 !important; }
html:root body .account-tab.active, html:root body.auth-page .account-tab.active {
  background: transparent !important; color: var(--ink) !important; box-shadow: none !important; border-bottom-color: var(--accent-text) !important;
}
html:root body.auth-page .account-tab { background: transparent !important; box-shadow: none !important; color: var(--muted) !important; }
html body .auth-footer { gap: 20px; }

/* ---------- Help, legal and guide pages ---------- */
html body .page h2 { font-size: 20px; font-weight: 650; letter-spacing: -.015em; margin: 40px 0 8px; color: var(--ink); }
/* A plan card's own heading starts at the top of its card. */
html body .page .plan > h2:first-child { margin-top: 0; }
html body .page :is(p, li) { color: var(--muted); line-height: 1.7; }
html body .page :is(strong, b) { color: var(--ink); }
html body .page .updated { color: var(--muted); font-size: 13px; }
html body .page .box { padding: 20px 24px; box-shadow: none !important; }
html body .page .plan { padding: 20px; box-shadow: none !important; }
html body .page .price { color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
html body :is(.page a:not(.brand):not(.skip-link), .page-content a, .legal a) { color: var(--accent-text); text-underline-offset: 3px; }
html:root body.so-modern .legal { background: var(--warn-soft) !important; color: var(--warn-text) !important; border-color: transparent !important; }

html body.so-info-page .hero { padding: 48px 0 28px; }
html body.so-info-page h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 820px; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
html body.so-info-page .lead { font-size: 18px; max-width: 680px; color: var(--muted) !important; }
html body.so-info-page :is(.card, .step, .filter, .faq details) { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: none; }
html body.so-info-page :is(.card, .step, .filter) :is(p, li) { color: var(--muted); }
html body.so-info-page a.card:hover { border-color: var(--line-strong); }
html body.so-info-page .content h2, html body.so-info-page .hub h2 { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
html body.so-info-page .faq { text-align: left; }
html body.so-info-page .faq summary { font-weight: 600; cursor: pointer; }
html body.so-info-page .final { background: var(--card); color: var(--ink); text-align: left; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
html body.so-info-page .final p { color: var(--muted); margin-inline: 0; }
html body.so-info-page .final h2 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
/* On help pages a plain .button is the primary call to action. */
html:root body.so-info-page .button:not(.secondary),
html:root body.so-info-page .button.primary { background: var(--forest) !important; color: #fff !important; border-color: var(--forest) !important; }
html:root body.so-info-page .button:not(.secondary):hover { background: var(--forest2) !important; border-color: var(--forest2) !important; }
html body.so-info-page .faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body.so-info-page .faq summary::-webkit-details-marker { display: none; }
html body.so-info-page .faq summary::after {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg);
}
html body.so-info-page .faq details[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
html body.so-info-page .eyebrow { background: transparent; padding: 0; color: var(--accent-text); }
html body.so-info-page .secondary { background: var(--card); color: var(--ink) !important; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
html body.so-info-page .secondary:hover { background: var(--soft); }
html:root body.so-info-page .cta :is(.button, .secondary) { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; }
html body.so-info-page .step::before { background: var(--accent-soft); color: var(--accent-text); border-radius: var(--radius-xs); }
html body.so-info-page .crumbs, html body.so-info-page .crumbs a { color: var(--muted); }
html body.so-info-page .article :is(p, li) { color: var(--ink); opacity: .92; }
html body.so-info-page .article a, html body.so-info-page .lead a, html body.so-info-page .content a:not(.button) { color: var(--accent-text); text-underline-offset: 3px; }
html body.so-info-page .article table, html body.so-info-page .article :is(th, td) { border-color: var(--line); }
html body.so-info-page .article th { background: var(--soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  html body .appearance-options { grid-template-columns: 1fr; }
  html body .appearance-option { min-height: 0; }
}
@media (max-width: 760px) {
  html:root body.so-modern .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html:root body.so-modern .stats .stat:nth-child(3) { border-left: 0 !important; }
  html:root body.so-modern .stats .stat:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
}
@media (max-width: 650px) {
  html body :is(.account-main, .page) { padding-top: 24px; }
  html body .auth-main { padding-top: 20px; }
  html body .account-page { padding: 22px; margin-top: 24px; }
  html body .settings-panel { padding: 20px 16px; }
  html body .settings-tabs { padding: 0; }
  html body .settings-tab { padding-inline: 13px; }
  html body aside.so-testing-notice { font-size: 12px !important; text-align: left; }
  html:root body.so-modern :is(#dashboard, #soAlertsPage) { padding-top: 24px !important; }
  html:root body.so-modern :is(#dashboard, #soAlertsPage) .spotter-mascot-slot { width: 52px; }
  html:root body[data-spotter-home] .hero { padding: 24px 0 28px !important; gap: 20px !important; }
  html:root body[data-spotter-home] .hero h1 { font-size: clamp(28px, 8vw, 34px) !important; margin-bottom: 8px !important; }
  html:root body[data-spotter-home] .hero-copy > p { max-width: 340px; font-size: 15px !important; line-height: 1.5 !important; }
  html:root body[data-spotter-home] .hero-copy .spotter-mascot-slot { width: 56px; margin: 0 auto 4px; }
  html:root body[data-spotter-home] .watchinner { padding: 16px !important; }
  html:root body.so-modern .dashtop { padding: 14px 16px !important; }
  html:root body.so-modern .spotter-dashboard-actions { width: 100%; }
  html:root body.so-modern .spotter-dashboard-actions .btn { flex: 1 1 auto; }
  html:root body.so-modern .watchcard { padding: 14px !important; }
  html:root body.so-modern .watchactions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html:root body.so-modern .so-report-summary { padding: 18px; }
  html body.so-info-page .content h2, html body.so-info-page .hub h2 { font-size: 22px; }
  html:root body.so-modern .so-tab { padding: 0 8px !important; font-size: 13px !important; }
  html body :is(footer.footer, footer.foot) { margin-top: 40px; }
}

/* Text people type or saved (keywords, sizes like 30x32) reads exactly as typed:
   Inter's contextual alternates would turn the x between numbers into ×. */
html body :is(input, textarea, select, .watchtitle, .matchtitle, .so-alert-title) { font-variant-ligatures: no-contextual; }

/* ---------- Plain type and controls ----------
   Headings at their natural spacing instead of squeezed display type,
   section labels in sentence case, buttons that do not float or glow. */
html:root body.so-modern .hero h1, html:root body[data-spotter-home] .hero h1 { font-weight: 750 !important; letter-spacing: -.02em !important; line-height: 1.1 !important; }
html:root body.so-modern :is(.sectiontitle, h2.sectiontitle) { font-weight: 700 !important; letter-spacing: -.015em !important; }
html:root body :is(.eyebrow, .auth-kicker, .support-dialog-kicker, .kicker, .spotter-confirm-kicker) { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }
html:root body.so-modern :is(.btn.primary, .btn.lime) { box-shadow: none !important; }
html:root body.so-modern .btn:hover { transform: none !important; }
html body aside.so-testing-notice strong::before { content: none; }
/* The header's buttons are one size: signed in, the plan button (Premium
   waitlist, Upgrade, View plans) matches Account beside it, as Sign in and
   Join waitlist match when signed out. On phones Premium waitlist says just
   "Waitlist", as Join waitlist does. */
@media (min-width: 481px) {
  html:root body .account-menu-wrap :is(#accountButton, #accountTryFree),
  html:root body .navlinks #navUpgrade { height: 40px !important; min-height: 40px !important; padding: 0 15px !important; border-radius: 10px !important; display: inline-flex; align-items: center; font-size: 14px !important; }
}
@media (max-width: 650px) {
  html:root body .navlinks #navUpgrade { max-width: none !important; white-space: nowrap !important; line-height: 1.2 !important; }
  html:root body .navlinks #navUpgrade[data-waitlist-link] { font-size: 0 !important; gap: 0 !important; }
  html:root body .navlinks #navUpgrade[data-waitlist-link]::after { content: "Waitlist"; content: "Waitlist" / ""; font-size: 14px; }
}
@media (max-width: 480px) {
  html:root body .navlinks #navUpgrade { height: 38px !important; min-height: 38px !important; padding: 0 9px !important; border-radius: 10px !important; display: inline-flex; align-items: center; font-size: 13px !important; }
  html:root body .navlinks #navUpgrade[data-waitlist-link] { font-size: 0 !important; }
  html:root body .navlinks #navUpgrade[data-waitlist-link]::after { font-size: 13px; }
}
/* Signed in on a small phone, Account is its person icon (the word stays for
   screen readers), so the name beside the logo keeps its room. */
@media (max-width: 420px) {
  html:root body .account-menu-wrap #accountButton:has(> .account-user-icon) { width: 38px !important; min-width: 38px !important; padding: 0 !important; justify-content: center; }
  html:root body .account-menu-wrap #accountButton > .account-user-icon + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* "$40 under your $300 budget": measured against the shopper's own number, never shown as a sale price. */
html body .so-under-budget { margin: 3px 0 0; color: var(--accent-text); font-size: 12px; font-weight: 650; line-height: 1.35; }
html:root body.so-modern .so-alert-price > .so-under-budget { color: var(--accent-text) !important; font-size: 12px !important; font-weight: 650 !important; letter-spacing: 0; max-width: 260px; }
