.tools-weighting-hero{background:radial-gradient(at 85% 25%,#c6ddd7,#0000 57%),radial-gradient(at 8% 80%,#e4dcca,#0000 60%),linear-gradient(120deg,#f7f6ef,#eaf1f6)}.wd-hero-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:3rem;display:grid}.wd-hero-example{color:#284d54;background:#ffffffc9;border:1px solid #afc8c5;border-radius:.7rem;padding:1.8rem}.wd-hero-example>p{font-size:.88rem;line-height:1.7}.wd-hero-example dl{margin:1rem 0}.wd-hero-example dl>div{border-bottom:1px solid #ccdad6;justify-content:space-between;gap:1rem;padding:.65rem 0;display:flex}.wd-hero-example dd{font-size:1.7rem;font-weight:600}.weighting-diagnostic .calc-toolbar>p{max-width:36rem;font-size:.9rem}.weighting-diagnostic .calc-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem}.weighting-diagnostic .calc-results{scroll-margin-top:8rem}.weighting-diagnostic fieldset:disabled{opacity:.65}.weighting-diagnostic textarea{resize:vertical;max-width:100%}.weighting-diagnostic input[type=file]{padding:.5rem;font-size:.85rem}.weighting-diagnostic input[type=file]::file-selector-button{border:1px solid #9ab2b8;border-radius:.3rem;margin-right:.5rem;padding:.4rem}.wd-paste{margin-top:1.3rem}.wd-input-label{margin-bottom:1rem;font-weight:600}.weighting-diagnostic .wd-check{cursor:pointer;align-items:flex-start;gap:.75rem;padding:.65rem 0;font-size:.9rem;display:flex}.weighting-diagnostic .wd-check input{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin-top:.1rem}.wd-validation,.wd-metrics{margin:1.3rem 0}.wd-validation>div,.wd-metrics>div{border-bottom:1px solid #d3dfdc;justify-content:space-between;gap:1rem;padding:.55rem 0;font-size:.86rem;display:flex}.wd-validation dd,.wd-metrics dd{text-align:right;font-weight:600}.wd-notes{padding-left:1.2rem;font-size:.85rem;list-style:outside}.wd-notes li{margin-top:.75rem}.wd-base-bars{margin:1.5rem 0}.wd-base-bars>div{grid-template-columns:minmax(0,1fr) auto;gap:.4rem;margin:.8rem 0;font-size:.82rem;display:grid}.wd-base-bars i{background:#3b746e;border-radius:2px;grid-column:1/-1;height:7px;display:block}.wd-base-bars>div:first-child i{background:#a3bbba}.wd-chart{background:#fff;border:1px solid #c3d5d1;border-radius:.7rem;margin-top:1.5rem;padding:1.5rem}.wd-chart svg{width:100%;margin-top:1.4rem}.wd-chart svg text{fill:#354e54;font-family:inherit;font-size:12px}.wd-chart label{margin-top:1rem;font-size:.87rem;font-weight:600;display:block}.weighting-diagnostic input[type=range]{accent-color:#275b63;border:0;padding:0}.wd-concentration-readout{margin:.6rem 0}.weighting-diagnostic table{border-collapse:collapse;width:100%;font-size:.84rem}.weighting-diagnostic th,.weighting-diagnostic td{text-align:left;vertical-align:top;border-bottom:1px solid #cfdddd;padding:.75rem .6rem}.weighting-diagnostic th{font-weight:600}.weighting-diagnostic caption{text-align:left;margin-bottom:.75rem;font-weight:600}.wd-chart table{margin-top:1rem}.wd-distribution{border-top:1px solid #cbdad6;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;margin-top:3rem;padding-top:2.5rem;display:grid}.wd-distribution h2,.wd-groups h2{font-size:1.7rem;font-weight:600;line-height:1.3}.wd-distribution p,.wd-groups>p{margin:1rem 0}.wd-histogram{background:#fff;border:1px solid #c3d5d1;border-radius:.6rem;padding:1.5rem}.wd-histogram li{grid-template-columns:4rem minmax(0,1fr) 3rem;align-items:center;gap:.7rem;padding:.5rem 0;font-size:.8rem;display:grid}.wd-histogram li>div{background:#eff4f1;height:20px}.wd-histogram i{background:#477b76;height:100%;display:block}.wd-histogram b{text-align:right;font-weight:500}.wd-mean-rule{border-top:2px dashed #5c7876}.wd-details{margin-top:1.5rem}.wd-groups{margin-top:2.5rem}.wd-table{max-width:100%;margin-top:1rem;overflow-x:auto}.wd-table:focus-visible{outline-offset:3px;outline:3px solid #355a96}.wd-groups table{min-width:780px}.wd-groups th[scope=row]{overflow-wrap:anywhere;min-width:100px;max-width:220px}.wd-explanation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;display:grid}.wd-explanation-grid h3{margin-bottom:.75rem;font-size:1.2rem;font-weight:600}.wd-explanation-grid p{line-height:1.8}@media (width<=1099px){.weighting-diagnostic .calc-layout{gap:1.4rem}.weighting-diagnostic .calc-fields{grid-template-columns:minmax(0,1fr);gap:0}}@media (width<=899px){.wd-hero-layout,.weighting-diagnostic .calc-layout,.wd-distribution,.wd-explanation-grid{grid-template-columns:minmax(0,1fr);gap:1.5rem}}@media (width<=479px){.wd-chart,.wd-histogram,.wd-hero-example{padding:1rem}.weighting-diagnostic th,.weighting-diagnostic td{padding:.65rem .3rem;font-size:.78rem}}
