/* Hospital / guide palette: brand #52b6c6, accent #237e8c, ink #223b45. Scoped to physician detail pages. */
/* The shared promotional rail otherwise obscures the physician portrait, especially on phones. */
body:has(.doctor-profile) aside.lifetouch,body:has(.doctor-profile) aside.kakao_counsel{display:none!important}
@font-face{font-family:DoctorPretendard;src:url('../fonts/doctor-profile/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
.doctor-profile{--dp-brand:#52b6c6;--dp-accent:#237e8c;--dp-ink:#223b45;--dp-muted:#596c75;--dp-line:#dce6e9;--dp-tint:#eff8f8;font:17px/1.85 DoctorPretendard,Pretendard,sans-serif;color:var(--dp-ink);background:white;word-break:keep-all;overflow-wrap:anywhere;text-align:left}
.doctor-profile *{box-sizing:border-box}.doctor-profile h1,.doctor-profile h2,.doctor-profile h3,.doctor-profile p,.doctor-profile ul,.doctor-profile figure{margin:0;padding:0;font-family:inherit;color:inherit}.doctor-profile a{color:inherit;text-decoration:none}.doctor-profile a:focus-visible,.doctor-profile [tabindex]:focus-visible{outline:3px solid var(--dp-accent);outline-offset:5px}.doctor-profile .dp-container{width:min(1200px,calc(100% - 80px));margin:0 auto;max-width:none}.doctor-profile .dp-hero-bg{background:linear-gradient(115deg,#fff 35%,#eff8f8);border-top:4px solid var(--dp-brand)}
.doctor-profile .dp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:65px;align-items:center;padding:65px 0 70px;min-height:675px}.doctor-profile .dp-eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;color:var(--dp-accent)}.doctor-profile .dp-departments{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:26px 0 20px;font-size:17px;color:var(--dp-accent);font-weight:550}.doctor-profile .dp-departments:before{content:'';height:2px;width:28px;background:var(--dp-brand)}.doctor-profile .dp-name{position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important;text-indent:0!important;white-space:normal!important;opacity:1!important;display:flex!important;gap:18px;align-items:baseline;flex-wrap:wrap;font-size:clamp(52px,6.4vw,88px);font-weight:550;line-height:1.2;letter-spacing:-.065em;max-width:none;color:var(--dp-ink)}.doctor-profile .dp-name span{font-size:22px;letter-spacing:-.03em;font-weight:450}.doctor-profile .dp-hospital{font-size:10px;letter-spacing:.2em;color:var(--dp-muted);margin-top:18px}.doctor-profile .dp-specialty{font-size:19px;line-height:1.85;margin-top:34px;padding-left:21px;border-left:3px solid var(--dp-brand);color:#425965}.doctor-profile .dp-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap;margin-top:36px}.doctor-profile .dp-button{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;padding:15px 25px;background:var(--dp-accent);color:white;font-size:15px;font-weight:550;min-height:56px;border-radius:6px}.doctor-profile .dp-button:hover{background:#196775}.doctor-profile .dp-text-link{font-size:14px;padding:8px 0;border-bottom:1px solid #8eb9c0}.doctor-profile .dp-text-link span{margin-left:14px}.doctor-profile .dp-portrait{min-width:0;position:relative}.doctor-profile .dp-photo{position:relative;overflow:hidden;border-radius:0 100px 0 0;background:#e4f2f4;border-bottom:5px solid var(--dp-brand);aspect-ratio:1}.doctor-profile .dp-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.doctor-profile .dp-photo img[hidden]{display:none}.doctor-profile .dp-photo-fallback{display:none}.doctor-profile .dp-no-photo .dp-photo-fallback{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;position:absolute;inset:0;color:var(--dp-accent);padding:30px;text-align:center}.doctor-profile .dp-photo-fallback strong{font-size:28px;font-weight:500}.doctor-profile .dp-symbol{font-size:65px;font-weight:200;color:var(--dp-brand)}.doctor-profile figcaption{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--dp-muted);letter-spacing:.06em;margin-top:16px}.doctor-profile figcaption span:first-child{border-left:25px solid var(--dp-brand);padding-left:10px;line-height:1}
.doctor-profile .dp-nav{border-top:1px solid var(--dp-line);border-bottom:1px solid var(--dp-line);background:white}.doctor-profile .dp-nav .dp-container{display:flex;gap:32px;align-items:center;min-height:70px}.doctor-profile .dp-nav-label{font-size:10px;letter-spacing:.13em;color:var(--dp-muted);margin-right:auto}.doctor-profile .dp-nav a{font-size:14px;white-space:nowrap;padding:22px 0;border-bottom:2px solid transparent}.doctor-profile .dp-nav a:hover{color:var(--dp-accent);border-color:var(--dp-brand)}.doctor-profile .dp-section{padding:90px 0;scroll-margin-top:150px}.doctor-profile .dp-heading{display:grid;grid-template-columns:1fr 2fr;gap:50px;margin-bottom:45px}.doctor-profile .dp-heading .dp-eyebrow{padding-top:10px}.doctor-profile h2{font-size:36px;line-height:1.45;letter-spacing:-.045em;font-weight:550}.doctor-profile .dp-heading>div>p{margin-top:15px;font-size:16px;color:var(--dp-muted)}.doctor-profile .dp-profile-grid{display:grid;grid-template-columns:1fr 2fr;gap:50px}.doctor-profile .dp-profile-aside strong{font-size:20px;font-weight:550}.doctor-profile .dp-profile-aside p{font-size:15px;color:var(--dp-muted);margin-top:15px}.doctor-profile .dp-profile-aside a{display:inline-block;margin-top:30px;font-size:13px;color:var(--dp-accent);border-bottom:1px solid var(--dp-line)}.doctor-profile .dp-bio-group+.dp-bio-group{margin-top:40px}.doctor-profile .dp-bio-group h3{font-size:20px;font-weight:550;padding-bottom:14px;border-bottom:2px solid var(--dp-brand);margin-bottom:20px;line-height:1.5}.doctor-profile .dp-richtext{line-height:1.95;overflow-wrap:anywhere;min-width:0}.doctor-profile .dp-richtext p{margin-bottom:12px}.doctor-profile .dp-richtext ul,.doctor-profile .dp-richtext ol{padding-left:24px;list-style:revert}.doctor-profile .dp-richtext li{list-style:revert}.doctor-profile .dp-richtext img{max-width:100%;height:auto}.doctor-profile .dp-richtext a{color:var(--dp-accent);text-decoration:underline}.doctor-profile .dp-richtext table{display:block;max-width:100%;overflow-x:auto}.doctor-profile .dp-tinted{background:var(--dp-tint);border-top:1px solid var(--dp-line);border-bottom:1px solid var(--dp-line)}.doctor-profile .dp-link-list{list-style:none;border-top:1px solid var(--dp-line)}.doctor-profile .dp-link-list li{list-style:none;border-bottom:1px solid var(--dp-line)}.doctor-profile .dp-link-list a{display:flex;gap:25px;align-items:center;padding:22px 0}.doctor-profile .dp-link-list a:hover{color:var(--dp-accent);background:#e6f3f5}.doctor-profile .dp-link-list strong{font-size:21px;font-weight:500;flex:1;min-width:0}.doctor-profile .dp-link-label{font-size:12px;color:var(--dp-accent);min-width:85px}.doctor-profile .dp-table-scroll{overflow-x:auto}.doctor-profile table{border-collapse:collapse;width:100%;font-size:15px;border-top:2px solid var(--dp-brand);table-layout:fixed}.doctor-profile table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.doctor-profile th,.doctor-profile td{padding:20px 12px;border-bottom:1px solid var(--dp-line);text-align:center;font-weight:400;overflow-wrap:anywhere}.doctor-profile thead{background:var(--dp-tint);color:var(--dp-accent)}.doctor-profile tbody th{font-size:14px}.doctor-profile .dp-note{font-size:13px;color:var(--dp-muted);margin-top:18px}.doctor-profile .dp-note a{text-decoration:underline}.doctor-profile .dp-reservation{background:#237e8c;color:white;padding:55px 0}.doctor-profile .dp-reservation .dp-container{display:flex;justify-content:space-between;align-items:center;gap:30px}.doctor-profile .dp-reservation .dp-eyebrow{color:#def5f7;font-size:10px}.doctor-profile .dp-reservation h2{font-size:31px;margin:9px 0}.doctor-profile .dp-reservation p{font-size:14px}.doctor-profile .dp-reservation .dp-button{background:white;color:#237e8c;white-space:nowrap}
@media(max-width:900px){.doctor-profile .dp-container{width:calc(100% - 48px)}.doctor-profile .dp-hero{gap:30px;min-height:540px}.doctor-profile .dp-name{font-size:60px}.doctor-profile .dp-name span{font-size:18px}.doctor-profile .dp-specialty{font-size:16px}.doctor-profile .dp-heading,.doctor-profile .dp-profile-grid{gap:30px}.doctor-profile .dp-nav-label{display:none}}
.doctor-profile figcaption span:first-child{border:0;padding:0;display:flex;align-items:center;gap:10px}.doctor-profile figcaption span:first-child:before{content:'';width:25px;height:1px;background:var(--dp-brand)}
@media(max-width:640px){.doctor-profile{font-size:15px}.doctor-profile .dp-container{width:calc(100% - 40px)}.doctor-profile .dp-hero{display:flex;flex-direction:column;align-items:stretch;gap:27px;padding:29px 0 35px;min-height:0}.doctor-profile .dp-identity{display:contents}.doctor-profile .dp-identity>.dp-eyebrow{order:0;font-size:10px}.doctor-profile .dp-departments{order:1;margin:-13px 0 0;font-size:13px;gap:8px}.doctor-profile .dp-name{order:2;font-size:62px;margin:-10px 0 0!important;gap:12px}.doctor-profile .dp-name span{font-size:17px}.doctor-profile .dp-hospital{display:none}.doctor-profile .dp-portrait{order:3}.doctor-profile .dp-photo{border-radius:0 70px 0 0;aspect-ratio:1.13}.doctor-profile .dp-photo img{object-position:center 40%}.doctor-profile figcaption{font-size:9px;margin-top:12px}.doctor-profile .dp-specialty{order:4;font-size:16px;margin:0;padding-left:15px}.doctor-profile .dp-actions{order:5;margin:0;gap:20px}.doctor-profile .dp-button{font-size:13px;padding:13px 19px;min-height:49px;gap:25px}.doctor-profile .dp-text-link{font-size:12px}.doctor-profile .dp-nav .dp-container{gap:25px;overflow-x:auto;min-height:58px}.doctor-profile .dp-nav a{font-size:12px;padding:17px 0}.doctor-profile .dp-section{padding:55px 0;scroll-margin-top:110px}.doctor-profile .dp-heading{display:block;margin-bottom:28px}.doctor-profile .dp-heading .dp-eyebrow{font-size:10px;padding:0;margin-bottom:13px}.doctor-profile h2{font-size:28px}.doctor-profile .dp-heading>div>p{font-size:14px;margin-top:11px}.doctor-profile .dp-profile-grid{display:block}.doctor-profile .dp-profile-aside{display:none}.doctor-profile .dp-bio-group h3{font-size:18px}.doctor-profile .dp-link-list a{gap:12px;padding:18px 0}.doctor-profile .dp-link-label{font-size:11px;min-width:62px}.doctor-profile .dp-link-list strong{font-size:18px}.doctor-profile table{min-width:520px;font-size:13px}.doctor-profile th,.doctor-profile td{padding:16px 8px}.doctor-profile .dp-note{font-size:12px}.doctor-profile .dp-reservation{padding:38px 0}.doctor-profile .dp-reservation .dp-container{display:block}.doctor-profile .dp-reservation h2{font-size:27px}.doctor-profile .dp-reservation .dp-button{margin-top:23px}.doctor-profile .dp-photo-fallback strong{font-size:23px}}

/* Approved schedule-first layout. */
.doctor-profile .dp-heading{grid-template-columns:1fr;gap:0}
.doctor-profile #doctor-schedule{padding-top:46px;padding-bottom:46px}
.doctor-profile #doctor-schedule .dp-heading{margin-bottom:26px}
.doctor-profile #doctor-schedule .dp-actions{margin-top:22px;justify-content:flex-end}
.doctor-profile #doctor-schedule tbody td{color:#237e8c;font-weight:550}
#doctor-modal{padding:0;border:0;border-radius:18px;width:min(1120px,calc(100vw - 80px));height:calc(100dvh - 64px);max-width:none;max-height:none;position:fixed;inset:0;margin:auto;overflow:hidden;background:white;box-shadow:0 24px 90px #102e4360}
#doctor-modal::backdrop{background:rgba(16,35,43,.62);backdrop-filter:blur(3px)}
#doctor-modal .dm-bar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid #dce6e9;color:#223b45;background:white;font:15px/1.4 DoctorPretendard,sans-serif;box-sizing:border-box}
#doctor-modal .dm-close{border:0;background:none;padding:10px;color:#223b45;font:14px/1 DoctorPretendard,sans-serif;cursor:pointer;display:flex;align-items:center;gap:15px}#doctor-modal .dm-close span{font-size:28px}
#doctor-modal .dm-content{height:calc(100% - 58px);overflow:auto;overscroll-behavior:contain;background:white}
#doctor-modal .dm-status{padding:40px;color:#223b45;font:16px/1.7 DoctorPretendard,sans-serif}
#doctor-modal .doctor-profile .dp-container{width:calc(100% - 72px)}
#doctor-modal .doctor-profile .dp-hero{min-height:0;padding:32px 0;gap:36px;grid-template-columns:minmax(0,1fr) minmax(0,400px)}
#doctor-modal .doctor-profile .dp-name{font-size:70px}
#doctor-modal .doctor-profile #doctor-schedule{padding:32px 0}
#doctor-modal .doctor-profile .dp-section{scroll-margin-top:20px}
[data-dm-trigger]{cursor:pointer}[data-dm-trigger]:focus-visible{outline:3px solid #237e8c;outline-offset:4px}
@media(max-width:640px){
.doctor-profile .dp-departments{margin:0}.doctor-profile .dp-specialty{order:2;font-size:14px;line-height:1.75}.doctor-profile .dp-hero{padding-bottom:24px;gap:22px}
.doctor-profile #doctor-schedule{padding-top:28px;padding-bottom:32px}.doctor-profile #doctor-schedule .dp-heading{margin-bottom:20px}.doctor-profile #doctor-schedule .dp-heading>div>p{font-size:13px}
.doctor-profile #doctor-schedule table{min-width:0;font-size:12px}.doctor-profile #doctor-schedule th,.doctor-profile #doctor-schedule td{padding:15px 3px;font-size:12px}
.doctor-profile #doctor-schedule .dp-actions{margin-top:20px;display:block}.doctor-profile #doctor-schedule .dp-button{width:100%}
#doctor-modal{width:100%;height:100dvh;border-radius:0}#doctor-modal .dm-bar{padding:0 18px;height:54px}#doctor-modal .dm-content{height:calc(100% - 54px)}
#doctor-modal .doctor-profile .dp-container{width:calc(100% - 40px)}#doctor-modal .doctor-profile .dp-hero{padding:26px 0;gap:22px}#doctor-modal .doctor-profile .dp-name{font-size:58px}
}
