/* Scoped: does not change customer chat, existing modal forms or other domains. */
.cd-root{max-width:1120px;margin:0 auto;color:#183742;line-height:1.8;font-size:15px;min-width:0}
.cd-root *{box-sizing:border-box}.cd-root h1{font-size:27px;margin:0 0 8px}.cd-root h2{font-size:20px;margin:0 0 16px}.cd-root h3{font-size:18px;margin:4px 0 14px}.cd-root p{margin:6px 0 12px}.cd-root a{color:inherit}
.cd-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0}.cd-eyebrow{font-size:12px;letter-spacing:.2px;color:#387b70;font-weight:700}.cd-page-head p{color:#617684}.cd-actions,.cd-tools,.cd-edits,.cd-versions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cd-tools{padding:16px;background:#fff;border:1px solid #dce6e8;border-radius:16px;margin-bottom:18px}.cd-edits{margin:14px 0 22px}
.cd-button{border:1px solid #cbd9df!important;border-radius:10px!important;background:#fff!important;color:#1c4943!important;padding:10px 18px!important;min-height:44px;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:14px!important;font-weight:600;font-family:inherit;line-height:1.5!important;white-space:normal;text-align:center}
.cd-button:hover{background:#edf6f2!important}.cd-button:focus-visible{outline:3px solid #598dcd;outline-offset:3px}.cd-primary{background:#176b5e!important;color:#fff!important;border-color:#176b5e!important}.cd-primary:hover{background:#105649!important}.cd-button:disabled{opacity:.5;cursor:wait}
.cd-paper{background:#fff;border:1px solid #d9e2e7;border-radius:18px;padding:34px 42px;box-shadow:0 8px 36px rgba(13,41,56,.035);overflow-wrap:anywhere}.cd-paper-head{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:3px solid #257865;padding-bottom:24px;margin-bottom:24px}.cd-paper-head h2{margin:0;word-break:break-word}.cd-brand{font-size:30px;letter-spacing:2px;color:#176b5e;font-weight:800}.cd-brand small{display:block;font-size:12px;letter-spacing:0}.cd-section{padding:25px 0;border-bottom:1px solid #e5ecee;break-inside:auto}.cd-section h2{color:#19584f}.cd-prose{white-space:pre-line;font-size:15px;line-height:2}.cd-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cd-party{border:1px solid #dfe7ea;padding:20px;border-radius:14px;background:#fcfefe}.cd-fields{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.cd-fields div{min-width:0;overflow-wrap:anywhere}.cd-fields dt{font-size:12px;color:#71828b}.cd-fields dd{margin:2px 0;font-size:14px}.cd-party .cd-fields{grid-template-columns:1fr}.cd-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.cd-money>div{border-radius:12px;border:1px solid #dfe9e7;background:#f4f8f7;padding:17px;font-size:13px}.cd-money strong{display:block;font-size:21px;margin-top:10px;white-space:normal}.cd-money .cd-total{background:#e5f3ec;border-color:#bddbd1}.cd-payment-list>div{display:flex;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eef2f3}.cd-muted{color:#637985;font-size:13px}.cd-warning,.cd-note,.cd-error,.cd-success{padding:18px 22px;border-radius:12px;margin:16px 0;border:1px solid #e6d9b3;background:#fffaf0;line-height:1.9}.cd-note{background:#edf5f2;border-color:#cde4db}.cd-error{background:#fff0ef;border-color:#f0c8c4;color:#902b23}.cd-success{background:#eaf6ef;border-color:#badfcc;color:#15513d}.cd-tag{display:inline-block;background:#edf5f1;color:#276254;border-radius:7px;padding:3px 9px;font-size:12px}.cd-signature{padding:18px;border:1px solid #dfe6e9;border-radius:12px}.cd-signature.is-signed{background:#f1f8f3;border-color:#b5d6c2}.cd-signature time{font-size:12px;color:#53736a}.cd-seal{margin-top:25px;font-size:12px;color:#61747c}.cd-seal code{display:block;direction:ltr;text-align:left;white-space:normal;overflow-wrap:anywhere;background:#f3f6f7;padding:12px;border-radius:8px;font-size:11px;margin-top:8px}.cd-sign-panel,.cd-profile,.cd-history{padding:28px;background:#fff;border:1px solid #dce6e8;border-radius:16px;margin:24px 0}.cd-sign-panel{border-top:4px solid #176b5e}.cd-check{display:flex!important;align-items:flex-start;gap:10px;font-size:15px!important;margin:15px 0!important;line-height:1.9}.cd-check input{width:19px!important;height:19px;flex:0 0 19px;margin:5px 0!important;accent-color:#176b5e}.cd-sign-panel input[type=password]{max-width:400px;display:block;margin:10px 0 20px;padding:12px;border:1px solid #bfd1d8;border-radius:9px;font:inherit;width:100%}.cd-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.cd-inputs label{font-size:13px}.cd-inputs input{width:100%;padding:11px;border:1px solid #c8d7db;border-radius:8px;font:inherit;display:block}.cd-list-item,.cd-admin-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;background:#fff;border:1px solid #dce6e8;border-radius:14px;margin:14px 0}.cd-list-end{display:flex;flex-direction:column;gap:15px;text-align:left;min-width:180px}.cd-list-end strong{font-size:21px}.cd-empty{padding:35px;text-align:center;background:#fff;border:1px solid #dce6e8;border-radius:16px}.cd-floor{border-inline-start:3px solid #96c4b3;padding:8px 16px;margin:12px 0}.cd-loading{padding:30px;text-align:center}.cd-admin-row .cd-fields{flex:1}
@media(max-width:700px){.cd-root{font-size:14px}.cd-page-head{display:block;margin:12px 0}.cd-page-head h1{font-size:23px}.cd-paper{padding:20px 17px;border-radius:12px}.cd-parties,.cd-inputs{grid-template-columns:1fr}.cd-paper-head{gap:12px;align-items:flex-start}.cd-brand{font-size:22px}.cd-paper-head h2{font-size:16px}.cd-money{grid-template-columns:1fr}.cd-money>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px}.cd-money strong{font-size:18px;margin:0}.cd-list-item,.cd-admin-row{display:block;padding:19px}.cd-list-end{text-align:right;margin-top:15px;min-width:0}.cd-sign-panel,.cd-profile,.cd-history{padding:20px 17px}.cd-tools{gap:8px;padding:12px}.cd-button{padding:10px 13px!important}.cd-section h2{font-size:18px}.cd-fields{grid-template-columns:1fr}.cd-page-head .cd-actions{margin-top:15px}}
@media print{@page{size:A4;margin:18mm}body{background:#fff!important}.cd-paper{box-shadow:none;border:none;padding:0}.cd-tools,.cd-sign-panel,.cd-edits,.cd-page-head,.cd-profile{display:none}.cd-root{max-width:none;font-size:11pt}.cd-section{padding:12px 0}.cd-section h2{break-after:avoid}.cd-party,.cd-signature,.cd-money{break-inside:avoid}.cd-seal code{font-size:8pt}}
