/* REPify design system — single runtime stylesheet.
 * Tokens and foundations, feature layouts, then shared components and states.
 * Edit this source directly; historical feature names below only identify provenance.
 * Do not add another stylesheet to override these components.
 */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --card: #1c1c1e;
  --secondary: #2c2c2e;
  --ink: #fafafa;
  --muted: #8e8e93;
  --line: #3a3a3c;
  --primary: #fafafa;
  --primary-text: #0a0a0a;
  --accent: #0abab5;
  --accent-light: color-mix(in srgb, var(--accent) 10%, var(--card));
  --accent-mid: color-mix(in srgb, var(--accent) 40%, var(--card));
  --notification-bg: #ed3348;
  --notification-text: #fff;
  --error-bg: #382423;
  --error-text: #ffaca6;
  --font-ui: Inter, system-ui, sans-serif;
  --text-micro: 10px;
  --text-label: 11px;
  --text-caption: 12px;
  --text-body: 14px;
  --text-control: 16px;
  --text-item-title: 17px;
  --text-title: 22px;
  --text-price: 32px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-tight: 1.25;
  --leading-body: 1.5;
  --leading-reading: 1.65;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-control: 12px;
  --radius-action: 14px;
  --radius-card: 16px;
  --radius-overlay: 24px;
  --border-width: 1px;
  --focus-width: 2px;
  --selection-width: 3px;
  --shadow-none: none;
  --shadow-overlay: 0 8px 28px #0005;
  --control-height: 48px;
  --control-height-prominent: 52px;
  --touch-target: 44px;
  --menu-row-height: 52px;
  --directory-row-height: 62px;
  --icon-size: 24px;
  --icon-size-small: 20px;
  --favorite-icon-size: 26px;
  --notification-size: 22px;
  --page-gutter: 20px;
  --section-padding: 20px;
  --shell-max: 900px;
  --sheet-max: 700px;
  --header-height: 56px;
  --motion-feedback: 140ms;
  --motion-press: 120ms;
  --motion-sheet: 180ms;
  --safe-top: max(67px, env(safe-area-inset-top));
  --safe-bottom: max(34px, env(safe-area-inset-bottom));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
h1, h2, h3, .brand, .auth-form { font-family: var(--font-ui); }
p { color: var(--muted); line-height: var(--leading-reading); }
label { display: block; color: var(--muted); font-size: var(--text-caption); }
.pending { --status: #ffd60a; }
.paid { --status: var(--accent); }
.ordered { --status: #0a84ff; }
.stored { --status: #bf5af2; }
.shipped { --status: #ff9f0a; }
.completed { --status: #30d158; }
.cancelled { --status: #ff453a; }


/* STYLE: feature layouts */
.catalog-hero {
  height: 190px;
  border-radius: var(--radius-card);
  margin-top: 22px;
  background: rgb(23, 62, 59);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: rgb(130, 206, 194);
  font-size: 60px;
}
.catalog-hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}
.home-banner {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.hero > div {
  position: relative;
  z-index: 1;
}
.hero.banner-tint {
  background: color-mix(in srgb,var(--accent) 40%,#102e2a);
}
.catalog-detail-hero {
  position: relative;
  background: rgb(23, 62, 59);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: var(--space-6);
  min-height: 210px;
  color: white;
  display: flex;
  align-items: flex-end;
}
.catalog-detail-hero > img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.catalog-identity {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-6);
  background: linear-gradient(transparent, rgba(16, 43, 43, 0.8));
  width: 100%;
}
.catalog-identity h1 {
  font-size: 26px;
}
.catalog-identity .eyebrow {
  color: rgb(181, 222, 216);
}
.catalog-logo {
  height: 74px;
  width: 74px;
  flex-shrink: 0;
  border-radius: var(--radius-action);
  overflow: hidden;
  background: white;
  color: rgb(23, 62, 59);
  display: grid;
  place-items: center;
  font-size: var(--text-price);
}
.catalog-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) 0px;
  gap: 10px;
}
.catalog-logo {
  background: rgb(23, 62, 59);
  color: rgb(212, 238, 231);
  border: 1px solid rgb(120, 165, 155);
}
.tile-cover:has(img) {
  background: rgb(33, 70, 63);
}
.tile-cover img {
  object-fit: contain;
}
* {
  box-sizing: border-box;
}
input {
  font: inherit;
}
select {
  font: inherit;
}
textarea {
  font: inherit;
}
a {
  outline-offset: 4px;
}
input {
  outline-offset: 4px;
}
select {
  outline-offset: 4px;
}
textarea {
  outline-offset: 4px;
}
a {
  color: var(--accent);
}
.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.brand b {
  color: var(--accent);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}
.top small {
  margin-left: var(--space-4);
  color: var(--muted);
  font-size: var(--text-caption);
  letter-spacing: 1px;
}
.avatar {
  background: rgb(216, 239, 236);
  color: rgb(23, 142, 136);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--text-micro);
  font-weight: 700;
  color: var(--muted);
}
h1 {
  letter-spacing: -1px;
}
h2 {
  letter-spacing: -1px;
}
h3 {
  letter-spacing: -1px;
}
h1 {
  font-size: 36px;
  margin: 10px 0px;
}
h2 {
  font-size: 21px;
  margin: 0px;
}
h3 {
  font-size: var(--text-item-title);
}
.hero {
  position: relative;
  overflow: hidden;
  background: rgb(23, 62, 59);
  color: white;
  border-radius: var(--radius-overlay);
  padding: 38px 42px;
  margin: 28px 0px var(--space-8);
  min-height: 230px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "R";
  position: absolute;
  right: 35px;
  top: -100px;
  font-size: 390px;
  font-weight: 800;
  color: rgba(119, 184, 165, 0.11);
  transform: rotate(-15deg);
  pointer-events: none;
}
.hero h2 {
  font-size: 34px;
  max-width: 440px;
  line-height: 1.25;
}
.hero p {
  color: rgb(176, 205, 202);
  max-width: 440px;
}
.hero .eyebrow {
  color: rgb(128, 196, 187);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.primary {
  background: var(--accent);
  color: white;
}
.secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.danger {
  background: rgb(251, 233, 231);
  color: rgb(185, 75, 69);
}
.hero button {
  position: relative;
  z-index: 1;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin: 22px 0px 36px;
}
.stage {
  border: 1px solid var(--line);
  background: var(--card);
  padding: var(--space-5);
  border-radius: var(--radius-card);
  text-align: left;
  color: var(--ink);
}
.stage strong {
  display: block;
  font-size: 27px;
  margin: 10px 0px var(--space-1);
}
.stage small {
  color: var(--muted);
}
.dot {
  height: 8px;
  width: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}
.stage .dot {
  background: var(--status);
}
.section-head {
  margin: 22px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-button {
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  padding: var(--space-2);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  display: flex;
  gap: 18px;
  text-align: left;
  color: var(--ink);
  width: 100%;
}
.order-image {
  height: 108px;
  width: 100px;
  flex-shrink: 0;
  border-radius: var(--radius-control);
  background: rgb(229, 233, 230);
  display: grid;
  place-items: center;
  font-size: 38px;
  color: rgb(99, 123, 112);
  overflow: hidden;
}
.order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order h3 {
  margin: var(--space-3) 0px 5px;
  letter-spacing: -0.4px;
}
.order p {
  font-size: var(--text-caption);
  margin: 0px;
}
.orders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  text-align: center;
  padding: var(--space-12) 22px;
  grid-column: 1 / -1;
}
.empty h3 {
  margin-bottom: var(--space-2);
}
.nav svg {
  width: 19px;
  height: 19px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: var(--space-6) 0px;
}
.filter {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-overlay);
  padding: 10px 17px;
  color: var(--muted);
}
.filter.active {
  background: var(--ink);
  color: var(--card);
}
.search {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-action);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.tile-cover {
  height: 168px;
  background: rgb(225, 234, 230);
  display: grid;
  place-items: center;
  font-size: 58px;
  font-weight: 700;
  color: rgb(66, 111, 98);
  cursor: pointer;
}
.tile-info {
  padding: 18px;
}
.tile-info h3 {
  margin: 0px 0px 6px;
}
.heart {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--card);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--accent);
  font-size: 20px;
}
.alphabet {
  margin: 22px 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--muted);
}
.alphabet a {
  text-decoration: none;
}
.panel {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin: var(--space-5) 0px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
label input {
  display: block;
  margin-top: var(--space-2);
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  color: var(--ink);
}
label select {
  display: block;
  margin-top: var(--space-2);
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  color: var(--ink);
}
label textarea {
  display: block;
  margin-top: var(--space-2);
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  color: var(--ink);
}
textarea {
  min-height: 82px;
}
.full {
  grid-column: 1 / -1;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.overlay {
  position: fixed;
  inset: 0px;
  background: rgba(16, 44, 44, 0.533);
  backdrop-filter: blur(4px);
  z-index: 10;
  display: grid;
  place-items: center;
  padding: var(--space-6);
}
.close {
  background: var(--bg);
  color: var(--ink);
  border-radius: 50%;
  height: 32px;
  width: 32px;
  font-size: 20px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background: rgb(23, 62, 59);
  color: white;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-art h1 {
  font-size: 64px;
  line-height: 1.1;
  max-width: 500px;
}
.auth-art p {
  color: rgb(173, 203, 196);
}
.auth-form {
  width: min(440px, 100%);
  margin: auto;
  padding: 40px;
}
.auth-form label {
  margin: var(--space-5) 0px;
}
.auth-form .primary {
  width: 100%;
  margin: var(--space-2) 0px;
}
.footer-note {
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 30px;
}
.dark .tile-cover {
  background: rgb(38, 61, 56);
  color: rgb(154, 198, 185);
}
.dark .order-image {
  background: rgb(38, 61, 56);
  color: rgb(154, 198, 185);
}
.dark .nav.active {
  background: rgb(23, 65, 60);
  color: rgb(116, 216, 206);
}
@media (max-width: 760px) {
.top {
  margin-bottom: 30px;
}
.top small {
  display: none;
}
h1 {
  font-size: 28px;
}
.hero {
  padding: 28px 25px;
  min-height: 250px;
}
.hero h2 {
  font-size: 28px;
}
.hero::after {
  right: -60px;
}
.pipeline {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.stage {
  padding: 14px;
}
.stage strong {
  font-size: 23px;
}
.orders-grid {
  grid-template-columns: 1fr;
}
.grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.tile-cover {
  height: 110px;
  font-size: 36px;
}
.tile-info {
  padding: var(--space-3);
}
.tile-info h3 {
  font-size: var(--text-caption);
  letter-spacing: 0px;
}
.tile-info p {
  font-size: var(--text-micro);
}
.auth {
  grid-template-columns: 1fr;
}
.auth-art {
  display: none;
}
.auth-form {
  padding: 30px;
}
.form-grid {
  grid-template-columns: 1fr;
}
.overlay {
  padding: 10px;
}
.order-image {
  width: 85px;
  height: 100px;
}
.row {
  flex-wrap: wrap;
}
.heart {
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
}
.section-head h2 {
  font-size: 18px;
}
}

/* MODERN: feature layouts */
button:active {
  transform: scale(0.97);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input {
  font-size: var(--text-control);
}
select {
  font-size: var(--text-control);
}
textarea {
  font-size: var(--text-control);
}
h1 {
  letter-spacing: -0.6px;
}
h2 {
  letter-spacing: -0.6px;
}
h3 {
  letter-spacing: -0.6px;
}
.top {
  margin-bottom: 30px;
}
.top .brand {
  font-size: 23px;
  letter-spacing: -1px;
}
.top small {
  font-size: 9px;
}
.avatar {
  background: color-mix(in srgb,var(--accent) 12%,#181c1b);
  color: var(--accent);
  border: 1px solid color-mix(in srgb,var(--accent) 35%,transparent);
}
.primary {
  background: var(--accent);
  color: rgb(8, 34, 33);
}
.secondary {
  background: rgb(37, 42, 41);
  color: var(--ink);
  border-color: var(--line);
}
.danger {
  background: rgb(56, 36, 35);
  color: rgb(255, 172, 166);
}
.text-button {
  color: var(--accent);
}
.panel {
  box-shadow: none;
}
.order {
  box-shadow: none;
}
.tile {
  box-shadow: none;
}
.stage {
  box-shadow: none;
}
.hero {
  background: linear-gradient(135deg,color-mix(in srgb,var(--accent) 24%,#0e2524),#192423);
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.043);
}
.hero::after {
  color: rgba(255, 255, 255, 0.027);
}
.hero .eyebrow {
  color: var(--accent);
}
.hero p {
  color: rgb(184, 205, 199);
}
.hero h2 {
  font-size: var(--text-price);
}
.stage {
  border: 0px;
  background: transparent;
  text-align: center;
  padding: var(--space-3) 5px;
  position: relative;
}
.stage strong {
  border-radius: 50%;
  background: rgb(48, 53, 53);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0px auto 9px;
  font-size: var(--text-control);
  position: relative;
  z-index: 1;
}
.stage .dot {
  display: none;
}
.stage > .hint {
  display: none;
}
.stage small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: rgb(192, 200, 197);
}
.stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 33px;
  left: 65%;
  width: 75%;
  height: 1px;
  background: var(--line);
}
.pipeline {
  gap: 0px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-top: var(--space-2);
}
.stage.completed strong {
  color: var(--accent);
}
.order {
  background: rgb(27, 31, 30);
  padding: var(--space-4);
  border-radius: var(--radius-card);
}
.order-image {
  background: rgb(38, 48, 44);
}
.empty {
  background: transparent;
  border: 0px;
  padding: var(--space-12) var(--space-4);
}
.empty > div {
  width: 64px;
  height: 64px;
  background: color-mix(in srgb,var(--accent) 12%,transparent);
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin: auto;
}
.empty h3 {
  font-size: var(--text-title);
}
.empty p {
  max-width: 340px;
  margin: var(--space-3) auto var(--space-5);
}
.dark .nav.active {
  background: transparent;
  color: var(--accent);
}
.nav svg {
  height: 21px;
  width: 21px;
}
.filter {
  background: transparent;
  border-color: var(--line);
  color: rgb(166, 179, 173);
}
.filter.active {
  background: color-mix(in srgb,var(--accent) 12%,#151c1a);
  border-color: var(--accent);
  color: var(--accent);
}
.search {
  background: rgb(37, 42, 40);
  border-color: transparent;
  border-radius: var(--radius-control);
}
.tile {
  background: rgb(27, 30, 29);
  border-color: rgba(255, 255, 255, 0.03);
}
.tile-cover, .tile-cover:has(img), .dark .tile-cover {
  background: rgb(23, 27, 25);
}
.tile-cover img {
  padding: var(--space-3);
  object-fit: contain;
}
.tile-info p {
  margin: 0px;
}
.heart {
  background: rgb(41, 49, 45);
  color: var(--accent);
}
.alphabet {
  gap: var(--space-3);
  font-size: var(--text-label);
}
.alphabet a {
  color: rgb(143, 170, 160);
}
.brand-group h3 {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 14px 0px;
  border-bottom: 1px solid var(--line);
  margin: var(--space-3) 0px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
}
.brand-grid .tile {
  border: 0px;
  background: transparent;
  overflow: visible;
}
.brand-grid .tile-cover {
  height: 120px;
  border-radius: var(--radius-control);
  background: transparent !important;
}
.brand-grid .tile-cover:hover {
  background: rgba(255, 255, 255, 0.035) !important;
}
.brand-grid .tile-info {
  padding: 0px 5px 10px;
  text-align: center;
}
.brand-grid .tile-info h3 {
  color: var(--muted);
  font: var(--weight-medium) var(--text-micro) var(--font-ui);
  letter-spacing: 0px;
  border: 0px;
  margin: 0px;
  padding: 0px;
}
.brand-grid .tile-info p {
  display: none;
}
.brand-grid .heart {
  display: none;
}
.brand-group {
  grid-column: 1 / -1;
}
.catalog-logo {
  background: rgb(23, 27, 25);
  border-color: rgba(255, 255, 255, 0.145);
}
.catalog-detail-hero {
  background: rgb(21, 42, 37);
}
.catalog-related {
  padding: var(--space-3) 0px;
}
.overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}
.close {
  background: rgb(45, 51, 48);
  color: rgb(213, 221, 216);
  min-width: 36px;
  height: 36px;
}
label input {
  background: rgb(36, 42, 38);
  border-color: rgb(53, 65, 57);
  color: var(--ink);
}
label select {
  background: rgb(36, 42, 38);
  border-color: rgb(53, 65, 57);
  color: var(--ink);
}
label textarea {
  background: rgb(36, 42, 38);
  border-color: rgb(53, 65, 57);
  color: var(--ink);
}
input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.auth {
  display: flex;
  min-height: 100dvh;
  justify-content: center;
  background: rgb(20, 22, 22);
}
.auth-art {
  display: none;
}
.auth-form {
  margin: 0px;
  width: min(440px, 100%);
  padding: 36px 30px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.auth-form .auth-logo {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0px auto 14px;
  border-radius: 30px;
}
.auth-form h1 {
  text-align: center;
  font-size: 25px;
  margin: 0px 0px 5px;
}
.auth-form > p {
  text-align: center;
  font-size: var(--text-caption);
  margin-bottom: 28px;
}
.auth-form label {
  margin: var(--space-5) 0px;
  font-size: var(--text-caption);
}
.auth-form label input {
  background: transparent;
  border-width: 0px 0px 1px;
  border-style: none none solid;
  border-color: currentcolor currentcolor rgb(57, 112, 106);
  border-image: none;
  border-radius: 0px;
  padding: var(--space-3) 2px;
  color: rgb(237, 245, 240);
}
.auth-form .primary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  text-transform: uppercase;
  margin-top: 22px;
}
.auth-switch {
  margin-top: auto;
  padding-top: 50px;
  text-align: center;
}
.auth-switch .divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgb(136, 153, 143);
  font-size: var(--text-label);
  margin: 18px 0px;
}
.divider::before {
  content: "";
  height: 1px;
  flex: 1 1 0%;
  background: var(--line);
}
.divider::after {
  content: "";
  height: 1px;
  flex: 1 1 0%;
  background: var(--line);
}
.auth-switch .text-button {
  font-size: var(--text-body);
  color: rgb(237, 243, 238);
}
.auth-switch .text-button span {
  color: var(--accent);
  margin-right: 7px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: var(--space-12);
}
.password-eye {
  position: absolute;
  right: 0px;
  bottom: 6px;
  width: 44px;
  height: 40px;
  background: transparent;
  color: rgb(166, 188, 176);
}
.appearance-swatches {
  display: flex;
  gap: var(--space-3);
  margin: 18px 0px;
}
.swatch {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  outline: rgba(255, 255, 255, 0.19) solid 1px;
}
.swatch.selected {
  border-color: white;
}
.appearance-note {
  font-size: var(--text-label);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.tint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  background: rgb(36, 44, 39);
  border-radius: var(--radius-action);
  margin: var(--space-5) 0px;
}
.tint-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}
.banner-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.banner-preview img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-control);
}
.footer-note {
  opacity: 0.7;
  font-size: var(--text-micro);
}
.dark .order-image {
  background: rgb(38, 58, 48);
}
@media (max-width: 760px) {
.top {
  margin-bottom: var(--space-6);
}
.top > .row > .hint {
  display: none;
}
.hero {
  padding: 25px;
  min-height: 215px;
  margin: var(--space-6) 0px;
}
.hero h2 {
  font-size: 26px;
}
.pipeline {
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: var(--space-5);
}
.stage strong {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.stage:not(:last-child)::after {
  top: 29px;
}
.stage small {
  font-size: 7px;
  letter-spacing: 0px;
}
.brand-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 5px;
}
.brand-grid .tile-cover {
  height: 78px;
}
.brand-grid .tile-cover img {
  padding: 6px;
}
.brand-grid .tile-info h3 {
  font-size: 9px;
}
.brand-grid .tile-info {
  padding: 0px 0px 6px;
}
.overlay {
  padding: 0px;
  align-items: end;
}
.sheet::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: rgb(83, 94, 87);
  margin: -10px auto 18px;
}
.catalog-identity {
  padding: 18px;
  gap: 14px;
}
.catalog-identity h1 {
  font-size: 23px;
}
.auth-form {
  padding-top: 22px;
}
.auth-form .auth-logo {
  width: 165px;
  height: 165px;
}
.section-head h2 {
  font-size: var(--text-control);
}
.form-grid {
  gap: 18px;
}
.panel {
  padding: 22px 18px;
}
.auth-form > p {
  margin-bottom: var(--space-5);
}
}
input[type="color"] {
  height: 48px;
  padding: 5px;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  background: rgb(52, 65, 57);
  color: rgb(220, 232, 223);
  border: 0px;
  border-radius: 7px;
  padding: 9px var(--space-3);
  margin-right: 10px;
  cursor: pointer;
}

/* REFINEMENTS: feature layouts */
[hidden] {
  display: none !important;
}
.top .brand {
  display: none;
}
.top small {
  display: none;
}
.top {
  justify-content: flex-end;
  margin-bottom: var(--space-3);
}
.profile-tabs {
  display: flex;
  gap: var(--space-2);
  margin: 22px 0px;
  overflow-x: auto;
}
.profile-tabs button {
  white-space: nowrap;
  font-size: var(--text-caption);
}
.app-information p {
  overflow-wrap: anywhere;
  font-size: var(--text-caption);
}
.app-icon {
  height: 24px;
  width: 24px;
  display: block;
  background: currentcolor;
  mask-image: var(--icon);
  mask-position: center center;
  mask-size: contain;
  mask-repeat: no-repeat;
}
.remember {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--text-caption) !important;
}
.remember input {
  accent-color: var(--accent);
  width: 18px !important;
  height: 18px !important;
  margin: 0px !important;
}
.auth-form .auth-logo {
  margin-top: var(--space-3);
  margin-bottom: var(--space-8);
}
.size-setting {
  position: relative;
  padding-left: 42px;
}
.size-icon {
  position: absolute;
  left: 0px;
  top: 25px;
  width: 30px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}
.view-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin: 18px 0px;
}
.view-control button {
  padding: 9px 14px;
}
.list-view .brand-grid {
  grid-template-columns: 1fr;
}
.list-view .tile {
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0px;
  display: flex !important;
}
.list-view .tile-cover {
  width: 70px;
  flex-shrink: 0;
  height: 58px !important;
}
.list-view .tile-info {
  padding: 0px !important;
  text-align: left !important;
}
.list-view .tile-info h3 {
  font-size: 15px !important;
  color: var(--ink) !important;
}
.list-view .heart {
  display: block;
  position: static;
  margin-left: auto;
}
.alphabet-rail {
  position: fixed;
  right: 8px;
  top: 170px;
  bottom: 120px;
  width: 38px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0px;
  justify-content: space-evenly;
  background: rgba(34, 44, 39, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 9px 0px;
  touch-action: none;
  user-select: none;
  margin: 0px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 20px;
}
.alphabet-rail button {
  flex: 1 1 0%;
  padding: 0px;
  color: rgb(173, 187, 178);
  background: transparent;
  font-size: var(--text-caption);
  min-height: 0px;
}
.alphabet-rail button.selected {
  color: var(--accent);
  font-weight: 800;
}
.alphabet-rail .letter-bubble {
  display: none;
  position: absolute;
  right: 55px;
  top: 40%;
  width: 64px;
  height: 64px;
  place-items: center;
  background: var(--accent);
  color: rgb(16, 36, 27);
  border-radius: var(--radius-card);
  font-size: 30px;
  font-weight: 700;
}
.alphabet-rail.dragging .letter-bubble {
  display: grid;
}
.brand-group {
  scroll-margin-top: 20px;
}
.color-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
#colorWheel {
  width: 240px;
  max-width: 100%;
  height: auto;
  touch-action: none;
  cursor: crosshair;
}
.color-picker label {
  width: 100%;
}
.color-picker input[type="range"] {
  accent-color: var(--accent);
}
#wheelColor {
  padding: var(--space-3) var(--space-5);
  color: rgb(16, 36, 27);
  border-radius: var(--radius-control);
  font-weight: 700;
  min-width: 120px;
  text-align: center;
}
#app[data-page="Discover"] .grid {
  margin-right: 36px;
}
@media (min-width: 1100px) {
.alphabet-rail {
  right: calc(-545px + 50vw);
}
}

/* APP POLISH: feature layouts */
@font-face { font-family: "REPify Symbols"; src: url("/icons/material-symbols.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: block; }
.material-symbol {
  font-family: "REPify Symbols";
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.nav .material-symbol {
  font-size: 26px;
}
.collection-header {
  position: relative;
  min-height: 225px;
  margin: -24px -52px 0px;
  overflow: hidden;
  background: radial-gradient(at 12% 0%, rgb(40, 69, 60), transparent 75%);
}
.collection-header > .home-banner {
  opacity: 0.65;
  object-position: center 35%;
  height: 100%;
  width: 100%;
  inset: 0px;
  mask-image: linear-gradient(rgb(0, 0, 0) 15%, transparent 100%);
}
.collection-header::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(transparent 15%,var(--bg) 100%);
  pointer-events: none;
}
.collection-header.tinted::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: color-mix(in srgb,var(--accent) 15%,transparent);
  z-index: 1;
  mask-image: linear-gradient(rgb(0, 0, 0), transparent);
}
.collection-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 65px 52px 50px;
}
.home-wordmark {
  font-size: var(--text-body);
  font-weight: 800;
  letter-spacing: 1px;
  color: rgb(195, 216, 206);
}
.collection-heading h1 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 9px 0px 0px;
}
.collection-heading .avatar {
  width: 42px;
  height: 42px;
  background: rgba(22, 45, 36, 0.68);
  backdrop-filter: blur(10px);
  color: rgb(237, 255, 244);
}
.collection-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3px 0px 22px;
  gap: var(--space-4);
}
.collection-title > div:first-child {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.collection-title h2 {
  font-size: 19px;
}
.collection-actions {
  display: flex;
  gap: var(--space-2);
}
.icon-action {
  display: grid;
  place-items: center;
  width: 40px;
  background: rgb(36, 46, 40);
  color: rgb(216, 233, 221);
}
.icon-action.add-find {
  background: var(--accent);
  color: rgb(16, 49, 39);
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: var(--space-6) 18px;
}
.collection-item {
  padding: 0px;
  background: none;
  color: var(--ink);
  text-align: left;
  min-width: 0px;
}
.collection-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-action);
  position: relative;
  background: rgb(32, 42, 36);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.collection-photo > .material-symbol {
  font-size: 48px;
  color: rgb(112, 139, 121);
  margin: auto;
}
.collection-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left center;
}
.collection-photo .badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  backdrop-filter: blur(10px);
  background: rgba(17, 28, 23, 0.85);
}
.collection-caption {
  padding: var(--space-3) 0px 0px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.collection-caption h3 {
  margin: 0px;
  font-size: var(--text-body);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collection-caption strong {
  font-size: var(--text-caption);
  margin-top: 3px;
}
.collection-caption .hint {
  font-size: var(--text-label);
}
.collection-grid .empty {
  grid-column: 1 / -1;
}
.collection-grid .empty p:empty {
  display: none;
}
#app[data-page="Discover"] .shell {
  padding-right: 78px;
}
#app[data-page="Discover"] .grid {
  margin-right: 0px;
}
.view-control {
  gap: var(--space-3);
  flex-wrap: wrap;
}
.view-control button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-control .material-symbol {
  font-size: 18px;
}
.alphabet-rail {
  width: 38px;
  right: 12px;
  top: 240px;
  bottom: 95px;
  background: rgb(28, 37, 33);
  border-radius: 19px;
}
.alphabet-rail button {
  font-size: var(--text-caption);
}
.brand-grid {
  justify-content: start;
  align-items: start;
}
.brand-grid .tile-info {
  text-align: left !important;
  padding-left: 6px !important;
}
.tile-cover {
  justify-content: flex-start !important;
}
.tile-cover img {
  object-position: left center !important;
}
.list-view .tile-info {
  text-align: left !important;
}
.brand-grid .heart {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  right: 0px;
  top: 0px;
  background: rgba(21, 32, 25, 0.7);
  color: rgb(141, 158, 147);
}
.heart .material-symbol {
  font-size: 19px;
}
.heart.is-saved {
  color: var(--accent);
  background: rgb(37, 66, 55);
}
.brand-grid .tile-cover {
  position: relative;
}
.catalog-logo img {
  object-position: left center;
}
.top {
  margin-bottom: 14px;
}
.filter .material-symbol {
  vertical-align: middle;
}
@media (min-width: 1100px) {
.alphabet-rail {
  right: calc(-528px + 50vw);
}
}
@media (max-width: 760px) {
.collection-header {
  margin: -18px -20px 0px;
  min-height: 205px;
}
.collection-heading {
  padding: 58px var(--space-5) 42px;
}
.collection-heading h1 {
  font-size: 27px;
}
.collection-grid {
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: var(--space-6) 14px;
}
.collection-title {
  margin-top: 0px;
}
.collection-title h2 {
  font-size: 18px;
}
.collection-title .hint {
  font-size: var(--text-label);
}
.collection-caption h3 {
  font-size: 13px;
}
.collection-photo {
  border-radius: var(--radius-control);
}
.collection-heading .avatar {
  width: 40px;
  height: 40px;
}
#app[data-page="Discover"] .shell {
  padding-right: 64px;
}
.alphabet-rail {
  right: 10px;
  width: 34px;
  top: 240px;
  bottom: 90px;
}
.brand-grid {
  grid-template-columns: repeat(3, minmax(0px, 1fr));
}
.brand-grid .tile-cover {
  height: 82px;
}
.list-view .brand-grid {
  grid-template-columns: 1fr;
}
.brand-grid .tile-info h3 {
  font-size: var(--text-micro) !important;
}
.list-view .tile-info h3 {
  font-size: var(--text-body) !important;
}
.list-view .heart {
  margin-left: auto;
  flex-shrink: 0;
}
.view-control {
  align-items: flex-start;
}
.view-control button {
  padding: 9px 10px;
}
}
.list-view .tile {
  min-width: 0px;
  border-radius: 0px !important;
  gap: 14px !important;
}
.list-view .tile-cover {
  order: 0;
}
.list-view .tile-info {
  order: 1;
  flex: 1 1 0%;
  min-width: 0px;
}
.list-view .heart {
  order: 2;
  margin-left: 0px !important;
}
.list-view .tile-info h3 {
  overflow-wrap: anywhere;
}

/* REFERENCE UI: feature layouts */
#app[data-page="Home"] .shell {
  background: rgb(9, 10, 9);
  min-height: 100dvh;
}
#app[data-page="Home"] .bottom {
  background: rgb(28, 30, 29);
}
.reference-home-header {
  position: relative;
  min-height: 170px;
  margin: -24px -52px 0px;
  background: linear-gradient(180deg,var(--accent),#00524e);
  overflow: hidden;
}
.reference-home-header .home-banner {
  opacity: 1;
  mask-image: none;
  object-fit: cover;
  object-position: center center;
}
.reference-home-header.with-tint .home-banner {
  opacity: 0.55;
}
.reference-home-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 96px 30px 22px;
  background: linear-gradient(transparent, rgba(0, 42, 38, 0.267));
}
.reference-wordmark {
  border-left: 4px solid white;
  padding-left: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 4px;
  color: white;
}
.reference-home-identity h1 {
  font: 500 14px var(--font-ui);
  letter-spacing: 0px;
  margin: 5px 0px 0px;
  color: rgb(229, 248, 242);
}
.reference-home-identity .avatar {
  background: rgba(255, 255, 255, 0.19);
  border: 2px solid rgb(206, 236, 227);
  color: white;
  font-size: 18px;
}
.reference-pipeline {
  margin: 0px -52px;
  padding: var(--space-4) 30px;
  border-bottom: 1px solid rgb(48, 50, 48);
}
.reference-pipeline h2 {
  font-size: var(--text-label);
  letter-spacing: 1.6px;
}
.reference-pipeline .text-button {
  font-size: var(--text-micro);
  letter-spacing: 1px;
}
.reference-stages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: var(--space-2) 0px 0px;
  gap: 0px;
}
.reference-stages button {
  background: none;
  color: rgb(147, 151, 147);
  position: relative;
  padding: 0px;
}
.reference-stages strong {
  position: relative;
  z-index: 1;
  background: rgb(53, 55, 53);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: auto;
  font-size: var(--text-label);
}
.reference-stages button:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 60%;
  width: 80%;
  height: 1px;
  background: rgb(49, 52, 49);
}
.reference-stages span {
  font-size: 7px;
  font-weight: 700;
  display: block;
  margin-top: 6px;
}
.reference-order-actions {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid rgb(48, 50, 48);
  margin: 0px -52px;
}
.reference-primary {
  background: rgb(250, 250, 250);
  color: rgb(23, 26, 24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reference-order-actions .reference-primary {
  flex: 1 1 0%;
}
.reference-qr {
  width: 50px;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-action);
  background: transparent;
  color: var(--accent);
  display: grid;
  place-items: center;
}
.reference-empty {
  text-align: center;
  padding: 46px var(--space-2);
}
.reference-empty-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: rgb(0, 37, 34);
  color: var(--accent);
  border-radius: 22px;
  margin: 0px auto var(--space-5);
}
.reference-empty-icon .material-symbol {
  font-size: 30px;
}
.reference-empty h2 {
  font-size: var(--text-title);
}
.reference-empty p {
  font-size: var(--text-body);
  margin: var(--space-3) 0px var(--space-6);
}
.reference-collection {
  padding-top: var(--space-6);
}
.reference-collection .collection-grid {
  margin-top: 0px;
}
.reference-order-sheet {
  width: 100%;
  max-width: 650px;
  background: rgb(9, 10, 9) !important;
  border-radius: 0px !important;
  padding: 0px !important;
}
.reference-order-sheet::before {
  display: none !important;
}
.reference-order-sheet > .row {
  padding: 14px var(--space-5);
  border-bottom: 1px solid rgb(48, 50, 48);
  position: sticky;
  top: 0px;
  background: rgb(9, 10, 9);
  z-index: 3;
}
.reference-order-sheet > .row > .eyebrow {
  display: none;
}
.reference-order-sheet > .row .close {
  margin-left: auto;
}
.reference-form-heading {
  padding: 0px var(--space-5);
}
.reference-form-heading h1 {
  font-size: 23px;
  margin: 5px 0px var(--space-5);
}
.reference-item-form section {
  padding: var(--space-5);
  border-top: 1px solid rgb(48, 50, 48);
}
.reference-item-form label {
  font-size: var(--text-micro);
  letter-spacing: 2px;
  font-weight: 700;
  color: rgb(145, 149, 146);
  display: block;
}
.reference-item-form label em {
  font-weight: 400;
  font-size: var(--text-micro);
  letter-spacing: 0px;
  border: 1px solid rgb(52, 58, 53);
  border-radius: var(--radius-control);
  padding: 1px 6px;
  margin-left: 5px;
}
.reference-item-form input:not([type="hidden"]):not([type="file"]), .reference-item-form textarea {
  color: rgb(229, 232, 229);
  background: transparent;
  border-width: 0px 0px 1px;
  border-style: none none solid;
  border-color: currentcolor currentcolor rgb(53, 58, 54);
  border-image: none;
  border-radius: 0px;
  padding: var(--space-3) 0px;
  min-width: 0px;
  width: 100%;
  outline-offset: 2px;
  font-size: var(--text-control);
}
.reference-item-form input::placeholder {
  color: rgb(142, 148, 144);
  opacity: 1;
}
.reference-item-form textarea::placeholder {
  color: rgb(142, 148, 144);
  opacity: 1;
}
.reference-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  color: rgb(129, 138, 132);
}
.reference-input-row input {
  flex: 1 1 0%;
}
.reference-input-row > .material-symbol {
  font-size: 18px;
}
.ai-suggestion {
  border-radius: var(--radius-overlay);
  background: var(--accent);
  color: rgb(8, 42, 35);
  font-size: var(--text-caption);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 7px var(--space-3);
}
.ai-suggestion .material-symbol {
  font-size: 18px;
}
.reference-name {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reference-name > div {
  flex: 1 1 0%;
  min-width: 0px;
}
.reference-photo {
  height: 72px;
  width: 72px;
  border: 1px solid rgb(53, 58, 54);
  place-items: center;
  cursor: pointer;
  display: grid !important;
}
.reference-photo span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.reference-photo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.reference-photo .material-symbol {
  font-size: 26px;
  font-weight: 400;
}
.reference-price > input {
  font-weight: 700;
  margin-top: 5px;
  font-size: 34px !important;
}
.reference-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
}
.reference-currency-row > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: rgb(142, 148, 144);
  font-weight: 700;
}
.reference-segments {
  display: flex;
}
.reference-segments button {
  background: transparent;
  color: rgb(174, 181, 175);
  border: 1px solid rgb(52, 58, 53);
  padding: 11px var(--space-4);
  font-weight: 700;
  font-size: var(--text-caption);
}
.reference-size-choices button {
  background: transparent;
  color: rgb(174, 181, 175);
  border: 1px solid rgb(52, 58, 53);
  padding: 11px var(--space-4);
  font-weight: 700;
  font-size: var(--text-caption);
}
.reference-size-special button {
  background: transparent;
  color: rgb(174, 181, 175);
  border: 1px solid rgb(52, 58, 53);
  padding: 11px var(--space-4);
  font-weight: 700;
  font-size: var(--text-caption);
}
.reference-segments button.selected {
  background: white;
  color: rgb(21, 26, 22);
}
.reference-size-tabs {
  display: flex;
  margin-top: var(--space-4);
  border-bottom: 1px solid rgb(53, 58, 54);
}
.reference-size-tabs button {
  flex: 1 1 0%;
  background: none;
  color: rgb(142, 148, 144);
  font-size: var(--text-micro);
  letter-spacing: 1px;
  font-weight: 700;
  padding: 10px;
  border-bottom: 2px solid transparent;
}
.reference-size-tabs button.selected {
  color: var(--accent);
  border-color: var(--accent);
}
.reference-size-choices {
  display: grid;
  grid-template-columns: repeat(6, minmax(0px, 1fr));
  gap: var(--space-2);
  margin: var(--space-3) 0px;
}
.reference-size-choices button {
  padding: 14px 0px;
}
.reference-size-choices button.selected {
  color: var(--accent);
  border-color: var(--accent);
  background: rgb(12, 40, 35);
}
.reference-size-special button.selected {
  color: var(--accent);
  border-color: var(--accent);
  background: rgb(12, 40, 35);
}
.reference-size-special {
  display: flex;
  gap: 10px;
  border-top: 1px solid rgb(53, 58, 54);
  padding-top: 9px;
}
.reference-size-special button {
  flex: 1 1 0%;
  font-size: var(--text-micro);
  letter-spacing: 1px;
}
.reference-color-preview {
  display: block;
  width: 100%;
  height: 30px;
  border: 1px solid rgb(138, 145, 139);
  border-radius: 4px;
  margin-top: var(--space-5);
}
.reference-color-controls {
  display: flex;
  align-items: stretch;
  gap: var(--space-5);
  margin-top: 10px;
}
.reference-color-controls canvas {
  width: 220px;
  max-width: 75%;
  height: auto;
  aspect-ratio: 1 / 1;
  touch-action: none;
}
.reference-brightness {
  width: 34px;
  align-items: center;
  font-size: 0px !important;
  display: flex !important;
}
.reference-item-form #itemBrightness {
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: auto;
  width: 30px;
  height: 200px;
  accent-color: rgb(218, 222, 218);
  padding: 0px;
}
.reference-quantity {
  display: flex;
  align-items: center;
  margin-top: var(--space-3);
  gap: var(--space-3);
}
.reference-quantity button {
  height: 38px;
  width: 38px;
  border: 1px solid rgb(53, 58, 54);
  background: none;
  color: rgb(217, 222, 217);
  font-size: 23px;
}
.reference-quantity input {
  text-align: center;
  font-weight: 700;
  appearance: textfield;
  width: 48px !important;
  border: 0px !important;
  font-size: 23px !important;
}
.reference-quantity input::-webkit-inner-spin-button {
  display: none;
}
.reference-item-form textarea {
  resize: vertical;
  min-height: 85px;
  border: 0px !important;
}
.reference-brand-input {
  display: flex;
  align-items: center;
  border: 1px solid rgb(53, 58, 54);
  border-radius: var(--radius-action);
  padding: 0px var(--space-3);
  gap: 10px;
  margin-top: 14px;
  color: rgb(137, 149, 140);
}
.reference-brand-input input {
  border: 0px !important;
}
.reference-category-group {
  margin-top: 15px;
  color: var(--category-color);
}
.reference-category-group h3 {
  font-size: var(--text-micro);
  letter-spacing: 1px;
  margin: 0px 0px var(--space-2);
  color: var(--category-color);
}
.reference-category-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.reference-category-group button {
  min-width: 58px;
  height: 60px;
  border: 1px solid transparent;
  background: rgb(20, 24, 21);
  border-radius: var(--radius-action);
  color: var(--category-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
}
.reference-category-group button.selected {
  border-color: var(--category-color);
  background: rgb(36, 48, 41);
}
.reference-category-group button .material-symbol {
  font-size: 25px;
}
.reference-additional {
  padding: var(--space-5);
  border-top: 1px solid rgb(48, 50, 48);
}
.reference-additional summary {
  color: rgb(156, 168, 158);
  font-size: var(--text-caption);
  cursor: pointer;
}
.reference-additional label {
  margin-top: 15px;
}
.reference-form-footer {
  padding: var(--space-5);
}
.reference-form-footer .reference-primary {
  width: 100%;
}
.reference-form-footer p {
  font-size: var(--text-micro);
}
.reference-primary:disabled {
  opacity: 0.5;
}
@media (max-width: 760px) {
.reference-home-header {
  margin: -18px -20px 0px;
}
.reference-home-identity {
  padding: 94px var(--space-4) 18px;
}
.reference-pipeline {
  margin: 0px -20px;
  padding: 14px var(--space-4);
}
.reference-order-actions {
  margin: 0px -20px;
  padding: var(--space-4) var(--space-3);
}
.reference-order-sheet {
  max-height: 100dvh;
  height: 100dvh;
}
.reference-empty {
  padding-top: 28px;
}
.reference-wordmark {
  font-size: 21px;
}
.reference-stages strong {
  width: 29px;
  height: 29px;
}
.reference-home-header .home-banner {
  position: absolute;
  inset: 0px;
}
.reference-home-identity {
  min-height: 170px;
}
}
.reference-item-form #itemBrightness {
  appearance: none;
  border: 1px solid rgb(70, 77, 71);
  border-radius: 6px;
  background: linear-gradient(rgb(255, 255, 255) 0%, rgb(255, 255, 255) 20%, rgb(204, 204, 204) 20%, rgb(204, 204, 204) 40%, rgb(136, 136, 136) 40%, rgb(136, 136, 136) 60%, rgb(68, 68, 68) 60%, rgb(68, 68, 68) 80%, rgb(5, 6, 5) 80%);
  width: 32px;
}
.reference-item-form #itemBrightness::-webkit-slider-runnable-track {
  background: transparent;
  width: 30px;
  height: 100%;
}
.reference-item-form #itemBrightness::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(153, 153, 153);
  border-radius: 50%;
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px;
}

/* BLUEPRINT: feature layouts */
@font-face { font-family: Inter; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.native-app {
  --safe-top: 0px;
  --safe-bottom: max(0px,env(safe-area-inset-bottom));
}
.shell h1 {
  font-size: var(--text-control);
  font-weight: 700;
  letter-spacing: 2px;
}
.shell .top {
  display: none;
}
.primary {
  background: var(--primary);
  color: var(--primary-text);
}
.reference-primary {
  background: var(--primary);
  color: var(--primary-text);
}
.secondary {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--line);
}
.filter {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--line);
}
.filter.active {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}
.icon-action {
  min-width: 44px;
  background: var(--secondary);
  color: var(--ink);
}
.nav .material-symbol {
  font-size: 23px;
}
.reference-home-header {
  margin: calc(-1 * var(--safe-top)) -20px 0;
  height: calc(var(--safe-top) + 72px);
  min-height: 0px;
  background: linear-gradient(var(--accent),color-mix(in srgb,var(--accent) 50%,#000));
}
.reference-home-identity {
  padding: calc(var(--safe-top) + 6px) var(--space-5) var(--space-4);
  min-height: 0px;
  height: 100%;
  align-items: flex-end;
  gap: 10px;
}
.reference-wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  padding-left: var(--space-3);
  border-width: 4px;
  line-height: 20px;
}
.reference-home-identity h1 {
  font-weight: 400;
  line-height: 16px;
  margin-top: 5px;
  font-size: 13px !important;
  letter-spacing: 0px !important;
}
.reference-home-identity .avatar {
  width: 36px;
  height: 36px;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.reference-home-identity > div {
  flex: 1 1 0%;
}
.bp-admin-pill {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: rgb(255, 255, 255);
  padding: var(--space-1) 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}
.reference-pipeline {
  margin: 0px -20px;
  padding: var(--space-5) var(--space-4) var(--space-2);
  background: var(--bg);
  border-color: var(--line);
}
.reference-pipeline h2 {
  font-size: var(--text-label);
  letter-spacing: 2px;
}
.reference-stages {
  padding: 0px 0px var(--space-2);
  margin-top: var(--space-3);
}
.reference-stages strong {
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: var(--secondary);
}
.reference-stages button:not(:last-child)::after {
  left: 75%;
  width: 50%;
  background: var(--line);
}
.reference-stages span {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--muted);
}
.reference-order-actions {
  margin: 0px -20px;
  padding: var(--space-4);
  gap: var(--space-3);
  border-color: var(--line);
}
.reference-qr {
  width: 50px;
  height: 50px;
  border-width: 1.5px;
}
.reference-collection {
  padding-top: 0px;
}
.reference-empty {
  padding: var(--space-12) var(--space-5) var(--space-5);
}
.reference-empty-icon {
  height: 72px;
  width: 72px;
  border-radius: 20px;
  margin-bottom: var(--space-5);
  background: var(--accent-light);
}
.reference-empty h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.reference-empty p {
  font-size: var(--text-body);
  line-height: 20px;
  color: var(--muted);
}
#app[data-page="Home"] .shell {
  background: var(--bg);
}
.bp-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-5) 0px var(--space-3);
}
.bp-section-title h2 {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0px 0px 14px;
}
.bp-section label {
  margin-top: var(--space-4);
}
.bp-section p {
  font-size: 13px;
  line-height: 20px;
}
.bp-section table {
  width: 100%;
  font-size: var(--text-caption);
  border-collapse: collapse;
}
.bp-section th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.bp-section td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.bp-order-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.bp-order-list .order {
  height: 80px;
  padding: 0px;
  border: 0px;
  overflow: hidden;
  border-radius: var(--radius-action);
  gap: 0px;
  background: var(--card);
  box-shadow: rgba(0, 0, 0, 0.067) 0px 2px 8px;
}
.bp-order-list .order-image {
  height: 80px;
  width: 80px;
  border-radius: 0px;
  background: var(--secondary);
}
.bp-order-list .order > div:last-child {
  padding: 0px 14px;
  min-width: 0px;
}
.bp-order-list .order h3 {
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 3px 0px;
}
.bp-order-list .order p {
  display: none;
}
.bp-order-list .order .row {
  margin-top: 3px !important;
}
.bp-order-list .order strong {
  font-size: var(--text-label);
}
.bp-order-list .hint {
  font-size: var(--text-label);
}
.bp-user-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: var(--space-3) 0px;
}
.shell > .filters {
  overflow-x: auto;
  flex-wrap: nowrap;
  margin: var(--space-4) -20px;
  padding: 0px var(--space-5) var(--space-3);
  border-bottom: 1px solid var(--line);
}
.shell > .filters button {
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  min-height: 32px;
}
.bp-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px var(--space-4);
  border-bottom: 1px solid var(--line);
}
.bp-list-header h1 {
  font-size: var(--text-label);
  letter-spacing: 2px;
  margin: 0px;
}
.bp-list-header span {
  font-size: var(--text-caption);
  color: var(--muted);
}
.bp-cart-summary {
  font-size: 13px;
  padding: var(--space-3) 0px;
}
.bp-cart-summary small {
  display: block;
  font-size: var(--text-micro);
  color: var(--muted);
  margin-top: var(--space-1);
}
.bp-cart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 3px;
  margin: 0px -20px;
}
.bp-cart-tile {
  min-width: 0px;
  position: relative;
  overflow: hidden;
}
.bp-cart-tile > .tile-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  padding: 0px;
  display: grid;
  background: var(--secondary) !important;
}
.bp-cart-tile img {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 0px;
}
.bp-category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.467);
  color: rgb(255, 255, 255);
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 8px;
}
.bp-cart-caption {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 28px 10px 10px;
  color: rgb(255, 255, 255);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bp-cart-caption h3 {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0px;
}
.bp-cart-caption > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bp-cart-caption strong {
  font-size: var(--text-body);
}
.bp-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.bp-cart-edit {
  font-size: var(--text-micro);
  padding: 6px;
  min-height: 30px;
}
.bp-discover-header {
  position: sticky;
  top: 0px;
  margin: 0px -20px;
  background: var(--bg);
  z-index: 4;
  padding: 0px var(--space-5);
  border-bottom: 1px solid var(--line);
}
.bp-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-4);
}
.bp-search-row .search {
  flex: 1 1 0%;
  min-width: 0px;
  padding: 10px 14px;
  font-size: var(--text-body);
  border-radius: var(--radius-control);
  background: var(--secondary);
}
.bp-search-row > div {
  display: flex;
  gap: var(--space-1);
}
.bp-search-row .filter {
  font-size: 0px;
  min-width: 42px;
  height: 42px;
  padding: var(--space-2);
  border-radius: 8px;
}
.bp-search-row .filter .material-symbol {
  font-size: var(--text-title);
}
.bp-search-row .icon-action {
  min-width: 36px;
  width: 36px;
  background: var(--accent);
  color: rgb(255, 255, 255);
}
.bp-discover-header .filters {
  display: flex;
  gap: 0px;
  flex-wrap: nowrap;
  margin: 0px;
}
.bp-discover-header .filters button {
  flex: 1 1 0%;
  border-width: 0px 0px 2px;
  border-style: none none solid;
  border-color: currentcolor currentcolor transparent;
  border-image: none;
  border-radius: 0px;
  background: none;
  font-size: var(--text-micro);
  letter-spacing: 1.5px;
  font-weight: 700;
  padding: 0px 2px var(--space-3);
  min-width: 0px;
  min-height: 32px;
}
.bp-discover-header .filters button.active {
  color: var(--accent);
  border-color: var(--accent);
}
.bp-discover-header .filters small {
  font-size: var(--text-micro);
  font-weight: 400;
  letter-spacing: 0px;
}
.brand-group h3 {
  font-size: var(--text-label);
  padding: var(--space-2) var(--space-5);
  margin: 0px -20px;
  border-bottom: 1px solid var(--line);
}
.brand-grid {
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  gap: var(--space-2);
}
.brand-grid .tile-cover {
  aspect-ratio: 1 / 1;
  height: auto !important;
  background: transparent !important;
}
.brand-grid .tile-cover img {
  object-fit: contain;
  padding: var(--space-2);
  object-position: center center !important;
}
.brand-grid .tile-info {
  display: none;
}
.brand-grid .heart {
  height: 28px;
  width: 28px;
  opacity: 0.8;
}
.list-view .brand-grid {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.list-view .tile {
  width: 100%;
  padding: 9px 0px !important;
  gap: var(--space-3) !important;
  border-bottom: 1px solid var(--line) !important;
}
.list-view .tile-cover {
  width: 30px;
  aspect-ratio: 1 / 1;
  height: 30px !important;
}
.list-view .tile-cover img {
  padding: 0px;
}
.list-view .tile-info {
  display: block;
}
.list-view .tile-info h3 {
  font-size: var(--text-body) !important;
}
.list-view .tile .heart {
  min-width: 36px;
  min-height: 36px;
}
.bp-seller-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.bp-seller-list .tile {
  display: flex;
  align-items: center;
  padding: 9px 0px;
  gap: var(--space-3);
  border-radius: 0px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-image: none;
  border-bottom: 1px solid var(--line);
  background: none;
}
.bp-seller-list .tile-cover {
  height: 44px;
  width: 44px;
  border-radius: 22px;
  flex-shrink: 0;
  font-size: 18px;
}
.bp-seller-list .tile-info {
  flex: 1 1 0%;
  padding: 0px;
}
.bp-seller-list .tile-info h3 {
  font-size: var(--text-body);
}
.bp-seller-list .tile-info p {
  font-size: var(--text-label);
}
.bp-seller-list .heart {
  position: static;
  order: 3;
  flex-shrink: 0;
}
.bp-rec {
  font-size: 8px;
  letter-spacing: 0.8px;
  color: rgb(245, 158, 11);
  background: rgba(245, 158, 11, 0.133);
  padding: 2px 6px;
}
.alphabet-rail {
  width: 28px;
  right: 6px;
  border: 0px;
  border-radius: 0px;
  box-shadow: none;
  background: var(--bg);
  bottom: 120px;
  padding: 0px;
}
.alphabet-rail button {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.alphabet-rail .letter-bubble {
  background: var(--accent);
  color: rgb(255, 255, 255);
}
#app[data-page="Discover"] .shell {
  padding-right: 54px;
}
#app[data-page="Discover"] .grid {
  padding-top: 0px;
}
.bp-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px var(--space-6) 28px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.bp-avatar-ring {
  width: 88px;
  height: 88px;
  border-radius: 44px;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: var(--space-1);
}
.bp-profile-avatar {
  height: 76px;
  width: 76px;
  border-radius: 38px;
  display: grid;
  place-items: center;
  font-size: var(--text-price);
  font-weight: 700;
  background: var(--accent);
  color: rgb(255, 255, 255);
  overflow: hidden;
}
.bp-profile-avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.bp-camera {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  border: 2px solid white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bp-camera .material-symbol {
  font-size: 15px;
}
.bp-name-edit {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  color: var(--ink);
}
.bp-name-edit h1 {
  font-size: var(--text-title);
  letter-spacing: -0.5px;
  margin: 0px;
}
.bp-name-edit .material-symbol {
  font-size: 18px;
  color: var(--accent);
}
.bp-profile-header > span {
  font-size: 13px;
  color: var(--muted);
}
.bp-role {
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: var(--space-1) 10px;
  font-size: 9px !important;
  color: var(--accent) !important;
}
.bp-quick-grid {
  display: flex;
  gap: 10px;
  padding: var(--space-4) 0px;
  border-bottom: 1px solid var(--line);
}
.bp-quick-grid button {
  flex: 1 1 0%;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-2);
  box-shadow: rgba(0, 0, 0, 0.067) 0px 2px 8px;
}
.bp-quick-grid .material-symbol {
  color: var(--accent);
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--accent-light);
}
.bp-quick-grid strong {
  font-size: 15px;
}
.bp-quick-grid small {
  font-size: var(--text-caption);
  line-height: 17px;
  color: var(--muted);
}
.bp-menu-row:last-child {
  border-bottom: 0px;
}
.bp-app-info p {
  overflow-wrap: anywhere;
}
.bp-signout {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-action);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 2px;
}
.bp-sheet::before {
  display: none !important;
}
.bp-screen-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 0%;
  min-height: 0px;
  padding-bottom: var(--space-2);
}
.bp-add-item {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden !important;
  max-height: 100dvh !important;
  background: var(--bg) !important;
}
.bp-add-item > .row {
  position: static;
  flex-shrink: 0;
  padding-top: calc(var(--safe-top) + 6px) !important;
  background: var(--bg) !important;
  border-color: var(--line) !important;
}
.bp-add-item .reference-form-heading {
  flex-shrink: 0;
}
.bp-add-item #itemForm {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 0%;
  min-height: 0px;
}
.bp-add-item .reference-field {
  padding: 18px var(--space-5);
  border-color: var(--line);
}
.bp-add-item .reference-name {
  padding: 18px var(--space-5);
  border-color: var(--line);
}
.bp-add-item .reference-form-footer p {
  display: none;
}
.bp-add-item input {
  font-size: var(--text-body);
  color: var(--ink) !important;
}
.bp-add-item textarea {
  font-size: var(--text-body);
  color: var(--ink) !important;
}
.bp-add-item #itemPrice {
  font-size: var(--text-price) !important;
}
.bp-add-item .reference-segments .selected {
  background: var(--primary);
  color: var(--primary-text);
}
.bp-add-item label {
  color: var(--muted);
}
.bp-add-item .reference-photo, .bp-add-item input, .bp-add-item .reference-size-tabs, .bp-add-item .reference-size-special, .bp-add-item button:not(.reference-primary) {
  border-color: var(--line);
}
.bp-add-item .reference-category-group button {
  background: var(--card);
  border-radius: var(--radius-control);
  padding: 10px var(--space-1);
  min-width: 58px;
  gap: 6px;
}
.bp-add-item .reference-category-group button.selected {
  border-color: var(--category-color);
  background: var(--accent-light);
}
.bp-add-item .reference-category-group button span:last-child {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.bp-add-item [aria-invalid="true"] {
  outline: rgb(255, 69, 58) solid 1px;
  border-color: rgb(255, 69, 58) !important;
}
.bp-preferred-size {
  margin-top: var(--space-2);
}
.bp-preferred-size .filter {
  padding: 6px 10px;
  border-radius: 20px;
}
.reference-brand-input {
  position: relative;
  border-color: var(--line);
}
.bp-brand-suggestions {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 100%;
  z-index: 2;
  border-radius: var(--radius-control);
  background: var(--card);
  max-height: 260px;
  overflow: auto;
}
.bp-brand-suggestions:empty {
  display: none;
}
.bp-brand-suggestions button {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 11px 14px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
}
.bp-brand-suggestions img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  background: rgb(28, 28, 30);
  border-radius: 6px;
}
.bp-size-accordion {
  border-bottom: 1px solid var(--line);
}
.bp-size-accordion summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-size: var(--text-body);
}
.bp-size-accordion summary > span:nth-child(2) {
  flex: 1 1 0%;
}
.bp-size-accordion small {
  display: block;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 2px;
}
.bp-size-accordion > div {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--line);
}
.bp-size-accordion label {
  margin: 0px 0px 14px;
}
.bp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.bp-chips .filter {
  min-width: 52px;
  padding: 9px 14px;
}
.bp-measure-title {
  padding: 10px var(--space-5);
  border-block: 1px solid var(--line);
  font-size: var(--text-micro);
  letter-spacing: 2px;
  margin: var(--space-5) 0px 0px;
}
.bp-measure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-transform: capitalize;
}
.bp-measure-row > span:last-child {
  width: 90px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  border: 1px solid var(--line);
  padding: 7px 10px;
  font-size: var(--text-label);
}
.bp-measure-row input {
  font-size: var(--text-body);
  width: 100%;
  padding: 0px;
  border: 0px;
  background: none;
  color: var(--ink);
  text-align: right;
}
.bp-measure-row input::-webkit-inner-spin-button {
  display: none;
}
.bp-currency-grid {
  display: flex;
  gap: 10px;
}
.bp-currency-grid > div {
  flex: 1 1 0%;
  border: 1px solid var(--line);
  padding: var(--space-4) 14px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0px;
}
.bp-currency-grid strong {
  font-size: var(--text-micro);
  letter-spacing: 1.5px;
}
.bp-currency-grid span {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bp-line-chart {
  width: 100%;
  max-height: 200px;
}
.bp-pie {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: var(--space-5) auto;
}
.bp-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-3) 0px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bp-legend > span:first-of-type {
  flex: 1 1 0%;
}
.bp-legend > i {
  width: 10px;
  height: 10px;
  border-radius: 5px;
}
.bp-legend strong {
  font-size: var(--text-caption);
}
.bp-legend small {
  display: block;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: 3px;
}
.bp-theme-chips {
  display: flex;
  gap: var(--space-2);
}
.bp-theme-chips button {
  flex: 1 1 0%;
  border-width: 1.5px;
  border-radius: 8px;
  padding: 10px;
}
.bp-appearance-sheet {
  max-height: 85dvh !important;
  background: var(--card) !important;
  border-radius: 20px 20px 0px 0px !important;
  padding-bottom: calc(var(--space-5) + var(--safe-bottom)) !important;
}
.bp-login {
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  background: var(--bg);
}
.bp-register {
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  background: var(--bg);
}
.auth {
  background: var(--bg);
}
.auth-form {
  padding-inline: 36px;
}
.auth-form .auth-logo {
  width: 150px;
  height: 95px;
  object-fit: cover;
  margin: 0px auto 52px;
  border-radius: 0px;
}
.auth-form label input {
  color: var(--ink);
  border-color: var(--accent);
}
.bp-auth-field {
  position: relative;
  padding-left: var(--space-8);
}
.bp-auth-field > .material-symbol {
  position: absolute;
  left: 0px;
  bottom: 12px;
  font-size: 19px;
  color: var(--muted);
}
.auth-switch .text-button {
  color: var(--ink);
}
.auth-switch {
  padding-top: 36px;
}
.bp-register-back {
  align-self: flex-start;
  margin-bottom: var(--space-2);
}
.bp-pending {
  min-height: 100dvh;
  padding: var(--safe-top) var(--space-8) var(--safe-bottom);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  max-width: 500px;
  margin: auto;
}
.bp-pending-ring {
  width: 110px;
  height: 110px;
  border-radius: 55px;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  background: var(--accent-light);
}
.bp-pending-ring .material-symbol {
  font-size: 42px;
  color: var(--accent);
}
.bp-pending h1 {
  font-size: 26px;
  text-align: center;
  letter-spacing: -0.5px;
  margin: 0px;
}
.bp-pending p {
  font-size: var(--text-body);
  line-height: 22px;
  text-align: center;
  margin: 0px;
}
.bp-pending-info {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-3);
  width: 100%;
  font-size: var(--text-caption);
}
.bp-pending-info strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.bp-pending > button {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-action);
}
.bp-pending .primary {
  background: var(--accent);
  color: white;
}
.panel {
  background: var(--card);
  border-color: var(--line);
}
label input {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--line);
}
label select {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--line);
}
label textarea {
  background: var(--secondary);
  color: var(--ink);
  border-color: var(--line);
}
.order {
  color: var(--ink);
}
.catalog-detail-hero {
  color: white;
}
.bp-theme-chips .active {
  border-color: var(--accent);
}
.bp-not-found {
  text-align: center;
  padding: var(--safe-top) var(--space-6);
  min-height: 100dvh;
}
.bp-profile-header .bp-profile-avatar img {
  width: 76px;
  height: 76px;
}
.bp-section input {
  max-width: 100%;
}
.bp-section select {
  max-width: 100%;
}
@media (max-width: 760px) {
.reference-home-header {
  margin-top: calc(-1 * var(--safe-top));
}
.reference-home-identity {
  padding-top: calc(var(--safe-top) + 6px);
  min-height: 0px;
}
.reference-home-header .home-banner {
  position: absolute;
  height: 100%;
  width: 100%;
}
.overlay {
  padding: 0px;
  align-items: end;
}
.bp-order-list .order h3 {
  font-size: 15px;
}
.bp-search-row {
  gap: 6px;
}
.bp-search-row .filter {
  min-width: 36px;
  width: 36px;
  padding: 6px;
}
.bp-search-row .search {
  font-size: 13px;
}
.brand-grid {
  grid-template-columns: repeat(4, minmax(0px, 1fr));
}
.list-view .brand-grid {
  display: flex;
}
.list-view .tile-cover {
  width: 30px !important;
  height: 30px !important;
}
.brand-grid .heart {
  height: 24px;
  width: 24px;
  min-width: 24px;
  min-height: 24px;
}
.bp-order-list .order-image {
  width: 80px;
  height: 80px;
}
.reference-empty {
  padding-top: var(--space-12);
}
.bp-currency-grid > div {
  padding: var(--space-4) 10px;
}
.auth-form {
  padding-inline: 36px;
}
}
.brand-grid:not(.bp-seller-list) .heart {
  display: none;
}
.list-view .brand-grid .heart {
  display: grid;
  min-width: 44px;
  min-height: 44px;
}
.bp-cart-tile > .tile-cover > .material-symbol {
  justify-self: center;
  font-size: var(--text-price);
}
.bp-brand-hero .catalog-logo {
  background: rgb(28, 28, 30);
}
#app[data-page="Home"] .bottom {
  background: var(--secondary);
}
.bp-cart-edit {
  display: none;
}
.bp-seller-hero {
  background: linear-gradient(color-mix(in srgb,var(--accent) 25%,#111),#171b19);
  color: rgb(255, 255, 255);
}
.bp-seller-hero h1 {
  color: rgb(255, 255, 255);
}

/* BLUEPRINT DETAILS: feature layouts */
.bp-detail-status {
  border-left: 4px solid var(--status);
  border-bottom: 1px solid var(--line);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-1);
  flex-direction: column;
}
.bp-detail-status > strong {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--status);
}
.bp-detail-status small {
  font-size: var(--text-caption);
  color: var(--muted);
}
.bp-progress-pills {
  display: flex;
  gap: 3px;
  margin-top: var(--space-2);
}
.bp-progress-pills i {
  width: 18px;
  height: 4px;
  background: var(--line);
}
.bp-progress-pills i.done {
  background: var(--status);
}
.bp-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bp-product-image.cart-image {
  height: 260px;
  aspect-ratio: auto;
}
.bp-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-product-image > .material-symbol {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.627);
}
.bp-detail-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 0px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bp-detail-row > span:first-child {
  width: 76px;
  flex-shrink: 0;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.bp-detail-row strong {
  flex: 1 1 0%;
  font-size: var(--text-body);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.bp-detail-row a {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.bp-detail-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 1px solid rgba(136, 136, 136, 0.2);
  vertical-align: middle;
  margin-right: var(--space-2);
}
.bp-footer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-footer-row > .reference-primary {
  flex: 1 1 0%;
  min-width: 0px;
}
.bp-footer-row > select {
  max-width: 46%;
  padding: var(--space-3);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.bp-footer-row .danger {
  min-width: 50px;
}
.bp-admin-order-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-caption);
  gap: 6px;
  margin-bottom: var(--space-2);
}
.bp-admin-order-context span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bp-rating-section {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--line);
}
.bp-rating-section h2 {
  font-size: var(--text-micro);
  letter-spacing: 2px;
  margin: 0px 0px 10px;
}
.bp-rating-stars {
  display: flex;
  gap: var(--space-2);
}
.bp-rating-stars button {
  background: none;
  color: var(--muted);
  height: 44px;
  min-width: 44px;
  padding: 0px;
}
.bp-rating-stars .material-symbol {
  font-size: 34px;
}
.bp-rating-stars button.selected {
  color: var(--accent);
}
.bp-rating-select {
  margin-top: var(--space-2);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: var(--space-2);
  font-size: var(--text-caption);
}
.bp-brand-hero {
  margin: 0px;
  border-radius: 0px;
  min-height: 220px;
}
.bp-brand-identity {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0%;
}
.bp-brand-identity h1 {
  font-size: var(--text-item-title);
  letter-spacing: -0.2px;
  margin: 0px;
}
.bp-brand-identity p {
  font-size: var(--text-caption);
  line-height: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0px;
}
.bp-brand-hero .catalog-identity {
  align-items: flex-end;
  padding: 18px;
  gap: var(--space-3);
}
.bp-brand-hero .catalog-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-action);
}
.bp-wallpaper-badge {
  font-size: var(--text-label);
  font-weight: 600;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.467);
  border-radius: 20px;
}
.bp-full-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  min-height: 48px;
}
.bp-associated-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-action);
  overflow: hidden;
}
.bp-associated-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
.bp-associated-row:last-child {
  border-bottom: 0px;
}
.bp-associated-row > button {
  flex: 1 1 0%;
  min-width: 0px;
  background: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  padding: var(--space-1) 0px;
  font-size: var(--text-body);
  font-weight: 600;
}
.bp-associated-row small {
  display: block;
  font-size: var(--text-label);
  color: var(--muted);
  margin-top: var(--space-1);
}
.bp-associated-row > a {
  font-size: var(--text-label);
  flex-shrink: 0;
}
.bp-associated-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgb(28, 28, 30);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.bp-associated-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bp-seller-hero {
  padding: var(--space-6) var(--space-5) 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bp-seller-avatar {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: var(--text-price);
  margin-bottom: 14px;
}
.bp-seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-seller-hero h1 {
  font-size: var(--text-title);
  letter-spacing: -0.5px;
  text-align: center;
  margin: 0px;
}
.bp-seller-meta {
  display: flex;
  gap: var(--space-2);
  margin-top: 10px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 1px;
}
.bp-seller-meta > span {
  padding: var(--space-1) 10px;
  background: var(--secondary);
  border-radius: 6px;
}
.bp-rating-hero {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.bp-rating-hero > strong {
  font-size: 52px;
  line-height: 56px;
}
.bp-rating-hero > span {
  font-size: 25px;
  color: var(--accent);
}
.bp-rating-hero small {
  display: block;
  font-size: var(--text-caption);
  color: var(--muted);
}
.bp-catalog-editor .bp-stack-header {
  justify-content: space-between;
  gap: var(--space-2);
}
.bp-catalog-editor .bp-stack-header h1 {
  font-size: var(--text-label);
  letter-spacing: 1px;
}
.bp-catalog-editor .bp-stack-header button {
  font-size: var(--text-label);
  padding: 10px 0px;
  letter-spacing: 1px;
}
.bp-catalog-editor form {
  padding: var(--space-5);
}
.bp-catalog-fields {
  grid-template-columns: 1fr;
  gap: 18px;
}
.bp-catalog-fields label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 1.5px;
}
.bp-catalog-fields input {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0px;
}
.bp-catalog-fields select {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0px;
}
.bp-catalog-fields textarea {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0px;
}
.bp-password-field {
  position: relative;
}
.bp-password-field input {
  padding-right: var(--space-12);
  height: 48px;
  border-radius: var(--radius-control);
}
.bp-password-field > button {
  position: absolute;
  right: 8px;
  bottom: 2px;
  width: 44px;
  height: 44px;
  background: none;
  color: var(--muted);
}
#bpPasswordMessage {
  margin-top: 18px;
}
.bp-rating-section .bp-rating-stars {
  flex-wrap: wrap;
}
.bp-user-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0px;
  border-bottom: 1px solid var(--line);
}
.bp-user-row .avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-size: 15px;
}
.bp-user-data {
  flex: 1 1 0%;
  min-width: 0px;
  font-size: var(--text-body);
}
.bp-user-data small {
  display: block;
  font-size: var(--text-caption);
  color: var(--muted);
  overflow-wrap: anywhere;
  margin: var(--space-1) 0px var(--space-2);
}
.bp-user-data .bp-role {
  letter-spacing: 1px;
  font-size: 8px !important;
}
.bp-user-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-1);
  max-width: 100px;
}
.bp-user-actions select {
  font-size: var(--text-label);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px;
  max-width: 100px;
}
.bp-user-actions button {
  font-size: var(--text-micro);
  padding: 6px;
  min-height: 32px;
}
.bp-catalog-fields label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-catalog-fields input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0px;
  accent-color: var(--accent);
}
.bp-catalog-fields input[type="number"] {
  max-width: 100%;
}

/* BLUEPRINT SCAN: feature layouts */
.bp-scan-sheet {
  overflow: auto;
  max-height: 92dvh !important;
  padding: 0 0 var(--safe-bottom) !important;
  border-radius: 20px 20px 0px 0px !important;
  background: var(--card) !important;
}
.bp-scan-sheet::before {
  display: none !important;
}
.bp-scan-sheet > header {
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--line);
}
.bp-scan-sheet h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0px;
}
.bp-scan-sheet header p {
  margin: 3px 0px 0px;
}
.bp-scan-handle {
  height: 4px;
  width: 36px;
  background: var(--line);
  border-radius: 2px;
  margin: 10px auto var(--space-1);
}
.bp-scan-pick {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px;
  gap: var(--space-2);
  font-size: 9px;
  letter-spacing: 2px;
}
.bp-scan-pick input {
  max-width: 100%;
  font-size: var(--text-label);
}
#bpScanPreview img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  margin: var(--space-4) 0px;
}
.bp-scan-sheet .bp-full-button {
  margin-top: var(--space-3);
}
.bp-rating-bars {
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
}
.bp-rating-bars > div {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-caption);
}
.bp-rating-bars i {
  flex: 1 1 0%;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.bp-rating-bars b {
  display: block;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* LOGO LOADING: feature layouts */
.logo-pending .tile-cover {
  position: relative;
}
.logo-pending .tile-cover::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 8px;
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 200% 100%;
  animation: 1.3s ease-in-out 0s infinite normal none running logo-shimmer;
  pointer-events: none;
}
.logo-reveal .tile-cover img {
  animation: logo-in .22s ease-out var(--logo-delay,0ms) both;
}
@keyframes logo-in { 
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0px); }
}
@keyframes logo-shimmer { 
  0% { background-position: 150% 0px; }
  100% { background-position: -50% 0px; }
}
@media (prefers-reduced-motion: reduce) {
.logo-pending .tile-cover::after {
  animation: auto ease 0s 1 normal none running none;
}
.logo-reveal .tile-cover img {
  animation: auto ease 0s 1 normal none running none;
}
.logo-reveal .tile-cover img {
  opacity: 1;
  transform: none;
}
}

/* INTERACTION FIXES: feature layouts */
.reference-order-sheet > .row {
  min-height: 56px;
}
.bp-fixed-footer .reference-primary {
  width: 100%;
}
.reference-form-footer .reference-primary {
  width: 100%;
}
.bp-stack-header .text-button {
  min-height: 44px;
}
.bp-screen-body {
  animation: 0.16s ease-out 0s 1 normal none running app-content-in;
}
.primary {
  transition: background 0.15s, transform 0.12s, opacity 0.15s;
}
.secondary {
  transition: background 0.15s, transform 0.12s, opacity 0.15s;
}
.reference-primary {
  transition: background 0.15s, transform 0.12s, opacity 0.15s;
}
.icon-action {
  transition: background 0.15s, transform 0.12s, opacity 0.15s;
}
.inline-analysis {
  font-size: var(--text-caption);
  line-height: 1.6;
  padding: 10px 0px;
}
.inline-analysis.error {
  padding: var(--space-3);
}
.link-suggestion {
  background: var(--accent-light);
  padding: 18px var(--space-5) !important;
  border: 1px solid var(--accent) !important;
}
.link-suggestion h3 {
  font-size: var(--text-micro);
  letter-spacing: 2px;
  color: var(--accent);
}
.link-suggestion > strong {
  font-size: 15px;
  line-height: 1.5;
  display: block;
  margin-bottom: var(--space-3);
}
.link-suggestion label {
  margin-top: var(--space-3);
}
.link-suggestion select {
  width: 100%;
  font-size: var(--text-body);
  background: var(--card);
  color: var(--ink);
  padding: 10px;
  border: 1px solid var(--line);
  margin-top: 6px;
}
.link-suggestion button {
  margin-top: var(--space-3);
}
.qr-camera {
  position: relative;
  background: rgb(0, 0, 0);
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.qr-camera video {
  width: 100%;
  max-height: 65dvh;
  object-fit: cover;
  min-height: 360px;
}
.qr-target {
  position: absolute;
  width: 240px;
  height: 240px;
  max-width: 75%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: rgba(0, 0, 0, 0.333) 0px 0px 0px 100vmax;
  pointer-events: none;
}
.qr-camera p {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.733);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  color: rgb(255, 255, 255);
  font-size: var(--text-caption);
  text-align: center;
  z-index: 1;
}
#guidedTour {
  position: fixed;
  inset: 0px;
  z-index: 100;
  pointer-events: none;
}
#guidedTour > svg {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
}
.tour-card {
  position: absolute;
  left: max(16px, -220px + 50vw);
  right: max(16px, -220px + 50vw);
  border: 1px solid var(--accent);
  border-radius: var(--radius-overlay);
  padding: var(--space-5);
  background: var(--card);
  color: var(--ink);
  box-shadow: rgba(0, 0, 0, 0.467) 0px 10px 30px;
  pointer-events: auto;
}
.tour-card h2 {
  font-size: var(--text-control);
  margin: var(--space-3) 0px;
}
.tour-card p {
  font-size: var(--text-body);
  line-height: 22px;
  margin: 0px 0px var(--space-4);
}
.tour-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}
.tour-actions button {
  min-height: 44px;
}
.tour-card .eyebrow {
  color: var(--accent);
  font-size: var(--text-micro);
}
@keyframes app-sheet-in { 
  0% { transform: translateY(15px); opacity: 0.7; }
  100% { transform: translateY(0px); opacity: 1; }
}
@keyframes app-content-in { 
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.bp-screen-body {
  animation: auto ease 0s 1 normal none running none;
}
}
.detected-product-photo {
  margin: var(--space-3) 0px;
  border-radius: var(--radius-control);
  overflow: hidden;
  background: var(--card);
}
.detected-product-photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
}

/* UPDATES NOTIFICATIONS: feature layouts */
#appUpdateSettings {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
#appUpdateSettings p {
  flex-basis: 100%;
  margin: 0px;
}
#appUpdateSettings a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
}
.app-update-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: var(--accent-light);
  border: 1px solid var(--accent);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  font-size: 13px;
}
.app-update-banner .material-symbols-rounded:last-child {
  margin-left: auto;
}
.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 0px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-image: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.notification-entry > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 0%;
}
.notification-entry strong {
  font-size: var(--text-body);
}
.notification-entry span span {
  font-size: 13px;
  line-height: 1.6;
}
.notification-entry small {
  font-size: var(--text-label);
  color: var(--muted);
}
.notification-entry i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
}
#appReleaseForm label {
  display: block;
  margin-bottom: 22px;
}
#appReleaseForm input {
  width: 100%;
  margin-top: 10px;
}
#appReleaseForm textarea {
  width: 100%;
  margin-top: 10px;
}
#appReleaseForm textarea {
  min-height: 120px;
}
#releaseStatus {
  line-height: 1.6;
  font-size: 13px;
}

/* SHARED LINKS: feature layouts */
.shared-link-notice {
  position: fixed;
  z-index: 120;
  left: 16px;
  right: 16px;
  top: max(20px,env(safe-area-inset-top));
  max-width: 480px;
  margin: 0px auto;
  padding: var(--space-5);
  border: 1px solid var(--accent);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: rgba(0, 0, 0, 0.6) 0px 12px 40px;
}
.shared-link-notice p {
  font-size: 13px;
  line-height: 1.6;
}
.shared-link-notice > div {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.shared-link-notice button {
  min-height: 44px;
  flex: 1 1 0%;
}

/* COMMUNITY REFINEMENTS: feature layouts */
.list-view .tile {
  padding: var(--space-2) 10px;
  gap: var(--space-3);
  min-height: 76px;
}
.bp-seller-list .tile {
  padding: var(--space-2) 10px;
  gap: var(--space-3);
  min-height: 76px;
}
.list-view .tile h3 {
  font-size: var(--text-item-title);
}
.bp-seller-list .tile h3 {
  font-size: var(--text-item-title);
}
.list-view .tile-cover {
  width: 62px;
  min-width: 62px;
  height: 62px;
}
.bp-seller-list .tile-cover {
  width: 62px;
  min-width: 62px;
  height: 62px;
}
.list-view .tile button[aria-pressed] {
  border: 0px;
  background: transparent;
  box-shadow: none;
  border-radius: 0px;
}
.list-view .tile button[aria-pressed] .material-symbols-rounded {
  font-size: 28px;
}
.notification-entry {
  transition: transform 0.15s;
}
.alphabet-rail {
  touch-action: none;
}
.tile .heart {
  background: transparent !important;
  border: 0px !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
.tile .heart span {
  font-size: 28px;
}

/* PULL REFRESH: feature layouts */
html {
  overscroll-behavior-y: contain;
}
#pullRefreshStatus {
  position: fixed;
  z-index: 90;
  top: max(14px,env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -80px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius-overlay);
  background: var(--card);
  color: var(--ink);
  box-shadow: rgba(0, 0, 0, 0.333) 0px 4px 20px;
  padding: var(--space-3) var(--space-5);
  font-size: 13px;
  white-space: nowrap;
  transition: transform 0.16s, opacity 0.16s;
}
#pullRefreshStatus.visible {
  transform: translate(-50%, 0px);
  opacity: 1;
}
#pullRefreshStatus.loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-top-style: ;
  border-top-width: ;
  border-right-color: ;
  border-right-style: ;
  border-right-width: ;
  border-bottom-color: ;
  border-bottom-style: ;
  border-bottom-width: ;
  border-left-color: ;
  border-left-style: ;
  border-left-width: ;
  border-image-source: ;
  border-image-slice: ;
  border-image-width: ;
  border-image-outset: ;
  border-image-repeat: ;
  border-top-color: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
  animation: 0.8s linear 0s infinite normal none running refresh-spin;
}
@keyframes refresh-spin { 
  100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
#pullRefreshStatus {
  transition: none;
}
#pullRefreshStatus.loading::before {
  animation: auto ease 0s 1 normal none running none;
}
}

/* CATALOG LISTS: feature layouts */
.catalog-directory {
  padding-right: var(--space-5);
  display: block !important;
  margin: 0px !important;
}
.directory-group {
  scroll-margin-top: 145px;
}
.directory-group > h3 {
  margin: 0px;
  padding: var(--space-3) var(--space-4);
  font-size: 13px;
  color: var(--accent);
  border-block: 1px solid var(--line);
  letter-spacing: 1px;
}
.directory-entry {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  min-width: 0px;
}
.directory-open {
  border: 0px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1 1 0%;
  min-width: 0px;
  padding: 9px var(--space-4);
  background: transparent;
  color: var(--ink);
  text-align: left;
  min-height: 62px;
}
.directory-open strong {
  font-size: var(--text-item-title);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.directory-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 42px;
}
.directory-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.directory-star {
  color: var(--muted);
  padding: var(--space-2) var(--space-3);
  min-width: 46px;
  border: 0px !important;
  background: transparent !important;
  border-radius: 0px !important;
}
.directory-star .material-symbol {
  font-size: 26px;
  font-variation-settings: "FILL" 0;
}
.directory-star.saved {
  color: var(--accent);
}
.directory-star.saved .material-symbol {
  font-variation-settings: "FILL" 1;
}
.directory-seller .directory-open {
  min-height: 46px;
  padding-block: 11px;
}
.catalog-letter-rail {
  position: fixed;
  right: 0px;
  top: 190px;
  bottom: 125px;
  width: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 15;
  touch-action: none;
}
.catalog-letter-rail button {
  flex: 1 1 0%;
  min-height: 0px;
  max-height: 30px;
  border: 0px;
  background: var(--bg);
  padding: 0px;
  color: var(--accent);
  font-size: var(--text-label);
}
.directory-grid .directory-entries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
}
.directory-grid .directory-entry {
  position: relative;
}
.directory-grid .directory-open {
  padding: 18px var(--space-2);
  justify-content: center;
}
.directory-grid .directory-open strong {
  display: none;
}
.directory-grid .directory-logo {
  flex-basis: 54px;
  height: 58px;
}
.directory-grid .directory-star {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 0px;
  min-width: 24px;
}
.directory-grid .directory-star .material-symbol {
  font-size: 18px;
}
.directory-seller-hero {
  text-align: center;
  background: var(--accent) !important;
  color: rgb(255, 255, 255) !important;
  padding: 34px var(--space-5) !important;
}
.directory-seller-hero .bp-seller-avatar {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.208) !important;
  color: rgb(255, 255, 255) !important;
}
.directory-seller-hero .bp-seller-avatar .material-symbol {
  font-size: 46px;
}
.seller-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  gap: var(--space-4) var(--space-2);
}
.seller-brand-grid button {
  border: 0px;
  background: transparent;
  color: var(--ink);
  padding: 0px;
  min-width: 0px;
}
.seller-brand-grid button > span {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-brand-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seller-brand-grid small {
  display: block;
  font-size: var(--text-micro);
  margin-top: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seller-brand-section {
  margin: 14px;
  border: 1px solid var(--line);
  padding: var(--space-5) !important;
}

/* SAVE ORDER: feature layouts */
.share-action-choice > button {
  width: 100%;
  padding: var(--space-6);
  margin: var(--space-3) 0px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: var(--space-2) var(--space-4);
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-card);
}
.share-action-choice img {
  width: 36px;
  height: 36px;
  grid-row: span 2;
}
.share-action-choice strong {
  font-size: 20px;
}
.share-action-choice small {
  color: var(--muted);
}
.saved-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 14px;
}
.saved-items-grid article {
  position: relative;
  min-width: 0px;
}
.saved-items-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--secondary);
  border-radius: var(--radius-action);
  overflow: hidden;
  color: var(--accent);
}
.saved-items-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.saved-items-grid article > button {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: var(--card);
  border-radius: 50%;
  padding: var(--space-2);
}
.bottom .nav {
  min-width: 0px;
}

/* NAVIGATION GESTURES: feature layouts */
.reference-home-identity .avatar {
  position: relative;
  padding: 0px;
  overflow: visible !important;
}
.reference-home-identity .avatar > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.notification-bubble {
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0px 5px;
  border-radius: 20px;
  background: rgb(241, 59, 75);
  color: rgb(255, 255, 255);
  font-size: var(--text-label);
  font-weight: 800;
  line-height: 20px;
  border: 2px solid var(--bg);
  box-sizing: content-box;
}
.notification-list {
  overflow-x: hidden;
}
.notification-entry {
  touch-action: pan-y;
  will-change: transform, opacity;
}
.notification-remove {
  min-height: 44px;
}

/* AUTOMATIC AUTOFILL: feature layouts */
.autofill-skeleton {
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 250% 100%;
  animation: 1.2s linear 0s infinite normal none running autofill-shimmer;
  border-radius: 8px;
}
.autofill-skeleton input {
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 250% 100%;
  animation: 1.2s linear 0s infinite normal none running autofill-shimmer;
  border-radius: 8px;
}
.autofill-skeleton select {
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 250% 100%;
  animation: 1.2s linear 0s infinite normal none running autofill-shimmer;
  border-radius: 8px;
}
.autofill-photo-skeleton {
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 250% 100%;
  animation: 1.2s linear 0s infinite normal none running autofill-shimmer;
  border-radius: 8px;
}
.autofill-skeleton input::placeholder {
  color: transparent;
}
.autofill-photo-skeleton {
  min-height: 72px;
}
.autofill-photo-skeleton img {
  opacity: 0.5;
}
@keyframes autofill-shimmer { 
  0% { background-position: 200% 0px; }
  100% { background-position: -50% 0px; }
}
@media (prefers-reduced-motion: reduce) {
.autofill-skeleton {
  animation: auto ease 0s 1 normal none running none;
}
.autofill-skeleton input {
  animation: auto ease 0s 1 normal none running none;
}
.autofill-skeleton select {
  animation: auto ease 0s 1 normal none running none;
}
.autofill-photo-skeleton {
  animation: auto ease 0s 1 normal none running none;
}
}

/* IMAGE CROP: feature layouts */
.image-crop-sheet {
  max-height: 92dvh;
  overflow-y: auto;
  max-width: 560px !important;
  padding: var(--space-6) !important;
}
.image-crop-sheet canvas {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
  background: rgb(17, 17, 17);
  border: 2px solid var(--accent);
  border-radius: var(--radius-control);
}
.image-crop-sheet input[type="range"] {
  width: 100%;
  min-height: 44px;
}
.image-crop-sheet label {
  display: block;
  margin-top: 18px;
}
.crop-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.crop-actions button {
  flex: 1 1 0%;
  min-height: 48px;
}
.saved-items-grid a {
  aspect-ratio: 1 / 1 !important;
}
.collection-photo {
  aspect-ratio: 1 / 1 !important;
}
.bp-product-image {
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0px !important;
}
.reference-photo {
  aspect-ratio: 1 / 1;
}

/* GALLERY SELECTION: feature layouts */
.gallery-controls {
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: flex-end;
}
.gallery-controls label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-caption);
}
.gallery-controls select {
  padding: var(--space-2);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
#gallerySelectionBar:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  top: 0px;
  z-index: 22;
  background: var(--card);
  padding: var(--space-3);
  border-bottom: 1px solid var(--accent);
}
#gallerySelectionBar button {
  min-height: 44px;
  background: var(--secondary);
  color: var(--ink);
  border: 0px;
  padding: 10px;
  border-radius: var(--radius-control);
}
#gallerySelectionBar small {
  width: 100%;
  color: var(--muted);
}
.gallery-card {
  position: relative;
  user-select: none;
}
.gallery-card img {
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-selected {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  border-radius: var(--radius-control);
}
.gallery-selected::after {
  content: "✓";
  position: absolute;
  right: 6px;
  top: 6px;
  background: var(--accent);
  color: rgb(0, 0, 0);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  pointer-events: none;
}
.saved-items-grid a {
  aspect-ratio: 1 / 1 !important;
}
.collection-photo {
  aspect-ratio: 1 / 1 !important;
}
.bp-product-image {
  aspect-ratio: 1 / 1 !important;
}
#editSavedPreview img {
  width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.saved-items-grid.gallery-mode article > .text-button {
  display: none;
}

/* PREMIUM INTERACTIONS: feature layouts */
html {
  scrollbar-gutter: stable;
}
html.premium-modal-open {
  overflow: hidden;
}
.bp-screen-body {
  animation: auto ease 0s 1 normal none running none !important;
}
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
input {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
.filters button:active {
  transform: none;
}
.directory-open:active {
  transform: none;
}
.nav:active {
  transform: none;
}
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
.shell > .filters {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  min-height: 48px;
  scrollbar-width: none;
  align-items: center;
}
.shell > .filters::-webkit-scrollbar {
  display: none;
}
.shell > .filters .filter {
  flex: 0 0 auto;
  min-height: 44px;
  font-weight: 600;
  white-space: nowrap;
}
.bp-discover-header .filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  min-height: 48px;
}
.bp-discover-header .filters button {
  min-width: 0px;
  min-height: 48px;
  padding-inline: 4px;
  white-space: nowrap;
  font-weight: 700;
}
.bp-discover-header small {
  font-variant-numeric: tabular-nums;
}
.reference-stages strong {
  font-variant-numeric: tabular-nums;
}
.bp-search-row {
  min-height: 52px;
  flex-wrap: nowrap !important;
}
.bp-search-row .search {
  min-width: 0px;
  flex: 1 1 0%;
  width: 0px !important;
}
.premium-layouts {
  flex: 0 0 88px;
  display: flex !important;
  gap: 0px !important;
}
.premium-layouts button {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0px !important;
}
.premium-layouts button:disabled {
  opacity: 0.3;
}
.catalog-directory {
  min-height: calc(100dvh - 250px);
  align-content: start;
}
.orders-grid {
  min-height: calc(100dvh - 250px);
  align-content: start;
}
.bp-user-context {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0px !important;
}
.bp-user-context[hidden] {
  visibility: hidden;
  display: flex !important;
}
.directory-open strong {
  min-width: 0px;
}
.collection-caption h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.7em;
}
.order > div:last-child {
  min-width: 0px;
}
.order h3 {
  overflow-wrap: anywhere;
}
.premium-image-pending {
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 220% 100%;
  animation: 1.4s ease 0s infinite normal none running premium-shimmer;
}
.premium-saved-loading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: var(--space-2);
  padding-top: 58px;
}
.premium-saved-loading span {
  aspect-ratio: 1 / 1;
  background-image: ;
  background-position-x: ;
  background-position-y: ;
  background-repeat: ;
  background-attachment: ;
  background-origin: ;
  background-clip: ;
  background-color: ;
  background-size: 220% 100%;
  animation: 1.4s ease 0s infinite normal none running premium-shimmer;
  border-radius: var(--radius-control);
}
.premium-saving {
  position: relative;
  opacity: 0.65 !important;
  cursor: wait !important;
}
.premium-saving::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 14px;
  height: 14px;
  border-width: 2px;
  border-style: solid;
  border-color: currentcolor transparent currentcolor currentcolor;
  border-image: none;
  border-radius: 50%;
  animation: 0.8s linear 0s infinite normal none running refresh-spin;
}
#gallerySelectionBar:not([hidden]) {
  position: fixed;
  top: auto;
  bottom: calc(78px + env(safe-area-inset-bottom));
  left: 12px;
  right: 12px;
  max-width: 696px;
  margin-inline: auto;
  z-index: 22;
  box-shadow: rgba(0, 0, 0, 0.333) 0px 8px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-action);
}
@keyframes premium-sheet-in { 
  0% { opacity: 0.75; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0px); }
}
@keyframes premium-shimmer { 
  0% { background-position: 150% 0px; }
  100% { background-position: -50% 0px; }
}
@media (prefers-reduced-motion: reduce) {
* {
  animation: auto ease 0s 1 normal none running none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
::before {
  animation: auto ease 0s 1 normal none running none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
::after {
  animation: auto ease 0s 1 normal none running none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
}

/* PROFILE REFRESH: feature layouts */
.profile-summary {
  text-align: center;
  padding: 0px var(--space-5) var(--space-6);
}
.profile-summary .bp-profile-avatar {
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 28px;
}
.profile-summary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-summary h1 {
  font-size: var(--text-title);
  letter-spacing: 0px;
  margin: var(--space-4) 0px var(--space-1);
}
.profile-summary p {
  margin: 0px;
  font-size: 13px;
}
.profile-main-menu {
  margin-top: var(--space-3);
}
.profile-size-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.profile-photo-setting {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}
.profile-photo-setting .bp-profile-avatar {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent-light);
  display: grid;
  place-items: center;
}
.profile-photo-setting img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#profileDetailsForm > button {
  margin-top: var(--space-6);
  width: 100%;
}
.profile-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 60px;
}
.profile-toggle-row small {
  display: block;
  color: var(--muted);
  font-size: var(--text-caption);
  margin-top: 6px;
}
.profile-toggle-row input[role="switch"] {
  appearance: none;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  border: 0px;
  border-radius: var(--radius-overlay);
  background: rgb(102, 102, 102);
  margin: 0px;
  position: relative;
  cursor: pointer;
  padding: 0px;
}
.profile-toggle-row input[role="switch"]::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: rgb(255, 255, 255);
  transition: transform 0.15s;
}
.profile-toggle-row input[role="switch"]:checked {
  background: var(--accent);
}
.profile-toggle-row input[role="switch"]:checked::before {
  transform: translateX(20px);
}
.profile-toggle-row input:disabled {
  opacity: 0.4;
}
.about-app > img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.about-app dl {
  margin: var(--space-6) 0px;
}
.about-app dt {
  font-size: var(--text-caption);
  color: var(--muted);
  margin-top: var(--space-5);
}
.about-app dd {
  margin: var(--space-2) 0px;
  overflow-wrap: anywhere;
}
.about-app .reference-primary {
  width: 100%;
  text-decoration: none;
}
.accent-settings > h2 {
  font-size: var(--text-label);
  letter-spacing: 2px;
  margin: 0px;
}
.banner-settings-title h2 {
  font-size: var(--text-label);
  letter-spacing: 2px;
  margin: 0px;
}
.accent-settings > p {
  font-size: var(--text-body);
  line-height: 1.6;
}
.accent-settings #itemColorPreview {
  display: block;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.376);
  border-radius: 4px;
  margin: 18px 0px var(--space-3);
}
.accent-wheel-row {
  display: flex;
  gap: var(--space-6);
  align-items: stretch;
}
.accent-wheel-row canvas {
  width: 245px;
  max-width: calc(100% - 66px);
  aspect-ratio: 1 / 1;
  height: auto;
  touch-action: none;
}
.accent-brightness {
  width: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 20%, rgb(204, 204, 204) 20%, rgb(204, 204, 204) 40%, rgb(136, 136, 136) 40%, rgb(136, 136, 136) 60%, rgb(68, 68, 68) 60%, rgb(68, 68, 68) 80%, rgb(0, 0, 0) 80%);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.accent-brightness input {
  writing-mode: vertical-lr;
  direction: rtl;
  appearance: none;
  width: 40px;
  height: 100%;
  cursor: pointer;
  margin: 0px !important;
  padding: 0px !important;
  background: transparent !important;
  border: 0px !important;
  border-radius: 0px !important;
}
.accent-brightness input::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgb(119, 119, 119);
  border-radius: 50%;
  background: rgb(255, 255, 255);
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px;
}
.banner-settings-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-6);
}
.banner-add {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: var(--text-label);
  letter-spacing: 1px;
  margin: 0px !important;
}
.tint-setting {
  background: var(--secondary);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin-top: var(--space-6) !important;
}
.tint-setting strong {
  font-size: var(--text-body);
}
.banner-upload-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--secondary);
  border: 1px dashed var(--muted);
  border-radius: var(--radius-card);
  min-height: 88px;
  cursor: pointer;
  font-size: var(--text-body);
}
.profile-banner-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 10px;
  margin-block: 16px;
}
.profile-banner-previews > div {
  position: relative;
}
.profile-banner-previews img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.profile-banner-previews button {
  position: absolute;
  right: 4px;
  top: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.733);
  color: rgb(255, 255, 255);
}
.reference-home-header {
  aspect-ratio: 16 / 7;
  height: auto !important;
  min-height: 0px !important;
}
.reference-home-identity {
  inset: 0px;
  position: absolute !important;
  padding-top: 0px !important;
  min-height: 0px !important;
}
.reference-home-header .home-banner {
  position: absolute !important;
  inset: 0px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.catalog-directory {
  padding-right: 40px !important;
}
.catalog-letter-rail {
  width: 40px;
  right: max(0px, -450px + 50vw);
  top: 200px;
  bottom: 125px;
  z-index: 4;
  touch-action: none;
  border-radius: var(--radius-card);
  background: color-mix(in srgb,var(--card) 85%,transparent);
}
.catalog-letter-rail button {
  background: transparent;
  width: 40px;
  font-size: var(--text-caption);
  font-weight: 700;
}
.catalog-letter-rail button:active {
  transform: none;
}
.alphabet-popup {
  position: fixed;
  right: 54px;
  top: 45%;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-card);
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: var(--text-price);
  font-weight: 700;
  z-index: 25;
  pointer-events: none;
}
.directory-star.saved .material-symbol {
  font-variation-settings: "FILL" 1 !important;
}
.accent-wheel-row {
  height: 245px;
  max-height: 245px;
  align-items: flex-start;
}
.accent-wheel-row canvas {
  height: 245px;
  max-height: 245px;
  align-self: flex-start;
  flex: 0 0 auto;
}
.accent-brightness {
  height: 100%;
  flex: 0 0 40px;
}
.accent-brightness input {
  max-height: 100%;
  min-height: 0px !important;
}

/* NOTIFICATION ROUTING: feature layouts */
.profile-notification-avatar {
  position: relative;
  display: block;
  margin: auto;
  border: 0px;
  padding: 0px;
  background: none;
  border-radius: 50%;
}
.profile-notification-avatar .notification-bubble {
  right: -5px;
  top: -3px;
}
.profile-notification-avatar .bp-profile-avatar {
  margin: 0px;
}

/* DEVICE EXPERIENCE: feature layouts */
.reference-home-identity .avatar {
  margin: 10px var(--space-2) 0px 0px;
  flex-shrink: 0;
}
.reference-home-identity .avatar > .notification-bubble {
  position: absolute !important;
  inset: -7px -7px auto auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0px !important;
  margin: 0px !important;
  border: 2px solid var(--bg) !important;
  border-radius: 50% !important;
  background: rgb(237, 51, 72) !important;
  color: rgb(255, 255, 255) !important;
  font-size: var(--text-micro) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0px !important;
  white-space: nowrap !important;
  transform: none !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
  aspect-ratio: 1 / 1 !important;
}
.profile-notification-avatar > .notification-bubble {
  position: absolute !important;
  inset: -7px -7px auto auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0px !important;
  margin: 0px !important;
  border: 2px solid var(--bg) !important;
  border-radius: 50% !important;
  background: rgb(237, 51, 72) !important;
  color: rgb(255, 255, 255) !important;
  font-size: var(--text-micro) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0px !important;
  white-space: nowrap !important;
  transform: none !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
  aspect-ratio: 1 / 1 !important;
}
.profile-notification-avatar {
  margin: var(--space-2) auto !important;
}
.profile-main-menu .profile-size-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--accent);
  mask: url("/icons/straighten.svg") center center / contain no-repeat;
  object-position: -9999px center;
  flex-shrink: 0;
}
.profile-main-menu .bp-menu-row > .material-symbol:first-child {
  color: var(--accent);
}
.changelog-open {
  width: 100%;
  margin-top: 14px;
}
.changelog-content h2 {
  font-size: var(--text-control);
  letter-spacing: 0px;
  margin: 0px 0px 14px;
}
.changelog-content ul {
  margin: 0px;
  padding-left: var(--space-5);
}
.changelog-content li {
  line-height: 1.65;
  margin-block: 10px;
  font-size: var(--text-body);
  color: var(--ink);
}

/* SHARED COMPONENTS. Layout variants above retain placement, not separate geometry. */
.shell {
  max-width: var(--shell-max);
  margin: auto;
  padding: var(--safe-top) var(--page-gutter) calc(110px + var(--safe-bottom));
}
.primary, .reference-primary, .secondary, .danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-height);
  height: auto;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-action);
  font-size: var(--text-caption);
  font-weight: var(--weight-bold);
  line-height: var(--leading-body);
  text-decoration: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.primary, .reference-primary { background: var(--primary); color: var(--primary-text); }
.reference-primary { font-size: var(--text-label); letter-spacing: 2px; }
.secondary { background: var(--secondary); color: var(--ink); border: var(--border-width) solid var(--line); }
.danger { background: var(--error-bg); color: var(--error-text); }
.reference-order-actions .reference-primary { min-height: var(--control-height-prominent); }
.icon-action, .close {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  background: var(--secondary);
  color: var(--ink);
  border-radius: var(--radius-control);
}
.text-button { min-height: var(--touch-target); }
.material-symbol { font-size: var(--icon-size); }
.icon-action .material-symbol, .bp-menu-row > .material-symbol { font-size: var(--icon-size); }
/* SVG and font icons share sizing and color through the same symbol() component. */
.material-symbol.svg-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.svg-icon-right { rotate: 180deg; }

.profile-size-icon { width: var(--icon-size); height: var(--icon-size); }

/* Boxed fields and explicit underlined product/auth variants. */
input:not([type=hidden]):not([type=file]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),
select, textarea {
  min-height: var(--control-height);
  font-family: var(--font-ui);
  font-size: var(--text-control);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-control);
  padding: var(--space-3);
  background: var(--secondary);
  color: var(--ink);
  max-width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
.reference-item-form input:not([type=hidden]):not([type=file]):not([type=checkbox]):not([type=range]):not([type=color]),
.reference-item-form textarea, .auth-form label input:not([type=checkbox]) {
  border: 0;
  border-bottom: var(--border-width) solid var(--line);
  border-radius: 0;
  padding: var(--space-3) 0;
  background: transparent;
}
.auth-form label input:not([type=checkbox]) { border-color: var(--accent); }
.reference-item-form #itemPrice { font-size: var(--text-price); font-weight: var(--weight-bold); }
.reference-item-form .reference-quantity input { min-height: var(--touch-target); }
.reference-quantity button, .reference-segments button, .reference-size-choices button,
.reference-size-special button, .reference-size-tabs button { min-height: var(--touch-target); }
.bp-search-row .search { min-height: var(--touch-target); font-size: var(--text-body); }
.bp-footer-row > select, .bp-user-actions select { min-height: var(--control-height); font-size: var(--text-control); }
.bp-user-actions button { min-height: var(--touch-target); }
.bp-password-field input { height: auto; }
.bp-measure-row input { min-height: var(--touch-target); padding: 0; border: 0; border-radius: 0; background: none; }
.bp-measure-row > span:last-child { width: 108px; }

.bp-section { padding: var(--section-padding); border-bottom: var(--border-width) solid var(--line); }
.bp-section h2, .reference-field > label, .reference-name label, .bp-measure-title, .bp-rating-section h2 {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  line-height: var(--leading-body);
  letter-spacing: 2px;
}
.bp-section h2 { margin: 0 0 var(--space-4); }
.bp-menu { border: var(--border-width) solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.bp-menu-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  min-height: var(--menu-row-height);
  padding: var(--space-3) var(--space-4);
  width: 100%;
  background: var(--card);
  color: var(--ink);
  border-bottom: var(--border-width) solid var(--line);
  text-align: left;
}
.bp-menu-row > span:nth-child(2) { flex: 1; min-width: 0; font-size: var(--text-body); }
.bp-menu-row small { display: block; color: var(--muted); font-size: var(--text-caption); margin-top: var(--space-1); }
.bp-menu-row > .material-symbol:first-child { color: var(--accent); flex-shrink: 0; }
.bp-menu-row > .material-symbol:last-child { flex-shrink: 0; }
.panel { padding: var(--section-padding); border-radius: var(--radius-card); box-shadow: var(--shadow-none); }
.directory-open { min-height: var(--directory-row-height); }
.directory-seller .directory-open { min-height: var(--control-height); }
.directory-star { min-width: var(--touch-target); }
.directory-star .material-symbol { font-size: var(--favorite-icon-size); }
.directory-grid .directory-star { min-width: 28px; min-height: 28px; }
.directory-grid .directory-star svg { width: 20px; height: 20px; }

/* One header/body/footer contract, with safe areas separated from row size. */
.sheet {
  width: 100%;
  max-width: var(--sheet-max);
  max-height: 90dvh;
  overflow: auto;
  padding: var(--space-6);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-overlay);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-overlay);
}
.bp-sheet, .bp-add-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--sheet-max) !important;
  height: 100dvh;
  max-height: 100dvh !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: var(--bg) !important;
  animation: premium-sheet-in var(--motion-sheet) cubic-bezier(.2,.8,.2,1);
}
.sheet > .row {
  min-height: var(--header-height);
  gap: var(--space-3);
  flex-wrap: nowrap;
  margin-bottom: var(--space-4);
}

.bp-stack-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  min-height: calc(var(--header-height) + var(--safe-top));
  padding: calc(var(--safe-top) + var(--space-2)) var(--page-gutter) var(--space-2);
  border-bottom: var(--border-width) solid var(--line);
  background: var(--bg);
  z-index: 2;
}
.bp-stack-header h1 { flex: 1; min-width: 0; font-size: var(--text-body); font-weight: var(--weight-bold); letter-spacing: 2px; margin: 0; }
.bp-stack-header .icon-action { background: transparent; }
.bp-fixed-footer {
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + var(--safe-bottom));
  border-top: var(--border-width) solid var(--line);
  background: var(--bg);
  flex-shrink: 0;
  z-index: 3;
}
.bp-fixed-footer > button { width: 100%; }
.bp-fixed-footer .reference-primary { min-height: var(--control-height); }
.bp-screen-body { scroll-padding-block: var(--space-5); }
.image-crop-sheet { border-radius: var(--radius-overlay) !important; box-shadow: var(--shadow-overlay); }
.image-crop-sheet h2 { font-size: var(--text-title); }
.qr-camera { border-radius: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: var(--space-1) var(--space-2);
  border-radius: 20px;
  background: color-mix(in srgb, var(--status) 12%, transparent);
  color: var(--status);
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hint { font-size: var(--text-caption); color: var(--muted); line-height: var(--leading-body); }
.error { padding: var(--space-3); border: var(--border-width) solid var(--error-text); border-radius: var(--radius-control); background: var(--error-bg); color: var(--error-text); line-height: var(--leading-body); }
.empty, .reference-empty { padding: var(--space-12) var(--space-5); text-align: center; }
.empty h3, .reference-empty h2 { font-size: var(--text-title); line-height: var(--leading-tight); }
.empty p, .reference-empty p { font-size: var(--text-body); line-height: var(--leading-reading); }
#toast { position: fixed; top: max(var(--space-5),env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 90; display: none; max-width: calc(100vw - 32px); width: max-content; padding: var(--space-3) var(--space-5); border: var(--border-width) solid var(--accent-mid); border-radius: var(--radius-control); background: var(--card); color: var(--ink); box-shadow: var(--shadow-overlay); pointer-events: none; font-size: var(--text-body); line-height: var(--leading-body); }
.bp-section table { width: 100%; border-collapse: collapse; font-size: var(--text-caption); }
.bp-section th, .bp-section td { padding: var(--space-3) var(--space-4); height: var(--touch-target); text-align: left; border-bottom: var(--border-width) solid var(--line); }
.bp-section th { font-weight: var(--weight-semibold); color: var(--muted); }

/* Navigation retains its existing arrangement and selected accent. */
.bottom { position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--safe-bottom); transform: none; width: auto; max-width: 600px; margin: auto; display: flex; justify-content: space-around; gap: 0; border: 0; border-radius: var(--radius-overlay); padding: var(--space-2) var(--space-1); min-height: 63px; background: var(--secondary); box-shadow: var(--shadow-none); z-index: 5; }
.nav { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); min-width: 0; max-width: 140px; min-height: var(--touch-target); padding: 0 var(--space-1); background: none; color: var(--muted); opacity: .7; font-size: var(--text-micro); font-weight: var(--weight-regular); line-height: var(--leading-tight); border-radius: 0; }
.nav > span { display: grid; place-items: center; width: var(--touch-target); height: 32px; border-radius: var(--radius-card); }
.nav.active { opacity: 1; color: var(--accent); font-weight: var(--weight-bold); }
.nav.active > span { background: var(--accent); color: var(--primary-text); }
.nav.active::after { display: none; }

/* Common interaction states; feature controls keep their own functional handlers. */
button { border: 0; cursor: pointer; transition: background-color var(--motion-feedback) ease, color var(--motion-feedback) ease, opacity var(--motion-feedback) ease, transform var(--motion-press) ease; }
button:disabled { cursor: default; opacity: .45; }
button:active:not(:disabled) { transform: scale(.98); }
.filters button:active, .directory-open:active, .nav:active { transform: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: 3px; }
[aria-invalid=true] { border-color: var(--error-text) !important; }
.premium-saving { opacity: .65 !important; }
@media (hover:hover) { .bp-menu-row:hover, .directory-open:hover { background: var(--accent-light); } }
@media (max-width:760px) { .shell { padding-bottom: calc(100px + var(--safe-bottom)); } }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
