.quote-toolbar{grid-template-columns:minmax(260px,1fr) 210px 170px auto}.quote-card p{margin:3px 0}.badge.done{background:#e8eef6;color:#315f83}.quote-hero{align-items:start}.hero-badge{background:#fff;color:var(--navy);font-weight:800}.hero-actions{margin-top:14px}.hero-actions button{color:#fff;border-color:#ffffff66;background:#ffffff14}.quote-context{display:flex;gap:28px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 18px;color:var(--muted)}.quote-context b{color:var(--ink);margin-left:6px}.quote-plans{display:grid;gap:18px}.plan-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.plan-head{display:flex;justify-content:space-between;gap:16px;padding:18px 20px}.plan-head h2{margin:3px 0 5px}.plan-head p{margin:0;color:var(--muted)}.plan-code{font-size:12px;color:var(--green2);font-weight:800}.version-tabs{display:flex;gap:8px;overflow:auto;padding:0 20px 12px}.version-tabs button{white-space:nowrap;border:1px solid #cbd9e1;background:#fff;border-radius:99px;padding:7px 12px;color:#526774}.version-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.version-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border-block:1px solid var(--line)}.version-summary div{background:#f8fafb;padding:13px 16px}.version-summary small,.version-summary b{display:block}.version-summary small{color:var(--muted);margin-bottom:5px}.version-summary b{font-size:20px}.version-summary .total{background:#e8f4ef}.version-summary .total b{color:var(--green2)}.version-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;background:#f8fafb}.version-actions button,.quote-section-head button{border:1px solid #bdced7;background:#fff;border-radius:8px;padding:8px 12px}.version-actions .primary{border:0}.locked-note{color:var(--muted);padding:8px}.quote-section{margin:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.quote-section-head{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;background:#eef4f6}.quote-section-head h3{margin:0}.quote-table{min-width:1050px!important}.quote-table td small{display:block;color:var(--muted);margin-top:4px;max-width:460px}.order-result{margin-top:20px}.product-lookup{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.product-lookup label{grid-column:1}.product-lookup select{grid-column:1}.product-lookup small{grid-column:1/-1}.result-note{color:var(--muted);margin:-5px 0 12px}
@media(max-width:850px){.quote-toolbar{grid-template-columns:1fr}.plan-head{display:block}.plan-head .mini-actions{margin-top:12px}.version-summary{grid-template-columns:1fr 1fr}.version-summary .total{grid-column:1/-1}.version-actions{flex-wrap:wrap}.version-actions button{flex:1}.quote-context{display:grid;gap:8px}.product-lookup{grid-template-columns:1fr}.product-lookup label,.product-lookup select,.product-lookup small{grid-column:1}.quote-section{margin:8px}.detail-section-title{align-items:flex-start;gap:10px}.detail-section-title small{max-width:55%}}
@media(max-width:430px){.version-summary b{font-size:17px}}
.version-actions .primary{background:var(--green);color:#fff;border:0}
.order-money{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.order-money span{background:#f4f7f8;border-radius:9px;padding:9px;color:var(--muted)}.order-money b{display:block;color:var(--ink);margin-top:3px}.project-total-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:15px 0}.project-total-grid div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;box-shadow:var(--shadow)}.project-total-grid small,.project-total-grid b{display:block}.project-total-grid small{color:var(--muted);margin-bottom:6px}.project-total-grid b{font-size:23px}.project-total-grid .focus{background:#e8f4ef;border-color:#abd5c6}.project-total-grid .focus b{color:var(--green2)}.negative{color:var(--danger)!important}.ops-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.contract-card h3{margin:13px 0 4px}.contract-card p{color:var(--muted)}.payment-status{display:flex;justify-content:space-between;background:#eef6f3;border-radius:10px;padding:12px;margin:8px 0}.payment-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:11px 2px}.payment-row b,.payment-row span{display:block}.payment-row span,.payment-row small{color:var(--muted)}.danger-link{border:0;background:transparent;color:var(--danger);padding:5px}.changes-panel .panel-head p{margin:4px 0;color:var(--muted)}.changes-list{display:grid;gap:12px}.change-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}.change-head{display:flex;justify-content:space-between;gap:15px;align-items:start;padding:14px}.change-head b{margin-left:8px}.change-head p{margin:5px 0 0;color:var(--muted)}.change-head>strong{font-size:22px;color:var(--green2)}.change-items>div{display:grid;grid-template-columns:60px 1fr auto auto;gap:12px;padding:9px 14px;border-top:1px solid #edf1f3}.change-type{color:var(--green2);font-weight:800}.change-type.deduct{color:var(--danger)}.change-actions{justify-content:flex-end;padding:11px 14px;background:#f8fafb}
@media(max-width:850px){.project-total-grid{grid-template-columns:1fr 1fr}.project-total-grid .focus{grid-column:1/-1}.ops-grid{grid-template-columns:1fr}.order-money{grid-template-columns:1fr 1fr 1fr}.change-head{display:block}.change-head>strong{display:block;margin-top:8px}.change-items>div{grid-template-columns:55px 1fr}.change-items>div span:nth-child(3),.change-items>div strong{text-align:right}.change-actions{flex-wrap:wrap}.change-actions button{flex:1}}
.quote-section-head>div small{display:block;color:var(--muted);margin-top:3px}.quote-item-list{display:grid;gap:1px;background:#e4ebef}.quote-item-card{display:grid;grid-template-columns:150px minmax(220px,1.7fr) repeat(5,minmax(95px,.7fr)) auto;gap:12px;align-items:center;background:#fff;padding:13px}.quote-item-main h4{font-size:17px;margin:5px 0 3px}.quote-item-main p,.quote-item-main small{display:block;color:var(--muted);margin:2px 0}.item-type{display:inline-block;color:var(--green2);font-size:12px;font-weight:800}.quote-item-fact small,.quote-item-fact b{display:block}.quote-item-fact small{color:var(--muted);margin-bottom:5px}.quote-item-fact.total b{font-size:17px;color:var(--navy)}.quote-photo-stack{display:flex;gap:5px;overflow-x:auto}.quote-photo{position:relative;flex:0 0 92px}.quote-photo img,.photo-empty{width:92px;height:76px;border-radius:9px;object-fit:cover;border:1px solid var(--line);background:#f3f6f8}.quote-photo button{position:absolute;right:3px;top:3px;width:23px;height:23px;padding:0;border:0;border-radius:50%;background:#a52f2fe8;color:#fff;font-size:17px}.photo-empty{display:grid;place-items:center;color:var(--muted);font-size:12px}.photo-empty span{display:block;font-size:24px;line-height:18px}.quote-photo-editor{border:1px solid #cfe0e7;border-radius:12px;background:#f5faf8;padding:14px}.quote-photo-editor>div:first-child{display:flex;justify-content:space-between;gap:15px}.quote-photo-editor small{color:var(--muted)}.photo-picker{display:block;margin-top:12px}.photo-picker input{position:absolute;opacity:0;pointer-events:none}.photo-picker span{display:inline-block;background:var(--green);color:#fff;padding:10px 16px;border-radius:9px;font-weight:700}.existing-photo-grid,.new-photo-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.existing-photo-grid img,.new-photo-preview img{width:100px;height:80px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.internal-fields{border:1px dashed #b9c9d2;border-radius:10px;padding:10px 12px}.internal-fields summary{cursor:pointer;color:var(--muted);font-weight:700}.internal-fields>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
@media(max-width:1100px){.quote-item-card{grid-template-columns:120px minmax(220px,1fr) repeat(3,minmax(90px,.6fr))}.quote-item-fact:nth-of-type(4),.quote-item-fact:nth-of-type(6){display:none}.quote-item-actions{grid-column:2/-1;justify-content:flex-end}}
@media(max-width:650px){.quote-section{margin:8px 0}.quote-section-head{align-items:flex-start;gap:10px}.quote-section-head .primary{padding:9px 11px}.quote-item-card{grid-template-columns:100px 1fr;gap:10px;padding:12px}.quote-photo-cell{grid-row:1/3}.quote-item-fact{background:#f5f7f8;border-radius:8px;padding:8px}.quote-item-fact:nth-of-type(n){display:block}.quote-item-fact.total{background:#e8f4ef}.quote-item-actions{grid-column:1/-1}.quote-item-actions button{flex:1}.quote-photo,.quote-photo img,.photo-empty{width:88px;height:74px}.quote-photo-stack{display:grid}.quote-photo-editor>div:first-child{display:block}.quote-photo-editor small{display:block;margin-top:5px}.internal-fields>div{grid-template-columns:1fr}}
.batch-item-form{padding:16px}.batch-paste{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;background:#edf7f3;border:1px solid #c9e1d8;border-radius:12px;padding:13px;margin-bottom:12px}.batch-paste div,.batch-paste textarea{grid-column:1}.batch-paste small{display:block;color:var(--muted);margin-top:3px}.batch-paste textarea{min-height:70px}.batch-paste button,.batch-add-row{border:1px solid #91bdad;background:#fff;color:var(--green2);border-radius:8px;padding:10px 13px;font-weight:700}.batch-rows{display:grid;gap:10px}.batch-item-row{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}.batch-row-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.batch-fields{display:grid;grid-template-columns:120px 1.2fr 1.5fr 80px 70px 100px;gap:8px;align-items:end}.batch-fields label span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.batch-fields input{padding:9px}.batch-photo input{padding:7px;font-size:12px}.batch-fields .check{align-self:center}.batch-add-row{width:100%;margin:12px 0}.batch-item-form .form-actions{display:flex}.batch-item-form>.error{min-height:20px}
@media(max-width:850px){.batch-item-form{padding:10px}.batch-paste{grid-template-columns:1fr}.batch-paste div,.batch-paste textarea{grid-column:1}.batch-fields{grid-template-columns:1fr 1fr}.batch-photo{grid-column:1/-1}.batch-fields label:nth-child(2),.batch-fields label:nth-child(3){grid-column:1/-1}.batch-item-form .form-actions{display:flex}.quote-section-head>.mini-actions{flex-wrap:wrap}}
@media(max-width:430px){.batch-fields{grid-template-columns:1fr}.batch-photo,.batch-fields label:nth-child(2),.batch-fields label:nth-child(3){grid-column:1}.quote-section-head{display:block}.quote-section-head>.mini-actions{margin-top:10px}.quote-section-head>.mini-actions button{flex:1}}
.quote-sheet{overflow:hidden}.quote-sheet-head,.quote-sheet-row{display:grid;grid-template-columns:150px minmax(170px,1.2fr) minmax(170px,1.4fr) minmax(100px,.7fr) 78px 65px 100px 60px 55px;gap:1px;background:var(--line);align-items:stretch}.quote-sheet-head{background:var(--navy);color:#fff;font-size:12px;font-weight:700}.quote-sheet-head span{padding:9px 8px}.quote-sheet-body{display:grid;gap:1px;background:var(--line)}.quote-sheet-row{background:var(--line)}.quote-sheet-row>label,.quote-sheet-row>.qsheet-photo-cell,.quote-sheet-row>.qsheet-remove,.quote-sheet-row>span{background:#fff;min-width:0}.quote-sheet-row>label{display:flex;align-items:center;margin:0}.quote-sheet-row>label>span{display:none}.quote-sheet-row input[type=text],.quote-sheet-row input:not([type]){width:100%}.quote-sheet-row input{border:0;border-radius:0;background:#fff;padding:11px 8px;min-width:0}.quote-sheet-row input:focus{outline:2px solid var(--green);outline-offset:-2px;background:#f5fffb}.quote-sheet-row input:disabled{color:var(--navy);opacity:1}.qsheet-install{justify-content:center}.qsheet-install input{width:18px;height:18px}.qsheet-remove{border:0;border-radius:0;padding:6px;color:var(--muted)}.qsheet-photo-cell{padding:5px;min-height:76px;outline:none}.qsheet-photo-cell:focus{box-shadow:inset 0 0 0 2px var(--green)}.qsheet-photo-slots{display:flex;gap:4px;height:100%;align-items:center;position:relative}.qsheet-thumb{position:relative;display:block}.qsheet-thumb img,.qsheet-new-photos img{width:52px;height:58px;border:1px solid var(--line);border-radius:5px;object-fit:contain;background:#fff}.qsheet-thumb button{position:absolute;right:2px;top:2px;border:0;border-radius:50%;width:19px;height:19px;padding:0;background:#a52f2fe8;color:#fff}.qsheet-new-photos{display:flex;gap:4px}.qsheet-photo-add{display:grid!important;place-items:center;align-content:center;width:62px;min-height:58px;border:1px dashed #8caab8;border-radius:6px;background:#f4f8fa!important;color:var(--green2);cursor:pointer;text-align:center}.qsheet-photo-add input{position:absolute;opacity:0;pointer-events:none}.qsheet-photo-add b{font-size:12px}.qsheet-photo-add small{font-size:10px;color:var(--muted)}.qsheet-more{font-size:10px;color:var(--muted)}.quote-sheet-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;background:#f5f8fa}.quote-sheet-tip{color:var(--muted);font-size:12px}.quote-sheet-footer button{min-width:120px}
@media(max-width:900px){.quote-sheet-head{display:none}.quote-sheet-body{gap:10px;background:transparent;padding:10px}.quote-sheet-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.quote-sheet-row>.qsheet-photo-cell{grid-column:1/-1;background:#f5f8fa;border-radius:8px}.quote-sheet-row>label{display:block;background:#fff}.quote-sheet-row>label>span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}.quote-sheet-row input{border:1px solid var(--line);border-radius:7px;padding:9px;width:100%}.quote-sheet-row>label:nth-of-type(1),.quote-sheet-row>label:nth-of-type(2){grid-column:1/-1}.quote-sheet-row>.qsheet-install{display:flex;gap:8px;align-items:center}.quote-sheet-row>.qsheet-install span{margin:0}.qsheet-remove{border:1px solid var(--line);border-radius:7px}.quote-sheet-footer{position:sticky;bottom:0;z-index:4}.quote-sheet-tip{max-width:65%}}
@media(max-width:480px){.quote-sheet-row{grid-template-columns:1fr}.quote-sheet-row>.qsheet-photo-cell,.quote-sheet-row>label:nth-of-type(1),.quote-sheet-row>label:nth-of-type(2){grid-column:1}.quote-sheet-footer{display:block}.quote-sheet-tip{display:block;max-width:none;margin-bottom:8px}.quote-sheet-footer button{width:100%}}
.quote-sheet-row input:not([type=checkbox]):not([type=file]):not([type=hidden]){width:100%}
.order-export-bar{justify-content:flex-end;margin:0 0 12px}
.order-export-bar{align-items:center}.document-label{color:var(--navy);margin-right:auto}.product-card{grid-template-columns:96px 1fr auto}.product-cover{width:84px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}.empty-cover{display:grid;place-items:center;color:var(--muted);font-size:12px;background:#f4f7f8}.product-card .code{display:block;margin-bottom:3px}.product-spec-note{display:flex;flex-direction:column;gap:4px;background:#edf6f2;border-left:4px solid var(--green);padding:12px 14px;border-radius:8px}.product-spec-note span,.product-photo-master small{color:var(--muted)}.product-photo-master{border:1px solid #cfe0e7;border-radius:12px;padding:14px;background:#f7fafb;outline:none}.product-photo-master:focus{box-shadow:inset 0 0 0 2px var(--green)}.product-master-existing{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}.product-master-existing>span,#productPhotoPreview{display:flex;gap:9px}.product-master-existing span{position:relative}.product-master-existing img{width:130px;height:100px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px}.product-master-existing button{position:absolute;right:4px;top:4px;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#aa3b3be8;color:#fff}.product-spec-form textarea{min-height:74px}
@media(max-width:650px){.product-card{grid-template-columns:76px 1fr}.product-cover{width:70px;height:66px}.product-card .mini-actions{grid-column:1/-1}.order-export-bar{justify-content:stretch}.order-export-bar .document-label{width:100%;margin:0}.order-export-bar button{flex:1}.product-master-existing img{width:96px;height:82px}}
.quote-print-only{display:none}
@media print{
  @page{size:A4;margin:8mm}
  body{background:#fff!important;font-size:12pt;color:#111}
  header,aside,.back,.hero-actions,.version-actions,.mini-actions,.order-export-bar,button,#toast{display:none!important}
  main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
  .page{display:none!important}.page.active{display:block!important}
  .detail-hero,.panel,.plan-card,.change-card,.contract-card,.project-total-grid>div{box-shadow:none!important;border:1px solid #888!important;break-inside:avoid}
  .quote-table{min-width:0!important;font-size:10pt}.quote-table th,.quote-table td{padding:4px!important}
  .quote-item-card{grid-template-columns:95px minmax(190px,1.6fr) repeat(5,minmax(65px,.7fr));gap:6px;padding:7px;break-inside:avoid;font-size:10pt}.quote-photo,.quote-photo img,.photo-empty{width:82px;height:68px}.quote-item-actions{display:none!important}
  .project-total-grid,.version-summary{grid-template-columns:repeat(5,1fr)!important}
  body[data-print-version] #quoteDetail>*{display:none!important}
  body[data-print-version] #quoteDetail>.quote-plans{display:block!important}
  body[data-print-version] .quote-plans>.plan-card{display:none!important}
  body[data-print-version] .quote-plans>.plan-card.print-target{display:block!important;border:0!important;border-radius:0!important}
  body[data-print-version] .plan-card.print-target>:not(.quote-print-only){display:none!important}
  body[data-print-version] .quote-print-only{--qp-primary:#28564a;--qp-accent:#5f786f;--qp-pale:#edf3f0;display:block!important;font-family:"Microsoft JhengHei",sans-serif;color:#26332f;font-size:10.5pt}body[data-print-version] .quote-print-only.sheng-rui{--qp-primary:#173e57;--qp-accent:#274f6b;--qp-pale:#eef3f7;color:#1f2d36}
  .qp-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--qp-primary);padding:0 5px 10px;margin-bottom:8px;min-height:76px}.qp-company{display:flex;align-items:center;gap:14px}.qp-company img{width:54px;height:72px;object-fit:contain;filter:grayscale(1)}.qp-company h1{font-size:18pt;letter-spacing:1.8px;margin:0;color:var(--qp-primary)}.qp-company h1::after{content:"JINGTING LIGHT";display:block;margin-top:3px;font:600 9pt/1.1 "Bahnschrift Light","Arial Narrow",sans-serif;letter-spacing:3px;color:#151515}.quote-print-only.sheng-rui .qp-company h1::after{content:"SHENG RUI LIGHTING"}.qp-company small{display:block;margin-top:6px;font-size:7.8pt;color:#56636c}.qp-document{text-align:right;min-width:145px}.qp-document::before{content:"LIGHTING\A DESIGN\A FURNITURE";white-space:pre;display:block;margin-bottom:5px;font:400 9pt/1.08 "Bahnschrift Light","Arial Narrow",sans-serif;letter-spacing:2.3px;color:#171717}.quote-print-only.sheng-rui .qp-document::before{content:"LIGHTING\A DESIGN\A PROJECT"}.qp-document strong,.qp-document small,.qp-document em{display:block}.qp-document strong{font-size:13pt;letter-spacing:4px;color:var(--qp-primary)}.qp-document small{font:400 7pt "Bahnschrift Light","Arial Narrow",sans-serif;letter-spacing:2.4px;color:#52616b}.qp-document em{font-style:normal;font-size:7.5pt;margin-top:3px;color:#66737b}
  .qp-meta{display:grid;grid-template-columns:1fr 1fr;border:1px solid #b9b2af;margin-bottom:12px}.qp-meta span{display:grid;grid-template-columns:88px 1fr;min-height:26px;border-bottom:1px solid #d4cfcd}.qp-meta span:nth-child(odd){border-right:1px solid #b9b2af}.qp-meta span:nth-last-child(-n+2){border-bottom:0}.qp-meta b{display:flex;align-items:center;padding:4px 7px;background:var(--qp-pale);color:var(--qp-accent);font-size:9pt}.qp-meta span:not(b){align-items:center}.qp-meta span{padding:0}.qp-meta span::after{content:""}.qp-meta b+*{padding:4px 8px}
  .qp-head,.qp-row{display:grid;grid-template-columns:8% 21% 31% 7% 7% 9% 10% 7%;align-items:stretch}.qp-head{background:var(--qp-primary);color:#fff;font-size:9pt;font-weight:700;text-align:center;padding:7px 0}.qp-section-title{padding:5px 9px;background:var(--qp-pale);border-bottom:2px solid var(--qp-accent);color:var(--qp-accent);font-weight:700;break-after:avoid}.qp-row{min-height:120px;border-bottom:1px solid #777;break-inside:avoid}.qp-row>*,.qp-row>b{display:flex;align-items:center;justify-content:center;padding:6px}.qp-row .qp-description{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;white-space:normal}.qp-description span{display:block;margin:1px 0}.qp-description span:nth-child(2){font-weight:700;font-size:11pt;color:var(--qp-primary)}.qp-photos{display:flex!important;gap:3px;overflow:hidden;padding:4px!important}.qp-photos img{width:calc(50% - 2px);height:108px;object-fit:contain}.qp-totals{width:38%;margin-left:auto;margin-top:9px}.qp-totals div{display:grid;grid-template-columns:1fr 1.15fr;border-bottom:1px solid #a99f9b;padding:5px 8px}.qp-totals span{text-align:right;padding-right:18px}.qp-totals b{text-align:right}.qp-totals .grand{background:var(--qp-pale);border-bottom:2px solid var(--qp-primary);color:var(--qp-accent);font-size:12pt}.qp-terms{margin-top:12px;border:1px solid #a99f9b;break-inside:avoid}.qp-terms h3{margin:0;padding:5px 8px;background:var(--qp-primary);color:#fff;font-size:10pt}.qp-terms>div{padding:7px 9px}.qp-terms span{display:block;margin:2px 0}.qp-footer{border-top:1px solid var(--qp-primary);margin-top:10px;padding-top:7px;text-align:center;color:#615956;font-size:8.5pt}
}
.quote-sheet-head,.quote-sheet-row{grid-template-columns:150px minmax(170px,1.15fr) minmax(190px,1.45fr) minmax(100px,.7fr) 78px 65px 100px 60px minmax(120px,.8fr) 55px}
@media(max-width:900px){.quote-sheet-row>label:nth-of-type(8){grid-column:1/-1}}
@media print{
  @page{size:A4 portrait;margin:6mm 5mm 7mm}
  body{font-family:"Microsoft JhengHei",sans-serif!important;font-size:12pt!important}
  body[data-print-version] .quote-print-only{font-family:"Microsoft JhengHei",sans-serif;font-size:12pt}
  .qp-brand{min-height:78px;padding:5px 8px 8px;margin-bottom:8px;align-items:center}.qp-company{gap:12px;flex:1;min-width:0}.qp-company img{width:54px;height:70px;object-fit:contain}.qp-company h1{font-size:18pt;line-height:1.1}.qp-company h1::after{font-size:8pt;margin-top:3px}.qp-company small{font-size:7.5pt;margin-top:5px;white-space:nowrap}.qp-document{min-width:190px;padding-right:8px;display:flex;flex-direction:column;align-items:center;justify-content:center}.qp-document::before{display:none}.qp-document::after{content:"LIGHTING / DESIGN / FURNITURE";display:block;margin-top:3px;font:400 7.5pt/1 "Bahnschrift Light","Arial Narrow",sans-serif;letter-spacing:1.7px;color:#171717}.quote-print-only.sheng-rui .qp-document::after{content:"LIGHTING DESIGN PROJECT"}.qp-document strong{font-size:17pt;line-height:1.08;letter-spacing:5px}.qp-document small{display:none!important}.qp-document em{font-size:8pt;margin-top:3px}
  .qp-meta{margin-bottom:8px}.qp-meta span{min-height:34px;font-size:12pt;line-height:1.25}.qp-meta b{font-size:12pt;font-weight:700;padding:5px 8px;white-space:nowrap}.qp-head{font-size:12pt;font-weight:700;padding:8px 0}.qp-section-title{font-size:12pt;font-weight:700;padding:6px 9px}.qp-row{min-height:130px;font-size:12pt;font-weight:400;line-height:1.35;break-inside:avoid;page-break-inside:avoid}.qp-row>*,.qp-row>b{align-items:center;padding:7px}.qp-row>b{font-weight:400}.qp-row .qp-description{justify-content:center}.qp-description span:nth-child(2){font-size:12pt;font-weight:700}.qp-row>span:nth-child(6),.qp-row>span:nth-child(7){justify-content:flex-end}.qp-row>span:nth-child(8){justify-content:flex-start}.qp-photos img{height:116px}
  .qp-totals{width:42%;font-size:12pt}.qp-totals div{padding:6px 8px;align-items:center}.qp-totals .grand{font-size:14pt}.qp-terms{font-size:12pt}.qp-terms h3{font-size:12pt;padding:7px 9px}.qp-terms>div{padding:9px 10px;line-height:1.55}.qp-footer{font-size:9pt}
}
@media print{
  .qp-meta span{grid-template-columns:122px 1fr}.qp-row{min-height:118px}.qp-photos img{height:104px}.qp-terms>div{line-height:1.4;padding:7px 10px}.qp-footer{position:fixed;left:5mm;right:5mm;bottom:0;margin:0;padding:4px 0 0;background:#fff}
}
@media print{
  .qp-item-table{width:100%;border-collapse:collapse;table-layout:fixed;font:12pt "Microsoft JhengHei",sans-serif}.qp-item-table thead{display:table-header-group}.qp-item-table thead th{background:var(--qp-primary);color:#fff;font-weight:700;text-align:center;vertical-align:middle;padding:8px 4px}.qp-item-table tbody tr{break-inside:avoid;page-break-inside:avoid}.qp-table-row{height:118px;border-bottom:1px solid #777}.qp-item-table td{vertical-align:middle;padding:7px}.qp-code,.qp-center{text-align:center}.qp-number{text-align:right}.qp-table-description{text-align:left}.qp-table-description span{display:block;margin:1px 0}.qp-table-description span:nth-child(2){font-weight:700;color:var(--qp-primary)}.qp-table-photos{display:flex;align-items:center;justify-content:center;gap:3px;height:104px}.qp-table-photos img{width:calc(50% - 2px);max-height:104px;object-fit:contain}.qp-table-remark{text-align:left}.qp-table-section td{background:var(--qp-pale);color:var(--qp-accent);font-weight:700;padding:6px 9px;border-bottom:2px solid var(--qp-accent)}
}
