/* Final, palace-only overrides. Native navigation and disclosures remain intact. */
html body.hyemyeong-site main{max-width:860px;margin:0 auto;padding:12px!important;box-sizing:border-box}
html body.hyemyeong-site .palace-first-services{padding:0!important;margin:0 0 16px!important;background:none;border:0}
html body.hyemyeong-site .palace-first-services h1{font-size:25px!important;line-height:1.35;margin:6px 0!important;color:#f8ead0!important}
html body.hyemyeong-site .palace-first-services p{font-size:14px!important;line-height:1.5;margin:6px 0 12px!important;color:#e1d6c0!important}
html body.hyemyeong-site .saju-menu-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body.hyemyeong-site .saju-menu-grid a{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:64px;padding:10px 12px;box-sizing:border-box;border:1px solid #ad9665;border-radius:9px;background:#203b4a;color:#f8ead0!important;font-size:17px!important;line-height:1.4;text-decoration:none;touch-action:manipulation}
html body.hyemyeong-site .saju-menu-grid small{font-size:12px!important;color:#dcc18a}
html body.hyemyeong-site .saju-menu-grid a[aria-current=true]{background:#355564;outline:2px solid #dcc18a}
html body.hyemyeong-site :is(.palace-input-stage,#saju-result-stage,.palace-bottom){margin:12px 0!important;padding:12px!important;border:1px solid #8e774c;border-radius:9px;background:#172f40;min-width:0}
html body.hyemyeong-site :is(.palace-input-stage,#saju-result-stage,.palace-bottom) h2{font-size:19px!important;line-height:1.4;margin:0 0 8px!important;color:#edd6a0!important}
html body.hyemyeong-site :is(.palace-input-stage,#saju-result-stage,.palace-bottom) p{font-size:15px!important;line-height:1.55;margin:6px 0!important;color:#f4eadd!important}
html body.hyemyeong-site [data-saju-application]{margin-top:12px}
html body.hyemyeong-site [data-saju-application] legend{color:#edd6a0}
html body.hyemyeong-site [data-saju-application] fieldset{padding:0;margin:0 0 14px;border:0;min-width:0}
html body.hyemyeong-site [data-saju-application] label{font-size:15px;line-height:1.5;color:#f4eadd}
html body.hyemyeong-site [data-saju-application] button,.palace-chat-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #d9b875;border-radius:8px;background:#dcc18a;color:#142d3d!important;font-size:16px!important;font-weight:700;text-decoration:none;box-sizing:border-box;touch-action:manipulation}
html body.hyemyeong-site [data-saju-preview]{padding:12px;border:1px solid #8e774c;border-radius:8px}
html body.hyemyeong-site [data-saju-preview] dl{display:grid;grid-template-columns:80px 1fr;gap:6px}html body.hyemyeong-site [data-saju-preview] dd{margin:0}
html body.hyemyeong-site .palace-additional-guide{margin:12px 0;border:1px solid #8e774c;border-radius:9px;padding:0 12px}
html body.hyemyeong-site summary{min-height:44px;box-sizing:border-box;padding:10px 0;line-height:1.5;font-size:16px!important;color:#edd6a0}
html body.hyemyeong-site .palace-bottom .palace-about{margin:0 0 12px!important;border:0;border-bottom:1px solid #8e774c;border-radius:0}
html body.hyemyeong-site .palace-bottom small{font-size:13px!important;line-height:1.5;color:#e1d6c0}
html body.hyemyeong-site .palace-bottom a:not(.palace-chat-button){color:#edd6a0!important}
html body.hyemyeong-site :is(form,fieldset,div)[hidden]{display:none!important}
@media(max-width:430px){html body.hyemyeong-site .saju-input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html body.hyemyeong-site main{padding:10px!important}html body.hyemyeong-site .saju-input-grid input,html body.hyemyeong-site .saju-input-grid select{font-size:15px;padding:6px;min-height:44px}}
html body.hyemyeong-site .palace-welcome{display:flex;align-items:center;gap:10px;padding:4px 0 8px;margin:0 0 4px;min-width:0}
html body.hyemyeong-site .palace-welcome img{display:block;flex:0 0 auto;width:151px;height:auto;max-width:42%;object-fit:contain;border-radius:9px}
html body.hyemyeong-site .palace-welcome>div{min-width:0;flex:1}
html body.hyemyeong-site .palace-welcome h2{margin:0 0 6px!important;font-size:23px!important;line-height:1.35;color:#f8ead0!important;word-break:keep-all}
html body.hyemyeong-site .palace-welcome p{margin:4px 0!important;font-size:15px!important;line-height:1.5;color:#f4eadd!important;word-break:keep-all}
html body.hyemyeong-site .palace-welcome small{font-size:10px!important;white-space:nowrap;color:#dcc18a}
html body.hyemyeong-site .welcome-together{font-weight:700}
html body.hyemyeong-site .birth-date-selects,html body.hyemyeong-site .birth-time-selects{display:grid;gap:8px;margin:10px 0;min-width:0}
html body.hyemyeong-site .birth-date-selects{grid-template-columns:1.2fr 1fr 1fr}
html body.hyemyeong-site .birth-time-selects{grid-template-columns:1fr 1fr}
html body.hyemyeong-site :is(.birth-date-selects,.birth-time-selects) label{display:flex;flex-direction:column;gap:5px;min-width:0}
html body.hyemyeong-site [data-saju-application] select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:6px;border:1px solid #ad9665;border-radius:7px;font:inherit;font-size:15px;background:#fffcf5;color:#25394b}
html body.hyemyeong-site [data-leap-note]{display:block;font-size:13px;line-height:1.5;margin-top:4px}
@media(max-width:370px){html body.hyemyeong-site .palace-welcome{gap:8px}html body.hyemyeong-site .palace-welcome img{width:130px}html body.hyemyeong-site .palace-welcome h2{font-size:21px!important}html body.hyemyeong-site .palace-welcome p{font-size:14px!important}}
html body.hyemyeong-site .birth-year-range{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:14px;line-height:1.4}
html body.hyemyeong-site .birth-year-range select{width:auto;flex:1;max-width:190px}
html body.hyemyeong-site [data-saju-application] select{font-size:16px;min-height:48px}
html body.hyemyeong-site .saju-check{min-height:44px;align-items:center}html body.hyemyeong-site .saju-check input{width:22px;height:22px;margin:0;flex:none}
html body.hyemyeong-site .saju-action-status{display:block;margin:6px 0;font-size:13px;line-height:1.5;color:#e1d6c0}

/* Immediate full-width channel entry directly below the preserved introduction. */
html body.hyemyeong-site .palace-bottom .palace-question-button{display:flex;width:100%;max-width:none;min-height:54px;margin:12px 0 8px;padding:12px 16px;background:#dcc18a!important;border:1px solid #d9b875;color:#142d3d!important;font-size:19px!important;line-height:1.4;border-radius:9px;text-align:center;touch-action:manipulation}
html body.hyemyeong-site .palace-counsel-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html body.hyemyeong-site .palace-question-button:focus-visible{outline:3px solid #f8ead0;outline-offset:3px}
/* Supplier catalog: grouped, with native same-tab navigation and no personal data forwarding. */
html body.hyemyeong-site .mosa-product-group{margin:10px 0 12px;padding:0;border:0;background:none;min-width:0}
html body.hyemyeong-site .mosa-product-group h2{font-size:17px!important;line-height:1.4;margin:0 0 7px!important;color:#dcc18a!important}
html body.hyemyeong-site .saju-menu-grid strong{font-size:inherit;font-weight:700;overflow-wrap:anywhere}
html body.hyemyeong-site .mosa-product-pending{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:64px;padding:10px 12px;box-sizing:border-box;border:1px solid #8e774c;border-radius:9px;background:#263743;color:#e1d6c0;font-size:17px;line-height:1.4;min-width:0}
html body.hyemyeong-site .mosa-order-note{font-size:14px!important;line-height:1.55}

/* Compact management buttons, preserving distinct voucher and activity screens. */
html body.hyemyeong-site main :is(.palace-review-entry,.palace-auxiliary){display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px;padding:0!important;margin:8px 0!important;border:0!important;background:none!important;}
html body.hyemyeong-site main :is(.palace-review-entry,.palace-auxiliary)>:is(a,button),html body.hyemyeong-site .palace-bottom .palace-about>summary,html body.hyemyeong-site .palace-bottom .palace-question-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:100%;min-height:50px;margin:0!important;padding:10px 14px!important;border:1px solid #ad9665;border-radius:8px;background:#203b4a;color:#f8ead0!important;-webkit-text-fill-color:currentColor!important;font:inherit;font-size:18px!important;line-height:1.5!important;text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer;}
html body.hyemyeong-site .palace-bottom{border:0!important;background:none!important;padding:0!important;margin:8px 0!important;}
html body.hyemyeong-site .palace-bottom .palace-about{border:0!important;margin:0 0 8px!important;padding:0!important;}
html body.hyemyeong-site .palace-bottom .palace-about>summary{list-style:none;}
html body.hyemyeong-site .palace-bottom .palace-about>summary::-webkit-details-marker{display:none;}
html body.hyemyeong-site .palace-bottom .palace-about[open]>.saju-guide{padding:12px 0;}
html body.hyemyeong-site .palace-bottom .palace-question-button{background:#dcc18a!important;color:#142d3d!important;}
html body.hyemyeong-site .palace-bottom-counsel{border:0!important;background:none!important;padding:0!important;}

html body.hyemyeong-site .saju-menu-grid>:is(a,.mosa-product-pending){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:keep-all;}

/* Only this page uses compact legal text instead of the shared large cards. */
html body.hyemyeong-site footer.palace-compact-footer.site-footer.wrap{display:block!important;width:calc(100% - 24px)!important;max-width:860px!important;margin:12px auto 0!important;padding:12px 0!important;border-top:1px solid #ad966566;}
html body.hyemyeong-site footer.palace-compact-footer :is(p,a,summary){font-size:14px!important;line-height:1.5!important;}
html body.hyemyeong-site footer.palace-compact-footer .footer-menu{display:flex!important;flex-wrap:wrap!important;gap:0 14px!important;grid-template-columns:none!important;grid-auto-rows:auto!important;border:0!important;padding:0!important;}
html body.hyemyeong-site footer.palace-compact-footer .footer-menu>a{display:inline-flex!important;align-items:center!important;width:auto!important;min-width:0!important;min-height:44px!important;height:auto!important;margin:0!important;padding:6px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#e1d6c0!important;-webkit-text-fill-color:currentColor!important;font-weight:400!important;text-decoration:underline!important;text-align:left!important;}
html body.hyemyeong-site footer.palace-compact-footer .footer-menu>a:where(:hover,:active,:focus-visible){background:none!important;color:#f8ead0!important;}
html body.hyemyeong-site footer.palace-compact-footer .palace-footer-notice{margin:0 0 6px!important;padding:0!important;border:0!important;background:none!important;}
html body.hyemyeong-site footer.palace-compact-footer .palace-footer-notice>summary{min-height:44px!important;padding:8px 0!important;cursor:pointer;}
html body.hyemyeong-site footer.palace-compact-footer .copyright{font-size:12px!important;color:#e1d6c0!important;}

html body.hyemyeong-site .saju-menu-grid .mosa-card-description{font-size:14px!important;line-height:1.5!important;color:#e1d6c0!important;}

/* Verified operator details stay compact and wrap inside the mobile footer. */
html body.hyemyeong-site footer.palace-compact-footer .palace-footer-business{margin:6px 0 10px!important;overflow-wrap:anywhere;word-break:keep-all;color:#e1d6c0!important;}
