.x-customer-proposals{scroll-margin-top:110px}
.x-customer-proposals .panel-head>div{min-width:0}
.x-customer-proposals .panel-head p{margin-top:6px}
.x-customer-proposals .data-table{min-width:650px}
.x-customer-proposals .data-table th,.x-customer-proposals .data-table td{padding:12px 14px}
.x-customer-proposals .row-title{overflow-wrap:anywhere}
.x-customer-proposals button.row-title{border:0;padding:0;background:transparent;box-shadow:none;color:var(--ui-primary);font:inherit;font-weight:600;text-align:start;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.x-customer-proposals .x-pager{margin-top:16px;flex-wrap:wrap;gap:8px}
.x-customer-proposal-empty{padding:20px 0}
.x-customer-proposal-empty p{margin-top:8px;max-width:780px}
#dialog:has(.x-customer-proposal-editor),#dialog:has(.x-customer-proposal-detail),#dialog:has(.x-customer-document){width:min(940px,calc(100% - 32px));max-width:940px}
.x-customer-proposal-editor{gap:18px;min-width:0}
.x-customer-proposal-editor .field,.x-customer-proposal-editor fieldset{min-width:0}
.x-customer-proposal-editor input,.x-customer-proposal-editor textarea,.x-customer-proposal-editor select{width:100%}
.x-customer-proposal-editor textarea{min-height:80px;line-height:1.55}
.x-customer-proposal-editor .check-label input{width:18px}
.x-customer-proposal-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;align-items:start}
.x-customer-proposal-prices{display:grid;grid-template-columns:2fr 1fr;gap:14px}
.x-customer-proposal-line-editor{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:var(--ui-radius-control);display:grid;gap:12px}
.x-customer-proposal-line-editor legend{font-weight:700;font-size:15px;padding:0 6px;max-width:100%;overflow-wrap:anywhere}
.x-customer-proposal-line-editor .check-label{margin:4px 0}
.x-customer-proposal-ok{color:var(--ui-success)}
.x-customer-proposal-warning{color:#945400}
.x-customer-proposal-editor>.actions:last-child{position:sticky;bottom:0;background:var(--panel);padding:14px 0 8px;border-top:1px solid var(--line);z-index:2}
.x-customer-proposal-unsaved{padding:14px;border:1px solid var(--ui-danger-border);background:var(--ui-danger-soft);border-radius:var(--ui-radius-control)}
.x-customer-proposal-unsaved[hidden]{display:none}
.x-customer-proposal-unsaved .actions{margin-top:12px}
.x-customer-proposal-state{font-weight:600;color:var(--text)}
.x-customer-proposal-saved-lines{display:grid;border-top:1px solid var(--line)}
.x-customer-proposal-saved-lines>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:12px 0}
.x-customer-proposal-saved-lines strong{font-size:14px;overflow-wrap:anywhere}
.x-customer-proposal-saved-lines span{font-size:14px;flex-shrink:0}
.x-customer-proposal-versions{padding:12px 0}
.x-customer-proposal-versions summary{font-weight:600;cursor:pointer}
.x-customer-proposal-detail .notice{display:block}
.x-customer-proposal-detail li{overflow-wrap:anywhere}
.x-customer-proposal-print-controls{display:grid;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}
.x-customer-proposal-print-controls .notice{display:block}
.x-customer-document{max-width:900px;margin:auto;overflow-wrap:anywhere;color:var(--text);background:var(--panel)}
.x-customer-document header{padding-bottom:20px;border-bottom:2px solid var(--line)}
.x-customer-document header h2{font-size:26px;line-height:1.35;margin:10px 0 14px}
.x-customer-document header p+p{margin-top:6px}
.x-customer-document-kicker{font-weight:600;color:var(--ui-primary)}
.x-customer-document-intro{margin:20px 0}
.x-customer-document-line{padding:20px 0;border-bottom:1px solid var(--line)}
.x-customer-document-line h3{font-size:18px;margin-bottom:8px}
.x-customer-document-line p+p{margin-top:8px}
.x-customer-document-price{font-weight:700;font-size:18px}
.x-customer-document footer{padding:20px 0}
.x-customer-document footer ul{padding-left:20px;margin:12px 0}
.x-customer-document>section:not(.x-customer-document-line){padding:16px 0}
.x-customer-document>section:not(.x-customer-document-line) h3{margin-bottom:8px}
@media(max-width:700px){.x-customer-proposal-fields{grid-template-columns:1fr 1fr}.x-customer-proposal-fields>.field:first-child{grid-column:1/-1}.x-customer-proposals .panel-head{flex-wrap:wrap}.x-customer-proposals .panel-head>.actions{width:100%}.x-customer-proposal-saved-lines>div{flex-direction:column;gap:4px}}
@media(max-width:440px){#dialog:has(.x-customer-proposal-editor),#dialog:has(.x-customer-proposal-detail),#dialog:has(.x-customer-document){width:calc(100% - 16px)}.x-customer-proposal-fields,.x-customer-proposal-prices{grid-template-columns:1fr}.x-customer-proposal-line-editor{padding:12px}.x-customer-document header h2{font-size:23px}.x-customer-proposal-print-controls .btn{max-width:100%;white-space:normal}}
@media print{
 body.x-customer-proposal-printing>#app,body.x-customer-proposal-printing>#toast,body.x-customer-proposal-printing>.skip-link{display:none!important}
 body.x-customer-proposal-printing{background:#fff!important;color:#111!important}
 body.x-customer-proposal-printing>#dialog{position:static!important;display:block!important;width:auto!important;max-width:none!important;max-height:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;color:#111!important}
 body.x-customer-proposal-printing>#dialog::backdrop{display:none!important}
 body.x-customer-proposal-printing>#dialog>.dialog-head,body.x-customer-proposal-printing .x-customer-proposal-print-controls{display:none!important}
 body.x-customer-proposal-printing>#dialog>.dialog-body{max-height:none!important;overflow:visible!important;padding:0!important}
 body.x-customer-proposal-printing .x-customer-document{max-width:none!important;color:#111!important;background:#fff!important;font-size:10pt}
 body.x-customer-proposal-printing .x-customer-document-line{break-inside:avoid}
 body.x-customer-proposal-printing .x-customer-document header h2{font-size:18pt}
 body.x-customer-proposal-printing .x-customer-document-kicker{color:#111!important}
}
