body { box-sizing: border-box; padding: 0px; margin: 0px; background-color: #fff; margin-left: auto; margin-right: auto; font-family: sans-serif; text-align: justify; max-width: 600px; height: auto; } button { background: white; border-color: rgb(191, 191, 191); border-style: solid; height: 25px; border-radius: 2px; padding-left: 10px; padding-right: 10px; } button:active { border-color: rgb(237, 237, 237); } input[type="checkbox"] { margin-left: 30px; position: relative; align-self: flex-start; } input[type="number"] { margin-left: 30px; max-width: 40px; text-align: right; position: relative; top: -2px; } h3 { padding-left: 14px; margin-bottom: 10px; margin-top: 10px; } details { margin-left: 12px; margin-right: 12px; border-top: gray 1px dashed; } details:last-of-type { border-bottom: gray 1px dashed; } details>summary { margin-bottom: 10px; margin-top: 10px; min-width: 340px; cursor: pointer; } details>summary:focus { outline-width: 0px; } a { display: inline-block; padding-top: 5px; } .option.second-level { margin-left: 10px; } .option { display: flex; justify-content: space-between; margin-top: 5px; padding-left: 12px; } .option:last-of-type { padding-bottom: 12px; } .option:first-of-type { padding-top: 6px; } .option.bottom { padding-top: 24px; padding-right: 12px; }