* { box-sizing: border-box; margin: 0; border-radius: 0; }
html { font: 16px/1.25 Helvetica, Arial, sans-serif; color: #000; background: #fff; }
main { max-width: 26rem; margin: 0 auto; padding: 3rem 1rem; }
form { display: grid; gap: 1rem; }
input, button, select, textarea { font: inherit; color: #000; background: #fff; border: 1px solid #000; padding: .6rem .7rem; width: 100%; appearance: none; outline: 0; }
input:focus, button:focus-visible, select:focus, textarea:focus { outline: 1px solid #000; outline-offset: 2px; }
button { cursor: pointer; text-align: left; }
button:active, button.armed { background: #000; color: #fff; }
button:disabled { cursor: default; }
textarea { height: 9rem; resize: none; word-break: break-all; font-size: .75rem; }
.row { display: flex; align-items: center; gap: 1rem; min-height: 3.25rem; border-bottom: 1px solid #000; }
.row:first-child { border-top: 1px solid #000; }
.row > :first-child { flex: 1; }
.row button, .row select { width: auto; }
.group { margin-top: 2.5rem; }
.switch { position: relative; flex: none; width: 3rem; height: 1.5rem; padding: 0; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: -1px; left: -1px; width: 1.5rem; height: 1.5rem; background: #000; }
.switch:checked::after { left: auto; right: -1px; }
.switch:disabled { cursor: default; }
.switch:disabled::after { left: calc(50% - .75rem); background: #fff; border: 1px solid #000; }
::placeholder { color: #000; opacity: 1; }
.note { font-size: .75rem; padding: .5rem 0 0; }
