.stat-curve-controls{border:1px solid #677b4a;border-radius:10px;padding:17px;margin:20px 0;background:#182019}
.curve-controls-heading{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap}.curve-controls-heading h3{margin:0;font-size:17px}.curve-controls-heading button{font-size:12px}
.curve-enable{display:flex;gap:9px;align-items:center;font-size:13px;color:#e4ecc9;margin:15px 0}.curve-enable input,.curve-stat-choice input{accent-color:#bdd777;width:auto;flex:none}
.curve-controls-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.curve-controls-toolbar label{font-size:12px;margin:0}.curve-controls-toolbar select{margin:5px 0 0}.curve-controls-toolbar button{font-size:11px;margin-bottom:1px}
.stat-curve-controls .hint{font-size:11px;line-height:1.7}.curve-bound-details{margin-top:12px}.curve-bound-details>summary,.curve-exact-values>summary{cursor:pointer;color:#c4dca0;font-size:12px}
.curve-bound-scroll{max-height:430px;overflow:auto;margin-top:12px}.curve-bounds-table{width:100%;min-width:630px;border-collapse:collapse;font-size:12px}.curve-bounds-table th{text-align:left;font-size:10px;color:var(--muted);position:sticky;top:0;background:#182019;padding:9px 7px;z-index:1}.curve-bounds-table td{padding:8px 7px;border-top:1px solid var(--line)}.curve-bounds-table td:first-child{min-width:200px}.curve-bounds-table td:nth-child(2),.curve-bounds-table td:nth-child(3){width:105px}.curve-bounds-table input[type=number]{width:100%;min-width:80px;padding:7px;font-size:12px}.curve-bounds-table small{font-size:10px;line-height:1.6;color:var(--muted)}.curve-stat-choice{display:flex;gap:7px;align-items:center;margin:0;font-size:12px}.curve-stat-choice small{white-space:nowrap;margin-left:auto}.curve-stat-unselected td:not(:first-child){opacity:.55}.curve-stale-bound{color:#d4b27c!important}.curve-scan-limit{border-left:2px solid #8e804d;padding-left:11px}.curve-disabled .curve-bound-details,.curve-disabled .curve-controls-toolbar{opacity:.65}
.stat-range-curve{padding:16px 0 10px;max-width:100%;font-size:12px}.stat-range-curve h4{font-size:15px;color:#e7e3c3;margin:0 0 10px}.stat-curve-svg{width:100%;height:auto;display:block;background:#121a15;border:1px solid var(--line);border-radius:8px}.stat-curve-svg text{font:11px Arial,sans-serif;fill:#a9b59c}.curve-grid{stroke:#2e3a2e;stroke-width:1}.curve-line{fill:none;stroke:#c4df80;stroke-width:2.2}.curve-band{fill:#a4cd7130;stroke:none}.curve-dot{fill:#d8eea2;stroke:#1e3220;stroke-width:1.5}.curve-current{stroke:#e2ba76;stroke-width:1.3;stroke-dasharray:5 4}.curve-base{stroke:#88b8c4;stroke-width:1;stroke-dasharray:6 5}.curve-legend{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:10px}.curve-legend span:first-child{color:#d8eea2}.curve-point-scroll{overflow:auto;margin-top:10px}.curve-exact-values table{width:100%;min-width:650px;font-size:11px}.curve-exact-values th,.curve-exact-values td{padding:8px!important}.curve-exact-values td:first-child{min-width:100px}.curve-exact-values td:last-child{min-width:210px}.stat-range-curve>.hint{line-height:1.7;font-size:10px}
@media(max-width:600px){.stat-curve-controls{padding:12px}.curve-controls-heading{display:block}.curve-controls-heading button{margin-top:12px;width:100%}.curve-controls-toolbar{gap:9px}.curve-controls-toolbar label{width:100%}.stat-range-curve{padding-top:12px}.curve-bound-scroll{max-height:350px}}
