:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --white: #fffdfa;
  --ink: #181716;
  --soft-ink: #56514b;
  --line: #d8d0c5;
  --line-dark: #a79c8e;
  --clay: #b64a3a;
  --sage: #52685d;
  --blue: #2e4d66;
  --gold: #a4783f;
  --shadow: 0 18px 42px rgba(35, 30, 24, 0.1);
  --container: min(1360px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -8%, rgba(164, 120, 63, 0.12), transparent 32vw),
    linear-gradient(180deg, rgba(255, 253, 250, 0.82), rgba(247, 244, 238, 0.96) 340px),
    var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 25px;
}

p {
  color: var(--soft-ink);
  line-height: 1.55;
}

.top-note {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.site-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px max(24px, calc((100vw - 1360px) / 2));
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  top: 0;
}

.app-header {
  grid-template-columns: auto 1fr;
}

.app-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #a4783f;
  background:
    linear-gradient(90deg, transparent 48%, rgba(164, 120, 63, 0.34) 48% 52%, transparent 52%),
    linear-gradient(180deg, transparent 48%, rgba(164, 120, 63, 0.34) 48% 52%, transparent 52%),
    linear-gradient(135deg, #fffdfa, #f4eadb);
  color: #211b15;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 0 0 5px rgba(164, 120, 63, 0.08),
    0 10px 24px rgba(35, 30, 24, 0.08);
}

.brand > span:last-child {
  display: grid;
  gap: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.02em;
}

.brand > span:last-child::after {
  content: "Furniture House";
  margin-top: 4px;
  color: #a4783f;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line-dark);
  background: #fff;
}

.search-bar input {
  min-width: 0;
  border: 0;
  padding: 13px 16px;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.search-bar button {
  border: 0;
  border-left: 1px solid var(--line-dark);
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}
.language-switcher select {
  min-width: 62px;
  min-height: 34px;
  border: 1px solid var(--line-dark);
  padding: 5px 22px 5px 8px;
  background: var(--white);
  color: var(--ink);
  font: 800 11px/1 var(--sans);
}

.header-actions.wide {
  grid-column: 2 / -1;
}

.sell-link {
  color: var(--clay);
}

.market-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  overflow: visible;
  flex-wrap: wrap;
  padding: 13px max(16px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  position: relative;
  z-index: 60;
}

.market-nav a:hover,
.text-link:hover,
.header-actions a:hover,
.app-header a:hover {
  color: var(--clay);
}

.market-more {
  position: relative;
}

.market-more summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

.market-more summary::-webkit-details-marker {
  display: none;
}

.market-more summary::after {
  content: " +";
  color: var(--gold);
  font-weight: 900;
}

.market-more[open] summary::after {
  content: " -";
}

.market-more div {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 4px;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 44px rgba(20, 16, 12, 0.14);
}

.market-more div a {
  display: block;
  padding: 10px 12px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.market-more div a:hover {
  border-color: var(--line);
  background: var(--cream);
}

.hero-market {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 520px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-market::before,
.studio-hero::before,
.investor-hero::before,
.join-hero::before {
  content: "LH";
  position: absolute;
  right: 4vw;
  top: 42px;
  z-index: 1;
  color: rgba(255, 253, 250, 0.14);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(90px, 18vw, 260px);
  font-weight: 700;
  line-height: 0.75;
  pointer-events: none;
}

.hero-market img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-market::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 16, 15, 0.74), rgba(17, 16, 15, 0.28), rgba(17, 16, 15, 0.1));
}

.hero-copy {
  width: var(--container);
  margin: 0 auto;
  padding: 64px 0;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(76px, 8vw, 132px);
  letter-spacing: -0.015em;
}

.hero-copy p {
  max-width: 560px;
  color: rgba(255, 253, 250, 0.9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-tight,
.simple-page,
.spec-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 900;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 150px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.category-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  background: #ece7df;
}

.category-card strong {
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
}

.product-grid.dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.product-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fbfaf7;
  aspect-ratio: 4 / 5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 220ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.save-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.92);
  font-size: 16px;
}

.product-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 52px);
  padding: 5px 8px;
  background: rgba(24, 23, 22, 0.86);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-meta {
  display: grid;
  gap: 5px;
}

.product-title {
  display: -webkit-box;
  min-height: 41px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-sub,
.product-price,
.vendor-sub {
  color: var(--soft-ink);
  font-size: 13px;
}

.product-price {
  color: var(--ink);
  font-weight: 900;
}

.mini-cart-button {
  min-height: 38px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mini-cart-button.is-added,
.button.is-added {
  border-color: #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
}

.cart-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-toast a {
  color: #f4d29b;
  font-weight: 900;
  white-space: nowrap;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: var(--container);
  margin: 24px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.house-marquee {
  width: var(--container);
  margin: 26px auto 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 13px 0;
  overflow: hidden;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.house-marquee span {
  display: inline-block;
  padding-right: 46px;
}

.salon-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1px;
  width: var(--container);
  margin: 34px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.salon-row article {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 28px;
  background: var(--white);
}

.salon-row article:first-child {
  background:
    linear-gradient(180deg, rgba(24, 23, 22, 0.18), rgba(24, 23, 22, 0.82)),
    url("./assets/products/42-regency-revival-heavily-fine-carved-stretcher-base-marble-top-console-.jpg") center / cover;
  color: var(--white);
}

.salon-row article:first-child p {
  color: rgba(255, 253, 250, 0.78);
}

.salon-row h2 {
  font-size: 48px;
}

.salon-row .lot-number {
  width: fit-content;
  margin-bottom: 18px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-strip article {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  background: var(--white);
}

.proof-strip strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.proof-strip span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.collection-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
  width: var(--container);
  margin: 18px auto 44px;
}

.collection-row a {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.collection-row img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 240ms ease, opacity 240ms ease;
}

.collection-row span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.collection-row a:hover img {
  transform: scale(1.025);
  opacity: 0.9;
}

.feature-row,
.editorial-band,
.seller-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: var(--container);
  margin: 34px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-row article,
.editorial-band > div,
.seller-hero > div {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 330px;
  padding: 42px;
  background: var(--white);
}

.feature-row article:nth-child(2) {
  background: #ecf0ea;
}

.editorial-band {
  grid-template-columns: 1.1fr 0.9fr;
}

.concierge-panel {
  justify-content: center;
  background: var(--ink) !important;
  color: var(--white);
}

.concierge-panel span {
  color: rgba(255, 253, 250, 0.72);
}

.concierge-panel strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.source-pills span {
  border: 1px solid var(--line-dark);
  padding: 8px 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.vendor-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.vendor-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.vendor-card div {
  display: grid;
  gap: 6px;
  padding: 0 14px 14px;
}

.vendor-card strong {
  font-size: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(16px, calc((100vw - 1360px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--soft-ink);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  width: var(--container);
  margin: 0 auto;
  padding: 36px 0;
}

.filters {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 24px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.filters h1 {
  font-size: 48px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group > div {
  display: grid;
  gap: 8px;
}

.filter-button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  background: transparent;
  color: var(--soft-ink);
  text-align: left;
  cursor: pointer;
}

.filter-button.active {
  color: var(--clay);
  font-weight: 900;
}

.shop-results {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.shop-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  padding: 0 12px;
}

.ai-search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
  font-size: 14px;
}

.ai-search-card a {
  font-weight: 900;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 44px;
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery.sold {
  position: relative;
}

.sold-ribbon {
  position: absolute;
  left: 18px;
  top: 18px;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-gallery img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-info {
  display: grid;
  align-content: start;
  gap: 20px;
}

.product-info h1 {
  font-size: 52px;
}

.detail-list {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.detail-list span:first-child {
  color: var(--soft-ink);
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.product-action-grid button {
  min-height: 40px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.product-action-grid button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-request-output:not(:empty) {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.vendor-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 390px;
  overflow: hidden;
  color: var(--white);
}

.vendor-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

.vendor-hero > div {
  width: var(--container);
  margin: 0 auto;
  padding: 48px 0;
}

.vendor-hero h1 {
  font-size: 68px;
}

.vendor-hero p {
  max-width: 620px;
  color: rgba(255, 253, 250, 0.88);
}

.vendor-stats,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: var(--container);
  margin: 28px auto;
}

.vendor-stats article,
.metric-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.vendor-stats span,
.metric-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 900;
}

.seller-hero {
  align-items: stretch;
}

.seller-hero img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.seller-hero h1,
.simple-page h1,
.spec-page h1,
.import-console h1 {
  max-width: 850px;
  font-size: 68px;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: var(--container);
  margin: 34px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.three-columns article {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.three-columns span {
  color: var(--clay);
  font-weight: 900;
}

.dealer-offer {
  margin: 28px auto;
  max-width: 1500px;
  padding: clamp(28px, 4vw, 64px);
  color: #f8f1e7;
  background:
    radial-gradient(circle at 86% 12%, rgba(202, 154, 83, 0.24), transparent 28%),
    linear-gradient(135deg, #182820 0%, #111512 56%, #2a1e15 100%);
  border: 1px solid #34483d;
}

.dealer-offer-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.dealer-offer-copy h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.93;
}

.dealer-offer-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: #d9d4ca;
}

.dealer-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.dealer-offer-grid article {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.dealer-offer-grid span,
.join-offer-price span {
  display: block;
  margin-bottom: 18px;
  color: #e0ad67;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dealer-offer-grid strong {
  display: block;
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.dealer-offer-grid p,
.dealer-offer-terms {
  color: #c8c7c1;
}

.dealer-offer-terms {
  margin: 24px 0 0;
  max-width: 1100px;
  font-size: 0.88rem;
}

.dealer-offer-terms strong {
  color: #f8f1e7;
}

.join-offer-card {
  margin-top: 28px;
  padding: 28px;
  color: #f7f1e8;
  background: linear-gradient(145deg, #192a22, #101511 62%, #2a2018);
  border: 1px solid #385044;
}

.join-offer-price {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 22px;
}

.join-offer-price span {
  grid-column: 1 / -1;
  margin: 0;
}

.join-offer-price strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.8;
}

.join-offer-price small {
  max-width: 260px;
  color: #d1cabf;
}

.join-offer-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 28px 0 20px;
  padding: 0;
  list-style: none;
}

.join-offer-card li::before {
  content: "✓";
  margin-right: 9px;
  color: #e0ad67;
}

.join-offer-card p {
  color: #c8c7c1;
  font-size: 0.84rem;
}

.offer-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  background: #f2eee7;
  border: 1px solid #d8cfc1;
}

.offer-consent input {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.offer-consent span {
  font-size: 0.82rem;
  line-height: 1.5;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline div {
  min-height: 120px;
  padding: 18px;
  background: var(--white);
  font-weight: 900;
}

.import-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.import-console {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.import-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.import-form input {
  min-height: 48px;
  border: 1px solid var(--line-dark);
  padding: 0 14px;
  background: var(--white);
}

.import-results,
.import-status,
.import-table {
  display: grid;
  gap: 12px;
}

.import-status {
  padding: 18px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
}

.import-row,
.inventory-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.import-row img,
.inventory-row img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 71px);
}

.dashboard-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.dashboard-nav strong {
  margin-bottom: 12px;
}

.dashboard-nav a,
.dashboard-nav button {
  border: 0;
  padding: 11px 12px;
  background: transparent;
  color: var(--soft-ink);
  text-align: left;
  cursor: pointer;
}

.dashboard-nav a.active,
.dashboard-nav button.active {
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.dashboard-main {
  min-width: 0;
  padding: 32px;
}

.dashboard-main h2 {
  font-size: 30px;
}

.dashboard-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard-title h1 {
  font-size: 54px;
}

.portal-links {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(179, 126, 60, 0.12), transparent 34%),
    linear-gradient(135deg, var(--white), var(--paper));
}

.portal-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portal-link-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-link-grid a {
  display: grid;
  align-content: start;
  min-height: 142px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.portal-link-grid a:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--white);
}

.portal-link-grid span {
  color: var(--clay);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-link-grid a:hover span {
  color: var(--gold);
}

.portal-link-grid strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.02;
}

.portal-link-grid p {
  margin-top: 10px;
  color: var(--soft-ink);
  font-size: 13px;
}

.portal-link-grid a:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.metric-grid {
  width: auto;
  margin: 0 0 24px;
}

.dealer-alert {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.dealer-alert strong {
  color: var(--ink);
}

.dealer-panel {
  display: none;
}

.dealer-panel.active {
  display: block;
}

.dashboard-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.inventory-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px;
  gap: 10px;
  margin-bottom: 14px;
}

.inventory-tools input,
.inventory-tools select,
.storefront-editor input,
.storefront-editor textarea {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.dealer-table,
.message-grid,
.ai-task-grid {
  display: grid;
  gap: 10px;
}

.dealer-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 120px 130px 150px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.dealer-row img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.dealer-row strong,
.message-card strong,
.ai-task-card strong {
  display: block;
  line-height: 1.25;
}

.status-pill {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  min-width: 86px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.ready {
  border-color: #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.row-actions button,
.message-card button,
.ai-task-card button {
  min-height: 34px;
  border: 1px solid var(--ink);
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.row-actions button.primary,
.message-card button.primary,
.ai-task-card button.primary {
  background: var(--ink);
  color: var(--white);
}

.message-card,
.ai-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.message-card p,
.ai-task-card p {
  margin-top: 6px;
}

.message-draft,
.ai-result {
  grid-column: 1 / -1;
  display: none;
  padding: 12px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.message-card.has-draft .message-draft,
.ai-task-card.done .ai-result {
  display: block;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.seller-ai-hero,
.seller-ai-editor,
.seller-ai-output,
.seller-ai-differentiators {
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 1px;
  background: var(--line);
}

.seller-ai-hero > div,
.seller-ai-proof article {
  padding: 22px;
  background: var(--white);
}

.seller-ai-hero h2 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.95;
}

.seller-ai-proof {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.seller-ai-proof strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.95;
}

.seller-ai-proof span {
  display: block;
  margin-top: 8px;
  color: var(--soft-ink);
}

.seller-ai-editor {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
}

.seller-ai-editor > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--white);
}

.seller-ai-editor label {
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-ai-editor select,
.seller-ai-editor textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  padding: 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.seller-ai-editor textarea {
  min-height: 104px;
  resize: vertical;
}

.seller-ai-tool {
  position: relative;
}

.seller-ai-output {
  padding: 24px;
  background: linear-gradient(135deg, #eef3ee 0%, #fffdf8 74%);
}

.seller-ai-output-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.seller-ai-output-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-ai-copy-block {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.8);
}

.seller-ai-copy-block strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-ai-copy-block span {
  color: var(--soft-ink);
  line-height: 1.55;
}

.seller-ai-checklist,
.seller-ai-pricing,
.seller-ai-differentiators {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.seller-ai-checklist p,
.seller-ai-pricing article,
.seller-ai-differentiators article {
  margin: 0;
  padding: 14px;
  background: var(--white);
}

.seller-ai-pricing span,
.seller-ai-differentiators span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seller-ai-pricing strong,
.seller-ai-differentiators strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.05;
}

.seller-ai-differentiators p {
  margin-top: 8px;
  color: var(--soft-ink);
}

.source-mode {
  display: inline-flex;
  width: max-content;
  margin-bottom: 6px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: #fff8e8;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-mode.affiliate {
  background: #eef3ee;
  color: var(--sage);
}

.source-mode.partner {
  background: #eef4ff;
  color: #31527a;
}

.source-mode.lead-only {
  background: #f7eeee;
  color: #9c4b38;
}

.seller-publish-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 1px;
  margin: 20px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.seller-publish-console > div {
  padding: 22px;
  background: var(--white);
}

.seller-publish-console h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
}

.seller-publish-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.seller-publish-metrics article {
  display: grid;
  align-content: center;
  min-height: 110px;
  padding: 16px;
  background: #fffdf8;
}

.seller-publish-metrics strong {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 0.9;
}

.seller-publish-metrics span {
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-inventory-workflow {
  display: grid;
  gap: 10px;
}

.seller-approval-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 310px;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-approval-row.published {
  border-color: #b8c7bd;
  background: linear-gradient(135deg, #eef3ee, #fffdf8);
}

.seller-approval-row img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.seller-approval-row strong {
  display: block;
  margin-top: 8px;
  line-height: 1.18;
}

.seller-approval-row p {
  margin-top: 8px;
  color: var(--soft-ink);
  font-size: 13px;
}

.seller-approval-row small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 900;
}

.seller-approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.seller-approval-actions button,
.seller-approval-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--ink);
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.seller-approval-actions button.primary {
  background: var(--ink);
  color: var(--white);
}

.seller-approval-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.storefront-preview-hero {
  margin-bottom: 24px;
}

.affiliate-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.affiliate-source-card {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 22px;
  background: var(--white);
}

.affiliate-source-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.affiliate-source-card h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 0.98;
}

.affiliate-source-card p {
  margin-top: 14px;
  color: var(--soft-ink);
  font-size: 14px;
}

.affiliate-source-card a {
  align-self: end;
  width: max-content;
  margin-top: 18px;
  border: 1px solid var(--ink);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.affiliate-source-card a:hover {
  background: var(--ink);
  color: var(--white);
}

.admin-product-console,
.seller-live-inbox {
  margin: 26px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.72), rgba(255, 255, 255, 0.96));
}

.admin-products-grid,
.seller-request-list {
  display: grid;
  gap: 10px;
}

.admin-live-status {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #b8c7bd;
  background: #eef3ee;
}

.admin-live-status strong,
.admin-live-status span {
  font-size: 13px;
}

.admin-product-row,
.seller-request-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 290px;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-request-card {
  grid-template-columns: minmax(0, 1fr) 190px;
}

.admin-product-row.published {
  border-color: #b8c7bd;
  background: linear-gradient(135deg, #eef3ee, #fffdf8);
}

.admin-product-row img,
.image-placeholder {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fbfaf7;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
}

.admin-product-row h3,
.seller-request-card h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.admin-product-row p,
.seller-request-card p,
.seller-request-card small {
  display: block;
  margin-top: 8px;
  color: var(--soft-ink);
  font-size: 13px;
}

.seller-request-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-product-controls {
  display: grid;
  gap: 8px;
}

.admin-product-controls label {
  display: grid;
  gap: 5px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-product-controls input,
.admin-product-controls textarea,
.admin-product-controls select,
.admin-product-controls button,
.admin-product-controls a,
.seller-request-card button,
.seller-request-card a {
  min-height: 38px;
  border: 1px solid var(--ink);
  padding: 8px 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.admin-product-controls textarea {
  min-height: 88px;
  resize: vertical;
  text-align: left;
  font-weight: 600;
}

.admin-product-controls input {
  text-align: left;
}

.admin-product-controls button.primary,
.seller-request-card button.primary {
  background: var(--ink);
  color: var(--white);
}

.analytics-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.analytics-grid strong {
  font-size: 30px;
}

.analytics-grid div {
  height: 8px;
  background: linear-gradient(90deg, var(--ink) var(--value), var(--line) var(--value));
}

.dealer-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.dealer-chart span {
  display: block;
  min-height: 24px;
  background: var(--ink);
}

.storefront-editor {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.storefront-editor section {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.storefront-editor label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-weight: 900;
}

.storefront-editor textarea {
  min-height: 118px;
  resize: vertical;
}

.storefront-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.storefront-preview strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.work-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.buyer-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  margin-bottom: 24px;
}

.mood-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.mood-panel strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.mood-panel span {
  border-bottom: 1px solid rgba(255, 253, 250, 0.2);
  padding-bottom: 8px;
  color: rgba(255, 253, 250, 0.72);
}

.mood-panel a {
  margin-top: 8px;
  color: #f4d29b;
  font-weight: 900;
}

.compact-head {
  margin-top: 10px;
}

.work-grid section,
.concierge-chat {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list p {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-modules,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-modules p,
.spec-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.spec-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-roadmap article {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: #eef3ee;
}

.spec-roadmap strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
}

.spec-roadmap span {
  color: var(--soft-ink);
  line-height: 1.5;
}

.spec-grid article {
  display: grid;
  gap: 10px;
}

.spec-grid p {
  font-weight: 500;
}

.simple-page > p,
.spec-page > p {
  max-width: 760px;
  margin-top: 14px;
}

.cart-page-grid,
.studio-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-list {
  min-width: 0;
}

.cart-list h1,
.cart-empty h1,
.studio-hero h1 {
  max-width: 920px;
  font-size: 68px;
}

.cart-list h1,
.cart-empty h1 {
  margin-bottom: 12px;
}

.cart-rows {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.cart-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 82px auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.cart-row img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.cart-row strong {
  display: block;
  margin-bottom: 7px;
  line-height: 1.25;
}

.cart-row span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}

.cart-row label {
  display: grid;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
}

.cart-row input {
  width: 72px;
  min-height: 40px;
  border: 1px solid var(--line-dark);
  padding: 0 8px;
  background: var(--white);
}

.cart-row button {
  min-height: 38px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cart-summary {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.cart-summary span,
.cart-summary p {
  color: rgba(255, 253, 250, 0.72);
}

.cart-summary strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.cart-summary .button.light {
  border-color: rgba(255, 253, 250, 0.55);
}

.cart-summary .button.dark {
  border-color: #f4d29b;
  background: #f4d29b;
  color: var(--ink);
}

.cart-confirmation {
  display: grid;
  gap: 5px;
  min-height: 0;
}

.cart-confirmation:not(:empty) {
  padding: 12px;
  border: 1px solid rgba(244, 210, 155, 0.45);
  background: rgba(244, 210, 155, 0.1);
}

.shipping-panel {
  scroll-margin-top: 112px;
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid #b8c9c0;
  background:
    linear-gradient(135deg, rgba(230, 241, 235, 0.94), rgba(255, 253, 250, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(26, 58, 47, 0.04) 46px 47px);
}

.shipping-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.shipping-panel-heading h2 {
  margin: 4px 0 8px;
  font-size: 48px;
}

.shipping-panel-heading p {
  max-width: 680px;
}

.shipping-provider-mark {
  min-width: 164px;
  padding: 16px;
  background: #14241e;
  color: var(--white);
  text-align: right;
}

.shipping-provider-mark strong,
.shipping-provider-mark span {
  display: block;
}

.shipping-provider-mark strong {
  color: #90d7ae;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.shipping-provider-mark span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipping-form {
  display: grid;
  gap: 18px;
}

.shipping-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shipping-field-grid label,
.shipping-origin-card {
  display: grid;
  gap: 7px;
  color: #32443d;
  font-size: 12px;
  font-weight: 900;
}

.shipping-field-grid input,
.shipping-field-grid select,
.shipping-origin-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #8ba197;
  border-radius: 0;
  padding: 0 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.shipping-origin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shipping-origin-list > strong {
  grid-column: 1 / -1;
  color: #14241e;
}

.shipping-origin-card {
  padding: 14px;
  border: 1px solid #afc2b9;
  background: rgba(255, 255, 255, 0.68);
}

.shipping-origin-card span {
  color: #14241e;
  font-size: 14px;
}

.shipping-origin-card small {
  min-height: 32px;
  color: #62746d;
  line-height: 1.4;
}

.shipping-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #52665e;
  font-size: 12px;
  line-height: 1.45;
}

.shipping-consent input {
  margin-top: 3px;
}

.shipping-form > .button {
  justify-self: start;
}

.shipping-quote-result {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid #99afa5;
  background: var(--white);
}

.shipping-quote-result > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.shipping-quote-result strong {
  font-size: 20px;
}

.shipping-quote-result.is-quoted {
  border-color: #45795f;
  box-shadow: inset 5px 0 #45795f;
}

.shipping-quote-result.is-quoted > div strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
}

.shipping-quote-result.is-pending,
.shipping-quote-result.is-loading {
  border-color: #b58b49;
  box-shadow: inset 5px 0 #b58b49;
}

.shipping-quote-result.is-error {
  border-color: #b84a3c;
  box-shadow: inset 5px 0 #b84a3c;
}

.cart-summary-line,
.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cart-summary-line b,
.cart-summary-total b {
  text-align: right;
}

.cart-summary-total b {
  color: #f4d29b;
  font-size: 20px;
}

.shipping-admin-page > p {
  max-width: 820px;
}

.shipping-ops-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.shipping-ops-status > div {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 18px;
  background: var(--ink);
  color: var(--white);
}

.shipping-ops-status > div span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipping-ops-status > div strong {
  align-self: end;
}

.shipping-ops-status.is-connected > div {
  background: #17392d;
}

.shipping-ops-status > p {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: #edf5f0;
  color: #365447;
}

.shipping-admin-page .portal-link-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.shipping-admin-page .portal-link-grid article span,
.shipping-admin-page .portal-link-grid article strong {
  display: block;
}

.shipping-admin-page .portal-link-grid article span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipping-admin-page .portal-link-grid article strong {
  margin: 18px 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1.05;
}

.shipping-env-card {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid #afc2b9;
  background: #edf5f0;
}

.shipping-env-card code {
  padding: 2px 5px;
  background: rgba(20, 36, 30, 0.08);
  color: #17392d;
}

.cart-empty {
  width: var(--container);
  margin: 0 auto;
  padding: 80px 0;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.studio-hero > div,
.studio-photo {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 500px;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.studio-photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(82, 104, 93, 0.12), rgba(180, 120, 63, 0.12)),
    var(--white);
}

.studio-photo img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #ece7df;
}

.studio-photo.has-generated::after {
  content: "GPT generated room";
  position: absolute;
  top: 52px;
  right: 52px;
  z-index: 5;
  padding: 8px 11px;
  border: 1px solid rgba(244, 210, 155, 0.65);
  background: rgba(24, 23, 22, 0.86);
  color: #f4d29b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-photo figcaption {
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.5;
}

.upload-button {
  position: relative;
  overflow: hidden;
}

.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.studio-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.studio-controls label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.studio-controls select {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
}

.studio-status {
  margin-bottom: 18px;
}

.studio-results {
  display: grid;
  gap: 18px;
}

.studio-summary-card {
  display: grid;
  grid-template-columns: 140px minmax(160px, 0.45fr) minmax(220px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
}

.studio-summary-card span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-summary-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.studio-summary-card p {
  margin: 0;
}

.studio-ai-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #cad6cd;
  background: #cad6cd;
}

.studio-ai-notes article {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: rgba(255, 253, 250, 0.82);
}

.studio-ai-notes small {
  color: var(--sage);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-ai-notes b {
  font-size: 12px;
  line-height: 1.35;
}

.new-room-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.room-preview-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 15%, rgba(164, 120, 63, 0.14), transparent 28%),
    var(--white);
}

.room-preview-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.room-preview-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
}

.room-preview-copy strong {
  width: fit-content;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.room-generation-error {
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  color: var(--sage);
  font-size: 13px;
}

.before-after-room-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 1px;
  min-height: 520px;
  background: var(--line);
}

.before-room-frame,
.generated-room-frame {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.before-room-frame {
  background: #f4efe7;
}

.before-room-frame img,
.generated-room-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.before-room-frame img {
  object-fit: contain;
  filter: saturate(0.86) contrast(0.94) brightness(0.96);
}

.before-room-frame > span,
.after-room-label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 9;
  padding: 8px 10px;
  background: rgba(24, 23, 22, 0.9);
  color: #f4d29b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.before-room-frame figcaption,
.generated-room-frame figcaption,
.room-generating {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 8;
  max-width: min(420px, calc(100% - 36px));
  padding: 10px 12px;
  background: rgba(24, 23, 22, 0.88);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.before-room-frame figcaption {
  background: rgba(255, 253, 250, 0.9);
  color: var(--ink);
}

.generated-hotspot {
  position: absolute;
  z-index: 7;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 10px;
  border: 1px solid rgba(244, 210, 155, 0);
  background: rgba(24, 23, 22, 0.01);
  color: var(--white);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.generated-hotspot span,
.generated-hotspot b {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.generated-hotspot span {
  padding: 6px 8px;
  background: rgba(24, 23, 22, 0.9);
  color: #f4d29b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.generated-hotspot b {
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
}

.generated-hotspot:hover,
.generated-hotspot:focus-visible {
  border-color: rgba(244, 210, 155, 0.75);
  background: rgba(244, 210, 155, 0.08);
  box-shadow: inset 0 0 0 1px rgba(24, 23, 22, 0.32), 0 20px 60px rgba(24, 23, 22, 0.18);
  outline: none;
}

.generated-hotspot::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 253, 250, 0.92);
  border-radius: 999px;
  background: rgba(24, 23, 22, 0.74);
  box-shadow: 0 0 0 2px rgba(244, 210, 155, 0.32);
}

.generated-hotspot:hover span,
.generated-hotspot:hover b,
.generated-hotspot:focus-visible span,
.generated-hotspot:focus-visible b {
  opacity: 1;
  transform: translateY(0);
}

.room-share-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(164, 120, 63, 0.34);
  background:
    linear-gradient(135deg, rgba(244, 210, 155, 0.16), rgba(255, 255, 255, 0.72)),
    #f8f4ec;
}

.room-share-panel span {
  color: #a4783f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-share-panel strong {
  display: block;
  margin-top: 5px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.room-share-panel p {
  margin: 6px 0 0;
  color: var(--soft-ink);
  font-size: 13px;
}

.room-share-actions,
.room-network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.room-share-actions .button {
  min-height: 42px;
}

.room-share-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.room-network-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.room-network-actions a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.room-network-actions a:hover {
  border-color: #a4783f;
  color: #7c5420;
}

.room-generating {
  left: 50%;
  top: 50%;
  bottom: auto;
  display: grid;
  place-items: center;
  min-width: 320px;
  min-height: 72px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.room-render-wait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

.room-render-wait-bg {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(0.9) brightness(0.82);
  transform: scale(1.02);
}

.room-render-wait-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(244, 210, 155, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(24, 23, 22, 0.72), rgba(24, 23, 22, 0.18), rgba(24, 23, 22, 0.68));
}

.room-render-wait-panel {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 4;
  display: grid;
  gap: 8px;
  max-width: 420px;
  padding: 20px 22px;
  border: 1px solid rgba(244, 210, 155, 0.42);
  background: rgba(24, 23, 22, 0.86);
  box-shadow: 0 24px 80px rgba(24, 23, 22, 0.3);
}

.room-render-wait-panel span {
  color: #f4d29b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-render-wait-panel strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
}

.room-render-wait-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.room-render-wait.is-generating::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 62%);
  animation: renderSweep 1.8s ease-in-out infinite;
}

@keyframes renderSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.room-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #ece6dc;
}

.room-stage.is-generating .room-stage-item {
  opacity: 0.42;
}

.room-base-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(0.92) brightness(1.04);
  transform: scale(1.02);
}

.room-stage-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.18), rgba(255, 253, 250, 0.02) 38%, rgba(24, 23, 22, 0.18)),
    radial-gradient(circle at 50% 72%, rgba(255, 253, 250, 0.48), transparent 38%);
  pointer-events: none;
}

.room-stage-item {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 250, 0.68);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 24px 70px rgba(24, 23, 22, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.room-stage-item:hover {
  z-index: 10;
  box-shadow: 0 30px 90px rgba(24, 23, 22, 0.28);
  transform: translateY(-4px) scale(1.02);
}

.room-stage-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7%;
}

.room-stage-item span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 7px;
  background: rgba(24, 23, 22, 0.86);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-stage-item.seating {
  left: 26%;
  bottom: 6%;
  z-index: 4;
  width: 34%;
  height: 33%;
}

.room-stage-item.table-left {
  left: 8%;
  bottom: 10%;
  z-index: 5;
  width: 22%;
  height: 23%;
}

.room-stage-item.table-right {
  right: 8%;
  bottom: 11%;
  z-index: 5;
  width: 22%;
  height: 23%;
}

.room-stage-item.art {
  left: 38%;
  top: 8%;
  z-index: 3;
  width: 24%;
  height: 26%;
}

.room-stage-item.mirror {
  right: 12%;
  top: 10%;
  z-index: 3;
  width: 19%;
  height: 30%;
}

.room-stage-item.storage {
  left: 5%;
  top: 24%;
  z-index: 2;
  width: 22%;
  height: 32%;
}

.room-stage-item.accent-1 {
  left: 18%;
  top: 12%;
  width: 18%;
  height: 22%;
}

.room-stage-item.accent-2 {
  right: 22%;
  bottom: 8%;
  width: 18%;
  height: 21%;
}

.room-stage-item.accent-3 {
  right: 6%;
  top: 38%;
  width: 18%;
  height: 24%;
}

.studio-feature {
  width: 100%;
}

.platform-announcement,
.trade-page,
.agents-page,
.academy-page,
.partner-page,
.similar-page,
.agent-page,
.investor-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.role-selector {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: var(--container);
  margin: 24px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.role-selector > div,
.role-selector > a {
  display: grid;
  align-content: start;
  gap: 11px;
  min-height: 230px;
  padding: 22px;
  background: var(--white);
}

.role-selector > div {
  background: #eef3ee;
}

.role-selector span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-selector strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.founding-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1px;
  width: var(--container);
  margin: 34px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.founding-proof > div,
.founding-proof article {
  min-height: 430px;
  background: var(--white);
}

.founding-proof > div {
  overflow: hidden;
}

.founding-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founding-proof article {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 42px;
}

.founding-proof h2 {
  font-size: 52px;
}

.platform-announcement {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.platform-announcement > div,
.platform-announcement > a {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 240px;
  padding: 24px;
  background: var(--white);
}

.platform-announcement > div {
  background: var(--ink);
  color: var(--white);
}

.platform-announcement > div p {
  color: rgba(255, 253, 250, 0.76);
}

.platform-announcement span,
.platform-modules span,
.trade-tiers span,
.partner-modes span,
.agent-module span,
.course-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-announcement strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.trade-hero,
.agents-hero,
.academy-hero,
.partner-hero,
.similar-hero,
.agent-hero,
.investor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 18px;
  margin-bottom: 18px;
}

.trade-hero > div,
.agents-hero > div,
.academy-hero > div,
.partner-hero > div,
.similar-hero > div,
.agent-hero > div,
.investor-hero > div,
.trade-proof-card,
.agent-runner,
.academy-progress,
.partner-card,
.similar-search,
.agent-card,
.investor-proof {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 390px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.trade-hero h1,
.agents-hero h1,
.academy-hero h1,
.partner-hero h1,
.similar-hero h1,
.agent-hero h1,
.investor-hero h1 {
  max-width: 900px;
  font-size: 68px;
}

.trade-proof-card,
.agent-runner,
.academy-progress,
.partner-card,
.agent-card,
.investor-proof {
  background: #eef3ee;
}

.trade-proof-card strong,
.academy-progress strong,
.partner-card strong,
.agent-card strong,
.investor-proof strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.investor-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.investor-metrics article {
  display: grid;
  gap: 6px;
  min-height: 130px;
  padding: 22px;
  background: var(--ink);
  color: var(--white);
}

.investor-metrics strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.investor-metrics span {
  color: rgba(255, 253, 250, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.investor-grid,
.investor-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.investor-grid article,
.investor-roadmap article {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 28px;
  background: var(--white);
}

.investor-grid span,
.investor-roadmap span,
.revenue-model article strong,
.demo-path .eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.revenue-model {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.revenue-model > div,
.revenue-model article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  background: var(--white);
}

.revenue-model > div {
  background: #eef3ee;
}

.demo-path {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.demo-path div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.demo-path a {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.trade-tiers,
.partner-modes,
.platform-modules,
.agent-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.trade-tiers article,
.partner-modes article,
.platform-modules article,
.agent-module,
.course-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  background: var(--white);
}

.platform-modules {
  width: var(--container);
  margin: 34px auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-modules a,
.agent-module button,
.course-card button {
  width: fit-content;
  border: 1px solid var(--ink);
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.agent-module.is-running {
  border-color: var(--gold);
  background: #fff8e8;
  box-shadow: inset 0 0 0 2px rgba(172, 118, 56, 0.18);
}

.agent-module.is-running button {
  background: var(--ink);
  color: var(--white);
}

.agent-result-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #b8c7bd;
  background: linear-gradient(135deg, #fffdf8 0%, #edf6f1 100%);
}

.agent-result-card > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-result-card > strong {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
}

.agent-mini-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.agent-mini-products a {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.agent-mini-products img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  background: #f7f1e8;
}

.agent-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-note {
  color: var(--soft-ink);
  font-size: 13px;
}

.agent-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.agent-proof-strip article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  background: var(--white);
}

.agent-proof-strip span,
.agent-beta-note span,
.agent-output-section h3 {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-proof-strip strong {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.96;
}

.agent-runner .agent-beta-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(172, 118, 56, 0.38);
  background: #fff8e8;
}

.agent-beta-note strong {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.agent-workbench {
  display: grid;
  gap: 12px;
}

.agent-workbench label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.agent-workbench select,
.agent-workbench textarea,
.agent-workbench input[type="file"] {
  width: 100%;
  border: 1px solid var(--line-dark);
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.agent-workbench textarea {
  min-height: 126px;
  resize: vertical;
}

.agent-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(27, 26, 24, 0.26);
  background: rgba(255, 253, 250, 0.72);
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
}

.agent-file-list span {
  border: 1px solid var(--line);
  padding: 6px 8px;
  background: var(--paper);
  color: var(--ink);
}

.agent-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-output-panel {
  min-height: 120px;
}

.agent-output-panel.compact {
  min-height: auto;
}

.agent-result-identity {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.agent-result-identity img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.agent-service-offer {
  margin: 1.4rem 0;
  padding: 1rem;
  border: 1px solid var(--ink);
  background: linear-gradient(135deg, #fffaf0, #f7f1e8);
}

.agent-service-offer h3 {
  margin: 0.15rem 0 0.35rem;
}

.agent-service-price {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  margin: 0.7rem 0;
}

.agent-service-price strong {
  font-size: 1.35rem;
}

.agent-service-price span,
.agent-service-offer dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-service-offer dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.agent-service-offer dd,
.agent-service-offer dt {
  margin: 0;
}

.agent-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0;
}

.agent-kpi-row span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-weight: 800;
}

.service-cart-row {
  background: #fffaf0;
}

.service-cart-icon {
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 96px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.5rem;
}

.service-cart-row small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.service-cart-row ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.agent-creator-panel,
.agent-marketplace-preview {
  margin-top: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(180, 125, 61, 0.1), transparent 34%),
    #fffdf8;
  padding: clamp(22px, 3vw, 34px);
}

.section-head.compact {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head.compact h2 {
  margin: 0;
}

.agent-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.agent-creator-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-creator-grid input,
.agent-creator-grid select,
.agent-creator-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  min-height: 48px;
  padding: 12px;
  text-transform: none;
}

.agent-creator-grid textarea {
  min-height: 106px;
  resize: vertical;
}

.agent-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.agent-marketplace-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 22px;
}

.agent-marketplace-card.curated {
  border-color: rgba(164, 112, 54, 0.45);
  box-shadow: inset 0 0 0 1px rgba(164, 112, 54, 0.12);
}

.agent-marketplace-card > span {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-marketplace-card h3 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.98;
}

.agent-marketplace-card dl {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.agent-marketplace-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.agent-marketplace-card dt {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-marketplace-card dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.agent-marketplace-card button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 16px;
}

.agent-request-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 250, 0.78);
}

.agent-output-section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.agent-output-section h3 {
  margin: 0;
}

.agent-output-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.agent-output-section li {
  color: var(--soft-ink);
}

.trade-console,
.agent-console,
.partner-console,
.seller-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 18px;
  width: var(--container);
  margin: 34px auto;
}

.trade-console {
  width: 100%;
}

.trade-inputs,
.trade-output,
.agent-inputs,
.agent-output,
.partner-console > div,
.seller-tool-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seller-tool-card.dark {
  background: var(--ink);
  color: var(--white);
}

.seller-tool-card.dark span,
.seller-tool-card.dark p {
  color: rgba(255, 253, 250, 0.72);
}

.seller-tool-card.dark strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.trade-inputs label,
.agent-inputs label,
.seller-tool-card label,
.similar-search label,
.similar-controls label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.trade-inputs input,
.trade-inputs select,
.agent-inputs select,
.agent-inputs textarea,
.seller-tool-card input,
.similar-search textarea,
.similar-controls select,
.agent-runner select {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.agent-inputs textarea,
.similar-search textarea {
  min-height: 150px;
  resize: vertical;
}

.similar-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.agent-runner div,
.migration-output,
.partner-feed-list {
  display: grid;
  gap: 10px;
}

.migration-output:not(:empty) {
  padding: 12px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
}

.partner-feed-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.partner-feed-list img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.affiliate-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  margin: 34px 0;
}

.affiliate-console > div,
.affiliate-output {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.affiliate-console label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.affiliate-console input {
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  background: var(--white);
}

.affiliate-console > .affiliate-output {
  background: var(--ink);
  color: var(--white);
}

.affiliate-console > .affiliate-output span,
.affiliate-console > .affiliate-output p {
  color: rgba(255, 253, 250, 0.72);
}

.affiliate-console > .affiliate-output strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.powered-by {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 253, 250, 0.74);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.powered-by a {
  color: #f4d29b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.has-demo-bar {
  padding-bottom: 86px;
}

.demo-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 253, 250, 0.2);
  background: rgba(24, 23, 22, 0.94);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.demo-bar span {
  color: #f4d29b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.demo-bar strong {
  display: block;
  margin-top: 3px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.demo-bar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.demo-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 253, 250, 0.28);
  padding: 0 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.demo-bar a.primary {
  border-color: #f4d29b;
  background: #f4d29b;
  color: var(--ink);
}

body[data-page="supercomputer"].has-demo-bar {
  padding-bottom: 0;
}

body[data-page="design-studio"].has-demo-bar,
body[data-page="magic-agents"].has-demo-bar,
body[data-page="supercomputer"].has-demo-bar {
  padding-bottom: 0;
}

body[data-page="design-studio"] .demo-bar,
body[data-page="magic-agents"] .demo-bar,
body[data-page="supercomputer"] .demo-bar {
  position: static;
  width: var(--container);
  margin: 24px auto;
}

.join-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 18px;
  margin-bottom: 18px;
}

.join-hero > div,
.lead-form,
.outreach-box {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.join-hero > div {
  align-content: center;
  min-height: 620px;
  background:
    linear-gradient(135deg, rgba(82, 104, 93, 0.14), rgba(180, 120, 63, 0.14)),
    var(--white);
}

.join-hero h1 {
  max-width: 880px;
  font-size: 72px;
}

.join-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.join-proof article {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: var(--ink);
  color: var(--white);
}

.join-proof strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
}

.join-proof span {
  color: rgba(255, 253, 250, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.lead-form {
  min-height: 620px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.lead-confirmation:not(:empty),
.consultant-output {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
}

.consultant-chat {
  display: grid;
  gap: 14px;
}

.chat-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c8d3cc;
}

.chat-head span,
.chat-action-list span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chat-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 0.95;
}

.chat-head em {
  min-width: max-content;
  padding: 8px 10px;
  border: 1px solid #b9c5bc;
  background: rgba(255, 253, 250, 0.64);
  color: var(--sage);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.chat-bubble {
  max-width: 82%;
  padding: 13px 14px;
  border: 1px solid #c9d5cd;
  background: rgba(255, 253, 250, 0.82);
  color: var(--soft-ink);
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble.user {
  justify-self: end;
  border-color: #1a1918;
  background: #1a1918;
  color: var(--white);
}

.chat-action-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.chat-action-list article {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #d8cec0;
  background: #fffdfa;
}

.chat-action-list article.executed {
  border-color: #b9c5bc;
  background: #eef3ee;
}

.chat-action-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.chat-action-list p,
.chat-action-list small {
  margin: 0;
  color: var(--soft-ink);
  font-size: 12px;
  line-height: 1.35;
}

.chat-action-list pre {
  max-height: 150px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.chat-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-jobs button {
  padding: 8px 10px;
  border: 1px solid #b9a27f;
  background: rgba(244, 210, 155, 0.22);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--white);
}

.chat-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px 14px;
}

.chat-form label > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.chat-form textarea,
.chat-form button {
  min-height: 46px;
  border: 0;
  background: transparent;
  font: inherit;
}

.chat-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 0;
  resize: vertical;
  color: var(--ink);
}

.chat-form button {
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.chat-form textarea:disabled,
.chat-form button:disabled {
  opacity: 0.56;
  cursor: wait;
}

.chat-bubble.error {
  max-width: 100%;
  border-color: rgba(159, 51, 41, 0.45);
  background: #fff2ef;
  color: #8f2b24;
}

.lead-confirmation a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 900;
}

.morning-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.morning-plan article {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
  background: var(--white);
}

.morning-plan span,
.consultant-card span,
.lead-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.morning-plan a,
.morning-plan button,
.consultant-card button {
  width: fit-content;
  min-height: 38px;
  border: 1px solid var(--ink);
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.ai-consultants {
  width: 100%;
  margin: 34px 0;
}

body[data-page="magic-agents"] .agents-hero {
  grid-template-columns: 1fr;
}

body[data-page="magic-agents"] .agents-hero > div {
  min-height: 420px;
  background:
    radial-gradient(circle at 84% 18%, rgba(172, 118, 56, 0.22), transparent 28%),
    radial-gradient(circle at 72% 88%, rgba(82, 104, 93, 0.16), transparent 32%),
    var(--white);
}

.agent-runner-secondary {
  margin: 42px 0 22px;
}

.agents-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.agents-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.agents-hero-proof span {
  border: 1px solid rgba(24, 23, 22, 0.14);
  padding: 8px 10px;
  background: rgba(255, 253, 250, 0.72);
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 800;
}

.consultant-directory-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2fr) auto;
  gap: 14px;
  align-items: end;
  margin: 20px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(172, 118, 56, 0.12), transparent 34%),
    var(--white);
}

.consultant-search {
  display: grid;
  gap: 7px;
}

.consultant-search span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consultant-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-dark);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.consultant-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.consultant-filter-row button,
.consultant-show-all {
  min-height: 38px;
  border: 1px solid var(--line-dark);
  padding: 0 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.consultant-filter-row button:hover,
.consultant-filter-row button.is-active,
.consultant-show-all:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.consultant-directory-toolbar > strong {
  align-self: center;
  color: var(--sage);
  font-size: 12px;
  white-space: nowrap;
}

.consultant-show-all {
  display: block;
  min-width: 220px;
  margin: 4px auto 20px;
}

.consultant-show-all[hidden] {
  display: none;
}

.consultant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.consultant-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(24, 23, 22, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.consultant-card:hover {
  transform: translateY(-3px);
  border-color: rgba(172, 118, 56, 0.5);
  box-shadow: 0 24px 64px rgba(24, 23, 22, 0.09);
}

.consultant-card.is-active {
  border-color: rgba(172, 118, 56, 0.74);
  box-shadow:
    inset 0 0 0 2px rgba(172, 118, 56, 0.16),
    0 22px 62px rgba(24, 23, 22, 0.08);
}

.consultant-card.is-voice-active {
  background: #fff8e8;
}

.consultant-card.is-custom-agent {
  border-color: rgba(172, 118, 56, 0.62);
  background: linear-gradient(180deg, #fffaf0, var(--white));
}

.custom-agent-badge {
  width: fit-content;
  border-left: 2px solid var(--gold);
  padding-left: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-disclosure-badge {
  width: fit-content;
  color: var(--soft-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-agent-studio {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  margin: 50px 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.custom-agent-copy {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 760px;
  padding: clamp(32px, 5vw, 70px);
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 211, 150, 0.18), transparent 20%),
    linear-gradient(150deg, #151513, #29241d);
}

.custom-agent-copy h2 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(54px, 6vw, 94px);
  line-height: 0.9;
}

.custom-agent-copy > p {
  max-width: 600px;
  color: rgba(255, 253, 250, 0.68);
  line-height: 1.65;
}

.custom-agent-boundaries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-agent-boundaries span {
  border: 1px solid rgba(240, 211, 150, 0.28);
  padding: 8px 10px;
  color: #f0d396;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.custom-agent-preview {
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 230px;
  margin-top: auto;
  border: 1px solid rgba(255, 253, 250, 0.18);
  padding: 24px;
  background: rgba(255, 253, 250, 0.06);
}

.custom-agent-preview span {
  color: #f0d396;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-agent-preview strong {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.94;
}

.custom-agent-preview p,
.custom-agent-preview small {
  color: rgba(255, 253, 250, 0.68);
}

.custom-agent-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(28px, 4vw, 54px);
  background: #f3efe7;
  color: var(--ink);
}

.custom-agent-form-head,
.custom-agent-form label:nth-of-type(4),
.custom-agent-form label:nth-of-type(5),
.custom-agent-form label:nth-of-type(6),
.custom-agent-actions,
.custom-agent-status {
  grid-column: 1 / -1;
}

.custom-agent-form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.custom-agent-form-head span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-agent-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-agent-form input,
.custom-agent-form select,
.custom-agent-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--white);
  color: var(--ink);
  font: 500 14px/1.45 "Manrope", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.custom-agent-form textarea {
  min-height: 94px;
  resize: vertical;
}

.custom-agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-agent-status {
  min-height: 48px;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--soft-ink);
}

.consultant-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center top;
  background: #e9e2d8;
}

.consultant-photo {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #e9e2d8;
}

.consultant-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.34));
  pointer-events: none;
}

.consultant-photo img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: saturate(0.96) contrast(1.07);
  transform: none;
  transform-origin: center center;
}

.maya-support img {
  object-position: 52% 24%;
}

.sofia-support img {
  object-position: 52% 23%;
}

.adrian-support img {
  object-position: 50% 22%;
}

.luca-support img {
  object-position: 50% 23%;
}

.human-ai-consultant img {
  object-fit: contain;
  object-position: center top;
}

.human-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}

.consultant-identity-tile {
  position: relative;
  display: grid;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  align-content: end;
  gap: 5px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #d4b17d, #77522d 55%, #1b1a18);
  color: var(--white);
}

.consultant-identity-tile::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.consultant-identity-tile.sofia {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(145deg, #d9a898, #8c4339 56%, #211512);
}

.consultant-identity-tile.adrian {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(145deg, #9daaa3, #41574d 54%, #121715);
}

.consultant-identity-tile > span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.consultant-identity-tile > strong {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 600;
  line-height: 0.8;
}

.consultant-identity-tile > em {
  position: relative;
  z-index: 1;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-style: normal;
}

.avatar-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 253, 250, 0.34), transparent 15%),
    radial-gradient(circle at 50% 38%, #d7a280 0 10%, transparent 10.5%),
    radial-gradient(circle at 43% 36%, #1b1716 0 1.5%, transparent 1.7%),
    radial-gradient(circle at 57% 36%, #1b1716 0 1.5%, transparent 1.7%),
    linear-gradient(165deg, #f8ead6, #a4783f 46%, #171413);
}

.avatar-art::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17%;
  width: 46%;
  height: 42%;
  border-radius: 44% 44% 0 0;
  background: linear-gradient(145deg, rgba(24, 23, 22, 0.98), rgba(82, 104, 93, 0.9));
  transform: translateX(-50%);
}

.avatar-art::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 34%;
  height: 30%;
  border-radius: 50% 50% 44% 44%;
  background:
    radial-gradient(circle at 34% 42%, #171413 0 5px, transparent 6px),
    radial-gradient(circle at 66% 42%, #171413 0 5px, transparent 6px),
    linear-gradient(#d9a888, #c99173);
  box-shadow:
    0 -20px 0 10px rgba(27, 23, 20, 0.95),
    0 18px 0 -5px rgba(139, 63, 52, 0.55);
  transform: translateX(-50%);
}

.avatar-art span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255, 253, 250, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 78px;
  line-height: 0.8;
}

.avatar-art.sofia {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 253, 250, 0.3), transparent 15%),
    radial-gradient(circle at 50% 38%, #e1ad91 0 10%, transparent 10.5%),
    radial-gradient(circle at 43% 36%, #14110f 0 1.5%, transparent 1.7%),
    radial-gradient(circle at 57% 36%, #14110f 0 1.5%, transparent 1.7%),
    linear-gradient(165deg, #fff3e2, #b64a3a 48%, #15110f);
}

.avatar-art.gia {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 253, 250, 0.3), transparent 15%),
    radial-gradient(circle at 50% 38%, #c89678 0 10%, transparent 10.5%),
    radial-gradient(circle at 43% 36%, #14110f 0 1.5%, transparent 1.7%),
    radial-gradient(circle at 57% 36%, #14110f 0 1.5%, transparent 1.7%),
    linear-gradient(165deg, #f4f0e8, #52685d 48%, #121715);
}

.avatar-art.nika {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 253, 250, 0.3), transparent 15%),
    radial-gradient(circle at 50% 38%, #d39a78 0 10%, transparent 10.5%),
    radial-gradient(circle at 43% 36%, #14110f 0 1.5%, transparent 1.7%),
    radial-gradient(circle at 57% 36%, #14110f 0 1.5%, transparent 1.7%),
    linear-gradient(165deg, #fff7e6, #a4783f 46%, #17110d);
}

.consultant-card div {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.consultant-card div > p {
  min-height: 4.2em;
}

.consultant-card h3 {
  font-size: 32px;
}

.companion-voice-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(172, 118, 56, 0.28);
  padding: 6px 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.consultant-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  padding: 0 !important;
}

.consultant-actions button {
  border: 1px solid var(--ink);
  padding: 9px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.consultant-actions button:last-child {
  background: var(--ink);
  color: var(--white);
}

.consultant-actions button:only-child {
  width: 100%;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
}

.consultant-card.is-active .consultant-actions button:first-child,
.consultant-card.is-voice-active .consultant-actions button:last-child {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.lovehome-voice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(172, 118, 56, 0.36);
  background:
    radial-gradient(circle at top right, rgba(172, 118, 56, 0.15), transparent 30%),
    #fff8e8;
}

.lovehome-voice-panel span,
.chat-subscription-note span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lovehome-voice-panel strong,
.chat-subscription-note strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.lovehome-voice-panel p {
  margin: 4px 0 0;
  color: var(--soft-ink);
}

.lovehome-voice-panel p[data-state="listening"] {
  color: var(--clay);
  font-weight: 900;
}

.lovehome-voice-panel p[data-state="speaking"],
.lovehome-voice-panel p[data-state="ready"],
.lovehome-voice-panel p[data-state="permission"],
.lovehome-voice-panel p[data-state="thinking"] {
  color: var(--sage);
  font-weight: 900;
}

.lovehome-voice-panel p[data-state="error"],
.lovehome-voice-panel p[data-state="muted"] {
  color: #9f3329;
  font-weight: 900;
}

.companion-profile-meta {
  margin: 7px 0 0;
  max-width: 760px;
  color: var(--soft-ink);
  font-size: 14px;
}

.companion-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.companion-kpi-strip article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(24, 23, 22, 0.12);
  padding: 12px;
  background: rgba(255, 253, 250, 0.76);
}

.companion-kpi-strip span,
.companion-workflows span,
.companion-conversion-card span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.companion-kpi-strip strong {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.companion-capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(24, 23, 22, 0.12);
  padding: 10px;
  background:
    radial-gradient(circle at top left, rgba(172, 118, 56, 0.12), transparent 34%),
    var(--paper);
}

.companion-capability-strip article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(24, 23, 22, 0.12);
  padding: 10px;
  background: var(--white);
}

.companion-capability-strip article[data-state="live_api"],
.companion-capability-strip article[data-state="server_tts_beta"],
.companion-capability-strip article[data-state="connected"],
.companion-capability-strip article[data-state="configured"] {
  border-color: rgba(82, 104, 93, 0.48);
  background: #f4faf0;
}

.companion-capability-strip article[data-state="missing_key"],
.companion-capability-strip article[data-state="unavailable"],
.companion-capability-strip article[data-state="unreachable"],
.companion-capability-strip article[data-state="not_configured"] {
  border-color: rgba(159, 77, 54, 0.32);
  background: #fff7f1;
}

.companion-capability-strip span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.companion-capability-strip strong {
  font-size: 15px;
  text-transform: uppercase;
}

.companion-capability-strip small {
  color: var(--soft-ink);
  font-size: 11px;
}

.companion-capability-strip p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft-ink);
  font-size: 12px;
}

.companion-workflows {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  border: 1px solid var(--line);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(82, 104, 93, 0.1), transparent 42%),
    var(--white);
}

.companion-workflows > div {
  display: grid;
  align-content: center;
  gap: 5px;
}

.companion-workflows strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.companion-workflows button {
  border: 1px solid var(--ink);
  padding: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.companion-workflows button:nth-of-type(even) {
  background: var(--white);
  color: var(--ink);
}

.companion-conversion-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid rgba(82, 104, 93, 0.34);
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(82, 104, 93, 0.15), transparent 36%),
    #f2f7f0;
}

.companion-conversion-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.companion-conversion-card p {
  margin: 6px 0 0;
}

.companion-conversion-card a {
  border: 1px solid var(--ink);
  padding: 11px 13px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.lovehome-voice-panel small {
  grid-column: 1 / -1;
  color: var(--soft-ink);
  font-size: 12px;
}

.lovehome-voice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lovehome-voice-actions button,
.chat-voice-play {
  border: 1px solid var(--ink);
  padding: 9px 11px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lovehome-voice-actions button:first-child,
.chat-voice-play {
  background: var(--ink);
  color: var(--white);
}

.lovehome-voice-actions button[aria-pressed="true"] {
  border-color: #9f3329;
  background: #9f3329;
  color: var(--white);
}

.lovehome-voice-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lovehome-voice-actions .is-listening {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
  animation: voicePulse 1.1s ease-in-out infinite;
}

.chat-bubble.from-voice {
  border-color: rgba(172, 118, 56, 0.38);
}

.chat-voice-play {
  width: fit-content;
  margin-top: 8px;
}

.chat-subscription-note {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

@keyframes voicePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(159, 77, 54, 0.35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(159, 77, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(159, 77, 54, 0);
  }
}

@media (max-width: 980px) {
  .consultant-directory-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .consultant-directory-toolbar > strong {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .agents-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .agents-hero-actions .button {
    width: 100%;
  }

  .consultant-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultant-filter-row button {
    min-height: 42px;
  }
}

.admin-leads {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.lead-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.request-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.lead-card,
.lead-empty,
.request-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.lead-card h3,
.lead-empty h3,
.request-card h3 {
  font-size: 30px;
}

.lead-card strong {
  color: var(--ink);
}

.lead-card div {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
}

.request-card {
  background: #fbfaf7;
}

.request-card span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.request-card div {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid #b9c5bc;
  background: #eef3ee;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
}

.lead-empty {
  grid-column: 1 / -1;
  min-height: 170px;
}

.supply-engine {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: var(--container);
  margin: 34px auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.supply-engine > div,
.supply-engine article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  background: var(--white);
}

.supply-engine > div {
  background: var(--ink);
  color: var(--white);
}

.supply-engine > div p {
  color: rgba(255, 253, 250, 0.74);
}

.supply-engine strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 52px;
  line-height: 0.92;
}

.supply-engine span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.supercomputer-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.super-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.82fr);
  gap: 18px;
  margin-bottom: 18px;
}

.super-hero > div,
.super-command-card {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 520px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.super-hero > div {
  background:
    radial-gradient(circle at 78% 20%, rgba(164, 120, 63, 0.2), transparent 18vw),
    linear-gradient(135deg, rgba(24, 23, 22, 0.03), rgba(82, 104, 93, 0.12)),
    var(--white);
}

.super-hero h1 {
  max-width: 900px;
  font-size: clamp(64px, 7vw, 112px);
  letter-spacing: -0.015em;
}

.super-command-card {
  position: relative;
  overflow: hidden;
  align-content: stretch;
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 211, 150, 0.24), transparent 22%),
    radial-gradient(circle at 14% 82%, rgba(82, 104, 93, 0.52), transparent 30%),
    linear-gradient(145deg, #10100f 0%, #181716 54%, #2a241b 100%) !important;
  color: var(--white);
}

.super-command-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 253, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 250, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.28;
  pointer-events: none;
}

.command-card-copy,
.command-screen {
  position: relative;
  z-index: 1;
}

.super-command-card p {
  color: rgba(255, 253, 250, 0.72);
}

.super-command-card span {
  color: #f4d29b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.super-command-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 56px;
  line-height: 0.95;
}

.command-screen {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  border: 1px solid rgba(240, 211, 150, 0.34);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.08), rgba(255, 253, 250, 0.02)),
    rgba(12, 12, 11, 0.58);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.command-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 253, 250, 0.12);
  padding-bottom: 12px;
}

.command-screen-top span,
.command-flow span,
.command-metrics span {
  color: #f0d396;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.command-screen-top strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
}

.command-flow {
  display: grid;
  gap: 8px;
}

.command-flow article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 6px 12px;
  border: 1px solid rgba(255, 253, 250, 0.12);
  padding: 12px;
  background: rgba(255, 253, 250, 0.06);
}

.command-flow article strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.command-flow small {
  grid-column: 2;
  color: rgba(255, 253, 250, 0.62);
  font-size: 12px;
}

.command-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.command-metrics div {
  display: grid;
  gap: 5px;
  min-height: 86px;
  align-content: center;
  border: 1px solid rgba(240, 211, 150, 0.24);
  padding: 10px;
  background: rgba(240, 211, 150, 0.09);
}

.command-metrics strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 0.96;
}

.super-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.super-modules article {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  background: var(--white);
}

.super-modules span,
.super-stack article strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.super-ai-team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr) auto;
  gap: 28px;
  align-items: end;
  margin: 54px 0 10px;
  border-top: 1px solid var(--ink);
  padding: 34px 0 18px;
}

.super-ai-team-intro h2 {
  max-width: 920px;
  margin-top: 8px;
  font-size: clamp(46px, 5.5vw, 82px);
  line-height: 0.92;
}

.super-ai-team-intro > p {
  max-width: 640px;
  color: var(--soft-ink);
  line-height: 1.65;
}

.super-investor-pilots {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.super-investor-pilots article {
  min-height: 184px;
  border: 1px solid rgba(173, 120, 56, 0.34);
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 249, 238, 0.98), rgba(238, 246, 240, 0.95));
}

.super-investor-pilots span,
.super-investor-pilots small {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.super-investor-pilots h3 {
  max-width: 680px;
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 0.98;
}

.super-investor-pilots p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--soft-ink);
}

.consultant-actions button:disabled {
  border-color: rgba(17, 16, 14, 0.24);
  background: #ece9e2;
  color: #706c65;
  cursor: not-allowed;
  opacity: 1;
}

.consultant-pending-panel {
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(135deg, #f7f2e8, #edf5ef);
}

.consultant-pending-panel h3 {
  max-width: 980px;
  margin: 8px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.consultant-pending-panel > p:not(.eyebrow) {
  max-width: 900px;
  color: var(--soft-ink);
}

.super-stack {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.super-stack > div,
.super-stack article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  background: var(--white);
}

.super-stack > div {
  background: #eef3ee;
}

.super-stack article span {
  color: var(--soft-ink);
  line-height: 1.5;
}

.course-card.complete {
  background: #eef3ee;
}

.course-card {
  overflow: hidden;
  padding: 0;
}

.course-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.academy-thumb,
.academy-featured-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.academy-thumb img,
.academy-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.academy-thumb span,
.academy-featured-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-thumb::after,
.academy-featured-thumb::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(24, 23, 22, 0.88);
  transform: translate(-50%, -50%);
}

.academy-thumb::before,
.academy-featured-thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--white);
  transform: translate(-35%, -50%);
}

.course-card:hover .academy-thumb img,
.academy-featured-thumb:hover img {
  opacity: 0.86;
  transform: scale(1.035);
}

.academy-mini-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.academy-mini-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.academy-featured {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0 !important;
  align-content: stretch !important;
  padding: 0 !important;
  overflow: hidden;
}

.academy-featured > div {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px;
}

.academy-featured strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 54px;
  line-height: 1;
}

.academy-live-pill {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-source {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.course-source strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-source span,
.course-checklist {
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.45;
}

.course-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.course-links a {
  width: fit-content;
  border: 1px solid var(--ink);
  padding: 9px 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.course-page {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: 18px;
  margin-bottom: 18px;
}

.course-hero > div,
.course-summary {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 390px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.course-hero h1 {
  max-width: 860px;
  font-size: 68px;
}

.course-summary {
  background: #eef3ee;
}

.course-summary span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-summary strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.video-thumb span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.video-card:hover .video-thumb img {
  opacity: 0.84;
  transform: scale(1.035);
}

.video-card > div {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.video-card h2 {
  font-size: 28px;
}

.video-card a:not(.video-thumb) {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-weight: 900;
}

.studio-hero {
  position: relative;
  isolation: isolate;
}

.studio-proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.studio-proof-pills span {
  padding: 8px 10px;
  border: 1px solid rgba(164, 120, 63, 0.32);
  background: rgba(164, 120, 63, 0.08);
  color: #6d4f2a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.studio-live-card {
  position: absolute;
  right: 22px;
  bottom: 52px;
  z-index: 4;
  display: grid;
  gap: 6px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 210, 155, 0.5);
  background: rgba(24, 23, 22, 0.9);
  box-shadow: 0 22px 70px rgba(24, 23, 22, 0.24);
}

.studio-live-card span {
  color: #f4d29b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-live-card strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 0.98;
}

.investor-demo-guide {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 1px;
  margin-top: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.demo-guide-copy,
.demo-guide-steps article,
.investor-wow-grid article {
  background: var(--white);
}

.demo-guide-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(164, 120, 63, 0.16), transparent 34%),
    var(--white);
}

.demo-guide-copy h2 {
  max-width: 520px;
  font-size: clamp(36px, 4vw, 58px);
}

.demo-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.demo-guide-steps article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
}

.demo-guide-steps span,
.investor-wow-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-guide-steps strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 0.98;
}

.demo-guide-steps p,
.investor-wow-grid p {
  font-size: 14px;
}

.investor-wow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.investor-wow-grid article {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 26px;
}

.investor-wow-grid article:first-child {
  background:
    linear-gradient(145deg, rgba(24, 23, 22, 0.94), rgba(24, 23, 22, 0.82)),
    var(--ink);
}

.investor-wow-grid article:first-child h2,
.investor-wow-grid article:first-child p {
  color: var(--white);
}

.investor-wow-grid article:first-child span {
  color: #f4d29b;
}

.investor-wow-grid h2 {
  font-size: clamp(32px, 3vw, 48px);
}

.look-variant-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid rgba(164, 120, 63, 0.34);
  background: rgba(164, 120, 63, 0.34);
}

.look-variant-strip > div {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(244, 210, 155, 0.2), transparent 34%),
    var(--ink);
}

.look-variant-strip > div:first-child span {
  color: #f4d29b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.look-variant-strip > div:first-child strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  line-height: 0.98;
}

.look-variant-strip > div:first-child p {
  color: rgba(255, 253, 250, 0.74);
  font-size: 13px;
}

.look-variant-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(164, 120, 63, 0.34);
}

.look-variant-buttons button {
  min-height: 96px;
  border: 0;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.look-variant-buttons button:hover,
.look-variant-buttons button.is-active {
  background: #f4d29b;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 52px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .search-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .category-strip,
  .vendor-grid,
  .product-grid,
  .product-grid.dense,
  .proof-strip,
  .collection-row,
  .admin-modules,
  .spec-grid,
  .spec-roadmap,
  .platform-announcement,
  .role-selector,
  .investor-metrics,
  .investor-grid,
  .investor-roadmap,
  .revenue-model,
  .trade-tiers,
  .partner-modes,
  .platform-modules,
  .agent-grid,
  .agent-creator-grid,
  .agent-marketplace-grid,
  .course-grid,
  .investor-demo-guide,
  .investor-wow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-guide-copy {
    grid-column: 1 / -1;
  }

  .feature-row,
  .editorial-band,
  .seller-hero,
  .import-console,
  .product-page,
  .work-grid,
  .buyer-board,
  .storefront-editor,
  .cart-page-grid,
  .studio-hero,
  .studio-summary-card,
  .founding-proof,
  .trade-hero,
  .agents-hero,
  .academy-hero,
  .partner-hero,
  .similar-hero,
  .agent-hero,
  .investor-hero,
  .trade-console,
  .agent-console,
  .partner-console,
  .seller-tools {
    grid-template-columns: 1fr;
  }

  .affiliate-console {
    grid-template-columns: 1fr;
  }

  .join-hero,
  .demo-bar,
  .super-hero {
    grid-template-columns: 1fr;
  }

  .demo-bar nav {
    justify-content: flex-start;
  }

  .consultant-grid,
  .companion-capability-strip,
  .companion-kpi-strip,
  .companion-workflows,
  .lead-pipeline-grid,
  .request-pipeline-grid,
  .supply-engine,
  .command-metrics,
  .super-modules,
  .super-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-guide-steps {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .look-variant-strip,
  .look-variant-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .look-variant-strip > div:first-child {
    grid-column: 1 / -1;
  }

  .cart-summary {
    position: static;
  }

  .dealer-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .dealer-row > span,
  .dealer-row .row-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 24px, 1360px);
  }

  .top-note {
    font-size: 12px;
  }

  .site-header,
  .app-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 12px;
  }

  .header-actions,
  .app-header nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar button {
    min-height: 40px;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .hero-market {
    min-height: 470px;
  }

  .hero-copy {
    padding: 34px 0;
  }

  .hero-copy h1,
  .seller-hero h1,
  .simple-page h1,
  .spec-page h1,
  .import-console h1,
  .cart-list h1,
  .cart-empty h1,
  .studio-hero h1,
  .trade-hero h1,
  .agents-hero h1,
  .academy-hero h1,
  .partner-hero h1,
  .similar-hero h1,
  .agent-hero h1 {
    font-size: 48px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .section-head,
  .shop-toolbar,
  .dashboard-title,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-strip,
  .vendor-grid,
  .product-grid,
  .product-grid.dense,
  .three-columns,
  .timeline,
  .vendor-stats,
  .metric-grid,
  .proof-strip,
  .collection-row,
  .admin-modules,
  .portal-link-grid,
  .portal-link-grid.compact,
  .spec-grid,
  .spec-roadmap,
  .agent-creator-grid,
  .agent-marketplace-grid {
    grid-template-columns: 1fr;
  }

  .agent-result-identity,
  .agent-service-offer dl {
    grid-template-columns: 1fr;
  }

  .proof-strip article {
    min-height: auto;
  }

  .collection-row a,
  .collection-row img {
    min-height: 220px;
  }

  .feature-row article,
  .editorial-band > div,
  .seller-hero > div {
    min-height: auto;
    padding: 26px;
  }

  .product-info h1,
  .dashboard-title h1 {
    font-size: 42px;
  }

  .import-form {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-nav button,
  .dashboard-nav a {
    white-space: nowrap;
  }

  .dashboard-subhead,
  .dealer-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .inventory-tools,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .message-card,
  .ai-task-card,
  .cart-row,
  .studio-controls,
  .similar-controls,
  .course-hero,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .cart-row img {
    width: 100%;
    height: 220px;
  }

  .shipping-panel {
    padding: 20px;
  }

  .shipping-panel-heading {
    flex-direction: column;
  }

  .shipping-panel-heading h2 {
    font-size: 38px;
  }

  .shipping-provider-mark {
    width: 100%;
    text-align: left;
  }

  .shipping-field-grid,
  .shipping-origin-list {
    grid-template-columns: 1fr;
  }

  .lovehome-voice-panel,
  .companion-conversion-card {
    grid-template-columns: 1fr;
  }

  .lovehome-voice-actions {
    justify-content: flex-start;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form button {
    min-height: 48px;
  }

  .chat-action-list,
  .companion-capability-strip,
  .companion-kpi-strip,
  .companion-workflows {
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    max-width: 94%;
  }

  .shipping-ops-status {
    grid-template-columns: 1fr;
  }

  .studio-hero > div,
  .studio-photo {
    min-height: auto;
    padding: 24px;
  }

  .studio-photo img {
    height: 260px;
  }

  .platform-announcement,
  .role-selector,
  .investor-metrics,
  .investor-grid,
  .investor-roadmap,
  .revenue-model,
  .demo-path div,
  .trade-tiers,
  .partner-modes,
  .platform-modules,
  .agent-grid,
  .course-grid,
  .join-proof,
  .morning-plan,
  .consultant-grid,
  .lead-pipeline-grid,
  .request-pipeline-grid,
  .product-action-grid,
  .supply-engine,
  .command-metrics,
  .super-modules,
  .super-stack {
    grid-template-columns: 1fr;
  }

  .studio-proof-pills {
    gap: 6px;
  }

  .studio-proof-pills span {
    font-size: 10px;
  }

  .studio-live-card {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .investor-demo-guide,
  .demo-guide-steps,
  .investor-wow-grid,
  .look-variant-strip,
  .look-variant-buttons {
    grid-template-columns: 1fr;
  }

  .demo-guide-steps article,
  .investor-wow-grid article {
    min-height: auto;
    padding: 22px;
  }

  .demo-bar {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: var(--container);
    max-height: none;
    margin: 20px auto;
    overflow: visible;
  }

  .demo-bar nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .demo-bar a.primary {
    grid-column: 1 / -1;
  }

  .has-demo-bar {
    padding-bottom: 0;
  }

  .join-hero h1 {
    font-size: 48px;
  }

  .super-hero h1 {
    font-size: 48px;
  }

  .join-hero > div,
  .lead-form,
  .outreach-box,
  .super-hero > div,
  .super-command-card {
    min-height: auto;
    padding: 24px;
  }
}

/* Dealer AI revenue services and white-label sales desk. */
.dealer-services-page {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 110px;
}

.revenue-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 4%, rgba(185, 126, 48, 0.18), transparent 34%),
    linear-gradient(145deg, #faf7ef, #eee7db);
}

.revenue-hero > div,
.revenue-hero-card { padding: clamp(30px, 5vw, 76px); }
.revenue-hero h1 { max-width: 920px; margin: 12px 0 22px; font-size: clamp(56px, 6.8vw, 112px); line-height: 0.85; }
.revenue-hero > div > p:not(.eyebrow) { max-width: 840px; color: var(--soft-ink); font-size: clamp(16px, 1.4vw, 22px); line-height: 1.55; }
.revenue-hero-card { display: grid; align-content: end; gap: 15px; color: #f7efe4; background: linear-gradient(155deg, #173029, #101613 60%, #3c2819); }
.revenue-hero-card > span { color: #efbd78; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.revenue-hero-card h2 { margin: 0; font-size: clamp(40px, 4vw, 66px); line-height: 0.92; }
.revenue-hero-card > strong { font-size: 19px; }
.revenue-hero-card p { color: #ded7cc; line-height: 1.6; }
.revenue-hero-card small { color: #baaFA2; line-height: 1.55; }

.revenue-proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 36px; border: 1px solid var(--line); background: var(--line); }
.revenue-proof-row span { min-height: 88px; padding: 16px; background: rgba(255, 255, 255, 0.72); color: var(--soft-ink); font-size: 12px; line-height: 1.45; }
.revenue-proof-row strong { display: block; color: var(--ink); font-size: 14px; }

.free-storefront-offer,
.dealer-tools-builder,
.dealer-proof-section {
  margin: 18px 0;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid var(--line);
  background: #f8f4ed;
}
.free-storefront-offer .section-head > p,
.dealer-tools-builder .section-head > p,
.dealer-proof-section .section-head > p { max-width: 620px; color: var(--soft-ink); line-height: 1.55; }
.free-storefront-grid,
.dealer-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 28px 0; border: 1px solid var(--line); background: var(--line); }
.free-storefront-grid article,
.dealer-proof-grid article { min-height: 245px; padding: 26px; background: var(--white); }
.free-storefront-grid article > span { color: var(--clay); font-size: 12px; font-weight: 900; }
.free-storefront-grid h3,
.dealer-proof-grid h3 { margin: 22px 0 12px; font-family: var(--serif); font-size: 30px; line-height: .98; }
.free-storefront-grid p,
.dealer-proof-grid p { color: var(--soft-ink); font-size: 13px; line-height: 1.55; }
.dealer-proof-grid article > strong { display: block; color: var(--clay); font-family: var(--serif); font-size: 52px; line-height: 1; }
.dealer-proof-grid a { color: var(--ink); font-size: 12px; font-weight: 900; }

.dealer-tools-builder { color: #f7efe4; background: linear-gradient(145deg, #173029, #101613 60%, #3c2819); }
.dealer-tools-builder .section-head > p { color: #cec8be; }
.dealer-product-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 28px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.18); }
.dealer-product-ladder article { display: grid; align-content: start; min-height: 300px; padding: 27px; background: #151b18; }
.dealer-product-ladder small { color: #efbd78; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.dealer-product-ladder strong { margin-top: 24px; font-family: var(--serif); font-size: 48px; }
.dealer-product-ladder h3 { margin: 4px 0 12px; font-size: 26px; }
.dealer-product-ladder p { color: #cec8be; font-size: 13px; line-height: 1.5; }
.dealer-product-ladder a { align-self: end; color: #f2c581; font-size: 12px; font-weight: 900; }
.specialist-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; padding: 18px; border: 1px solid rgba(255,255,255,.2); }
.specialist-strip strong { margin-right: 10px; }
.specialist-strip span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.22); color: #d8d0c5; font-size: 10px; }
.specialist-strip a { margin-left: auto; color: #f2c581; font-weight: 900; }

.dealer-revenue-model { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 18px 0; border: 1px solid var(--line); background: var(--line); }
.dealer-revenue-model article { min-height: 230px; padding: 32px; background: var(--white); }
.dealer-revenue-model span,
.paid-service-top span { color: var(--clay); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.dealer-revenue-model h2 { margin: 18px 0 12px; font-size: 44px; line-height: 0.95; }
.dealer-revenue-model p { color: var(--soft-ink); line-height: 1.55; }

.service-marketplace { margin: 18px 0; padding: clamp(26px, 4vw, 58px); border: 1px solid var(--line); background: #f8f4ed; }
.service-marketplace .section-head > p { max-width: 620px; color: var(--soft-ink); line-height: 1.55; }
.paid-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.paid-service-card { display: grid; align-content: start; gap: 16px; min-height: 620px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--white); }
.paid-service-card.featured { color: #f8f1e7; background: linear-gradient(150deg, #193027, #101512 65%, #432d1b); }
.paid-service-top { display: flex; justify-content: space-between; gap: 12px; }
.paid-service-top em { color: var(--soft-ink); font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.paid-service-card.featured .paid-service-top em,
.paid-service-card.featured p,
.paid-service-card.featured dd,
.paid-service-card.featured small { color: #cec8be; }
.paid-service-card h3 { margin: 0; font-size: clamp(36px, 3.2vw, 56px); line-height: 0.94; }
.paid-service-card > p { color: var(--soft-ink); line-height: 1.55; }
.paid-service-price { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.paid-service-price strong { font-family: var(--serif); font-size: 38px; }
.paid-service-price small { color: var(--clay); font-weight: 800; }
.paid-service-card dl { display: grid; gap: 10px; margin: 0; }
.paid-service-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.paid-service-card dt { color: var(--clay); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.paid-service-card dd { margin: 0; color: var(--soft-ink); font-size: 12px; line-height: 1.45; }
.paid-service-card h4 { margin: 0; }
.paid-service-card ul { margin: 0; padding-left: 18px; }
.paid-service-card li { margin: 7px 0; font-size: 13px; line-height: 1.45; }
.paid-service-card .button { align-self: end; width: 100%; }
.paid-service-card.featured .service-consent { color: #e4ddd2; }

.white-label-product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); margin: 18px 0; border: 1px solid var(--line); background: var(--white); }
.white-label-copy { padding: clamp(30px, 5vw, 70px); }
.white-label-copy h2 { margin: 10px 0 20px; font-size: clamp(50px, 5vw, 82px); line-height: 0.9; }
.white-label-copy > p:not(.eyebrow),
.white-label-copy li { color: var(--soft-ink); line-height: 1.6; }
.white-label-copy ul { margin: 24px 0 30px; padding-left: 20px; }
.widget-demo { display: grid; align-content: center; gap: 16px; padding: clamp(28px, 5vw, 70px); background: radial-gradient(circle at 90% 10%, #426454, #17241f 55%, #0e1210); color: #fff; }
.widget-demo-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.2); }
.widget-demo-head span { font-family: var(--serif); font-size: 25px; }
.widget-demo-head small { color: #a9c7b8; }
.widget-demo-message { max-width: 86%; padding: 17px; border-radius: 3px 16px 16px 16px; background: rgba(255,255,255,.12); }
.widget-demo-message.user { justify-self: end; border-radius: 16px 3px 16px 16px; background: #f0c888; color: #17120d; }
.widget-demo-message p { margin: 7px 0 0; line-height: 1.5; }
.widget-demo-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.widget-demo-chips span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.28); font-size: 11px; }
.widget-demo-result { display: grid; gap: 6px; padding: 18px; border: 1px solid rgba(151, 211, 180, .55); background: rgba(118, 183, 151, .13); }
.widget-demo-result span { color: #9dd5b7; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.widget-demo-result a { color: #fff; font-weight: 900; }

.white-label-configurator { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: 1px; margin: 18px 0; border: 1px solid var(--line); background: var(--line); }
.white-label-configurator > div { padding: clamp(30px, 4vw, 60px); background: var(--paper); }
.white-label-configurator h2 { margin: 12px 0; font-size: 54px; line-height: .92; }
.white-label-configurator > div > p:not(.eyebrow) { color: var(--soft-ink); line-height: 1.6; }
.white-label-configurator form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(28px, 4vw, 54px); background: var(--white); }
.white-label-configurator label { display: grid; align-content: start; gap: 7px; font-size: 11px; font-weight: 900; }
.white-label-configurator input,
.white-label-configurator select,
.white-label-configurator textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-dark); padding: 11px; background: #fffdf9; font: inherit; }
.white-label-configurator textarea { min-height: 110px; resize: vertical; }
.white-label-configurator .wide { grid-column: 1 / -1; }

.agent-team-upsell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 30px; align-items: center; margin: 18px 0; padding: clamp(30px, 5vw, 70px); color: #f8f1e7; background: linear-gradient(145deg, #221d17, #111310); }
.agent-team-upsell h2 { margin: 10px 0; font-size: 58px; line-height: .9; }
.agent-team-upsell p { max-width: 690px; color: #c8c1b7; }
.agent-team-list { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-team-list span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.22); font-size: 11px; }
.agent-team-upsell .button { grid-column: 1 / -1; width: max-content; }

.payment-truth { display: grid; grid-template-columns: minmax(260px, .6fr) 1fr; gap: 20px; align-items: center; margin: 18px 0; padding: 28px; border: 1px solid var(--line); background: #fff; }
.payment-truth h2 { margin: 8px 0 0; font-size: 39px; }
.payment-truth > p { color: var(--soft-ink); }
.payment-truth[data-state="configured"] { border-color: #759b83; background: #edf6ef; }
.payment-truth[data-state="invoice"] { border-color: #c79d5c; background: #fff7e9; }
.checkout-verification { display: grid; gap: 6px; margin-bottom: 18px; padding: 18px; border: 1px solid #c79d5c; background: #fff7e9; }
.checkout-verification.is-paid { border-color: #759b83; background: #edf6ef; }
.checkout-verification span { color: var(--soft-ink); font-size: 13px; }

.checkout-status-admin,
.service-order-admin { margin: 24px 0; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.admin-checkout-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.admin-checkout-status article { display: grid; gap: 8px; padding: 18px; background: var(--paper); }
.admin-checkout-status article span,
.admin-service-order span { color: var(--clay); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.admin-checkout-status > p { grid-column: 1 / -1; margin: 0; padding: 16px; background: var(--white); }
.admin-service-orders { display: grid; gap: 8px; }
.admin-service-order { display: grid; grid-template-columns: 1.2fr .5fr 1fr 1.2fr; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); }
.admin-service-order div { display: grid; gap: 5px; }
.admin-service-order p { margin: 0; color: var(--soft-ink); font-size: 11px; }
.admin-service-order-actions { display: flex !important; flex-wrap: wrap; gap: 6px; }
.admin-service-order-actions button { border: 1px solid var(--ink); padding: 8px; background: var(--white); font-size: 9px; font-weight: 900; }

@media (max-width: 1000px) {
  .revenue-hero,
  .white-label-product,
  .white-label-configurator,
  .agent-team-upsell { grid-template-columns: 1fr; }
  .paid-service-grid { grid-template-columns: 1fr; }
  .free-storefront-grid,
  .dealer-proof-grid,
  .dealer-product-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-service-order { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .dealer-services-page { width: min(100vw - 24px, 1500px); padding-top: 12px; }
  .revenue-hero > div,
  .revenue-hero-card,
  .service-marketplace,
  .white-label-copy,
  .widget-demo,
  .white-label-configurator > div,
  .white-label-configurator form,
  .agent-team-upsell { padding: 24px; }
  .free-storefront-offer,
  .dealer-tools-builder,
  .dealer-proof-section { padding: 24px; }
  .revenue-hero h1 { font-size: 58px; }
  .revenue-proof-row,
  .dealer-revenue-model,
  .white-label-configurator form,
  .payment-truth,
  .admin-checkout-status,
  .admin-service-order { grid-template-columns: 1fr; }
  .white-label-configurator .wide { grid-column: 1; }
  .paid-service-card { min-height: auto; }
  .paid-service-card dl div { grid-template-columns: 1fr; }
  .widget-demo-message { max-width: 96%; }
  .agent-team-upsell .button { width: 100%; }
  .free-storefront-grid,
  .dealer-proof-grid,
  .dealer-product-ladder { grid-template-columns: 1fr; }
  .specialist-strip a { width: 100%; margin-left: 0; }
}

/* Live hardening: role portals must always render as clickable cards. */
.portal-links {
  display: block !important;
  margin: 22px 0 !important;
  padding: 22px !important;
  border: 1px solid var(--line) !important;
  background: radial-gradient(circle at 12% 0%, rgba(179, 126, 60, 0.12), transparent 34%), linear-gradient(135deg, var(--white), var(--paper)) !important;
}
.portal-link-grid,
.portal-link-grid.compact {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1px !important;
  border: 1px solid var(--line) !important;
  background: var(--line) !important;
}
.portal-link-grid > a {
  display: grid !important;
  align-content: start !important;
  min-height: 142px !important;
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}
.portal-link-grid > a:hover {
  transform: translateY(-2px) !important;
  background: var(--ink) !important;
  color: var(--white) !important;
}
.portal-link-grid > a > span {
  display: block !important;
  color: var(--clay) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
.portal-link-grid > a > strong {
  display: block !important;
  margin-top: 10px !important;
  font-family: var(--serif) !important;
  font-size: 23px !important;
  line-height: 1.02 !important;
}
.portal-link-grid > a > p {
  display: block !important;
  margin-top: 10px !important;
  color: var(--soft-ink) !important;
  font-size: 13px !important;
}
.portal-link-grid > a:hover > p { color: rgba(255, 255, 255, 0.72) !important; }
.role-page { max-width: 1180px; margin: 0 auto; padding: 54px 20px 80px; }
@media (max-width: 900px) {
  .dealer-offer-copy {
    align-items: start;
    flex-direction: column;
  }

  .dealer-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-offer-card ul {
    grid-template-columns: 1fr;
  }

  .portal-link-grid,
  .portal-link-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .agent-mini-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-ai-hero,
  .seller-ai-editor,
  .seller-ai-output-grid,
  .seller-ai-differentiators,
  .seller-publish-console,
  .seller-approval-row,
  .affiliate-source-grid,
  .admin-product-row,
  .seller-request-card {
    grid-template-columns: 1fr;
  }
  .seller-ai-checklist,
  .seller-ai-pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .before-after-room-proof {
    grid-template-columns: 1fr;
  }

  .before-room-frame,
  .generated-room-frame,
  .before-room-frame img,
  .generated-room-frame img {
    min-height: 360px;
  }
}
@media (max-width: 620px) {
  .dealer-offer {
    margin: 16px auto;
    padding: 24px 18px;
  }

  .dealer-offer-grid {
    grid-template-columns: 1fr;
  }

  .dealer-offer-grid article {
    min-height: auto;
  }

  .join-offer-price {
    grid-template-columns: 1fr;
  }

  .join-offer-price small {
    max-width: none;
  }

  .portal-link-grid,
  .portal-link-grid.compact { grid-template-columns: 1fr !important; }
  .agent-mini-products { grid-template-columns: 1fr; }
  .seller-ai-checklist,
  .seller-ai-pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .super-ai-team-intro,
  .custom-agent-studio {
    grid-template-columns: 1fr;
  }

  .super-investor-pilots {
    grid-template-columns: 1fr;
  }

  .super-ai-team-intro {
    align-items: start;
  }

  .custom-agent-copy {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .super-ai-team-intro h2,
  .custom-agent-copy h2 {
    font-size: 48px;
  }

  .custom-agent-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .custom-agent-form label,
  .custom-agent-form label:nth-of-type(n),
  .custom-agent-form-head,
  .custom-agent-actions,
  .custom-agent-status {
    grid-column: 1 / -1;
  }

  .custom-agent-form-head,
  .custom-agent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .custom-agent-actions .button {
    width: 100%;
  }
}

/* Seller channel manager: permissioned multi-channel inventory operations. */
.channel-manager-page {
  width: var(--container);
  margin: 0 auto;
  padding: 30px 0 100px;
}

.channel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 4% 2%, rgba(180, 124, 52, 0.17), transparent 34%),
    linear-gradient(135deg, #fbf8f1, #f1ece2);
}

.channel-hero > div,
.channel-truth-card {
  padding: clamp(28px, 5vw, 70px);
}

.channel-hero h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.channel-lede {
  max-width: 790px;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.6;
}

.channel-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--white);
}

.channel-proof-strip span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  line-height: 1.35;
}

.channel-proof-strip span:last-child { border-right: 0; }
.channel-proof-strip strong { color: #f0cf95; font-family: var(--serif); font-size: 28px; }

.channel-truth-card {
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.channel-truth-card h2 {
  margin: 10px 0 22px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 0.98;
}

.channel-truth-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.channel-truth-card li,
.channel-truth-card > p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.channel-truth-card li strong { color: var(--white); }

.channel-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.channel-source-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 24px;
  background: var(--white);
}

.channel-source-card.active { background: #edf3ed; }
.channel-source-card > span { color: var(--clay); font-size: 10px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.channel-source-card h2 { margin: 16px 0 10px; font-family: var(--serif); font-size: 32px; line-height: 1; }
.channel-source-card p { color: var(--soft-ink); font-size: 13px; line-height: 1.55; }
.channel-source-card > strong { align-self: end; margin-top: 20px; font-size: 12px; }

.channel-intake,
.channel-export-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.channel-intake h2,
.channel-export-panel h2 {
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.96;
}

.channel-intake > div > p:last-child,
.channel-export-panel > div > p:last-child { color: var(--soft-ink); line-height: 1.6; }

.channel-intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.channel-intake-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.channel-intake-form input,
.channel-intake-form select,
.channel-toolbar input,
.channel-toolbar select,
.channel-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.channel-permission-check {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 14px;
  border: 1px solid #c4b28f;
  background: #fff9e8;
  line-height: 1.5;
  text-transform: none !important;
}

.channel-permission-check input { width: 18px; min-height: 18px; margin-top: 1px; }
.channel-intake-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }

.channel-import-status {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.channel-import-status span { color: var(--soft-ink); font-size: 12px; line-height: 1.5; }

.channel-import-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #edf3ed;
}

.channel-import-bridge h2 { margin: 8px 0; font-family: var(--serif); font-size: 34px; }
.channel-import-bridge p { color: var(--soft-ink); }

.channel-workspace {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
}

.channel-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.channel-metrics article { display: grid; gap: 4px; padding: 16px; background: var(--paper); }
.channel-metrics article.attention { background: #fff1e6; }
.channel-metrics strong { font-family: var(--serif); font-size: 34px; }
.channel-metrics span { color: var(--soft-ink); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.channel-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 210px auto;
  gap: 10px;
}

.channel-bulk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.channel-bulk-actions button,
.channel-row-actions button,
.channel-row-actions a {
  min-height: 36px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.channel-table { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.channel-row {
  display: grid;
  grid-template-columns: 34px minmax(250px, 1.5fr) repeat(4, minmax(96px, 0.55fr)) minmax(150px, 0.7fr) minmax(120px, 0.55fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
}

.channel-row-check input { width: 18px; min-height: 18px; }
.channel-row-title { display: grid; gap: 5px; min-width: 0; }
.channel-row-title > span { color: var(--clay); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.channel-row-title strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.channel-row-title small,
.channel-row-state small { color: var(--soft-ink); font-size: 10px; line-height: 1.35; }
.channel-row label { display: grid; gap: 5px; color: var(--soft-ink); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.channel-row input { min-height: 38px; padding: 0 8px; }
.channel-row-state { display: grid; gap: 7px; }
.channel-health { width: max-content; max-width: 100%; border: 1px solid var(--line-dark); padding: 5px 7px; background: var(--paper); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.channel-health.healthy { border-color: #90ad98; background: #e7f2e9; color: #274c35; }
.channel-health.price-conflict,
.channel-health.availability-conflict { border-color: #d5a171; background: #fff0e0; color: #813a16; }
.channel-row-actions { display: grid; gap: 6px; }

.channel-empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 54px 20px;
  border: 1px dashed var(--line-dark);
  color: var(--soft-ink);
  text-align: center;
}
.channel-empty[hidden] { display: none; }

.channel-export-actions { display: grid; align-content: start; gap: 10px; }
.channel-action-log { display: grid; gap: 6px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.channel-action-log span { color: var(--soft-ink); font-size: 11px; line-height: 1.45; }

.channel-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}
.channel-rules article { display: grid; align-content: start; min-height: 270px; padding: 28px; background: var(--paper); }
.channel-rules span { color: var(--clay); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.channel-rules h2 { margin: 14px 0 10px; font-family: var(--serif); font-size: 34px; line-height: 1; }
.channel-rules p { color: var(--soft-ink); font-size: 13px; line-height: 1.55; }
.channel-rules a { align-self: end; margin-top: 18px; color: var(--ink); font-weight: 900; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1180px) {
  .channel-hero,
  .channel-intake,
  .channel-export-panel { grid-template-columns: 1fr; }
  .channel-truth-card { border-top: 1px solid var(--line); border-left: 0; }
  .channel-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel-toolbar { grid-template-columns: 1fr 1fr; }
  .channel-row { grid-template-columns: 34px minmax(230px, 1fr) repeat(2, minmax(100px, 0.55fr)); }
  .channel-row label:nth-of-type(n + 3),
  .channel-row-state,
  .channel-row-actions { grid-column: 2 / -1; }
  .channel-row-actions { display: flex; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .channel-manager-page { width: min(100vw - 24px, 1360px); padding-top: 14px; }
  .channel-hero > div,
  .channel-truth-card { padding: 24px; }
  .channel-hero h1 { font-size: 50px; }
  .channel-proof-strip,
  .channel-source-grid,
  .channel-intake-form,
  .channel-metrics,
  .channel-toolbar,
  .channel-rules { grid-template-columns: 1fr; }
  .channel-proof-strip span { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
  .channel-source-card { min-height: auto; }
  .channel-intake,
  .channel-export-panel,
  .channel-workspace { padding: 20px; }
  .channel-import-bridge { align-items: flex-start; flex-direction: column; }
  .channel-row { grid-template-columns: 30px minmax(0, 1fr); }
  .channel-row label,
  .channel-row label:nth-of-type(n + 3),
  .channel-row-state,
  .channel-row-actions { grid-column: 2; }
  .channel-row-title strong { overflow: visible; white-space: normal; }
}

/* Portraits must preserve the full face even if earlier card rules are cached. */
body .consultant-card .consultant-photo {
  aspect-ratio: 1 / 1;
  background: #e9e2d8;
}

body .consultant-card .consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: none;
}

[data-consultant-output] {
  scroll-margin-top: 7rem;
}

@media (max-width: 720px) {
  [data-consultant-output] {
    scroll-margin-top: 15rem;
  }
}
