.quote-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.quote-workspace>*{min-width:0}.quote-workspace h2{margin:1.5rem 0 .8rem}.quote-workspace h2:first-child{margin-top:0}
.quote-workspace p{line-height:1.6}.quote-workspace .field{display:flex;flex-direction:column;gap:.4rem;font-weight:600}
.quote-workspace input:not([type="checkbox"]):not([type="radio"]),.quote-workspace textarea,.quote-workspace select{width:100%;max-width:100%;min-height:44px;border:1px solid #b7c8bf;border-radius:8px;padding:.7rem;font:inherit;background:#fff;color:#173f2b;box-sizing:border-box}
.quote-workspace .check{min-width:0;line-height:1.4}.quote-workspace .check input[type="checkbox"]{width:18px;max-width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:0;padding:0}
.quote-workspace textarea{resize:vertical}.quote-workspace details{margin:1rem 0;padding:.8rem;border:1px solid #d6e0d8;border-radius:10px}
.quote-workspace summary{cursor:pointer;font-weight:700;min-height:32px}.quote-workspace .button.secondary{color:#173f2b;background:#f1f6ef;border:1px solid #afc4b6}
.quote-workspace button:disabled{opacity:.5;cursor:not-allowed}.quote-workspace button:focus-visible,.quote-workspace input:focus-visible,.quote-workspace select:focus-visible{outline:3px solid #478160;outline-offset:2px}
.quote-workspace .fields{margin:1rem 0}.quote-workspace .error{color:#982d20}.quote-review .button{margin-top:.6rem;width:100%}
.editor-line{padding:1rem 0;border-bottom:1px solid #d6e0d8;overflow-wrap:anywhere}.editor-line small{display:block;margin-top:.4rem}.editor-line p{white-space:pre-wrap}
.item-actions{display:flex;gap:.6rem;flex-wrap:wrap}.item-actions button{min-height:44px;min-width:75px;padding:.5rem .9rem;border:1px solid #afc4b6;border-radius:8px;background:#eef5ed;color:#173f2b;font:inherit;cursor:pointer}
#item-editor{padding:1rem;margin:1rem 0;background:#f5f8f3;border:2px solid #9ab8a1;border-radius:12px}
#item-editor[hidden],#add-service-panel[hidden]{display:none!important}.private-costs{background:#f1f4ef}
.customer-line{padding:1.1rem 0;border-bottom:1px solid #d6e0d8;break-inside:avoid;overflow-wrap:anywhere}
.customer-line h3{margin:0 0 .3rem;font-size:1.08rem}.customer-line small{font-size:.8rem;color:#546e5d}
.line-scope{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.line-price{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.quote-totals{margin:1.3rem 0}.quote-totals>div{display:flex;justify-content:space-between;gap:1rem;margin:.6rem 0}.quote-totals dd{margin:0;white-space:nowrap}
.quote-totals .grand-total{border-top:2px solid #173f2b;padding-top:1rem;font-weight:800;font-size:1.25rem}
.quote-print,.quote-print-host{display:none}.quote-print header img{width:70px;max-height:70px;object-fit:contain}.quote-print{color:#132e21;background:white;font:12pt/1.5 Arial,sans-serif}
.quote-print h1{font-size:23pt}.quote-print h2{font-size:19pt}.quote-print .print-total{font-size:19pt;font-weight:700}
@media(max-width:850px){.quote-workspace{grid-template-columns:minmax(0,1fr)}.quote-review{position:static}}
@media(max-width:480px){.quote-workspace .fields{grid-template-columns:minmax(0,1fr)}.quote-workspace .card{padding:18px}.quote-totals .grand-total{font-size:1.12rem}.quote-workspace .item-actions .button{width:100%}}
@media print{
  .shell>:not(#print-document):not(.quote-print-host){display:none!important}
  .quote-print,.quote-print-host,#print-document{display:block!important}
  .quote-print header,.quote-print h2,.quote-print h3{break-after:avoid}
  .quote-totals{break-inside:avoid}.customer-line{break-inside:auto}
  .customer-quote .actions,.customer-quote .response-note,.customer-quote #error,.customer-quote .print-customer{display:none!important}
  .customer-quote{box-shadow:none;border:0;max-width:none}.customer-quote .quote-hero{background:white;color:#173f2b}
  .feedback-trigger{display:none!important}
  @page{size:A4;margin:16mm}
}
