/* =====================================================================
   MediSC theme — Design Guide (Figma SB-02)
   Grid 1440 / Content 1280 / Gutter 24 · Radius card 14–16 · Button pill
   ===================================================================== */
:root{
  --navy:#071D40; --blue:#03368C; --blue-2:#0A4BB5; --cyan:#00C2FF; --violet:#6B4DFF;
  --surface:#F3F6FB; --surface-2:#EAF0F8; --ink:#172A46; --body:#3B4A61; --muted:#6B7A90; --line:#E2E8F0;
  --ft:#1E2128; --cta:#0784D4;
  --radius:16px; --radius-sm:10px;
  --wrap:1280px; --gutter:24px;
  --hd-h:88px;
  --shadow:0 10px 30px rgba(7,29,64,.10);
  --ease:cubic-bezier(.2,.7,.2,1);
  --font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--hd-h) + 56px)}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.7;color:var(--body);background:#fff;word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%}
img{height:auto;vertical-align:middle;border:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,h5,h6,p,dl,dd,figure{margin:0}
h1,h2,h3,h4{color:var(--ink);line-height:1.3;letter-spacing:-.01em}
input,select,textarea{font:inherit;color:var(--ink)}
:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:4px}
.sound_only,.blind{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ms-skip{position:absolute;left:-9999px;top:0;z-index:999;background:var(--blue);color:#fff;padding:10px 16px}
.ms-skip:focus{left:16px;top:16px}
#hd_login_msg{display:none}

.ms-wrap{max-width:calc(var(--wrap) + var(--gutter)*2);margin:0 auto;padding:0 var(--gutter)}

/* ---------- Common type / components ---------- */
.ms-eyebrow{display:block;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);margin-bottom:10px}
.ms-eyebrow--cyan{color:var(--cyan)}
.ms-h2{font-size:36px;font-weight:800;letter-spacing:-.02em}
.ms-h3{font-size:20px;font-weight:700}
.ms-lead{font-size:17px;color:var(--body)}
.ms-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 28px;border-radius:999px;font-size:15px;font-weight:700;transition:.2s var(--ease);white-space:nowrap}
.ms-btn--primary{background:var(--blue);color:#fff}
.ms-btn--primary:hover{background:var(--navy)}
.ms-btn--outline{border:1.5px solid var(--blue);color:var(--blue);background:#fff}
.ms-btn--outline:hover{background:var(--blue);color:#fff}
.ms-btn--white{background:#fff;color:var(--blue)}
.ms-btn--white:hover{background:var(--navy);color:#fff}
.ms-btn--sm{height:38px;padding:0 18px;font-size:14px}
.ms-arrow::after{content:"→";font-weight:700}
.ms-ext::after{content:"↗";font-weight:700}
.ms-chip{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:600;color:var(--body);background:transparent;border:1px solid transparent;transition:.15s}
.ms-chip:hover{color:var(--blue)}
.ms-chip.is-active{background:var(--blue);color:#fff}
.ms-chips{display:flex;flex-wrap:wrap;gap:6px 4px;align-items:center}
.ms-tag{display:inline-block;font-size:13px;font-weight:700;color:var(--blue-2)}
.ms-tag--violet{color:var(--violet)}
.ms-badge{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--surface-2);color:var(--blue)}
.ms-badge--new{background:#FFEDEE;color:#E5384A}
.ms-badge--open{background:#E3F7EC;color:#138A4B}
.ms-badge--closed{background:#EEF0F3;color:#7A8597}
.ms-empty{padding:80px 20px;text-align:center;color:var(--muted);background:var(--surface);border-radius:var(--radius)}
.ms-empty b{display:block;font-size:20px;color:var(--ink);margin-bottom:6px}

/* ---------- Header / GNB ---------- */
.ms-hd{position:sticky;top:0;z-index:100;height:var(--hd-h);background:#fff;border-bottom:1px solid var(--line);transition:background .25s,border-color .25s,box-shadow .25s}
.ms-hd__in{position:relative;z-index:2;display:flex;align-items:center;height:100%;max-width:1440px;margin:0 auto;padding:0 60px}
.ms-logo{display:flex;align-items:center;gap:14px;flex:0 0 auto;min-width:300px}
.ms-logo__mark{display:block}
.ms-logo__img{display:block;height:52px;width:auto}
.ms-logo__img--white{display:none}
.ms-logo__name{font-size:26px;font-weight:800;color:var(--blue);letter-spacing:-.01em;line-height:1.1;word-spacing:.12em}
.ms-logo__tag{padding-left:14px;border-left:1px solid var(--line);font-size:12px;line-height:1.4;color:var(--muted);letter-spacing:-.01em;white-space:nowrap}
.ms-gnb{flex:1 1 auto;min-width:0;display:flex;justify-content:center;height:100%}
/* 메뉴 사이 간격을 모두 같게: 칸 폭은 메뉴 글자 폭만, 남는 폭은 space-evenly 로 똑같이 나눔.
   하위 메뉴는 칸 폭에 영향을 주지 않도록 메뉴 글자 가운데 아래에 띄워 둔다 */
.ms-gnb__list{display:flex;justify-content:space-evenly;width:100%;max-width:780px;height:100%}
.ms-gnb__item{position:relative;display:flex;flex-direction:column;flex:0 0 auto;height:100%}
.ms-gnb__link{flex:0 0 100%;align-self:center;display:flex;align-items:center;padding:0 10px;font-size:17px;font-weight:700;color:var(--ink);position:relative;white-space:nowrap}
.ms-gnb__link::after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:3px;background:var(--blue);transform:scaleX(0);transition:transform .25s var(--ease)}
.ms-gnb__item:hover>.ms-gnb__link::after,.ms-gnb__item.is-active>.ms-gnb__link::after{transform:scaleX(1)}
.ms-gnb__sub{position:absolute;top:100%;left:50%;width:max-content;height:0;overflow:visible;padding:0;text-align:center;opacity:0;visibility:hidden;transform:translate(-50%,-6px);transition:.2s var(--ease)}
.ms-gnb__sub li:first-child{padding-top:22px}
.ms-gnb__sub a{display:block;padding:6px 0;font-size:15px;color:var(--body);white-space:nowrap}
.ms-gnb__sub a:hover,.ms-gnb__sub a.is-active{color:var(--blue);font-weight:600}
.ms-mega-bg{position:absolute;left:0;right:0;top:100%;height:0;background:#fff;box-shadow:0 16px 30px rgba(7,29,64,.08);transition:height .25s var(--ease);overflow:hidden;z-index:1}
.ms-hd.is-mega .ms-mega-bg{height:var(--mega-h,250px);border-top:1px solid var(--line)}
.ms-hd.is-mega .ms-gnb__sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
.ms-util{display:flex;align-items:center;gap:16px;flex:0 0 auto;font-size:13px;color:var(--muted);letter-spacing:.02em}
.ms-util a:hover{color:var(--blue)}
.ms-util__admin{padding:4px 10px;border-radius:999px;background:var(--surface-2);color:var(--blue)!important;font-weight:700}
.ms-allmenu-btn{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:36px;height:36px;padding:0 8px;margin-left:4px}
.ms-allmenu-btn i{display:block;height:2px;background:var(--ink);border-radius:2px}

/* overlay header on home hero */
.ms-hd.is-overlay{position:fixed;left:0;right:0;background:transparent;border-color:rgba(255,255,255,.14)}
.ms-hd.is-overlay .ms-logo__name,.ms-hd.is-overlay .ms-gnb__link{color:#fff}
.ms-hd.is-overlay .ms-logo__tag,.ms-hd.is-overlay .ms-util{color:rgba(255,255,255,.75)}
.ms-hd.is-overlay .ms-allmenu-btn i{background:#fff}
.ms-hd.is-overlay .ms-logo__img--color{display:none}
.ms-hd.is-overlay .ms-logo__img--white{display:block}
.ms-hd.is-overlay .ms-logo__tag{border-color:rgba(255,255,255,.3)}
.ms-hd.is-overlay.is-scrolled .ms-logo__img--color,.ms-hd.is-overlay.is-mega .ms-logo__img--color{display:block}
.ms-hd.is-overlay.is-scrolled .ms-logo__img--white,.ms-hd.is-overlay.is-mega .ms-logo__img--white{display:none}
.ms-hd.is-overlay.is-scrolled .ms-logo__tag,.ms-hd.is-overlay.is-mega .ms-logo__tag{border-color:var(--line)}
.ms-hd.is-overlay .ms-gnb__link::after{background:var(--cyan)}
.ms-hd.is-overlay.is-scrolled,.ms-hd.is-overlay.is-mega{background:#fff;border-color:var(--line)}
.ms-hd.is-overlay.is-scrolled .ms-logo__name,.ms-hd.is-overlay.is-mega .ms-logo__name{color:var(--blue)}
.ms-hd.is-overlay.is-scrolled .ms-gnb__link,.ms-hd.is-overlay.is-mega .ms-gnb__link{color:var(--ink)}
.ms-hd.is-overlay.is-scrolled .ms-logo__tag,.ms-hd.is-overlay.is-mega .ms-logo__tag,.ms-hd.is-overlay.is-scrolled .ms-util,.ms-hd.is-overlay.is-mega .ms-util{color:var(--muted)}
.ms-hd.is-overlay.is-scrolled .ms-allmenu-btn i,.ms-hd.is-overlay.is-mega .ms-allmenu-btn i{background:var(--ink)}
.ms-hd.is-overlay.is-scrolled .ms-gnb__link::after,.ms-hd.is-overlay.is-mega .ms-gnb__link::after{background:var(--blue)}
.ms-hd.is-scrolled{box-shadow:0 4px 20px rgba(7,29,64,.06)}

/* all menu (sitemap) */
.ms-allmenu{position:fixed;inset:0;z-index:300;background:rgba(7,29,64,.97);color:#fff;overflow:auto;animation:msFade .2s}
.ms-allmenu[hidden]{display:none}
.ms-allmenu__in{max-width:1280px;margin:0 auto;padding:28px 24px 60px}
.ms-allmenu__top{display:flex;justify-content:space-between;align-items:center;height:56px;margin-bottom:48px}
.ms-allmenu__logo{display:block;height:44px;width:auto}
.ms-allmenu__close{font-size:40px;line-height:1;color:#fff;width:48px;height:48px}
.ms-allmenu__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:32px}
.ms-allmenu__col h2{font-size:22px;color:#fff;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.18)}
.ms-allmenu__col li a{display:block;padding:6px 0;color:rgba(255,255,255,.75);font-size:15px}
.ms-allmenu__col li a:hover,.ms-allmenu__col h2 a:hover{color:var(--cyan)}
.ms-allmenu__util{display:flex;gap:20px;margin-top:56px;font-size:14px;color:rgba(255,255,255,.7)}
@keyframes msFade{from{opacity:0}to{opacity:1}}

/* ---------- Sub visual / LNB ---------- */
.ms-sv{position:relative;height:320px;background:var(--navy);color:#fff;overflow:hidden}
.ms-sv__bg{position:absolute;inset:0;background:url(../img/sub-visual.png) right center/cover no-repeat}
.ms-sv__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,29,64,.96) 0%,rgba(7,29,64,.72) 40%,rgba(7,29,64,.1) 78%,rgba(7,29,64,0) 100%)}
.ms-sv__bg{animation:msSvZoom 14s var(--ease) both}
/* 기본 배경 그림의 주제가 위쪽에 있는 페이지는 위쪽을 더 보이게 */
.ms-sv--xr .ms-sv__bg,.ms-sv--contact .ms-sv__bg,.ms-sv--lecture .ms-sv__bg{background-position:right 30%}
.ms-sv__grid{position:absolute;inset:0;pointer-events:none;opacity:.5;background-image:linear-gradient(rgba(0,194,255,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(0,194,255,.10) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse 60% 120% at 0% 100%,#000 0%,transparent 70%);mask-image:radial-gradient(ellipse 60% 120% at 0% 100%,#000 0%,transparent 70%)}
.ms-sv::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--cyan),var(--blue-2) 45%,var(--violet))}
.ms-sv__in>*{animation:msRise .7s var(--ease) both}
.ms-sv__in>.ms-sv__title{animation-delay:.06s}
.ms-sv__in>.ms-sv__desc{animation-delay:.14s}
@keyframes msSvZoom{from{transform:scale(1.07)}to{transform:none}}
@keyframes msRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ms-sv__bg,.ms-sv__in>*{animation:none}}
.ms-sv__in{position:relative;max-width:1440px;margin:0 auto;padding:96px 80px 0}
.ms-crumb{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:rgba(255,255,255,.85);margin-bottom:14px}
.ms-crumb li+li::before{content:"›";margin:0 8px 0 2px;color:rgba(255,255,255,.55)}
.ms-crumb a:hover{color:var(--cyan)}
.ms-sv__title{font-size:52px;font-weight:800;color:#fff;letter-spacing:-.02em;line-height:1.15}
.ms-sv__desc{margin-top:16px;font-size:17px;color:rgba(255,255,255,.88)}
.ms-lnb{position:sticky;top:var(--hd-h);z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.ms-lnb__in{display:flex;gap:44px;max-width:1440px;margin:0 auto;padding:0 80px;overflow-x:auto;scrollbar-width:none}
.ms-lnb__in::-webkit-scrollbar{display:none}
.ms-lnb__tab{position:relative;flex:0 0 auto;display:flex;align-items:center;height:64px;font-size:17px;font-weight:700;color:var(--ink);white-space:nowrap}
.ms-lnb__tab::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:4px;background:var(--blue);transform:scaleX(0);transition:transform .2s}
.ms-lnb__tab:hover{color:var(--blue)}
.ms-lnb__tab.is-active{color:var(--ink)}
.ms-lnb__tab.is-active::after{transform:scaleX(1)}
.ms-content{max-width:1440px;margin:0 auto;padding:64px 80px 120px;min-height:360px}

/* ---------- Footer ---------- */
.ms-ft{background:var(--ft);color:rgba(255,255,255,.72);font-size:14px}
.ms-ft__in{display:flex;justify-content:space-between;gap:40px;max-width:1440px;margin:0 auto;padding:48px 60px 40px}
.ms-ft__logo{margin-bottom:18px}
.ms-ft__logo img{display:block;height:52px;width:auto}
.ms-ft address{font-style:normal;line-height:1.75}
.ms-ft__side{flex:0 0 380px}
.ms-ft__related select{width:100%;height:46px;padding:0 16px;border:0;border-radius:4px;background:#fff;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.ms-ft__sns{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px;font-weight:700;color:#fff}
.ms-ft__sns a:hover,.ms-ft__policy button:hover{color:var(--cyan)}
.ms-ft__bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1320px;margin:0 auto;padding:24px 0 32px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}
.ms-ft__policy{display:flex;gap:16px}
.ms-ft__policy button{color:rgba(255,255,255,.72)}
.ms-ft__policy li:first-child button{color:#fff;font-weight:600}
.ms-ft__copy{color:rgba(255,255,255,.6)}

.ms-dlg{width:min(760px,calc(100% - 32px));max-height:80vh;padding:0;border:0;border-radius:var(--radius);box-shadow:var(--shadow)}
.ms-dlg::backdrop{background:rgba(7,29,64,.55)}
.ms-dlg__hd{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#fff;border-bottom:1px solid var(--line)}
.ms-dlg__hd h2{font-size:20px}
.ms-dlg__x{font-size:30px;line-height:1;width:40px;height:40px}
.ms-dlg__bd{padding:24px;font-size:14px;line-height:1.8}
.ms-dlg__bd a{color:var(--blue);text-decoration:underline}

.ms-top{position:fixed;right:24px;bottom:24px;z-index:90;width:48px;height:48px;border-radius:50%;background:var(--blue);color:#fff;font-size:20px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.25s}
.ms-top.is-show{opacity:1;visibility:visible}

/* ---------- Admin floating edit button ---------- */
.ms-editfab{position:fixed;left:24px;bottom:24px;z-index:95;display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 22px;border-radius:999px;background:#FF4D5E;color:#fff;font-weight:800;font-size:15px;box-shadow:0 10px 26px rgba(255,77,94,.35);transition:.2s}
.ms-editfab:hover{transform:translateY(-2px);background:#E63B4C}
.ms-editfab__ico{font-size:18px}
.ms-adminhint{display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:24px;border-radius:var(--radius-sm);background:#FFF4F5;border:1px dashed #FF8A95;color:#B4232F;font-size:14px}
.ms-adminhint a{font-weight:700;text-decoration:underline}

/* =====================================================================
   HOME (SB-10)
   ===================================================================== */
.ms-hero{position:relative;height:100vh;min-height:680px;max-height:900px;background:var(--navy);color:#fff;overflow:hidden}
.ms-hero__slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .9s var(--ease),visibility .9s}
.ms-hero__slide.is-active{opacity:1;visibility:visible}
.ms-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center right;transform:scale(1.06);transition:transform 7s linear}
.ms-hero__slide.is-active .ms-hero__bg{transform:scale(1)}
.ms-hero__slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,29,64,.92) 0%,rgba(7,29,64,.55) 45%,rgba(7,29,64,0) 70%)}
.ms-hero__in{position:relative;z-index:2;max-width:1440px;height:100%;margin:0 auto;padding:0 80px;display:flex;flex-direction:column;justify-content:center}
.ms-hero__eyebrow{font-size:16px;font-weight:800;letter-spacing:.06em;color:var(--cyan);margin-bottom:24px;word-spacing:.15em}
.ms-hero__title{font-size:72px;line-height:1.1;font-weight:800;color:#fff;letter-spacing:-.025em;max-width:820px}
.ms-hero__text{margin-top:32px;font-size:20px;line-height:1.6;color:rgba(255,255,255,.9);max-width:700px}
.ms-hero__ctl{position:absolute;z-index:3;left:0;right:0;bottom:72px;max-width:1440px;margin:0 auto;padding:0 80px;display:flex;align-items:center;gap:20px;font-size:14px;font-weight:600;color:#fff}
.ms-hero__bar{position:relative;width:120px;height:2px;background:rgba(255,255,255,.3);overflow:hidden}
.ms-hero__bar i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--cyan)}
.ms-hero__bar i.is-run{animation:msBar 6s linear forwards}
@keyframes msBar{to{width:100%}}
.ms-hero__pause{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.ms-hero__dots{display:flex;gap:8px}
.ms-hero__dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4)}
.ms-hero__dots button.is-active{background:var(--cyan)}
.ms-hero__scroll{margin-left:20px;letter-spacing:.08em}
.ms-hero__scroll::after{content:" ↓"}

.ms-sec{padding:120px 0}
.ms-sec--tight{padding:80px 0}
.ms-sec__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px}
.ms-plus{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;font-size:28px;font-weight:400;color:var(--blue);line-height:1}
.ms-plus:hover{color:var(--cyan)}

.ms-focus{background:var(--blue);color:#fff;padding:64px 0 96px}
.ms-focus .ms-h2{color:#fff}
.ms-focus__text{max-width:420px;color:rgba(255,255,255,.85);font-size:15px;line-height:1.6;white-space:pre-line}
.ms-focus__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ms-fcard{position:relative;display:block;height:290px;border-radius:var(--radius);overflow:hidden;background:var(--navy);color:#fff;isolation:isolate}
.ms-fcard__img{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .5s var(--ease);z-index:-1}
.ms-fcard::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,29,64,0) 35%,rgba(7,29,64,.85) 100%)}
.ms-fcard:hover .ms-fcard__img{transform:scale(1.05)}
.ms-fcard__body{position:absolute;left:24px;right:24px;bottom:28px;transition:transform .35s var(--ease)}
/* 화살표는 제목 마지막 단어에 붙어 함께 줄바꿈, 설명은 항상 제목 아래 새 줄에서 왼쪽 정렬 */
.ms-fcard__title{display:block;font-size:23px;line-height:1.25;letter-spacing:-.01em;font-weight:800;color:#fff}
.ms-fcard__nw{white-space:nowrap}
.ms-fcard__arr{display:inline-block;margin-left:8px;font-style:normal;font-size:20px;line-height:1;transition:transform .3s var(--ease)}
.ms-fcard:hover .ms-fcard__arr{transform:translate(3px,-3px)}
.ms-fcard__text{display:block;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.85);margin-top:0;max-height:0;opacity:0;overflow:hidden;transition:max-height .35s var(--ease),opacity .35s var(--ease),margin-top .35s var(--ease)}
.ms-fcard:hover .ms-fcard__text,.ms-fcard:focus-visible .ms-fcard__text{max-height:84px;margin-top:10px;opacity:1}
@media (hover:none){.ms-fcard__text{max-height:84px;margin-top:10px;opacity:1}}

/* About Lab: 왼쪽 소개 · 오른쪽 연구주제 높이를 맞춰 한 덩어리로 */
.ms-welcome{display:grid;grid-template-columns:minmax(0,1fr) 600px;gap:80px;align-items:stretch}
.ms-welcome__intro{display:flex;flex-direction:column}
.ms-welcome .ms-h2{font-size:40px;margin-bottom:24px}
.ms-welcome__text{position:relative;padding-left:22px;font-size:16.5px;line-height:1.8;color:var(--body);white-space:pre-line}
.ms-welcome__text::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;background:linear-gradient(180deg,var(--cyan),var(--blue) 60%,var(--violet))}
.ms-welcome__subj{display:flex;flex-direction:column}
.ms-welcome__subj .ms-subjects{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.ms-subjects li+li{margin-top:12px}
.ms-welcome__subj .ms-subjects li+li{margin-top:0}
.ms-subjects a{display:flex;align-items:center;gap:28px;height:58px;padding:0 28px 0 24px;border-radius:var(--radius-sm);background:var(--surface);font-weight:700;font-size:17px;color:var(--ink);transition:.2s}
.ms-subjects a:hover{background:var(--blue);color:#fff}
.ms-subjects a:hover .ms-subjects__no{color:var(--cyan)}
.ms-subjects__no{font-size:18px;font-weight:800;color:var(--blue-2);width:28px}
.ms-subjects__t{flex:1}
.ms-subjects a::after{content:"→";font-weight:800;color:var(--blue)}
.ms-subjects a:hover::after{color:#fff}

.ms-banner{position:relative;display:block;height:240px;color:#fff;overflow:hidden;isolation:isolate}
.ms-banner__bg{position:absolute;inset:-20px 0;background-size:cover;background-position:center;z-index:-1;will-change:transform}
.ms-banner--ai{background:#1F0F4D}
.ms-banner--xr{background:var(--navy)}
.ms-banner__in{max-width:1440px;height:100%;margin:0 auto;padding:0 80px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.ms-banner__title{display:block;font-size:36px;font-weight:800;color:#fff;margin-bottom:10px}
.ms-banner__text{display:block;font-size:15px;line-height:1.55;color:rgba(255,255,255,.85);max-width:700px}
.ms-banner__more{font-size:20px;font-weight:800;white-space:nowrap;margin-right:60px;transition:transform .2s}
.ms-banner__more::after{content:" →"}
.ms-banner:hover .ms-banner__more{transform:translateX(6px);color:var(--cyan)}

.ms-updates{display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:60px}
.ms-updates>*{min-width:0}
.ms-tabs{display:flex;gap:40px;border-bottom:1px solid var(--line);margin-bottom:8px}
.ms-tabs button{position:relative;height:48px;font-size:18px;font-weight:700;color:var(--ink)}
.ms-tabs button[aria-selected="true"]{color:var(--blue)}
.ms-tabs button[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--blue)}
.ms-postlist li{border-bottom:1px solid var(--line)}
.ms-postlist a{display:flex;justify-content:space-between;align-items:center;gap:24px;height:60px;font-size:16px;color:var(--ink)}
.ms-postlist a:hover .ms-postlist__t{color:var(--blue)}
.ms-postlist__t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.ms-postlist__d{flex:0 0 auto;font-size:14px;color:var(--muted)}
.ms-featured__img{display:block;aspect-ratio:3/2;border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.ms-featured__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.ms-featured a:hover img{transform:scale(1.05)}
.ms-featured__cap{margin-top:16px;font-size:17px;font-weight:700;color:var(--ink)}
.ms-featured__cap span{color:var(--ink);font-weight:700}

/* 메인 「Professor」 블록 (Featured 자리) → Professor 페이지로 이어짐 */
.ms-pi__card{position:relative;display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:center;padding:22px;border-radius:var(--radius);background:linear-gradient(135deg,#F4F7FC 0%,#E8EFFA 100%);overflow:hidden;isolation:isolate;transition:box-shadow .25s,transform .25s var(--ease)}
.ms-pi__card::before{content:"";position:absolute;right:-90px;top:-90px;z-index:-1;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(0,194,255,.18),rgba(0,194,255,0) 70%)}
.ms-pi__card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.ms-pi__photo{display:block;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:#D5DDEA}
.ms-pi__photo img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .5s var(--ease)}
.ms-pi__card:hover .ms-pi__photo img{transform:scale(1.04)}
.ms-pi__body{display:flex;flex-direction:column;min-width:0}
.ms-pi__eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-2)}
.ms-pi__name{margin-top:8px;font-size:23px;line-height:1.25;font-weight:800;color:var(--ink)}
.ms-pi__role{margin-top:6px;font-size:15px;font-weight:700;color:var(--blue)}
.ms-pi__org{margin-top:2px;font-size:13.5px;color:var(--muted)}
.ms-pi__msg{margin-top:16px;font-size:14.5px;line-height:1.7;color:var(--body);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ms-pi__hl{display:flex;flex-direction:column;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(3,54,140,.12)}
.ms-pi__hl-i{display:grid;grid-template-columns:118px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.5;color:var(--body)}
.ms-pi__hl-i b{font-weight:700;color:var(--blue-2);white-space:nowrap}
.ms-pi__hl-i span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ms-pi__more{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:18px;font-size:14.5px;font-weight:800;color:var(--blue)}
.ms-pi__more::after{content:"→";transition:transform .2s}
.ms-pi__card:hover .ms-pi__more::after{transform:translateX(4px)}

/* Professor 페이지 인사말 */
.ms-greet{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;margin-top:64px;padding-top:48px;border-top:1px solid var(--line);scroll-margin-top:120px}
.ms-greet__t{margin-top:10px;font-size:30px;font-weight:800;color:var(--ink)}
.ms-greet__text{position:relative;padding-left:24px;font-size:17px;line-height:1.9;color:var(--body)}
.ms-greet__text::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:linear-gradient(180deg,var(--cyan),var(--blue) 60%,var(--violet))}
.ms-greet__text p+p{margin-top:1em}
.ms-greet__sign{margin-top:28px;padding-left:24px;font-size:17px;font-weight:800;color:var(--ink)}
.ms-greet__sign span{display:block;margin-top:4px;font-size:14px;font-weight:600;color:var(--muted)}

.ms-gallery-sec{background:var(--surface)}
.ms-carousel{position:relative}
.ms-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.ms-carousel__track::-webkit-scrollbar{display:none}
.ms-carousel__nav{display:flex;gap:6px;align-items:center}
.ms-carousel__nav button{width:40px;height:40px;font-size:24px;color:var(--blue);font-weight:700}
.ms-carousel__nav button:disabled{opacity:.3;cursor:default}

.ms-gcard{scroll-snap-align:start;display:block;background:#fff;border-radius:var(--radius);overflow:hidden;transition:box-shadow .25s}
.ms-gcard:hover{box-shadow:var(--shadow)}
.ms-gcard__img{position:relative;display:block;aspect-ratio:16/10;background:var(--surface-2);overflow:hidden}
.ms-gcard__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.ms-gcard:hover .ms-gcard__img img{transform:scale(1.05)}
.ms-gcard__play{position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:rgba(7,29,64,.7);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center}
.ms-gcard__body{display:block;padding:20px 20px 22px}
.ms-gcard__t{display:block;font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-gcard__d{display:block;margin-top:8px;font-size:13px;color:var(--muted)}

/* 「Life at MediSC」 2줄 슬라이드 (News · Gallery) */
.ms-strip+.ms-strip{margin-top:44px}
.ms-strip__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.ms-strip__t{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;color:var(--ink)}
.ms-strip__t::before{content:"";width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--blue))}
.ms-gcard--news .ms-gcard__t{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45;min-height:2.9em}
.ms-gcard__ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;letter-spacing:.2em;color:rgba(255,255,255,.7);background:linear-gradient(135deg,#071D40,#03368C)}

.ms-join{position:relative;overflow:hidden;isolation:isolate;color:#fff;padding:64px 0;background:linear-gradient(115deg,#0784D4 0%,#03368C 55%,#3B2A9E 100%)}
.ms-join::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.35;background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 55%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 55%,#000 100%)}
.ms-join::after{content:"";position:absolute;right:-80px;top:-140px;z-index:-1;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(0,194,255,.45),rgba(0,194,255,0) 65%)}
.ms-join__in{display:flex;justify-content:space-between;align-items:center;gap:40px}
.ms-join__title{font-size:36px;font-weight:800;color:#fff;margin-bottom:8px}
.ms-join__text{font-size:17px;color:rgba(255,255,255,.92)}

/* =====================================================================
   SUB PAGES
   ===================================================================== */
.ms-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:40px}
.ms-search{position:relative;display:flex;align-items:center;width:340px;max-width:100%}
.ms-search input{width:100%;height:46px;padding:0 48px 0 20px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:15px}
.ms-search input:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(3,54,140,.12)}
.ms-search button{position:absolute;right:6px;top:3px;width:40px;height:40px;color:var(--blue)}
.ms-count{font-size:14px;color:var(--muted)}
.ms-count b{color:var(--blue)}

/* project cards (Medical AI / XR) */
.ms-pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ms-pcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:box-shadow .25s,transform .25s}
.ms-pcard:hover{box-shadow:var(--shadow)}
.ms-pcard__img{display:block;aspect-ratio:16/9;background:#fff;overflow:hidden;border-bottom:1px solid var(--line)}
.ms-pcard__img img{width:100%;height:100%;object-fit:contain;transition:transform .5s var(--ease)}
.ms-pcard:hover .ms-pcard__img img{transform:scale(1.05)}
.ms-pcard__body{flex:1;display:flex;flex-direction:column;padding:22px 20px 22px}
.ms-pcard__t{margin-top:6px;font-size:18px;font-weight:700;line-height:1.4;color:var(--ink)}
.ms-pcard__kw{margin-top:auto;padding-top:18px;font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 10px}
.ms-pcard--soon{opacity:.6}
.ms-pcard--soon .ms-pcard__img{display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:700;background:var(--surface)}
.ms-pager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:56px}
.ms-pager a,.ms-pager span,.ms-pager strong{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 6px;border-radius:999px;font-weight:700;color:var(--ink)}
.ms-pager strong{background:var(--blue);color:#fff}
.ms-pager a:hover{color:var(--blue)}

/* rich text */
.ms-rich{font-size:16px;line-height:1.8;color:var(--body)}
.ms-rich a{color:var(--blue-2);text-decoration:underline;text-underline-offset:2px}
.ms-rich img{border-radius:8px}
.ms-rich b,.ms-rich strong{color:var(--ink)}
.ms-rich p{margin:0 0 1em}
.ms-rich table{border-collapse:collapse;max-width:100%}
.ms-rich td,.ms-rich th{border:1px solid var(--line);padding:6px 10px}

/* generic sections (fallback for Contents_Maker types) */
.ms-blocks>*+*{margin-top:48px}
.ms-block__title{font-size:28px;font-weight:800;margin-bottom:20px}
.ms-cols{display:grid;gap:32px}
.ms-cols--2{grid-template-columns:repeat(2,1fr)}
.ms-cols--3{grid-template-columns:repeat(3,1fr)}
.ms-cols--4{grid-template-columns:repeat(4,1fr)}
.ms-col h3{font-size:20px;font-weight:700;margin-bottom:12px}
.ms-col__img{display:block;margin-bottom:16px;border-radius:var(--radius-sm);overflow:hidden}
.ms-col__img img{width:100%}
.ms-video{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#000}
.ms-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ms-imgblock img{width:100%;border-radius:var(--radius)}

/* professor */
.ms-prof{display:grid;grid-template-columns:270px 1fr;gap:50px;padding:40px;border-radius:var(--radius);background:var(--surface)}
.ms-prof__photo{aspect-ratio:3/4;border-radius:var(--radius-sm);overflow:hidden;background:#D5DDEA}
.ms-prof__photo img{width:100%;height:100%;object-fit:cover}
.ms-prof__name{font-size:34px;font-weight:800;margin-top:4px}
.ms-prof__name small{font-size:34px;margin-left:20px;font-weight:800}
.ms-prof__role{margin-top:10px;font-size:17px;font-weight:700;color:var(--blue)}
.ms-prof__dl{display:grid;grid-template-columns:auto 1fr;gap:4px 20px;margin-top:28px;font-size:15px;line-height:1.6}
.ms-prof__dl dt{color:var(--muted)}
.ms-prof__dl dd{color:var(--ink)}
.ms-prof__dl a{color:var(--blue-2)}
.ms-prof__btns{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px}
.ms-copy{border-bottom:1px dashed currentColor;cursor:copy}
.ms-cv{display:grid;grid-template-columns:repeat(2,1fr);gap:56px 64px;margin-top:64px}
.ms-cv__block h2{font-size:24px;font-weight:800;margin-bottom:20px}
.ms-cv__head{margin:20px 0 8px;font-size:14px;font-weight:800;color:var(--blue);letter-spacing:.01em}
.ms-cv__head:first-child{margin-top:0}
.ms-tl{position:relative;padding-left:22px}
.ms-tl::before{content:"";position:absolute;left:4px;top:8px;bottom:8px;width:2px;background:var(--line)}
.ms-tl li{position:relative;display:grid;grid-template-columns:150px 1fr;gap:12px;padding:5px 0;font-size:15px;line-height:1.55}
.ms-tl li::before{content:"";position:absolute;left:-22px;top:12px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid var(--blue)}
.ms-tl__d{color:var(--blue-2);font-weight:600;font-variant-numeric:tabular-nums}
.ms-tl__t{color:var(--ink)}
.ms-tl li.is-hidden{display:none}
.ms-more{display:inline-flex;align-items:center;gap:6px;margin:12px 0 0 22px;font-size:14px;font-weight:700;color:var(--blue)}
.ms-more::after{content:"+"}
.ms-more[aria-expanded="true"]::after{content:"−"}
.ms-videos{margin-top:80px}
.ms-videos__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}

/* researchers */
.ms-people{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ms-person{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.ms-person__photo{aspect-ratio:3/4;background:var(--surface-2);overflow:hidden}
.ms-person__photo img{width:100%;height:100%;object-fit:cover;object-position:top center}
.ms-person__noimg{display:flex;height:100%;align-items:center;justify-content:center;font-size:44px;font-weight:800;color:#B9C6DA}
.ms-person__body{padding:20px 20px 22px;flex:1;display:flex;flex-direction:column}
.ms-person__course{font-size:12px;font-weight:800;color:var(--cyan);letter-spacing:.05em;text-transform:uppercase}
.ms-person__name{font-size:19px;font-weight:800;margin-top:4px}
.ms-person__ko{font-size:15px;font-weight:600;color:var(--muted);margin-left:6px}
.ms-person__area{margin-top:10px;font-size:14px;font-weight:600;color:var(--blue);line-height:1.5}
.ms-person__aff{margin-top:10px;font-size:13px;line-height:1.55;color:var(--body)}
.ms-person__contact{margin-top:auto;padding-top:14px;font-size:13px;color:var(--muted);line-height:1.6;word-break:break-all}
.ms-person__contact a{color:var(--blue-2)}
.ms-people-group+.ms-people-group{margin-top:72px}
.ms-people-group>h2{font-size:26px;font-weight:800;margin-bottom:24px}

/* publications */
.ms-pub-year{display:grid;grid-template-columns:140px 1fr;gap:32px;padding:36px 0;border-top:1px solid var(--line)}
.ms-pub-year:first-child{border-top:2px solid var(--ink)}
.ms-pub-year__y{font-size:32px;font-weight:800;color:var(--blue);line-height:1.2}
.ms-pub-year__y small{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-top:6px}
.ms-pubs li{position:relative;padding:14px 0 14px 44px;border-bottom:1px dashed var(--line);font-size:15.5px;line-height:1.65;color:var(--ink)}
.ms-pubs li:last-child{border-bottom:0}
.ms-pubs__no{position:absolute;left:0;top:15px;width:32px;font-size:13px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.ms-pubs a{color:var(--blue-2);font-weight:700}
.ms-pubs__note{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.ms-pubs__note a{font-weight:500}
.ms-pubs mark{background:#FFF3B0;color:inherit;padding:0 2px;border-radius:2px}
.ms-pub-year.is-hidden,.ms-pubs li.is-hidden{display:none}
.ms-yearsel{height:46px;padding:0 40px 0 18px;border:1px solid var(--line);border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2303368C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;-webkit-appearance:none;appearance:none;font-weight:600}

/* lecture timeline */
.ms-lec-intro{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:56px}
.ms-lec-intro__card{padding:32px;border-radius:var(--radius);background:var(--surface)}
.ms-lec-intro__card h2{font-size:24px;font-weight:800}
.ms-lec-intro__card p{margin-top:6px;color:var(--muted)}
.ms-lec{position:relative}
.ms-lec__sem{display:grid;grid-template-columns:200px 1fr;gap:40px;padding:32px 0;border-top:1px solid var(--line)}
.ms-lec__sem:first-child{border-top:2px solid var(--ink)}
.ms-lec__label{font-size:22px;font-weight:800;color:var(--blue);line-height:1.3}
.ms-lec__label small{display:block;font-size:14px;color:var(--muted);font-weight:600;margin-top:4px}

/* board list (News/Career) */
.ms-blist{border-top:2px solid var(--ink)}
.ms-blist__row{display:grid;grid-template-columns:80px 1fr 140px;align-items:center;gap:16px;min-height:72px;padding:12px 8px;border-bottom:1px solid var(--line)}
.ms-blist__row:hover{background:var(--surface)}
.ms-blist__no{font-size:14px;color:var(--muted);text-align:center;font-variant-numeric:tabular-nums}
.ms-blist__t{font-size:17px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:10px;min-width:0}
.ms-blist__t span.txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-blist__t:hover{color:var(--blue)}
.ms-blist__d{font-size:14px;color:var(--muted);text-align:right}
.ms-blist__row.is-notice .ms-blist__no{color:var(--blue);font-weight:800}
.ms-blist-adm{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}

.ms-ggrid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ms-ggrid .ms-gcard{border:1px solid var(--line)}

/* board view (SB-64) */
.ms-view{max-width:1100px;margin:0 auto}
.ms-view__hd{padding-bottom:28px;border-bottom:2px solid var(--ink)}
.ms-view__cat{margin-bottom:10px}
.ms-view__title{font-size:32px;font-weight:800;line-height:1.35}
.ms-view__meta{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:16px;font-size:14px;color:var(--muted)}
.ms-view__body{padding:48px 0;border-bottom:1px solid var(--line)}
.ms-view__body img{max-width:100%!important;height:auto!important}
.ms-view__files{margin:24px 0 0;padding:20px 24px;border-radius:var(--radius-sm);background:var(--surface);font-size:14px}
.ms-view__files li+li{margin-top:6px}
.ms-view__files a{color:var(--blue-2);font-weight:600}
.ms-view__nav{margin-top:32px;border-top:1px solid var(--line)}
.ms-view__nav a{display:grid;grid-template-columns:90px 1fr;gap:16px;padding:16px 8px;border-bottom:1px solid var(--line);font-size:15px}
.ms-view__nav a:hover{background:var(--surface)}
.ms-view__nav b{color:var(--muted);font-weight:600}
.ms-view__btns{display:flex;justify-content:space-between;gap:12px;margin-top:32px}
.ms-view__btns div{display:flex;gap:8px}
.ms-view__gallery{display:grid;gap:16px;margin-bottom:32px}
.ms-view__gallery img{width:100%;border-radius:var(--radius-sm)}

/* contact */
.ms-contact{display:grid;grid-template-columns:1fr 420px;gap:40px}
.ms-map{border-radius:var(--radius);overflow:hidden;background:var(--surface);min-height:460px}
.ms-map iframe{display:block;width:100%;height:100%;min-height:460px;border:0}
.ms-cinfo{padding:36px;border-radius:var(--radius);background:var(--navy);color:rgba(255,255,255,.85)}
.ms-cinfo h2{color:#fff;font-size:24px;margin-bottom:20px}
.ms-cinfo dl{display:grid;gap:18px}
.ms-cinfo dt{font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--cyan);text-transform:uppercase}
.ms-cinfo dd{margin-top:4px;font-size:15px;line-height:1.6;color:#fff}
.ms-related{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:80px}
.ms-related a{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);transition:.2s}
.ms-related a:hover{border-color:var(--blue);box-shadow:var(--shadow)}
.ms-related b{font-size:17px;color:var(--ink);line-height:1.45}
.ms-related span{margin-top:14px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.ms-related span::after{content:" ↗";color:var(--blue);font-weight:700}

/* publication items */
.ms-pubs li.ms-pubitem{display:flex;align-items:flex-start;gap:20px;padding:18px 0;counter-increment:none}
.ms-pubitem__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ms-pubitem__t{font-size:16.5px;font-weight:700;line-height:1.5;color:var(--ink)}
.ms-pubitem__a{font-size:14.5px;color:var(--body)}
.ms-pubitem__a b{color:var(--blue);font-weight:800}
.ms-pubitem__v{font-size:14px;color:var(--muted);font-style:italic}
.ms-pubitem__raw{font-size:15px;color:var(--ink)}
.ms-pubitem__raw a{font-weight:600}
.ms-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 14px;border-radius:999px;border:1px solid var(--line);font-size:13px;font-weight:700;color:var(--blue);background:#fff;white-space:nowrap}
.ms-pubs a.ms-pill{color:var(--blue)}
a.ms-pill:hover{border-color:var(--blue);background:var(--blue);color:#fff!important}
.ms-chips__sep{display:inline-block;width:1px;height:20px;margin:0 10px;background:var(--line)}
.ms-awards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.ms-award{padding:28px 30px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:box-shadow .2s}
.ms-award:hover{box-shadow:var(--shadow)}
.ms-award__prize{font-size:13px;font-weight:800;color:var(--violet);letter-spacing:.02em}
.ms-award__title{margin-top:8px;font-size:18px;font-weight:700;line-height:1.45}
.ms-award__names{margin-top:10px;font-size:14.5px;color:var(--body)}
.ms-award__meta{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);font-size:13.5px;color:var(--muted)}
.ms-award__raw{font-size:15px;color:var(--ink)}
.ms-award mark,.ms-pcard mark{background:#FFF3B0;color:inherit;padding:0 2px;border-radius:2px}
.ms-books{display:grid;gap:32px}
.ms-book{display:grid;grid-template-columns:240px 1fr;gap:48px;padding:40px;border-radius:var(--radius);background:var(--surface)}
.ms-book__cover{aspect-ratio:3/4;border-radius:8px;overflow:hidden;background:#D5DDEA;box-shadow:0 18px 40px rgba(7,29,64,.18)}
.ms-book__cover img{width:100%;height:100%;object-fit:cover}
.ms-book__title{font-size:28px;font-weight:800;line-height:1.35}
.ms-book__sub{margin-top:6px;font-size:16px;color:var(--muted)}

/* project cards — extras */
.ms-pgrid--3{grid-template-columns:repeat(3,1fr)}
.ms-pcard__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ms-pcard__t a:hover{color:var(--blue)}
.ms-pcard__sum{margin-top:10px;font-size:14px;line-height:1.6;color:var(--body);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ms-pcard__img{position:relative}
.ms-pcard__img:empty::after{content:"MediSC";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:800;color:#C3CEDF;background:var(--surface)}
.ms-dev{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:4px;font-size:11px;font-weight:800;letter-spacing:.04em;color:#fff;background:var(--blue)}
.ms-dev--vr{background:var(--violet)}
.ms-dev--ar{background:#0098C7}
.ms-dev--mr{background:#0F9D74}
.ms-dev--xr{background:var(--navy)}
.ms-chip__n{margin-left:4px;font-size:12px;font-weight:700;opacity:.55}
.ms-chip.is-empty{opacity:.5}
.ms-toolbar__r{display:flex;flex-wrap:wrap;align-items:center;gap:10px}

/* project detail */
.ms-pview__kw{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:16px;font-size:14px;color:var(--muted)}
.ms-pview__body{padding:48px 0;border-bottom:1px solid var(--line)}
.ms-pview__media{display:grid;gap:16px;margin-bottom:40px}
.ms-pview__media figure{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;text-align:center}
.ms-pview__media img{max-height:640px;width:auto;margin:0 auto}
.ms-pview__parts{display:grid;gap:32px}
.ms-pview__part{display:grid;grid-template-columns:160px 1fr;gap:32px}
.ms-pview__part h3{font-size:15px;font-weight:800;color:var(--blue);letter-spacing:.02em;padding-top:2px}
.ms-pview__related{max-width:1100px;margin:88px auto 0}

/* lecture — extras */
.ms-lcard{display:flex;align-items:stretch;gap:0;text-align:left;border-radius:var(--radius);overflow:hidden;background:var(--surface);border:2px solid transparent;transition:.2s}
.ms-lcard:hover{box-shadow:var(--shadow)}
.ms-lcard.is-active{border-color:var(--blue);background:#fff}
.ms-lcard__img{flex:0 0 38%;background:#D5DDEA center/cover no-repeat;min-height:150px}
.ms-lcard__body{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:28px 30px}
.ms-lcard__body strong{font-size:22px;font-weight:800;color:var(--ink)}
.ms-lcard__body strong span{color:var(--blue)}
.ms-lcard__body>span{font-size:14.5px;color:var(--muted)}
.ms-lec__list li{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:16px;color:var(--ink)}
.ms-lec__list li:last-child{border-bottom:0}
.ms-lec__track{font-size:12.5px;font-weight:800;letter-spacing:.03em;color:var(--cyan);text-transform:uppercase;padding-top:3px}
.ms-lec__list li[data-cat="grad"] .ms-lec__track{color:var(--violet)}
.ms-loadmore-wrap{text-align:center;margin-top:40px}

/* research overview */
.ms-ov{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center}
.ms-ov__values{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ms-ov__values li{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;padding:24px;border-radius:var(--radius);background:var(--surface)}
.ms-ov__values li:nth-child(1){background:var(--navy);color:#fff}
.ms-ov__values li:nth-child(4){background:var(--blue);color:#fff}
.ms-ov__values span{font-size:13px;font-weight:800;color:var(--cyan)}
.ms-ov__values b{font-size:20px;font-weight:800;line-height:1.3;color:inherit}
.ms-ov__values li:nth-child(2) b,.ms-ov__values li:nth-child(3) b{color:var(--ink)}
.ms-areas{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ms-area{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column}
.ms-area__img{aspect-ratio:16/7;background:#0b2350 center/cover no-repeat}
.ms-area__body{padding:28px 30px 30px;display:flex;flex-direction:column;flex:1}
.ms-area__body h3{font-size:24px;font-weight:800}
.ms-area__kw{margin-top:10px;font-size:15px;font-weight:600;color:var(--blue)}
.ms-area__sub{margin-top:10px;font-size:14px;color:var(--muted)}
.ms-area__links{display:flex;flex-wrap:wrap;gap:20px;margin-top:auto;padding-top:22px;font-size:15px;font-weight:700;color:var(--blue)}
.ms-area__links a:hover{color:var(--navy)}

/* professor — extras */
.ms-prof__photo img{object-position:center top}
.ms-prof__org{margin-top:4px;font-size:15.5px;color:var(--body)}
.ms-prof__org span{display:block;color:var(--muted);font-size:14.5px}
.ms-toolbar .ms-yearsel{max-width:300px}
.ms-prof__dl dd .ms-copy{color:var(--blue-2)}
.ms-cinfo__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.ms-cinfo__btns a{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.35);font-size:14px;font-weight:700;color:#fff}
.ms-cinfo__btns a:hover{background:#fff;color:var(--navy)}
.ms-cinfo dd a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* generic sections */
.ms-imgsec figcaption{margin-top:8px;font-size:14px;color:var(--muted);text-align:center}
.ms-sec1+.ms-sec1{padding-top:8px}

/* group latest */
.ms-glatest{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ms-glatest__box{padding:28px 30px;border:1px solid var(--line);border-radius:var(--radius)}
.ms-glatest__box header{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;margin-bottom:6px;border-bottom:2px solid var(--ink)}
.ms-glatest__box h2{font-size:20px;font-weight:800}
.ms-glatest__box header>a{font-size:13px;font-weight:700;color:var(--blue)}
.ms-glatest__box li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.ms-glatest__box li a{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.ms-glatest__box li a:hover{color:var(--blue)}
.ms-glatest__box time{flex:0 0 auto;font-size:13px;color:var(--muted)}
.ms-glatest__empty{padding:24px 0;color:var(--muted);font-size:14px}

@media (max-width:1280px){
  .ms-pgrid--3{grid-template-columns:repeat(3,1fr)}
  .ms-ov{gap:40px}
}
@media (max-width:1024px){
  .ms-pgrid--3,.ms-awards,.ms-glatest{grid-template-columns:repeat(2,1fr)}
  .ms-ov{grid-template-columns:1fr}
  .ms-book{grid-template-columns:180px 1fr;gap:32px;padding:32px}
}
@media (max-width:767px){
  .ms-pgrid--3,.ms-awards,.ms-glatest,.ms-areas{grid-template-columns:1fr}
  .ms-pubs li.ms-pubitem{flex-direction:column;gap:10px;padding-left:0}
  .ms-book{grid-template-columns:1fr;padding:24px}
  .ms-book__cover{max-width:200px}
  .ms-book__title{font-size:22px}
  .ms-pview__part{grid-template-columns:1fr;gap:8px}
  .ms-lec__list li{grid-template-columns:1fr;gap:2px}
  .ms-lcard{flex-direction:column}
  .ms-lcard__img{flex-basis:auto;min-height:140px}
  .ms-ov__values li{min-height:110px;padding:18px}
  .ms-ov__values b{font-size:17px}
  .ms-chips__sep{display:none}
  .ms-toolbar__r{flex-direction:column;align-items:stretch}
  .ms-toolbar .ms-chips,.ms-chips--scroll{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px;padding:0 20px 4px;scrollbar-width:none}
  .ms-toolbar .ms-chips::-webkit-scrollbar{display:none}
  .ms-chip{flex:0 0 auto}
  .ms-toolbar .ms-yearsel{max-width:none;width:100%}
}

/* ---------- general boards ---------- */
.ms-count__reset{margin-left:8px;color:var(--blue);font-weight:700;text-decoration:underline}
.ms-news{border-top:2px solid var(--ink)}
.ms-news__item{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;padding:28px 0;border-bottom:1px solid var(--line)}
.ms-news__item.is-notice{background:linear-gradient(90deg,var(--surface),transparent)}
.ms-news__img{display:block;aspect-ratio:3/2;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-2)}
.ms-news__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.ms-news__item:hover .ms-news__img img{transform:scale(1.05)}
.ms-news__img span{display:flex;height:100%;align-items:center;justify-content:center;text-align:center;font-weight:800;line-height:1.2;color:#B9C6DA;background:linear-gradient(135deg,var(--surface-2),var(--surface))}
.ms-news__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:13.5px;color:var(--muted)}
.ms-news__src::before{content:"·";margin-right:12px}
.ms-news__t{margin-top:10px;font-size:20px;font-weight:700;line-height:1.45}
.ms-news__t a:hover{color:var(--blue)}
.ms-news__ex{margin-top:10px;font-size:15px;color:var(--body);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ms-cbanner{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:48px;padding:40px 44px;border-radius:var(--radius);background:linear-gradient(120deg,var(--navy),var(--blue));color:rgba(255,255,255,.88)}
.ms-cbanner h2{color:#fff;font-size:28px;font-weight:800}
.ms-cbanner p{margin-top:10px;font-size:15.5px}
.ms-ggrid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ms-gcard__img video{width:100%;height:100%;object-fit:cover;display:block}
.ms-gcard__img--wide{aspect-ratio:16/9}
.ms-vfeat{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:center;margin-bottom:56px;padding:32px;border-radius:var(--radius);background:var(--navy);color:rgba(255,255,255,.85)}
.ms-vfeat h2{margin-top:4px;font-size:26px;font-weight:800;line-height:1.35;color:#fff}
.ms-vfeat h2 a:hover{color:var(--cyan)}
.ms-vfeat p{margin-top:12px;font-size:15px}
.ms-vfeat time{display:block;margin-top:16px;font-size:13px;color:rgba(255,255,255,.6)}
.ms-pager-g{margin-top:56px}
.ms-pager-g .pg_wrap{float:none;display:flex;justify-content:center;margin:0}
.ms-pager-g .pg{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.ms-pager-g .pg a,.ms-pager-g .pg strong{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:0;border-radius:999px;background:none;font-size:14px;font-weight:700;color:var(--ink);text-decoration:none}
.ms-pager-g .pg a:hover{background:var(--surface);color:var(--blue)}
.ms-pager-g .pg strong{background:var(--blue);color:#fff}
.ms-pager-g .pg_start,.ms-pager-g .pg_end,.ms-pager-g .pg_prev,.ms-pager-g .pg_next{font-size:13px!important;color:var(--muted)!important}
.ms-view__gallery{justify-items:center}
.ms-view__gallery img{width:auto!important;max-width:100%!important;max-height:760px;border-radius:var(--radius-sm)}
.ms-view__player{display:block;width:100%;margin-bottom:32px;border-radius:var(--radius);background:#000}
.ms-view__links{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.ms-view__content iframe{max-width:100%}
.ms-view__nav span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}
.ms-writehelp{display:flex;flex-wrap:wrap;gap:6px 16px;max-width:1100px;margin:0 auto 28px;padding:18px 22px;border-radius:var(--radius-sm);background:#FFF8E1;border:1px solid #F5DE9C;font-size:14.5px;line-height:1.6;color:#5B4A12}
.ms-writehelp b{color:#3D3000}
.ms-adminlist{margin-top:48px;padding:24px 28px;border:2px dashed #F5DE9C;border-radius:var(--radius);background:#FFFCF2}
.ms-adminlist h3{font-size:15px;font-weight:800;color:#8A6D00;margin-bottom:12px}
.ms-adminlist li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #F1E6C2;font-size:14.5px}
.ms-adminlist li a{color:var(--blue);font-weight:700}
.ms-adminlist .ms-btn{margin-top:16px}
.ms-comments{max-width:1100px;margin:40px auto 0}
@media (max-width:1024px){
  .ms-vfeat{grid-template-columns:1fr}
  .ms-ggrid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .ms-news__item{grid-template-columns:110px minmax(0,1fr);gap:16px;padding:20px 0}
  .ms-news__t{font-size:16px;margin-top:6px}
  .ms-news__ex{display:none}
  .ms-cbanner{flex-direction:column;align-items:flex-start;padding:28px 24px}
  .ms-cbanner h2{font-size:22px}
  .ms-ggrid,.ms-ggrid--3{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .ms-gcard__body{padding:12px 12px 14px}
  .ms-gcard__t{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ms-vfeat{padding:16px;gap:20px}
  .ms-vfeat h2{font-size:20px}
}

/* grid children never grow past their track (long e-mails / URLs) */
.ms-pgrid>*,.ms-people>*,.ms-ggrid>*,.ms-awards>*,.ms-related>*,.ms-cols>*,.ms-glatest>*,.ms-areas>*,.ms-cv>*,.ms-videos__grid>*,.ms-contact>*,.ms-prof>*,.ms-book>*,.ms-pub-year>*,.ms-lec__sem>*{min-width:0}

/* ---------- gnuboard base classes (root skins: write / comment / member) ----------
   default.css 를 통째로 불러오지 않고, 기본 스킨이 쓰는 클래스만 새 디자인으로 정의 */
.frm_input,.ms-content select:not(.ms-yearsel),.mbskin select{height:44px;padding:0 14px;border:1px solid #CBD5E1;border-radius:8px;background:#fff;font-size:15px;color:var(--ink);box-shadow:none}
.frm_input:focus,.ms-content textarea:focus,.mbskin textarea:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(3,54,140,.12)}
.ms-content textarea,.mbskin textarea{width:100%;min-height:220px;padding:14px;border:1px solid #CBD5E1;border-radius:8px;font-size:15px;line-height:1.7}
.full_input{width:100%}
.half_input{width:49%}
.frm_file{font-size:14px}
.required,.frm_input.required{background-image:none}
.btn,.btn_b01,.btn_b02,.btn_b03,.btn_admin,.btn_cancel,.btn_frmline,.btn_close,.btn_confirm{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;padding:0 20px;border:1px solid #CBD5E1;border-radius:999px;background:#fff;font-size:14.5px;font-weight:700;color:var(--ink);cursor:pointer;text-decoration:none;vertical-align:middle;line-height:1}
.btn:hover,.btn_b01:hover,.btn_b02:hover,.btn_cancel:hover,.btn_frmline:hover{border-color:var(--blue);color:var(--blue)}
.btn_submit{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 32px;border:0;border-radius:999px;background:var(--blue);color:#fff!important;font-size:15px;font-weight:800;cursor:pointer}
.btn_submit:hover{background:var(--navy)}
.btn_frmline{height:44px;border-radius:8px}
.btn_confirm{display:flex;justify-content:center;gap:10px;height:auto;padding:0;border:0;background:none}
.chk_box{position:relative}
.chk_box input[type=checkbox]{width:18px;height:18px;margin:0 6px 0 0;vertical-align:middle;accent-color:var(--blue)}
.chk_box label span{display:none}
.tbl_wrap table{width:100%;border-collapse:collapse}
.tbl_frm01 th,.tbl_frm01 td,.tbl_head01 th,.tbl_head01 td,.tbl_head02 th,.tbl_head02 td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:14.5px}
.tbl_head01 thead th,.tbl_head02 thead th{background:var(--surface);color:var(--ink);font-weight:700}
.empty_table,.empty_li{padding:60px 0;text-align:center;color:var(--muted)}
.tooltip{display:none}
.win_desc{padding:12px 16px;border-radius:8px;background:var(--surface);font-size:14px}
.ms-content #bo_w .write_div{margin:10px 0}
.ms-content #bo_w .bo_w_tit{position:relative}
.ms-content #bo_w .bo_w_tit .frm_input{width:100%;height:52px;font-size:17px;font-weight:600}
.ms-content #bo_w #autosave_wrapper{display:flex;gap:10px;align-items:center}
.ms-content #bo_w .bo_w_link .frm_input,.ms-content #bo_w .bo_w_flie .file_wr{width:100%}
.ms-content .btn_confirm .btn_cancel{height:48px;padding:0 28px}
.ms-content #bo_w .btn_confirm{margin-top:28px}
.ms-content .lb_icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted)}
.ms-content #bo_w .bo_w_link{position:relative}
.ms-content #bo_w .bo_w_link .frm_input{padding-left:40px}
.ms-content #bo_w .bo_w_tit #btn_autosave{position:static;flex:none;height:52px;padding:0 18px}
.ms-content #bo_w .bo_w_flie .file_wr{display:flex;align-items:center;flex-wrap:wrap;gap:6px;height:auto;min-height:50px;padding:8px 14px 8px 48px;border:1px solid #CBD5E1;border-radius:8px}
.ms-content #bo_w .bo_w_flie .lb_icon{top:25px;left:16px;width:auto;height:auto;line-height:1;transform:translateY(-50%);font-size:16px}
.ms-content #bo_w .bo_w_flie .frm_file{padding-left:0;margin-top:0}
.ms-content #bo_w .bo_w_flie .frm_input{width:100%;margin:4px 0 0}
.ms-content #bo_w .bo_w_flie .file_del{position:static;margin-left:auto}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* member pages (login / register) */
body>.mbskin,body>#mb_login{margin-top:80px}
.mbskin:has(.mbskin_box){border:0;padding:0;background:none}
.mbskin{max-width:480px;margin:0 auto;padding:40px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.mbskin h1,.mbskin .mbskin_box h1{font-size:26px;font-weight:800;margin-bottom:20px}
.mbskin .frm_input{width:100%;margin-bottom:10px}
.mbskin .btn_submit{width:100%}
.register{max-width:860px;margin:0 auto}

/* write / member form harmonisation (gnuboard default skins) */
.ms-content #bo_w,.ms-content .mbskin,.ms-content #bo_v{max-width:1100px;margin:0 auto}

/* =====================================================================
   Responsive — Tablet 768 / Mobile 375
   ===================================================================== */
@media (max-width:1280px){
  .ms-hd__in{padding:0 32px}
  .ms-logo{min-width:0;margin-right:24px}
  .ms-logo__tag{display:none}
  .ms-content,.ms-sv__in,.ms-lnb__in,.ms-hero__in,.ms-hero__ctl,.ms-banner__in{padding-left:40px;padding-right:40px}
  .ms-welcome{grid-template-columns:1fr 1fr;gap:48px}
  .ms-updates{grid-template-columns:1fr 1fr;gap:40px}
  .ms-pi__card{grid-template-columns:150px minmax(0,1fr);gap:20px}
  .ms-pi__hl-i{grid-template-columns:1fr;gap:0}
  .ms-pgrid,.ms-people,.ms-ggrid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1366px){
  .ms-logo{min-width:0;margin-right:24px}
  .ms-util{gap:12px}
  .ms-gnb__link{padding:0 8px;font-size:16px}
  .ms-gnb__link::after{left:8px;right:8px}
  .ms-gnb__sub a{font-size:14px}
}
@media (max-width:1180px){
  /* 좁은 화면: INTRANET·LOGIN 글자 링크는 전체메뉴(☰) 안에 있으므로 숨기고 메뉴 간격을 확보 */
  .ms-util>a{display:none}
  .ms-util>a.ms-util__admin{display:inline-block}
}
@media (max-width:1024px){
  :root{--hd-h:68px}
  .ms-gnb,.ms-logo__tag{display:none}
  .ms-hd__in{justify-content:space-between}
  .ms-logo__name{font-size:22px}
  .ms-logo__img{height:38px}
  .ms-util>a{display:none}
  .ms-util>a.ms-util__admin{display:inline-block}
  .ms-allmenu__grid{grid-template-columns:repeat(3,1fr)}
  .ms-hero__title{font-size:54px}
  .ms-focus__grid{grid-template-columns:repeat(2,1fr)}
  .ms-welcome,.ms-updates{grid-template-columns:1fr}
  .ms-welcome__subj .ms-subjects{justify-content:flex-start}
  .ms-pi__card{grid-template-columns:180px minmax(0,1fr);gap:28px}
  .ms-pi__hl-i{grid-template-columns:118px minmax(0,1fr);gap:10px}
  .ms-greet{grid-template-columns:1fr;gap:16px}
  .ms-carousel__track{grid-auto-columns:calc((100% - 24px)/2)}
  .ms-pgrid,.ms-people,.ms-ggrid,.ms-videos__grid{grid-template-columns:repeat(2,1fr)}
  .ms-cv{grid-template-columns:1fr}
  .ms-prof{grid-template-columns:220px 1fr;gap:32px;padding:32px}
  .ms-contact{grid-template-columns:1fr}
  .ms-related{grid-template-columns:repeat(2,1fr)}
  .ms-ft__in{flex-direction:column}
  .ms-ft__side{flex:0 0 auto}
  .ms-ft__bottom{padding-left:40px;padding-right:40px}
  .ms-cols--3,.ms-cols--4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
  body{font-size:15px}
  .ms-hd__in{padding:0 20px}
  .ms-content,.ms-sv__in,.ms-lnb__in,.ms-hero__in,.ms-hero__ctl,.ms-banner__in,.ms-ft__in{padding-left:20px;padding-right:20px}
  .ms-wrap{padding:0 20px}
  .ms-content{padding-top:40px;padding-bottom:80px}
  .ms-sv{height:240px}
  .ms-sv__in{padding-top:64px}
  .ms-sv__title{font-size:34px}
  .ms-sv__desc{font-size:15px}
  .ms-lnb__in{gap:28px}
  .ms-lnb__tab{height:54px;font-size:15px}
  .ms-allmenu__grid{grid-template-columns:repeat(2,1fr);gap:28px 20px}
  .ms-h2,.ms-welcome .ms-h2,.ms-join__title,.ms-banner__title{font-size:28px}
  .ms-sec{padding:72px 0}
  .ms-sec__head{flex-direction:column;align-items:flex-start;margin-bottom:28px}
  .ms-hero{min-height:600px}
  .ms-hero__title{font-size:38px}
  .ms-hero__text{font-size:16px;margin-top:20px}
  .ms-hero__eyebrow{font-size:13px;margin-bottom:16px}
  .ms-hero__ctl{bottom:40px}
  .ms-hero__scroll{display:none}
  .ms-focus__grid{grid-template-columns:1fr}
  .ms-fcard{height:220px}
  .ms-subjects a{gap:16px;padding:0 18px;font-size:15px}
  .ms-welcome__text{padding-left:16px;font-size:15.5px}
  .ms-pi__card{grid-template-columns:110px minmax(0,1fr);gap:16px;padding:16px;align-items:start}
  .ms-pi__name{font-size:19px}
  .ms-pi__hl-i{grid-template-columns:1fr;gap:0}
  .ms-strip+.ms-strip{margin-top:36px}
  .ms-strip__t{font-size:18px}
  .ms-greet{margin-top:48px;padding-top:36px}
  .ms-greet__text{padding-left:16px;font-size:15.5px}
  .ms-greet__sign{padding-left:16px}
  .ms-banner{height:auto;padding:48px 0}
  .ms-banner__in{flex-direction:column;align-items:flex-start;gap:16px}
  .ms-banner__more{margin:0}
  .ms-carousel__track{grid-auto-columns:82%}
  .ms-join__in{flex-direction:column;align-items:flex-start;gap:24px}
  .ms-pgrid,.ms-people,.ms-ggrid,.ms-videos__grid,.ms-related,.ms-lec-intro,.ms-cols--2,.ms-cols--3,.ms-cols--4{grid-template-columns:1fr}
  .ms-people{grid-template-columns:repeat(2,1fr);gap:14px}
  .ms-person__body{padding:14px}
  .ms-person__name{font-size:16px}
  .ms-person__ko{display:block;margin:2px 0 0}
  .ms-person__aff{display:none}
  .ms-prof{grid-template-columns:1fr;padding:24px}
  .ms-prof__photo{max-width:240px}
  .ms-prof__name,.ms-prof__name small{font-size:26px}
  .ms-prof__name small{display:block;margin:4px 0 0}
  .ms-tl li{grid-template-columns:1fr;gap:0}
  .ms-pub-year,.ms-lec__sem{grid-template-columns:1fr;gap:12px}
  .ms-pubs li{padding-left:34px}
  .ms-blist__row{grid-template-columns:1fr;gap:4px;padding:16px 4px}
  .ms-blist__no{display:none}
  .ms-blist__d{text-align:left}
  .ms-view__title{font-size:24px}
  .ms-search{width:100%}
  .ms-toolbar{flex-direction:column;align-items:stretch}
  .ms-ft__bottom{flex-direction:column;align-items:flex-start;padding:20px}
  .ms-ft__policy{flex-wrap:wrap}
  .ms-editfab{left:12px;bottom:12px;height:46px;padding:0 16px;font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* gnuboard popup layer (newwin) */
#hd_pop{z-index:400;position:relative;width:100%;max-width:1440px;margin:0 auto;height:0}
#hd_pop h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.hd_pops{position:absolute;z-index:400;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 20px 50px rgba(7,29,64,.3)}
.hd_pops img{max-width:100%}
.hd_pops_con{overflow:auto}
.hd_pops_footer{display:flex;justify-content:space-between;background:var(--navy);color:#fff;font-size:13px}
.hd_pops_footer button{padding:10px 14px;color:#fff}
.hd_pops_footer .hd_pops_close{background:var(--blue)}
@media (max-width:767px){.hd_pops{left:10px!important;right:10px;top:80px!important}.hd_pops_con{width:auto!important;height:auto!important;max-height:70vh}}
/* =====================================================================
   Auth — 로그인 / 정보찾기 / 가입 결과
   ===================================================================== */
.ms-auth{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:100vh;min-height:100dvh;background:#fff}
.ms-auth__visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:48px 56px;color:#fff;overflow:hidden;background:var(--navy) var(--auth-bg) center/cover no-repeat;isolation:isolate}
.ms-auth__visual::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(160deg,rgba(7,29,64,.55) 0%,rgba(7,29,64,.78) 55%,rgba(7,29,64,.96) 100%)}
.ms-auth__visual::after{content:"";position:absolute;right:-120px;bottom:-120px;z-index:-1;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(0,194,255,.35),rgba(107,77,255,0) 70%)}
.ms-auth__logo img{height:56px;width:auto}
.ms-auth__eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--cyan);margin-bottom:16px}
.ms-auth__headline{font-size:clamp(34px,3.4vw,52px);font-weight:800;line-height:1.12;letter-spacing:-.02em;color:#fff}
.ms-auth__sub{margin-top:20px;font-size:16px;line-height:1.7;color:rgba(255,255,255,.8)}
.ms-auth__foot{font-size:13px;color:rgba(255,255,255,.5)}
.ms-auth__panel{display:flex;align-items:center;justify-content:center;padding:48px 24px;background:linear-gradient(180deg,#fff 0%,var(--surface) 100%)}
.ms-auth__box{width:100%;max-width:420px}
.ms-auth__back{display:inline-block;font-size:14px;color:var(--muted);margin-bottom:40px}
.ms-auth__back:hover{color:var(--blue)}
.ms-auth__logo-m{display:none}
.ms-auth__title{font-size:34px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.ms-auth__lead{margin:8px 0 32px;color:var(--muted);font-size:15px}
.ms-auth__form{display:grid;gap:18px}
.ms-field label{display:block;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--ink)}
.ms-field input[type=text],.ms-field input[type=password],.ms-field input[type=email]{display:block;width:100%;height:52px;padding:0 16px;border:1.5px solid #CBD5E1;border-radius:12px;background:#fff;font-size:16px;transition:border-color .15s,box-shadow .15s}
.ms-field input:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px rgba(3,54,140,.12)}
.ms-field__pw{position:relative}
.ms-field__pw input{padding-right:78px!important}
.ms-field__eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);height:36px;padding:0 12px;border-radius:8px;font-size:13px;font-weight:700;color:var(--blue)}
.ms-field__eye:hover{background:var(--surface-2)}
.ms-field__caps{margin-top:6px;font-size:13px;color:#C2410C}
.ms-auth__row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.ms-check{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:var(--body)}
.ms-check input{width:18px;height:18px;accent-color:var(--blue);margin:0}
.ms-auth__find{color:var(--blue);font-weight:600}
.ms-auth__find:hover{text-decoration:underline}
.ms-auth__submit{width:100%;height:54px;margin-top:6px;font-size:16px;box-shadow:0 10px 24px rgba(3,54,140,.22)}
.ms-auth__join{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.ms-auth__join a{font-weight:700;color:var(--blue)}
.ms-auth__note{margin-top:14px;padding:12px 14px;border-radius:10px;background:var(--surface-2);font-size:13px;color:var(--body);text-align:center}
.ms-auth__note b{color:var(--blue)}
/* 로그인 이메일 인증 화면 */
.ms-auth__mail{color:var(--ink);word-break:break-all}
.ms-auth__msg{margin:-12px 0 20px;padding:12px 14px;border-radius:10px;background:#FFF1F0;color:#B42318;font-size:14px;line-height:1.5}
.ms-auth__msg.is-ok{background:#E9F7EF;color:#137A45}
.ms-field input.ms-code-input{height:60px;font-size:28px;font-weight:700;letter-spacing:.45em;text-indent:.45em;text-align:center;font-variant-numeric:tabular-nums}
.ms-field input.ms-code-input::placeholder{color:#CBD5E1;letter-spacing:.45em}
.ms-field__hint{margin-top:8px;font-size:13px;line-height:1.5;color:var(--muted)}
.ms-field__hint b{color:var(--blue)}
.ms-auth__alt{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.ms-auth__link{padding:0;border:0;background:none;font-size:14px;font-weight:700;color:var(--blue);cursor:pointer}
.ms-auth__link:hover{text-decoration:underline}
.ms-auth__link[disabled]{color:var(--muted);cursor:default;text-decoration:none}
.ms-auth__link--muted{color:var(--muted);font-weight:600}
/* 회원가입 E-mail 인증번호 */
#fregisterform .form_01 div.ms-ma{margin:10px 0 0}
#fregisterform .ms-ma .ms-ma__row{display:flex;gap:8px;margin:0}
#fregisterform .ms-ma .ms-ma__code{flex:1;min-width:0;width:auto;margin:0;letter-spacing:.2em;font-weight:700}
.ms-ma__btn{flex:none;height:44px;padding:0 16px;border:1px solid var(--blue);border-radius:8px;background:#fff;color:var(--blue);font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
.ms-ma__btn--send{background:var(--blue);color:#fff}
.ms-ma__btn:hover:not([disabled]){background:var(--navy);border-color:var(--navy);color:#fff}
.ms-ma__btn[disabled]{border-color:#CBD5E1;background:#F1F5F9;color:#94A3B8;cursor:default}
.ms-ma__msg{margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.ms-ma__msg.is-ok{color:#137A45}
.ms-ma__msg.is-err{color:#B42318}
.ms-ma.is-done .ms-ma__msg{font-weight:700}

/* 정보찾기 팝업 */
.ms-find{max-width:440px;margin:0 auto;padding:32px 24px 28px}
.ms-find__logo{display:block;height:40px;width:auto;margin-bottom:22px}
.ms-find__title{font-size:24px;font-weight:800;color:var(--ink)}
.ms-find__lead{margin:8px 0 22px;font-size:14px;color:var(--muted);line-height:1.65}
.ms-find__lead b{color:var(--ink)}
.ms-find__form{display:grid;gap:16px}
.ms-find__btns{display:grid;grid-template-columns:2fr 1fr;gap:8px}
.ms-find__btns .ms-btn{height:50px}
.ms-find__note{margin-top:18px;font-size:13px;color:var(--muted)}

/* 자동등록방지 (kcaptcha) */
#captcha{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;border:0;padding:0;margin:0}
#captcha legend{position:static;width:auto;height:auto;clip:auto;overflow:visible;flex:0 0 100%;margin-bottom:2px;font-size:14px;font-weight:700;color:var(--ink)}
#captcha #captcha_img{height:48px;width:auto;max-width:120px;border:1.5px solid #CBD5E1;border-radius:10px;background:#fff}
#captcha #captcha_key{width:92px;height:48px;padding:0 12px;border:1.5px solid #CBD5E1;border-radius:10px;font-size:18px;font-weight:700;letter-spacing:.2em;text-align:center}
#captcha #captcha_mp3,#captcha #captcha_reload{height:48px;padding:0 9px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;color:var(--body);white-space:nowrap}
#captcha #captcha_mp3:hover,#captcha #captcha_reload:hover{border-color:var(--blue);color:var(--blue)}
#captcha #captcha_mp3 span,#captcha #captcha_reload span{display:none}
#captcha #captcha_info{flex:0 0 100%;font-size:12px;color:var(--muted)}
#captcha audio{display:none}

/* 가입 결과 / 가입 절차 */
.ms-regdone{max-width:640px;margin:0 auto;padding:48px 40px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow);text-align:center}
.ms-regdone__ico{display:inline-grid;place-items:center;width:72px;height:72px;margin-bottom:18px;border-radius:50%;background:var(--surface-2);font-size:32px;color:var(--blue)}
.ms-regdone__title{font-size:28px;font-weight:800}
.ms-regdone__lead{margin-top:12px;font-size:16px;color:var(--body)}
.ms-regdone__steps{display:flex;justify-content:center;gap:0;margin:28px auto 4px;max-width:420px}
.ms-regdone__steps li{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.ms-regdone__steps li+li::before{content:"";position:absolute;top:16px;right:50%;width:100%;height:2px;background:var(--line);z-index:0}
.ms-regdone__steps b{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;border:2px solid var(--line);font-size:14px;color:var(--muted)}
.ms-regdone__steps .is-done b{background:var(--blue);border-color:var(--blue);color:#fff}
.ms-regdone__steps .is-done+li::before,.ms-regdone__steps .is-now::before{background:var(--blue)}
.ms-regdone__steps .is-now b{border-color:var(--blue);color:var(--blue);box-shadow:0 0 0 5px rgba(3,54,140,.1)}
.ms-regdone__steps .is-now span{color:var(--blue);font-weight:700}
.ms-regdone__steps--top{margin:0 auto 20px}
.ms-regdone__info{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;max-width:360px;margin:26px auto 0;padding:18px 22px;border-radius:12px;background:var(--surface);text-align:left;font-size:15px}
.ms-regdone__info dt{color:var(--muted)}
.ms-regdone__info dd{font-weight:700;color:var(--ink);word-break:break-all}
.ms-regdone__txt{margin-top:18px;font-size:14px;color:var(--muted)}
.ms-regdone__btns{display:flex;justify-content:center;gap:10px;margin-top:28px}
.ms-reg-note{margin:0 0 18px;padding:14px 18px;border-radius:12px;background:var(--surface-2);font-size:15px;color:var(--body);text-align:center}
.ms-reg-note b{color:var(--blue)}

@media (max-width:900px){
  .ms-auth{grid-template-columns:1fr}
  .ms-auth__visual{display:none}
  .ms-auth__panel{align-items:flex-start;padding:28px 20px 48px}
  .ms-auth__back{margin-bottom:24px}
  .ms-auth__logo-m{display:block;margin-bottom:28px}
  .ms-auth__logo-m img{height:48px;width:auto}
  .ms-auth__title{font-size:28px}
  .ms-regdone{padding:36px 20px}
}
/* SmartEditor 단축키 버튼 */
.cke_sc{margin:0 0 6px;text-align:right}
.btn_cke_sc{height:30px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12.5px;color:var(--muted)}
.btn_cke_sc:hover{border-color:var(--blue);color:var(--blue)}
.cke_sc_def{margin:0 0 10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:13px}
