[data-reclm-network],[data-reclm-network] *{box-sizing:border-box}
.rn-switch{position:relative;flex:0 0 auto;font-family:Arial,"Noto Sans KR","Noto Sans SC","Yu Gothic","Malgun Gothic",sans-serif;color:#173f35;min-width:0;z-index:240}
.rn-switch>summary{list-style:none;display:flex;gap:9px;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border:1px solid #b9c7ba;border-radius:5px;background:#f7faf5;color:#173f35;font-family:inherit;font-size:14px;line-height:1.5;font-weight:700;cursor:pointer;white-space:nowrap}
.rn-switch>summary::-webkit-details-marker{display:none}.rn-switch>summary::after{content:none!important}.rn-switch>summary:hover{background:#e8f0e6}.rn-switch[open]>summary>svg{transform:rotate(180deg)}
.rn-switch-panel{position:absolute;right:0;top:calc(100% + 10px);width:350px;max-width:calc(100vw - 28px);padding:14px;background:#fffef9;color:#173f35;border:1px solid #c2cbbd;border-radius:7px;box-shadow:0 12px 35px #18382c29;white-space:normal}
.rn-switch-title{font-size:14px!important;line-height:1.65!important;font-weight:600;margin:0!important;padding:5px 7px 12px!important;color:#4e5f58!important}
.rn-switch-panel nav{display:grid!important;gap:8px!important;overflow:visible!important;white-space:normal!important}
#rn-site-switch .rn-switch-panel a{display:grid!important;gap:7px!important;padding:15px!important;border:1px solid #d4dccf!important;border-radius:5px!important;background:#fff!important;color:#173f35!important;text-decoration:none!important;line-height:1.65!important;margin:0!important;min-width:0;white-space:normal!important}
#rn-site-switch .rn-switch-panel a:hover{background:#f2f7ef!important;border-color:#668e74!important}#rn-site-switch .rn-switch-panel a[aria-current]{background:#edf4ef!important;border-color:#9ab39c!important}
.rn-site-row{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:7px 10px;min-width:0}.rn-site-name{font-size:17px!important;font-weight:700;line-height:1.6;overflow-wrap:anywhere;min-width:130px}.rn-current{font-size:14px!important;font-weight:600;color:#355f50;line-height:1.6;flex-shrink:0}
.rn-site-role{font-size:16px!important;line-height:1.75!important;color:#4e5f58!important;font-weight:400!important;white-space:normal!important;word-break:keep-all;overflow-wrap:anywhere}.rn-domain{font-size:14px!important;color:#5d655c!important;font-weight:400;line-height:1.6}
.rn-home{--rn-ink:#173f35;--rn-line:#c6cfc0;display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(220px,.8fr);align-items:center;gap:32px;max-width:1420px;padding:30px!important;border:1px solid var(--rn-line);border-left:4px solid #8d6a34;border-radius:7px;background:#f9faf4;color:var(--rn-ink);font-family:Arial,"Noto Sans KR","Noto Sans SC","Yu Gothic","Malgun Gothic",sans-serif;clear:both}
.rn-home[data-rn-host="bridge"]{width:calc(100% - 72px);margin:40px auto!important}.rn-home[data-rn-host="khan"]{width:100%;margin:42px 0!important}
.rn-home-copy,.rn-home-action{min-width:0}.rn-eyebrow{font-size:14px!important;line-height:1.6!important;font-weight:700!important;letter-spacing:.025em;color:#70532d!important;margin:0 0 12px!important}
.rn-home h2{font-size:clamp(23px,2.2vw,31px)!important;line-height:1.55!important;letter-spacing:-.035em!important;font-weight:700!important;color:#173f35!important;margin:0 0 14px!important;text-wrap:balance}
.rn-home-body{font-size:16px!important;line-height:1.9!important;font-weight:400!important;color:#4e5f58!important;margin:0!important;word-break:keep-all;overflow-wrap:anywhere}
.rn-home-action{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding-left:28px;border-left:1px solid #c6cfc0}.rn-peer-name{font-size:20px;line-height:1.6;color:#173f35}.rn-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;margin-top:8px!important;padding:12px 18px!important;border:1px solid #173f35!important;border-radius:4px!important;background:#173f35!important;color:#fff!important;font-size:16px!important;line-height:1.6!important;font-weight:700!important;text-decoration:none!important;text-align:center;white-space:normal;overflow-wrap:anywhere}.rn-cta:hover{background:#285d48!important}
.rn-footer-nav{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 20px;width:100%;padding-top:16px;margin-top:14px;border-top:1px solid #c9cfc3;font:14px/1.7 Arial,"Noto Sans KR","Noto Sans SC","Yu Gothic","Malgun Gothic",sans-serif!important;color:#4e5f58;text-align:left}
.rn-footer-label{font-size:14px;font-weight:700;line-height:1.7}.rn-footer-nav a{font-size:14px!important;font-weight:500;color:#244d3d!important;margin:0!important;padding:5px 0!important;text-decoration:underline!important;text-underline-offset:4px}.rn-footer-nav a[aria-current]{font-weight:700}
.sb-portal-footer:has(.rn-footer-nav),footer:has(>.rn-footer-nav){flex-wrap:wrap}.rn-generated-footer{padding:20px 32px 32px;background:#f4f2e9;color:#173f35}.sb-lesson-mode .rn-generated-footer{margin-left:var(--sb-rail);padding-bottom:calc(var(--sb-bottom) + 28px)}
.rn-switch a:focus-visible,.rn-switch summary:focus-visible,.rn-home a:focus-visible,.rn-footer-nav a:focus-visible{outline:3px solid #a27836!important;outline-offset:3px!important}
#sb-primary-nav:has(>.rn-switch){flex-wrap:wrap}#sb-primary-nav>.rn-switch{flex-basis:100%}#sb-primary-nav>.rn-switch>summary{justify-content:flex-start;max-width:210px}#sb-primary-nav>.rn-switch .rn-switch-panel{position:static;width:100%;left:auto;right:auto;margin-top:10px;box-shadow:none;max-height:none}
#reclm-main-nav>.rn-switch{width:100%;grid-column:1/-1!important;justify-self:stretch;order:100}#reclm-main-nav>.rn-switch>summary{justify-content:flex-start;max-width:210px}#reclm-main-nav>.rn-switch .rn-switch-panel{position:static;width:100%;left:auto;right:auto;margin-top:10px;box-shadow:none;max-height:none}
@media(max-width:1159px){.sb-lesson-mode .rn-generated-footer{margin-left:0}}
@media(max-width:760px){.rn-home{grid-template-columns:minmax(0,1fr)!important;gap:22px;padding:22px!important}.rn-home-action{padding:20px 0 0;border-left:0;border-top:1px solid #c6cfc0;align-items:flex-start}.rn-home h2{font-size:24px!important}.rn-home .rn-cta{width:100%}.rn-switch-panel{width:min(350px,calc(100vw - 32px));max-height:65vh;overflow:auto}.rn-footer-nav{gap:8px 16px}.rn-generated-footer{padding:18px 16px 28px}}
@media(max-width:700px){.rn-home[data-rn-host="bridge"]{width:calc(100% - 32px);margin:28px auto!important}#sb-primary-nav>.rn-switch .rn-switch-panel{max-width:100%}#sb-primary-nav:has(>.rn-switch){max-height:calc(100dvh - var(--sb-header,72px));overflow-y:auto}}
@media(max-width:1360px){#reclm-main-nav>.rn-switch .rn-switch-panel{max-width:100%}#reclm-main-nav:has(>.rn-switch){max-height:calc(100dvh - var(--rn-menu-top,170px) - 12px);overflow-y:auto}}

/* Keep the approved compact navigation at every PC width. */

  html[data-reclm-network-site="khan"] body .reclm-header { grid-template-columns: auto minmax(0, 1fr); height: 70px; padding-inline: 18px; }
  html[data-reclm-network-site="khan"] body .reclm-header:has(.course-switcher) { min-height: 124px; grid-template-rows: 62px auto; }
  html[data-reclm-network-site="khan"] body .reclm-header .reclm-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 10px 18px 18px; border-bottom: 1px solid var(--ink, #151411); background: rgba(242,239,232,.99); box-shadow: 0 18px 28px rgba(21,20,17,.12); white-space: normal; }
  html[data-reclm-network-site="khan"] body .reclm-header.menu-open .reclm-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
  html[data-reclm-network-site="khan"] body .reclm-header .reclm-nav a { display: block !important; padding: 13px 10px; border-bottom: 1px solid var(--line,rgba(21,20,17,.18)); font-size: 1rem; }
  html[data-reclm-network-site="khan"] body .reclm-menu-toggle { display: block; order: 99; }
  html[data-reclm-network-site="khan"] body .reclm-header-actions { min-width: 0; }
  html[data-reclm-network-site="khan"] body .course-switcher { grid-column: 1/-1; min-width: 0; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  html[data-reclm-network-site="khan"] body .course-switcher-label, html[data-reclm-network-site="khan"] body .course-switcher button small { display: none; }
  html[data-reclm-network-site="khan"] body .course-switcher button { flex: 0 0 auto; }
  html[data-reclm-network-site="khan"] body .language-status { top: 124px !important; }
html[data-reclm-network-site="khan"] #reclm-main-nav:has(>.rn-switch){max-height:calc(100dvh - var(--rn-menu-top,170px) - 12px);overflow-y:auto}
html[data-reclm-network-site="khan"] body .reclm-header{height:auto;min-height:70px} html[data-reclm-network-site="khan"] body .reclm-header:has(.course-switcher){min-height:124px}
