.wf-g5-root{font-family:inherit;max-width:1100px;margin:32px auto;color:#062b46}
.wf-g5-root *{box-sizing:border-box}
.wf-g5-shell{background:#fff;border:1px solid #d8e1e7;border-radius:14px;padding:28px}
.wf-g5-title{font-size:28px;line-height:1.25;margin:0 0 10px;color:#052b46}
.wf-g5-muted,.wf-g5-footnote{color:#627589;font-size:14px;line-height:1.6}
.wf-g5-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.wf-g5-btn{border:1px solid #082e49;background:#fff;color:#082e49;border-radius:24px;padding:10px 17px;cursor:pointer;font:inherit;font-size:14px;line-height:1.3}
.wf-g5-btn:hover{background:#eef5f7}
.wf-g5-btn:focus-visible,.wf-g5-section-link:focus-visible{outline:3px solid #bf9149;outline-offset:2px}
.wf-g5-primary{background:#072b46;color:#fff}
.wf-g5-primary:hover{background:#164463}
.wf-g5-btn:disabled{opacity:.5;cursor:not-allowed}
.wf-g5-minor{border-color:#d8e1e7}
.wf-g5-project{padding:16px 0;border-bottom:1px solid #e2e8ed;display:flex;justify-content:space-between;align-items:center;gap:14px}
.wf-g5-project p{margin:5px 0 0}
.wf-g5-sections{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}
.wf-g5-section-link{border:1px solid #cfdce6;background:#f7fafb;border-radius:8px;color:#082e49;font:inherit;padding:9px 11px;font-size:13px;cursor:pointer}
.wf-g5-selected{background:#062b46;color:#fff}
.wf-g5-panel{padding:18px 0;border-top:1px solid #d8e1e7}
.wf-g5-panel h3{font-size:21px;margin:0 0 10px;color:#082e49}
.wf-g5-panel h4{font-size:16px;color:#082e49;margin:20px 0 8px}
.wf-g5-field{display:flex;flex-direction:column;gap:7px;margin:16px 0}
.wf-g5-field label{font-weight:600;font-size:14px}
.wf-g5-input{width:100%;border:1px solid #c9d7e1;border-radius:8px;padding:10px 12px;font:inherit;color:#062b46;background:#fff}
.wf-g5-input:focus{outline:2px solid #bf9149;outline-offset:1px}
.wf-g5-input:disabled{background:#f6f8f9}
.wf-g5-message{font-size:14px;border-radius:6px;padding:10px 12px;background:#f4f7f9}
.wf-g5-warning{color:#805610;background:#fff9e9}
.wf-g5-error{color:#912d2b;background:#fff2f2}
.wf-g5-success{color:#166039;background:#eaf6ed}
.wf-g5-cart li,.wf-g5-history li{margin:7px 0}
.wf-g5-chat{display:block;max-width:100%;width:100%;height:670px;border:1px solid #d9e1e7;border-radius:12px}
.wf-g5-chat[hidden]{display:none}
.wf-g5-structured{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f9;padding:12px;border-radius:8px}
@media(max-width:700px){.wf-g5-root{margin:12px 0}.wf-g5-shell{padding:16px}.wf-g5-title{font-size:24px}.wf-g5-project{align-items:flex-start;flex-direction:column}.wf-g5-chat{height:650px}}

/* G5.2 — accessible Extension editor, no alteration to existing project forms. */
.wf-g5-extension-area{border-top:1px solid #d7e3eb;margin-top:22px;padding-top:12px}
.wf-g5-extension-area h4{margin:16px 0 10px}
.wf-g5-ext-list{display:grid;gap:10px;margin:12px 0}
.wf-g5-ext-line{border:1px solid #d4e0e8;border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.wf-g5-ext-summary{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.wf-g5-ext-form{border:1px solid #d5e1e9;border-radius:9px;padding:16px;margin-top:14px;background:#f9fcfd}
.wf-g5-ext-form label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;margin:10px 0}
.wf-g5-ext-form [hidden]{display:none!important}
.wf-g5-ext-page{margin-top:12px}
@media(max-width:700px){.wf-g5-ext-line{flex-direction:column;align-items:flex-start}.wf-g5-ext-form{padding:12px}}

/* G5.2.1: guided client-only New Page price estimation. */
.wf-g5-help-intro{border-left:3px solid #8baa9d;background:#f2f8f6;padding:14px 18px;border-radius:7px;margin:18px 0 4px;font-size:14px;line-height:1.55}
.wf-g5-help-intro p{margin:6px 0}
.wf-g5-new-page-intro h5{font-size:16px;margin:14px 0 8px;color:#082e49}
.wf-g5-new-page-intro p,.wf-g5-specialist-form p{font-size:14px;line-height:1.65;margin:8px 0}
.wf-g5-methods{border:1px solid #d5e1e9;border-radius:9px;padding:12px;margin:13px 0}
.wf-g5-methods legend{font-size:14px;font-weight:600;padding:0 6px}
.wf-g5-ext-form .wf-g5-radio-label{flex-direction:row;align-items:flex-start;gap:9px;margin:8px 0;font-weight:400;line-height:1.5;cursor:pointer}
.wf-g5-radio-label input{margin:4px 0 0;flex:0 0 auto;accent-color:#082e49}
.wf-g5-specialist-form{border-top:1px solid #d5e1e9;margin:12px 0 0;padding:12px 0}
.wf-g5-guide-link{border:0;background:none;padding:3px 0;color:#b73260;text-decoration:underline;cursor:pointer;font:inherit;font-size:14px}
.wf-g5-guide-link:hover{color:#942145}
.wf-g5-guide-link:focus-visible,.wf-g5-modal-close:focus-visible{outline:3px solid #bf9149;outline-offset:3px}
.wf-g5-guide-wrap{margin:4px 0 10px}
.wf-g5-pending-requests{border-top:1px solid #d5e1e9;margin:12px 0;padding-top:8px}
.wf-g5-request-details{font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}
.wf-g5-modal-backdrop{position:fixed;inset:0;z-index:1000000;background:rgba(0,18,35,.58);display:flex;justify-content:center;align-items:center;padding:18px}
.wf-g5-modal{background:white;color:#143450;border-radius:11px;max-width:520px;width:100%;max-height:90vh;overflow:auto;padding:24px 30px;box-shadow:0 20px 70px rgba(0,0,0,.25);line-height:1.65}
.wf-g5-modal-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.wf-g5-modal-head h3{font-size:24px;margin:0;color:#092e4b}
.wf-g5-modal p{margin:12px 0;font-size:15px}
.wf-g5-modal ul{margin:10px 0;padding-left:24px}
.wf-g5-modal li{font-size:15px;margin:3px 0}
.wf-g5-guide-strong{font-weight:700}
.wf-g5-modal-close{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:#bf3264;color:#fff;font:inherit;font-size:28px;width:31px;height:31px;cursor:pointer;line-height:1}
@media(max-width:700px){.wf-g5-help-intro{padding:12px}.wf-g5-modal{padding:17px 20px}}

/* G6.2: project-only recovery dialog, used only if the existing widget is absent. */
.wf-g6-connection-message{font-size:12px;max-width:360px}
.wf-g6-fallback{position:fixed;inset:0;z-index:2147483100;background:rgba(3,20,34,.6);display:flex;align-items:center;justify-content:center;padding:12px}
.wf-g6-fallback[hidden]{display:none!important}
.wf-g6-fallback-dialog{background:#fff;color:#102e46;width:min(410px,100%);height:min(690px,94vh);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 20px 55px rgba(0,0,0,.2)}
.wf-g6-fallback-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wf-g6-fallback-dialog p{margin:0;font-size:12px;line-height:1.4}
.wf-g6-fallback-frame{border:1px solid #d9e1e7;border-radius:10px;flex:1;width:100%;min-height:0;background:white}

/* G7: verified client decisions; no standalone agreement is treated as e-signature. */
.wf-g7-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:10px 0}
.wf-g7-decisions{border:1px solid #cddfe8;border-radius:8px;padding:13px;margin:10px 0;background:#f9fbfc}
.wf-g7-decisions[hidden]{display:none!important}
.wf-g7-decision{padding:13px;border-bottom:1px solid #dce5eb}
.wf-g7-decision:last-child{border-bottom:0}
.wf-g7-decision h4{font-size:15px;margin:0 0 6px}
.wf-g7-copy{white-space:pre-wrap;overflow-wrap:anywhere}

/* G8.2 — one client final review, without technical Evidence/Decision clutter. */
.wf-g8-final{margin:22px 0;padding:18px;border:1px solid #cfdee6;background:#f9fcfd;border-radius:10px}
.wf-g8-final h4{margin:10px 0;color:#082e49}
.wf-g8-summary{margin:14px 0;display:grid;gap:10px}
.wf-g8-summary-item{margin:4px 0;padding-bottom:8px;border-bottom:1px solid #e6edf2;overflow-wrap:anywhere}
.wf-g8-summary-item strong{display:block;font-size:14px;margin-bottom:3px}
.wf-g8-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.wf-g8-scope-section{border:1px solid #e0e9ef;border-radius:9px;padding:12px 16px}
.wf-g8-scope-section h5{font-size:15px;margin:2px 0 10px}
.wf-g8-legal-note{padding:12px;border-left:3px solid #b69059;background:#fffaf0;font-size:13px;line-height:1.6}
.wf-g8-final-controls{border-top:1px solid #cbdce7;padding-top:14px}

/* G9.2: the primary human discussion action is unmistakable, no new navigation. */
.wf-g5-root button.wf-g5-project-discussion{background:#f7931e;border:1px solid #cf6c00;color:#fff;font-weight:700;padding:12px 20px;border-radius:24px;box-shadow:0 2px 5px rgba(0,0,0,.13)}
.wf-g5-root button.wf-g5-project-discussion:hover{background:#dc7700;border-color:#b96300;color:#fff}
.wf-g5-root button.wf-g5-project-discussion:focus-visible{outline:3px solid #062b46;outline-offset:3px}

/* G9.4: read-only, server-derived subtotal persists above every section. */
.wf-g9-subtotal{display:flex;align-items:baseline;gap:8px 16px;flex-wrap:wrap;border:1px solid #cbdce6;border-radius:9px;background:#f5f9fa;padding:12px 15px;margin:16px 0 8px;color:#072b46}
.wf-g9-subtotal-label{font-size:14px;font-weight:600}
.wf-g9-subtotal-amount{font-size:21px;font-weight:700;font-variant-numeric:tabular-nums;margin-left:auto}
.wf-g9-subtotal-note{display:block;flex-basis:100%;font-size:12px;line-height:1.45;color:#627589}
@media(max-width:600px){.wf-g9-subtotal{align-items:flex-start}.wf-g9-subtotal-amount{margin-left:0;width:100%}}

/* G9.6: empty verified My Projects state. No draft is created on this screen. */
.wf-g96-empty-projects{padding:20px 14px;text-align:center;max-width:560px;margin:14px auto 0}
.wf-g96-empty-projects h3{margin:0 0 12px;font-size:21px;color:#062b46}
.wf-g96-empty-projects p{font-size:14px;line-height:1.65;color:#425d6e;margin:8px 0}
.wf-g96-empty-projects .wf-g5-btn{margin-top:16px}
