:root {
  color-scheme: light;
  color: #202b28;
  background: #f5f7f4;
  font: 15px/1.6 Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.installation { width: min(700px, calc(100% - 32px)); padding: 32px 0 52px; margin: auto; }
header { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #226d52; padding-bottom: 20px; }
h1 { font-size: 30px; margin: 0; line-height: 1.35; }
.intro, small { color: #52655d; }
.intro { margin: 8px 0 24px; }
fieldset { min-width: 0; margin: 0 0 20px; padding: 16px 20px 18px; border: 1px solid #d9e2db; border-radius: 6px; background: #fff; }
legend { font-size: 17px; font-weight: 600; padding: 0 6px; }
label { display: grid; gap: 5px; margin-bottom: 12px; min-width: 0; }
input:not([type=checkbox]) { min-width: 0; width: 100%; border: 1px solid #cddbd1; border-radius: 5px; padding: 8px 10px; font: inherit; background: white; }
.check { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; }
input[type=checkbox] { accent-color: #226d52; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.address { grid-template-columns: minmax(0,1fr) 100px; }
button, a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid #226d52; border-radius: 5px; padding: 8px 16px; color: #fff; background: #226d52; font: inherit; text-decoration: none; cursor: pointer; }
button[disabled] { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid #226d52; outline-offset: 3px; }
#error { color: #922e25; background: #fbefee; padding: 10px 14px; border-radius: 5px; }
#done { border-top: 1px solid #d9e2db; }
output { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; user-select: all; padding: 12px 16px; background: #e6eee8; border-radius: 5px; font: 16px/1.6 Consolas, monospace; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.actions button, .actions a:last-child { background: #fff; color: #226d52; }
@media (max-width: 560px) {
  .installation { padding: 22px 0 36px; }
  .grid:not(.address) { display: block; }
  fieldset { padding: 12px 13px 15px; }
}
