.jr-docs{font-family:Montserrat,Arial,sans-serif;color:#252525}.jr-docs *{box-sizing:border-box}.jr-docs h1{font-size:34px;letter-spacing:.025em;margin:12px 0}.jr-docs h2{font-size:21px;font-weight:600}.jr-docs h3{font-size:15px;margin:0}.jr-docs .doc-muted{color:#655f57;font-size:12px}.jr-docs button,.jr-docs input,.jr-docs select,.jr-docs textarea{font:inherit;font-size:13px;border:1px solid #d1cac2;border-radius:2px;padding:10px 13px;color:inherit;background:white}.jr-docs button{cursor:pointer}.jr-docs button.primary{background:#252525;color:#fff;border-color:#252525}.jr-docs button:disabled{opacity:.5;cursor:wait}.jr-docs label{display:block;font-size:11px;color:#514d47;font-weight:600}.jr-docs label input,.jr-docs label textarea,.jr-docs label select{display:block;margin-top:7px;width:100%;color:#252525}.jr-docs textarea{min-height:90px;resize:vertical}.jr-docs .doc-head,.jr-docs .doc-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.jr-docs .doc-actions{justify-content:flex-start;margin:18px 0}.jr-docs .doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:25px 0;border-top:1px solid #d9d3cc;border-bottom:1px solid #d9d3cc}.jr-docs .doc-grid .wide{grid-column:1/-1}.jr-docs .doc-grid img{max-width:150px;max-height:90px;object-fit:contain}.jr-docs .doc-notice{padding:13px 0;min-height:45px;font-size:13px;white-space:pre-line}.jr-docs .doc-notice.error{color:#8a3c46}.jr-docs .doc-row{padding:22px 24px;background:white;border-top:1px solid #ddd7cf;display:grid;grid-template-columns:minmax(0,1fr) 180px 100px;align-items:center;gap:20px}.jr-docs .doc-row:last-child{border-bottom:1px solid #ddd7cf}.jr-docs .doc-room{padding:12px 18px;background:#252525;color:#fff;font-size:13px;font-weight:600;margin:24px 0 0}.jr-docs details{margin-top:12px;font-size:12px}.jr-docs summary{cursor:pointer;color:#514d47}.jr-docs .doc-checks{display:flex;flex-wrap:wrap;gap:15px;font-size:12px}.jr-docs .doc-checks label{display:flex;align-items:center;gap:7px}.jr-docs .doc-checks input{width:auto;margin:0}.jr-docs .doc-total{margin-left:auto;width:330px;max-width:100%;padding:20px 0}.jr-docs .doc-total>div{display:flex;justify-content:space-between;padding:7px 0}.jr-docs .doc-total>div:last-child{border-top:1px solid #d1cac2;font-weight:600;font-size:16px;margin-top:10px;padding-top:16px}.jr-docs .doc-pdf{width:100%;height:75vh;border:1px solid #d8d1c9;background:white}.jr-docs .doc-pdf-close{margin:12px 0}.jr-docs [hidden]{display:none!important}.jr-docs button:focus-visible,.jr-docs input:focus-visible{outline:2px solid #7a8d94;outline-offset:2px}
.jr-docs{container-type:inline-size}
.jr-docs .doc-list-toolbar{display:grid;grid-template-columns:auto minmax(250px,420px) minmax(0,1fr);gap:18px;align-items:center}.jr-docs .doc-list-toolbar [data-search]{width:100%;min-width:0;height:42px}.jr-docs .doc-settings-link{color:#766d63;font-size:13px;text-decoration:none;justify-self:end;white-space:nowrap}.jr-docs .doc-settings-link:hover{text-decoration:underline;text-underline-offset:4px}.jr-docs .doc-settings-link:focus-visible{outline:2px solid #7a8d94;outline-offset:4px}
@container(max-width:700px){.jr-docs .doc-list-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:14px}.jr-docs .doc-list-toolbar .primary{justify-self:start;grid-column:1;grid-row:1}.jr-docs .doc-list-toolbar .doc-settings-link{grid-column:2;grid-row:1}.jr-docs .doc-list-toolbar [data-search]{grid-column:1/-1;grid-row:2}}
@container(max-width:360px){.jr-docs .doc-list-toolbar{grid-template-columns:minmax(0,1fr)}.jr-docs .doc-list-toolbar .doc-settings-link{grid-column:1;grid-row:3}.jr-docs .doc-list-toolbar [data-search]{grid-column:1;grid-row:2}}

/* Designer items use the same compact rows; entry and edits live in a dialog. */
.jr-docs .doc-own-dialog{width:min(840px,94vw);max-height:90dvh;margin:auto;padding:0;border:1px solid #cfc9c2;border-radius:4px;background:#fff;color:#252525;box-shadow:0 16px 70px #0003}
.jr-docs .doc-own-dialog::backdrop{background:#25252566}
.jr-docs .doc-own-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:20px 24px 16px;border-bottom:1px solid #d8d1c9}
.jr-docs .doc-own-head h2{margin:0 0 5px;font-size:21px}.jr-docs .doc-own-head p{margin:0;color:#5f5b55;font-size:12px}
.jr-docs .doc-dialog-close{width:30px;height:30px;padding:0;border-color:transparent;font-size:24px;line-height:1}
.jr-docs .doc-own-body{display:grid;grid-template-columns:126px minmax(0,1fr);gap:24px;padding:20px 24px}
.jr-docs .doc-own-photo{display:flex;flex-direction:column;gap:10px;min-width:0}
.jr-docs .doc-own-photo-preview{height:126px;border:1px solid #d8d1c9;display:grid;place-items:center;background:#fff;color:#625e58;font-size:12px}
.jr-docs .doc-own-photo-preview img{width:100%;height:124px;object-fit:contain}
.jr-docs .doc-upload-button{position:relative;border:1px solid #b5ada4;padding:9px 8px;text-align:center;cursor:pointer;color:#252525}
.jr-docs .doc-upload-button input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;cursor:pointer}
.jr-docs .doc-upload-button:focus-within{outline:2px solid #7a8d94;outline-offset:2px}
.jr-docs .doc-own-photo small{font-size:10px;color:#5f5b55;line-height:1.6}
.jr-docs .doc-photo-remove{border:0;padding:0;text-decoration:underline;text-underline-offset:3px;font-size:11px;background:transparent}
.jr-docs .doc-own-fields{display:grid;gap:14px;min-width:0}
.jr-docs .doc-own-identity{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}
.jr-docs .doc-own-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.jr-docs .doc-own-fields textarea{min-height:88px;line-height:1.6}
.jr-docs .doc-own-dialog label{color:#403d39;font-size:12px;font-weight:600}
.jr-docs .doc-own-dialog input,.jr-docs .doc-own-dialog select,.jr-docs .doc-own-dialog textarea{font-weight:400;min-width:0}
.jr-docs .doc-own-extra{margin:0}.jr-docs .doc-own-extra summary{color:#4a4641;font-weight:600;padding:2px 0}
.jr-docs .doc-own-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:12px}
.jr-docs .doc-own-pricing{display:grid;grid-template-columns:74px minmax(100px,1fr) minmax(86px,1fr) minmax(120px,1fr);gap:18px;align-items:end;border-top:1px solid #d8d1c9;padding:18px 24px;background:#f8f7f5}
.jr-docs .doc-own-total{text-align:right}.jr-docs .doc-own-total span{font-size:12px;color:#403d39;font-weight:600}.jr-docs .doc-own-total strong{display:block;font-size:19px;line-height:40px;margin-top:7px;white-space:nowrap}
.jr-docs .doc-own-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid #d8d1c9}.jr-docs .doc-own-actions>div{display:flex;gap:10px}.jr-docs .doc-own-actions>span{color:#5f5b55;font-size:11px}
.jr-docs [data-own-error]{padding:12px 24px;margin:0;color:#8a3c46;font-size:12px}
.jr-docs .doc-edit-item{font-size:11px;font-weight:600;padding:2px 0;background:transparent;border:0;border-bottom:1px solid #8e857a;line-height:1.5;color:#4a4641}
@media(max-width:600px){.jr-docs .doc-own-body{grid-template-columns:90px minmax(0,1fr);gap:16px;padding:16px}.jr-docs .doc-own-photo-preview{height:90px}.jr-docs .doc-own-photo-preview img{height:88px}.jr-docs .doc-own-identity,.jr-docs .doc-own-pair,.jr-docs .doc-own-specs{grid-template-columns:1fr}.jr-docs .doc-own-head,.jr-docs .doc-own-actions{padding:16px}.jr-docs .doc-own-pricing{padding:16px;gap:12px;grid-template-columns:60px 1fr 1fr}.jr-docs .doc-own-total{grid-column:2/-1}.jr-docs .doc-own-actions{align-items:end}.jr-docs .doc-own-actions>span{max-width:130px}}

.jr-docs .doc-remove{align-self:center;justify-self:end;width:36px;height:36px;padding:0;line-height:1;font-size:22px;text-align:center}.jr-docs input[readonly],.jr-docs textarea[readonly]{background:#f7f7f7;color:#665f57}

.jr-selection-photos{display:flex;align-items:flex-start;gap:12px;flex:none;flex-wrap:wrap;max-width:100%}.jr-selection-photo{display:flex;flex-direction:column;gap:7px;text-decoration:none!important;border:0!important;color:#817e78;font-size:11px;font-weight:400;line-height:1.2}.jr-selection-photo img{display:block;width:58px;height:58px;object-fit:cover;border:1px solid #e1dfdb}.jr-selection-photo:focus-visible{outline:2px solid #817e78;outline-offset:4px}.jr-description-with-photos{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;min-width:0;flex-wrap:wrap}.jr-description-with-photos>div:first-child{min-width:0;flex:1 1 220px}.jr-media-editor{grid-column:1/-1;border-top:1px solid #ddd8d1;padding:18px 0;display:flex;align-items:flex-start;gap:22px}.jr-media-editor label{display:flex;flex-direction:column;gap:7px;font-size:12px}.jr-media-editor input[type=file]{max-width:220px;font-size:12px}.jr-media-editor button{font-size:12px;white-space:nowrap}.jr-media-editor p{margin:0;font-size:12px;color:#817e78}.jr-media-editor [data-media-message]{flex-basis:100%}.jr-media-editor{flex-wrap:wrap}.jr-media-editor .jr-selection-photo img{width:64px;height:64px}@media(max-width:650px){.jr-selection-photo img{width:44px;height:44px}.jr-selection-photos{gap:8px}.jr-description-with-photos{gap:12px}}

/* JR selections are presentation rows; only designer additions need a full editor. */
.jr-docs .doc-item{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:16px 24px;align-items:center;background:white;padding:24px;border-bottom:1px solid #d8d1c9}
.jr-docs .doc-item.has-selection-photos{grid-template-columns:86px minmax(0,1fr) auto}
.jr-docs .doc-item>*{min-width:0}
.jr-docs .doc-item-photo{width:86px;height:86px;display:flex;align-items:center;justify-content:center}
.jr-docs .doc-item-photo img{width:100%;height:100%;object-fit:contain}
.jr-docs .doc-product-info{display:grid;grid-template-columns:minmax(0,420px);gap:5px 24px;align-self:start;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.jr-docs .has-selection-photos .doc-product-info{grid-template-columns:minmax(0,420px) auto;justify-content:start}
.jr-docs .doc-product-copy{grid-column:1;grid-row:2}
.jr-docs .doc-product-copy>p:first-child{margin-top:0}
.jr-docs .doc-product-info p{margin:5px 0 0;color:#514d47;white-space:pre-line}
.jr-docs .doc-product-info .doc-product-meta{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:7px;font-size:11px;color:#5c5c5c}
.jr-docs .doc-product-brand{font-weight:600;color:#454545}
.jr-docs .doc-meta-dot{color:#808080}
.jr-docs .doc-product-info .doc-product-description{color:#303030}
.jr-docs .doc-product-info .doc-product-facts{display:flex;flex-wrap:wrap;gap:2px 16px;color:#454545}
.jr-docs .doc-product-fact{max-width:100%;text-wrap:pretty}
.jr-docs .doc-product-fact strong{font-weight:600;color:#303030}
.jr-docs .doc-product-title{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.5}
.jr-docs .doc-product-title h3{font-size:15px}
.jr-docs .doc-custom-label{display:inline-block;background:#252525;color:#fff;border-radius:20px;padding:3px 10px;font-size:10px;white-space:nowrap}
.jr-docs .doc-spec-label{font-size:11px;color:#80786f;margin-right:5px}
.jr-docs .doc-item-pricing{display:grid;grid-template-columns:48px 95px 76px 110px 36px;gap:14px;align-items:end;justify-self:end}
.jr-docs .doc-item-pricing label input{height:36px;padding:7px 8px;min-width:0}
.jr-docs .doc-fixed-field{font-size:13px}
.jr-docs .doc-fixed-field>div{height:36px;display:flex;align-items:center;margin-top:7px;white-space:nowrap}
.jr-docs .doc-item-pricing .doc-muted,.jr-docs .doc-item-pricing label{font-size:11px;color:#514d47;font-weight:600}
.jr-docs .doc-client-total{text-align:right}
.jr-docs .doc-client-total p{height:36px;display:flex;align-items:center;justify-content:flex-end;margin:7px 0 0;font-weight:600;font-size:14px;white-space:nowrap}
.jr-docs .doc-item-pricing .doc-remove{align-self:end;min-width:36px;max-width:36px}
.jr-docs .doc-item-swatches{grid-column:2;grid-row:2;align-self:start;padding-top:3px}
.jr-docs .doc-item-footer{grid-column:2/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:baseline}
.jr-docs .doc-item-notes{margin:0;justify-self:end;min-width:0}
.jr-docs .doc-item-notes[open]{width:460px;max-width:100%}
.jr-docs .doc-item-notes summary{font-size:12px;padding:0;text-align:right;list-style:none;color:#4a4641;font-weight:600}
.jr-docs .doc-item-notes summary::before{content:'▸ ';font-size:11px}
.jr-docs .doc-item-notes[open] summary::before{content:'▾ '}
.jr-docs .doc-item-notes summary::-webkit-details-marker{display:none}
.jr-docs .doc-notes-body{padding:15px 0 0}
.jr-docs .doc-notes-body textarea{min-height:100px;line-height:1.6}
.jr-docs .spec-item .doc-item-pricing{grid-template-columns:48px 36px}
.jr-docs .doc-item-availability{color:#514d47;font-size:12px;line-height:1.6;white-space:pre-line}
.jr-docs .doc-quote-review{border:1px solid #d8d1c9;padding:24px;background:#fff;font-size:13px;line-height:1.6;margin:20px 0}
.jr-docs .doc-quote-review h2{margin-top:0}.jr-docs .doc-quote-review li{margin:15px 0}.jr-docs .doc-quote-review li p{margin:3px 0}
.jr-docs .doc-quote-additions label{display:flex;align-items:flex-start;gap:10px;font-size:13px;padding:12px 0;border-bottom:1px solid #e5e1dc}
.jr-docs .doc-quote-additions input{width:auto;margin:4px 0}.jr-docs .doc-quote-additions .doc-muted{display:block;margin-top:4px}
.jr-docs .needs-markup-review{box-shadow:inset 3px 0 #a48d6d}
.jr-docs .needs-markup-review [data-item-field=markupBps]{border-color:#a48d6d}
.jr-docs .doc-markup-review{grid-column:2/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:#7f694c}
.jr-docs .doc-markup-review button{font-size:12px;padding:6px 10px}
@container(max-width:1080px){
 .jr-docs .doc-item,.jr-docs .doc-item.has-selection-photos{grid-template-columns:76px minmax(0,1fr);gap:16px 20px;padding:22px}
 .jr-docs .doc-item-photo{width:76px;height:76px}
 .jr-docs .doc-item-pricing{grid-row:2;grid-column:2/-1}
 .jr-docs .spec-item .doc-item-pricing{grid-column:2/-1;grid-row:2}
}
@container(max-width:600px){
 .jr-docs .doc-grid{grid-template-columns:1fr;gap:14px}.jr-docs .doc-row{grid-template-columns:1fr auto}.jr-docs .doc-row .doc-muted{grid-column:1}.jr-docs h1{font-size:27px}
 .jr-docs .doc-item,.jr-docs .doc-item.has-selection-photos{grid-template-columns:60px minmax(0,1fr);gap:16px;padding:18px}
 .jr-docs .doc-item-photo{width:60px;height:60px;align-self:start}
 .jr-docs .has-selection-photos .doc-product-info{grid-template-columns:minmax(0,1fr);gap:10px}
 .jr-docs .doc-item-swatches{grid-column:1;grid-row:3;justify-self:start;padding:0}
 .jr-docs .doc-item-pricing{grid-column:1/-1;grid-row:auto;grid-template-columns:42px minmax(65px,1fr) 66px minmax(80px,1fr) 36px;gap:8px;width:100%}
 .jr-docs .doc-item-footer{grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:12px}
 .jr-docs .spec-item .doc-item-pricing{width:auto;grid-column:1/-1;grid-row:auto}
 .jr-docs .doc-item-pricing .doc-muted,.jr-docs .doc-item-pricing label{font-size:10px}
 .jr-docs .doc-client-total p{font-size:12px}
}
@container(max-width:380px){
 .jr-docs .doc-item-pricing{grid-template-columns:46px minmax(80px,1fr) 70px}
 .jr-docs .doc-client-total{grid-column:2}
 .jr-docs .doc-item-pricing .doc-remove{grid-column:3}
 .jr-docs .spec-item .doc-item-pricing{grid-template-columns:46px 36px}
 .jr-docs .spec-item .doc-remove{grid-column:2}
}

/* Compact document details: identity, client copy, and charges. */
.jr-docs .doc-document-details{display:grid;grid-template-columns:minmax(230px,1fr) minmax(250px,1.12fr) minmax(210px,.85fr);gap:28px;padding:22px 0;border-block:1px solid #d9d3cc;align-items:stretch}
.jr-docs .doc-details-column{display:grid;grid-template-rows:repeat(3,auto);gap:15px;min-width:0;align-content:start}
.jr-docs .doc-document-details label{font-size:12px;color:#403d39}.jr-docs .doc-document-details input{height:41px;font-weight:400;min-width:0}
.jr-docs .doc-client-fields{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px}
.jr-docs .doc-default-markup>div{display:flex;gap:9px;margin-top:7px}.jr-docs .doc-default-markup input{width:80px;flex:1;min-width:60px;margin:0}.jr-docs .doc-default-markup button{height:41px;white-space:nowrap;font-size:12px;padding:9px 13px}
.jr-docs .doc-details-notes{display:grid;grid-template-rows:1fr 1fr;gap:15px;min-width:0}.jr-docs .doc-details-notes label{display:flex;flex-direction:column;min-height:0}.jr-docs .doc-details-notes textarea{flex:1;min-height:68px;height:68px;line-height:1.5;font-weight:400;resize:vertical}
.jr-docs .doc-spec-details{grid-template-columns:minmax(230px,1fr) minmax(250px,1.7fr)}.jr-docs .doc-spec-details .doc-details-column{grid-template-rows:repeat(2,auto)}.jr-docs .doc-spec-details .doc-details-notes{grid-template-rows:1fr}
@container(max-width:820px){.jr-docs .doc-document-details{grid-template-columns:1fr 1fr;gap:20px}.jr-docs .doc-details-charges{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}}
@container(max-width:520px){.jr-docs .doc-document-details{grid-template-columns:1fr}.jr-docs .doc-details-charges{grid-column:auto;grid-template-columns:1fr;gap:15px}.jr-docs .doc-details-notes textarea{min-height:90px}}

.jr-docs .doc-client-fields label{display:flex;flex-direction:column;justify-content:space-between}.jr-docs .doc-client-fields input{flex-shrink:0}
.jr-docs .doc-document-details .doc-details-column{grid-template-rows:repeat(3,minmax(0,1fr));align-content:stretch}.jr-docs .doc-document-details .doc-details-column>label{display:flex;flex-direction:column;justify-content:space-between}
.jr-docs .doc-document-details .doc-default-markup{display:flex;flex-direction:column;justify-content:space-between}
.jr-docs .doc-rich{display:flex;flex-direction:column;min-width:0;min-height:0}.jr-docs .doc-rich-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:22px;font-size:12px;font-weight:600;color:#403d39;margin-bottom:7px;gap:8px}.jr-docs .doc-rich-toolbar button{padding:1px 7px;font-size:12px;height:22px;background:white}
.jr-docs .doc-rich-editor{white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;resize:vertical;border:1px solid #d1cac2;border-radius:2px;background:white;color:#252525;font-size:13px;line-height:1.5;font-weight:400;min-height:100px;padding:10px 13px}.jr-docs .doc-rich-editor strong,.jr-docs .doc-rich-editor b{font-weight:600}.jr-docs .doc-rich-editor:focus{outline:2px solid #7a8d94;outline-offset:2px}
.jr-docs .doc-details-notes .doc-rich-editor{height:60px;min-height:60px;flex:1}.jr-docs .doc-save-status{font-size:13px;font-weight:600;color:#3f5144}
@container(max-width:820px){.jr-docs .doc-document-details .doc-details-charges{grid-template-rows:auto}}

.jr-docs .doc-format-buttons{display:flex;gap:4px}.jr-docs .doc-format-bold{font-weight:600}.jr-docs .doc-format-italic{font-style:italic}.jr-docs .doc-format-underline{text-decoration:underline}.jr-docs .doc-save-status.error{color:#8a3c46}

.jr-docs .doc-document-details.doc-spec-details .doc-details-column{grid-template-rows:repeat(2,minmax(0,1fr))}

/* Match the approved portal interface. Client-facing PDF layout stays in its own renderer. */
.jr-docs .doc-head h1{font:600 28px/1.2 Montserrat,Arial,sans-serif;letter-spacing:1px;margin:7px 0 9px}
.jr-docs .doc-head .doc-muted{font:400 12px/1.6 Montserrat,Arial,sans-serif;color:#9b8f83;margin:0}
.jr-docs .doc-room{font:600 12px/1.45 Montserrat,Arial,sans-serif;padding:9px 14px;margin:14px 0 0}
@media(min-width:1500px){.jr-docs .doc-head h1{font-size:32px}}
@media(max-width:760px){.jr-docs .doc-head h1{font-size:23px}.jr-docs .doc-head .doc-muted{font-size:10px}}

/* Product copy follows the same hierarchy as quotes, orders and invoices. */
.jr-docs .doc-product-title h3{font:700 13px/1.5 Montserrat,Arial,sans-serif;color:#252525}
.jr-docs .doc-product-info,.jr-docs .doc-product-info p{font:400 12px/1.65 Montserrat,Arial,sans-serif;color:#454545}
.jr-docs .doc-product-info .doc-product-meta{font-size:11px;color:#655f57}
.jr-docs .doc-product-brand,.jr-docs .doc-product-fact strong{font-weight:600;color:#454545}
.jr-docs .doc-item-availability{font-weight:600;color:#9f7d57}
.jr-docs .doc-quote-selector{min-width:0}.jr-docs .doc-quote-selector select{width:100%;min-width:0}
.jr-docs .doc-selected-quote{display:block;font-size:11px;line-height:1.5;font-weight:400;color:#655f57;overflow-wrap:anywhere;margin-top:5px}
.jr-photo-unavailable{width:58px;min-height:58px;display:grid;place-items:center;text-align:center;font:400 9px/1.4 Montserrat,Arial,sans-serif;color:#655f57}
.jr-photo-retry{padding:3px 6px!important;font:400 10px/1.4 Montserrat,Arial,sans-serif!important;align-self:end}

/* Keep customer selection-photo recovery within the original thumbnail slot. */
.jr-selection-cell{position:relative;flex:0 0 58px;width:58px;min-width:0}.jr-selection-cell .jr-photo-unavailable{box-sizing:border-box;width:58px;height:58px;min-height:58px;border:1px solid #e1dfdb;background:#faf9f7;padding:4px 3px 22px;font:400 8px/1.3 Montserrat,Arial,sans-serif}.jr-selection-cell .jr-photo-retry{position:absolute;bottom:3px;left:3px;box-sizing:border-box;width:calc(100% - 6px);margin:0!important;padding:2px 0!important;border:1px solid #d1cac2!important;background:#fff;font:400 8px/1.3 Montserrat,Arial,sans-serif!important;white-space:nowrap;text-align:center}
@media(max-width:650px){.jr-selection-cell{flex-basis:44px;width:44px}.jr-selection-cell .jr-photo-unavailable{width:44px;height:44px;min-height:44px;padding:2px 1px 17px;font-size:7px}.jr-selection-cell .jr-photo-retry{left:1px;bottom:1px;width:calc(100% - 2px);padding:1px 0!important;font-size:7px!important}}

/* Spec sheets have a compact quantity area; they need less space than proposals. */
@container(min-width:601px) and (max-width:1080px){
 .jr-docs .spec-item,.jr-docs .spec-item.has-selection-photos{grid-template-columns:76px minmax(0,1fr) auto}
 .jr-docs .spec-item .doc-item-pricing{grid-column:3;grid-row:1;width:auto}
}
@container(min-width:841px) and (max-width:1080px){
 .jr-docs .doc-item:not(.spec-item){grid-template-columns:76px minmax(0,1fr) auto}
 .jr-docs .doc-item:not(.spec-item) .doc-item-pricing{grid-column:3;grid-row:1}
}
@container(min-width:601px) and (max-width:1000px){
 .jr-docs .has-selection-photos .doc-product-info{grid-template-columns:minmax(0,1fr);gap:10px}
 .jr-docs .doc-item-swatches{grid-column:1;grid-row:3;justify-self:start;padding:0}
}

/* PDF preview is a viewport dialog; editor and PDF rendering stay unchanged. */
dialog.jr-docs.doc-pdf-modal{width:min(1120px,calc(100vw - 48px));height:calc(100dvh - 48px);max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #d1cac2;border-radius:22px;overflow:hidden;background:#fff;color:#252525;box-shadow:0 12px 50px #0003;font:400 13px/1.5 Montserrat,Arial,sans-serif}
dialog.jr-docs.doc-pdf-modal[open]{display:flex;flex-direction:column}
.doc-pdf-modal::backdrop{background:#25252580}
.jr-docs .doc-pdf-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #d9d3cc;background:#f6f4f1;flex-shrink:0}
.jr-docs .doc-pdf-modal-head h2{margin:0;font:600 14px/1.4 Montserrat,Arial,sans-serif}
.jr-docs .doc-pdf-modal-head p{margin:2px 0 0;font:400 10px/1.4 Montserrat,Arial,sans-serif;color:#655f57}
.jr-docs .doc-pdf-modal-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.jr-docs .doc-pdf-modal-actions .btn,.jr-docs .doc-pdf-modal-actions button,.jr-docs .doc-pdf-progress button{font:400 12px/1.4 Montserrat,Arial,sans-serif;padding:8px 12px;border:1px solid #d1cac2;border-radius:999px;background:#fff;color:#252525;text-decoration:none;white-space:nowrap}
.jr-docs .doc-pdf-modal-actions .btn{background:#252525;border-color:#252525;color:#fff}
.jr-docs .doc-pdf-modal-body{flex:1;min-height:0;position:relative;background:#eeece8}
.jr-docs .doc-pdf-pages{position:absolute;inset:0;overflow:auto;padding:16px;overscroll-behavior:contain}
.jr-docs .doc-pdf-page{margin:0 auto 16px;background:#fff;box-shadow:0 1px 6px #0002;max-width:100%;color:#655f57}
.jr-docs .doc-pdf-page canvas{display:block;width:100%!important;height:auto!important}
.jr-docs .doc-pdf-progress{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;text-align:center;background:#f6f4f1}
.jr-docs .doc-pdf-progress p{margin:0;max-width:420px;font-size:13px;color:#454545}
.jr-docs .doc-pdf-progress.error .doc-pdf-spinner{display:none}
.jr-docs .doc-pdf-progress.error p{color:#8a3c46}
.jr-docs .doc-pdf-spinner{width:24px;height:24px;border:2px solid #d9d3cc;border-top-color:#252525;border-radius:50%;animation:jr-pdf-spin .8s linear infinite}
@keyframes jr-pdf-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.jr-docs .doc-pdf-spinner{animation:none}}
@media(max-width:600px){dialog.jr-docs.doc-pdf-modal{width:100vw;height:100dvh;border:0;border-radius:0;margin:0}.jr-docs .doc-pdf-modal-head{padding:10px 12px;gap:8px}.jr-docs .doc-pdf-modal-actions{gap:6px}.jr-docs .doc-pdf-modal-actions .btn,.jr-docs .doc-pdf-modal-actions button{padding:8px;font-size:11px}}

/* Owner-approved compact proposal setup; spec sheet setup is unchanged. */
.jr-docs .doc-document-details.doc-proposal-details{display:block}.doc-proposal-identity{display:grid;grid-template-columns:1.35fr 1.35fr .8fr;gap:20px}.doc-proposal-charges{display:grid;grid-template-columns:1.05fr 1fr 1fr 1fr;gap:20px;margin-top:22px;align-items:end}.doc-proposal-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px}.doc-proposal-notes textarea,.doc-proposal-notes .doc-rich-editor{min-height:112px}.doc-tax-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.doc-tax-label label{margin:0}.doc-text-link{border:0!important;background:none!important;color:var(--muted,#6e665f)!important;padding:0!important;text-decoration:underline;font-size:12px;white-space:nowrap}.jr-docs .doc-company-name{display:flex;gap:9px;align-items:center;margin-top:18px}.jr-docs .doc-company-name input{width:auto;margin:0}.doc-tax-help{max-width:520px;border:1px solid #cfc7bd;padding:28px;color:#252525;line-height:1.6}.doc-tax-help::backdrop{background:#0006}@media(max-width:900px){.doc-proposal-charges{grid-template-columns:1fr 1fr}}@media(max-width:600px){.doc-proposal-identity,.doc-proposal-notes,.doc-proposal-charges{grid-template-columns:1fr}.doc-tax-label{justify-content:flex-start}}

/* Document editor only: same controls and brand palette, quieter hierarchy. */
.jr-docs .doc-back-link{border:0;border-bottom:1px solid #918779;border-radius:0;background:transparent;padding:3px 0;font-size:12px;margin-bottom:12px}
.jr-docs .doc-editor-actions{gap:9px;margin:14px 0 20px;justify-content:flex-end}
.jr-docs .doc-editor-actions button,.jr-docs .doc-menu>summary{border-radius:4px;font-size:12px;min-height:38px}
.jr-docs .doc-editor-actions .doc-secondary-action{margin-right:auto;order:-1;background:transparent;border-color:transparent;padding-left:0;text-decoration:underline;text-underline-offset:4px}
.jr-docs .doc-menu{position:relative;margin:0;font-size:12px}
.jr-docs .doc-menu>summary{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid #d1cac2;padding:10px 13px;list-style:none;background:transparent}
.jr-docs .doc-menu>summary::-webkit-details-marker,.jr-docs .doc-detail-section>summary::-webkit-details-marker{display:none}
.jr-docs .doc-menu>summary:after{content:'⌄';font-size:14px}
.jr-docs .doc-menu[open]>summary:after{transform:rotate(180deg)}
.jr-docs .doc-menu-body{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:240px;padding:8px;background:#fcfbf8;border:1px solid #ded8cf;border-radius:5px;box-shadow:0 7px 20px #29251d14}
.jr-docs .doc-more .doc-menu-body{display:grid;gap:2px}
.jr-docs .doc-more .doc-menu-body button{text-align:left;background:transparent;border:0;font-size:12px;padding:11px 12px}
.jr-docs .doc-more .doc-menu-body button:hover{background:#efebe5}
.jr-docs .doc-compact-details{display:block;padding:0;border:0}
.jr-docs .doc-detail-section{margin:0;border-top:1px solid #d9d3cc}
.jr-docs .doc-detail-section:last-child{border-bottom:1px solid #d9d3cc}
.jr-docs .doc-detail-section>summary{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;list-style:none;font-size:12px}
.jr-docs .doc-detail-section>summary strong{font-weight:600;color:#252525}
.jr-docs [data-detail-summary]{color:#655f57;line-height:1.65;overflow-wrap:anywhere}
.jr-docs .doc-section-cue{font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#746449}
.jr-docs .doc-detail-section[open] .doc-section-cue{font-size:0}
.jr-docs .doc-detail-section[open] .doc-section-cue:after{content:'Close';font-size:11px}
.jr-docs .doc-detail-body{padding:4px 0 20px}
.jr-docs .doc-identity-fields{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:16px}
.jr-docs .doc-editor-notes{display:grid;grid-template-columns:1fr 1.5fr;gap:18px;margin-top:18px;align-items:start}
.jr-docs .doc-editor-notes textarea{min-height:82px;height:82px;line-height:1.5}
.jr-docs .doc-editor-notes .doc-rich-editor{min-height:82px;max-height:220px;overflow:auto}
.jr-docs .doc-detail-section:has([data-detail-summary="pricing"])>.doc-detail-body{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(110px,1fr));gap:16px;align-items:end}
.jr-docs .doc-compact-details input{border-radius:4px;height:38px}
.jr-docs .doc-items-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 0;font-size:13px;font-weight:600}
.jr-docs .doc-display-menu>summary{font-weight:400;border-color:transparent;padding-right:0}
.jr-docs .doc-display-menu>summary::before{content:'';display:block;width:18px;height:18px;flex:none;background:#7b6846;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat}
.jr-docs .doc-display-menu>summary{gap:8px;font-weight:500}
.jr-docs .doc-display-menu .doc-menu-body{width:260px;max-height:65vh;overflow:auto}
.jr-docs .doc-display-menu .doc-checks{display:flex;flex-direction:column;gap:0;margin:0}
.jr-docs .doc-checks .doc-switch{width:100%;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;padding:9px 10px;gap:20px;font-size:12px;font-weight:400;cursor:pointer}
.jr-docs .doc-switch input[type=checkbox]{appearance:none;-webkit-appearance:none;display:block;flex:none;position:relative;width:30px;height:18px;min-height:0;padding:0;margin:0;border:1px solid #bcb6ad;border-radius:20px;background:#d8d4ce;cursor:pointer}
.jr-docs .doc-switch input[type=checkbox]:before{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:white;left:2px;top:2px;box-shadow:0 1px 2px #0002}
.jr-docs .doc-switch input[type=checkbox]:checked{background:#7b6846;border-color:#7b6846}
.jr-docs .doc-switch input[type=checkbox]:checked:before{left:14px}
.jr-docs summary:focus-visible{outline:2px solid #7a8d94;outline-offset:3px}
.jr-docs .doc-item:has(.doc-client-unit) .doc-item-pricing{grid-template-columns:40px 105px 110px 36px;gap:12px 14px}
.jr-docs .doc-client-unit p,.jr-docs .doc-client-total p{font-weight:600;margin:7px 0 0;font-size:14px;height:36px;display:flex;align-items:center;white-space:nowrap}
.jr-docs .doc-cost-controls{grid-column:1/4;grid-row:2;display:flex;gap:22px;align-items:end;justify-content:flex-end;padding-top:8px;border-top:1px solid #eeeae4}
.jr-docs .doc-cost-controls>label{width:76px}
.jr-docs .doc-cost-controls p{margin:8px 0;color:#655f57;font-size:12px}
.jr-docs .doc-item:has(.doc-client-unit) .doc-remove{grid-column:4;grid-row:1}
@container(max-width:650px){.jr-docs .doc-item:has(.doc-client-unit) .doc-item-pricing{grid-template-columns:40px minmax(85px,1fr) minmax(90px,1fr) 36px;gap:10px;justify-self:stretch}.jr-docs .doc-cost-controls{justify-content:flex-start}}
@container(max-width:650px){.jr-docs .doc-detail-section>summary{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.jr-docs [data-detail-summary]{grid-column:1;grid-row:2}.jr-docs .doc-section-cue{grid-column:2;grid-row:1/3}.jr-docs .doc-identity-fields,.jr-docs .doc-editor-notes{grid-template-columns:1fr}.jr-docs .doc-detail-section:has([data-detail-summary="pricing"])>.doc-detail-body{grid-template-columns:1fr 1fr}.jr-docs .doc-editor-actions{justify-content:flex-start}.jr-docs .doc-editor-actions .doc-secondary-action{flex-basis:100%}.jr-docs .doc-more .doc-menu-body{right:auto;left:0}}
@container(max-width:380px){.jr-docs .doc-detail-section:has([data-detail-summary="pricing"])>.doc-detail-body{grid-template-columns:1fr}}

/* Keep notes with the product, and use the shared labelled selection photos. */
.jr-docs .doc-item-footer{grid-column:1/3;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.jr-docs .doc-item-availability:empty{display:none}
.jr-docs .doc-item-notes{align-self:flex-start;width:100%;max-width:560px;justify-self:start}
.jr-docs .doc-item-notes[open]{width:100%;max-width:560px}
.jr-docs .doc-item-notes summary{text-align:left;font-weight:400}
.jr-docs .doc-notes-body{padding-top:10px}
.jr-docs .doc-notes-body textarea{min-height:76px}
.jr-docs .has-selection-photos .doc-product-info{grid-template-columns:minmax(0,1.35fr) minmax(148px,1fr);gap:5px 18px;width:100%}
.jr-docs .doc-item-swatches{grid-column:2;grid-row:2;max-width:198px;padding-top:3px;justify-self:center}
.jr-docs .doc-item-pricing{align-self:start}
@container(min-width:601px) and (max-width:940px){
 .jr-docs .doc-item.has-selection-photos{grid-template-columns:76px minmax(0,1fr)}
 .jr-docs .has-selection-photos .doc-item-pricing{grid-column:2;grid-row:3}
}
@container(max-width:840px){
 .jr-docs .doc-item-footer{grid-column:1/-1;grid-row:2}
 .jr-docs .doc-item:not(.spec-item) .doc-item-pricing{grid-row:3}
}
@container(max-width:600px){
 .jr-docs .has-selection-photos .doc-product-info{grid-template-columns:minmax(0,1fr)}
 .jr-docs .doc-item-swatches{grid-column:1;grid-row:3;padding:0;justify-self:start}
 .jr-docs .doc-item .doc-item-pricing{grid-column:1/-1;grid-row:3}
}

/* Optional help remains available by click, touch and keyboard. */
@media screen {
 .jr-inline-help{display:inline-block;position:relative;vertical-align:middle;text-align:left;line-height:1.5;font-size:13px;font-weight:400;letter-spacing:normal;text-transform:none}
 .jr-inline-help>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:22px;height:22px;padding:0;border:1px solid #aaa194;border-radius:50%;color:#70624e;cursor:pointer;font:600 13px Georgia,serif}
 .jr-inline-help>summary::-webkit-details-marker{display:none}
 .jr-inline-help>summary:focus-visible{outline:2px solid #405f66;outline-offset:3px}
 .jr-inline-help[open]>summary{background:#e5ded2}
 .jr-inline-help>div{position:absolute;z-index:30;left:0;top:calc(100% + 8px);width:min(320px,75vw);box-sizing:border-box;padding:12px 14px;background:#fffdf9;color:#45413b;border:1px solid #d9d2c8;border-radius:6px;box-shadow:0 4px 15px #00000012}
 .jr-inline-help p{margin:0;font-size:13px;line-height:1.5}
 .jr-docs .doc-head .doc-muted:empty{display:none}
 .jr-docs .doc-head>div:has(>.jr-inline-help)>h1,.shipment-heading>div:has(>.jr-inline-help)>h1{display:inline-block;vertical-align:middle}
 .jr-docs .doc-head .jr-inline-help,.shipment-heading .jr-inline-help{margin:0 0 0 10px;vertical-align:middle}
 @media(max-width:600px){.jr-inline-help>div{position:fixed;left:16px;right:16px;top:auto;bottom:16px;width:auto;max-height:calc(100vh - 32px);overflow:auto}}
 .quote-more:not(:has(.document-toolbar button:not([hidden]),.document-toolbar a:not([hidden]))){display:none}
 .doc-tax-label .doc-info-button{width:22px;height:22px;padding:0;border:1px solid #aaa194;border-radius:50%;font:600 13px Georgia,serif;color:#70624e;background:transparent;text-decoration:none}
 .jr-docs .doc-tax-label{justify-content:flex-start;gap:7px}
}
@media print{.jr-inline-help{display:none}}

/* Approved proposal review and category fee sections, scoped to the document editor. */
.jr-docs .doc-updates-pending{background:#eee7d9;border-color:#b3a085;color:#58452f;font-weight:600}.jr-docs .doc-update-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;margin-left:6px;border-radius:50%;background:#775d3b;color:white}.jr-docs .doc-quote-review-v4{padding:0;border-radius:18px;overflow:hidden;background:white;margin:20px 0}.doc-quote-review-v4>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px}.doc-quote-review-v4 h2{margin:0}.doc-quote-review-v4>header>span{font-size:.8em}.doc-update-details>summary{list-style:none;display:flex;gap:20px;justify-content:space-between;align-items:baseline;cursor:pointer;padding:6px 24px 20px}.doc-update-details>summary::-webkit-details-marker{display:none}.doc-update-details>summary>span:first-child{display:flex;flex-wrap:wrap;gap:5px 12px}.doc-details-hide,.doc-update-details[open] .doc-details-show{display:none}.doc-update-details[open] .doc-details-hide{display:inline}.doc-details-show,.doc-details-hide{color:#7c694b;white-space:nowrap}.doc-additions-heading{display:flex;align-items:baseline;gap:7px;padding:13px 24px;background:#f1eee7;border-block:1px solid #ded8ce}.doc-additions-heading>span:first-child{font-size:23px;color:#847151;line-height:1}.doc-additions-heading>span:last-child{color:#756c5e}.jr-docs .doc-update-row{display:grid;gap:16px;align-items:center;margin:0;padding:17px 24px;border-bottom:1px solid #e2ddd4}.doc-update-existing{grid-template-columns:62px minmax(170px,.85fr) minmax(200px,1.5fr)}.doc-update-add{grid-template-columns:18px 62px minmax(160px,1.2fr) minmax(170px,1.1fr) 42px 110px 110px}.jr-docs .doc-update-add>input{width:17px;height:17px;margin:0;accent-color:#7f6a47}.doc-update-photo{width:62px;height:64px}.doc-update-photo img{width:100%;height:100%;object-fit:contain}.doc-update-identity strong,.doc-update-identity span{display:block}.doc-update-identity span{font-size:.85em;color:#7b7264;margin-top:5px}.doc-update-pill{display:inline-flex;border:1px solid;border-radius:99px;padding:3px 11px;font-size:.78em;font-weight:700}.doc-update-pill.change{background:#e7ecee;color:#4d6672;border-color:#9cabb1}.doc-update-pill.remove{background:#f8eaea;color:#8a4e50;border-color:#cfa5a5}.doc-update-pill.add{background:#e5ece4;color:#4a6756;border-color:#a2b39d}.doc-am-note{margin:7px 0 0}.doc-am-note>span,.doc-update-meta{color:#827867}.doc-update-meta{margin-left:9px;font-size:.85em}.doc-update-row p{margin:7px 0 0}.doc-update-money{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.doc-update-money small{display:block;font-size:.67em;color:#827867;margin-bottom:7px}.doc-quote-review-v4>footer{display:flex;gap:12px;align-items:center;padding:20px 24px;background:#faf9f6;border-top:1px solid #dcd7cd}.doc-quote-review-v4>footer>div{margin-right:auto}.doc-quote-review-v4>footer>div>span{display:block;font-size:.85em;color:#807668;margin-top:6px}.doc-review-match{padding:0 24px 14px}.jr-docs .doc-fee-add{justify-content:flex-end}.doc-tax-panel{display:flex;align-items:center;gap:12px;padding:16px 20px;background:white;border:1px solid #dcd7cd;border-radius:14px;margin:18px 0}.doc-tax-categories{display:flex;flex:1;gap:20px;flex-wrap:wrap}.doc-tax-rate{margin-left:auto}.jr-docs .doc-tax-panel label{display:flex;align-items:center;gap:8px;margin:0}.jr-docs .doc-tax-panel input[type=number]{width:100px;margin:0}.jr-docs .doc-tax-panel input[type=checkbox]{width:18px;min-height:18px;margin:0}.doc-fee-block{border:1px solid #dcd7cd;border-radius:14px;background:white;overflow:hidden;margin:18px 0}.doc-fee-block>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px;background:#ede9e1}.doc-fee-block h3{margin:0}.jr-docs .doc-fee-block>header button{border:0;padding:2px;background:transparent}.doc-fee-scroll{overflow:auto}.jr-docs .doc-fee-block table{width:100%;margin:0;border:0;border-collapse:collapse}.doc-fee-block th{font-size:.75em;font-weight:500;text-transform:uppercase;color:#827867}.doc-fee-block th,.doc-fee-block td{padding:12px;border-bottom:1px solid #e8e3db;text-align:left;overflow-wrap:anywhere}.doc-fee-block th:first-child{width:35%}.doc-fee-block td:nth-child(n+3),.doc-fee-block th:nth-child(n+3){text-align:right;white-space:nowrap}.doc-fee-block td:last-child{width:1%}.jr-docs .doc-fee-block td button{padding:5px 8px;border:0}.doc-fee-block>footer{display:flex;justify-content:flex-end;gap:30px;padding:12px 20px}.doc-fee-block>footer strong{min-width:100px;text-align:right}.doc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.jr-docs .doc-fee-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #d6cfc3;border-radius:20px;color:#252523;overflow:auto}.doc-fee-dialog::backdrop{background:#25252370}.doc-fee-dialog header,.doc-fee-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;background:white}.doc-fee-dialog h2{margin:0}.doc-fee-form-body{padding:24px;background:#f8f7f4}.doc-fee-fields{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:16px;margin-top:20px}.doc-fee-fields:has([hidden]){grid-template-columns:1fr 1fr}.doc-fee-preview{display:flex;justify-content:flex-end;gap:20px;align-items:baseline}.doc-fee-preview strong{font-size:1.4em}[data-fee-error]{color:#8a4e50}.jr-docs .doc-total>div:nth-last-child(3){border-top:1px solid #ded8ce;padding-top:12px}
@media(max-width:1150px){.doc-update-add{grid-template-columns:18px 52px minmax(140px,1fr) minmax(130px,1fr) 35px 90px 95px;gap:10px}.doc-update-photo{width:52px}.doc-quote-review-v4>footer{flex-wrap:wrap}.doc-quote-review-v4>footer>div{flex-basis:100%;margin-bottom:8px}}
@media(max-width:850px){.doc-update-add{grid-template-columns:18px 52px minmax(60px,1fr) 90px 95px}.doc-update-add>.doc-update-identity{grid-column:3/-1}.doc-update-add>div:nth-of-type(3){grid-column:2/-1}.doc-update-add>.doc-update-money{grid-row:3}.doc-update-add>.doc-update-money:nth-last-child(3){grid-column:3}.doc-update-existing{grid-template-columns:52px minmax(0,1fr)}.doc-update-existing>div:last-child{grid-column:2}.doc-tax-panel{flex-wrap:wrap}.doc-tax-categories{flex-basis:75%}.doc-additions-heading{flex-wrap:wrap}.doc-fee-block table{min-width:620px}}
@media(max-width:540px){.jr-docs .doc-update-row{padding:15px;gap:9px}.doc-update-add{grid-template-columns:18px 44px repeat(3,minmax(0,1fr))}.doc-update-money{font-size:.85em}.doc-update-money small{font-size:.65em}.doc-update-details>summary{padding-inline:15px;gap:10px;font-size:.85em}.doc-quote-review-v4>header,.doc-quote-review-v4>footer{padding:18px 15px}.doc-quote-review-v4>footer button{font-size:.85em;padding:12px}.doc-fee-fields{grid-template-columns:1fr}.doc-fee-fields:has([hidden]){grid-template-columns:1fr}.doc-tax-panel{padding:15px}.doc-tax-categories{gap:10px}.doc-tax-rate{margin-left:0}}
.jr-docs .doc-editor-actions button.doc-updates-pending{background:#eee7d9!important;border:1px solid #b3a085!important;border-radius:10px!important;padding:10px 14px!important;text-decoration:none!important;color:#58452f!important}
/* Keep the approved control shapes when these screens inherit the existing editor styles. */
.jr-docs .doc-quote-review-v4>footer button,.jr-docs .doc-fee-dialog button{border-radius:9px;padding:11px 15px;min-height:40px}
.jr-docs .doc-fee-dialog header button{width:34px;height:34px;min-height:34px;padding:0}
.jr-docs .doc-tax-panel .doc-info-button{width:22px;height:22px;min-height:22px;padding:0;flex:none;border:1px solid #aaa194;border-radius:50%;font:600 13px Georgia,serif;color:#70624e;background:transparent;text-decoration:none}

