:root {
    color: #251b1d;
    background: #f6f3f2;
    font: 16px/1.55 "Segoe UI", "Microsoft YaHei", sans-serif;
    accent-color: #bd192d;
}
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(16px, 5vw, 64px); }
.installer { max-width: 760px; margin: auto; background: #fff; border: 1px solid #eadfdf; border-radius: 20px; overflow: hidden; }
.installer-header { padding: 32px clamp(22px, 5vw, 44px); background: linear-gradient(110deg, #a81329, #cb2235); color: #fff; }
.brand { color: #ffe6df; font-size: 14px; font-weight: 700; }
h1 { margin: 10px 0 4px; font-size: clamp(28px, 5vw, 40px); }
p { margin: 0; }
.checks, form, .done { margin: 26px clamp(20px, 5vw, 44px); }
.checks h2, legend { font-size: 18px; font-weight: 750; }
.checks ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); margin: 12px 0; padding: 0; gap: 8px 12px; list-style: none; }
.checks li { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.checks strong { border-radius: 5px; padding: 2px 6px; }
.pass { background: #eaf6ed; color: #21613b; }
.fail, .message { background: #fff0ee; color: #922034; }
.message { padding: 12px; border-radius: 8px; overflow-wrap: anywhere; }
.error { margin: 20px clamp(20px, 5vw, 44px) 0; }
fieldset { margin: 0 0 20px; padding: 15px; border: 1px solid #e8dada; border-radius: 12px; min-width: 0; }
fieldset p { margin-bottom: 10px; color: #6e595c; font-size: 14px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
label { display: grid; gap: 5px; font-size: 14px; font-weight: 650; }
.wide { grid-column: 1 / -1; }
input { width: 100%; padding: 9px 11px; border: 1px solid #cbb9bc; border-radius: 8px; font: inherit; font-weight: normal; color: inherit; }
input:focus { outline: 2px solid #bd192d; outline-offset: 1px; }
.actions { display: flex; align-items: center; gap: 18px; }
.button { display: inline-block; padding: 10px 18px; background: #bd192d; color: #fff; font: inherit; font-weight: 750; text-decoration: none; border-radius: 8px; border: 0; cursor: pointer; }
.button:hover { background: #9b1324; }
.done a:not(.button) { color: #a81329; }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } }
