/* Gia Sư SV – Vật lí 12 RC7.100.6. Targeted styling; other courses remain unchanged. */
/* 1. Ms Phượng: educational chibi is an illustration, not a photographic likeness. */
.gssv-vl12-mentor-avatar{
  background:#e3f7f4 url('ms-phuong-chibi-rc71006.svg') center / cover no-repeat!important;
  border:2px solid #d0eae7!important;border-radius:50%!important;
  flex:none!important;overflow:hidden!important;aspect-ratio:1!important;
}
.gssv-vl12-mentor-avatar::before,.gssv-vl12-mentor-avatar::after{content:none!important;display:none!important}
.gssv-vl12-mentor .gssv-vl12-mentor-kicker{color:#006a67!important;letter-spacing:.055em!important}
.gssv-vl12-mentor .gssv-vl12-mentor-links a{overflow-wrap:anywhere}
/* 2. Chapter index: clear hierarchy and no visually noisy "MỞ RỘNG" ornament. */
#lt27-vat-li-12 .phys-unit{border:1px solid #cbdfe4!important;border-radius:16px!important;margin:16px 0!important;box-shadow:0 4px 15px rgba(9,56,73,.035)!important}
#lt27-vat-li-12 details.phys-unit>summary{
  position:relative!important;display:flex!important;gap:10px!important;justify-content:space-between!important;
  align-items:center!important;padding:21px 22px!important;background:#eaf5f5!important;
  color:#123f56!important;font:750 clamp(18px,2.2vw,23px)/1.42 system-ui,sans-serif!important;
  list-style:none!important;letter-spacing:-.01em!important;min-height:74px!important
}
#lt27-vat-li-12 details.phys-unit>summary::-webkit-details-marker{display:none!important}
#lt27-vat-li-12 details.phys-unit>summary::marker{content:''!important}
#lt27-vat-li-12 details.phys-unit>summary::before{content:none!important;display:none!important}
#lt27-vat-li-12 details.phys-unit>summary::after{content:'⌄'!important;display:inline-grid!important;place-items:center!important;
 background:#fff!important;color:#106f72!important;font:750 21px/1 system-ui,sans-serif!important;
 width:36px!important;height:36px!important;flex:0 0 36px!important;border:1px solid #bbd8dc!important;border-radius:10px!important;
 transform:none!important;margin:0!important}
#lt27-vat-li-12 details.phys-unit[open]>summary::after{content:'⌃'!important}
#lt27-vat-li-12 .phys-list a{font:550 15.5px/1.55 system-ui,sans-serif!important;text-decoration:none!important}
#lt27-vat-li-12 .phys-list li b{font:800 14px/1.5 system-ui,sans-serif!important}
#lt27-vat-li-12 .phys-open{font-weight:650!important}
/* 3. Consistent native MathML typography; do not reset descendant sizes. */
.gssv-vl12-visual-formulas .gssv-vl12-math-scroll{display:block!important;min-width:0!important;overflow-x:auto!important}
.gssv-vl12-visual-formulas .gssv-vl12-math-scroll math{font-family:'STIX Two Math','Cambria Math','Latin Modern Math',serif!important;
  font-size:clamp(21px,2vw,26px)!important;line-height:1.48!important;font-weight:400!important;max-width:none!important}
.gssv-vl12-visual-formulas .gssv-vl12-visual-equation h3{font-family:system-ui,sans-serif!important}
.gssv-vl12-visual-formulas .gssv-vl12-equation-grid{gap:12px!important}
.gssv-vl12v2 :is(.gssv-vl12-visual-figure,.gssv-vl12-visual-equation) *{min-width:0}
.gssv-vl12v2 .gssv-vl12-visual-figure{box-shadow:0 5px 18px rgba(14,69,84,.05)!important}
.gssv-vl12v2 .gssv-vl12-visual-fig-num{font-weight:750!important}
/* 4. Học & Thi – scoped to Vật lí 12, not every subject. */
.gssv-study.gssv-vl12-quiz-polished{
 --gsv-ink:#153e50!important;--gsv-blue:#096e75!important;--gsv-line:#d9e7ea!important;
 font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif!important;line-height:1.62!important;
}
.gssv-vl12-quiz-polished :is(.gsv-quick-lesson summary strong,.gsv-lesson-row h3,.gsv-card h3){
  color:#163f54!important;font-weight:750!important;font-size:clamp(17px,1.5vw,20px)!important;line-height:1.5!important;
}
.gssv-vl12-quiz-polished :is(.gsv-quick-lesson summary small,.gsv-lesson-row p,.gsv-card .gsv-meta){
 font:450 14px/1.55 system-ui,sans-serif!important;color:#476878!important;
}
.gssv-vl12-quiz-polished .gsv-question{padding:clamp(15px,2vw,25px)!important;border-color:#d5e5e9!important;border-radius:17px!important}
.gssv-vl12-quiz-polished .gsv-question>.gsv-stem,
.gssv-vl12-quiz-polished .gsv-question>.gsv-rich{
 font:450 clamp(17px,1.45vw,19px)/1.73 system-ui,-apple-system,'Segoe UI',sans-serif!important;
 color:#183c4c!important;letter-spacing:0!important;overflow-wrap:break-word!important;word-break:normal!important;
}
.gssv-vl12-quiz-polished .gsv-question p{line-height:1.73!important}
.gssv-vl12-quiz-polished .gsv-question legend{color:#486b79!important;font-size:14px!important;margin-bottom:10px!important}
.gssv-vl12-quiz-polished .gsv-question .gsv-tf-row{display:grid!important;grid-template-columns:33px minmax(0,1fr) auto!important;
 align-items:center!important;gap:12px!important;padding:12px 0!important;border-bottom:1px solid #e2edef!important;
}
.gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices{grid-column:3!important;display:flex!important;
 gap:8px!important;flex-wrap:nowrap!important;justify-content:flex-end!important;
}
.gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices label{min-height:44px!important;display:inline-flex!important;
 align-items:center!important;gap:8px!important;padding:8px 13px!important;border-radius:10px!important;
 border:1px solid #d3e3e9!important;background:#fff!important;font-size:15px!important;
}
.gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices label:has(input:checked){background:#ebf8f4!important;border-color:#158178!important}
.gssv-vl12-quiz-polished :is(.gsv-stem,.gsv-rich,.gsv-tf-row,.gsv-option) math{
 font-family:'STIX Two Math','Cambria Math','Latin Modern Math',serif!important;
 font-size:1.08em!important;white-space:nowrap!important;vertical-align:middle!important;
}
.gssv-vl12-quiz-polished math :is(msub,msup,mfrac,msubsup,mroot){font-weight:400!important}
.gssv-vl12-quiz-polished .gsv-live-feedback{line-height:1.65!important}
.gssv-vl12-quiz-polished .gsv-nav{max-height:none!important;overflow:visible!important}
.gssv-vl12-quiz-polished .gsv-quick-session-note,
.gssv-vl12-quiz-polished .gsv-vl12-lesson-hint{
 display:block!important;margin:10px 0 14px!important;padding:11px 14px!important;
 border-left:3px solid #16887f!important;background:#f0f9f8!important;border-radius:0 10px 10px 0!important;
 color:#2b5a66!important;font:500 14px/1.55 system-ui,sans-serif!important;
}
.gssv-vl12-quiz-polished button{font-family:inherit!important}
.gssv-vl12-quiz-polished .gsv-question :is(.gsv-stem,.gsv-tf-row) img{max-width:100%!important;height:auto!important}
@media(max-width:780px){
 .gssv-vl12-quiz-polished .gsv-question .gsv-tf-row{grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important;padding:12px 0!important}
 .gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices{grid-column:2!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important}
 .gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices label{padding:8px 11px!important;font-size:14px!important}
 .gssv-vl12-quiz-polished .gsv-question{padding:15px!important}
 .gssv-vl12-quiz-polished :is(.gsv-stem,.gsv-rich){font-size:17px!important;line-height:1.68!important}
 #lt27-vat-li-12 details.phys-unit>summary{font-size:18px!important;padding:16px 14px!important}
 #lt27-vat-li-12 .phys-list{grid-template-columns:1fr!important}
}
@media(max-width:380px){.gssv-vl12-quiz-polished .gsv-question .gsv-tf-choices label{font-size:13.5px!important;padding:8px 9px!important}}
