/* Shared brand presentation only. Layout changes are restricted to phones. */
.jane-line-contact.jane-line-contact {display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;box-sizing:border-box;min-height:48px;height:auto;padding:10px 14px;border:1px solid #B8DFC4;border-radius:12px;background:#EAF8EE;color:#176B3A;font-family:var(--font-sans,'IBM Plex Sans Thai',sans-serif);font-size:16px;font-weight:600;line-height:1.6;text-decoration:none;white-space:normal;box-shadow:none;max-width:100%;}
.jane-line-icon {display:block;flex:none;width:26px;height:26px;object-fit:contain;}
.jane-line-contact:focus-visible {outline:3px solid #176B3A;outline-offset:3px;}
.jane-product-th {display:block;font:inherit;color:inherit;white-space:normal;text-overflow:clip;}
.jane-product-en {display:block;font-family:var(--font-sans,'IBM Plex Sans Thai',sans-serif);font-size:.78em;font-weight:400;line-height:1.6;margin-top:4px;color:inherit;opacity:.85;white-space:normal;text-overflow:clip;}
.jane-menu-label,.jane-menu-mascot {display:none;}
.jane-menu-shade {display:none;}
.jane-faq-q.jane-faq-q,.jane-faq-a.jane-faq-a {width:40px;height:40px;object-fit:contain;flex:none;}
.jane-faq-a {float:left;margin:0 12px 8px 0;}
.jane-faq-answer::after {content:'';display:block;clear:both;}
.jane-faq-question {min-width:0;}
@media(max-width:767px){
 body {word-break:normal;}
 :is(p,h1,h2,h3,h4,a,summary,button,label) {word-break:normal;}
 .hero-actions .btn {white-space:normal;min-height:48px;height:auto;line-height:1.6;}
 .site-header .nav-toggle.nav-toggle {display:flex;flex-direction:row;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 2px;gap:2px;color:var(--ink);z-index:2;flex:none;}
 .nav-toggle>svg,.nav-toggle>i {display:none;}
 .jane-menu-label {display:block;font:600 14px/1.4 var(--font-sans,'IBM Plex Sans Thai',sans-serif);white-space:nowrap;}
 .jane-menu-mascot {display:block;width:40px;height:40px;object-fit:contain;margin:0;flex:none;}
 .jane-menu-open {overflow:hidden;}
 .jane-menu-open .site-nav.open {position:fixed;top:var(--jane-nav-top,72px);max-height:calc(100dvh - var(--jane-nav-top,72px) - 44px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;z-index:101;padding:12px 20px 20px;}
 .jane-menu-shade:not([hidden]) {display:block;position:fixed;inset:var(--jane-nav-top,72px) 0 0;background:#0f2a3855;z-index:80;}
 header.site {z-index:100;}
 .home-goal-options {display:grid;gap:12px;min-width:0;}
 .jane-goal-guide {display:flex;align-items:center;gap:16px;margin-bottom:16px;}
 .jane-goal-guide img {width:104px;height:104px;object-fit:contain;flex:none;}
 .jane-goal-guide p {margin:0!important;font-size:16px!important;line-height:27px!important;}
 .home-goal {margin:0;}
 .home-goal summary {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:48px;padding:16px;font-size:16px;line-height:27px;}
 .home-goal summary .jane-goal-action {font-size:16px;line-height:27px;flex:none;color:#17677b;}
 body.home-layout-v2 .dna-play__bridge {padding:0;margin:16px 0;max-width:none;}
 body.home-layout-v2 .dna-play__bridge p {font:400 16px/27px var(--font-sans);margin:0 0 16px;text-align:left;}
 .dna-play__bridge br {display:none;}
 body.home-layout-v2 .dna-play__bridge strong {font-weight:600;}
 body.home-layout-v2 #system .lesson-sample__illustration {width:160px;height:160px;object-fit:contain;margin:0 auto 20px;}
 body.home-layout-v2 .home-study-mode__image,body.home-layout-v2 .home-study-mode img {width:100%;height:auto;max-width:none;object-fit:contain;}
 .jane-faq-pair>summary {display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;gap:12px!important;align-items:center;min-height:48px;padding:16px!important;}
 body.home-layout-v2 #faq .jane-faq-q,.jane-faq-q {display:block!important;width:40px!important;height:40px!important;}
 body.home-layout-v2 #faq .ask-jane__chevron {grid-column:3;}
 .jane-faq-question {font-size:16px;line-height:27px;word-break:normal;}
 .jane-faq-answer {font-size:16px;line-height:27px;}
 .jane-product-en {font-size:16px;}
}
@media(max-width:374px){.jane-goal-guide {align-items:flex-start;}.jane-goal-guide img {width:80px;height:80px;}.jane-menu-mascot {width:36px;height:36px;}.jane-menu-label {font-size:13px;}}
@media(max-width:767px){
 .site-header {z-index:100;}
 .learning-mode__visual.learning-mode__visual {width:100%;max-width:none;box-sizing:border-box;}
 .learning-mode__visual--live img {width:100%;height:auto;max-width:none;object-fit:contain;}
 .learning-mode__visual--online {display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:16px;}
 .learning-mode__visual--online .learning-mode__study {width:calc((100% - 12px)/2);height:auto;max-width:none;position:static;}
 .learning-mode__visual--online .learning-mode__tablet {width:calc((100% - 12px)/2);height:auto;max-width:none;position:static;}
}
/* These guide affordances change only the phone presentation. */
.jane-goal-guide {display:none;}
@media(min-width:768px){.jane-goal-action {font-size:0;}.jane-goal-action::before {content:'＋';font-size:24px;}.home-goal[open] .jane-goal-action::before {content:'−';}}
@media(max-width:767px){.jane-goal-guide {display:flex;}.jane-goal-action::before {display:none;}.site-header .wrap {gap:4px;}.site-header .brand {min-width:0;flex-shrink:1;}.site-header .brand img {width:40px;}.site-header .wordmark {font-size:27px;}}
@media(max-width:374px){.site-header .brand {gap:5px;}.site-header .brand img {width:34px;}.site-header .wordmark {font-size:25px;}}
@media(max-width:767px){body.home-layout-v2 .dna-play__bridge h3 {text-align:left;margin:0 0 16px;}.jane-line-contact.line-float {width:auto;max-width:calc(100vw - 32px);}}
@media(max-width:767px){
 body.home-layout-v2 #courses .learning-mode__visual {height:auto;min-height:0;max-height:none;aspect-ratio:auto;}
 body.home-layout-v2 #courses .learning-mode__visual--live img {position:static;width:100%;height:auto;max-height:none;object-fit:contain;}
 body.home-layout-v2 #courses .learning-mode__visual--online {display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:16px;}
 body.home-layout-v2 #courses .learning-mode__study {position:static;inset:auto;width:calc((100% - 12px)/2);height:auto;max-height:none;}
 body.home-layout-v2 #courses .learning-mode__tablet {position:static;inset:auto;width:calc((100% - 12px)/2);height:auto;max-height:none;}
 .student-learning p,.student-learning .sl-note {font-size:16px;line-height:27px;}
}
.jane-line-label {display:block;min-width:0;flex:1;white-space:normal;}
@media(max-width:767px){.guide-credit>div {min-width:0;}.guide-credit .jane-line-contact {width:100%;}}
@media(max-width:767px){.guide-credit>div {width:100%;max-width:100%;align-self:stretch;box-sizing:border-box;}}
@media(max-width:767px){
 body.home-layout-v2 .home-goal-portrait {width:100%;max-width:none;box-sizing:border-box;}
 body.home-layout-v2 #courses [data-home-product="crs_fundamental"] .mobile-product-card__head>img {width:172px;height:172px;}
 body.home-layout-v2 #courses [data-home-product="crs_intensive"] .mobile-product-card__head>img {width:168px;height:168px;}
 body.home-layout-v2 #courses [data-home-product="crs_government"] .mobile-product-card__head>img {width:180px;height:180px;}
 body.home-layout-v2 #system [data-book-product="crs_government"] {width:180px;height:180px;}
}

/* Owner follow-up: book family has the same prominence as course mascots. */
.home-ebook-heading img,.product-theme--ebook .mobile-product-card__head>img {width:180px;height:180px;object-fit:contain;}
