/* B225 common reading rules; scoped to presentation, never customer data. */
.brand-header{gap:12px;flex-wrap:wrap}.brand-menu nav{min-width:min(290px,calc(100vw - 32px))}.brand-menu nav a{font-size:16px;min-height:44px;display:flex;align-items:center;color:#172f45}.brand-menu nav a:visited{color:#172f45}.brand-menu nav a[aria-current=page]{font-weight:800;text-decoration:underline;text-underline-offset:5px}
.ia-purpose{padding-top:24px;padding-bottom:18px;background:#172f45;border-radius:14px;padding-inline:20px;color:#fff3d8}.ia-purpose h1{font-size:clamp(25px,4vw,40px);line-height:1.45;margin:8px 0 12px;color:#fff3d8}.ia-purpose p{font-size:17px;line-height:1.75}.home-entrances{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:0!important}.home-entrances>a{height:auto!important;min-height:0!important;padding:16px!important;align-items:flex-start!important}.home-entrances .entrance-label{font-size:21px!important;line-height:1.4!important}.home-entrances .entrance-description{font-size:16px!important;line-height:1.65!important;color:#172f45!important}.home-entrances .entrance-enter{font-size:16px!important;color:#172f45!important}.entrance-copy{min-width:0}.ia-content-preview,.ia-participation-entry{padding-top:20px;padding-bottom:20px}.ia-content-preview h2,.ia-participation-entry h2{margin:0 0 8px}.ia-content-preview .home-artworks{width:100%;margin:14px 0 0}.ia-content-preview .home-artworks>summary{font-size:17px}.ia-content-preview p,.ia-participation-entry p{font-size:16px}.ia-participation-entry>a{display:inline-flex;margin:6px 12px 0 0;min-height:44px;align-items:center}.ia-retained{margin-block:16px}.ia-retained>summary{padding:12px;font-size:17px;cursor:pointer}.ia-retained .wrap{width:100%;max-width:100%}.home-saju-room{margin-top:0!important}.ia-participation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ia-participation-grid section{padding:16px;border:1px solid #bea875;border-radius:12px;background:#f8f2e5;color:#172f45}.ia-participation-grid h2{font-size:21px;margin:0 0 8px}.ia-participation-grid a{display:inline-flex;align-items:center;min-height:44px;color:#173d60;font-weight:700}.ia-next{display:flex;gap:16px;flex-wrap:wrap}.ia-next a{min-height:44px;display:inline-flex;align-items:center}
.ency-intro{padding-top:18px!important;padding-bottom:12px!important;margin-bottom:14px!important}.ency-intro h1{margin-bottom:8px}.ency-foundation{grid-column:auto!important;border:0!important;padding:0!important;margin:16px 0!important}.ency-library{padding-top:18px}.ency-index{top:12px}.ency-types{margin-bottom:10px!important}.ency-search-menu,.ency-topic-menu{margin:8px 0;border-top:1px solid #c3b38f}.ency-search-menu>summary,.ency-topic-menu>summary{min-height:44px;padding:10px 0;font-size:16px;font-weight:700;cursor:pointer}.ency-core{background:#eee6d5;border-left:4px solid #70572a;padding:14px 16px;margin-bottom:12px}.ency-core h3{font-size:16px;margin:0}.ency-hook{margin:8px 0!important;color:#172f45}.ency-reading details,.ency-library details{scroll-margin-top:18px}.ency-layout .ency-note,.ency-detail,.ency-layout .ency-return{font-size:16px!important;line-height:1.8}.ency-detail h4{font-size:17px!important}.ency-layout .ency-types button{min-height:44px}.ency-layout .ency-topics button{font-size:16px}.ency-reading .ency-title p{color:#263d4a!important}.ency-layout .ency-taste{padding:14px 16px}.ency-layout .ency-taste p{font-size:16px}.ency-layout .ency-taste h3{color:#56401e}
.brand-header a:focus-visible,.ia-participation-grid a:focus-visible,.home-entrances a:focus-visible{outline:3px solid #c68e23;outline-offset:4px}body .ia-content-preview a,body .ia-participation-entry>a:not(.button){color:#173d60}.ia-participation-grid a:visited{color:#173d60}
@media(max-width:760px){.ia-purpose{padding-top:18px}.ia-purpose h1{font-size:27px}.home-entrances{grid-template-columns:1fr!important;gap:9px!important}.home-entrances>a{display:flex!important;gap:12px!important;padding:12px 14px!important}.home-entrances .guide-avatar{width:48px!important;height:48px!important;flex:0 0 48px}.home-entrances .entrance-label{font-size:20px!important}.home-entrances .entrance-description,.home-entrances .entrance-enter{font-size:16px!important}.ia-participation-grid{grid-template-columns:1fr}.ency-layout{padding-inline:16px}.ency-title{margin-top:4px}.ency-types{grid-template-columns:repeat(4,minmax(0,1fr))}.ency-core{padding:12px}.ia-content-preview,.ia-participation-entry{padding-top:16px;padding-bottom:16px}.brand-location{font-size:16px!important}.brand-menu{position:relative}.brand-menu nav{right:0;max-width:calc(100vw - 32px)}.ia-participation-grid section{min-width:0}}

.ia-content-preview,.ia-participation-entry{background:#f8f2e5;color:#172f45;padding-inline:20px;border-radius:12px;margin-block:12px}.ia-content-preview h2,.ia-participation-entry h2{color:#172f45}.ency-search-menu>summary,.ency-topic-menu>summary{color:#172f45}.brand-menu nav a{font-size:16px!important}.brand-menu nav a:hover{color:#173d60}

/* Apply after the retained dark-theme and compact layers. */
body .brand-header{z-index:100!important;isolation:isolate}body .brand-header .brand-menu nav{background:#173240!important;border-color:#dcc18a!important;z-index:110!important}
body .brand-header .brand-menu nav a,body .brand-header .brand-menu nav a:visited{color:#f6f1e7!important;-webkit-text-fill-color:currentColor!important;font-size:16px!important;opacity:1!important}
body .brand-header .brand-menu nav a:hover,body .brand-header .brand-menu nav a[aria-current=page]{background:#294b52!important;color:#fff0c7!important}
body.nasabu-home main .home-entrances{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.premium-dark .ency-core{background:#173240!important;color:#f6f1e7!important;border-left:4px solid #dcc18a!important}
body.premium-dark .ency-core :is(p,li,b,strong,h3){color:#f6f1e7!important;-webkit-text-fill-color:currentColor!important;font-size:17px!important;line-height:1.75!important}
body.premium-dark .ia-purpose p{color:#f6f1e7!important}body.premium-dark :is(.ia-content-preview,.ia-participation-entry){background:#173240!important;color:#f6f1e7!important}
body.premium-dark :is(.ia-content-preview,.ia-participation-entry) :is(h2,p,a:not(.button)){color:#f6f1e7!important;-webkit-text-fill-color:currentColor!important}
@media(max-width:760px){body.nasabu-home main .home-entrances{grid-template-columns:1fr!important}body.nasabu-home main .home-entrances>a{grid-template-columns:48px minmax(0,1fr)!important}body.nasabu-home main .home-entrances>a>.guide-avatar{width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important}body.premium-dark .ency-core :is(p,li,b,strong,h3){font-size:16px!important}}

/* Saju retains its logo and local shortcuts alongside the shared menu. */
body.neowana-site .neowana-header{position:relative;z-index:100;isolation:isolate;flex-wrap:wrap}
body.neowana-site .neowana-header>.brand-menu{margin-left:auto}
body.neowana-site .neowana-header>.brand-menu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#173240!important;border-color:#dcc18a;z-index:110;max-width:calc(100vw - 32px)}
body.neowana-site .neowana-header>.brand-menu nav a,body.neowana-site .neowana-header>.brand-menu nav a:visited{color:#f6f1e7!important;-webkit-text-fill-color:currentColor!important;background:transparent!important;font-size:16px!important;opacity:1!important}
body.neowana-site .neowana-header>.brand-menu nav a:hover{background:#294b52!important}
@media(max-width:600px){body.neowana-site .neowana-header>.brand-menu{margin-left:0}body.neowana-site .neowana-header>nav :is(a,button){font-size:14px!important;min-height:44px!important}}

/* Scoped palace-inspired presentation; original assets and interactions remain. */
body:has(.saju-guide){background:radial-gradient(ellipse at top,#38252b,#151c21 70%)!important;color:#f6eddb!important}
body:has(.saju-guide) .info-main{max-width:1120px;width:min(1120px,calc(100% - 24px))!important;margin:12px auto!important}
body:has(.saju-guide) .saju-room{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;align-items:center!important;gap:20px!important;padding:20px!important;margin:0 0 12px!important;min-height:0!important;height:auto!important;border:1px solid #c9a66b!important;border-radius:16px!important;background:linear-gradient(145deg,#3a2028,#172b32)!important;box-shadow:inset 0 0 0 5px #dcc18a0b!important;color:#f6eddb!important}
body:has(.saju-guide) .saju-room-copy{min-width:0;text-align:center!important}
body:has(.saju-guide) .saju-room-sign{background:none!important;border:0!important;padding:0!important;margin:8px 0!important;box-shadow:none!important}
body:has(.saju-guide) #saju-room-title{color:#ebcc94!important;font-size:clamp(30px,4vw,44px)!important;line-height:1.3!important;letter-spacing:0!important;margin:0!important}
body:has(.saju-guide) .saju-brand-neowana{color:#ebcc94!important;-webkit-text-fill-color:currentColor!important}
body:has(.saju-guide) .saju-room :is(p,a,span){opacity:1!important}
body:has(.saju-guide) .saju-room :is(.saju-room-greeting,.saju-room-subtitle,.saju-room-slogan){color:#f6eddb!important;font-size:18px!important;line-height:1.55!important;margin:8px 0!important}
body:has(.saju-guide) .saju-room :is(.saju-room-status,.saju-room-kicker){color:#e1d6c1!important;font-size:16px!important;line-height:1.55!important}
body:has(.saju-guide) .neowana-official-logo{margin:0 auto 8px!important}
body:has(.saju-guide) .neowana-official-logo img{width:min(180px,100%)!important;height:auto!important}
body:has(.saju-guide) .hyemyeong-welcome{display:block!important;position:relative!important;width:100%!important;max-width:420px!important;min-width:0!important;margin:0 auto!important;align-self:center!important}
/* Show the welcome/portrait area; decorative floor artwork is not a teaching diagram. */
body:has(.saju-guide) .hyemyeong-welcome img{display:block!important;position:static!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:center top!important;border:1px solid #c9a66b!important;border-radius:12px!important;max-height:none!important;transform:none!important}
body:has(.saju-guide) .hyemyeong-welcome .saju-room-portrait-label{position:static!important;display:block!important;color:#ebcc94!important;font-size:17px!important;line-height:1.5!important;padding:6px 0!important;text-align:center!important;background:none!important}
body:has(.saju-guide) :is(.saju-room-front-actions,.hyemyeong-field-actions){display:flex!important;justify-content:center;flex-wrap:wrap;gap:8px!important;margin:12px 0!important}
body:has(.saju-guide) :is(.saju-room-front-actions,.hyemyeong-field-actions) a{display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;min-height:44px!important;padding:9px 12px!important;border:1px solid #c9a66b;border-radius:8px;color:#f6eddb;font-size:17px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere}
body:has(.saju-guide) .saju-room-enter,body:has(.saju-guide) .hyemyeong-field-actions .gold{background:#dcc18a!important;color:#102b3a!important;-webkit-text-fill-color:currentColor!important}
body:has(.saju-guide) .hyemyeong-fields{padding:16px!important;margin:12px 0!important;border:1px solid #c9a66b66;border-radius:12px;background:#172b32!important;color:#f6eddb!important;min-width:0}
.hyemyeong-fields h2{font-size:26px!important;color:#ebcc94!important;line-height:1.35!important;margin:4px 0 8px!important}
.hyemyeong-fields p{font-size:17px!important;line-height:1.55!important;margin:6px 0!important;color:#f6eddb!important}
.hyemyeong-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.hyemyeong-field-grid article{min-width:0;height:auto;padding:12px;border:1px solid #c9a66b55;border-radius:8px;background:#20353d}
.hyemyeong-field-grid h3{font-size:19px!important;line-height:1.4!important;color:#ebcc94!important;margin:0 0 4px!important}
.hyemyeong-ready{display:inline-block;font-size:16px;line-height:1.5;color:#e1d6c1;border-bottom:1px solid #c9a66b66;padding:2px 0}
@media(max-width:760px){body:has(.saju-guide) .saju-room{grid-template-columns:minmax(0,1fr)!important;padding:14px!important;gap:12px!important}.hyemyeong-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.saju-guide) .hyemyeong-welcome{max-width:340px!important}body:has(.saju-guide) .neowana-official-logo img{width:132px!important}}
@media(max-width:480px){.hyemyeong-field-grid{grid-template-columns:minmax(0,1fr)}body:has(.saju-guide) .saju-room-front-actions a{width:100%}body:has(.saju-guide) .hyemyeong-fields{padding:12px!important}}
body.hyemyeong-site .neowana-header{position:relative;max-width:1120px;width:calc(100% - 24px);padding:12px 0;gap:12px}
body.hyemyeong-site .neowana-brand>.saju-brand{display:inline-flex;width:auto;height:auto;border:0;border-radius:0;font:inherit}
body:has(.saju-guide) .hyemyeong-welcome .saju-room-portrait-label{transform:none!important;white-space:normal!important;border:0!important}
body:has(.saju-guide) #saju-room-title :is(.saju-brand,.saju-brand-name,.saju-brand-neowana){font-size:inherit!important;font-weight:800!important;line-height:inherit!important}
body.hyemyeong-site .neowana-header>nav{display:flex;flex-wrap:wrap;gap:6px}
body.hyemyeong-site .neowana-header>nav :is(a,button){min-height:44px;font-size:16px!important;padding:8px 10px}
/* The central approved chart remains; the heading does not repeat its icon. */
body.premium-dark:has(.saju-guide) #saju-room-title .official-room-brand > img.saju-brand-logo{display:none!important}

/* One containing block and normal-flow expansion for both public headers. */
html body :is(.brand-header,.neowana-header){display:flex!important;flex-wrap:wrap!important;align-items:center!important;position:relative!important;width:min(1140px,calc(100% - 24px))!important;max-width:1140px!important;min-width:0!important;box-sizing:border-box!important;padding:12px 0!important;margin-inline:auto!important;gap:12px!important;z-index:5!important;isolation:auto!important}
html body :is(.brand-header,.neowana-header)>:is(.brand-home,.neowana-brand){order:0;flex:1 1 0!important;min-width:0!important;max-width:calc(100% - 120px)!important;min-height:52px!important;white-space:normal!important;word-break:keep-all;overflow-wrap:normal;text-decoration:none}
html body .brand-home>span:last-child{display:block;min-width:0;max-width:100%;white-space:nowrap}
html body .brand-home .official-home-label{display:block}
html body .brand-home .official-home-label{font-size:14px!important;line-height:1.4!important;white-space:nowrap}
html body .neowana-brand>.saju-brand{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:auto!important;max-width:100%;border:0!important;border-radius:0!important;flex:none}
html body :is(.brand-header,.neowana-header)>.brand-location{order:2;flex:0 0 100%;margin:0!important;padding:0!important;text-align:left}
html body :is(.brand-header,.neowana-header)>.brand-menu{order:1;position:static!important;flex:0 0 108px!important;width:108px!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box}
html body :is(.brand-header,.neowana-header)>.brand-menu>summary{display:flex!important;align-items:center;justify-content:center;width:108px!important;min-height:52px!important;padding:12px!important;margin:0!important;box-sizing:border-box;white-space:nowrap!important;word-break:keep-all!important;font-size:18px!important;line-height:1.4!important;list-style:none}
html body :is(.brand-header,.neowana-header)>.brand-menu[open]{order:3;flex:0 0 100%!important;width:100%!important}
html body :is(.brand-header,.neowana-header)>.brand-menu[open]>summary{position:static!important;margin-left:auto!important;margin-bottom:12px!important}
html body :is(.brand-header,.neowana-header)>.brand-menu>nav{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:min(600px,100%)!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0 0 0 auto!important;padding:12px!important;gap:12px!important;box-sizing:border-box!important;z-index:auto!important;box-shadow:none!important;overflow:visible!important}
html body :is(.brand-header,.neowana-header)>.brand-menu:not([open])>nav{display:none!important}
html body :is(.brand-header,.neowana-header)>.brand-menu>nav>a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:52px!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px!important;font-size:18px!important;line-height:1.4!important;writing-mode:horizontal-tb!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;text-align:left!important}
html body :is(.brand-header,.neowana-header)>.public-account{order:4;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:12px!important;align-items:stretch!important;margin:0!important;box-sizing:border-box}
html body :is(.brand-header,.neowana-header)>.public-account>:is(a,button){width:100%!important;min-width:0!important;max-width:100%!important;min-height:52px!important;margin:0!important;padding:10px 8px!important;box-sizing:border-box!important;font-size:17px!important;line-height:1.4!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
html body :is(.brand-header,.neowana-header)>.public-account>[role="status"]{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
html body .public-account>[role="status"]:empty{display:none}
html body .neowana-header>nav{order:4;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;gap:12px!important;padding:0!important;margin:0!important;box-sizing:border-box}
html body .neowana-header>nav>:is(a,button){width:100%!important;min-width:0!important;min-height:52px!important;padding:10px!important;box-sizing:border-box!important;font-size:17px!important;line-height:1.4!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
 html body :is(.brand-header,.neowana-header)>.brand-menu>nav{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 html body .neowana-header{flex-direction:row!important}
 html body .neowana-header>nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body .neowana-header>nav>:last-child:nth-child(odd){grid-column:1/-1}
}
