/* One shared rounded, raised checkbox, including controls added after page load. */
html body input[type=checkbox]{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:inline-block;vertical-align:middle;flex:0 0 20.8px;width:20.8px;height:20.8px;padding:0;margin:0;border:1px solid #8794A3;border-radius:3px;background-color:#fff;background-image:linear-gradient(180deg,#fff,#DFE6EF);background-position:center;background-size:100% 100%;background-repeat:no-repeat;cursor:pointer;box-shadow:inset 0 1px 0 #ffffffeb,inset 0 -1px 0 #17263c1a,0 2px 3px #17263c26}
html body input[type=checkbox]:checked,html body input[type=checkbox]:indeterminate{background-color:#17263C;border-color:#101E32;background-position:center;background-size:16px 16px,100% 100%;box-shadow:inset 0 1px 0 #ffffff80,inset 0 -1px 0 #06101C99,0 2px 3px #17263c33}
html body input[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22tick%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23E4EAF3%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22m4%2010%204%204%208-8%22%20transform%3D%22translate%280%20.9%29%22%20fill%3D%22none%22%20stroke%3D%22%23020A15%22%20stroke-opacity%3D%22.8%22%20stroke-width%3D%223.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22m4%2010%204%204%208-8%22%20fill%3D%22none%22%20stroke%3D%22url%28%23tick%29%22%20stroke-width%3D%223.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"),linear-gradient(180deg,#385373 0%,#17263C 48%,#0C1728 100%)}
html body input[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22tick%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23E4EAF3%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M5%2010h10%22%20transform%3D%22translate%280%20.9%29%22%20fill%3D%22none%22%20stroke%3D%22%23020A15%22%20stroke-opacity%3D%22.8%22%20stroke-width%3D%223.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M5%2010h10%22%20fill%3D%22none%22%20stroke%3D%22url%28%23tick%29%22%20stroke-width%3D%223.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"),linear-gradient(180deg,#385373 0%,#17263C 48%,#0C1728 100%)}
html body input[type=checkbox]:active:not(:disabled){box-shadow:inset 0 1px 3px #06101C99,0 1px 1px #17263c26}
html body input[type=checkbox]:disabled{opacity:.45;cursor:default}
html body input[type=checkbox]:focus-visible{outline:2px solid #17263C;outline-offset:3px}
html[data-theme=dark] body input[type=checkbox]:not(:checked):not(:indeterminate){background-color:#182b40;background-image:linear-gradient(180deg,#34485E,#182B40);border-color:#8799af;box-shadow:inset 0 1px 0 #ffffff29,inset 0 -1px 0 #0005,0 2px 3px #0005}
html[data-theme=dark] body input[type=checkbox]:checked,html[data-theme=dark] body input[type=checkbox]:indeterminate{border-color:#6D87A6}
html[data-theme=dark] body input[type=checkbox]:focus-visible{outline-color:#9AB7DB}
@media(forced-colors:active){html body input[type=checkbox],html body input[type=checkbox]:checked,html body input[type=checkbox]:indeterminate{appearance:auto;background-image:none;box-shadow:none}}

/* Partial levels keep their checkmark visible, with a softer appearance. */
#levels .tier-select>input.is-partial{opacity:.6}
#levels .tier-select>input.is-partial:focus-visible{opacity:1}
