/* Student Profile feedback surfaces only. Keep this file isolated from the app shell. */
.studentClassFeedbackModal{position:fixed;inset:0;z-index:10030;background:rgba(16,32,61,.42);display:grid;place-items:center;padding:16px}
.studentClassFeedbackCard{width:min(680px,100%);max-height:92vh;overflow:auto;border:1px solid #ffd0e5;border-radius:20px;background:linear-gradient(180deg,#fff,#fff9fc);color:#10203d;padding:15px;box-shadow:0 24px 55px rgba(16,32,61,.24);display:grid;gap:10px;overscroll-behavior:contain}
.studentClassFeedbackHead{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-15px;z-index:2;background:rgba(255,255,255,.96);border-bottom:1px solid #ffe1ee;padding:15px 0 10px;backdrop-filter:blur(10px)}
.studentClassFeedbackTitle{font-size:20px;font-weight:950;line-height:1.1}
.studentClassFeedbackClose{width:38px;height:38px;border-radius:999px;border:1px solid #ffd0e5;background:#fff7fb;color:#9d1457;font-size:19px;font-weight:950;cursor:pointer}
.studentClassFeedbackRows{display:grid;gap:8px}
.studentClassFeedbackItem{border:1px solid #ffd0e5;border-radius:14px;background:#fff;padding:10px;display:grid;gap:6px;box-shadow:0 6px 16px rgba(157,20,87,.06)}
.studentClassFeedbackItemTop{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:950}
.studentClassFeedbackScore{border-radius:999px;background:#10203d;color:#fff;padding:4px 8px;font-size:11px;font-weight:950}
.studentProfileFeedbackFormCard{display:grid;gap:0}
.studentProfileFeedbackModal{position:fixed;inset:0;z-index:10045;background:#f4f7f5;display:grid;place-items:stretch;padding:0;overscroll-behavior:contain;touch-action:pan-y}
.studentProfileFeedbackModalCard{width:100%;height:100%;max-height:100%;overflow:hidden;border:0;border-radius:0;background:#fff;color:#18221e;padding:10px 20px 0;box-shadow:none;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;touch-action:pan-y;min-height:0}
html.protivaIosNativeShell .studentProfileFeedbackModalCard{padding-top:calc(10px + var(--protiva-safe-top))}
.studentProfileFeedbackModalHead{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #d9e3dd;padding:6px 0 8px;background:#fff;z-index:3;flex:0 0 auto}
.studentProfileFeedbackModalTitle{font-size:19.2px;font-weight:950;line-height:1.15;color:#18221e;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.studentProfileFeedbackTotalBadge{border:1px solid #d9e3dd;border-radius:999px;background:#eef5f1;color:#0c5d45;padding:3px 8px;font-size:11px;font-weight:950;line-height:1}
.studentProfileFeedbackModalSub{font-size:12px;font-weight:950;color:#5e6b63;line-height:1.25;margin-top:2px}
.studentProfileFeedbackClose{width:32px;height:32px;border-radius:999px;border:1px solid #d9e3dd;background:#eef5f1;color:#0c5d45;font-size:16px;font-weight:950;cursor:pointer;flex:0 0 auto}
.studentProfileFeedbackScrollBody{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding:0 0 calc(84px + env(safe-area-inset-bottom));touch-action:pan-y}
.studentProfileFeedbackModal .homeworkPublicCard{border:0;box-shadow:none;padding:0;background:#fff;margin:0}
.studentProfileFeedbackMeta{font-size:12px;font-weight:950;color:#5e6b63;line-height:1.25}
.studentProfileFeedbackForm{display:grid;gap:0}
.studentProfileFeedbackQuestionRows{display:grid;gap:0}
.studentProfileFeedbackQuestion{border:0;border-top:1px solid #d9e3dd;border-radius:0;background:#fff;padding:14px 0;display:grid;gap:10px;min-width:0}
.studentProfileFeedbackQuestion:first-child{border-top:0}
.studentProfileFeedbackQuestionTop{display:flex;align-items:flex-start;gap:10px;font-size:14.8px;font-weight:950;color:#18221e;line-height:1.3}
.studentProfileFeedbackQuestionTop span{min-width:0;overflow-wrap:anywhere}
.studentProfileFeedbackQuestionNumber{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:999px;background:#eef5f1;color:#0c5d45;font-size:14px;font-weight:950;line-height:1}
.studentProfileFeedbackQuestionText{flex:1 1 auto}
.studentProfileFeedbackScoreBtns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.studentProfileFeedbackScoreBtn{min-height:44px;border:1px solid #d9e3dd;border-radius:8px;background:#fff;color:#5e6b63;font-size:15.7px;font-weight:950;cursor:pointer;box-shadow:none}
.studentProfileFeedbackScoreBtn.on{background:#13795b;border-color:#13795b;color:#fff;box-shadow:none}
.studentProfileFeedbackNoteLabel{display:grid;gap:9px;border-top:1px solid #d9e3dd;padding:14px 0 0;font-size:14.8px;font-weight:950;color:#18221e}
.studentProfileFeedbackNote{width:100%;min-height:84px;box-sizing:border-box;border:1px solid #d9e3dd;border-radius:8px;background:#fff;color:#18221e;padding:9px 10px;font-size:13.8px;font-weight:800;line-height:1.3;resize:vertical}
.studentProfileFeedbackSubmitBar{position:sticky;bottom:0;z-index:2;display:grid;gap:6px;background:linear-gradient(180deg,rgba(255,255,255,.82),#fff 28%);padding-top:12px;padding-bottom:max(18px,env(safe-area-inset-bottom))}
.studentProfileFeedbackSubmitBar .studentClassControlSaveBtn{min-height:50px;margin-top:0;border-radius:8px;background:#13795b;color:#fff}
.studentProfileFeedbackMsg{min-height:18px;font-size:12px;font-weight:950;color:#5e6b63;line-height:1.3}
.studentProfileFeedbackMsg.error{color:#b91c1c}
.studentProfileFeedbackMsg.success{color:#0f766e}
.studentProfileFeedbackContractError{margin:24px auto;padding:16px;max-width:560px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7;color:#991b1b;font-size:14px;font-weight:850;line-height:1.45;text-align:center}
.studentFeedbackPromptModal{position:fixed;inset:0;z-index:10070;background:rgba(16,32,61,.68);display:grid;place-items:center;padding:18px;box-sizing:border-box;overscroll-behavior:contain;touch-action:none}
.studentFeedbackPromptCard{width:min(430px,100%);border:1px solid #d8eee6;border-radius:24px;background:#fff;color:#10203d;padding:26px 20px 22px;box-sizing:border-box;box-shadow:0 28px 70px rgba(16,32,61,.32);display:grid;gap:14px;text-align:center}
.studentFeedbackPromptDiamond{font-size:44px;line-height:1}
.studentFeedbackPromptTitle{font-size:25px;font-weight:950;line-height:1.12}
.studentFeedbackPromptText{font-size:16px;font-weight:850;line-height:1.48;color:#34465f}
.studentFeedbackPromptActions{display:grid;gap:11px;margin-top:4px}
.studentFeedbackPromptBtn{width:100%;min-height:56px;border-radius:14px;font-size:17px;font-weight:950;cursor:pointer}
.studentFeedbackPromptBtn.primary{border:1px solid #13795b;background:#13795b;color:#fff;box-shadow:0 10px 24px rgba(19,121,91,.22)}
.studentFeedbackPromptBtn.secondary{border:2px solid #13795b;background:#fff;color:#0c5d45}
.studentFeedbackPromptBtn:disabled{opacity:.62;cursor:wait}
.studentFeedbackPromptError{min-height:18px;color:#b91c1c;font-size:12px;font-weight:900;line-height:1.35}

@media (max-width:520px){
  .studentClassFeedbackModal{padding:10px}
  .studentClassFeedbackCard{max-height:94vh;padding:12px}
  .studentProfileFeedbackModalCard{padding-left:14px;padding-right:14px}
  .studentFeedbackPromptModal{padding:14px}
  .studentFeedbackPromptCard{padding:24px 16px 20px;border-radius:20px}
}
