/* v0.7 — restrained grade selection with three equally legible paths */
.grade-chip{border:1px solid #ffffff79;background:#ffffff22;color:#fff;border-radius:100px;padding:6px 12px;font-size:12px;font-weight:900;white-space:nowrap;letter-spacing:.01em;box-shadow:inset 0 1px 0 #ffffff26;transition:background .18s}
.grade-chip:hover{background:#ffffff38}.grade-open{overflow:hidden!important}.grade-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow-y:auto;background:#082c44a8;backdrop-filter:blur(12px);padding:20px 12px}
.grade-dialog{width:min(100%,520px);padding:25px 27px 20px;background:radial-gradient(circle at 100% -10%,#e2f7ff,#fff 58%);border:1px solid #fff;border-radius:25px;box-shadow:0 26px 85px #062d4860;text-align:center;max-height:calc(100dvh - 32px);overflow-y:auto}
.grade-bubble{width:59px;height:59px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#0785bc,#17b3cb);margin:0 auto 12px;box-shadow:0 10px 25px #128bb12b;transform:rotate(-7deg)}.grade-bubble svg{width:45px;height:45px;transform:rotate(7deg)}
.grade-kicker{display:block;font-size:10px;letter-spacing:.16em;color:#1184a9;font-weight:950}.grade-dialog h2{font-size:clamp(24px,4vw,32px);letter-spacing:-.05em;line-height:1.12;margin:6px 0 8px;color:#17445d}.grade-dialog p{font-size:12px;line-height:1.55;color:#647e8e;margin:0 auto 16px;max-width:405px}
.grade-options{display:grid;gap:10px}.grade-choice{display:flex;align-items:center;gap:15px;text-align:left;width:100%;padding:10px 15px;background:linear-gradient(115deg,#f7fcff,#fff);border:1px solid #d7e8f1;border-radius:16px;box-shadow:0 2px 8px #1539520c;transition:transform .15s,border-color .15s,box-shadow .15s}.grade-choice:hover,.grade-choice.is-selected{transform:translateY(-1px);border-color:#15a1bc;box-shadow:0 7px 18px #0c91b020}.grade-choice-number{display:flex;align-items:baseline;justify-content:center;flex:0 0 55px;height:55px;border-radius:14px;background:linear-gradient(155deg,#0879ad,#17acbb);color:white;font-size:32px;font-weight:950;letter-spacing:-.07em;line-height:55px}.grade-choice:nth-child(2) .grade-choice-number{background:linear-gradient(145deg,#11a88f,#23bcb4)}.grade-choice:nth-child(3) .grade-choice-number{background:linear-gradient(145deg,#8860c9,#bc82d3)}.grade-choice-number span{font-size:19px}.grade-choice-copy{display:grid;gap:3px;flex:1}.grade-choice-copy strong{font-size:17px;color:#173f57;font-weight:950;letter-spacing:-.02em}.grade-choice-copy small{font-size:11px;color:#678298}.grade-choice-arrow{color:#209caa;font-size:24px;font-weight:900}.grade-dialog .grade-privacy{font-size:10px;color:#7791a2;margin:13px auto 5px}.grade-cancel{border:0;background:transparent;color:#577f92;font-size:12px;font-weight:800;text-decoration:underline;padding:6px 12px}
@media(max-width:650px){.grade-chip{font-size:10px;padding:5px 8px}.grade-overlay{padding:8px}.grade-dialog{padding:15px 14px 12px;border-radius:19px}.grade-bubble{width:42px;height:42px;border-radius:13px;margin-bottom:8px}.grade-bubble svg{width:31px;height:31px}.grade-dialog h2{font-size:25px;margin:4px 0 6px}.grade-dialog p{font-size:11px;margin-bottom:10px}.grade-options{gap:7px}.grade-choice{padding:7px 10px;gap:10px;border-radius:12px}.grade-choice-number{flex-basis:46px;height:46px;font-size:28px;line-height:46px;border-radius:10px}.grade-choice-copy strong{font-size:15px}.grade-choice-copy small{font-size:10px}.grade-dialog .grade-privacy{margin:9px auto 2px;font-size:9px}}
@media(max-width:360px){.wordmark{font-size:9px}.grade-chip{font-size:9px;padding:4px 6px}.grade-choice-number{flex-basis:40px;height:40px;line-height:40px}}
@media(prefers-reduced-motion:reduce){.grade-choice,.grade-chip{transition:none}}
