/* 공통 상단 바. 각 사이트의 CSS와 부딪히지 않도록 gx- 접두사만 쓴다. 움직임 효과는 두지 않는다. */
@import url(/vendor/pretendard/pretendard.css); /* 글자 단위로 필요한 조각만 받는 Pretendard(2MB 전체 파일 대신) */
.gx-shell,.gx-shell *{box-sizing:border-box;margin:0;padding:0;font-family:"Pretendard Variable",Pretendard,-apple-system,sans-serif;letter-spacing:normal;text-transform:none}
.gx-shell{position:relative;z-index:1000;background:#fff}
.gx-bar{display:flex;align-items:center;gap:32px;padding:16px 4vw;border-bottom:1px solid #e6e3eb;background:#fff}
.gx-logo{display:flex;flex-direction:column;align-items:flex-start;gap:6px;color:#3b3448;text-decoration:none;flex-shrink:0}
.gx-logo img.gx-wordmark{width:188px;height:auto;object-fit:contain;display:block}
.gx-logo small{display:block;font-size:11px;font-weight:500;letter-spacing:2px;padding-left:44px;color:#534aa5;line-height:1}
.gx-nav{display:flex;align-items:center;gap:26px;font-size:14px;line-height:1.4}
.gx-nav a{color:#3b3448;text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap}
.gx-nav a:hover,.gx-nav a[aria-current=page]{color:#534aa5;border-bottom-color:#534aa5}
.gx-nav a:focus-visible,.gx-logo:focus-visible,.gx-auth a:focus-visible{outline:3px solid #9880ff;outline-offset:4px}
.gx-auth{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:14px;min-height:36px}
.gx-lang{margin-left:auto}
.gx-lang{color:#534aa5;text-decoration:none;border:1px solid #e6e3eb;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1}
.gx-lang:hover{border-color:#534aa5}
.gx-lang+.gx-auth{margin-left:0}
/* 고객 문의(2026-10-16): 한국어는 카카오톡 채널, 영어는 고객센터. 언어 버튼 바로 앞. */
.gx-contact{margin-left:auto;display:inline-flex;align-items:center;gap:6px;text-decoration:none;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;line-height:1;white-space:nowrap}
.gx-contact+.gx-lang{margin-left:0}
.gx-kakao{background:#FEE500;color:#191600}
.gx-kakao:hover{background:#f5dc00}
.gx-contact-en{color:#534aa5;border:1px solid #d9d4f3;background:#efedf8}
.gx-contact-en:hover{background:#534aa5;color:#fff}
.gx-contact:focus-visible,.gx-lang:focus-visible{outline:3px solid #9880ff;outline-offset:3px}
.gx-auth a{color:#3b3448;text-decoration:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.gx-auth .gx-login{border:1px solid #534aa5;color:#534aa5;border-radius:8px;padding:7px 14px;font-weight:600}
.gx-auth .gx-login:hover{background:#534aa5;color:#fff}
.gx-auth .gx-user{border:1px solid #e6e3eb;border-radius:999px;padding:4px 12px 4px 4px}
.gx-auth .gx-user:hover{border-color:#534aa5}
.gx-auth .gx-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#efedf8;color:#534aa5;display:inline-grid;place-items:center;font-weight:700;font-size:13px}
.gx-auth .gx-user b{font-weight:600;max-width:120px;overflow:hidden;text-overflow:ellipsis}
.gx-sub{display:inline-block;font-size:13px;font-weight:700;color:#534aa5;letter-spacing:.5px;white-space:nowrap}
@media(max-width:900px){
  .gx-bar{flex-wrap:wrap;gap:10px 18px;padding:12px 16px}
  .gx-logo img.gx-wordmark{width:160px}
  .gx-logo small{padding-left:37px}
  .gx-lang{margin-left:auto}.gx-auth{margin-left:0}
  .gx-contact{margin-left:auto}.gx-contact+.gx-lang{margin-left:0}
  .gx-kakao{padding:7px 9px}.gx-kakao span{display:none}
  .gx-nav{width:100%;order:3;overflow-x:auto;gap:20px;padding-bottom:2px;-webkit-overflow-scrolling:touch}
}
@media(max-width:420px){.gx-nav{gap:13px;font-size:13px}}

/* 각 사이트의 원래 헤더는 그 섹션의 보조 메뉴로 쓴다 */
html[data-gx=academy] body>header .logo{display:none}
html[data-gx=academy] body>header{padding-top:12px;padding-bottom:12px;justify-content:flex-start;gap:30px}
html[data-gx=diary] .site-header .brand-lockup{display:none}
html[data-gx=diary] .site-header{height:64px}
html[data-gx=diary] .site-header .gx-sub{margin-right:28px}

/* 학교·기관 도입: 모든 페이지 같은 모양(메뉴 바로 뒤 보라 알약). 나를 알아보기(test-app)도 같은 값을 쓴다. */
.gx-nav a.gx-org{display:inline-flex;align-items:center;gap:6px;padding:6px 14px 6px 10px;border:1px solid #d9d4f3;border-radius:999px;background:#efedf8;color:#534aa5;font-weight:700;border-bottom:1px solid #d9d4f3}
.gx-nav a.gx-org img{width:20px;height:20px}
.gx-nav a.gx-org:hover,.gx-nav a.gx-org[aria-current=page]{background:#534aa5;border-color:#534aa5;color:#fff}

/* 플랫폼 이름 Dear Self(2026-10-23, 옛 Dear Mind): dear는 로고 글자, s·f는 Avenir Next Demi Bold (운영 기관 이모셔너그라피 아카데미는 바닥·약관에 표기) */
.gx-logo img.gx-dm{width:185px}
@media(max-width:800px){.gx-logo img.gx-dm{width:144px}}

/* 2026-10-16: 한국어 메뉴는 1085px쯤 필요해 901~1160px에서 바가 화면 밖으로 넘쳤다 → 이 폭에선 폰처럼 메뉴를 둘째 줄로. 카톡 버튼은 넓은 화면에서만 글자를 보인다. */
/* 2026-10-20 전문가에게 질문·전문가 매칭 두 메뉴로 늘어 두 줄 배치 구간을 넓힘 */
@media(min-width:901px) and (max-width:1360px){
  html:not([lang=en]) .gx-bar{flex-wrap:wrap;gap:10px 18px;padding:12px 4vw}
  html:not([lang=en]) .gx-nav{width:100%;order:3;overflow-x:auto;gap:22px;padding-bottom:2px}
}
@media(min-width:1361px) and (max-width:1420px){.gx-kakao{padding:7px 9px}.gx-kakao span{display:none}}
@media(max-width:960px){.gx-contact-en{padding:7px 9px}.gx-contact-en span{display:none}}
@media(max-width:420px){.gx-bar{gap:10px 12px}.gx-logo img.gx-dm{width:126px}}

/* 2026-10-28 펼침 메뉴(심리학 수업 ▾ · 전문가 상담 ▾ · 상담 선생님용 ▾). 판은 화면 기준(fixed)이라 가로 스크롤 메뉴에서도 잘리지 않는다. */
.gx-dd{position:relative;display:inline-flex}
.gx-ddt{display:inline-flex;align-items:center;gap:4px;background:none;border:0;border-bottom:2px solid transparent;padding:6px 0;font:inherit;font-size:14px;line-height:1.4;color:#3b3448;cursor:pointer;white-space:nowrap}
.gx-ddt span{font-size:10px;color:#8a8597}
.gx-ddt:hover,.gx-ddt[aria-expanded=true],.gx-ddt[aria-current=page]{color:#534aa5;border-bottom-color:#534aa5}
.gx-ddt:focus-visible{outline:3px solid #9880ff;outline-offset:4px}
.gx-ddm{position:fixed;z-index:1001;background:#fff;border:1px solid #e6e3eb;border-radius:18px;box-shadow:0 20px 40px rgba(40,20,110,.14);padding:8px}
.gx-ddm[hidden]{display:none}
.gx-ddm::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.gx-ddm a{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;color:#3b3448;text-decoration:none;border:0}
.gx-ddm a:hover,.gx-ddm a:focus-visible{background:#f5f3fb;outline:none}
.gx-ddm img{width:40px;height:40px;flex:none;filter:drop-shadow(0 6px 8px rgba(70,40,170,.16))}
.gx-ddm b{display:block;font-size:15px;font-weight:700}
.gx-ddm small{display:block;font-size:12.5px;color:#4e4a5a;margin-top:2px}
.gx-side{margin-left:auto;display:flex;align-items:center;gap:16px;font-size:13px}
.gx-side+.gx-contact{margin-left:0}
.gx-side-org{color:#4e4a5a;text-decoration:none;white-space:nowrap}
.gx-side-org:hover,.gx-side-org[aria-current=page]{color:#534aa5}
.gx-side .gx-ddt{font-size:13px;color:#4e4a5a;padding:4px 0}
/* 2026-11-15 맨 위 띠: [개인 | 선생님·상담사·기관] — 두 세계를 완전히 나눈다 */
.gx-aud{background:#f4f2f9;border-bottom:1px solid #ece9f2}
.gx-aud-in{display:flex;align-items:center;gap:4px;padding:6px 4vw;font-size:13px;line-height:1}
.gx-aud a{padding:7px 12px;border-radius:999px;color:#4e4a5a;font-weight:600;text-decoration:none;white-space:nowrap}
.gx-aud a:hover{color:#534aa5}
.gx-aud a[aria-current]{background:#fff;color:#534aa5;box-shadow:0 1px 3px rgba(25,31,40,.1)}
.gx-aud .gx-aud-en{margin-left:auto;display:none}
@media(max-width:900px){.gx-aud-in{padding:5px 12px}.gx-aud .gx-aud-en{display:inline-block}}
@media(max-width:900px){.gx-side{display:none}.gx-side+.gx-contact{margin-left:auto}}
/* 메뉴가 4개로 줄어 두 줄 배치가 필요 없는 폭은 다시 한 줄로 */
@media(min-width:1101px) and (max-width:1360px){
  html:not([lang=en]) .gx-bar{flex-wrap:nowrap}
  html:not([lang=en]) .gx-nav{width:auto;order:0;overflow:visible}
}
.gx-mob{display:none!important}
@media(max-width:900px){.gx-nav .gx-mob{display:inline-flex!important}.gx-nav a.gx-mob{color:#4e4a5a}}

/* 2026-11-08 맨 위 행동 버튼(로그인 왼쪽). 폰에서는 EN을 더보기 안으로 옮기고 이 자리에 짧은 글자로. */
.gx-cta{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none;background:#6a4fe6;color:#fff;border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:700;line-height:1}
.gx-cta:hover{background:#534aa5}
.gx-cta:focus-visible{outline:3px solid #9880ff;outline-offset:3px}
.gx-cta .s{display:none}
.gx-lang+.gx-cta{margin-left:0}
.gx-cta+.gx-auth{margin-left:0}
@media(max-width:900px){
  html:not([lang=en]) .gx-lang{display:none}
  html:not([lang=en]) .gx-contact+.gx-lang+.gx-cta{margin-left:0}
  .gx-cta{padding:9px 12px}
  .gx-cta .l{display:none}.gx-cta .s{display:inline}
}

/* 2026-11-08 버튼 글자를 동사로(토스식). 폰에선 로그인을 사람 아이콘으로 줄여 로고·카톡·버튼과 한 줄에 둔다. */
@media(max-width:900px){
  .gx-bar{gap:10px 8px}
  .gx-kakao{padding:6px 8px}
  .gx-cta{padding:9px 12px;font-size:13.5px}
  .gx-auth .gx-login{font-size:0;width:36px;height:36px;padding:0;border-radius:50%;justify-content:center;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23534aa5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center/18px no-repeat}
  .gx-auth .gx-user b{display:none}.gx-auth .gx-user{padding:3px}
}
@media(max-width:360px){.gx-logo img.gx-dm{width:112px}}

/* 2026-11-12 Dear Self 소식 받기(선택 동의) — 모든 이메일 칸에 같은 문구·같은 모양. 미리 체크하지 않는다(광고성 정보는 명시 동의). */
.ds-optin{display:flex;gap:12px;align-items:flex-start;margin:14px 0 0;padding:14px 16px;border-radius:14px;background:#f3f0ff;cursor:pointer;text-align:left}
.ds-optin input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:#6a4fe6}
.ds-optin b{display:block;font-size:14.5px;line-height:1.45;font-weight:700;color:#3b3448}
.ds-optin small{display:block;margin-top:3px;font-size:12.5px;line-height:1.5;color:#4e5968}

/* ── 2026-11-12 퍼플 풀(A안) 공통: 쪽마다 맨 위 영역은 브랜드 보라 전체 + 흰 글씨. 버튼은 흰 바탕 보라 글씨 하나. ── */
.ds-purple{background:radial-gradient(circle at 78% 26%,#b9a9ff 0,#8f78ff 34%,#6a4fe6 72%,#5640c2 100%);color:#fff;border-radius:0 0 40px 40px}
html:has(.ds-purple){overflow-x:clip}
@media(max-width:860px){.ds-purple{border-radius:0 0 28px 28px}}

/* 2026-11-15 선생님·상담사·기관 쪽 톤(같은 브랜드 보라, 바탕은 짙은 잉크·차분한 회색, 모서리는 덜 둥글게). 개인 쪽은 그대로 라벤더. */
html[data-world=pro]{--pw-ink:#1d1a33;--pw-ink2:#2a2550;--pw-violet:#6A4FE6;--pw-soft:#c9bfff;--pw-bg:#f4f5f7;--pw-line:#e3e5ea;--pw-text:#333d4b;--pw-sub:#4e5968}
html[data-world=pro] .gx-aud{background:var(--pw-ink);border-bottom-color:var(--pw-ink)}
html[data-world=pro] .gx-aud a{color:#d9d6e8}
html[data-world=pro] .gx-aud a:hover{color:#fff}
html[data-world=pro] .gx-aud a[aria-current]{background:var(--pw-violet);color:#fff;box-shadow:none}
html[data-world=pro] .gx-logo{flex-direction:row;align-items:center;gap:10px}
.gx-world{display:inline-block;padding:5px 9px;border-radius:6px;background:var(--pw-ink,#1d1a33);color:#fff;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}
html[data-world=pro] .gx-nav a{color:var(--pw-text)}
html[data-world=pro] .gx-nav a:hover,html[data-world=pro] .gx-nav a[aria-current=page]{color:var(--pw-ink);border-bottom-color:var(--pw-ink);font-weight:600}
@media(max-width:420px){.gx-world{font-size:11px;padding:4px 7px}}
/* 선생님·기관 쪽 페이지의 보라 첫 화면(.ds-purple)·연보라 첫 화면(진행자 입점)을 잉크 톤으로 */
html[data-world=pro] .ds-purple{background:var(--pw-ink)!important}
html[data-world=pro] .ds-purple .hx-eye{background:rgba(255,255,255,.08);color:var(--pw-soft);box-shadow:none}
html[data-world=pro] .pt-hero{background:var(--pw-bg)!important;border-bottom-color:var(--pw-line)!important}
html[data-world=pro] .pt-hero .fd-btn{background:var(--pw-ink)!important;box-shadow:none!important}

/* 2026-11-16 대표님 "상담자 과정·회기사이도 짙은 톤으로 B2C와 구분": 선생님·기관 쪽에서는 보라 토큰을 잉크·회색으로 바꾼다.
   페이지 CSS가 :root·.fd에 둔 토큰을 그대로 덮어서, 버튼·강조 글씨·연보라 면이 한꺼번에 잉크 톤이 된다. */
html[data-world=pro]{--violet:#2a2550;--violet-deep:#1d1a33;--violet-soft:#f1f2f5;--wash:#f4f5f7;--btn:#1d1a33;--btn-deep:#2a2550}
html[data-world=pro] .fd{--violet:#2a2550;--btn:#1d1a33;--deep:#1d1a33;--wash:#f4f5f7;--soft:#eceef2}
/* 첫 화면 카드: 상담자 과정(.cs-head)·회기사이(.pr-hero)를 짙은 잉크 면으로 */
html[data-world=pro] .cs-head,html[data-world=pro] .pr-hero{background:var(--pw-ink);color:#fff;border-radius:16px;padding:48px 36px!important;margin-top:24px}
html[data-world=pro] .cs-head h1,html[data-world=pro] .pr-hero h1{color:#fff}
html[data-world=pro] .cs-head p,html[data-world=pro] .pr-hero p,html[data-world=pro] .pr-hero small{color:#dcd8ec}
html[data-world=pro] .cs-tag,html[data-world=pro] .pr-kicker{background:rgba(255,255,255,.1)!important;color:var(--pw-soft)!important;box-shadow:none!important}
html[data-world=pro] .cs-head .button:not(.ghost),html[data-world=pro] .pr-hero .button:not(.ghost){background:#fff!important;border-color:#fff!important;color:var(--pw-ink)!important}
html[data-world=pro] .pr-hero .button.ghost{background:transparent!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important}
/* 진행자 입점 첫 화면: 장식용 라피 대신 글과 버튼만(기관·전문가는 근거로 결정, 라피는 내담자·학생이 쓰는 화면 안에서만) */
html[data-world=pro] .pt-hero .fd-wrap{grid-template-columns:1fr!important}
html[data-world=pro] .pt-hero .fd-wrap>:not(:first-child){display:none}
@media(max-width:760px){html[data-world=pro] .cs-head,html[data-world=pro] .pr-hero{padding:32px 20px!important;border-radius:14px}}
/* 2026-11-16 휴대폰 개인 메뉴: 다시 오게 하는 메뉴(워크북·강의·전문가·모임·검사·블로그)를 한 줄에 남기고 '요금'은 넓은 화면에서만. 결제는 잠긴 강의·DAY 4 화면에서 바로 이어진다. */
@media(max-width:900px){.gx-nav a.gx-desk{display:none}}
html[data-world=pro] .pt-feats{background:var(--pw-bg)!important}
