/* Warm timber, limestone and forest. Scoped to the portable calculator UI. */
.dbc-calculator-root{--dbc-color-primary:#214e45;--dbc-color-primary-hover:#163d35;--dbc-color-bg:#f6f4ee;--dbc-color-surface:#fffefa;--dbc-color-surface-subtle:#f0f0e8;--dbc-color-text:#202f2a;--dbc-color-text-muted:#59665f;--dbc-color-border:#d9dfd5;max-width:1240px;padding:0;color:#202f2a;font-family:Inter,ui-sans-serif,system-ui,sans-serif;}
.dbc-calculator-root *{box-sizing:border-box;min-width:0;}
.dbc-calculator-root h2,.dbc-calculator-root h3{font-weight:650;letter-spacing:-.035em;line-height:1.15;color:#203d34;}
.dbc-calculator-root h2{font-size:clamp(1.65rem,3vw,2.5rem);margin:.3em 0 .55em;}
.dbc-calculator-root p{line-height:1.65;}
.dbc-calculator-root a{color:#214e45;text-underline-offset:3px;}
.dbc-calculator-root .dbc-card,.dbc-estimator-inputs{border:1px solid #d9dfd5;border-radius:20px;background:#fffefa;box-shadow:0 10px 36px #203d3408;overflow:visible;}
.dbc-calculator-root .dbc-card-header{padding:24px 26px 8px;border-bottom:0;}
.dbc-calculator-root .dbc-form{padding:20px 26px 26px;}
.dbc-calculator-root .dbc-input,.dbc-calculator-root .dbc-select{min-height:48px;border:1px solid #c8d1c7;border-radius:10px;background:#fff;color:#243b31;font-size:16px;transition:border-color .18s,box-shadow .18s;}
.dbc-calculator-root .dbc-input:focus,.dbc-calculator-root .dbc-select:focus{outline:2px solid #376f5c;outline-offset:2px;border-color:#376f5c;box-shadow:0 0 0 5px #376f5c0b;}
.dbc-calculator-root .dbc-btn{min-height:46px;border-radius:999px;padding:12px 22px;font-size:15px;font-weight:650;transition:transform .18s,background .18s;cursor:pointer;}
.dbc-calculator-root .dbc-btn:hover{transform:translateY(-1px);}
.dbc-calculator-root .dbc-btn-primary{color:#fff;background:#214e45;border-color:#214e45;box-shadow:0 6px 14px #214e4516;}
.dbc-calculator-root .dbc-btn-secondary{color:#214e45;background:#f1f3eb;border:1px solid #d2dccf;}
.dbc-calculator-root .dbc-field-hint{font-size:13px;color:#59665f;line-height:1.6;}
.dbc-calculator-root .dbc-label{font-size:14px;font-weight:600;color:#354d42;margin-bottom:8px;}
.dbc-eyebrow{display:block;text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:750;color:#557566;}
.dbc-estimator{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start;}
.dbc-estimator-inputs,.dbc-estimator-results{align-self:start;}.dbc-estimator-results{padding-bottom:0;}.dbc-estimator-results>[data-results]{height:auto;display:flex;flex-direction:column;}.dbc-estimator-results .dbc-budget-card{flex:none;}.dbc-estimator-results .dbc-planning-note{margin:10px 0 0;}
.dbc-estimator-adjustments{width:auto;margin:0 24px 24px;padding:0;border:1px solid #ded5ce;border-radius:10px;background:#fffaf6;overflow:hidden;}
.dbc-estimator-adjustments .dbc-adjust{padding:12px 16px;margin:0;}.dbc-estimator-adjustments .dbc-adjust:last-child{border-bottom:0;}.dbc-estimator-adjustments .dbc-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.dbc-estimate-details{grid-column:1/-1;width:100%;max-width:1120px;justify-self:center;}.dbc-estimate-details:empty{display:none;}.dbc-estimate-details>.dbc-adjust{background:#fffaf6;border:1px solid #ded5ce;padding:16px 20px;border-radius:10px;margin:0 0 12px;}.dbc-estimate-details>.dbc-adjust>summary{font-size:16px;}.dbc-estimate-details .dbc-estimate-table{width:100%;margin-top:16px;}.dbc-layout-quantities{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:18px;}.dbc-layout-quantities>span{display:block;padding:14px;background:#fff2e6;border-radius:9px;}.dbc-layout-quantities strong{display:block;font-size:25px;color:#9c3900;}
.dbc-estimator-inputs>.dbc-card-header{padding:28px 28px 0;}
.dbc-estimator .dbc-grid-2{gap:16px;}
.dbc-choice-row{display:grid;gap:9px;margin:20px 0;font-size:14px;}
.dbc-choice-row label{display:flex;align-items:center;gap:9px;cursor:pointer;}
.dbc-choice-row input{accent-color:#214e45;width:18px;height:18px;}
.dbc-action-row{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 10px;}
.dbc-adjust{border-top:1px solid #d9dfd5;padding:16px 0;margin:4px 0;}
.dbc-adjust>summary{font-size:14px;font-weight:650;cursor:pointer;padding:4px 0;color:#294c3d;}
.dbc-adjust[open]>summary{margin-bottom:16px;}
.dbc-budget-card{border-radius:20px;background:#203f35;color:#fff;padding:30px;position:relative;overflow:hidden;background-image:linear-gradient(140deg,#ffffff05,transparent 60%);}
.dbc-budget-card .dbc-eyebrow{color:#d4e2bf;}
.dbc-budget-total{font-size:clamp(2rem,3.4vw,3.05rem);font-weight:600;letter-spacing:-.055em;line-height:1.12;margin:18px 0;}
.dbc-budget-total>span{display:block;color:#bbcdbd;font-size:14px;letter-spacing:0;line-height:2;}
.dbc-budget-card>p{font-size:12px;color:#c9d8cb;}
.dbc-budget-split{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff2b;padding-top:20px;gap:14px;margin-top:22px;}
.dbc-budget-split span{display:block;font-size:11px;color:#c9d8cb;margin-bottom:5px;text-transform:uppercase;letter-spacing:.08em;}
.dbc-budget-split strong{font-size:17px;font-weight:550;}
.dbc-planning-note{font-size:12px;color:#59665f;padding:0 4px;}
.dbc-table-scroll{overflow:auto;max-width:100%;}
.dbc-estimate-table{width:100%;border-collapse:collapse;font-size:12px;}
.dbc-estimate-table caption{text-align:left;margin:0 0 10px;color:#68776a;}
.dbc-estimate-table th,.dbc-estimate-table td{padding:12px 8px;border:0;border-bottom:1px solid #e4e8de;vertical-align:top;}
.dbc-estimate-table th{text-align:left;font-weight:550;}
.dbc-estimate-table th>small{display:block;font-weight:400;font-size:10px;color:#708071;}
.dbc-estimate-table td:last-child{text-align:right;white-space:nowrap;}
.dbc-calculator-root .dbc-diagram-svg{width:100%;height:auto;max-height:300px;border-radius:12px;background:#f4f5ee;}
.dbc-calculator-root .dbc-alert{font-size:13px;line-height:1.55;border-radius:12px;}
.dbc-calculator-root .dbc-stat-value,.dbc-calculator-root .dbc-result-value{overflow-wrap:anywhere;}
.dbc-calculator-root i[class*="ph-"]{display:inline-block;width:1em;height:1em;vertical-align:-.1em;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h18v18H3V3zm2 2v14h14V5H5zm3 3h8v2H8V8zm0 5h3v3H8v-3zm5 0h3v3h-3v-3z'/%3E%3C/svg%3E");}
@media(max-width:850px){.dbc-estimator{grid-template-columns:1fr;}.dbc-estimator-inputs>.dbc-card-header{padding:22px 22px 0;}.dbc-calculator-root .dbc-form{padding:18px 22px 22px;}}
@media(max-width:420px){.dbc-budget-card{padding:24px 20px;}.dbc-budget-split{grid-template-columns:1fr;}.dbc-calculator-root .dbc-card-header{padding:20px 18px 6px;}.dbc-calculator-root .dbc-form{padding:16px 18px 22px;}}
@media(prefers-reduced-motion:reduce){.dbc-calculator-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media print{.dbc-estimator{display:block;}.dbc-estimator-inputs,.dbc-action-row{display:none!important;}.dbc-budget-card{background:#fff;color:#111;border:1px solid #777;}.dbc-budget-card p,.dbc-budget-card .dbc-eyebrow,.dbc-budget-split span{color:#222;}.dbc-adjust{break-inside:avoid;}}
.dbc-calculator-root .dbc-print-only{display:none;}
@media print{.dbc-calculator-root .dbc-print-only{display:block;}.dbc-calculator-root .dbc-print-only+p{margin:0 0 16px;}.dbc-calculator-root [data-results] input{display:none;}.dbc-calculator-root .dbc-adjust summary{font-weight:700;margin-bottom:12px;}.dbc-calculator-root .dbc-estimate-table td:last-child{white-space:normal;}}
.dbc-unpublished-reference:not([href]){color:inherit;text-decoration:none;cursor:text;}
/* Charcoal and orange calculator system, independent of the theme. */
.dbc-calculator-root{--dbc-color-primary:#b54100;--dbc-color-primary-hover:#963600;--dbc-color-bg:#faf6f2;--dbc-color-surface:#fffdfa;--dbc-color-surface-subtle:#faf3ec;--dbc-color-text:#192226;--dbc-color-text-muted:#535d62;--dbc-color-border:#ded5ce;color:#192226;}
.dbc-calculator-root h2,.dbc-calculator-root h3,.dbc-calculator-root .dbc-label{color:#192226;}.dbc-calculator-root .dbc-card,.dbc-estimator-inputs{background:#fffdfa;border-color:#dfd6ce;border-radius:15px;box-shadow:0 4px 12px #211a1412;}.dbc-calculator-root .dbc-btn{border-radius:8px;}.dbc-calculator-root .dbc-btn-primary{background:#ff750c;border-color:#ff750c;color:#161b1e;font-weight:750;}.dbc-calculator-root .dbc-btn-secondary{background:#fffaf6;color:#242c30;border-color:#cfc7c0;}.dbc-eyebrow{color:#a83a00;font-size:12px;letter-spacing:.12em;}.dbc-choice-row input{accent-color:#b54100;}.dbc-adjust{border-color:#dfd6ce;}.dbc-adjust>summary{color:#283135;font-size:14px;}.dbc-budget-card{background:#172125;border:1px solid #465054;border-radius:14px;padding:24px;}.dbc-budget-card .dbc-eyebrow{color:#ffb67f;}.dbc-budget-total{color:#ffd092;font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.04em;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.dbc-budget-total>span{display:inline;color:#eab87e;font-size:18px;}.dbc-budget-card>p,.dbc-budget-split span{color:#e5e7e7;font-size:13px;}.dbc-budget-split strong{color:white;font-size:16px;}.dbc-output-plan{margin:0 0 16px;background:#fffaf5;border:1px solid #dfd5cc;border-radius:14px;overflow:hidden;padding:18px;}.dbc-output-plan figcaption{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;color:#192226;margin-bottom:10px;}.dbc-output-plan figcaption strong{font-size:19px;}.dbc-output-plan figcaption span{font-size:12px;color:#5b6266;}.dbc-calculator-root .dbc-output-plan .dbc-diagram-svg{background:#fffaf5;max-height:250px;}.dbc-calculator-root .dbc-input:focus,.dbc-calculator-root .dbc-select:focus{outline-color:#b54100;border-color:#b54100;}.dbc-planning-note{color:#545c60;}.dbc-estimator [data-results]>.dbc-adjust{background:#fffaf6;border:1px solid #ded5ce;padding:14px 18px;border-radius:10px;margin:12px 0;}.dbc-calculator-root a{color:#a83a00;}
@media print{.dbc-budget-total{color:#111;}.dbc-budget-card .dbc-eyebrow,.dbc-budget-split strong,.dbc-budget-card>p,.dbc-budget-split span{color:#111;}.dbc-output-plan{break-inside:avoid;}}
/* Consistent readable type and result cards for every calculator, including cost-only tools. */
.dbc-calculator-root{font-size:17px;line-height:1.65;--dbc-font-size-xs:.875rem;--dbc-font-size-sm:1rem;--dbc-font-size-base:1.0625rem;}
.dbc-calculator-root .dbc-label,.dbc-calculator-root label,.dbc-calculator-root .dbc-input,.dbc-calculator-root .dbc-select{font-size:16px;line-height:1.5;}
.dbc-calculator-root .dbc-field-hint,.dbc-calculator-root .dbc-planning-note,.dbc-calculator-root .dbc-alert,.dbc-calculator-root small,.dbc-calculator-root .dbc-budget-card>p{font-size:14px;line-height:1.65;}
.dbc-calculator-root .dbc-eyebrow{font-size:13px;}.dbc-calculator-root .dbc-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;padding:20px;}
.dbc-calculator-root .dbc-result-item,.dbc-calculator-root .dbc-stat{display:flex;flex-direction:column;gap:10px;padding:20px;background:#fff7ef;border:1px solid #e9dbcf;border-radius:12px;}
.dbc-calculator-root .dbc-result-label,.dbc-calculator-root .dbc-stat-label{display:block;font-size:15px;font-weight:600;line-height:1.5;color:#4e585d;}
.dbc-calculator-root .dbc-result-value,.dbc-calculator-root .dbc-stat-value{display:block;font-size:clamp(1.25rem,2.1vw,1.8rem);font-weight:750;line-height:1.3;overflow-wrap:anywhere;color:#202a2f;}
.dbc-calculator-root .dbc-results-container{margin-top:24px;}.dbc-calculator-root .dbc-card-header h2,.dbc-calculator-root .dbc-card-header h3{display:flex;align-items:center;gap:12px;}
.dbc-ui-icon{display:inline-block;width:23px;height:23px;vertical-align:-5px;flex-shrink:0;margin-right:8px;color:#b54100;}
.dbc-card-header h2>.dbc-ui-icon,.dbc-card-header h3>.dbc-ui-icon{width:30px;height:30px;}.dbc-budget-card .dbc-ui-icon{color:#ffba80;}
.dbc-estimate-table{font-size:15px;border:1px solid #e5d8cc;border-radius:10px;overflow:hidden;}.dbc-estimate-table th>small,.dbc-estimate-table caption{font-size:14px;}.dbc-estimate-table th,.dbc-estimate-table td{padding:15px 12px;}.dbc-estimate-table thead th{background:#172125;color:#fff;font-weight:700;}.dbc-estimate-table tbody tr:nth-child(even){background:#fff7ef;}.dbc-estimate-table tbody tr:hover{background:#fff0df;}.dbc-estimate-name{display:flex;align-items:flex-start;gap:10px;}.dbc-estimate-name>.dbc-ui-icon{margin:1px 0 0;width:25px;height:25px;color:#b54100;}.dbc-estimate-name>span{display:block;}.dbc-itemized>summary{display:flex;align-items:center;gap:8px;font-size:16px!important;}.dbc-itemized>summary small{margin-left:auto;color:#60696d;font-weight:500;}.dbc-itemized>summary>.dbc-ui-icon{margin:0;color:#b54100;}
.dbc-diagram-figure{max-width:100%;}.dbc-diagram-key-wrap{margin-top:16px;padding:14px;background:#fff7f0;border:1px solid #ead9ca;border-radius:10px;}.dbc-diagram-key-title{display:block;margin-bottom:10px;color:#20292d;font-size:16px;}
.dbc-diagram-key{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px;list-style:none!important;padding:0!important;margin:0!important;}
.dbc-diagram-key li{display:flex;align-items:flex-start;gap:10px;margin:0!important;padding:10px 12px;background:#fff;border:1px solid #e5d8cc;border-radius:7px;font-size:15px;line-height:1.4;color:#333e44;overflow-wrap:anywhere;}.dbc-diagram-key li strong,.dbc-diagram-key li small{display:block}.dbc-diagram-key li strong{color:#20292d;font-size:15px}.dbc-diagram-key li small{margin-top:2px;color:#5f686c;font-size:13px}.dbc-key-dot,.dbc-key-swatch{flex:0 0 18px;width:18px;height:4px;margin-top:8px;background:#bd4d06;border-radius:4px}.dbc-key-blocking .dbc-key-swatch{height:0;background:none;border-top:2px dashed #8796a3}.dbc-key-spacing .dbc-key-swatch{height:10px;background:none;border-top:2px solid #b54100;border-left:2px solid #b54100;border-right:2px solid #b54100;border-radius:0}.dbc-key-summary .dbc-key-swatch{height:16px;margin-top:3px;background:#172125;border:4px solid #ffc387;border-radius:50%}
.dbc-calculator-root .dbc-diagram-svg{max-height:none;display:block;min-height:180px;}.dbc-output-plan figcaption span{font-size:14px;}.dbc-calculator-root .dbc-output-plan .dbc-diagram-svg{max-height:none;}
.dbc-empty-result{min-height:280px;display:flex;flex-direction:column;justify-content:center;padding:34px;border:1px dashed #cdbdaf;border-radius:14px;background:#fffaf5;text-align:center;}.dbc-empty-result h2{margin:8px 0 10px;font-size:clamp(1.45rem,2.4vw,2rem);}.dbc-empty-result p{max-width:520px;margin:0 auto;color:#596266;}
.dbc-key-ledger .dbc-key-swatch{background:#ef4444;}.dbc-key-rear .dbc-key-swatch{background:#64748b;}
.dbc-estimate-name small{display:block;margin-top:4px;font-size:13px;font-weight:400;line-height:1.4;color:#616a6f;}.dbc-estimate-table th,.dbc-estimate-table td{padding:11px 12px;}
@media(max-width:850px){.dbc-estimator-adjustments{margin:0 20px 20px;}.dbc-estimator-adjustments .dbc-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}.dbc-estimator-results>[data-results]{height:auto;}}
@media(max-width:480px){.dbc-calculator-root .dbc-results-grid{padding:16px;}.dbc-calculator-root .dbc-result-value{font-size:1.4rem;}.dbc-budget-split{grid-template-columns:1fr;}.dbc-estimator-adjustments{margin:0 16px 16px;}.dbc-estimator-adjustments .dbc-grid-2{grid-template-columns:1fr;}.dbc-itemized>summary{align-items:flex-start;flex-wrap:wrap;}.dbc-itemized>summary small{width:100%;margin-left:33px;}.dbc-estimate-table th,.dbc-estimate-table td{padding:13px 9px;}.dbc-layout-quantities{grid-template-columns:1fr;}}

.dbc-extrapolation-note{display:block;margin-top:4px;}
