/* H89 - 메인 제외 전체 페이지 디자인 통일 */
:root{
  --m2-h89-bg:#eef7ff;
  --m2-h89-text:#0f172a;
  --m2-h89-muted:#334155;
  --m2-h89-blue:#2563eb;
  --m2-h89-border:#dbeafe;
  --m2-h89-shadow:0 14px 44px rgba(15,23,42,.07);
}
html,body{max-width:100%;overflow-x:hidden}
body:not(.m2-home):not(.home):not(.front-page){background:var(--m2-h89-bg);color:var(--m2-h89-text);font-family:Pretendard,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:not(.m2-home):not(.home):not(.front-page) h1,
body:not(.m2-home):not(.home):not(.front-page) h2,
body:not(.m2-home):not(.home):not(.front-page) h3{color:var(--m2-h89-text)!important;font-weight:900!important;letter-spacing:-.045em;line-height:1.25;word-break:keep-all}
body:not(.m2-home):not(.home):not(.front-page) p,
body:not(.m2-home):not(.home):not(.front-page) li{color:var(--m2-h89-muted)!important;line-height:1.8;word-break:keep-all}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe,
body:not(.m2-home):not(.home):not(.front-page) .m2-landing-shell,
body:not(.m2-home):not(.home):not(.front-page) .sg-wrap,
body:not(.m2-home):not(.home):not(.front-page) .lp{width:100%;max-width:1180px;margin-left:auto;margin-right:auto;padding-left:18px;padding-right:18px;box-sizing:border-box}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__card,
body:not(.m2-home):not(.home):not(.front-page) .m2-landing-card,
body:not(.m2-home):not(.home):not(.front-page) .m2-card,
body:not(.m2-home):not(.home):not(.front-page) .sg-card,
body:not(.m2-home):not(.home):not(.front-page) .card,
body:not(.m2-home):not(.home):not(.front-page) article.card,
body:not(.m2-home):not(.home):not(.front-page) .h86-card,
body:not(.m2-home):not(.home):not(.front-page) .h78-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;border:1px solid var(--m2-h89-border)!important;border-radius:24px!important;padding:24px!important;box-shadow:var(--m2-h89-shadow)!important;box-sizing:border-box!important;overflow:hidden!important}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-hero *,
body:not(.m2-home):not(.home):not(.front-page) .sg-hero *,
body:not(.m2-home):not(.home):not(.front-page) .hero *{opacity:1!important;text-shadow:none!important;filter:none!important}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__grid,
body:not(.m2-home):not(.home):not(.front-page) .m2-landing-grid,
body:not(.m2-home):not(.home):not(.front-page) .sg-grid,
body:not(.m2-home):not(.home):not(.front-page) .grid{display:grid;gap:20px;box-sizing:border-box}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__grid:not(.three),
body:not(.m2-home):not(.home):not(.front-page) .m2-landing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__grid.three,
body:not(.m2-home):not(.home):not(.front-page) .sg-grid,
body:not(.m2-home):not(.home):not(.front-page) .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body:not(.m2-home):not(.home):not(.front-page) .m2-btn,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-btn,
body:not(.m2-home):not(.home):not(.front-page) .sg-btn,
body:not(.m2-home):not(.home):not(.front-page) .btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px!important;padding:12px 18px!important;font-weight:900!important;text-decoration:none!important;border:1px solid #bfdbfe!important;background:#fff!important;color:var(--m2-h89-text)!important;box-sizing:border-box}
body:not(.m2-home):not(.home):not(.front-page) .m2-btn.primary,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-btn.primary,
body:not(.m2-home):not(.home):not(.front-page) .sg-btn.primary,
body:not(.m2-home):not(.home):not(.front-page) .btn.primary,
body:not(.m2-home):not(.home):not(.front-page) .m2-btn.kakao{background:var(--m2-h89-blue)!important;color:#fff!important;border-color:var(--m2-h89-blue)!important}
body:not(.m2-home):not(.home):not(.front-page) .m2-h88-links,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-link-grid,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__links,
body:not(.m2-home):not(.home):not(.front-page) .sg-links,
body:not(.m2-home):not(.home):not(.front-page) .sg-near,
body:not(.m2-home):not(.home):not(.front-page) .links,
body:not(.m2-home):not(.home):not(.front-page) .h86-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
body:not(.m2-home):not(.home):not(.front-page) .m2-h88-links a,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-link-grid a,
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__links a,
body:not(.m2-home):not(.home):not(.front-page) .sg-links a,
body:not(.m2-home):not(.home):not(.front-page) .sg-near a,
body:not(.m2-home):not(.home):not(.front-page) .links a,
body:not(.m2-home):not(.home):not(.front-page) .h86-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfdbfe;background:#f8fbff;color:#1d4ed8;text-decoration:none;border-radius:999px;padding:10px 14px;font-weight:900;font-size:14px;box-sizing:border-box}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__card ul,
body:not(.m2-home):not(.home):not(.front-page) .sg-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__card li,
body:not(.m2-home):not(.home):not(.front-page) .sg-list li{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px 16px}
@media(max-width:768px){
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe,
  body:not(.m2-home):not(.home):not(.front-page) .m2-landing-shell,
  body:not(.m2-home):not(.home):not(.front-page) .sg-wrap,
  body:not(.m2-home):not(.home):not(.front-page) .lp{padding-left:14px;padding-right:14px}
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__grid,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__grid.three,
  body:not(.m2-home):not(.home):not(.front-page) .m2-landing-grid,
  body:not(.m2-home):not(.home):not(.front-page) .sg-grid,
  body:not(.m2-home):not(.home):not(.front-page) .grid{grid-template-columns:1fr!important;gap:14px}
  body:not(.m2-home):not(.home):not(.front-page) .m2-cta-row,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-cta,
  body:not(.m2-home):not(.home):not(.front-page) .sg-cta{display:flex;flex-direction:column}
  body:not(.m2-home):not(.home):not(.front-page) .m2-btn,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-btn,
  body:not(.m2-home):not(.home):not(.front-page) .sg-btn,
  body:not(.m2-home):not(.home):not(.front-page) .btn{width:100%}
  body:not(.m2-home):not(.home):not(.front-page) .m2-h88-links,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-link-grid,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__links,
  body:not(.m2-home):not(.home):not(.front-page) .sg-links,
  body:not(.m2-home):not(.home):not(.front-page) .sg-near,
  body:not(.m2-home):not(.home):not(.front-page) .links,
  body:not(.m2-home):not(.home):not(.front-page) .h86-links{display:grid;grid-template-columns:1fr}
  body:not(.m2-home):not(.home):not(.front-page) .m2-h88-links a,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-link-grid a,
  body:not(.m2-home):not(.home):not(.front-page) .m2seo-safe__links a,
  body:not(.m2-home):not(.home):not(.front-page) .sg-links a,
  body:not(.m2-home):not(.home):not(.front-page) .sg-near a,
  body:not(.m2-home):not(.home):not(.front-page) .links a,
  body:not(.m2-home):not(.home):not(.front-page) .h86-links a{width:100%}
}
