.student-project-card .card-title{gap:20px;align-items:flex-start}
.student-project-card .card-title p{margin-top:6px}
.student-project-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;padding:22px 0;align-items:start;border-top:1px solid var(--border,#e4e1e8)}
.student-project-card .card-title+.student-project-row{border-top:0}
.student-project-text{min-width:0;overflow-wrap:anywhere}
.student-project-text>strong,.student-project-text>small,.student-project-text>.meta{display:block}
.student-project-card .card-title h2{font-size:1.125rem}
.student-project-text>strong{font-size:.9375rem;line-height:1.5}
.student-project-text>small{color:var(--muted,#817b89);margin-top:5px;font-size:.75rem}
.student-project-text>p{margin:8px 0 0;white-space:pre-wrap;line-height:1.6;font-size:.875rem}
.student-project-text>.meta{margin-top:10px}
.student-project-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.student-project-actions .btn{display:inline-flex;gap:8px}
.student-project-empty{padding:20px 0}
.student-project-single{display:grid;gap:8px;margin-bottom:24px}
.student-project-fields{display:grid;gap:24px}
.student-project-fields textarea{min-height:130px;resize:vertical}
.student-project-participants{min-width:0;border:1px solid var(--border,#e4e1e8);border-radius:16px;padding:20px;margin:0 0 24px}
.student-project-participants legend{font-weight:700;padding:0 8px}
.student-project-selection{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0}
.student-project-selection>div{display:flex;flex-wrap:wrap;gap:8px}
.student-project-selection>span{white-space:nowrap;color:var(--muted,#817b89)}
.student-project-choices{max-height:270px;overflow:auto}
.student-project-choice{display:flex;align-items:center;gap:12px;padding:12px;border-top:1px solid var(--border,#e4e1e8);cursor:pointer}
.student-project-choice:first-child{border-top:0}
.student-project-choice[hidden]{display:none}
.student-project-choice input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--brand,#a51b54)}
.student-project-choice span{min-width:0;overflow-wrap:anywhere}
.student-project-choice strong,.student-project-choice small{display:block}
.student-project-choice small{margin-top:3px;color:var(--muted,#817b89)}
.student-project-notice{margin:24px 0 0}
.student-project-review{margin:0 0 24px;display:grid;gap:20px}
.student-project-review>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px}
.student-project-review dt{color:var(--muted,#817b89)}
.student-project-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.student-project-review-people{margin:14px 0 0;padding-left:22px;line-height:1.8}
@media(max-width:640px){
 .student-project-card .card-title h2{font-size:1rem}
 .student-project-card .card-title p{font-size:.75rem}
 .student-project-text>strong{font-size:.875rem}
 .student-project-text>p{font-size:.8125rem}
 .student-project-text>small{font-size:.6875rem}
 .student-project-text>.meta{font-size:.75rem}
 .student-project-actions .btn{font-size:.75rem}
 .student-project-card [data-project-action="new"]{font-size:.8125rem}
 .student-project-card .card-title{flex-wrap:wrap}
 .student-project-row{grid-template-columns:auto minmax(0,1fr);gap:12px}
 .student-project-row>.student-project-actions{grid-column:2;justify-content:flex-start}
 .student-project-row>.pill{grid-column:2;justify-self:start}
 .student-project-selection{align-items:flex-start;flex-direction:column;gap:10px}
 .student-project-participants{padding:14px}
 .student-project-review>div{grid-template-columns:1fr;gap:6px}
}
