:root {
  color-scheme: light;
  --bg: #f4f2ee;
  --surface: #ffffff;
  --ink: #15191d;
  --muted: #66707b;
  --line: #dedbd2;
  --brand: #176b87;
  --brand-dark: #0f4056;
  --sage: #517b61;
  --wine: #92333a;
  --gold: #b47a24;
  --paper: #faf8f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

button:hover,
button.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(222, 219, 210, 0.9);
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
}

.topbar div {
  display: grid;
  gap: 2px;
}

.topbar strong {
  font-size: 18px;
}

.topbar span {
  color: var(--muted);
  font-size: 12px;
}

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

nav button {
  min-height: 34px;
  border-color: transparent;
  background: transparent;
  color: var(--brand-dark);
}

main {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 18px;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

h3 {
  font-size: 16px;
}

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

.content {
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 780;
}

.designHero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 20px;
  min-height: calc(100vh - 118px);
  padding: 20px 0 10px;
}

.heroCopy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 560px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.heroCopy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 16px;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.heroActions button:first-child {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.heroPreview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, 1fr);
  gap: 10px;
  min-height: 560px;
}

.previewShoe {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
}

.previewShoe:nth-child(2),
.previewShoe:nth-child(5) {
  grid-row: span 2;
}

.previewShoe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.previewShoe span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(21, 25, 29, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.sectionHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sectionHeader.compact h2 {
  font-size: 24px;
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: var(--sage);
  font-size: 12px;
  font-weight: 760;
}

.consultantBoard {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.latestStrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(136px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

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

.consultantGroup {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.consultantGroupHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.consultantGroupHead h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.consultantGroupHead span {
  flex: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

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

.consultantImageCard {
  position: relative;
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 142px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.consultantImageCard img {
  width: 100%;
  height: 98px;
  object-fit: contain;
  background: #fff;
}

.consultantImageCard span {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(21, 25, 29, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.consultantImageCard strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.moduleBand,
.splitShowcase,
.galleryBand,
.panel,
.styleCard,
.taskCard,
.kanban section,
.aiToolGroup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.moduleBand,
.galleryBand {
  padding: 18px;
}

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

.portalTile {
  display: grid;
  gap: 10px;
  align-content: space-between;
  min-height: 138px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
}

.portalTile span {
  color: var(--brand-dark);
  font-size: 22px;
  font-weight: 820;
}

.portalTile strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.splitShowcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  padding: 18px;
}

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

.miniCard {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
}

.miniCard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.miniCard span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 760;
}

.miniCard small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fuxinUploadPanel {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(280px, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.fuxinFilters {
  display: flex;
  gap: 10px;
  align-items: end;
}

.fuxinFilters input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

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

.fuxinStyleCard {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
}

.fuxinStyleCard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.fuxinStyleCard div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.fuxinStyleCard strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fuxinStyleCard span,
.fuxinStyleCard p {
  color: var(--muted);
  font-size: 12px;
}

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

.insightCard {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--paper);
}

.insightCard div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.insightCard strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.insightCard span,
.insightCard p,
.insightCard em {
  color: var(--muted);
  font-size: 12px;
}

.insightCard em {
  font-style: normal;
  line-height: 1.5;
}

.seedCard {
  align-content: start;
}

.seedCard > img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pendingSourceBox {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.sectionHeader.compact {
  margin-bottom: 0;
}

.insightCard.pending {
  background: #fff;
  border-style: dashed;
}

.aiPanel {
  display: grid;
  align-content: space-between;
  gap: 14px;
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  background: #173d4f;
}

.aiPanel h2,
.aiPanel p,
.aiPanel .eyebrow {
  color: #fff;
}

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

.toolChips span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 760;
}

.workGallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.workGallery article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
}

.workGallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.workGallery strong,
.workGallery span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.workGallery span {
  color: var(--sage);
  font-weight: 760;
}

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

.genderHotSection {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.seasonHotSection {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.seasonHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.seasonGenderGrid {
  display: grid;
  gap: 22px;
}

.genderHotSection.men .sectionHeader h2 {
  color: var(--brand-dark);
}

.genderHotSection.women .sectionHeader h2 {
  color: var(--wine);
}

.styleFamilyCard {
  display: grid;
  grid-template-rows: 300px 152px;
  align-self: start;
  height: 452px;
  min-height: 452px;
}

.styleFamilyCard .thumb {
  display: grid;
  overflow: hidden;
  width: 100%;
  height: 300px;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  place-items: center;
  background: #fff;
}

.styleFamilyCard .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.styleFamilyCard .materialBody {
  display: grid;
  grid-template-rows: 28px 24px 18px 40px;
  gap: 8px;
  height: 152px;
  min-height: 152px;
  padding: 12px;
  overflow: hidden;
}

.styleFamilyCard .materialTop {
  align-items: center;
}

.styleFamilyCard .materialTop strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.styleFamilyCard .colorSwatches {
  overflow: hidden;
  align-content: start;
  max-height: 24px;
}

.styleFamilyCard .productOpen {
  align-self: end;
  min-height: 38px;
}

.cardMeta {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.styleFamilyCard .thumb > img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
  padding: 14px;
}

.colorSwatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.colorSwatches span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(21, 25, 29, 0.18);
  border-radius: 999px;
  background: var(--swatch);
}

.productOpen {
  width: 100%;
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

.productOpen:hover {
  color: #fff;
  background: var(--brand);
}

.productBreadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.productBreadcrumb button {
  min-height: auto;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
}

.productBreadcrumb button:hover {
  color: var(--brand);
  background: transparent;
}

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

.productDetail {
  display: grid;
  grid-template-columns: 92px minmax(460px, 1fr) minmax(420px, 0.92fr);
  gap: 28px;
  align-items: start;
  padding: 20px 0 8px;
}

.productThumbs {
  display: grid;
  gap: 12px;
}

.productThumbs button,
.productColorPicker button {
  display: grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
  background: #f5f5f5;
}

.productThumbs button {
  width: 80px;
  aspect-ratio: 1;
}

.productThumbs button.active,
.productColorPicker button.active {
  border-color: #43b8c7;
  box-shadow: inset 0 0 0 1px #43b8c7;
}

.productThumbs img,
.productColorPicker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.productImageStage {
  display: grid;
  min-height: 640px;
  place-items: center;
  background: #f0f0ef;
}

.productImageStage img {
  width: min(92%, 760px);
  max-height: 620px;
  object-fit: contain;
}

.productInfo {
  display: grid;
  gap: 24px;
  padding-top: 32px;
}

.productTitleRow {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.productTitleRow h1 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.productTitleRow p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.productTitleRow p strong {
  color: var(--brand-dark);
}

.rating {
  flex: 0 0 auto;
  color: #f2993a;
  font-size: 15px;
  font-weight: 780;
}

.rating em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.productColorPicker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.productColorPicker button {
  position: relative;
  width: 76px;
  aspect-ratio: 1;
}

.productColorPicker span {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--swatch);
}

.productPrice {
  display: grid;
  gap: 5px;
}

.productPrice strong {
  color: #0f2034;
  font-size: 30px;
}

.productPrice span,
.productSizeBlock span {
  color: var(--muted);
}

.productSizeBlock {
  display: grid;
  gap: 12px;
}

.productSizeBlock > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.sizeGrid button {
  width: 42px;
  min-height: 42px;
  padding: 0;
}

.sizeGrid button.active {
  border-color: #43b8c7;
  color: var(--ink);
  background: #fff;
}

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

.productActions button {
  border-color: #43b8c7;
  color: #fff;
  background: #43b8c7;
  font-weight: 780;
}

.productActions a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--brand);
  background: var(--paper);
  font-weight: 760;
  text-decoration: none;
}

.deliveryRows {
  display: grid;
  gap: 14px;
}

.deliveryRows div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}

.deliveryRows span {
  justify-self: end;
  color: var(--brand);
  font-weight: 760;
}

.productBottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 36px;
  margin-top: 20px;
}

.productBottom article {
  display: grid;
  align-content: start;
  gap: 18px;
}

.productBottom h2 {
  font-size: 20px;
}

.specRows {
  display: grid;
  gap: 12px;
}

.specRows div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}

.specRows span {
  color: var(--muted);
}

.hotCard,
.materialCard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hotImage,
.thumb {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
}

.hotImage img,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.hotInfo,
.materialBody {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.hotInfo > div,
.materialTop,
.materialFoot {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.suitable {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: var(--gold);
  font-size: 12px;
  font-weight: 760;
}

.suitable.yes {
  background: var(--sage);
}

.batchMeta {
  display: grid;
  grid-template-columns: 1fr 80px 1.4fr 1.4fr;
  gap: 10px;
  margin-bottom: 14px;
}

.batchMeta div {
  display: grid;
  gap: 4px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
}

.batchMeta strong {
  color: var(--brand-dark);
  font-size: 12px;
}

.batchMeta span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.styleLine {
  min-height: 42px;
  color: var(--ink);
  font-weight: 650;
}

.materialFoot span,
.materialFoot a {
  color: var(--brand);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

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

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

.aiCommandBar article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.aiCommandBar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.aiCommandBar strong {
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1;
}

.aiCommandBar em {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.localAiWorkbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 16px;
  align-items: start;
}

.aiCanvasPanel,
.aiControls {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.aiCanvasPanel {
  padding: 14px;
}

.canvasFrame {
  position: relative;
  display: grid;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(45deg, #f3f3f3 25%, transparent 25%),
    linear-gradient(-45deg, #f3f3f3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3f3f3 75%),
    linear-gradient(-45deg, transparent 75%, #f3f3f3 75%);
  background-color: #fff;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.canvasFrame canvas {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

#aiCanvasEmpty {
  position: absolute;
  color: var(--muted);
  font-weight: 760;
}

.aiControls {
  display: grid;
  gap: 14px;
  padding: 14px;
  position: sticky;
  top: 78px;
}

.uploadDrop {
  display: grid;
  gap: 6px;
  border: 1px dashed var(--brand);
  border-radius: 8px;
  padding: 16px;
  color: var(--brand-dark);
  background: var(--paper);
  cursor: pointer;
}

.uploadDrop input {
  display: none;
}

.uploadDrop span {
  color: var(--muted);
  font-size: 12px;
}

.demoLoad {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  font-weight: 780;
}

.controlBlock {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.controlBlock:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.partSwitch,
.strengthSwitch {
  display: grid;
  gap: 6px;
}

.partSwitch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strengthSwitch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partSwitch button,
.strengthSwitch button {
  min-height: 34px;
}

.partSwitch button.active,
.strengthSwitch button.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.toolStatus {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--brand-dark);
  background: #edf6f6;
  font-size: 12px;
  font-weight: 760;
}

.realAiBox {
  display: grid;
  gap: 10px;
}

.realAiBox label {
  display: grid;
  gap: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 760;
}

.realAiBox textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
}

.realAiStatus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  background: var(--wine);
}

.realAiStatus.ready {
  background: var(--sage);
}

.realAiStatus span {
  font-size: 12px;
  font-weight: 760;
}

.aiJobBoard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.modelWorkbench {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

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

.modelCard {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.modelCard div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.modelCard span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: var(--wine);
  font-size: 11px;
  font-weight: 780;
}

.modelCard span.ready {
  background: var(--sage);
}

.modelCard dl {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.modelCard dt {
  color: var(--brand-dark);
  font-weight: 800;
}

.modelCard dd {
  margin: 0;
}

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

.aiJobCard {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.aiJobCard div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aiJobCard span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: var(--wine);
  font-size: 11px;
  font-weight: 780;
}

.aiJobCard span.ready {
  background: var(--sage);
}

.aiJobCard p,
.aiJobCard em {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.aiJobCard em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.paletteBlock {
  display: grid;
  gap: 8px;
}

.paletteBlock strong {
  color: var(--brand-dark);
  font-size: 12px;
}

.colorPresetGrid,
.toolButtonGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.colorPresetGrid button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.colorPresetGrid span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--swatch);
}

.aiModuleMap {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

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

.aiModuleGroup {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
}

.aiModuleGroup h3 {
  color: var(--brand-dark);
}

.aiModuleGroup > div {
  display: grid;
  gap: 8px;
}

.aiModuleItem {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.aiModuleItem div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.aiModuleItem strong {
  font-size: 14px;
}

.aiModuleItem span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 7px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 760;
}

.aiModuleItem p {
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.aiModuleItem em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.aiReferenceLibrary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.referenceStrip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.referenceCard {
  display: grid;
  grid-template-rows: 118px 34px;
  gap: 6px;
  height: 168px;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
}

.referenceCard.active,
.referenceCard:hover {
  border-color: var(--brand);
  color: var(--ink);
  background: #eef7f6;
}

.referenceCard img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.referenceCard span {
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.moduleLaunch {
  min-height: 34px;
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

.moduleLaunch:hover,
.moduleLaunch.active {
  color: #fff;
  background: var(--brand);
}

.aiToolGroup {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.aiToolGroup div {
  display: grid;
  gap: 8px;
}

.twoCol,
.managementGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.panel,
.styleCard,
.taskCard {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.cardList {
  display: grid;
  gap: 12px;
}

.styleCard > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.styleCard span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 760;
}

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

.kanban section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 300px;
  padding: 12px;
  background: var(--paper);
}

.taskCard span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 760;
}

.workflowStrip {
  display: grid;
  gap: 10px;
}

.workflowStrip div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.workflowStrip span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 780;
}

.managerActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .designHero,
  .splitShowcase,
  .twoCol,
  .managementGrid,
  .kanban,
	  .localAiWorkbench,
	  .productDetail,
	  .productBottom,
	  .consultantGroupGrid {
	    grid-template-columns: 1fr;
	  }

  .productThumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .productImageStage {
    min-height: 420px;
  }

  .productInfo {
    padding-top: 0;
  }

  .heroPreview,
  .portalGrid,
  .hotWall,
  .materialGrid,
  .aiToolGrid,
	  .aiModuleGrid,
	  .referenceStrip,
	  .aiJobList,
	  .consultantMiniGrid {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

  .brandStyleGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workGallery,
  .miniWall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding: 10px;
  }

  .heroCopy {
    min-height: auto;
    padding: 22px;
  }

  .productDetail {
    gap: 14px;
  }

  .productImageStage {
    min-height: 300px;
  }

  .productTitleRow,
  .productActions,
  .deliveryRows div,
  .specRows div {
    grid-template-columns: 1fr;
  }

  .productTitleRow {
    display: grid;
  }

  .deliveryRows span {
    justify-self: start;
  }

  .heroPreview,
  .portalGrid,
  .hotWall,
  .materialGrid,
  .aiToolGrid,
  .aiModuleGrid,
  .referenceStrip,
  .aiJobList,
  .miniWall,
  .workGallery,
  .batchMeta {
    grid-template-columns: 1fr;
  }

  .brandFoldCard summary {
    grid-template-columns: 1fr;
  }

  .brandStyleGrid {
    grid-template-columns: 1fr;
  }
}

.loadMoreButton {
  justify-self: center;
  margin: 14px auto 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.galleryNotice {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.brandFoldGrid {
  display: grid;
  gap: 14px;
}

.brandFoldCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.brandFoldCard summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid transparent;
}

.brandFoldCard[open] summary {
  border-bottom-color: var(--line);
}

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

.brandFoldCard summary span {
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brandFoldCard summary small,
.brandFoldMeta span,
.marketSignal {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.brandFoldMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
}

.brandFoldMeta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--paper);
}

.brandStyleGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px 16px;
}

.marketSignal {
  margin: 0;
  line-height: 1.45;
}
