.pat-stage{display:flex;flex-direction:column;align-items:center;gap:18px}
.pat-seq-box{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:18px;background:#f4f6f9;border:1px solid #dbe3ee;border-radius:12px;width:100%;max-width:560px}
.pat-cell{min-width:68px;min-height:68px;padding:8px 12px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dbe3ee;border-radius:10px;font-size:22px;font-weight:700;color:#0f172a}
.pat-cell.is-q{background:#eff6ff;border:2px dashed #1e3a8a;color:#1e3a8a}
.pat-opts{display:grid;grid-template-columns:repeat(4,minmax(100px,130px));gap:12px}
.pat-opt{min-height:64px;border-radius:10px;border:2px solid #dbe3ee;background:#fff;font-size:20px;font-weight:700;color:#0f172a;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pat-opt:hover{border-color:#1e3a8a;background:#eff6ff}
.pat-opt.is-ok{border-color:#0f766e;background:#e6f6f4;color:#0f766e}
.pat-opt.is-bad{border-color:#b91c1c;background:#fee2e2;color:#991b1b}
.pat-fb{min-height:24px;font-size:14px;font-weight:600;color:#475569}
@media(max-width:640px){.pat-opts{grid-template-columns:repeat(2,1fr);width:100%}}