/* VNN · Unit 3 teacher dashboard compact layout. UI-only, scoped to G6 U3. */
html[data-sgk-grade="6"][data-sgk-unit="3"] #sgkFamilyTeacher,
html[data-sgk-grade="6"][data-sgk-unit="3"] #sgkU3TestTeacher{min-width:0}
#sgkFamilyTeacher{background:#f7fbf8;padding:14px 16px}
#sgkFamilyTeacher .sgk-family-teacher-header h3{margin:0 0 3px;font-size:clamp(18px,2vw,22px)}
#sgkFamilyTeacher .sgk-family-teacher-header p{margin:0 0 11px;font-size:.9rem;color:#526d5e}
#sgkFamilyTeacher form{display:block;margin:0}
#sgkFamilyTeacher .sgk-family-student-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}
#sgkFamilyTeacher .sgk-family-student-picker label{font-weight:700;display:grid;gap:5px}
#sgkFamilyTeacher .sgk-family-student-picker button{min-height:44px;white-space:nowrap;background:#e4f2e9!important;color:#175840!important;border:1px solid #c3decc}
#sgkFamilyTeacher [data-family-teacher-msg]{margin:6px 0 11px;font-size:.82rem;color:#547363}
#sgkFamilyTeacher .sgk-family-report-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d4e5d9;padding:7px 0 8px}
#sgkFamilyTeacher .sgk-family-report-heading strong{font-size:1.02rem}
#sgkFamilyTeacher .sgk-family-report-heading small{color:#5a7564;font-size:.8rem}
#sgkFamilyTeacher .sgk-family-teacher-report{padding:4px 0 10px}
#sgkFamilyTeacher .sgk-family-top h3{font-size:1.08rem;margin:5px 0 1px}
#sgkFamilyTeacher .sgk-family-top>p{margin:0 0 6px;font-size:.83rem;color:#567164}
#sgkFamilyTeacher .sgk-family-stats{margin:9px 0 5px}
#sgkFamilyTeacher .sgk-family-stats>div{padding:10px 6px}
#sgkFamilyTeacher .sgk-family-details{margin-top:7px;padding:0;background:white;overflow:hidden}
#sgkFamilyTeacher .sgk-family-details>summary{padding:11px 12px;min-height:44px;line-height:1.4;list-style-position:inside}
#sgkFamilyTeacher .sgk-family-details[open]{padding:0 0 11px}
#sgkFamilyTeacher .sgk-family-details[open]>summary{border-bottom:1px solid #e5eee6;margin-bottom:7px}
#sgkFamilyTeacher .sgk-family-details>div,#sgkFamilyTeacher .sgk-family-details>article,#sgkFamilyTeacher .sgk-family-details>p{margin-left:10px;margin-right:10px}
#sgkFamilyTeacher .sgk-family-assign-fold{margin-top:12px;border:1px solid #bedac8;background:#fff;border-radius:12px;overflow:hidden}
#sgkFamilyTeacher .sgk-family-assign-fold>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 13px;color:#1c6243;background:#eff8f2;font-weight:750;font-size:1rem;cursor:pointer}
#sgkFamilyTeacher .sgk-family-assign-fold>summary small{margin-left:auto;white-space:normal}
#sgkFamilyTeacher .sgk-family-assign-fold>summary::after{content:"⌄";font-size:1.25rem;margin-left:6px}
#sgkFamilyTeacher .sgk-family-assign-fold[open]>summary::after{content:"⌃"}
#sgkFamilyTeacher .sgk-family-assign-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:12px}
#sgkFamilyTeacher .sgk-family-assign-fields>.sgk-family-task-picker,
#sgkFamilyTeacher .sgk-family-assign-fields>.sgk-family-actions{grid-column:1/-1}
#sgkFamilyTeacher .sgk-family-assign-fields>label:has(textarea){grid-column:1/-1}
#sgkFamilyTeacher :is(button,select,textarea,input):focus-visible,
#sgkU3TestTeacher :is(button,summary,select,input):focus-visible{outline:3px solid #278e66;outline-offset:2px}
#sgkU3TestTeacher .u3t-outcome-fold{margin:8px 0 11px!important}
#sgkU3TestTeacher .u3t-outcome-fold>summary{background:#eaf5ef;min-height:48px;font-size:1rem}
#sgkU3TestTeacher .u3t-manager-fold{margin:9px 0;border:1px solid #c7dcd0;border-radius:12px;overflow:hidden;background:#fff}
#sgkU3TestTeacher .u3t-manager-fold>summary{display:flex;align-items:center;min-height:45px;gap:8px;padding:10px 13px;background:#f5f9f6;color:#22533e;font-weight:750;font-size:.98rem;cursor:pointer}
#sgkU3TestTeacher .u3t-manager-fold>summary small{margin-left:auto;color:#5c7666;font-weight:500}
#sgkU3TestTeacher .u3t-manager-fold .u3t-bulk{margin:8px!important;border:0}
#sgkU3TestTeacher .u3t-student-fold{margin-top:6px;border:1px solid #dce8df;border-radius:10px}
#sgkU3TestTeacher .u3t-student-fold>summary{padding:9px 11px;cursor:pointer;font-weight:700;min-height:42px;color:#305d48;font-size:.88rem}
#sgkU3TestTeacher .u3t-student-fold .u3t-controls{padding:9px;align-items:end}
#sgkU3TestTeacher .u3t-result-open{margin-top:8px;min-height:44px;width:auto}
#sgkU3TestTeacher .u3t-teacher-row{margin-bottom:8px}
#sgkU3TestTeacher .u3t-teacher-row>p{font-size:.84rem;line-height:1.4}
html[data-sgk-grade="6"][data-sgk-unit="3"] #tabs button[data-tab="results"]{margin-left:8px}
html[data-sgk-grade="6"][data-sgk-unit="3"] #tabs button[data-tab="teacher"]{font-weight:800}
@media(max-width:700px){
 #sgkFamilyTeacher{padding:11px}
 #sgkFamilyTeacher .sgk-family-student-picker{grid-template-columns:minmax(0,1fr)}
 #sgkFamilyTeacher .sgk-family-student-picker button{width:100%}
 #sgkFamilyTeacher .sgk-family-report-heading{align-items:flex-start;flex-direction:column;gap:2px}
 #sgkFamilyTeacher .sgk-family-assign-fields{grid-template-columns:1fr;padding:10px}
 #sgkFamilyTeacher .sgk-family-assign-fields>label:has(textarea){grid-column:1}
 #sgkFamilyTeacher .sgk-family-assign-fold>summary{flex-wrap:wrap}
 #sgkU3TestTeacher .u3t-manager-fold>summary{flex-wrap:wrap}
 #sgkU3TestTeacher .u3t-outcome-fold>summary small{white-space:normal}
 #sgkU3TestTeacher .u3t-result-open{width:100%}
}
