/* Navy, restrained red, warm white and concrete gray. */
:root{--navy:#20294f;--navy-deep:#171d39;--red:#bd303b;--ink:#26324a;--muted:#626b7b;--line:#d8dce4;--paper:#f4f4f2;color:var(--ink);background:var(--paper);color-scheme:light}
header{background:var(--navy-deep);border-top:3px solid var(--red);color:#fff}.mark{color:#f1f0eb}.header-note{color:#ccd1df}.sidebar{background:#eeeFEB;border-color:var(--line)}.eyebrow{color:#6b5260}.sidebar-note{border-color:var(--line);color:var(--muted)}nav a,.home-nav{color:#37425c}nav a:hover{background:#e2e5ed}nav a[aria-current=page]{background:#e3e7f0;color:var(--navy);box-shadow:inset 3px 0 var(--red)}nav .nav-section>summary{background:#e4e7ee;color:var(--navy)}.nav-subsection>summary{color:#48536d}.nav-subsection small,.nav-edition,.nav-empty{color:var(--muted)}
.heading p,.help,legend,.live,.status,footer{color:var(--muted)}.card,.steel-details-card{background:#fff;border-color:var(--line)}.control{border-color:#bbc3d0}.control:focus-within{outline:3px solid #dfe5f2;border-color:#66789e}input,select{color:var(--ink)}.unit{color:var(--muted)}button,.document-button{background:var(--red);color:#fff}button.secondary{background:#e9ecf2;color:var(--navy)}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#7187b0}.error{color:#ac2632}
.result{background:var(--navy);border-color:var(--navy);color:#fff}.result h2,.result-sub,.hero .unit,.metric small,.metric strong span,.result-note,.result-unit,.steel-kicker,.steel-primary span,.steel-primary small,.steel-summary caption,.steel-summary thead,.matched-tile h3,.ingredient-label h3,.matched-details dt,.ingredient-label p,.steel-area-row p,.steel-area-number span,.steel-breakdown summary{color:#d2d9e9}.metrics,.result-note,.steel-summary th,.steel-summary td,.matched-details{border-color:#4c5674}.result-sub.prominent-tons,.matched-conversion,.steel-summary td:last-child{color:#fff}.matched-tile,.ingredient-row,.steel-area-row{background:#293456;border-color:#4c5878}.steel-area-row h3{color:#fff}.method{background:#e9ebef}.method p,.document-toolbar>span,.document-help,.haunch-info span,.haunch-info p,.steel-detail-grid p,.steel-controls p,.steel-detail-foot{color:#5e687b}.haunch-info{background:#f1f3f7;border-color:var(--line)}.steel-controls strong,details summary{color:var(--navy)}.steel-inline-note{background:#edf0f5;color:#4c5770}.source-rows th,.source-rows td{border-color:var(--line)}.source-rows thead{color:#53617c}.steel-diagram text,.mini-diagram text{fill:#d2d9e9}.document-viewer{border-color:var(--line)}
.home-welcome>svg{color:var(--navy)}.home-welcome h1{color:var(--navy)}.home-welcome p{color:var(--muted)}.home-welcome:after{content:'';width:48px;height:3px;background:var(--red);margin-top:30px;border-radius:2px}
.sieve-meta input,.sieve-meta select,#s-notes,.sieve-table input{background:#fff;color:var(--ink);border-color:#b9c2d2}.sieve-meta input:focus,.sieve-meta select:focus,#s-notes:focus,.sieve-table input:focus{outline:2px solid #7589b0;outline-offset:2px}.sieve-options input{accent-color:var(--red)}.sieve-table th,.sieve-table td{border-color:var(--line)}.sieve-table thead{color:var(--navy);background:#edf0f5}.sieve-table tbody tr:nth-child(even){background:#f8f9fb}.sieve-summary>div{border-color:var(--line);background:#f1f3f7}.sieve-summary small,.sieve-method{color:var(--muted)}.sieve-summary strong{color:var(--navy)}.outside{color:#a52a36!important}.home-links a{color:var(--navy);border-color:var(--line)}.home-grid p{color:var(--muted)}
@media(max-width:650px){.sidebar{border-bottom-color:var(--line)}nav a{background:transparent}}
.home-welcome{position:relative;isolation:isolate;min-height:62vh;gap:0}.home-welcome>.texas-outline{position:absolute;z-index:-1;width:min(540px,95%);height:auto;max-height:95%;margin:0;color:#d9dbdf;pointer-events:none}.texas-outline path{fill:#edece8;fill-opacity:.65;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.home-welcome>.welcome-hardhat{width:100px;height:100px;margin-bottom:22px;color:var(--navy)}.home-welcome .welcome-plants{font-size:10px;font-weight:650;letter-spacing:.2em;color:#677188;margin-top:24px}.home-welcome:after{margin-top:18px;width:36px}
/* Keep artwork and copy in separate, centered regions. */
.home-welcome{min-height:65vh;padding:32px 16px 48px;justify-content:center}.welcome-emblem{position:relative;width:220px;height:214px;flex:none;margin:0 auto 32px}.welcome-emblem>.texas-outline{display:block;position:static;width:100%;height:100%;color:#c6cbd5}.welcome-emblem .texas-outline path{fill:#e9eaf0;fill-opacity:.7;stroke-width:1.6}.welcome-emblem>.welcome-hardhat{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:64px;height:64px;color:var(--navy)}.home-welcome h1{margin:0 0 14px;text-align:center}.home-welcome>p:not(.welcome-plants){max-width:420px;text-wrap:balance}.home-welcome .welcome-plants{margin-top:22px}.home-welcome:after{margin-top:20px}@media(max-width:650px){.home-welcome{min-height:55vh;padding-top:18px}.welcome-emblem{width:190px;height:184px;margin-bottom:28px}}
/* Aggregate moisture worksheet */
.moisture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.moisture-sample{min-width:0}.moisture-table{width:100%;border-collapse:collapse;margin-top:20px;font-size:13px}.moisture-table th,.moisture-table td{padding:9px 5px;border-bottom:1px solid #dce1e6;text-align:left}.moisture-table th{font-weight:500}.moisture-table th span{display:inline-block;min-width:24px;font-weight:700}.moisture-table td{width:122px;text-align:right}.moisture-table input{width:100%;text-align:right}.moisture-table output{font-variant-numeric:tabular-nums}.moisture-fail{color:#a71e2a!important;background:#fff0f1;padding:7px;border-radius:4px;font-weight:600}.moisture-pass{color:#245c45}.moisture-toggle{display:flex;align-items:center;gap:10px;margin-top:22px}.moisture-toggle input{width:auto}.moisture-probe{border-top:2px solid #dce1e6;padding-top:16px;margin-top:18px}.moisture-probe[hidden]{display:none}@media(max-width:1000px){.moisture-grid{grid-template-columns:1fr}}
/* Clearly delineate worksheet inputs and emphasize final moisture results. */
#moisture-panel input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;min-height:44px;padding:11px 12px;border:1.5px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:var(--ink);font:inherit}#moisture-panel input:not([type=checkbox]):hover{border-color:var(--navy)}#moisture-panel input:focus{outline:3px solid #dce3f2;outline-offset:1px;border-color:var(--navy);background:#fff}#moisture-panel label{display:block;margin-bottom:8px}#moisture-panel .moisture-toggle{display:flex}.moisture-result{display:flex;flex-direction:column;gap:8px;background:var(--navy);color:#fff;border-top:3px solid var(--red);border-radius:9px;padding:24px;margin:16px 0 24px}.moisture-result>span{font-size:13px;font-weight:600;color:#d2d9e9}.moisture-result strong{font-size:46px;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.moisture-result small{color:#d2d9e9;font-size:12px}.sieve-table{min-width:960px}.sieve-table tbody tr:last-child td:nth-child(3){font-weight:750;background:#e9edf5;color:var(--navy)}

.welcome-emblem>.welcome-clipboard{position:absolute;left:53%;top:49%;transform:translate(-50%,-50%);width:64px;height:76px}
/* Frame the entire plant row instead of marking its center. */
.home-welcome:after{display:none}.home-welcome .welcome-plants{display:block;width:max-content;max-width:100%;box-sizing:border-box;margin:30px auto 0;padding:14px 12px;border-top:2px solid var(--red);border-bottom:2px solid var(--red);font-size:clamp(12px,1.8vw,15px);font-weight:750;letter-spacing:.14em;line-height:1.6;color:var(--navy);white-space:nowrap}@media(max-width:380px){.home-welcome .welcome-plants{font-size:11px;letter-spacing:.09em;padding:12px 7px}}
/* Three-edge bearing worksheet */
#teb-panel .card{margin-bottom:20px}#teb-panel h2{margin-bottom:20px}.teb-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}#teb-panel label{display:block;margin-bottom:8px}#teb-panel input:not([type=checkbox]),#teb-panel select,#teb-panel textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1.5px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:var(--ink);font:inherit}#teb-panel input:focus,#teb-panel select:focus,#teb-panel textarea:focus{outline:3px solid #dce3f2;border-color:var(--navy);background:#fff}.teb-scroll{overflow-x:auto}#teb-panel table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}#teb-panel th,#teb-panel td{padding:12px 9px;border-bottom:1px solid var(--line);text-align:left;font-variant-numeric:tabular-nums}#teb-panel th{font-weight:600}#teb-panel thead{background:#edf0f5;color:var(--navy)}#teb-panel td input{min-width:95px}#teb-panel td:last-child{min-width:100px}.teb-pass{color:#245c45;font-weight:650}.teb-fail{color:#a71e2a;background:#fff0f1;font-weight:650}.teb-nominal{max-width:250px;margin-top:20px}.teb-highlights{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.teb-highlights>div{background:var(--navy);border-top:3px solid var(--red);border-radius:9px;padding:22px;color:#fff}.teb-highlights span,.teb-highlights small{display:block;color:#d2d9e9}.teb-highlights strong{display:block;font-size:36px;margin:12px 0}#teb-panel .teb-check{display:flex;align-items:center;gap:10px;margin-top:22px}.teb-check input{width:auto}.teb-stop{padding:16px 20px;background:#f1f3f7;border-radius:8px;margin:20px 0}.teb-stop[hidden]{display:none}@media(max-width:900px){.teb-fields{grid-template-columns:1fr 1fr}}@media(max-width:550px){.teb-fields,.teb-highlights{grid-template-columns:1fr}}
#teb-panel input[readonly]{background:#edf0f5;color:var(--navy);border-color:var(--line);font-weight:650}.teb-highlights{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}#t-ultimate-card[hidden],#t-ultimate-row[hidden]{display:none}
#tensile-panel .card{margin-bottom:22px}#tensile-panel label{display:block;margin-bottom:8px}.tensile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}#tensile-panel input,#tensile-panel select,#tensile-panel textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1.5px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:var(--ink);font:inherit}#tensile-panel input:focus,#tensile-panel select:focus,#tensile-panel textarea:focus{outline:3px solid #dce3f2;border-color:var(--navy)}.tensile-results{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.tensile-results>div{background:var(--navy);color:#fff;border-top:3px solid var(--red);border-radius:9px;padding:22px}.tensile-results strong{display:block;font-size:32px;margin:12px 0}.tensile-results span{color:#d2d9e9}.tensile-status{font-size:12px;margin:0;padding:7px;border-radius:4px}.tensile-status.fail{background:#ffe0e3;color:#941925}.tensile-status.pass{background:#d9efdf;color:#205338}.tensile-status.review{background:#fff0c4;color:#694c0b}.tensile-detail{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.tensile-detail>div{background:#edf0f5;border-radius:7px;padding:16px}.tensile-detail span{display:block;font-size:12px;color:var(--muted)}.tensile-detail strong{display:block;margin-top:8px;font-size:16px}@media(max-width:900px){.tensile-fields,.tensile-detail{grid-template-columns:1fr 1fr}}@media(max-width:550px){.tensile-results,.tensile-fields,.tensile-detail{grid-template-columns:1fr}}
/* Three required tests: tensile leads, reduction and bend share second priority. */
.tensile-results>.tensile-primary{grid-column:1/-1;padding:26px}.tensile-results>.tensile-primary strong{font-size:clamp(38px,5vw,56px);line-height:1.15;margin:16px 0}.tensile-results>div:not(.tensile-primary) strong{font-size:30px}.tensile-results>div:not(.tensile-primary){background:#edf0f5;color:var(--navy);border-top-color:#aab5cb}.tensile-results>div:not(.tensile-primary)>span{color:var(--navy)}
#compressive-panel .card{margin-bottom:22px}#compressive-panel label{display:block;margin-bottom:8px}.compressive-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}#compressive-panel input,#compressive-panel select,#compressive-panel textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px;border:1.5px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:var(--ink);font:inherit}#compressive-panel input:focus,#compressive-panel select:focus,#compressive-panel textarea:focus{outline:3px solid #dce3f2;border-color:var(--navy)}.compressive-scroll{overflow-x:auto;margin-bottom:24px}#compressive-panel table{width:100%;min-width:940px;border-collapse:collapse}#compressive-panel th,#compressive-panel td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}#compressive-panel thead{background:#edf0f5;color:var(--navy)}#compressive-panel td input{min-width:90px}#compressive-panel .compressive-result{background:var(--navy);color:white;min-width:150px;text-align:center;border-bottom-color:#4c5674}.compressive-result output{font-size:24px;font-weight:750;font-variant-numeric:tabular-nums}.compressive-result small{display:block;color:#ffd9dc;font-size:11px}.compressive-materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 24px}@media(max-width:800px){.compressive-fields,.compressive-materials{grid-template-columns:1fr 1fr}}@media(max-width:480px){.compressive-fields,.compressive-materials{grid-template-columns:1fr}}
.compressive-pairs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 12px}.compressive-pairs>div{background:var(--navy);color:#fff;border-top:3px solid var(--red);border-radius:8px;padding:20px}.compressive-pairs span,.compressive-pairs small{display:block;color:#d2d9e9;font-size:12px}.compressive-pairs strong{display:block;font-size:30px;margin:12px 0;font-variant-numeric:tabular-nums}@media(max-width:650px){.compressive-pairs{grid-template-columns:1fr}}
/* Box Pre-Pour */
#prepour-panel .card{margin-bottom:20px} .bp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#prepour-panel label{display:block;font-weight:650;margin:0 0 8px}#prepour-panel input,#prepour-panel select,#prepour-panel textarea{width:100%;padding:11px;border:1px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:#20294f;font:inherit;box-sizing:border-box}#prepour-panel input:focus,#prepour-panel select:focus,#prepour-panel textarea:focus{outline:2px solid #20294f;outline-offset:2px}.bp-size{padding:12px;background:#20294f;color:white;border-radius:8px}.bp-size strong{display:block;font-size:24px;margin-top:5px}.bp-scroll{overflow-x:auto}#prepour-panel table{width:100%;border-collapse:collapse;min-width:530px}#prepour-panel td,#prepour-panel th{padding:12px;text-align:left;border-bottom:1px solid #dfe3eb}#prepour-panel thead{background:#20294f;color:white}.bp-status{display:block;padding:5px 0;font-size:12px}.bp-status.pass{color:#196940;font-weight:700}.bp-status.hold,.bp-status.invalid{color:#bd303b;font-weight:700}.bp-status.hold{background:#fff0f1}.bp-na{color:#7a8291;font-size:12px}.bp-visual{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-bottom:20px}.bp-diagram{display:block;width:100%;max-width:650px;margin:20px auto}#prepour-panel details{margin-top:18px}#prepour-panel summary{cursor:pointer;font-weight:600}@media(max-width:650px){.bp-fields,.bp-visual{grid-template-columns:1fr}}
#bp-special-design{grid-column:1/-1;min-width:0;margin:0;padding:14px 16px 16px;border:1px solid #c4ccdb;border-radius:8px}
#bp-special-design legend{padding:0 6px;font-weight:650;color:#20294f}

.bp-status.caution{color:#806000;background:#fff1b8;font-weight:700}
.cr-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.cr-pair{border:1px solid #dfe3eb;border-radius:9px;padding:18px;margin:20px 0}.cr-pair h3{margin:0}.cr-pair .help{margin:5px 0}.cr-pair strong{font-size:22px}.cr-badge{padding:10px 14px;background:#edf0f5;border-radius:6px;font-size:14px}.cr-badge.met{background:#d9efdf;color:#205338}.cr-badge.review{background:#fff1b8;color:#806000}#cr-editor table{min-width:1050px}#cr-editor table input,#cr-editor table select{min-width:100px}#cr-editor input:disabled,#cr-editor select:disabled{background:#e9ecf2;color:#747c8e}#cr-editor textarea{width:100%;box-sizing:border-box;padding:12px;font:inherit;border:1px solid #a6b1c4;border-radius:7px}#cr-discard-field{max-width:450px;margin:20px 0}#cr-members-list button{font-size:12px;margin-left:8px}#cr-editor .actions{margin-top:20px;flex-wrap:wrap}

.cr-temperature-warning{background:#fff0f1;color:#ac2632;border-left:4px solid #bd303b;padding:12px;font-weight:700}#cr-editor input.cr-over-temperature{border:2px solid #bd303b;background:#fff0f1}
.plant-toolbar{display:flex;align-items:center;gap:10px;margin-left:auto}.plant-toolbar label{margin:0;font-weight:700}.plant-toolbar select{width:auto;max-width:265px;margin:0}.plant-form-label{padding:14px 20px;font-weight:700}.plant-switch-dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #8993a3;border-radius:12px;background:var(--card,#fff);color:var(--ink,#17213a);padding:24px}.plant-switch-dialog::backdrop{background:#101c30aa}.plant-switch-dialog .actions{flex-wrap:wrap}@media(max-width:700px){header{flex-wrap:wrap;gap:12px}.plant-toolbar{width:100%;margin:0}.plant-toolbar select{flex:1;max-width:none}.header-note{display:none}}
.spec-nav-row{display:flex;align-items:center;gap:2px;min-width:0}.spec-nav-row>a{flex:1;min-width:0}.spec-count{display:inline!important;font-size:10px!important;font-weight:400;margin-left:4px;color:var(--muted)}
/* Compact plant control, sized for the header rather than form entry. */
header{column-gap:20px}
header .plant-toolbar{flex:0 0 auto;width:auto;gap:8px;margin-left:auto}
header .plant-toolbar label{font-size:10px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:#bec7d9;margin:0}
header .plant-toolbar select{appearance:none;-webkit-appearance:none;flex:none;width:142px;max-width:100%;height:34px;margin:0;padding:0 30px 0 11px;border:1px solid #ffffff35;border-radius:7px;background-color:#ffffff0d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23cbd3e3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;color:#f3f5fa;font-family:inherit;font-size:13px;font-weight:550;line-height:normal;cursor:pointer;box-shadow:none;transition:border-color .15s,background-color .15s}
header .plant-toolbar select:hover{border-color:#ffffff65;background-color:#ffffff17}
header .plant-toolbar select:focus-visible{outline:2px solid #b9c9ec;outline-offset:3px}
header .plant-toolbar select option{background:#fff;color:#20294f}
/* Let the mobile header contain both rows instead of overflowing its fixed desktop height. */
@media(max-width:700px){header{height:auto;min-height:76px;padding:14px 20px;align-content:center;row-gap:12px}header .brand{flex:0 0 100%;min-width:0}header .plant-toolbar{flex:0 0 100%;width:100%;margin:0;gap:10px}header .plant-toolbar label{flex:none}header .plant-toolbar select{width:160px;max-width:calc(100% - 48px);height:40px;flex:none;font-size:16px}}
.cover-input-group{border-top:1px solid #dfe3eb;padding-top:18px;margin-top:10px}.cover-input-group legend{float:left;width:100%;display:flex;align-items:center;gap:8px;padding-bottom:12px;font-size:16px;color:#20294f}.cover-input-group label{clear:both}.cover-step{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#e9ecf3;color:#384763;font-size:11px}.cover-input-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.cover-input-actions button{font-size:11px;padding:9px 11px}.cover-outcome{border:1px solid #ffffff35;border-left:4px solid #9ec6b0;border-radius:9px;padding:16px;margin:18px 0;background:#ffffff08}.cover-outcome.short{border-left-color:#f29da5}.cover-outcome.review{border-left-color:#ebce7f}.cover-outcome-label{display:block;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.1em;color:#c4cde0;margin-bottom:8px}.cover-verdict{display:block;font-size:27px;font-weight:750;letter-spacing:-.025em;line-height:1.2}.cover-outcome p{font-size:12px;margin:10px 0 0;color:#dbe1ee;line-height:1.55}.cover-table{width:100%;border-collapse:collapse;text-align:left;min-width:460px}.cover-table caption{text-align:left;font-size:11px;color:#c4cde0;margin:7px 0 10px}.cover-table th,.cover-table td{padding:11px 7px;border-bottom:1px solid #ffffff25;font-size:12px;font-variant-numeric:tabular-nums}.cover-table th small{display:block;max-width:110px;font-size:10px;font-weight:400;line-height:1.4;color:#c4cde0;margin-top:3px}.cover-table thead th{font-size:10px;color:#c4cde0}.cover-table .cover-short{background:#f19aa512}.cover-check{font-size:10px;white-space:nowrap}.cover-check.short{color:#ffc3ca;font-weight:700}.cover-check.meets{color:#bae5ca}.cover-check.review{color:#ffe1a0}.cover-scope{font-size:11px;line-height:1.6;color:#c4cde0;border-top:1px solid #ffffff25;padding-top:14px;margin-bottom:0}.cover-review{background:#fff3ce;color:#634a15;border-radius:8px;padding:14px 18px;margin-bottom:20px}.cover-review h3{margin:0 0 8px}.cover-review ul{margin:0;padding-left:20px;font-size:12px;line-height:1.6}.cover-record{margin-top:20px}.cover-record summary{font-size:13px;font-weight:650;cursor:pointer;padding:8px 0}#cover-haunch{margin-top:14px}
.cover-check.not-allowed{color:#ffc3ca;font-weight:700}
/* Shared QC workspace and record controls. */
#quality-panel>.card,.qc-record-bar{margin-bottom:22px}.qc-record-bar{border-top:3px solid #384b74}.qc-record-bar h2{margin:0 0 8px}.qc-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.qc-meta-grid label{display:block;margin:0}.qc-meta-grid input,.qc-meta-grid select,.qc-product-picker select,#quality-panel input,#quality-panel select{width:100%;margin-top:7px;padding:10px 11px;border:1px solid #aeb8c9;border-radius:7px;background:#f8f9fc;color:#20294f;font:inherit;font-size:13px;min-height:39px;box-sizing:border-box}.qc-meta-grid input:focus,.qc-meta-grid select:focus{outline:2px solid #6a80a5;outline-offset:2px}.qc-record-bar details{margin-top:16px}.qc-record-bar summary{font-size:12px;font-weight:600;cursor:pointer}.qc-record-bar #qr-history p{font-size:11px;color:#657088}.qc-record-bar a,#quality-panel a{color:#304d79;font-size:12px}.qc-product-picker{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.qc-product-picker label{min-width:220px;flex:1;margin:0}.qc-product-picker button{margin-bottom:0}.qc-product-picker a{padding:11px 0}.qc-table{width:100%;border-collapse:collapse;text-align:left;min-width:680px}.qc-table th{font-size:11px;background:#edf0f6;color:#40516d}.qc-table td,.qc-table th{padding:13px 10px;border-bottom:1px solid #dce2ec}.qc-table td{font-size:12px;color:#263653}.qc-table td small{display:block;color:#6b778d;margin-top:4px;font-size:10px}.qc-table button{font-size:11px;padding:8px 11px}.qc-badge{display:inline-block;font-size:10px;font-weight:650;padding:5px 8px;border-radius:5px;line-height:1.4}.qc-badge.attention{background:#fff0c7;color:#705317}.qc-badge.draft{background:#e9edf5;color:#526580}.qc-badge.recorded{background:#dceee2;color:#286141}.qc-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.qc-dashboard-stats .card{padding:22px;text-decoration:none}.qc-dashboard-stats small{display:block;color:#6a7489;font-size:11px}.qc-dashboard-stats strong{display:block;font-size:34px;color:#20294f;margin-top:10px}.qc-quick-links{display:flex;gap:10px;flex-wrap:wrap}.qc-quick-links a{background:#edf0f6;border-radius:7px;padding:12px;text-decoration:none;font-weight:600}.spec-search-box{padding:6px 6px 12px}.spec-search-box label{font-size:11px;color:#617087}.spec-search-box input{display:block;width:100%;font:inherit;font-size:12px;padding:10px;border:1px solid #c0c8d5;border-radius:7px;background:#fff;color:#233653}.spec-search-box .spec-nav-row>a{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.cylinder-template{margin:18px 0}#cover-actual-fields label{font-size:12px}#cover-actual-fields input{border:1px solid #aab5c8;border-radius:7px;margin-top:7px;font-size:15px;background:#f7f9fc}
@media(max-width:950px){.qc-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qc-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.qc-meta-grid{grid-template-columns:1fr}.qc-dashboard-stats{gap:10px}.qc-dashboard-stats .card{padding:16px}.qc-product-picker label{min-width:100%}.qc-record-bar{padding:20px}}
[data-product-field][hidden]{display:none!important}

/* Clear calculator grouping and live box dimensions. */
#form legend.prominent-group-title{font-size:21px;font-weight:750;color:var(--navy);letter-spacing:-.015em;line-height:1.3;padding-bottom:18px}
#form fieldset:has(legend.prominent-group-title){margin-bottom:32px}
.result-column{display:grid;gap:22px;min-width:0}.box-weight-section h2{margin-bottom:8px}.box-weight-section .weight-drawing>.help{margin:0;color:var(--muted)}
.weight-view-switch {
 display:inline-flex; flex-wrap:wrap; gap:4px; margin:0 0 16px; padding:3px;
 border:1px solid var(--line); border-radius:9px; background:#f2f4f8;
}
.weight-view-switch button.secondary, .box-weight-section .model-actions button.secondary {
 width:auto; margin:0; min-height:40px; padding:6px 13px; font:inherit;
 font-size:14px; font-weight:650; color:var(--navy); border-radius:6px;
}
.weight-view-switch button.secondary {border:0; background:transparent; box-shadow:none}
.weight-view-switch button[aria-pressed="true"] {background:var(--navy); color:white}
.box-weight-section weight-product-model {display:block; min-width:0}
.box-weight-section [hidden] {display:none!important}
.box-weight-section .model-summary, .box-weight-section .model-note, .box-weight-section .model-actions span {
 color:var(--muted); font-size:14px; line-height:1.5;
}
.box-weight-section .model-summary {margin:0 0 12px}
.box-weight-section canvas {
 display:block; width:100%; height:clamp(240px,32vw,365px); border-radius:8px;
 background:#eff2f5; touch-action:none; cursor:grab;
}
.box-weight-section canvas:active {cursor:grabbing}
.box-weight-section .model-scale-options {display:flex; flex-wrap:wrap; gap:0 18px; margin-top:8px}
.box-weight-section .model-scale-options label {display:inline-flex; align-items:center; min-height:44px; gap:8px; margin:0; font-size:14px; cursor:pointer}
.box-weight-section .model-scale-options input {width:18px; height:18px; min-height:0; margin:0; padding:0; accent-color:var(--navy); flex:none}
.box-weight-section .model-actions {display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 10px}
.model-zoom {display:inline-flex; align-items:center; gap:2px}
.box-weight-section .model-zoom button.secondary {width:44px; min-height:44px; padding:0; font-size:20px}
.model-zoom output {min-width:5ch; text-align:center; font-size:14px; font-variant-numeric:tabular-nums}
.box-weight-section .model-wall-picker {display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; margin:0 0 12px; font-size:14px}
.box-weight-section .model-wall-picker select {width:auto; max-width:100%; min-height:44px; font:inherit; padding:6px 12px}
.box-weight-section .model-axes {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr)); gap:4px 14px}
.box-weight-section .model-reading {display:flex; align-items:baseline; justify-content:space-between; gap:6px}
.box-weight-section .model-reading label, .box-weight-section .model-reading output {margin:0; font-size:14px}
.box-weight-section .model-reading output {color:var(--muted); font-variant-numeric:tabular-nums}
.box-weight-section .model-axes input {width:100%; height:36px; padding:0; margin:0; accent-color:var(--navy)}
.box-weight-section .model-note {margin:8px 0 0}
@media (pointer:coarse) {
 .weight-view-switch button.secondary, .box-weight-section .model-actions button.secondary,
 .box-weight-section .model-axes input {min-height:44px}
}
@media print {
 .box-weight-section .weight-view-switch, .box-weight-section weight-product-model {display:none!important}
 .box-weight-section .weight-drawing[hidden] {display:block!important}
}
.box-weight-svg{display:block;width:100%;height:auto;margin:16px 0 0;overflow:visible}.box-weight-svg text{font:600 17px Inter,"Segoe UI",Arial,sans-serif;fill:#263657;stroke:#fff;stroke-width:5px;paint-order:stroke fill;stroke-linejoin:round}.bw-extension{fill:none;stroke:#8b98ad;stroke-width:1.4}.bw-dimension{fill:none;stroke:#566a90;stroke-width:1.4;marker-start:url(#bw-arrow);marker-end:url(#bw-arrow)}
.box-section-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px}.box-section-caption strong{display:block;color:var(--navy);font-size:18px;margin-top:5px}.box-weight-section .box-section-note{font-size:11px;margin-top:14px}
@media(max-width:650px){#form legend.prominent-group-title{font-size:20px}.box-weight-section{padding:18px}.box-weight-svg text{font-size:18px}}

.steel-section-figure{margin:22px 0}.steel-section-dynamic{height:auto;width:100%;display:block;margin:0}.steel-section-dynamic text{font-family:inherit;font-size:18px;fill:#e4eaf6}.steel-section-dynamic .steel-section-label{font-size:21px;font-weight:700}.steel-section-size{paint-order:stroke fill;stroke:var(--navy);stroke-width:6px;stroke-linejoin:round}.steel-section-leaders path{fill:none;stroke:#d1d9e8;stroke-width:1.4}.steel-section-dimension{fill:none;stroke:#b8c5de;stroke-width:1.2;marker-start:url(#steel-section-arrow);marker-end:url(#steel-section-arrow)}.steel-section-figure figcaption{font-size:11px;color:#cbd4e6;line-height:1.65;text-align:center}.steel-section-figure figcaption strong{font-weight:650;font-size:12px}

.approved-steel-section{border-radius:12px;overflow:hidden;background:#f7f8fb}.steel-section-approved{display:block;width:100%;height:auto}.steel-section-approved text{font-family:Inter,"Segoe UI",Arial,sans-serif}

/* Red accents carry the header identity through navigation and work areas. */
:root{--red-deep:#9e2631}
header{border-top-width:6px}
.heading>.eyebrow,.sidebar>.eyebrow{color:var(--red-deep)}
.heading:has(#title:not(:empty))::after{content:'';display:block;width:58px;height:3px;background:var(--red);border-radius:2px;margin-top:18px}
nav .nav-section>summary{border-left:3px solid #bd303b66;padding-left:10px}
nav .nav-section>summary::marker,nav .nav-subsection>summary::marker{color:var(--red)}
nav .nav-section[open]>summary{border-left-color:var(--red)}
.workspace .result{border-top:4px solid var(--red)}
.qc-record-bar{border-top-color:var(--red)}
.home-welcome:after{width:72px;height:4px}
button:not(.secondary):hover,.document-button:hover{background:var(--red-deep)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--red)}

/* Concrete Texas artwork replaces the outline and clipboard on Home. */
.welcome-emblem{width:280px;height:260px;margin-bottom:30px}.welcome-emblem>.welcome-texas-image{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 7px #20294f12)}
@media(max-width:650px){.welcome-emblem{width:230px;height:216px;margin-bottom:26px}}

.pipe-weight-svg .pw-dimension{fill:none;stroke:#566a90;stroke-width:1.4;marker-start:url(#pw-arrow);marker-end:url(#pw-arrow)}.pipe-weight-svg .pw-hidden{fill:none;stroke:#566a90;stroke-width:1.2;stroke-dasharray:7 5}.pipe-weight-svg .pw-centerline{fill:none;stroke:#8996ab;stroke-width:1;stroke-dasharray:18 5 4 5}

.pipe-weight-view{margin:22px 0 0}.pipe-weight-view+ .pipe-weight-view{border-top:1px solid var(--line);padding-top:20px}.pipe-weight-view h3{margin:0;text-align:center;font-size:16px;font-weight:750;color:var(--navy)}.pipe-weight-view .pipe-weight-svg{margin-top:10px}.pw-profile-svg .pw-dimension{marker-start:url(#pw-profile-arrow);marker-end:url(#pw-profile-arrow)}.pw-cross-svg .pw-dimension{marker-start:url(#pw-cross-arrow);marker-end:url(#pw-cross-arrow)}

.mini-diagram.core-diagram{display:block;max-height:280px;margin-top:22px}.core-diagram-note{font-size:11px;line-height:1.6;text-align:center;color:#cbd4e6;margin:8px 0 0}

/* Clear pass/shortfall cues in the box substitution comparison. */
.cover-outcome.short{background:#542b3e;border-color:#d66676;border-left:5px solid #f17b88}.cover-outcome.short .cover-verdict{color:#ffd7dd}.cover-outcome.short .cover-outcome-label{color:#ffc0c9}
.cover-outcome.meets{background:#21483f;border-color:#59a37b;border-left:5px solid #82dca9}.cover-outcome.meets .cover-verdict{color:#d2ffe4}.cover-outcome.meets .cover-outcome-label{color:#a9edc6}
.cover-table .cover-short{background:#542b3e99}.cover-table .cover-meets{background:#21483f80}
.cover-check.short,.cover-check.not-allowed{display:inline-block;background:#843247;color:#ffe4e8;border:1px solid #c66b7a;border-radius:5px;padding:4px 7px;font-weight:750}
.cover-check.meets{display:inline-block;background:#245f46;color:#d6ffe6;border:1px solid #61a983;border-radius:5px;padding:4px 7px;font-weight:700}
.cover-table th,.cover-table td{font-size:13px}.cover-table thead th{font-size:11px}.cover-table th small{font-size:11px}.cover-table caption{font-size:12px}.cover-table .cover-check{font-size:11px}

.cover-margin{display:inline-flex;font-variant-numeric:tabular-nums;white-space:nowrap}.cover-margin-sign{display:inline-block;flex:0 0 1ch;width:1ch;text-align:left}

.cylinder-record-browser>summary{font-size:15px;font-weight:700;padding:0}.cylinder-record-browser[open]>summary{margin-bottom:20px}

/* Decorative engineering sketches frame the home welcome without competing with it. */
.welcome-technical-art{position:absolute;inset:0;z-index:-1;pointer-events:none;color:#667386}
.welcome-technical-art svg{position:absolute;width:clamp(150px,20vw,260px);height:auto;opacity:.65}
.welcome-pipe-art{left:0;top:8%}.welcome-box-art{right:0;bottom:7%}
@media(max-width:1100px){.welcome-technical-art svg{width:150px;opacity:.5}.welcome-pipe-art{top:0}.welcome-box-art{bottom:0}}
@media(max-width:650px){.welcome-technical-art{position:relative;inset:auto;z-index:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;max-width:340px;margin:24px auto 0}.welcome-technical-art svg{position:static;width:calc(50% - 10px);opacity:.65}}

.welcome-technical-art svg g{stroke-width:1.6}

.welcome-pipe-section-art{left:0;bottom:4%}.welcome-perspective-art{right:0;top:5%}
@media(max-width:1100px){.welcome-technical-art{position:relative;inset:auto;z-index:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:20px 36px;width:100%;max-width:460px;margin:28px auto 0}.welcome-technical-art svg{position:static;width:100%;opacity:.65}}

.box-volume{grid-column:1/-1}.box-volume-values{display:flex;flex-wrap:wrap;gap:12px 36px;align-items:baseline}



/* Mix ratio leads the results; all absolute-volume contributions share one section. */
.mix-ratio-focus{display:flex;flex-direction:column;gap:7px;padding:22px 24px;margin-bottom:26px;background:#171d39;border:1px solid #5b6686;border-left:4px solid var(--red);border-radius:11px}
.mix-ratio-focus>span{color:#d2d9e9;font-size:15px;font-weight:700}.mix-ratio-focus>strong{color:#fff;font-size:clamp(44px,5vw,58px);font-weight:750;letter-spacing:-.025em;line-height:1.1;font-variant-numeric:tabular-nums}.mix-ratio-focus>small{color:#c4cde0;font-size:11px;line-height:1.5}
.mix-volume-group{border:1px solid #596480;border-radius:11px;padding:22px;margin-top:26px}.mix-volume-group>h3{font-size:18px;font-weight:700;color:#fff;margin:0 0 22px}.mix-volume-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.mix-volume-total{border-top:1px solid #596480;margin-top:24px;padding-top:20px}.mix-volume-yards{display:inline-block;color:#d2d9e9;font-size:13px;margin-left:18px;font-variant-numeric:tabular-nums}
@media(max-width:420px){.mix-ratio-focus{padding:18px}.mix-volume-group{padding:18px}.mix-volume-grid{column-gap:12px}.mix-volume-yards{display:block;margin:8px 0 0}}

.aggregate-split-control{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;background:#f4f5f8;padding:16px 18px;margin-top:2px}.aggregate-split-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:14px}.aggregate-split-heading label{margin:0;color:var(--navy);font-size:13px}.aggregate-split-heading output{font-size:12px;color:#53617b;font-variant-numeric:tabular-nums}.aggregate-split-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:7px 0 10px}

.spacing-cage-section>h2{font-size:18px;margin-bottom:22px;color:var(--navy)}.spacing-cage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.spacing-cage{margin:0;min-width:0}.spacing-cage>h3{font-size:17px;color:var(--navy);margin:0 0 12px;min-height:44px;line-height:1.3}.spacing-cage-svg{display:block;width:100%;height:auto}.spacing-cage dl{margin:0;padding-top:12px;border-top:1px solid var(--line)}.spacing-cage dl>div{margin-bottom:12px}.spacing-cage dt{font-size:11px;color:var(--muted);line-height:1.4}.spacing-cage dd{margin:4px 0 0;font-size:14px;font-weight:700;color:var(--navy);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.spacing-cage-section .spacing-cage-note{font-size:11px;line-height:1.6;border-top:1px solid var(--line);padding-top:14px;margin:6px 0 0}
#form[data-calculator="spacing"] legend.prominent-group-title{font-size:21px}.workspace:has(#form[data-calculator="spacing"]) .matched-tile h3{font-size:16px}
@media(max-width:420px){.spacing-cage-section{padding:18px}.spacing-cage-grid{gap:10px}.spacing-cage>h3{font-size:16px}.spacing-cage dd{font-size:13px}}

.spacing-limit-alert{border:1px solid #d68a8a;border-left:4px solid #b33232;background:#fff2f2;border-radius:8px;padding:12px;margin:8px 0 18px;color:#8e2525}.spacing-limit-alert strong{font-size:14px;line-height:1.4}.spacing-limit-alert p{font-size:12px;line-height:1.6;margin:7px 0 0}
@media(max-width:520px){.spacing-cage-grid{grid-template-columns:1fr;gap:24px}.spacing-cage>h3{min-height:0}.spacing-cage-svg{max-width:390px;margin:0 auto}}
.sieve-frame-options{margin:24px 0 12px;padding:16px;border:1px solid var(--line);border-radius:9px}.sieve-frame-options legend{font-size:18px;font-weight:700;color:var(--navy);padding:0 6px}.sieve-frame-options>div{display:flex;flex-wrap:wrap;gap:12px 22px}.sieve-frame-options label{display:flex;align-items:center;gap:7px;font-size:14px;cursor:pointer}.sieve-frame-options input{accent-color:var(--red);width:17px;height:17px}.sieve-table{min-width:1280px}.sieve-table .sieve-overload{border:2px solid #ad2636;background:#fff0f1;color:#8e1e2b}.sieve-loading-alert{padding:14px;border:1px solid #d98a96;border-left:4px solid #ad2636;border-radius:7px;background:#fff0f1;color:#8e1e2b;line-height:1.6;font-size:14px}.sieve-loading-alert[hidden]{display:none}.sieve-table tbody tr:last-child td:nth-child(3){font-weight:inherit;background:inherit;color:inherit}.sieve-table tbody tr:last-child td:nth-child(6){font-weight:750;background:#e9edf5;color:var(--navy)}


.sieve-options[hidden]{display:none}

header .brand{font-size:24px;letter-spacing:.04em;line-height:1.2}@media(max-width:700px){header .brand{font-size:clamp(18px,4.8vw,22px)}}

.sieve-sample-sizes{max-width:720px;margin:22px 0;overflow-x:auto}.sieve-sample-sizes table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.sieve-sample-sizes caption{text-align:left;font-size:15px;font-weight:700;color:var(--navy);padding-bottom:12px}.sieve-sample-sizes th,.sieve-sample-sizes td{padding:11px 14px;border-bottom:1px solid var(--line);white-space:nowrap}.sieve-sample-sizes thead{background:#edf0f5;color:var(--navy)}.sieve-sample-sizes tbody th{font-weight:600}.sieve-sample-sizes tbody tr:nth-child(even){background:#f8f9fb}
header .brand{flex-shrink:0}.brand-wordmark{display:flex;align-items:center;gap:18px}.brand-title{white-space:nowrap}.brand-tagline{display:block;border-left:1px solid #8992a5;padding:3px 0 3px 18px;color:#d1d5df;font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:400;font-style:italic;letter-spacing:.01em;line-height:1.3;white-space:nowrap}
@media(max-width:1150px){header .header-note{display:none}}
@media(max-width:1000px){.brand-wordmark{align-items:flex-start;flex-direction:column;gap:4px}.brand-tagline{border-left:0;padding:0;font-size:15px}}
@media(max-width:700px){.brand-tagline{font-size:14px}.brand-wordmark{gap:3px}}
header .plant-toolbar{margin-left:auto}@media(max-width:700px){header .plant-toolbar{margin-left:0}}

/* One centered composition: pipe section, welcome content, box perspective. */
.home-welcome{display:grid;grid-template-columns:minmax(140px,1fr) minmax(280px,1.9fr) minmax(140px,1fr);align-items:center;gap:24px;max-width:1000px;margin:0 auto;padding:28px 0 40px}
.welcome-center{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;min-width:0}
.welcome-center .welcome-emblem{width:230px;height:216px;margin-bottom:24px}
.welcome-center h1{font-size:clamp(28px,3vw,38px);text-wrap:balance}
.welcome-center>p:not(.welcome-plants){max-width:380px;font-size:15px;text-wrap:balance}
.home-welcome .welcome-technical-art{position:static;inset:auto;z-index:auto;display:contents;margin:0}
.welcome-technical-art .welcome-product-group{position:static;transform:none;display:grid;grid-template-columns:1fr;align-items:center;gap:0;width:100%;max-width:220px;justify-self:center;grid-row:1}
.welcome-technical-art .welcome-pipe-group{grid-column:1}.welcome-technical-art .welcome-box-group{grid-column:3}
.welcome-technical-art .welcome-product-group svg{position:static;width:100%;height:auto;max-width:none;opacity:.65}
@media(max-width:950px){.home-welcome{grid-template-columns:minmax(0,1fr);gap:24px}.welcome-center{grid-column:1;grid-row:1}.home-welcome .welcome-technical-art{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1;grid-row:2;gap:24px;width:100%;max-width:480px;margin:0 auto}.welcome-technical-art .welcome-product-group{grid-column:auto;grid-row:auto;grid-template-columns:1fr;gap:0;max-width:220px}}
@media(max-width:650px){.home-welcome .welcome-technical-art{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:400px}}
.aggregate-split-heading>span{margin:0;color:var(--navy);font-size:13px;font-weight:650}.aggregate-split-control>.help{margin:0}.control.split-percentage-control .split-adjust{flex:0 0 40px;align-self:stretch;min-height:44px;padding:0;border-radius:0;background:#edf0f5;color:var(--navy);font-size:20px;font-weight:700}.split-percentage-control .split-adjust:first-child{border-right:1px solid var(--line)}.split-percentage-control .split-adjust:last-child{border-left:1px solid var(--line)}.split-percentage-control .split-adjust:hover{background:#dce2ed}.split-percentage-control input{appearance:textfield;-moz-appearance:textfield;text-align:center;padding:11px 5px}.split-percentage-control input::-webkit-inner-spin-button,.split-percentage-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.split-percentage-control .unit{padding-right:8px}@media(max-width:420px){#form[data-calculator="mix"] .fields>div:has(.split-percentage-control){grid-column:1/-1}}

/* Give the header a little breathing room and keep date and plant controls compact. */
@media(min-width:1101px){.brand-wordmark{gap:28px}.brand-tagline{padding-left:28px;border-left-color:#ffffff35}}
header .plant-toolbar{gap:22px}.plant-selector-group{display:flex;align-items:center;gap:8px;border-left:1px solid #ffffff35;padding-left:22px;min-height:34px}
@media(min-width:701px) and (max-width:1100px){.brand-wordmark{align-items:flex-start;flex-direction:column;gap:5px}.brand-tagline{border-left:0;padding:0;font-size:15px}header .plant-toolbar{gap:16px}.plant-selector-group{padding-left:16px}}
@media(max-width:700px){header .plant-toolbar{flex-wrap:wrap;justify-content:space-between;gap:10px 16px;border-top:1px solid #ffffff24;padding-top:12px}.plant-selector-group{border-left:0;padding-left:0;gap:10px}header .plant-toolbar select{width:140px;max-width:none}.brand-wordmark{gap:5px}}
.welcome-center .welcome-emblem{width:334.8px;height:313.2px;max-width:100%;margin-bottom:24px}
@media(max-width:650px){.welcome-center .welcome-emblem{width:302.4px;height:282.96px}}

header .brand-pipe{width:48px;height:48px;object-fit:contain;flex-shrink:0}@media(max-width:700px){header .brand-pipe{width:40px;height:40px}}

/* Keep the quoted tagline beneath the site name at every screen size. */
header .brand-wordmark{display:flex;flex-direction:column;align-items:center;gap:4px}
header .brand-tagline{border-left:0;padding:0;font-size:15px;line-height:1.3}
@media(max-width:700px){header .brand-tagline{font-size:14px}}

.spacing-warnings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 22px}.spacing-warnings[hidden]{display:none}.spacing-warnings>.spacing-limit-alert{margin:0}.spacing-warnings>.spacing-limit-alert:only-child{grid-column:1/-1}@media(max-width:700px){.spacing-warnings{grid-template-columns:1fr}}

.result h2.steel-result-title{font-size:16px;line-height:1.4}

/* Keep a clean, solid boundary below the header. */
header{position:relative;z-index:1;box-shadow:none}
header::after{content:none}

/* Anchor the ground shadow to the southern tip of Texas. */
.welcome-center .welcome-emblem{isolation:isolate;transform:translateX(-4%);--texas-tip-x:71.7%;--texas-tip-y:97%}
.welcome-center .welcome-emblem::before{content:"";position:absolute;left:var(--texas-tip-x);top:var(--texas-tip-y);width:94%;height:23%;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at 58% 50%,rgb(30 35 45 / 33%) 0%,rgb(30 35 45 / 19%) 32%,rgb(30 35 45 / 7%) 54%,transparent 72%);transform-origin:100% 50%;transform:translate(-100%,-50%) rotate(12deg);filter:blur(7px)}
.welcome-center .welcome-emblem::after{content:"";position:absolute;left:var(--texas-tip-x);top:var(--texas-tip-y);width:12%;height:3.5%;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse,rgb(30 35 45 / 38%),transparent 72%);transform:translate(-50%,-50%);filter:blur(2px)}

/* Give the title and tagline more room within the header band. */
header{height:auto;min-height:100px;padding:18px 38px}
header .brand{gap:16px}
header .brand-wordmark{gap:6px}
@media(min-width:701px){.sidebar{min-height:calc(100vh - 100px)}}
@media(max-width:700px){header{min-height:76px;padding:18px 20px}header .brand{gap:14px}}

.box-cage-diagram{margin-top:24px;padding:20px 16px;background:#fff;color:var(--navy);border-radius:12px}.box-cage-diagram h3{font-size:18px;margin:0 0 10px}.box-cage-diagram svg{display:block;width:100%;height:auto}.box-cage-legend{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:12px}.box-cage-legend span{display:flex;align-items:center;gap:7px}.box-cage-legend i{display:inline-block;width:24px;border-top:3px solid #20294f}.box-cage-legend i.inner{border-top:3px dashed #65758b}.box-cage-diagram p{font-size:11px;color:#65758b;margin:12px 0 0;text-align:center}

.cage-haunch-note{grid-column:1/-1;margin:0 0 4px}.cage-length-section{margin:24px 0 0}.cage-length-section svg{display:block;width:100%;height:auto;border-radius:10px}.cage-length-section figcaption{font-size:11px;line-height:1.6;color:#59677b;margin:0;padding:8px 14px 14px}

.technical-reference-empty{font-size:12px;padding:0 12px 10px;line-height:1.5}.technical-reference-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:22px;align-items:start}.technical-reference-figure{margin:0;padding:18px;overflow:hidden}.technical-reference-figure img{display:block;width:100%;height:auto;border-radius:9px}.technical-reference-figure figcaption{font-size:13px;font-weight:650;color:var(--navy);margin-top:14px;text-align:center}.technical-reference-notes h2{font-size:21px}.technical-reference-notes section+section{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.technical-reference-notes h3{font-size:16px;margin:0 0 8px;color:var(--navy)}.technical-reference-notes p{font-size:14px;color:var(--muted);margin:0}.technical-reference-notes .technical-reference-caption{font-size:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}@media(max-width:1000px){.technical-reference-layout{grid-template-columns:1fr}.technical-reference-figure img{max-width:560px;margin:auto}}

.cage-size-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.cage-haunch-value output{padding:11px;font-size:19px;font-weight:550;flex:1;min-width:0;color:var(--navy)}.box-cage-lap{margin-top:15px;padding:12px;border:1px solid;border-radius:8px}.box-cage-lap>span{display:block;font-size:12px;font-weight:650;margin-bottom:5px}.box-cage-lap>strong{font-size:23px}.box-cage-lap small{font-size:12px;font-weight:400}.box-cage-lap p{font-size:11px;line-height:1.5;margin:7px 0 0}.box-cage-lap.insufficient{background:#572736;color:#ffe3e7;border-color:#cf697b}.box-cage-lap.sufficient{background:#1c493f;color:#e2f4eb;border-color:#6b9d88}@media(max-width:600px){.cage-size-fields{grid-template-columns:1fr 1fr}.cage-haunch-value{grid-column:1/-1}}

.cage-wall-summary{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:16px;background:#f1f3f7;border-radius:9px}.cage-wall-summary dt{font-size:12px;font-weight:650;color:var(--muted);margin-bottom:7px}.cage-wall-summary dd{margin:0;font-size:18px;font-weight:650;color:var(--navy)}.cage-wall-summary dd span{font-size:11px;font-weight:400}@media(max-width:600px){.cage-wall-summary{grid-template-columns:1fr 1fr}}

.cage-cover-options{border:1px solid var(--line);border-radius:9px;margin:0 0 14px;padding:0 14px}.cage-cover-options>summary{padding:15px 0;cursor:pointer;font-size:14px;font-weight:650;color:var(--navy)}.cage-cover-options>fieldset{padding-bottom:16px}.cage-cover-options legend{display:none}.cage-cover-options .fields{padding-top:6px}

/* Home sits above the resource categories; wrapped category text hangs after its arrow. */
.sidebar>.home-nav{display:flex;align-items:center;padding:12px 14px;margin:0 0 20px;font-size:18px;font-weight:650;line-height:1.4;color:#37425c;text-decoration:none;border-radius:9px}.sidebar>.home-nav:hover{background:#e2e5ed}.sidebar>.eyebrow{display:block;margin-top:0}
/* Compact site-wide search replaces the header's plant selector. */
header .header-tools{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 250px;gap:7px;margin-left:auto;min-width:0}

.site-search{position:relative;width:100%;text-align:left;letter-spacing:normal}
.site-search-control{display:flex;align-items:center;gap:9px;height:38px;padding:0 11px;border:1px solid #ffffff45;border-radius:7px;background:#ffffff0b;box-sizing:border-box}
.site-search-control:focus-within{border-color:#c1cbe2;box-shadow:0 0 0 2px #b9c9ec28;background:#ffffff12}
.site-search-control>svg{width:16px;height:16px;flex:none;fill:none;stroke:#c5cddd;stroke-width:1.7;stroke-linecap:round}
header #site-search{display:block;width:100%;min-width:0;height:100%;padding:0;margin:0;background:transparent;border:0;border-radius:0;outline:none;box-shadow:none;color:#fff;line-height:1.3;font-family:inherit;font-size:14px;font-weight:400;letter-spacing:normal}
header #site-search::placeholder{color:#c5cddd;opacity:1}
header #site-search::-webkit-search-cancel-button{display:none}
header .site-search-clear{flex:none;width:22px;height:26px;min-height:0;padding:0;border:0;background:transparent;color:#d8dfec;font-size:22px;line-height:1;box-shadow:none;border-radius:3px}
header .site-search-clear[hidden],.site-search-panel[hidden]{display:none}
.site-search-panel{position:absolute;right:0;top:calc(100% + 10px);width:400px;max-width:calc(100vw - 40px);z-index:20;padding:8px;background:#fff;color:var(--ink);border:1px solid var(--line);border-top:3px solid var(--red);border-radius:8px;box-shadow:0 14px 40px #111a3333}
.site-search-count{margin:4px 8px 9px;font-size:11px;line-height:1.5;color:var(--muted);font-weight:500}
#site-search-results{max-height:min(470px,60vh);overflow:auto;overscroll-behavior:contain}
#site-search-results>a{display:block;padding:11px 12px;border-radius:5px;border-bottom:1px solid #edf0f4;color:var(--ink);text-decoration:none}
#site-search-results>a:last-child{border-bottom:0}
#site-search-results>a:hover,#site-search-results>a:focus-visible,#site-search-results>a[aria-selected=true]{background:#edf0f6;outline:none;box-shadow:inset 3px 0 var(--red)}
#site-search-results small{display:block;font-size:10px;font-weight:650;line-height:1.4;letter-spacing:.065em;text-transform:uppercase;color:#677188;margin-bottom:3px}
#site-search-results strong{display:block;font-size:14px;line-height:1.4;font-weight:650;color:var(--navy)}
#site-search-results span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;font-size:12px;line-height:1.45;color:var(--muted)}
.form-plant-field{max-width:340px;margin-bottom:18px}
.form-plant-field label{display:block;margin-bottom:8px;font-weight:650}
.form-plant-field select{width:100%;padding:11px;border:1px solid #a6b1c4;border-radius:7px;background:#f8f9fc;color:var(--ink);font:inherit;box-sizing:border-box}
.fields>.form-plant-field,.bp-fields>.form-plant-field{max-width:none;margin-bottom:0}
@media(max-width:700px){header .header-tools{flex:0 0 100%;width:100%;margin:0;border-top:1px solid #ffffff24;padding-top:12px}header #site-search{font-size:16px}.site-search-control{height:40px}.site-search-panel{width:100%;max-width:none;box-sizing:border-box}#site-search-results{max-height:45vh}}
@media print{header .header-tools{display:none!important}}

/* Pair the pipe and joint on the left, and the box and inlet on the right. */
.home-welcome .welcome-technical-art{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;
 gap:20px 28px;grid-column:1;grid-row:2;width:100%;max-width:580px;margin:0 auto;
}
.welcome-technical-art .welcome-product-group{
 width:100%;max-width:270px;min-width:0;grid-column:auto;grid-row:auto;
}
.welcome-product-group img{display:block;width:100%;height:auto;opacity:.65}
.welcome-product-group.welcome-inlet-group img{
 width:auto;max-width:100%;height:clamp(155px,23vw,245px);margin:auto;
}
@media(min-width:1160px){
 .home-welcome{
  grid-template-columns:minmax(0,1fr) minmax(280px,1.4fr) minmax(0,1fr);
  grid-template-rows:auto auto;gap:12px 20px;align-content:center;
 }
 .welcome-center{grid-column:2;grid-row:1 / span 2}
 .home-welcome .welcome-technical-art{display:contents}
 .welcome-technical-art .welcome-pipe-group{grid-area:1/1}
 .welcome-technical-art .welcome-box-group{grid-area:1/3}
 .welcome-technical-art .welcome-joint-group{grid-area:2/1}
 .welcome-technical-art .welcome-inlet-group{grid-area:2/3}
}
@media(max-width:1159px){
 .home-welcome{grid-template-columns:minmax(0,1fr);gap:24px}
 .welcome-center{grid-column:1;grid-row:1}
}
@media(max-width:650px){
 .home-welcome .welcome-technical-art{gap:16px 12px;max-width:410px}
}

@font-face{
 font-family:"Source Sans 3";
 src:url("/fonts/source-sans-3/latin-normal.woff2") format("woff2");
 font-style:normal;font-weight:200 900;font-display:swap;
}

/* Keep nested resources close to their parent heading. */
.sidebar nav{
 --nav-row-pad:7px;
 --nav-tier-pad:5px;
 --nav-inner-pad:3px;
 --nav-text-inset:32px;
 --nav-level-inset:16px;
 display:block;padding:0;overflow:visible;
}
.sidebar nav .nav-section{margin:0 0 8px;min-width:0}
.sidebar nav :is(.nav-subsection,.nav-tier){margin:0;padding:0;min-width:0}
.sidebar nav :is(#navigation,#astm-links,#txdot-links){display:block;gap:0}
.sidebar nav .nav-tier{--nav-row-pad:var(--nav-tier-pad)}
.sidebar nav .nav-tier .nav-tier{--nav-row-pad:var(--nav-inner-pad)}
.sidebar nav :is(.nav-subsection,.nav-tier)[open] + :is(.nav-subsection,.nav-tier){margin-top:8px}
.sidebar nav .nav-tier-links{border:0;margin:0;padding:0}
.sidebar nav .nav-section :is(a,summary){
 position:relative;display:block;box-sizing:border-box;min-width:0;min-height:0;
 margin:0;padding:var(--nav-row-pad) 12px var(--nav-row-pad) var(--nav-text-inset);
 border:0;border-radius:9px;background:transparent;color:#37425c;
 font-family:inherit;font-size:14px;font-weight:500;line-height:20px;letter-spacing:normal;
 text-align:left;text-decoration:none;white-space:normal;overflow-wrap:break-word;
}
.sidebar nav summary{cursor:pointer;list-style:none}
.sidebar nav summary::marker{content:""}
.sidebar nav summary::-webkit-details-marker{display:none}
.sidebar nav summary::before{
 content:"";position:absolute;left:12px;top:calc(50% - 5px);width:0;height:0;
 border-top:5px solid transparent;border-bottom:5px solid transparent;
 border-left:8px solid var(--red);transform-origin:3px 5px;
}
.sidebar nav details[open]>summary::before{transform:rotate(90deg)}
.sidebar nav a::before{content:none}
.sidebar>.eyebrow,.sidebar nav .nav-section>summary{
 font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;
}
.sidebar>.eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.13em}
.sidebar nav .nav-section>summary{
 min-height:52px;margin:0 0 6px;padding-block:14px;padding-left:calc(var(--nav-text-inset) - 3px);
 border-left:3px solid #bd303b66;background:#e4e7ee;color:var(--navy);
 font-size:1.0625rem;font-weight:475;line-height:24px;
}
.sidebar nav .nav-section>summary::before{left:9px}
.sidebar nav .nav-section[open]>summary{border-left-color:var(--red)}
/* Each disclosure adds the same indent, whether its children use a wrapper or direct links. */
.sidebar nav :is(.nav-subsection,.nav-tier)>:not(summary){margin-left:var(--nav-level-inset)}
.sidebar nav .nav-subsection>summary{font-weight:650;color:var(--navy)}
.sidebar nav .nav-tier[open]>summary{font-weight:600}
.sidebar nav .nav-subsection[open]>:is(#astm-links,#txdot-links),
.sidebar nav .nav-tier[open]>.nav-tier-links{border-left:1px solid #c8cdd6}
@media (pointer:coarse),(max-width:650px){
 .sidebar nav{--nav-row-pad:11px;--nav-tier-pad:9px;--nav-inner-pad:7px}
}
.sidebar nav :is(a,summary):hover{background:#e2e5ed}
.sidebar nav a[aria-current=page]{background:#e3e7f0;color:var(--navy);box-shadow:inset 3px 0 var(--red)}
.sidebar nav :is(a,summary):focus-visible{outline:2px solid var(--red);outline-offset:2px}
.sidebar nav .number{display:none}
.sidebar nav .spec-nav-row{display:flex;align-items:center;gap:0;min-width:0}
.sidebar nav .spec-nav-row>a{flex:1;min-width:0}
.sidebar nav .spec-nav-row>a small{display:block;margin-top:2px;font-size:11px;font-weight:400;line-height:16px;color:var(--muted)}
.sidebar nav .spec-count{line-height:1;vertical-align:baseline;margin-top:0}
.sidebar nav .spec-search-box{padding:10px 12px 8px var(--nav-text-inset)}
.sidebar nav .spec-search-box label{display:block;margin:0 0 6px;font-size:12px;line-height:18px;color:var(--muted)}
.sidebar nav .spec-search-box input{font-size:14px;line-height:20px;min-height:44px}
.sidebar nav .spec-search-box .spec-nav-row>a{padding-left:0}

/* Inset dividers between neighboring menu rows at each level. */
.sidebar .nav-section :where(a, details, .spec-nav-row):not([hidden], .working-forms-nav) + a::after,
.sidebar .nav-section :where(a, details, .spec-nav-row):not([hidden]) + details > summary::after,
.sidebar .nav-section :where(a, details, .spec-nav-row):not([hidden]) + .spec-nav-row > a::after {
 content:"";
 position:absolute;
 inset-block-start:0;
 inset-inline:var(--nav-text-inset) 12px;
 border-block-start:1px solid #cbd0cc;
 pointer-events:none;
}
.sidebar nav .spec-search-box .spec-nav-row > a::after { inset-inline-start:0; }
.sidebar nav :is(.nav-empty,.nav-edition,.work-instruction-empty){margin:0;padding:10px 12px 10px var(--nav-text-inset);font-size:12px;font-weight:400;line-height:18px;letter-spacing:normal;color:var(--muted)}

/* Rock sieve grading selection. */
.sieve-size-selector{display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,1fr);gap:14px 24px;margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:9px;background:#f6f8fb}.sieve-size-selector label{display:block;font-weight:650;margin-bottom:8px}.sieve-size-selector select{width:100%;padding:11px;border:1px solid #a6b1c4;border-radius:7px;background:#fff;color:var(--ink);font:inherit}.sieve-size-selector>p{grid-column:1/-1;margin:0}.sieve-size-selector strong,.sieve-size-selector span{display:block;line-height:1.6}.sieve-size-selector span{font-size:14px}.sieve-size-selector .help{font-size:12px}.sieve-frame-options label:has(input:disabled){opacity:.45}@media(max-width:700px){.sieve-size-selector{grid-template-columns:1fr}}

/* Wire designation input and four-decimal result. */
#form[data-calculator="wire-size-to-diameter"] .fields{grid-template-columns:1fr}
#form[data-calculator="wire-size-to-diameter"] #wireSize{text-transform:uppercase}
.workspace:has(#form[data-calculator="wire-size-to-diameter"]) .hero{font-size:clamp(28px,3.7vw,46px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

/* Rock sieve loading is a caution, separate from failed gradation limits. */
#sieve-panel.rock-sieve .sieve-table .sieve-overload{border:2px solid #c19418;background:#fff4bf;color:#72530c}#sieve-panel.rock-sieve .sieve-loading-alert{border-color:#dfbf57;border-left-color:#c19418;background:#fff4bf;color:#72530c}

/* Cylinder pair results and fracture references */
.cr-pair .cr-pair-metric{min-width:245px;padding:14px 20px;border:1px solid #d8dfeb;border-radius:9px;background:#f2f5fa;text-align:center;color:#283954}
.cr-pair .cr-pair-metric strong{font-size:34px;line-height:1.15;letter-spacing:-.5px}
.cr-pair-metric p{margin:6px 0 0;font-weight:700;font-size:14px}
.cr-pair .cr-pair-metric.met,.cr-badge.met{background:#e4f8e8;border-color:#21a64b;color:#00852d}
.cr-pair .cr-pair-metric.failed,.cr-badge.failed{background:#fff0f0;border-color:#df171c;color:#df171c}
.cr-pair-date{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:20px 0 16px}
.cr-pair-date>div{width:245px;max-width:100%}
.cr-pair-date .help{padding-bottom:14px}
#cr-editor table{min-width:900px}
#cr-editor table td{vertical-align:middle}
#cr-editor input[readonly]{background:#f0f3f7;color:#52617b;cursor:default}
.cr-fracture-preview{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#53617a}
.cr-fracture-preview svg{width:50px;height:64px;flex:none}
#cr-editor .cr-fracture-choose{display:block;border:0;background:none;color:#254b79;text-decoration:underline;padding:6px 0;font-size:12px;line-height:1.4;min-height:32px;white-space:nowrap}
.cr-fracture-dialog{width:min(880px,calc(100vw - 32px));max-height:90vh;padding:26px;border:1px solid #aebbd0;border-radius:12px;background:white;color:#253657;box-shadow:0 20px 70px #12213b55}
.cr-fracture-dialog::backdrop{background:#17243c88}
.cr-fracture-dialog h2{margin:0;font-size:23px}
.cr-fracture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
#cr-editor .cr-fracture-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:15px 13px;border:1px solid #ccd5e3;border-radius:8px;background:#f8faff;color:#243755;text-align:center;white-space:normal;font-weight:400}
#cr-editor .cr-fracture-card:hover,#cr-editor .cr-fracture-card:focus-visible{background:#edf2fa;border-color:#254b79;outline:2px solid #254b79;outline-offset:1px}
.cr-fracture-card svg{height:120px;width:94px}
#cr-editor .cr-fracture-card strong{font-size:15px;line-height:1.4}
.cr-fracture-card span{font-size:12px;line-height:1.5}
@media(max-width:600px){.cr-pair .cr-pair-metric{width:100%;text-align:center;min-width:0}.cr-pair-date{gap:5px}.cr-pair-date>div{width:100%}.cr-pair-date .help{padding:0}.cr-fracture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-fracture-dialog{padding:18px}.cr-fracture-dialog h2{font-size:19px}}

.cr-inspection-guide{padding:14px 16px;background:#f0f4f9;border-left:3px solid #5c759a;font-size:14px;line-height:1.6}
.cr-specimen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.cr-specimen{padding:16px;background:#f8fafc;border:1px solid #dbe2ec;border-radius:8px}
.cr-specimen h4{margin:0 0 14px;font-size:17px;color:#243755}
.cr-measurements,.cr-check-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#cr-editor .cr-specimen label{font-size:13px}
.cr-specimen .help{font-size:12px;margin:10px 0 16px}
.cr-specimen-status{font-size:12px;line-height:1.5;margin:14px 0 0;padding:9px;border-radius:5px;background:#edf1f7;color:#53617a}
.cr-specimen-status.failed{color:#df171c;background:#fff0f0}.cr-specimen-status.met{color:#00852d;background:#e4f8e8}
#cr-editor select.cr-check-pass{background:#e4f8e8;border-color:#21a64b;color:#00852d}
#cr-editor select.cr-check-fail{background:#fff0f0;border-color:#df171c;color:#df171c}
.cr-add-pair{margin:0 0 24px}
@media(max-width:900px){.cr-specimen-grid{grid-template-columns:1fr}}

/* Cylinder dimensions and test-age timing checks. */
#cr-editor input.cr-check-fail{background:#fff0f0;border:2px solid #df171c;color:#df171c}
#cr-editor input.cr-check-pass{background:#e4f8e8;border-color:#21a64b;color:#00852d}
.cr-time-window{padding:18px;margin:0 0 20px;border:1px solid #d8dfeb;border-left:5px solid #8897ad;border-radius:8px;background:#fff;color:#203352;line-height:1.5}
.cr-time-window.met{border-left-color:#21a64b}
.cr-time-window.review{border-left-color:#c19418}
.cr-time-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#cr-editor .cr-time-heading h4{font-size:18px;margin:0;color:#203352}
.cr-time-status{font-size:14px;border-radius:5px;padding:5px 10px;background:#eef2f7;color:#536482}
.cr-time-window.met .cr-time-status{background:#e4f8e8;color:#00852d}
.cr-time-window.review .cr-time-status{background:#fff4bf;color:#72530c}
.cr-time-details{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:14px}
.cr-time-details>div{padding:14px;border:1px solid #d8dfeb;border-radius:6px;background:#f7f9fc;display:flex;flex-direction:column;gap:4px}
.cr-time-details span:first-child{font-size:13px;font-weight:700;color:#536482}
.cr-time-details strong{font-size:20px;color:#203352;line-height:1.3}
.cr-time-limit span:last-child{font-size:18px;font-weight:700;color:#203352}
.cr-time-requirement span{font-size:14px}
.cr-time-requirement small{font-size:12px;color:#536482}
#cr-editor .cr-time-actual{font-size:14px;margin:12px 0 0;color:#536482}
@media(max-width:800px){.cr-time-details{grid-template-columns:1fr 1fr}.cr-time-requirement{grid-column:1/-1}}
@media(max-width:520px){.cr-time-details{grid-template-columns:1fr}.cr-time-window{padding:14px}.cr-time-details strong{font-size:18px}}
.cr-age-guide{border:1px solid #d8dfeb;border-radius:7px;padding:14px;margin:18px 0}
.cr-age-guide summary{cursor:pointer;font-weight:700}
#cr-editor .cr-age-guide table{min-width:0;width:100%;max-width:640px;margin-top:12px}
.cr-age-guide th,.cr-age-guide td{text-align:center;padding:8px 16px}
.cr-pair-date>.help{flex-basis:100%;padding:0}

/* Timing deviations are cautions; specimen and strength failures remain red. */
#cr-editor input.cr-check-warning{background:#fff4bf;border:2px solid #c19418;color:#72530c}
.cr-pair .cr-pair-metric.review,.cr-badge.review{background:#fff4bf;border-color:#dfbf57;color:#72530c}

/* Keep specimen cautions separate from the strength-only PSI result. */
.cr-pair-notes{padding:12px 16px;margin:12px 0;border:1px solid #dfbf57;border-radius:7px;background:#fff4bf;font-size:14px;line-height:1.5}
.cr-pair-notes[hidden]{display:none}
.cr-pair-notes p{margin:5px 0 0}
.cr-pair-note-specimen{color:#df171c;font-weight:700}
.cr-pair-note-timing{color:#72530c;font-weight:700}
.cr-pair-note-pending{color:#53617a}

/* A cylinder set remains one working record across multiple test days. */
#cr-editor .cr-working-document{border:1px solid #b9cbdc;border-left:5px solid #285477;border-radius:10px;background:#f2f7fb;padding:18px 20px;margin:20px 0 28px}
#cr-editor .cr-working-document>div>strong{font-size:19px;color:#203b56}
#cr-editor .cr-working-document p{line-height:1.55;margin:8px 0}
#cr-editor .cr-working-document .actions{margin-top:14px;gap:10px;align-items:center}
.cr-storage-note{font-size:13px;color:#53617a}.cr-workflow-stage{font-weight:700;color:#285477}
#cr-editor .cr-section-title{border-bottom:2px solid #cbd5e2;padding-bottom:12px;margin:0 0 12px}
#cr-editor .cr-pair{border:2px solid #bdcadb;border-radius:12px;background:#fff;padding:22px;margin:36px 0;box-shadow:0 4px 14px #1d35500b;scroll-margin-top:24px}
#cr-editor .cr-pair-header{padding:18px 22px;margin:-22px -22px 24px;border-radius:10px 10px 0 0;background:#233c58;border-bottom:4px solid #8fa9c2;color:#fff}
#cr-editor .cr-pair-title{display:flex;align-items:center;gap:15px}
#cr-editor .cr-pair-title h3{font-size:26px;color:#fff;line-height:1.2}
#cr-editor .cr-pair-title p{margin:6px 0 0;font-size:16px;font-weight:600;color:#e2ebf6}
#cr-editor .cr-pair-number{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #a7bfd9;border-radius:9px;background:#ffffff18;font-size:27px;font-weight:800}
#cr-editor .cr-pair-header .cr-pair-metric{box-sizing:border-box;margin:0;box-shadow:0 1px 4px #0002}
#cr-editor .cr-pair-header .cr-pair-metric.pending{background:#edf2f8;color:#344b67}
#cr-editor .cr-pair-header .cr-pair-metric strong{font-size:32px}
#cr-saved{scroll-margin-top:24px}#cr-saved>summary{font-size:19px;font-weight:700;padding:6px 0}
@media(max-width:600px){#cr-editor .cr-pair{padding:15px;margin:28px 0}#cr-editor .cr-pair-header{padding:16px;margin:-15px -15px 20px;gap:16px}#cr-editor .cr-working-document{padding:15px}#cr-editor .cr-working-document .actions>*{flex:1 1 180px;text-align:center}#cr-editor .cr-pair-title h3{font-size:24px}}

.cr-account{border-top:4px solid #285477}.cr-account h2{margin:0 0 8px}.cr-account>select{max-width:420px;margin:8px 0 16px}.cr-login-form{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end;max-width:850px}.cr-login-form input{width:100%;margin-top:6px}.cr-login-form button{margin-bottom:1px}#cr-refresh{margin:0 0 16px}@media(max-width:700px){.cr-login-form{grid-template-columns:1fr}.cr-account>select{max-width:100%}}

/* Extend the navigation surface across the gutter of the centered page. */
@media (width > 650px) {
  .shell > .sidebar { position: relative; border-right: 2px solid #c8cbc5; }
  .shell > .sidebar::before {
    content: "";
    position: absolute;
    inset: 0 100% 0 auto;
    width: 50vw;
    background-color: inherit;
    pointer-events: none;
  }
}

/* Primary destinations use stronger contrast than the resource categories. */
.sidebar .sidebar-shortcuts{display:grid;gap:12px;margin:0 0 26px;padding:0 0 24px;border-bottom:1px solid var(--line);overflow:visible}
.sidebar .sidebar-shortcut{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:48px;margin:0 10px;padding:9px 14px;border:0;border-radius:0;background:transparent;color:var(--navy);text-align:center;text-decoration:none;white-space:normal;transition:background .15s,color .15s,box-shadow .15s}
.sidebar .sidebar-shortcut-icon{display:grid;place-items:center;flex:none;width:22px;height:22px;background:transparent;color:inherit}
.sidebar .sidebar-shortcut-icon svg{display:block;width:100%;height:100%}
.sidebar .sidebar-shortcut-copy{display:block;min-width:0}
.sidebar .sidebar-shortcut-copy strong{display:block;font-size:1rem;font-weight:650;line-height:1.25}
.sidebar .sidebar-shortcut--home{border-radius:999px;border-bottom:4px solid var(--red);background:var(--navy);color:#fff;box-shadow:0 4px 12px #171d3917}
.sidebar :is(.sidebar-shortcut--cabinet, .sidebar-shortcut--calibration){padding:10px 14px;border:1px solid var(--line);border-bottom:4px solid #6b93b8;border-radius:999px;background:#dfeaf4;color:var(--navy)}
.sidebar .sidebar-shortcut--calibration{background-color:#d9ebe7;border-bottom-color:#17625e;container:calibration-shortcut / inline-size}
.sidebar :is(.sidebar-shortcut--cabinet, .sidebar-shortcut--calibration) .sidebar-shortcut-icon{color:#53617a}
.sidebar .sidebar-shortcut--home:hover{background:#2d395f;color:#fff;box-shadow:0 5px 14px #171d3924}
.sidebar :is(.sidebar-shortcut--cabinet, .sidebar-shortcut--calibration):hover{box-shadow:0 2px 6px #171d3917;color:var(--navy-deep)}
.sidebar .sidebar-shortcut:focus-visible{outline:3px solid #285477;outline-offset:4px}
@media(max-width:650px){
 .sidebar .sidebar-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px;margin-bottom:18px;padding-bottom:20px}
 .sidebar .sidebar-shortcut{margin:0;padding:10px 8px}
 .sidebar .sidebar-shortcut--calibration .sidebar-shortcut-icon{width:26px;height:26px}
 .sidebar .sidebar-shortcut--calibration svg{transform:translateY(-1px)}
 .sidebar-shortcut--calibration .gauge-dial-desktop{display:none}
 .sidebar-shortcut--calibration .gauge-dial-mobile{display:inline}
}
@container calibration-shortcut (max-width:13rem){
 .sidebar-shortcut-copy{width:min-content}
}

/* Keep saved work distinct from blank forms, and keep the cylinder save panel focused. */
.sidebar nav #forms-nav>a.working-forms-nav{display:flex;align-items:center;gap:10px;margin:10px 0 16px;padding:13px 14px;min-height:50px;border:1px solid #abc3db;border-left:4px solid #285477;border-radius:8px;background:#e4eef8;color:#214c73;font-size:14px;font-weight:750;line-height:20px}
.sidebar nav #forms-nav>a.working-forms-nav svg{width:21px;height:21px;flex:0 0 21px}
.sidebar nav #forms-nav>a.working-forms-nav:hover{background:#d6e6f6;border-color:#789bbf}
.sidebar nav #forms-nav>a.working-forms-nav:focus-visible{outline:3px solid #285477;outline-offset:3px}
#cr-editor .cr-working-document button{font-family:inherit;font-size:13px;font-weight:650;line-height:1.4;min-height:42px}
#cr-editor .cr-working-document .cr-storage-note{font-size:14px;margin:8px 0 12px}
#cr-editor .cr-working-document .cr-working-options{margin-top:16px;padding-top:12px;border-top:1px solid #d1dfeb;color:#53617a}
#cr-editor .cr-working-options>summary{width:fit-content;padding:4px 2px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:650;line-height:1.4}
#cr-editor .cr-working-options>summary:focus-visible{outline:3px solid #285477;outline-offset:3px;border-radius:3px}
#cr-editor .cr-working-options p{font-size:13px}
#cr-editor .cr-working-document .cr-working-options .actions{margin-top:10px}
#cr-editor #cr-save-feedback:empty{display:none}

/* Keep the Toolbox identity and account on the same row at phone widths. */
.toolbox-header {
  display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(10rem, 250px) auto;
  grid-template-areas: "brand search account"; align-items: center; column-gap: clamp(12px, 2vw, 24px);
}
.toolbox-header .brand { grid-area: brand; justify-self: start; }
.toolbox-header .header-tools { grid-area: search; width: 100%; margin: 0; }
@media (max-width: 700px) {
  .toolbox-header {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand account" "search search";
    column-gap: 8px;
  }
}
@media (max-width: 380px) {
  .toolbox-header { padding-inline: 12px; }
  .toolbox-header .brand { gap: 6px; font-size: 1rem; letter-spacing: .015em; }
  .toolbox-header .brand-pipe { width: 32px; height: 32px; }
}

/* Reserve the shared note's height so toggling X-ray keeps its checkbox under the pointer. */
weight-product-model .model-design-notes { display: grid; }
weight-product-model .model-design-notes > span { grid-area: 1 / 1; }
weight-product-model .model-design-notes > span[hidden] { display: block !important; visibility: hidden; }
