/* Layouts share the approved home tokens and its content edges. */
html.main-b.sub-b{--ilgwan-white:#fff;--ilgwan-paper:#fff;--ilgwan-muted:var(--muted);--ilgwan-line:var(--line);--ilgwan-navy:var(--ink);--ilgwan-gold:var(--blue);--ilgwan-footer-bg:#fff}
.sub-b .rn{--rn-surface:#fff;--rn-surface-alt:#fff;--rn-on-dark:var(--ink);--rn-on-dark-soft:var(--muted);--rn-on-dark-muted:var(--muted)}
.sub-b main{background:white}
.sub-b main section[class*="bg-[var(--ilgwan-navy)]"],.sub-b main section[class*="bg-[var(--ilgwan-night)]"],.sub-b main :is(.b-form-heading,.b-editorial-head,.pcr-hero,.rn-sec,.b-context,.pcr-closing,.am-journey,.sysp-self){background:white!important;color:var(--ink);border-color:var(--line)}
.sub-b .b-editorial-head,.sub-b .pcr-hero{border-bottom:2px solid var(--ink)}
.sub-b .b-editorial-head .b-head-frame,.sub-b .b-editorial-head>div:not([aria-hidden]){max-width:calc(var(--frame) + 2 * var(--gutter));margin-inline:auto;padding:18px var(--gutter) 22px!important}
.sub-b .pcr-hero__in{padding-block:20px!important;gap:clamp(16px,3vw,40px)}
.sub-b .pcr-hero__photo{opacity:.12;pointer-events:none}
.sub-b .b-consult-hero .b-consult-photo{border-radius:5px;aspect-ratio:2.1}
.sub-b .b-consult-hero .cnsp-quote{border-radius:4px;box-shadow:none;border-left:3px solid var(--blue)}
.sub-b main [data-b-hero] h1{font-family:Ilgwan,sans-serif!important;letter-spacing:-.05em;line-height:1.15;font-size:clamp(31px,3.5vw,50px);margin-block:5px 7px}
.sub-b [data-b-hero-title]::after{background:var(--blue);height:2px;margin-top:9px}
.sub-b [data-family="admission"] [data-b-hero-title]::after,.sub-b [data-family="preregister"] [data-b-hero-title]::after{background:var(--wine)}
.sub-b main .route-path{display:flex;align-items:center;justify-content:inherit;gap:8px;min-height:22px;font:600 14px/1.4 Ilgwan,sans-serif;color:var(--muted);margin-bottom:4px}
.sub-b .route-path>*+*::before{content:"/";display:inline-block;margin-right:8px;color:#657080}.sub-b .route-path a{color:var(--blue)!important;text-decoration:underline;text-underline-offset:3px}
.sub-b .section-index{max-width:calc(var(--frame) + 2 * var(--gutter));margin:auto;padding:10px var(--gutter);display:flex;gap:4px 12px;flex-wrap:wrap;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid var(--line)}
.sub-b .section-index a{display:inline-flex;align-items:center;min-height:32px;font-size:clamp(16px,1.15vw,18px);line-height:1.5;font-weight:620;color:var(--blue);white-space:nowrap;text-underline-offset:4px}
.sub-b .section-index a:hover,.sub-b .section-index a:focus-visible{text-decoration:underline}
.sub-b .section-index a[aria-current="location"]{text-decoration-line:underline;text-decoration-thickness:2px;text-decoration-color:currentColor;text-underline-offset:.35em}
.sub-b .section-index{position:sticky;top:var(--anchor-top,64px);z-index:30;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
.sub-b [data-indexed]{scroll-margin-top:80px}
.sub-b .b-context{max-width:var(--frame);background:white;border-block:2px solid var(--ink);border-radius:0;margin:18px auto;padding:16px var(--gutter)}
.sub-b .b-quick a,.sub-b .rn-btn{border-radius:4px;border-color:var(--blue)}.sub-b .b-priority a,.sub-b [data-family=admission] .b-quick a:first-child{background:var(--wine);border-color:var(--wine);color:white!important}
.sub-b .rn-card,.sub-b main article[class*=rounded],.sub-b main [class*="rounded-"][class*="border"]{border-radius:5px;box-shadow:none}.sub-b .rn-card{border:1px solid var(--line)}
.sub-b .rn-table,.sub-b main [class*=overflow-x-auto]:has(table){max-width:100%;overflow-x:auto}
.sub-b main table{font-variant-numeric:tabular-nums}.sub-b main table :is(th,td){border-color:var(--line);line-height:1.45}.sub-b main table th{font-weight:700}
.sub-b .rn-sec{padding-block:22px}.sub-b .am-section-frame{padding-top:18px!important;padding-bottom:18px!important}
.sub-b main :is(.rn-goldtext,.pcr-goldtext){background:none;color:var(--blue);-webkit-text-fill-color:var(--blue)}
.sub-b .b-form-heading,.sub-b [data-layout=apply] main>section:has(form){padding-top:14px!important;padding-bottom:15px!important}
.sub-b [data-layout=apply] main form{gap:16px}.sub-b [data-layout=apply] .route-path{justify-content:center}
.sub-b [data-layout=apply] :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea){background:white;color:var(--ink);border:1px solid #8894a1;border-radius:4px;line-height:1.45}
.sub-b [data-layout=apply] form button[type=submit]{background:var(--wine);color:white;border-radius:4px}
.sub-b [data-layout=apply] label{color:var(--ink)}.sub-b .b-consent{padding:12px;border-radius:4px}
.sub-b [data-layout=reading] main article{line-height:1.65}.sub-b [data-layout=listing] main section:has(form){border-bottom:1px solid var(--line)}
.sub-b [data-family=consulting] .jeongsi27 .hero{background:white!important}.sub-b .jeongsi27 .hero .wrap{min-height:0;padding-block:24px}
.sub-b .jeongsi27 :is(.plans,.methods,.flow,.finalcall,.contact){padding-block:clamp(20px,3vw,38px);background:white!important;border-top:1px solid var(--line)}
.sub-b main .original-frame{position:relative;overflow:hidden;aspect-ratio:16/9}
.sub-b main .rn-checks svg{width:24px;height:24px;flex:none}
.sub-b .rn-checks li{align-items:center}.sub-b .rn-step__no,.sub-b .rn-week__no,.sub-b .rn-reasons10 li>span:first-child{display:inline-grid;align-self:center;place-items:center;width:34px;height:34px;padding:0;line-height:1;font-variant-numeric:tabular-nums}
.sub-b .rn-reasons10 li{grid-template-columns:34px minmax(0,1fr);align-items:center}
.sub-b main :focus-visible{outline-color:var(--blue)!important}
@media(max-width:800px){.sub-b .section-index{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:var(--gutter);padding-block:3px}.sub-b .section-index a{white-space:nowrap;min-height:44px}.sub-b .b-context{margin-inline:var(--gutter);padding-inline:0}.sub-b .b-bar summary,.sub-b .b-toggle{min-height:44px}}
@media(prefers-reduced-motion:no-preference) and (pointer:fine){.sub-b .rn-cardwrap:has(a) .rn-card{transition:transform .18s ease-out,border-color .18s}.sub-b .rn-cardwrap:hover .rn-card{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));border-color:var(--blue)}}
.sub-b .edition-head{background:white;border-bottom:2px solid var(--ink);color:var(--ink)}
.sub-b .edition-inner{display:grid;align-items:center;max-width:calc(var(--frame) + 2*var(--gutter));padding:18px var(--gutter);margin:auto}
.sub-b .edition-inner:has(figure){grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px}
.sub-b .edition-copy{display:grid;gap:5px;min-width:0}
.sub-b .edition-copy h1{color:var(--ink);font-weight:760}
.sub-b .edition-copy p{margin:3px 0;color:var(--muted);font-size:16px;line-height:1.5}
.sub-b .edition-copy>p:first-child{font-size:14px;font-weight:700;color:var(--wine)}
.sub-b .edition-copy a{color:var(--blue);text-underline-offset:3px}
.sub-b .edition-copy .route-path{justify-content:flex-start}.sub-b .edition-copy .route-path span{color:var(--muted)}
.sub-b .edition-photo{margin:0;height:clamp(140px,15vw,220px);overflow:hidden;border-radius:4px}
.sub-b .edition-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sub-b [data-family=director] .edition-photo img{object-position:50% 24%;object-fit:contain}
.sub-b .paper-cell{background:#fff!important;border:1px solid var(--line);color:var(--ink)!important}
.sub-b .paper-cell :is(span,p,b,h2,h3,dt,dd){color:var(--ink)!important}
.sub-b .paper-cell :is(dt,small){color:var(--blue)!important}
.sub-b [data-family=facility] main .b-form-heading{padding-block:12px!important}
.sub-b footer .fixed>div{background:white;border-top:1px solid var(--line)}.sub-b footer .fixed a,.sub-b footer .fixed a span{background:var(--blue);color:white!important}
@media(max-width:640px){.sub-b .edition-inner:has(figure){grid-template-columns:1fr;gap:10px}.sub-b .edition-photo{height:125px}.sub-b .edition-inner{padding-block:14px}}
.sub-b main .consult-32849-card p{background:white!important;color:var(--ink)!important;border-top:1px solid var(--line);padding:8px 10px}
/* anchor-42395:begin -- page section menu (nav.section-index) rework to references anchor_menu_1/2: white band, blue labels, centred rows; one swipe row at 1024px and below. Needs the anchor-2105 rules above and the anchor-2105 block in review.js. */
html.sub-b nav.section-index.section-index{--ax-ink:#204fa1;--ax-line:#e4e8ef;--ax-pad:6px;--ax-edge:max(var(--gutter,18px),18px);--ax-fade:min(16px,calc(var(--ax-edge) - var(--ax-pad)));max-width:none;margin:0;padding:10px max(calc(var(--ax-edge) - var(--ax-pad)),calc((100% - var(--frame,1240px))/2 - var(--ax-pad)));display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 0;background:#fff;border:0;border-bottom:1px solid var(--ax-line);overflow:visible}
html.sub-b nav.section-index.section-index a{position:relative;flex:none;display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0 var(--ax-pad);font-family:Ilgwan,"Malgun Gothic",sans-serif;font-size:16px;line-height:1.5;font-weight:620;letter-spacing:0;color:var(--ax-ink);white-space:nowrap;text-decoration:none;border-radius:4px;transition:none;-webkit-tap-highlight-color:transparent}
html.sub-b nav.section-index.section-index a::after{content:"";position:absolute;left:var(--ax-pad);right:var(--ax-pad);bottom:1px;height:2px;border-radius:1px;background:currentColor;opacity:0;transform:scaleX(.5);pointer-events:none}
html.sub-b nav.section-index.section-index a:is(:hover,:focus-visible,[aria-current]){text-decoration:none}
html.sub-b nav.section-index.section-index a[aria-current="location"]::after{opacity:1;transform:none}
html.sub-b nav.section-index.section-index a:focus-visible{outline:2px solid var(--ax-ink);outline-offset:0}
@media(hover:hover){html.sub-b nav.section-index.section-index a:hover:not([aria-current])::after{opacity:.38;transform:none}}
@media(prefers-reduced-motion:no-preference){html.sub-b nav.section-index.section-index a::after{transition:opacity .18s ease,transform .18s ease}}
@media(max-width:1024px){html.sub-b nav.section-index.section-index{flex-wrap:nowrap;justify-content:flex-start;padding:2px 0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-padding-inline:var(--ax-fade);scrollbar-width:none;-ms-overflow-style:none}
html.sub-b nav.section-index.section-index::-webkit-scrollbar{display:none}
html.sub-b nav.section-index.section-index::before,html.sub-b nav.section-index.section-index::after{content:"";position:sticky;z-index:1;flex:none;align-self:stretch;width:var(--ax-fade);pointer-events:none}
html.sub-b nav.section-index.section-index::before{left:0;margin-right:calc(var(--ax-edge) - var(--ax-pad) - var(--ax-fade));background:linear-gradient(90deg,#fff 25%,rgba(255,255,255,0))}
html.sub-b nav.section-index.section-index::after{right:0;margin-left:calc(var(--ax-edge) - var(--ax-pad) - var(--ax-fade));background:linear-gradient(270deg,#fff 25%,rgba(255,255,255,0))}
html.sub-b nav.section-index.section-index a{min-height:44px}
html.sub-b nav.section-index.section-index a::after{bottom:7px}
html.sub-b nav.section-index.section-index a:focus-visible{outline-offset:-2px}
html.sub-b nav.section-index.section-index a:first-of-type{margin-left:auto}
html.sub-b nav.section-index.section-index a:last-of-type{margin-right:auto}}
/* anchor-42395:end */
/* anchor-chip-1127:begin -- page section menu (nav.section-index) restyle: tinted band + rounded chip buttons, filled chip for the current section. Sits after the anchor-42395 block and only overrides its look; markup and review.js unchanged. */
html.sub-b nav.section-index.section-index{--ax-pad:8px;--ax-band:#f3f6fb;--ax-chip-line:#d2dbeb;gap:8px;padding-block:12px;background:var(--ax-band);box-shadow:0 0 0 100vmax var(--ax-band)}
html.sub-b nav.section-index.section-index a{min-height:38px;padding:0 16px;font-size:15px;line-height:1.3;font-weight:600;color:var(--ax-ink);background:#fff;border:1px solid var(--ax-chip-line);border-radius:999px;box-shadow:0 1px 2px rgba(22,44,92,.06)}
html.sub-b nav.section-index.section-index a::after{display:none}
html.sub-b nav.section-index.section-index a[aria-current="location"]{color:#fff;background:var(--ax-ink);border-color:var(--ax-ink);box-shadow:0 2px 6px rgba(32,79,161,.28)}
html.sub-b nav.section-index.section-index a:focus-visible{outline:2px solid var(--ax-ink);outline-offset:2px}
@media(hover:hover){html.sub-b nav.section-index.section-index a:hover:not([aria-current]){background:#e9effa;border-color:var(--ax-ink)}}
@media(prefers-reduced-motion:no-preference){html.sub-b nav.section-index.section-index a{transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}}
@media(max-width:1024px){html.sub-b nav.section-index.section-index{padding-block:8px}
html.sub-b nav.section-index.section-index::before{background:linear-gradient(90deg,var(--ax-band) 25%,rgba(243,246,251,0))}
html.sub-b nav.section-index.section-index::after{background:linear-gradient(270deg,var(--ax-band) 25%,rgba(243,246,251,0))}
html.sub-b nav.section-index.section-index a{min-height:40px;padding:0 14px;font-size:14.5px}
html.sub-b nav.section-index.section-index a:focus-visible{outline-offset:-2px}
html.sub-b nav.section-index.section-index a[aria-current="location"]:focus-visible{outline-color:#fff}}
/* step cards (ol.pcr-flow) with the number-flow highlight: the highlight frame hugged the last text line on wide screens, give it the same room below as above */
@media(min-width:1100px){html.sub-b ol.pcr-flow>li[data-nf-item]{padding-bottom:22px}}
/* anchor-chip-1127:end */
