/* Single-page HOQS Step 3 only; no Step 2 or fabrication styles overridden. */
.hoqs-build-workspace.hc-workspace{color:#302c3d;background:#fff;border:1px solid #e5e1ed;border-radius:12px;padding:16px;min-width:0;font-size:13px;line-height:1.45}
.hc-workspace *{box-sizing:border-box}
.hc-workspace :is(h2,h3,p,ul,fieldset){margin:0}
.hc-workspace :is(h2,h3){color:#302c3d;letter-spacing:-.015em}
.hc-workspace h2{font-size:19px;line-height:1.3;font-weight:700}
.hc-workspace h3{font-size:13px;line-height:1.4;font-weight:700}
.hc-workspace .hc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e9e5ef}
.hc-workspace .hc-header p{font-size:12px;line-height:1.5;color:#70697c;margin-top:4px}
.hc-workspace .hc-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hc-workspace .hc-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid #d9d2e5;border-radius:6px;background:white;color:#5b417d;font-family:inherit;font-size:12px;font-weight:650;text-decoration:none;cursor:pointer;line-height:1.4}
.hc-workspace .hc-button.hc-primary{background:#6944b0;border-color:#6944b0;color:#fff;white-space:nowrap}
.hc-workspace .hc-state{display:inline-block;font-size:11px;line-height:1.4;padding:5px 8px;border:1px solid #e5d5b7;border-radius:5px;color:#825b22;background:#fffaf1}
.hc-workspace .hc-state.is-compatible{color:#266949;background:#effaf4;border-color:#c9e4d5}
.hc-workspace .hc-state.is-incompatible{color:#9b3e3b;background:#fff4f2;border-color:#eec6c0}
.hc-workspace .hc-variants{display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #e9e5ef;padding:10px 0;min-width:0;flex-wrap:wrap}
.hc-workspace .hc-variants>legend{float:left;font-size:12px;font-weight:650;padding:0;margin-right:5px}
.hc-workspace .hc-variant-options{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.hc-workspace .hc-variant{position:relative;display:flex;cursor:pointer;min-width:0}
.hc-workspace .hc-variant>input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.hc-workspace .hc-variant>span{display:flex;align-items:center;gap:6px;padding:6px 9px;min-height:34px;border:1px solid #e3dfeb;border-radius:6px;font-size:12px;font-weight:650;background:#fff;color:#60546d}
.hc-workspace .hc-variant small{font-size:10px;font-weight:400;color:#84758e}
.hc-workspace .hc-variant>input:checked+span{border-color:#bba6d9;background:#f0eafa;color:#623e99}
.hc-workspace .hc-variant>input:focus-visible+span{outline:2px solid #9371c3;outline-offset:2px}
.hc-workspace .hc-quantity{font-size:11px;color:#746c82;margin-left:auto}
.hc-workspace .hc-main{min-width:0}
.hc-workspace .hc-loading{padding:15px 0;font-size:12px;color:#746c82}
.hc-workspace .hc-lower{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;padding:12px 0;border-top:1px solid #e9e5ef}
.hc-workspace .hc-parts>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.hc-workspace .hc-parts>header>span{font-size:11px;color:#746c82}
.hc-workspace .hc-parts ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;padding:0;list-style:none}
.hc-workspace .hc-parts li{font-size:11px;line-height:1.45;min-width:0;border-bottom:1px solid #efecf4;padding:4px 0 6px}
.hc-workspace .hc-parts li>span{display:flex;align-items:baseline;justify-content:space-between;gap:5px;overflow-wrap:anywhere}
.hc-workspace .hc-parts li strong{font-size:11px;font-weight:650}
.hc-workspace .hc-parts li b{font-size:11px;color:#776d85;white-space:nowrap}
.hc-workspace .hc-parts li>small{display:block;color:#80758d;font-size:10px}
.hc-workspace .hc-checks ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:5px 10px;list-style:none;padding:0;margin-top:8px}
.hc-workspace .hc-checks li{border-left:2px solid #d6bf92;padding:4px 8px;min-width:0;background:#fffdf8}
.hc-workspace .hc-checks li.is-pass{border-left-color:#74ac91;background:#f8fcfa}
.hc-workspace .hc-checks li.is-fail{border-left-color:#ce8a80;background:#fff9f7}
.hc-workspace .hc-checks li>div{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;font-size:11px}
.hc-workspace .hc-checks li>div>span{font-size:10px;color:#82714e}
.hc-workspace .hc-checks li>p,.hc-workspace .hc-cutout-verdict{font-size:11px;color:#766c82;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
.hc-workspace .hc-source{border-top:1px solid #e9e5ef;padding:10px 0 7px;min-width:0}
.hc-workspace .hc-source>header{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-bottom:4px}
.hc-workspace .hc-source>header>div{display:flex;gap:6px 12px;flex-wrap:wrap}
.hc-workspace .hc-source-link{font-size:11px;color:#6c4aa0;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.hc-workspace .hc-source>p{font-size:11px;color:#7b7285;line-height:1.45;overflow-wrap:anywhere;margin:3px 0}
.hc-workspace .hc-source .hc-digest{font-size:10px}
.hc-workspace .hc-digest code{font-size:10px;overflow-wrap:anywhere}
.hc-workspace .hc-source-notes{list-style:none;padding:0;font-size:11px;color:#896028;line-height:1.45;margin-top:6px;overflow-wrap:anywhere}
.hc-workspace .hc-source-alert{color:#896028!important}
.hc-workspace .hc-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e9e5ef;padding-top:10px}
.hc-workspace .hc-footer>p{font-size:11px;line-height:1.5;color:#7b7285;max-width:100ch}
.hc-workspace :is(button,a,input,[tabindex]):focus-visible{outline:2px solid #9371c3;outline-offset:3px}
@media(max-width:1000px){.hc-workspace .hc-header{align-items:flex-start;flex-wrap:wrap}.hc-workspace .hc-header-actions{justify-content:flex-start}.hc-workspace .hc-lower{grid-template-columns:minmax(0,1fr)}.hc-workspace .hc-parts ul{grid-template-columns:repeat(3,minmax(0,1fr))}.hc-workspace .hc-quantity{margin-left:0}}
@media(max-width:600px){.hoqs-build-workspace.hc-workspace{padding:12px}.hc-workspace h2{font-size:17px}.hc-workspace .hc-button,.hc-workspace .hc-variant>span{min-height:44px}.hc-workspace .hc-variant small{display:none}.hc-workspace .hc-parts ul{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-workspace .hc-parts li,.hc-workspace .hc-parts li strong{font-size:12px}.hc-workspace .hc-footer{align-items:stretch;flex-direction:column;gap:8px}.hc-workspace .hc-checks ul{grid-template-columns:1fr}.hc-workspace .hc-variant-options{gap:5px}.hc-workspace .hc-variants>legend{width:100%;margin-bottom:4px}}

.hoqs-build-fabrication{padding:22px;color:#574864}
.hoqs-build-fabrication>p{font-size:13px;line-height:1.8;color:#83728f}
.hoqs-build-exports{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.hoqs-build-exports .button{display:flex;flex-direction:column;padding:15px 10px;gap:7px;align-items:center;border:1px solid #d9cde5}
.hoqs-build-exports strong{font-size:13px}
.hoqs-build-exports small{font-size:11px;font-weight:400}
.hoqs-build-exports .button:disabled{background:#f5f2f8;color:#a096aa;border-color:#e5deec;cursor:not-allowed;opacity:1}
.hoqs-build-feedback{min-height:20px;font-size:13px;overflow-wrap:anywhere}
.hoqs-build-fabrication *{box-sizing:border-box}
.hoqs-build-fabrication .button{font-size:12px;line-height:1.5;white-space:normal;border-radius:6px;max-width:100%;min-height:36px;cursor:pointer}
@media(max-width:520px){.hoqs-build-fabrication{padding:16px}.hoqs-build-fabrication .hoqs-build-exports{grid-template-columns:1fr;gap:10px}}

/* Shared styles still used by the legacy fabrication export view. */
.hoqs-build-panel-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}
.hoqs-build-status{padding:17px 19px;border:1px solid #ebd9af;border-left:4px solid #bf8d33;border-radius:6px;background:#fffaf0;color:#875c16;margin-bottom:20px}
.hoqs-build-status strong{font-size:13px;display:block;margin-bottom:6px}
.hoqs-build-status p{font-size:12px;margin:0!important;line-height:1.7;color:inherit}
.hoqs-build-status.is-compatible{background:#f0fbf6;border-color:#bddfce;border-left-color:#2d9470;color:#286c55}
.hoqs-build-status.is-incompatible{background:#fff4f2;border-color:#ebc2b9;border-left-color:#bf6251;color:#943e30}

/* HOQS Step 3: transparent workflow progress without relaxing the fit evaluator. */
.hoqs-build-workspace .hc-fit-guidance{border:1px solid #dfd7ee;border-left:4px solid #7857ac;background:#fbfaff;border-radius:8px;padding:12px 16px;margin:12px 0;color:#443a59;overflow-wrap:anywhere}
.hoqs-build-workspace .hc-fit-guidance strong{font-size:13px}
.hoqs-build-workspace .hc-fit-guidance p{font-size:12px;line-height:1.5;margin:7px 0}
.hoqs-build-workspace .hc-fit-guidance ul{padding-left:19px;margin:7px 0;max-height:155px;overflow:auto;font-size:12px;line-height:1.6}
.hoqs-build-workspace .hc-fit-guidance[data-state=verified]{border-left-color:#268a65}
.hoqs-build-workspace .hc-fit-guidance[data-state=incompatible]{border-left-color:#b94c3b;background:#fff7f4}
.hoqs-build-workspace .hc-fit-guidance[data-state=draft]{border-left-color:#bd923f;background:#fffaf1}
@media(max-width:600px){.hoqs-build-workspace .hc-fit-guidance{padding:11px}}
