/* ==========================================================================
   This Way Mart · components.css
   One class per component. Reused on every page; never restyled per page.
   Sections: wordmark · buttons · inputs · header · nav · cards · badges ·
   rating · swatches · message · gallery · dimensions · product-card · spark
   ========================================================================== */

/* ---- Wordmark ---- */
.wordmark { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 1.625rem; letter-spacing: var(--track-tight); line-height: 1; }
.wordmark__ja    { color: var(--logo-ja); }
.wordmark__sento { color: var(--logo-sento); }
.wordmark:hover  { text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--btn-h); padding: 0 var(--s-6);
  border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-body);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.985); }
.btn--primary   { background: var(--do); color: var(--do-text); font-weight: 800; }
.btn--primary:hover { background: var(--do-hover); }
.btn--buy       { background: var(--action); color: var(--action-text); font-weight: 800; }
.btn--buy:hover { background: var(--amber-deep); }
.btn--secondary { background: transparent; color: var(--link); border-color: var(--link); }
.btn--secondary:hover { background: var(--surface-2); }
.btn--ghost     { background: transparent; color: var(--link); padding: 0 var(--s-3); min-height: var(--btn-h-sm); }
.btn--block     { width: 100%; }
.btn--sm        { min-height: var(--btn-h-sm); padding: 0 var(--s-5); font-size: var(--fs-small); }
.btn--icon      { flex: none; width: var(--tap-min); height: var(--tap-min); min-height: 0; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); position: relative; }
.btn--icon:hover { background: var(--surface-2); }

/* ---- Inputs ---- */
.input {
  width: 100%; min-height: var(--tap-min); padding: 0 var(--s-4);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-input);
  transition: border-color var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--text-muted); opacity: 0.8; }
.input:focus { border-color: var(--brand-soft); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 25%, transparent); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field__label { font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); }

/* ---- Search (the primary control on browsing pages) ---- */
.search { position: relative; flex: 1 1 320px; max-width: 560px; }
.search__input { padding-left: 2.75rem; border-radius: var(--r-pill); background: var(--surface-2); border-color: transparent; }
.search__input:focus { background: var(--surface); }
.search__icon { position: absolute; left: var(--s-4); top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

/* ---- Header (browsing pages only) ---- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__row { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; flex-wrap: wrap; }
.header__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.nav { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.nav__link { display: inline-flex; align-items: center; min-height: var(--tap-min); font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); line-height: 1; }
.nav__link:hover { color: var(--text); text-decoration: none; }
.nav__link--on { color: var(--brand); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--bg); font-size: var(--fs-micro); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count[data-count="0"] { display: none; }

/* ---- Breadcrumb ---- */
.crumbs { display: flex; gap: var(--s-2); font-size: var(--fs-label); color: var(--text-muted); flex-wrap: wrap; }
.crumbs a { color: var(--text-muted); }
.crumbs [aria-current] { color: var(--text); }

/* ---- Cards & tiles ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-5); }
.card--tight { padding: var(--s-4) var(--s-5); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); }

/* ---- Key/value rows ---- */
.kv { display: flex; flex-direction: column; }
.kv__row { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.kv__row:last-child { border-bottom: 0; }
.kv__key { color: var(--text-muted); }
.kv__val { font-weight: 700; text-align: right; }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--brand); }
.pill  { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-3); border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--fs-label); font-weight: 700; color: var(--brand); background: var(--surface); }

/* ---- Maker ---- */
.maker { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--text-muted); }
.maker__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--bg); font-size: var(--fs-label); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.maker__avatar--lg { width: 40px; height: 40px; font-size: var(--fs-small); }

/* ---- Rating ---- */
.rating { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--text-muted); }
.rating__stars { color: var(--star); letter-spacing: 1px; }
.rating__stars .is-off { color: var(--line); }

/* ---- Colour swatches ---- */
.swatches { display: flex; gap: var(--s-3); }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--surface); outline: 1px solid var(--line); outline-offset: 0; transition: outline-color var(--t-fast) var(--ease); }
.swatch[aria-pressed="true"] { outline: 2px solid var(--brand); }

/* ---- Messages ---- */
.msg { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-tile); font-size: var(--fs-small); line-height: 1.55; }
.msg__icon { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.msg--success { background: var(--success-bg); color: var(--success); }
.msg--alert   { background: var(--alert-bg);   color: var(--alert); }
.msg--error   { background: var(--error-bg);   color: var(--error); }
.msg--notice  { background: var(--notice-bg);  color: var(--notice); }
.msg strong { color: inherit; }

/* ---- Gallery ---- */
.gallery { display: flex; flex-direction: column; gap: var(--s-3); }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery__stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.thumb { aspect-ratio: 1; border-radius: var(--r-thumb); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color var(--t-fast) var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border: 2px solid var(--thumb-ring); }
.thumb--video { background: var(--ink); color: var(--white); font-size: var(--fs-label); font-weight: 700; flex-direction: column; gap: var(--s-1); }
.thumb--dims  { font-size: var(--fs-label); font-weight: 700; color: var(--brand); flex-direction: column; gap: var(--s-1); }

/* ---- Dimensions figure (rendered by js/modules/dimensions.js) ---- */
.dims { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: var(--s-5); }
.dims svg { width: 100%; height: 100%; max-height: 100%; }
.dims__line { stroke: var(--brand); stroke-width: 1.5; }
.dims__tick { stroke: var(--brand); stroke-width: 1.5; }
.dims__label { fill: var(--text); font-family: var(--font); font-size: 15px; font-weight: 700; }
.dims__sub   { fill: var(--text-muted); font-family: var(--font); font-size: 12px; font-weight: 600; }
.dims__box   { fill: none; stroke: var(--line); stroke-dasharray: 4 4; }
.dims__ref   { fill: var(--surface-2); stroke: var(--line); }
.dims__reflabel { fill: var(--text-muted); font-family: var(--font); font-size: 11px; font-weight: 700; }

/* ---- Product card (store, search, feed, "more like this") ---- */
.product-card { display: flex; flex-direction: column; gap: var(--s-3); color: inherit; }
.product-card:hover { text-decoration: none; }
.product-card__img { aspect-ratio: 1; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform var(--t-base) var(--ease); }
.product-card:hover .product-card__img { transform: translateY(-2px); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__name  { font-weight: 700; font-size: var(--fs-small); color: var(--text); }
.product-card__meta  { font-size: var(--fs-label); color: var(--text-muted); }
.product-card__price { font-weight: 800; font-size: var(--fs-small); color: var(--text); }

/* ---- Review ---- */
.review { display: flex; flex-direction: column; gap: var(--s-2); }
.review__head { display: flex; justify-content: space-between; align-items: center; }
.review__title { font-weight: 700; }
.review__photos { display: flex; gap: var(--s-2); }
.review__photo { width: 64px; height: 64px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.review__by { font-size: var(--fs-label); color: var(--text-muted); }

/* ---- Spark burst (js/modules/spark.js) ---- */
.spark-layer { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.spark { position: absolute; width: 14px; height: 14px; will-change: transform, opacity; }
.spark--pulse { animation: spark-pulse var(--t-burst) var(--ease) forwards; }
@keyframes spark-pulse { 0% { transform: scale(0.6); opacity: 0; } 30% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---- Theme toggle ---- */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: block; }
}

/* ---- Semantic text ---- */
.t-success { color: var(--success); }

/* ---- Section heading with optional side link ---- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.section-head__sub { font-size: var(--fs-small); color: var(--text-muted); }

/* ---- Compare (variants of the same piece: sizes, finishes, quality) ---- */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.compare__col { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: inherit; }
.compare__col:hover { text-decoration: none; }
.compare__col--current { border: 2px solid var(--brand); }
.compare__img { aspect-ratio: 1; border-radius: var(--r-tile); background: var(--surface-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__name { font-weight: 800; font-size: var(--fs-h3); letter-spacing: var(--track-head); }
.compare__tag { font-size: var(--fs-label); font-weight: 700; color: var(--brand); letter-spacing: var(--track-label); text-transform: uppercase; }
.compare__price { font-weight: 800; font-size: var(--fs-h2); }
.compare .kv__row { font-size: var(--fs-label); padding: var(--s-2) 0; }

/* ---- Account (header) ---- */
.account { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap-min); padding: 0 var(--s-3) 0 var(--s-1); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: var(--fs-small); font-weight: 700; }
.account:hover { background: var(--surface-2); text-decoration: none; }
.account__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--bg); font-size: var(--fs-label); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.account__name { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .account__name { display: none; } .account { padding-right: var(--s-1); } }

/* ---- Ask the maker ---- */
.ask { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.ask__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ask__title { font-weight: 800; }
.ask__sub { font-size: var(--fs-label); color: var(--text-muted); line-height: 1.5; }

/* ---- Dialog ---- */
.dialog { width: min(560px, calc(100vw - 2rem)); padding: 0; border: 0; border-radius: var(--r-card); background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.dialog::backdrop { background: rgba(14, 11, 29, 0.55); }
.dialog__inner { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.dialog__actions { display: flex; gap: var(--s-3); justify-content: flex-end; flex-wrap: wrap; }
.textarea { min-height: 120px; padding: var(--s-3) var(--s-4); resize: vertical; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }

/* ---- Reviews ---- */
.reviews-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
.reviews-summary { display: flex; flex-direction: column; gap: var(--s-5); }
.reviews-summary__score { display: flex; align-items: baseline; gap: var(--s-3); }
.reviews-summary__big { font-size: 3.5rem; font-weight: 800; letter-spacing: var(--track-tight); line-height: 1; }
.histogram { display: flex; flex-direction: column; gap: var(--s-2); }
.histogram__row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: var(--s-3); min-height: var(--tap-min); padding: 0; border-radius: 8px; color: var(--text-muted); font-size: var(--fs-small); text-align: left; }
.histogram__row:hover { color: var(--text); }
.histogram__row[aria-pressed="true"] { color: var(--brand); font-weight: 700; }
.histogram__bar { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.histogram__fill { display: block; height: 100%; border-radius: 4px; background: var(--star); }
.histogram__row[aria-pressed="true"] .histogram__fill { background: var(--brand); }
.reviews-tools { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-4); }
.reviews-tools .search { max-width: 320px; }
.select { min-height: var(--tap-min); padding: 0 2.25rem 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; font-size: var(--fs-small); appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233A3A52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; }
.pill--toggle[aria-pressed="true"] { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.reviews-list { display: flex; flex-direction: column; gap: var(--s-4); }
.reviews-foot { display: flex; align-items: center; gap: var(--s-5); margin-top: var(--s-5); }
.review__helpful { font-size: var(--fs-label); color: var(--text-muted); }

/* ---- Size figure inside a card (About section) ---- */
.card > .dims { min-height: 340px; padding: 0; }
.reviews-summary > .pill { align-self: flex-start; }

/* ---- Photo upload (quote request) ---- */
.dropzone { display: flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 64px; padding: var(--s-4); border: 1.5px dashed var(--line); border-radius: var(--r-input); color: var(--text-muted); font-size: var(--fs-small); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.dropzone:hover, .dropzone.is-over { border-color: var(--brand-soft); background: var(--surface-2); color: var(--text); }
.dropzone:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.photo-list { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.photo-list:empty { display: none; }
.photo { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.photo__remove:hover { background: var(--indigo); }

/* ---- Star picker (review form) ---- */
.stars-field { border: 0; padding: 0; margin: 0; }
.stars-pick { display: flex; align-items: center; gap: var(--s-1); }
.stars-pick label { font-size: 2.25rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.stars-pick label:hover { transform: scale(1.08); }
/* data-fill is set by review.js to the hovered star, else the chosen one */
.stars-pick[data-fill="1"] label:nth-of-type(-n+1),
.stars-pick[data-fill="2"] label:nth-of-type(-n+2),
.stars-pick[data-fill="3"] label:nth-of-type(-n+3),
.stars-pick[data-fill="4"] label:nth-of-type(-n+4),
.stars-pick[data-fill="5"] label:nth-of-type(-n+5) { color: var(--star); }
.stars-pick input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.stars-pick__word { margin-left: var(--s-3); min-width: 8ch; }
.review--pending { border-color: var(--brand-soft); }
.photo video { width: 100%; height: 100%; object-fit: cover; }
.photo__tag { position: absolute; left: 4px; bottom: 4px; font-size: var(--fs-micro); font-weight: 800; color: var(--white); background: var(--ink); border-radius: 6px; padding: 1px 5px; }
.msg--inline-alert { color: var(--alert); }

/* ---- Header variants ---- */
.header__row > .logo { min-height: 60px; }   /* keeps the logo off the top edge when the row wraps on phones */
.header--slim .header__row { min-height: 64px; }
.header--bare .header__row { min-height: 72px; }
.header__row--center { justify-content: center; }

/* ---- Shop mega menu ---- */
.menu { position: static; }
.nav__link--menu { gap: var(--s-1); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: var(--fs-small); font-weight: 600; }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); padding-block: var(--s-6); z-index: 30; }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5) var(--s-6); }
.menu__col { display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-small); }
.menu__col a { color: var(--text-muted); }
.menu__col a:hover { color: var(--text); text-decoration: none; }
.menu__head { font-weight: 800; color: var(--text) !important; margin-bottom: var(--s-1); }
.menu__hint { color: var(--brand) !important; }
.menu__col--featured { border-left: 1px solid var(--line); padding-left: var(--s-5); }
@media (max-width: 900px) { .menu__panel { position: fixed; inset: 76px 0 0 0; overflow: auto; } .menu__col--featured { border-left: 0; padding-left: 0; } }

/* ---- Footer (full) ---- */
.footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
.footer__col { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__col a { color: var(--text-muted); font-size: var(--fs-small); }
.footer__col a:hover { color: var(--text); text-decoration: none; }
.footer__head { font-weight: 800; color: var(--text); font-size: var(--fs-small); margin-bottom: var(--s-1); }
.footer__tag { margin-top: var(--s-2); }

/* ---- Hero (home) ---- */
.hero { padding-block: var(--s-9) var(--s-8); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.hero__search { width: 100%; max-width: 720px; }
.hero__search .search { max-width: none; }
.hero__search .search__input { min-height: 64px; font-size: var(--fs-body); padding-left: 3.25rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.hero__search .search__icon { left: 1.25rem; }
.hero__chips { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center; }
.hero__sub { max-width: 560px; }

/* ---- Category tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.tile-cat { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-5) var(--s-3); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: center; font-size: var(--fs-small); font-weight: 700; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.tile-cat:hover { transform: translateY(-2px); border-color: var(--brand-soft); text-decoration: none; }
.tile-cat__art { width: 56px; height: 56px; border-radius: 18px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--brand); }

/* ---- Band (full-width statement sections) ---- */
.band { border-radius: var(--r-card); padding: var(--s-8) var(--s-7); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (max-width: 820px) { .band { grid-template-columns: minmax(0, 1fr); padding: var(--s-6) var(--s-5); } }
.band--indigo { background: var(--indigo); color: var(--white); }
.band--indigo .t-muted { color: var(--lilac-light); }
.band--ink { background: var(--ink); color: var(--white); }
.band--ink .t-muted { color: var(--lilac-light); }
.band--mist { background: var(--surface-2); }
.band__art { display: flex; gap: var(--s-4); align-items: flex-end; justify-content: center; }

/* ---- Maker card ---- */
.maker-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.maker-card:hover { text-decoration: none; border-color: var(--brand-soft); }
.maker-card__head { display: flex; align-items: center; gap: var(--s-3); }
.maker-card__name { font-weight: 800; display: flex; align-items: center; gap: var(--s-1); }
.maker-card__meta { font-size: var(--fs-label); color: var(--text-muted); }
.maker-card__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.maker-card__strip > * { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.maker-card__strip img { width: 100%; height: 100%; object-fit: cover; }
/* ---- Verified (two sizes, one meaning) ----
   .verified        · small tick beside a name (cards, lists, reviews)
   .verified--badge · the full badge on a store or dashboard head */
.verified { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lilac); color: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lilac) 22%, transparent); vertical-align: middle; flex: none; }
.verified svg { width: 11px; height: 11px; }
.verified--badge { width: auto; height: auto; gap: var(--s-2); padding: 0.35rem 0.9rem 0.35rem 0.45rem; border-radius: var(--r-pill); background: var(--mist); color: var(--indigo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lilac) 45%, transparent); font-size: var(--fs-small); font-weight: 800; letter-spacing: 0.01em; }
.verified--badge .verified__tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lilac); color: var(--white); flex: none; }
.verified--badge .verified__tick svg { width: 13px; height: 13px; }
.verified--badge svg { width: auto; height: auto; }
[data-theme="dark"] .verified--badge { background: var(--indigo); color: var(--lilac-light); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lilac) 55%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .verified--badge { background: var(--indigo); color: var(--lilac-light); } }

/* ---- Steps (how it works) ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: flex; flex-direction: column; gap: var(--s-2); }
.step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--bg); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step__t { font-weight: 800; font-size: var(--fs-h3); letter-spacing: var(--track-head); }

/* ---- Filters (search / category) ---- */
.results { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
@media (max-width: 900px) { .results { grid-template-columns: minmax(0, 1fr); } .filters { display: none; } }
.filters { display: flex; flex-direction: column; gap: var(--s-5); position: sticky; top: 100px; }
.filter { display: flex; flex-direction: column; gap: var(--s-2); }
.filter__head { font-weight: 800; font-size: var(--fs-small); }
.check { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--text-muted); min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.range { display: flex; gap: var(--s-2); align-items: center; }
.range .input { min-height: 40px; }
.results__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-5); }
.results__count { color: var(--text-muted); font-size: var(--fs-small); }
.chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 36px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-label); font-weight: 700; color: var(--text); }
.chip--link { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.chip--link:hover { border-color: var(--brand-soft); text-decoration: none; }
.product-card__size { font-size: var(--fs-micro); color: var(--text-muted); }
.grid-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px)  { .grid-products--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Understood bar (search page: what the engine understood) ---- */
.understood { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: var(--r-tile); background: var(--notice-bg); color: var(--notice); font-size: var(--fs-small); margin-bottom: var(--s-5); }
.understood strong { color: inherit; }

/* ---- Workspace layout (account + maker dashboard) ---- */
.workspace { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-7); align-items: start; padding-block: var(--s-6) var(--s-8); }
@media (max-width: 900px) { .workspace { grid-template-columns: minmax(0, 1fr); } }
.sidenav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 88px; }
.sidenav__head { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); padding: var(--s-3) var(--s-3) var(--s-1); }
.sidenav a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: var(--tap-min); padding: 0 var(--s-3); border-radius: 12px; color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; }
.sidenav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.sidenav a[aria-current="page"] { background: var(--surface); color: var(--brand); border: 1px solid var(--line); }
.sidenav__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--brand); color: var(--bg); font-size: var(--fs-micro); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-1); }
.stat__v { font-size: 1.75rem; font-weight: 800; letter-spacing: var(--track-head); }
.stat__k { font-size: var(--fs-label); color: var(--text-muted); }
.stat__d { font-size: var(--fs-label); color: var(--success); font-weight: 700; }

/* ---- Status ---- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--making { color: var(--notice); }
.status--shipped { color: var(--brand-soft); }
.status--delivered { color: var(--success); }
.status--attention { color: var(--alert); }
.status--paid { color: var(--success); }
.status--pending { color: var(--text-muted); }

/* ---- Table ---- */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table th { text-align: left; font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); }
.table td { padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table__thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.table__thumb img { width: 100%; height: 100%; object-fit: cover; }
.table__item { display: flex; align-items: center; gap: var(--s-3); }
.table-wrap { overflow-x: auto; position: relative; }
.t-right { text-align: right; }

/* ---- Order card (buyer) ---- */
.order { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.order__img { width: 112px; height: 112px; border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.order__img img { width: 100%; height: 100%; object-fit: cover; }
.order__name { font-weight: 800; }
.order__meta { font-size: var(--fs-label); color: var(--text-muted); }
.order__right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
@media (max-width: 640px) { .order { grid-template-columns: 56px minmax(0, 1fr); } .order__right { grid-column: 2; align-items: flex-start; } }

/* ---- Progress (order tracking) ---- */
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.progress__step { display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-label); color: var(--text-muted); }
.progress__bar { height: 6px; border-radius: 3px; background: var(--surface-2); }
.progress__step.is-done .progress__bar { background: var(--success); }
.progress__step.is-done { color: var(--text); font-weight: 700; }
.progress__step.is-now .progress__bar { background: var(--brand); }
.progress__step.is-now { color: var(--brand); font-weight: 700; }

/* ---- Message thread ---- */
.thread { display: flex; flex-direction: column; gap: var(--s-3); }
.bubble { max-width: 70%; padding: var(--s-3) var(--s-4); border-radius: 18px; background: var(--surface-2); font-size: var(--fs-small); line-height: 1.5; }
.bubble--me { align-self: flex-end; background: var(--brand); color: var(--bg); }
.bubble__meta { font-size: var(--fs-micro); opacity: .7; margin-top: 4px; }
.offer { border: 1.5px solid var(--brand); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); background: var(--surface); }
.offer__head { display: flex; justify-content: space-between; align-items: center; }
.offer__price { font-weight: 800; font-size: var(--fs-h2); }
.inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
@media (max-width: 900px) { .inbox { grid-template-columns: minmax(0, 1fr); } }
.inbox__item { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3); border-radius: 14px; color: var(--text); }
.inbox__item:hover { background: var(--surface-2); text-decoration: none; }
.inbox__item[aria-current="true"] { background: var(--surface); border: 1px solid var(--line); }
.inbox__who { font-weight: 800; font-size: var(--fs-small); display: flex; justify-content: space-between; gap: var(--s-2); }
.inbox__preview { font-size: var(--fs-label); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__time { font-weight: 500; color: var(--text-muted); font-size: var(--fs-micro); }
.compose { display: flex; gap: var(--s-2); align-items: flex-end; }
.compose .input { flex: 1; }

/* ---- Forms (auth, settings) ---- */
.auth { max-width: 440px; margin-inline: auto; padding-block: var(--s-8); display: flex; flex-direction: column; gap: var(--s-5); }
.auth__alt { display: flex; flex-direction: column; gap: var(--s-2); }
.btn--provider { background: var(--surface); border-color: var(--line); color: var(--text); font-weight: 700; }
.btn--provider:hover { background: var(--surface-2); }
.divider { display: flex; align-items: center; gap: var(--s-3); color: var(--text-muted); font-size: var(--fs-label); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid .field--full { grid-column: 1 / -1; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-row__k { font-weight: 700; }
.settings-row__v { font-size: var(--fs-small); color: var(--text-muted); }
.toggle { position: relative; width: 48px; height: 28px; border-radius: 14px; background: var(--line); transition: background var(--t-fast) var(--ease); flex: none; }
.toggle[aria-checked="true"] { background: var(--success); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform var(--t-fast) var(--ease); }
.toggle[aria-checked="true"]::after { transform: translateX(20px); }
.promise { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.promise input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.promise__t { font-weight: 800; }
.promise__d { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; }
.promise a { font-size: var(--fs-label); font-weight: 700; }

/* ---- Wizard (add product) ---- */
.wizard { display: flex; gap: var(--s-3); margin-bottom: var(--s-6); flex-wrap: wrap; }
.wizard__step { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); }
.wizard__step.is-done { color: var(--success); }
.wizard__step.is-now { color: var(--brand); }
.wizard__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: var(--fs-micro); }
.wizard__step.is-now .wizard__dot { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.ai-help { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-tile); background: var(--notice-bg); color: var(--notice); font-size: var(--fs-small); }
.ai-help .btn { margin-left: auto; }
.dim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 120px; gap: var(--s-3); align-items: end; }
@media (max-width: 640px) { .dim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dims-preview { min-height: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.dims-preview .dims { min-height: 260px; }

/* ---- Help ---- */
.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 760px) { .help-grid { grid-template-columns: minmax(0, 1fr); } }
.help-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.help-card:hover { text-decoration: none; border-color: var(--brand-soft); }
.help-card__t { font-weight: 800; }
.help-card__d { font-size: var(--fs-small); color: var(--text-muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--text-muted); font-size: 1.25rem; }
.faq details[open] summary::after { content: "–"; }
.faq .t-body { padding-bottom: var(--s-4); font-size: var(--fs-small); }

/* ---- Empty / CTA ---- */
.empty { text-align: center; padding: var(--s-8) var(--s-5); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); border: 1.5px dashed var(--line); border-radius: var(--r-card); }

/* ---- Store banner (maker public page) ---- */
.store-head { display: flex; gap: var(--s-5); align-items: center; padding-block: var(--s-7) var(--s-6); flex-wrap: wrap; }
.store-logo { width: 96px; height: 96px; border-radius: 28px; background: var(--brand); color: var(--bg); font-size: 2.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.store-head__body { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: var(--s-2); }
.store-head__stats { display: flex; gap: var(--s-5); font-size: var(--fs-small); color: var(--text-muted); flex-wrap: wrap; }
.store-head__stats strong { color: var(--text); }

/* ---- Home-page band helpers ---- */
.t-display--band { font-size: clamp(2rem, 4vw, 3rem); }
.badge--light { color: var(--lilac-light); }
.badge--light .ja { color: var(--lilac); }
.btn--ghost-light { color: var(--white); }
.quote-card { width: 260px; background: #181530; border: 1px solid #2A2645; border-radius: var(--r-card); padding: var(--s-5); color: var(--white); }
.quote-card__q { font-size: var(--fs-small); color: var(--lilac-light); }
.quote-card__row { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.quote-card .chip { background: var(--indigo); color: var(--lilac-light); }
.band__frame { width: 200px; height: 200px; border-radius: 32px; background: var(--indigo); display: flex; align-items: center; justify-content: center; }
.band__frame img { width: 150px; border-radius: 14px; }
.band__meta { font-size: var(--fs-small); color: var(--lilac-light); }
.store-link { width: 280px; }
.store-link__url { font-weight: 800; font-size: 1.25rem; color: var(--brand); }
.store-link__url span { color: var(--text); }
.store-link .t-label { margin-bottom: var(--s-2); }
.store-link .t-small { margin-top: var(--s-3); }
.maker-card__strip .ph-card { width: 100%; border-radius: 10px; }
.grid-2--gap { gap: var(--s-4); }
.t-h2--space { margin-bottom: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.row--center { justify-content: center; }
.inbox__body { min-width: 0; flex: 1; }
.hero--tight { padding-bottom: var(--s-5); }

/* Placeholder product art until real photography is uploaded */
.ph-stage { width: 60%; aspect-ratio: 17 / 10; border-radius: 28px; background: var(--lilac-light); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6%; }
.ph-stage__inner { width: 76%; height: 55%; border-radius: 18px 18px 10px 10px; background: var(--indigo); }
.ph-thumb { width: 64%; aspect-ratio: 17 / 10; border-radius: 10px; background: var(--lilac-light); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6%; }
.ph-thumb__inner { width: 76%; height: 55%; border-radius: 7px 7px 4px 4px; background: var(--indigo); }
.ph-thumb--alt .ph-thumb__inner { background: var(--slate); }
.ph-thumb--sand { background: #E8DCC8; }
.ph-card { width: 58%; aspect-ratio: 1; border-radius: 22%; background: var(--mist); }
.ph-card--indigo { background: var(--indigo); }
.ph-card--lilac { background: var(--lilac-light); }
.ph-card--amber { background: var(--amber); }

.badge--brand { text-transform: none; letter-spacing: var(--track-head); font-size: var(--fs-small); }


/* ---- Dropdown (.dd) ----
   The one select component. Markup is a native <select class="select">;
   select.js wraps it, keeps the native element for forms and no-JS, and
   draws the brand UI on top. Keyboard: arrows, Enter, Esc, Home/End, type-ahead. */
.dd { position: relative; display: inline-block; min-width: 10rem; }
.dd--block { display: block; width: 100%; }
.dd__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.dd__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; min-height: var(--tap-min); padding: 0 0.9rem 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 700; text-align: left; cursor: pointer; transition: border-color 120ms, box-shadow 120ms; }
.dd__btn:hover { border-color: var(--brand-soft); }
.dd__btn:focus-visible, .dd--open .dd__btn { border-color: var(--brand-soft); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 25%, transparent); }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { width: 14px; height: 14px; flex: none; color: var(--text-muted); transition: transform 160ms; }
.dd--open .dd__chev { transform: rotate(180deg); }
.dd__panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.dd__panel[hidden] { display: none; }
.dd__search { min-height: 44px; padding: 0 var(--s-4); border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2, var(--bg)); color: var(--text); font: inherit; font-size: var(--fs-small); }
.dd__search:focus { outline: none; border-color: var(--brand); }
.dd__list { max-height: 16rem; overflow: auto; margin: 0; padding: 0; list-style: none; }
.dd__opt[hidden] { display: none; }
.dd__opt[aria-disabled="true"] { color: var(--text-muted); cursor: default; }
.dd__none { margin: 0; padding: 0.55rem 0.8rem; font-size: var(--fs-small); color: var(--text-muted); }
.dd__btn:disabled { opacity: .55; cursor: default; }
.dd__opt { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 0.55rem 0.8rem; border-radius: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--text); cursor: pointer; white-space: nowrap; }
.dd__opt:hover, .dd__opt[data-active] { background: var(--mist); }
.dd__opt[aria-selected="true"] { color: var(--indigo); font-weight: 800; }
.dd__opt svg { width: 14px; height: 14px; color: var(--lilac); opacity: 0; flex: none; }
.dd__opt[aria-selected="true"] svg { opacity: 1; }
[data-theme="dark"] .dd__opt:hover, [data-theme="dark"] .dd__opt[data-active] { background: color-mix(in srgb, var(--lilac) 18%, transparent); }
[data-theme="dark"] .dd__opt[aria-selected="true"] { color: var(--lilac-light); }
.field .dd { display: block; }
.field .dd__btn { border-radius: var(--r-input); min-height: 48px; }

/* ---- Shipping label (4 × 6 in) ---- */
.label-wrap { display: flex; flex-direction: column; gap: var(--s-4); }
.label { width: 100%; aspect-ratio: 4 / 6; max-width: 360px; margin: 0 auto; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-rows: auto auto 1fr auto auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.label__row { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--ink); font-size: 0.72rem; line-height: 1.35; }
.label__row--head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.04em; }
.label__row--to { display: flex; flex-direction: column; justify-content: center; font-size: 0.9rem; font-weight: 700; }
.label__row--to small { font-weight: 400; font-size: 0.7rem; margin-bottom: 0.35rem; }
.label__barcode { display: flex; align-items: flex-end; height: 64px; gap: 0; padding: 0.5rem 0.8rem 0; }
.label__barcode span { display: block; height: 100%; background: var(--ink); }
.label__barcode span[data-gap] { background: transparent; }
.label__code { text-align: center; font-size: 0.78rem; letter-spacing: 0.18em; padding: 0.3rem 0 0.7rem; font-weight: 700; }
.label__wordmark { font-family: var(--font); font-weight: 800; letter-spacing: -0.02em; }
.label__wordmark .wordmark__ja { color: var(--indigo); } .label__wordmark .wordmark__sento { color: var(--lilac); }
@media print {
  body.printing-label > *:not(.dialog) { display: none !important; }
  body.printing-label .dialog { position: static; display: block; box-shadow: none; border: 0; width: auto; }
  body.printing-label .dialog__inner > *:not(.label-wrap) { display: none !important; }
  body.printing-label .label-wrap > *:not(.label) { display: none !important; }
  body.printing-label .label { width: 4in; height: 6in; max-width: none; border-radius: 0; border: 0; aspect-ratio: auto; }
  @page { size: 4in 6in; margin: 0; }
}

/* ---- Help: FAQs with a side panel ---- */
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-7); align-items: start; }
.help-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-4); }
.help-art { width: 100%; aspect-ratio: 1; border-radius: var(--r-card); background: var(--mist); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.help-art svg { width: 78%; height: 78%; }
@media (max-width: 960px) { .help-layout { grid-template-columns: 1fr; } .help-side { position: static; } }

/* ---- Store handle (maker settings) ---- */
.handle { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.handle__prefix { padding: 0 0 0 var(--s-4); color: var(--text-muted); font-weight: 600; font-size: var(--fs-small); white-space: nowrap; }
.handle .input { border: 0; border-radius: 0; box-shadow: none; padding-left: 0.2rem; }
.handle .input:focus { box-shadow: none; }
.handle:focus-within { border-color: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 25%, transparent); }
.handle__state { font-size: var(--fs-small); font-weight: 700; min-height: 1.4em; }
.handle__state--ok { color: var(--success); } .handle__state--bad { color: var(--error); }

/* ---- Checkout ---- */
.checkout-steps { display: flex; flex-direction: column; gap: var(--s-5); }
.checkout-step { display: flex; flex-direction: column; gap: var(--s-4); }
.checkout-step__head { display: flex; align-items: center; gap: var(--s-3); }
.checkout-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: var(--fs-small); flex: none; }
.parcel { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-card); }
.parcel__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: none; background: var(--mist); }
.parcel__img img { width: 100%; height: 100%; object-fit: cover; }
.parcel__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pay-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.pay-card .field--full { grid-column: 1 / -1; }
.secure-note { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--text-muted); }
.secure-note svg { width: 16px; height: 16px; color: var(--success); flex: none; }
.label__barcode span[data-w="1"] { flex: 1; } .label__barcode span[data-w="2"] { flex: 2; } .label__barcode span[data-w="3"] { flex: 3; }
.btn--lg { min-height: 52px; padding-inline: var(--s-6); font-size: var(--fs-body); }


/* ---- JaDrop sub-brand ---- */
.wordmark--drop .wordmark__drop { color: var(--drop); }
.band--drop { background: var(--drop-tint); }
.band--drop .badge { color: var(--drop); }
.btn--drop { background: var(--drop); color: var(--white); }
.btn--drop:hover { filter: brightness(1.06); }
.status--drop { background: var(--drop-tint); color: var(--drop); }
.drop-timer { display: inline-flex; gap: var(--s-3); font-variant-numeric: tabular-nums; font-weight: 800; color: var(--drop); font-size: var(--fs-h3); }
.drop-timer span small { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Licensed badge ---- */
.badge--licensed { display: inline-flex; align-items: center; gap: var(--s-1); text-transform: none; letter-spacing: 0; font-size: var(--fs-small); color: var(--indigo); background: var(--mist); border-radius: var(--r-pill); padding: 0.25rem 0.7rem 0.25rem 0.45rem; }
.badge--licensed svg { width: 16px; height: 16px; color: var(--lilac); }
[data-theme="dark"] .badge--licensed { background: var(--indigo); color: var(--lilac-light); }

/* ---- Sell landing ---- */
.handle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.handle-card { padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-3); }
.handle-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; }
.handle-card__icon svg { width: 22px; height: 22px; }
.handle-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; background: var(--indigo); color: var(--white); border: 0; }
.handle-card--lead .t-muted, .handle-card--lead .handle-card__icon { color: var(--lilac-light); }
.handle-card--lead .handle-card__icon { background: color-mix(in srgb, var(--lilac) 30%, transparent); }
.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); counter-reset: flow; }
.flow-list > div { padding: var(--s-5); border-radius: var(--r-card); background: var(--surface-2); display: flex; flex-direction: column; gap: var(--s-2); }
.flow-list > div::before { counter-increment: flow; content: counter(flow); width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.catalogue { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.catalogue span { display: inline-flex; align-items: center; gap: var(--s-1); padding: 0.4rem 0.8rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-small); font-weight: 600; }
.catalogue span svg { width: 14px; height: 14px; color: var(--success); }
.fee-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.fee-split .card { display: flex; flex-direction: column; gap: var(--s-2); }
@media (max-width: 900px) { .handle-grid, .flow-list { grid-template-columns: 1fr; } .handle-card--lead { grid-template-columns: 1fr; } .fee-split { grid-template-columns: 1fr; } }

/* ---- Account glance + order filters ---- */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.glance__item { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.glance__item:hover { text-decoration: none; border-color: var(--brand-soft); }
.glance__n { font-size: var(--fs-h2); font-weight: 800; line-height: 1; min-width: 2ch; }
.glance__k { font-size: var(--fs-small); color: var(--text-muted); font-weight: 600; }
.order__status { font-weight: 800; font-size: var(--fs-body); }
.order__status--shipped { color: var(--brand); } .order__status--making { color: var(--text); } .order__status--delivered { color: var(--success); }
.order--done { opacity: 0.9; }
.order:hover { border-color: var(--brand-soft); }
@media (max-width: 720px) { .glance { grid-template-columns: 1fr; } .order { grid-template-columns: 72px minmax(0, 1fr); } .order__right { grid-column: 1 / -1; align-items: flex-start; } }

/* ---- Maker due board ---- */
.due { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.due__lane { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); border-top-width: 4px; }
.due__lane:hover { text-decoration: none; border-color: var(--brand-soft); }
.due__lane--late { border-top-color: var(--error); } .due__lane--late .due__n { color: var(--error); }
.due__lane--today { border-top-color: var(--amber); } .due__lane--today .due__n { color: var(--amber-deep); }
.due__lane--soon { border-top-color: var(--lilac); }
.due__lane--ok { border-top-color: var(--success); }
.due__n { font-size: var(--fs-h1); font-weight: 800; line-height: 1; }
.due__k { font-size: var(--fs-small); font-weight: 700; }
.due__d { font-size: var(--fs-label); color: var(--text-muted); }
.due-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: var(--s-4); align-items: center; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.due-row:first-of-type { border-top: 0; }
.due-row__img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.due-row__img img { width: 100%; height: 100%; object-fit: cover; }
.due-row__when { font-weight: 800; font-size: var(--fs-small); white-space: nowrap; }
.due-row__when--late { color: var(--error); } .due-row__when--today { color: var(--amber-deep); }
@media (max-width: 900px) { .due { grid-template-columns: repeat(2, 1fr); } }
.handle-card--lead .t-body, .handle-card--lead .t-h2 { color: var(--white); }
.handle-card--lead .catalogue span { background: color-mix(in srgb, var(--white) 10%, transparent); border-color: color-mix(in srgb, var(--lilac) 50%, transparent); color: var(--lilac-light); }
.handle-card--lead .catalogue span svg { color: var(--lilac-light); }
.handle-card--lead .t-small { color: var(--lilac-light); }
.handle-card--lead .btn--secondary { background: var(--white); color: var(--indigo); border-color: transparent; }
.badge.wordmark--drop { gap: 0; font-size: var(--fs-body); }

/* ---- Sell CTA band (light, obvious) ---- */
.band--cta { background: var(--mist); border: 1px solid color-mix(in srgb, var(--lilac) 35%, transparent); align-items: center; }
.band--cta .btn { min-width: 240px; }

/* ---- Onboarding (sell-join) ---- */
.onboard { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-7); align-items: start; padding-block: var(--s-6); }
.onboard__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--s-4); }
.onboard__perks { display: flex; flex-direction: column; gap: var(--s-3); }
.onboard__perk { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); }
.onboard__perk svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 2px; }
.connect { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4); border: 1px dashed var(--line); border-radius: var(--r-card); }
.connect__logo { width: 40px; height: 40px; border-radius: 10px; background: var(--indigo); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
@media (max-width: 960px) { .onboard { grid-template-columns: 1fr; } .onboard__side { position: static; } }

/* ---- Fee calculator ---- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-5); align-items: start; }
.calc__table { display: flex; flex-direction: column; }
.calc__row { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.calc__row:last-child { border-bottom: 0; }
.calc__row--total { font-weight: 800; font-size: var(--fs-body); padding-top: var(--s-3); }
.calc__row--total .calc__v { color: var(--brand); font-size: var(--fs-h3); }
.calc__k { color: var(--text-muted); } .calc__row--total .calc__k { color: var(--text); }
.calc__v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__v--neg { color: var(--text-muted); }
.calc__note { font-size: var(--fs-label); color: var(--text-muted); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---- Product: how it works graphic ---- */
.howit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); position: relative; }
.howit::before { content: ""; position: absolute; left: 12%; right: 12%; top: 36px; height: 2px; background: var(--lilac-light); }
.howit__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); position: relative; }
.howit__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--mist); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--lilac-light); }
.howit__icon svg { width: 30px; height: 30px; }
.howit__icon--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.howit__t { font-weight: 800; font-size: var(--fs-small); }
.howit__d { font-size: var(--fs-label); color: var(--text-muted); }
.howit__when { font-size: var(--fs-label); font-weight: 700; color: var(--lilac); }
@media (max-width: 720px) { .howit { grid-template-columns: repeat(2, 1fr); } .howit::before { display: none; } }

/* ---- Product: questions & answers ---- */
.qa { display: flex; flex-direction: column; gap: var(--s-4); }
.qa__ask { display: flex; gap: var(--s-3); align-items: center; }
.qa__ask .input { flex: 1; }
.qa__item { padding: var(--s-4) 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-2); }
.qa__q { font-weight: 800; }
.qa__a { display: flex; gap: var(--s-3); align-items: flex-start; }
.qa__a p { margin: 0; }
.qa__who { font-size: var(--fs-label); color: var(--text-muted); }
.qa__who strong { color: var(--text); }
.qa__ai { padding: var(--s-4); border-radius: var(--r-card); background: var(--mist); display: flex; gap: var(--s-3); align-items: flex-start; }
.qa__ai svg { width: 20px; height: 20px; color: var(--lilac); flex: none; margin-top: 2px; }
.qa__ai p { margin: 0; }
.qa__vote { display: inline-flex; gap: var(--s-3); font-size: var(--fs-label); color: var(--text-muted); }
.qa__vote button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.qa__vote button:hover { color: var(--text); }

/* ---- Help: assistant ---- */
.assist { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); align-items: stretch; }
.chat { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-bottom: 1px solid var(--line); }
.chat__spark { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: #7FB6FF; display: inline-flex; align-items: center; justify-content: center; }
.chat__spark svg { width: 16px; height: 16px; }
.chat__log { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); max-height: 380px; overflow: auto; }
.chat__msg { max-width: 80%; padding: var(--s-3) var(--s-4); border-radius: 18px; font-size: var(--fs-small); line-height: 1.45; }
.chat__msg--bot { background: var(--mist); border-bottom-left-radius: 6px; align-self: flex-start; }
.chat__msg--me { background: var(--indigo); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
.chat__msg a { font-weight: 700; }
.chat__msg--bot .btn { margin-top: var(--s-2); }
.chat__form { display: flex; gap: var(--s-2); padding: var(--s-3); border-top: 1px solid var(--line); }
.chat__form .input { flex: 1; }
.chat__foot { font-size: var(--fs-label); color: var(--text-muted); padding: 0 var(--s-4) var(--s-3); }
@media (max-width: 960px) { .assist { grid-template-columns: 1fr; } }

/* ---- JaDrop drops ---- */
.drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.drop-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.drop-card:hover { text-decoration: none; border-color: var(--drop); }
.drop-card__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.drop-card__img img { width: 100%; height: 100%; object-fit: cover; }
.drop-card__bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.drop-card__bar span { display: block; height: 100%; background: var(--drop); }
.drop-card__bar span[data-pct="71"] { width: 71%; } .drop-card__bar span[data-pct="38"] { width: 38%; } .drop-card__bar span[data-pct="100"] { width: 100%; } .drop-card__bar span[data-pct="0"] { width: 0; }
.status--live { background: var(--drop-tint); color: var(--drop); }
.status--soon { background: var(--surface-2); color: var(--text-muted); }
@media (max-width: 900px) { .drop-grid { grid-template-columns: 1fr; } }

/* ---- Dream it: concepts ---- */
.dream-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.dream-step { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface-2); }
.dream-step__n { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.concepts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.concept { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-card); border: 2px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--text); }
.concept:hover { border-color: var(--brand-soft); }
.concept[aria-pressed="true"] { border-color: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lilac) 30%, transparent); }
.concept__art { aspect-ratio: 1; border-radius: 12px; background: var(--mist); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.concept__art svg { width: 80%; height: 80%; }
.concept__t { font-weight: 800; font-size: var(--fs-small); }
.concept__d { font-size: var(--fs-label); color: var(--text-muted); }
.concept__pick { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--indigo); color: var(--white); display: none; align-items: center; justify-content: center; }
.concept__pick svg { width: 14px; height: 14px; }
.concept[aria-pressed="true"] .concept__pick { display: inline-flex; }
.ai-bar { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); border-radius: var(--r-card); background: var(--mist); }
.ai-bar svg { width: 20px; height: 20px; color: var(--lilac); flex: none; }
.ai-bar p { margin: 0; }
@media (max-width: 900px) { .dream-steps, .concepts { grid-template-columns: repeat(2, 1fr); } }

/* ---- Requests board (maker side) ---- */
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.req { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--text); }
.req:hover { text-decoration: none; border-color: var(--brand-soft); }
.req__art { width: 96px; height: 96px; border-radius: 12px; background: var(--mist); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.req__art svg { width: 80%; height: 80%; }
.req__body { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.req__t { font-weight: 800; }
.req__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-label); color: var(--text-muted); }
.req__meta strong { color: var(--text); }
.req__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.req__bids { font-size: var(--fs-small); font-weight: 700; }
.req__bids--hot { color: var(--amber-deep); }
.req__ends { font-size: var(--fs-label); color: var(--text-muted); }
@media (max-width: 900px) { .req-grid { grid-template-columns: 1fr; } }

/* ---- Request detail ---- */
.brief { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-5); }
.brief__art { aspect-ratio: 1; border-radius: var(--r-card); background: var(--mist); display: flex; align-items: center; justify-content: center; }
.brief__art svg { width: 80%; height: 80%; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.spec__item { padding: var(--s-3); border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
.spec__k { font-size: var(--fs-label); color: var(--text-muted); font-weight: 600; }
.spec__v { font-weight: 800; }
.bid-list { display: flex; flex-direction: column; }
.bid { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.bid:first-child { border-top: 0; }
.bid__who { font-weight: 800; font-size: var(--fs-small); }
.bid__note { font-size: var(--fs-small); color: var(--text-muted); }
.bid__price { font-weight: 800; white-space: nowrap; text-align: right; }
.bid__price small { display: block; font-weight: 600; color: var(--text-muted); font-size: var(--fs-label); }
.bid--mine { background: var(--mist); margin: 0 calc(-1 * var(--s-4)); padding-inline: var(--s-4); border-radius: 12px; border-top: 0; }
.comment { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.comment:first-child { border-top: 0; }
.comment__who { font-size: var(--fs-label); color: var(--text-muted); }
.comment__who strong { color: var(--text); }
.comment p { margin: 0.2rem 0 0; }
.comment--public .comment__who::after { content: " · public"; }
.comment--private .comment__who::after { content: " · private to requester"; color: var(--lilac); }
.bid-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.bid-form .field--full { grid-column: 1 / -1; }
@media (max-width: 900px) { .brief { grid-template-columns: 1fr; } .spec { grid-template-columns: repeat(2, 1fr); } }

/* ---- JaDrop hero ---- */
.drop-hero { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--ink); color: var(--white); padding: var(--s-8) var(--s-6); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.drop-hero__mark { font-size: clamp(3rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.drop-hero__mark .ja { color: var(--lilac-light); } .drop-hero__mark .drop { color: var(--drop); }
.drop-hero__sub { color: var(--lilac-light); max-width: 40ch; }
.drop-hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.btn--notify { background: transparent; color: var(--white); border: 2px solid var(--drop); }
.btn--notify[aria-pressed="true"] { background: var(--drop); color: var(--white); }
.droplets { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.droplet { position: absolute; top: -40px; width: 14px; height: 20px; background: var(--drop); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0.55; animation: fall 6s linear infinite; }
.droplet:nth-child(1) { left: 8%; animation-delay: 0s; } .droplet:nth-child(2) { left: 22%; animation-delay: 1.4s; width: 10px; height: 14px; } .droplet:nth-child(3) { left: 41%; animation-delay: 2.6s; } .droplet:nth-child(4) { left: 63%; animation-delay: 0.8s; width: 9px; height: 13px; } .droplet:nth-child(5) { left: 78%; animation-delay: 3.4s; } .droplet:nth-child(6) { left: 91%; animation-delay: 2s; width: 11px; height: 16px; }
@keyframes fall { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 0.55; } 100% { transform: translateY(520px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .droplet { animation: none; display: none; } }
.countdown { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: color-mix(in srgb, var(--white) 6%, transparent); border: 1px solid color-mix(in srgb, var(--drop) 45%, transparent); }
.countdown__label { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--drop); }
.countdown__clock { display: flex; gap: var(--s-3); }
.countdown__unit { flex: 1; text-align: center; padding: var(--s-3) 0; border-radius: 14px; background: color-mix(in srgb, var(--white) 8%, transparent); }
.countdown__n { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__u { display: block; font-size: var(--fs-label); color: var(--lilac-light); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.countdown__date { font-size: var(--fs-small); color: var(--lilac-light); }
.countdown--ending .countdown__label { color: var(--amber); }
@media (max-width: 900px) { .drop-hero { grid-template-columns: 1fr; } }

/* ---- Soft-launch banner ---- */
.launch-bar { display: flex; align-items: center; justify-content: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); background: var(--indigo); color: var(--white); font-size: var(--fs-small); font-weight: 700; }
.launch-bar a { color: var(--amber); font-weight: 800; }
.launch-bar__tag { padding: 0.15rem 0.6rem; border-radius: var(--r-pill); background: var(--amber); color: var(--ink); font-size: var(--fs-label); letter-spacing: 0.04em; text-transform: uppercase; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: var(--white); font-weight: 800; flex: none; }
.avatar--sm { width: 32px; height: 32px; font-size: var(--fs-small); }
.filters-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.search--sm { max-width: 320px; flex: 1; }
.bubble--wide { max-width: none; }
.bubble p { margin: 0; }

/* ==========================================================================
   Global band rule · content left, action right (stacks on phones)
   ========================================================================== */
.band > .row, .band__action { justify-self: end; justify-content: flex-end; }
@media (max-width: 820px) { .band > .row { justify-self: stretch; } .band > .row .btn { width: 100%; } }
.split, .split--even { }
@media (max-width: 760px) { .split, .split--even { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } .handle-grid, .flow-list, .fee-split { grid-template-columns: minmax(0, 1fr); } .handle-card--lead { grid-template-columns: minmax(0, 1fr); } .drop-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Top nav · where am I ---- */
.nav { gap: var(--s-5); }
.nav__link { position: relative; }
.nav__link--on { color: var(--brand); }
.nav__link--on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: var(--brand); }
.nav__link--on.nav__link--menu::after { right: 16px; }

/* ---- Follow a maker (Spotify-style) ---- */
.btn--follow { gap: var(--s-2); }
.btn--follow svg { width: 18px; height: 18px; flex: none; }
.btn--follow[aria-pressed="true"] { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.btn--follow[aria-pressed="true"] .follow-off, .btn--follow[aria-pressed="false"] .follow-on { display: none; }
.follow-meta { font-size: var(--fs-small); color: var(--text-muted); }
.maker .btn--follow { margin-left: var(--s-2); }

/* ==========================================================================
   JaDrop hero v2 · theme-aware, Apple-quiet, one job: the date
   ========================================================================== */
.drop-hero2 { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-align: center; padding: var(--s-9) var(--s-5) var(--s-8); display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.drop-hero2 .droplets { opacity: .6; }
.drop-hero2__lockup { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); position: relative; }
.drop-hero2__mark { font-size: clamp(3.5rem, 12vw, 9rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; margin: 0; }
.drop-hero2__mark .ja { color: var(--lilac); }
.drop-hero2__mark .drop { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.drop-hero2__droplet { width: clamp(56px, 9vw, 112px); height: auto; filter: drop-shadow(0 12px 24px color-mix(in srgb, var(--drop) 35%, transparent)); animation: droplet-bob 3.2s ease-in-out infinite; }
@keyframes droplet-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.drop-hero2__line { font-size: var(--fs-h3); color: var(--text-muted); max-width: 34ch; margin: 0; }
.drop-date { font-size: clamp(2.25rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 0; }
.drop-date small { display: block; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--drop); margin-bottom: var(--s-2); }
.countdown--hero { background: transparent; border: 0; padding: 0; align-items: center; }
.countdown--hero .countdown__clock { gap: var(--s-2); }
.countdown--hero .countdown__unit { background: var(--surface-2); min-width: clamp(64px, 18vw, 96px); flex: none; padding: var(--s-3) var(--s-2); }
.countdown--hero .countdown__n { color: var(--text); font-size: clamp(2rem, 7vw, 3.5rem); }
.countdown--hero [data-cd="s"] { color: var(--drop); }
.countdown--hero .countdown__u { color: var(--text-muted); }
.countdown--blink { animation: cd-blink .5s ease-in-out 3; }
@keyframes cd-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.countdown__n--tick { animation: cd-tick .3s ease-out; }
@keyframes cd-tick { 0% { transform: translateY(-5px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.btn--drop-cta { background: var(--grad-brand); color: var(--white); border: 0; min-width: min(320px, 100%); min-height: 60px; font-size: var(--fs-body); font-weight: 800; box-shadow: 0 12px 32px color-mix(in srgb, var(--drop) 35%, transparent); }
.btn--drop-cta:hover { filter: brightness(1.06); }
.btn--drop-cta[aria-pressed="true"] { background: var(--success); box-shadow: none; }
.drop-hero2__urgency { font-weight: 800; color: var(--error); margin: 0; }
.drop-hero2__urgency::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; animation: cd-blink 1.2s ease-in-out infinite; }
.drop-card__left { font-size: var(--fs-small); font-weight: 800; color: var(--error); }
.drop-card__count { font-size: var(--fs-label); color: var(--text-muted); }
.wordmark--drop { text-transform: none; letter-spacing: -0.02em; font-size: var(--fs-h3); }
.wordmark--drop .wordmark__drop { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark--drop .ja { color: var(--lilac); }
.band--drop .wordmark--drop { gap: 0; }

/* ==========================================================================
   Request · gallery + lightbox + bid panel
   ========================================================================== */
.req-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.req-gallery { display: flex; flex-direction: column; gap: var(--s-3); }
.req-gallery__stage { aspect-ratio: 4 / 3; width: 100%; border-radius: var(--r-card); background: var(--mist); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; padding: 0; }
.req-gallery__stage img, .req-gallery__stage svg { width: 100%; height: 100%; object-fit: contain; }
.req-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
.req-gallery__thumb { aspect-ratio: 1; border-radius: 12px; border: 2px solid transparent; background: var(--surface-2); overflow: hidden; padding: 0; cursor: pointer; }
.req-gallery__thumb img, .req-gallery__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.req-gallery__thumb[aria-current="true"] { border-color: var(--brand); }
.req-gallery__hint { font-size: var(--fs-label); color: var(--text-muted); text-align: center; }
.lightbox { width: min(1100px, calc(100vw - 2rem)); max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-card); background: var(--ink); color: var(--white); }
.lightbox::backdrop { background: rgba(14, 11, 29, 0.88); }
.lightbox__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); padding: var(--s-5); }
.lightbox__img { max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: var(--mist); }
.lightbox__img svg { width: min(100%, 70vh); height: auto; }
.lightbox__close { position: absolute; top: var(--s-3); right: var(--s-3); background: color-mix(in srgb, var(--white) 12%, transparent); border: 0; color: var(--white); }
.lightbox__nav { display: flex; gap: var(--s-3); align-items: center; color: var(--lilac-light); font-size: var(--fs-small); }
.lightbox__nav .btn { color: var(--white); border-color: color-mix(in srgb, var(--white) 30%, transparent); }
.req-title { font-size: var(--fs-h2); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.req-desc { font-size: var(--fs-body); color: var(--text); }
.bid-panel { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-6); align-items: start; }
.bid-panel__sum { position: sticky; top: 88px; }
.bid-total { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; color: var(--success); line-height: 1; }
.bid-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.bid--mine { margin: 0; padding-inline: var(--s-3); }
@media (max-width: 900px) { .req-layout, .bid-panel { grid-template-columns: minmax(0, 1fr); } .bid-panel__sum { position: static; } .req-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Sell funnel
   ========================================================================== */
.hero--funnel { gap: var(--s-6); padding-bottom: var(--s-7); }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.btn--hero { min-width: min(340px, 100%); min-height: 64px; font-size: var(--fs-h3); padding-inline: var(--s-7); }
.link-soft { color: var(--brand-soft); font-weight: 700; }
.big-lines { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); text-align: center; padding-block: var(--s-7); }
.big-lines > span { font-size: clamp(1.75rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.t-accent { color: var(--brand-soft); }
.pill-hero { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); margin: 0 auto; max-width: 860px; padding: var(--s-8) var(--s-6); border-radius: 48px; background: var(--grad-brand-soft); text-align: center; }
.pill-hero__line { font-size: clamp(1.75rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.pill-hero__line em { font-style: normal; color: var(--brand-soft); }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; padding-block: var(--s-7); }
.cta-stack__line { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.cost-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.cost-card__n { font-size: clamp(2.75rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--brand); }
.cost-card__n small { font-size: 0.4em; letter-spacing: 0; color: var(--text-muted); font-weight: 700; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.compare-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); }
.compare-table th, .compare-table td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: var(--track-label); color: var(--text-muted); background: var(--surface-2); }
.compare-table th[scope="row"] { font-weight: 700; color: var(--text); white-space: nowrap; }
.compare-table .is-us { background: var(--mist); font-weight: 800; color: var(--brand); }
.compare-table thead .is-us { background: var(--brand); color: var(--bg); }
.compare-table .yes { color: var(--success); font-weight: 800; }
.compare-table .no { color: var(--text-muted); }
.compare-note { font-size: var(--fs-label); color: var(--text-muted); margin-top: var(--s-3); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.quote { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.quote__text { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; margin: 0; }
.quote__text::before { content: "“"; color: var(--brand-soft); } .quote__text::after { content: "”"; color: var(--brand-soft); }
.quote__src { font-size: var(--fs-label); color: var(--text-muted); }
.quote__answer { margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-small); }
.quote__answer strong { color: var(--brand-soft); }
.drop-promo { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-7); align-items: center; padding: var(--s-7); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.drop-promo .drop-card { pointer-events: none; }
.example-link { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-small); font-weight: 700; color: var(--brand-soft); }
@media (max-width: 820px) { .cost-grid, .quotes, .drop-promo { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Maker welcome · link, share, captions
   ========================================================================== */
.welcome-cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.welcome-sub { font-size: var(--fs-h2); font-weight: 700; color: var(--text-muted); margin: 0; }
.link-big { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; word-break: break-all; line-height: 1.2; }
.link-big .link-big__host { color: var(--text-muted); font-weight: 700; }
.handle--check { align-items: stretch; }
.handle--check .btn { border-radius: 0; min-height: 48px; }
.handle__state { display: flex; align-items: center; gap: var(--s-2); }
.handle__state svg { width: 18px; height: 18px; flex: none; }
.handle__state--ok { color: var(--brand-soft); }
.share-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.share-btn { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 0; font: inherit; font-weight: 800; font-size: var(--fs-small); color: #fff; cursor: pointer; }
.share-btn__slot { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: color-mix(in srgb, #fff 22%, transparent); font-size: var(--fs-label); }
.share-btn--facebook { background: #1877F2; }
.share-btn--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.share-btn--tiktok { background: #010101; }
.share-btn--snapchat { background: #FFFC00; color: #000; } .share-btn--snapchat .share-btn__slot { background: rgba(0,0,0,.12); }
.share-btn--x { background: #000; }
.share-btn--more { background: var(--surface-2); color: var(--text); } .share-btn--more .share-btn__slot { background: var(--surface); }
.share-hint { font-size: var(--fs-label); color: var(--text-muted); min-height: 1.4em; }
.qr { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }
.qr__img { width: 140px; height: 140px; border-radius: 14px; background: #fff; padding: 8px; border: 1px solid var(--line); flex: none; }
.qr__img svg { width: 100%; height: 100%; display: block; }
.caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; }
.copy-btn { gap: var(--s-1); white-space: nowrap; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn[data-copied="true"] { background: var(--success); color: #fff; border-color: var(--success); }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.kit a { display: flex; flex-direction: column; gap: var(--s-2); color: inherit; }
.kit a:hover { text-decoration: none; }
.kit img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 640px) { .caption { grid-template-columns: minmax(0, 1fr); } .caption .btn { width: 100%; } }
.band--indigo p, .band--ink p { color: var(--lilac-light); }
.band--indigo h2, .band--ink h2 { color: var(--white); }
.bid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.btn:disabled { opacity: .45; pointer-events: none; }
.handle--check { align-items: center; }
.handle--check .input { min-width: 0; flex: 1; }
.handle--check .btn { flex: none; align-self: stretch; min-height: 0; border-top: 0; border-bottom: 0; border-right: 0; }

/* ---- Button hierarchy · amber is only for buying (.btn--buy);
   every other action is Action Blue, outlined blue for the second choice ---- */
.btn--primary.btn--sm { background: var(--do); color: var(--do-text); }
.btn--primary.btn--sm:hover { background: var(--do-hover); }
.btn--buy.btn--sm { background: var(--action); color: var(--action-text); }
.btn--brand { background: var(--do); color: var(--do-text); font-weight: 800; }
.btn--brand:hover { background: var(--do-hover); }

/* ---- Link box · the name sits tight against the host, same size ---- */
.handle .input { font-size: var(--fs-small); font-weight: 700; padding-left: 0; color: var(--text); }
.handle__prefix { padding-right: 0; }
.link-big { font-size: var(--fs-h3); }

/* ---- Owner tools on the maker's own store page ---- */
.owner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--grad-brand-soft); border: 1px solid color-mix(in srgb, var(--lilac) 35%, transparent); margin-bottom: var(--s-5); }
.owner__tools { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.owner .qr__img { width: 96px; height: 96px; }
.todo { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.todo__step { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); }
.todo__step svg { width: 18px; height: 18px; }
.todo__step--done { color: var(--brand-soft); }
.todo__step--next { color: var(--text); }
.todo__step--next::before { content: "→"; color: var(--amber); font-weight: 800; }
@media (max-width: 820px) { .owner { grid-template-columns: minmax(0, 1fr); } }
.todo__step { white-space: nowrap; }

/* ==========================================================================
   Buttons · the three levels (light and dark). Primary = amber, one per
   screen. Secondary = purple outline. Tertiary = purple text with an arrow.
   ========================================================================== */
.btn--tertiary { background: transparent; border: 0; color: var(--brand-soft); padding: 0 var(--s-2); min-height: var(--btn-h-sm); font-weight: 700; gap: var(--s-1); }
.btn--tertiary:hover { color: var(--brand); text-decoration: underline; }
.btn--hero { min-width: min(560px, 100%); min-height: 80px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); padding-inline: var(--s-8); border-radius: 48px; box-shadow: 0 14px 36px color-mix(in srgb, var(--amber) 40%, transparent); }
.btn--hero:hover { transform: translateY(-1px); }
.hero__sub--two { display: flex; flex-direction: column; gap: var(--s-1); }

/* ---- JaDrop logo, always the same lockup ---- */
.jd-logo { display: inline-flex; align-items: center; line-height: 0; }
.jd-logo img { height: 1.6em; width: auto; }
.jd-logo--lg img { height: 2.6em; }
.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: inline; } [data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: inline; } :root:not([data-theme="light"]) .only-light { display: none; } }

/* ---- Carousel (scroll-snap row with arrows) ---- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: var(--s-2); scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
.carousel__nav { display: flex; gap: var(--s-2); }
@media (max-width: 640px) { .carousel__nav { display: none; } }

/* ---- Drops explainer tile ---- */
.drop-promo { grid-template-columns: minmax(0, 1fr) 280px; padding: var(--s-6); }
.drop-promo .drop-card { padding: var(--s-4); gap: var(--s-2); }
.drop-promo .drop-card__img { aspect-ratio: 4 / 3; }
.drop-promo__ex { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.drop-ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.drop-ideas > div { padding: var(--s-3) var(--s-4); border-radius: 14px; background: var(--drop-tint); color: var(--text); font-size: var(--fs-small); font-weight: 700; }
.drop-ideas > div span { display: block; font-size: var(--fs-label); font-weight: 600; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 820px) { .drop-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- What it costs (clean) ---- */
.fee-split .card .t-h1 { color: var(--brand); }
.fee-split .fee-lines { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-body); font-weight: 700; }

/* ---- Compare table · zebra + purple yes ---- */
.compare-table tbody tr:nth-child(even) td, .compare-table tbody tr:nth-child(even) th { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.compare-table .yes { color: var(--brand-soft); }
.compare-table .is-us { color: var(--brand); }

/* ---- Closing block + FAQ + lead dialog ---- */
.close-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); padding-block: var(--s-8); }
.close-block__line { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
.close-block__sub { font-size: var(--fs-h3); color: var(--text-muted); margin: 0; }
.seasonal { display: inline-flex; align-items: center; gap: var(--s-2); padding: 0.35rem 0.9rem; border-radius: var(--r-pill); background: var(--error-bg); color: var(--error); font-weight: 800; font-size: var(--fs-small); }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; font-weight: 800; font-size: var(--fs-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq__body { padding: 0 0 var(--s-5); color: var(--text-muted); max-width: 70ch; }
.faq__body p { margin: 0 0 var(--s-2); }
.faq__body strong { color: var(--text); }
.faq-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.lead-cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); text-align: center; padding-block: var(--s-6); }
.notify-known { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
.notify-known__who { font-size: var(--fs-small); color: var(--text-muted); }
.owner-bar { background: var(--grad-brand-soft); border-bottom: 1px solid color-mix(in srgb, var(--lilac) 35%, transparent); }
.owner-bar .owner { background: none; border: 0; border-radius: 0; margin-bottom: 0; padding-block: var(--s-5); }
.kit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit a { align-items: center; text-align: center; }
@media (max-width: 760px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pill-hero__sub { margin: 0; font-size: var(--fs-h3); color: var(--text-muted); font-weight: 600; }
.faq-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5); }
.faq-wrap { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.dialog__brand { align-self: center; font-size: var(--fs-h2); }
.compare-table .is-us, .compare-table tbody tr:nth-child(even) td.is-us { background: var(--brand); color: var(--bg); }
.compare-table .is-us.yes { color: var(--bg); }
.compare-table tbody .is-us { font-weight: 700; }
.compare-table thead th.is-us { text-transform: none; letter-spacing: -0.03em; }
.wordmark--th { font-size: var(--fs-h3); }
.compare-table thead th.is-us .wordmark__ja { color: var(--lilac-light); } .compare-table thead th.is-us .wordmark__sento { color: var(--white); }
.dialog__brand { margin-bottom: var(--s-3); }

/* ==========================================================================
   Mini cart · opens from the header cart icon
   ========================================================================== */
.cartwrap { position: relative; }
.minicart { position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); padding: var(--s-4); z-index: 60; display: flex; flex-direction: column; gap: var(--s-3); }
.minicart__head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.minicart__items { display: flex; flex-direction: column; max-height: 50vh; overflow: auto; }
.minicart__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-2) 0; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.minicart__item:first-child { border-top: 0; }
.minicart__img { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.minicart__img img { width: 100%; height: 100%; object-fit: cover; }
.minicart__name { font-weight: 700; display: block; }
.minicart__meta { color: var(--text-muted); font-size: var(--fs-label); }
.minicart__price { font-weight: 800; white-space: nowrap; }
.minicart__remove { background: none; border: 0; color: var(--text-muted); font-size: var(--fs-label); cursor: pointer; padding: 0; }
.minicart__total { display: flex; justify-content: space-between; font-weight: 800; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.minicart__empty { text-align: center; color: var(--text-muted); padding: var(--s-4) 0; }
.minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 640px) { .minicart { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; } }

/* ---- Wizard steps (one at a time) ---- */
.wizard__step { cursor: default; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.field--invalid .input { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 20%, transparent); }
.field__error { font-size: var(--fs-label); color: var(--error); font-weight: 700; }

/* ---- Dream it · generating state ---- */
.concept--loading { position: relative; overflow: hidden; background: var(--surface-2); min-height: 180px; }
.concept--loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--white) 40%, transparent), transparent); animation: linkshine 1.2s infinite; }
@keyframes linkshine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.concept svg { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; }
.concept__label { font-size: var(--fs-label); color: var(--text-muted); }

/* ---- Prose pages (About, Terms, Privacy) ---- */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: var(--s-4); }
.prose h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; margin: var(--s-4) 0 0; }
.prose h3 { font-size: var(--fs-h3); font-weight: 800; margin: var(--s-2) 0 0; }
.prose p, .prose li { color: var(--text); line-height: var(--lh-body); }
.prose ul { padding-left: 1.2em; margin: 0; display: flex; flex-direction: column; gap: var(--s-1); }
.prose .t-muted { color: var(--text-muted); }
.toc { display: flex; flex-direction: column; gap: var(--s-2); position: sticky; top: 88px; font-size: var(--fs-small); }
.toc a { color: var(--text-muted); font-weight: 700; } .toc a:hover { color: var(--brand); }
.page-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-8); align-items: start; padding-block: var(--s-6) var(--s-8); }
@media (max-width: 820px) { .page-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: var(--s-3); } }
.slogan { font-weight: 800; }
.slogan:not(.t-display):not(.slogan--footer) { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.05; }
.slogan .dream { color: var(--brand-soft); } .slogan .make { color: var(--brand); }
.slogan .spark { display: inline-block; position: static; will-change: auto; }
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.pillar { padding: var(--s-4); border-radius: var(--r-card); background: var(--surface-2); display: flex; flex-direction: column; gap: var(--s-1); }
.pillar__n { font-size: var(--fs-h1); font-weight: 800; color: var(--brand-soft); line-height: 1; }
@media (max-width: 820px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); align-items: start; }
.contact-way { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.contact-way:first-child { border-top: 0; }
.contact-way svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Drop page ---- */
.drop-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.drop-page__media { aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.drop-page__media img { width: 100%; height: 100%; object-fit: cover; }
.drop-page__no { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--drop); }
.drop-page__price { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
.drop-stock { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r-card); background: var(--surface-2); }
.drop-stock__row { display: flex; justify-content: space-between; font-size: var(--fs-small); font-weight: 700; }
.countdown--inline { padding: 0; border: 0; background: transparent; }
.countdown--inline .countdown__unit { background: var(--surface-2); min-width: 64px; flex: none; padding: var(--s-2); }
.countdown--inline .countdown__n { color: var(--text); font-size: 1.6rem; }
.countdown--inline [data-cd="s"] { color: var(--drop); }
.countdown--inline .countdown__u { color: var(--text-muted); }
.countdown--inline .countdown__label { color: var(--error); }
.numbers { display: flex; flex-wrap: wrap; gap: 6px; }
.numbers span { font-size: var(--fs-micro); font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--drop-tint); color: var(--drop); }
.numbers span.is-gone { background: var(--surface-2); color: var(--text-muted); text-decoration: line-through; }
@media (max-width: 820px) { .drop-page { grid-template-columns: minmax(0, 1fr); } }

/* ---- Category home ---- */
.cat-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; padding: var(--s-7); border-radius: var(--r-card); background: var(--grad-brand-soft); margin-bottom: var(--s-6); }
.cat-hero__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.cat-hero__art > * { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface); }
.cat-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.subcats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-6); }
.subcat { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: var(--fs-small); font-weight: 700; text-align: center; }
.subcat:hover { border-color: var(--brand-soft); text-decoration: none; }
.subcat__art { aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.subcat__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cat-hero { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); } }
.success-box { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; padding: var(--s-8) var(--s-5); }
.field .dd, .dd--block { min-width: 0; width: 100%; }
@media (max-width: 640px) { .parcel { flex-wrap: wrap; } .parcel .field { flex: 1 1 100%; min-width: 0; } }

/* ---- Open your store · step details (sell-join) ---- */
button.wizard__step { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
button.wizard__step:disabled { cursor: default; opacity: .7; }
button.wizard__step:not(:disabled):not(.is-now):hover { color: var(--brand); }
.wizard-nav--center { justify-content: center; }
.wizard-nav--center .stack { align-items: center; }
.handle--phone .handle__prefix { min-width: 3.2rem; }
.handle--phone .input { padding-left: 0.5rem; }
.input--static { display: flex; align-items: center; background: var(--mist); color: var(--text); font-weight: 600; cursor: default; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--brand); text-decoration: underline; cursor: pointer; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); max-width: 100%; }
.seg__opt { position: relative; flex: 1 1 0; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg__opt span { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 var(--s-5); font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.seg__opt + .seg__opt span { border-left: 1px solid var(--line); }
.seg__opt input:checked + span { background: var(--brand); color: var(--white); }
.seg__opt input:focus-visible + span { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brand-soft) 45%, transparent); }
.tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 0.25rem; }
.tip__btn { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text-muted); background: none; color: var(--text-muted); font: 700 11px/1 var(--font); cursor: help; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.tip__btn:hover, .tip__btn:focus-visible { border-color: var(--brand); color: var(--brand); outline: none; }
.tip__pop { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: min(300px, 80vw); padding: var(--s-3) var(--s-4); border-radius: 12px; background: var(--indigo); color: var(--white); font-size: var(--fs-small); font-weight: 500; line-height: 1.45; text-transform: none; letter-spacing: 0; box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.tip__pop::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--indigo); }
.tip:hover .tip__pop, .tip:focus-within .tip__pop { opacity: 1; pointer-events: auto; }
[data-theme="dark"] .tip__pop { background: var(--lilac-light); color: var(--indigo); }
[data-theme="dark"] .tip__pop::after { border-top-color: var(--lilac-light); }
@media (max-width: 640px) {
  .tip__pop { left: auto; right: -12px; transform: none; }
  .tip__pop::after { left: auto; right: 14px; transform: none; }
  .seg { display: flex; }
  .seg__opt span { padding: 0 var(--s-3); white-space: normal; text-align: center; }
}

/* ---- slogan placements ---- */
.footer__col a.wordmark--footer { font-size: 2.6rem; color: inherit; }
.slogan--footer { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: var(--s-2); }


/* ---- prototype index (start-here) ---- */
.start-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); }
.start-card { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--text); text-decoration: none; }
.start-card:hover { border-color: var(--brand); text-decoration: none; }
.start-card__t { font-weight: 800; }

/* ---- home · Dream it request card ---- */
.req-card { width: min(360px, 100%); background: var(--surface); color: var(--text); border-radius: var(--r-card); padding: var(--s-5); box-shadow: 0 24px 60px rgba(14, 11, 29, 0.35); display: flex; flex-direction: column; gap: var(--s-4); text-align: left; }
.req-card__head { display: flex; justify-content: space-between; align-items: center; }
.req-card__tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.req-card__tag svg { width: 14px; height: 14px; fill: var(--spark); }
.req-card__time { font-size: var(--fs-label); color: var(--text-muted); }
.req-card__q { font-size: var(--fs-body); font-weight: 700; line-height: 1.35; margin: 0; }
.req-card__bids { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.req-card__bids li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: 12px; background: var(--mist); }
.req-card__bids li:first-child { box-shadow: inset 0 0 0 2px var(--brand-soft); }
.req-card__av { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: var(--white); font-weight: 800; font-size: var(--fs-small); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.req-card__av--lilac { background: var(--lilac); } .req-card__av--amber { background: var(--amber); color: var(--ink); }
.req-card__who { flex: 1; font-weight: 700; font-size: var(--fs-small); display: flex; flex-direction: column; line-height: 1.2; }
.req-card__who small { font-weight: 500; color: var(--text-muted); font-size: var(--fs-label); }
.req-card__price { font-weight: 800; }
.req-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-small); color: var(--text-muted); }
.req-card__pick { font-weight: 800; color: var(--brand); }
[data-theme="dark"] .req-card { background: #1A1730; }
[data-theme="dark"] .req-card__bids li { background: color-mix(in srgb, var(--white) 6%, transparent); }

/* ---- home · JaDrop tile (follows the JaDrop guidelines) ---- */
.band--jadrop { background: var(--ink); color: var(--white); }
.band--jadrop .t-muted { color: var(--lilac-light); }
.band__lockup { height: clamp(44px, 6vw, 64px); width: auto; display: block; }
.drop-date--band { font-size: clamp(2rem, 5vw, 3.25rem); color: var(--white); }
.drop-date--band small { color: #6FA6FF; }
.countdown--on-dark .countdown__unit { background: color-mix(in srgb, var(--white) 8%, transparent); }
.countdown--on-dark .countdown__n { color: var(--white); }
.countdown--on-dark [data-cd="s"] { color: #6FA6FF; }
.countdown--on-dark .countdown__u { color: var(--lilac-light); }
.band--jadrop .drop-hero2__urgency { color: #FF7A85; }
.band--jadrop .btn--drop-cta { min-width: 0; }
.band__frame--drop { position: relative; width: 240px; height: 240px; background: var(--grad-brand); padding: 6px; }
.band__frame--drop img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.band__frame-droplet { position: absolute; right: -18px; bottom: -22px; width: 64px; height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)); }

/* ---- wordmark inside a heading ---- */
.wordmark--inline { font-size: 1em; vertical-align: baseline; }

/* ---- slogan Spark: tucked into the "t", the Spark is the full stop ---- */
.slogan .spark { width: 0.44em; height: 0.44em; margin-left: -0.1em; vertical-align: 0.07em; }
.slogan .spark path { fill: var(--spark); }
.slogan--footer .spark { width: 0.5em; height: 0.5em; }
.band .req-card .req-card__q { color: var(--text); }
.band .req-card p { color: var(--text); }
.band__lockup { align-self: flex-start; }
.band__frame--drop img.band__frame-droplet { width: 64px; height: auto; border-radius: 0; }
.band__frame--drop img:first-child { width: 100%; }

/* ---- help · assistant in dark mode, typing, popular questions ---- */
[data-theme="dark"] .chat__msg--bot { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--text); }
[data-theme="dark"] .chat__msg--bot a { color: var(--lilac-light); }
[data-theme="dark"] .chat__msg--me { background: var(--lilac-light); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chat__msg--bot { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--text); }
  :root:not([data-theme="light"]) .chat__msg--bot a { color: var(--lilac-light); }
  :root:not([data-theme="light"]) .chat__msg--me { background: var(--lilac-light); color: var(--ink); }
}
.chat__hint { display: block; margin-top: var(--s-2); font-size: var(--fs-label); color: var(--text-muted); }
.chat__typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: chat-dot 1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.popular { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); max-width: 720px; }
.popular__h { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--s-1); }
.popular__q { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; }
.popular__q::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--brand-soft); border-top: 2px solid var(--brand-soft); transform: rotate(45deg); flex: none; margin-left: var(--s-3); }
.popular__q:hover { border-color: var(--brand-soft); text-decoration: none; }
.help-search__note { margin: 0; }

/* ---- sell · three cost tiles and a licence example ---- */
.fee-split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .fee-split--3 { grid-template-columns: minmax(0, 1fr); } }
.fee-example { margin-top: var(--s-5); padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--mist); display: flex; flex-direction: column; gap: var(--s-3); max-width: 640px; }
.fee-example__rows { margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.fee-example__rows div { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-small); }
.fee-example__rows dt { color: var(--text-muted); } .fee-example__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.fee-example__total { border-top: 1px solid var(--line); padding-top: var(--s-2); font-size: var(--fs-body) !important; }
.fee-example__total dt, .fee-example__total dd { color: var(--text); font-weight: 800; }
[data-theme="dark"] .fee-example { background: color-mix(in srgb, var(--white) 6%, transparent); }

/* ---- Help & Support hub (contact.html) ---- */
.support-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-5); }
.support-tile { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.support-tile:hover { border-color: var(--brand-soft); transform: translateY(-2px); text-decoration: none; }
.support-tile__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.support-tile__icon svg { width: 24px; height: 24px; }
.support-tile__t { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.01em; }
.support-tile__d { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.5; flex: 1; }
.support-tile__go { font-weight: 800; color: var(--brand); margin-top: var(--s-3); }
.support-tile__go::after { content: " →"; }
.support-tile--lead { background: var(--indigo); border-color: transparent; color: var(--white); }
.support-tile--lead .support-tile__icon { background: color-mix(in srgb, var(--white) 12%, transparent); color: var(--amber); }
.support-tile--lead .support-tile__d { color: var(--lilac-light); }
.support-tile--lead .support-tile__go { color: var(--amber); }
.support-note { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.support-note__card { display: flex; flex-direction: column; gap: var(--s-2); }
@media (max-width: 900px) { .support-grid, .support-note { grid-template-columns: minmax(0, 1fr); } }

/* ---- orders: Get help, chat chips ---- */
.order__help { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); text-decoration: none; }
.order__help svg { width: 16px; height: 16px; }
.order__help:hover { color: var(--brand); text-decoration: none; }
.chat__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip--btn { border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-size: var(--fs-small); font-weight: 700; }
.chip--btn:hover { border-color: var(--brand-soft); color: var(--brand); }

/* single-column reading pages (about, terms, privacy) */
.page-body { padding-block: var(--s-4) var(--s-8); }
.page-body .prose { max-width: 760px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--text-muted); padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-summary { background: var(--mist); border-radius: var(--r-card); padding: var(--s-5) var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); }
.legal-summary ul { margin: 0; }
[data-theme="dark"] .legal-summary { background: color-mix(in srgb, var(--white) 6%, transparent); }
.prose h2 { scroll-margin-top: 96px; }

/* ---- This Way Maker: header logo ---- */
.maker-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.maker-logo:hover { text-decoration: none; }
.maker-logo__tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px 2px; border-radius: 999px; background: var(--indigo); color: var(--lilac-light); font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; line-height: 1; }
[data-theme="dark"] .maker-logo__tag { background: var(--lilac-light); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .maker-logo__tag { background: var(--lilac-light); color: var(--ink); } }
.header--maker { border-bottom: 2px solid var(--indigo); }
[data-theme="dark"] .header--maker { border-bottom-color: var(--lilac); }
@media (max-width: 640px) { .header__store { display: none; } }

/* ---- This Way Maker: sidebar ---- */
.mnav { display: flex; flex-direction: column; gap: var(--s-4); position: sticky; top: 88px; }
.mnav__back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 var(--s-4); border: 1.5px solid var(--indigo); border-radius: 999px; color: var(--indigo); font-weight: 800; font-size: var(--fs-small); text-decoration: none; }
.mnav__back svg { width: 16px; height: 16px; }
.mnav__back:hover { background: var(--indigo); color: var(--white); text-decoration: none; }
[data-theme="dark"] .mnav__back { border-color: var(--lilac-light); color: var(--lilac-light); }
[data-theme="dark"] .mnav__back:hover { background: var(--lilac-light); color: var(--ink); }
.mnav__store { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.mnav__store:hover { border-color: var(--brand-soft); text-decoration: none; }
.mnav__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--indigo); color: var(--white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mnav__store-t { display: flex; flex-direction: column; min-width: 0; }
.mnav__store-n { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav__store-l { font-size: var(--fs-label); color: var(--brand); font-weight: 700; }
.mnav__group { display: flex; flex-direction: column; gap: 2px; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.mnav__head { font-size: var(--fs-small); font-weight: 800; color: var(--text); padding: 0 var(--s-3) var(--s-2); letter-spacing: -0.005em; }
.mnav a:not(.mnav__back):not(.mnav__store) { display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding: 0 var(--s-3); border-radius: 12px; color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.mnav a svg { width: 18px; height: 18px; flex: none; }
.mnav a:not(.mnav__back):not(.mnav__store):hover { background: var(--surface-2); color: var(--text); }
.mnav a[aria-current="page"] { background: var(--mist); color: var(--brand) !important; font-weight: 800 !important; }
[data-theme="dark"] .mnav a[aria-current="page"] { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--lilac-light) !important; }
.mnav__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--brand); color: var(--bg); font-size: var(--fs-micro); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .mnav { position: static; gap: var(--s-3); }
  .mnav__group { flex-direction: row; overflow-x: auto; border-top: 0; padding-top: 0; gap: var(--s-2); scrollbar-width: none; display: contents; }
  .mnav__head { display: none; }
  .mnav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-2); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mnav__store { display: none; }
  .mnav a:not(.mnav__store) { flex: none; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
  .mnav__back { min-height: 40px; }
}

/* ---- maker store header ---- */
.store-head { align-items: flex-start; flex-wrap: nowrap; gap: var(--s-6); }
.store-head .store-logo { flex: none; }
.store-head__body { gap: var(--s-3); min-width: 0; }
.store-head__name { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.store-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.store-head__place { font-size: var(--fs-small); color: var(--text-muted); font-weight: 600; }
.store-head__bio { font-size: var(--fs-body); margin: 0; max-width: 60ch; }
.store-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
.store-head__actions .btn { min-height: 40px; }
.socials { display: inline-flex; gap: var(--s-1); margin-left: var(--s-2); padding-left: var(--s-3); border-left: 1px solid var(--line); }
.social { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.social:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
@media (max-width: 640px) {
  .store-head { gap: var(--s-4); }
  .store-head .store-logo { width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem; }
  .socials { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; }
}

/* Follow: primary-weight pill that turns into a calm "Following" */
.btn--follow { background: var(--indigo); color: var(--white); border: 1.5px solid var(--indigo); min-width: 128px; position: relative; }
.btn--follow:hover { filter: brightness(1.12); }
.btn--follow .follow-tick { display: none; }
.btn--follow[aria-pressed="true"] { background: var(--surface); color: var(--indigo); border-color: var(--line); }
.btn--follow[aria-pressed="true"] .follow-ico { display: none; }
.btn--follow[aria-pressed="true"] .follow-tick { display: block; color: var(--brand-soft); }
[data-theme="dark"] .btn--follow { background: var(--lilac-light); color: var(--ink); border-color: var(--lilac-light); }
[data-theme="dark"] .btn--follow[aria-pressed="true"] { background: transparent; color: var(--lilac-light); border-color: color-mix(in srgb, var(--white) 20%, transparent); }
.btn--follow.is-pop { animation: follow-pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes follow-pop { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 70% { transform: scale(.97); } 100% { transform: scale(1); } }
.btn--follow.is-pop .follow-tick { animation: tick-draw .45s ease-out; }
@keyframes tick-draw { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.follow-burst { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 120; }
.follow-burst svg { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); animation: burst .8s cubic-bezier(.15, .8, .3, 1) forwards; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(90deg); } }
[data-follow-count].is-tick { display: inline-block; animation: count-tick .5s ease-out; color: var(--brand); }
@keyframes count-tick { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(520px, calc(100vw - 32px)); padding: var(--s-3) var(--s-5); border-radius: 14px; background: var(--ink); color: var(--white); font-size: var(--fs-small); font-weight: 600; box-shadow: 0 16px 40px rgba(14, 11, 29, .3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 130; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
[data-theme="dark"] .toast { background: var(--lilac-light); color: var(--ink); }

/* ---- store About ---- */
.store-about__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); margin-top: var(--s-4); }
.store-about__facts { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: var(--s-2) var(--s-5); }
.store-about__facts div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.store-about__facts div:last-child { border-bottom: 0; }
.store-about__facts dt { color: var(--text-muted); } .store-about__facts dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 760px) { .store-about__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- listing form: choice cards, picks, type-ahead, licence result ---- */
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.choice-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) var(--s-4) var(--s-4) calc(var(--s-4) + 28px); border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; }
.choice-card input { position: absolute; left: var(--s-4); top: calc(var(--s-4) + 2px); width: 18px; height: 18px; accent-color: var(--brand); }
.choice-card__t { font-weight: 800; }
.choice-card__d { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45; }
.choice-card:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 22%, transparent); }
.picks { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: var(--fs-small); font-weight: 700; color: var(--text); }
.pick input:checked + span { border-color: var(--brand); background: var(--brand); color: var(--white); }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 40%, transparent); }
[data-theme="dark"] .pick input:checked + span { background: var(--lilac-light); border-color: var(--lilac-light); color: var(--ink); }
.typeahead { position: relative; }
.typeahead__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.typeahead .input { padding-left: 42px; }
.typeahead__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); max-height: 320px; overflow: auto; }
.typeahead__opt { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.typeahead__opt:hover, .typeahead__opt.is-active { background: var(--mist); }
[data-theme="dark"] .typeahead__opt:hover, [data-theme="dark"] .typeahead__opt.is-active { background: color-mix(in srgb, var(--white) 8%, transparent); }
.typeahead__name { font-weight: 700; }
.typeahead__owner { font-size: var(--fs-small); color: var(--text-muted); flex: 1; }
.typeahead__tag { font-size: var(--fs-label); font-weight: 800; color: var(--brand); background: var(--mist); padding: 2px 8px; border-radius: 999px; }
.typeahead__tag--no { color: var(--error); background: var(--error-bg, #FCE6E8); }
.typeahead__opt--other { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 10px 10px; }
.typeahead__opt--other .typeahead__name { color: var(--brand); }
.lic-result { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); border-radius: 14px; font-size: var(--fs-small); line-height: 1.5; border: 1.5px solid; }
.lic-result__t { font-weight: 800; font-size: var(--fs-body); } .lic-result__t small { font-weight: 600; color: var(--text-muted); }
.lic-result--ok { border-color: var(--brand-soft); background: var(--mist); }
.lic-result--review { border-color: color-mix(in srgb, #B8541F 50%, transparent); background: #FBE9E2; color: #5A2A10; }
.lic-result--no { border-color: color-mix(in srgb, #C62B3C 45%, transparent); background: #FCE6E8; color: #5C1420; }
[data-theme="dark"] .lic-result--ok { background: color-mix(in srgb, var(--white) 6%, transparent); }
[data-theme="dark"] .lic-result--review { background: #33170C; color: #F5C4AE; }
[data-theme="dark"] .lic-result--no { background: #36101A; color: #FFB3BB; }

/* ---- listing form: safety ---- */
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); }
.check-card { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.check-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.check-card span { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); }
.check-card small { color: var(--text-muted); font-size: var(--fs-label); line-height: 1.35; }
.check-card:has(input:checked) { border-color: var(--brand); }
.safety-preview { margin: 0 0 var(--s-3); padding: var(--s-3) var(--s-4); border-radius: 12px; background: #FBE9E2; color: #5A2A10; font-size: var(--fs-small); }
[data-theme="dark"] .safety-preview { background: #33170C; color: #F5C4AE; }
[data-safety].field--invalid .safety-grid .check-card { border-color: var(--error); }
@media (max-width: 760px) { .choice-cards, .safety-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- listing form: shipping ---- */
.seg--3 { display: flex; width: 100%; }
.field--inline { max-width: 280px; margin-top: var(--s-3); }
.money-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.money-input span { padding: 0 0 0 var(--s-4); font-weight: 800; color: var(--text-muted); }
.money-input .input { border: 0; box-shadow: none; padding-left: 6px; }
.dim-grid--pkg { grid-template-columns: repeat(3, minmax(0, 1fr)) 90px minmax(0, 1fr) 90px; }
@media (max-width: 760px) { .dim-grid--pkg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rate-est { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: 12px; background: var(--mist); font-size: var(--fs-small); }
.rate-est .t-strong { width: 100%; }
[data-theme="dark"] .rate-est { background: color-mix(in srgb, var(--white) 6%, transparent); }
.pro-tip { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "badge title btn" "badge desc btn"; gap: 2px var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border-radius: 16px; background: var(--indigo); color: var(--white); }
.pro-tip__badge { grid-area: badge; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; align-self: center; }
.pro-tip__badge svg { width: 12px; height: 12px; fill: var(--ink); }
.pro-tip__t { grid-area: title; font-weight: 800; font-size: var(--fs-h3); }
.pro-tip__d { grid-area: desc; color: var(--lilac-light); font-size: var(--fs-small); }
.pro-tip .btn { grid-area: btn; background: var(--white); color: var(--indigo); border-color: transparent; }
.pro-tip .btn:disabled { opacity: 1; background: color-mix(in srgb, var(--white) 14%, transparent); color: var(--white); }
@media (max-width: 760px) { .pro-tip { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "desc" "btn"; justify-items: start; gap: var(--s-2); } }
.publish-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }

/* ---- preview as a buyer ---- */
.dialog--wide { width: min(880px, calc(100vw - 2rem)); }
.pv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-6); }
.pv__img { border-radius: 18px; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 5; }
.pv__img img { width: 100%; height: 100%; object-fit: cover; }
.pv__body { display: flex; flex-direction: column; gap: var(--s-2); }
.pv__maker { font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.pv__title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.pv__lic { font-size: var(--fs-label); font-weight: 800; color: var(--brand); }
.pv__price { font-size: var(--fs-h2); font-weight: 800; }
.pv__ship, .pv__size { font-size: var(--fs-small); color: var(--text-muted); }
.pv__safety { margin: 0; padding: var(--s-3); border-radius: 12px; background: #FBE9E2; color: #5A2A10; font-size: var(--fs-small); }
.pv__desc { font-size: var(--fs-small); line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .pv { grid-template-columns: minmax(0, 1fr); } }
.t-brand { color: var(--brand); font-weight: 800; }
[data-theme="dark"] .t-brand { color: var(--lilac-light); }

/* ---- admin console ---- */
.header--admin { background: var(--night); border-bottom: 0; color: var(--white); }
.header--admin .logo__img--light { display: none; } .header--admin .logo__img--dark { display: block; }
.header--admin .admin-who, .header--admin .admin-who strong { color: var(--white); } .header--admin .admin-who small { color: var(--lilac-light); }
.maker-logo__tag--admin { background: var(--lilac-light); color: var(--indigo); }
.admin-who { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); }
.admin-who span:last-child { display: flex; flex-direction: column; line-height: 1.2; } .admin-who small { color: var(--text-muted); }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.search--sm { min-height: 44px; max-width: 360px; flex: 1; }
.areview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s-5); align-items: start; }
.q-list { display: flex; flex-direction: column; gap: var(--s-2); }
.q-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb main status" "thumb ai ai"; gap: 2px var(--s-3); align-items: center; padding: var(--s-3); border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.q-row.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 20%, transparent); }
.q-row__thumb { grid-area: thumb; width: 48px; height: 48px; border-radius: 12px; background: var(--mist); align-self: start; }
.q-row__thumb--violet, .q-photo--violet { background: linear-gradient(135deg, #8B7CC7, #5B7BE0); }
.q-row__thumb--amber { background: #F2A93B; } .q-row__thumb--lilac, .q-photo--lilac { background: var(--lilac-light); } .q-row__thumb--indigo { background: var(--indigo); } .q-row__thumb--slate { background: var(--slate, #3A3A52); }
.q-row__main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.q-row__t { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-row__m { font-size: var(--fs-label); color: var(--text-muted); }
.q-row__ai { grid-area: ai; font-size: var(--fs-label); font-weight: 700; color: var(--brand); }
.q-row__ai small { color: var(--text-muted); font-weight: 600; margin-left: 6px; }
.q-status { grid-area: status; font-size: var(--fs-label); font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.q-status--new { background: var(--mist); color: var(--indigo); }
.q-status--wait { background: #FBE9E2; color: #8A3A14; }
.q-status--ok { background: #E3F3EA; color: #1E7A4E; }
.q-status--no { background: #FCE6E8; color: #A3202F; }
.q-detail { position: sticky; top: 88px; }
.q-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.q-photo { aspect-ratio: 1; border-radius: 14px; background: var(--mist); }
.ai-help--admin { background: var(--mist); color: var(--text); }
.ai-help--admin svg { color: var(--amber); flex: none; }
@media (max-width: 1100px) { .areview { grid-template-columns: minmax(0, 1fr); } .q-detail { position: static; } }
@media (max-width: 760px) { .admin-stats { grid-template-columns: minmax(0, 1fr); } }

/* ---- maker drops ---- */
.page-head--drop { align-items: flex-end; }
.jd-logo--page img { height: 52px; }
.drop-list { display: flex; flex-direction: column; gap: var(--s-3); }
.mdrop { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.mdrop__img { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--mist); }
.mdrop__img img, .mdrop__img .ph-card { width: 100%; height: 100%; object-fit: cover; }
.mdrop__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mdrop__top { display: flex; align-items: center; gap: var(--s-3); }
.mdrop__no { font-size: var(--fs-label); font-weight: 800; color: var(--text-muted); letter-spacing: 0.06em; }
.mdrop__t { font-weight: 800; font-size: var(--fs-body); }
.mdrop__m { font-size: var(--fs-small); color: var(--text-muted); }
.mdrop__m strong { color: var(--text); }
.mdrop__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; }
.drop-meter { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; margin: 4px 0; max-width: 360px; }
.drop-meter span { display: block; height: 100%; width: 0; background: var(--drop); border-radius: 3px; transition: width .6s ease; }
.spill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-label); font-weight: 800; }
.spill--live { background: color-mix(in srgb, var(--drop) 14%, transparent); color: var(--drop); }
.spill--soon { background: var(--mist); color: var(--indigo); }
.spill--done { background: var(--surface-2); color: var(--text-muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.6); opacity: 0; } }
.drop-rules__list { margin: var(--s-2) 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); color: var(--text-muted); }
.drop-rules__list strong { color: var(--text); }
.drop-rules { display: flex; flex-direction: column; gap: var(--s-1); }
@media (max-width: 760px) { .mdrop { grid-template-columns: 64px minmax(0, 1fr); } .mdrop__img { width: 64px; height: 64px; } .mdrop__actions { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---- schedule ---- */
.sched-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) auto minmax(0, 1.2fr); gap: var(--s-3); align-items: end; }
@media (max-width: 760px) { .sched-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.drop-summary { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); border-radius: 14px; background: color-mix(in srgb, var(--drop) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--drop) 25%, transparent); font-size: var(--fs-small); line-height: 1.5; }
.drop-summary:empty { display: none; }

/* ---- date field with calendar ---- */
.datefield { position: relative; display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.datefield:focus-within { border-color: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 25%, transparent); }
.datefield .input { border: 0; box-shadow: none; flex: 1; min-width: 0; background: transparent; }
.datefield__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; flex: none; border: 0; border-left: 1px solid var(--line); background: none; color: var(--text-muted); cursor: pointer; border-radius: 0 14px 14px 0; }
.datefield__btn svg { width: 20px; height: 20px; }
.datefield__btn:hover { color: var(--brand); background: var(--surface-2); }
.datefield__btn--static { cursor: default; } .datefield__btn--static:hover { background: none; color: var(--text-muted); }
.field--invalid .datefield { border-color: var(--error); }
.cal { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(300px, calc(100vw - 32px)); padding: var(--s-3); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 48px rgba(14, 11, 29, .18); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.cal__title { font-weight: 800; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal__nav:hover { background: var(--surface-2); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow span { font-size: var(--fs-micro); font-weight: 800; color: var(--text-muted); padding: 4px 0; }
.cal__d { height: 36px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.cal__d:hover:not([disabled]) { background: var(--mist); }
.cal__d.is-today { box-shadow: inset 0 0 0 1.5px var(--brand-soft); }
.cal__d.is-sel { background: var(--brand); color: var(--white); }
.cal__d.is-past, .cal__d[disabled] { color: var(--text-muted); opacity: .4; cursor: default; }
.cal__d--empty { height: 36px; }
.cal__foot { display: flex; justify-content: flex-end; margin-top: var(--s-2); }
.cal__today { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 800; cursor: pointer; }
[data-theme="dark"] .cal__d.is-sel { background: var(--lilac-light); color: var(--ink); }

/* ---- orders ---- */
.kv__key { white-space: nowrap; }
.kv--wide .kv__key { white-space: normal; min-width: 0; }
.kv--wide .kv__row { gap: var(--s-4); }
.kv__val small { font-weight: 500; font-size: var(--fs-label); }
.addr { font-style: normal; line-height: 1.5; }
.lines { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.nowrap { white-space: nowrap; }
.order-no { font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.cell-2 { display: flex; flex-direction: column; line-height: 1.3; }
.cell-2 small { color: var(--text-muted); font-size: var(--fs-label); }
.table__name { min-width: 140px; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .table-wrap { padding: 0 var(--s-4); }
.table--orders td { vertical-align: middle; }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-muted); }
.pager { display: flex; align-items: center; gap: var(--s-2); }
.orders-tools { display: flex; flex-direction: column; gap: var(--s-3); }
.orders-filter { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.orders-filter .search--sm { max-width: none; flex: 1 1 280px; }
.select--sm { min-height: 44px; width: auto; }
.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: var(--s-3) var(--s-3); border: 0; background: none; font: inherit; font-weight: 700; font-size: var(--fs-small); color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tab span { font-size: var(--fs-micro); font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); }
.tab.is-on { color: var(--text); border-bottom-color: var(--brand); }
.tab.is-on span { background: var(--brand); color: var(--bg); }
.label-sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.label--mini { font-size: 10px; }
@media (max-width: 760px) { .label-sheet { grid-template-columns: minmax(0, 1fr); } }

/* ---- messages ---- */
.tag { display: inline-flex; align-self: flex-start; font-size: var(--fs-micro); font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); }
.tag--custom { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #7A4A06; }
[data-theme="dark"] .tag--custom { color: var(--amber); }
.offer-panel { padding: var(--s-4); border-radius: 16px; border: 1.5px solid var(--brand-soft); background: var(--mist); }
[data-theme="dark"] .offer-panel { background: color-mix(in srgb, var(--white) 6%, transparent); }
.compose--thread { display: flex; flex-direction: column; gap: var(--s-2); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-2); background: var(--surface); }
.compose--thread .textarea { border: 0; box-shadow: none; resize: vertical; min-height: 56px; }
.compose__bar { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.compose__send { margin-left: auto; }
.offer-card { align-self: flex-end; display: flex; flex-direction: column; gap: 4px; max-width: 320px; padding: var(--s-4); border-radius: 16px; background: var(--indigo); color: var(--white); }
.offer-card .badge { color: var(--amber); } .offer-card .t-muted { color: var(--lilac-light); }
.offer-card__p { font-size: var(--fs-h2); font-weight: 800; }

/* ---- payouts ---- */
.money-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--s-3); align-items: stretch; }
.money-flow__arrow { display: flex; align-items: center; color: var(--text-muted); } .money-flow__arrow svg { width: 22px; height: 22px; }
.money-step { display: flex; flex-direction: column; gap: 4px; padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.money-step__k { font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.money-step__v { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.money-step__d { font-size: var(--fs-small); color: var(--text-muted); }
.money-step--on { border-color: var(--brand-soft); background: var(--mist); }
.money-step--on .money-step__v { color: var(--brand); }
[data-theme="dark"] .money-step--on { background: color-mix(in srgb, var(--white) 6%, transparent); } [data-theme="dark"] .money-step--on .money-step__v { color: var(--lilac-light); }
@media (max-width: 760px) { .money-flow { grid-template-columns: minmax(0, 1fr); } .money-flow__arrow { justify-content: center; transform: rotate(90deg); } }
.bank-row { display: flex; align-items: center; gap: var(--s-4); }
.bank-row__logo { width: 44px; height: 44px; border-radius: 12px; background: #117ACA; color: var(--white); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bank-row .spill { margin-left: auto; }
.spill--ok { background: #E3F3EA; color: #1E7A4E; }
[data-theme="dark"] .spill--ok { background: #12301F; color: #5FD39A; }
.spill--paid { background: var(--mist); color: var(--indigo); }
[data-theme="dark"] .spill--paid { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--lilac-light); }
.spill--ok .live-dot::after { animation-duration: 2.6s; }
.card__pad { padding: var(--s-4) var(--s-5) 0; }

/* ---- store profile ---- */
.logo-row { display: flex; align-items: center; gap: var(--s-4); }
.handle--icon .handle__ico { display: inline-flex; padding-left: var(--s-3); color: var(--text-muted); }
.handle--icon .handle__ico svg { width: 18px; height: 18px; }
.handle--icon .handle__prefix { padding-left: 8px; }
.social-preview { display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.socials--preview { margin: 0; padding: 0; border: 0; }

/* ---- verification ---- */
.vsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.vstep { display: flex; gap: var(--s-4); align-items: flex-start; }
.vstep__n { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text-muted); flex: none; }
.vstep__n svg { width: 16px; height: 16px; }
.vstep.is-done .vstep__n { background: #1E7A4E; color: var(--white); }
.vstep__b { display: flex; flex-direction: column; gap: 4px; }
.vstep__t { font-weight: 800; } .vstep__d { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; } .vstep__m { font-size: var(--fs-label); color: var(--text-muted); font-weight: 600; }
.vhow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); }
@media (max-width: 760px) { .vhow { grid-template-columns: minmax(0, 1fr); } }

/* ---- maker help ---- */
.assist--maker { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.chat__chips--pad { padding: 0 var(--s-4) var(--s-3); }
@media (max-width: 900px) { .assist--maker { grid-template-columns: minmax(0, 1fr); } }

/* ---- studio ---- */
.studio__badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.studio__badge svg { width: 14px; height: 14px; fill: var(--spark); }
.credits { display: flex; flex-direction: column; align-items: flex-end; }
.credits__n { font-size: var(--fs-h2); font-weight: 800; color: var(--brand); line-height: 1; }
.credits__k { font-size: var(--fs-label); color: var(--text-muted); }
.studio__pieces { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.studio__piece { position: relative; width: 120px; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-label); font-weight: 700; cursor: pointer; }
.studio__piece input { position: absolute; opacity: 0; }
.studio__piece img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; border: 2px solid transparent; background: var(--mist); }
.studio__piece input:checked + img { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 30%, transparent); }
.studio__out { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.studio__card { margin: 0; display: flex; flex-direction: column; gap: var(--s-2); width: 220px; }
.studio__card svg { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-soft); }
.studio__card--loading { height: 300px; border-radius: 16px; background: linear-gradient(100deg, var(--mist) 30%, var(--surface) 50%, var(--mist) 70%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.studio__plan { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-4); border-radius: 14px; background: var(--mist); }
.studio__plan .t-small { flex: 1 1 280px; }
[data-theme="dark"] .studio__plan { background: color-mix(in srgb, var(--white) 6%, transparent); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.plan { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: 16px; border: 1.5px solid var(--line); }
.plan--on { border-color: var(--brand); }
.plan__n { font-weight: 800; } .plan__p { font-size: var(--fs-h2); font-weight: 800; } .plan__p small { font-size: var(--fs-small); color: var(--text-muted); }
.plan ul { margin: 0; padding-left: 1.1em; font-size: var(--fs-small); color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }

.split .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.share-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; background: var(--grad-brand-soft); border-color: transparent; }
.share-card__body { display: flex; flex-direction: column; gap: var(--s-2); }
.share-card__art { display: flex; }
.share-card__art img { width: 96px; height: 150px; object-fit: cover; border-radius: 14px; border: 3px solid var(--surface); box-shadow: var(--shadow-soft); }
.share-card__art img + img { margin-left: -28px; transform: rotate(6deg); }
@media (max-width: 640px) { .share-card { grid-template-columns: minmax(0, 1fr); } .share-card__art { display: none; } }

/* ---- dark mode contrast fixes (Nov 8) ---- */
[data-theme="dark"] .seg__opt input:checked + span { color: var(--ink); }
.stat__d--plain { color: var(--text-muted); }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .plans--3 { grid-template-columns: 1fr; } }
.plan-what { padding: var(--s-4); border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: var(--s-2); }
.plan-what ul { margin: 0; padding-left: 1.1em; font-size: var(--fs-small); color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }

/* ---- Chat with us popup ---- */
.support { width: min(560px, calc(100vw - 2rem)); }
.support .dialog__inner { gap: var(--s-4); }
.support__step { display: flex; flex-direction: column; gap: var(--s-3); }
.support__step[hidden] { display: none; }
.support__list { display: flex; flex-direction: column; gap: var(--s-2); }
.support-order { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 64px; padding: var(--s-2) var(--s-3); border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.support-order:hover, .support-order:focus-visible { border-color: var(--brand); background: var(--surface-2); outline: none; }
.support-order__img { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); }
.support-order__img img, .support-order__img .ph-card { width: 100%; height: 100%; object-fit: cover; display: block; }
.support-order__img--icon { color: var(--brand); }
.support-order__img--icon svg { width: 22px; height: 22px; }
.support-order__t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.support-order__n { font-weight: 800; font-size: var(--fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.support-order__m { font-size: var(--fs-label); color: var(--text-muted); }
.support-order__s { font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.chat--dialog { border: 0; border-radius: 0; background: transparent; }
.chat--dialog .chat__log { padding: 0; min-height: 220px; max-height: min(420px, 50vh); }
.chat--dialog .chat__form { padding: var(--s-3) 0 0; }
.chat--dialog .chat__foot { padding: 0; }
.support__ctx { display: flex; align-items: center; gap: var(--s-2); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
@media (max-width: 480px) { .support-order__s { display: none; } }
.drop-card .status, .drop-card__count { white-space: nowrap; }
.drop-card__img .ph-card { width: 100%; height: 100%; border-radius: 0; }

/* ---- real network logos (Simple Icons, CC0) ---- */
.share-btn__slot { background: transparent; }
.share-btn__slot svg { width: 18px; height: 18px; display: block; }
.share-btn--snapchat .share-btn__slot { background: transparent; }
.social--instagram:hover { color: #E4405F; } .social--tiktok:hover { color: var(--text); } .social--youtube:hover { color: #FF0000; }
.social--x:hover { color: var(--text); } .social--linkedin:hover { color: #0A66C2; } .social--facebook:hover { color: #0866FF; }
.handle__ico svg { width: 18px; height: 18px; }
.handle--icon .handle__ico svg { width: 18px; height: 18px; }

/* ---- categories and keywords ---- */
.field--full { grid-column: 1 / -1; }
.tag-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag-chips:empty { display: none; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 6px 0 12px; border-radius: var(--r-pill); background: var(--mist); color: var(--indigo); font-size: var(--fs-small); font-weight: 700; }
[data-theme="dark"] .tag-chip { background: color-mix(in srgb, var(--white) 10%, transparent); color: var(--lilac-light); }
.tag-chip__x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tag-chip__x:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.typeahead__empty { padding: 10px 12px; font-size: var(--fs-small); color: var(--text-muted); }
.row--wrap { flex-wrap: wrap; }

/* ---- sale, leaving and labels on the listing form ---- */
.promo-set { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: var(--s-4) var(--s-5); align-items: start; }
.promo-set__row { grid-column: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.label-preview { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: var(--s-2); align-items: center; position: sticky; top: 96px; }
.product-card--mini { width: 100%; }
@media (max-width: 760px) { .promo-set { grid-template-columns: minmax(0, 1fr); } .label-preview { grid-column: 1; grid-row: auto; position: static; max-width: 220px; } }

/* ---- product labels (on every product card) ---- */
.product-card__img { position: relative; }
.plabels { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.plabel { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 1; letter-spacing: 0.01em; box-shadow: 0 2px 8px rgb(14 11 29 / 0.12); white-space: nowrap; }
.plabel svg { width: 11px; height: 11px; }
.plabel--sale { background: var(--amber); color: #0E0B1D; }
.plabel--leaving { background: #0E0B1D; color: #fff; }
.plabel--ship { background: #fff; color: #2A1E4D; }
.plabel--season { background: #2A1E4D; color: #fff; } .plabel--season svg { color: var(--amber); }
.plabel--own { background: #ECEBF5; color: #2A1E4D; }
.plabel--new { background: #fff; color: #2A1E4D; }
.plabel--drop { background: linear-gradient(135deg, #8B7CC7, #2F7BF5); color: #fff; }
.plabel--sponsored { background: rgb(255 255 255 / 0.92); color: #3A3A52; font-weight: 700; }
.product-card__price s { color: var(--text-muted); font-weight: 600; margin-left: 4px; }
.product-card__price .is-sale { color: var(--error); }

/* ---- share kit note at publish ---- */
.kit-note { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: 16px; background: var(--surface-2); }
.kit-note p { margin: 0; flex: 1; min-width: 200px; }

/* ---- share kit preview ---- */
.kit__item { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center; }
.kit__item img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.kit__item:hover img, .kit__item:focus-visible img { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.kit-dialog { width: min(960px, calc(100vw - 2rem)); }
.kit-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.kit-view__stage { display: flex; justify-content: center; background: var(--surface-2); border-radius: 16px; padding: var(--s-4); transition: opacity var(--t-base) var(--ease); }
.kit-view__stage.is-busy { opacity: 0.45; }
.kit-view__svg { width: auto; max-width: 100%; max-height: min(62vh, 640px); height: auto; border-radius: 10px; box-shadow: var(--shadow-soft); display: block; }
.kit-view__side { display: flex; flex-direction: column; gap: var(--s-4); }
.kit-view__saves { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.kit-view__saves svg { width: 18px; height: 18px; }
.kit-edit { display: flex; flex-direction: column; gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.kit-edit .row .input { flex: 1; }
.kit-photos { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.kit-photo { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); }
.kit-photo img { width: 100%; height: 100%; object-fit: cover; }
.kit-photo.is-on { border-color: var(--brand); }
.kit-photo--add { border: 1.5px dashed var(--line); }
.kit-photo--add svg { width: 20px; height: 20px; }
.studio__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.studio__open svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .kit-view { grid-template-columns: minmax(0, 1fr); } .kit-view__svg { max-height: 46vh; } }

/* ---- Sale ---- */
.nav__link--sale { color: var(--error); }
.sale-hero { padding: var(--s-6) 0 var(--s-4); }
.sale-hero__tag { align-self: flex-start; font-size: var(--fs-small); padding: 7px 14px; }
.sale-filters { margin-bottom: var(--s-4); }
.chip--btn.is-on { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
[data-theme="dark"] .chip--btn.is-on { background: var(--lilac-light); color: var(--ink); border-color: var(--lilac-light); }
.product-card[hidden] { display: none; }

/* ---- Promote ---- */
.promo-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.promo-opt { position: relative; cursor: pointer; }
.promo-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.promo-opt__body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: var(--s-4); border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); }
.promo-opt input:checked + .promo-opt__body { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 30%, transparent); }
.promo-opt input:focus-visible + .promo-opt__body { outline: 3px solid var(--brand-soft); }
.promo-opt__price { font-weight: 800; font-size: var(--fs-h3); color: var(--text); margin-top: auto; }
.range-input { width: 100%; accent-color: var(--indigo); }
[data-theme="dark"] .range-input { accent-color: var(--lilac-light); }
.boost-sum { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-4); border-radius: 16px; background: var(--surface-2); }
@media (max-width: 860px) { .promo-opts { grid-template-columns: minmax(0, 1fr); } }
.ai-out { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-4); border-radius: 16px; border: 1.5px solid var(--amber); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); margin-bottom: var(--s-4); }
.ai-out[hidden], [data-live-banner][hidden] { display: none; }
[data-live-banner] { margin-bottom: var(--s-4); }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plans--4 { grid-template-columns: minmax(0, 1fr); } }
.lic-result--open { border-color: color-mix(in srgb, var(--lilac) 50%, transparent); background: var(--mist); color: var(--indigo); }
[data-theme="dark"] .lic-result--open { background: color-mix(in srgb, var(--white) 8%, transparent); color: var(--lilac-light); }

/* ---- messages composer ---- */
.req-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: 16px; background: var(--surface-2); }
.req-actions[hidden] { display: none; }
.compose__photo { gap: 6px; cursor: pointer; }
.compose__hint { flex: 1; min-width: 0; }
.compose__thumbs { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.compose__thumbs:empty { display: none; }
.compose__thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.compose__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row--end { justify-content: flex-end; }
.picks--stack { flex-direction: column; align-items: stretch; }
@media (max-width: 560px) { .compose__hint { display: none; } }
.logo-row .btn { align-self: flex-start; }
.link-status { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.link-status .t-small { flex: 1; min-width: 200px; }
.link-big--sm { font-size: var(--fs-h3); margin: 0; }
.link-warn { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: 16px; background: color-mix(in srgb, var(--amber) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent); }
.link-warn[hidden] { display: none; }

/* ---- Dream it requests inbox ---- */
.bids-free { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--indigo); color: var(--white); }
.bids-free__badge { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 800; font-size: var(--fs-small); }
.bids-free__items { display: flex; gap: var(--s-2) var(--s-5); flex-wrap: wrap; font-size: var(--fs-small); color: var(--lilac-light); }
.bids-free__items strong { color: var(--white); }
[data-theme="dark"] .bids-free { background: color-mix(in srgb, var(--white) 6%, var(--surface)); border: 1px solid var(--line); }
.rq-row { cursor: pointer; }
.rq-row:hover td, .rq-row.is-on td { background: var(--surface-2); }
.rq-row:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: -3px; }
.rq-title { display: flex; align-items: center; gap: var(--s-2); }
.rq-table td:first-child { min-width: 260px; }
.rq-table td .btn + .btn { margin-left: 4px; }
.tag--new { background: var(--amber); color: var(--ink); }
.dialog--side { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(520px, 100vw); border-radius: var(--r-card) 0 0 var(--r-card); }
.dialog--side .dialog__inner { min-height: 100%; }
.rd-brief { margin: 0; font-size: var(--fs-body); line-height: 1.5; }
.rd-bid { padding: var(--s-4); border-radius: 16px; background: var(--surface-2); }
.rd-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; position: sticky; bottom: 0; background: var(--surface); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.rd-actions [data-rd-send] { margin-left: auto; }
@media (max-width: 560px) { .dialog--side { border-radius: 0; } }

/* ---- followers on the dashboard ---- */
.followers { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; }
.followers__count { display: flex; flex-direction: column; gap: 2px; }
.followers__body { display: flex; align-items: center; gap: var(--s-4); }
.followers__body p { margin: 0; }
.followers__faces { display: flex; flex: none; }
.followers__faces span { width: 34px; height: 34px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--surface); background: var(--mist); color: var(--indigo); font-size: var(--fs-label); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.followers__faces span:first-child { margin-left: 0; }
@media (max-width: 760px) { .followers { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } }
.orders-tools .select { width: auto; flex: none; }
.rq-table td:first-child { min-width: 220px; }
.rd-actions { flex-wrap: nowrap; }
.compose--thread > .field__label { align-self: flex-start; }
.orders-tools--row { flex-direction: row; align-items: center; flex-wrap: wrap; }
.rq-table td:last-child { width: 1%; }
.rq-pass { width: 36px; height: 36px; min-height: 36px; vertical-align: middle; }

/* ---- admin trust alerts ---- */
.spill--risk { background: var(--error-bg); color: var(--error); }
.card-pad { padding: var(--s-5) var(--s-5) 0; }
.t-row.is-done td { opacity: 0.55; }
.alert-acts { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 130px; }
.alert-acts .btn { justify-content: center; }
[data-page="admin-trust"] .table td:nth-child(3) { min-width: 280px; }
.dialog--side { max-width: 100vw; }
@media (max-width: 560px) { .rd-actions { flex-wrap: wrap; } .rd-actions [data-rd-send] { flex: 1 0 100%; margin-left: 0; } }
@media (min-width: 1100px) { [data-page="admin-trust"] .admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- This Way Mart logo · artwork from assets/brand, light and dark files swap with the theme ---- */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo__img { display: block; height: 32px; width: auto; }
.logo__img--dark { display: none; }
[data-theme="dark"] .logo__img--light { display: none; }
[data-theme="dark"] .logo__img--dark { display: block; }
.logo--footer .logo__img { height: 44px; }
.logo--th .logo__img { height: 22px; }
.label__wordmark { display: block; height: 18px; width: auto; }
@media (max-width: 640px) { .logo__img { height: 26px; } .logo--footer .logo__img { height: 36px; } }

/* ---- Dream it · guided request ---- */
.dream-gate { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-7); }
.dream-gate__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.dream-gate__why { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--text-muted); }
.dream-gate__why li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--s-2); border-radius: 50%; background: var(--brand); vertical-align: middle; }
.choice-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.picks { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { display: inline-flex; flex-direction: column; justify-content: center; min-height: var(--tap-min); padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: var(--fs-small); font-weight: 700; line-height: 1.3; }
.pick small { font-weight: 500; color: var(--text-muted); }
.pick:hover span { border-color: var(--brand-soft); }
.pick input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.q-set { display: flex; flex-direction: column; }
.q { display: flex; flex-direction: column; gap: var(--s-3); margin: 0; padding: var(--s-5) 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.q:first-child { border-top: 0; padding-top: 0; }
.q__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); padding: 0; }
.q__t { font-weight: 800; }
.q__tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--r-pill); background: var(--notice-bg); color: var(--notice); font-size: var(--fs-micro); font-weight: 700; }
.ready { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface-2); }
.ready__bar { display: flex; gap: 4px; }
.ready__cell { flex: 1 1 0; height: 8px; border-radius: 4px; background: var(--line); }
.ready__cell.is-done { background: var(--brand); }
.ready__msg { margin: 0; font-weight: 700; }
.ready--ok { background: var(--success-bg); }
.ready--ok .ready__cell { background: var(--success); }
.ready--ok .ready__msg { color: var(--success); }
.upfront { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); border-radius: 14px; background: var(--notice-bg); }
.upfront__t { font-size: var(--fs-label); font-weight: 800; color: var(--notice); }
@media (max-width: 760px) {
  .choice-cards--3 { grid-template-columns: minmax(0, 1fr); }
  .dream-gate { padding: var(--s-5); }
  .dream-gate__acts .btn { flex: 1 1 100%; }
}

/* ---- Dream it · one page flow ---- */
.dream-who { min-height: 24px; }
.concepts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.size-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.size-row .field:first-child { width: 110px; }
.size-row .field:nth-child(2) { width: 130px; }
.budget-exact { max-width: 260px; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.send-row__free { font-weight: 800; color: var(--brand); }
.send-legal { margin: 0; font-size: var(--fs-label); color: var(--text-muted); line-height: 1.5; max-width: 60ch; }
.join__head { text-align: center; }
.join__foot { margin: 0; text-align: center; }
@media (max-width: 760px) { .send-row .btn { flex: 1 1 100%; } .send-row__free { flex: 1 1 100%; text-align: center; } }
.concepts--2 { max-width: 560px; }

/* ---- Dream it · question spacing ---- */
.q-set { margin-top: var(--s-6); }
.q-set .q { gap: var(--s-4); margin: var(--s-7) 0 0; padding: 0; border-top: 0; }
.q-set .q:first-child { margin-top: 0; }
.q-set .q > legend { float: left; width: 100%; padding: 0; margin: 0; }
.q-set .q > legend + * { clear: both; }
.q-set .q > .t-small { margin-top: calc(var(--s-2) * -1); }
.pick-input { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap-min); padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: text; }
.pick-input__pre { font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); }
.pick-input__field { width: 112px; border: 0; padding: 0; background: transparent; font: inherit; font-size: var(--fs-small); font-weight: 700; color: var(--text); outline: none; }
.pick-input__field::placeholder { color: var(--text-muted); font-weight: 600; }
.pick-input:hover { border-color: var(--brand-soft); }
.pick-input:focus-within, .pick-input.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.pick-input:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.pick-input.is-on .pick-input__pre { color: var(--brand); }
.when-date { max-width: 260px; }

/* ---- Dream it · picture from a link ---- */
.link-grab { display: flex; gap: var(--s-2); }
.link-grab .input { flex: 1 1 auto; min-width: 0; }
.link-grab .btn { flex: 0 0 auto; }
.link-grab__msg { margin: 0; font-weight: 700; color: var(--error); }
.link-grab__msg--ok { color: var(--success); }
.photo-list--lg .photo { width: 112px; height: 112px; border-radius: 14px; }
.photo--loading { background: var(--surface-2); }
.photo--loading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--white) 55%, transparent), transparent); animation: linkshine 1.2s infinite; }
@keyframes linkshine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.photo--loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid var(--lilac-light); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .photo--loading::before, .photo--loading::after { animation: none; } }
@media (max-width: 480px) { .photo-list--lg .photo { width: 96px; height: 96px; } }
@media (max-width: 480px) { .link-grab { flex-wrap: wrap; } .link-grab .input, .link-grab .btn { flex: 1 1 100%; } }

/* ---- reference pictures ---- */
.photo__ref { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--night) 72%, transparent); color: var(--white); font-size: 9px; font-weight: 800; letter-spacing: 0; text-align: center; pointer-events: none; }
.req-gallery--ref .req-gallery__stage, .req-gallery--ref .req-gallery__thumb { position: relative; }
.req-gallery--ref .req-gallery__stage::after { content: "For reference only"; position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--night) 78%, transparent); color: var(--white); font-size: var(--fs-label); font-weight: 800; pointer-events: none; }
.req-gallery--ref .req-gallery__thumb::after { content: "Reference"; position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; background: color-mix(in srgb, var(--night) 72%, transparent); color: var(--white); font-size: 9px; font-weight: 800; text-align: center; pointer-events: none; }
.ref-note { display: flex; flex-direction: column; gap: 4px; padding: var(--s-3) var(--s-4); border-radius: 14px; background: var(--notice-bg); }
.ref-note__t { font-size: var(--fs-label); font-weight: 800; color: var(--notice); }
.ref-note .link-btn { align-self: flex-start; }
.check-line { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; cursor: pointer; }
.check-line input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); }
.input--code { font-size: 22px; font-weight: 800; letter-spacing: .35em; text-align: center; max-width: 240px; }

/* ---- account menu ---- */
.acct { position: relative; }
.account { cursor: pointer; font: inherit; font-size: var(--fs-small); font-weight: 700; }
.account__chev { width: 16px; height: 16px; color: var(--text-muted); transition: transform .15s ease; }
.account[aria-expanded="true"] .account__chev { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 248px; display: flex; flex-direction: column; padding: var(--s-2); border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px rgba(21, 16, 52, .14); }
.acct-menu[hidden] { display: none; }
.acct-menu__who { display: flex; flex-direction: column; gap: 2px; padding: var(--s-3) var(--s-3) var(--s-2); font-size: var(--fs-small); }
.acct-menu__who span { color: var(--text-muted); font-size: var(--fs-label); overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: var(--surface-2); outline: none; }
.acct-menu__maker { color: var(--brand) !important; font-weight: 800 !important; }
.acct-menu__line { height: 1px; margin: var(--s-1) var(--s-2); background: var(--line); }
@media (max-width: 640px) { .account__chev { display: none; } .acct-menu { position: fixed; left: var(--s-4); right: var(--s-4); top: 72px; min-width: 0; } }

/* ---- Dream it send row ---- */
.send-row__free { font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.send-row__free svg { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--success); }
.send-legal { margin: 0; font-size: var(--fs-label); line-height: 1.55; color: var(--text-muted); max-width: 68ch; }
@media (max-width: 760px) { .send-row__free { text-align: center; } }

/* ---- join dialog ---- */
.dialog--join .dialog__inner { gap: var(--s-5); max-width: 420px; }
.dialog--join .divider { margin: 0; }
.join__back { align-self: center; color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: var(--fs-small); }
.join__back:hover { color: var(--text); text-decoration: underline; }
.join__foot { text-align: center; }

/* ---- after a call to action ---- */
.after-cta { margin: var(--s-3) 0 0; }

/* ---- success pages ---- */
.success-box { gap: var(--s-6); padding: var(--s-8) var(--s-5) var(--s-7); }
.success-box__text { align-items: center; max-width: 640px; }
.dream-path { display: flex; flex-direction: column; align-items: center; gap: var(--s-6); text-align: center; }
.flow-steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7); }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-6) var(--s-4); border-radius: var(--r-card); background: var(--surface-2); text-align: center; }
.flow-step__n { width: 40px; height: 40px; margin-bottom: var(--s-2); border-radius: 50%; background: var(--grad-thisway, var(--brand)); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; left: calc(100% + var(--s-7) / 2 - 26px); width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; width: 44px; height: 44px; margin-top: -22px; left: calc(100% + var(--s-7) / 2 - 22px); background: var(--surface); border: 1.5px solid var(--line); box-shadow: 0 0 0 6px var(--bg); animation: flow-nudge 2.4s var(--ease) infinite; }
.flow-step:not(:last-child)::before { content: ""; position: absolute; z-index: 3; top: 50%; left: calc(100% + var(--s-7) / 2 - 11px); width: 22px; height: 22px; margin-top: -11px; background: #B8B4C8; -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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; animation: flow-nudge 2.4s var(--ease) infinite; }
.flow-step:nth-child(2)::before, .flow-step:nth-child(2)::after { animation-delay: .3s; }
.flow-step:nth-child(3)::before, .flow-step:nth-child(3)::after { animation-delay: .6s; }
@keyframes flow-nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 5px 0; } 90% { translate: -2px 0; } }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); max-width: 420px; }
  .flow-step:not(:last-child)::after { top: 100%; left: 50%; margin: calc(var(--s-7) / 2 - 22px) 0 0 -22px; }
  .flow-step:not(:last-child)::before { top: 100%; left: 50%; margin: calc(var(--s-7) / 2 - 11px) 0 0 -11px; rotate: 90deg; }
  @keyframes flow-nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 5px; } 90% { translate: 0 -2px; } }
}
@media (prefers-reduced-motion: reduce) { .flow-step::before, .flow-step::after { animation: none; } }
.next-up { display: flex; flex-direction: column; gap: var(--s-4); }
.next-up__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.next-tile { display: flex; flex-direction: column; gap: 4px; padding: var(--s-5); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.next-tile:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.next-tile .t-strong::after { content: " →"; color: var(--brand); }
@media (max-width: 760px) { .next-up__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .next-tile:hover { transform: none; } }

/* ---- sales and codes ---- */
.msg--inline-ok { margin: 0; font-weight: 700; color: var(--success); }
.form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .form-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amount-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.amount-row__in { width: 110px; }
.pick-products { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); }
.pick-products .check-line { align-items: center; }
.pick-products__price { margin-left: auto; color: var(--text-muted); font-weight: 700; }
@media (max-width: 760px) { .pick-products { grid-template-columns: minmax(0, 1fr); } }
.input--codeword { text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.input--tiny { width: 84px; min-height: 36px; padding: 4px 10px; }
[data-code-check].is-ok { color: var(--success); font-weight: 700; }
[data-code-check].is-bad { color: var(--error); font-weight: 700; }
.code-chip { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--mist); color: var(--indigo); font-weight: 800; letter-spacing: .04em; }
.share-code { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: 14px; background: var(--surface-2); }
.share-code__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.share-code code { font-size: var(--fs-small); font-weight: 700; color: var(--brand); word-break: break-all; }
.sale-preview { display: flex; flex-direction: column; gap: var(--s-2); }
.sale-preview__card { width: 220px; display: flex; flex-direction: column; gap: 6px; }
.sale-preview__img { position: relative; aspect-ratio: 739 / 900; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.sale-preview__img img { width: 100%; height: 100%; object-fit: cover; }
.sale-price { display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-small); }
.sale-price s { color: var(--text-muted); }
.plabel--sale { background: var(--brand); color: var(--white); }

/* ---- store offer banner ---- */
.offer-bar { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: var(--s-2); margin: var(--s-4) 0; padding: var(--s-3) var(--s-2) var(--s-5); border-radius: var(--r-card); background: var(--grad-thisway); color: var(--white); overflow: hidden; }
.offer-bar__track { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; }
.offer-bar__slide { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: var(--fs-small); animation: offerIn .5s ease; }
.offer-bar__slide strong { font-size: 15px; }
.offer-bar__slide span { opacity: .9; }
@keyframes offerIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.offer-bar__nav { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.offer-bar__nav:hover { background: rgb(255 255 255 / .28); }
.offer-bar__nav svg { width: 18px; height: 18px; }
.offer-bar__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.offer-bar__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .45); transition: width .2s ease; }
.offer-bar__dots span.is-on { width: 18px; border-radius: 3px; background: var(--white); }
@media (prefers-reduced-motion: reduce) { .offer-bar__slide { animation: none; } }

/* ---- founder video ---- */
.founder-video { display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.founder-video:hover { border-color: var(--brand); }
.founder-video__play { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--grad-thisway); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.founder-video__play svg { width: 20px; height: 20px; margin-left: 2px; }
.founder-video__text { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-label); color: var(--text-muted); }
.founder-video__text strong { font-size: var(--fs-small); color: var(--text); }

/* ==========================================================================
   Admin operations (v5.6): Today, Users, Store reviews, Disputes, Inbox,
   Rights reports, Fees and rules, Team, Staff sign in
   ========================================================================== */
.admin-stats--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1200px) { .admin-stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) { .admin-stats--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat__d--bad { color: var(--error); }
.spill--bad { background: var(--error-bg); color: var(--error); }
.spill--warn { background: var(--alert-bg); color: var(--alert); }
.spill--test { background: var(--drop-tint); color: var(--action-blue-deep); }
.btn--danger { background: var(--error); color: var(--white); border-color: var(--error); }
.btn--danger:hover { background: color-mix(in srgb, var(--error) 88%, var(--ink)); }
.card-pad { padding: var(--s-5) var(--s-5) var(--s-3); }
.card--flush > .card-pad + .table-wrap { border-top: 1px solid var(--line); }
.cell-2 { display: block; font-weight: 500; }
.nowrap { white-space: nowrap; }
.table .num.is-bad { color: var(--error); font-weight: 800; }

.needs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.needs__row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.needs__row:last-child { border-bottom: 0; }
.needs__main { display: flex; flex-direction: column; min-width: 0; }
.needs__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.needs__row--bad .needs__dot { background: var(--error); }
.needs__row--warn .needs__dot { background: var(--alert); }

.ops-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-5); }
@media (max-width: 1000px) { .ops-two { grid-template-columns: minmax(0, 1fr); } }
.ops-chart { width: 100%; height: auto; display: block; }
.ops-chart__bar { fill: var(--lilac-light); }
.ops-chart__bar--now { fill: var(--brand); }
.ops-chart__t { font-size: 12px; fill: var(--text-muted); font-family: var(--font); }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.bars li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 3rem; gap: var(--s-3); align-items: center; font-size: var(--fs-small); }
.bars__track { height: 10px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bars__v { text-align: right; font-weight: 800; }

.ops-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.ops-split--inbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
[data-page="admin-stores"] .ops-split, [data-page="admin-disputes"] .ops-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 1100px) { .ops-split, .ops-split--inbox, [data-page="admin-stores"] .ops-split, [data-page="admin-disputes"] .ops-split { grid-template-columns: minmax(0, 1fr); } }
.ops-detail { position: sticky; top: 88px; }
@media (max-width: 1100px) { .ops-detail { position: static; } }
.ops-detail__head { display: flex; gap: var(--s-3); align-items: center; }
.ops-detail__acts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.table--rows tbody tr { cursor: pointer; }
.table--rows tbody tr:hover, .table--rows tbody tr.is-on { background: var(--mist); }
.table--rows tbody tr:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
[data-theme="dark"] .table--rows tbody tr:hover, [data-theme="dark"] .table--rows tbody tr.is-on { background: color-mix(in srgb, var(--white) 6%, transparent); }
.ops-signals { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-small); }
.ops-note { padding: var(--s-4); border-radius: var(--r-tile); background: var(--mist); font-size: var(--fs-small); }
[data-theme="dark"] .ops-note { background: color-mix(in srgb, var(--white) 6%, transparent); }
.ops-steps { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: var(--s-3); }
.ops-steps li { display: flex; flex-direction: column; }
.ops-timeline { list-style: none; margin: 0; padding: 0 0 0 var(--s-4); border-left: 2px dashed var(--lilac-light); display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-small); }
.ops-timeline li { display: flex; flex-direction: column; }
.ai-pill { font-size: var(--fs-label); font-weight: 700; color: var(--brand); }
.chat-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-small); }
.chat-log li { max-width: 85%; padding: var(--s-3) var(--s-4); border-radius: 16px; }
.chat-log__them { background: var(--mist); align-self: flex-start; }
.chat-log__bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-end; }
.unit-in { display: flex; align-items: center; gap: var(--s-2); }
.unit-in .input { flex: 1; min-width: 0; }
.unit-in > span { font-weight: 800; color: var(--text-muted); }
.perm-table th, .perm-table td.perm { text-align: center; }
.perm-table th:first-child { text-align: left; }
.perm__yes { color: var(--success); font-weight: 800; }
.perm__no { color: var(--lilac); }
.flow-steps--admin { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.staff-signin { min-height: 100vh; display: grid; place-items: center; padding: var(--s-6) var(--gutter); background: var(--night); }
.staff-signin__card { width: min(420px, 100%); gap: var(--s-5); }

@media (max-width: 640px) { .ops-detail__acts .btn { flex: 1 1 auto; } .bars li { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) 2.5rem; } }
.bars__fill--41 { width: 41%; } .bars__fill--23 { width: 23%; } .bars__fill--17 { width: 17%; } .bars__fill--12 { width: 12%; } .bars__fill--7 { width: 7%; }
[data-page="admin-users"] .ops-split { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); }
@media (max-width: 1100px) { [data-page="admin-users"] .ops-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  [data-ops] .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  [data-ops] .stat { padding: var(--s-4); }
  [data-ops] .stat__v { font-size: 1.5rem; }
  .admin-who span:last-child { display: none; }
}

/* ---- promotion spots and plan credits ---- */
.promo-bundle { position: relative; display: block; margin-bottom: var(--s-3); cursor: pointer; }
.promo-bundle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.promo-bundle__body { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) var(--s-5); border-radius: 16px; border: 1.5px solid transparent; background: var(--grad-brand-soft, var(--mist)); }
.promo-bundle input:checked + .promo-bundle__body { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-soft) 30%, transparent); }
.promo-bundle input:focus-visible + .promo-bundle__body { outline: 3px solid var(--brand-soft); }
.promo-bundle__tag { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--brand); color: var(--white); font-size: var(--fs-label); font-weight: 800; }
.promo-bundle s { color: var(--text-muted); font-weight: 600; margin-left: 6px; }
.pcredits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.pcredit { display: flex; flex-direction: column; gap: 4px; }
.pcredit__v { font-size: var(--fs-h2, 1.75rem); font-weight: 800; line-height: 1; }
.pcredit__k { font-size: var(--fs-small); font-weight: 700; }
.pcredit__bar { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; margin-top: 4px; }
.pcredit__fill { display: block; height: 100%; width: 0; background: var(--grad-thisway); border-radius: inherit; }
.pcredit__fill--full { width: 100%; }
@media (max-width: 640px) { .pcredits { grid-template-columns: minmax(0, 1fr); } }

/* ---- launch challenge ---- */
.launch { gap: var(--s-5); border: 0; background: var(--grad-brand-soft); }
.launch__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-5); flex-wrap: wrap; }
.launch__head .stack { max-width: 620px; }
.launch__tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--grad-thisway); color: var(--white); font-size: var(--fs-label); font-weight: 800; letter-spacing: .04em; }
.launch__clock { display: flex; flex-direction: column; align-items: flex-end; padding: var(--s-3) var(--s-5); border-radius: var(--r-tile); background: var(--surface); box-shadow: var(--shadow-soft); }
.launch__time { font-size: 2.25rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; background: var(--grad-thisway); -webkit-background-clip: text; background-clip: text; color: transparent; }
.launch__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.launch__step { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--r-tile); background: var(--surface); border: 1.5px solid transparent; }
.launch__step.is-next { border-color: var(--brand); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 16%, transparent); }
.launch__step.is-done { opacity: .72; }
.launch__check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--lilac); }
.launch__step.is-done .launch__check { border: 0; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.launch__step.is-next .launch__check { border-color: var(--brand); border-width: 3px; }
.launch__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.launch__prize { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: var(--fs-small); }
.launch__prize strong { color: var(--brand); }
.launch__prize span { color: var(--text-muted); font-size: var(--fs-label); }
.launch__prize::before { content: "Prize"; font-size: var(--fs-micro); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.launch__step.is-done .launch__prize strong { color: var(--success); }
.launch__fine { margin: 0; }
@media (max-width: 760px) {
  .launch__step { grid-template-columns: 28px minmax(0, 1fr); }
  .launch__prize { grid-column: 2; align-items: flex-start; text-align: left; }
  .launch__step .btn { grid-column: 2; justify-self: start; }
  .launch__clock { align-items: flex-start; width: 100%; }
}

/* ---- import ---- */
.promo-opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .promo-opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promo-opts--4 { grid-template-columns: minmax(0, 1fr); } }
.dropzone--import { min-height: 140px; }
.import-file { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--r-tile); background: var(--surface-2); }
.import-file__icon { width: 48px; height: 56px; border-radius: 10px; background: var(--grad-thisway); color: var(--white); font-size: var(--fs-label); font-weight: 800; display: grid; place-items: center; }
.import-tile { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--grad-brand-soft); color: var(--text); text-decoration: none; }
.import-tile:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--brand-soft); }
.import-tile .t-strong::after { content: " →"; color: var(--brand); }
.import-tile__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--brand); display: grid; place-items: center; }
.import-tile__icon svg { width: 22px; height: 22px; }
.sync-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.sync-list li { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); }
.sync-list span { color: var(--text-muted); }
@media (max-width: 640px) { .sync-list { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Coming soon and waitlist
   ========================================================================== */
.soon { min-height: 100vh; background: var(--bg); }
.soon__hero { position: relative; overflow: hidden; padding: var(--s-7) var(--gutter) var(--s-8); background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--blue) 28%, transparent), transparent 60%), radial-gradient(900px 600px at -10% 10%, color-mix(in srgb, var(--purple) 30%, transparent), transparent 60%), var(--night); color: var(--white); }
.soon__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--s-5); text-align: center; }
.soon__logo .logo__img--light { display: none; } .soon__logo .logo__img--dark { display: block; }
.soon__tag { padding: 4px 14px; border-radius: 999px; background: color-mix(in srgb, var(--white) 12%, transparent); color: var(--lilac-light); font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.soon__tag--light { background: var(--mist); color: var(--indigo); align-self: flex-start; }
.soon__title { margin: 0; font-size: clamp(3rem, 9vw, 5.5rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.soon__title span { background: linear-gradient(90deg, #B9ACFF, #6FB3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soon__lead { margin: 0; font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--white) 82%, transparent); }
.soon__form, .soon__done { width: 100%; text-align: left; gap: var(--s-4); color: var(--text); }
.soon__who { width: 100%; }
.soon__pitch { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.soon__done { align-items: center; text-align: center; padding: var(--s-7) var(--s-5); }
.soon__done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 30px no-repeat; }
.soon__ref { width: 100%; align-items: center; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.soon__section { max-width: 1080px; margin: 0 auto; padding: var(--s-8) var(--gutter); }
.soon__h { text-align: center; margin: 0 0 var(--s-6); }
.soon__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.soon__card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.soon__icon { width: 52px; height: 52px; margin-bottom: var(--s-2); border-radius: 16px; background: var(--grad-thisway); -webkit-mask: none; position: relative; }
.soon__icon::after { content: ""; position: absolute; inset: 13px; background: var(--white); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.soon__icon--shop { --ico: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E"); }
.soon__icon--dream { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2c.7 5.2 2.8 7.3 8 8-5.2.7-7.3 2.8-8 8-.7-5.2-2.8-7.3-8-8 5.2-.7 7.3-2.8 8-8Z'/%3E%3C/svg%3E"); }
.soon__icon--drop { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2s-7 8-7 13a7 7 0 0 0 14 0c0-5-7-13-7-13Z'/%3E%3C/svg%3E"); }
.soon__icon--drop { background: var(--drop); }
.soon__makers { display: grid; padding-block: var(--s-7); }
.soon__makers-copy { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-7); border-radius: var(--r-card); background: var(--grad-brand-soft); }
.soon__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); }
.soon__list li { position: relative; padding-left: 30px; font-weight: 600; }
.soon__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.soon__faq { max-width: 760px; margin: 0 auto; }
.soon__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5); padding: var(--s-6) var(--gutter) var(--s-7); color: var(--text-muted); font-size: var(--fs-small); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .soon__three { grid-template-columns: minmax(0, 1fr); } .soon__list { grid-template-columns: minmax(0, 1fr); } .soon__makers-copy { padding: var(--s-6) var(--s-5); } }
@media (max-width: 560px) { .soon__hero { padding-top: var(--s-6); } .soon__lead { font-size: var(--fs-body); } }

/* ---- staff sign in and setup ---- */
.staff-signin__card--wide { width: min(560px, 100%); }
.staff-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.staff-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-tile); border: 1.5px solid var(--line); opacity: .6; }
.staff-step.is-now { opacity: 1; border-color: var(--brand); }
.staff-step.is-done { opacity: 1; }
.staff-step__n { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-thisway); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.staff-step.is-done .staff-step__n { background: var(--success); }
[data-staff-setup] .staff-step { opacity: 1; }
.totp { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.totp__qr { width: 160px; height: 160px; padding: 8px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.totp__qr svg { width: 100%; height: 100%; display: block; }
.recovery { list-style: none; margin: 0; padding: var(--s-4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); border-radius: var(--r-tile); background: var(--surface-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .06em; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
@media (max-width: 520px) { .totp { grid-template-columns: minmax(0, 1fr); justify-items: start; } }
.soon__form, .soon__done { display: flex; flex-direction: column; }
.soon__form .field__error { display: none; }
.soon__form .field--invalid .field__error { display: block; }
.soon__form .field { display: flex; flex-direction: column; gap: var(--s-2); }

/* ---- sign in and create account (one component) ---- */
.auth-page { padding-block: var(--s-7) var(--s-8); display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.auth.card { width: 100%; max-width: 460px; margin: 0; padding: var(--s-6); gap: var(--s-5); }
.auth__tabs { width: 100%; }
.auth__head { text-align: center; }
.auth .field { display: flex; flex-direction: column; gap: var(--s-2); }
.auth .field__error { display: none; }
.auth .field--invalid .field__error { display: block; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.auth__notfound { flex-direction: column; align-items: stretch; gap: var(--s-3); }
.auth__notfound .btn { align-self: flex-start; }
.auth .check { align-items: flex-start; line-height: 1.5; }
.auth .check input { margin-top: 2px; flex: none; }
.btn__logo { width: 20px; height: 20px; flex: none; }
.btn--provider { gap: var(--s-3); }
.auth__foot { margin: 0; font-size: var(--fs-small); color: var(--text-muted); text-align: center; }
@media (max-width: 520px) { .auth.card { padding: var(--s-5) var(--s-4); border: 0; box-shadow: none; background: transparent; } .auth-page { padding-top: var(--s-5); } }
.check.is-invalid { color: var(--error); }
.auth__foot { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.auth .input--code { width: 100%; }
.auth .input--code { max-width: none; }

/* ==========================================================================
   Admin shell: full width on big screens, menu folds to icons
   ========================================================================== */
[data-admin].container { max-width: none; padding-inline: clamp(16px, 2.2vw, 56px); }
@media (min-width: 901px) { [data-admin].workspace { grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 2.4vw, 56px); transition: grid-template-columns .2s var(--ease); } }
.header--admin .container { max-width: none; padding-inline: clamp(16px, 2.2vw, 56px); }
.mnav__fold { display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding: 0 var(--s-3); border: 0; border-radius: 12px; background: none; color: var(--text-muted); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.mnav__fold:hover { background: var(--surface-2); color: var(--text); }
.mnav__fold svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
@media (min-width: 901px) { .mnav-mini [data-admin].workspace { grid-template-columns: 56px minmax(0, 1fr); } }
.mnav-mini .mnav--admin .mnav__t, .mnav-mini .mnav--admin .mnav__head { display: none; }
.mnav-mini .mnav--admin a, .mnav-mini .mnav--admin .mnav__fold { justify-content: center; padding: 0; position: relative; }
.mnav-mini .mnav--admin .mnav__group { padding-top: var(--s-2); }
.mnav-mini .mnav--admin .mnav__count { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 9px; margin: 0; }
.mnav-mini .mnav__fold svg { transform: scaleX(-1); }
@media (max-width: 900px) { .mnav__fold { display: none; } .mnav-mini [data-admin].workspace { grid-template-columns: minmax(0, 1fr); } .mnav-mini .mnav--admin .mnav__t { display: inline; } }
/* big monitors and TVs */
@media (min-width: 1800px) { [data-admin] { font-size: 1.05rem; } }

/* ---- sales counter, goals, live board ---- */
.counter-rail { display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
@media (min-width: 1600px) { .counter-rail { display: grid; } }
.counter-rail--live { display: grid; }
@media (max-width: 1100px) { .counter-rail--live { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.counter { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.counter:first-child { background: var(--night); border-color: transparent; color: var(--white); }
.counter:first-child .counter__k, .counter:first-child .counter__s { color: var(--lilac-light); }
.counter__k { font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.counter__v { font-size: clamp(1.5rem, 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter__s { font-size: var(--fs-small); color: var(--text-muted); }
.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { color: var(--success); } 100% { color: inherit; } }
.goal-card__nums { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.goal-card__v { font-size: clamp(2rem, 2.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.goal-bar { position: relative; height: 16px; border-radius: 999px; background: var(--mist); margin: var(--s-5) 0 var(--s-2); }
.goal-bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--grad-thisway); }
.goal-bar__fill--81 { width: 81%; } .goal-bar__fill--3 { width: 3%; min-width: 16px; }
.goal-bar__pace { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--ink); border-radius: 2px; }
[data-theme="dark"] .goal-bar__pace { background: var(--white); }
.goal-bar__pace--67 { left: 67%; }
.goal-bar__pace span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font-size: var(--fs-micro); font-weight: 800; white-space: nowrap; color: var(--text-muted); }
.live__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 32px); align-content: start; }
.live__grid > * { grid-column: 1 / -1; }
.live__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; }
.live__tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--success); }
.live__title { margin: 0; font-size: clamp(1.75rem, 2.2vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; }
.live__hero { display: flex; flex-direction: column; align-items: flex-start; background: var(--night); color: var(--white); border: 0; gap: var(--s-2); }
.live__hero .counter__k, .live__hero .t-muted { color: var(--lilac-light); }
.live__big { font-size: clamp(3.5rem, 7vw, 11rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, #B9ACFF, #6FB3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live__hero .counter__k { font-size: clamp(.8rem, .8vw, 1.1rem); }
@media (min-width: 1200px) {
  .live__hero { grid-column: span 8; } .live__grid > .goal-card { grid-column: span 4; }
  .live__year { grid-column: span 4; order: 2; } .live__feed { grid-column: span 8; order: 2; }
  .live__lead { grid-column: span 8; order: 3; } .live__makers { grid-column: span 4; order: 3; }
}
@media (min-width: 2200px) {
  .live__hero { grid-column: span 6; } .live__grid > .goal-card { grid-column: span 3; } .live__year { grid-column: span 3; order: 0; }
  .live__feed { grid-column: span 4; } .live__lead { grid-column: span 5; } .live__makers { grid-column: span 3; }
}
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); animation: feedin .5s var(--ease); }
.feed__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.feed__main { display: flex; flex-direction: column; min-width: 0; } .feed__main span { font-size: var(--fs-small); color: var(--text-muted); }
.feed__v { font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
.lead { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.lead__row { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr) repeat(3, minmax(70px, auto)); gap: var(--s-3); align-items: center; padding: var(--s-3); border-radius: var(--r-tile); background: var(--surface-2); }
.lead--plain .lead__row { grid-template-columns: 28px minmax(0, 1fr) auto; }
.lead__row--top { background: var(--grad-brand-soft); box-shadow: inset 0 0 0 2px var(--brand-soft); }
.lead__n { font-weight: 800; color: var(--text-muted); text-align: center; }
.lead__row--top .lead__n { color: var(--white); background: var(--grad-thisway); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
.lead__who, .lead__stat { display: flex; flex-direction: column; min-width: 0; } .lead__who span, .lead__stat span { font-size: var(--fs-label); color: var(--text-muted); }
.lead__stat { align-items: flex-end; text-align: right; } .lead__stat strong { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .lead__row { grid-template-columns: 28px 36px minmax(0, 1fr) auto; } .lead__row .lead__stat:nth-of-type(n+2) { display: none; } }
.celebrate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--s-5); background: color-mix(in srgb, var(--night) 86%, transparent); }
.celebrate[hidden] { display: none; }
.celebrate__card { position: relative; z-index: 2; max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); padding: clamp(32px, 4vw, 72px); border-radius: 32px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: pop .6s cubic-bezier(.2,1.4,.4,1); }
.celebrate__tag { padding: 4px 14px; border-radius: 999px; background: var(--grad-thisway); color: var(--white); font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.celebrate__title { margin: 0; font-size: clamp(2.5rem, 6vw, 6.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad-thisway); -webkit-background-clip: text; background-clip: text; color: transparent; }
.celebrate__msg { margin: 0; font-size: clamp(1.25rem, 1.8vw, 2rem); line-height: 1.35; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }
.celebrate__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall 3.2s linear infinite; }
.confetti--c1 { background: #5B3FC4; } .confetti--c2 { background: #2F7BF5; } .confetti--c3 { background: #F2A93B; } .confetti--c4 { background: #B9ACFF; } .confetti--c5 { background: #1E7A4E; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(110vh) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { .celebrate__card { animation: none; } .feed__row { animation: none; } }
.confetti--x0 { left: 2%; }
.confetti--x1 { left: 7%; }
.confetti--x2 { left: 12%; }
.confetti--x3 { left: 17%; }
.confetti--x4 { left: 22%; }
.confetti--x5 { left: 27%; }
.confetti--x6 { left: 32%; }
.confetti--x7 { left: 37%; }
.confetti--x8 { left: 42%; }
.confetti--x9 { left: 47%; }
.confetti--x10 { left: 52%; }
.confetti--x11 { left: 57%; }
.confetti--x12 { left: 62%; }
.confetti--x13 { left: 67%; }
.confetti--x14 { left: 72%; }
.confetti--x15 { left: 77%; }
.confetti--x16 { left: 82%; }
.confetti--x17 { left: 87%; }
.confetti--x18 { left: 92%; }
.confetti--x19 { left: 97%; }
.counter-rail--live { order: 1; }
@media (min-width: 2200px) { .counter-rail--live { order: 1; } }
.confetti--d0 { animation-delay: 0.00s; animation-duration: 2.40s; }
.confetti--d1 { animation-delay: 0.37s; animation-duration: 2.93s; }
.confetti--d2 { animation-delay: 0.74s; animation-duration: 3.46s; }
.confetti--d3 { animation-delay: 1.11s; animation-duration: 3.99s; }
.confetti--d4 { animation-delay: 1.48s; animation-duration: 2.92s; }
.confetti--d5 { animation-delay: 1.85s; animation-duration: 3.45s; }
.confetti--d6 { animation-delay: 2.22s; animation-duration: 3.98s; }
.acct-menu { width: max-content; max-width: min(300px, calc(100vw - 2rem)); }
.acct-menu a, .acct-menu button { white-space: nowrap; }
.acct-menu__who span { white-space: nowrap; max-width: 260px; }
[data-theme="dark"] .flow-step:not(:last-child)::before { background: color-mix(in srgb, var(--white) 40%, transparent); }
.live__hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-6); }
.live__hero-main { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.live__pace { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: var(--s-3); }
.live__pace div { display: flex; flex-direction: column; gap: 2px; padding: var(--s-3) var(--s-4); border-radius: var(--r-tile); background: color-mix(in srgb, var(--white) 7%, transparent); }
.live__pace dt { font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac-light); }
.live__pace dd { margin: 0; font-size: clamp(1.5rem, 1.8vw, 3rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.live__pace span { font-size: var(--fs-label); color: var(--lilac-light); }
@media (max-width: 900px) { .live__hero { grid-template-columns: minmax(0, 1fr); } }

/* ---- sell page: gradient headline, white logo in the table, founder video ---- */
.t-grad { background: var(--grad-thisway); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-logo { display: block; height: 22px; width: auto; margin: 0 auto; }
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-7); align-items: center; }
.founder__video { margin: 0; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--night); box-shadow: var(--shadow-soft); }
.founder__media { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.founder__poster { position: absolute; inset: 0; width: 100%; border: 0; padding: var(--s-6); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4); color: var(--white); font: inherit; background: radial-gradient(600px 300px at 80% 0%, color-mix(in srgb, var(--blue) 40%, transparent), transparent 70%), radial-gradient(500px 300px at 0% 100%, color-mix(in srgb, var(--purple) 50%, transparent), transparent 70%), var(--night); }
.founder__play { width: 84px; height: 84px; border-radius: 50%; background: var(--white); color: var(--purple); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.founder__play svg { width: 34px; height: 34px; margin-left: 4px; }
.founder__poster:hover .founder__play { transform: scale(1.06); }
.founder__poster:focus-visible { outline: 3px solid var(--lilac-light); outline-offset: -6px; }
.founder__label { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.founder__label strong { font-size: 1.125rem; } .founder__label span { color: var(--lilac-light); font-size: var(--fs-small); }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } .founder__play { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { .founder__poster:hover .founder__play { transform: none; } }

/* ==========================================================================
   Sell page top: split hero with a live store, never list, how it works band
   ========================================================================== */
.mhero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 7vw, 112px) clamp(32px, 5vw, 72px); }
.mhero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }
.mhero__title { margin: 0; font-size: clamp(3rem, 6.5vw, 5.75rem); line-height: .98; letter-spacing: -.05em; font-weight: 800; }
.mhero__sub { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; font-weight: 600; color: var(--text-muted); }
.mhero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-2); }
.mhero__fine { margin: 0; font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); }
.mhero__art { position: relative; min-height: 420px; display: grid; place-items: center; }
.mhero__art::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 40px; background: var(--grad-brand-soft); transform: rotate(-3deg); }
[data-theme="dark"] .mhero__art::before { background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 35%, transparent), color-mix(in srgb, var(--blue) 25%, transparent)); }
.mstore { position: relative; width: min(380px, 100%); padding: var(--s-4); border-radius: 24px; background: var(--surface); box-shadow: 0 30px 60px rgba(21, 16, 52, .16); display: flex; flex-direction: column; gap: var(--s-4); }
.mstore__bar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: 999px; background: var(--surface-2); font-size: var(--fs-label); color: var(--text-muted); }
.mstore__url strong { color: var(--brand); }
.mstore__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.mstore__head { display: flex; gap: var(--s-3); align-items: center; } .mstore__head div { display: flex; flex-direction: column; } .mstore__head span:not(.mstore__avatar) { font-size: var(--fs-label); color: var(--text-muted); }
.mstore__avatar { width: 44px; height: 44px; border-radius: 14px; background: var(--grad-thisway); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.mstore__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.mstore__tile { aspect-ratio: 1; border-radius: 16px; }
.mstore__tile--a { background: linear-gradient(135deg, #8B7CC7, #5B7BE0); } .mstore__tile--b { background: linear-gradient(135deg, #F2A93B, #F7C978); }
.mstore__tile--c { background: linear-gradient(135deg, #2F7BF5, #6FB3FF); } .mstore__tile--d { background: linear-gradient(135deg, #D4CCF5, #EEEBFA); }
.mping { position: absolute; display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border-radius: 18px; background: var(--surface); box-shadow: 0 16px 40px rgba(21, 16, 52, .18); font-size: var(--fs-small); animation: mping 5s var(--ease) infinite; }
.mping div { display: flex; flex-direction: column; } .mping span:not(.mping__ico) { font-size: var(--fs-label); color: var(--text-muted); }
.mping--1 { top: 10%; left: -2%; } .mping--2 { bottom: 9%; right: -2%; animation-delay: 2.5s; }
.mping__ico { width: 36px; height: 36px; border-radius: 12px; background: var(--success-bg); position: relative; flex: none; }
.mping__ico::after { content: ""; position: absolute; inset: 9px; background: var(--success); -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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.mping__ico--pay { background: var(--mist); } .mping__ico--pay::after { background: var(--brand); -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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='13' rx='3'/%3E%3Cpath d='M2 10h20M6 15h4'/%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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='13' rx='3'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E"); }
@keyframes mping { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mping { animation: none; } }
@media (max-width: 900px) {
  .mhero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .mhero__copy, .mhero__cta { align-items: center; }
  .mhero__art { min-height: 360px; }
  .mping--1 { left: 0; } .mping--2 { right: 0; }
}
.mnever { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); padding-block: var(--s-5); }
.mnever__item { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.mnever__item--hi { background: var(--grad-thisway); border-color: transparent; color: var(--white); }
.mnever__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--mist); position: relative; }
.mnever__item--hi .mnever__ico { background: color-mix(in srgb, var(--white) 20%, transparent); }
[data-theme="dark"] .mnever__ico { background: color-mix(in srgb, var(--white) 8%, transparent); }
.mnever__ico::after { content: ""; position: absolute; inset: 12px; background: var(--brand); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
[data-theme="dark"] .mnever__ico::after { background: var(--lilac-light); }
.mnever__item--hi .mnever__ico::after { background: var(--white); }
.mnever__ico--web { --ico: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M3 9h18M7 6.5h.01M10 6.5h.01'/%3E%3C/svg%3E"); } .mnever__ico--learn { --ico: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h12v18H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M8 7h6M8 11h6'/%3E%3C/svg%3E"); } .mnever__ico--lic { --ico: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v5c0 5 3.5 8.5 8 9 4.5-.5 8-4 8-9V7l-8-4Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .mnever { grid-template-columns: minmax(0, 1fr); } }
.mband { margin-block: var(--s-6) var(--s-4); padding: clamp(32px, 5vw, 64px) var(--s-6); border-radius: 32px; background: var(--night); color: var(--white); text-align: center; display: flex; flex-direction: column; gap: var(--s-3); align-items: center; background-image: radial-gradient(700px 300px at 85% 0%, color-mix(in srgb, var(--blue) 35%, transparent), transparent 70%), radial-gradient(600px 300px at 10% 100%, color-mix(in srgb, var(--purple) 45%, transparent), transparent 70%); }
.mband__line { margin: 0; font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.mband__line em { font-style: normal; background: linear-gradient(90deg, #B9ACFF, #6FB3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mband__sub { margin: 0; max-width: 620px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--lilac-light); font-weight: 600; }
.mping--1 { top: 46%; left: -4%; }
.mping--2 { bottom: 6%; right: -3%; }
@media (max-width: 900px) { .mping--1 { top: 44%; left: 0; } .mping--2 { right: 0; } }
[data-theme="dark"] .t-grad, [data-theme="dark"] .mhero__title .t-grad { background: linear-gradient(90deg, #B9ACFF, #6FB3FF); -webkit-background-clip: text; background-clip: text; }
[data-theme="dark"] .mband { background-color: var(--surface); border: 1px solid color-mix(in srgb, var(--white) 10%, transparent); }
[data-theme="dark"] .mstore { box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
@media (max-width: 520px) { .mhero__cta { width: 100%; } .mhero__cta .btn { width: 100%; } }

/* FAQ close: store button with the feedback prompt beneath */
.faq-end { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); padding-top: var(--s-7); text-align: center; }
.faq-end .lead-cta { padding-block: 0 var(--s-6); }
@media (max-width: 600px) { .faq-end .btn--hero { width: 100%; height: auto; white-space: normal; line-height: 1.25; padding-block: var(--s-4); } }

/* Ops logo: keep logo, badge and avatar on one line on phones */
@media (max-width: 600px) {
  .header--admin .header__row { flex-wrap: nowrap; gap: var(--s-3); }
  .header--admin .maker-logo { min-width: 0; gap: var(--s-2); }
  .header--admin .logo__img { height: 22px; width: auto; }
}

/* ==========================================================================
   Offers: Promote, Sales and codes. One grid, one rhythm:
   card padding 32, groups 32 apart with a hairline, 12 inside a group.
   ========================================================================== */
.deal-card { display: flex; flex-direction: column; gap: var(--s-6); padding: var(--s-6); }
.deal-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.offer-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
.offer-form[hidden] { display: none; }
.offer-form__main { display: flex; flex-direction: column; gap: var(--s-6); min-width: 0; }
.offer-form__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: 20px; background: var(--surface-2); }
.offer-form__side .sale-preview__card { width: 100%; max-width: 240px; }
.offer-form__side .offer-bar { margin: 0 0 var(--s-3); }
.offer-group { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.deal-card > h2 + .offer-group, .offer-form__main > p + .offer-group { padding-top: 0; border-top: 0; }
.offer-group__h { font-size: var(--fs-body); font-weight: 800; color: var(--text); }
.offer-group .field__label { margin-top: var(--s-2); }
.offer-group > p { margin: 0; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.offer-foot p { margin: 0; max-width: 46ch; }
.offer-form__main > p { margin: 0; }
.scope-panel { display: flex; flex-direction: column; gap: var(--s-3); }
.scope-panel[hidden] { display: none; }
.pick span small { display: block; font-size: var(--fs-label); margin-top: 2px; }
@media (max-width: 1100px) {
  .offer-form { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .offer-form__side { position: static; }
  [data-offer-panel="code"] .offer-form__side { order: -1; }
}
@media (max-width: 600px) { .deal-card { padding: var(--s-5); gap: var(--s-5); } .offer-group { padding-top: var(--s-5); } .offer-foot .btn { width: 100%; } }

/* Piece picker: search and filter, so 300 pieces are as quick as 7 */
.picker { padding: var(--s-4); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.picker__bar { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.picker__find { max-width: none; flex: 1 1 220px; }
.picker__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.picker__acts { display: flex; gap: var(--s-2); }
.picker__list { max-height: 296px; overflow-y: auto; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.picker__list li { border-bottom: 1px solid var(--line); }
.picker__list li[hidden] { display: none; }
.picker__list .check-line { padding: var(--s-3) var(--s-2); min-height: var(--tap-min); }
.picker__list .check-line:hover { background: var(--surface-2); }
.picker__empty { margin: 0; }

/* How long: quick lengths, then the dates as one tappable bar */
.when__btn { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 60px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.when__btn:hover { border-color: var(--brand-soft); }
.when__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.when__ic { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; border-radius: 12px; background: var(--mist); color: var(--brand); }
.when__ic svg { width: 20px; height: 20px; }
.when__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.when__dates { font-weight: 800; }
.when__n { font-size: var(--fs-small); color: var(--text-muted); }
.when__chg { flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: var(--fs-small); font-weight: 800; color: var(--brand); }
.when__times { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: var(--s-3); }
.when__times .field__label { margin-top: 0; }
@media (max-width: 480px) { .when__chg { display: none; } .when__times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-theme="dark"] .when__ic { background: color-mix(in srgb, var(--lilac-light) 16%, transparent); color: var(--lilac-light); }
[data-theme="dark"] .when__chg { color: var(--lilac-light); }

/* Date range calendar with ready made ranges down the left */
.rng { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.rng__inner { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6); }
.rng__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.rng__top h2 { margin: 0; }
.rng__body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: var(--s-6); }
.rng__rail { display: flex; flex-direction: column; gap: 2px; padding-right: var(--s-5); border-right: 1px solid var(--line); }
.rng__rail-h { font-size: var(--fs-label); font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; padding: var(--s-3) var(--s-3) var(--s-1); }
.rng__rail-h:first-child { padding-top: 0; }
.rng__preset { border: 0; background: none; text-align: left; padding: 10px var(--s-3); border-radius: 10px; font: inherit; font-size: var(--fs-small); font-weight: 700; color: var(--text); cursor: pointer; }
.rng__preset:hover { background: var(--surface-2); }
.rng__preset.is-on { background: var(--mist); color: var(--brand); font-weight: 800; }
.rng__cal { position: relative; }
.rng__nav { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; pointer-events: none; z-index: 1; }
.rng__arrow { pointer-events: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rng__arrow:hover { background: var(--surface-2); }
.rng__arrow svg { width: 18px; height: 18px; }
.rng__months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-6); }
.rng__title { display: flex; align-items: center; justify-content: center; height: 36px; font-weight: 800; }
.rng__dow, .rng__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.rng__dow { margin: var(--s-2) 0 var(--s-1); }
.rng__dow span { font-size: var(--fs-label); font-weight: 800; color: var(--text-muted); padding: 4px 0; }
.rng__grid { row-gap: 2px; }
.rng__d { height: 40px; border: 0; background: none; color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; border-radius: 10px; }
.rng__d:hover:not([disabled]) { background: var(--surface-2); }
.rng__d.is-today { box-shadow: inset 0 0 0 1.5px var(--brand-soft); }
.rng__d.is-mid { background: var(--mist); border-radius: 0; color: var(--brand); }
.rng__d.is-start, .rng__d.is-end { background: var(--brand); color: var(--white); font-weight: 800; }
.rng__d.is-start:not(.is-end) { border-radius: 10px 0 0 10px; } .rng__d.is-end:not(.is-start) { border-radius: 0 10px 10px 0; }
.rng__d[disabled] { opacity: .35; cursor: default; }
.rng__d--empty { height: 40px; }
.rng__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.rng__sum { font-weight: 800; }
.rng__acts { display: flex; gap: var(--s-3); }
[data-theme="dark"] .rng__d.is-start, [data-theme="dark"] .rng__d.is-end { background: var(--lilac-light); color: var(--ink); }
[data-theme="dark"] .rng__d.is-mid, [data-theme="dark"] .rng__preset.is-on { background: color-mix(in srgb, var(--lilac-light) 16%, transparent); color: var(--lilac-light); }
@media (max-width: 760px) {
  .rng__inner { padding: var(--s-5); gap: var(--s-4); }
  .rng__body { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .rng__rail { flex-direction: row; overflow-x: auto; gap: var(--s-2); padding: 0 0 var(--s-3); border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .rng__rail-h { display: none; }
  .rng__preset { flex: none; border: 1.5px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .rng__acts { width: 100%; } .rng__acts .btn { flex: 1; }
}

/* Banner looks */
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: var(--s-3); }
.look { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.look input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.look__sw { position: relative; height: 44px; border-radius: 12px; border: 1px solid rgb(14 11 29 / .08); overflow: hidden; }
.look input:checked + .look__sw { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.look input:focus-visible + .look__sw { outline: 2px solid var(--focus); outline-offset: 4px; }
.look__n { font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); text-align: center; }
.look input:checked ~ .look__n { color: var(--text); font-weight: 800; }
.look__sw--thisway, .offer-bar--thisway { background: var(--grad-thisway); }
.look__sw--midnight, .offer-bar--midnight { background: linear-gradient(120deg, #0E0B1D, #2B2540); }
.look__sw--holly, .offer-bar--holly { background: linear-gradient(120deg, #C22432, #7E1520); }
.look__sw--evergreen, .offer-bar--evergreen { background: linear-gradient(120deg, #1E7A4E, #0E4A2E); }
.look__sw--snow, .offer-bar--snow { background: linear-gradient(180deg, #EEF6FF, #CFE4FB); }
.look__sw--beach, .offer-bar--beach { background: linear-gradient(100deg, #F6DDB0 0%, #F3E7C9 38%, #9ADBEA 62%, #4FB3D6 100%); }
.look__sw--blossom, .offer-bar--blossom { background: linear-gradient(120deg, #FFE7F0, #F9C4DA); }
.look__sw--plain, .offer-bar--plain { background: var(--surface); border-color: var(--line); }
.offer-bar--snow, .offer-bar--beach, .offer-bar--blossom { color: #18223A; }
.offer-bar--plain { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.offer-bar--snow .offer-bar__nav, .offer-bar--beach .offer-bar__nav, .offer-bar--blossom .offer-bar__nav, .offer-bar--plain .offer-bar__nav { background: rgb(14 11 29 / .07); color: inherit; }
.offer-bar--snow .offer-bar__dots span, .offer-bar--beach .offer-bar__dots span, .offer-bar--blossom .offer-bar__dots span, .offer-bar--plain .offer-bar__dots span { background: rgb(14 11 29 / .25); }
.offer-bar--snow .offer-bar__dots span.is-on, .offer-bar--beach .offer-bar__dots span.is-on, .offer-bar--blossom .offer-bar__dots span.is-on { background: #18223A; }
.offer-bar--plain .offer-bar__dots span.is-on { background: var(--text); }
.offer-bar--snow::before, .look__sw--snow::before { content: ""; position: absolute; inset: -40px 0 0; pointer-events: none;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff 60%, transparent 61%), radial-gradient(3px 3px at 80px 10px, #fff 60%, transparent 61%), radial-gradient(2px 2px at 140px 50px, #fff 60%, transparent 61%), radial-gradient(2.5px 2.5px at 200px 20px, #fff 60%, transparent 61%);
  background-size: 220px 70px; filter: drop-shadow(0 0 1px rgb(120 160 210 / .7)); animation: snowfall 9s linear infinite; }
@keyframes snowfall { to { transform: translateY(40px); background-position: 30px 0; } }
@media (prefers-reduced-motion: reduce) { .offer-bar--snow::before, .look__sw--snow::before { animation: none; } }

/* Offer bar: arrows centred on the whole bar, dots tucked under the words */
.offer-bar { grid-template-rows: auto auto; row-gap: 6px; padding: var(--s-3) var(--s-2); }
.offer-bar__nav { grid-row: 1 / 3; align-self: center; position: relative; z-index: 1; }
.offer-bar__nav[hidden] { display: inline-flex; visibility: hidden; }
.offer-bar__track { grid-column: 2; grid-row: 1; min-height: 40px; position: relative; z-index: 1; }
.offer-bar__dots { position: static; grid-column: 2; grid-row: 2; z-index: 1; }
.offer-bar__dots:has(span:only-child) { display: none; }
.offer-bar:has(.offer-bar__dots span:only-child) { grid-template-rows: auto; }

/* Share card for codes */
.code-share { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-5); border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); margin-bottom: var(--s-3); }
.code-share.is-live { border-color: var(--success); }
.code-share__code { font-size: var(--fs-h3); }
.code-share__link { font-size: var(--fs-small); font-weight: 700; color: var(--brand); word-break: break-all; }
.code-share p { margin: 0; }
.code-share__acts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.code-row { display: flex; gap: var(--s-2); }
.code-row .input { flex: 1; min-width: 0; }
.code-check.is-ok { color: var(--success); font-weight: 700; } .code-check.is-bad { color: var(--error); font-weight: 700; }
.limit-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
[data-theme="dark"] .code-share__link { color: var(--lilac-light); }

/* Tables of offers and promotions */
.promo-table { min-width: 760px; } .offers-table { min-width: 720px; }
.table tr.is-done td { color: var(--text-muted); background: var(--surface-2); }
.table tr.is-done td > *, .table tr.is-done strong { opacity: .6; }
.table tr.is-done { cursor: default; }
.table tr.is-new td { animation: rowIn 1.6s ease; }
@keyframes rowIn { from { background: var(--mist); } }
.spill--paused { background: var(--mist); color: var(--text-muted); }

/* Plan card on Promote */
.plan-card { padding: var(--s-5) var(--s-6); }
.plan-card__free { display: flex; align-items: center; gap: var(--s-5); }
.plan-card__free[hidden], .plan-card__paid[hidden] { display: none; }
.plan-card__icon { display: inline-flex; width: 52px; height: 52px; flex: none; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad-thisway); }
.plan-card__icon svg { width: 24px; height: 24px; fill: var(--white); }
.plan-card__copy { flex: 1; min-width: 0; }
.plan-card__copy p, .plan-card__copy h2 { margin: 0; }
.plan-card__paid { display: flex; flex-direction: column; gap: var(--s-5); }
.plan-card__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.plan-card .pcredits { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-5); }
.pcredit__v small { font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
.pcredit__fill { width: 0; }
.pcredit__fill[data-w="10"] { width: 10%; } .pcredit__fill[data-w="20"] { width: 20%; } .pcredit__fill[data-w="30"] { width: 30%; } .pcredit__fill[data-w="40"] { width: 40%; } .pcredit__fill[data-w="50"] { width: 50%; }
.pcredit__fill[data-w="60"] { width: 60%; } .pcredit__fill[data-w="70"] { width: 70%; } .pcredit__fill[data-w="80"] { width: 80%; } .pcredit__fill[data-w="90"] { width: 90%; } .pcredit__fill[data-w="100"] { width: 100%; }
@media (max-width: 600px) { .plan-card { padding: var(--s-5); } .plan-card__free { flex-direction: column; align-items: flex-start; } .plan-card__go { width: 100%; } }
.plan__go { margin-top: auto; }
.plan ul { margin-bottom: var(--s-3); }
.offer-form__main .form-grid { grid-template-columns: minmax(0, 1fr); }
.offer-form__main .amount-row { flex-wrap: nowrap; }
@media (max-width: 420px) { .offer-form__main .amount-row { flex-wrap: wrap; } }
.looks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1000px) { [data-store-banner] .looks { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.offer-bar--snow::before, .look__sw--snow::before { filter: drop-shadow(0 0 1.5px rgb(80 120 180 / .9)); }
.offers-table td.t-right, .promo-table td.t-right { white-space: nowrap; }
@media (max-width: 600px) { .deal-card__head .seg { width: 100%; } .deal-card__head .seg__opt span { padding: 0 var(--s-3); } }

/* Sell page: three equal promise blocks, one line each */
.mnever__item { white-space: nowrap; font-size: clamp(1rem, 1.35vw, 1.3rem); }
@media (max-width: 860px) { .mnever__item { white-space: normal; } }
.mband__sub { max-width: none; }
@media (min-width: 700px) { .mband__sub { white-space: nowrap; } }
/* Fee example beside a real piece */
.fee-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-5); align-items: stretch; }
.fee-show .fee-example { margin: 0; max-width: none; justify-content: center; }
.fee-show__img { margin: 0; position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 300px; background: var(--surface-2); }
.fee-show__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fee-show__img figcaption { position: absolute; left: var(--s-4); bottom: var(--s-4); padding: 6px 12px; border-radius: 999px; background: rgb(14 11 29 / .7); color: var(--white); font-size: var(--fs-label); font-weight: 700; }
@media (max-width: 760px) { .fee-show { grid-template-columns: minmax(0, 1fr); } .fee-show__img { min-height: 260px; } }
.faq__body ul, .faq__body ol { margin: var(--s-2) 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.faq__body li { line-height: 1.5; }
.faq__body p + p, .faq__body ul + p, .faq__body ol + p { margin-top: var(--s-2); }
.kids-panel { padding: var(--s-5); border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.kids-panel[hidden] { display: none; }
.dropzone--slim { min-height: 64px; padding: var(--s-3) var(--s-4); flex-direction: row; justify-content: flex-start; gap: var(--s-3); }
/* Pause store */
.pause-card__off, .pause-card__on, .paused-note { display: flex; align-items: center; gap: var(--s-4); }
.pause-card__off > .stack, .pause-card__on > .stack, .paused-note > .stack { flex: 1; min-width: 0; }
.pause-card__off[hidden], .pause-card__on[hidden], .pause-card__form[hidden], .paused-note[hidden] { display: none; }
.pause-card__off p, .pause-card__on p, .pause-card__on h2 { margin: 0; }
.pause-card__form .offer-group:first-child { padding-top: 0; border-top: 0; }
.pause-card__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 18%, transparent); }
.paused-note { padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 600px) { .pause-card__off, .pause-card__on, .paused-note { flex-direction: column; align-items: flex-start; } .pause-card__off .btn, .pause-card__on .btn { width: 100%; } }
.fee-show__img { background: radial-gradient(120% 90% at 50% 100%, var(--mist), var(--surface-2)); }
.fee-show__img img { object-fit: contain; padding: var(--s-5) var(--s-5) var(--s-7); }
.faq__body ul { list-style: disc; } .faq__body ol { list-style: decimal; }
.faq__body li::marker { color: var(--brand); font-weight: 800; }

/* ---------- licensed design library ---------- */
.lib-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-4, 16px); }
.lib-card { justify-content:space-between; }
.lib-card .product-card__img { aspect-ratio: 4 / 3; }
.lib-card .spill { align-self:flex-start; }
.lib-link { align-self:flex-start; }
@media (min-width: 2000px) { .lib-grid { grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); } }

/* ---------- content rules ---------- */
.table tr.is-off td { color: var(--text-muted); }
.table tr.is-off .spill { opacity:.55; }

/* ---------- rights inbox ---------- */
.rinbox { display:grid; grid-template-columns:minmax(240px, 320px) 1fr; gap:16px; align-items:start; }
.rinbox__list { display:flex; flex-direction:column; gap:8px; }
.rinbox__item { text-align:left; display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:14px; border:1px solid var(--line); background:var(--surface); color:var(--text); font:inherit; cursor:pointer; }
.rinbox__item.is-on { border-color:var(--brand); box-shadow:0 0 0 1px var(--brand) inset; }
.rinbox__who { font-weight:700; }
.rinbox__sub { font-size:var(--fs-small); color:var(--text-muted); }
.rinbox__meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:var(--fs-small); color:var(--text-muted); }
.rmsg { max-width:none; }
.rinbox__attach { padding:10px 14px; border-radius:12px; background:var(--brand-soft); }
.rights-ways, .cols-3 { display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 760px) { .rights-ways { grid-template-columns:1fr 1fr; } .cols-3 { grid-template-columns:repeat(3, 1fr); } }
@media (max-width: 899px) { .rinbox { grid-template-columns:1fr; } .rinbox__list { flex-direction:row; overflow-x:auto; } .rinbox__item { min-width:240px; } }

/* ---- launch challenge: steady columns so every step lines up ---- */
.launch { padding: var(--s-6); }
.launch__steps { gap: var(--s-3); }
.launch__step { grid-template-columns: 32px minmax(0, 1fr) minmax(10rem, 15rem) 10.5rem; gap: var(--s-5); padding: var(--s-4) var(--s-5); }
.launch__body { gap: var(--s-1); }
.launch__prize { grid-column: 3; }
.launch__step > .btn { grid-column: 4; justify-self: end; }
@media (max-width: 760px) {
  .launch { padding: var(--s-5); }
  .launch__step { grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-3); }
  .launch__prize, .launch__step > .btn { grid-column: 2; justify-self: start; }
}

/* ---- page head: text and the main action share one row ---- */
.page-head > .stack { flex: 1 1 26rem; min-width: 0; }
.page-head > .btn { flex: none; }

/* ---- maker dashboard: operating view with a right rail ---- */
.storeurl { display: flex; align-items: center; gap: var(--s-1); }
.storeurl .btn--icon { color: var(--text-muted); }
.btn--icon.is-copied { color: var(--success); }
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
@media (min-width: 1100px) { .dash { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); } }
@media (min-width: 1800px) { .dash { grid-template-columns: minmax(0, 1fr) 420px; } }
.dash__rail .followers { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.dash__rail .share-card { flex-direction: column; }
.dash__rail .share-card__art { display: none; }
.launch-mini { gap: var(--s-3); border: 0; background: var(--grad-brand-soft); }
.launch-mini__bar, .flowdlg__bar { width: 100%; height: 8px; border: 0; border-radius: var(--r-pill); background: var(--surface); overflow: hidden; appearance: none; }
.launch-mini__bar::-webkit-progress-bar, .flowdlg__bar::-webkit-progress-bar { background: var(--mist); border-radius: var(--r-pill); }
.launch-mini__bar::-webkit-progress-value, .flowdlg__bar::-webkit-progress-value { background: var(--grad-thisway); border-radius: var(--r-pill); }
.launch-mini__bar::-moz-progress-bar, .flowdlg__bar::-moz-progress-bar { background: var(--grad-thisway); border-radius: var(--r-pill); }
.launch-mini__next { padding: var(--s-3) var(--s-4); border-radius: var(--r-tile); background: var(--surface); }
.launch-mini__acts { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }

/* ---- full page step flows (New promotion, New discount, store setup) ---- */
.dialog--full { width: min(1080px, 100vw); max-width: 100vw; height: min(100dvh, 960px); max-height: 100dvh; }
.dialog--full .dialog__inner { height: 100%; padding: 0; gap: 0; }
.flowdlg { display: flex; flex-direction: column; min-height: 0; }
.flowdlg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding: var(--s-6) var(--s-6) var(--s-4); }
.flowdlg__bar { display: block; margin: 0 var(--s-6); width: auto; }
.flowdlg__body { flex: 1 1 auto; overflow-y: auto; padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.flowdlg__body > section { display: flex; flex-direction: column; gap: var(--s-4); }
.flowdlg__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line); background: var(--surface); }
.flowdlg__foot > .btn[hidden] + .row, .flowdlg__foot > .btn[hidden] + .btn { margin-left: auto; }
@media (max-width: 640px) {
  .dialog--full { height: 100dvh; border-radius: 0; }
  .flowdlg__head, .flowdlg__body { padding-left: var(--s-4); padding-right: var(--s-4); }
  .flowdlg__bar { margin: 0 var(--s-4); }
  .flowdlg__foot { padding: var(--s-3) var(--s-4); }
}

/* big visual choices */
.bigpicks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.bigpicks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bigpick { position: relative; display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4) var(--s-5); border-radius: var(--r-tile); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.bigpick input { position: absolute; opacity: 0; pointer-events: none; }
.bigpick__t { font-weight: 800; font-size: var(--fs-body); }
.bigpick__d { font-size: var(--fs-small); color: var(--text-muted); }
.bigpick:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.bigpick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 640px) { .bigpicks, .bigpicks--2 { grid-template-columns: minmax(0, 1fr); } }

/* picture cards for pieces and categories */
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.pickgrid--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pickcard { position: relative; display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2); border-radius: var(--r-tile); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.pickcard input { position: absolute; opacity: 0; pointer-events: none; }
.pickcard:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.pickcard:has(input:checked)::after { content: ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pickcard:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pickcard__img { aspect-ratio: 1; border-radius: calc(var(--r-tile) - 6px); overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.pickcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pickcard__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pickcard__thumbs > span { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.pickcard__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pickcard__n { font-weight: 700; font-size: var(--fs-small); padding: 0 var(--s-1); }
.pickcard__p { font-size: var(--fs-small); color: var(--text-muted); padding: 0 var(--s-1) var(--s-1); }
.storepick { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-tile); background: var(--brand-soft); }
.keyadd { max-width: 520px; }
.review-card { display: flex; gap: var(--s-5); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-tile); border: 1px solid var(--line); }
.review-card__img { flex: none; width: 120px; aspect-ratio: 1; border-radius: var(--r-thumb); overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.review-card__img img { width: 100%; height: 100%; object-fit: cover; }
.review-card .kv { flex: 1; }

/* row action menus */
.rowmenu { position: relative; display: inline-flex; }
.rowmenu__list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 180px; display: flex; flex-direction: column; padding: var(--s-1); border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft); }
.rowmenu__list[hidden] { display: none; }
.rowmenu__list button { text-align: left; padding: var(--s-2) var(--s-3); border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.rowmenu__list button:hover, .rowmenu__list button:focus-visible { background: var(--brand-soft); outline: none; }
.rowmenu__list .rowmenu__danger { color: var(--error); }
.table-wrap:has(.rowmenu__list:not([hidden])) { overflow: visible; }
.row--nowrap { flex-wrap: nowrap; }
.seg--4 .seg__opt span { white-space: nowrap; }

/* ---- store setup journey ---- */
.setup { display: flex; justify-content: center; padding-block: var(--s-6) var(--s-8); }
.setup__card { width: min(760px, 100%); padding: 0; min-height: min(78dvh, 760px); }
.setup .flowdlg__body { min-height: 320px; }
.input--lg { font-size: 1.15rem; padding-block: 0.9rem; }
.prefix-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--surface); overflow: hidden; }
.prefix-input__pre { display: flex; align-items: center; padding: 0 var(--s-3); background: var(--bg); color: var(--text-muted); font-size: var(--fs-small); white-space: nowrap; border-right: 1px solid var(--line); }
.prefix-input .input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.prefix-input:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.code-check.is-bad { color: var(--error); }
.setup__logo { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.setup__logo-pic { flex: none; width: 96px; height: 96px; border-radius: 28px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--brand); color: var(--white); font-size: 2.5rem; font-weight: 800; }
.setup__logo-pic img { width: 100%; height: 100%; object-fit: cover; }
.setup__cover { border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 3 / 1; background: var(--mist); }
.setup__cover img { width: 100%; height: 100%; object-fit: cover; }
.setup__done { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.setup__preview { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); padding: 0 var(--s-4) var(--s-4); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.setup__cover-sm { display: block; margin: 0 calc(var(--s-4) * -1); width: calc(100% + var(--s-4) * 2); aspect-ratio: 3 / 1; background: var(--grad-brand-soft); overflow: hidden; }
.setup__cover-sm img { width: 100%; height: 100%; object-fit: cover; }
.setup__preview .setup__logo-pic { width: 64px; height: 64px; border-radius: 18px; font-size: 1.6rem; margin-top: -32px; border: 3px solid var(--surface); }
@media (max-width: 640px) { .setup { padding-block: var(--s-4); } .setup__done { grid-template-columns: minmax(0, 1fr); } }
.setup-again { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }

/* ---- admin: possible copies ---- */
.copycase { display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-4); border-radius: var(--r-tile); border: 1px solid var(--line); }
.copycase__side { display: flex; flex-direction: column; gap: var(--s-1); }
.copycase__pic { width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: var(--r-thumb); overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.copycase__pic img { width: 100%; height: 100%; object-fit: cover; }
.copycase__mid { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); text-align: center; padding-top: var(--s-5); }
.copycase__n { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.copycase__score { display: flex; flex-direction: column; align-items: center; }
.copycase__why { margin: 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--text-muted); display: flex; flex-direction: column; gap: 2px; }
.copycase__acts { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; }
.copycase__acts .spill { margin-right: auto; }
@media (max-width: 760px) { .copycase { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .copycase__mid { grid-column: 1 / -1; order: -1; padding-top: 0; } }

/* ---- refinements ---- */
[data-promo] .when > .offer-group__h { display: none; }
.dash__rail .followers { display: flex; }
.dash__rail .followers__body { flex-direction: column; align-items: flex-start; }
.dash__rail .followers__body p { max-width: none; }
@media (max-width: 1499px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash__rail { order: -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-5); }
  .dash__rail > * { margin: 0; }
}
@media (min-width: 1500px) { .dash { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); } }
/* dashboard grid: launch plan, operations, store rail */
.dash { grid-template-areas: "launch" "main" "rail"; }
.dash > .launch-mini { grid-area: launch; }
.dash__main { grid-area: main; }
.dash__rail { grid-area: rail; order: 0; }
.launch-mini { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 900px) and (max-width: 1499px) {
  .launch-mini { grid-template-columns: minmax(200px, 1fr) minmax(0, 1.3fr) minmax(220px, auto); align-items: center; gap: var(--s-5); }
}
@media (min-width: 1500px) {
  .dash { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); grid-template-rows: auto 1fr; grid-template-areas: "main launch" "main rail"; }
  .dash__rail { display: flex; flex-direction: column; }
}
@media (max-width: 640px) {
  .due-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-1) var(--s-3); }
  .due-row__img { width: 48px; height: 48px; grid-row: 1 / span 2; }
  .due-row > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .due-row > :nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
  .due { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rowmenu__list a { display: block; padding: var(--s-2) var(--s-3); border-radius: 10px; color: var(--text); font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.rowmenu__list a:hover, .rowmenu__list a:focus-visible { background: var(--brand-soft); outline: none; }
.rowmenu__list .is-copied { color: var(--success); }
/* launch challenge: room between the heading, the steps and the fine print */
.launch { display: flex; flex-direction: column; gap: var(--s-6); }
.launch__head .stack { gap: var(--s-2); }
.launch__fine { padding-top: var(--s-1); }
.later-row { display: flex; justify-content: center; padding-top: var(--s-2); }
.welcome-cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.agree-box { max-height: 280px; overflow-y: auto; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--bg); font-size: var(--fs-small); line-height: 1.5; }
.agree-box:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.agree-box__h { font-size: var(--fs-small); font-weight: 800; margin: var(--s-3) 0 var(--s-1); }
.agree-box__h:first-child { margin-top: 0; }
.agree-box p { margin: 0 0 var(--s-2); color: var(--text-muted); }
.agree-check { font-size: var(--fs-body); }
.nobank { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; border: 1px solid var(--brand); border-left-width: 4px; background: var(--surface); }
.settings-row--alert .settings-row__k { color: var(--brand); }

/* Maker badges: Founding maker and New maker ----------------------------- */
.founding { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 5px 10px; border-radius: 999px; background: radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--blue) 38%, transparent), transparent 55%), linear-gradient(135deg, #2A2C33 0%, #121318 55%, #050506 100%); color: #F2F4F8; font-size: var(--fs-label); font-weight: 700; letter-spacing: .04em; white-space: nowrap; border: 1px solid #3A3D46; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 10px rgba(5, 8, 20, .28); }
.founding svg { width: 12px; height: 12px; flex: none; fill: #8FB8FF; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--blue) 70%, transparent)); }
:root[data-theme="dark"] .founding { border-color: #4A4E5A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .founding { border-color: #4A4E5A; } }
.newbadge { display: inline-flex; align-items: center; gap: var(--s-1); padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 12%, var(--surface)); color: var(--action-blue); border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent); font-size: var(--fs-label); font-weight: 700; white-space: nowrap; }
:root[data-theme="dark"] .newbadge { color: #9CC2FF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .newbadge { color: #9CC2FF; } }
.newbadge svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.newbadge--lg { padding: 6px 16px 6px 12px; font-size: var(--fs-small); }
.store-head__meta { flex-wrap: wrap; }

/* New makers row on the home page ---------------------------------------- */
.newmakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s-5); }
.newmaker { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-card); background: var(--surface, var(--bg)); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.newmaker:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30, 20, 80, .08); }
.newmaker__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.newmaker__strip > div { width: 100%; aspect-ratio: 1; border-radius: var(--r-thumb); }
.newmaker__who { display: flex; align-items: center; gap: var(--s-3); }
.newmaker__who .maker__avatar { width: 40px; height: 40px; font-size: var(--fs-small); }
.newmaker__badges { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Labels and badges review page ------------------------------------------ */
.label-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--s-6) var(--s-5); }
.label-demo { display: flex; flex-direction: column; gap: var(--s-3); }
.badge-demos { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s-4); }
.badge-demos .card > span:first-child { align-self: flex-start; }
@media (max-width: 560px) {
  .connect { flex-direction: column; align-items: stretch; }
  .connect .btn { align-self: stretch; }
}

/* Overview: a morning briefing, top to bottom ---------------------------- */
.brief { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s-3); }
.brief__tile { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4) var(--s-5); border-radius: var(--r-tile); background: var(--surface-2, var(--bg)); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.brief__tile:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
.brief__tile[hidden] { display: none; }
.brief__tile--alert { border-color: var(--brand); background: var(--surface); box-shadow: inset 4px 0 0 var(--brand); }
.brief__n { font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; }
.brief__k { font-size: var(--fs-small); font-weight: 700; }
.brief__d { font-size: var(--fs-label); color: var(--text-muted); }
.due__lane--today { border-top-color: var(--brand); } .due__lane--today .due__n { color: var(--brand); }
.due-row__when--today { color: var(--brand); }
@media (max-width: 900px) { .due { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); } }
.ov-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
@media (min-width: 1100px) { .ov-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .launch-mini { grid-template-columns: minmax(200px, 1fr) minmax(0, 1.3fr) minmax(240px, auto); align-items: center; gap: var(--s-5); } }
.money__big { font-size: var(--fs-h1); font-weight: 800; line-height: 1; color: var(--brand); }
.money__bar { display: flex; height: 10px; border-radius: var(--r-pill); overflow: hidden; background: var(--mist); }
.money__seg--ready { flex: 640; background: var(--brand); }
.money__seg--pending { flex: 212; background: var(--lilac); }
.money__legend { display: flex; flex-direction: column; gap: var(--s-2); margin: 0; }
.money__legend > div { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-small); }
.money__legend > div:last-child { padding-top: var(--s-2); border-top: 1px solid var(--line); }
.money__legend dt { display: flex; align-items: center; gap: var(--s-2); color: var(--text-muted); }
.money__legend dd { margin: 0; font-weight: 700; }
.money__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.money__dot--ready { background: var(--brand); } .money__dot--pending { background: var(--lilac); }
.perf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
@media (min-width: 1100px) { .perf { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }
.perf__chart { display: flex; flex-direction: column; gap: var(--s-2); }
.perf__axis { display: flex; justify-content: space-between; }
.daychart { width: 100%; height: 140px; display: block; }
.daychart__bar { fill: var(--lilac); } .daychart__bar--now { fill: var(--brand); }
.perf__chart { min-width: 0; }
.stats--3 { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 600px) and (max-width: 1099px) { .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats--3 .stat { padding: var(--s-3) var(--s-4); }
.stat__d--plain { color: var(--text-muted); }
