:root{color:#172033;background:#edf1f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:radial-gradient(circle at 15% 10%,rgb(59 130 246 / 12%),transparent 32rem),radial-gradient(circle at 85% 90%,rgb(15 118 110 / 10%),transparent 30rem),#edf1f7}button,select{font:inherit}.page-shell{display:grid;min-height:100vh;padding:3rem 1.25rem;place-items:center}.installer{width:min(100%,680px);padding:clamp(1.5rem,5vw,3rem);overflow:hidden;background:#fffffff0;border:1px solid rgb(148 163 184 / 30%);border-radius:24px;box-shadow:0 24px 70px #0f172a24}.hero{display:flex;gap:1.15rem;align-items:center;margin-bottom:2.25rem}.brand-mark{display:grid;flex:0 0 58px;width:58px;height:58px;color:#fff;font-size:1.05rem;font-weight:800;letter-spacing:-.04em;background:linear-gradient(145deg,#2563eb,#0f766e);border-radius:16px;box-shadow:0 9px 24px #2563eb40;place-items:center}.eyebrow{margin:0 0 .2rem;color:#2563eb;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1{margin:0;color:#0f172a;font-size:clamp(1.8rem,5vw,2.5rem);letter-spacing:-.04em;line-height:1.05}.intro{max-width:32rem;margin:.65rem 0 0;color:#64748b;line-height:1.55}.steps{display:grid;gap:0;padding:0;margin:0;list-style:none}.step{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:1rem;padding-bottom:1.75rem}.step:not(:last-child):before{position:absolute;top:38px;bottom:0;left:18px;width:2px;content:"";background:#dbe4f0}.step-number{z-index:1;display:grid;width:38px;height:38px;color:#1d4ed8;font-weight:800;background:#eff6ff;border:1px solid #bfdbfe;border-radius:50%;place-items:center}.step-content{min-width:0;padding-top:.35rem}label,.step-title{display:block;margin:0 0 .65rem;color:#1e293b;font-weight:700}select{width:100%;padding:.8rem 2.5rem .8rem .9rem;color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none}select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.hint{margin:.55rem 0 0;color:#64748b;font-size:.88rem;line-height:1.5}.primary-button{width:100%;padding:.9rem 1.15rem;color:#fff;font-weight:750;cursor:pointer;background:linear-gradient(120deg,#2563eb,#1d4ed8);border:0;border-radius:11px;box-shadow:0 8px 18px #2563eb38;transition:transform .12s ease,box-shadow .12s ease}.primary-button:hover:not(:disabled){box-shadow:0 11px 22px #2563eb4d;transform:translateY(-1px)}.button-link{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}.secondary-button{padding:.85rem 1.1rem;color:#334155;font-weight:700;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:11px}.secondary-button:hover{background:#f8fafc}.primary-button:disabled,select:disabled{cursor:not-allowed;opacity:.55}.progress-panel,.notice{padding:1rem;margin-top:.5rem;border-radius:12px}.progress-panel{background:#f8fafc;border:1px solid #e2e8f0}.progress-heading{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.7rem}progress{width:100%;height:10px;overflow:hidden;accent-color:#2563eb;border:0;border-radius:999px}.notice{color:#334155;line-height:1.5;border:1px solid}.notice-warning{margin:0 0 1.5rem;color:#92400e;background:#fffbeb;border-color:#fde68a}.notice-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.notice-error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.technical-details{margin-top:1.25rem;color:#64748b;font-size:.85rem}.technical-details summary{cursor:pointer;-webkit-user-select:none;user-select:none}#terminal{max-height:220px;padding:.9rem;overflow:auto;color:#cbd5e1;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;border-radius:9px}footer{padding-top:1.25rem;margin-top:1.5rem;color:#64748b;font-size:.78rem;line-height:1.45;border-top:1px solid #e2e8f0}footer p{margin:.25rem 0}.modal-overlay{position:fixed;z-index:1000;inset:0;display:grid;padding:1.25rem;overflow-y:auto;background:#0f172ab8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);place-items:center}.modal-card{width:min(100%,500px);padding:clamp(1.5rem,5vw,2.25rem);text-align:center;background:#fff;border:1px solid rgb(148 163 184 / 35%);border-radius:20px;box-shadow:0 28px 80px #0f172a59}.modal-icon{display:grid;width:58px;height:58px;margin:0 auto 1rem;color:#fff;font-weight:800;background:linear-gradient(145deg,#2563eb,#0f766e);border-radius:16px;place-items:center}.modal-card h2{margin:0;color:#0f172a;font-size:1.55rem}.modal-card p{margin:1rem 0 1.5rem;color:#475569;line-height:1.6}.modal-card .sd-card-fat32-required{margin:1.25rem 0;padding:.85rem 1rem;color:#7c2d12;font-weight:800;background:#ffedd5;border:2px solid #f97316;border-radius:12px}.sd-card-instructions{text-align:left}.sd-card-workflow{padding-left:1.5rem}.sd-card-workflow>li{margin:1.25rem 0}.sd-card-workflow>li::marker{color:#2563eb;font-weight:800}.sd-card-method{margin:.75rem 0;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.sd-card-method summary{color:#0f172a;cursor:pointer;font-size:1rem;font-weight:700}.sd-card-method summary:hover{color:#2563eb}.sd-card-method[open] summary{margin-bottom:.75rem}.sd-card-instructions h3{margin:0 0 .5rem;color:#0f172a;font-size:1.1rem}.sd-card-instructions ol{margin:0 0 1rem;padding-left:1.5rem;color:#475569;line-height:1.6}.sd-card-instructions p{margin:.5rem 0 1rem}.sd-card-links a{display:block;margin:.35rem 0}.modal-actions{display:grid;gap:.75rem}body.overlay-open{overflow:hidden}[hidden]{display:none!important}@media(max-width:520px){.page-shell{padding:0}.installer{min-height:100vh;border:0;border-radius:0}.hero{align-items:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
