@import url("https://cn-font.claude-code-best.win/packages/jhlst/dist/%E4%BA%AC%E8%8F%AF%E8%80%81%E5%AE%8B%E4%BD%93v2_002/result.css");
body.customer-quote-page {
  --franta-green: #006b55;
  --franta-green-dark: #004c3f;
  --franta-green-deep: #003d34;
  --franta-soft: #e8f3ef;
  --franta-blue: #eaf3fb;
  --franta-blue-line: #b8d1e5;
  --franta-bg: #f3f6f5;
  --franta-ink: #142420;
  --franta-muted: #61736d;
  --franta-line: #d7e2dd;
  margin: 0;
  min-height: 100vh;
  overflow: auto;
  background: var(--franta-bg);
  color: var(--franta-ink);
  font-family: "京華老宋体", Inter, "Microsoft YaHei", "PingFang SC", "微软雅黑", sans-serif;
}

body.customer-quote-page * {
  box-sizing: border-box;
}

button,
input,
select {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding: 0 clamp(18px, 2.8vw, 42px);
  background: #ffffff;
  color: var(--franta-green-deep);
  box-shadow: 0 8px 24px rgba(0, 76, 63, 0.18);
}

.brand-mark,
.nav-links a,
.official-link,
.consult-link {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--franta-green-deep);
  min-width: 0;
}

.brand-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--franta-green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand-mark strong {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark em {
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-bottom: 3px solid transparent;
  color: var(--franta-green-deep);
  font-size: 15px;
  font-weight: 900;
}

.nav-links a:hover,
.nav-links a:first-child {
  border-bottom-color: var(--franta-green);
  color: var(--franta-green);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.consult-link,
.official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.consult-link {
  padding: 0 8px;
  background: var(--franta-green);
  color: #fff;
}

.official-link {
  border: 1px solid #9bbdb0;
  padding: 0 18px;
  background: #fff;
  color: var(--franta-green-deep);
}

.customer-shell {
  width: min(1500px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.product-summary {
  display: grid;
  grid-template-columns: 250px 1fr 180px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--franta-line);
  background: #fff;
}

.summary-image {
  position: relative;
  min-height: 200px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.product-hero-image {
  width: 240px;
  min-height: 200px;
  padding-top: 18px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #fff;
}

.product-thumb {
  width: 220px;
  max-height: 180px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  mix-blend-mode: multiply;
}

.product-preview {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 74px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--franta-green);
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  pointer-events: none;
}

.product-preview svg {
  width: 120px;
  height: auto;
}

.summary-info {
  min-width: 0;
  padding: 16px 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--franta-green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.summary-info h1 {
  margin: 0 0 12px;
  color: #06100d;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
}

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

.quote-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  min-width: 0;
}

.quote-summary-item .label {
  font-size: 12px;
  font-weight: 900;
  color: #61736d;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.quote-summary-item .value {
  font-size: 14px;
  font-weight: 900;
  color: #142420;
  word-break: break-word;
}

.quote-summary-item.price {
  background: linear-gradient(135deg, #f0f9f5, #e6f2ec);
  box-shadow: 0 1px 4px rgba(0,107,85,0.10), 0 0 0 1px rgba(0,107,85,0.08);
}

.quote-summary-item.price .value {
  color: var(--franta-green-dark);
  font-size: 20px;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #cddbd5;
  background: #f8fbfa;
  color: var(--franta-green-dark);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
}

.summary-tags #solutionSurfaceText {
  display: none;
}

.summary-actions {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 16px;
  border-left: 1px solid var(--franta-line);
  background: #f8fbfa;
}

.selection-page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 3fr);
  gap: 18px;
  align-items: start;
}

.content-tabs,
.selector-panel {
  border: 1px solid var(--franta-line);
  background: #fff;
}

.content-tabs {
  min-width: 0;
  min-height: 1500px;
  overflow: hidden;
}

.tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 2px solid var(--franta-green-dark);
  background: #f3f8f6;
}

.tab-nav label {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-right: 1px solid var(--franta-line);
  color: #314842;
  cursor: pointer;
  font-weight: 900;
}

.tab-nav label:last-child {
  border-right: 0;
}

#tabDrawing:checked ~ .tab-nav label[for="tabDrawing"],
#tabTech:checked ~ .tab-nav label[for="tabTech"],
#tabBom:checked ~ .tab-nav label[for="tabBom"],
#tabDownloads:checked ~ .tab-nav label[for="tabDownloads"] {
  background: var(--franta-green-dark);
  color: #fff;
}

.tab-panel {
  display: none;
  padding: 20px;
}

#tabDrawing:checked ~ .drawing-panel,
#tabTech:checked ~ .tech-panel,
#tabBom:checked ~ .bom-panel,
#tabDownloads:checked ~ .download-panel {
  display: block;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 0;
  color: var(--franta-green-deep);
  font-size: 20px;
  font-weight: 900;
}

.panel-title span {
  display: block;
  margin-top: 4px;
  color: var(--franta-muted);
  font-size: 13px;
  font-weight: 800;
}

.drawing-canvas {
  height: min(82vh, 860px);
  min-height: 760px;
  overflow: auto;
  border: 1px solid #b9cbc4;
  background:
    linear-gradient(#edf3f0 1px, transparent 1px),
    linear-gradient(90deg, #edf3f0 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.customer-drawing {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  padding: 28px;
  transform-origin: 0 0;
}

.customer-drawing svg {
  display: block;
  width: calc(100% * var(--drawing-scale, 1));
  height: auto;
  max-width: none;
  margin: 0 auto;
  background: #fff;
}

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

.drawing-actions,
.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.primary-action,
.secondary-action,
.drawing-toolbar button {
  min-height: 38px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.primary-action {
  border: 1px solid var(--franta-green-dark);
  background: linear-gradient(180deg, #007d5d 0%, #00573f 100%);
  color: #fff;
}

.secondary-action,
.drawing-toolbar button {
  border: 1px solid #9bbdb0;
  background: #fff;
  color: var(--franta-green-dark);
}

.spec-table,
.bom-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.spec-table th,
.spec-table td,
.bom-table th,
.bom-table td {
  border: 1px solid #bdd0c9;
  padding: 11px 12px;
  font-size: 14px;
  text-align: left;
}

.spec-table th,
.bom-table th {
  background: var(--franta-blue);
  color: #111;
  font-weight: 900;
}

.spec-table td,
.bom-table td {
  color: var(--franta-ink);
  font-weight: 800;
}

.selector-panel {
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 2px solid var(--franta-green-dark);
  background: #fff;
}

.selector-header h2 {
  margin: 0;
  color: var(--franta-green-deep);
  font-size: 18px;
  font-weight: 900;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--franta-green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.reset-action {
  padding: 0;
  border-bottom: 1px solid currentColor;
}

.selector-scroll {
  overflow-y: auto;
  padding: 12px 12px 16px;
}

.param-group {
  margin-bottom: 14px;
  border: 1px solid #c8d9d3;
  background: #fff;
}

.sync-defaults[hidden] {
  display: none !important;
}

.param-group h3 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #c8d9d3;
  background: linear-gradient(90deg, var(--franta-blue), var(--franta-soft));
  color: #244e63;
  font-size: 14px;
  font-weight: 900;
}

.advanced-panel h4 {
  margin: 14px 0 0;
  padding: 8px 12px;
  border-top: 1px solid #c8d9d3;
  border-bottom: 1px solid #c8d9d3;
  background: #f4faf7;
  color: var(--franta-green-deep);
  font-size: 13px;
  font-weight: 900;
}

.advanced-panel[hidden] {
  display: none !important;
}

.param-group label {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #edf2f0;
}

.param-group label:last-child {
  border-bottom: 0;
}

.param-group label span {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #f8fbfa;
  color: #41524d;
  font-size: 13px;
  font-weight: 800;
}

.param-group input,
.param-group select,
.param-group output {
  width: calc(100% - 12px);
  min-width: 0;
  height: 32px;
  margin: 4px 6px;
  border: 1px solid #bccdc7;
  border-radius: 3px;
  background: #fff;
  color: var(--franta-ink);
  padding: 0 8px;
  outline: none;
  font-size: 14px;
  font-weight: 800;
}

.param-group output {
  display: flex;
  align-items: center;
  border-color: transparent;
  color: var(--franta-muted);
}

.param-group input:focus,
.param-group select:focus {
  border-color: rgba(0, 107, 85, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 107, 85, 0.10);
}

.toggle-row input {
  width: 18px;
  justify-self: start;
  accent-color: var(--franta-green);
}

.branch-editor {
  padding: 10px;
  border-top: 1px solid #c8d9d3;
  background: #fbfdfc;
}

.branch-head,
.branch-row {
  display: grid;
  grid-template-columns: 38px 1fr 1.08fr .9fr .9fr;
  gap: 6px;
  align-items: center;
}

.branch-head {
  margin-bottom: 6px;
  color: #41524d;
  font-size: 12px;
  font-weight: 900;
}

.branch-row {
  margin-bottom: 6px;
}

.branch-row strong {
  display: grid;
  height: 30px;
  place-items: center;
  border: 1px solid #c8d9d3;
  background: #f4faf7;
  color: var(--franta-green-deep);
  font-size: 13px;
}

.branch-row select,
.branch-row input {
  width: 100%;
  height: 30px;
  margin: 0;
  font-size: 13px;
}

.branch-row input:disabled {
  background: #edf2f0;
  color: #9aa7a3;
}

.primary-action.full {
  width: calc(100% - 24px);
  margin: 12px;
}

.drawing-modal[hidden] {
  display: none !important;
}

.drawing-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 36, 32, 0.48);
}

.drawing-modal-panel {
  width: min(1240px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.drawing-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--franta-line);
}

.drawing-modal-header strong {
  font-size: 18px;
  font-weight: 900;
}

.drawing-modal-header button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--franta-line);
  border-radius: 4px;
  background: #fff;
  color: var(--franta-ink);
  cursor: pointer;
  font-size: 22px;
}

.drawing-modal-body {
  max-height: calc(92vh - 66px);
  overflow: auto;
  padding: 18px;
}

.drawing-modal-body svg {
  display: block;
  min-width: 980px;
  width: 100%;
  height: auto;
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: minmax(250px, 1fr) minmax(0, auto);
  }

  .nav-links {
    display: none;
  }

  .product-summary {
    grid-template-columns: 250px 1fr;
    gap: 20px;
  }

  .summary-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    border-top: 1px solid var(--franta-line);
  }

  .selection-page {
    grid-template-columns: 1fr;
  }

  .selector-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .customer-shell {
    width: min(100vw - 20px, 560px);
    padding-top: 12px;
  }

  .site-nav {
    min-height: 62px;
    padding: 0 14px;
  }

  .brand-mark strong {
    display: grid;
    gap: 0;
    font-size: 18px;
  }

  .brand-mark em {
    font-size: 13px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .consult-link {
    display: none;
  }

  .official-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

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

  .summary-image,
  .product-hero-image {
    width: 100%;
    min-height: 160px;
    border: none !important;
  }

  .product-thumb {
    width: 180px;
    max-height: 140px;
  }

  .summary-info {
    padding: 14px;
  }

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

  .tab-nav {
    grid-template-columns: 1fr 1fr;
  }

  .panel-title {
    display: grid;
  }

  .drawing-canvas {
    height: 420px;
    min-height: 420px;
  }

  .customer-drawing {
    padding: 12px;
  }

  .customer-drawing svg {
    width: calc(100% * var(--drawing-scale, 1));
  }

  .param-group label {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}
