.student-parent-messages-page { min-width: 720px; min-height: 100vh; margin: 0; background: #f2eee5; color: #173052; }
.student-parent-messages-shell { width: min(100% - 44px, 980px); margin: 0 auto; padding: 26px 0 42px; }
.student-parent-messages-header, .student-parent-messages-panel { border: 1px solid rgba(172, 119, 35, .25); border-radius: 18px; background: #fffdf7; box-shadow: 0 10px 26px rgba(79, 67, 39, .08); }
.student-parent-messages-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 26px; }
.student-parent-messages-header p { margin: 0 0 6px; color: #16815c; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.student-parent-messages-header h1 { margin: 0; color: #19375d; font-size: 27px; }
.student-parent-messages-header h1 span { color: #16815c; }
.student-parent-messages-header small { display: block; margin-top: 8px; color: #7b6b56; font-size: 11px; }
.student-parent-messages-header > div:last-child { display: flex; align-items: center; gap: 8px; }
.student-parent-messages-header > div:last-child span, .student-parent-messages-header a { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(22, 129, 92, .25); border-radius: 10px; padding: 0 13px; color: #16815c; font-size: 10px; font-weight: 900; text-decoration: none; }
.student-parent-messages-panel { margin-top: 14px; padding: 18px; }
.student-parent-messages-panel > p { margin: 0 0 12px; color: #7b6b56; font-size: 10px; }
.student-parent-messages-list { display: grid; gap: 10px; }
.student-parent-thread { border: 1px solid rgba(172, 119, 35, .25); border-radius: 14px; background: #fffaf0; padding: 15px; }
.student-parent-thread-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.student-parent-thread h2 { margin: 0; color: #19375d; font-size: 16px; }
.student-parent-thread-meta { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: #806f59; font-size: 9px; }
.student-parent-source { border-radius: 999px; background: #e8efff; padding: 4px 7px; color: #405ea8; font-weight: 900; }
.student-parent-original { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(22, 129, 92, .24); border-radius: 9px; padding: 0 11px; color: #16815c; font-size: 9px; font-weight: 900; text-decoration: none; }
.student-parent-preview { margin: 12px 0 0; border: 1px solid rgba(172, 119, 35, .18); border-radius: 10px; background: #fff; padding: 11px; color: #385674; font-size: 11px; font-weight: 800; line-height: 1.55; }
.student-parent-reactions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.student-parent-reactions span { border-radius: 999px; background: #edf2f7; padding: 5px 8px; color: #48617c; font-size: 10px; }
.student-parent-comments { display: grid; gap: 6px; margin-top: 9px; }
.student-parent-comment { border-left: 3px solid #62b899; border-radius: 8px; background: #eef8f3; padding: 9px 11px; }
.student-parent-comment header { display: flex; justify-content: space-between; color: #6c8278; font-size: 8px; }
.student-parent-comment p { margin: 5px 0 0; color: #254e43; font-size: 10px; font-weight: 800; line-height: 1.5; }
.student-parent-empty { margin: 0; border: 1px dashed rgba(172, 119, 35, .35); border-radius: 12px; padding: 34px 16px; color: #7b6b56; font-size: 11px; text-align: center; }
@media (max-width: 850px) { .student-parent-messages-shell { width: calc(100% - 28px); } .student-parent-messages-header { padding: 18px; } }
