:root {
  --ink: #1d1d1b;
  --logo-navy: #172843;
  --logo-teal: #2bb8bd;
  --logo-teal-dark: #159aa0;
  --muted: #797971;
  --line: #e9e8e1;
  --paper: #f7f6f1;
  --cream: #eeeee6;
  --accent: #263b31;
  --orange: #bd5d32;
  --pool: #67b7d1;
  --sun: #f5cf57;
  --grass: #75b86b;
  --coral: #ed765d;
  --sky: #d8f0f3;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: #fff; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.topbar {
  height: 82px; padding: 0 34px; border-bottom: 1px solid #edf0f2; display: flex;
  align-items: center; justify-content: space-between; background: rgba(255,255,255,.96);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 52px; height: 52px; object-fit: contain; }
.brand-text strong { display: block; color: var(--logo-navy); font-size: 22px; letter-spacing: .04em; line-height: 1; }
.brand-text span { display: block; margin-top: 7px; color: var(--logo-teal); font-size: 10px; letter-spacing: .12em; }
.brand-mark { width: 38px; height: 38px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 12px Georgia; letter-spacing: 1px; }
.brand strong { display: block; font-size: 15px; letter-spacing: .04em; }
.brand span { display: block; font-size: 9px; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }
.brand .brand-text strong { color: var(--logo-navy); font-size: 22px; }
.brand .brand-text span { color: var(--logo-teal); font-size: 10px; }
.top-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 72px); margin-left: auto; margin-right: 42px; }
.top-nav button { border: 0; background: transparent; color: #24334a; padding: 14px 2px; font-size: 16px; letter-spacing: .1em; border-radius: 999px; white-space: nowrap; }
.top-nav button:hover { color: var(--logo-teal-dark); }
.top-actions { display: flex; align-items: center; gap: 20px; }
.save-state { color: #647084; font-size: 12px; }
.save-state i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-teal); margin-right: 7px; }

.ghost-button, .secondary-button { border: 1px solid var(--line); background: #fff; padding: 10px 16px; color: var(--ink); }
.primary-button { border: 0; background: var(--ink); color: white; padding: 12px 19px; font-weight: 600; }
.primary-button.muted:disabled { background: #cac9c3; cursor: not-allowed; }
.text-button { border: 0; background: transparent; padding: 12px 0; color: var(--muted); }

.welcome { min-height: calc(100vh - 82px); display: block; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fbfcfd 64%, #f7f9fa 100%); position: relative; }
.welcome::before { content: ""; position: absolute; width: 36vw; height: 36vw; right: -22vw; top: 8vh; border-radius: 50%; background: rgba(43,184,189,.07); }
.welcome::after { display: none; }
.welcome-copy { padding: 4.6vh 5.6vw 5.8vh; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; text-align: center; }
.home-logo-block { margin-bottom: 26px; text-align: center; background: rgba(255,255,255,.96); padding: 18px 26px; border-radius: 28px; box-shadow: 0 22px 70px rgba(0,0,0,.18); }
.home-logo-block img { display: block; width: min(360px, 72vw); height: auto; margin: 0 auto; object-fit: contain; }
.home-mini-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 34px; color: rgba(255,255,255,.64); font-size: 9px; letter-spacing: .22em; }
.eyebrow { font-size: 9px; letter-spacing: .34em; color: var(--logo-teal); font-weight: 800; }
.welcome h1 { font-family: "Arial Narrow", "PingFang SC", sans-serif; font-size: clamp(42px, 5vw, 76px); line-height: 1.08; font-weight: 500; letter-spacing: -.08em; margin: 18px 0; color: #fff; }
.welcome p { max-width: 520px; line-height: 1.9; color: rgba(255,255,255,.72); font-size: 13px; margin: 0 0 24px; }
.file-button { position: relative; cursor: pointer; }
.file-button input, .icon-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.welcome-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 38px; }
.welcome-actions .primary-button { min-width: 150px; padding: 12px 20px; background: var(--logo-teal); color: #fff; border-radius: 999px; }
.welcome-actions .text-button { color: rgba(255,255,255,.72); }
.home-hero { width: 100%; max-width: 1420px; display: grid; grid-template-columns: minmax(420px, .82fr) minmax(560px, 1.18fr); align-items: center; gap: 58px; margin: 0 auto 46px; text-align: left; }
.home-hero-copy { padding: 18px 0; }
.home-kicker { display: block; margin-bottom: 18px; color: var(--logo-teal-dark); font-size: 12px; letter-spacing: .22em; font-weight: 800; }
.home-hero h1 { margin: 0 0 22px; color: var(--logo-navy); font-size: clamp(48px, 4.8vw, 78px); line-height: 1.16; letter-spacing: -.06em; font-weight: 900; }
.home-hero p { max-width: 600px; color: #667184; font-size: 17px; line-height: 1.9; margin: 0 0 30px; }
.home-hero-actions { display: flex; align-items: center; gap: 24px; margin-bottom: 0; }
.home-hero-actions .primary-button { min-width: 230px; padding: 17px 28px; border-radius: 999px; background: linear-gradient(135deg, var(--logo-teal), var(--logo-teal-dark)); box-shadow: 0 18px 42px rgba(43,184,189,.28); }
.home-hero-actions .text-button { color: var(--logo-navy); font-weight: 800; }
.home-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 620px; }
.home-hero-stats div { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; }
.home-hero-stats strong { color: var(--logo-navy); font-size: 15px; }
.home-hero-stats span { grid-column: 2; color: #7a8494; font-size: 12px; margin-top: 4px; }
.mini-icon { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--logo-navy); position: relative; }
.mini-clock::before { content: ""; position: absolute; left: 15px; top: 7px; width: 2px; height: 10px; background: var(--logo-navy); transform-origin: bottom; transform: rotate(0deg); }
.mini-clock::after { content: ""; position: absolute; left: 15px; top: 16px; width: 9px; height: 2px; background: var(--logo-navy); }
.mini-layer { border: 0; border-radius: 0; }
.mini-layer::before, .mini-layer::after { content: ""; position: absolute; left: 5px; width: 24px; height: 14px; border: 2px solid var(--logo-navy); transform: rotate(-28deg) skew(18deg); }
.mini-layer::before { top: 4px; }
.mini-layer::after { top: 14px; opacity: .65; }
.mini-grid { border-radius: 8px; }
.mini-grid::before { content: ""; position: absolute; inset: 7px; background: var(--logo-teal); box-shadow: 13px 0 0 var(--logo-teal), 0 13px 0 var(--logo-teal), 13px 13px 0 var(--logo-teal); width: 6px; height: 6px; }
.home-hero-visual { min-height: 500px; display: grid; place-items: center; }
.studio-photo { position: relative; width: min(720px, 100%); aspect-ratio: 1.08; border-radius: 30px; overflow: hidden; background: #f4f1ec; box-shadow: 0 28px 80px rgba(23,40,67,.13); }
.studio-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.86) contrast(.98) brightness(1.04); }
.studio-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.42) 23%, rgba(255,255,255,0) 54%); z-index: 1; pointer-events: none; }
.studio-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(23,40,67,.08); border-radius: inherit; z-index: 2; pointer-events: none; }
.studio-line { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.76); z-index: 1; }
.line-one { left: 36%; }
.line-two { left: 58%; }
.studio-mannequin { position: absolute; z-index: 2; width: 86px; height: 210px; bottom: 110px; border-radius: 42% 42% 18% 18%; background: rgba(255,255,255,.72); box-shadow: 0 16px 30px rgba(50,44,32,.08); }
.studio-mannequin::before { content: ""; position: absolute; left: 27px; top: -44px; width: 32px; height: 42px; border-radius: 50% 50% 38% 38%; background: rgba(255,255,255,.82); }
.studio-mannequin::after { content: ""; position: absolute; left: 39px; bottom: -90px; width: 8px; height: 90px; background: rgba(78,68,52,.38); box-shadow: -36px 90px 0 0 rgba(255,255,255,.55), 36px 90px 0 0 rgba(255,255,255,.55); }
.mannequin-one { left: 46%; }
.mannequin-two { right: 17%; transform: scale(.88); background: rgba(255,255,255,.5); }
.studio-table { position: absolute; left: 8%; right: 0; bottom: 50px; height: 70px; background: rgba(255,255,255,.58); z-index: 1; transform: skewX(-14deg); }
.studio-worker { position: absolute; left: 45%; bottom: 68px; width: 88px; height: 80px; background: rgba(245,245,240,.9); border-radius: 42px 42px 8px 8px; z-index: 3; }
.studio-worker::before { content: ""; position: absolute; left: 27px; top: -28px; width: 32px; height: 32px; border-radius: 50%; background: rgba(64,55,47,.72); }
.home-section-title { width: 100%; max-width: 920px; display: grid; gap: 10px; justify-items: center; margin-bottom: 22px; border-top: 0; padding-top: 0; }
.home-section-title strong { font-size: clamp(22px, 2vw, 30px); letter-spacing: .02em; font-weight: 900; color: var(--logo-navy); }
.home-section-title span { color: #667184; font-size: 15px; line-height: 1.7; text-align: center; }
.home-feature-grid { width: 100%; max-width: 1340px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; border: 0; }
.home-feature-card { position: relative; min-height: 218px; border: 1px solid #e8edf0; background: #fff; color: var(--logo-navy); padding: 28px 28px 26px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; overflow: hidden; border-radius: 20px; box-shadow: 0 18px 48px rgba(23,40,67,.07); backdrop-filter: none; }
.home-feature-card:hover { transform: translateY(-4px); border-color: rgba(43,184,189,.42); box-shadow: 0 24px 68px rgba(23,40,67,.12); background: #fff; }
.home-feature-card span { font: 13px "Arial Narrow", sans-serif; color: var(--logo-teal); margin-bottom: 18px; letter-spacing: .22em; }
.home-feature-card strong { font-size: 24px; letter-spacing: .02em; }
.home-feature-card p { margin: 12px 0 20px; font-size: 14px; line-height: 1.7; color: #798394; }
.home-feature-card b { margin-top: auto; font-size: 26px; line-height: 1; color: var(--logo-navy); letter-spacing: 0; }
.home-feature-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.home-feature-card.active-feature { cursor: pointer; color: var(--logo-navy); background: #fff; border-color: rgba(43,184,189,.42); }
.home-feature-card.active-feature::after { display: none; }
.home-trust-strip { margin: 34px auto 0; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 28px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid #edf0f2; box-shadow: 0 14px 36px rgba(23,40,67,.06); color: #7a8494; font-size: 14px; }
.home-trust-strip i { width: 1px; height: 18px; background: #e1e6ea; }
.feature-icon { position: relative; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 15px; border: 1px solid rgba(43,184,189,.34); background: rgba(43,184,189,.08); box-shadow: 0 8px 0 rgba(23,40,67,.05); flex: 0 0 auto; }
.feature-icon::before, .feature-icon::after { content: ""; position: absolute; display: block; }
.icon-detail::before { left: 16px; top: 11px; width: 26px; height: 36px; border: 2px solid var(--logo-teal); border-radius: 3px; background: linear-gradient(180deg, rgba(43,184,189,.22), transparent); }
.icon-detail::after { left: 22px; top: 19px; width: 14px; height: 2px; background: var(--logo-teal); box-shadow: 0 8px 0 var(--logo-teal), 0 16px 0 rgba(43,184,189,.75); }
.icon-main::before { left: 12px; top: 14px; width: 34px; height: 28px; border: 2px solid var(--logo-teal); border-radius: 7px; background: radial-gradient(circle at 70% 28%, var(--logo-teal) 0 4px, transparent 5px); }
.icon-main::after { left: 17px; bottom: 16px; width: 24px; height: 12px; background: linear-gradient(135deg, transparent 47%, var(--logo-teal) 48% 56%, transparent 57%), linear-gradient(45deg, transparent 45%, rgba(43,184,189,.65) 46% 58%, transparent 59%); }
.icon-crop::before { left: 15px; top: 15px; width: 26px; height: 26px; border-left: 3px solid var(--logo-teal); border-bottom: 3px solid var(--logo-teal); }
.icon-crop::after { right: 15px; top: 15px; width: 26px; height: 26px; border-right: 3px solid var(--logo-teal); border-top: 3px solid var(--logo-teal); }
.icon-poster::before { left: 13px; top: 12px; width: 32px; height: 36px; border: 2px solid var(--logo-teal); border-radius: 4px; transform: rotate(-4deg); }
.icon-poster::after { left: 20px; top: 20px; width: 18px; height: 16px; border-radius: 50% 50% 44% 44%; background: var(--logo-teal); box-shadow: 0 18px 0 -7px rgba(43,184,189,.72); }
.empty-workbench-card, .empty-image-state { border: 1px dashed #c9c6ba; background: #fbfaf6; color: var(--muted); padding: 22px; font-size: 13px; line-height: 1.8; text-align: center; }
.empty-image-state { grid-column: 1 / -1; min-height: 220px; display: grid; place-items: center; }
.home-library-strip { width: 100%; max-width: 720px; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 0; border-top: 0; }
.home-library-strip button { border: 0; background: transparent; padding: 4px 0; font-size: 10px; color: rgba(255,255,255,.58); letter-spacing: .18em; }
.home-library-strip button:hover { color: #fff; }
.welcome-art { display: none; }
.welcome-art::before { content: ""; position: absolute; left: 50%; top: 12%; transform: translateX(-50%); width: min(62%, 560px); height: 74%; border: 1px solid #dedbd4; background: linear-gradient(180deg, #f7f6f1 0%, #fff 58%, #f2f1eb 100%); }
.welcome-art::after { display: none; }
.art-card { width: min(42vw, 560px); height: min(70vh, 720px); aspect-ratio: auto; position: absolute; box-shadow: none; border: 0; }
.art-card-back, .art-card-yellow, .art-card-blue { display: none; }
.art-card-main { background: linear-gradient(180deg, #eef0ed 0%, #d7d7cf 48%, #f8f8f5 100%); color: var(--ink); transform: none; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; z-index: 2; }
.art-card-main::before { content: ""; position: absolute; inset: 10% 18% 24%; border: 1px solid rgba(29,29,27,.18); background: rgba(255,255,255,.38); }
.art-card-main span { position: absolute; top: 34px; font-size: 10px; letter-spacing: .36em; opacity: .65; text-transform: uppercase; }
.art-card-main strong { font: 400 clamp(34px,4.2vw,68px)/.92 "Arial Narrow", "PingFang SC", sans-serif; letter-spacing: -.07em; margin: 0 0 28px; text-align: center; }
.art-card-main small { border-top: 1px solid rgba(29,29,27,.32); padding-top: 14px; letter-spacing: .28em; font-size: 10px; color: #66645f; }
.collage-frame, .brush-line { display: none; }
.floating-note { position: absolute; left: 11%; top: 18%; width: 74px; height: 74px; border-radius: 50%; background: white; display: grid; place-items: center; text-align: center; font: italic 18px Georgia; box-shadow: none; z-index: 5; border: 1px solid #dedbd4; }
.floating-note span { font: 8px sans-serif; letter-spacing: .2em; }
.note-two { left: auto; top: auto; right: 10%; bottom: 15%; background: #fff; }

.workspace { height: calc(100vh - 82px); display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: #fbfbf8; }
.sidebar-heading { padding: 24px 18px 18px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-heading span { display: block; font-size: 11px; color: var(--muted); }
.sidebar-heading strong { display: block; margin-top: 4px; font-size: 14px; }
.icon-button { position: relative; width: 32px; height: 32px; border: 1px solid var(--line); background: white; display: grid; place-items: center; cursor: pointer; }
.project-filter { padding: 0 10px 12px; border-bottom: 1px solid var(--line); }
.project-filter input, .project-filter select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 8px 9px; font-size: 11px; }
.project-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.project-filter button { width: 100%; margin-top: 7px; border: 0; background: var(--ink); color: #fff; padding: 9px; font-size: 10px; font-weight: 700; }
.sheet-library-button { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px; font-size: 10px; font-weight: 700; text-align: center; cursor: pointer; box-sizing: border-box; }
.sheet-library-button.loaded { border-color: #21a6a6; color: #21a6a6; }
.project-group { margin: 10px 0 6px; padding: 8px 6px 5px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.project-group strong { color: var(--ink); font-size: 11px; }
.product-list { padding: 0 10px; overflow-y: auto; flex: 1; }
.product-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid transparent; cursor: pointer; margin-bottom: 5px; }
.product-item.active { background: white; border-color: var(--line); box-shadow: 0 5px 20px rgba(0,0,0,.035); }
.product-item.archived { opacity: .68; }
.product-thumb { width: 48px; height: 60px; object-fit: cover; background: var(--cream); }
.product-item strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 115px; }
.product-item span { font-size: 10px; color: var(--muted); }
.product-item small { display: block; margin-top: 3px; color: #9a968d; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.product-actions { display: grid; gap: 5px; justify-items: end; opacity: .42; transition: opacity .15s ease; }
.product-item:hover .product-actions, .product-item.active .product-actions { opacity: 1; }
.product-actions button { border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 9px; padding: 3px 5px; cursor: pointer; }
.product-actions button:hover { border-color: var(--ink); color: var(--ink); }
.product-dot { width: 7px; height: 7px; border-radius: 50%; background: #d09d52; }
.product-dot.approved { background: #598267; }
.archive-divider { margin: 14px 6px 5px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.project-group.archived-group strong { color: var(--muted); }
.sidebar-tip { margin: 14px; padding: 15px; background: #eeeee7; font-size: 10px; color: var(--muted); line-height: 1.6; }
.sidebar-tip span { color: var(--ink); font-weight: 700; }
.sidebar-tip p { margin: 5px 0 0; }

.editor { min-width: 0; display: flex; flex-direction: column; }
.editor-head { min-height: 84px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 24px; }
.breadcrumb { color: var(--muted); font-size: 10px; }
.breadcrumb b { color: var(--ink); }
.title-row { display: flex; align-items: center; gap: 12px; margin-top: 7px; }
.title-input { font: 600 20px Georgia, "Songti SC", serif; border: 0; padding: 0; outline: none; width: 330px; }
.status-pill { padding: 5px 8px; font-size: 9px; border-radius: 20px; background: #fff4dc; color: #906b2f; }
.status-pill.approved { background: #e7f1e9; color: #466952; }
.editor-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.header-upload-button { position: relative; justify-self: center; display: grid; place-items: center; min-width: 190px; height: 44px; padding: 0 28px; border: 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.header-upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.top-review-check { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 11px; cursor: pointer; white-space: nowrap; }
.top-review-check.approved { background: #e7f1e9; border-color: #bed3c3; color: #466952; }
.editor-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(620px, 47vw) minmax(340px, 1fr); }
.control-panel { border-right: 1px solid var(--line); overflow-y: auto; position: relative; padding-bottom: 28px; }
.panel-tabs { height: 54px; display: flex; border-bottom: 1px solid var(--line); padding: 0 18px; position: sticky; top: 0; background: #fff; z-index: 3; }
.tab { flex: 1; border: 0; background: transparent; color: var(--muted); font-size: 12px; border-bottom: 2px solid transparent; }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.tab-content { display: none; padding: 20px; }
.tab-content.active { display: block; }
.section-title { display: flex; justify-content: space-between; align-items: start; margin-bottom: 15px; }
.section-title h3 { font-size: 14px; margin: 0 0 5px; }
.section-title p { margin: 0; font-size: 10px; color: var(--muted); }
.section-title > span { font-size: 10px; color: var(--muted); }
.color-workspace { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.color-workspace-head { display: flex; justify-content: space-between; align-items: flex-start; }
.color-workspace-head strong, .color-workspace-head span { display: block; font-size: 11px; }
.color-workspace-head span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.color-workspace-head button { border: 1px solid var(--line); background: #fff; padding: 6px 9px; font-size: 9px; }
.color-head-actions { display: flex; gap: 5px; }
.color-tabs { display: flex; gap: 6px; margin-top: 13px; overflow-x: auto; padding-bottom: 3px; }
.color-tab { border: 1px solid var(--line); background: #fafaf7; padding: 8px 10px; font-size: 10px; white-space: nowrap; }
.color-tab.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.color-tab b { margin-left: 5px; font-size: 8px; font-weight: 500; opacity: .65; }
.color-tab i { display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: #d19a4d; }
.color-tab i.complete { background: #67a077; }
.reclassify-button { width: 100%; margin-top: 8px; border: 1px dashed #aaa89e; background: #fff; color: #4f4d47; padding: 8px; font-size: 9px; }
.role-picker { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.role-picker button { border: 1px solid var(--line); background: #fff; padding: 6px 8px; font-size: 9px; }
.role-picker button.active { background: #e9e8e1; border-color: #aaa89e; font-weight: 700; }
.color-requirements { margin-top: 11px; padding: 9px 10px; background: #f6f5f0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.color-requirements .ok { color: #4c7958; }
.color-requirements .missing { color: #a04f3b; }
.complete-selection-button { width: 100%; margin-top: 10px; border: 0; background: var(--ink); color: #fff; padding: 10px; font-size: 10px; font-weight: 700; }
.complete-selection-button.done { background: #557861; }
.selection-workbench { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; padding: 18px; }
.demand-panel { min-width: 0; }
.folder-drop-zone {
  margin-bottom: 12px;
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px dashed #bfb9aa;
  background: #fbfaf6;
  color: var(--ink);
  text-align: center;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.folder-drop-zone strong { font-size: 13px; }
.folder-drop-zone span { max-width: 230px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.folder-drop-zone.dragging,
.workspace.folder-dragging .folder-drop-zone {
  border-color: var(--ink);
  background: #efeee7;
  box-shadow: inset 0 0 0 2px rgba(29,29,27,.08);
}
.demand-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.demand-head strong { display: block; font-size: 17px; }
.demand-head span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.demand-head .color-head-actions { display: grid; gap: 6px; }
.demand-head .color-head-actions button { font-size: 12px; padding: 8px 10px; }
.demand-upload-button { position: relative; display: grid; place-items: center; min-width: 112px; height: 38px; padding: 0 16px; border: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.demand-upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.color-tabs.compact { margin-top: 0; gap: 7px; }
.color-tabs.compact .color-tab { padding: 8px 10px; font-size: 12px; }
.demand-sections { display: grid; gap: 12px; margin-top: 12px; }
.demand-card { border: 1px solid var(--line); background: #fbfaf6; padding: 12px; }
.demand-title { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.demand-title strong { font-size: 15px; }
.demand-title span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.all-image-panel { min-width: 0; }
.all-image-panel .section-title h3 { font-size: 17px; }
.all-image-panel .section-title p, .all-image-panel .section-title span { font-size: 12px; }
.image-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hero-picker-panel { margin: -4px 0 16px; padding: 12px; border: 1px solid var(--line); background: #fbfaf6; }
.hero-picker-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.hero-picker-head strong { font-size: 11px; }
.hero-picker-head span { font-size: 9px; color: var(--muted); }
.hero-picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hero-picker-card { border: 1px solid var(--line); background: #fff; padding: 7px; cursor: pointer; }
.hero-picker-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hero-picker-thumb { height: 100px; background: #f1f0eb; display: grid; place-items: center; overflow: hidden; color: #999; font-size: 11px; }
.hero-picker-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-picker-card span { display: block; margin-top: 6px; font-size: 11px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demand-slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.demand-slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.demand-slot { border: 1px solid var(--line); background: #fff; padding: 7px; min-height: 142px; cursor: pointer; }
.demand-slot.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.demand-slot[draggable="true"] { cursor: grab; }
.demand-slot-thumb { height: 116px; background: #f1f0eb; display: grid; place-items: center; overflow: hidden; color: #999; font-size: 11px; }
.demand-slot-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.demand-slot span { display: block; margin-top: 6px; font-size: 11px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demand-slot.model-chip { width: calc(50% - 4px); }
.demand-slot.model-chip .demand-slot-thumb { height: 100px; }
.ai-task-list { display: grid; gap: 8px; }
.ai-task-list div { border: 1px dashed #c6c2b8; background: #fff; padding: 10px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ai-task-list b { font-size: 12px; }
.ai-task-list span { color: var(--muted); font-size: 11px; }
.color-name-editor { margin: -4px 0 16px; padding: 12px; border: 1px solid var(--line); background: #fbfaf6; }
.color-name-editor strong { display: block; margin-bottom: 8px; font-size: 12px; }
.color-name-list { display: grid; gap: 8px; }
.color-name-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; }
.color-name-row span { color: var(--muted); font-size: 11px; }
.color-name-row input { width: 100%; border: 1px solid var(--line); background: #fff; padding: 9px 10px; font-size: 12px; }
.image-card { aspect-ratio: .75; position: relative; cursor: pointer; overflow: hidden; background: var(--cream); border: 2px solid transparent; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card.selected { border-color: var(--ink); }
.image-card.reference-image { outline: 2px solid #7b9b85; outline-offset: -4px; }
.image-card.reference-image::after { content: "产品参考"; position: absolute; right: 5px; top: 28px; padding: 3px 5px; background: #557861; color: #fff; font-size: 7px; letter-spacing: .08em; }
.image-card.generated-image { outline: 2px solid #a8753f; outline-offset: -4px; }
.image-card.generated-image::after { content: "AI生成"; position: absolute; right: 5px; top: 28px; padding: 3px 5px; background: #a8753f; color: #fff; font-size: 7px; letter-spacing: .08em; }
.image-card i { display: none; position: absolute; top: 7px; right: 7px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: white; font-style: normal; font-size: 15px; place-items: center; }
.image-card.selected i { display: grid; }
.image-card small { position: absolute; bottom: 5px; left: 5px; right: 5px; padding: 5px 6px; color: white; font-size: 10px; background: rgba(0,0,0,.42); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.image-card em { position: absolute; left: 7px; top: 7px; max-width: calc(100% - 46px); padding: 5px 7px; background: rgba(255,255,255,.92); color: #222; font-style: normal; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reference-upload-card { margin-top: 18px; border: 1px solid #d8d5c9; background: #fff; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.reference-upload-card strong { font-size: 13px; }
.reference-upload-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.reference-upload-card label { position: relative; display: inline-grid; place-items: center; border: 1px solid var(--ink); background: var(--ink); color: white; padding: 10px 13px; font-size: 11px; cursor: pointer; white-space: nowrap; }
.reference-upload-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ai-generate-card { margin-top: 10px; border: 1px solid #d8d5c9; background: #fbfaf6; padding: 14px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.ai-generate-card strong { font-size: 13px; }
.ai-generate-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.ai-generate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-generate-actions button { border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 9px 10px; font-size: 10px; font-weight: 700; }
.ai-generate-actions button:nth-child(2) { background: #fff; color: var(--ink); border-color: var(--line); }
.ai-generate-actions button:disabled { opacity: .45; cursor: not-allowed; }
.flatlay-card { margin-top: 18px; border: 1px dashed #c9c7bd; padding: 14px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; }
.flatlay-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: white; display: grid; place-items: center; }
.flatlay-card strong { font-size: 11px; }
.flatlay-card p { font-size: 9px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.flatlay-card button { border: 1px solid var(--line); background: white; padding: 7px 10px; font-size: 10px; }
#infoTab label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 17px; }
#infoTab input, #infoTab textarea, #infoTab select { width: 100%; display: block; border: 1px solid var(--line); background: #fafaf7; margin-top: 7px; padding: 11px; outline: none; resize: vertical; color: var(--ink); }
.inline-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.model-library-card { margin: 4px 0 18px; padding: 14px; border: 1px solid #d9d6cc; background: #fbfaf6; }
.model-library-card.standalone { margin: 0; padding: 26px; border: 0; background: #fff; }
.model-library-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.model-library-head strong, .model-library-head span { display: block; font-size: 11px; }
.model-library-head span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.model-library-head button, .model-library-actions button { border: 1px solid var(--line); background: #fff; padding: 8px 10px; font-size: 10px; white-space: nowrap; }
.model-library-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; }
.model-library-actions button:nth-child(2) { background: var(--ink); border-color: var(--ink); color: #fff; }
.model-avatar-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; margin-bottom: 12px; }
.model-avatar-preview { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #ebe8df; color: #99958a; display: grid; place-items: center; font-size: 10px; letter-spacing: .12em; border: 1px solid var(--line); }
.model-avatar-preview.dragging { border-color: var(--ink); background: #dedbd0; color: var(--ink); box-shadow: 0 0 0 4px rgba(32,32,30,.08); }
.model-avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-avatar-fields label { margin-bottom: 8px !important; }
.model-avatar-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 7px; }
.model-avatar-actions button, .model-avatar-upload { position: relative; display: grid !important; place-items: center; min-height: 34px; margin: 0 !important; border: 1px solid var(--line); background: #fff; color: var(--ink) !important; font-size: 10px !important; cursor: pointer; }
.model-avatar-upload input { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.model-library-card label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 17px; }
.model-library-card input, .model-library-card select, .model-library-card textarea { width: 100%; display: block; border: 1px solid var(--line); background: #fafaf7; margin-top: 7px; padding: 11px; outline: none; color: var(--ink); box-sizing: border-box; }
.model-library-card textarea { min-height: 76px; resize: vertical; line-height: 1.6; }
.model-profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: -4px 0 18px; }
.model-detail-panel { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.model-detail-panel .text-button { margin-bottom: 12px; color: var(--ink); font-size: 12px; }
.model-empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed #c8c5bb; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.7; }
.model-profile-card { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); background: #fff; padding: 10px 28px 10px 10px; cursor: pointer; }
.model-profile-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.model-profile-avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #ebe8df; color: #99958a; display: grid; place-items: center; font-size: 8px; }
.model-profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-profile-card strong { font-size: 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-profile-card small { color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-profile-card i { position: absolute; right: 8px; top: 6px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #999; font-style: normal; font-size: 15px; }
.model-profile-card i:hover { background: #eeeae1; color: #111; }
.product-info-library-actions { display: flex; gap: 7px; align-items: flex-start; }
.product-info-library-actions button, .product-info-import-button { position: relative; display: grid; place-items: center; min-height: 34px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0 10px; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.product-info-import-button input { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.product-info-record-grid { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 154px; margin: -4px 0 18px; padding: 12px; border: 1px dashed #c8c5bb; background: #fbfaf6; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.product-info-record-grid.has-tables { min-height: 0; border-style: solid; background: #fff; }
.product-info-record-grid.dragging { border-color: var(--ink); background: #f0eee6; box-shadow: inset 0 0 0 2px rgba(29,29,27,.08); }
.product-info-record-grid .model-empty-state { border: 0; padding: 38px 18px; background: transparent; }
.product-info-empty-state strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 6px; }
.product-info-empty-state span { display: block; color: var(--muted); font-size: 11px; }
.product-info-record-card { position: relative; display: grid; gap: 6px; text-align: left; border: 1px solid var(--line); background: #fff; padding: 12px 30px 12px 12px; cursor: pointer; min-height: 78px; }
.product-info-record-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.product-info-record-card strong { color: var(--ink); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info-record-card span { color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info-record-card small { color: #9a958a; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info-record-card i { position: absolute; right: 8px; top: 6px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #999; font-style: normal; font-size: 15px; }
.product-info-record-card i:hover { background: #eeeae1; color: #111; }
.wash-copy { margin: 28px 0 0; color: #56534c; font-size: 12px; line-height: 1.9; }
.template-first-panel { margin-bottom: 18px; padding: 18px 18px 20px; border: 1px solid var(--line); background: #fbfbf8; }
.template-first-head span { display: inline-grid; place-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #e8f7f7; color: var(--logo-teal-dark); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.template-first-head strong { display: block; margin-top: 13px; color: var(--ink); font-size: 24px; line-height: 1.15; font-weight: 900; letter-spacing: -.03em; }
.template-first-head p { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.template-option { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--ink); padding: 10px; margin-bottom: 10px; cursor: pointer; }
.template-choice-card { min-height: 136px; grid-template-columns: 86px 1fr 34px; gap: 20px; padding: 20px; border-color: var(--line); background: #fff; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.template-choice-card:hover { transform: translateY(-1px); border-color: #9fa3a1; box-shadow: 0 12px 34px rgba(23,40,67,.07); }
.template-choice-card.selected { border: 2px solid var(--ink); box-shadow: 0 14px 38px rgba(23,40,67,.08); }
.template-thumb { width: 55px; height: 70px; background: #e8e6dc; }
.template-choice-card .template-thumb { width: 86px; height: 104px; }
.template-thumb.minimal { background: linear-gradient(#273b31 0 35%,#f3f0e8 35% 58%,#d8d5ca 58% 100%); }
.template-thumb.un-thumb { background: linear-gradient(180deg,#fffaf0 0 32%,#f8f0d2 32% 56%,#fff 56%); position: relative; }
.template-thumb.un-thumb::after { content: "UN"; position: absolute; left: 9px; bottom: 8px; font: 900 18px/1 Arial; color: #d6bb5e; letter-spacing: .08em; }
.template-choice-card .template-thumb.un-thumb::after { left: 16px; bottom: 12px; font-size: 28px; }
.template-option strong, .template-option span { display: block; font-size: 11px; }
.template-option span { color: var(--muted); font-size: 9px; margin-top: 4px; }
.template-choice-card strong { font-size: 20px; }
.template-choice-card span { max-width: 560px; font-size: 13px; line-height: 1.55; }
.template-choice-card small { display: inline-grid; place-items: center; margin-top: 13px; height: 28px; padding: 0 12px; border-radius: 999px; background: #f2f1ec; color: #5d5f5d; font-size: 11px; font-weight: 900; }
.template-choice-card i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 15px; }
.template-option:not(.selected) { border-color: var(--line); }
.template-option:not(.selected) i { opacity: 0; }
.disabled-option { border-color: var(--line); opacity: .55; }
.review-box { display: none; }
.check-row { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check-row input { accent-color: var(--accent); margin-top: 3px; }
.check-row strong, .check-row small { display: block; font-size: 11px; }
.check-row small { margin-top: 3px; color: var(--muted); line-height: 1.5; }

.preview-stage { background: #efeee8; min-width: 0; display: flex; flex-direction: column; }
.preview-toolbar { height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font-size: 10px; color: var(--muted); }
.preview-toolbar button { border: 0; background: transparent; font-size: 16px; }
.preview-toolbar b { display: inline-block; width: 42px; text-align: center; font-size: 10px; }
.preview-scroll { overflow: auto; flex: 1; padding: 15px 24px 80px; }
.preview-stage.blank-preview .preview-scroll { background: #efeee8; }
.preview-stage.blank-preview .preview-toolbar button { visibility: hidden; }
.detail-page { width: 1000px; background: white; margin: 0 auto; transform-origin: top center; box-shadow: 0 12px 50px rgba(37,35,28,.12); overflow: hidden; }
.image-slot { background: #e4e2da; position: relative; overflow: hidden; }
.image-slot > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-slot.pending-generation > img { opacity: .32; filter: saturate(.8); }
.generation-badge { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.56); color: #111; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-align: center; padding: 20px; }
.empty-slot { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .18em; color: #a5a399; }
.detail-hero { height: 1320px; background: #dcd9d0; }
.hero-copy { position: absolute; left: 74px; bottom: 75px; color: white; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-copy span { font-size: 12px; letter-spacing: .3em; }
.hero-copy h2 { margin: 18px 0 10px; font: 400 58px Georgia, "Songti SC", serif; }
.hero-copy p { margin: 0; letter-spacing: .18em; font-size: 11px; }
.section-kicker, .section-heading > span { font-size: 12px; letter-spacing: .28em; color: #77746b; }
.section-heading { text-align: center; margin-bottom: 55px; }
.section-heading h3 { margin: 15px 0 0; font: 400 46px Georgia, "Songti SC", serif; }
.section-heading p { margin: 13px 0 0; font-size: 12px; letter-spacing: .18em; }
.product-info-section { padding: 110px 90px; text-align: center; background: #f4f1e8; }
.product-info-section h3 { margin: 25px 0 55px; font: 400 52px Georgia, "Songti SC", serif; }
.product-meta { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #d8d4c8; border-bottom: 1px solid #d8d4c8; }
.product-meta span { padding: 28px 15px; font-size: 11px; color: #88847b; border-right: 1px solid #d8d4c8; }
.product-meta span:last-child { border: 0; }
.product-meta b { display: block; color: #272621; margin-top: 10px; font-size: 14px; font-weight: 500; }
.wash-section { padding: 85px 70px; text-align: center; background: #fff; }
.wash-icons { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 45px; }
.wash-icons span { border-right: 1px solid #e2e0d8; font-size: 13px; line-height: 1.8; }
.wash-icons span:last-child { border: 0; }
.wash-icons b { color: #87837a; font-size: 11px; font-weight: 400; }
.tryon-info-section { padding: 90px 90px; color: #fff; background: #263b31; }
.section-kicker.light { color: rgba(255,255,255,.55); text-align: center; }
.tryon-profile { display: grid; grid-template-columns: 105px 1.2fr repeat(3,1fr); align-items: center; margin-top: 45px; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.tryon-profile > * { padding: 30px; border-right: 1px solid rgba(255,255,255,.2); text-align: center; font-size: 13px; }
.tryon-profile > *:last-child { border: 0; }
.tryon-profile strong { font: 26px Georgia; letter-spacing: .12em; }
.model-info-photo { width: 88px; height: 88px; margin: 12px auto; border-radius: 50%; background: #f5f5f2; }
.model-info-photo > img { object-fit: cover; object-position: center 12%; }
.styling-section { padding: 110px 45px 45px; }
.styling-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 830px; }
.flatlay-section { padding: 110px 60px; background: #f2f0e8; }
.flatlay-slot { height: 820px; background: #e4e1d7; }
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; height: 390px; margin-top: 8px; }
.size-section { padding: 110px 80px; text-align: center; }
.size-section pre { font-family: inherit; line-height: 2.6; padding: 35px; background: #f6f5f0; white-space: pre-wrap; }
.fit-table { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 14px; border: 1px solid #e2e0d8; }
.fit-table span { padding: 24px 10px; border-right: 1px solid #e2e0d8; color: #817d74; font-size: 11px; line-height: 1.8; }
.fit-table span:last-child { border: 0; }
.fit-table b { color: #282721; font-weight: 500; }
.size-section p { font-size: 10px; color: var(--muted); }
.model-gallery-section { padding: 110px 35px 35px; background: #20201e; color: white; }
.section-heading.inverse > span { color: rgba(255,255,255,.5); }
.model-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model-gallery .image-slot { height: 660px; background: #3a3935; }
.model-gallery .image-slot.gallery-wide { grid-column: 1/-1; height: 1120px; }
.fabric-section { padding: 120px 100px; background: #d8d2c3; }
.fabric-copy { text-align: center; max-width: 720px; margin: auto; }
.fabric-copy strong { font: 400 28px Georgia, "Songti SC", serif; }
.fabric-copy p { margin: 28px 0 0; font-size: 14px; line-height: 2.2; color: #625f57; }
.notice-section { padding: 115px 100px; background: #f7f6f1; }
.notice-section ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9d7cf; }
.notice-section li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 25px 10px; border-bottom: 1px solid #d9d7cf; font-size: 13px; }
.notice-section li span { color: #76736b; }
.detail-footer { background: #20201e; color: white; padding: 80px; text-align: center; }
.detail-footer strong { display: block; font: 24px Georgia; letter-spacing: .1em; }
.detail-footer span { display: block; margin-top: 12px; font-size: 10px; letter-spacing: .16em; opacity: .6; }

/* 正式模板：参考 CM 白底产品画册 */
.formal-template { color: #111; font-family: Arial, "PingFang SC", sans-serif; }
.formal-template .section-kicker,
.formal-template .section-heading { text-align: left; }
.formal-template .section-kicker,
.formal-template .section-heading > span {
  color: #111; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; font-weight: 900;
}
.formal-template .section-heading h3 {
  margin: 5px 0 0; font: 600 16px/1.2 Arial, "PingFang SC", sans-serif;
}
.detail-hero { position: relative; height: 1420px; padding: 30px 36px 60px; background: #fff; overflow: hidden; }
.hero-nav { height: 60px; border: 1px solid #111; display: grid; grid-template-columns: 120px 140px 120px 1fr 230px; align-items: center; padding: 0 32px; font-size: 15px; letter-spacing: .42em; }
.hero-nav b { justify-self: end; font-weight: 600; letter-spacing: .34em; }
.hero-copy { position: relative; z-index: 2; margin: 98px 0 0 6px; color: #222; text-shadow: none; }
.hero-copy h2,
.hero-copy strong,
.hero-copy p { margin: 0; font: 900 55px/.98 Arial, sans-serif; letter-spacing: .24em; text-shadow: 2px 2px 0 rgba(0,0,0,.12); }
.hero-copy strong { display: block; margin-top: 20px; letter-spacing: .22em; text-transform: none; }
.hero-copy p { margin-top: 20px; letter-spacing: .24em; }
.hero-models { position: relative; height: 850px; margin: 28px 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 0 0; }
.hero-models .image-slot { flex: 1 1 0; min-width: 0; height: 850px; background: transparent; border: 0; overflow: hidden; }
.hero-models .image-slot > img { object-fit: contain; object-position: center bottom; filter: none; mix-blend-mode: multiply; }
.hero-models.count-1 .image-slot { max-width: 640px; }
.hero-models.count-2 .image-slot { max-width: 455px; }
.hero-models.count-3 .image-slot { max-width: 330px; }
.hero-models.count-4 .image-slot { max-width: 250px; }
.hero-models.count-5 .image-slot { max-width: 198px; }
.hero-bottom { position: absolute; left: 22px; right: 22px; bottom: 42px; height: 1px; border-bottom: 1px solid #111; display: flex; justify-content: space-between; align-items: flex-end; font-size: 0; letter-spacing: .08em; background: transparent; }
.hero-bottom span, .hero-bottom b { display: none; }
.selling-story-section { padding: 84px 58px 94px; background: #fff; color: #202020; }
.selling-story-section h2 { margin: 0; font: 500 62px/1.02 Arial, "Helvetica Neue", sans-serif; letter-spacing: -.045em; }
.selling-story-section h3 { margin: 4px 0 72px; font: 900 44px/1.05 Arial, "PingFang SC", sans-serif; letter-spacing: -.04em; }
.selling-story-copy { display: grid; gap: 36px; max-width: 870px; margin-top: 0; font-size: 25px; line-height: 1.55; font-weight: 600; letter-spacing: .01em; }
.selling-story-copy p { margin: 0; }
.selling-story-tags { list-style: disc; margin: 70px 0 0 30px; padding: 0; font-size: 26px; line-height: 1.32; font-weight: 600; }
.selling-story-tags li { margin: 3px 0; padding-left: 2px; }
.product-info-section { padding: 90px 52px 105px; text-align: left; background: #fff; }
.product-info-content { display: grid; grid-template-columns: 480px 1fr; gap: 45px; align-items: end; margin-top: 65px; }
.product-swatch { height: 450px; border: 1px solid #d7d7d7; background: #f5f5f5; }
.product-info-content h3 { margin: 0 0 30px; font: 900 30px/1.1 Arial, "PingFang SC", sans-serif; text-transform: uppercase; }
.product-info-lines { display: grid; gap: 13px; }
.product-info-lines p { display: grid; grid-template-columns: 155px 1fr; gap: 18px; align-items: baseline; margin: 0; font-size: 15px; }
.product-info-lines span { color: #555; font-size: 13px; letter-spacing: .05em; }
.product-info-lines b { font-weight: 700; color: #111; font-size: 15px; }
.product-meta { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; }
.product-meta span { padding: 22px 10px; border-color: #bbb; text-align: center; color: #111; font-size: 11px; }
.product-meta b { font-size: 12px; }
.product-info-section .fabric-section { margin-top: 76px; padding: 54px 0 0; border-top: 1px solid #aaa; }
.product-info-section .fabric-copy { grid-template-columns: 250px 1fr; gap: 50px; margin-top: 38px; align-items: start; }
.product-info-section .fabric-copy strong { font-size: 24px; line-height: 1.25; }
.product-info-section .fabric-copy p { font-size: 18px; line-height: 2.05; font-weight: 500; color: #333; max-width: 620px; }
.wash-inline { margin-top: 82px; padding-top: 48px; border-top: 1px solid #aaa; }
.wash-section { padding: 50px 52px 110px; text-align: left; background: #fff; }
.wash-icons { margin-top: 35px; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; }
.wash-copy { font-size: 14px; }
.wash-icons span { padding: 22px 8px; text-align: center; border-color: #bbb; font-size: 15px; }
.wash-icons b { font-size: 13px; }
.tryon-info-section { padding: 50px 52px 105px; color: #111; background: #fff; }
.section-kicker.light { color: #111; text-align: left; }
.tryon-profiles { margin: 45px 0 0 0; display: flex; gap: 90px; align-items: center; }
.tryon-profile { width: 390px; display: grid; grid-template-columns: 118px 1fr; gap: 32px; align-items: center; color: #666; border: 0; }
.tryon-profile > * { padding: 0; border: 0; text-align: left; font-size: 24px; }
.tryon-profile > *:last-child { border: 0; }
.tryon-profile .model-info-photo { width: 118px; height: 118px; margin: 0; border-radius: 0; background: #f5f5f2; }
.tryon-profile .model-info-photo > img { object-fit: cover; object-position: center 7%; }
.model-info-copy { display: grid; gap: 13px; }
.model-info-copy strong { font: 500 24px/1 Arial, sans-serif; color: #666; letter-spacing: .02em; }
.model-info-copy span { font-size: 22px; line-height: 1; font-weight: 600; color: #666; }
.styling-section { padding: 50px 52px 130px; background: #fff; position: relative; overflow: visible; }
.styling-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 55px; height: auto; align-items: start; }
.formal-template .styling-section { height: auto !important; min-height: 0; display: flow-root; }
.formal-template .styling-grid { height: auto !important; min-height: 0; grid-auto-rows: auto; overflow: visible; }
.formal-template .styling-grid::after { content: ""; display: block; clear: both; }
.styling-grid .image-slot { border: 1px solid #aaa; background: #fff; }
.styling-grid .image-slot > img { object-fit: contain; object-position: center center; }
.styling-color-title { display: none; }
.styling-card { height: 820px; }
.flatlay-section { padding: 50px 52px 105px; background: #fff; position: relative; clear: both; overflow: visible; }
.formal-template .flatlay-section { display: flow-root; height: auto !important; min-height: 0; }
.flatlay-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 100px; margin: 70px 105px 44px; }
.flatlay-matrix > div { min-width: 0; }
.flatlay-matrix .image-slot { aspect-ratio: 1 / 1; height: auto; background: #fff; }
.flatlay-matrix .image-slot > img { object-fit: contain; }
.flatlay-color-caption { margin: 8px 0 0; text-align: center; font-size: 13px; color: #555; letter-spacing: .08em; }
.detail-selling-summary { margin: 24px 40px 52px; padding: 28px 36px; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; font-size: 24px; line-height: 1.75; letter-spacing: .03em; color: #111; text-align: center; }
.detail-selling-summary p { margin: 8px 0; }
.detail-feature-list { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 250px); gap: 14px; max-width: 760px; margin: 0 auto; }
.detail-feature:nth-child(1) { grid-column: 2; grid-row: 1; }
.detail-feature:nth-child(2) { grid-column: 1; grid-row: 2; }
.detail-feature:nth-child(3) { grid-column: 3; grid-row: 2; }
.detail-feature:nth-child(4) { grid-column: 2; grid-row: 3; }
.detail-feature .image-slot { width: 100%; height: 100%; background: #fff; }
.detail-feature .image-slot > img { object-fit: cover; }
.detail-feature:not(.has-image) { display: block; }
.size-section { padding: 50px 52px 130px; text-align: left; background: #fff; }
.size-section pre { display: none; }
.size-table-wrap, .fit-table-wrap { margin-top: 55px; }
.fit-table-wrap { margin-top: 45px; }
.size-table-wrap table { width: 100%; border-collapse: collapse; text-align: center; font-size: 16px; }
.fit-table-wrap table { width: 100%; border-collapse: collapse; text-align: center; font-size: 15px; }
.size-table-wrap th, .size-table-wrap td,
.fit-table-wrap th, .fit-table-wrap td { border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; padding: 17px 10px; font-weight: 400; }
.size-table-wrap th { font-weight: 800; background: #fafafa; font-size: 16px; }
.fit-table-wrap th { font-weight: 800; background: #fafafa; font-size: 15px; }
.size-section > p { text-align: left; margin-top: 18px; }
.un-size-note,
.un-size-subheading { display: none; }
.model-gallery-section { padding: 55px 0 0; background: #fff; color: #111; }
.model-gallery-section .section-heading { padding: 0 52px; margin-bottom: 70px; }
.section-heading.inverse > span { color: #111; }
.model-gallery { display: block; }
.gallery-color-title, .gallery-more { display: none; }
.model-gallery .image-slot,
.model-gallery .image-slot.gallery-wide { width: 1000px; margin-left: 0; margin-right: 0; height: 1260px; background: #fff; overflow: hidden; }
.model-gallery .image-slot > img { object-fit: cover; }
.fabric-section { padding: 110px 100px; background: #fff; border-top: 1px solid #bbb; }
.fabric-copy { max-width: none; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; text-align: left; margin-top: 60px; }
.fabric-copy strong { font: 900 20px Arial, "PingFang SC", sans-serif; }
.fabric-copy p { margin: 0; font-size: 12px; line-height: 2.2; color: #444; }
.notice-section { padding: 70px 100px 120px; background: #fff; border-top: 2px solid #111; border-bottom: 2px solid #111; }
.notice-section ol { margin-top: 55px; border-top: 0; }
.notice-section li { grid-template-columns: 130px 1fr; padding: 18px 0; border: 0; font-size: 12px; }
.detail-footer { background: #fff; color: #111; padding: 35px 100px 80px; text-align: left; }
.detail-footer strong { font: 900 20px Arial; }
.detail-footer span { color: #111; opacity: 1; }

.detail-page.un-template .hero-nav { border-color: #e5d7a2; color: #313131; }
.detail-page.un-template .hero-nav b { color: #c6a842; letter-spacing: .5em; }
.detail-page.un-template .hero-copy h2,
.detail-page.un-template .hero-copy strong,
.detail-page.un-template .hero-copy p { text-shadow: none; letter-spacing: .18em; }
.detail-page.un-template .hero-copy strong { color: #d2b24a; }
.detail-page.un-template .hero-models .image-slot > img { mix-blend-mode: normal; }
.detail-page.un-template .selling-story-section h2 { color: #c6a842; }
.detail-page.un-template .product-info-section .fabric-section,
.detail-page.un-template .wash-inline,
.detail-page.un-template .notice-section { border-color: #e2d7ad; }
.detail-page.un-template .flatlay-color-caption,
.detail-page.un-template .detail-footer strong { color: #c6a842; }

.un-product-info { display: none; }
.un-service-guide-note { display: none; }

.detail-page.un-template {
  display: flex;
  flex-direction: column;
}
.detail-page.un-template .detail-hero { order: 1; }
.detail-page.un-template .selling-story-section { order: 2; }
.detail-page.un-template .product-info-section { order: 3; }
.detail-page.un-template .styling-section { order: 4; }
.detail-page.un-template .flatlay-section { order: 5; }
.detail-page.un-template .size-section { order: 6; }
.detail-page.un-template .tryon-info-section { order: 7; }
.detail-page.un-template .model-gallery-section { order: 8; }
.detail-page.un-template .notice-section { order: 9; }
.detail-page.un-template .detail-footer { order: 10; }
.detail-page.un-template .detail-footer { display: none; }

.detail-page.un-template .selling-story-section {
  padding: 72px 86px 78px;
  background: #fff;
}
.detail-page.un-template .selling-story-section h2 {
  display: none;
}
.detail-page.un-template .selling-story-section h3 {
  margin: 0 0 54px;
  color: #111;
  font: 900 40px/1.08 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.04em;
}
.detail-page.un-template .selling-story-copy {
  display: none;
  max-width: 660px;
  margin: 0;
  color: #111;
  font: 800 25px/1.65 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .selling-story-tags {
  display: block;
  list-style: disc;
  margin: 0 0 0 28px;
  padding: 0;
  color: #111;
  font: 800 26px/1.55 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .selling-story-tags li {
  margin: 4px 0;
  padding-left: 2px;
}

.detail-page.un-template .detail-hero {
  height: 1420px;
  padding: 0;
  background: #fff;
}
.detail-page.un-template .hero-nav {
  height: 168px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #333;
}
.detail-page.un-template .hero-nav b.unretro-word {
  color: #333;
  font: 800 34px/1 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: .22em;
  text-transform: lowercase;
  justify-self: auto;
}
.detail-page.un-template .hero-copy,
.detail-page.un-template .hero-bottom {
  display: none;
}
.detail-page.un-template .hero-models.un-hero-image {
  height: 1252px;
  margin: 0;
  padding: 0;
  display: block;
}
.detail-page.un-template .hero-models.un-hero-image .image-slot {
  width: 100%;
  max-width: none;
  height: 1252px;
  border: 0;
  background: #fff;
}
.detail-page.un-template .hero-models.un-hero-image .image-slot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  mix-blend-mode: normal;
}
.detail-page.un-template .product-info-section {
  padding: 72px 86px 78px;
  background: #fff;
  text-align: left;
}
.detail-page.un-template .product-info-section > .section-kicker {
  padding-bottom: 30px;
  border-bottom: 2px solid #111;
  font: 900 28px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .product-info-content,
.detail-page.un-template .product-info-section > .fabric-section,
.detail-page.un-template .product-info-section > .wash-inline {
  display: none;
}
.detail-page.un-template .un-product-info {
  display: block;
  padding-top: 86px;
  min-height: 0;
}
.detail-page.un-template .un-info-group {
  margin: 0 0 72px;
}
.detail-page.un-template .un-info-group strong {
  display: block;
  margin-bottom: 20px;
  font: 900 30px/1 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .un-info-group strong em {
  margin-left: 10px;
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.04em;
}
.detail-page.un-template .un-info-group p {
  margin: 0 0 14px;
  max-width: 850px;
  font: 400 23px/1.58 Arial, "PingFang SC", sans-serif;
  color: #111;
  letter-spacing: -.02em;
}
.detail-page.un-template .un-product-details {
  margin-bottom: 90px;
}
.detail-page.un-template .un-product-details strong {
  margin-bottom: 58px;
}
.detail-page.un-template .un-product-details p {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.4;
}
.detail-page.un-template .un-color-flatlays {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 28px;
  min-height: 190px;
}
.detail-page.un-template .un-color-flatlay {
  width: 170px;
  text-align: center;
}
.detail-page.un-template .un-color-flatlay .image-slot {
  width: 170px;
  height: 170px;
  border: 0;
  background: #fff;
}
.detail-page.un-template .un-color-flatlay .image-slot > img {
  object-fit: contain;
  object-position: center center;
}
.detail-page.un-template .un-color-flatlay span {
  display: block;
  margin-top: 10px;
  color: #666;
  font-size: 13px;
  letter-spacing: .08em;
}
.detail-page.un-template .size-section {
  padding: 72px 86px 86px;
  background: #fff;
  text-align: left;
}
.detail-page.un-template .size-section .section-heading {
  margin: 0 0 50px;
  text-align: left;
}
.detail-page.un-template .size-section .section-heading h3 {
  margin: 0;
  font: 900 34px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.04em;
}
.detail-page.un-template .size-section .section-heading h3 em {
  margin-left: 10px;
  font-style: normal;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -.03em;
}
.detail-page.un-template .size-table-wrap,
.detail-page.un-template .fit-table-wrap {
  margin-top: 0;
}
.detail-page.un-template .size-table-wrap table,
.detail-page.un-template .fit-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  font: 400 25px/1.35 Arial, "PingFang SC", sans-serif;
  color: #222;
}
.detail-page.un-template .size-table-wrap th,
.detail-page.un-template .size-table-wrap td,
.detail-page.un-template .fit-table-wrap th,
.detail-page.un-template .fit-table-wrap td {
  border: 0;
  padding: 15px 12px;
  font-weight: 400;
  background: transparent;
}
.detail-page.un-template .size-table-wrap thead th,
.detail-page.un-template .fit-table-wrap thead th {
  border-bottom: 2px solid #111;
}
.detail-page.un-template .size-table-wrap tbody tr:first-child td,
.detail-page.un-template .fit-table-wrap tbody tr:first-child td {
  padding-top: 24px;
}
.detail-page.un-template .un-size-note,
.detail-page.un-template .size-section-note {
  display: block;
  margin: 26px 0 0;
  color: #9b9b9b;
  font: 400 18px/1.5 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
  text-align: left;
}
.detail-page.un-template .un-size-subheading {
  display: block;
  margin: 78px 0 38px;
}
.detail-page.un-template .un-size-subheading strong {
  font: 900 34px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.04em;
}
.detail-page.un-template .un-size-subheading span {
  margin-left: 10px;
  font: 400 25px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.03em;
}

.detail-page.un-template .styling-section {
  padding: 72px 50px 78px;
  background: #fff;
}
.detail-page.un-template .styling-section .section-heading {
  margin: 0 0 44px;
  padding: 0;
}
.detail-page.un-template .styling-section .section-heading span,
.detail-page.un-template .styling-section .section-heading h3 {
  display: none;
}
.detail-page.un-template .styling-grid {
  display: block;
  margin: 0;
}
.detail-page.un-template .styling-grid::after {
  display: none;
}
.un-look-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: #aaa;
  border: 1px dashed #ddd;
  font: 700 18px/1.6 Arial, "PingFang SC", sans-serif;
}
.un-look-block {
  min-height: 850px;
  padding: 0 0 52px;
  page-break-inside: avoid;
}
.un-look-block + .un-look-block {
  padding-top: 52px;
  border-top: 1px solid #ededed;
}
.un-look-heading {
  margin: 0 0 30px;
}
.un-look-heading strong {
  display: block;
  color: #111;
  font: 900 45px/1 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: .03em;
}
.un-look-heading i {
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 24px;
  background: #111;
}
.un-look-layout {
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: 34px;
  align-items: center;
}
.detail-page.un-template .un-look-model {
  height: 740px;
  border: 0;
  background: #fff;
}
.detail-page.un-template .un-look-model > img {
  object-fit: cover;
  object-position: center top;
}
.un-look-products {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.un-look-products.count-0 {
  display: none;
}
.un-look-products.count-1 {
  justify-content: center;
}
.un-look-products.count-2 {
  justify-content: center;
}
.un-look-products.count-3 {
  justify-content: space-between;
}
.un-look-products.count-4 {
  justify-content: space-between;
  gap: 22px;
}
.un-look-product-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 22px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #e3e3e3;
}
.un-look-product-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.un-look-products.count-4 .un-look-product-card {
  gap: 24px;
  padding-bottom: 22px;
}
.detail-page.un-template .un-look-product-image {
  aspect-ratio: 3 / 4;
  height: auto;
  border: 0;
  border-radius: 4px;
  background: #f7f7f7;
  padding: 8%;
  box-sizing: border-box;
}
.un-look-product-card.pending-ai .un-look-product-image {
  background: #f6f6f6;
}
.un-look-product-card.pending-ai .un-look-product-image .empty-slot {
  color: #aaa;
  font-size: 13px;
  letter-spacing: .08em;
}
.detail-page.un-template .un-look-products.count-4 .un-look-product-image {
  height: auto;
}
.detail-page.un-template .un-look-product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.un-look-product-copy {
  min-width: 0;
}
.un-look-product-copy span {
  display: block;
  color: #333;
  font: 500 17px/1.2 Arial, "PingFang SC", sans-serif;
}
.un-look-product-copy strong {
  display: block;
  margin-top: 18px;
  color: #111;
  font: 900 21px/1.35 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.03em;
}
.un-look-product-copy button {
  margin-top: 34px;
  width: 170px;
  height: 50px;
  border: 1px solid #999;
  background: #fff;
  color: #111;
  font: 900 15px/1 Arial, "PingFang SC", sans-serif;
}
.un-look-product-copy button b {
  margin-left: 28px;
  font-size: 24px;
  line-height: 0;
}
.un-look-products.count-4 .un-look-product-copy strong {
  margin-top: 16px;
  font-size: 19px;
}
.un-look-products.count-4 .un-look-product-copy button {
  margin-top: 24px;
  height: 46px;
}

.detail-page.un-template .flatlay-section {
  padding: 72px 86px 86px;
}
.detail-page.un-template .flatlay-section .section-heading {
  margin: 0 0 50px;
}
.detail-page.un-template .flatlay-matrix {
  display: none;
  margin: 0;
}
.detail-page.un-template .detail-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 392px);
  gap: 16px;
  max-width: none;
  margin: 0;
}
.detail-page.un-template .detail-feature {
  grid-column: auto;
  grid-row: auto;
}
.detail-page.un-template .detail-feature .image-slot {
  border: 0;
  background: #f3f3f3;
}
.detail-page.un-template .detail-feature .image-slot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-page.un-template .draggable-detail-slot {
  cursor: grab;
  touch-action: none;
}
.detail-page.un-template .dragging-detail-slot {
  cursor: grabbing;
}

.detail-page.un-template .tryon-info-section {
  padding: 72px 86px 82px;
  color: #111;
  background: #fff;
  text-align: center;
}
.detail-page.un-template .tryon-info-section .section-kicker {
  display: block;
  color: #111;
  text-align: center;
  font: 900 23px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.03em;
}
.detail-page.un-template .tryon-profiles {
  width: 100%;
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 74px;
}
.detail-page.un-template .tryon-profile {
  width: 330px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 24px;
  color: #111;
  text-align: center;
}
.detail-page.un-template .tryon-profile > * {
  text-align: center;
}
.detail-page.un-template .tryon-profile .model-info-photo {
  width: 156px;
  height: 156px;
  margin: 0;
  border-radius: 50%;
  background: #f3f3f3;
}
.detail-page.un-template .tryon-profile .model-info-photo > img {
  object-fit: cover;
  object-position: center center;
}
.detail-page.un-template .model-info-copy {
  justify-items: center;
  gap: 12px;
}
.detail-page.un-template .model-info-copy strong {
  color: #111;
  font: 900 24px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .model-info-copy span {
  color: #555;
  font: 600 19px/1.2 Arial, "PingFang SC", sans-serif;
}

.detail-page.un-template .model-gallery-section {
  padding: 72px 0 0;
  background: #fff;
  color: #111;
}
.detail-page.un-template .model-gallery-section .section-heading {
  padding: 0 86px;
  margin-bottom: 48px;
}
.detail-page.un-template .model-gallery .image-slot,
.detail-page.un-template .model-gallery .image-slot.gallery-wide {
  width: 1000px;
  height: 1180px;
  margin: 0;
  background: #f7f7f7;
  border: 0;
  overflow: hidden;
}
.detail-page.un-template .model-gallery .image-slot + .image-slot {
  margin-top: 24px;
}
.detail-page.un-template .model-gallery .image-slot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.detail-page.un-template .notice-section {
  padding: 72px 86px 96px;
  background: #fff;
  border: 0;
}
.detail-page.un-template .notice-section .section-heading {
  margin: 0 0 50px;
  text-align: left;
}
.detail-page.un-template .notice-section .section-heading span {
  display: block;
  color: #111;
  font: 900 23px/1.1 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.03em;
}
.detail-page.un-template .notice-section .section-heading h3 {
  margin: 6px 0 0;
  color: #111;
  font: 900 22px/1.1 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: -.03em;
}
.detail-page.un-template .notice-section ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.detail-page.un-template .notice-section li {
  display: flex;
  min-height: 230px;
  padding: 42px 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #f3f3f3;
  border: 0;
  text-align: center;
}
.detail-page.un-template .notice-section li b {
  margin: 0 0 28px;
  color: #111;
  font: 900 24px/1.2 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.03em;
}
.detail-page.un-template .notice-section li span {
  max-width: 390px;
  color: #111;
  font: 600 17px/1.55 Arial, "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
.detail-page.un-template .un-service-guide-note {
  display: block;
  margin: 48px 0 0;
  color: #9a9a9a;
  font: 600 17px/1.7 Arial, "PingFang SC", sans-serif;
  letter-spacing: .02em;
}

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(24,24,22,.9); overflow: hidden; }
.modal-close { position: fixed; right: 25px; top: 18px; border: 0; color: white; background: transparent; font-size: 35px; z-index: 2; }
.modal-scroll { height: 100%; overflow: auto; padding: 35px; }
.modal-scroll .detail-page { transform: none !important; }
.library-modal { position: fixed; inset: 0; z-index: 60; background: rgba(24,24,22,.55); display: grid; place-items: center; padding: 24px; }
.library-dialog { width: min(620px, 94vw); max-height: 90vh; overflow: auto; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.22); position: relative; }
.library-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; color: #111; font-size: 28px; z-index: 2; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #20201e; color: white; padding: 12px 18px; font-size: 12px; z-index: 80; box-shadow: 0 12px 30px rgba(0,0,0,.2); }

@media (max-width: 1050px) {
  .topbar { padding: 0 20px; }
  .top-nav { gap: 24px; margin-right: 18px; }
  .home-hero { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .home-hero-copy { padding-top: 10px; }
  .home-hero p { margin-left: auto; margin-right: auto; }
  .home-hero-actions { justify-content: center; }
  .home-hero-stats { margin-left: auto; margin-right: auto; }
  .home-hero-visual { min-height: 420px; }
  .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace { grid-template-columns: 210px minmax(0,1fr); }
  .editor-grid { grid-template-columns: minmax(520px, 1.15fr) minmax(300px, .85fr); }
  .selection-workbench { grid-template-columns: 270px minmax(0,1fr); gap: 12px; padding: 14px; }
  .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-scroll { padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 761px) and (max-width: 1440px) {
  .workspace {
    height: auto;
    min-height: calc(100vh - 82px);
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .sidebar {
    position: sticky;
    top: 82px;
    height: calc(100vh - 82px);
  }
  .editor { min-height: calc(100vh - 82px); }
  .editor-head {
    position: sticky;
    top: 82px;
    z-index: 8;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
  }
  .editor-grid {
    display: block;
    min-height: 0;
  }
  .control-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .selection-workbench {
    grid-template-columns: minmax(250px, 330px) minmax(360px, 1fr);
  }
  .image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .preview-stage {
    min-height: calc(100vh - 118px);
    border-top: 1px solid var(--line);
  }
  .preview-toolbar {
    position: sticky;
    top: 166px;
    z-index: 6;
    background: rgba(239,238,232,.96);
    backdrop-filter: blur(10px);
  }
  .preview-scroll {
    min-height: calc(100vh - 166px);
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 760px) {
  .topbar { height: auto; min-height: 76px; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .brand-logo { width: 46px; height: 46px; }
  .top-nav { order: 3; width: 100%; justify-content: space-between; margin: 0; gap: 10px; }
  .top-nav button { font-size: 13px; letter-spacing: .04em; }
  .welcome { grid-template-columns: 1fr; min-height: auto; }
  .welcome-copy { padding: 30px 18px 54px; }
  .home-hero { grid-template-columns: 1fr; margin-bottom: 38px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero p { font-size: 15px; }
  .home-hero-actions { flex-direction: column; gap: 10px; margin-bottom: 34px; }
  .home-hero-stats { grid-template-columns: 1fr; max-width: 300px; }
  .home-hero-visual { min-height: 300px; }
  .studio-photo { border-radius: 24px; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-trust-strip { width: 100%; border-radius: 20px; flex-direction: column; gap: 10px; }
  .home-trust-strip i { width: 60%; height: 1px; }
  .welcome-art { display: none; }
  .workspace { display: block; height: auto; }
  .sidebar { display: none; }
  .editor-grid { display: block; }
  .preview-stage { min-height: 700px; }
  .editor-head { align-items: flex-start; gap: 15px; flex-direction: column; }
}
