/* Customer-facing template variants. Shared forms and behavior are unchanged. */
.theme-tech{--theme-primary:#1764d8;--theme-primary-dark:#0f4cae;--theme-soft:#eaf2ff;--theme-canvas:#f5f8fc;--theme-ink:#142746;--theme-muted:#64748b;--theme-panel:#172842;--theme-line:#dce5ef}
.theme-service{--theme-primary:#087d69;--theme-primary-dark:#056454;--theme-soft:#e7f5ef;--theme-canvas:#f5f8f6;--theme-ink:#183b36;--theme-muted:#657972;--theme-panel:#16483f;--theme-line:#d5e4de}
.theme-engineering{--theme-primary:#aa4d36;--theme-primary-dark:#873a29;--theme-soft:#f8eee9;--theme-canvas:#f6f5f3;--theme-ink:#382a25;--theme-muted:#766861;--theme-panel:#3d332e;--theme-line:#e2d8d1}

/* Technology equipment: clear blue pricing console. */
.frontend-ui.theme-tech{background:var(--theme-canvas)}.theme-tech .top{background:#162842}.theme-tech .hero{border-bottom-color:var(--theme-line)}.theme-tech .eyebrow,.theme-tech .text-primary{color:var(--theme-primary)!important}.theme-tech .hero h1,.theme-tech .section-title,.theme-tech .product-name{color:var(--theme-ink)}.theme-tech .hero p,.theme-tech .section-note,.theme-tech .product-desc{color:var(--theme-muted)}.theme-tech .step b{background:var(--theme-soft);color:var(--theme-primary)}.theme-tech .product{border-color:var(--theme-line)}.theme-tech .product:hover{border-color:#83afea}.theme-tech .summary{background:var(--theme-panel)}.theme-tech .btn-primary{background:var(--theme-primary);border-color:var(--theme-primary)}.theme-tech .btn-primary:hover{background:var(--theme-primary-dark);border-color:var(--theme-primary-dark)}.theme-tech .btn-outline-primary{color:var(--theme-primary);border-color:#a6c3ee}.theme-tech .btn-outline-primary:hover{background:var(--theme-primary);border-color:var(--theme-primary)}

/* Professional services: summary is presented first, with a calm green palette. */
.frontend-ui.theme-service{background:var(--theme-canvas)}.theme-service .top{background:#17463e}.theme-service .hero{border-bottom-color:var(--theme-line);background:#fbfdfc}.theme-service .eyebrow,.theme-service .text-primary{color:var(--theme-primary)!important}.theme-service .hero h1,.theme-service .section-title,.theme-service .product-name{color:var(--theme-ink)}.theme-service .hero p,.theme-service .section-note,.theme-service .product-desc{color:var(--theme-muted)}.theme-service .step b{background:var(--theme-soft);color:var(--theme-primary)}.theme-service .product{border-color:var(--theme-line);border-radius:8px;box-shadow:0 4px 13px rgba(29,75,64,.05)}.theme-service .product:hover{border-color:#7fbcae;box-shadow:0 10px 23px rgba(29,75,64,.10)}.theme-service .choice-list label:hover{border-color:#6cab9c;background:#f2faf7}.theme-service .summary{background:var(--theme-panel)}.theme-service .btn-primary{background:var(--theme-primary);border-color:var(--theme-primary)}.theme-service .btn-primary:hover{background:var(--theme-primary-dark);border-color:var(--theme-primary-dark)}.theme-service .btn-outline-primary{color:var(--theme-primary);border-color:#9dcdbf}.theme-service .btn-outline-primary:hover{background:var(--theme-primary);border-color:var(--theme-primary)}

/* Engineering: estimate panel leads the workflow and project cards become a denser plan board. */
.frontend-ui.theme-engineering{background:var(--theme-canvas)}.theme-engineering .top{background:#3d332e}.theme-engineering .hero{background:#fffdfc;border-bottom-color:var(--theme-line)}.theme-engineering .eyebrow,.theme-engineering .text-primary{color:var(--theme-primary)!important}.theme-engineering .hero h1,.theme-engineering .section-title,.theme-engineering .product-name{color:var(--theme-ink)}.theme-engineering .hero p,.theme-engineering .section-note,.theme-engineering .product-desc{color:var(--theme-muted)}.theme-engineering .step b{background:var(--theme-soft);color:var(--theme-primary);border-radius:6px}.theme-engineering .product{border-color:var(--theme-line);border-radius:6px;box-shadow:none}.theme-engineering .product:hover{border-color:#c79788;box-shadow:0 8px 18px rgba(70,46,37,.08)}.theme-engineering .category-title{border-bottom-color:var(--theme-line)}.theme-engineering .summary{background:var(--theme-panel);border-radius:6px}.theme-engineering .btn-primary{background:var(--theme-primary);border-color:var(--theme-primary)}.theme-engineering .btn-primary:hover{background:var(--theme-primary-dark);border-color:var(--theme-primary-dark)}.theme-engineering .btn-outline-primary{color:var(--theme-primary);border-color:#d3a296}.theme-engineering .btn-outline-primary:hover{background:var(--theme-primary);border-color:var(--theme-primary)}

/* Quote lookup follows the same chosen template. */
.theme-tech.quote-query-ui{background:#f3f7fb}.theme-service.quote-query-ui{background:#f2f8f5}.theme-engineering.quote-query-ui{background:#f7f4f2}.theme-service .shell .brand{color:#1c4f45}.theme-engineering .shell .brand{color:#4a3028}.theme-service .shell .card{border-color:#d5e4de}.theme-engineering .shell .card{border-color:#e2d8d1}.theme-service .shell .amount{color:#087d69}.theme-engineering .shell .amount{color:#aa4d36}.theme-service .shell .btn-primary{background:#087d69;border-color:#087d69}.theme-engineering .shell .btn-primary{background:#aa4d36;border-color:#aa4d36}

/* Shared customer quotation view. */
.portal-quote-ui.theme-tech{background:#f2f6fa}.portal-quote-ui.theme-service{background:#f1f7f4}.portal-quote-ui.theme-engineering{background:#f6f3f1}.theme-service .paper{border-color:#d3e2dc}.theme-service .topbar{background:#087d69}.theme-service .company,.theme-service .item-name{color:#1a4b42}.theme-service .eyebrow,.theme-service .sum-total strong,.theme-service .btn-link{color:#087d69}.theme-service .badge{background:#e7f5ef;color:#087d69}.theme-service .fact{background:#f6fbf8;border-color:#dbe9e3}.theme-service .btn-primary{background:#087d69}.theme-service .btn-primary:hover{background:#056454}.theme-engineering .paper{border-color:#ded4ce;border-radius:7px}.theme-engineering .topbar{background:#aa4d36}.theme-engineering .company,.theme-engineering .item-name{color:#4a3028}.theme-engineering .eyebrow,.theme-engineering .sum-total strong,.theme-engineering .btn-link{color:#aa4d36}.theme-engineering .badge{background:#f8eee9;color:#9a422e}.theme-engineering .fact{background:#fbf8f6;border-color:#e8ded8;border-radius:5px}.theme-engineering .table-wrap{border-radius:5px}.theme-engineering .btn-primary{background:#aa4d36}.theme-engineering .btn-primary:hover{background:#873a29}

@media(min-width:992px){.theme-service main>.row>aside{order:-1}.theme-service main>.row>section{padding-left:calc(var(--bs-gutter-x) * .5)}.theme-service .summary{top:24px}.theme-service .summary:before{content:"方案概览";display:block;margin-bottom:16px;color:#cbe8de;font-size:13px;font-weight:700}.theme-engineering main>.row>aside{flex:0 0 100%;width:100%;max-width:100%;order:-1}.theme-engineering main>.row>section{flex:0 0 100%;width:100%;max-width:100%}.theme-engineering .summary{position:static;display:grid;grid-template-columns:1fr 1fr;column-gap:30px;align-items:start}.theme-engineering .summary .summary-title:nth-of-type(1),.theme-engineering .summary .total,.theme-engineering .summary .summary-title:nth-of-type(2),.theme-engineering .summary #chosen{grid-column:1}.theme-engineering .summary .mt-3{grid-column:2;grid-row:1 / span 4;margin-top:0!important}.theme-engineering .summary .line{margin-top:3px}.theme-engineering #catalog .col-md-6{width:33.333333%}}
@media(max-width:1199px) and (min-width:992px){.theme-engineering #catalog .col-md-6{width:50%}}
@media(max-width:991px){.theme-service main>.row>aside,.theme-engineering main>.row>aside{order:initial}.theme-engineering .summary{position:static}.theme-engineering #catalog .col-md-6{width:50%}}
@media(max-width:575px){.theme-engineering #catalog .col-md-6{width:100%}.theme-engineering .summary{border-radius:6px}.theme-service .summary:before{display:none}}
