.cw-workspace{margin-top:28px;border-top:1px solid var(--cp-line);padding-top:27px}.cw-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.cw-header h3{font-size:1.15rem;margin:0}.cw-header .cp-button{min-height:44px;flex-shrink:0}.cw-status{margin-top:18px;padding:13px 16px;border:1px solid #ccdef4;border-radius:6px;background:#f0f6ff;color:#32577f;font-size:.79rem;line-height:1.8}.cw-status.is-error{background:#fff3ea;border-color:#ecc5a5;color:#8b4f24}.cw-section{margin-top:27px}.cw-section>h4{font-size:1rem;margin:0 0 15px}.cw-muted,.cw-original-note,.cw-payment-note,.cw-accept-note{font-size:.76rem;line-height:1.85;color:var(--cp-muted)}.cw-payment-note{padding:14px 17px;background:#f3f6fa;border-radius:6px;margin-top:18px}.cw-quote{border:1px solid var(--cp-line);background:#fff;border-radius:7px;margin-top:12px;overflow:hidden}.cw-quote>summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px;cursor:pointer;padding:17px 20px;background:#f9fbfd;font-size:.76rem}.cw-quote>summary::marker{color:var(--cp-blue)}.cw-total{font-size:1.16rem;color:var(--cp-ink);margin-left:auto;font-variant-numeric:tabular-nums}.cw-quote-state{font-size:.66rem;line-height:1.5;padding:5px 8px;background:#edf2f8;border-radius:4px;max-width:100%}.cw-quote-state.accepted{background:#e7f5ed;color:#2f6d45}.cw-quote-state.issued{background:#fff0df;color:#8b552b}.cw-quote-body{padding:0 20px 20px}.cw-quote-body h5{font-size:.76rem;margin:18px 0 7px}.cw-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 25px;margin:17px 0}.cw-facts>div{min-width:0}.cw-facts dt{font-size:.68rem;color:var(--cp-muted)}.cw-facts dd{font-size:.82rem;font-weight:600;margin:5px 0 0;overflow-wrap:anywhere}.cw-preserve{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.81rem;line-height:1.9;margin:0;color:var(--cp-ink)}.cw-billing-mode{margin:16px 20px 0;font-size:.69rem;font-weight:650;color:#3f648e}.cw-quote>.cp-button{margin:0 20px 20px}.cw-stage{display:inline-block;font-size:.8rem;font-weight:650;background:#eaf2fe;color:#285f9f;border-radius:5px;padding:8px 11px}.cw-messages{list-style:none;margin:17px 0;padding:0;display:grid;gap:12px}.cw-message{padding:15px 17px;border:1px solid var(--cp-line);border-radius:7px;background:#fff}.cw-message.from-team{background:#f3f7fd;border-color:#cedef0}.cw-message-meta{font-size:.67rem;font-weight:650;color:var(--cp-muted);margin:0 0 8px}.cw-message-form{margin-top:22px;display:grid;gap:10px}.cw-message-form label{font-size:.76rem;font-weight:650}.cw-message-form .cp-button{justify-self:start}.cw-dialog{width:min(760px,calc(100% - 30px));max-height:calc(100vh - 32px);padding:28px;border:1px solid #ccd8e5;border-radius:12px;color:var(--cp-ink);background:#fff;box-shadow:0 25px 100px #11264060}.cw-dialog::backdrop{background:#112640a6}.cw-dialog>h3{font-size:1.35rem;margin:0}.cw-dialog .cw-quote-body{padding:0}.cw-revision{font-size:.74rem;color:var(--cp-muted);margin:11px 0 20px}.cw-accept-note{padding:15px 17px;border-left:3px solid var(--cp-orange);background:#fff5eb;margin-top:22px}.cw-confirmation{display:flex;align-items:flex-start;gap:13px;font-size:.81rem;line-height:1.85;margin:23px 0}.cw-confirmation input{width:19px;height:19px;margin-top:5px;flex-shrink:0;accent-color:var(--cp-blue)}.cw-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:25px}@media(max-width:600px){.cw-header{display:block}.cw-header>.cp-button{margin-top:14px}.cw-facts{grid-template-columns:1fr;gap:13px}.cw-quote>summary{padding:15px}.cw-total{font-size:1.04rem}.cw-quote-body{padding-inline:15px}.cw-quote>.cp-button{margin-inline:15px}.cw-dialog{padding:23px 19px}.cw-actions>.cp-button{flex:1 1 auto}.cw-message-form>.cp-button{width:100%}.cw-quote-state{flex:1 1 100%}.cw-stage{max-width:100%;white-space:normal}}
.customer-page .cw-confirmation{display:flex;align-items:flex-start;font-size:.81rem;line-height:1.85}.customer-page .cw-confirmation>span{min-width:0;overflow-wrap:anywhere}
.customer-page .cw-quote>.cp-button-blue{background:var(--cp-blue);border-color:var(--cp-blue);color:#fff}.customer-page .cw-quote>.cp-button-blue:hover{background:#115fbe;border-color:#115fbe}
.cw-payment{padding:21px;border:1px solid #d6e0ed;border-left:3px solid var(--cp-orange);border-radius:7px;background:#f9fbfe}.cw-payment-state{font-size:.83rem;font-weight:650;line-height:1.8;color:#315e8d}.cw-payment-state.paid{color:#2f6d45}.cw-payment-state.failed,.cw-payment-state.expired,.cw-payment-state.review_required{color:#8b4f24}.cw-payment-test{font-size:.73rem;line-height:1.8;background:#fff2df;border:1px solid #efd3a8;color:#815325;padding:10px 13px;border-radius:5px}.cw-payment>.cp-button{margin:8px 0 10px;white-space:normal;text-align:center}.cw-payment>.cw-muted{margin-bottom:0}.cw-payment .cw-facts{margin-bottom:19px}@media(max-width:600px){.cw-payment{padding:17px}.cw-payment>.cp-button{width:100%}}
.cw-progress{padding:22px;border:1px solid var(--cp-line);border-radius:10px;background:#fafcfe;min-width:0}.cw-progress-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:20px 0;gap:10px}.cw-progress-step{display:grid;align-content:start;justify-items:start;gap:8px;padding:12px 10px;border:1px solid #dbe3ed;border-radius:8px;min-width:0;background:#fff;color:#526478}.cw-progress-step.is-current{border:2px solid #1768bb;background:#edf5ff;color:#174e87;padding:11px 9px}.cw-progress-marker{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#eef2f7;font-size:.76rem;font-weight:700}.is-current .cw-progress-marker{background:#1768bb;color:#fff}.cw-progress-label{font-size:.73rem;line-height:1.55;overflow-wrap:anywhere}.cw-progress-current{font-size:.64rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.cw-stage.is-completed{background:#e7f5ed;color:#265b39}.cw-stage.is-cancelled{background:#fbeceb;color:#873c35}.cw-stage.needs-client{background:#fff0dc;color:#794814}.cw-progress.needs-client{border-color:#e2bc81}.cw-progress.is-cancelled{border-color:#dcb9b5}.cw-progress-callout{font-size:.8rem;line-height:1.8;padding:13px 15px;background:#fff1de;border-left:3px solid #b96b10;border-radius:5px;overflow-wrap:anywhere}.cw-progress.is-cancelled .cw-progress-callout{background:#fbeeed;border-left-color:#9f5147}.cw-progress-checked{font-variant-numeric:tabular-nums;margin-bottom:0}@media(max-width:760px){.cw-progress{padding:17px}.cw-progress-steps{grid-template-columns:1fr;gap:7px}.cw-progress-step{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:5px 11px;padding:10px 12px}.cw-progress-step.is-current{padding:9px 11px}.cw-progress-marker{grid-row:1 / span 2}.cw-progress-current{grid-column:2}.cw-progress-label{font-size:.77rem}}

.cw-progress .cw-progress-label,.cw-progress .cw-progress-current,.cw-progress .cw-progress-marker,.cw-progress .cw-stage,.cw-progress .cw-muted,.cw-progress .cw-preserve,.cw-progress .cw-progress-callout,.cw-progress .cw-facts dt,.cw-progress .cw-facts dd,.cw-progress .cw-status{font-size:.875rem;line-height:1.75}
.cw-next{margin-top:22px;padding:21px;border:1px solid #cddded;border-left:4px solid var(--cp-orange);border-radius:9px;background:#f2f7fd;min-width:0}.cw-next h4{font-size:1rem;margin:0 0 10px}.cw-next p{font-size:.875rem;line-height:1.8;margin:0 0 16px;overflow-wrap:anywhere}.cw-next .cp-button{white-space:normal;text-align:center;max-width:100%}.cw-next .cp-button:focus-visible,.cw-history>summary:focus-visible{outline:3px solid var(--cp-orange);outline-offset:4px}.cw-history{margin-top:18px;border:1px solid var(--cp-line);border-radius:8px;background:#fff;padding:16px 18px;min-width:0}.cw-history>summary{font-size:.875rem;font-weight:650;line-height:1.7;cursor:pointer;overflow-wrap:anywhere}.cw-history .cw-muted{font-size:.875rem;line-height:1.75}.cw-history-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:18px}.cw-history-list>li{display:grid;gap:6px;border-left:2px solid #cedef0;padding-left:15px;min-width:0}.cw-history-date{font-size:.8rem;line-height:1.7;color:var(--cp-muted);font-variant-numeric:tabular-nums}.cw-history-stage{font-size:.875rem;line-height:1.7;overflow-wrap:anywhere}.cw-history .cw-preserve{font-size:.875rem;line-height:1.8}@media(max-width:600px){.cw-next{padding:17px}.cw-next .cp-button{width:100%}.cw-history{padding:15px}.cw-history-list>li{padding-left:12px}}

/* RC34 order workspace: body copy16px, supporting labels14px, shared card rhythm. */
.cw-workspace{padding-top:24px;margin-top:24px}.cw-section{margin-top:24px}
.cw-header{align-items:flex-start;flex-wrap:wrap;gap:16px}.cw-header h3{font-size:1.25rem;line-height:1.4}
.cw-status,.cw-original-note,.cw-payment-note,.cw-accept-note,.cw-preserve,.cw-message-form label,.cw-confirmation,.customer-page .cw-confirmation{font-size:1rem;line-height:1.65}
.cw-muted,.cw-quote>summary,.cw-quote-state,.cw-quote-body h5,.cw-facts dt,.cw-billing-mode,.cw-message-meta,.cw-revision,.cw-payment-test,.cw-history-date{font-size:.875rem;line-height:1.6}
.cw-facts dd,.cw-payment-state{font-size:1rem;line-height:1.65}.cw-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.cw-quote,.cw-message,.cw-payment,.cw-progress,.cw-next,.cw-history{border-radius:12px}
.cw-quote>summary{min-height:52px;padding:16px 20px;gap:12px 16px}.cw-total{font-size:1.25rem;line-height:1.4}
.cw-quote-body{padding:0 20px 20px}.cw-quote-body h5{margin-top:20px}.cw-message{padding:16px 20px}
.cw-payment,.cw-progress,.cw-next{padding:24px}.cw-next p,.cw-history .cw-preserve{font-size:1rem;line-height:1.65}
.cw-history>summary{min-height:44px;padding-block:8px}.cw-history-list{gap:20px}.cw-history-stage{font-size:1rem}
.cw-message-form textarea{min-height:120px}.cw-workspace .cp-button,.cw-dialog .cp-button{min-height:46px;font-size:1rem;border-radius:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.cw-confirmation{min-height:44px}.cw-confirmation input{width:20px;height:20px;margin-top:3px}
.cw-dialog{border-radius:16px;overflow-y:auto;max-height:calc(100dvh - 32px);padding:24px}
.cw-progress .cw-preserve,.cw-progress .cw-progress-callout,.cw-progress .cw-status{font-size:1rem;line-height:1.65}
@media(max-width:980px){.cw-progress-steps{grid-template-columns:minmax(0,1fr);gap:8px}.cw-progress-step{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:5px 12px;padding:12px}.cw-progress-step.is-current{padding:11px}.cw-progress-marker{grid-row:1 / span 2}.cw-progress-current{grid-column:2}}
@media(max-width:600px){.cw-header{display:flex}.cw-header>.cp-button{margin-top:0;width:100%}.cw-facts{grid-template-columns:minmax(0,1fr);gap:16px}.cw-payment,.cw-progress,.cw-next,.cw-history{padding:16px}.cw-quote>summary{padding:16px}.cw-quote-body{padding-inline:16px}.cw-message{padding:16px}.cw-total{margin-left:0}.cw-dialog{padding:20px 16px}.cw-actions{gap:12px}.cw-actions>.cp-button{flex:1 1 100%}}

.cw-total{min-width:0;max-width:100%;overflow-wrap:anywhere}
