/* Clear student navigation icons (no black filled blocks). */
.student-nav-group summary svg,.student-nav-group .nav-link svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.student-nav-group summary{color:#bcd3e8}.student-nav-group summary svg{width:22px;height:22px;padding:3px;border-radius:7px;background:#ffffff0a}.student-nav-group[open] summary svg{color:#65e1d8;background:#0f5363}

/* Weekly honor banner. */
.weekly-star-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:22px 28px;border-radius:25px;color:#fff;background:radial-gradient(circle at 90% 10%,#ffd96a42,transparent 28%),linear-gradient(135deg,#071d3b,#08766f);box-shadow:0 18px 45px #062b5026}.weekly-star-card:after{content:"";position:absolute;inset:-60% 42% auto -10%;height:180px;transform:rotate(-12deg);background:#ffffff0b}.weekly-star-crown{position:relative;z-index:1;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#ffd75e;color:#725000;font-size:30px;box-shadow:0 10px 25px #0003}.weekly-star-card small{color:#73e6dd;font-weight:950;letter-spacing:.12em}.weekly-star-card h2{margin:5px 0;font-size:clamp(17px,2vw,27px)}.weekly-star-card h2 b{color:#ffe48a}.weekly-star-card p{margin:0;font-size:clamp(18px,2.2vw,30px);font-weight:950}.weekly-star-card p span{font-size:13px;color:#bfe0e4}.weekly-star-badge{width:64px;height:64px;display:grid;place-items:center;border:2px solid #ffffff42;border-radius:50%;background:#ffffff16;font-size:28px;font-weight:950}

/* Comfortable full-screen homework review. */
.homework-review-dialog>.dialog-card{padding:12px 18px}.homework-review-dialog .modal-close{top:10px;inset-inline-start:10px}.homework-review-dialog .student-modal-head{min-height:62px;display:flex;align-items:center;gap:10px;padding:0 64px 6px 4px}.homework-review-dialog .student-modal-head .leader-avatar{width:48px;height:48px;flex:0 0 48px}.homework-review-dialog .student-modal-head h2{font-size:22px;margin:2px 0}.homework-review-dialog .student-modal-head p{margin:1px 0;font-size:12px}.homework-review-dialog .hw-admin-score-summary.detailed{height:78px;margin:3px 0 6px}.homework-review-dialog .hw-admin-score-summary.detailed span{justify-content:center;padding:8px 14px}.homework-review-dialog .essay-review-toolbar{height:44px}.homework-review-dialog .essay-single{border-inline-end:5px solid #1598bd;box-shadow:none}.homework-review-dialog .essay-review-heading{min-height:28px}.homework-review-dialog .essay-single h3{font-size:clamp(17px,1.45vw,25px);line-height:1.45}.homework-review-dialog .hw-answer-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}.homework-review-dialog .hw-answer-compare section{display:flex;flex-direction:column;border-radius:16px;background:#f4f8fb}.homework-review-dialog .hw-answer-compare section:nth-child(2){background:#edfbf8;border-color:#b8e8df}.homework-review-dialog .hw-answer-compare b{font-size:15px;color:#07385c}.homework-review-dialog .hw-answer-compare p{font-size:clamp(12px,1vw,16px);line-height:1.65;margin:7px 0;white-space:pre-wrap}.homework-review-dialog .essay-single>p{margin:0;font-size:11px;color:#61798a}.homework-review-dialog .essay-single>label{display:grid;grid-template-columns:1fr 210px;align-items:center;gap:10px}.homework-review-dialog [data-homework-review-form]>label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:0}.homework-review-dialog textarea[name="review_note"]{height:38px;min-height:38px}.homework-review-dialog .student-modal-actions{min-height:48px}

/* Inbox. */
.inbox-chip{font-size:18px}.inbox-shell{height:calc(100dvh - 120px);min-height:560px;display:grid;grid-template-columns:minmax(260px,340px) 1fr;border:1px solid #d7e5ea;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 20px 55px #062b5012}.inbox-threads{min-width:0;display:flex;flex-direction:column;border-inline-end:1px solid #dce8ec;background:#f6f9fb}.inbox-threads>header{padding:20px;border-bottom:1px solid #dce8ec}.inbox-threads h2{margin:4px 0 13px}.inbox-threads>[data-thread-list]{overflow:auto;padding:10px}.inbox-thread{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:11px;margin-bottom:5px;border-radius:15px;text-decoration:none;color:#173b55}.inbox-thread>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#dff5f2;color:#087971;font-weight:950}.inbox-thread b,.inbox-thread small{display:block}.inbox-thread small{margin-top:3px;color:#718694}.inbox-thread em{min-width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#ef4556;color:#fff;font-style:normal;font-size:11px}.inbox-thread.active{background:#092d50;color:#fff}.inbox-thread.active small{color:#b8ccd9}.inbox-chat{min-width:0;display:grid;grid-template-rows:auto 1fr auto;background:radial-gradient(circle at 100% 0,#13b9ad12,transparent 35%),#edf3f6}.inbox-chat>header{display:flex;align-items:center;gap:12px;padding:15px 21px;border-bottom:1px solid #d7e4e9;background:#fff}.inbox-chat>header h2,.inbox-chat>header p{margin:2px 0}.inbox-messages{min-height:0;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:9px}.chat-bubble{max-width:min(75%,720px);padding:11px 14px;border-radius:17px;background:#fff;box-shadow:0 5px 16px #062b500c;align-self:flex-start}.chat-bubble.mine{align-self:flex-end;background:#087a75;color:#fff;border-end-end-radius:5px}.chat-bubble.theirs{border-end-start-radius:5px}.chat-bubble b{font-size:10px;opacity:.75}.chat-bubble p{margin:4px 0;line-height:1.55}.chat-bubble small{font-size:9px;opacity:.7}.inbox-compose{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 18px;border-top:1px solid #d7e4e9;background:#fff}.inbox-compose textarea{resize:none;padding:12px 14px;border:1px solid #cbdce3;border-radius:16px;font:inherit;outline:none}.inbox-compose textarea:focus{border-color:#0ca69d;box-shadow:0 0 0 3px #0ca69d18}.inbox-empty{padding:25px;text-align:center;color:#78909f}.inbox-empty.large{margin:auto}.inbox-empty.large span{font-size:55px}.student-inline-message{width:27px;height:27px;margin-inline-start:5px;border:0;border-radius:8px;background:#e6f7f5;color:#087b75;cursor:pointer;vertical-align:middle}.student-inline-message:hover{background:#0b8c84;color:#fff}
@media(max-width:800px){.weekly-star-card{grid-template-columns:auto 1fr;padding:18px}.weekly-star-badge{display:none}.inbox-shell{height:calc(100dvh - 92px);grid-template-columns:1fr;border-radius:17px}.inbox-threads{display:none}.chat-bubble{max-width:88%}.homework-review-dialog .hw-admin-score-summary.detailed{height:62px}.homework-review-dialog .student-modal-head{min-height:52px;padding-inline-end:40px}.homework-review-dialog .student-modal-head h2{font-size:17px}.homework-review-dialog .hw-answer-compare{grid-template-columns:1fr 1fr}.homework-review-dialog .hw-answer-compare p{font-size:10px;line-height:1.4}.homework-review-dialog .essay-single>label{grid-template-columns:1fr 120px}.homework-review-dialog [data-homework-review-form]>label{display:none}}
