:root{--navy:#153955;--navy-d:#0E2A40;--ivory:#F7F4EE;--sand:#EFE9DD;--ink:#1B2733;--muted:#4A5663;--line:#E1DACC;--copper:#C28A5B;--copper-l:#E3B98F;--copper-d:#8A5428;--kakao:#FEE500;--chatbg:#C9D8E4;--step-bg:#FAF8F3}
/* line breaking per language: Korean keeps words whole; Chinese/English must be allowed to wrap */
.l-zh .stage,.l-zh .chat,.l-zh .bar,.l-zh .panel,.l-zh .cfg{word-break:normal;overflow-wrap:anywhere;line-break:strict}
.l-en .stage,.l-en .chat,.l-en .bar,.l-en .panel{word-break:normal;overflow-wrap:break-word}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
body{margin:0}
*{box-sizing:border-box}
.vp{min-height:100vh;background:#CBD3D9;overflow-x:clip;--sans:'Noto Sans KR','Noto Sans SC',system-ui,sans-serif;--barH:84px;--fx:0px;--fw:100vw}
.vp.l-zh{--sans:'Noto Sans SC','Noto Sans KR',system-ui,sans-serif}
.vp.m-mobile{--barH:var(--barM,128px);--fx:max(0px,calc(50% - var(--sw) / 2));--fw:var(--sw)}
.stage{position:relative;margin:0 auto;max-width:100%;overflow-x:clip;background:var(--ivory);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.7;word-break:keep-all;padding-bottom:var(--barH)}
.m-pc .stage{width:100%}
.m-mobile .stage{width:var(--sw);font-size:17px}
.m-mobile.forced .stage{box-shadow:0 0 0 1px #AEB9C1}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--copper);outline-offset:3px}
/* menu jumps land exactly under the fixed header (header height is measured live) */
[data-snap]{scroll-margin-top:var(--hdH,72px)}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* one content width for the whole page: header, hero, sections, footer start on the same line */
/* PC screen plan: chat column on the right (--chatW), detail popup centred in the rest; both start under the header (--hdB) */
.vp{--cw:1200px;--gut:48px;--chatW:clamp(400px,30vw,480px);--popMax:1240px;--popGap:24px}
.m-pc .hd,.m-pc .hero,.m-pc .ft{padding-left:max(var(--gut),calc((100% - var(--cw)) / 2));padding-right:max(var(--gut),calc((100% - var(--cw)) / 2))}

/* review bar (not part of the real site) */
.rv{background:#1B2733;color:#E8EDF1;font-family:'Noto Sans KR',system-ui,sans-serif;font-size:14px;line-height:1.4;padding:8px 16px;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:center}
.rv button{min-height:34px;padding:0 13px;border-radius:999px;border:1px solid #5B6B78;background:transparent;color:#E8EDF1;font:inherit;cursor:pointer}
.rv button[aria-pressed="true"]{background:#E3B98F;color:#1B2733;border-color:#E3B98F;font-weight:700}
.rv .rv-cfg{border-color:#E3B98F;color:#E3B98F;font-weight:700}
.rv-g{display:flex;gap:6px;flex-wrap:wrap}
.m-mobile .rv{font-size:12px;padding:6px 8px;gap:6px}
.m-mobile .rv button{min-height:30px;padding:0 10px}
.m-mobile .rv-txt{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 26px;border-radius:999px;border:1.5px solid transparent;font:inherit;font-size:17px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.btn-pri{background:var(--navy);color:#fff}.btn-pri:hover{background:var(--navy-d)}
.btn-acc{background:var(--copper-d);color:#fff}.btn-acc:hover{background:#6F4220}
.btn-out{background:#fff;color:var(--navy);border-color:var(--navy)}.btn-out:hover{background:var(--navy);color:#fff}
.btn-kakao{background:var(--kakao);color:#1B2733}.btn-kakao:hover{background:#F2D900}
.btn-line{background:transparent;color:var(--ivory);border-color:rgba(247,244,238,.75)}.btn-line:hover{background:rgba(247,244,238,.12)}

/* header */
.hd{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;padding:12px 48px;background:rgba(247,244,238,.97);border-bottom:1px solid var(--line)}
.m-mobile .hd{padding:8px 12px;gap:8px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);flex:none}
.brand-mark{height:44px;width:auto;display:block;flex:none}
.m-mobile .brand-mark{height:36px}
.brand-t{display:flex;flex-direction:column;line-height:1.25;white-space:nowrap}
.brand-t b{font-size:19px;font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.bn-a{color:#3A3A3A}
.m-pc .brand-t{flex-direction:row;align-items:baseline;gap:8px}
.m-pc .brand-mark{height:54px}
.m-pc .brand-t b{font-size:25px}
.m-pc .brand-sub{font-size:18px}
.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:22px}
/* location lockup: branch on its own line, small capitals with wide spacing (like the logo's English line) */
.l-en .brand-sub,.l-zh .brand-sub{text-transform:uppercase;letter-spacing:.24em;font-weight:600;color:var(--copper-d)}
.m-pc.l-en .brand-sub,.m-pc.l-zh .brand-sub{font-size:12.5px;margin-top:3px}
.m-pc.l-en .brand-t,.m-pc.l-zh .brand-t{flex-direction:column;align-items:flex-start;gap:0;line-height:1.15}
.m-mobile.l-en .brand-sub,.m-mobile.l-zh .brand-sub{font-size:9.5px;letter-spacing:.2em;margin-top:2px}
.m-mobile.l-en .brand-t b,.m-mobile.l-zh .brand-t b{font-size:13px;max-width:none;line-height:1.15}
@media (max-width:1480px){.m-pc.l-en .nav,.m-pc.l-zh .nav{gap:14px}.m-pc.l-en .nav a{font-size:15.5px}.m-pc.l-en .lg button{padding:0 9px}}
.brand-sub{font-size:15px;font-weight:700;color:var(--navy)}
.m-mobile .brand-t b{font-size:16px}
.m-mobile .brand{min-width:0;flex:1 1 auto}
.m-mobile .brand-t{min-width:0;white-space:normal}
.m-mobile .brand-t b{font-size:15px;font-size:clamp(13px,3.75vw,15px);line-height:1.2}
.m-mobile.l-en .brand-t b,.m-mobile.l-zh .brand-t b{font-size:12.5px}
.m-mobile .brand-t b{word-break:keep-all;overflow-wrap:anywhere}
.m-mobile.l-en .brand-t b,.m-mobile.l-zh .brand-t b{overflow-wrap:normal}   /* 영문 이름 VERYGOODPLANT 은 낱말 중간에서 끊지 않음 (공백에서만 줄바꿈) */
.m-mobile.l-zh .hero h1{font-size:28px}
.m-mobile .brand-sub{font-size:12px;font-weight:700}
.nav{display:flex;gap:26px;margin-left:auto}
.m-mobile .nav{display:none}
.nav a{color:var(--ink);text-decoration:none;font-weight:500;font-size:17px;padding:10px 2px;border-bottom:2px solid transparent;white-space:nowrap}
.nav a:hover{border-bottom-color:var(--copper)}
.lg{display:flex;border:1px solid #CFC6B4;border-radius:999px;overflow:hidden;background:#fff;flex:none}
.m-mobile .lg{margin-left:auto}
.lg button{min-height:44px;min-width:44px;padding:0 12px;border:0;background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer;white-space:nowrap}
.m-mobile .lg button{min-width:38px;padding:0 6px;font-size:14px}
.lg button[aria-pressed="true"]{background:var(--navy);color:#fff;font-weight:700}
.hd-cta{min-height:46px;padding:0 20px;font-size:16px;flex:none}
@media (max-width:1280px){.m-pc .hd{gap:14px}.m-pc .nav{gap:16px}.m-pc .nav a{font-size:16px}.m-pc .brand-t b{font-size:22px}.m-pc .brand-sub{font-size:16px}.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:18px}}
@media (max-width:1180px){.m-pc .hd{padding-left:24px;padding-right:24px}.m-pc .brand-t b{font-size:20px}.m-pc .brand-sub{font-size:15px}.m-pc .brand-mark{height:46px}.m-pc.l-en .brand-t b,.m-pc.l-zh .brand-t b{font-size:16px}}
@media (max-width:1180px){.m-pc .hd-cta{display:none}}
.m-mobile .hd-cta{display:none}
.hamb{display:none;min-height:44px;min-width:44px;border-radius:12px;border:1px solid #CFC6B4;background:#fff;align-items:center;justify-content:center;cursor:pointer;flex:none}
.m-mobile .hamb{display:inline-flex}
.mnav{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;padding:4px 16px 12px;background:var(--ivory);border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(14,42,64,.18);animation:fadeIn .2s ease}
.mnav a{padding:14px 4px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:500}

/* hero */
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;min-height:680px;padding:64px 48px;color:var(--ivory);background:linear-gradient(115deg,#0E2A40 0%,#153955 55%,#21506F 100%)}
.m-mobile .hero{grid-template-columns:1fr;gap:28px;padding:40px 18px 36px;min-height:0}
.hero-art{position:absolute;left:30%;top:50%;width:620px;height:620px;margin-top:-310px;opacity:.3;pointer-events:none}
.m-mobile .hero-art{left:auto;right:-160px;width:380px;height:380px;margin-top:-190px}
.hero-copy{position:relative;z-index:2;max-width:640px}
.hero .eyebrow{color:var(--copper-l)}
/* hero clinic name: larger, with the "VERYGOOD" part standing out */
.hero-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin-bottom:18px;letter-spacing:-.01em}
.hero-name .hn-a{font-size:30px;font-weight:900;color:var(--kakao)}
.hero-name .hn-b{margin-left:-8px;font-size:24px;font-weight:800;color:#fff}
.hero-name .hn-br{font-size:17px;font-weight:700;color:var(--copper-l)}
.m-mobile .hero-name .hn-a{font-size:24px}.m-mobile .hero-name .hn-b{font-size:19px}.m-mobile .hero-name .hn-br{font-size:14px}
.l-en .hero-name .hn-br,.l-zh .hero-name .hn-br{text-transform:uppercase;letter-spacing:.2em;font-size:13px}
.hero h1{margin:0 0 20px;font-weight:800;font-size:54px;line-height:1.3;letter-spacing:-.03em}
.hero h1 span{display:block}
.m-mobile .hero h1{font-size:32px}
.cred{display:inline-block;margin:0 0 8px;padding-left:14px;border-left:3px solid var(--copper);font-size:20px;font-weight:700}
.hero-sub{margin:6px 0 0;font-size:25px;font-weight:600;letter-spacing:-.02em;color:#C9D6DE;white-space:pre-wrap}
/* key words (implant, general care) stand out: bigger, bright, with a copper highlighter stroke under just those words */
.hero-sub .k{font-size:30px;font-weight:900;color:#fff;padding:0 4px;
  /* the two keywords (Korean) in NanumSquare ExtraBold, letters spaced a little wider */
  font-family:'NanumSquare','NanumSquareExtraBold','Nanum Gothic','Noto Sans KR',sans-serif;font-weight:800;font-synthesis:none;letter-spacing:.06em;background:linear-gradient(transparent 60%,rgba(194,138,91,.6) 60%,rgba(194,138,91,.6) 90%,transparent 90%)}
/* the treatments themselves, listed quietly under the line (same list as the consult bar) */
.hero-tx{display:flex;flex-wrap:wrap;gap:4px 22px;overflow:hidden;margin:12px 0 30px;font-size:16px;font-weight:500;color:#C9D6DE}
/* dots sit in the gap, so a wrapped line never starts with a dot */
.hero-tx span{position:relative;white-space:nowrap}
.hero-tx span+span::before{content:"";position:absolute;left:-12.5px;top:50%;width:3px;height:3px;border-radius:50%;background:var(--copper-l)}
.m-mobile .hero-sub{font-size:19px}
.m-mobile .hero-sub .k{font-size:23px}
.l-en .hero-sub .k{font-family:var(--sans);font-weight:900;text-transform:uppercase;letter-spacing:.06em;font-size:26px}
.m-mobile.l-en .hero-sub .k{font-size:19px}
.l-zh .hero-sub .k{font-family:var(--sans);font-weight:900;letter-spacing:.1em}
.m-mobile .hero-tx{font-size:14px;margin:10px 0 22px}
.m-mobile .hero-tx{gap:2px 16px}
.m-mobile .hero-tx span+span::before{left:-9.5px}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.hero .btn-kakao{min-height:60px;padding:0 30px;font-size:19px}
.hero-note{margin:18px 0 0;font-size:15px;color:#C9D6DE}
.hero-visual{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;min-height:520px;padding:26px;border-radius:26px;background:linear-gradient(160deg,rgba(247,244,238,.16),rgba(247,244,238,.05)),linear-gradient(135deg,#2B5D7E,#183F5C);border:1px solid rgba(247,244,238,.28);box-shadow:0 30px 60px rgba(5,18,30,.35)}
.m-mobile .hero-visual{min-height:0;aspect-ratio:4/3;padding:18px;border-radius:20px}
.hv-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.hero-visual::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,transparent 55%,rgba(10,30,46,.55));pointer-events:none}
.hv-play{position:relative;z-index:1}
.hv-tag{position:absolute;top:22px;left:24px;padding:6px 12px;border-radius:999px;background:rgba(14,42,64,.5);font-size:14px;color:#DCE8EF}
.m-mobile .hv-tag{top:14px;left:14px;font-size:13px}
.hv-play{display:inline-flex;align-items:center;gap:14px;align-self:flex-start;min-height:56px;padding:6px 22px 6px 6px;border-radius:999px;border:0;background:var(--ivory);color:var(--navy-d);font:inherit;font-size:17px;font-weight:800;cursor:pointer}
.hv-play i{width:44px;height:44px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center}
.hv-cap{margin:0;font-size:15px;color:#DCE8EF}

/* hero v2 (11/8): 병원 신뢰 중심의 글·정보형 — 철학 문장 + 신뢰 두 가지 + 대표 진료 3 + 버튼 둘. 그림 칸은 SITE.heroMode / 실제 사진이 있을 때만 */
.hero-text{grid-template-columns:minmax(0,1fr);min-height:0;padding-top:clamp(36px,7vh,64px);padding-bottom:clamp(36px,6vh,60px)}
.m-mobile .hero-text{padding:30px 18px 30px;gap:0}
.hero-text .hero-copy{max-width:1040px}
.hero-text .hero-name{margin-bottom:16px}
.hero-text .hero-name .hn-a{font-size:21px}.hero-text .hero-name .hn-b{font-size:17px;margin-left:-6px}.hero-text .hero-name .hn-br{font-size:15px}
.m-mobile .hero-text .hero-name{margin-bottom:12px}
.m-mobile .hero-text .hero-name .hn-a{font-size:18px}.m-mobile .hero-text .hero-name .hn-b{font-size:15px}.m-mobile .hero-text .hero-name .hn-br{font-size:13px}
.hero-text h1{margin:0 0 clamp(18px,3vh,26px);font-size:62px;line-height:1.22}
.m-mobile .hero-text h1{margin-bottom:18px;font-size:clamp(30px,8.6vw,38px);line-height:1.25}
.m-mobile.l-zh .hero-text h1{font-size:clamp(30px,8.6vw,36px)}
.hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin:0 0 26px}
.m-mobile .hero-trust{gap:10px;margin-bottom:20px}
.hero-trust span{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border-radius:999px;line-height:1.25;letter-spacing:-.01em}
.hero-trust .ht-a{background:var(--ivory);color:var(--navy-d);font-size:24px;font-weight:800}
.hero-trust .ht-b{border:1.5px solid rgba(247,244,238,.75);color:#fff;font-size:20px;font-weight:700}
.m-mobile .hero-trust span{min-height:46px;padding:0 18px}
.m-mobile .hero-trust .ht-a{font-size:19px}.m-mobile .hero-trust .ht-b{font-size:16px}
.l-en .hero-trust .ht-a{font-size:21px}.l-en .hero-trust .ht-b{font-size:18px}
.m-mobile.l-en .hero-trust .ht-a{font-size:17px}.m-mobile.l-en .hero-trust .ht-b{font-size:15px}
.hero-treat{display:flex;flex-wrap:wrap;align-items:center;gap:10px 10px;margin:0 0 30px}
.m-mobile .hero-treat{gap:8px;margin-bottom:22px}
.ht-l{margin-right:6px;font-size:16px;font-weight:700;color:var(--copper-l)}
.m-mobile .ht-l{flex:0 0 100%;margin:0 0 -2px;font-size:14px}
.ht-chip{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:12px;border:1px solid rgba(247,244,238,.35);background:rgba(247,244,238,.08);color:#fff;font:inherit;font-size:17px;font-weight:600;line-height:1.25;cursor:pointer;text-align:left}
.ht-chip:hover{background:rgba(247,244,238,.18)}
.m-mobile .ht-chip{min-height:44px;padding:0 14px;font-size:15px}
.hero-text .actions .btn{min-height:60px;padding:0 32px;font-size:19px}
.m-mobile .hero-text .actions{width:100%;gap:10px}
.m-mobile .hero-text .actions .btn{flex:1 1 0;min-width:0;padding:0 10px;min-height:54px;font-size:17px;white-space:normal}
/* 작은 휴대폰(높이 700px 이하): 하단 상담바에 가리지 않도록 간격만 조금 줄임 */
@media (max-height:700px){
  .m-mobile .hero-text{padding-top:20px;padding-bottom:22px}
  .m-mobile .hero-text .hero-name{margin-bottom:8px}
  .m-mobile .hero-text h1{margin-bottom:12px}
  .m-mobile .hero-trust{gap:8px;margin-bottom:14px}
  .m-mobile .hero-trust span{min-height:40px}
  .m-mobile .hero-trust .ht-a{font-size:18px}.m-mobile .hero-trust .ht-b{font-size:15px}
  .m-mobile .ht-l{display:none}
  .m-mobile .hero-treat{margin-bottom:16px;gap:6px}
  .m-mobile .ht-chip{min-height:40px}
  .m-mobile .hero-text .actions .btn{min-height:50px}
}

/* ===== chat: one conversation for the whole visit (v4: conversational, not a bot menu) ===== */
.chat{position:fixed;z-index:60;display:flex;flex-direction:column;background:#fff;color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.7;overflow:hidden}
.chat.closed{display:none}
.m-pc .chat{top:var(--hdB,72px);bottom:var(--barH);right:0;width:var(--chatW);border-left:1px solid #D9E1E8;box-shadow:-12px 0 40px rgba(10,26,40,.18);animation:slideR .28s ease}
.m-pc .chat-hd{padding:0 16px 0 24px;height:68px;box-sizing:border-box}
/* PC: detail and chat share the same header line and the same footer line */
.m-pc .p-head{height:68px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.m-pc .p-foot{height:96px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.m-pc .chat-body{padding:24px 28px 16px}
.m-pc .chat-start{padding:8px 24px 2px}
.m-pc .chat-in{padding:8px 24px 0;height:66px;box-sizing:border-box;border-top:1px solid #E6ECF0;margin-top:8px}
.m-pc .chat-note{height:30px;box-sizing:border-box;padding-top:6px;padding-bottom:0}
.m-mobile .chat{left:var(--fx);width:var(--fw);bottom:0;height:72vh;height:72dvh;max-height:100dvh;z-index:80;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(5,18,30,.3);animation:slideU .3s ease;transition:height .3s ease,border-radius .3s ease}
.m-mobile .chat.full{height:100vh;height:100dvh;border-radius:0}
.cbg{position:fixed;z-index:79;top:0;bottom:0;left:var(--fx);width:var(--fw);background:rgba(14,26,38,.42);animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.grab{display:none}
.m-mobile .grab{display:flex;justify-content:center;align-items:center;width:100%;height:22px;padding:0;border:0;background:#fff;cursor:pointer;flex:none}
.grab i{width:44px;height:5px;border-radius:3px;background:#C5CFD8}
.chat-hd{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 16px;border-bottom:1px solid #E6ECF0;flex:none}
.m-mobile .chat-hd{padding-top:2px}
.mk{width:26px;height:26px;border-radius:9px;background:var(--navy);display:inline-flex;align-items:center;justify-content:center;flex:none}
.mk img{height:72%;width:auto;display:block}
.chat-ti{display:flex;align-items:center;gap:8px;min-width:0;flex:1;line-height:1.25}
.chat-ti b{font-size:16px;font-weight:800;white-space:normal;word-break:keep-all;min-width:0}   /* 11/13: 창 제목이 길면(영어 "Consultation request") 옆 버튼 밑으로 겹치지 않고 두 줄로 */
.chat-ti small{font-size:12.5px;color:#5D6B77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-ti small{display:none}
.m-pc .chat-start{flex-wrap:wrap;overflow:visible}
.chat-lv{flex:none;min-height:42px;padding:0 8px;border:0;background:transparent;font:inherit;font-size:14.5px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.chat-call{display:inline-flex;align-items:center;gap:5px;flex:none;min-height:40px;padding:0 12px;border-radius:999px;border:0;background:#EAF0F5;color:var(--navy);font:inherit;font-size:14.5px;font-weight:800;cursor:pointer}
.chat-call:hover{background:#DCE6EE}
.chat-x{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;font:inherit;font-size:15px;font-weight:800;color:var(--navy);cursor:pointer;flex:none;white-space:nowrap}

/* summary strip */
.csum{flex:none;background:#F6F8FA;border-bottom:1px solid #E6ECF0}
.csum-t{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:4px 16px;border:0;background:transparent;font:inherit;font-size:13.5px;color:#4F6273;cursor:pointer;text-align:left}
.csum-t em{font-style:normal;flex:none}
.csum-tags{display:flex;gap:5px;min-width:0;flex:1;overflow:hidden}
.l-en .csum-tags span,.l-en .csum-list b{text-transform:capitalize}
.csum-tags span{flex:none;padding:1px 9px;border-radius:999px;background:#fff;border:1px solid #D7E0E7;color:var(--navy);font-size:13px;font-weight:700;white-space:nowrap}
.csum-t i{font-style:normal;flex:none;transition:transform .2s}
.csum.open .csum-t i{transform:rotate(180deg)}
.csum-list{margin:0;padding:2px 16px 10px;list-style:none;display:flex;flex-direction:column;gap:6px}
.csum-list li{font-size:14px;line-height:1.5;color:var(--ink)}
.csum-list b{color:var(--navy);margin-right:6px}
.csum-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px 10px;font-size:12.5px;color:#5D6B77}
.csum-foot button{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #B9C6D1;background:#fff;font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer;white-space:nowrap}

/* conversation */
.chat-body{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 14px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}
.t-bot{display:flex;flex-direction:column;gap:6px;max-width:100%}
.t-who{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:var(--navy)}
.t-who .mk{width:22px;height:22px;border-radius:8px}
.t-txt{margin:0;white-space:pre-line}
.t-txt.stream::after{content:"";display:inline-block;width:8px;height:1.05em;margin-left:2px;vertical-align:-2px;background:var(--navy);opacity:.55;animation:blink 1s infinite}
.t-me{align-self:flex-end;max-width:84%;margin:0;padding:9px 16px;border-radius:20px 20px 6px 20px;background:#EAF0F5;white-space:pre-line}
.t-div{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#6A7884;text-align:center}
.t-div::before,.t-div::after{content:"";flex:1;height:1px;background:#E3E9EE}
.t-resume{margin:0;padding:8px 12px;border-radius:12px;background:#F6F8FA;font-size:14.5px;color:#4F6273}
.t-card{display:flex;align-items:center;gap:12px;width:100%;margin-top:4px;padding:8px;border:1px solid #DCE4EA;border-radius:16px;background:#fff;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.t-card:hover{border-color:var(--navy)}
.cph{width:72px;height:72px;border-radius:12px;flex:none;overflow:hidden;padding:0!important;background:linear-gradient(140deg,#2C5574,#153955 60%,#0E2A40);display:flex;align-items:flex-end;padding:6px;font-size:10.5px;line-height:1.2;color:#C9D8E4}
.t-card span{display:flex;flex-direction:column;min-width:0;line-height:1.4}
.t-card small{font-size:12.5px;color:var(--copper-d);font-weight:700}
.t-card b{font-size:15.5px}
.t-card em{font-style:normal;white-space:nowrap;font-size:13.5px;color:var(--navy);font-weight:700;margin-top:2px}
.t-sugl{margin:4px 0 0;font-size:12.5px;color:#6A7884}
.t-sug{display:flex;flex-wrap:wrap;gap:6px}
.t-sug button{min-height:42px;padding:0 14px;border-radius:999px;border:1px solid #C9D5DF;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;text-align:left;line-height:1.3}
.t-sug button:hover{border-color:var(--navy);background:#F6F8FA}
.lnk{display:inline;margin:0;padding:0;border:0;background:transparent;font:inherit;font-weight:800;color:var(--navy);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.cform{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #DCE4EA;border-radius:16px;background:#FAFBFC;width:100%}
.cform b{font-size:16px}
.cf-l{font-size:14px;font-weight:700}
.cform input[type=text],.cform input[type=tel]{width:100%;min-height:46px;padding:0 12px;border:1.5px solid #B9C2C9;border-radius:10px;font:inherit;font-size:16px;background:#fff}
.cf-ck{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.cf-ck{display:block;margin:2px 0 0;line-height:1.5}
.cf-sens{margin:0;font-size:13px;color:#5D6B77}
.cform .btn{min-height:46px;font-size:16px}
.typing{display:inline-flex;gap:5px;padding:6px 0}
.typing i{width:7px;height:7px;border-radius:50%;background:#8A9BA8;animation:blink 1.2s infinite}
.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}

/* first-visit starters + return prompt + input */
.chat-start{flex:none;display:flex;gap:6px;overflow-x:auto;padding:8px 12px 2px;scrollbar-width:none}
.chat-start::-webkit-scrollbar{display:none}
.chat-start button{flex:none;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid #C9D5DF;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;white-space:nowrap}
.chat-gate{flex:0 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;margin:8px 12px 0;padding:14px 14px 12px;border-radius:14px;background:#FFF8E1;border:1px solid #F1DFA6;font-size:14.5px;line-height:1.55}
.chat-gate b{display:block;margin-bottom:4px;font-size:15.5px;color:var(--navy-d)}
.chat-gate p{margin:0 0 10px;color:#4A5663;min-height:0;overflow-y:auto}
.chat-gate b,.chat-gate .g-acts{flex:none}
.m-mobile .chat-body{min-height:110px}
.g-acts{display:flex;flex-wrap:wrap;gap:8px}
.g-acts button{min-height:42px;padding:0 16px;border-radius:999px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer}
.g-acts .go{border:0;background:var(--navy);color:#fff}
.g-acts .new{border:1px solid #B9C6D1;background:#fff;color:var(--ink)}
.chat-gate.off{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;font-size:13.5px;color:#4A5663}
.chat-ret{flex:none;margin:8px 12px 0;padding:10px 12px;border-radius:14px;background:#F6F8FA;border:1px solid #E1E8EE;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14.5px}
.chat-ret span{flex:1 1 100%}
.chat-ret button{min-height:40px;padding:0 14px;border-radius:999px;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.chat-ret .go{border:0;background:var(--navy);color:#fff}
.chat-ret .new{border:1px solid #B9C6D1;background:#fff;color:var(--ink)}
.chat-in{display:flex;align-items:center;gap:8px;padding:10px 12px 6px;background:#fff;flex:none}
.chat-in input{flex:1;min-width:0;min-height:50px;padding:0 18px;border:1.5px solid #CFD9E1;border-radius:26px;background:#F6F8FA;font:inherit;font-size:17px;color:var(--ink)}
.chat-in input:focus{border-color:var(--navy);outline:none;background:#fff}
.send{width:50px;height:50px;border-radius:50%;border:0;background:var(--navy);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.chat-note{margin:0;padding:0 12px 10px;background:#fff;font-size:12px;color:#5D6B77;text-align:center;flex:none}
@keyframes blink{0%,80%,100%{opacity:.3}40%{opacity:1}}

/* ===== 상담바 · 떠 있는 버튼(휴대폰 AI 상담·전화 / PC AI 상담·전화 상담·오시는 길) · 접수 결과 화면 — 모양은 이 파일 한 곳 =====
   홈페이지: 만들 때 style.css 의 「@bar」 표시 자리에 그대로 끼워 넣음 (예전과 같은 순서)
   블로그: 같은 파일을 블로그 페이지에도 넣음 (tools/blog.cjs) → 여기만 고치면 홈페이지·블로그가 함께 바뀜 (11/19)
   PC/휴대폰 구분: 바깥 틀의 m-pc / m-mobile (홈페이지 .vp, 블로그 .vbar — 둘 다 폭 1000 미만이면 휴대폰) */
@keyframes popUp{from{transform:translateY(20px) scale(.97);opacity:0}to{transform:none;opacity:1}}
/* launcher (PC) */
.launch{position:fixed;z-index:44;right:24px;bottom:calc(var(--barH) + 16px);display:none;align-items:center;gap:12px;min-height:66px;padding:8px 26px 8px 10px;border-radius:999px;border:0;background:var(--kakao);color:#1B2733;font:inherit;font-family:var(--sans);cursor:pointer;box-shadow:0 12px 30px rgba(14,42,64,.35);text-align:left}
.m-pc .launch{display:flex}
.launch .av{width:48px;height:48px;border-radius:50%}
.launch span{display:flex;flex-direction:column;line-height:1.25}
.launch b{font-size:19px;font-weight:800}
/* PC quick buttons stacked above the chat button: phone and directions are always one click away */
.dock{display:none}
.m-pc .dock{position:fixed;z-index:44;right:24px;bottom:calc(var(--barH) + 96px);display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.dk{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:0 20px 0 16px;border-radius:999px;font:inherit;font-family:var(--sans);font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(14,42,64,.22)}
.dk-call{background:var(--navy);color:#fff;border:0}
.dk-call:hover{background:var(--navy-d)}
.dk-map{background:#fff;color:var(--navy);border:1.5px solid var(--navy)}
.dk-map:hover{background:#F2F5F8}
.launch small{font-size:14px;font-weight:500}
.launch::before{content:"";position:absolute;inset:-6px;border-radius:999px;border:2px solid rgba(254,229,0,.7);animation:ring 2.4s ease-out infinite;pointer-events:none}
@keyframes ring{0%{transform:scale(.96);opacity:1}100%{transform:scale(1.12);opacity:0}}

/* bottom consult bar: always there */
.bar{position:fixed;z-index:45;bottom:0;left:var(--fx);width:var(--fw);background:#fff;border-top:2px solid var(--navy);box-shadow:0 -8px 28px rgba(14,42,64,.14);font-family:var(--sans);color:var(--ink);transition:opacity .6s ease,box-shadow .4s ease}
.bar.dim{opacity:.5}
/* mobile: input rows fade first, then fold smoothly down to the button row (no jump) */
.m-mobile .bar.dim{opacity:.94}
.m-mobile .bar-in{grid-template-rows:40px auto 22px;transition:grid-template-rows .55s ease .12s,row-gap .55s ease .12s,padding .55s ease .12s}
.m-mobile .b-name,.m-mobile .b-phone,.m-mobile .b-ck{min-height:0;transition:opacity .3s ease}
.m-mobile .bar.dim .bar-in{grid-template-rows:0px auto 0px;row-gap:0;padding-top:8px;transition:grid-template-rows .55s ease .15s,row-gap .55s ease .15s,padding .55s ease .15s}
.m-mobile .bar.dim .b-name,.m-mobile .bar.dim .b-phone,.m-mobile .bar.dim .b-ck{opacity:0;overflow:hidden;pointer-events:none}
.m-mobile .bar.dim .tip{display:none}
.m-mobile .b-phone .tip,.m-mobile .b-ck .tip{left:auto;right:0}
.m-mobile .bar .tip{font-size:14px;line-height:1.4;padding:8px 14px;border-radius:14px;white-space:normal;max-width:calc(var(--fw) - 20px);width:max-content}
.m-mobile .fab.hide{opacity:0;pointer-events:none}
.m-mobile .fab.hh{opacity:0;pointer-events:none}
.bar.dim:hover,.bar.dim:focus-within{opacity:1;transform:none}
.bar-in{display:grid;grid-template-columns:auto minmax(110px,1fr) minmax(140px,1.2fr) minmax(170px,1fr) auto auto;gap:10px;align-items:center;max-width:1440px;margin:0 auto;padding:13px 24px}
.m-mobile .bar-in{grid-template-columns:1fr 1fr;grid-template-areas:"name phone" "pick acts" "ck ck";gap:6px 8px;padding:7px 10px 4px;max-width:640px}
.b-intro{display:flex;flex-direction:column;line-height:1.3}
.b-intro b{font-size:18px;font-weight:800;color:var(--navy);white-space:nowrap}
.b-intro small{font-size:13px;color:var(--muted);white-space:nowrap}
.m-mobile .b-intro{display:none}
@media (max-width:1240px){.m-pc .b-intro small{display:none}}
/* 좁은 PC(1440 이하, 11/19 전에는 1360): 이름 칸은 남고 번호 칸 안내 글("휴대폰 번호 (숫자만)")이 잘리던 것 → 번호 칸에 폭을 더 줌 (11/11) */
/* 11/19: 그래도 1000~1366 에서 번호 칸 안내 글이 잘리고(검사 t27), 관심진료 긴 이름도 잘려 다시 나눔 — 번호 칸 최소 폭을 안내 글 길이에 맞추고,
   1280 이하에서는 "지금, 상담을 남겨주세요!" 제목을 접어 칸에 자리를 줌(1120 이하에서 하던 것을 1280 까지) */
@media (max-width:1440px){.m-pc .bar-in{grid-template-columns:auto minmax(106px,.8fr) minmax(204px,1.5fr) minmax(178px,1fr) auto auto}}
@media (max-width:1280px){.m-pc .b-intro{display:none}.m-pc .bar-in{grid-template-columns:minmax(106px,.75fr) minmax(206px,1.5fr) minmax(178px,1fr) auto auto}}
.m-mobile .b-name{grid-area:name}.m-mobile .b-phone{grid-area:phone}.m-mobile .b-pick{grid-area:pick}.m-mobile .b-ck{grid-area:ck}.m-mobile .b-acts{grid-area:acts}
.bar input[type=text],.bar input[type=tel]{width:100%;min-height:50px;padding:0 14px;border:1.5px solid #B9C2C9;border-radius:12px;background:#fff;font:inherit;font-size:17px;color:var(--ink)}
.m-mobile .bar input[type=text],.m-mobile .bar input[type=tel]{min-height:40px;font-size:16px}
.bar input:focus{border-color:var(--navy);outline:3px solid rgba(194,138,91,.45);outline-offset:0}
.b-pick{position:relative;min-width:0}
.pickbtn > span:not([aria-hidden]){min-width:0;overflow:hidden;text-overflow:ellipsis}
.b-ck{min-width:0}
.pickbtn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:50px;padding:0 12px;border:1.5px solid #B9C2C9;border-radius:12px;background:#fff;font:inherit;font-size:16px;color:var(--ink);cursor:pointer;white-space:nowrap}
.m-mobile .pickbtn{min-height:40px;font-size:15px}
/* 휴대폰 360·390: "관심진료" 이름표를 위 작은 줄로, 고른 진료를 아래 줄로 → 고른 진료(재수술·재건, Implant Revision, 口腔检查与洗牙 등)가 끝까지 보이게 (11/12) */
.m-mobile .pickbtn{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:6px;row-gap:0;align-content:center;padding:1px 10px;text-align:left;line-height:1.15}
.m-mobile .pickbtn small{grid-column:1;grid-row:1;font-size:11.5px;line-height:1.15}
.m-mobile .pickbtn > span:not([aria-hidden]){grid-column:1;grid-row:2;font-size:15px;line-height:1.25}
.m-mobile .pickbtn > span[aria-hidden]{grid-column:2;grid-row:1 / 3;align-self:center}
.pickbtn small{color:var(--muted);font-size:13px}
/* 11/19 PC: 관심진료 칸도 휴대폰처럼 두 줄(위 "관심진료" 작게 · 아래 고른 진료) — 한 줄일 때 PC 폭 1000~1920 에서 「재수술·재건」·영어·중국어 긴 이름이 잘리던 것 */
.m-pc .pickbtn{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:8px;row-gap:0;align-content:center;padding:2px 12px 2px 14px;text-align:left;line-height:1.2}
.m-pc .pickbtn small{grid-column:1;grid-row:1;font-size:12.5px;line-height:1.2}
.m-pc .pickbtn > span:not([aria-hidden]){grid-column:1;grid-row:2;font-size:16px;line-height:1.3}
.m-pc .pickbtn > span[aria-hidden]{grid-column:2;grid-row:1 / 3;align-self:center}
.picks{position:absolute;bottom:calc(100% + 8px);left:0;right:0;z-index:2;display:flex;flex-direction:column;padding:6px;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(14,42,64,.2)}
.picks button{min-height:46px;padding:0 12px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:16px;text-align:left;cursor:pointer;color:var(--ink)}
.picks button[aria-pressed="true"]{background:var(--sand);font-weight:700}
.b-ck{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.35;color:var(--muted)}
.b-ck input{width:24px;height:24px;margin:0;flex:none}
.ck-txt{display:inline}
.m-mobile .ck-txt b{display:none}
.m-mobile .ck-txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-pc .ck-txt{white-space:nowrap}
/* 11/19 PC 1440 이하: 동의 문구를 두 줄로 접어 이름·번호 칸에 자리를 줌 — 한 줄일 때 「휴대폰 번호 (숫자만)」 안내 글이 1000~1366 폭에서 잘리던 것 */
@media (max-width:1440px){.m-pc .b-ck{max-width:200px;min-width:165px}.m-pc .ck-txt{white-space:normal}}
/* 아주 좁은 PC(1120 이하): 동의 문구가 세 줄로 갈라지지 않게 버튼 옆 여백을 조금 줄임 */
@media (max-width:1120px){.m-pc .bar-in{padding:13px 16px;grid-template-columns:minmax(106px,.75fr) minmax(210px,1.5fr) minmax(172px,1fr) auto auto}.m-pc .bar .b-acts .btn{padding:0 14px}}
.b-ck b{color:var(--ink)}
.b-more{display:inline-flex;align-items:center;flex:none;min-height:36px;padding:0 4px;border:0;background:transparent;font:inherit;font-size:13px;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.b-acts{display:flex;gap:8px}
.m-mobile .b-acts{display:flex}
.m-mobile .b-acts .btn{flex:1}
.bar .btn{min-height:50px;padding:0 20px;font-size:16px}
.m-mobile .bar .btn{min-height:40px;padding:0 6px;font-size:15px}
.b-ai{display:none!important}
.m-mobile .b-callpc{display:none!important}
.b-callm{display:none!important}
.m-mobile .b-ck{justify-content:space-between;font-size:13px;line-height:1.3}
.m-mobile .b-ck input{width:20px;height:20px}
.m-mobile .b-ck b{font-weight:600}
.ck-l{display:none}.m-mobile .ck-l{display:inline}.m-mobile .ck-s{display:none}
.m-mobile .b-more{min-height:22px;font-size:13px}
/* floating AI / phone buttons (mobile): follow the page like a messenger icon, step aside while scrolling */
.fab{display:none}
.m-mobile .fab{position:fixed;z-index:46;right:calc(var(--fx) + 12px);bottom:calc(var(--barH) + 12px);display:flex;flex-direction:column;gap:10px;transition:bottom .55s ease .12s,opacity .35s ease,transform .35s ease}
.m-mobile .fab.low{bottom:calc(var(--barLow,64px) + 12px)}
.m-mobile .fab.moving{opacity:.35;transform:translateX(8px)}
.m-mobile .fab.tuck{transform:translateX(19px)}   /* 버튼 폭(약 58px)의 1/3 이하만 비킴 — 글자는 온전히 보임 */
.m-mobile .fab.tuck button{box-shadow:0 6px 16px rgba(14,42,64,.28)}
.fab button{width:60px;height:60px;border-radius:50%;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font:inherit;font-family:var(--sans);font-size:11.5px;font-weight:800;line-height:1.1;cursor:pointer;box-shadow:0 8px 22px rgba(14,42,64,.32)}
.fab .f-ai{background:var(--kakao);color:#1B2733}
.fab .f-call{background:var(--navy);color:#fff}
.bar.hl{opacity:1;box-shadow:0 -8px 0 rgba(194,138,91,.35),0 -14px 40px rgba(194,138,91,.45);border-top-color:var(--copper)}
.bar.hl .b-name input{border-color:var(--copper-d);outline:4px solid rgba(194,138,91,.55);outline-offset:0;animation:nudge .5s ease 2}
@keyframes nudge{0%,100%{transform:none}50%{transform:translateY(-3px)}}
.b-name{position:relative}
.b-phone,.b-ck{position:relative}
.tip{display:none}
.tip.show{display:block}
.tip.err{background:#9B2C2C}
.bar input.bad{border-color:#9B2C2C;outline:3px solid rgba(155,44,44,.25)}
.tip{position:absolute;z-index:3;bottom:calc(100% + 12px);left:0;padding:10px 18px;border-radius:999px;background:var(--copper-d);color:#fff;font-size:16px;font-weight:700;white-space:nowrap;box-shadow:0 10px 24px rgba(14,42,64,.25);animation:popUp .25s ease}
.toast{display:none}
.toast.show{display:block}
.toast{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);max-width:calc(100% - 20px);padding:10px 18px;border-radius:12px;background:var(--navy-d);color:#fff;font-size:15px}
.toast.err{background:#9B2C2C}
.m-mobile .toast{left:10px;right:10px;transform:none;text-align:center}
/* 접수 결과 화면 (11/11): 상담바 자리를 덮음 · 높이가 모자라면 위로만 늘어남(아래 화면은 움직이지 않음) · [닫기] 전까지 그대로 */
.bar-done{position:absolute;left:0;right:0;bottom:0;min-height:100%;z-index:5;display:flex;align-items:center;background:#fff;border-top:3px solid #2E7D4F;box-shadow:0 -10px 30px rgba(14,42,64,.18);animation:popUp .25s ease}
.bar-done.fail{background:#FFF6F5;border-top-color:#B4321F}
.bar.has-done{border-top-color:transparent}
.bd-in{display:flex;align-items:center;gap:16px;width:100%;max-width:1440px;margin:0 auto;padding:11px 24px}
.bd-ic{flex:none;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#2E7D4F}
.fail .bd-ic{background:#B4321F}
.bd-tx{flex:1;min-width:0;display:block;line-height:1.45}
.bd-tx{word-break:keep-all}.l-zh .bd-tx{word-break:normal;line-break:strict}
.bd-tx b{display:block;margin-bottom:2px;font-size:20px;font-weight:800;color:#1E5A38}
.fail .bd-tx b{color:#B4321F}
.bd-tx > span{font-size:17px;color:var(--ink)}
.bd-tel{display:inline;margin-left:14px;padding:0;border:0;background:none;font:inherit;font-size:15px;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bd-acts{flex:none;display:flex;gap:8px}
.bar .bd-acts .btn{min-height:50px;padding:0 22px;font-size:16px;display:inline-flex;align-items:center;gap:6px}
.bar .bd-call{background:#B4321F;border-color:#B4321F;color:#fff}
.m-mobile .bd-in{display:grid;grid-template-columns:44px 1fr;gap:10px 12px;padding:12px 12px 10px}
.m-mobile .bd-ic{width:44px;height:44px;align-self:start}
.m-mobile .bd-ic svg{width:24px;height:24px}
.m-mobile .bd-tx b{font-size:18px}
.m-mobile .bd-tx > span{font-size:15px}
.m-mobile .bd-tel{display:block;margin:2px 0 0;font-size:14px}
.m-mobile .bd-acts{grid-column:1 / -1}
.m-mobile .bar .bd-acts .btn{flex:1;min-height:44px;padding:0 8px;font-size:16px;justify-content:center}
.bar .btn[disabled]{opacity:.55;cursor:default}
/* [보내기]를 누른 순간: "접수 중…" + 도는 표시 (흐리게 하지 않음 — 눌린 것이 분명히 보이게) */
.b-send .spin{display:none}
.bar .b-send.busy{opacity:1}
.b-send.busy .spin{display:inline-block;width:18px;height:18px;flex:none;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.b-send.busy .spin{animation-duration:2.4s}}
/* PC·넓은 모니터: 결과는 상담바 위 가운데 큰 상자 (멀리서도 읽히게) — 상담바는 아래에 그대로("접수 완료" 버튼) */
.m-pc .bar-done{left:50%;right:auto;bottom:calc(100% + 18px);min-height:0;width:min(620px,calc(100vw - 48px));transform:translateX(-50%);border:3px solid #2E7D4F;border-radius:22px;box-shadow:0 24px 60px rgba(14,42,64,.32);animation:popBox .25s ease}
.m-pc .bar-done.fail{border-color:#B4321F}
@keyframes popBox{from{transform:translate(-50%,16px) scale(.97);opacity:0}to{transform:translateX(-50%);opacity:1}}
.m-pc .bar.has-done{border-top-color:var(--navy)}
.m-pc .bd-in{flex-direction:column;align-items:center;gap:12px;padding:30px 32px 26px;text-align:center}
.m-pc .bd-ic{width:76px;height:76px}
.m-pc .bd-ic svg{width:44px;height:44px}
.m-pc .bd-tx{flex:none}
.m-pc .bd-tx b{font-size:28px;margin-bottom:8px}
.m-pc .bd-tx > span{display:block;font-size:19px}
.m-pc .bd-tel{display:inline-block;margin:10px 0 0;font-size:18px}
.m-pc .bd-acts{margin-top:6px;gap:10px}
.m-pc .bar .bd-acts .btn{min-height:56px;min-width:160px;padding:0 28px;font-size:18px;justify-content:center}

/* PC/휴대폰에 따라 한쪽 떠 있는 버튼만 · 상담 접수 숨은 칸(사람이 아닌 프로그램 막기) */
.m-pc .fab{display:none!important}
.m-mobile .dock,.m-mobile .launch{display:none!important}
.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

/* 11/13: 키보드가 올라오면 상담바를 키보드 바로 위로 (kbWatch, app.js) · 홈페이지 "최근 글"을 임플란트 안내 가운데에 둘 때의 모양 */
.m-mobile .bar{bottom:var(--kb,0px)}
.kb-open .m-mobile .fab{opacity:0;pointer-events:none}
/* 블로그 쪽: 관심진료 목록은 숨겨 두었다가 펼침 (홈페이지는 목록을 그때그때 그림) */
.picks[hidden]{display:none}
.bar-done[hidden]{display:none}

.cf-call{width:100%;margin:0 0 8px;min-height:46px;font-size:16px;border-color:#B4321F;color:#B4321F}

/* sections */
.sec{padding:96px 48px}
.m-mobile .sec{padding:56px 18px}
.in{max-width:var(--cw);margin:0 auto}
.m-mobile .in{max-width:640px}
.sand{background:var(--sand)}
.eyebrow{margin:0 0 10px;font-size:15px;font-weight:700;letter-spacing:.06em;color:var(--copper-d)}
.h2{margin:0 0 36px;font-weight:800;font-size:40px;line-height:1.35;letter-spacing:-.03em}
.h2 span{display:block}
.m-mobile .h2{font-size:27px;margin-bottom:26px}
.sub{margin:-20px 0 32px;color:var(--muted)}

/* concerns */
.concern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.m-mobile .concern-grid{grid-template-columns:1fr;gap:10px}
.concern{display:flex;align-items:center;gap:14px;min-height:78px;padding:14px 20px;background:#fff;border:1px solid var(--line);border-radius:16px;color:var(--ink);font:inherit;font-weight:500;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}
.concern:hover{border-color:var(--copper);transform:translateY(-2px)}
.cn{font-weight:800;font-size:18px;color:var(--copper-d)}
.cgo{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#FFF6B8;color:#5A4A00;font-size:14px;font-weight:700;white-space:nowrap;flex:none}
.c-hint{margin:16px 0 0;color:var(--muted);font-size:16px}

/* implants */
.impl-grid{display:grid;grid-template-columns:1.3fr 1fr;grid-template-areas:"a b" "a c";gap:24px}
.m-mobile .impl-grid{grid-template-columns:1fr;grid-template-areas:"a" "b" "c";gap:16px}
.card{display:flex;flex-direction:column;gap:12px;padding:28px;background:#fff;border:1px solid var(--line);border-radius:20px}
.ic-a{grid-area:a;background:var(--navy);color:var(--ivory);border-color:var(--navy);padding:32px}
.ic-b{grid-area:b}.ic-c{grid-area:c}
/* PC 진료 카드 배치 (11/14 지시-개발-진료카드PC배치): 3칸 같은 카드 — 대표진료는 남색 바탕·"대표진료" 글자로 구분
   세 카드의 글 / 그림 / [자세히 보기] 줄을 서로 맞춤(글 줄 수가 달라도 그림·버튼이 같은 높이). 휴대폰은 그대로 */
.m-pc .impl-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"a b c";grid-template-rows:auto auto auto;row-gap:0;align-items:stretch}
.m-pc .impl-grid .card{grid-row:span 3;display:grid;grid-template-rows:subgrid;row-gap:12px;padding:28px}
.m-pc .impl-grid .card-tx{grid-row:1}
.m-pc .impl-grid .card-rep{grid-row:2;align-self:start;margin:0}
.m-pc .impl-grid .card-go{grid-row:3;margin-top:0;align-self:end}
.m-mobile .card{padding:20px}
.tier{margin:0;font-size:14px;font-weight:700;color:var(--copper-d)}
.ic-a .tier{color:var(--copper-l)}
.card h3{margin:0;font-size:27px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.ic-a h3{font-size:34px}
.m-mobile .ic-a h3{font-size:28px}
.card p{margin:0}
.ph{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;min-height:170px;padding:14px;border-radius:14px;background:linear-gradient(135deg,#DCE6EC,#C3D3DD);border:1px dashed #9DB3C1;color:#32495A;font-size:14px;font-weight:500}
.ph-tall{min-height:300px}
/* illustrations / photos inside the old placeholder frames */
.art-ph{padding:0!important;overflow:hidden;border-style:solid!important;border-color:var(--line)!important;background:var(--ivory)!important}
.art-ph .art,.g-art .art,.call-ph .art,.cph .art{display:block;width:100%;height:100%;object-fit:cover}
.art-ph.ph-tall,.p-media .art-ph{aspect-ratio:4/3;min-height:0}
.guide-art{aspect-ratio:4/3;min-height:0;max-width:420px}
.g-art{margin:-24px -24px 14px;aspect-ratio:16/9;overflow:hidden;border-radius:18px 18px 0 0;background:var(--ivory)}
.m-mobile .g-art{margin:-18px -18px 12px}
.dark .art-ph{border-color:rgba(247,244,238,.25)!important}
.vscreen{position:relative}
.vscreen i{position:relative;z-index:1}
.vscreen .art{position:absolute;inset:0}
.vlabel{position:absolute;left:14px;bottom:12px;z-index:1;padding:4px 12px;border-radius:999px;background:rgba(14,42,64,.75);color:#fff;font-size:14px;font-weight:700}
.map-ph{display:block;aspect-ratio:4/3;min-height:0}
#care .art-ph[style]{aspect-ratio:16/10;min-height:0}
/* clinical photo gallery in the detail popup */
.cases{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.cases-hd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:12px}
.cases-hd h4{margin:0;font-size:20px;font-weight:800;color:var(--navy-d)}
.cases-hd span{font-size:13.5px;color:var(--muted)}
.cases-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.m-mobile .cases-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-mobile .case-ph:first-child:nth-last-child(odd){grid-column:1/-1}
.case-ph{margin:0;display:flex;flex-direction:column;gap:6px}
.case-ph img,.case-slot{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;border-radius:12px;object-fit:cover}
.case-slot{border:1.5px dashed #B7C4CF;background:repeating-linear-gradient(135deg,#F4F7F9 0 12px,#EEF2F5 12px 24px);color:#6A7884;font-size:13.5px;font-weight:700}
.case-ph figcaption{font-size:13.5px;color:#4A5663}
.ic-a .ph{background:linear-gradient(135deg,#21506F,#2D6283);border-color:#5E8AA6;color:#DCE8EF}
.m-mobile .ph-tall{min-height:200px}
.m-mobile .ph{min-height:140px}
.link-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.link-btn:hover{color:var(--copper-d)}
.ic-a .link-btn:hover{color:var(--copper-l)}
.common{margin-top:48px;padding:32px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .common{padding:18px;margin-top:36px}
.common h3{margin:0 0 6px;font-size:25px;font-weight:800}
.grp{margin:22px 0 4px;padding:0 4px;font-weight:600}   /* 11/19: 아래 줄(.gq)과 글자 시작선을 맞춤(4px) · 묶음 제목은 600으로 덜 튀게 */
.grp small{display:block;font-weight:400;color:var(--muted);font-size:16px}
.gl{border-top:1px solid var(--line)}
.gq{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:60px;padding:12px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:500;text-align:left;cursor:pointer}
.gq:hover{color:var(--copper-d)}
.gq[aria-expanded="true"]{color:var(--copper-d);font-weight:700}
.gq i{font-style:normal;font-size:24px;color:var(--copper-d);flex:none}
.ga{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:center;padding:18px 4px 24px;border-bottom:1px solid var(--line);animation:fade .25s ease}
.m-mobile .ga{grid-template-columns:1fr;gap:14px}
.ga p{margin:0;color:var(--muted)}
.ga .ph{min-height:190px;background:linear-gradient(135deg,#EAF0F4,#D2DFE7)}
.ga .ph svg{position:absolute;inset:0;margin:auto;opacity:.6}
.cta-row{margin-top:32px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:26px 30px;border-radius:20px;background:var(--sand)}
.m-mobile .cta-row{padding:20px 18px}
.m-mobile .cta-row .actions{width:100%}
.m-mobile .cta-row .btn{flex:1}
.cta-row p{margin:0;font-weight:500}
.cta-row .actions{gap:10px}

/* general care */
.gen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:dense;gap:20px}
.m-mobile .gen-grid{grid-template-columns:1fr;gap:12px}
.gcard{display:flex;flex-direction:column;gap:6px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}
.gcard.feat{grid-column:span 2;background:var(--navy);color:var(--ivory);border-color:var(--navy);padding:30px}
.m-mobile .gcard.feat{grid-column:span 1}
.gcard.lastwide{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);column-gap:28px;align-items:center}
.gcard.lastwide>.g-art{grid-row:1/6;margin:-24px 0 -24px -24px;aspect-ratio:auto;height:calc(100% + 48px);border-radius:18px 0 0 18px}
.m-mobile .gcard.lastwide{display:flex}
.gnum{margin:0;font-weight:800;color:var(--copper-d)}
.feat .gnum{color:var(--copper-l)}
.gcard h3{margin:0;font-size:23px;font-weight:800;line-height:1.35}
.feat h3{font-size:29px}
.gshort{margin:0;font-size:15px;font-weight:700;color:var(--copper-d)}
.feat .gshort{color:var(--copper-l)}
.gcard p.gd{margin:4px 0 4px;color:var(--muted)}
/* PC: 단계 그림이 있는 일반진료 칸(잇몸 치료·보철)은 그림을 오른쪽 위 작은 그림으로 → 그림 없는 칸과 키가 같아 같은 줄에 빈 공간이 안 생김 (11/17).
   휴대폰은 한 줄에 한 칸이라 키 차이가 없으므로 지금처럼 큰 그림. 큰 그림은 [자세히 보기] 창에서 봄 */
.m-pc .gcard.g-photo:not(.lastwide){position:relative}
.m-pc .gcard.g-photo:not(.lastwide)>.g-art{position:absolute;top:20px;right:20px;width:132px;margin:0;aspect-ratio:4/3;border-radius:12px;border:1px solid var(--line);background:var(--step-bg)}
.m-pc .gcard.g-photo:not(.lastwide)>.g-art .art{object-fit:cover}
.m-pc .gcard.g-photo:not(.lastwide) .gnum,.m-pc .gcard.g-photo:not(.lastwide) h3,.m-pc .gcard.g-photo:not(.lastwide) .gshort{padding-right:146px}
.feat p.gd{color:#DCE5EA}

/* doctor */
.doc{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:56px;align-items:start}
.m-mobile .doc{grid-template-columns:1fr;gap:32px}
.portrait{min-height:440px;border-radius:18px}
.m-mobile .portrait{min-height:300px}
.doc-id{margin-top:18px}
.doc-id p{margin:0}
.doc-name{font-size:26px;font-weight:800;letter-spacing:-.01em}
.doc-name.sm{font-size:21px}
.doc-role{font-size:14px;font-weight:800;letter-spacing:.04em;color:var(--copper-d)}
.doc-cv{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:16px;color:#33414E}
.doc-cv li{position:relative;padding-left:14px}
.doc-cv li::before{content:"";position:absolute;left:0;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--copper)}
.docs{display:flex;flex-direction:column;gap:22px}
.dcard{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;align-items:center;padding:16px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.dphoto,.m-mobile .dphoto{min-height:0;width:100%;aspect-ratio:1;border-radius:14px;padding:8px;font-size:11px}
.doc-cred{margin:4px 0!important;font-weight:700;color:var(--copper-d)}
.rel{padding:28px;border-radius:22px;background:#fff;border:1px solid var(--line)}
.m-mobile .rel{padding:18px}
.rel h3{margin:0 0 6px;font-size:28px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.m-mobile .rel h3{font-size:23px}
.rel .lead{margin:0 0 18px;color:var(--muted)}
.rel-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:center}
.m-mobile .rel-body{grid-template-columns:1fr;gap:12px}
.rel svg{width:100%;height:auto;display:block}
.legend{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.legend li{display:flex;gap:12px;align-items:flex-start}
.lg-t b{display:block;line-height:1.35}
.lg-t span{display:block;font-size:15px;color:var(--muted);line-height:1.45}
.legend .num{width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-size:15px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;flex:none;margin-top:2px}
.legend li:first-child .num{background:var(--copper-d)}
.legend li:last-child .num{background:var(--copper-d)}
.jaw{margin:16px 0 0;padding-top:14px;border-top:1px dashed var(--line);color:var(--muted);font-size:16px}
.phil{background:#fff}
.phil-h{margin:0 0 14px;font-size:46px;font-weight:900;line-height:1.3;letter-spacing:-.03em;color:var(--navy-d)}
.m-mobile .phil-h{font-size:30px}
.phil-lead{max-width:760px;margin:0 0 36px;font-size:20px;line-height:1.75;color:var(--muted)}
.m-mobile .phil-lead{font-size:17px;margin-bottom:24px}
.phil-card{padding:32px 40px;border-radius:24px;background:var(--ivory);border:1px solid var(--line)}
.m-mobile .phil-card{padding:18px}
.phil-card .rel-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
.m-mobile .phil-card .rel-body{grid-template-columns:1fr;gap:16px}
.phil-card svg{width:100%;max-width:440px;height:auto;display:block;margin:0 auto}
.phil-sub{margin:44px 0 16px;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--navy-d)}
.m-mobile .phil-sub{font-size:21px;margin-top:32px}
.phil-steps li{background:var(--ivory)}
.phil-q{margin:28px 0 0;padding:26px 32px;border-left:5px solid var(--copper);border-radius:0 18px 18px 0;background:var(--sand)}
.m-mobile .phil-q{padding:18px 20px}
.phil-q strong{display:block;margin-bottom:6px;font-size:20px;color:var(--navy-d)}
.phil-q p{margin:0;font-size:18px;color:#33414E}
.phil-q cite{display:block;margin-top:12px;font-style:normal;font-size:15px;font-weight:700;color:var(--copper-d)}
/* doctors: every doctor gets the same card; the lead dentist simply comes first */
.dgrid{display:grid;grid-template-columns:repeat(2,minmax(0,360px));gap:32px;justify-content:start}
.m-mobile .dgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dcard2{display:flex;flex-direction:column}
.dphoto2,.m-mobile .dphoto2{min-height:0;aspect-ratio:4/5;border-radius:18px}
.d-head{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:2px;margin:18px 0 10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.m-mobile .d-head{margin:12px 0 8px;padding-bottom:8px}
.d-head .doc-name{font-size:24px}
.m-mobile .d-head .doc-name{font-size:19px}
.d-head .doc-role{font-size:15px}
.m-mobile .dcard2 .doc-cv{font-size:14px}
.comm{margin-top:20px;padding:18px 20px;border-left:4px solid var(--copper);background:#fff;border-radius:0 14px 14px 0}
.comm strong{display:block;margin-bottom:4px}
.comm p{margin:0;color:var(--muted)}

/* aftercare */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.m-mobile .steps{grid-template-columns:1fr;gap:12px}
.steps li{padding:24px;border-top:3px solid var(--copper);background:#fff;border-radius:0 0 16px 16px}
.steps li b{display:block;font-size:21px;font-weight:800;margin-bottom:6px}
.steps li p{margin:0;color:var(--muted)}

/* infection */
.dark{background:var(--navy-d);color:var(--ivory)}
.dark .eyebrow{color:var(--copper-l)}
.flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 28px;padding:0;list-style:none}
.m-mobile .flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.flow li{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(247,244,238,.25);border-radius:16px;background:rgba(247,244,238,.06)}
.flow li b{font-size:21px;font-weight:800;overflow-wrap:normal;word-break:keep-all}
.m-mobile .flow li b{font-size:18px}   /* 11/13: 휴대폰 2칸에서 영어 "Packaging"·"Sterilizing"이 낱말 중간에서 끊기던 것 */
.flow li b em{font-style:normal;color:var(--copper-l);margin-right:8px}
.flow .fl-d{margin:0;font-size:16px;line-height:1.55;color:rgba(247,244,238,.86)}
.flow li .art-ph{margin-top:auto}   /* 4칸 그림 틀은 칸 맨 아래에 같은 높이로 (설명 줄이 있는 칸·없는 칸 모두) */
.dark .ph{background:rgba(247,244,238,.1);border-color:rgba(247,244,238,.35);color:#DCE8EF;min-height:110px}
.h3{margin:0 0 14px;font-size:25px;font-weight:800;line-height:1.4}
.water{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin-top:44px;padding-top:36px;border-top:1px solid rgba(247,244,238,.25)}
.m-mobile .water{grid-template-columns:1fr;gap:20px}
.water p{margin:0 0 12px;color:#DCE5EA}
.uses{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.uses li{padding:10px 16px;border-radius:999px;border:1px solid rgba(247,244,238,.4);font-weight:500}

/* consult (uses the bottom bar) */
.cons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:stretch}
.m-mobile .cons{grid-template-columns:1fr;gap:20px}
.reas{display:flex;flex-direction:column;gap:12px}
.reas p{margin:0;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}
.reas strong{display:block}
.reas span{color:var(--muted)}
.ccta{display:flex;flex-direction:column;gap:14px;justify-content:center;padding:32px;border-radius:22px;background:var(--navy);color:var(--ivory)}
.m-mobile .ccta{padding:22px}
.ccta h3{margin:0;font-size:26px;font-weight:800;line-height:1.4}
.ccta p{margin:0;color:#DCE5EA}
.ccta .btn{width:100%;min-height:58px;font-size:18px;white-space:normal}
.ccta small{color:#C9D6DE;font-size:15px}

/* visit (compact) */
.visit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.m-mobile .visit{grid-template-columns:minmax(0,1fr);gap:16px}
.vcard{padding:26px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .vcard{padding:18px}
.vcard h3{margin:0 0 6px;font-size:22px;font-weight:800}
.vcard p{margin:0 0 12px;color:var(--muted)}
.vcard .actions .btn{min-height:50px;font-size:16px;padding:0 18px}
.m-mobile .vcard .actions .btn{flex:1}
.tabs{display:flex;gap:6px;margin-bottom:12px;padding:4px;border-radius:14px;background:var(--sand)}
.tabs button{flex:1;min-height:48px;padding:0 8px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:16px;font-weight:500;color:var(--ink);cursor:pointer}
.tabs button[aria-selected="true"]{background:#fff;font-weight:800;color:var(--navy);box-shadow:0 2px 8px rgba(14,42,64,.1)}
dl.kv{margin:0;display:grid}
dl.kv div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line)}
.m-mobile dl.kv div{grid-template-columns:118px 1fr;gap:10px}
dl.kv dt{word-break:keep-all;overflow-wrap:break-word}
dl.kv dt{font-weight:700}
dl.kv dd{margin:0;color:var(--muted)}
.vcol{display:flex;flex-direction:column;gap:24px}
.m-mobile .vcol{gap:16px}
.hours{margin:6px 0 0;padding:0;list-style:none}
.hours li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line);font-size:18px}
.hours .hk{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.hours .hv{font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums}
.hours li.lunch{font-size:16px}.hours li.lunch .hk,.hours li.lunch .hv{font-weight:500;color:var(--muted)}
.hours li.closed .hv{color:#9B2C2C}
.hours li.now{margin:0 -10px;padding:13px 14px;border-radius:12px;border-bottom-color:transparent;background:#FFF6D6}
.hours em{font-style:normal;padding:2px 8px;border-radius:999px;background:var(--navy);color:#fff;font-size:12px;font-weight:800}
.hnote{margin:12px 0 0!important;font-size:14px}
.hol{margin:14px 0 0!important;font-size:16px}
.hol strong{color:var(--ink)}
.vvid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px;align-items:center;margin-top:24px;padding:26px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.m-mobile .vvid{grid-template-columns:1fr;gap:14px;padding:18px}
.vvid h3{margin:0 0 12px;font-size:22px;font-weight:800}
.vchips{display:flex;flex-direction:column;gap:8px}
.m-mobile .vchips{flex-direction:row;flex-wrap:wrap}
.vchips button{min-height:48px;padding:0 16px;border-radius:12px;border:1.5px solid #B9C2C9;background:#fff;font:inherit;font-size:16px;text-align:left;color:var(--ink);cursor:pointer}
.vchips button[aria-pressed="true"]{border-color:var(--navy);background:var(--navy);color:#fff;font-weight:700}
.vscreen{aspect-ratio:16/9;min-height:0;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.vscreen i{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center}
.ft{padding:32px 48px 40px;background:var(--navy-d);color:#C9D6DE;font-size:15px;line-height:1.7}
.m-mobile .ft{padding:26px 18px calc(26px + 142px)}   /* 11/19: 맨 아래까지 내리면 푸터 글(1661-8827 등)이 떠 있는 버튼(AI 상담·전화) 위로 올라오게 — 버튼 두 개 높이만큼 아래 여백 */
.ft p{margin:0}
.ft a{color:#fff}
.cdoc-h{font-size:24px!important}
.cdoc-intro{margin:0;font-size:16px;color:#33414E}
.cdoc-sec h4{margin:6px 0 6px;font-size:17px;font-weight:800;color:var(--navy-d)}
.cdoc-sec ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:15.5px;line-height:1.6;color:#33414E}
.cdoc-ver{margin:10px 0 0;font-size:15px}.cdoc-ver a{color:#153955;font-weight:700}
.ft-links{margin-top:6px!important}
.ft-links button{padding:0;border:0;background:transparent;font:inherit;font-weight:800;color:#fff;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
/* 오시는 길: 주소·찾는 법·옛 주소·전화 (왼쪽 이름표 + 오른쪽 내용, 줄 맞춤) */
.vinfo{margin:6px 0 16px;display:grid}
.vinfo>div{display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line)}
.vinfo>div:last-child{border-bottom:0}
.l-en .vinfo>div{grid-template-columns:96px 1fr}
.vinfo dt{font-size:14.5px;font-weight:700;color:var(--copper-d)}
.vinfo dd{margin:0;color:var(--ink);font-size:16.5px;line-height:1.55}
.vi-addr dd{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.v-addr{font-size:18px;font-weight:800;color:var(--ink)}
.v-copy{min-height:34px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--navy);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.v-copy:hover{border-color:var(--navy)}
.v-land{font-weight:700}
.vi-tel dd{align-self:center}
a.v-tel{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-size:22px;font-weight:800;letter-spacing:.01em;text-decoration:none}
.m-mobile .vinfo>div{grid-template-columns:68px 1fr;gap:10px}
.m-mobile.l-en .vinfo>div{grid-template-columns:86px 1fr}
.m-mobile .vinfo dd{font-size:15.5px}
.m-mobile .v-addr{font-size:16.5px}

/* 실제 지도(오픈스트리트맵 조각) + 핀 */
.vmap{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:#EEF0EA;margin-bottom:14px;user-select:none}
.vmap-base,.vmap .vmap-base.maplibregl-map{position:absolute;inset:0;z-index:5;background:#F3F0EA;opacity:0;pointer-events:none}
.vmap-base.on,.vmap .vmap-base.maplibregl-map.on{opacity:1;pointer-events:auto}
.vmap-base .maplibregl-canvas{outline:none}
.vpin{position:absolute;z-index:2;display:flex;align-items:center;gap:6px;transform:translate(-14px,-50%);pointer-events:none;white-space:nowrap}
.vpin b{flex:none;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#2563A8;color:#fff;font-size:14px;font-weight:800;border:2.5px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.vpin i{font-style:normal;padding:3px 9px;border-radius:8px;background:#fff;border:1px solid rgba(0,0,0,.12);color:#1B2733;font-size:13px;font-weight:800;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.vpin.main{z-index:3}
.vpin.main b{width:36px;height:36px;background:var(--navy);font-size:16px;border-color:#FEE500}
.vpin.main i{background:var(--navy);color:#fff;font-size:14px}
.vpin.main{flex-direction:column-reverse;gap:4px;transform:translate(-50%,calc(-100% + 18px))}
.vpin.s-left{flex-direction:row-reverse;transform:translate(calc(-100% + 14px),-50%)}
.vpin.s-down{flex-direction:column;gap:3px;transform:translate(-50%,-14px)}
.vpin.s-up{flex-direction:column-reverse;gap:3px;transform:translate(-50%,calc(-100% + 14px))}
.m-mobile .vpin.s-left{transform:translate(calc(-100% + 12px),-50%)}
.m-mobile .vpin.s-down{transform:translate(-50%,-12px)}
.m-mobile .vpin.s-up{transform:translate(-50%,calc(-100% + 12px))}
.m-mobile .vpin{transform:translate(-12px,-50%)}
.vpin.s-none i,.vpin.nm i{display:none}
.vpin.wrap i{white-space:normal;width:max-content;max-width:126px;line-height:1.25;text-align:center;overflow-wrap:normal}
.vpin.wrap.wrap2 i{max-width:92px}   /* 이름 상자 두 줄 (한 줄로는 선·다른 표시를 가릴 때만) */
.vmap-r{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none;overflow:visible}
/* 걷는 길 = 지하철 노선도식: 점선 없이 끊김 없는 굵은 실선(6px, 휴대폰 5px, 누른 노선 8px) + 흰 테두리 2px, 둥근 끝·꺾임. 누르지 않은 노선은 같은 실선을 35% 투명 */
.vmap-r .vrc{fill:none;stroke:#fff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round}
.vmap-r .vr{fill:none;stroke:var(--pk);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.m-mobile .vmap-r .vrc{stroke-width:9}.m-mobile .vmap-r .vr{stroke-width:5}
.vmap-r .vrc.on{stroke-width:12}.vmap-r .vr.on{stroke-width:8}
.vmap-r .vrc.dim{stroke-width:7}.vmap-r .vr.dim{stroke:#837D76;stroke-width:4}   /* 누르지 않은 노선 = 따뜻한 회색 실선(색을 섞지 않음, 완전 불투명) */
/* 주차장 4색: 색약에서도 구별되는 주황·파랑·초록·자주 (핀 번호·선·이름표·목록 번호가 같은 색) */
.pkc1{--pk:#D55E00}.pkc2{--pk:#0072B2}.pkc3{--pk:#00805A}.pkc4{--pk:#9B2C86}
.vpin.pkc1 b,.vpin.pkc2 b,.vpin.pkc3 b,.vpin.pkc4 b{background:var(--pk)}
.vpin.dim,.vwt.dim{opacity:.72}   /* 누르지 않은 노선의 번호·시간표·이름: 연하지만 글자는 읽히게 */
.vwt{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:4px;transform:translate(-50%,-50%);padding:2px 8px 2px 3px;border-radius:999px;background:#fff;color:#1B2733;font-size:12.5px;font-weight:800;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.3);pointer-events:none}
.vwt{border:2px solid var(--pk)}
.vwt.tg{display:none}   /* 연한 노선의 시간표는 안 겹치는 자리가 없으면 숨김(시간은 아래 목록에 있음) */
.vwt.on{box-shadow:0 0 0 3px #fff,0 1px 6px rgba(0,0,0,.4)}
.vwt b{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--pk);color:#fff;font-size:11px}
.vmap-attr{position:absolute;z-index:4;right:0;bottom:0;padding:1px 6px;background:rgba(255,255,255,.85);color:#4A5663;font-size:10.5px;text-decoration:none;border-top-left-radius:6px}
.m-mobile .vmap{aspect-ratio:1}
.m-mobile .vpin i{font-size:12px;padding:2px 7px}
.m-mobile .vpin b{width:24px;height:24px;font-size:12.5px}
.m-mobile .vpin.main b{width:30px;height:30px;font-size:14px}
.m-mobile .vpin.main{transform:translate(-50%,calc(-100% + 15px))}
.m-mobile .vpin.main i{font-size:12.5px}

/* 주차 안내 목록 (지도 핀 번호와 같은 번호) */
.vpark-box{margin:0 0 16px;padding:14px 16px;border-radius:14px;background:var(--ivory)}
.vpark-t{margin:0 0 8px!important;color:var(--ink)!important;font-size:15.5px;font-weight:800}
.vpark-l{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.vpark{display:block}
.vpk-b{display:flex;align-items:flex-start;gap:10px;width:calc(100% + 20px);margin:0 -10px;padding:6px 8px;box-sizing:border-box;border:2px solid transparent;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left}
button.vpk-b{cursor:pointer;min-height:44px}
button.vpk-b:hover{background:#fff}
button.vpk-b:focus-visible{outline:3px solid var(--navy);outline-offset:1px}
.vpark.on .vpk-b{background:#fff;border-color:var(--pk)}
.vpark.dim{opacity:.5}
.vpark b{flex:none;width:26px;height:26px;margin-top:1px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--pk,#2563A8);color:#fff;font-size:13px;font-weight:800}
.vpark.main b{background:var(--navy)}
.vpark span{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;line-height:1.5}
.vpark strong{font-size:15.5px;color:var(--ink)}
.vpark .vfee{align-self:center;flex:none;padding:1px 9px;border-radius:999px;font-style:normal;font-size:13px;font-weight:800;line-height:1.5;white-space:nowrap;background:#E8ECEF;color:#2F3B46;border:1px solid #C3CCD4}   /* 요금 이름표: 글자로 구분, 주차장 4색과 안 겹치는 중립색 */
.vpark .vfee.free{background:#fff;color:#1B2733;border-color:#7C8A96}
.vpark small{font-size:14px;color:var(--muted)}
.vpark-more{margin:8px 0 0!important;font-size:13.5px}
/* top info line (PC): address and phone always at hand, like most clinic sites */
.util{display:none}
.m-pc .util{display:flex;justify-content:flex-end;align-items:center;gap:22px;padding:7px max(var(--gut),calc((100% - var(--cw)) / 2));background:#fff;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.util span,.util a{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none}
.util a{font-weight:800;color:var(--navy)}

/* detail panel: header / scrolling body / fixed footer */
.pbg{position:fixed;inset:0;z-index:40;background:rgba(10,26,40,.5);animation:fade .2s ease}
.panel{position:fixed;z-index:41;display:flex;flex-direction:column;overflow:hidden;background:#FBF9F4;color:var(--ink);font-family:var(--sans);box-shadow:-12px 0 40px rgba(10,26,40,.25)}
.m-pc .panel{--pw:min(var(--popMax),calc(100vw - var(--chatW) - 48px));top:var(--hdB,72px);bottom:var(--barH);right:auto;left:calc(100vw - var(--chatW) - var(--popGap) - var(--pw));width:var(--pw);height:auto;transform:none;border-radius:0;box-shadow:0 30px 80px rgba(5,18,30,.4);animation:fadeIn .22s ease;container-type:inline-size}
.m-pc .pbg{z-index:40}
/* consent / policy text can open on top of the chat (mobile) without closing it */
.m-mobile .pbg.over{z-index:90}
.m-mobile .panel.small{z-index:91;top:auto;bottom:0;max-height:86vh;max-height:86dvh}
/* small popups (phone, consent): a compact card in the middle of the free space */
/* chat closed: exactly in the middle of the screen; chat open: in the middle of the space left of the chat */
.m-pc .panel.small{--pw:min(940px,calc(100vw - 48px));top:calc(var(--hdB,72px) + (100vh - var(--hdB,72px) - var(--barH)) / 2);bottom:auto;height:auto;max-height:calc(100vh - var(--hdB,72px) - var(--barH) - 40px);left:calc((100vw - var(--pw)) / 2);transform:translateY(-50%);border-radius:22px}
.m-pc .panel.small.withchat{--pw:min(940px,calc(100vw - var(--chatW) - 48px));left:calc((100vw - var(--chatW) - var(--pw)) / 2)}
.m-pc .panel.small .p-head{height:auto;padding:14px 24px 10px}
/* ===== 전화 상담 창 모양 — 한 곳 (11/21 지시-개발-창구역고정·블로그전화창 B) =====
   홈페이지: style.css 의 /*@call*/ 자리에 끼워짐 / 블로그: 블로그 모양 뒤에 붙음 (tools/build.cjs · tools/blog.cjs)
   → 전화 창 모양을 고칠 때는 이 파일만 고치면 홈페이지·블로그가 같이 바뀝니다. 검사 t52 가 두 곳 모양 차이를 잡음.
   아래 :where(…) "창 바탕" 줄은(힘이 가장 약해서 아래 전화 창 규칙·홈페이지 공통 규칙을 덮지 않음) 홈페이지의 공통 창 모양(.pbg·.panel·.p-head·.panel-x·.p-body)과 같은 값 — 블로그에는 그 공통 모양이 없어서 전화 창 것만 여기 적어 둠 */
@keyframes vgpCallFade{from{opacity:0}to{opacity:1}}
@keyframes vgpCallUp{from{transform:translateY(60px);opacity:0}to{transform:none;opacity:1}}
:where(.pbg.callbg){position:fixed;inset:0;background:rgba(10,26,40,.5);animation:vgpCallFade .2s ease}
:where(.panel.small.callp){position:fixed;display:flex;flex-direction:column;overflow:hidden;color:var(--ink);font-family:var(--sans);box-shadow:-12px 0 40px rgba(10,26,40,.25)}
:where(.m-pc .panel.small.callp){right:auto;width:var(--pw);height:auto;animation:vgpCallFade .22s ease}
:where(.m-mobile .panel.small.callp){animation:vgpCallUp .3s ease}
:where(.panel.small.callp .p-head){display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;border-bottom:1px solid var(--line)}
:where(.panel.small.callp .panel-x){min-height:46px;padding:0 18px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:800;cursor:pointer;flex:none}
:where(.panel.small.callp .p-body){flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column}
:where(.panel.small.callp p){margin:0}
.pbg.callbg{z-index:90}
.panel.small.callp{z-index:91;background:#fff}
.callp .p-head{border-bottom:1px solid #e3e8f0}
.callp .panel-tag{font-size:28px;font-weight:800;color:#16295a;letter-spacing:-.01em}
.callp .panel-x{font-size:20px}
.callp .p-body{background:#fff}
.m-pc .panel.small.callp{--pw:min(800px,calc(100vw - 48px));top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);max-height:calc(100vh - 32px);border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.3)}
.m-pc .panel.small.callp.withchat{--pw:min(800px,calc(100vw - 48px));left:50%}
.m-pc .panel.small.callp .p-head{padding:24px 32px 14px}   /* 홈페이지 공통 작은 창 머리 여백(.m-pc .panel.small .p-head)보다 앞서게 — 11/21 블로그와 비교하다 발견: 그동안 홈페이지는 공통 여백(14·24)이 이겨 지시서 값(위 24·좌우 32)이 안 먹었음 */
.m-pc .callp .p-body{padding:18px 32px 28px;gap:0}
.call{--navy2:#15365a;--cline:#e3e8f0;--orange:#C24F17;display:flex;flex-direction:column;color:#1f2733}
.call p{margin:0}
.call-main{display:grid;grid-template-columns:60% 40%;align-items:center}
.call-name{font-size:24px;font-weight:800;color:#16295a;line-height:1.35}
.call-name small{margin-left:6px;font-size:18px;font-weight:700;color:#3b4a63}
.call-lab,.call-say,.call-btn{display:none}
.call-num{font-size:54px;font-weight:900;color:#16295a;line-height:1.15;letter-spacing:.5px;white-space:nowrap;margin-top:2px;font-variant-numeric:tabular-nums;-webkit-user-select:text;user-select:text;cursor:text}
.call-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:6px}
.call-to{font-size:20px;font-weight:700}
.call-copy{height:40px;padding:0 16px;border:1.5px solid #16295a;border-radius:20px;background:#fff;color:#16295a;font:inherit;font-size:17px;font-weight:700;cursor:pointer;white-space:nowrap}
.call-copy:hover{background:#f1f5fb}
.call-copy.done{background:#16295a;color:#fff}
.call-tel-sm{font-size:17px;font-weight:700;color:#16295a;text-decoration:underline;text-underline-offset:3px}
.call-desc{margin-top:16px!important;font-size:18px;line-height:1.6}
.call-ph{height:clamp(170px,30vh,260px);background:radial-gradient(closest-side,#e6f0fb 0%,#f2f7fd 55%,#fff 100%)}
.call-ph .art{display:block;width:100%;height:100%;object-fit:contain}
.call-ph .call-art-m,.m-mobile .call-ph .call-art-pc{display:none}.m-mobile .call-ph .call-art-m{display:block}
.call-hrs{margin-top:18px;padding-top:16px;border-top:1px solid var(--cline)}
.call-hrs h4{margin:0 0 10px;font-size:22px;font-weight:800;color:#16295a}
.call-today{margin:0 0 10px!important;font-size:18px;font-weight:700;color:#9B2C2C;line-height:1.5}
.call-hours{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0;padding:0;list-style:none;border-top:1px solid var(--cline)}
.call-hours li{display:flex;align-items:baseline;gap:16px;padding:10px 18px;font-size:20px;line-height:1.4;border-bottom:1px solid var(--cline)}
.call-hours li:nth-child(odd){border-right:1px solid var(--cline)}
.call-hours span{min-width:7em;font-weight:700;color:#1f2733}
.call-hours b{font-weight:400;color:#1f2733;white-space:nowrap;font-variant-numeric:tabular-nums}
.call-hours li.closed b{color:#9B2C2C;font-weight:700}
.call-leave{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:60px;margin-top:20px;padding:0 24px;border:0;border-radius:16px;background:var(--orange);color:#fff;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.call-leave:hover{filter:brightness(.94)}
.call-leave:focus-visible{outline:3px solid #16295a;outline-offset:3px}
.call-lq{font-size:18px;font-weight:500;text-align:left}
.call-leave b{font-size:24px;font-weight:800;white-space:nowrap}
.call-leave b i{font-style:normal;margin-left:6px}
.call.noart .call-main{grid-template-columns:1fr}
/* 높이가 낮은 PC 화면 (보이는 높이 560 이하) 또는 내용이 넘칠 때(.tight) */
@media (max-height:560px){.m-pc .panel.small.callp .p-head{padding:14px 28px 10px}.m-pc .callp .p-body{padding:10px 28px 18px}.m-pc .call-ph{height:110px}.m-pc .call-num{font-size:48px}.m-pc .call-desc{margin-top:8px!important}.m-pc .call-hrs{margin-top:10px;padding-top:10px}.m-pc .call-hrs h4{margin-bottom:4px}.m-pc .call-hours li{padding:5px 18px}.m-pc .call-leave{margin-top:10px;height:54px}}
.m-pc .call.tight .call-ph{height:110px}.m-pc .call.tight .call-desc{margin-top:8px!important}.m-pc .call.tight .call-hrs{margin-top:10px;padding-top:10px}.m-pc .call.tight .call-hours li{padding:5px 18px}.m-pc .call.tight .call-leave{margin-top:10px}
/* 휴대폰 판 */
/* 높이 = 보이는 화면의 83.2%. 주소창 포함 360×584 같은 아주 낮은 화면에서 글씨를 줄이지 않고는 다 안 들어가면 판이 조금 더 올라감(최대 화면−40px), 그래도 넘치면 판 안 스크롤 */
.m-mobile .panel.small.callp{top:auto;bottom:0;left:var(--fx);width:var(--fw);height:auto;min-height:83.2vh;min-height:83.2dvh;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border-radius:22px 22px 0 0}
.m-mobile .callp .p-head{padding:18px 20px 12px}
.m-mobile .callp .panel-tag{font-size:24px}
.m-mobile .callp .panel-x{font-size:18px}
.m-mobile .callp .p-body{padding:6px 20px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:0}
.m-mobile .call{flex:1 0 auto;justify-content:space-evenly;gap:10px;--bh:56px;--illh:140px}
.m-mobile .call-main{display:flex;align-items:center;justify-content:space-between;gap:6px}
.m-mobile .call-tx{flex:none}
.m-mobile .call-name,.m-mobile .call-desc{display:none}
.m-mobile .call-row{display:none}
.m-mobile .call.nodial .call-row{display:flex;margin-top:8px}
.m-mobile .call.nodial .call-to{font-size:18px}
.m-mobile .call-lab{display:block;font-size:18px;font-weight:800;color:#16295a}
.m-mobile .call-num{font-size:40px}
.m-mobile .call-say{display:block;font-size:18px}
.m-mobile .call-ph{flex:1 1 auto;min-width:0;max-width:150px;height:var(--illh);background:radial-gradient(closest-side,#e6f0fb 0%,#f4f8fd 60%,#fff 100%)}
.m-mobile .call-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:var(--bh);border-radius:14px;background:var(--navy2);color:#fff;font-size:20px;font-weight:800;text-decoration:none}
.m-mobile .call-btn:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.m-mobile .call-hrs{margin-top:0;padding-top:0;border-top:0}
.m-mobile .call-hrs h4{margin-bottom:8px}
.m-mobile .call-hours li{display:block;padding:8px 14px;font-size:18px}
.m-mobile .call-hours span{display:block;min-width:0;font-size:18px}
.m-mobile .call-hours b{display:block;margin-top:2px;font-size:18px;white-space:normal}
.m-mobile .call-leave{height:var(--bh);margin-top:0;padding:0 16px;gap:6px;border-radius:14px}
.m-mobile .call-lq{font-size:16px;letter-spacing:-.02em;line-height:1.25}
.m-mobile.l-ko .call-lq,.m-mobile .l-ko .call-lq{white-space:nowrap}
.m-mobile .call-leave b{font-size:20px}
@media (max-height:700px){.m-mobile .call{--bh:52px;--illh:110px;gap:8px}.m-mobile .callp .p-head{padding:14px 20px 10px}.m-mobile .call-hours li{padding:6px 12px}.m-mobile .call-hrs h4{margin-bottom:4px}}
.m-mobile .call.tight{--illh:110px;gap:6px}.m-mobile .call.tight .call-hours li{padding:4px 10px}.m-mobile .call.tight .call-hrs h4{margin-bottom:2px}.m-mobile .callp.tightp .p-head{padding:10px 20px 8px}
/* 열려 있는 동안 뒤 화면이 스크롤되지 않게 */
/* 창이 열린 동안 뒤 화면 스크롤 막기 — 스크롤바 자리는 그대로 남겨 뒤 화면이 옆으로 밀리지 않게 */
html.call-lock{overflow:hidden;scrollbar-gutter:stable}html.call-lock body{overflow:hidden}
   /* 전화 상담 창 모양은 src/call.css 한 곳 (블로그도 같은 파일) — 만들 때 이 자리에 끼워 넣음 */
/* short phones: give the AI chat more of the screen so the input row is never pushed out */
@media (max-height:700px){.m-mobile .chat{height:min(100dvh,max(72dvh,560px))}}
/* detail content: big photo left, text right when the popup is wide enough */
.p-grid,.p-text{display:flex;flex-direction:column;gap:14px}
.m-mobile .p-text{display:contents}
.m-mobile .p-grid h3{order:-1}
.m-pc .panel h3{font-size:34px}
.m-pc .p-text p{font-size:19px}
@container (min-width:820px){
  .p-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:36px;align-items:start}
  .p-media{position:sticky;top:0}
  .p-media .ph{min-height:0;aspect-ratio:4/3}
}
.m-mobile .panel{top:56px;bottom:var(--barH);left:var(--fx);width:var(--fw);border-radius:22px 22px 0 0;animation:slideU .3s ease}
.p-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 28px 12px;flex:none;border-bottom:1px solid var(--line)}
.m-mobile .p-head{padding:10px 16px}
.panel-tag{font-size:14px;font-weight:700;color:var(--copper-d)}
.panel-x{min-height:46px;padding:0 18px;border-radius:999px;border:1.5px solid var(--navy);background:#fff;color:var(--navy);font:inherit;font-weight:800;cursor:pointer;flex:none}
.p-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px;padding:20px 28px 28px}
.m-mobile .p-body{padding:16px 16px 24px}
.panel h3{margin:0;font-size:30px;font-weight:800;line-height:1.35;letter-spacing:-.02em}
.m-mobile .panel h3{font-size:25px}
.panel p{margin:0}
.pnote{color:var(--muted)}
.p-x{line-height:1.75}.p-xl{color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:3px}   /* 11/21 '충치' 연결 문장 · 진료 창 링크 */
.case{padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.case strong{display:block;margin-bottom:4px}
.case p{color:var(--muted)}
.addr{padding:10px 12px;border-radius:12px;border:1.5px dashed #9AA7B1;background:#F1F4F6;font-family:'Noto Sans KR',system-ui,sans-serif;font-size:13px;line-height:1.5;color:#32495A}
.addr code{font-size:14px;font-weight:700;color:var(--navy-d);word-break:break-all}
.p-foot{flex:none;display:flex;align-items:center;gap:12px;padding:14px 28px 16px;background:#fff;border-top:1px solid var(--line)}
.p-foot p{margin:0 auto 0 0;font-weight:700;font-size:16px}
.p-foot .btn{min-height:52px;padding:0 22px}
.m-mobile .p-foot{display:none}
.p-mhint{display:none;padding:12px 14px;border-radius:12px;background:#FFF8CC;font-size:15px;color:#4A3F00}
.m-mobile .p-mhint{display:block}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes slideR{from{transform:translateX(48px);opacity:0}to{transform:none;opacity:1}}
@keyframes slideU{from{transform:translateY(60px);opacity:0}to{transform:none;opacity:1}}

/* operator settings preview */
.cfg{position:fixed;z-index:90;inset:0;margin:auto;width:min(640px,94vw);height:fit-content;max-height:86vh;overflow:auto;padding:24px;border-radius:20px;background:#fff;color:var(--ink);font-family:'Noto Sans KR',system-ui,sans-serif;font-size:16px;line-height:1.6;box-shadow:0 24px 70px rgba(10,26,40,.4);animation:fade .2s ease}
.cfg-bg{position:fixed;inset:0;z-index:89;background:rgba(10,26,40,.5)}
.cfg h3{margin:0 0 6px;font-size:22px}
.cfg p{margin:0 0 14px;color:var(--muted);font-size:15px}
.cfg-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.cfg-name{display:flex;align-items:center;gap:8px}
.badge{padding:2px 10px;border-radius:999px;background:#EFE9DD;color:#6F4220;font-size:13px;font-weight:700}
.cfg-ctl{display:flex;flex-wrap:wrap;gap:6px}
.cfg-ctl button{min-height:44px;min-width:44px;padding:0 12px;border-radius:10px;border:1.5px solid #B9C2C9;background:#fff;font:inherit;font-size:15px;color:var(--ink);cursor:pointer}
.cfg-ctl button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:700}
.cfg-x{margin-top:16px;min-height:48px;padding:0 22px;border-radius:999px;border:0;background:var(--navy);color:#fff;font:inherit;font-weight:700;cursor:pointer}

/* ---- 실제 홈페이지용: PC/모바일 차이를 화면 크기만으로 바로 정해, 불러오는 동안 화면이 튀지 않게 ---- */
.lg-s{display:none}
.m-mobile .lg-f{display:none}
.m-mobile .lg-s{display:inline}

/* 상담 접수 연결 */
.cf-err{margin:4px 0 8px;color:#B4321F;font-size:15px;font-weight:700}

/* 상담창 머리줄: 좁은 휴대폰(갤럭시 360·375px 등)에서 제목이 [전화] 버튼에 가려지지 않게
   - 자리가 모자라면 [전화]는 아이콘만 (화면 읽어주기에는 '전화 상담' 그대로)
   - 영어는 제목이 길어 더 넓은 화면부터 아이콘만, 아주 좁으면 제목 앞 작은 로고도 숨김 */
@media (max-width:380px){.chat-call span{display:none}.chat-call{padding:0 10px}}
@media (max-width:430px){.l-en .chat-call span{display:none}.l-en .chat-call{padding:0 10px}}
@media (max-width:380px){.l-en .chat-ti .mk{display:none}}
/* 11/13: 영어 창 제목("Consultation request")이 낱말 중간에서 끊기지 않게 — 영어만 작은 마크를 빼고 제목 15px, 낱말은 안 쪼갬 (전화 버튼 글자는 그대로) */
.l-en .chat-ti .mk{display:none}.l-en .chat-ti b{font-size:15px}.chat-ti b{overflow-wrap:normal}

/* 진료 안내띠 (휴진·단축이 7일 안에 있을 때만) */
.nband{position:relative;z-index:21;background:#FFF1CC;border-bottom:1px solid #EBC96B}
.nband button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:9px max(var(--gut,48px),calc((100% - var(--cw,1200px)) / 2));border:0;background:transparent;color:#4A3200;font:inherit;font-size:16px;text-align:left;cursor:pointer}
.nband b{flex:none;padding:3px 10px;border-radius:999px;background:var(--navy);color:#fff;font-size:13.5px;font-weight:800}
.nband .nb-l{flex:1;display:flex;flex-wrap:wrap;gap:2px 22px;font-weight:700;line-height:1.45;word-break:keep-all}
.nband .nb-more{align-self:center;padding:2px 9px;border-radius:999px;background:#fff;border:1px solid #EBC96B;color:#6B4A00;font-size:14px;font-weight:800}
.m-mobile .nband .nb-more{align-self:flex-start;font-size:13px}
.nw{white-space:nowrap}
.wr{white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.m-mobile .nband .nb-l{flex-direction:column;gap:2px}
.nband i{flex:none;font-style:normal;font-size:22px;color:#8A6400}
.m-mobile .nband button{padding:8px 14px;gap:9px;font-size:14.5px}
.m-mobile .nband b{font-size:12px;padding:2px 8px}
/* 진료시간 표 아래 안내 */
.hnotes{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.hnotes li.hn{--c:#2563A8;--bg:#E6EEF8;--tx:#1F4E86;padding:11px 14px 12px;border-radius:12px;background:var(--bg);border-left:6px solid var(--c);color:#26313B;line-height:1.5;word-break:keep-all}
.hnotes li.hn-closed{--c:#B4321F;--bg:#F8D9D4;--tx:#8E2414}
.hnotes li.hn-short,.hnotes li.hn-changed{--c:#B07A00;--bg:#FFF3D6;--tx:#7A4A10}
.hnotes li.hn-opened{--c:#1E7A46;--bg:#E2F2E7;--tx:#1B5E37}
.hnotes li.hn-notice{--c:#2563A8;--bg:#E6EEF8;--tx:#1F4E86}
.hn-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:3px}
.hn-tag{padding:2px 10px;border-radius:999px;background:var(--c);color:#fff;font-size:14px;font-weight:800;line-height:1.5}
.hn-now{padding:1px 9px;border-radius:999px;background:#fff;border:1.5px solid var(--c);color:var(--tx);font-size:13px;font-weight:800}
.hn-d{font-size:19px;font-weight:900;color:var(--tx);line-height:1.4}
.hn-b{margin-top:1px;font-size:15.5px;font-weight:600;color:#26313B}
.hnotes li.hn-soon{border-left-width:9px}
.hnotes li.hn-live{border-left-width:9px;box-shadow:0 0 0 2px var(--c) inset}
.m-mobile .hn-d{font-size:18px}
.m-mobile .hn-b{font-size:15px}
/* 휴진 안내 팝업 */
.m-pc .panel.small.notice{--pw:min(560px,calc(100vw - 48px));left:calc((100vw - var(--pw)) / 2)}
.notice h3{margin:0 0 12px;font-size:24px;color:var(--navy)}
.notice-l{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:8px}
.notice-l li{padding:12px 14px;border-radius:12px;background:#FFF1CC;color:#4A3200;font-size:18px;font-weight:800;line-height:1.5;word-break:keep-all}
.notice p{margin:0 0 16px;font-size:16.5px;line-height:1.7;color:#33414E;word-break:keep-all}
.notice-a{display:flex;flex-wrap:wrap;gap:10px}
.notice-a .btn{flex:1 1 160px;min-height:52px;font-size:17px}
.m-mobile .notice-a{position:sticky;bottom:0;z-index:2;padding:10px 0 2px;background:#FBF9F4;box-shadow:0 -8px 14px #FBF9F4}

/* PC(마우스 화면): 전화 링크 없음 — 번호는 글자(선택·복사 가능), 눌러도 아무 일 없음. [전화 상담]창은 큰 번호 + 안내 한 줄 + 큰 남색 [연락처 남기기] */
a:not([href]){text-decoration:none;cursor:text;-webkit-user-select:text;user-select:text}

/* 화면 다듬기4 ④ 진료시간 한 줄 유지: 이름·시간 안 끊김, 모자라면 [진료 중] 이름표가 이름 아래 줄로 내려감 */
.hours .hk{flex-wrap:wrap;gap:2px 8px;white-space:nowrap;min-width:0}
.hours .hv{flex:none;white-space:nowrap}
.hours em{white-space:nowrap;line-height:1.5}
.m-mobile .hours li{font-size:17px}
.m-mobile .hours li.now{margin:0 -8px;padding:13px 10px}
/* ⑤ 주차 목록(휴대폰): 모든 줄 같은 구조 — 첫 줄 = 번호 + 이름, 둘째 줄 = 이름표 + 설명 */
.m-mobile .vpark strong{flex:0 0 100%}
.m-mobile .vpark .vfee{margin-right:0}
/* ⑦ PC 오시는 길 오른쪽 열: 화면에 다 들어가면 스크롤 따라 붙음 (왼쪽이 길어도 오른쪽이 같이 따라와 아래가 비어 보이지 않음) */
.m-pc .vcol.stick{align-self:start;position:sticky;top:calc(var(--hdH,79px) + 16px)}
/* ---- 비급여 진료비용 안내 (src/fees.js · CRM [비급여 진료비용]에서 바꾼 값) ---- */
.fees{display:flex;flex-direction:column;gap:14px;width:100%;max-width:640px;margin:0 auto}   /* PC 에서 이름과 가격 사이가 너무 멀지 않게 읽기 좋은 폭(약 640px, 11/5 재조정)으로 가운데 정렬 — 휴대폰은 화면 폭 그대로 (11/5) */
.fees-intro{font-size:17px;line-height:1.7;color:#33414E}
.fees-body{display:flex;flex-direction:column;gap:22px}
.fees-date{align-self:flex-start;padding:6px 14px;border-radius:999px;background:#E8EEF3;font-size:16px;font-weight:800;color:var(--navy)}
.fees-g h4{margin:0 0 4px;font-size:21px;font-weight:800;line-height:1.4;color:var(--navy-d)}
.panel .fees-n{margin:4px 0 6px;padding:9px 14px;border-radius:12px;background:#F3EBDD;font-size:16px;line-height:1.6;color:#5A3B1E;font-weight:600}
.fees-t{margin:0;padding:0;list-style:none;font-size:17.5px;line-height:1.55}
.fees-t li{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 18px;padding:12px 2px;border-bottom:1px solid var(--line)}
.fees-t .fn{flex:1 1 10em;text-wrap:pretty;font-weight:600;color:var(--ink)}
.fees-t .fp{flex:none;margin-left:auto;text-align:right;font-weight:800;white-space:nowrap;color:var(--navy);font-variant-numeric:tabular-nums}
.fees-t .nw{white-space:nowrap}
.panel .fees-legal{padding-top:14px;border-top:2px solid var(--line);font-size:15.5px;line-height:1.75;color:#4A4038}
.fees-a{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}
.fees-a .btn{flex:1 1 200px}
.m-mobile .fees-t{font-size:17px}
.m-mobile .fees-g h4{font-size:19.5px}
.sec-fee{margin:22px 0 0;text-align:right;font-size:17px}
.sec-fee a{display:inline-flex;align-items:center;min-height:44px;color:var(--navy);font-weight:800;text-decoration:underline;text-underline-offset:4px}
.ft-links a{font-weight:800;color:#fff;text-decoration:underline;text-underline-offset:3px}
a.lnk{display:inline}
.vmap-attr a{color:inherit;text-decoration:none}

/* ---- 도식 지도 (11/5 17:50): 하천·길을 직접 그린 바탕 + 기준 건물·길 이름 ---- */
.vmap-d{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;background:#F3F0EA;overflow:hidden}
.vmap-d polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}
.vmap-d .vd-green{stroke:#E3EDD8;stroke-width:30}
.vmap-d .vd-water{stroke:#BFDCEA;stroke-width:13}
.vmap-d .vd-rc{stroke:#D2C9BB;stroke-width:11}
.vmap-d .vd-rc.main{stroke-width:18}
.vmap-d .vd-ro{stroke:#fff;stroke-width:7.5}
.vmap-d .vd-ro.main{stroke:#FFF6E0;stroke-width:13.5}
.m-mobile .vmap-d .vd-green{stroke-width:24}
.m-mobile .vmap-d .vd-water{stroke-width:10}
.m-mobile .vmap-d .vd-rc{stroke-width:9}
.m-mobile .vmap-d .vd-rc.main{stroke-width:15}
.m-mobile .vmap-d .vd-ro{stroke-width:6}
.m-mobile .vmap-d .vd-ro.main{stroke-width:11.5}
.vdn{position:absolute;z-index:1;white-space:nowrap;pointer-events:none;font-size:13px;font-weight:800;line-height:1;color:#56606A;text-shadow:0 0 2px #fff,0 0 2px #fff,0 0 4px #fff,0 0 4px #fff}
.vdn.n-water{color:#3F7593;text-shadow:0 0 2px #E3EDD8,0 0 2px #E3EDD8,0 0 4px #E3EDD8}
.vlm{position:absolute;z-index:2;display:flex;align-items:center;gap:5px;transform:translate(-12px,-50%);pointer-events:none;white-space:nowrap}
.vlm b{position:relative;flex:none;width:24px;height:24px;border-radius:7px;background:#5B6770;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.vlm b::after{content:"";position:absolute;left:3px;right:3px;top:3px;bottom:3px;background:#fff;clip-path:polygon(50% 0,100% 42%,100% 100%,0 100%,0 42%)}
.vlm.k-bus b{background:#3F6F8F}.vlm.k-bus b::after{clip-path:polygon(8% 12%,92% 12%,92% 78%,8% 78%);top:4px;bottom:5px}
.vlm i{font-style:normal;padding:2px 8px;border-radius:7px;background:rgba(255,255,255,.96);color:#2F3B46;font-size:13px;font-weight:800;border:1px solid #C3CCD4;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.vlm.s-left{flex-direction:row-reverse;transform:translate(calc(-100% + 12px),-50%)}
.vlm.s-down{flex-direction:column;gap:3px;transform:translate(-50%,-12px)}
.vlm.s-up{flex-direction:column-reverse;gap:3px;transform:translate(-50%,calc(-100% + 12px))}
.m-mobile .vlm b{width:22px;height:22px}
.m-mobile .vlm{transform:translate(-11px,-50%)}
.m-mobile .vlm.s-left{transform:translate(calc(-100% + 11px),-50%)}
.m-mobile .vlm.s-down{transform:translate(-50%,-11px)}
.m-mobile .vlm.s-up{transform:translate(-50%,calc(-100% + 11px))}
.m-mobile .vlm i{font-size:12px;padding:2px 4px}
.m-mobile .vdn{font-size:12px}

/* 핀 이름표 대각선 자리 (다른 핀·길 때문에 네 방향이 막힐 때) */
.vpin.s-dr{flex-direction:column;align-items:flex-start;gap:3px;transform:translate(-14px,-14px)}
.vpin.s-dl{flex-direction:column;align-items:flex-end;gap:3px;transform:translate(calc(-100% + 14px),-14px)}
.vpin.s-ur{flex-direction:column-reverse;align-items:flex-start;gap:3px;transform:translate(-14px,calc(-100% + 14px))}
.vpin.s-ul{flex-direction:column-reverse;align-items:flex-end;gap:3px;transform:translate(calc(-100% + 14px),calc(-100% + 14px))}

/* ---- 실제 지도(live): 표지점은 지도 위에 올라가 움직임·확대를 따라감 ---- */
.vmk{width:0;height:0}
.vmk .vpin,.vmk .vwt,.vmk .vlm{position:absolute;left:0;top:0}
.vmk .vpin{translate:var(--sx,0px) var(--sy,0px)}   /* 이름 상자를 선을 따라 조금 미끄러뜨림(mapLayout) */
.vmk .vwt{transform:translate(-50%,-50%)}
.vmk .vlm.weak{opacity:.8}.vmk .vlm.weak b{width:18px;height:18px;background:#8C969E}.vmk .vlm.weak i{font-size:12px;font-weight:700;color:#56606A;border-color:#D5DBE0}
.vmk.gone{display:none}
.vmk .vdn.n-area{position:absolute;left:0;top:0;transform:translate(-50%,-50%);font-size:14px;color:#8A4B00;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 5px #fff,0 0 5px #fff}
.vmap-reset{position:absolute;z-index:6;left:8px;bottom:26px;min-height:36px;padding:6px 12px;border-radius:10px;border:1px solid #B9C3CC;background:#fff;color:#1B2733;font:800 13px/1 inherit;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.vmap-base .maplibregl-ctrl-group button{width:40px;height:40px}
.vmap-base .maplibregl-ctrl-attrib{font-size:10.5px}
.vd-area{fill:rgba(244,162,54,.30);stroke:rgba(244,162,54,.55);stroke-width:8;stroke-linejoin:round;filter:blur(3px);vector-effect:non-scaling-stroke}
.vdn.n-area{color:#8A4B00;font-size:14px}
.m-pc .fees-t li{padding-left:12px;padding-right:12px}
.m-pc .fees-t li:nth-child(even){background:#F7F3EC}   /* PC 표 줄무늬: 한 줄씩 건너 옅은 바탕 (휴대폰은 그대로) */
.vlm.s-dr{flex-direction:column;align-items:flex-start;gap:3px;transform:translate(-12px,-12px)}
.vlm.s-dl{flex-direction:column;align-items:flex-end;gap:3px;transform:translate(calc(-100% + 12px),-12px)}
.vlm.s-ur{flex-direction:column-reverse;align-items:flex-start;gap:3px;transform:translate(-12px,calc(-100% + 12px))}
.vlm.s-ul{flex-direction:column-reverse;align-items:flex-end;gap:3px;transform:translate(calc(-100% + 12px),calc(-100% + 12px))}
.m-mobile .vlm b{width:16px;height:16px;border-radius:5px;border-width:1.5px}.m-mobile .vlm b::after{left:2px;right:2px;top:2px;bottom:2px}
.m-mobile .vlm.k-bus b::after{top:3px;bottom:3px}
.m-mobile .vlm{transform:translate(-8px,-50%)}
.m-mobile .vlm.s-left{transform:translate(calc(-100% + 8px),-50%)}
.m-mobile .vlm.s-down{transform:translate(-50%,-8px)}
.m-mobile .vlm.s-up{transform:translate(-50%,calc(-100% + 8px))}
.m-mobile .vlm.s-dr{transform:translate(-8px,-8px)}.m-mobile .vlm.s-dl{transform:translate(calc(-100% + 8px),-8px)}
.m-mobile .vlm.s-ur{transform:translate(-8px,calc(-100% + 8px))}.m-mobile .vlm.s-ul{transform:translate(calc(-100% + 8px),calc(-100% + 8px))}
.vlm.two i{white-space:pre-line;text-align:center;line-height:1.25}
.m-pc .vmap{aspect-ratio:1.07}   /* PC 지도 칸 높이 약 500px(폭 534일 때). 휴대폰은 그대로 정사각 */

/* 그림 스위치가 꺼진 상태(그림 자리 없음): 글만으로 어색하지 않게 */
.p-grid.noart{display:flex;flex-direction:column;max-width:760px}

/* ===== 진료 철학 구역 (그림 + 글 2단) ===== */
.phil-top{display:grid;grid-template-columns:minmax(560px,760px) minmax(340px,1fr);grid-template-areas:"fig head" "fig list";column-gap:56px;max-width:1180px;margin:0 auto}
.phil-head{grid-area:head;align-self:end}
.phil-fig{grid-area:fig;margin:0;align-self:center}
.phil-list{grid-area:list;align-self:start;margin-top:8px}
.phil-img{display:block;width:100%;height:auto;aspect-ratio:1448/1086}
.phil-fig svg{width:100%;max-width:440px;height:auto;display:block;margin:0 auto}
.phil-intro{margin:0 0 14px;font-size:19px;line-height:1.75;color:var(--ink);max-width:36em}
.phil-head .phil-lead{margin:0 0 20px;font-size:19px;max-width:36em}
.phil-head .phil-h{font-size:40px}
.phil-list .legend{gap:14px}
.phil-list .legend li{gap:14px;align-items:flex-start}
.phil-list .lg-t b{font-size:20px}
.phil-list .lg-t span{font-size:18px}
.phil-list .jaw{margin:18px 0 0;font-size:18px;color:var(--muted)}
.phil-list .legend .num.pn1,.sn.pn1{background:#C47E1E}.phil-list .legend .num.pn2,.sn.pn2{background:#4F7CAC}.phil-list .legend .num.pn3,.sn.pn3{background:#6A9A6E}.phil-list .legend .num.pn4,.sn.pn4{background:#B4536A}.phil-list .legend .num.pn5,.sn.pn5{background:#7A58A0}
.phil-list .legend .num.pn1,.phil-list .legend .num.pn2,.phil-list .legend .num.pn3,.phil-list .legend .num.pn4,.phil-list .legend .num.pn5{color:#FFF9EE;width:32px;height:32px;font-size:17px;border:0;margin-top:0}
.m-mobile .phil-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "fig" "list";max-width:none}
.m-mobile .phil-head{align-self:auto}
.m-mobile .phil-fig{margin:6px -18px 18px;align-self:auto}
.m-mobile .phil-intro,.m-mobile .phil-head .phil-lead{font-size:17px}
.m-mobile .phil-head .phil-h{font-size:30px}
.m-mobile .phil-list{margin-top:0}
.m-mobile .phil-list .lg-t b{font-size:18px}
.m-mobile .phil-list .lg-t span{font-size:16px}
.m-mobile .phil-list .legend .num.pn1,.m-mobile .phil-list .legend .num.pn2,.m-mobile .phil-list .legend .num.pn3,.m-mobile .phil-list .legend .num.pn4,.m-mobile .phil-list .legend .num.pn5{width:28px;height:28px;font-size:15px}
/* ===== 단계 그림 세트 (치료 순서 예시) =====
   그림 틀(.step-fig)은 여기 한 곳에서만 정합니다. 틀 바탕색 = 그림 배경색(--step-bg).
   tools/photos.py 가 이 색을 읽어 그림 배경을 같은 색으로 맞추므로, 색을 바꾸면 photos.py 를 다시 돌려야 합니다. */
.stepset{margin:0;padding:28px 32px 20px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.ss-t{margin:0 0 18px;font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--navy-d)}
.ss-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;align-items:stretch}
/* 장수 규칙 없음 (11/13): 칸 수 = ss-c1~c4 (app.js 가 장수로 정함: 2~4장 한 줄, 5장 이상 두 줄) · 줄의 첫 칸에는 화살표 없음 */
.ss-c1{grid-template-columns:minmax(0,1fr)}.ss-c2{grid-template-columns:repeat(2,minmax(0,1fr))}.ss-c3{grid-template-columns:repeat(3,minmax(0,1fr))}.ss-c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ss-c2>li:nth-child(2n+1)::before,.ss-c3>li:nth-child(3n+1)::before,.ss-c4>li:nth-child(4n+1)::before{display:none}
.ss-one{max-width:620px;margin-inline:auto}.sn-none{display:none}
/* 같은 줄 그림은 아래 기준으로: 그림 파일의 아래 여백이 같으므로(photos.py) 뼈 아래선이 같은 높이 */
.ss-list>li>.step-fig{margin-top:auto}
.steps-src{display:none}
/* 11/17 단계 라벨 합침: 한 단계 = 위 ① 라벨(남색 알약, 글자 길이만큼만) → ② 그림. 설명 상자 없음. 같은 줄 칸은 라벨 자리·그림 높이가 같게(subgrid, 못 쓰는 브라우저는 flex) */
.ss-list>li{position:relative;display:flex;flex-direction:column;gap:10px}
@supports (grid-template-rows:subgrid){.ss-list>li{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:8px}}
.ss-list>li+li::before{content:"\2192";position:absolute;left:-30px;top:58%;width:24px;text-align:center;font-size:24px;font-weight:800;color:var(--copper-d)}
.ss-l{margin:0;display:flex;align-items:center;justify-content:center;justify-self:center;align-self:end;width:fit-content;max-width:100%;gap:10px;box-sizing:border-box;min-height:44px;padding:6px 18px;border-radius:32px;background:var(--navy);color:#fff;font-size:18px;font-weight:800;line-height:1.3;text-align:center}
.ss-ln{min-width:0;text-wrap:balance;overflow-wrap:break-word;white-space:pre-line}
/* 두 줄 라벨(11/17 15:46판): "/" 자리에서 항상 줄을 바꿈(문구 안의 줄바꿈) · 가운데 정렬 · 줄 간격 1.35 · 모서리 둥근 사각 */
.ss-l2{border-radius:18px;padding:6px 18px}.ss-l2 .ss-ln{line-height:1.35;text-align:center}
/* 11/17 라벨 상자 높이 통일: 한 세트 안의 라벨 상자는 모두 같은 높이(가장 높은 상자 = 두 줄 높이). 글자는 상자 가운데.
   두 줄 라벨이 있는 세트(ss-has2)는 한 줄 라벨도 두 줄 높이 · 한 줄만 있는 세트는 한 줄 높이 · 글자가 길어 저절로 두 줄이 된 경우는 app.js(eqLabels)가 가장 높은 상자에 맞춤 */
.ss-has2 .ss-l{min-height:calc(2.7em + 12px);border-radius:18px}.ss-has2 .ss-l .ss-ln{line-height:1.35}
.m-mobile .ss-has2 .ss-l{min-height:calc(2.7em + 10px)}
.l-zh .ss-ln{word-break:normal;overflow-wrap:anywhere;line-break:strict}
.sn{flex:none;width:32px;height:32px;border-radius:50%;color:#FFF9EE;font-size:17px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center}
.ss-l .sn.sn-w{background:#fff;color:var(--navy)}
.step-fig{margin:0;padding:10px 8px;background:var(--step-bg);border:1px solid var(--line);border-radius:16px}
.step-fig img{display:block;width:100%;height:auto}
.ss-note{margin:16px 0 0;font-size:15px;color:var(--muted)}
.m-mobile .stepset{padding:20px 14px 14px}
.m-mobile .ss-t{font-size:21px;margin-bottom:14px}
.m-mobile .ss-list{grid-template-columns:minmax(0,1fr);gap:26px}
.m-mobile .ss-list>li{gap:8px}
.m-mobile .ss-list>li+li::before{display:none}
.m-mobile .ss-l{font-size:17px;min-height:40px;padding:5px 14px}
.m-mobile .sn{width:28px;height:28px;font-size:15px}
.m-mobile .ss-l .sn.sn-w{width:28px;height:28px;font-size:16px}
.m-mobile .step-fig{padding:8px 6px}
/* 11/17 휴대폰 그림 틀 크기 규칙 (한 곳에서 관리): 틀 높이 ÷ 폭 ≤ --step-fig-max (브릿지 그림 비율이 기준). 이 숫자만 바꾸면 모든 세트·앞으로 바꿔 끼우는 그림이 자동으로 따름.
   그림은 잘리지 않고(contain) 틀 가운데, 틀 배경 = 그림 배경(--step-bg). 세로로 긴 그림(크라운)은 높이를 줄이고 양옆이 남음. 칸 폭(cqw) 기준이라 칸이 좁든 넓든 같은 규칙 */
:root{--step-fig-max:.91}
@media(max-width:767px){
  .m-mobile .ss-list>li{container-type:inline-size}
  .m-mobile .ss-list .step-fig{box-sizing:border-box}
  .m-mobile .ss-list .step-fig img{max-height:calc(var(--step-fig-max) * 100cqw - 18px);object-fit:contain;background:var(--step-bg)}
}
/* 태블릿: 그림 상자 폭이 560px 이상이면 2열 · 같은 줄 그림 아래 맞춤 (1장은 한 장 그대로)
   화면 폭이 아니라 상자 폭 기준 — 태블릿에서 홈페이지가 휴대폰 모양 틀(약 390px)로 보일 때는 세로 그대로 */
.stepset{container-type:inline-size}
@container (min-width:560px){.m-mobile .ss-list:not(.ss-one){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}

/* ===== 홈페이지 "최근 글" (블로그 공개 때만) ===== */
/* 홈페이지 "치아 건강 정보 / 최근 글" (11/13 다듬기 D): 주변 베이지와 구분되는 연한 남색 띠 + 흰 카드(진한 테두리·그림자) + 채운 버튼
   색은 :root 대표색(--navy·--navy-d·--copper-d)을 그대로 씀. 연한 띠 색 = --blog-band */
:root{--blog-band:#E3ECF4;--blog-card-line:#8EA4B8}
.blog-rec .br-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 28px;flex-wrap:wrap}
.blog-rec .br-hd-t{flex:1 1 420px;min-width:0}
.blog-rec .br-intro{margin:8px 0 0;font-size:17px;line-height:1.6;color:#33414E}
.blog-rec .br-all{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;background:var(--navy);color:#fff;font-size:17px;font-weight:800;text-decoration:none;box-shadow:0 4px 12px rgba(14,42,64,.22);transition:background .15s,transform .15s}
.blog-rec .br-all:hover,.blog-rec .br-all:focus-visible{background:var(--navy-d);transform:translateY(-1px)}
.blog-rec .br-list{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.blog-rec .br-list a{display:flex;flex-direction:column;gap:8px;height:100%;box-sizing:border-box;padding:22px 22px 18px;background:#fff;border:1.5px solid var(--blog-card-line);border-radius:18px;box-shadow:0 4px 14px rgba(14,42,64,.10);text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s,border-color .15s}
.blog-rec .br-list a:hover,.blog-rec .br-list a:focus-visible{border-color:var(--navy);transform:translateY(-3px);box-shadow:0 10px 24px rgba(14,42,64,.18)}
.blog-rec .br-list a:active{transform:translateY(-1px)}
.blog-rec .br-list b{font-size:20px;line-height:1.5;font-weight:800;color:var(--navy-d);text-wrap:balance}
.blog-rec .br-list span{font-size:16px;line-height:1.7;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-rec .br-go{margin-top:auto;padding-top:6px;align-self:flex-end;font-style:normal;font-size:16px;font-weight:800;color:var(--copper-d)}
.blog-rec .br-list a:hover .br-go{text-decoration:underline;text-underline-offset:4px}
.m-mobile .blog-rec .br-hd{flex-direction:column;align-items:stretch;gap:14px}
.m-mobile .blog-rec .br-hd-t{flex:none}
.m-mobile .blog-rec .br-intro{font-size:16px}
.m-mobile .blog-rec .br-all{width:100%;box-sizing:border-box}
.m-mobile .blog-rec .br-list{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:18px}
.m-mobile .blog-rec .br-list a{padding:18px 18px 14px}
.m-mobile .blog-rec .br-list b{font-size:19px}

.blog-mid{margin:44px 0 8px;padding:30px 30px 28px;background:var(--blog-band);border:1px solid #C6D4E1;border-radius:22px}
.blog-mid .h2{font-size:26px;margin-bottom:0}
.m-mobile .blog-mid{margin:32px -4px 4px;padding:22px 14px 18px;border-radius:18px}
.m-mobile .blog-mid .h2{font-size:21px}
.m-mobile .blog-mid .br-list span{-webkit-line-clamp:2}
/* ================================================================
   대표 진료 카드 속 대표 그림 + 자세히 보기 창 속 순서 그림 (지시-개발-사진자리우선 11/13)
   - 그림은 content.js 의 STEP_SETS(진료 id 와 같은 이름)에서 자동으로 옵니다. 세트가 없으면 글만 보입니다.
   - 틀 바탕색 = 그림 배경색(--step-bg). 여기 한 곳에서만 정합니다.
   ================================================================ */
/* 대표 진료 카드 배치 규칙 (11/13 지시-개발-자세히보기·사진배치) — 모든 대표 진료 카드 공통, 이 한곳에서만 정함
   글(위·왼쪽) → 사진(가로 가운데) → [자세히 보기](사진 바로 아래 가운데). 사진이 없는 카드도 버튼은 같은 자리(카드 맨 아래 가운데)
   사진과 버튼은 카드 아래쪽에 붙어 있어 같은 줄 카드끼리 버튼 높이가 맞음 */
.card-tx{display:flex;flex-direction:column;gap:12px}
.card-rep{margin:0;background:var(--step-bg);border:1px solid var(--line);border-radius:16px;overflow:hidden;align-self:center;width:100%;box-sizing:border-box}
.card-rep img{display:block;width:100%;height:auto}
.card .card-go{margin-top:auto;align-self:center;display:flex;justify-content:center}
.card.has-rep .card-rep{margin-top:auto}.card.has-rep .card-go{margin-top:0}
.card .card-go .link-btn{align-self:center;min-height:48px;padding:0 14px;font-size:18px}
/* ── 같은 구역 = 같은 틀 (11/13 원장님 규칙, 지시-개발-홈문장·사진틀통일 B) ──────────────────────────
   같은 구역에 나란히 놓이는 그림은 항상 같은 크기의 틀에 넣는다. 틀(가로·세로)을 먼저 정하고, 그림은 그 안에 통째로(자르지 않음)
   가운데·아래 기준으로 맞춘다. 남는 곳은 틀 바탕색. 구역마다 틀 값은 아래 변수 한 줄만 고치면 됨. 새 그림을 넣어도 자동으로 같은 틀
     대표 진료 카드: --frame-w × 4:3  /  감염관리 4칸: 칸 폭 × 4:3  /  일반진료 카드: 카드 폭 × 16:9
     단계 그림 세트: tools/photos.py 가 한 세트를 같은 가로·세로로 만들어 틀이 저절로 같음 */
.impl-grid{--frame-w:360px;--frame-ratio:4/3}
.m-mobile .impl-grid{--frame-w:280px}
.impl-grid .card-rep{position:relative;flex:none;width:min(100%,var(--frame-w));aspect-ratio:var(--frame-ratio);min-height:0;padding:0}
.impl-grid .card-rep img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%;padding:0}   /* 11/14: 카드용 그림이 이미 틀 가운데 80%로 만들어져 있어 틀을 꽉 채워 놓기만 */
.ic-a.has-rep .rep-big{border-color:rgba(247,244,238,.35)}
.flow .art-ph{aspect-ratio:4/3;min-height:0}
.flow .art-ph .art{object-fit:contain;background:var(--ivory)}
.g-art{aspect-ratio:16/9}.g-art .art{object-fit:contain}
/* 자세히 보기 창 안 순서 그림: PC 3칸 / 휴대폰 세로 */
/* 진료 페이지 안 구역 (11/17 보철 → 크라운·브릿지) */
.p-jump{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}
.p-jump-b{min-height:48px;padding:0 22px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:17px;font-weight:700;cursor:pointer}
.p-jump-b:hover{border-color:var(--navy)}
/* 구역 단추 줄을 창 머리 바로 아래에 붙여 둠 (11/21 지시-개발-창구역고정 A): 창 안을 내려도 늘 보임. 붙은 뒤에는 아래 가는 그림자로 내용과 구분 */
.p-body>.p-jump{position:sticky;top:calc(-1 * var(--pbt,20px));z-index:3;margin:8px calc(-1 * var(--pbx,28px)) 0;padding:12px var(--pbx,28px);background:#FBF9F4;transition:box-shadow .2s ease}
.m-mobile .p-body>.p-jump{--pbt:16px;--pbx:16px;padding:10px 16px}
.p-body>.p-jump.stuck{box-shadow:0 6px 12px -8px rgba(14,42,64,.35)}
.p-jump-b.on{background:var(--navy);border-color:var(--navy);color:#fff}
.p-sec{margin:30px 0 0;padding:24px 0 0;border-top:1px solid var(--line);scroll-margin-top:12px}
.p-sec-h{margin:0;font-size:22px;line-height:1.35}
.p-sec-d{margin:8px 0 0;font-size:18px;line-height:1.7;color:var(--ink)}
.m-mobile .p-sec-h{font-size:20px}.m-mobile .p-sec-d{font-size:17px}
.p-sec .p-steps{margin-top:18px}
.p-sec.nofig .p-sec-d{margin-top:14px;padding:20px 24px;background:#fff;border:1px solid var(--line);border-radius:16px}   /* 그림 없는 구역도 크라운 구역 상자와 같은 모양으로 (휑하지 않게) */
.p-steps{margin:24px 0 0;padding:22px 24px 16px;background:#fff}
.p-steps .ss-t{font-size:20px;margin-bottom:14px}
.p-steps .ss-list{gap:30px}
.p-steps .ss-list>li+li::before{left:-26px;font-size:20px}
.p-steps .ss-l{font-size:18px}
.m-mobile .p-steps{margin-top:18px;padding:16px 12px 12px}
.m-mobile .p-steps .ss-t{font-size:19px}
/* 4단계 세트 (11/16 지시-개발-single그림4장): PC 창에서 4칸 가로일 때 그림 폭이 220px 미만이 되면 2×2 (번호 순서 1·2 / 3·4)
   기준 = 세트 상자 안쪽 폭 1042px (칸 4개 × (그림 220 + 틀 여백 18) + 사이 30 × 3). 휴대폰은 그대로 세로 */
/* 11/17 라벨은 어느 폭에서도 최대 두 줄: 3칸 세트(전체·재수술)는 상자 폭이 740px 미만(PC 창 약 1280px 미만)이면 칸이 너무 좁아 라벨이 3줄 이상이 되므로 휴대폰처럼 세로 한 줄로 쌓음 */
@container (max-width:739.98px){.m-pc .p-steps .ss-c3{grid-template-columns:minmax(0,1fr);gap:26px}.m-pc .p-steps .ss-c3>li+li::before{display:none}.m-pc .p-steps .ss-c3>li{gap:8px}}
@container (max-width:519.98px){.m-pc .p-steps .ss-c2{grid-template-columns:minmax(0,1fr);gap:26px}.m-pc .p-steps .ss-c2>li+li::before{display:none}}
@container (max-width:1041.98px){.m-pc .p-steps .ss-c4{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}.m-pc .p-steps .ss-c4>li:nth-child(2n+1)::before{display:none}}

/* ---- 실제 AI 상담 (11/18): AI 고지 줄 · 시작 동의 카드 · 아래 줄(연락처 남기기·전화·대화 지우기) · 글자 수 ---- */
.chat-ainote{flex:none;margin:0;padding:7px 16px;background:#EEF3F8;border-bottom:1px solid #DCE5EE;font-size:14.5px;line-height:1.45;font-weight:700;color:var(--navy-d);display:flex;align-items:center;gap:8px}
.chat-stafftest{background:#FFF4CC;border-bottom-color:#E9B949;color:#5A4300;flex-wrap:wrap}.chat-stafftest>span:nth-child(2){flex:1 1 200px;min-width:0}.chat-stafftest a{flex:none;padding:6px 12px;border-radius:8px;background:var(--navy);color:#fff;font-weight:800;text-decoration:none}   /* 11/19 직원 시험(?aitest=1)인데 CRM 로그인이 없을 때만 */
.chat-ainote .ai-b{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:20px;padding:0 5px;border-radius:6px;background:var(--navy);color:#fff;font-size:11.5px;font-weight:900;letter-spacing:.02em}
.chat-gate.ai-card{flex:none;overflow:visible;margin:0;padding:14px 14px 12px;background:#FFFBEF;font-size:15px;line-height:1.55}
.chat-gate.ai-card > *{flex:none}
.ai-card .ac-lead{margin:0 0 10px;color:#33414E;overflow:visible}
.ai-card .ac-ck{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;padding:10px 12px;border:1.5px solid #E5D7A8;border-radius:12px;background:#fff;cursor:pointer}
.ai-card .ac-ck input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--navy);cursor:pointer}
.ai-card .ac-ck strong{display:block;font-size:15.5px;color:var(--navy-d);word-break:keep-all}
.ai-card .ac-ck small{display:block;margin-top:4px;font-size:14.5px;line-height:1.55;color:#4A5663;word-break:keep-all}
.ai-card .ac-alt,.ai-card .ac-note{margin:0 0 8px;font-size:14.5px;color:#4A5663;overflow:visible;word-break:keep-all}
.ai-card .g-acts{margin-top:4px}
.ai-card .g-acts .go.off{background:#9AA9B6}
.ai-card .cf-err{margin:0 0 8px}
.t-wait{font-size:14.5px;color:#5D6B77}
.ai-retry .lnk{align-self:flex-start}
.ai-dock{flex:none;display:flex;align-items:center;gap:8px;padding:8px 12px 0;background:#fff;border-top:1px solid #E6ECF0}
.ai-dock button{min-height:40px;padding:0 14px;border-radius:999px;font:inherit;font-size:14.5px;font-weight:800;cursor:pointer;white-space:nowrap}
.ai-dock .ai-lv{border:0;background:var(--navy);color:#fff}
.ai-dock .ai-call{border:1px solid #B9C6D1;background:#fff;color:var(--ink)}
.ai-note .ai-clr{display:inline;min-height:0;padding:0;border:0;background:transparent;font:inherit;font-size:12.5px;font-weight:800;color:#33414E;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.m-mobile .ai-note .ai-clr{display:inline-block;min-height:28px}
.m-pc .ai-dock{padding:10px 24px 0}
.m-pc .ai-dock + .chat-in,.m-pc .ai-dock + div .chat-in{border-top:0;margin-top:0}
.chat-in .send.off{opacity:.45}
.ai-len{display:inline-block;margin-right:8px;font-variant-numeric:tabular-nums;color:#5D6B77}
.ai-len.over,.ai-over{color:#C0392B;font-weight:800}
.ai-locked{padding-top:10px}
@media (max-width:380px){.ai-dock{gap:6px;padding-left:8px;padding-right:8px}.ai-dock button{padding:0 10px;font-size:14px}}
