.parameter-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.parameter-title h2{margin:0 0 6px}.parameter-note{color:#a9c0cc;line-height:1.8}.parameter-tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid #2b4653;padding-bottom:12px}.parameter-tabs button{white-space:nowrap}.parameter-tabs .active{background:#144c48;border-color:#5adde0;color:#a6fff0}.parameter-group{border-bottom:1px solid #28424f;padding:16px 0 24px}.parameter-group h3{font-size:15px;color:#ccdfeb;margin:0 0 16px}.parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px}.parameter-field{display:flex;flex-direction:column;gap:6px;min-width:0}.parameter-field>span{line-height:1.5}.parameter-field>small:not(.field-hint){height:16px}.parameter-field input{box-sizing:border-box;width:100%;font-size:17px;font-variant-numeric:tabular-nums}.parameter-field input.changed{border-color:#efbc68;background:#2d2b25}.field-hint{line-height:1.5;font-size:12px}.parameter-footer{position:sticky;bottom:0;background:#10202df5;border-top:1px solid #335262;margin:12px -16px -16px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:0 0 10px 10px}.parameter-footer button:disabled{opacity:.45;cursor:default}.parameter-footer .primary{background:#18625a;border-color:#55beaa;color:#e6fff7;font-weight:600}#parameterMessage{margin-top:6px;color:#f4cf91;font-size:13px;max-width:650px}#rangePreview{border:1px solid #36576a;border-radius:8px;padding:16px;margin:20px 0;background:#0a1924}#rangePreview h3{margin-top:0}.range-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #1f3c4a}.range-line strong{color:#6fe4ce}#rangePreview>small{display:block;line-height:1.7;margin-top:12px}#parameterHistory details{padding:14px;border:1px solid #2d4b59;border-radius:8px;margin:12px 0}#parameterHistory summary{cursor:pointer;color:#c1ddd7}#parameterHistory details>div{padding-top:9px}.parameter-error{color:#ffa6a6}@media(max-width:950px){.parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.parameter-grid{grid-template-columns:1fr}.parameter-footer,.parameter-title{align-items:stretch;flex-direction:column}.parameter-footer .actions{flex-wrap:nowrap}.parameter-footer button{flex:1}.range-line{flex-direction:column;gap:5px}main{padding:14px}}

.parameter-field input[type="checkbox"][role="switch"]{appearance:none;position:relative;width:48px;height:28px;padding:0;border:1px solid #66818e;border-radius:16px;background:#263a46;cursor:pointer;flex:none}.parameter-field input[type="checkbox"][role="switch"]::before{content:"";position:absolute;width:20px;height:20px;top:3px;left:3px;border-radius:50%;background:#dce9ef;transition:transform .15s}.parameter-field input[type="checkbox"][role="switch"]:checked{background:#18625a;border-color:#55beaa}.parameter-field input[type="checkbox"][role="switch"]:checked::before{transform:translateX(20px);background:#b7fff0}.parameter-field input[type="checkbox"][role="switch"].changed{outline:2px solid #efbc68;outline-offset:2px}.parameter-field input[type="checkbox"][role="switch"]:focus-visible{outline:2px solid #84d9ff;outline-offset:3px}.parameter-field .switch-state{height:auto!important;color:#9fdacb}
