:root{font:18px/1.6 system-ui,sans-serif;color:#0b1c2c;background:#f4f6f7}body{margin:0}header,footer{background:#0b1c2c;color:white;padding:1.5rem max(1.5rem,calc((100vw - 960px)/2))}header img{width:260px;max-width:90%;background:white;padding:.6rem}header p{margin-bottom:0}main{max-width:960px;margin:2rem auto;padding:0 1.5rem}h1{line-height:1.2;font-size:2.1rem}h2{font-size:1.3rem}section{background:white;border-left:5px solid #6db33f;padding:1.2rem 1.5rem;margin:1.5rem 0;border-radius:4px}button{background:#0b1c2c;color:white;border:0;border-bottom:4px solid #e88a3c;border-radius:4px;font:inherit;padding:.6rem 1rem;cursor:pointer}button:disabled{opacity:.6;cursor:wait}label{display:block;margin:.7rem 0}input{display:block;box-sizing:border-box;font:inherit;padding:.4rem;width:min(100%,400px);border:1px solid #667580;border-radius:3px}output{display:block;margin:1rem 0 0;padding:.6rem;background:#edf1f3;border-radius:3px;white-space:pre-wrap;overflow-wrap:anywhere}.pass{background:#e8f5dd;color:#214900}.error{background:#fff1df;color:#714000}a{color:#145886}footer{font-size:.85rem}
#firmware-matrix{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem;margin:1rem 0}#firmware-matrix article{border:1px solid #ccd5dc;border-radius:4px;padding:1rem;overflow-wrap:anywhere}#firmware-matrix h3{margin:0;font-size:1.05rem}#firmware-matrix p{font-size:.85rem}#firmware-log{max-height:20rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#0b1c2c;color:#f4f6f7;padding:1rem;font-size:.8rem}#serial-stop{margin-left:.5rem}
.firmware-progress{display:block;width:100%;height:1.5rem;margin-top:1rem}.firmware-progress[hidden],#firmware-matrix output[hidden]{display:none}
.pqc-hero{margin:0 0 1.5rem}.pqc-hero img{display:block;width:100%;height:auto;border-radius:6px;background:#0b1c2c}.pqc-hero figcaption{margin-top:.5rem;font-size:.85rem;color:#425260}
.certificate-note{background:#fff1df;border-left:5px solid #e88a3c;border-radius:4px;padding:1.2rem 1.5rem;margin:1.5rem 0}.certificate-note h2{margin-top:0}
