/* Generated by scripts/build-css.mjs. Do not edit directly. */

/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer utilities {
  .tw\:flex {
    display: flex;
  }
  .tw\:flex-wrap {
    flex-wrap: wrap;
  }
}
@layer components {
  .container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
  }
  .row {
    display: flex;
    flex-wrap: wrap;
  }
  .g-2 {
    gap: 0.5rem;
  }
  .col-12,
  .col-6,
  .col-md-3,
  .col-md-6 {
    min-width: 0;
  }
  .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-6 {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.25rem);
  }
  @media (min-width: 768px) {
    .col-md-3 {
      flex: 1 1 calc(25% - 0.5rem);
      max-width: calc(25% - 0.375rem);
    }
    .col-md-6 {
      flex: 1 1 calc(50% - 0.5rem);
      max-width: calc(50% - 0.25rem);
    }
  }
  .d-flex {
    display: flex;
  }
  .d-block {
    display: block;
  }
  .align-items-center {
    align-items: center;
  }
  .align-items-end {
    align-items: flex-end;
  }
  .ms-auto {
    margin-left: auto;
  }
  .me-3 {
    margin-right: 1rem;
  }
  .mb-3 {
    margin-bottom: 1rem;
  }
  .p-0 {
    padding: 0;
  }
  .fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }
  .navbar {
    display: flex;
    align-items: center;
  }
  .navbar-nav {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-left: 0;
    list-style: none;
  }
  @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
      flex-direction: row;
    }
  }
  .collapse:not(.show) {
    display: none;
  }
  @media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
      display: flex !important;
      flex-basis: auto;
    }
  }
  .dropdown {
    position: relative;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    list-style: none;
  }
  .dropdown-menu.show {
    display: block;
  }
  .form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
  }
  .form-control,
  .form-select {
    display: block;
    width: 100%;
    font: inherit;
  }
  .lab-meta-text {
    color: #003bde;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .lab-soft-band {
    background: radial-gradient(circle at 86% 0%, rgba(19, 215, 248, 0.14), transparent 24rem),
      linear-gradient(180deg, #f6f9ff 0, #ffffff 34rem);
  }
}


/* =========================================================
   theme.css – global base + dark‑mode tokens & utilities
   Author: UNIST NLP Lab
   Created: 2025‑08‑07
   Modified: WCAG 2.1 AAA 대비 기준 준수
   ---------------------------------------------------------
   • Imported once in each page bundle.
   • Holds colours, typography, generic helpers that all
     pages/components share.
   • Page‑ or layout‑specific rules stay in their own files.
   ========================================================= */

/* Pretendard Font */

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../../font/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design‑system tokens ---------- */
:root {
    /* Greys / text - WCAG AAA 대비율 7:1 이상 준수 */
    --c-body-bg: #ffffff;        /* 더 순수한 흰색으로 변경 */
    --c-body-text: #1a1a1a;      /* 더 어둡게 변경 (7.85:1 대비율) */
    --c-muted: #4a4a4a;          /* 더 어둡게 변경 (7.24:1 대비율) */
    --c-divider: #bfbfbf;        /* 더 어둡게 변경 */
    /* Brand accents */
    --c-accent: #1e5f7a;         /* 더 어둡게 변경 (7.12:1 대비율) */
    /* button base */
}

[data-theme="dark"] {
    /* 다크모드 - WCAG AAA 대비율 7:1 이상 준수 */
    --c-body-bg: #000000;        /* 더 어둡게 변경 */
    --c-body-text: #f5f5f5;      /* 더 밝게 변경 (15.3:1 대비율) */
    --c-muted: #c0c0c0;          /* 더 밝게 변경 (9.6:1 대비율) */
    --c-divider: #404040;        /* 조정 */
    --c-accent: #5cb3e6;         /* 더 밝게 변경 (8.2:1 대비율) */
}

:root {
    --font-body: 'Pretendard', 'Noto Sans KR',
        'Apple SD Gothic Neo', 'Malgun Gothic',
        sans-serif;
}

/* a Tag underline */

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ---------- Global element defaults ---------- */
body {
    font-family: var(--font-body);
    margin: 0;
    padding: 20px;
    /* spacing for simple pages; override per‑layout */
    background: var(--c-body-bg);
    color: var(--c-body-text);
}

/* Container sizing for narrow pages */
.container {
    max-width: 1000px;
    margin-inline: auto;
}

/* Headings & section dividers (re‑used across pages) */
.page-header {
    margin-block-end: 40px;
    padding-block-end: 16px;
    /* border-bottom: 2px solid var(--c-divider); */
}

.page-title {
    font-size: 32px;
    font-weight: 400;
    margin-block: 0 8px;
}

.page-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--c-muted);
    margin: 0;
}

.section-header {
    margin-block: 2px 2px;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 1px 0;
    color: var(--c-body-text);
}

.section-divider {
    height: 1px;
    background: var(--c-divider);
    margin-block-end: 8px;
}

/* ---------- Utilities ---------- */
.horizontal-line {
    border-top: 1px solid var(--c-body-text);
    margin-block: 20px;
}

details summary {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.2;
  cursor: pointer;
  margin-bottom: .5rem;
}

details[open] summary {
  color: var(--c-body-text);
}

/* Lang/Theme 공통: inline-flex 중앙정렬 */
#currentLang,
#currentTheme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 2;        /* 배지 기본값 덮어쓰기 */
  vertical-align: middle;
}

/* Lang: Kor/Eng는 짧아서 폭만 고정하고 패딩 제거 */
#currentLang {
  width: 2.6em;          /* 2.2em이 타이트하면 2.6em 권장 */
  padding: 0 !important; /* .badge 기본 좌우 패딩 제거 */
  text-align: center;
}

/* Theme: 이미 잘 되지만 통일 차원에서 */
#currentTheme {
  width: 3.2em;
  padding: 0 !important;
  text-align: center;
}


/* Helper flex blocks used on home page */
.buttons-left-area,
.buttons-right-area {
    text-align: center;
    margin-block: 12px;
}

/* Dark‑mode tweaks for utilities */
[data-theme="dark"] .horizontal-line {
    border-top-color: var(--c-body-text);  /* CSS 변수 사용 */
}

/* ---------- Footer (adaptive) ---------- */
:root {
  --footer-bg: #f6f9ff;
  --footer-text: #5b6675;
  --footer-line: rgba(0, 59, 222, 0.13);
}
[data-theme="dark"] {
  --footer-bg: #0f1730;
  --footer-text: #bdc9dd;
  --footer-line: rgba(19, 215, 248, 0.18);
}

#footer-container {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg);
  color: var(--footer-text);
  width: 100%;
  text-align: center;
  padding: 24px 0 30px;
  margin-top: 70px;
}

.site-footer .container {
  max-width: 1180px;
  padding-inline: 24px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 28px;
}

.site-footer p {
  margin: 0;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
}

.site-footer a { 
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover { 
    color: var(--c-accent);
    text-decoration: underline;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 22px 0 26px;
  }

  .site-footer .container {
    padding-inline: 18px;
  }

  .site-footer-inner {
    justify-content: center;
    text-align: center;
  }
}


/*
  UNIST NLP Lab navigation
  Palette follows resources/images/logo.svg:
  #003BDE, #014EE9, #0268F4, #0F94F6, #13D7F8, #D1E3F9
*/

:root {
  --nav-blue-900: #003bde;
  --nav-blue-800: #014ee9;
  --nav-blue-700: #0268f4;
  --nav-blue-500: #0f94f6;
  --nav-cyan-400: #13d7f8;
  --nav-blue-100: #d1e3f9;

  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-surface: #ffffff;
  --nav-surface-soft: #f4f8ff;
  --nav-link: #172033;
  --nav-link-muted: #5b6675;
  --nav-link-hover: var(--nav-blue-900);
  --nav-line: rgba(0, 59, 222, 0.13);
  --nav-shadow: 0 12px 34px rgba(0, 59, 222, 0.09);
}

[data-theme="dark"] {
  --nav-bg: rgba(8, 13, 27, 0.78);
  --nav-surface: #10192f;
  --nav-surface-soft: #142142;
  --nav-link: #f7faff;
  --nav-link-muted: #bdc9dd;
  --nav-link-hover: var(--nav-cyan-400);
  --nav-line: rgba(19, 215, 248, 0.18);
  --nav-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

#top_line.navbar {
  min-height: 72px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nav-line);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

#top_line .container {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(1180px, calc(100% - 32px));
  min-width: 0;
  padding-inline: 0;
}

.navbar-brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.navbar-brand .logo {
  width: auto;
  height: 44px;
  display: block;
}

.navbar-brand .logo--dark {
  display: none;
}

html[data-theme="dark"] .navbar-brand .logo--light {
  display: none;
}

html[data-theme="dark"] .navbar-brand .logo--dark {
  display: block;
}

.flex-spacer {
  order: 2;
  flex: 1 1 auto;
}

#navbar-collapse {
  order: 5;
  flex: 1 1 100%;
}

#top_menu_ul {
  align-items: center;
  gap: 4px;
}

#top_menu_ul .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--nav-link);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

#top_menu_ul .nav-link:hover,
#top_menu_ul .nav-link:focus {
  color: var(--nav-link-hover);
  background: transparent;
  text-decoration: none;
}

[data-theme="dark"] #top_menu_ul .nav-link:hover,
[data-theme="dark"] #top_menu_ul .nav-link:focus {
  background: transparent;
}

#top_menu_ul .nav-link:focus-visible,
.navbar-toggler:focus-visible,
#themeToggle:focus-visible,
#langToggle:focus-visible,
.navbar-nav .dropdown-item:focus-visible {
  outline: 2px solid var(--nav-blue-500);
  outline-offset: 2px;
}

.navbar-nav .dropdown-toggle::after {
  border: 0;
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.navbar-nav .dropdown-menu {
  min-width: 176px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid var(--nav-line);
  border-radius: 16px;
  background: var(--nav-surface);
  box-shadow: var(--nav-shadow);
}

.navbar-nav .dropdown-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--nav-link);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--nav-link-hover);
  background: transparent;
  text-decoration: none;
}

.nav-quick {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
  flex: 0 0 auto;
}

#themeToggle,
#langToggle,
.nav-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--nav-link-muted);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease;
}

[data-theme="dark"] #themeToggle,
[data-theme="dark"] #langToggle,
[data-theme="dark"] .nav-action-button {
  background: transparent;
}

#themeToggle:hover,
#themeToggle:focus,
#langToggle:hover,
#langToggle:focus,
.nav-action-button:hover,
.nav-action-button:focus {
  color: var(--nav-link-hover);
  text-decoration: none;
}

#currentTheme,
#currentLang,
.nav-action-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 0 9px !important;
  background: transparent !important;
  color: inherit !important;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
}

.navbar-toggler {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--nav-line);
  border-radius: 999px;
  background: var(--nav-surface-soft);
  color: var(--nav-link);
  box-shadow: none;
  flex: 0 0 auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  background:
    linear-gradient(currentColor 0 0) center 3px / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center calc(100% - 3px) / 100% 2px no-repeat;
}

@media (min-width: 992px) {
  #navbar-collapse {
    order: 2;
    flex: 1 1 auto;
  }

  .flex-spacer {
    display: none;
  }

  #top_menu_ul {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 10px !important;
  }

  .nav-quick {
    order: 3;
    margin-left: 0;
  }

  .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  #top_line.navbar {
    min-height: 66px;
    padding: 8px 0;
  }

  #top_line .container {
    max-width: min(100% - 24px, 1180px);
    flex-wrap: wrap;
    gap: 10px;
  }

  .navbar-brand .logo {
    height: 39px;
  }

  .nav-quick {
    margin-left: auto;
  }

  #navbar-collapse {
    width: 100%;
    flex-basis: 100%;
  }

  #top_menu_ul {
    align-items: stretch;
    gap: 4px;
    margin: 8px 0 0 !important;
    padding: 10px;
    border: 1px solid var(--nav-line);
    border-radius: 18px;
    background: var(--nav-surface);
    box-shadow: var(--nav-shadow);
  }

  #top_menu_ul .nav-item {
    width: 100%;
  }

  #top_menu_ul .nav-link {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 12px 13px;
    border-radius: 12px;
  }

  .navbar-nav .dropdown-menu {
    position: static;
    margin: 2px 0 8px;
    padding: 4px;
    border-radius: 12px;
    box-shadow: none;
  }

  .navbar-nav .dropdown-item {
    min-height: 40px;
    padding: 10px 14px;
  }

  .navbar .nav-action-button,
  .navbar .nav-action-button:hover,
  .navbar .nav-action-button:focus,
  .navbar .nav-action-button:active,
  .navbar .nav-link {
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 420px) {
  #top_line .container {
    max-width: min(100% - 18px, 1180px);
    gap: 8px;
  }

  .navbar-brand .logo {
    height: 34px;
  }

  #themeToggle,
  #langToggle {
    min-width: auto;
    min-height: 32px;
  }

  #currentTheme,
  #currentLang {
    padding-inline: 5px !important;
    font-size: 0.84rem;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 10000;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  background: var(--nav-blue-900);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  color: #ffffff;
  text-decoration: none;
}


/* Publications page design, aligned with logo.svg palette. */
:root {
  --pub-blue-900: #003bde;
  --pub-blue-700: #0268f4;
  --pub-blue-500: #0f94f6;
  --pub-cyan-400: #13d7f8;
  --pub-bg: #ffffff;
  --pub-surface: #f6f9ff;
  --pub-panel: #ffffff;
  --pub-panel-soft: #f4f8ff;
  --pub-text: #111827;
  --pub-muted: #5b6675;
  --pub-line: rgba(0, 59, 222, 0.13);
  --pub-line-strong: rgba(0, 59, 222, 0.22);
  --pub-primary: var(--pub-blue-900);
  --pub-secondary: var(--pub-blue-500);
  --pub-shadow: 0 18px 48px rgba(0, 59, 222, 0.10);
}

[data-theme="dark"] {
  --pub-bg: #080d1b;
  --pub-surface: #0f1730;
  --pub-panel: #10192f;
  --pub-panel-soft: #142142;
  --pub-text: #f7faff;
  --pub-muted: #bdc9dd;
  --pub-line: rgba(19, 215, 248, 0.17);
  --pub-line-strong: rgba(19, 215, 248, 0.28);
  --pub-primary: #91b1f4;
  --pub-secondary: var(--pub-cyan-400);
  --pub-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

body {
  padding: 0;
  background:
    radial-gradient(circle at 86% 0%, rgba(19, 215, 248, 0.15), transparent 24rem),
    linear-gradient(180deg, var(--pub-surface) 0, var(--pub-bg) 34rem);
  color: var(--pub-text);
}

.publications-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 118px 24px 84px;
}

.page-header {
  margin: 0;
}

.main-header {
  margin: 0 0 34px;
  color: var(--pub-text);
  font-size: clamp(2.45rem, 4.6vw, 3.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

#pub-controls {
  position: static;
  z-index: auto;
  margin: 0 0 30px !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#pub-controls .form-label {
  display: flex;
  align-items: flex-end;
  min-height: 1.35rem;
  margin-bottom: 6px;
  color: var(--pub-muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.pub-result-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#pub-controls .form-control,
#pub-controls .form-select {
  min-height: 40px;
  border: 1px solid var(--pub-line-strong);
  border-radius: 11px;
  background-color: var(--pub-panel);
  color: var(--pub-text);
  box-shadow: none !important;
  font-weight: 500;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

#pub-controls .form-control:focus,
#pub-controls .form-select:focus {
  border-color: var(--pub-secondary) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pub-secondary) 16%, transparent) !important;
  outline: none !important;
}

#pubSearch::placeholder {
  color: color-mix(in srgb, var(--pub-muted) 78%, transparent);
}

#pubCount {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pub-primary);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
}

details {
  margin: 34px 0 44px;
}

details summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 0;
  color: var(--pub-text);
  font-size: clamp(1.42rem, 2.35vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  letter-spacing: 0;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  content: "";
}

details summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.56rem;
  height: 0.56rem;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.62;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

details[open] summary::after {
  opacity: 0.8;
  transform: translateY(2px) rotate(225deg);
}

details[open] summary {
  color: var(--pub-text);
}

.section-header {
  margin-top: 1.6em;
  margin-bottom: 1.2em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid var(--pub-line-strong);
  color: var(--pub-text);
  font-weight: 600;
}

details ul,
.page-header ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.publication-item {
  position: relative;
  display: block;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--pub-line);
  background: transparent;
  list-style: none;
  transition: none;
}

.publication-item:first-child {
  border-top: 0;
}

.publication-item::before {
  content: none;
}

.publication-item:hover {
  border-color: var(--pub-line);
  background: transparent;
}

.publication-item:hover::before {
  content: none;
}

.pub-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pub-badges .pub-venue,
.pub-badges .pub-year,
.pub-badges .pub-series,
.pub-badges .pub-status,
.pub-badges .pub-link {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  vertical-align: middle;
}

.pub-badges .pub-venue {
  background: transparent;
  color: var(--pub-primary);
  font-style: normal;
  box-shadow: none;
}

.pub-badges .pub-year {
  background: transparent;
  color: var(--pub-secondary);
  box-shadow: none;
}

.pub-badges .pub-series,
.pub-badges .pub-series--main,
.pub-badges .pub-status {
  background: transparent;
  color: var(--pub-secondary);
  box-shadow: none;
}

.pub-badges .pub-link {
  background: transparent;
  color: var(--pub-primary);
  text-decoration: none !important;
  box-shadow: none;
  transition: color 0.16s ease;
}

.pub-badges .pub-link:hover,
.pub-badges .pub-link:focus {
  background: transparent;
  color: var(--pub-secondary);
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
  transform: none;
}

.pub-badges .pub-link.pdf,
.pub-badges .pub-link.arxiv,
.pub-badges .pub-link.slide,
.pub-badges .pub-link.link {
  background: transparent;
  color: var(--pub-primary);
  box-shadow: none;
}

.pub-badges .pub-link::before,
.pub-badges .pub-link::after {
  content: none !important;
}

.publication-item[data-labels~="top-tier"]::before,
.publication-item[data-labels~="SCIE"]::before,
.publication-item[data-labels~="scopus"]::before {
  display: none;
}

.publication-item .pub-title {
  display: block;
  margin: 0 0 7px;
  color: var(--pub-text);
  font-size: clamp(1rem, 1.22vw, 1.13rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: 0;
}

.publication-item .pub-title::before,
.publication-item .pub-title::after {
  content: none !important;
}

.publication-item .pub-authors {
  display: block;
  color: var(--pub-muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.62;
}

.publication-item .pub-authors .author + .author::before {
  content: ", ";
}

.publication-item .pub-authors .highlight,
.publication-item b {
  color: var(--pub-primary);
  font-weight: 600;
}

.publication-item a {
  color: var(--pub-primary);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease;
}

.publication-item a:hover,
.publication-item a:focus {
  color: var(--pub-secondary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.publication-item a:focus-visible {
  outline: 2px solid var(--pub-secondary);
  outline-offset: 2px;
}

.publication-item .doi-link {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 5px;
  background-color: color-mix(in srgb, var(--pub-primary) 10%, transparent);
  color: var(--pub-primary);
  font-size: 0.9em;
  font-weight: 600;
}

.site-footer {
  margin-top: 70px;
}

@media (max-width: 860px) {
  .publications-page {
    padding: 104px 18px 68px;
  }

  #pub-controls {
    position: static;
    padding: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .main-header {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .publication-item {
    padding: 18px 0;
  }

  .publication-item .pub-title {
    font-size: 0.98rem;
  }

  .publication-item .pub-authors {
    font-size: 0.84rem;
  }

  .pub-badges .pub-venue,
  .pub-badges .pub-year,
  .pub-badges .pub-series,
  .pub-badges .pub-status,
  .pub-badges .pub-link {
    font-size: 0.8rem;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .publication-item,
  .publication-item::before,
  .publication-item a,
  .pub-badges .pub-link {
    transition: none !important;
  }
}

@media (prefers-contrast: high) {
  .publication-item,
  #pub-controls {
    border-width: 2px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  #pub-controls,
  #navigation,
  #footer-container {
    display: none !important;
  }

  .publications-page {
    max-width: none;
    padding: 0;
  }

  .publication-item {
    break-inside: avoid;
    border-bottom: 1px solid #ccc;
  }

  .publication-item a {
    color: #000;
    text-decoration: none;
  }

  .publication-item a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}


/*
  Modern visual layer for the UNIST NLP Lab development site.
  This file is intentionally loaded last in every generated CSS bundle.
*/

:root {
  --lab-ink: #0b1020;
  --lab-text: #111827;
  --lab-muted: #687386;
  --lab-soft: #f6f8fb;
  --lab-paper: #ffffff;
  --lab-line: rgba(15, 23, 42, 0.12);
  --lab-line-soft: rgba(15, 23, 42, 0.08);
  --lab-blue: #003bde;
  --lab-blue-2: #0268f4;
  --lab-sky: #0f94f6;
  --lab-cyan: #13d7f8;
  --lab-max: 1160px;
  --lab-page-x: 24px;
  --lab-radius: 22px;
  --lab-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
  --lab-ink: #f7faff;
  --lab-text: #eef4ff;
  --lab-muted: #b3bfd2;
  --lab-soft: #0b1224;
  --lab-paper: #080d1b;
  --lab-line: rgba(211, 231, 255, 0.16);
  --lab-line-soft: rgba(211, 231, 255, 0.09);
  --lab-blue: #94b4ff;
  --lab-blue-2: #78a6ff;
  --lab-sky: #35bcff;
  --lab-cyan: #5ef0f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

body {
  min-width: 320px;
  padding: 0;
  background:
    linear-gradient(180deg, var(--lab-soft) 0, var(--lab-paper) 420px);
  color: var(--lab-text);
  font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="ko"] [lang="en"],
html[lang="en"] [lang="ko"] {
  display: none !important;
}

::selection {
  background: color-mix(in srgb, var(--lab-cyan) 34%, transparent);
  color: var(--lab-ink);
}

a {
  color: var(--lab-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus {
  color: var(--lab-sky);
}

.container,
body > .container,
.home-shell,
.hero-new .container {
  width: min(var(--lab-max), calc(100% - (var(--lab-page-x) * 2)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Navigation */
#top_line.navbar {
  min-height: 58px;
  padding: 0;
  border-bottom: 1px solid var(--lab-line-soft);
  background: color-mix(in srgb, var(--lab-paper) 86%, transparent);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: none;
}

#top_line .container {
  width: min(1240px, calc(100% - 32px));
  max-width: none;
  gap: 18px;
}

.navbar-brand .logo {
  height: 36px;
}

#top_menu_ul {
  gap: 2px;
}

#top_menu_ul .nav-link {
  min-height: 40px;
  padding: 8px 9px;
  color: var(--lab-muted);
  font-size: 0.96rem;
  font-weight: 500;
}

#top_menu_ul .nav-link:hover,
#top_menu_ul .nav-link:focus,
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--lab-blue);
  background: transparent;
}

.navbar-nav .dropdown-menu {
  min-width: 184px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--lab-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--lab-paper) 96%, transparent);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .navbar-nav .dropdown-menu {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.navbar-nav .dropdown-item {
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--lab-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-quick {
  gap: 6px;
}

#themeToggle,
#langToggle,
.nav-action-button {
  min-height: 36px;
  padding: 0 3px;
  color: var(--lab-muted);
}

#currentTheme,
#currentLang,
.nav-action-label {
  padding-inline: 7px !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar-toggler {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--lab-text);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lab-blue), var(--lab-cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Home hero */
.hero-new {
  min-height: 680px;
  padding: 126px 0 70px;
  background:
    linear-gradient(180deg, var(--lab-soft) 0, var(--lab-paper) 86%);
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 650px);
  justify-items: stretch;
  align-items: center;
  gap: clamp(42px, 6vw, 74px);
}

.hero-text {
  max-width: 980px;
  text-align: left;
}

.hero-text h1 {
  max-width: 980px;
  margin-inline: 0;
  color: var(--lab-ink);
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-text .hero-at {
  margin: 22px 0 16px;
  color: var(--lab-blue);
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-text .hero-desc {
  max-width: 760px;
  margin-inline: 0;
  color: var(--lab-muted);
  font-size: 1.18rem;
  line-height: 1.72;
}

.hero-signals {
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: 30px;
  color: var(--lab-blue);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-signals li + li::before {
  margin-inline: 10px;
  color: color-mix(in srgb, var(--lab-blue) 28%, transparent);
}

.hero-photo {
  justify-self: end;
  width: min(100%, 650px);
}

.hero-photo-frame,
.hero-photo-frame img {
  border-radius: var(--lab-radius);
}

.hero-photo-frame img {
  filter: saturate(1.02) contrast(1.01);
}

.home-dock {
  position: sticky;
  top: 58px;
  z-index: 30;
  border-block: 1px solid var(--lab-line-soft);
  background: color-mix(in srgb, var(--lab-paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
}

.home-dock-inner {
  width: min(var(--lab-max), calc(100% - (var(--lab-page-x) * 2)));
  min-height: 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
}

.home-dock-inner::-webkit-scrollbar {
  display: none;
}

.home-dock a {
  position: relative;
  flex: 0 0 auto;
  color: var(--lab-muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--lab-ease);
}

.home-dock a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--lab-blue);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.18s var(--lab-ease);
}

.home-dock a:hover,
.home-dock a:focus,
.home-dock a.is-active {
  color: var(--lab-blue);
}

.home-dock a.is-active::after {
  transform: scaleX(1);
}

.page-dock {
  position: sticky;
  top: 58px;
  z-index: 28;
  margin: -26px 0 54px;
  border-block: 1px solid var(--lab-line-soft);
  background: color-mix(in srgb, var(--lab-paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
}

.page-dock-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-dock-inner::-webkit-scrollbar {
  display: none;
}

.page-dock a {
  position: relative;
  flex: 0 0 auto;
  color: var(--lab-muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--lab-ease);
}

.page-dock a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 2px;
  background: var(--lab-blue);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.18s var(--lab-ease);
}

.page-dock a:hover,
.page-dock a:focus,
.page-dock a.is-active {
  color: var(--lab-blue);
}

.page-dock a.is-active::after {
  transform: scaleX(1);
}

/* Home content */
.home-shell {
  padding: 0 0 100px;
}

.home-section {
  margin: 92px 0;
}

.home-section:first-child {
  margin-top: 58px;
}

.home-section-head {
  align-items: flex-end;
  margin-bottom: 24px;
}

.home-section-head h2,
.home-section h2 {
  color: var(--lab-ink);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-section-head h2 {
  padding-top: 0;
}

.home-section-head h2::before {
  content: none;
}

.home-section-head a {
  color: var(--lab-muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.home-section-head a::after {
  content: " ->";
  color: var(--lab-blue);
}

.home-section-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.home-filter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.home-filter button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--lab-muted);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.18s var(--lab-ease);
}

.home-filter button:hover,
.home-filter button:focus,
.home-filter button.is-active {
  color: var(--lab-blue);
}

.home-filter button:focus-visible,
.home-dock a:focus-visible,
.page-dock a:focus-visible,
.page-filter button:focus-visible,
.page-search:focus-visible {
  outline: 2px solid var(--lab-sky);
  outline-offset: 4px;
  border-radius: 4px;
}

.page-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
  gap: 18px 28px;
  margin: -24px 0 58px;
}

.page-tools .page-tools-primary {
  min-width: 0;
}

.page-tools label {
  display: block;
  margin-bottom: 8px;
  color: var(--lab-muted);
  font-size: 1rem;
  font-weight: 600;
}

.page-search {
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--lab-line);
  border-radius: 0;
  background: transparent;
  color: var(--lab-ink);
  font: inherit;
  font-size: 1rem;
}

.page-search:focus {
  border-color: var(--lab-blue);
  box-shadow: none;
  outline: 0;
}

.page-search::placeholder {
  color: color-mix(in srgb, var(--lab-muted) 72%, transparent);
}

.page-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  white-space: nowrap;
}

.page-filter button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--lab-muted);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.18s var(--lab-ease);
}

.page-filter button:hover,
.page-filter button:focus,
.page-filter button.is-active {
  color: var(--lab-blue);
}

.page-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  color: var(--lab-muted);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
}

.page-result [data-result-count] {
  color: var(--lab-blue);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.page-empty {
  margin: 18px 0 0;
  color: var(--lab-muted);
  font-size: 1rem;
}

[hidden],
.page-empty[hidden] {
  display: none !important;
}

.news-list li {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
}

.news-list li::before {
  content: none;
}

.news-list time {
  grid-column: 1;
  color: var(--lab-blue);
  font-size: 0.95rem;
  font-weight: 600;
}

.news-list span {
  grid-column: 2;
  color: var(--lab-muted);
}

.news-list b,
.overview-card strong,
.info-panel strong,
.publication-list b {
  color: var(--lab-ink);
}

.overview-card {
  max-width: 980px;
}

.overview-card p,
.info-panel p,
.info-panel li,
.course-grid li {
  color: var(--lab-muted);
  font-size: 1.02rem;
  line-height: 1.76;
}

.theme-list,
.topic-list,
.research-list {
  gap: 11px 34px;
}

.theme-list li,
.topic-list li,
.research-list li {
  color: var(--lab-muted);
  font-size: 1.02rem;
}

.theme-list li::before,
.topic-list li::before,
.research-list li::before,
.contact-list li::before {
  background: var(--lab-blue);
}

.publication-list li {
  padding: 18px 0;
}

.publication-list li[hidden] {
  display: none;
}

.publication-list li + li {
  border-top: 0;
}

.publication-list li::before {
  color: var(--lab-sky);
  font-size: 0.82rem;
}

.pub-meta {
  padding-left: 46px;
}

.pub-venue,
.pub-badges .pub-venue,
.pub-badges .pub-year,
.pub-badges .pub-series,
.pub-badges .pub-status,
.pub-badges .pub-link,
.news-tag,
.news-date,
.project-funding strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
}

.pub-title,
.publication-item .pub-title,
.project-title,
.news-title {
  color: var(--lab-ink);
  font-weight: 600;
  text-wrap: balance;
}

.pub-authors,
.publication-item .pub-authors,
.project-funding,
.news-main,
.alumni-entry p,
.member-meta,
.contact-block p,
.contact-list li {
  color: var(--lab-muted);
}

/* Shared page rhythm */
:is(.member-page, .alumni-page, .research-page, .projects-page, .publications-page, .software-page, .course-page, .news-page, .contact-page) {
  width: min(var(--lab-max), calc(100% - (var(--lab-page-x) * 2)));
  max-width: none;
  margin-inline: auto;
  padding: 112px 0 96px;
}

:is(.members-hero, .alumni-hero, .research-hero, .projects-hero, .software-hero, .news-hero, .contact-hero, .course-hero) {
  max-width: 900px;
  margin-bottom: 60px;
}

:is(.members-hero h1, .alumni-hero h1, .research-hero h1, .projects-hero h1, .software-hero h1, .news-hero h1, .contact-hero h1, .course-hero h1, .course-page h1, .main-header) {
  color: var(--lab-ink);
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

:is(.alumni-lede, .software-lede) {
  color: var(--lab-muted);
  font-size: 1.12rem;
  line-height: 1.68;
}

:is(.member-section, .research-section, .projects-section, .software-section, .course-section, .contact-section) {
  margin: 68px 0;
}

:is(.member-section-head, .research-section-head, .projects-section-head, .software-section-head, .course-section-head, .contact-section-head) {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}

:is(.member-section-head h3, .research-section h2, .projects-section h2, .software-section h2, .course-section h2, .contact-section h2, .institution-title) {
  color: var(--lab-ink);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.14;
}

.course-page header {
  max-width: 900px;
  margin-bottom: 60px;
}

.course-page section {
  margin: 68px 0;
}

.course-page h3 {
  color: var(--lab-ink);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.14;
}

.course-page h5 {
  color: var(--lab-blue);
  font-size: 1.18rem;
  font-weight: 600;
}

.course-page li,
.software-list li {
  color: var(--lab-muted);
  font-size: 1.02rem;
}

.course-page li::before,
.software-list li::before {
  background: var(--lab-blue);
}

.course-page a,
.course-page .course-name {
  color: var(--lab-ink);
}

/* Members */
.members-content {
  gap: 60px;
}

.members-hero-copy {
  align-items: flex-end;
}

.member-grid {
  gap: 42px 36px;
}

.member-card {
  transition: transform 0.18s var(--lab-ease);
}

.member-card:hover {
  transform: translateY(-3px);
}

.member-card-inner {
  gap: 16px;
  padding: 0;
}

.member-avatar {
  width: 132px;
  height: 132px;
}

.pi-member-card .member-card-inner {
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 28px;
}

.pi-member-card .member-avatar {
  width: 158px;
}

.member-name,
.media-heading {
  color: var(--lab-ink);
  font-size: 1.52rem;
}

.member-subhead {
  color: var(--lab-ink);
  font-size: 1.05rem;
}

.member-interests {
  gap: 5px;
}

.member-interests li {
  color: var(--lab-muted);
  font-size: 1rem;
}

.member-count {
  color: var(--lab-blue);
  font-size: 1rem;
}

/* Alumni */
.alumni-list {
  gap: 0;
}

.alumni-entry {
  padding: 0 0 26px;
}

.alumni-entry + .alumni-entry {
  margin-top: 26px;
  padding-top: 0;
}

.alumni-entry + .alumni-entry::before {
  top: -26px;
  width: 100%;
  background: var(--lab-line-soft);
}

.alumni-entry h3 {
  color: var(--lab-ink);
  font-size: 1.5rem;
}

.alumni-entry .affiliation {
  color: var(--lab-ink);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Projects and publications */
.project-item + .project-item {
  border-top-color: var(--lab-line-soft);
}

.project-status {
  padding: 0;
  background: transparent;
  color: var(--lab-blue);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.status-ongoing,
.status-completed {
  background: transparent;
  box-shadow: none;
}

.status-completed {
  color: var(--lab-muted);
}

.project-duration {
  color: var(--lab-muted);
}

#pub-controls {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) minmax(160px, 220px) minmax(90px, 120px);
  gap: 20px;
  align-items: end !important;
  margin-bottom: 46px !important;
}

#pub-controls > div {
  max-width: none;
  flex: none;
}

#pub-controls .form-label {
  min-height: 1.2rem;
  margin-bottom: 8px;
  color: var(--lab-muted);
  font-size: 0.96rem;
  font-weight: 600;
}

#pub-controls .form-control,
#pub-controls .form-select {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--lab-line);
  border-radius: 0;
  background: transparent;
  color: var(--lab-ink);
  font-size: 1rem;
}

#pub-controls .form-control:focus,
#pub-controls .form-select:focus {
  border-color: var(--lab-blue) !important;
  box-shadow: none !important;
}

#pubCount {
  min-height: 44px;
  color: var(--lab-blue);
  font-size: 1.7rem;
  font-weight: 700;
}

details summary {
  font-size: 2rem;
}

.publication-item {
  padding: 22px 0;
  border-bottom-color: var(--lab-line-soft);
}

.publication-item:hover {
  background: transparent;
}

.pub-badges {
  gap: 10px;
}

.publication-item .pub-authors .highlight,
.publication-item b,
.publication-list .pub-authors b {
  color: var(--lab-blue);
}

/* News */
.news-list {
  border-top: 0;
}

.news-item {
  grid-template-columns: minmax(118px, 180px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-bottom-color: var(--lab-line-soft);
}

.news-date,
.news-tag {
  color: var(--lab-blue);
}

/* Contact */
.contact-layout {
  gap: 64px;
}

.map-panel {
  width: 75%;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.map-panel iframe {
  height: 300px;
}

/* Footer */
.site-footer {
  width: 100%;
  margin-top: 96px;
  border-top: 1px solid var(--lab-line-soft);
  background: transparent;
  color: var(--lab-muted);
}

.site-footer .container {
  width: min(var(--lab-max), calc(100% - (var(--lab-page-x) * 2)));
}

.site-footer-inner {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: inherit;
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  :root {
    --lab-page-x: 18px;
  }

  #top_line.navbar {
    min-height: 58px;
  }

  #top_line .container {
    width: min(100% - 24px, 1240px);
  }

  #top_menu_ul {
    margin-top: 8px !important;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid var(--lab-line-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #top_menu_ul .nav-link {
    min-height: 42px;
    padding: 11px 0;
  }

  .navbar-nav .dropdown-menu {
    margin: 0 0 8px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--lab-line-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-new {
    min-height: auto;
    padding: 112px 0 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 34px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1,
  .hero-text .hero-desc {
    margin-inline: auto;
  }

  .hero-signals {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-photo {
    justify-self: center;
    width: min(430px, 78vw);
  }

  .page-tools {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-filter {
    flex-wrap: wrap;
    white-space: normal;
  }

  .page-result {
    min-height: auto;
  }

  :is(.member-page, .alumni-page, .research-page, .projects-page, .publications-page, .software-page, .course-page, .news-page, .contact-page) {
    padding: 100px 0 76px;
  }

  :is(.members-hero h1, .alumni-hero h1, .research-hero h1, .projects-hero h1, .software-hero h1, .news-hero h1, .contact-hero h1, .course-hero h1, .course-page h1, .main-header) {
    font-size: 3.35rem;
  }

  .member-grid {
    gap: 34px 26px;
  }

  .pi-member-card .member-card-inner {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 28px;
  }

  .pi-member-card .member-avatar {
    width: 142px;
  }

  #pub-controls {
    grid-template-columns: 1fr 1fr;
  }

  .pub-result-col {
    align-items: flex-start;
  }

  .contact-layout {
    gap: 46px;
  }
}

@media (max-width: 640px) {
  :root {
    --lab-page-x: 16px;
  }

  .navbar-brand .logo {
    height: 32px;
  }

  #currentTheme,
  #currentLang,
  .nav-action-label {
    font-size: 0.84rem;
  }

  .hero-new {
    padding: 96px 0 46px;
  }

  .hero-text h1 {
    font-size: 3.05rem;
  }

  .hero-text .hero-at {
    font-size: 1.2rem;
  }

  .hero-text .hero-desc {
    font-size: 1.02rem;
  }

  .hero-photo-frame,
  .hero-photo-frame img {
    border-radius: 16px;
  }

  .home-section {
    margin: 70px 0;
  }

  .home-section-head {
    align-items: flex-start;
  }

  .page-dock {
    margin: -28px 0 42px;
  }

  .home-section-tools {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .home-filter {
    gap: 12px;
  }

  .home-section-head h2,
  .home-section h2 {
    font-size: 1.85rem;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .news-list time,
  .news-list span {
    grid-column: 1;
  }

  .pub-meta {
    padding-left: 40px;
  }

  :is(.members-hero h1, .alumni-hero h1, .research-hero h1, .projects-hero h1, .software-hero h1, .news-hero h1, .contact-hero h1, .course-hero h1, .course-page h1, .main-header) {
    font-size: 2.8rem;
  }

  :is(.member-section-head h3, .research-section h2, .projects-section h2, .software-section h2, .course-section h2, .course-page h3, .contact-section h2, .institution-title) {
    font-size: 1.52rem;
  }

  .pi-member-card .member-card-inner {
    grid-template-columns: 1fr;
  }

  .member-avatar {
    width: 118px;
    height: 118px;
  }

  .pi-member-card .member-avatar {
    width: 132px;
  }

  .member-name,
  .media-heading,
  .alumni-entry h3 {
    font-size: 1.34rem;
  }

  #pub-controls {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-panel {
    width: 100%;
  }
}
