.quote-head{border-left:4px solid var(--blue);padding-left:18px}.quote-form{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:20px;align-items:start}.quote-sections{min-width:0;display:grid;gap:18px}.quote-section h2{margin-bottom:18px}.quote-section .fields{gap:14px}.quote-totals{position:sticky;top:20px;border-top:4px solid var(--blue)}.quote-totals dl{margin:0}.quote-totals dl>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;font-size:12px;border-bottom:1px solid var(--line)}.quote-totals dt,.quote-totals dd{margin:0}.quote-totals dd{font-variant-numeric:tabular-nums;font-weight:700}.quote-total{display:block;background:var(--navy);color:white;padding:17px 12px;border-radius:6px;margin:16px 0;font-size:23px;overflow-wrap:anywhere}.quote-total small{display:block;font-size:11px;margin-bottom:7px;letter-spacing:.7px}.quote-totals button{width:100%;margin-top:10px}.quote-note{font-size:12px;line-height:1.6;color:var(--muted)}.quote-internal{background:#f3f5f4;border:1px dashed #b8c7cd;padding:14px;border-radius:7px}.quote-item{border:1px solid var(--line);border-left:3px solid var(--royal);border-radius:6px;padding:16px;margin:16px 0}.quote-item-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.quote-item-header strong{font-size:13px}.quote-item .item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quote-item .item-grid label{font-size:11px;font-weight:650}.quote-item input,.quote-item textarea,.quote-item select{display:block;width:100%;margin-top:7px}.quote-item .span-all{grid-column:1/-1}.quote-item .item-subtotal{text-align:right;font-size:13px;margin:12px 0 0}.quote-error{color:var(--red);white-space:pre-line;font-size:13px;line-height:1.5}.quote-error:empty{display:none}.quote-lock{padding:16px 18px;background:#e3edf8;border:1px solid #c3d5ea;border-radius:7px;margin-bottom:20px;font-size:13px;line-height:1.6}.quote-read{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:13px}.quote-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quote-list td{overflow-wrap:anywhere}.quote-list td:last-child{min-width:215px}.quote-list .row-actions{flex-wrap:wrap}.quote-toolbar{margin-bottom:20px}.quote-company{max-width:950px}.quote-company .actions{margin-top:20px}.quote-terms{margin-top:16px}.quote-form input:disabled,.quote-form textarea:disabled,.quote-form select:disabled{opacity:.8}.quote-filter label:first-child{flex:2}.quote-help{display:block;font-size:11px;line-height:1.5;margin:5px 0;color:var(--muted);font-weight:400}@media(max-width:1150px){.quote-form{grid-template-columns:minmax(0,1fr)}.quote-totals{position:static}.quote-totals .quote-buttons{display:flex;gap:10px}.quote-totals .quote-buttons button{flex:1}}@media(max-width:760px){.rail nav{overflow-x:auto}.rail nav button{font-size:11px;min-width:0;padding:11px 5px}.quote-head{padding-left:13px}.quote-item{padding:12px}.quote-item .item-grid{grid-template-columns:1fr 1fr}.quote-item .item-grid .span-all{grid-column:1/-1}.quote-parties{grid-template-columns:1fr}.quote-form .fields{grid-template-columns:1fr}.quote-form .fields .full{grid-column:1}.quote-list td:last-child{min-width:0}.quote-totals .quote-buttons{display:block}.quote-company .fields{grid-template-columns:1fr}.quote-sections,.quote-section{min-width:0}.quote-section input,.quote-section select,.quote-section textarea{min-width:0}.quote-list .row-actions button{min-height:42px}}
.quote-delete-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:10px;color:var(--navy);background:white}.quote-delete-dialog::backdrop{background:rgba(0,30,80,.58)}.quote-delete-dialog h2{margin:12px 0}.quote-delete-dialog p{font-size:13px;line-height:1.6}.quote-delete-dialog dl{padding:14px;background:#f0f4fa;overflow-wrap:anywhere}.quote-delete-dialog dt{font-size:11px;color:var(--muted);margin-top:10px}.quote-delete-dialog dd{margin:4px 0;font-weight:700}.quote-delete-dialog label{display:block;font-size:13px;line-height:1.6}.quote-delete-dialog input{display:block;width:100%;margin:10px 0 20px;box-sizing:border-box}.quote-delete-dialog .actions{justify-content:flex-end;flex-wrap:wrap;gap:10px}.quote-delete-safe{border-left:3px solid var(--royal);padding-left:12px}.quote-delete-dialog button{min-height:44px}.quote-delete-dialog button:focus-visible,.quote-delete-dialog input:focus-visible{outline:3px solid var(--royal);outline-offset:3px}
