﻿.project-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));border:1px solid #519566;border-radius:16px;padding:28px;background:linear-gradient(135deg,#163f2c,#0e2d22);color:#eaf6ee;box-shadow:0 24px 90px #071e2880;max-height:calc(100dvh - 40px);overflow:auto;font-family:inherit}.project-dialog::backdrop{background:#061b1459;backdrop-filter:blur(4px)}.project-dialog h2{font-size:23px;line-height:1.3;color:#f2fff5;margin:10px 28px 14px 0}.project-dialog p{font-size:14px;line-height:1.7;color:#c5dfce}.project-dialog .project-dialog-kicker{font:11px ui-monospace,Consolas,monospace;letter-spacing:.1em;color:#a0d5b1}.project-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.project-dialog button{font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;min-height:44px;padding:10px 14px;border-radius:7px}.project-dialog-primary{border:1px solid #a9e4b8;background:#b6edc0;color:#113d25}.project-dialog-secondary{background:#ffffff08;border:1px solid #61836d;color:#e8f6ed}.project-dialog button:hover{box-shadow:0 0 18px #69df8a44;border-color:#9bebad}.project-dialog button:focus-visible{outline:2px solid #b8f7ca;outline-offset:4px}.project-dialog .project-dialog-close{position:absolute;right:12px;top:10px;min-width:40px;min-height:40px;padding:5px;border:0;background:transparent;color:#d7f0df;font-size:25px}.cb-save-state{font-size:12px;color:#49745b;margin-top:18px}.service-intake .central-builder{padding:20px 0}.service-intake .central-builder>.container{width:100%;padding:0}.cb-request-tools{display:flex;flex-wrap:wrap;gap:5px 16px;border-top:1px solid #dde9e1;margin-top:14px;padding-top:6px}.cb-stage.is-complete>summary .cb-number{font-size:0;background:#147d43;color:white}.cb-stage.is-complete>summary .cb-number:before{content:'✓';font-size:15px}.cb-request-status{font-size:12px;color:#176e3e;margin:4px 0}.cb-service-work>summary .cb-job-label{white-space:normal}.cb-preview[data-review-open]{outline:2px solid #85cb98;outline-offset:3px}.cb-preview:focus{outline:2px solid #85cb98}.cb-preview-review-link{display:block;color:#d2f1dc;font:inherit;font-size:12px;margin-top:14px}.cb-question.is-unsure .cb-q-number:before{content:'–'}.cb-final-row p{overflow-wrap:anywhere}.cb-preview,.cb-final-review{scroll-margin-top:calc(var(--nav-height,76px) + 20px)}
@media(max-width:720px){.service-intake .central-builder{padding:12px 0}.service-intake .cb-heading h2{font-size:24px}.cb-preview[data-review-open]{max-height:65dvh}.project-dialog{padding:23px}.cb-request-tools .text-link{min-height:44px}}
@media(prefers-reduced-motion:reduce){.project-dialog *{transition:none!important}}

.central-builder .cb-preview-review-link{position:sticky;bottom:0;width:100%;min-height:44px;padding:10px 12px;margin-top:14px;background:#b7e8c1;color:#123b25;border:1px solid #9dd6ac;border-radius:6px;font:600 13px/1.5 ui-monospace,Consolas,monospace;cursor:pointer;box-shadow:0 -8px 18px #102e2440}.central-builder .cb-preview-review-link:hover{background:#d1f7d7}.is-field-complete:before{content:'✓ ';color:#137f42;font-weight:600}.cb-preview:focus:not(:focus-visible),#cb-review-title:focus:not(:focus-visible){outline:none}.cb-request-status{display:block}

.project-dialog p{white-space:pre-line}

/* The content scrolls independently; actions never cover an answer. */
.central-builder .cb-preview{display:flex;flex-direction:column;overflow:hidden;padding:0;min-height:0}
.central-builder .cb-command{flex:none;margin:0;padding:12px 20px}
.cb-preview-scroll{overflow:auto;overscroll-behavior:auto;min-height:0;padding:18px 22px;scrollbar-color:#4c7c5e #102f24;scrollbar-width:thin;overflow-wrap:anywhere}
.cb-preview-footer{flex:none;padding:12px 22px;background:#123426;border-top:1px solid #466d53}
.central-builder .cb-preview-footer .cb-preview-review-link{position:static;margin:0}
.cb-preview-footer button:disabled{opacity:.55;cursor:not-allowed}
.cb-approval-tools{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:14px}.cb-approval-tools button,.cb-approval-tools a{color:#a6e3ae;font:inherit;font-size:12px;min-height:36px}
.cb-approval-notice{color:#c6efd0;font-size:13px;margin:12px 0}.cb-terms{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px}.cb-terms input{flex:none;width:18px;height:18px;margin-top:3px;accent-color:#147d43}
.cb-checkout-items{display:grid;gap:8px;margin:14px 0}.cb-checkout-items button{text-align:left}.cb-preview-scroll:focus-visible{outline:2px solid #a6e3ae;outline-offset:-3px}
@media(max-width:720px){.central-builder .cb-preview{max-height:65dvh}.cb-preview-scroll{padding:14px 16px}.cb-preview-footer{padding:10px 16px}}

.central-builder .cb-preview .text-link{color:#a6e3ae;border-color:#57966f}.central-builder .cb-preview .text-link:hover{color:#d4f2d8}.central-builder .cb-preview .text-link:focus-visible{outline:2px solid #a6e3ae;outline-offset:3px}

.cb-approved-request>summary{cursor:pointer;padding:8px 0;color:#d2edda;font:400 14px/1.7 ui-monospace,Consolas,monospace}.cb-approved-request>dl{padding-top:8px}.cb-approved-request>summary:focus-visible{outline:2px solid #a6e3ae;outline-offset:2px}

/* Request identity and navigation remain visible above the scrolling answers. */
.central-builder .cb-request-navigator{flex:none;padding:10px 22px;border-bottom:1px solid #466d53;background:#14392b;color:#d5ecde;font:13px/1.5 ui-monospace,Consolas,monospace}
.central-builder .cb-request-navigator[hidden]{display:none}.cb-request-position{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}.central-builder .cb-request-navigator p{font:inherit;color:#edf7ef;margin:4px 0;overflow-wrap:anywhere}
.cb-request-nav-actions{display:flex;justify-content:space-between;gap:12px}.cb-request-nav-actions button{padding:6px 0;min-height:36px;background:none;color:#a6e3ae;border:0;font:inherit;cursor:pointer}.cb-request-nav-actions button:disabled{opacity:.45;cursor:default}.cb-request-nav-actions button:focus-visible{outline:2px solid #a6e3ae;outline-offset:2px}
.central-builder .cb-preview-footer button:disabled{opacity:1;cursor:default;border-color:#466d53;color:#a6e3ae}.central-builder .cb-preview-footer button:disabled:hover{background:transparent;box-shadow:none}.cb-preview-scroll{flex:1 1 auto}
@media(max-width:720px){.central-builder .cb-request-navigator{padding:8px 16px;font-size:12px}}
