/* Plush Price Guide - a collector's price guide that wants to feel like a shelf of
   toys rather than a spreadsheet.

   Warm, bright and friendly on purpose: the subject is stuffed animals, and a
   guide people enjoy opening is a guide they come back to. It is NOT dressed
   as Build-A-Bear's own site - no borrowed logo, palette or photography - and
   the disclaimer bar sits under the masthead on every page, because a price
   guide that could be mistaken for the manufacturer is a problem however
   pretty it looks. */

:root {
  color-scheme: light;

  /* ---- semantic tokens: new code uses only these ---------------------------
     Every text pair here is checked at 4.5:1 or better (focus ring 3:1) in
     light AND dark by tools/test_contrast.js, so a token cannot quietly
     regress. */
  --paper:          #fff6f2;
  --paper-2:        #fffdfb;
  --card:           #ffffff;
  --ink:            #2b1f22;
  --ink-soft:       #5b4548;
  --ink-faint:      #75595d;
  --brand-red:      #e0242f;   /* fills, focus ring, decorative bars - never small text */
  --brand-red-deep: #b3131c;   /* primary buttons, kickers */
  --brand-red-wash: #fde7e8;
  --brand-red-text: #b3131c;   /* small red text (kickers): brand-red-deep in light */
  --crimson:        #9e1b22;   /* links */
  --crimson-deep:   #5c0f14;   /* headings */
  --berry:          #e84f8a;   /* decorative and large display text only */
  --berry-text:     #c2306b;   /* any small berry text */
  --berry-wash:     #fde6ef;
  --sky:            #1e6fd1;
  --sky-text:       #1a5fb4;
  --sky-wash:       #e3eefc;
  --green:          #3f6b44;
  --amber:          #835d17;
  --red:            #a8412f;
  --slate:          #55606b;
  --tan:            #e7a9a4;
  --rule:           #f3e0dc;
  --rule-strong:    #e8c3bd;
  --on-brand:       #ffffff;   /* text on --brand-red-deep and every button stop */
  --btn-top:        #e0242f;   /* primary button gradient, top stop */
  --btn-bottom:     #b3131c;   /* ... bottom stop */
  --btn-hover:      #b3131c;   /* ... solid on hover */
  --focus-ring:     var(--brand-red);
  --accent:         #b3131c;   /* was used, never defined: now = --brand-red-deep */
  --conf-high:      #35633a;
  --conf-medium:    #7a4f0e;
  --conf-low:       var(--berry-text);
  --conf-very-low:  #6f6155;
  --masthead-top:   var(--paper-2);
  --footer-bg:      rgba(253, 250, 243, .5);
  --glow:           .20;

  /* ---- legacy names, kept as aliases so nothing breaks ---------------------
     Migrate call sites to the semantic names as they are touched. */
  --honey:      var(--brand-red);
  --honey-deep: var(--brand-red-deep);
  --honey-wash: var(--brand-red-wash);
  --brown:      var(--crimson);
  --brown-deep: var(--crimson-deep);
  --link:       var(--crimson);
  --heading:    var(--crimson-deep);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(92, 15, 20, .05), 0 8px 22px rgba(92, 15, 20, .06);
  --shadow-lift: 0 4px 10px rgba(92, 15, 20, .10), 0 18px 40px rgba(92, 15, 20, .10);

  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  /* Fraunces has a softness axis and a little wobble in its serifs - warm
     without being a children's typeface. Nunito Sans is rounded and holds up
     in a table of numbers. Both fall back to the old system stacks, so the
     site still reads correctly offline or opened straight from disk. */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- dark mode -------------------------------------------------------------
   Follows the device unless the footer's Theme picker says otherwise
   (theme.js sets <html data-theme>, before first paint). The two blocks are
   the same token set: keep them identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:          #1b1416;
    --paper-2:        #211819;
    --card:           #251c1f;
    --ink:            #f5e9e6;
    --ink-soft:       #d9c3c0;
    --ink-faint:      #b39c9f;
    --brand-red:      #ff5a63;
    --brand-red-deep: #e0242f;
    --brand-red-wash: #3a1d21;
    --brand-red-text: #ff5a63;
    --btn-top:        #d92330;
    --btn-bottom:     #b3131c;
    --btn-hover:      #c41e29;
    --crimson:        #ff8a8f;
    --crimson-deep:   #ffd2cf;
    --berry:          #ff7fae;
    --berry-text:     #ff7fae;
    --berry-wash:     #3a1a28;
    --sky:            #6fa8ff;
    --sky-text:       #8dbbff;
    --sky-wash:       #17263a;
    --green:          #8fcf94;
    --amber:          #e6b45c;
    --red:            #ff8f7a;
    --slate:          #b7c1cc;
    --tan:            #8a5a56;
    --rule:           #3a2c2f;
    --rule-strong:    #4d3a3e;
    --accent:         #e0242f;
    --conf-high:      #8fcf94;
    --conf-medium:    #e6b45c;
    --conf-very-low:  #c9b8b0;
    --masthead-top:   #211819;
    --footer-bg:      rgba(0, 0, 0, .18);
    --glow:           .08;
    --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .25);
    --shadow-lift: 0 4px 10px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:          #1b1416;
  --paper-2:        #211819;
  --card:           #251c1f;
  --ink:            #f5e9e6;
  --ink-soft:       #d9c3c0;
  --ink-faint:      #b39c9f;
  --brand-red:      #ff5a63;
  --brand-red-deep: #e0242f;
  --brand-red-wash: #3a1d21;
  --brand-red-text: #ff5a63;
  --btn-top:        #d92330;
  --btn-bottom:     #b3131c;
  --btn-hover:      #c41e29;
  --crimson:        #ff8a8f;
  --crimson-deep:   #ffd2cf;
  --berry:          #ff7fae;
  --berry-text:     #ff7fae;
  --berry-wash:     #3a1a28;
  --sky:            #6fa8ff;
  --sky-text:       #8dbbff;
  --sky-wash:       #17263a;
  --green:          #8fcf94;
  --amber:          #e6b45c;
  --red:            #ff8f7a;
  --slate:          #b7c1cc;
  --tan:            #8a5a56;
  --rule:           #3a2c2f;
  --rule-strong:    #4d3a3e;
  --accent:         #e0242f;
  --conf-high:      #8fcf94;
  --conf-medium:    #e6b45c;
  --conf-very-low:  #c9b8b0;
  --masthead-top:   #211819;
  --footer-bg:      rgba(0, 0, 0, .18);
  --glow:           .08;
  --shadow:    0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .25);
  --shadow-lift: 0 4px 10px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .3);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

* { box-sizing: border-box; }


body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* Soft light coming from two corners - the warmth of a shop window, drawn
     rather than loaded, so the page still costs one request. */
  background-image:
    radial-gradient(1100px 620px at 12% -6%, rgba(224, 36, 47, var(--glow)), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(232, 79, 138, calc(var(--glow) / 2)), transparent 58%),
    radial-gradient(800px 600px at 70% 96%, rgba(30, 111, 209, calc(var(--glow) / 2)), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--link); }
a:hover { color: var(--heading); }

/* Skip link: off-screen until it has focus. */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--card); color: var(--link); font-weight: 800;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-lift);
}
.skip-link:focus { top: 12px; }
main:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--masthead-top);
  backdrop-filter: blur(6px);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 14px;
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 12px; }
/* The site icon beside the wordmark: the same bear the browser tab and home
   screen show, so the header and the tab read as one brand. */
.brand-mark {
  width: 52px; height: 52px; flex: none; display: block;
  border-radius: 14px; box-shadow: 0 2px 6px rgba(74, 42, 20, .16);
  transition: transform .18s ease;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: block; min-width: 0; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 36px; line-height: .95; letter-spacing: -.02em;
  margin: 0; color: var(--brown-deep);
  font-weight: 900;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
/* The chart in Plush Price Guide: a small rising bar, which is the whole promise of
   the site in four rectangles. */
.brand-name::after {
  content: "";
  display: inline-block; vertical-align: baseline;
  margin-left: 9px; width: 30px; height: 20px;
  background:
    linear-gradient(var(--honey), var(--honey)) 0 100% / 5px 8px no-repeat,
    linear-gradient(var(--honey-deep), var(--honey-deep)) 8px 100% / 5px 13px no-repeat,
    linear-gradient(var(--berry), var(--berry)) 16px 100% / 5px 18px no-repeat,
    linear-gradient(var(--sky), var(--sky)) 24px 100% / 5px 11px no-repeat;
  border-radius: 2px;
}
.brand .sub {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 7px; font-weight: 700;
}
.brand .tagline {
  font-size: 12px; color: var(--brand-red-text); margin-top: 3px;
  letter-spacing: .06em; font-weight: 600;
}

.nav-list { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-bar { display: none; }
.nav-list a {
  text-decoration: none; color: var(--ink-soft); font-size: 13.5px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.nav-list a { display: inline-block; }
.nav-list a:hover { background: var(--brand-red-wash); color: var(--heading); }
.nav-list a[aria-current="page"], .nav-current {
  background: var(--crimson-deep); color: var(--paper-2); border-color: var(--crimson-deep);
}
.nav-toggle, .nudge-x, .linkish { min-height: 24px; min-width: 24px; }
/* A phone gets one row: the brand, the page you are on, and a Menu button. */
@media (max-width: 720px) {
  .masthead .wrap { flex-wrap: nowrap; align-items: center; gap: 10px; position: relative; }
  .nav-bar { display: flex; align-items: center; gap: 6px; }
  .nav-current {
    font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
    white-space: nowrap; max-width: 34vw; overflow: hidden; text-overflow: ellipsis;
  }
  .nav-toggle { padding: 7px 13px; font-size: 13px; }
  .nav-list[data-open="false"] { display: none; }
  .nav-list[data-open="true"] {
    position: absolute; right: 16px; top: 100%; z-index: 50;
    flex-direction: column; min-width: 200px; padding: 8px;
    background: var(--card); border: 1px solid var(--rule);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  }
  .brand .sub { display: none; }
}
.disc-short { display: none; }
@media (max-width: 640px) {
  .disc-full { display: none; }
  .disc-short { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Independence, stated under the masthead on every page. Warm rather than
   alarming, but never decorative enough to skim past. */
.disclaimer-bar {
  background: var(--brand-red-wash);
  border-bottom: 1px solid var(--rule-strong);
  font-size: 12.5px; color: var(--ink-soft); font-weight: 600;
}
.disclaimer-bar .wrap { padding-top: 8px; padding-bottom: 8px; }

/* ---------- layout ---------- */

main { padding: 24px 0 60px; }
.columns { display: grid; grid-template-columns: 258px 1fr; gap: 26px; align-items: start; }

/* Grid and flex children default to min-width:auto, which means they refuse to
   shrink below their content's minimum width. A wide table then pushes its
   whole column past the viewport, and the overflow-x:auto wrapper around it
   never gets a constrained width to scroll inside - so instead of the table
   scrolling, the entire page did. On a phone that is the difference between a
   usable checklist and a broken one. */
.columns > *, .row > *, .table-scroll { min-width: 0; }

/* Two even columns that become one on a phone. This used to be an inline
   grid-template-columns, which beat the mobile breakpoint in the cascade and
   held two columns of tables side by side at 390px. */
.columns-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .columns-even { grid-template-columns: 1fr; } }

.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel + .panel { margin-top: 18px; }
.panel > h1, .panel > h2, .panel > h3 { margin-top: 0; }

/* One h1 per page: the page's own title (the brand is not a heading). */
h1 {
  font-family: var(--serif); font-size: 30px; line-height: 1.15; margin: 0 0 12px;
  color: var(--heading); font-weight: 700; letter-spacing: -.01em;
  font-variation-settings: "SOFT" 30; text-wrap: balance;
}
h2 {
  font-family: var(--serif); font-size: 23px; margin: 0 0 12px;
  color: var(--brown-deep); font-weight: 700; letter-spacing: -.01em;
  font-variation-settings: "SOFT" 30;
  text-wrap: balance;
}
h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
     margin: 0 0 8px; font-weight: 700; }

/* ---------- controls ---------- */

.searchbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.searchbar input[type="search"] { flex: 1 1 280px; }

input, select, textarea, button {
  font-family: inherit; font-size: 14px; color: var(--ink);
}
input[type="search"], input[type="text"], input[type="number"], input[type="date"],
input[type="url"], input[type="email"], input[type="password"], select, textarea {
  width: 100%; padding: 9px 11px;
  background: var(--paper-2);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
}
/* One visible focus ring everywhere: brand red, 4.4:1 on paper (3:1 needed). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring); outline-offset: 2px;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: var(--brand-red-deep);
}

button, .btn {
  cursor: pointer; font-weight: 700; font-size: 13.5px;
  padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--paper-2); color: var(--ink);
  text-decoration: none; display: inline-block;
  transition: background-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
button:hover, .btn:hover { background: var(--honey-wash); border-color: var(--honey); }
button:active, .btn:active { transform: translateY(1px); }
.btn-primary, button.primary {
  /* Every stop is checked against the button text (tools/test_contrast.js). */
  background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%);
  border-color: var(--brand-red-deep); color: var(--on-brand);
  box-shadow: 0 2px 0 rgba(150, 16, 24, .35);
}
.btn-primary:hover, button.primary:hover {
  background: var(--btn-hover);
  border-color: var(--brand-red-text);
}

.filter-group { margin-bottom: 16px; }
.filter-group:last-child { margin-bottom: 0; }
.checks { display: grid; gap: 6px; max-height: 190px; overflow-y: auto; padding-right: 4px; }
.checks label, .check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-soft); cursor: pointer;
}
.checks input, .check input { accent-color: var(--brown); flex: none; }
.count { margin-left: auto; font-size: 11.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ---------- stats ---------- */

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px;
  margin-bottom: 20px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
/* Each tile carries a slim coloured edge, so the strip reads as a row of
   distinct facts rather than one long ribbon. */
.stat:nth-child(5n+1) { border-top: 3px solid var(--honey); }
.stat:nth-child(5n+2) { border-top: 3px solid var(--sky); }
.stat:nth-child(5n+3) { border-top: 3px solid var(--green); }
.stat:nth-child(5n+4) { border-top: 3px solid var(--berry); }
.stat:nth-child(5n+5) { border-top: 3px solid var(--tan); }
.stat .v {
  font-family: var(--serif); font-size: 26px; color: var(--brown-deep); line-height: 1.05;
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.stat .k {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 5px; font-weight: 700;
}

.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.result-count { font-size: 13.5px; color: var(--ink-soft); }
.sortwrap { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-faint); }
.sortwrap select { width: auto; padding: 7px 10px; }

/* ---------- cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 18px; }

.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0 16px 16px;
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
/* A small lift on hover. Cards are the whole page, so this is the one place
   the site gets to feel like something you can pick up. */
.card:hover {
  transform: translateY(-3px);
  border-color: var(--honey);
  box-shadow: var(--shadow-lift);
}
.card h3.name {
  font-family: var(--serif); font-size: 17.5px; text-transform: none; letter-spacing: -.005em;
  color: var(--brown-deep); margin: 6px 0 0; line-height: 1.22; font-weight: 700;
  font-variation-settings: "SOFT" 30;
  text-wrap: balance;
}
.card .meta { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.card .value {
  font-family: var(--serif); font-size: 24px; color: var(--brown-deep);
  font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.015em;
}
.card .value.none {
  font-size: 13.5px; font-family: var(--sans); color: var(--ink-faint);
  font-style: normal; font-weight: 600;
}
.card .sub { font-size: 12px; color: var(--ink-faint); margin-top: -4px; }
.card footer {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  padding-top: 10px; flex-wrap: wrap;
}

/* ---------- images ---------- */

img { max-width: 100%; }

.thumb {
  width: calc(100% + 32px); max-width: none; margin: 0 -16px; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.thumb.is-placeholder { object-fit: cover; }

/* A tighter picture column. At 260px the panel was 200px tall and the text
   beside it was two lines, so most of the item page's opening was empty. */
.item-head { display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: start; }
.item-headtext h1 {
  font-family: var(--serif); font-size: 30px; margin: 0 0 8px;
  color: var(--brown-deep); line-height: 1.15;
}
/* The item page's main photograph. Scoped to img: this is an image rule, and
   as a bare .hero it silently applied its 4/3 aspect-ratio to the homepage's
   opening section, padding it out with 400px of nothing. */
img.hero {
  width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--rule); background: var(--paper);
  max-width: none;
}
.img-credit { margin: 6px 0 0; }

@media (max-width: 640px) {
  .item-head { grid-template-columns: 1fr; }
}

/* ---------- tags ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(158, 27, 34, .08); color: var(--brown); border: 1px solid rgba(158, 27, 34, .14);
}
.tag.licensed { background: rgba(85, 96, 107, .1); color: var(--slate); border-color: rgba(85,96,107,.18); }
.tag.limited  { background: rgba(154, 107, 31, .12); color: var(--amber); border-color: rgba(154,107,31,.2); }
.tag.exclusive{ background: rgba(143, 58, 44, .1); color: var(--red); border-color: rgba(143,58,44,.18); }
.tag.vintage  { background: rgba(74, 107, 63, .1); color: var(--green); border-color: rgba(74,107,63,.18); }
.tag.upcoming { background: rgba(85, 96, 107, .14); color: var(--slate); border-color: rgba(85,96,107,.24); }
.tag.current  { background: rgba(74, 107, 63, .14); color: var(--green); border-color: rgba(74,107,63,.24); }

/* Confidence is the most important thing on a card - it says whether the
   number above it should be trusted - so it gets a solid fill and a dot,
   readable at a glance without having to parse the word. */
.conf {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.conf::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.conf-high     { background: rgba(74,124,79,.12);  color: var(--conf-high); border-color: rgba(74,124,79,.28); }
.conf-medium   { background: rgba(233,160,59,.14); color: var(--conf-medium); border-color: rgba(198,127,28,.32); }
.conf-low      { background: rgba(212,72,94,.10);  color: var(--conf-low); border-color: rgba(212,72,94,.26); }
.conf-very-low { background: rgba(138,122,108,.12); color: var(--conf-very-low); border-color: rgba(138,122,108,.24); }
a.conf { text-decoration: none; }
a.conf:hover { text-decoration: underline; }
/* The chip's tooltip: on hover and keyboard focus, and it stays open while
   the pointer is over it (WCAG 1.4.13). */
.conf-wrap { position: relative; display: inline-flex; }
.conf-tip {
  display: none; position: absolute; left: 0; top: 100%; z-index: 30; margin-top: 4px;
  width: max-content; max-width: 240px; padding: 7px 10px; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; line-height: 1.4;
}
.conf:is(:hover, :focus-visible) + .conf-tip, .conf-wrap:hover .conf-tip { display: block; }

/* Freshness and operator chips. */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--rule-strong); background: var(--paper-2); color: var(--ink-soft);
}
.chip-stale { color: var(--amber); border-color: rgba(154, 107, 31, .35); }
.chip-fresh { color: var(--green); border-color: rgba(74, 124, 79, .3); }
.chip-operator { color: var(--sky-text); border-color: rgba(30, 111, 209, .3); }
.chip-sm { font-size: 10.5px; padding: 2px 7px; }
.stale-note { margin: 8px 0 0; }

/* ---------- plans ---------- */

.plan-grid {
  display: grid; gap: 16px; margin-bottom: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.plan {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan.is-current { border-color: var(--brown); box-shadow: 0 0 0 1px var(--brown); }
.plan-name {
  font-family: var(--serif); font-size: 20px; text-transform: none; letter-spacing: 0;
  color: var(--brown-deep); margin: 0; font-weight: 600;
}
.plan-price { display: flex; align-items: baseline; gap: 5px; }
.plan-price .amount {
  font-family: var(--serif); font-size: 34px; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price .per { font-size: 13px; color: var(--ink-faint); }
.plan-features {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13.5px; color: var(--ink-soft);
}
.plan-features li { padding-left: 18px; position: relative; }
.plan-features li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.plan-foot { margin-top: auto; padding-top: 6px; }
.plan button { margin-top: auto; }
.plan-grid { padding-top: 12px; }
.plan { position: relative; }
.plan.is-featured { border-color: var(--honey); box-shadow: 0 0 0 1px var(--honey), var(--shadow-lift); }
.plan-badge {
  position: absolute; top: -12px; left: 22px;
  background: var(--brand-red-deep); color: var(--on-brand); border-radius: 999px; padding: 4px 11px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.plan-audience {
  margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-red-text);
}
.plan-blurb { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.plan-perk {
  background: var(--berry-wash); border: 1px solid rgba(232, 79, 138, .25);
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; color: var(--ink);
}
.plan-perk strong {
  display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--berry-text); margin-bottom: 2px;
}
.plan-features li.plan-inherit { color: var(--ink); font-weight: 700; }
.plan-features li.plan-inherit::before { content: "+"; color: var(--brand-red-text); }
/* "On the way": not built, not sold, never ticked. */
.plan-list-h {
  margin: 6px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.plan-soon {
  list-style: none; margin: 2px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-faint);
}
.plan-soon li { padding-left: 18px; position: relative; }
.plan-soon li::before { content: "\2013"; position: absolute; left: 0; color: var(--ink-faint); }
.plans-lead { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; margin: 0 0 14px; }
.faq dl { margin: 0; }
.faq dt { font-weight: 800; color: var(--ink); margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 70ch; }
details.fineprint > summary {
  cursor: pointer; font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--brown-deep);
}
details.fineprint[open] > summary { margin-bottom: 6px; }
details.fineprint h3 { margin: 18px 0 8px; }

/* ---------- roadmap ---------- */

.road-row {
  display: grid; grid-template-columns: 104px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.road-row:last-child { border-bottom: none; }
.road-row p { margin: 4px 0 0; }
.road-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; text-align: center; white-space: nowrap;
}
.road-tag.ship    { background: rgba(74,107,63,.14);  color: var(--green); }
.road-tag.plan    { background: rgba(107,74,47,.09);  color: var(--brown); }
.road-tag.limited { background: rgba(154,107,31,.14); color: var(--amber); }
.road-tag.blocked { background: rgba(143,58,44,.12);  color: var(--red); }

@media (max-width: 560px) {
  .road-row { grid-template-columns: 1fr; gap: 6px; }
  .road-tag { justify-self: start; }
}

/* ---------- checklists ---------- */

.progress {
  height: 8px; border-radius: 999px; background: rgba(158, 27, 34, .12);
  overflow: hidden; margin: 4px 0 14px;
}
.progress span {
  display: block; height: 100%; background: var(--brown);
  border-radius: 999px; transition: width .2s ease;
}
.setrow { cursor: pointer; }
.setrow.is-active { color: var(--brown-deep); font-weight: 700; }
.setrow.is-active .count { color: var(--brown); }
tr.owned td { opacity: .62; }
tr.owned td a { color: var(--ink-soft); }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint);
     font-weight: 800;
     white-space: nowrap; border-bottom: 1px solid var(--rule-strong); }
tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- valuation block ---------- */

.headline { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.headline .big {
  font-family: var(--serif); font-size: 38px; line-height: 1.1; color: var(--brown-deep);
  font-variant-numeric: tabular-nums;
}
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; }
.band { border: 1px solid var(--rule); border-radius: 8px; padding: 11px 13px; background: var(--paper-2); }
.band .k { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.band .v { font-family: var(--serif); font-size: 19px; color: var(--ink); margin-top: 3px;
           font-variant-numeric: tabular-nums; }
.band .n { font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }

.why { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); }
.why li { margin-bottom: 5px; }

.notice {
  border-left: 4px solid var(--honey); background: var(--honey-wash);
  padding: 13px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px; color: var(--ink-soft);
}
.notice.warn { border-left-color: var(--berry); background: var(--berry-wash); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13.5px; }
.kv dt { color: var(--ink-faint); }
.kv dd { margin: 0; color: var(--ink); }

.empty {
  text-align: center; padding: 56px 24px; color: var(--ink-faint);
  background: var(--card); border: 1px dashed var(--rule-strong);
  border-radius: var(--radius); margin-top: 4px;
}
.empty p { margin: 6px 0; }

.chart { width: 100%; height: auto; display: block; }
.chart .grid-line { stroke: var(--rule); stroke-width: 1; }
.chart .series { fill: none; stroke: var(--honey-deep); stroke-width: 2.5; }
.chart .dot { fill: var(--berry); }
.chart text { font-size: 10px; fill: var(--ink-faint); font-family: var(--sans); }

.fine { font-size: 12px; color: var(--ink-faint); }
.mono { font-family: var(--mono); font-size: 12px; }

footer.site {
  border-top: 1px solid var(--rule); margin-top: 40px; padding: 24px 0 40px;
  font-size: 12.5px; color: var(--ink-faint); background: var(--footer-bg);
}
.theme-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.theme-row select { width: auto; padding: 5px 9px; font-size: 12.5px; }
footer.site p { margin: 0 0 6px; max-width: 65ch; }

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.field { flex: 1 1 170px; }
.field label { display: block; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
               color: var(--ink-faint); margin-bottom: 5px; font-weight: 700; }

.filter-toggle { display: none; }

@media (max-width: 860px) {
  .columns { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-block; width: 100%; }
  .sidebar { display: none; }
  .sidebar.open { display: block; }
  .brand-name { font-size: 27px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 11px; }
  .headline .big { font-size: 31px; }
  .masthead .wrap { align-items: flex-start; }
}

@media print {
  .sidebar, .nav, .toolbar, .filter-toggle, button { display: none !important; }
  body { background: #fff; }
}

/* ---- paging and long filter groups ----------------------------------------
   The catalogue runs to a couple of thousand items, so the grid shows a page
   at a time and the busier filter groups keep their tail folded away. */

.show-more {
  display: block;
  width: 100%;
  margin: 22px 0 4px;
  padding: 15px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--brown-deep);
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
.show-more:hover { background: var(--honey-wash); border-color: var(--honey); }

.linkish {
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  color: var(--brown);
  text-decoration: underline;
  cursor: pointer;
}
.linkish:hover { background: none; color: var(--brown-deep); }

/* The catalogue is too long to scroll, so item <select>s get a search box. */
.item-search { margin-bottom: 6px; }
.chooser-note { display: block; margin-top: 5px; }

.exports {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ---------- the opening ----------------------------------------------------
   One screen that says what this is, proves it with live numbers, and puts the
   search where a hand already is. Sized to its contents - a full-height hero
   would push the actual guide off the first screen, which is the opposite of
   inviting. */

/* Scoped to the element: the item page has an <img class="hero">, and a bare
   .hero here handed that image 40px of padding and a gradient background,
   shrinking the illustration to a third of its frame. Two different things
   should not have shared this name, and the narrower selector is the fix that
   does not require renaming one of them. */
section.hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  padding: 40px 34px 34px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 320px at 88% 8%, rgba(224, 36, 47, .26), transparent 66%),
    radial-gradient(460px 300px at 6% 96%, rgba(30, 111, 209, .18), transparent 62%),
    linear-gradient(160deg, var(--paper-2) 0%, var(--paper) 100%);
  box-shadow: var(--shadow);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-red-text);
  background: var(--card); border: 1px solid var(--rule-strong);
  padding: 6px 13px; border-radius: 999px;
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(74, 124, 79, .18);
}

.hero .hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.03;
  letter-spacing: -.025em;
  font-weight: 900;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: var(--brown-deep);
  margin: 18px 0 0;
  max-width: 15ch;
  text-wrap: balance;
}
.hero .hero-title em {
  font-style: normal;
  color: var(--berry);
}

.hero-lede {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-lede strong { color: var(--brown-deep); }

.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px; padding: 0; list-style: none;
}
.hero-proof li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-proof b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--brown-deep);
  font-variant-numeric: tabular-nums;
  margin-right: 5px;
}

/* A quiet drift of species illustrations behind the copy: the catalogue
   itself, used as the decoration. Hidden on narrow screens where it would
   crowd the words. */
.hero-cast {
  position: absolute; top: 34px; right: 30px;
  display: flex; gap: 14px; pointer-events: none;
}
.hero-cast img {
  width: 150px; height: 195px; object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--card);
  transform: rotate(-4deg);
  box-shadow: var(--shadow-lift);
}
.hero-cast img:nth-child(2) { transform: rotate(3deg) translateY(18px); }
.hero-cast img:nth-child(3) { transform: rotate(-2deg) translateY(6px); }
@media (max-width: 1240px) { .hero-cast img { width: 124px; height: 161px; } }
/* On narrower screens the bears move to the top of the opening instead of
   disappearing, so a phone still gets the real thing first. */
@media (max-width: 1080px) {
  section.hero { display: flex; flex-direction: column; }
  .hero-eyebrow { align-self: flex-start; }
  .hero-cast {
    position: static; order: -1; justify-content: center;
    gap: 10px; margin: 0 0 18px;
  }
  .hero-cast img {
    width: 30%; max-width: 150px; height: auto; aspect-ratio: 600 / 780;
    border-width: 3px;
  }
}

/* The search sits inside the hero, big enough to be the obvious next move. */
.hero .searchbar { margin: 24px 0 0; }
.hero .searchbar input[type="search"] {
  padding: 15px 18px;
  font-size: 16px;
  border-radius: 999px;
  border-color: var(--rule-strong);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(92, 15, 20, .05);
}
.hero .searchbar button { padding: 14px 22px; }

@media (max-width: 640px) {
  section.hero { padding: 28px 20px 26px; border-radius: var(--radius); }
}

/* ---------- the shop that runs this guide -----------------------------------
   Warm and clearly signed, never disguised as editorial. The berry accent is
   reserved for moments like this one. */

.promo {
  background: linear-gradient(165deg, var(--paper-2) 0%, var(--berry-wash) 100%);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--berry);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.panel + .promo, .promo + .panel { margin-top: 18px; }

.promo-eyebrow {
  margin: 0;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--berry-text);
}
.promo-title {
  font-family: var(--serif);
  font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  color: var(--brown-deep);
  margin: 8px 0 0;
  text-transform: none;
  text-wrap: balance;
}
.promo-blurb { margin: 9px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.promo-act { margin: 15px 0 0; }
.promo-note {
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px; line-height: 1.5; color: var(--ink-faint);
}

.promo-compact { padding: 17px; }
.promo-compact .promo-title { font-size: 16.5px; }
.promo-compact .promo-blurb { font-size: 12.5px; }
.promo-compact .promo-note { font-size: 11px; }

/* One shop panel, never two: the sidebar carries it on a wide screen, and the
   band under the results takes over once the sidebar is collapsed away. */
#sidebar-promo { margin-bottom: 18px; }
#mobile-promo { display: none; }
@media (max-width: 860px) {
  #mobile-promo { display: block; margin-top: 24px; }
}

/* ---------- the evidence behind a number ------------------------------------
   Plotted rather than asserted. With one or two comps the picture is mostly
   empty space, and that emptiness is the honest part: it is how much is not
   known. */

.evidence { margin: 18px 0 0; }
.ev-strip { width: 100%; height: auto; display: block; overflow: visible; }

.ev-axis   { stroke: var(--rule-strong); stroke-width: 1.5; }
.ev-band   { fill: var(--honey-wash); stroke: var(--honey); stroke-width: 1; }
.ev-median { stroke: var(--brown-deep); stroke-width: 2.5; stroke-linecap: round; }
.ev-dot    { fill: var(--berry); stroke: var(--card); stroke-width: 2.5; }
/* Your own sales are the strongest evidence in the database; they get the
   accent that is used for nothing else. */
.ev-dot-own { fill: var(--sky); }

.ev-tick {
  font-family: var(--sans); font-size: 13px; fill: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.ev-label {
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  fill: var(--brown-deep); font-variant-numeric: tabular-nums;
}

.ev-key {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-top: 6px; font-size: 12px; color: var(--ink-faint);
}
.ev-k-dot, .ev-k-band, .ev-k-med { display: inline-block; flex: none; }
.ev-k-dot  { width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }
.ev-k-band { width: 22px; height: 11px; border-radius: 3px;
             background: var(--honey-wash); border: 1px solid var(--honey); }
.ev-k-med  { width: 3px; height: 13px; border-radius: 2px; background: var(--brown-deep); }
.ev-k-own  { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }

/* ---------- the page with no price ------------------------------------------
   Every item without sold data shows this, which makes it one of the most-viewed
   panels on the site and the one a search result most often lands on. It leads
   with what is known and asks for the one thing that would change it, rather
   than apologising in a warning box. */

.unpriced {
  background:
    radial-gradient(520px 260px at 90% -20%, rgba(30, 111, 209, .13), transparent 65%),
    linear-gradient(165deg, var(--paper-2) 0%, var(--paper) 100%);
  border-color: var(--rule-strong);
}
.unpriced-eyebrow {
  margin: 0;
  font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sky-text);
}
.unpriced-head {
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 28px); line-height: 1.15; letter-spacing: -.015em;
  color: var(--brown-deep); margin: 10px 0 0; font-weight: 700;
  text-wrap: balance;
}
.unpriced-lede { margin: 12px 0 0; max-width: 62ch; color: var(--ink-soft); }

.unpriced-known {
  margin-top: 20px; padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.unpriced-known h3 { margin: 0 0 10px; }
.unpriced-note { margin-top: 14px; }

.unpriced-ask {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 20px 0 0; padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-weight: 600; color: var(--ink-soft);
}
.unpriced-jump {
  font-weight: 700; text-decoration: none;
  padding: 8px 15px; border-radius: 999px;
  background: var(--honey-wash); border: 1px solid var(--honey);
  color: var(--brown-deep);
}
.unpriced-jump:hover { background: var(--card); }

/* ---------- page intros (checklists, collection, deals) ---------- */

.lead { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); max-width: 68ch; margin: 0 0 8px; }
.page-intro h1, .page-intro h2 { font-size: 28px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stat .h { font-size: 11.5px; color: var(--ink-faint); margin-top: 3px; line-height: 1.35; }
.link-btn {
  background: none; border: none; padding: 4px 0; border-radius: 0; box-shadow: none;
  color: var(--ink-faint); text-decoration: underline; font-weight: 600; font-size: 12.5px;
}
.link-btn:hover { background: none; color: var(--brand-red-text); }
.bear-link { font-weight: 700; }
.bear-meta { font-size: 12px; color: var(--ink-faint); margin-top: 3px; }
.val-note { display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }

/* ---------- checklists ---------- */

.step-title { display: flex; align-items: center; gap: 10px; }
.step {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--brand-red-deep); color: var(--on-brand);
  font-family: var(--sans); font-size: 13px; font-weight: 800;
}
.step-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.step-kicker .step { width: 22px; height: 22px; font-size: 12px; }
.set-group + .set-group { margin-top: 16px; }
.set-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.set-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  min-width: 150px; padding: 10px 14px; border-radius: var(--radius-sm);
  text-align: left; background: var(--paper-2); font-weight: 700;
}
.set-chip-count { font-size: 11.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.set-chip-bar {
  display: block; width: 100%; height: 4px; border-radius: 999px;
  background: rgba(158, 27, 34, .12); overflow: hidden;
}
.set-chip-bar span { display: block; height: 100%; background: var(--brown); }
.set-chip.is-active {
  background: var(--honey-wash); border-color: var(--honey);
  box-shadow: 0 0 0 1px var(--honey); color: var(--brown-deep);
}
.set-chip.is-done .set-chip-count { color: var(--green); }
.set-chip.is-done .set-chip-bar span { background: var(--green); }
.set-group.is-collapsed .set-chip.is-extra { display: none; }
.set-more { margin-top: 8px; font-size: 13px; color: var(--brand-red-text); }
#set-title { margin-bottom: 4px; }
.set-progress-text { margin: 0; font-size: 14px; color: var(--ink-soft); }
.set-blurb { margin: 0 0 10px; }
.set-tools { margin: 6px 0 12px; }
.set-tools input[type="search"] { flex: 1 1 240px; width: auto; }
.own-col { width: 46px; }
.own-box { width: 22px; height: 22px; accent-color: var(--brown); cursor: pointer; margin: 0; }
.check-table tbody tr { cursor: pointer; }
.check-table tbody tr:hover td { background: var(--paper-2); }
.check-table td { vertical-align: middle; }

/* ---------- collection ---------- */

.add-panel .add-find { flex: 3 1 280px; }
.add-panel .add-find .item-search { margin-bottom: 6px; }
.add-panel .add-qty { flex: 0 0 96px; }
.add-panel .add-go { flex: 0 0 auto; }
.add-help { margin: 10px 0 0; }
.add-msg { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; color: var(--green); min-height: 1em; }
.coll-table td:first-child { min-width: 170px; }
.coll-table select { min-width: 120px; padding: 7px 9px; }
.coll-table .qty-cell input { width: 72px; }
.history-start { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.clear-row { margin: 12px 0 0; text-align: right; }

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: " \25BE"; }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  display: flex; flex-direction: column; min-width: 230px; padding: 6px;
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
}
.menu-list button {
  border: none; border-radius: 8px; background: none; box-shadow: none;
  text-align: left; padding: 9px 12px;
}

/* ---------- deals ---------- */

.how-list {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.how-list li {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
}
.how-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
details.settings {
  border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--paper-2);
  padding: 10px 14px; margin-bottom: 14px;
}
details.settings > summary { cursor: pointer; font-weight: 800; color: var(--brown-deep); }
details.settings[open] > summary { margin-bottom: 8px; }
details.owner-help { margin: 16px auto 0; max-width: 60ch; text-align: left; }
details.owner-help > summary {
  cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-faint); text-align: center;
}
.deal-title { font-weight: 700; }
.risk { margin-top: 4px; font-size: 12px; color: var(--amber); }
.profit { color: var(--green); font-size: 15px; }

/* On a phone, wide tables become one card per row. */
@media (max-width: 640px) {
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table tr {
    border: 1px solid var(--rule); border-radius: var(--radius-sm);
    padding: 10px 12px; margin-bottom: 10px; background: var(--card);
  }
  .stack-table td { border: none; padding: 5px 0; }
  .stack-table td.num { text-align: left; }
  .stack-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-faint); font-weight: 800;
  }
  .stack-table .remove-cell { text-align: right; }
  .coll-table select, .coll-table .qty-cell input { width: 100%; }
  .set-chip { min-width: 0; flex: 1 1 140px; }
  .page-intro h1, .page-intro h2 { font-size: 24px; }
}

@media print {
  .menu, .set-picker, .set-tools, .clear-row, details.settings { display: none !important; }
}

/* --- member photos ---------------------------------------------------------- */
.photo-add { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.photo-add .fine { margin: 0; }
.photo-btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#photo-file:focus-visible + .fine, .photo-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-thanks {
  margin: 0; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--rule); font-size: 14px;
}
.photo-review { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.photo-card {
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--card); padding: 10px; display: flex; flex-direction: column; gap: 4px;
}
.photo-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--rule); }
.photo-card p { margin: 0; }
.photo-actions { display: flex; gap: 8px; margin-top: 6px !important; }
.photo-actions button { flex: 1; }

/* --- small shared pieces: kicker line, stacked actions --------------------- */
.kicker {
  margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-red-text);
}
.actions-stack { display: flex; flex-direction: column; gap: 8px; }
.actions-stack .btn { text-align: center; justify-content: center; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* --- privacy and terms -------------------------------------------------------- */
.legal { max-width: 780px; }
.legal h3 { margin: 24px 0 8px; }
.legal ul { padding-left: 20px; margin: 0 0 10px; }
.legal li { margin: 6px 0; }
.site .legal-links a { margin-right: 14px; }

/* --- member showcases ---------------------------------------------------------- */
.sc-kicker { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-red-text); }
.sc-stats { display: flex; gap: 22px; margin-top: 14px; }
.sc-stats div { display: flex; flex-direction: column; }
.sc-stats strong { font-size: 22px; }
.sc-stats span { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sc-bear { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); padding: 10px; }
.sc-bear img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.sc-name { font-weight: 700; text-decoration: none; }
.sc-val { font-weight: 800; }
.sc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sc-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); padding: 12px; text-decoration: none; color: inherit; }
.sc-card:hover { border-color: var(--accent); }
.sc-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 6px; }
.sc-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.sc-add { display: flex; gap: 8px; }
.sc-add input { flex: 1; }
.sc-public { display: flex; gap: 8px; align-items: center; margin: 12px 0; }

/* --- free-account pages: a teaser, then an inline invitation ----------------- */
.gate-card {
  margin: 18px 0; padding: 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--rule-strong); border-top: 3px solid var(--brand-red);
  box-shadow: var(--shadow);
}
.gate-card h2 { margin: 4px 0 8px; font-size: 22px; }
.gate-card h2:focus-visible { outline: 3px solid var(--focus-ring); }
.gate-card p { margin: 0 0 12px; }
.gate-sub { font-size: 15.5px; color: var(--ink-soft); }
[data-gate-locked].is-gated {
  filter: blur(4px); pointer-events: none; user-select: none;
  max-height: 420px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
@media print { [data-gate-locked].is-gated { filter: none; max-height: none; mask-image: none; } .gate-card { display: none; } }

/* --- the free-account prompt: never modal, never steals focus ----------------- */
.nudge {
  position: fixed; z-index: 800; right: 16px; bottom: 16px;
  width: calc(100% - 32px); max-width: 360px; padding: 18px 18px 16px;
  background: var(--card); border: 1px solid var(--rule-strong); border-top: 3px solid var(--brand-red);
  border-radius: var(--radius); box-shadow: var(--shadow-lift);
  animation: nudge-rise .25s ease-out;
}
.nudge h2 { font-size: 19px; margin: 4px 26px 6px 0; }
.nudge p { margin: 0 0 10px; font-size: 14px; }
.nudge-x {
  position: absolute; top: 6px; right: 8px; border: 0; background: none; box-shadow: none;
  font-size: 24px; line-height: 1; padding: 4px 8px; color: var(--ink-faint);
}
@media (max-width: 640px) { .nudge { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; border-radius: var(--radius) var(--radius) 0 0; } }
@keyframes nudge-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nudge { animation: none; } }
@media print { .nudge { display: none !important; } }

/* --- the upsell under the evidence (item page) ---------------------------------- */
.upsell {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--brand-red-wash); border: 1px solid var(--rule-strong);
}
.upsell-h { font-size: 19px; margin: 0 0 6px; }
.upsell p { margin: 0 0 10px; }
.upsell p:last-child { margin-bottom: 0; }

/* --- showcases, v2: themes, featured bear, members' own photos ------------------ */
.theme-rose  { --sc-a: #b3131c; --sc-b: #f6c3c0; }
.theme-honey { --sc-a: #b4690e; --sc-b: #f7deb0; }
.theme-mint  { --sc-a: #1f7a5a; --sc-b: #c4ead8; }
.theme-sky   { --sc-a: #1f5fa8; --sc-b: #c8dcf5; }
.theme-plum  { --sc-a: #6b2a7a; --sc-b: #e2c8ea; }
.theme-night { --sc-a: #23233a; --sc-b: #b9b9d6; }
.sc-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center;
  padding: 22px; border-radius: 18px; margin-bottom: 16px; color: #fff;
  background: var(--sc-a);
  background: linear-gradient(135deg, var(--sc-a), color-mix(in srgb, var(--sc-a) 55%, #000));
  box-shadow: 0 10px 30px rgba(40, 10, 14, .18);
}
.sc-hero h2 { margin: 2px 0 2px; color: #fff; font-size: 28px; }
.sc-hero .sc-kicker { color: var(--sc-b); }
.sc-handle { margin: 0; opacity: .85; font-weight: 700; }
.sc-bio { margin: 8px 0 0; max-width: 60ch; }
.sc-avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sc-b); color: var(--sc-a); font-size: 30px; font-weight: 800;
  border: 3px solid rgba(255, 255, 255, .7);
}
.sc-hero .sc-stats { grid-column: 1 / -1; margin-top: 4px; }
.sc-hero .sc-stats span { color: rgba(255, 255, 255, .8); }
.sc-tile {
  display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 14px;
  background: var(--card); overflow: hidden;
}
.sc-tile.is-featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 14px; }
.sc-pic { position: relative; display: block; }
.sc-pic img, .sc-pic img.thumb, .sc-pic img.hero { width: 100%; height: auto; max-width: none; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 0; margin: 0; }
.is-featured .sc-pic img, .is-featured .sc-pic img.hero { aspect-ratio: 4 / 3; max-height: 420px; }
.sc-own {
  position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; border-radius: 999px; padding: 3px 8px;
}
.sc-body { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.is-featured .sc-body { padding: 20px; justify-content: center; gap: 6px; }
.is-featured .sc-name { font-size: 22px; }
.is-featured .sc-val { font-size: 24px; }
.sc-note { margin: 4px 0; font-style: italic; color: var(--ink-soft); }
.sc-body .tags { margin: 2px 0; }
.sc-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sc-card { border-top: 5px solid var(--sc-a, var(--rule)); }
.sc-edit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sc-edit-tile { display: flex; gap: 10px; border: 1px solid var(--rule); border-radius: 12px; padding: 10px; background: var(--card); }
.sc-edit-pic { position: relative; flex: none; width: 88px; }
.sc-edit-pic img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; }
.sc-edit-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.sc-photo-btn { align-self: flex-start; font-size: 13px; padding: 6px 10px; cursor: pointer; }
.sc-note-in { width: 100%; }
.sc-edit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-edit-actions button[disabled] { opacity: .35; cursor: default; }
.sc-themes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.sc-swatch {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--rule);
  background: linear-gradient(135deg, var(--sc-a) 50%, var(--sc-b) 50%);
}
.sc-swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--sc-a); }
@media (max-width: 640px) {
  .sc-tile.is-featured { grid-template-columns: 1fr; }
  .sc-hero h2 { font-size: 24px; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
.sc-thumbs img.thumb, .sc-edit-pic img.thumb, .sc-pic img.thumb {
  margin: 0; border-bottom: 0; max-width: 100%;
}
.sc-thumbs img.thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: 6px; }
.sc-edit-pic img.thumb { width: 88px; height: 88px; aspect-ratio: 1 / 1; border-radius: 8px; }
.sc-pic img.thumb { width: 100%; }

/* Showcase likes */
.sc-like {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 6px 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .75);
  background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.sc-like:hover { background: rgba(255, 255, 255, .15); }
.sc-like[aria-pressed="true"] { background: #fff; color: var(--sc-a); border-color: #fff; }
.sc-like:focus-visible { outline: 3px solid var(--sc-b); outline-offset: 2px; }
.sc-like.is-mine { cursor: default; border-style: dashed; }
.sc-card-likes { font-size: 13px; font-weight: 700; color: var(--sc-a, var(--accent)); }
.sc-hint { margin: 2px 0 6px; }
@media (prefers-reduced-motion: reduce) { .brand-mark { transition: none; } .brand:hover .brand-mark { transform: none; } }

/* The Power-only export */
.tag-power {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px;
  background: var(--crimson-deep); color: var(--paper-2); font-size: 10.5px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px;
}
.exports-note { margin: 8px 0 0; }

/* ---------- utilities (replace inline style attributes) -------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 16px; }
.field-wide { flex: 2 1 240px; }
.summary-strong { cursor: pointer; font-weight: 700; color: var(--heading); }
.backlink { margin: 0 0 12px; }
.item-meta { margin: 0 0 10px; }
.item-aliases { margin: 10px 0 0; }
.tag.tag-link { text-transform: none; font-size: 12px; letter-spacing: 0; text-decoration: none; }
.toolbar h2 { margin: 0; }

/* ---------- loading skeletons ------------------------------------------------ */
.sk-img, .sk-line {
  background: linear-gradient(90deg, var(--rule) 0, var(--paper-2) 50%, var(--rule) 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}
.card.sk { padding: 0 16px 16px; }
.sk-img { aspect-ratio: 4 / 3; margin: 0 -16px 8px; border-radius: 0; }
.sk-item .sk-img { margin: 0 0 12px; max-width: 168px; border-radius: var(--radius-sm); }
.sk-line { height: 12px; margin: 8px 0; }
.sk-line.w70 { width: 70%; }
.sk-line.w40 { width: 40%; }
.sk-table .sk-line { height: 18px; }
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) {
  .sk-img, .sk-line { animation: none; background: var(--rule); }
}

/* ---------- the hand-off to the store --------------------------------------- */
.shop-disclosure { margin: 8px 0 0; }
.promo .shop-disclosure {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 11.5px;
}
.ext { font-weight: 400; }
.store-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 6px 0 12px; }
.store-card { border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 13px 15px; background: var(--paper-2); }
.store-card.is-guide { border-top: 3px solid var(--green); }
.store-card.is-offer { border-top: 3px solid var(--brand-red); }
.store-card .k { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; }
.store-card .v { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; color: var(--heading); font-variant-numeric: tabular-nums; }
.store-card .n { margin: 2px 0 0; font-size: 12px; color: var(--ink-faint); }

/* ---------- item page --------------------------------------------------------- */
.headline .chip { align-self: center; }
.unpriced-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.unpriced-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
/* Illustrations stay light; on dark they sit in a frame. */
img.is-placeholder { border-radius: var(--radius-sm); }
img.hero.is-placeholder { border: 1px solid var(--rule); }

/* ---------- cards ------------------------------------------------------------- */
.card .value-k { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; margin-bottom: -6px; }
.card .value-ask { display: block; font-weight: 700; color: var(--link); margin-top: 2px; }

/* ---------- plans ------------------------------------------------------------- */
.plan-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan-who { margin: 0; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.plans-hero h1 {
  font-family: var(--serif); font-size: 32px; margin: 0 0 10px; color: var(--heading);
}
.compare-table th[scope="row"] { font-size: 13.5px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 600; white-space: normal; }
.compare-table td { text-align: center; vertical-align: middle; }
.compare-table thead th:not(:first-child) { text-align: center; }
.cmp-yes { color: var(--green); font-weight: 800; font-size: 16px; }
.cmp-no { color: var(--ink-faint); }
.cmp-soon { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--ink-faint); border: 1px dashed var(--rule-strong); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.cmp-price td { font-weight: 800; color: var(--heading); }
@media (max-width: 640px) {
  .compare-table th[scope="row"] { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 150px; }
}
.waitlist { margin-top: 6px; padding: 16px; border-radius: var(--radius-sm); background: var(--brand-red-wash); border: 1px solid var(--rule-strong); }
.waitlist-h { margin: 0 0 10px; }
.waitlist input[aria-invalid="true"] { border-color: var(--red); }

/* ---------- search and home -------------------------------------------------- */
.hero-title { margin: 18px 0 0; }

/* Phone: the search comes before the pictures. */
@media (max-width: 640px) {
  section.hero { display: flex; flex-direction: column; }
  .hero-eyebrow { display: none; }
  .hero .hero-title { order: 1; margin-top: 0; }
  .hero-lede { order: 2; }
  .hero .searchbar { order: 3; }
  .hero-proof { order: 4; }
  .hero-cast { order: 5; max-height: 120px; margin: 16px 0 0; overflow: hidden; }
}

/* 2-up compact grid on small phones. */
@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 0 8px 8px; }
  .card .thumb { width: calc(100% + 16px); margin: 0 -8px; }
  .card .meta, .card .tags, .card .sub { display: none; }
  .card h3.name { font-size: 14px; }
  .card .value { font-size: 17px; }
  .card .value-k { font-size: 10px; }
  .card .value.none { font-size: 12px; }
}

/* ---------- 404 ---------------------------------------------------------------- */
.notfound { text-align: center; padding: 40px 20px; }
.notfound-mark { border-radius: 22px; }
.notfound h1 { margin: 18px 0 8px; }
.notfound-lede { max-width: 440px; margin: 0 auto 20px; }
.notfound-search { display: flex; gap: 8px; max-width: 420px; margin: 0 auto 16px; }
.notfound-search input { flex: 1; }
.toolbar h1 { margin: 0; font-size: 26px; }
.gate-locked { display: block; margin-top: 18px; }
.sec-h { margin-top: 22px; }

/* ---------- phone fit (390px) ---------------------------------------------- */
@media (max-width: 720px) {
  .brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-name { font-size: 22px; }
  .brand-name::after { display: none; }
  .nav-bar { flex: none; }
  .nav-current { max-width: none; }
  .nav-toggle { white-space: nowrap; }
}
@media (max-width: 480px) {
  .stat .v { font-size: 20px; white-space: nowrap; }
}
@media (max-width: 640px) {
  /* Scroll the comps sideways rather than squeeze each row 300px tall. */
  .sales-table { min-width: 640px; }
  .sales-table td { padding: 7px 9px; }
  .sales-table td:last-child { min-width: 280px; }
  .nudge { padding: 12px 14px 12px; }
  .nudge h2 { font-size: 16px; margin-bottom: 4px; }
  .nudge p { font-size: 13px; margin-bottom: 6px; }
  .nudge .actions-stack { flex-direction: row; }
  .nudge .btn { padding: 8px 12px; font-size: 13px; }
}

/* `hidden` always wins: component rules such as button { display:inline-block }
   must never make a hidden element visible. Last in the file on purpose. */
[hidden] { display: none !important; }
