.student-record-ai-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border-color:#f0d9cb;background:linear-gradient(115deg,#fffaf6,#fff)}
.student-record-ai-card>div:first-child>span{display:block;margin-bottom:5px;color:#c45c31;font-size:10px;font-weight:800;letter-spacing:.08em}.student-record-ai-card h2{margin:0 0 5px;font-size:16px}.student-record-ai-card p{margin:0;color:#707a85;font-size:12px;line-height:1.7}.student-record-ai-card .btn{flex:0 0 auto}
.student-record-ai-students{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;padding-top:2px}.student-record-ai-students button{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:9px;min-height:58px;padding:9px 11px;border:1px solid #eee3dc;border-radius:10px;background:#fff;text-align:left;color:#334155;cursor:pointer}.student-record-ai-students button:hover{border-color:#e6aa8b;background:#fff9f5}.student-record-ai-students button>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff0e7;color:#c45c31;font-size:12px;font-weight:800}.student-record-ai-students strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.student-record-ai-students small{color:#78828d;font-size:10px}
.student-record-ai-context{margin:0;padding:10px 12px;border-radius:8px;background:#f7f9fb;color:#627082;font-size:11px;line-height:1.7}
.student-record-ai-usage{margin:0 0 4px;padding:10px 12px;border-radius:8px;background:#fff5ef;color:#9a542f;font-size:12px;font-weight:700}.student-record-ai-form small{margin-top:5px;color:#8a939c;font-size:11px}.student-record-ai-consent{line-height:1.65}.student-record-ai-limit{margin:0;color:#7d8791;font-size:11px;line-height:1.7}.student-record-ai-empty{margin:0;color:#7b8490;font-size:12px;line-height:1.7}.student-record-ai-result{display:grid;gap:12px}.student-record-ai-result h3{margin:6px 0 0;font-size:13px}.student-record-ai-result ul{margin:0;padding-left:19px;color:#65707b;font-size:12px;line-height:1.7}.student-record-ai-draft{padding:14px;border:1px solid #eee3dc;border-radius:10px;background:#fffdfb}.student-record-ai-draft strong{font-size:12px;color:#b85c32}.student-record-ai-draft p{margin:9px 0 12px;white-space:pre-wrap;font-size:13px;line-height:1.75;color:#38424c}.student-record-ai-draft .btn{font-size:11px;padding:7px 10px}
@media(max-width:700px){.student-record-ai-card{grid-template-columns:1fr}.student-record-ai-card .btn{width:100%;justify-content:center}.student-record-ai-students{grid-template-columns:1fr}}
