.installer-shell .auth-card { width: min(720px, 100%); padding: clamp(24px, 5vw, 48px); box-shadow: 0 24px 80px #1820330d; overflow: hidden; }
.installer-shell .install-intro { padding: 0 0 14px; }
.installer-shell .install-intro h1 { font-size: clamp(1.8rem, 5vw, 2.35rem); margin: 8px 0 12px; letter-spacing: -.04em; }
.installer-shell .install-lead { color: var(--muted); line-height: 1.8; margin: 0; }
.installer-shell .eyebrow { color: var(--brand); font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.installer-shell .install-steps { display: flex; gap: 8px; list-style: none; padding: 18px 0 22px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.installer-shell .install-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.installer-shell .install-steps li>span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-weight: 750; }
.installer-shell .install-steps .current { color: var(--brand); font-weight: 750; }
.installer-shell .install-steps .current>span { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 4px 12px #5368ed33; }
.installer-shell .install-steps .done>span { background: #10b98116; color: #059669; border-color: #10b98133; }
.installer-shell .install-section-heading { display: flex; align-items: center; gap: 12px; margin: 24px 0 20px; }
.installer-shell .install-section-heading h2 { font-size: 1.2rem; margin: 0 0 5px; }
.installer-shell .install-section-heading p { font-size: 13px; margin: 0; color: var(--muted); }
.installer-shell .install-chip { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 13px; background: #5368ed13; color: var(--brand); font-size: 14px; font-weight: 800; }
.installer-shell .install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.installer-shell .install-grid label { min-width: 0; }
.installer-shell .auth-card label { font-size: 14px; font-weight: 650; }
.installer-shell .auth-card input { font: inherit; font-weight: 400; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 12px 14px; }
.installer-shell input:focus-visible, .installer-shell button:focus-visible, .installer-shell a:focus-visible, .installer-shell summary:focus-visible { outline: 3px solid #7c8aff80; outline-offset: 3px; }
.installer-shell small { display: block; font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: -5px; font-weight: 400; }
.installer-shell .install-presets { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 5px; }
.installer-shell .install-presets button { width: auto; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--brand); font-size: 12px; font-weight: 700; }
.installer-shell .install-presets>span { font-size: 11px; color: var(--muted); }
.installer-shell .install-checks, .installer-shell .install-advanced { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.installer-shell summary { cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.8; }
.installer-shell .install-checks summary>span { float: right; color: var(--brand); font-weight: 800; }
.installer-shell .install-checks ul { list-style: none; padding: 8px 0 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; }
.installer-shell .install-checks li { display: flex; align-items: center; gap: 8px; }
.installer-shell .install-checks .passed>span { color: #059669; }
.installer-shell .install-checks .failed { color: #e46060; }
.installer-shell .auth-card label.install-checkbox { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.installer-shell .install-checkbox>input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 18px; padding: 0; accent-color: var(--brand); margin: 2px 0 0; }
.installer-shell .install-checkbox small { margin: 5px 0 0; }
.installer-shell .install-safe-note { padding: 13px 16px; border-radius: 12px; background: #5368ed0c; color: var(--muted); font-size: 12px; line-height: 1.8; margin: 20px 0; }
.installer-shell .install-primary { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 13px 18px; border-radius: 12px; background: linear-gradient(120deg, #5368ed, #7964ed); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px #5368ed26; }
.installer-shell button:disabled { cursor: wait; opacity: .65; }
.installer-shell .install-back { margin-top: 14px; }
.installer-shell .install-back button { background: transparent; color: var(--muted); font-size: 13px; }
.installer-shell .install-summary { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 8px 16px; }
.installer-shell .install-summary>div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 13px; padding: 9px 0; }
.installer-shell .install-summary dt { color: var(--muted); }
.installer-shell .install-summary dd { margin: 0; overflow-wrap: anywhere; }
.installer-shell .install-complete { text-align: center; padding: 16px 0 10px; }
.installer-shell .install-complete h2 { font-size: 1.4rem; }
.installer-shell .install-complete p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.installer-shell .install-seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: auto; background: #10b98116; color: #059669; font-size: 30px; }
.installer-shell .notice, .installer-shell code { overflow-wrap: anywhere; }
@media(max-width: 520px) {
    .installer-shell .public-main { padding: 20px 12px; }
    .installer-shell .install-grid { grid-template-columns: 1fr; gap: 0; }
    .installer-shell .install-steps li { flex-direction: column; align-items: flex-start; font-size: 11px; }
    .installer-shell .install-checks ul { grid-template-columns: 1fr; }
    .installer-shell .auth-card input { font-size: 16px; }
}
