/* 확장 상품 — flow-panel 스타일 명함 workspace */
.extension-workspace {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}
.extension-workspace.hidden {
  display: none;
}
.extension-workspace-price {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  color: var(--accent);
}

/* flow-panel 확장 모달 */
#extensionFlowBackdrop.open {
  z-index: 44;
}
#extensionFlowPanel.extension-flow-panel {
  z-index: 45;
}
#extensionFlowPanel.extension-flow-panel:not(.open) {
  display: none;
}
#extensionFlowPanel.extension-flow-panel.open {
  display: grid;
}
#extensionFlowPanel.extension-flow-panel:not(.extension-flow-panel--business-card) {
  grid-template-columns: minmax(0, 1fr);
}
#extensionFlowPanel.extension-flow-panel:not(.extension-flow-panel--business-card) .extension-workspace {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: none;
  background: transparent;
  overflow: auto;
  max-height: 100%;
}

/* 명함: flow-panel 2단 — 명시적 그리드 (display:contents 레이아웃 깨짐 방지) */
.extension-workspace.extension-workspace--business-card {
  display: block;
  grid-column: 1 / -1;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}
#extensionFlowPanel.extension-flow-panel.open.extension-flow-panel--business-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  height: min(880px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  overflow: clip;
}
@media (min-width: 761px) {
  #extensionFlowPanel.extension-flow-panel.open.extension-flow-panel--business-card {
    position: fixed;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: min(1280px, calc(100vw - 40px));
    height: min(880px, calc(100vh - 40px));
    max-height: calc(100vh - 40px);
    transform: translate(-50%, -50%);
    display: grid;
    overflow: clip;
    box-sizing: border-box;
  }
}
.extension-workspace--business-card > #extensionWorkspaceTitle,
.extension-workspace--business-card > .extension-workspace-price,
.extension-workspace--business-card > .extension-parent-summary,
.extension-workspace--business-card > .extension-placeholder {
  display: none !important;
}
.extension-workspace--business-card #extensionFormHost {
  display: block;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}
#extensionFlowPanel.extension-flow-panel.open.extension-flow-panel--business-card #extensionFormHost,
#extensionFlowPanel.extension-flow-panel.open.extension-flow-panel--business-card .bc-workspace {
  height: 100% !important;
  min-height: 0 !important;
}

.extension-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.bc-extension-steps {
  margin: 0 0 18px;
}
.extension-step {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  background: #f3f4f6;
}
.extension-step.active {
  color: #fff;
  background: var(--accent, #1f6b4f);
}
.extension-parent-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #faf8f5;
  border: 1px solid var(--line);
}
.extension-parent-summary img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.extension-parent-summary b {
  display: block;
  font-size: 16px;
}
.extension-parent-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}
.extension-placeholder {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}
.extension-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.extension-actions .extension-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.extension-actions .extension-card.locked {
  opacity: 0.55;
  cursor: pointer;
}
.extension-actions .extension-card.has-open {
  border-color: #c9a227;
  background: linear-gradient(180deg, #fffdf5 0%, #fff8e8 100%);
}
.extension-actions .extension-card .ext-open-badge {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a5b00;
  font-size: 11px;
  font-weight: 800;
}
.extension-price-modal .price-highlight {
  margin: 12px 0;
  font-size: 22px;
  font-weight: 900;
}
.extension-price-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.extension-price-modal .modal-actions button {
  flex: 1;
}

.bc-form { margin-top: 14px; display: grid; gap: 18px; }
.bc-section {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  margin-bottom: 18px;
}
.bc-section-head h4 { margin: 0; font-size: 18px; }
.bc-section-head.option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}
.bc-section-head.option-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}
.bc-pill-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.bc-pill-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bc-pill {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bc-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bc-pill.active { border-color: #cda889; background: #fff8f1; }
.bc-pill-title { display: block; font-weight: 850; font-size: 14px; }
.bc-pill-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.bc-field-list { display: grid; gap: 8px; margin-top: 12px; }
.bc-field-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  opacity: 0.72;
  transition: opacity .15s, border-color .15s;
}
.bc-field-card.on { opacity: 1; border-color: #e8d4c4; }
.bc-field-card.recommended.on {
  border-color: #d4b8a0;
  background: #fffdf9;
}
.bc-field-card.needs-input {
  border-color: #c9a882;
  box-shadow: 0 0 0 1px rgba(201, 168, 130, 0.35);
}
.bc-field-rec-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: #9a644c;
  color: #fff;
}
.bc-field-qr-hint {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #7d5a46;
}
.bc-fields-alert {
  font-size: 12px;
  font-weight: 900;
  color: #9a644c;
}
.bc-more-fields-btn {
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}
.bc-field-list-extra {
  margin-top: 10px;
}
.bc-qr-section {
  border: 1px solid #e2d6c8;
  border-radius: 10px;
  background: #fffaf5;
  padding: 15px !important;
}
.bc-qr-pill-row {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.bc-field-head-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.bc-field-qr-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.bc-qr-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #7d5a46;
  cursor: pointer;
  white-space: nowrap;
}
.bc-qr-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent, #1f6b4f);
}
.bc-qr-preview-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.bc-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bc-qr-modal.hidden { display: none; }
.bc-qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.45);
}
.bc-qr-modal-panel {
  position: relative;
  width: min(320px, 100%);
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8d4c4;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.bc-qr-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0e6dc;
}
.bc-qr-modal-head h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}
.bc-qr-modal-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #8a6a58;
}
.bc-qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 20px;
  text-align: center;
}
.bc-qr-preview-link {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #6b5244;
  word-break: break-all;
}
.bc-qr-test-link {
  font-size: 12px;
  font-weight: 800;
}
.bc-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bc-field-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 800; font-size: 14px; }
.bc-field-toggle input { width: 16px; height: 16px; accent-color: var(--accent, #1f6b4f); }
.bc-field-icon { font-size: 16px; line-height: 1; }
.bc-field-side-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: #eef7f2;
  color: var(--accent, #1f6b4f);
  border: 1px solid #c5dfd3;
  flex-shrink: 0;
}
.bc-field-side-badge.back {
  background: #f3ece4;
  color: #7d4f42;
  border-color: #e8d4c4;
}
.bc-template-summary {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px dashed #e0cfc0;
  border-radius: 8px;
  background: #fffcf8;
}
.bc-template-summary-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 850;
  color: #8b6758;
}
.bc-template-summary-rows {
  display: grid;
  gap: 8px;
}
.bc-template-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #6f5f52;
}
.bc-template-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent, #1f6b4f);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.bc-template-face.back {
  background: #7d4f42;
}
.bc-input {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
  background: #fff;
}
.bc-input:disabled { background: #f3f4f6; color: var(--muted); }
.bc-input-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.bc-memo span { display: block; font-weight: 850; margin-bottom: 8px; }
.bc-memo em { font-style: normal; color: var(--muted); font-weight: 700; }
.bc-memo textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

/* 명함 2단 — workspace 그리드 */
.bc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* 좌측 미리보기 (전략 문서 스타일 스테이지) */
.bc-preview-pane {
  position: relative;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  background: linear-gradient(135deg, #f5eee6 0%, #fffaf5 100%);
  padding: 48px 20px 120px;
  box-sizing: border-box;
  overflow: hidden;
}
.bc-preview-pane.bc-stage-default { background: linear-gradient(135deg, #f5eee6 0%, #fffaf5 100%); }
.bc-preview-pane.bc-stage-dark { background: linear-gradient(160deg, #1a1816 0%, #2d2925 55%, #3a3530 100%); }
.bc-preview-pane.bc-stage-pink { background: linear-gradient(135deg, #fff3f1 0%, #f5d6d0 100%); }
.bc-preview-pane.bc-stage-kraft { background: linear-gradient(135deg, #d2aa79 0%, #f1dec0 100%); }
.bc-preview-pane.bc-stage-green { background: linear-gradient(135deg, #e8eee8 0%, #fbf8ef 100%); }
.bc-preview-pane.bc-stage-blue { background: linear-gradient(135deg, #e7eef5 0%, #fbfbf8 100%); }
.bc-preview-pane.bc-stage-dark .bc-selected-title,
.bc-preview-pane.bc-stage-dark .bc-preview-caption,
.bc-preview-pane.bc-stage-dark .bc-face-tab { color: #fff; }
.bc-preview-pane.bc-stage-dark .bc-face-tab.active {
  color: #514941;
}
.bc-preview-pane::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.78), transparent 17%),
    radial-gradient(circle at 82% 70%, rgba(196,166,122,.18), transparent 22%);
  pointer-events: none;
  z-index: 0;
}
.bc-preview-pane .ref-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
}
.bc-preview-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55));
  pointer-events: none;
}
.bc-face-tabs {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.bc-face-tab {
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(31,29,26,.46);
  cursor: pointer;
  color: #fff;
}
.bc-face-tab.active {
  background: #fff;
  color: #514941;
  border-color: #fff;
}
.bc-live-wrap {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}
.bc-preview-center {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto 0;
}
.bc-preview-pane .sb-logo-slot {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(45, 32, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.bc-preview-pane .sb-logo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bc-preview-pane .sb-logo-slot--empty {
  background: rgba(255, 255, 255, 0.58);
  border-style: dashed;
}
.bc-preview-pane .sb-logo-slot--spacer {
  visibility: hidden;
  pointer-events: none;
}
.bc-preview-pane .sb-logo-slot-ph {
  font-size: 12px;
  font-weight: 800;
  color: rgba(44, 42, 39, 0.45);
}
.bc-live-wrap.bc-stage-default { background: linear-gradient(135deg, rgba(245,238,230,.55), rgba(255,250,245,.4)); }
.bc-live-wrap.bc-stage-dark { background: linear-gradient(135deg, rgba(23,21,20,.35), rgba(45,41,37,.25)); }
.bc-live-wrap.bc-stage-pink { background: linear-gradient(135deg, rgba(255,243,241,.65), rgba(245,214,208,.45)); }
.bc-live-wrap.bc-stage-kraft { background: linear-gradient(135deg, rgba(210,170,121,.45), rgba(241,222,192,.35)); }
.bc-live-wrap.bc-stage-green { background: linear-gradient(135deg, rgba(232,238,232,.6), rgba(251,248,239,.4)); }
.bc-live-wrap.bc-stage-blue { background: linear-gradient(135deg, rgba(231,238,245,.65), rgba(251,251,248,.4)); }
.bc-live-wrap.bc-live-wrap--hires {
  background: linear-gradient(135deg, rgba(18,16,14,.92), rgba(36,32,28,.88));
  padding: 14px;
}
.bc-preview-pane.bc-preview-pane--hires .ref-badge {
  background: rgba(0,0,0,.42);
  color: rgba(255,255,255,.88);
}
.bc-live-wrap--hires .bc-live-canvas {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  touch-action: none;
}
.bc-live-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1.8;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 22px 48px rgba(45, 32, 22, 0.22);
}
.bc-selected-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}
.bc-selected-title b {
  display: block;
  font-size: 26px;
  line-height: 1.18;
}
.bc-preview-caption {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}
.bc-parent-logo-floating {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 110px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  padding: 6px;
  opacity: .35;
  pointer-events: none;
}

/* 우측 설정 패널 */
.bc-control-pane {
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.bc-control-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: none;
}
.bc-prompt-summary {
  margin-bottom: 18px;
}

/* 레이아웃 · 템플릿 카드 (전략 문서 template-card 스타일) */
.bc-variant-section {
  border: 1px solid #e2d6c8;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.94);
  padding: 18px !important;
  box-shadow: 0 12px 32px rgba(69, 49, 34, 0.06);
}
.bc-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 14px;
}
.bc-template-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 10px;
}
.bc-template-grid-browse {
  margin-top: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.bc-template-selected-only {
  display: grid;
  gap: 12px;
  margin: 12px 0 4px;
}
.bc-template-selected-only .bc-template-card-v2 {
  cursor: default;
  pointer-events: none;
}
.bc-template-selected-only .bc-template-card-v2:hover {
  transform: none;
  box-shadow: none;
}
.bc-template-selected-only .bc-template-stage {
  min-height: auto;
  padding: 28px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bc-template-selected-only .bc-template-art {
  width: min(360px, 100%);
  max-width: 360px;
  height: auto;
  aspect-ratio: 360 / 190;
  max-height: none;
  flex: 0 0 auto;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(45, 32, 22, 0.1);
}
.bc-template-selected-only .bc-template-body {
  padding: 16px 20px 18px;
}
.bc-change-template-btn {
  width: 100%;
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 800;
}
.bc-template-card-v2 {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #e2d6c8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.bc-template-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(69, 49, 34, 0.1);
}
.bc-template-card-v2 input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bc-template-card-v2.active {
  border-color: #9a644c;
  box-shadow: 0 0 0 1px #9a644c, 0 16px 36px rgba(154, 100, 76, 0.14);
}
.bc-template-stage {
  position: relative;
  min-height: 196px;
  display: grid;
  place-items: stretch;
  border-bottom: 1px solid #e2d6c8;
  overflow: hidden;
  padding: 0;
}
.bc-template-stage.bc-stage-night { background: linear-gradient(135deg, #14181d, #2b3137); }
.bc-template-stage.bc-stage-brick {
  background:
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 46px 24px,
    linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px) 0 0 / 46px 24px,
    #7b746d;
}
.bc-template-stage.bc-stage-wood { background: linear-gradient(135deg, #40352d, #17130f); }
.bc-template-stage.bc-stage-mall { background: linear-gradient(135deg, #30343a, #111316); }
.bc-template-stage.bc-stage-sage { background: linear-gradient(135deg, #e8eee8, #fbf8ef); }
.bc-template-card-v2 .bc-template-source-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid #ead8c9;
  color: #7a4f38;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.bc-template-stage.bc-stage-default { background: linear-gradient(135deg, #f5eee6, #fffaf5); }
.bc-template-stage.bc-stage-dark { background: linear-gradient(135deg, #171514, #2d2925); }
.bc-template-stage.bc-stage-pink { background: linear-gradient(135deg, #fff3f1, #f5d6d0); }
.bc-template-stage.bc-stage-kraft { background: linear-gradient(135deg, #d2aa79, #f1dec0); }
.bc-template-stage.bc-stage-green { background: linear-gradient(135deg, #e8eee8, #fbf8ef); }
.bc-template-stage.bc-stage-blue { background: linear-gradient(135deg, #e7eef5, #fbfbf8); }
.bc-template-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.78), transparent 17%),
    radial-gradient(circle at 82% 70%, rgba(196,166,122,.14), transparent 22%);
  pointer-events: none;
}
.bc-template-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 420;
  max-height: none;
  object-fit: contain;
}
.bc-template-body {
  padding: 14px 15px 16px;
}
.bc-template-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.bc-template-id {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #191715;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.bc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.bc-tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f6efe7;
  color: #6f5549;
  font-size: 10px;
  font-weight: 850;
}
.bc-rec-banner {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8f0 0%, #f5ebe0 100%);
  border: 1px solid #e8d4c4;
}
.bc-rec-banner-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #5c4a3a;
}
.bc-rec-banner-desc {
  margin: 0;
  font-size: 0.85rem;
  color: #7a6a5a;
  line-height: 1.45;
}
.bc-template-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: #9a644c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(69, 49, 34, 0.2);
}
.bc-template-card-v2.active .bc-template-badge {
  background: #191715;
}
.bc-variant-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee3d9;
  color: #7c5747;
  font-size: 12px;
  font-weight: 950;
}
.bc-variant-card.active .bc-variant-check,
.bc-template-card-v2.active .bc-variant-check {
  background: var(--brand, #9a644c);
  color: #fff;
}
.bc-variant-name {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #1e1b17;
  line-height: 1.3;
}
.bc-variant-desc {
  display: block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  color: #6f665e;
}
.bc-preview-btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  font-weight: 900;
}

.bc-finalize-section {
  border: 1px solid #ead9cb;
  border-radius: 8px;
  background: #fff8f1;
  padding: 15px !important;
}
.bc-finalize-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bc-hires-pick-hint { margin-top: -4px; font-size: 12px; color: #6b5b4f; }
.bc-hires-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ead9cb;
}
.bc-hires-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bc-hires-side-title { font-weight: 900; font-size: 14px; }
.bc-hires-side-count { font-size: 12px; font-weight: 800; color: #8a6f5c; }
.bc-hires-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bc-hires-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border: 2px solid #ead9cb;
  border-radius: 10px;
  background: #fffaf5;
  cursor: pointer;
  text-align: center;
}
.bc-hires-pick.selected {
  border-color: #c96f45;
  box-shadow: 0 0 0 1px #c96f45 inset;
  background: #fff3ea;
}
.bc-hires-pick-img {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #fffaf5, #f4ebe2);
  aspect-ratio: 1.75;
}
.bc-hires-pick-img img,
.bc-hires-pick-img canvas.bc-hires-pick-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.bc-hires-pick-safe {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 10px;
  color: #6d5143;
  line-height: 1.25;
}
.bc-hires-pick-safe b {
  font-size: 13px;
  font-weight: 950;
}
.bc-hires-pick-safe em {
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
}
.bc-hires-pick-safe small {
  font-size: 10px;
  color: #9a8171;
  font-weight: 750;
}
.bc-hires-pick-label {
  font-size: 11px;
  font-weight: 800;
  color: #5c4a3d;
}
.bc-hires-installation {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid #ead9cb;
  border-radius: 8px;
  background: #fffaf5;
}
.bc-hires-installation img {
  display: block;
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  border-radius: 6px;
  background: #1a1a1a;
}
.bc-finalize-actions .primary { width: 100%; min-height: 48px; font-weight: 900; }
.bc-finalize-actions .secondary { width: 100%; min-height: 44px; font-weight: 900; }
.bc-finalize-actions .primary:disabled { opacity: 0.65; }
.bc-checkout-btn { width: 100%; margin-top: 10px; min-height: 48px; font-weight: 900; }

@media (max-width: 960px) {
  #extensionFlowPanel.extension-flow-panel.open {
    grid-template-columns: 1fr;
    height: min(940px, calc(100vh - 20px));
    overflow: auto;
  }
  .extension-workspace--business-card #extensionFormHost,
  .bc-workspace {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .bc-workspace {
    display: flex;
    flex-direction: column;
  }
  .bc-preview-pane {
    min-height: 320px;
    padding-bottom: 100px;
  }
  .bc-control-pane {
    padding: 20px;
  }
}

@media (max-width: 960px) {
  .bc-template-grid-browse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bc-hires-grid { grid-template-columns: 1fr; }
  .bc-pill-row--3 { grid-template-columns: 1fr; }
  .bc-variant-grid,
  .bc-template-featured,
  .bc-template-grid-browse { grid-template-columns: 1fr; }
  .bc-selected-title b { font-size: 22px; }
}

.ext-options-form { margin-top: 14px; }
.ext-options-form h4 { margin: 0 0 12px; }
.ext-opt-field { display: block; margin-bottom: 14px; }
.ext-opt-field legend { font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.ext-opt-radios { display: flex; flex-direction: column; gap: 6px; }
.ext-opt-radio { font-weight: 700; font-size: 13px; }
.ext-opt-note { display: block; margin: 12px 0; font-weight: 800; }
.ext-opt-note textarea { width: 100%; margin-top: 6px; }
#extGenerateBtn { margin-top: 8px; }
.ext-preview-area { margin-top: 18px; }
.ext-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ext-preview-card { display: block; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; }
.ext-preview-card.selected { border-color: var(--accent, #1f6b4f); }
.ext-preview-card input { display: none; }
.ext-preview-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.ext-preview-card span { display: block; text-align: center; padding: 6px; font-size: 12px; font-weight: 800; }
.ext-finalize-area { margin-top: 12px; }
.ext-finalize-box { padding: 12px; border-radius: 12px; background: #f8fafc; }
.hidden { display: none !important; }

/* 간판 mockup 스테이지 */
.bc-preview-pane.bc-stage-night,
.bc-live-wrap.bc-stage-night { background: linear-gradient(135deg, #14181d 0%, #2b3137 100%); }
.bc-preview-pane.bc-stage-brick,
.bc-live-wrap.bc-stage-brick { background: linear-gradient(135deg, #7b746d 0%, #9a9288 100%); }
.bc-preview-pane.bc-stage-wood,
.bc-live-wrap.bc-stage-wood { background: linear-gradient(135deg, #40352d 0%, #17130f 100%); }
.bc-preview-pane.bc-stage-glass,
.bc-live-wrap.bc-stage-glass { background: linear-gradient(135deg, #d8e4ec 0%, #f5f8fa 100%); }
.bc-preview-pane.bc-stage-sage,
.bc-live-wrap.bc-stage-sage { background: linear-gradient(135deg, #e8eee8 0%, #fbf8ef 100%); }
.bc-preview-pane.bc-stage-mall,
.bc-live-wrap.bc-stage-mall { background: linear-gradient(135deg, #30343a 0%, #111316 100%); }
.bc-preview-pane.bc-stage-night .bc-selected-title,
.bc-preview-pane.bc-stage-night .bc-preview-caption,
.bc-preview-pane.bc-stage-wood .bc-selected-title,
.bc-preview-pane.bc-stage-wood .bc-preview-caption,
.bc-preview-pane.bc-stage-mall .bc-selected-title,
.bc-preview-pane.bc-stage-mall .bc-preview-caption { color: #fff; }
.sb-mount-label { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 750; }
.sb-workspace .bc-live-canvas {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 10px;
}
.pl-workspace .bc-live-canvas,
.pl-workspace .bc-template-art {
  aspect-ratio: 720 / 520;
}
.pl-workspace .bc-live-wrap {
  max-width: 560px;
}
/* 프로필 이미지 — 정사각 캔버스, 아이콘은 형태별 72~85% 채움 */
.pi-workspace .bc-template-stage {
  min-height: 0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  overflow: hidden;
}
.pi-workspace .bc-template-card-v2 .bc-template-stage {
  min-height: 0;
}
.pi-workspace .bc-live-canvas,
.pi-workspace .bc-template-art,
.pi-workspace .bc-template-selected-only .bc-template-art {
  aspect-ratio: 1 !important;
  width: 100%;
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
  border-radius: 0;
  box-shadow: none;
}
.pi-workspace .pi-live-canvas {
  aspect-ratio: 1 !important;
  max-width: 360px;
}
.pi-workspace .bc-live-wrap {
  max-width: 360px;
}
.pi-workspace .bc-template-selected-only {
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
.pi-workspace .bc-template-selected-only .bc-template-stage {
  min-height: 0;
  aspect-ratio: 1;
  padding: 8%;
}
.pi-workspace .bc-template-selected-only .bc-template-art {
  width: 100%;
  max-width: none;
}
.pi-workspace .bc-template-grid-all .bc-template-art {
  max-width: none;
}
.pi-workspace .bc-template-selected-only .bc-template-body {
  padding: 12px 14px 14px;
}
.pi-color-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #eadfce;
}
.pi-color-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.pi-color-section-title {
  font-weight: 800;
  font-size: 14px;
}
.pi-color-section-hint {
  font-size: 11px;
  color: var(--muted, #7a6f66);
}
.pi-color-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.pi-color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid #e8dfd4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pi-color-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pi-color-card.active {
  border-color: var(--accent, #8b5e4a);
  box-shadow: 0 0 0 2px rgba(139, 94, 74, 0.14);
}
.pi-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.pi-color-label {
  font-size: 11px;
  font-weight: 700;
  color: #4a4038;
}
.pi-color-preview-hint {
  margin-top: 8px;
}
.pi-tone-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.pi-tone-opt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #e8dfd4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.pi-tone-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pi-tone-opt.active {
  border-color: var(--accent, #8b5e4a);
  box-shadow: 0 0 0 2px rgba(139, 94, 74, 0.14);
}
.pi-tone-label {
  font-size: 13px;
  font-weight: 800;
  color: #3f342c;
}
.pi-tone-hint {
  font-size: 11px;
  color: var(--muted, #7a6f66);
}
.pi-point-color-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #eadfce;
}
.pi-point-color-section.hidden {
  display: none;
}
.pi-point-color-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pl-preview-results {
  margin-bottom: 2px;
}
.pl-qr-toggle {
  margin: 4px 0 8px;
}

/* 간판 미리보기 — 로고 슬롯 + 캔버스만 템플릿 스테이지, 패널은 기존 그라데이션 유지 */
.sb-preview-pane {
  justify-content: center;
}
.sb-preview-pane .sb-preview-center {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.sb-preview-pane .sb-logo-slot {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.sb-preview-pane .sb-logo-slot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: none;
}
.sb-preview-pane .sb-logo-slot--empty {
  background: rgba(255, 255, 255, 0.55);
  border-style: dashed;
}
.sb-preview-pane .sb-logo-slot-ph {
  font-size: 12px;
  font-weight: 800;
  color: rgba(44, 42, 39, 0.45);
}
.sb-workspace .bc-live-wrap {
  width: 100%;
  max-width: 100%;
  padding: 6px;
  border-radius: 12px;
}
.sb-preview-pane .bc-selected-title {
  z-index: 3;
}

/* 간판 표기 — 상호 텍스트 / 로고 이미지 택1 */
.sb-display-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sb-display-mode-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid #e2d6c8;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.92);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
  box-sizing: border-box;
}
.sb-display-mode-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sb-display-mode-opt.active {
  border-color: #b8844f;
  box-shadow: 0 0 0 2px rgba(184, 132, 79, 0.18);
  background: #fffaf5;
}
.sb-display-mode-opt.disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.sb-display-mode-icon {
  font-size: 18px;
  font-weight: 900;
  color: #6b625b;
}
.sb-display-mode-label {
  font-size: 13px;
  font-weight: 800;
  color: #2c2a27;
}
.sb-display-mode-label em {
  font-style: normal;
  font-weight: 650;
  color: #8a7f75;
  font-size: 11px;
}
.sb-logo-mode-preview {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2d6c8;
  text-align: center;
}
.sb-image-mode-panel {
  margin: -2px 0 14px;
  padding: 10px 12px;
  border: 1px solid #ead8c9;
  border-radius: 10px;
  background: #fffaf5;
  display: grid;
  grid-template-columns: 56px auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.sb-image-mode-panel .sb-logo-mode-preview {
  width: 56px;
  height: 56px;
  margin: 0;
  min-height: 0;
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}
.sb-logo-mode-preview.empty {
  color: #8a7f75;
  font-size: 11px;
  font-weight: 800;
}
.sb-logo-mode-preview img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}
.sb-image-mode-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.sb-image-upload-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 118px;
  white-space: nowrap;
}
.sb-image-upload-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sb-image-mode-panel .option-hint {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sb-display-mode-hint {
  margin-top: -4px;
}

@media (max-width: 760px) {
  .sb-image-mode-panel {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .sb-image-mode-panel .sb-logo-mode-preview {
    width: 48px;
    height: 48px;
  }
  .sb-image-mode-panel .option-hint {
    grid-column: 1 / -1;
  }
}

/* Intent Routing Hub + standalone entry */
.standalone-products {
  margin: 28px 0 8px;
  padding: 22px 20px;
  border: 1px solid #e8d9c8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff9f2 100%);
}
.standalone-products-head h2 {
  margin: 0;
  font-size: 22px;
}
.standalone-products-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.standalone-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.standalone-product-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.standalone-product-card:hover {
  border-color: #c9a227;
  box-shadow: 0 4px 14px rgba(120, 90, 40, 0.08);
}
.standalone-product-card b {
  display: block;
  font-size: 15px;
}
.standalone-product-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.standalone-products-or {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
}
.standalone-products-or .linkish {
  font: inherit;
  font-weight: 800;
  color: var(--accent, #9a6b2f);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.intent-gateway-modal.open {
  display: flex;
}
.intent-gateway-panel {
  max-width: 440px;
}
.intent-question {
  margin: 12px 0 10px;
  font-size: 15px;
  font-weight: 850;
}
.intent-choice-grid {
  display: grid;
  gap: 10px;
}
.intent-choice {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.intent-choice.primary {
  border-color: #c9a227;
  background: linear-gradient(180deg, #fffdf5 0%, #fff8e8 100%);
}
.intent-choice b {
  display: block;
  font-size: 15px;
}
.intent-choice span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.intent-back {
  margin-top: 12px;
  font: inherit;
  font-weight: 800;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.extension-grid-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
}
.extension-grid-hint--locked {
  color: #9a6b2f;
}
.complete-panel .extension-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  text-align: left;
}
.complete-panel .extension-card.locked {
  opacity: 0.55;
  cursor: not-allowed;
}
.complete-panel .extension-card.has-open {
  border-color: #c9a227;
  background: linear-gradient(180deg, #fffdf5 0%, #fff8e8 100%);
}
.complete-panel .extension-card .ext-open-badge {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a5b00;
  font-size: 11px;
  font-weight: 800;
}
.extension-parent-summary--standalone img[hidden] {
  display: none;
}
@media (max-width: 900px) {
  .standalone-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .standalone-product-grid {
    grid-template-columns: 1fr;
  }
}

.intent-upload-hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}
.intent-upload-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}
.intent-upload-field input[type="file"] {
  font: inherit;
  font-weight: 600;
}
.intent-upload-preview {
  margin: 10px 0;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.intent-upload-preview img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}
.intent-upload-warnings {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}
.intent-upload-warn {
  color: #9a6b2f;
}
.intent-upload-error {
  color: #b42318;
}
.intent-upload-actions {
  margin-top: 8px;
}

.intent-symbol-actions {
  margin: 0 0 10px;
}
.intent-symbol-status {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
  min-height: 1.2em;
}
.intent-symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.intent-symbol-tile {
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
}
.intent-symbol-tile.selected {
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}
.intent-symbol-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #faf8f5;
}
.intent-symbol-tile span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
@media (max-width: 560px) {
  .intent-symbol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.extension-cross-sell-modal.open {
  display: flex;
}
.extension-cross-sell-panel {
  max-width: 480px;
}
.extension-cross-sell-grid .intent-choice {
  position: relative;
}
.extension-cross-sell-tile .cross-sell-price {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 850;
  font-style: normal;
  color: var(--accent, #9a6b2f);
}
.extension-cross-sell-bundle {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
  line-height: 1.45;
}
.intent-survey-card {
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid #e8dfc8;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff9ee 100%);
}
.intent-survey-question {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}
.intent-survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.intent-survey-actions .primary,
.intent-survey-actions .secondary {
  flex: 1 1 140px;
}
