.cp-page{margin:0;background:#f3f5f8;color:#172235;font-family:Arial,sans-serif;font-size:16px;line-height:1.5}.cp-header{max-width:920px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 20px;gap:20px}.cp-header .cp-brand-link{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;font-weight:700}.cp-header small{display:block;font-size:12px;color:#677287;font-weight:400}.cp-brand{background:#ffb800;color:#15191f;display:grid;place-items:center;border-radius:17px;width:52px;height:52px;font-weight:900}.cp-actions{display:flex;gap:8px;flex-wrap:wrap}.cp-page button,.cp-editor button{cursor:pointer}.cp-page button{border:1px solid #dbe1e9;background:#fff;border-radius:12px;padding:10px 14px;color:#172235;font-size:14px}.cp-page button:hover{border-color:#bf8500}.cp-page button:focus-visible,.cp-editor button:focus-visible{outline:3px solid #3d71ef;outline-offset:2px}.cp-page [hidden]{display:none!important}#client-content{max-width:920px;margin:auto;padding:0 20px}.cp-view{color:#172235;font-family:Arial,sans-serif;line-height:1.5;font-size:15px}.cp-view h1{font-size:clamp(26px,4vw,36px);letter-spacing:-.6px;margin:8px 0}.cp-view h2{font-size:20px;margin:0 0 18px}.cp-hero{background:#172235;color:white;padding:32px;border-radius:22px;margin-bottom:20px}.cp-eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:700;margin:0;color:#677287}.cp-hero .cp-eyebrow{color:#c2ccdc}.cp-hero>p:not(.cp-eyebrow){color:#c2ccdc}.cp-stage{display:inline-flex;gap:10px;align-items:center;background:#ffb800;color:#172235;border-radius:30px;padding:12px 18px;margin-top:12px;font-weight:700}.cp-dot{background:#172235;width:8px;height:8px;border-radius:50%}.cp-updated{font-size:12px;margin:18px 0 0}.cp-card{background:#fff;border:1px solid #e1e5eb;border-radius:20px;padding:26px;margin-bottom:20px}.cp-pre{white-space:pre-wrap;overflow-wrap:anywhere}.cp-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cp-photo{margin:0;min-width:0}.cp-photo img{width:100%;height:240px;object-fit:cover;background:#eef1f6;border-radius:12px;cursor:zoom-in}.cp-photo figcaption{font-size:14px;margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}.cp-document-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.cp-document-head>span{font-size:13px;color:#677287}.cp-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.cp-facts small{display:block;color:#677287;font-size:12px}.cp-facts strong{font-size:14px;overflow-wrap:anywhere}.cp-table-wrap{overflow-x:auto}.cp-view table{border-collapse:collapse;width:100%;font-size:13px}.cp-view th{font-size:11px;text-align:left;color:#677287;background:#f6f8fa}.cp-view td,.cp-view th{padding:12px 9px;border-bottom:1px solid #e1e5eb;vertical-align:top}.cp-view td:not(:nth-child(2)),.cp-view th:not(:nth-child(2)){white-space:nowrap}.cp-view td small{display:block;color:#677287;font-size:11px}.cp-totals{max-width:430px;margin:20px 0 10px auto}.cp-totals p{display:flex;justify-content:space-between;gap:20px;font-size:14px}.cp-totals span,.cp-totals strong{white-space:nowrap}.cp-total{font-size:20px!important;border-top:2px solid #172235;padding-top:15px;font-weight:700}.cp-muted{color:#677287;font-size:12px}.cp-contact{color:#677287;font-size:14px;padding:10px 5px 30px;text-align:center}.cp-contact p{margin:4px 0}.cp-loading,.cp-empty{text-align:center;padding:50px 20px}.cp-error{max-width:880px;margin:auto;color:#b52230}.cp-page dialog{border:0;padding:12px;background:white;border-radius:14px;max-width:90vw;max-height:90vh}.cp-page dialog::backdrop{background:#000a}.cp-page dialog img{display:block;max-width:85vw;max-height:75vh;margin-top:12px}.cp-editor{display:grid;gap:22px}.cp-editor section{min-width:0}.cp-editor h3{margin:0 0 12px}.cp-editor .cp-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cp-editor .cp-toolbar-note{background:#fff7d9;border:1px solid #f4da83;border-radius:12px;padding:14px}.cp-editor .cp-edit-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cp-edit-photo{border:1px solid #e1e5eb;border-radius:12px;padding:10px;display:grid;gap:8px}.cp-edit-photo img{width:100%;height:120px;object-fit:cover;border-radius:8px}.cp-edit-photo input{width:100%;min-width:0;box-sizing:border-box}.cp-editor .cp-preview-wrap{background:#f3f5f8;padding:16px;border-radius:16px}.cp-editor .cp-error{font-size:14px;white-space:pre-wrap;text-align:left;max-width:none;margin:0}.cp-editor .cp-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0}.cp-editor .cp-confirm input{width:auto;margin-top:4px}.cp-editor .cp-link{width:100%;box-sizing:border-box;margin:8px 0;font-size:13px}.cp-editor .cp-history{font-size:13px;line-height:1.7}.cp-editor .cp-history li{margin:8px 0}.cp-editor .cp-hidden{display:none}.cp-editor input,.cp-editor textarea,.cp-editor select{font:inherit}.cp-editor input[type=file]{max-width:100%}.cp-editor button:disabled,.cp-page button:disabled{opacity:.55;cursor:default}.cp-editor .cp-status{color:#30542f;font-size:14px}.cp-editor .cp-preview-wrap:empty{display:none}@media(max-width:600px){.cp-header{padding:16px 14px;align-items:flex-start;gap:10px}.cp-header .cp-brand-link{font-size:14px}.cp-header .cp-actions{max-width:105px;justify-content:flex-end}.cp-header button{font-size:12px;padding:8px}.cp-brand{width:42px;height:42px;border-radius:13px}#client-content{padding:0 12px}.cp-hero{padding:24px 20px}.cp-card{padding:20px 16px}.cp-photos{grid-template-columns:1fr}.cp-photo img{height:240px}.cp-view th,.cp-view td{padding:10px 7px}.cp-facts{gap:12px}.cp-editor .cp-edit-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-editor .cp-preview-wrap{padding:8px}.cp-document-head{flex-direction:column}.cp-totals p{font-size:13px}.cp-editor .cp-tools>button{flex:1 1 auto}}
@media print{.cp-page{background:white}.cp-header,.cp-hero,.cp-message,.cp-gallery,.cp-contact,#client-error,.cp-page dialog{display:none!important}#client-content{max-width:none;padding:0}.cp-card{border:0;padding:0}.cp-table-wrap{overflow:visible}.cp-view th,.cp-view td{white-space:normal!important}.cp-view tr{break-inside:avoid}.cp-facts{grid-template-columns:1fr 1fr}.cp-document-head{display:block}.cp-totals{break-inside:avoid}}

.cp-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.cp-payment-grid>div{padding:16px;border-radius:12px;background:#f3f5f8;min-width:0}.cp-payment-grid dt{font-size:13px;color:#526077}.cp-payment-grid dd{font-size:clamp(19px,2.5vw,26px);font-weight:700;margin:8px 0 0;overflow-wrap:anywhere}.cp-payment-grid .cp-payment-remaining{background:#fff3cc}.cp-payment-grid .cp-payment-over{background:#e8f3e8}.telegram-settings{border-top:1px solid #b5bac5;padding-top:18px}.telegram-settings p{font-size:14px;line-height:1.5}.telegram-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:600px){.cp-payment-grid{grid-template-columns:1fr}.cp-payment-grid>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.cp-payment-grid dd{margin:0;text-align:right;font-size:20px}.cp-payment-grid dt{max-width:45%}}@media print{.cp-payment{break-inside:avoid;margin:0 0 20px}.cp-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-payment-grid>div{background:none;border:1px solid #ccc;padding:10px}}
