.wf-heading,.wf-actions,.wf-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wf-heading{justify-content:space-between;margin-bottom:22px}.wf-heading h1{font-size:22px;margin:0}.wf-primary{background:#3e83dd;color:#fff;border-color:#3e83dd}.wf-card{border:1px solid #e5e8ee;border-radius:10px;padding:22px;margin-bottom:18px;background:white}.wf-card h2{font-size:17px;margin:0 0 18px}.wf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wf-card label,.workflow-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.wf-card input,.wf-card select,.wf-card textarea,.workflow-dialog input,.workflow-dialog select,.workflow-dialog textarea{font:inherit;color:#202a38;border:1px solid #dce1e8;background:#fff;padding:10px;border-radius:6px;min-width:0;width:100%}.wf-card input[type=checkbox]{width:auto}.wf-check{flex-direction:row!important;align-items:center}.wf-card p{line-height:1.6;color:#626e7f}.wf-status{color:#a63131;line-height:1.6;min-height:1.5em}.wf-notice{padding:12px 16px;border:1px solid #edcf8c;background:#fffaf0;border-radius:7px;line-height:1.6;margin:12px 0}.wf-table{width:100%;border-collapse:collapse;font-size:13px}.wf-table th,.wf-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #e8ebef;vertical-align:top}.wf-table th{color:#626d7c;font-size:12px;background:#f8fafc}.wf-table input{padding:7px;min-width:85px}.wf-table .money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.wf-scroll{overflow:auto}.wf-badge{display:inline-block;padding:4px 8px;background:#eef3fa;color:#405e88;border-radius:5px;font-size:12px;white-space:nowrap}.wf-badge.pending,.wf-badge.engineering_hold{background:#fff3d8;color:#926719}.wf-tabs{border-bottom:1px solid #e4e8ee;margin-bottom:20px}.wf-tabs button{border:0;box-shadow:none;padding:12px;border-radius:0;background:none}.wf-tabs button[aria-selected=true]{color:#3176c4;border-bottom:3px solid #619de0}.wf-login{max-width:450px;margin:8vh auto}.wf-login label{margin:18px 0}.wf-empty{padding:35px;color:#637083}.wf-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.wf-stat{border:1px solid #e3e7ee;padding:20px;border-radius:9px}.wf-stat strong{font-size:30px;display:block;margin-top:10px}.wf-drawing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.wf-drawing-grid img{width:100%;border:1px solid #e4e8ee}.wf-drawing-grid img:first-child{grid-column:1/-1}.wf-3d{width:100%;height:70vh;border:1px solid #e5e8ed;border-radius:8px}.workflow-dialog{border:1px solid #dde3ea;border-radius:12px;padding:25px;width:460px;max-width:95vw;color:#202a38}.workflow-dialog::backdrop{background:#182c4755}.workflow-dialog label{margin:16px 0}.account-workflow{display:inline-flex;align-items:center;gap:8px;font:12px Arial}.account-workflow a{color:#3e6898;text-decoration:none}.account-workflow button{padding:9px;border:1px solid #dce3ec;background:#fff;border-radius:6px;color:#243b58;cursor:pointer}.wf-summary{display:flex;justify-content:space-between;gap:20px;max-width:600px;padding:10px 0}.wf-summary strong{font-variant-numeric:tabular-nums}.wf-small{font-size:12px;color:#6a7481}.wf-top-actions{display:flex;gap:12px;margin-left:auto;align-items:center}.wf-list-link{color:#2e72b9;text-decoration:underline}.wf-form-wide{grid-column:1/-1}.wf-card button{margin-top:8px}@media(max-width:850px){.wf-grid,.wf-stats{grid-template-columns:1fr 1fr}.wf-drawing-grid{grid-template-columns:1fr}.account-workflow{flex-wrap:wrap}.account-workflow a{display:none}}@media(max-width:600px){.wf-grid,.wf-stats{grid-template-columns:1fr}.wf-card{padding:16px}.wf-heading h1{font-size:20px}.account-workflow button{font-size:11px;padding:6px}.project-header .head-right{flex-wrap:wrap}.wf-3d{height:65vh}}

.wf-quote-preview [data-quote-pdf]{width:100%;height:calc(100vh - 270px);min-height:520px;border:1px solid #dce3de;border-radius:8px;margin-top:18px;background:#edf1ee}.wf-quote-preview .wf-actions{justify-content:flex-end}@media(max-width:700px){.wf-quote-preview [data-quote-pdf]{min-height:65vh;height:65vh}}
.wf-preview-pages{justify-content:flex-start!important;margin-top:14px}.wf-preview-pages button[aria-pressed=true]{color:#2d6fbb;border-color:#89b0df;background:#edf4fc}

/* Sign-in is a standalone white workspace, with no dashboard chrome. */
body.wf-auth-page{background:#fff;color:#202124}
.wf-auth{min-height:100dvh;display:grid;place-items:center;padding:40px 24px}
.wf-auth .wf-login{width:100%;max-width:450px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.wf-login-logo{display:block;width:285px;max-width:100%;height:auto;margin-bottom:42px;opacity:1}
.wf-auth h1{margin:0 0 10px;font-size:26px;font-weight:700;letter-spacing:-.4px}
.wf-auth p{margin:0 0 22px;font-size:14px}
.wf-auth .wf-primary{width:100%;min-height:44px;font-weight:600}
.wf-auth .wf-primary:disabled{opacity:.55;cursor:not-allowed}
.wf-auth .wf-status:empty{display:none}
.wf-auth .wf-status{margin-top:16px}
@media(max-width:600px){.wf-auth{padding:36px 24px}.wf-login-logo{width:260px;margin-bottom:34px}}
.wf-auth .wf-email-setup{max-width:640px}.wf-email-setup .wf-grid{gap:0 20px}.wf-email-setup .wf-primary{margin-top:12px}.wf-email-setup .wf-status{margin-bottom:0}

/* Compact sign-in card, matching the supplied white-page reference. */
.wf-auth .wf-login-card{max-width:400px;border:1px solid #e4e5e7;border-radius:14px;box-shadow:0 2px 3px #18212e0b,0 5px 9px #18212e06;overflow:hidden}
.wf-login-brand{height:200px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e6e7e9;padding:32px}
.wf-login-card .wf-login-logo{width:250px;max-width:100%;margin:0;opacity:1}
.wf-login-body{padding:30px 32px 32px}
.wf-login-card h1{font-size:26px;line-height:32px;letter-spacing:-.6px;font-weight:700;margin:0 0 26px;color:#191b1e}
.wf-login-card label{margin:0;gap:4px;font-size:14px;line-height:20px;font-weight:500;color:#707887}
.wf-login-card input{height:40px;border:1px solid #d8dce1;box-shadow:0 0 0 1px #e9eaec;border-radius:8px;padding:8px 10px;font-size:16px;font-weight:400;color:#202124;line-height:22px}
.wf-login-card input::placeholder{color:#8a8d93;opacity:1}
.wf-login-card input:focus{border-color:#3b82f6;outline:2px solid #3b82f626;outline-offset:1px;box-shadow:none}
.wf-login-card .wf-login-submit{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:40px;height:40px;margin-top:23px;padding:0 11px;background:#3b82f6;border:1px solid #3b82f6;border-radius:8px;box-shadow:none;color:#fff;font-size:14px;font-weight:600}
.wf-login-card .wf-login-submit:hover{background:#2671e8;border-color:#2671e8;color:#fff}
.wf-login-submit svg{width:17px;height:17px;stroke-width:1.8}
.wf-login-card .wf-login-back{display:flex;justify-content:center;width:100%;border:0;box-shadow:none;background:transparent;font-size:13px;font-weight:500;color:#536174;margin:16px 0 0;padding:2px}
.wf-login-card .wf-login-back:hover{color:#2465c2;text-decoration:underline;text-underline-offset:3px}
.wf-login-card .wf-login-instruction{font-size:14px;line-height:1.6;color:#626d7d;margin:-12px 0 23px}
.wf-login-card .wf-status{font-size:13px;margin:18px 0 0;line-height:1.6;overflow-wrap:anywhere}
.wf-login-card .wf-status:empty{display:none}
.wf-login-card .wf-notice{font-size:13px;line-height:1.6;margin:0 0 22px}
.wf-login-footer{position:fixed;bottom:10px;left:12px;font-size:12px;color:#707887;line-height:18px}
@media(max-width:480px){.wf-auth{padding:36px 20px 64px}.wf-login-brand{height:174px;padding:28px}.wf-login-card .wf-login-logo{width:235px}.wf-login-body{padding:28px}.wf-login-card h1{font-size:25px}.wf-login-footer{font-size:11px}}
@media(max-height:580px){.wf-auth{padding-top:24px;padding-bottom:54px}.wf-login-brand{height:128px}.wf-login-footer{position:static;margin:0 12px 10px}}

/* Email-code confirmation: six cells, no submit button. */
.wf-code-card .wf-code-body{padding:26px 24px 28px}.wf-code-card h1{font-size:25px;margin-bottom:25px;letter-spacing:-.5px}
.wf-code-card h2,.wf-code-card .wf-code-label{display:block;font-size:15px;font-weight:650;line-height:21px;color:#263142;margin:0 0 5px}
.wf-code-card .wf-code-description{font-size:13px;line-height:1.55;color:#707b8c;margin:0 0 25px;overflow-wrap:anywhere}.wf-code-card .wf-code-description strong{font-weight:600;color:#4d5b70}
.wf-code-card #code-help{margin-bottom:16px}
.wf-code-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.wf-code-card .wf-code-inputs input{height:56px;width:100%;min-width:0;padding:0;text-align:center;border:1px solid #d5dce5;box-shadow:none;background:#f9fafc;border-radius:9px;font-size:23px;font-weight:500;color:#263142;caret-color:#3b82f6}
.wf-code-card .wf-code-inputs input:focus{background:#fff;border-color:#3b82f6;outline:2px solid #3b82f62b;outline-offset:1px}
.wf-code-card .wf-code-inputs input[aria-invalid=true]{border-color:#c76565}.wf-code-card .wf-code-inputs input:disabled{opacity:.7}
.wf-code-card .wf-status{margin:14px 0 0}.wf-code-card .wf-code-pending{color:#62718a}
.wf-code-footer{padding:17px 24px 19px;border-top:1px solid #e6e7e9;background:#f8f9fb}
.wf-code-card .wf-code-footer p{font-size:13px;line-height:1.65;color:#707b8c;margin:0}
.wf-code-footer [data-resend-code]{display:inline;border:0;border-radius:0;background:transparent;box-shadow:none;color:#306ac1;font:inherit;font-weight:500;padding:0;margin:0;white-space:normal;text-align:left}
.wf-code-footer [data-resend-code]:disabled{cursor:default;color:#8792a3}.wf-code-footer [data-resend-code]:enabled:hover{text-decoration:underline;text-underline-offset:3px}
.wf-code-card .wf-code-footer .wf-login-back{margin-top:12px;text-align:left;justify-content:flex-start;font-size:12px}.wf-code-card button:disabled{cursor:default}
@media(max-width:480px){.wf-code-inputs{gap:7px}.wf-code-card .wf-code-inputs input{height:52px;font-size:22px}.wf-code-card h1{font-size:24px}}

#wf-status[data-success=true]{color:#4c7963}

/* Shared draft and quote actions: consistent, comfortable targets in every configurator. */
.workflow-dialog .wf-actions{justify-content:flex-end;gap:12px;margin-top:24px}
.workflow-dialog .wf-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:120px;padding:12px 24px;border:1px solid #dce1e8;border-radius:8px;background:#fff;color:#17212f;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;cursor:pointer}
.workflow-dialog .wf-actions>button.wf-primary{background:#3e83dd;border-color:#3e83dd;color:#fff}
.workflow-dialog .wf-actions>button:focus-visible{outline:3px solid #a8caff;outline-offset:2px}
.workflow-dialog .wf-actions>button:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){.workflow-dialog .wf-actions>button{flex:1;min-width:0}}

/* Keep all save actions reachable when the configurator header wraps on phones. */
@media(max-width:720px){.project-header:has(.account-workflow){height:auto;min-height:55px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.project-header>.head-right:has(.account-workflow){width:100%;margin-left:0;flex-wrap:wrap;justify-content:space-between}.project-header .account-workflow{flex:1;gap:6px}}
