/* /v127-optimized.css */
/* source: /v56-improvements.css */

/* V56: thanh điều hướng lớp học, tối ưu cảm ứng và bàn phím */
.v56-grade-nav{display:flex;align-items:center;gap:.55rem;overflow-x:auto;max-width:1100px;margin:12px auto;padding:10px 14px;scrollbar-width:thin;white-space:nowrap;background:#fff;border:1px solid #dce4e5;border-radius:14px}.v56-grade-label{font-weight:700;color:#173b55}.v56-grade-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border:1px solid #d3dfe5;border-radius:10px;color:#113c58;text-decoration:none;font-weight:650}.v56-grade-nav a:hover,.v56-grade-nav a:focus-visible{background:#e9f2ee;outline:2px solid #176979;outline-offset:2px}.v56-grade-nav a[aria-current="page"]{background:#0b2944;color:white}.v56-grade-nav::-webkit-scrollbar{height:5px}@media(max-width:650px){.v56-grade-nav{margin:8px 10px;padding:7px 10px}.v56-grade-label{font-size:.88rem}}


/* source: /v57-improvements.css */
/* V57: primary navigation and regional discovery */
nav.links{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
nav.links a{min-height:40px;display:inline-flex;align-items:center;padding:.45rem .7rem;border-radius:10px}
nav.links a[aria-current="page"],.v57-area-strip a[aria-current="page"]{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.v57-area-strip{display:flex;align-items:center;gap:.5rem;overflow-x:auto;white-space:nowrap;padding:9px max(14px,calc((100vw - 1120px)/2));background:#eaf1f2;border-bottom:1px solid #d2dfe1;scrollbar-width:thin}
.v57-area-strip span{font-size:.84rem;font-weight:800;color:#173d53}
.v57-area-strip a{display:inline-block;flex:0 0 auto;font-size:.85rem;padding:.25rem .55rem;color:#124e69;border-radius:8px}
.v57-privacy{font-size:.83rem;line-height:1.5;color:#425d6b;margin:10px 0}
:focus-visible{outline:3px solid #c07d00;outline-offset:3px}
@media(max-width:760px){nav.links{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:thin}nav.links a{flex:0 0 auto;font-size:.88rem}.v57-area-strip{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* source: /v111-mobile.css */
/* V111: mobile usability fixes based on live V110 screenshots (13/10/2026). */
@media (max-width: 900px) {
  header .nav {display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:64px;flex-wrap:nowrap;}
  header .nav > nav.links {display:none!important;}
  header .nav > .mobile-menu {display:block!important;position:relative;order:3;flex:0 0 auto;margin-left:auto;}
  header .nav > .btn {display:none!important;}
  header .nav > .logo,header .nav > .brand {flex:0 1 auto;min-width:0;max-width:calc(100% - 132px);white-space:normal;overflow-wrap:normal;letter-spacing:-.02em;}
  header .nav > .logo {font-size:clamp(14px,3.8vw,18px);gap:8px;}
  header .nav > .logo:before {flex:none;width:34px;height:40px;font-size:22px;}
  header .mobile-menu summary {min-height:44px;min-width:108px;display:flex;align-items:center;justify-content:center;padding:9px 10px;font-size:14px;}
  header .mobile-links {right:0;left:auto;top:calc(100% + 7px);width:min(310px,calc(100vw - 30px));max-height:min(70vh,540px);overflow-y:auto;overscroll-behavior:contain;}
  header .mobile-links a {min-height:44px;display:flex;align-items:center;line-height:1.4;}
  .v56-grade-nav {max-width:calc(100vw - 20px);overflow-x:auto;}
}
@media (max-width:700px) {
  body {padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;overflow-x:clip;}
  .sticky-call {position:fixed;bottom:calc(5px + env(safe-area-inset-bottom,0px));left:8px;right:8px;z-index:11;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;max-width:calc(100vw - 16px);border-radius:13px;}
  .sticky-call a {min-height:44px;line-height:1.25;font-size:clamp(13px,3.7vw,16px);padding:8px 6px;white-space:normal;}
  .hero {padding-top:48px;padding-bottom:55px;}
  .hero h1 {font-size:clamp(32px,9vw,48px);line-height:1.12;}
  .hero p {font-size:16px;line-height:1.7;}
  .content p,.content li {overflow-wrap:break-word;}
  .content .card {max-width:100%;}
  #dang-ky {scroll-margin-top:80px;}
  #registration_form {min-width:0;}
  #registration_form input,#registration_form select,#registration_form textarea {font-size:16px!important;max-width:100%;}
  .v60-study-figure img {max-width:100%;height:auto;}
}
@media(max-width:360px){header .nav>.logo{font-size:13px}header .mobile-menu summary{min-width:96px;font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* source: /v112-responsive.css */
/* V112 responsive refinement: clear desktop hierarchy, compact mobile header, readable conversion flow. */
:root{--v112-focus:#135f80}
html{scroll-padding-top:90px}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1585a5;outline-offset:3px}
img{max-width:100%;height:auto}body{overflow-wrap:break-word} .wrap,.hero-inner,.content,.contact,.contact-card{min-width:0}
@media(min-width:901px){header .nav{gap:clamp(12px,1.5vw,24px)}header .links{gap:clamp(9px,1.3vw,20px)}header .links a{font-size:clamp(12px,1.1vw,15px);white-space:nowrap}header .nav>.btn{white-space:nowrap;padding:12px 15px}header .logo{flex-shrink:0} .hero-copy{min-width:0}.hero-inner{gap:clamp(20px,3vw,45px)}}
@media(min-width:701px) and (max-width:1100px){.hero h1{font-size:clamp(36px,4.6vw,54px)}.hero-art{min-height:300px}.content{padding-top:54px}}
@media(max-width:900px){header{z-index:30}header .nav{min-height:66px;padding-block:7px}header .nav>.logo{max-width:calc(100% - 135px);line-height:1.1}header .nav>.mobile-menu{margin-left:auto}header .mobile-menu summary{background:#f4f7f8;color:#102b42;border:1px solid #cbdce2;border-radius:12px}header .mobile-links{box-shadow:0 18px 45px #09263b36}header .mobile-links a{border-radius:8px}header .mobile-links a:focus-visible{background:#eef7f8}.hero-inner{min-width:0}}
@media(max-width:700px){.wrap{width:min(100% - 32px,560px)}.hero{padding-top:44px;padding-bottom:46px}.hero h1{font-size:clamp(32px,9vw,45px);letter-spacing:-.04em}.hero p{font-size:16px;line-height:1.65}.hero-actions{display:grid;grid-template-columns:1fr;gap:10px}.hero-actions .btn{min-height:48px;width:100%;padding:12px 15px}.hero-art{min-height:225px}.hero-proof{line-height:1.5}.content{padding-top:40px;padding-bottom:56px}.content p,.content li{font-size:clamp(15px,4vw,17px);line-height:1.7}.content h2,.section-head h2{font-size:clamp(26px,7.3vw,34px)}.programs{grid-template-columns:repeat(2,minmax(0,1fr))}.program{padding:15px;min-width:0}.program h3{font-size:18px}.contact-card{padding:clamp(17px,5vw,25px)}.contact-card h2{font-size:clamp(24px,6vw,30px)}#registration_form{scroll-margin-top:80px}#registration_form input,#registration_form select,#registration_form textarea{min-height:46px}#registration_form button{min-height:50px}.sticky-call{z-index:20;box-shadow:0 6px 24px #0b29442b}.sticky-call a{font-size:clamp(13px,3.6vw,16px)}.v112-parent-guide{padding:21px 17px!important}.v112-parent-guide h2{font-size:clamp(25px,7vw,34px)}.v112-parent-guide ul{padding-left:21px}}
@media(max-width:370px){header .nav>.logo{font-size:13px;max-width:calc(100% - 112px)}header .mobile-menu summary{min-width:90px;font-size:12px}.hero h1{font-size:31px}.programs{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* source: /v113-mobile-polish.css */
/* V113: fixes based on V112 live Android screenshots, 13 Oct 2026. */
@media(max-width:700px){
  /* Let every class and service area be discoverable without horizontal scrolling. */
  .v57-area-strip{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-start;gap:7px 9px;overflow:visible!important;white-space:normal!important;padding:12px 16px!important;max-width:100%;}
  .v57-area-strip>span{flex:0 0 100%;font-weight:800;font-size:14px;line-height:1.3;}
  .v57-area-strip>a{display:inline-flex;align-items:center;min-height:40px;padding:5px 10px;border:1px solid #c6d9df;border-radius:10px;background:#fff;color:#15445c;text-decoration:none;font-size:14px;line-height:1.35;white-space:normal;}
  .v56-grade-nav{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;gap:8px!important;margin:10px 12px!important;padding:12px!important;max-width:calc(100% - 24px)!important;}
  .v56-grade-label{flex:0 0 100%;font-size:14px!important;line-height:1.4;}
  .v56-grade-nav>a{flex:1 1 calc(33.333% - 10px);min-width:90px;min-height:44px;white-space:normal;text-align:center;line-height:1.3;padding:8px 10px;}
  /* Smaller, less obstructive quick-contact affordance. */
  .sticky-call{left:12px!important;right:12px!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important;padding:4px!important;gap:5px!important;border-radius:13px!important;max-width:calc(100vw - 24px)!important;}
  .sticky-call a{min-height:40px!important;padding:7px 6px!important;font-size:14px!important;line-height:1.2!important;}
  body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;}
  body.v113-form-visible .sticky-call,body:has(#registration_form:focus-within) .sticky-call{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(12px);}
  #dang-ky{scroll-margin-top:80px;}
  #registration_form{scroll-margin-top:90px;}
  #registration_form button[type=submit]{min-height:54px!important;position:relative;z-index:1;}
  header .mobile-menu summary{min-height:44px;}
}
@media(min-width:701px){.v57-area-strip,.v56-grade-nav{scrollbar-width:thin}}
@media(prefers-reduced-motion:reduce){.sticky-call{transition:none!important}}


/* source: /v114-desktop-polish.css */
/* V114 desktop polish and accessible responsive navigation. */
@media(min-width:901px){
 /* Desktop already has primary navigation; avoid repeating five grade links immediately below it. */
 .v56-grade-nav{display:none!important}
 .v57-area-strip{display:flex!important;align-items:center;justify-content:center;gap:clamp(12px,2vw,28px);flex-wrap:wrap;overflow:visible!important;white-space:normal!important;padding:11px 22px!important}
 .v57-area-strip a{display:inline-flex;min-height:34px;align-items:center;padding:5px 9px;border-radius:8px;text-underline-offset:3px}
 .hero-inner{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(300px,.87fr);align-items:center;gap:clamp(28px,5vw,72px)}
 .hero-copy{max-width:690px}.hero h1{font-size:clamp(42px,4.5vw,68px);line-height:1.11}
 .hero p{max-width:650px;line-height:1.65}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
 .hero-actions .btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center}
 .hero-art{min-width:0;overflow:hidden}
 .sticky-call{display:none!important}
 .contact-card,#registration_form{min-width:0}
}
@media(min-width:701px) and (max-width:900px){
 .v56-grade-nav{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;white-space:normal}
 .v56-grade-nav a{min-height:42px}
 .hero-inner{gap:22px}
}
@media(max-width:700px){
 .hero-actions .btn{font-weight:750}
 .v57-area-strip a,.v56-grade-nav a{min-height:44px}
 .hero-art{max-width:100%}
 .contact-card,#registration_form{min-width:0}
}
#registration_form input,#registration_form select,#registration_form textarea{max-width:100%;box-sizing:border-box}
#registration_form input:focus-visible,#registration_form select:focus-visible,#registration_form textarea:focus-visible{outline:3px solid #d08b16;outline-offset:2px}
#registration_form button[type=submit]{font-weight:750;cursor:pointer}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* source: /v116-quality.css */
/* V116: accessibility and responsive QA improvements */
:root{scroll-padding-top:100px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b56d00;outline-offset:3px}
@media(max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 .wrap{max-width:100%;box-sizing:border-box}
 img,svg,video{max-width:100%;height:auto}
 .content p,.content li{overflow-wrap:break-word}
 .mobile-links{max-height:min(68vh,520px);overflow-y:auto}
 #registration_form input,#registration_form select,#registration_form textarea{font-size:16px;min-height:44px}
 #registration_form button[type=submit]{min-height:48px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* source: /v117-refinements.css */
/* V117: cross-device polish, readable educational content and keyboard access */
:root{scroll-padding-top:96px}
html{scroll-behavior:smooth}
body{overflow-wrap:break-word}
img,video{max-width:100%;height:auto}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ad6500;outline-offset:3px}
:where(input,select,textarea):focus-visible{border-color:#176979!important;box-shadow:0 0 0 3px #17697924}
.content :where(p,li){line-height:1.75}
.content :where(h2,h3){text-wrap:balance;scroll-margin-top:110px}
.content :where(table){max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.content :where(pre,code){overflow-wrap:anywhere}
#registration_form :where(input,select,textarea){max-width:100%;box-sizing:border-box}
#registration_form button[type=submit]{min-height:50px;white-space:normal}
.mobile-links a{min-height:44px;display:flex;align-items:center}
@media(min-width:901px){.mobile-menu{display:none!important}.links{min-width:0}}
@media(max-width:900px){.links{display:none!important}.mobile-menu{display:block}}
@media(max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 .wrap{width:min(100% - 32px,1160px);max-width:100%;box-sizing:border-box}
 .hero h1{overflow-wrap:break-word}
 .content{padding-top:30px;padding-bottom:56px}
 .content :where(p,li){font-size:clamp(15px,4vw,18px);line-height:1.7}
 .content :where(h2){font-size:clamp(24px,6vw,34px)}
 .content :where(h3){font-size:clamp(19px,5vw,26px)}
 .cards,.programs,.contact,.method-grid{min-width:0}
 #registration_form :where(input,select,textarea){font-size:16px;min-height:44px}
 .mobile-links{max-height:min(68dvh,520px);overflow-y:auto;overscroll-behavior:contain}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* source: /v118-accessibility.css */
/* V118: accessibility and stable responsive rendering */
.skip-to-content{position:absolute;left:12px;top:-100px;z-index:100000;background:#fff;color:#082b53;padding:12px 18px;border:3px solid #e59b28;border-radius:8px;font-weight:700}
.skip-to-content:focus{top:12px}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #e49c29;outline-offset:3px}
:where(img,video,iframe,svg){max-width:100%}
img{height:auto}
:where(table){max-width:100%}
@media(max-width:767px){:where(pre,table){overflow-x:auto} :where(input,select,textarea){max-width:100%;font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* source: /v119-mobile-seo.css */
/* V119: mobile navigation density, accessible quick contact and readable content. */
@media(max-width:700px){
  .v57-area-strip,.v56-grade-nav{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:10px 16px!important;max-width:100%;box-sizing:border-box}
  .v57-area-strip>span,.v56-grade-nav>.v56-grade-label{flex:0 0 auto!important;width:auto!important;font-size:13px!important;margin:0!important;white-space:nowrap}
  .v57-area-strip>a,.v56-grade-nav>a{flex:0 0 auto!important;min-width:0!important;min-height:44px!important;padding:10px 13px!important;white-space:nowrap!important;scroll-snap-align:start;font-size:14px!important;line-height:1.35!important}
  .sticky-call{box-shadow:0 4px 16px rgba(3,25,45,.17)!important}
  .sticky-call a{min-height:44px!important}
  body{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
  #registration_form :where(input,select,textarea){width:100%;max-width:100%;box-sizing:border-box}
  #registration_form button[type=submit]{width:100%;white-space:normal}
  :where(.content,.article-body) :where(table,pre){max-width:100%;overflow-x:auto}
}
@media(min-width:701px){.sticky-call{display:none!important}}


/* source: /v120-desktop-seo.css */
/* V120 desktop, reading performance and form-safe refinements */
@media (min-width: 1024px) {
  .wrap{width:min(1160px,calc(100% - 64px))}
  .hero-inner{align-items:center}
  .hero-copy{min-width:0}
  .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
  .cards,.method-grid{align-items:stretch}
  .cards > *, .method-grid > *{min-width:0}
  .contact-card{scroll-margin-top:110px}
}
@media (min-width: 701px) and (max-width: 1023px) {
  .wrap{width:calc(100% - 40px)}
  .hero-inner{gap:24px}
  .links{gap:12px}
}
@media (max-width: 700px) {
  .sticky-call{bottom:max(8px,env(safe-area-inset-bottom,0px))!important}
  body{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))!important}
  :where(section,article,footer){scroll-margin-top:90px}
  .v57-area-strip,.v56-grade-nav{scroll-padding-inline:16px}
}
:where(.article-body,.content,main) :where(img,video,iframe){max-width:100%;height:auto}
:where(.article-body,.content,main) :where(pre,table){max-width:100%}
:where(.article-body,.content,main) pre{overflow-x:auto}
:where(.article-body,.content,main) table{display:block;overflow-x:auto}
:where(.article-body,.content,main) :where(p,li){overflow-wrap:break-word}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #b96b18;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* source: /v121-responsive-accessibility.css */
/* V121: accessible contrast, phone-first layout, and predictable navigation. */
.area-band :is(h1,h2,h3,.section-head h2){color:#fff!important}
.area-band :is(p,.section-head p,.area-note){color:#e9f4f6!important}
.area-band a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.area-band .area-tags :is(a,span){color:#fff!important;background:#0b4055!important;border-color:#9bc4cc!important}
:where(.card,.program,.contact-card,.method-note,.hero-copy,.article-body){min-width:0}
:where(.card,.program,.contact-card) a{overflow-wrap:anywhere}
:where(input,select,textarea,button){font:inherit}
:where(input,select,textarea){max-width:100%}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #b85a11!important;outline-offset:3px}
@media(max-width:700px){
 html{scroll-padding-top:86px}
 body{font-size:16px;overflow-x:clip;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
 .wrap{width:calc(100% - 32px)!important;max-width:560px!important}
 .nav{gap:8px;min-height:66px}
 .nav>.btn{min-height:44px;max-width:48%;font-size:12px;line-height:1.2;padding:10px 12px}
 .logo{min-width:0;max-width:48%;font-size:14px}
 .mobile-menu summary{min-height:44px;display:flex;align-items:center}
 .hero{padding:48px 0 58px}
 .hero-inner,.method-grid,.contact,#dang-ky .contact{grid-template-columns:minmax(0,1fr)!important;display:grid!important;gap:20px!important}
 .hero h1{font-size:clamp(32px,8vw,46px);line-height:1.12}
 .hero p{font-size:16px}
 .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .hero-actions .btn{width:100%;min-height:48px}
 .programs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .program{padding:18px;min-height:0}
 .cards{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .cards>.card{min-width:0;max-width:100%;padding:20px}
 .section-head h2,.content>h2{font-size:clamp(26px,6.5vw,34px)}
 .section-head p{font-size:16px}
 .area-band{padding:40px 0}
 .area-band h2{font-size:clamp(27px,7vw,36px)}
 #dang-ky .contact-card{width:100%!important;min-width:0!important;padding:22px!important}
 #dang-ky form :is(input,select,textarea,button){min-height:44px;font-size:16px}
 .sticky-call{left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:calc(100% - 24px)!important;z-index:20}
 .sticky-call a{min-height:48px!important}
 main :is(img,video,iframe){max-width:100%;height:auto}
}
@media(max-width:430px){
 .programs{grid-template-columns:minmax(0,1fr)!important}
 .nav>.btn{font-size:11px;padding:9px}
 .hero-art{min-height:255px}
 .orbit{width:min(270px,85%)}
 .math-core{width:120px;height:120px;font-size:48px}
}
@media(min-width:701px) and (max-width:1023px){
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .contact{grid-template-columns:repeat(2,minmax(0,1fr))}
 .wrap{width:calc(100% - 44px)}
}
@media(min-width:1024px){
 .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hero-inner{gap:48px}
 .contact-card{min-width:0}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* source: /v122-mobile-desktop-seo.css */
/* V122: viewport-safe controls, accessible navigation and contrast. */
:root{--v122-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-behavior:smooth;scroll-padding-top:96px}
:where(section[id],main[id],form[id],div[id]){scroll-margin-top:96px}
:where(.card,.contact-card,.program,.hero-copy,.step,.method-note){min-width:0}
:where(a,button,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #b85a11!important;outline-offset:3px}
.area-band :is(h1,h2,h3,p,span,a){color:#fff!important}
.area-band .area-note{color:#f0f7f8!important}
.area-band a{background:#0c4053!important;text-decoration:underline;text-underline-offset:3px}
:where(.v57-area-strip,.v56-grade-nav) a{white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
:where(.v57-area-strip,.v56-grade-nav) :is(span,.v56-grade-label){white-space:nowrap}
:where(.form-note,.contact-card p,.card p){overflow-wrap:break-word}
@media(max-width:700px){
 html{scroll-padding-top:84px}
 :where(section[id],main[id],form[id],div[id]){scroll-margin-top:84px}
 body{overflow-x:clip;padding-bottom:calc(104px + var(--v122-safe-bottom))!important}
 header{z-index:60}
 .nav{flex-wrap:nowrap;justify-content:space-between;gap:10px}
 .nav .logo{flex:1 1 auto;max-width:none!important;min-width:0;font-size:clamp(12px,3.4vw,15px)}
 .nav>.btn{display:none!important}
 .mobile-menu{flex:0 0 auto;order:3}
 .mobile-menu summary{white-space:nowrap;padding:10px 12px;font-size:14px}
 .mobile-links{max-width:min(92vw,340px);max-height:calc(100dvh - 95px);overflow-y:auto}
 .v57-area-strip,.v56-grade-nav{box-sizing:border-box;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:18px;padding-left:18px!important;padding-right:18px!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:10px}
 .v57-area-strip>:first-child,.v56-grade-nav>:first-child{flex-shrink:0}
 .v57-area-strip a,.v56-grade-nav a{flex:0 0 auto}
 .sticky-call{box-sizing:border-box;position:fixed;left:12px!important;right:12px!important;bottom:calc(10px + var(--v122-safe-bottom))!important;width:auto!important;max-width:none!important;z-index:50;gap:8px;padding:6px;background:#fff!important;border:1px solid #d5e0e4;box-shadow:0 6px 22px #071e3240}
 .sticky-call a{display:flex;align-items:center;justify-content:center;min-height:48px!important;padding:8px 5px!important;font-size:clamp(13px,3.8vw,16px);line-height:1.2}
 body.v113-form-visible .sticky-call{display:none!important}
 .hero-actions{margin-bottom:12px}
 .hero-actions a{scroll-margin-bottom:120px}
 .hero-art{overflow:hidden}
 .contact-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 #dang-ky{padding-bottom:calc(55px + var(--v122-safe-bottom))!important}
 #dang-ky .contact-card{padding:22px!important}
 #dang-ky form :is(input,select,textarea){box-sizing:border-box;max-width:100%;font-size:16px}
 .cards,.programs{min-width:0}
 footer{padding-bottom:calc(42px + var(--v122-safe-bottom))}
}
@media(max-width:380px){.nav .logo{font-size:12px}.mobile-menu summary{font-size:13px;padding:9px 10px}.sticky-call a{font-size:13px}}
@media(min-width:701px){.sticky-call{display:none!important}.v57-area-strip,.v56-grade-nav{max-width:100%;box-sizing:border-box}.hero-inner,.contact{min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* source: /v123-ui-seo.css */
/* V123: ergonomic mobile navigation, safe CTAs, contrast and desktop polish. */
:root{--v123-focus:#a84900}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--v123-focus)!important;outline-offset:3px!important}
:where(a,button,summary){touch-action:manipulation}
:where(.area-band a){color:#fff!important;text-decoration-thickness:2px;text-underline-offset:4px}
:where(.form-note,small,.contact-card p){line-height:1.55}
:where(.contact-card input,.contact-card select,.contact-card textarea){min-height:44px}
:where(.hero-inner,.contact,.cards,.programs){min-width:0}
@media(max-width:700px){
 body{padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))!important}
 .nav .logo{overflow-wrap:anywhere;letter-spacing:-.025em}
 .mobile-links{right:0;left:auto;max-width:calc(100vw - 32px);overscroll-behavior:contain}
 .v57-area-strip,.v56-grade-nav{overflow-x:auto!important;overflow-y:hidden;scrollbar-width:thin;-webkit-overflow-scrolling:touch;max-width:100vw}
 .v57-area-strip a,.v56-grade-nav a{flex-shrink:0;white-space:nowrap}
 .sticky-call{bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;left:12px!important;right:12px!important;z-index:45!important}
 .sticky-call a{min-height:48px;line-height:1.25;text-align:center}
 body.v123-form-active .sticky-call,body.v123-keyboard-open .sticky-call{display:none!important}
 #dang-ky{scroll-margin-top:90px;padding-bottom:48px!important}
 .hero-actions a{min-height:48px}
 .contact-card{min-width:0}
 .contact-card input,.contact-card select,.contact-card textarea{font-size:16px!important}
}
@media(max-width:360px){.sticky-call{gap:5px;padding:5px}.sticky-call a{font-size:12px!important}.mobile-menu summary{font-size:12px}}
@media(min-width:701px){.contact{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-inner>*{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}


/* source: /v124-ui-seo.css */
/* V124: mobile-first usability and contrast, additive patch on V123. */
:root{--v124-ink:#102c42;--v124-focus:#9b4100}
html{scroll-padding-top:94px}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--v124-focus)!important;outline-offset:3px!important}
:where(.content,.contact-card,.card,.hero-copy,.area-band,.program){overflow-wrap:break-word}
:where(.content a,.footer-nav a){text-underline-offset:3px;text-decoration-thickness:1.5px}
.area-band .area-tags a{color:#fff!important;background:#0b4053!important;padding:8px 12px;border-radius:7px;display:inline-block;min-height:44px;align-content:center}
:where(.contact-card p,.area-note,.card p){line-height:1.65}
@media(max-width:700px){
 html{scroll-padding-top:82px}
 body{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
 .v57-area-strip,.v56-grade-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:7px!important;overflow:visible!important;width:100%!important;max-width:100%!important;padding:12px 14px!important;box-sizing:border-box!important;scrollbar-width:none}
 .v57-area-strip>:first-child,.v56-grade-nav>:first-child{flex-basis:100%;text-align:left;margin:0 0 2px!important;white-space:normal!important}
 .v57-area-strip a,.v56-grade-nav a{flex:1 1 auto!important;min-width:fit-content!important;min-height:42px!important;padding:8px 10px!important;white-space:nowrap!important;box-sizing:border-box}
 .hero{padding-top:34px!important;padding-bottom:38px!important}
 .hero-art{min-height:190px!important;margin:12px auto 0!important;max-height:240px}
 .hero-proof{flex-wrap:wrap;gap:9px 14px}
 .sticky-call{transition:transform .18s ease,opacity .18s ease;will-change:transform}
 body.v124-cta-hidden .sticky-call,body.v123-form-active .sticky-call,body.v123-keyboard-open .sticky-call,body.v113-form-visible .sticky-call{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(calc(125% + env(safe-area-inset-bottom,0px)))!important}
 .hero-actions a{position:relative;z-index:1}
 .area-band{padding:35px 0!important}
 .area-tags{gap:8px!important}
 .content{padding-top:34px!important}
 .contact{margin-top:34px!important}
 .contact-card{padding:20px!important}
 .footer-nav{gap:12px 18px!important;line-height:1.8}
 footer{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:390px){.v57-area-strip a,.v56-grade-nav a{font-size:13px!important;padding:8px!important}.hero-art{min-height:170px!important}}
@media(prefers-reduced-motion:reduce){.sticky-call{transition:none!important}}


/* source: /v125-production.css */
/* V125 production: targeted WCAG AA readability + mobile UI stability. */
:root{--v125-accent-text:#97401f;--v125-muted:#354b59}
/* On pale surfaces use dark accent rather than pale coral. */
header .logo em,header .logo span:last-child{color:#a54520!important}
.section-kicker{color:#8c3b1d!important;font-weight:800!important;letter-spacing:.065em}
.hero .section-kicker,.hero .eyebrow,.hero .kicker{color:#ffd36c!important}
.contact-card .section-kicker,.v112-parent-guide .section-kicker,.card .section-kicker{color:#8c3b1d!important}
.contact-card p,.v112-parent-guide p,.v112-parent-guide li,.area-note,.card p{color:#354b59}
.contact-card a:not(.btn),.v112-parent-guide a{color:#07516c;text-decoration:underline;text-underline-offset:3px}
.contact-card label,#registration_form label{color:#163349;font-weight:650}
#registration_form input::placeholder,#registration_form textarea::placeholder{color:#596a75;opacity:1}
:where(a,button,summary,input,textarea,select):focus-visible{outline:3px solid #995000!important;outline-offset:3px!important}
@media(max-width:700px){
 html{scroll-padding-top:84px}
 body{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))!important}
 .v57-area-strip,.v56-grade-nav{max-width:100vw!important;overflow-x:clip!important}
 .hero h1{overflow-wrap:normal;hyphens:auto}
 .hero-actions .btn{min-height:50px}
 .sticky-call{max-width:calc(100vw - 24px)!important}
 .sticky-call a{min-height:48px!important}
 body.v124-cta-hidden .sticky-call,body.v123-form-active .sticky-call,body.v123-keyboard-open .sticky-call,body.v113-form-visible .sticky-call,body:has(#registration_form:focus-within) .sticky-call{display:none!important}
 #registration_form{scroll-margin-top:88px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* V126: targeted contrast fixes on dark surfaces. */
.method-note .section-kicker,#dang-ky > div .section-kicker{color:#ffda7b!important}
#dang-ky .contact-card .section-kicker{color:#8c3b1d!important}
@media(max-width:700px){body{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important}.sticky-call{bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}:target{scroll-margin-top:100px}}


/* V127: mobile usability acceptance patch. Keep CTA in document flow: never overlay text/buttons. */
@media(max-width:700px){
 body{padding-bottom:0!important}
 .sticky-call{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;width:min(calc(100% - 34px),560px)!important;max-width:560px!important;margin:24px auto 0!important;padding:8px!important;border:1px solid #d5e2e5;border-radius:16px;background:#fff!important;box-shadow:0 6px 18px #071e3215!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;backdrop-filter:none!important;will-change:auto!important}
 .sticky-call a{min-height:48px!important;white-space:normal}
 body.v124-cta-hidden .sticky-call,body.v123-form-active .sticky-call,body.v123-keyboard-open .sticky-call,body.v113-form-visible .sticky-call{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}
 .hero-art{min-height:220px!important;max-height:none!important;width:100%!important;overflow:visible!important;margin:20px auto 0!important}
 .hero-art .orbit{width:min(235px,65vw)!important;max-width:235px!important;aspect-ratio:1!important;overflow:visible!important}
 .hero-art .math-core{width:112px!important;height:112px!important;font-size:43px!important}
 .hero-art .math-chip{font-size:11px!important;line-height:1.3!important;padding:8px 9px!important;max-width:110px!important;overflow-wrap:normal!important;white-space:normal!important;transform:none!important}
 .hero-art .math-chip.one{top:15px!important;left:-34px!important}
 .hero-art .math-chip.two{top:68px!important;right:-35px!important}
 .hero-art .math-chip.three{bottom:10px!important;left:8px!important}
 .hero{overflow:hidden!important}
 #dang-ky{scroll-margin-top:82px}
}
@media(max-width:380px){.hero-art .orbit{width:200px!important}.hero-art .math-chip.one{left:-24px!important}.hero-art .math-chip.two{right:-24px!important}.hero-art .math-chip{max-width:92px!important;font-size:10px!important}}

/* V128: mobile quick contact — fixed, with a reserved safe area.
   Hide during form focus or when the soft keyboard is open. */
@media (max-width:700px) {
  html { scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom,0px)); }
  body { padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important; }
  .sticky-call,
  body.v124-cta-hidden .sticky-call,
  body.v113-form-visible .sticky-call {
    position:fixed!important;
    top:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:6px!important;
    background:#fff!important;
    border:1px solid #d5e2e5!important;
    border-radius:16px!important;
    box-shadow:0 5px 20px #071e3230!important;
    z-index:30!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .sticky-call a { min-height:48px!important;display:flex;align-items:center;justify-content:center; }
  body.v123-form-active .sticky-call,
  body.v123-keyboard-open .sticky-call,
  body:has(#registration_form:focus-within) .sticky-call {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  #registration_form, #dang-ky {scroll-margin-top:90px;scroll-margin-bottom:104px;}
}
@media (min-width:701px) {.sticky-call {position:static!important;}}

/* V129: final mobile contact visibility authority. Prevent legacy scroll/form
   observer classes from hiding the call/Zalo actions. Reserve page space. */
@media (max-width:700px) {
  html body { padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px))!important; }
  html body .sticky-call,
  html body.v124-cta-hidden .sticky-call,
  html body.v113-form-visible .sticky-call,
  html body.v123-form-active .sticky-call,
  html body.v123-keyboard-open .sticky-call,
  html body:has(#registration_form:focus-within) .sticky-call {
    display:grid!important;
    position:fixed!important;
    inset:auto 10px calc(7px + env(safe-area-inset-bottom, 0px)) 10px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:5px!important;
    z-index:999!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    border-radius:14px!important;
    background:#fffefa!important;
    box-shadow:0 4px 18px #071e3233!important;
  }
  html body .sticky-call a {min-height:46px!important;box-sizing:border-box!important;}
  html body #dang-ky, html body #registration_form {scroll-margin-top:92px;scroll-margin-bottom:100px;}
}
@media (min-width:701px) {html body .sticky-call {display:none!important;}}

/* V137 article image rhythm */
/* Avoid image distortion and abrupt stacks while preserving natural aspect ratios. */
main article img, .article-content img, .post-content img {max-width:100%;height:auto;object-fit:contain;}
main article figure, .article-content figure, .post-content figure {margin-block:clamp(1.75rem,4vw,3rem);}
main article figure + figure, .article-content figure + figure, .post-content figure + figure {margin-block-start:clamp(2.5rem,5vw,4rem);}
main article figcaption, .article-content figcaption, .post-content figcaption {margin-top:.65rem;line-height:1.55;}
@media(max-width:640px){main article figure, .article-content figure, .post-content figure {margin-block:2rem;}main article figcaption,.article-content figcaption,.post-content figcaption{font-size:.9rem;}}


/* /v130-contact-bar.css */
/* V130 mobile contact bar: final cascade override */
@media (max-width:700px){
 html{scroll-padding-bottom:100px}
 body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
 body .sticky-call,body.v113-form-visible .sticky-call,body.v123-form-active .sticky-call,body.v123-keyboard-open .sticky-call,body:has(#registration_form:focus-within) .sticky-call{
 display:grid!important;position:fixed!important;top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:10px!important;right:10px!important;inset-inline:10px!important;width:auto!important;max-width:none!important;margin:0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;padding:6px!important;z-index:999!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;background:#fffefa!important;border:1px solid #d5dfe5!important;border-radius:15px!important;box-shadow:0 8px 28px #0b29443b!important}
 body .sticky-call a{min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;border-radius:10px!important;white-space:normal!important}
 body .sticky-call .call{background:#0b2944!important;color:#fff!important}
 body .sticky-call .zalo{background:#ffc94e!important;color:#0b2944!important}
 #registration_form{scroll-margin-bottom:110px}
}
@media(min-width:701px){body .sticky-call{display:none!important}}


/* /v172-editorial.css */
/* V172: accessible case studies and calm, responsive illustrations */
.v160-editorial-case, .v160-editorial-case p, .v160-editorial-case li {color:#172d34 !important;background-color:#f3fafb !important;}
.v160-editorial-case strong {color:#13545d !important;}
.v160-editorial-case h2,.v160-editorial-case h3 {color:#173642 !important;}
main figure.v172-figure {margin-block:clamp(2rem,5vw,3.5rem);max-width:100%;}
main figure.v172-figure img {max-width:100%;height:auto;object-fit:contain;}
main figure.v172-figure figcaption {font-size:0.94rem;line-height:1.6;max-width:66ch;margin:0.65rem auto 0;}
@media(max-width:760px){main figure.v172-figure{margin-block:2.4rem 3rem;}main figure.v172-figure+figure.v172-figure{margin-top:3.8rem;}}


/* /v214-image-rhythm.css */
/* V214: fix accessible contrast in light-background article self-check panels; preserve V173 image layout */
main article .v172-figure, main article figure.article-visual {display:block;clear:both;max-width:760px;margin:clamp(2rem,5vw,3.5rem) auto;}
main article figure.article-visual img {display:block;width:100%;height:auto;object-fit:contain;border-radius:14px;}
main article figure.article-visual figcaption {margin-top:.75rem;line-height:1.6;color:#334155;}
main article .v151-self-check, main article .v151-self-check p, main article .v151-self-check li {color:#17283a!important;}
main article .v151-self-check a {color:#0b5378!important;}
@media(max-width:640px){main article figure.article-visual {margin:2.25rem auto;} main article figure.article-visual img{max-height:none;}}


/* /v178-image-editorial.css */
/* V178: preserve math and instructional imagery without oversized vertical photos */
main figure.article-visual{break-inside:avoid;margin:2rem auto;max-width:760px;clear:both}
main figure.article-visual img{display:block;max-width:100%;height:auto;object-fit:contain;margin:0 auto}
main figure.article-visual img[src$=".svg"]{width:100%;max-width:760px}
main figure.article-visual figcaption{max-width:70ch;margin:.65rem auto 0;line-height:1.6;color:#334155;font-size:.92rem}
@media(max-width:600px){main figure.article-visual{margin:1.8rem auto}main figure.article-visual img[src$=".jpg"],main figure.article-visual img[src$=".jpeg"]{width:auto;max-width:100%;max-height:440px}}
@media(prefers-reduced-motion:reduce){main figure.article-visual img{transition:none!important}}


/* /v181-image-editorial.css */
/* V181: editorial image rhythm, mobile readability */
.v60-study-figure,.article-visual,.v172-figure,.v175-teaching-diagram,.v176-teaching-diagram{margin:clamp(22px,4vw,40px) auto!important;max-width:760px;clear:both}
.v60-study-figure img,.article-visual img,.v172-figure img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;object-position:center;border-radius:14px;background:#f3f5f6}
.v60-study-figure figcaption,.article-visual figcaption,.v172-figure figcaption{font-size:.92rem;line-height:1.55;margin:.65rem .4rem;color:#465568}
@media(max-width:680px){.v60-study-figure,.article-visual,.v172-figure{margin:26px auto!important}.v60-study-figure img,.article-visual img,.v172-figure img{max-height:340px;object-fit:contain}.v60-study-figure figcaption,.article-visual figcaption{font-size:.88rem}}


/* /v183-image-editorial.css */
/* V183: responsive editorial image sizing; avoid cropping mathematical diagrams. */
@media(max-width:700px){
 main figure{max-width:100%;margin:1.6rem auto 2.1rem}
 main figure img{display:block;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
 main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"]{max-height:min(66vh,480px);width:auto}
 main figure img[src$=".svg"],main figure img[src$=".png"]{max-height:none;width:100%;height:auto}
 main figure figcaption{font-size:.9rem;line-height:1.55;margin-top:.6rem}
}


/* /v184-image-reading.css */
/* V184: image legibility and balanced reading rhythm */
main figure{max-width:100%;break-inside:avoid;margin-block:clamp(1.5rem,3vw,2.3rem)}
main figure img{display:block;max-width:100%;height:auto;object-fit:contain;margin-inline:auto}
main figure figcaption{font-size:.92rem;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:700px){main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"]{max-height:440px;width:auto;max-width:100%;object-fit:contain}main figure{margin-block:1.7rem 2rem}main figure figcaption{font-size:.88rem}}


/* /assets/css/v185-editorial.css */
/* V185: keep photos compact without cropping mathematical illustrations */
@media(max-width:700px){.v185-math-example{padding:1rem;margin:1.5rem 0;border:1px solid #d9e5f0;border-radius:12px;background:#f8fbff}.v185-math-example h2{margin-top:0}figure img:not([src$=".svg"]){max-height:440px;width:auto;max-width:100%;object-fit:contain;display:block;margin-inline:auto}figure{margin-block:1.8rem}figure figcaption{line-height:1.5}}


/* /v187-math-editorial.css */
/* V187: math examples legibility, mobile-first, no crop of mathematical SVGs */
.v187-worked-example{margin:1.6rem 0;padding:1.25rem 1.4rem;border:1px solid #d6e3f1;border-left:4px solid #2068a4;border-radius:12px;background:#f7fbff;color:#17283b}
.v187-worked-example h2{margin-top:0;line-height:1.35}
.v187-worked-example p,.v187-worked-example li{line-height:1.75}
.v187-worked-example .v187-check{font-weight:600}
.content figure img[src$=".svg"],.content figure img[src*=".svg?"]{object-fit:contain!important;height:auto!important;max-height:none!important}
@media(max-width:640px){.v187-worked-example{padding:1rem;margin:1.25rem 0}.v187-worked-example h2{font-size:1.16rem}.content figure{max-width:100%;margin:1.3rem auto}.content figure figcaption{line-height:1.55}}


/* /v188-natural-images.css */
/* V188: preserve natural framing and reduce visual fatigue across articles. */
main figure.v188-natural-figure{display:block;max-width:min(100%,780px);margin:clamp(2rem,4vw,3rem) auto;padding:clamp(.75rem,2vw,1.2rem);background:#f7f8fb;border-radius:18px;break-inside:avoid}
main figure.v188-natural-figure img.v188-natural-image{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;margin-inline:auto!important;border-radius:12px}
main figure.v188-natural-figure figcaption{font-size:.92rem;line-height:1.6;color:#536071;margin:1rem .2rem .1rem;overflow-wrap:break-word}
@media(max-width:700px){main figure.v188-natural-figure{margin:2rem auto!important;padding:.6rem!important;border-radius:14px}main figure.v188-natural-figure img.v188-natural-image{max-height:420px!important;max-width:100%!important;object-fit:contain!important}main figure.v188-natural-figure figcaption{font-size:.85rem;line-height:1.55}}
/* SVG math diagrams must remain fully visible. */
main figure.v188-natural-figure img.v188-natural-image[src$=".svg"]{max-height:none!important}


/* /v189-image-editorial.css */
/* V189: editorial photographs keep their complete original framing. */
main figure.v189-figure{max-width:760px;margin:clamp(2rem,4vw,3.2rem) auto;padding:clamp(.65rem,1.8vw,1rem);background:#f7f8fb;border-radius:16px;break-inside:avoid}
main figure.v189-figure img.v189-photo-safe{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;clip-path:none!important;margin-inline:auto!important;border-radius:12px}
main figure.v189-figure figcaption{font-size:.9rem;line-height:1.55;color:#4b5563;margin:.8rem .2rem .15rem}
@media(max-width:700px){main figure.v189-figure{max-width:100%;margin:2.25rem auto;padding:.55rem}main figure.v189-figure img.v189-photo-safe{max-height:350px!important;width:auto!important;height:auto!important;object-fit:contain!important}main figure.v189-figure img.v189-photo-safe[src$=".svg"]{max-height:none!important}main figure.v189-figure figcaption{font-size:.88rem}}


/* /v190-natural-photos.css */
/* V190: display complete photographs, never crop people or formulas. */
main figure.v190-figure{box-sizing:border-box;max-width:720px;margin:clamp(2.4rem,5vw,4rem) auto;padding:clamp(.5rem,1.5vw,1rem);background:#f7f8fb;border-radius:16px;overflow:visible;break-inside:avoid}
main figure.v190-figure img{display:block!important;box-sizing:border-box;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;border-radius:12px;margin-inline:auto!important}
main figure.v190-figure figcaption{font-size:.92rem;line-height:1.55;color:#475569;margin:.8rem .25rem .1rem}
@media(max-width:700px){main figure.v190-figure{width:100%;margin:2.4rem auto;padding:.5rem}main figure.v190-figure img:not([src$=".svg"]){max-height:380px!important}main figure.v190-figure figcaption{font-size:.9rem}}


/* /v191-natural-editorial.css */
/* V191: editorial photo treatment; no cropping of original content */
main figure.v191-natural-frame,article figure.v191-natural-frame,section figure.v191-natural-frame{display:block;max-width:760px;width:100%;margin:clamp(1.7rem,4vw,3rem) auto;box-sizing:border-box;clear:both}
figure.v191-natural-frame img{display:block;width:100%;max-width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;border-radius:14px}
figure.v191-natural-frame figcaption{font-size:clamp(.92rem,2.6vw,1.04rem);line-height:1.6;max-width:68ch;margin:.8rem auto 0;color:#4a5867}
@media(max-width:600px){figure.v191-natural-frame{margin:1.8rem auto!important;padding:12px!important}figure.v191-natural-frame img{border-radius:12px}}


/* /v192-image-integrity.css */
/* V192: preserve complete photos and diagrams on mobile and desktop */
html{overflow-x:clip}
main figure,article figure,.article-content figure,.content figure{max-width:min(100%,780px);box-sizing:border-box;overflow:visible!important}
main figure img,article figure img,.article-content figure img,.content figure img,
main picture img,article picture img{display:block;max-width:100%!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;clip-path:none!important;transform:none!important;margin-inline:auto}
main figure,article figure{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
main figure figcaption,article figure figcaption{height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
@media(max-width:680px){main figure,article figure,.article-content figure{width:100%!important;max-width:100%!important;margin:1.35rem auto!important;padding:8px!important}main figure img,article figure img{max-height:none!important;width:100%!important;height:auto!important;object-fit:contain!important}main figure figcaption,article figure figcaption{font-size:.91rem!important;margin-top:.6rem!important}}
/* SVG math figures: prevent distortions */
figure img[src$=".svg"]{object-fit:contain!important;max-height:520px!important}


/* /v193-mobile-editorial.css */
/* V193: editorial images - readable on small screens, never crop math content */
@media(max-width:680px){
 main figure,article figure,.article-content figure,.content figure{width:100%!important;max-width:100%!important;padding:12px!important;margin:1.15rem auto 1.5rem!important;box-sizing:border-box!important}
 main figure img:not([src$=".svg"]),article figure img:not([src$=".svg"]),.article-content figure img:not([src$=".svg"]){display:block!important;width:auto!important;max-width:100%!important;max-height:470px!important;height:auto!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important}
 main figure img[src$=".svg"],article figure img[src$=".svg"]{width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important}
 main figure figcaption,article figure figcaption{font-size:.9rem!important;line-height:1.5!important;padding:0 4px!important;margin-top:.7rem!important}
}
@media(min-width:681px){main figure img:not([src$=".svg"]),article figure img:not([src$=".svg"]){max-height:680px!important;width:auto!important;max-width:100%!important;height:auto!important;object-fit:contain!important;margin-inline:auto!important}}


/* /v194-uncropped-images.css */
/* V194: show entire original image; no cropping, no fixed image box */
main figure,article figure,.content figure,.article-content figure{height:auto!important;max-height:none!important;overflow:visible!important;aspect-ratio:auto!important;clip-path:none!important}
main figure img,article figure img,.content figure img,.article-content figure img,main figure picture,article figure picture{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;margin-inline:auto!important}
main figure img[src$=".svg"],article figure img[src$=".svg"]{width:100%!important;max-height:none!important}
main figure figcaption,article figure figcaption{line-height:1.55!important;overflow-wrap:break-word}
@media(max-width:680px){main figure,article figure,.content figure{max-width:100%!important;padding:10px!important;margin:1.4rem auto!important}main figure img,article figure img{width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}main figure figcaption,article figure figcaption{font-size:.88rem!important}}


/* /v195-editorial-seo.css */
/* V195: photo framing without cropping and accessible editorial captions */
@media(max-width:700px){main figure,article figure{box-sizing:border-box;max-width:100%;margin:1.25rem auto!important;padding:12px!important}main figure img,article figure img{display:block;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;border-radius:12px}main figure figcaption,article figure figcaption{font-size:.92rem!important;line-height:1.55!important;margin-top:.7rem!important}main h2,article h2{overflow-wrap:break-word}main,article{min-width:0}}
main figure img,article figure img{image-orientation:from-image;object-fit:contain!important;object-position:center!important;clip-path:none!important}


/* /v197-image-performance.css */
/* V197: preserve entire subject and hands, avoid cropped photographs on responsive cards. */
@media (max-width: 767px) {
  .v196-local-figure, figure:has(img.v188-natural-image) {max-width:100%;box-sizing:border-box;overflow:visible!important}
  .v196-local-figure img, figure img.v188-natural-image {display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important}
  .v196-local-figure figcaption, figure figcaption {overflow-wrap:break-word}
}
img {max-width:100%}
img[width][height] {height:auto}


/* /v198-editorial-image-seo.css */
/* V198: uncut responsive editorial media; original pixels are never cropped */
main figure img, article figure img, .article figure img, .content figure img, .seo-figure img {object-fit:contain!important;object-position:center center!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;display:block;margin-inline:auto}
main figure,article figure,.article figure,.content figure{height:auto!important;max-height:none!important;overflow:visible!important;break-inside:avoid;margin-block:clamp(22px,4vw,42px)!important}
main figure figcaption,article figure figcaption{max-width:68ch;margin:10px auto 0;text-align:center;line-height:1.55;color:#536575;font-size:.92rem}
@media(max-width:700px){main figure img,article figure img,.article figure img,.content figure img{max-width:min(100%,620px)!important}main figure img[src$=".jpg"],main figure img[src$=".jpeg"],main figure img[src$=".webp"],article figure img[src$=".jpg"],article figure img[src$=".webp"]{max-width:min(100%,480px)!important}main figure,article figure{margin-block:26px!important}}
@media(prefers-reduced-motion:reduce){main figure img,article figure img{transition:none!important}}


/* /v199-media-stability.css */
/* V199 — stable responsive media, appended after legacy styles */
:root{--v199-media-radius:16px}
main figure,main .seo-figure,article figure{box-sizing:border-box;min-width:0;max-width:100%;height:auto!important;max-height:none!important;overflow:visible!important}
main figure img,article figure img,main .seo-figure img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;margin-inline:auto;border-radius:var(--v199-media-radius)}
main figure figcaption,article figure figcaption{overflow-wrap:anywhere;text-wrap:pretty;max-width:68ch;margin:12px auto 0;line-height:1.55}
main figure svg,article figure svg{max-width:100%;height:auto}
@media(max-width:720px){main figure,article figure{margin:22px 0!important;padding:clamp(10px,3vw,16px)!important}main figure img,article figure img{max-width:100%!important}main figure figcaption,article figure figcaption{text-align:left;font-size:.92rem}main h1,main h2,main h3{overflow-wrap:break-word}main table{display:block;max-width:100%;overflow-x:auto}}
@media(prefers-reduced-motion:reduce){main figure img,article figure img{animation:none!important;transition:none!important}}


/* /v200-accessibility.css */
/* V200: editorial readability and keyboard navigation; no destructive image crop rules */
:where(main,article) :where(a,button,input,textarea,select):focus-visible{outline:3px solid #136b96;outline-offset:3px}
:where(main,article) :where(p,li,figcaption){overflow-wrap:break-word}
@media(max-width:720px){:where(main,article) :where(img,video,iframe){max-width:100%;height:auto}:where(main,article) :where(input,textarea,select){max-width:100%;box-sizing:border-box}}


/* /v217-mobile-reading-global.css */
/* V217: a single mobile reading guard for every local and knowledge article. */
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;}
  main{width:100%;max-width:100%;min-width:0;}
  main :where(article,.article-body,.content,.wrap,section,.card,figure,ol,ul,table,pre){
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  main :where(article.content.wrap,.article-body.wrap,.content.wrap,.wrap.content){
    width:calc(100% - 32px)!important;
    margin-inline:auto!important;
    padding-inline:0!important;
  }
  main :where(h1,h2,h3,h4,p,li,figcaption,summary,a){
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  main :where(p,li){line-height:1.72;}
  main :where(h1,h2,h3,h4){line-height:1.22;}
  main :where(img,svg,video,iframe){display:block;max-width:100%;height:auto;}
  main :where(table,pre){display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  main :where(.card){padding:20px;}
}


/* /v218-mobile-layout-repair.css */
/* V218: the article templates used by the local-area pages need a real mobile
   reading frame.  This is deliberately limited to small screens. */
@media (max-width:700px){
  html,body{width:100%;max-width:100%;overflow-x:clip!important;}

  /* A sticky header can cover the first line of a heading while the reader
     scrolls.  On a phone it is clearer to let it move with the document. */
  body.v140-article header{position:relative!important;top:auto!important;}

  /* All article variants receive the same 20px safe reading gutter, including
     old templates whose main or article element is also the .wrap element. */
  main.wrap.content,
  main > article.content,
  main > article.wrap.content,
  main > .content,
  main > .article-content{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:20px!important;
  }

  main > .hero > .wrap{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:20px!important;
  }

  main :where(article,.content,.article-content,section,.card,figure,ol,ul,li,p,h1,h2,h3,h4,table,pre){
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  main :where(h1,h2,h3,h4,p,li,a,figcaption){
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  main :where(p,li){font-size:16px!important;line-height:1.72!important;}
  main h1{font-size:clamp(30px,9vw,40px)!important;line-height:1.14!important;}
  main h2{font-size:clamp(25px,7.2vw,32px)!important;line-height:1.22!important;}
  main h3{font-size:clamp(21px,6vw,27px)!important;line-height:1.28!important;}

  main :where(.card){margin-inline:0!important;padding:20px 18px!important;}
  main :where(ul,ol){padding-left:1.3rem!important;}
  main :where(img,svg,video,iframe){display:block;max-width:100%!important;height:auto!important;}
  main :where(table,pre){display:block;overflow-x:auto!important;-webkit-overflow-scrolling:touch;}

  /* Anchor navigation must still leave the heading fully visible. */
  main :where(h1,h2,h3,h4,[id]){scroll-margin-top:16px!important;}
}

