:root {
  color-scheme: dark;
  font: 16px/1.5 system-ui, sans-serif;
  color: #edf2f7;
  background: #101619;
  --panel: #182126;
  --line: #405158;
  --accent: #b6e5cb;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem max(1.25rem, calc((100% - 68rem) / 2)); border-bottom: 1px solid var(--line); }
header a { color: var(--accent); text-decoration: none; font-size: 1.3rem; font-weight: 720; }
main { width: min(68rem, calc(100% - 2.5rem)); margin: 2rem auto; }
h1, h2 { line-height: 1.2; margin-top: 0; }
h2 { font-size: 1.2rem; }
p, ol, li { color: #cfdae0; overflow-wrap: anywhere; }
.login { margin: 4rem auto 1rem; max-width: 24rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1rem; }
.platform { margin-bottom: 1rem; max-width: 20rem; }
form { display: grid; gap: .75rem; margin-top: 1rem; justify-items: start; }
label { display: grid; gap: .25rem; width: 100%; }
fieldset { width: 100%; max-height: 20rem; overflow: auto; border: 1px solid var(--line); border-radius: .45rem; }
fieldset label { display: flex; align-items: center; gap: .5rem; }
button, input, select { font: inherit; border-radius: .4rem; border: 1px solid var(--line); padding: .5rem .65rem; }
input, select { min-width: 0; color: inherit; background: #101619; }
button { color: #12251a; background: var(--accent); font-weight: 650; cursor: pointer; }
button.secondary, header button { background: var(--panel); color: var(--accent); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.rigs { padding-left: 1.2rem; }
#coinTargets, #poolTargets { display: grid; width: 100%; gap: .55rem; }
#message { margin: 1rem auto; }
#message[data-error="true"] { color: #ffbaaa; }
