/* Grade + term picker for the 2027 more-info page (page 574). Scoped to .n9pick. */
.n9pick[hidden]{display:none}
.n9pick{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:16px;background:rgba(8,14,30,.55)}
.n9pick-panel{width:min(680px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:#0b1220;border-radius:18px;box-shadow:0 24px 60px rgba(8,14,30,.35);padding:22px 22px 18px}
.n9pick-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.n9pick-head h2{margin:0;font-size:1.35rem;line-height:1.25}
.n9pick-close{border:0;background:#eef2f8;color:#0b1220;width:34px;height:34px;border-radius:50%;font-size:1.25rem;line-height:1;cursor:pointer}
.n9pick-close:hover{background:#e2e8f2}
.n9pick fieldset{border:0;margin:14px 0 0;padding:0}
.n9pick legend{padding:0;font-weight:700;font-size:.95rem;margin-bottom:8px}
.n9pick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.n9pick-grid.two{grid-template-columns:repeat(2,1fr)}
.n9pick-grid.four{grid-template-columns:repeat(4,1fr)}
.n9pick-opt{position:relative;display:block}
.n9pick-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.n9pick-opt span{display:block;padding:11px 10px;border:2px solid #d7dfec;border-radius:12px;text-align:center;font-weight:700;cursor:pointer;transition:border-color .12s,background .12s}
.n9pick-opt input:checked+span{border-color:#1f56d6;background:#eef3ff}
.n9pick-opt input:focus-visible+span{outline:3px solid #ffd75e;outline-offset:2px}
.n9pick-opt input:disabled+span{opacity:.4;cursor:not-allowed}
.n9pick-term span{font-weight:600;font-size:.92rem}
.n9pick-term small{display:block;font-weight:400;color:#5a6478;margin-top:2px}
.n9pick-total{display:flex;align-items:baseline;justify-content:space-between;margin:18px 0 10px;padding-top:14px;border-top:1px solid #e6ebf3}
.n9pick-total b{font-size:1.5rem}
.n9pick-note{font-size:.88rem;color:#4b5567;margin:10px 0 0}
.n9pick-actions{display:flex;gap:10px;align-items:center;margin-top:14px}
.n9pick-go{border:0;border-radius:999px;background:#1f56d6;color:#fff;font-weight:800;padding:13px 22px;font-size:1rem;cursor:pointer}
.n9pick-go:disabled{background:#9aa8c2;cursor:not-allowed}
.n9pick-status{font-size:.9rem;color:#a4342c}
@media (max-width:520px){.n9pick-grid{grid-template-columns:repeat(2,1fr)}.n9pick-grid.four{grid-template-columns:repeat(2,1fr)}.n9pick-panel{padding:18px 16px 14px}}
.n9pick-child{border:1px solid #e2e8f2;border-radius:14px;padding:10px 12px 12px;margin:10px 0}
.n9pick-child-head{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:.95rem;padding:0}
.n9pick-remove{border:0;background:#eef2f8;color:#0b1220;width:28px;height:28px;border-radius:50%;font-size:1rem;line-height:1;cursor:pointer}
.n9pick-remove:hover{background:#e2e8f2}
.n9pick-label{margin:12px 0 6px;font-weight:700;font-size:.88rem;color:#33415a}
.n9pick-addrow{margin:8px 0 0}
.n9pick-add{border:2px dashed #b9c7de;background:#f7f9fd;color:#1f3a6e;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer;width:100%}
.n9pick-add:hover{border-color:#1f56d6;background:#eef3ff}
.n9pick-go.is-off{background:#9aa8c2}
