.record-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:-4px 0 23px;overflow:auto;flex-shrink:0}
.record-tabs button{border:0;background:none;padding:10px 1px;min-height:46px;font-weight:600;white-space:nowrap;color:var(--muted);border-bottom:3px solid transparent}
.record-tabs button.active{color:var(--green);border-bottom-color:var(--green)}
.record-tabs small{font-size:11px;margin-left:4px}
.lesson-record-editor fieldset{margin:0;padding:0;border:0;min-width:0}
.lesson-record-editor .field{display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.6;margin-bottom:18px}
.lesson-record-editor textarea{min-height:110px}
.record-details{border-top:1px solid var(--line);padding:13px 0;margin:3px 0 16px;line-height:1.7}
.record-details summary{cursor:pointer;min-height:32px;font-size:13px;font-weight:600}
.record-details[open] summary{margin-bottom:14px}
.record-details h4{font-size:12px;margin:14px 0 8px;color:var(--muted)}
.record-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 16px}
.record-scores select{width:100%;min-height:44px;font-size:13px;font-variant-numeric:tabular-nums}
.record-score>label{font-weight:600;margin:0}
.record-score>p{font-size:12px;line-height:1.6;color:var(--muted);min-height:40px;margin:0}
.record-rating-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.record-rating-head h3{margin:0}.record-rating-head small{font-size:12px;font-weight:400;margin-left:8px;white-space:nowrap}
.record-rating-head output{font-size:12px;white-space:nowrap;color:var(--green)}
.record-score-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid var(--line);font-size:12px}
.record-score-legend strong{display:block;font-weight:500;margin-bottom:3px}.record-score-legend span{color:var(--muted)}
.record-selected-tags{display:flex;flex-wrap:wrap;gap:7px}.record-selected-tags>span{padding:3px 8px;background:var(--green-bg);color:var(--green);font-size:12px;border-radius:3px;overflow-wrap:anywhere}
.record-student-choice{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.lesson-record-editor .record-student-choice .field{flex:1;min-width:0;margin:0}
.record-student-choice>.badge,.record-student-choice>.btn{margin-top:26px;flex-shrink:0}
.record-course-picker{padding:0 0 8px;margin:0;border-top:0}
.record-field-error{color:#a12f2b;font-size:12px;line-height:1.5}
.lesson-record-editor [aria-invalid="true"]{border-color:#b73931}
#record-tag-picker .record-section:first-child{border:0;padding-top:0}
dialog:has(#record-tag-picker){width:min(1000px,calc(100vw - 32px))}
#record-tag-picker h3 small{font-size:11px;font-weight:400;margin-left:8px}
#record-tag-picker .record-tags{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 16px}
#record-tag-picker .record-tags small{display:block;font-size:11px;margin-bottom:5px}
#record-tag-picker .record-tags span{line-height:1.6}
#record-tag-picker .record-tags label{min-height:44px;cursor:pointer;align-items:center}
#record-tag-picker .record-tags input{width:18px;height:18px;min-height:0;flex-shrink:0;accent-color:var(--green)}
.record-tags{display:flex;flex-wrap:wrap;gap:6px 18px}
.record-tags label{display:flex;align-items:center;gap:7px;min-height:36px;font-size:12px}
.record-student-line{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);margin:6px 0 22px;padding-bottom:12px}
.record-student-line .btn{margin-left:auto}
.record-batch-students{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;max-height:260px;overflow:auto}
.record-batch-students label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;cursor:pointer}
.record-batch-students label:has(input:disabled){color:var(--muted);cursor:default}
.record-batch-students input,.record-review-heading input{width:18px;height:18px;min-height:0;flex-shrink:0;margin:0;accent-color:var(--green)}
.record-batch-students span{min-width:0;overflow-wrap:anywhere}.record-batch-students small{display:block;font-size:11px;margin-top:3px}
.record-review-item{padding:18px 0;border-top:1px solid var(--line)}
.record-review-heading{display:flex;align-items:center;gap:10px;min-height:44px;margin-bottom:12px;font-size:14px}
.record-review-heading strong{min-width:0;overflow-wrap:anywhere}.record-review-heading .badge{flex-shrink:0}
.record-review-item textarea{min-height:84px}.record-review-item .record-details{margin-bottom:0}
@media(max-width:700px){.record-batch-students{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;max-height:240px}}
.record-files{display:grid;gap:8px;margin:12px 0}
.record-file{display:flex;align-items:center;gap:6px;min-width:0;padding:8px 0;border-bottom:1px solid var(--line)}
.record-file .btn{white-space:normal;overflow-wrap:anywhere;text-align:left;justify-content:flex-start;min-width:0}
.record-file>span{display:flex;gap:8px;align-items:center;font-size:12px;overflow-wrap:anywhere}
.record-file>small{margin-left:auto;font-size:11px}
.record-file .btn:last-child:not(:first-child){margin-left:auto;flex-shrink:0}
.record-file-input{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px dashed #a6c9c2;border-radius:6px;padding:12px;font-size:12px;color:var(--green)}
.record-file-input input{border:0;font-size:12px;min-height:32px;padding:0;max-width:100%}
.record-section{padding:18px 0;border-top:1px solid var(--line)}
.record-section h3{font-size:15px;margin-bottom:14px}
.record-class{padding:14px 0;border-bottom:1px solid var(--line);line-height:1.8;font-size:13px;overflow-wrap:anywhere}
.record-class>.badge{margin-left:10px}
.record-class strong{font-size:14px}
.record-history{padding:22px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8}
.record-history:first-child{padding-top:0}
.record-history h3{font-size:15px;white-space:normal}
.record-history .section-head{align-items:flex-start}
.record-score-read{display:grid;grid-template-columns:1fr auto 1fr auto;gap:8px 16px;font-size:12px}
.record-score-read dd{margin:0}
.record-version{font-size:12px;line-height:1.8;padding:12px 0;border-bottom:1px solid var(--line)}
.record-version small{display:block}
@media(max-width:700px){
  .record-tabs{gap:17px;margin-bottom:18px}.record-tabs button{font-size:13px}
  .record-scores{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
  .record-score>p{min-height:58px}.record-rating-head{flex-wrap:wrap;gap:8px}.record-rating-head small{display:block;margin:4px 0 0}
  .record-score-legend{gap:12px;font-size:11px}.record-scores select{font-size:14px;padding-left:8px}
  #record-tag-picker .record-tags{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
  dialog:has(#record-tag-picker){width:100%}.record-student-choice{gap:8px}.record-student-choice>.btn{font-size:12px;padding:8px}
  .record-tags label{min-height:44px}.record-file{flex-wrap:wrap}.record-file>small{width:100%;margin:0 8px}
  .record-student-line{flex-wrap:wrap}.record-score-read{grid-template-columns:1fr auto}
  .student-profile-body .review-grid{grid-template-columns:100px minmax(0,1fr)}
}
@media(max-width:500px){.record-scores{grid-template-columns:minmax(0,1fr)}.record-score>p{min-height:0}}
.growth-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.growth-fields .field{min-width:0;margin:0}.growth-fields input,.growth-fields select{min-height:44px;width:100%;min-width:0}
.growth-wide{grid-column:1/-1}.growth-record{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.growth-record>div{min-width:0;overflow-wrap:anywhere}.growth-record p{margin:6px 0;font-size:13px}.growth-record small{color:var(--muted)}
.growth-edit{width:44px;height:44px;flex-shrink:0;padding:11px}
@media(max-width:600px){.growth-fields{grid-template-columns:minmax(0,1fr)}.growth-fields input,.growth-fields select{font-size:16px}.growth-record{align-items:flex-start}}
