/* Only the Water2 navigation and the foundation course. No learning-room selectors. */
.yjw2-page .yjw2-navgrid{grid-template-columns:minmax(0,1fr) 200px}
#yjw2-water-nav.yjw2-navleft{display:grid;grid-template-columns:repeat(var(--yjw2-nav-count,6),minmax(0,1fr));min-width:0}
#yjw2-water-nav .yjw2-menu{padding:0 8px!important;flex-direction:column}
#yjw2-water-nav .yjw2-menu.is-active:before,#yjw2-water-nav .yjw2-menu.is-active:after{left:0;right:0}
#yjw2-water-nav .yjw2-menu-en{position:static;transform:none;margin-top:5px;white-space:normal;line-height:1.3;text-align:center}
#yjw2-water-nav .yjw2-menu:focus-visible{outline:3px solid #1774ae;outline-offset:-4px}
.yjf{padding:17px 0 32px;color:#193f59;line-height:1.65;font-size:14px}
.yjf [hidden]{display:none!important}.yjf *{box-sizing:border-box}.yjf button,.yjf input{font:inherit}.yjf button{cursor:pointer}.yjf a:focus-visible,.yjf button:focus-visible,.yjf input:focus-visible{outline:3px solid #2187c0;outline-offset:3px}
.yjf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.yjf-heading>div{display:flex;align-items:baseline;gap:13px}.yjf-heading h1{font-size:23px;line-height:1.3;margin:0;letter-spacing:-.6px}.yjf-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#247cae}.yjf-private{font-size:11px;color:#638096;background:#f2f7fb;border:1px solid #dce8f1;border-radius:4px;padding:3px 9px}
.yjf-top{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);gap:22px;align-items:stretch}
.yjf-hero{height:355px;position:relative;overflow:hidden;border:1px solid #d4e2ec;border-radius:5px;background:#e9f4fa}.yjf-slide{position:absolute;inset:0}.yjf-slide>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.yjf-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(242,249,254,.97),rgba(238,247,254,.86) 38%,rgba(239,247,253,.12) 78%)}
.yjf-hero-copy{position:relative;z-index:1;padding:39px 31px}.yjf-hero-label{font-size:12px;font-weight:800;color:#1679ab;letter-spacing:1px}.yjf-hero-copy h2{font-size:31px;line-height:1.4;letter-spacing:-1.1px;margin:12px 0 11px;color:#164665}.yjf-hero-copy p{font-size:13px;line-height:1.8;margin:0;color:#37637f}.yjf-hero-copy>a{display:inline-flex;gap:15px;align-items:center;margin-top:22px;background:#216ba1;color:#fff;font-size:11px;font-weight:700;padding:9px 14px;border-radius:3px}.yjf-image-note{position:absolute;z-index:2;right:10px;bottom:9px;font-size:9px;color:#fff;text-shadow:0 1px 4px #12344a;background:#153d598c;padding:1px 5px;border-radius:3px}
.yjf-controls{position:absolute;z-index:3;left:28px;bottom:14px;display:flex;align-items:center;gap:10px;color:#235875}.yjf-controls>button{display:grid;place-items:center;border:0;background:#ffffffc9;color:#225a79;border-radius:4px;width:25px;height:25px;font-size:16px;line-height:1}.yjf-controls [data-rotation]{font-size:11px}.yjf-dots{display:flex;gap:6px;align-items:center}.yjf-dots button{border:0;background:#9db3c3;padding:0;width:7px;height:7px;border-radius:5px}.yjf-dots button[aria-pressed=true]{width:21px;background:#2687bd}.yjf-position{font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
.yjf-payment{border:1px solid #cddfea;border-top:3px solid #2085b6;border-radius:5px;background:#fff;padding:15px 18px 10px;min-width:0}.yjf-payment h2{font-size:18px;line-height:1.4;letter-spacing:-.5px;margin:3px 0 7px;color:#173f5c}.yjf-payment>p{font-size:11px;color:#688092;margin:0 0 12px}.yjf-payment fieldset{padding:0;margin:0;border:0;display:grid;gap:8px}.yjf-plan{border:1px solid #dce5ed;display:grid;grid-template-columns:17px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 10px;cursor:pointer;border-radius:4px;min-height:62px}.yjf-plan:has(input:checked){border-color:#298bc0;background:#f0f8fd;box-shadow:inset 3px 0 #298bc0}.yjf-plan input{margin:0;accent-color:#1c7eb5;width:15px;height:15px}.yjf-plan strong{display:block;font-size:14px;color:#1b4d6f}.yjf-plan span>small{display:block;font-size:10px;color:#78909f}.yjf-plan>b{font-size:18px;color:#174e77;white-space:nowrap;letter-spacing:-.6px}.yjf-plan>b small{font-size:11px;margin-left:2px}
.yjf-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dbe6ee;padding:11px 0 9px;margin-top:10px}.yjf-total>span{font-size:11px;font-weight:700;color:#45647a}.yjf-total small{display:block;font-size:10px;color:#7390a2;font-weight:400}.yjf-total>strong{color:#176fa9;font-size:28px;line-height:1.1;letter-spacing:-.7px}.yjf-total>strong span{font-size:13px;margin-left:2px}.yjf-pay-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.yjf-pay-actions button{border:1px solid #8ebddd;background:#fff;color:#216d9c;min-height:36px;border-radius:3px;font-size:11px;font-weight:700;padding:5px}.yjf-pay-actions .yjf-buy{background:#226fa5;color:#fff;border-color:#226fa5}.yjf-pay-note{font-size:9px;color:#8193a1;margin:6px 0 0;line-height:1.5}
.yjf-scope{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:12px 16px;margin:13px 0 20px;background:#f1f8fc;border:1px solid #d8e9f4;border-radius:4px;font-size:12px}.yjf-scope>strong{color:#176e9e}.yjf-scope>span{color:#52788f}.yjf-scope>small{margin-left:auto;font-size:11px;color:#65869b}
.yjf-tab-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:9px}.yjf-tab-heading h2{font-size:15px;margin:0;color:#145b85}.yjf-tab-heading p{margin:0;color:#7290a3;font-size:11px}.yjf-tabs{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));border:1px solid #d8e4ed;border-radius:4px;overflow:hidden}.yjf-tabs button{position:relative;border:0;border-right:1px solid #e1e9ef;background:#fff;min-height:62px;padding:9px 3px;color:#416478;font-weight:700;font-size:13px}.yjf-tabs button:last-child{border-right:0}.yjf-tabs button>span{display:block;color:#90a6b6;font-size:9px;font-weight:400;letter-spacing:1px;margin-bottom:2px}.yjf-tabs button[aria-selected=true]{background:#eef7fd;color:#0c74b0;box-shadow:inset 0 -3px #238bbd}.yjf-tabs button:hover{background:#f4f9fd}
.yjf-details{display:grid;grid-template-columns:minmax(0,7fr) minmax(260px,3fr);gap:28px;scroll-margin-top:20px;margin-top:21px}.yjf-panes{min-width:0}.yjf-pane-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px}.yjf-pane-title h2{font-size:24px;margin:0;letter-spacing:-.6px}.yjf-pane-title .yjf-kicker{letter-spacing:.4px;font-size:10px}.yjf-status{font-size:10px;color:#7490a2;background:#f3f7fa;border-radius:4px;padding:3px 8px;white-space:nowrap}.yjf-goal h3,.yjf-content>h3{font-size:14px;color:#176b9e;margin:0 0 9px}.yjf-goal p{padding:16px 18px;margin:0 0 22px;background:#f7fbfe;border-left:3px solid #8cc6e5;color:#48687e;font-size:15px;line-height:1.9;word-break:keep-all}.yjf-content ol{list-style:none;margin:0;padding:0}.yjf-content li{display:flex;gap:15px;padding:15px 2px;border-bottom:1px solid #e8eef3}.yjf-content li>span{display:flex;justify-content:center;align-items:center;flex:0 0 30px;height:30px;border:1px solid #dbe9f2;border-radius:5px;color:#5085a7;font-size:11px;font-weight:700;background:#f8fbfe}.yjf-content h4{font-size:14px;margin:0 0 5px;color:#254f6b}.yjf-content p{font-size:14px;line-height:1.85;color:#607d90;margin:0;word-break:keep-all}.yjf-study{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:#eaf5fd;border:1px solid #bddcf0;border-radius:4px;padding:15px;margin-top:18px;font-size:15px;font-weight:700;color:#176fa4}.yjf-study span{font-size:11px;font-weight:400}
.yjf-guide{align-self:start;border:1px solid #dce7ef;background:#fafcfe;padding:19px 21px;border-radius:4px}.yjf-guide h3{font-size:18px;margin:5px 0 17px;color:#275572;letter-spacing:-.5px}.yjf-guide ol{list-style:none;counter-reset:steps;margin:0;padding:0}.yjf-guide li{counter-increment:steps;position:relative;padding:0 0 20px 30px;line-height:1.6}.yjf-guide li:before{content:counter(steps);position:absolute;left:0;top:1px;background:#e5f1f9;width:21px;height:21px;border-radius:50%;text-align:center;font-size:11px;color:#367ca9;font-weight:700}.yjf-guide b{display:block;font-size:13px;color:#365f79}.yjf-guide li span{display:block;font-size:11px;color:#8098a8}.yjf-consult{padding-top:14px;border-top:1px solid #dce7ef}.yjf-consult small{display:block;color:#7b93a3;font-size:10px}.yjf-consult a{font-size:20px;font-weight:800;color:#2183b6;letter-spacing:.3px}.yjf-credits{margin-top:25px;border-top:1px solid #e6edf3;padding:12px 0;font-size:11px;color:#879ca9}.yjf-credits summary{cursor:pointer}.yjf-credits p{font-size:11px;line-height:1.8}.yjf-credits a{text-decoration:underline;color:#5583a1}.yjf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.yjf-hero-copy h2{font-size:26px}.yjf-hero-copy{padding:37px 22px}.yjf-top{gap:15px;grid-template-columns:minmax(0,1fr) 310px}#yjw2-water-nav .yjw2-menu-ko{font-size:14px}.yjf-heading>div>.yjf-kicker{display:none}}
@media(max-width:900px){.yjw2-page .yjw2-navgrid{grid-template-columns:1fr}.yjw2-page #yjw2-water-nav.yjw2-navleft{grid-template-columns:repeat(var(--yjw2-nav-count,6),minmax(120px,1fr));height:70px;overflow-x:auto}.yjf-top{grid-template-columns:1fr}.yjf-hero{height:340px}.yjf-payment{padding:18px}.yjf-payment fieldset{grid-template-columns:1fr 1fr}.yjf-hero-copy h2{font-size:32px}.yjf-details{grid-template-columns:1fr}.yjf-guide{margin-top:5px}.yjf-guide ol{display:flex;gap:25px}.yjf-guide li{flex:1}.yjf-consult{display:flex;gap:15px;align-items:center}.yjf-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.yjf-tabs button:nth-child(-n+4){border-bottom:1px solid #e1e9ef}.yjf-tabs button:nth-child(4n){border-right:0}}
@media(max-width:560px){.yjf{padding-top:15px}.yjf-heading h1{font-size:21px}.yjf-private{font-size:9px;padding:3px 6px}.yjf-hero{height:320px}.yjf-hero-copy{padding:29px 19px}.yjf-hero-copy h2{font-size:25px;letter-spacing:-1px}.yjf-hero-copy p{font-size:11px}.yjf-hero-copy>a{font-size:10px;margin-top:18px}.yjf-slide:after{background:linear-gradient(90deg,rgba(242,249,254,.96),rgba(238,247,254,.79) 60%,rgba(239,247,253,.25))}.yjf-controls{left:18px;gap:7px;bottom:20px}.yjf-image-note{font-size:7px;bottom:4px}.yjf-payment fieldset{grid-template-columns:1fr}.yjf-plan{min-height:59px}.yjf-pay-actions button{min-height:42px;font-size:12px}.yjf-scope{gap:4px;padding:11px 13px;margin-bottom:17px}.yjf-scope>strong,.yjf-scope>span{width:100%}.yjf-scope>small{margin-left:0}.yjf-tab-heading{display:block}.yjf-tab-heading p{font-size:10px;margin-top:3px}.yjf-tabs button{font-size:12px}.yjf-pane-title h2{font-size:22px}.yjf-goal p{font-size:14px;padding:14px}.yjf-content p{font-size:13px}.yjf-guide ol{display:block}.yjf-guide li{padding-bottom:16px}.yjf-details{gap:19px}.yjf-study{font-size:13px}}

/* Foundation tabs aligned with hero */
.yjf-curriculum{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);column-gap:22px}.yjf-curriculum>.yjf-tab-heading,.yjf-curriculum>.yjf-tabs{grid-column:1;min-width:0}.yjf-curriculum>.yjf-details{grid-column:1 / -1}
@media(max-width:1050px){.yjf-curriculum{grid-template-columns:minmax(0,1fr) 310px;column-gap:15px}}
@media(max-width:900px){.yjf-curriculum{display:block}}

/* Guide beside submenu */
@media(max-width:900px){.yjf-curriculum{display:flex;flex-direction:column}.yjf-curriculum>.yjf-guide{order:4}}
@media(min-width:901px){.yjf-curriculum>.yjf-guide{grid-column:2;grid-row:2 / span 2;align-self:start}.yjf-curriculum>.yjf-details{grid-column:1;grid-row:3;display:block}}
