.classroom-dialog{width:min(1240px,96vw);max-width:96vw}.classroom-dialog .dialog-body{padding:22px}.cr-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.cr-head p{margin:4px 0;color:#6b7e75}.cr-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.cr-tabs button[aria-pressed=true]{background:#316c57;color:white}.cr-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#f3f8f5;border:1px solid #dce7df;border-radius:16px;padding:18px;margin-bottom:18px}.cr-filters .field{margin:0}.cr-sort{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cr-sort label{font-size:13px}.cr-sort .row{display:flex;flex-wrap:nowrap}.cr-sort select{width:100%;min-width:0}.cr-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.cr-results-wrap{overflow:auto;border:1px solid #dce7df;border-radius:14px;max-height:55vh}.cr-results{width:100%;border-collapse:collapse;min-width:840px;font-size:14px}.cr-results th{background:#eef5f0;position:sticky;top:0;z-index:1;text-align:left;white-space:nowrap}.cr-results td,.cr-results th{padding:13px 12px;border-bottom:1px solid #e2eae5}.cr-results small{display:block;color:#65796d;max-width:180px}.cr-results input[data-cr-score]{width:78px;padding:7px;border:1px solid #c5d7ca;border-radius:8px}.cr-results a{color:#26644c;font-weight:650}.cr-score{font-size:18px;font-weight:750}.cr-pages{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}.cr-assign-list{display:grid;gap:12px}.cr-assign{display:grid;grid-template-columns:1fr 1.5fr auto;gap:16px;align-items:center;border:1px solid #dce7df;border-radius:14px;padding:16px}.cr-assign small{display:block;color:#697b70}.cr-chat{display:grid;grid-template-columns:290px minmax(0,1fr);border:1px solid #d9e5dc;border-radius:18px;overflow:hidden;min-height:440px}.cr-chat-list{background:#f2f7f3;padding:14px;max-height:65vh;overflow:auto;border-right:1px solid #d9e5dc}.cr-chat-list button{display:block;width:100%;padding:12px;margin-bottom:8px;text-align:left;border:1px solid #d8e4dc;border-radius:12px;background:white;color:#254d3c}.cr-chat-list button[aria-current=true]{border-color:#327454;background:#e4f2e9}.cr-chat-list small{display:block;color:#6d7d72}.cr-chat-window{display:flex;flex-direction:column;min-width:0;background:white}.cr-chat-header{padding:16px 18px;border-bottom:1px solid #d9e5dc;background:#fcfdfc}.cr-chat-header small{display:block;color:#6e7d73}.cr-messages{padding:18px;display:flex;flex-direction:column;gap:12px;height:350px;overflow:auto;overscroll-behavior:contain;background:#fbfdfb}.cr-bubble{align-self:flex-start;max-width:86%;padding:11px 14px;border:1px solid #dce7df;border-radius:14px 14px 14px 3px;background:white;white-space:pre-wrap;overflow-wrap:anywhere}.cr-bubble.mine{align-self:flex-end;background:#e9f5ed;border-color:#c1ddcb;border-radius:14px 14px 3px 14px}.cr-bubble small{display:block;font-size:11px;color:#63766a;margin-bottom:6px}.cr-compose{padding:14px;border-top:1px solid #d9e5dc}.cr-compose textarea{width:100%;min-height:84px;border:1px solid #cddfd1;border-radius:12px;padding:12px;font:inherit;resize:vertical}.cr-compose .row{justify-content:space-between;margin-top:10px}.cr-new-chat{padding:16px;background:#f4f8f5;border-radius:14px;margin-bottom:18px}.cr-new-chat form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.cr-new-chat label{min-width:180px;flex:1}.cr-note{font-size:13px;color:#61786b}.cr-badge{display:inline-block;background:#a5463b;color:white;border-radius:50px;padding:1px 7px;font-size:11px;margin-left:6px}.cr-stat-card{background:#eef7f1;border:1px solid #d4e7da;padding:18px;border-radius:14px;margin:15px 0}.cr-stat-card p{margin:5px 0}.cr-online-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;margin-top:16px}.cr-online-card{padding:16px;border:1px solid #d7e7dc;border-radius:14px;background:#f7fbf8}.cr-online-card strong{display:block}.cr-online-card small{display:block;color:#647a6b}.cr-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#278554;margin-right:6px}.cr-toast{position:fixed;right:18px;bottom:90px;z-index:2147482000;max-width:min(360px,calc(100vw - 30px));padding:15px 18px;border-radius:14px;background:#2d654e;color:white;border:1px solid white;box-shadow:0 8px 36px #12392b40}.cr-toast button{color:white;background:transparent;border:1px solid #ffffff66;border-radius:8px;padding:6px 10px;margin-top:8px;font:inherit}.cr-privacy-note{padding:12px 15px;border-left:3px solid #62937a;background:#f4f8f5;color:#526a5b;font-size:13px}.cr-read-progress{min-height:24px;color:#496b58}.cr-audit td:nth-child(5){max-width:280px}.cr-summary{font-size:14px;color:#597360}.cr-audit-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){.classroom-dialog{width:97vw;max-width:97vw}.classroom-dialog .dialog-body{padding:13px}.cr-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:11px}.cr-sort{grid-template-columns:1fr}.cr-head{align-items:flex-start;flex-direction:column}.cr-assign{grid-template-columns:1fr;gap:10px}.cr-chat{grid-template-columns:1fr}.cr-chat-list{max-height:180px;border-right:0;border-bottom:1px solid #d9e5dc}.cr-messages{height:340px}.cr-actions .button{flex:1}.cr-pages{flex-wrap:wrap}.cr-new-chat label{min-width:100%;margin:0}.cr-tabs .button{flex:1;padding:9px}.cr-audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-filters input,.cr-filters select,.cr-compose textarea,.cr-assign select{font-size:16px}.cr-privacy-note{font-size:12px}}
@media(max-width:440px){.cr-filters{grid-template-columns:1fr}.cr-audit-filters{grid-template-columns:1fr}.cr-chat-list{max-height:150px}.cr-toast{right:12px;bottom:78px}.cr-stat-card{padding:13px}}
.cr-new-chat summary{cursor:pointer;color:#315e46;padding:3px}.cr-new-chat[open] summary{margin-bottom:12px}
@media(max-width:760px){.cr-messages{height:clamp(190px,35dvh,310px)}}
