#statWeightsPanel{grid-column:2;min-width:0;scroll-margin-top:24px;border-top:3px solid #c3a66d}
.weights-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}.weights-heading h2{margin:0 auto 0 0}.weights-heading label{font-size:12px;margin:0}.weights-heading select{margin:5px 0 0}.weights-heading button{margin:0}
.weights-build{color:#dfd9bf;font-size:14px}.weights-baseline{display:flex;flex-wrap:wrap;gap:12px 28px;border-block:1px solid var(--line);padding:14px 0;margin:16px 0}.weights-baseline span{font-size:12px;color:var(--muted)}.weights-baseline strong{display:block;font-size:21px;color:#e7e6d2;margin-top:6px}
.weights-table-scroll{overflow:auto;max-width:100%;margin:18px 0}.weights-table{width:100%;font-size:13px;border-collapse:collapse;min-width:700px}.weights-table th{font-size:11px;color:#c9c39f;text-align:left;padding:12px 10px;white-space:nowrap;border-bottom:1px solid #8f8057}.weights-table td{padding:13px 10px;border-bottom:1px solid var(--line)}.weights-table td:not(:first-child){font-variant-numeric:tabular-nums}.weights-table small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.weight-uncertain td{color:#c5ad7e}.weights-notes{margin-top:20px}.weights-notes summary{cursor:pointer;font-size:13px;color:#c9d69f}.weights-notes p{line-height:1.7}
@media(max-width:900px){#statWeightsPanel{grid-column:1}.weights-baseline strong{font-size:19px}}

.sim-report-column{min-width:0;display:flex;flex-direction:column;gap:24px}.sim-report-column>#simResults{min-width:0;margin-top:0}
.weights-transfer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:16px 0}.weights-transfer button{margin:0}.weights-transfer p{flex:1;min-width:210px;margin:0;line-height:1.6}
.weights-import-notice{border:1px solid #718858;border-left:3px solid #b3cf80;border-radius:8px;padding:16px;margin:14px 0 20px;background:#26322455}.weights-import-notice p{font-size:12px;line-height:1.65}.weights-import-stale{border-color:#bb9a5d;background:#44351f44}.weights-import-notice[hidden]{display:none}
#goalRows .extra-metric.sim-weighted{display:table-row}#goalRows .sim-weighted td:first-child{box-shadow:inset 2px 0 #9db86e}
.weights-table td:first-child{min-width:220px}.weight-scan{margin-top:9px;font-size:11px;max-width:520px}.weight-scan summary{cursor:pointer;color:#c4dca0}.weight-scan p{line-height:1.6;color:var(--muted);font-weight:normal}.weight-scan-scroll{max-width:520px;overflow:auto}.weight-scan table{min-width:480px;font-size:11px;background:#131c17}.weight-scan th,.weight-scan td{padding:8px!important;white-space:normal}.weight-scan td:first-child{min-width:75px}.weight-scan td:last-child{min-width:180px}.weight-regime{color:#e0b97b!important}.sim-stop{border-color:#bc865e;color:#f5d2b4}.sim-stop[hidden]{display:none}
.weights-table .weight-scan-row>td{padding:0 10px 12px;min-width:0}.weight-scan-row .weight-scan{margin:0;max-width:none}.weight-scan-row .weight-scan-scroll{max-width:none}.weight-scan-row .weight-scan table{width:100%;min-width:620px}

/* Complete-build comparison after local stat weights. */
.optimizer-dps-option{padding:14px;border:1px solid var(--line,#384334);border-radius:10px;margin:14px 0}
.optimizer-dps-option label{display:flex;align-items:center;gap:10px;font-weight:650}
.optimizer-dps-comparison .grid>div{display:flex;flex-direction:column;gap:8px;padding:12px 0}
.optimizer-dps-comparison .grid strong{font-size:1.35rem}
.optimizer-dps-comparison table{width:100%;border-collapse:collapse;font-size:.82rem}
.optimizer-dps-comparison td,.optimizer-dps-comparison th{padding:10px 7px;text-align:left;border-bottom:1px solid var(--line,#384334)}
.sim-candidate-selected{background:#d6f59514}
.optimizer-dps-comparison details{margin-top:14px}
