/* BuildQuivo V3: readable examples, local project workflows, and accessible focus */
.worked-example{background:#f6faf8;border:1px solid #d8e8e0;border-radius:13px;padding:21px;margin:28px 0}
.worked-example h2{margin-top:0}.worked-example h3{margin:17px 0 8px}
.example-table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0;table-layout:fixed}
.example-table th,.example-table td{padding:8px 10px;border-bottom:1px solid #dbe9e2;text-align:left;overflow-wrap:anywhere}
.example-table thead{background:#e7f2ec}.example-table th{font-weight:650}
.example-results{padding-left:22px;line-height:1.9}.example-tip{border-left:4px solid #2a8476;padding:10px 12px;background:white;color:#3a514c;font-size:14px}
.result-warning{padding:12px;border-left:4px solid #ffd28a;background:rgba(255,255,255,.12);color:#fff3d3;border-radius:7px;font-size:12px;line-height:1.5}
.project-assignment{margin:14px 0}.project-assignment label{display:block;color:#d2e7df;font-weight:700;font-size:13px;margin-bottom:6px}
.project-assignment input{width:100%;max-width:100%;border-radius:8px;border:1px solid #8fafaa;padding:11px;background:white;color:#213936}
.issue-panel{margin-top:23px;padding:15px;border:1px solid #779f98;border-radius:9px;background:rgba(255,255,255,.07)}
.issue-panel summary{font-weight:700;cursor:pointer;color:white}.issue-panel p{font-size:13px;color:#dbebe5;line-height:1.6}
.issue-panel label{font-size:13px;font-weight:700;display:block;margin:10px 0 6px}
.issue-panel textarea{width:100%;min-height:85px;display:block;padding:10px;border-radius:8px;border:1px solid #779f98;resize:vertical}
.issue-panel button{margin-top:12px}
.file-label{font-size:13px;display:block;font-weight:700;margin:16px 0 7px}.file-input{max-width:100%;display:block;font-size:12px}
.cost-workspace{padding:0 0 70px}.cost-workspace .panel{padding:26px}.cost-line{padding:17px 0;border-bottom:1px solid #dce2de}
.cost-line strong{display:block;margin-bottom:10px}.cost-fields{display:grid;grid-template-columns:2fr 1.5fr 110px;gap:13px}
.cost-fields label{font-size:12px;font-weight:650;color:#516560}.cost-fields select,.cost-fields input{display:block;width:100%;margin-top:5px;border:1px solid #aabab4;border-radius:8px;background:white;color:#263c37;padding:9px;font-size:13px;min-width:0}
.cost-line-result{font-size:13px;color:#1d665e;margin-top:10px}.cost-totals{font-size:16px;font-weight:800;margin:20px 0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d86643;outline-offset:3px}
@media(max-width:760px){.worked-example{padding:15px}.cost-fields{grid-template-columns:1fr 1fr}.cost-fields label:first-child{grid-column:1/-1}}
@media(max-width:410px){.cost-fields{grid-template-columns:1fr}.cost-fields label:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.issue-panel,.cost-fields,.file-input,.file-label,.cost-workspace button{display:none!important}.cost-workspace{padding:0}.cost-line{break-inside:avoid}.worked-example{break-inside:avoid}}

/* V5.1 utilities: removes style attributes to allow a non-inline CSP. */
.bq-status-anchor{position:fixed;bottom:12px;left:18px;background:#fff;border:1px solid #ddd;z-index:35;border-radius:7px;padding:8px;max-width:310px;pointer-events:none}
.bq-mt19{margin-top:19px}.bq-pb60{padding-bottom:60px}.bq-xscroll{overflow-x:auto}.bq-mt24{margin-top:24px}.bq-pt8{padding-top:8px}.bq-accent-text{color:#9bdbc0}
.bq-cost-fields-extended{grid-template-columns:minmax(180px,2.1fr) minmax(150px,1fr) 100px minmax(150px,1.3fr) minmax(130px,.8fr)}
.bq-cost-fields-extended label{min-width:0}.bq-include-checkbox{width:auto!important;min-width:18px;height:18px;accent-color:#1d665e}
.bq-cost-count{display:block;font-size:12px;font-weight:500;margin-top:7px;color:#50635d}
.bq-project-breakdown{font-size:13px;line-height:1.5;margin:12px 0 18px}.bq-project-subtotal{margin:4px 0}
@media(max-width:1060px){.bq-cost-fields-extended{grid-template-columns:repeat(2,minmax(0,1fr))}.bq-cost-fields-extended label:first-child{grid-column:1/-1}}
@media(max-width:550px){.bq-cost-fields-extended{grid-template-columns:1fr}.bq-cost-fields-extended label:first-child{grid-column:auto}}

.site-status.bq-status-error{color:#a12f2f}
