/* Direct self-activation entry points. Existing consultation destinations stay intact. */
a.selfOpenAction{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-width:0;min-height:50px;padding:12px 18px;border:1px solid #0967d9;border-radius:12px;background:#0967d9!important;color:#fff!important;font:inherit;font-weight:800;line-height:1.5;text-align:center;text-decoration:none!important;white-space:normal;transition:background-color .16s ease,box-shadow .16s ease,transform .12s ease}
a.selfOpenAction:hover{background:#0759b8!important;border-color:#0759b8;box-shadow:0 7px 16px rgba(8,29,59,.18);transform:translateY(-2px)}
a.selfOpenAction:active{transform:translateY(1px) scale(.98);box-shadow:inset 0 2px 5px rgba(8,29,59,.2)}
a.selfOpenAction:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}
.selfOpenHint{display:block;flex-basis:100%;margin-top:8px;color:#4a6280;font-size:14px;line-height:1.6;font-weight:400}
.hero [data-self-open-group="hero"],body[data-self-open-home] .heroBtns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;max-width:640px}
.hero [data-self-open-group="hero"]>a[href="https://talk.naver.com/wovw1v4"],body[data-self-open-home] .heroBtns>a[href="https://talk.naver.com/wovw1v4"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:0;min-height:50px;padding:12px 14px;background:#00842f;color:#fff;white-space:normal;text-align:center;line-height:1.5}
.hero [data-self-open-group="hero"]>a:not([href="https://talk.naver.com/wovw1v4"]):not(.selfOpenAction),body[data-self-open-home] .heroBtns>.kakao{grid-column:1/-1;justify-self:start;box-sizing:border-box;width:auto!important;min-height:40px;padding:8px 12px;font-size:14px}
.selfOpenHeroActions{margin-top:20px}
[data-self-open-group="final"],[data-self-open-group="home-final"]{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
[data-self-open-group="final"]>a[href="https://talk.naver.com/wovw1v4"]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:50px;padding:12px 18px;border:1px solid #00842f;border-radius:12px;background:#00842f;color:#fff!important;font-weight:800;line-height:1.5;text-decoration:none;white-space:normal}
.cta .selfOpenHint{color:#d7e8ff}
.cta[data-self-open-layout="stack"]{display:block}
.selfOpenFinalActions{margin:18px 0 12px}
.selfOpenEnd{padding:36px 0;background:#f0f6ff;color:#0d294a}
.selfOpenEnd h2{margin:0 0 10px;font-size:clamp(24px,4vw,32px);line-height:1.4}
.selfOpenEnd p{margin:0;color:#3d5875;line-height:1.7}
body[data-self-open-home] #consult [data-self-open-group="home-final"]{justify-content:center}
body[data-self-open-home] #consult .selfOpenHint{color:#cfe3ff}
body[data-self-open-home].categoryView .homeSelfOpenEnd{display:none}
body[data-self-open-home] #contactDock{max-width:calc(100vw - 24px);flex-wrap:wrap}
body[data-self-open-home] #contactDock .selfOpenDock{min-height:48px;padding:10px 14px;font-size:16px}
@media(max-width:900px){body[data-self-open-home] #contactDock .dockLabel{display:none}}
@media(max-width:600px){
 .hero [data-self-open-group="hero"]>a,body[data-self-open-home] .heroBtns>a{font-size:15px}
 [data-self-open-group="final"]>a[href="https://talk.naver.com/wovw1v4"],[data-self-open-group="final"]>.selfOpenAction,[data-self-open-group="home-final"]>a{flex:1 1 100%;width:100%}
 .selfOpenEnd{padding:28px 0}
}
@media(max-width:560px){
 body[data-self-open-home]{padding-bottom:90px}
 body[data-self-open-home] #contactDock{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:auto;padding:7px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:7px;border:1px solid #dbe5f3;border-radius:17px;background:#fff;box-shadow:0 8px 30px rgba(8,29,59,.16)}
 body[data-self-open-home] #contactDock .selfOpenDock,body[data-self-open-home] #contactDock .dockBot{display:inline-flex!important;min-width:0;min-height:48px;padding:8px 7px;border-radius:11px;font-size:14px!important;line-height:1.4;white-space:normal;text-align:center;box-shadow:none}
 body[data-self-open-home] #contactDock .dockBot{background:#00842f;color:#fff}
 body[data-self-open-home] #contactDock .dockBot:before,body[data-self-open-home] #contactDock .dockBot:after{content:none!important;display:none!important}
 body[data-self-open-home] #contactDock .dockClose{display:flex!important;align-items:center;justify-content:center;align-self:center;position:static;width:28px;height:36px;padding:0;margin:0;box-shadow:none;flex:none}
 body[data-self-open-home].assistHidden #contactDock{display:none!important}
 body[data-self-open-home].assistHidden #assistRestore{display:block!important}
 body[data-self-open-home].consultView #contactDock,body[data-self-open-home].consultView #assistRestore{display:none!important}
 body[data-self-open-home] .botPanel{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){a.selfOpenAction{transition:none!important;transform:none!important}}

/* Home hero secondary consultation action, aligned with primary buttons. */
body[data-self-open-home] .heroBtns>a.kakao{display:flex!important;align-items:center;justify-content:center;grid-column:1/-1;justify-self:stretch;box-sizing:border-box;width:100%!important;min-width:0;min-height:50px;padding:12px 14px;border:1px solid #e6cf00;border-radius:12px;background:#fee500!important;color:#191919!important;font-size:15px;font-weight:800;line-height:1.5;text-align:center;white-space:normal;box-shadow:none;transition:transform .12s ease,box-shadow .16s ease}
body[data-self-open-home] .heroBtns>a.kakao:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(85,70,0,.13)}
body[data-self-open-home] .heroBtns>a.kakao:active{transform:translateY(1px) scale(.98);box-shadow:inset 0 2px 5px rgba(85,70,0,.12)}
body[data-self-open-home] .heroBtns>a.kakao:focus-visible{outline:3px solid #0758d7;outline-offset:3px}
@media(max-width:600px){body[data-self-open-home] .heroBtns>a.kakao{min-height:52px}}
@media(prefers-reduced-motion:reduce){body[data-self-open-home] .heroBtns>a.kakao{transition:none!important;transform:none!important}}

/* Consultation choices together; direct activation on its own row. */
body[data-self-open-home] .heroBtns>a.kakao{grid-column:auto;justify-self:stretch}
body[data-self-open-home] .heroBtns>a[data-self-open="home-hero"]{grid-column:1/-1;justify-self:stretch;width:100%!important}
@media(max-width:600px){body[data-self-open-home] .heroBtns>a[data-self-open="home-hero"]{min-height:52px}}
