:root {
  --ink: #13243a;
  --muted: #5f6f84;
  --line: #d8e4f3;
  --surface: #f4f8fd;
  --accent: #1565c0;
  --accent-dark: #0b3f8a;
  --accent-soft: #e8f2ff;
  --warm: #00a6d6;
  --white: #ffffff;
}

/* Company News: image-led index with dedicated article pages. */
.site-company .news-list {
  max-width: 1380px;
}

.site-company .content-page > .lab-page-banner {
  background: #071225 !important;
}

.site-company .news-year {
  display: grid;
  gap: 24px;
}

.site-company .news-list.year-tabs.is-enhanced .news-year.year-tab-panel:not(.active) {
  display: none;
}

.site-company .news-year-heading {
  margin-bottom: 0;
}

.site-company .news-entry {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  overflow: hidden;
  min-height: 290px;
  border: 1px solid #dce2ea;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(7, 18, 37, 0.08);
}

.site-company .company-news-card-media {
  display: block;
  min-width: 0;
  min-height: 290px;
  overflow: hidden;
  background: #071225;
}

.site-company .company-news-card-media .news-entry-image {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center;
  transition: transform 280ms ease;
}

.site-company .company-news-card-media:hover .news-entry-image,
.site-company .company-news-card-media:focus-visible .news-entry-image {
  transform: scale(1.025);
}

.site-company .company-news-card-body {
  display: flex;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  color: #172238;
  text-decoration: none;
  flex-direction: column;
  justify-content: center;
}

.site-company .company-news-card-body .news-entry-date {
  order: 0;
  margin-bottom: 14px;
  color: #637086;
  font-size: 13px;
  font-weight: 800;
}

.site-company .company-news-card-body .news-entry-title {
  order: 1;
  margin: 0 0 16px;
  color: #071225;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
}

.site-company .company-news-card-body p {
  order: 2;
  margin: 0;
  color: #536077;
  font-size: 16px;
  line-height: 1.75;
}

.site-company .company-news-read-more {
  order: 3;
  margin-top: 24px;
  color: #0b4f82;
  font-size: 14px;
  font-weight: 900;
}

.site-company .company-news-card-body:hover .company-news-read-more,
.site-company .company-news-card-body:focus-visible .company-news-read-more {
  color: #071225;
}

.site-company .company-news-detail {
  max-width: 1280px;
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.site-company .company-news-detail .post-detail-header {
  padding: clamp(40px, 6vw, 78px);
  color: #ffffff;
  background: #071225;
}

.site-company .company-news-detail .post-detail-header .eyebrow,
.site-company .company-news-detail .post-detail-header p {
  color: #bac7d6;
}

.site-company .company-news-detail .post-detail-header h1 {
  max-width: 1000px;
  margin: 12px 0 20px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
}

.site-company .company-news-detail .post-detail-header > p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.site-company .company-news-detail .post-detail-cover {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: #071225;
}

.site-company .company-news-detail .post-detail-cover .wide-image {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.site-company .company-news-detail > .rich-text {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 26px;
  color: #28364b;
  font-size: 18px;
  line-height: 1.85;
}

.site-company .company-news-detail > .post-actions {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.site-company .company-news-source {
  max-width: 1050px;
  margin: 34px auto 0;
  padding: 20px 22px;
  color: #526078;
  border-top: 1px solid #dce2ea;
  border-bottom: 1px solid #dce2ea;
  background: #f7f9fc;
}

.site-company .company-news-source span:first-child {
  display: block;
  margin-bottom: 7px;
  color: #071225;
  font-size: 12px;
  font-weight: 900;
}

.site-company .company-news-source p {
  margin: 0 0 7px;
  font-size: 13px;
}

.site-company .company-news-source a {
  color: #0b4f82;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .site-company .news-entry {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .site-company .company-news-card-media,
  .site-company .company-news-card-media .news-entry-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .site-company .company-news-card-body {
    padding: 24px 20px 28px;
  }

  .site-company .company-news-detail {
    width: 100%;
    padding-top: 18px;
  }

  .site-company .company-news-detail .post-detail-header {
    padding: 34px 20px;
  }

  .site-company .company-news-detail > .rich-text,
  .site-company .company-news-detail > .post-actions {
    width: calc(100% - 40px);
  }
}

/* Company editorial refresh: PPT-derived DeepScout and DeepClean story. */
.site-company.company-home-page main {
  --ink: #ffffff;
  --muted: #c5c9df;
  --line: rgba(255, 255, 255, 0.2);
  --surface: #0d1930;
  --accent: #78a9b7;
  --accent-dark: #ffffff;
  color: #ffffff;
  background: #071225;
  display: flow-root;
}

.site-company.company-home-page {
  background: #050d1c;
}

.site-company.company-home-page .home-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(32px, 5vw, 78px);
  min-height: auto;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(38px, 5vw, 68px);
}

.site-company.company-home-page .home-hero .eyebrow {
  color: #7fb4c2;
  text-transform: uppercase;
}

.site-company.company-home-page .home-hero h1 {
  max-width: 720px;
  color: #ffffff;
}

.site-company.company-home-page .home-hero p {
  color: #c5c9df;
}

.site-company.company-home-page .home-hero .button.primary {
  color: #071225;
  border-color: #ffffff;
  background: #ffffff;
}

.site-company.company-home-page .home-hero .button:not(.primary) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.56);
  background: transparent;
}

.site-company.company-home-page .hero-slider {
  aspect-ratio: 16 / 9;
  border-color: rgba(255, 255, 255, 0.24);
  background: #030915;
  box-shadow: 0 24px 64px rgba(2, 6, 30, 0.34);
}

.site-company.company-home-page .hero-slide {
  object-fit: cover;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  background: rgba(9, 13, 49, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-slider-dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-slider-dot.active {
  background: #ffffff;
}

.site-company.company-home-page .company-recent {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: clamp(36px, 5vw, 64px);
}

.site-company.company-home-page .company-recent .lab-updates {
  border-top-color: #7fb4c2;
}

.site-company.company-home-page .company-recent .lab-update-list {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.site-company.company-home-page .company-recent .lab-update-list li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.site-company.company-home-page .company-recent a,
.site-company.company-home-page .company-recent h2 {
  color: #ffffff;
}

.site-company.company-home-page .company-recent time,
.site-company.company-home-page .company-recent .lab-updates-heading a {
  color: #c5c9df;
}

.site-company.company-home-page .site-footer {
  color: #c5c9df;
  border-top-color: rgba(255, 255, 255, 0.2);
  background: #050d1c;
}

.site-company.company-home-page .site-footer strong {
  color: #ffffff;
}

.site-company .company-footer {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(560px, 1.45fr);
  gap: 12px clamp(28px, 4vw, 64px);
  align-items: center;
  margin: 0;
  padding-top: clamp(18px, 2.2vw, 26px);
  padding-bottom: clamp(16px, 2vw, 22px);
  color: #aeb9c9;
  border-top: 1px solid #233047;
  background: #050d1c;
}

.site-company .company-footer-brand strong {
  color: #ffffff;
  font-size: 24px;
}

.site-company .company-footer-brand p {
  max-width: 400px;
  margin: 7px 0 0;
  color: #8f9caf;
  line-height: 1.35;
}

.site-company .company-footer-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 20px;
  align-content: center;
}

.site-company .company-footer-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  color: #d1d8e2;
  font-size: 13px;
  line-height: 1.45;
}

.site-company .company-footer-details .footer-detail-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #5fd8ef;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-company .company-footer-details span {
  flex: 0 0 auto;
  color: #78869a;
  font-weight: 800;
}

.site-company .company-footer-details .footer-detail-address {
  grid-column: span 2;
}

.site-company .company-footer-details a {
  color: #d1d8e2;
  overflow-wrap: anywhere;
}

.site-company .company-footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 9px;
  color: #6f7d91;
  border-top: 1px solid #1c293e;
  font-size: 12px;
}

@media (max-width: 760px) {
  .site-company .company-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .site-company .company-footer-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-company .company-footer-details p {
    align-items: flex-start;
  }

  .site-company .company-footer-details .footer-detail-address {
    grid-column: auto;
  }

}

.company-editorial-page {
  max-width: 1440px;
  padding-top: clamp(44px, 6vw, 88px);
}

.site-company .company-editorial-page > .lab-page-banner {
  margin-bottom: 0;
  padding: clamp(26px, 4vw, 48px) clamp(24px, 4vw, 56px);
  background: #071225;
}

.site-company .company-editorial-page > .lab-page-banner h1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
}

.site-company .company-editorial-page > .lab-page-banner p {
  display: none;
}

.company-editorial-page > .wide-image,
.company-editorial-page > .lab-page-banner + .wide-image {
  display: none;
}

.company-editorial-page > .rich-text {
  color: #263247;
}

.company-editorial-page .company-kicker {
  margin: 0 0 12px;
  color: #4b63a9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-editorial-page .company-story-lead,
.company-editorial-page .solution-lead {
  position: relative;
  padding: clamp(42px, 5vw, 68px) clamp(24px, 5vw, 70px);
  color: #ffffff;
  border-bottom: 8px solid #00a6d6;
  background: #071225;
}

.company-editorial-page .company-story-lead::before,
.company-editorial-page .solution-lead::before {
  position: absolute;
  top: 0;
  right: clamp(24px, 5vw, 70px);
  width: clamp(72px, 9vw, 130px);
  height: 8px;
  content: "";
  background: #1e88e5;
}

.company-editorial-page .company-story-lead .company-kicker,
.company-editorial-page .solution-lead .company-kicker {
  color: #7fb4c2;
}

.company-editorial-page .company-story-lead h2,
.company-editorial-page .solution-lead h2 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.08;
}

.company-editorial-page .company-lead-copy,
.company-editorial-page .solution-lead > p:last-child {
  max-width: 900px;
  margin: 20px 0 0;
  color: #d7dbed;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.58;
}

.company-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid #dfe4ef;
  border-bottom: 1px solid #dfe4ef;
  border-left: 1px solid #dfe4ef;
}

.company-purpose-grid > div {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
}

.company-purpose-grid > div:first-child {
  background: #f5f9ff;
}

.company-purpose-grid > div + div {
  border-left: 1px solid #dfe4ef;
}

.about-value-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 84px);
  padding: clamp(40px, 5vw, 66px) clamp(24px, 5vw, 70px);
  color: #ffffff;
  background: #071225;
}

.about-value-map .company-section-heading {
  align-self: start;
  margin: 0;
}

.about-value-map .company-section-heading h2 {
  color: #ffffff;
}

.about-value-map .company-kicker {
  color: #5fd8ef;
}

.about-value-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid #314158;
}

.about-value-step {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(110px, 0.42fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 116px;
  padding: 20px 0;
  border-bottom: 1px solid #314158;
  background: transparent;
}

.about-value-step + .about-value-step {
  border-left: 0;
}

.about-value-step:not(:last-child)::after {
  display: none;
  content: none;
}

.about-value-outcome {
  color: #ffffff;
  border-bottom: 3px solid #5fd8ef;
  background: transparent;
}

.about-value-code {
  display: block;
  margin: 0;
  color: #5fd8ef;
  font-size: 12px;
  font-weight: 900;
}

.about-value-outcome .about-value-code {
  color: #5fd8ef;
}

.about-value-step > strong {
  display: block;
  min-height: 0;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.3;
}

.company-founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  min-height: 520px;
  overflow: hidden;
  border-top: 1px solid #dfe4ef;
  border-bottom: 1px solid #dfe4ef;
  background: #f3f6fb;
}

.company-founder-copy {
  align-self: center;
  padding: clamp(44px, 6vw, 82px) clamp(28px, 6vw, 80px);
}

.company-founder-copy h2 {
  max-width: 700px;
  margin: 0 0 14px;
  color: #071225;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.company-founder-role {
  max-width: 680px;
  margin: 0 0 30px;
  color: #14627a;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 800;
  line-height: 1.55;
}

.company-founder-copy > p:not(.company-kicker):not(.company-founder-role) {
  max-width: 720px;
  margin: 0 0 16px;
  color: #475569;
  font-size: 16px;
  line-height: 1.78;
}

.company-founder-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #cbd5e1;
}

.company-founder-metrics > div {
  min-width: 0;
}

.company-founder-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: #071225;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1;
}

.company-founder-metrics span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.company-founder-media {
  min-width: 0;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #dce4ee;
}

.company-founder-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 34%;
}

.about-signal-graphic,
.about-data-graphic,
.about-ai-graphic,
.about-outcome-graphic {
  justify-self: end;
  width: min(100%, 140px);
  height: 46px;
  margin: 0;
}

.about-signal-graphic {
  display: flex;
  align-items: end;
  gap: 6px;
  border-bottom: 1px solid #52627a;
}

.about-signal-graphic i {
  width: 12%;
  height: 10px;
  background: #70829d;
}

.about-signal-graphic i:nth-child(3) { height: 34px; background: #5fd8ef; }
.about-signal-graphic i:nth-child(4) { height: 22px; }

.about-data-graphic {
  display: flex;
  align-items: center;
  gap: 7px;
}

.about-data-graphic i {
  display: grid;
  width: 38px;
  height: 38px;
  color: #5fd8ef;
  place-items: center;
  border: 1px solid #40506a;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.about-ai-graphic {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.about-ai-graphic i {
  display: grid;
  width: 44px;
  height: 44px;
  color: #071225;
  place-items: center;
  border-radius: 4px;
  background: #5fd8ef;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.about-ai-graphic span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70829d;
}

.about-outcome-graphic {
  position: relative;
  border-bottom: 2px solid #5fd8ef;
}

.about-outcome-graphic i {
  position: absolute;
  right: 12%;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border: 3px solid #5fd8ef;
  border-radius: 50%;
  background: #071225;
}

.about-outcome-graphic span {
  position: absolute;
  right: 0;
  bottom: 9px;
  color: #8fa0b5;
  font-size: 10px;
  font-weight: 900;
}

.company-section-index,
.solution-number {
  display: block;
  margin-bottom: 16px;
  color: #1675c1;
  font-size: 18px;
  font-weight: 900;
}

.company-purpose-grid h3 {
  margin: 0 0 12px;
  color: #171b52;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.2;
}

.company-purpose-grid p,
.company-principles p,
.company-timeline-row p,
.company-collaboration-band p,
.solution-feature-copy p,
.solution-feature-copy li,
.solution-workflow p {
  color: #58667b;
}

.company-principles-section,
.company-history-section,
.solution-workflow {
  padding: clamp(40px, 5vw, 66px) clamp(24px, 5vw, 70px);
}

.company-section-heading {
  max-width: 780px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.company-section-heading h2 {
  margin: 0;
  color: #171b52;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
}

.company-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
}

.company-principles > div {
  min-height: 170px;
  padding: 26px;
  border: 1px solid #d8e4f3;
  border-top: 5px solid #1675c1;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 18, 37, 0.08);
}

.company-principles > div + div {
  padding-left: 26px;
  border-left: 1px solid #d8e4f3;
}

.company-principles strong {
  color: #171b52;
  font-size: 22px;
}

.company-history-section {
  background: #f3f6fb;
}

.company-timeline {
  border-top: 2px solid #171b52;
}

.company-timeline-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 1fr);
  gap: 28px;
  padding: 16px 18px;
  border-bottom: 1px solid #d5dce9;
}

.company-timeline-row time {
  color: #1675c1;
  font-size: 30px;
  font-weight: 900;
}

.company-timeline-row p {
  margin: 0;
  font-size: 18px;
}

.company-collaboration-band {
  padding: clamp(38px, 5vw, 58px) clamp(24px, 5vw, 70px);
  color: #ffffff;
  border-top: 8px solid #1e88e5;
  background: #050d1c;
}

.company-collaboration-band .company-kicker { color: #7fb4c2; }
.company-collaboration-band h2 {
  max-width: 780px;
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}
.company-collaboration-band p:last-child { max-width: 820px; color: #c5c9df; }

.solution-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 70px);
  border-bottom: 1px solid #dfe4ef;
}

.solution-architecture {
  padding: clamp(40px, 5vw, 66px) clamp(24px, 5vw, 70px);
  color: #ffffff;
  background: #071225;
}

.solution-architecture-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.solution-architecture-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
}

.solution-architecture-heading .company-kicker {
  color: #5fd8ef;
}

.solution-architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
}

.solution-architecture-stack,
.solution-architecture-core {
  min-width: 0;
  border-radius: 6px;
}

.solution-architecture-stack {
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.solution-architecture-label {
  padding-bottom: 14px;
  color: #5fd8ef;
  font-size: 12px;
  font-weight: 900;
  border-bottom: 1px solid #314158;
}

.solution-architecture-stack > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 10px;
  align-content: center;
  min-height: 86px;
  padding: 16px 4px;
  border: 0;
  border-bottom: 1px solid #314158;
  background: transparent;
}

.solution-architecture-stack b {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: #5fd8ef;
  font-size: 13px;
}

.solution-architecture-stack strong {
  grid-column: 2;
  grid-row: 1;
  color: #ffffff;
  line-height: 1.3;
}

.solution-architecture-stack small {
  grid-column: 2;
  grid-row: 2;
  color: #9aa8ba;
  line-height: 1.35;
}

.solution-architecture-core {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 34px 24px;
  color: #ffffff;
  text-align: center;
  border: 1px solid #5fd8ef;
  background: #0b172b;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}

.solution-architecture-core::before,
.solution-architecture-core::after {
  position: absolute;
  top: 50%;
  width: clamp(22px, 3vw, 38px);
  height: 1px;
  content: "";
  background: #5fd8ef;
}

.solution-architecture-core::before {
  right: 100%;
}

.solution-architecture-core::after {
  left: 100%;
}

.solution-core-logo-full {
  display: block;
  width: min(286px, 92%);
  margin: 0 0 24px;
  background: transparent;
}

.solution-core-logo-full img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1) grayscale(1) brightness(3);
  mix-blend-mode: screen;
}

.solution-architecture-core strong {
  display: block;
  max-width: 100%;
  margin: 0;
  font-size: clamp(28px, 12cqi, 52px);
  line-height: 1;
  white-space: nowrap;
}

.solution-feature-row:nth-of-type(even) {
  background: #f5f9ff;
}

.solution-feature-row.reverse .solution-feature-copy { order: 2; }
.solution-feature-row.reverse .solution-feature-media { order: 1; }

.solution-feature-copy h2 {
  margin: 0 0 14px;
  color: #171b52;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.14;
}

.solution-feature-copy ul {
  margin: 18px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid #dfe4ef;
}

.solution-feature-copy li {
  position: relative;
  padding: 7px 0 7px 22px;
}

.solution-feature-copy li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  width: 8px;
  height: 2px;
  content: "";
  background: #4b63a9;
}

.solution-feature-media {
  margin: 0;
}

.solution-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #050d1c;
  box-shadow: 0 22px 50px rgba(7, 18, 37, 0.2);
}

.solution-feature-media figcaption {
  margin-top: 10px;
  color: #7b8698;
  font-size: 13px;
}

.solution-data-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #ffffff;
  background: #071225;
}

.solution-data-band > div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 170px;
  padding: clamp(28px, 3.5vw, 42px);
}

.solution-data-band > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.solution-data-band strong {
  color: #5fd8ef;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.solution-data-band span { color: #c5c9df; }

.solution-workflow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
  border-top: 0;
}

.solution-workflow li {
  min-height: 160px;
  padding: 24px;
  border: 1px solid #d8e4f3;
  border-top: 5px solid #1675c1;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 18, 37, 0.07);
}

.solution-workflow li + li {
  padding-left: 24px;
  border-left: 1px solid #d8e4f3;
}

.solution-workflow li > span {
  display: block;
  color: #8e99ad;
  font-size: 13px;
  font-weight: 900;
}

.solution-workflow strong {
  display: block;
  margin: 12px 0 8px;
  color: #171b52;
  font-size: 23px;
}

@media (max-width: 900px) {
  .site-company.company-home-page .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
  }

  .site-company.company-home-page .home-hero .hero-copy,
  .site-company.company-home-page .home-hero .hero-copy p {
    max-width: 760px;
    text-align: left;
  }

  .company-purpose-grid,
  .company-principles,
  .company-founder-profile,
  .solution-feature-row,
  .solution-data-band,
  .solution-workflow ol,
  .solution-architecture-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-purpose-grid > div + div,
  .company-principles > div + div,
  .solution-data-band > div + div,
  .solution-workflow li + li {
    border-left: 0;
    border-top: 1px solid #dfe4ef;
  }

  .company-principles > div + div {
    padding-left: 0;
  }

  .company-solutions,
  .company-solutions > section,
  .solution-data-band,
  .solution-data-band > div,
  .solution-workflow,
  .solution-workflow ol,
  .solution-workflow li {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .solution-data-band > div,
  .solution-workflow li {
    overflow-wrap: anywhere;
  }

  .solution-workflow li + li {
    padding-left: 24px;
  }

  .solution-feature-row.reverse .solution-feature-copy,
  .solution-feature-row.reverse .solution-feature-media {
    order: initial;
  }

  .about-value-step + .about-value-step {
    border-top: 0;
    border-left: 0;
  }

  .about-value-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-architecture-core::before,
  .solution-architecture-core::after {
    display: none;
  }

  .solution-architecture-core {
    min-height: 230px;
  }

  .company-founder-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-founder-media,
  .company-founder-media img {
    min-height: 430px;
    max-height: 620px;
  }
}

@media (max-width: 560px) {
  .site-company.company-home-page .home-hero {
    padding: 34px 16px 28px;
  }

  .site-company.company-home-page .home-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .site-company.company-home-page .hero-slider-nav {
    width: 36px;
    height: 36px;
  }

  .company-editorial-page {
    padding: 44px 16px 42px;
  }

  .company-editorial-page .company-story-lead,
  .company-editorial-page .solution-lead,
  .company-purpose-grid > div,
  .company-principles-section,
  .company-history-section,
  .company-collaboration-band,
  .solution-feature-row,
  .solution-data-band > div,
  .solution-workflow {
    padding: 36px 22px;
  }

  .about-value-step {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .company-founder-copy {
    padding: 40px 22px;
  }

  .company-founder-copy h2 {
    font-size: 39px;
  }

  .company-founder-metrics {
    gap: 10px;
  }

  .company-founder-metrics span {
    font-size: 11px;
  }

  .company-founder-media,
  .company-founder-media img {
    min-height: 340px;
  }

  .about-signal-graphic,
  .about-data-graphic,
  .about-ai-graphic,
  .about-outcome-graphic {
    grid-column: 2;
    justify-self: start;
    width: min(100%, 150px);
    margin-top: 4px;
  }

  .company-editorial-page .company-story-lead h2,
  .company-editorial-page .solution-lead h2 {
    font-size: 38px;
  }

  .company-timeline-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .solution-data-band > div {
    min-height: 0;
    padding: 30px 18px;
  }

  .solution-data-band strong {
    max-width: 100%;
    font-size: clamp(30px, 10vw, 40px);
    overflow-wrap: anywhere;
  }

  .solution-workflow {
    padding: 30px 18px;
  }

  .solution-workflow ol {
    gap: 10px;
  }

  .solution-workflow li,
  .solution-workflow li + li {
    padding: 22px 18px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.site-company .site-header,
.site-company .header-menu-panel {
  background: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  min-width: 82px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: 60px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, #0b3f8a, #1e88e5);
  border-radius: 8px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.header-menu-panel {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: clamp(12px, 2vw, 24px);
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
}

.site-lab {
  --ink: #111111;
  --muted: #60646c;
  --line: #e1e4ea;
  --surface: #f7f8fa;
  --accent: #111111;
  --accent-dark: #000000;
  --accent-soft: #eeeeef;
  --white: #ffffff;
  color: var(--ink);
  background: #ffffff;
}

.site-lab .site-header {
  border-bottom-color: #e1e4ea;
  background: rgba(255, 255, 255, 0.95);
}

.site-lab .brand-mark,
.site-lab .signal-panel span {
  color: #ffffff;
  background: #111111;
}

.site-lab .signal-panel {
  border-color: #d7dbe3;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.06), rgba(120, 120, 128, 0.06)),
    #f7f8fa;
}

.site-lab .button.primary {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.site-lab .button,
.site-lab .card,
.site-lab .post-row,
.site-lab .contact-form {
  border-color: #e1e4ea;
  background: #ffffff;
}

.site-lab .contact-form input,
.site-lab .contact-form textarea,
.site-lab .contact-form select {
  color: #111111;
  border-color: #d7dbe3;
  background: #ffffff;
}

.site-lab .pill {
  color: #111111;
  background: #eeeeef;
}

.site-lab .site-footer {
  border-top-color: #e1e4ea;
}

.site-lab .hero {
  min-height: calc(100vh - 255px);
  padding-top: clamp(14px, 2vw, 28px);
  padding-bottom: clamp(14px, 2vw, 28px);
  column-gap: clamp(22px, 3vw, 44px);
}

.site-lab .site-footer {
  border-top: 3px solid #111111;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-lab.lab-home-page main {
  --ink: #ffffff;
  --muted: #b8b8bc;
  --line: #343438;
  --surface: #141416;
  --accent: #ffffff;
  --accent-dark: #d7d7da;
  color: #ffffff;
  background: #050505;
}

.site-lab.lab-home-page .home-hero .button.primary {
  color: #050505;
  border-color: #ffffff;
  background: #ffffff;
}

.site-lab.lab-home-page .home-hero .button:not(.primary) {
  color: #ffffff;
  border-color: #626268;
  background: transparent;
}

.site-lab.lab-home-page .lab-updates {
  border-top-color: #ffffff;
}

.site-lab.lab-home-page .site-footer {
  color: #b8b8bc;
  border-top-color: #343438;
  background: #050505;
}

.site-lab.lab-home-page .site-footer strong {
  color: #ffffff;
}

.site-lab.lab-home-page .site-footer .footer-icon {
  color: #050505;
  background: #ffffff;
}

.header-contact-link {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
}

.site-company .lab-page-banner {
  position: relative;
  margin-bottom: clamp(28px, 4vw, 52px);
  padding: clamp(26px, 4vw, 48px) clamp(24px, 4vw, 56px);
  color: #ffffff;
  background: var(--accent-dark);
}

.site-company .lab-page-banner h1,
.site-company .lab-page-banner p {
  margin: 0;
  color: #ffffff;
}

.site-company .contact-layout > .lab-page-banner {
  grid-column: 1 / -1;
  width: 100%;
  background: #071225;
}

.site-company .contact-layout {
  background: #ffffff;
}

.company-recent {
  padding-top: clamp(22px, 4vw, 48px);
}

.company-recent-research {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.publication-entry.no-media {
  grid-template-columns: minmax(0, 1fr);
}

.publication-entry-abstract {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.publication-source-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .site-company .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .site-company .header-contact-link {
    grid-column: 3;
    grid-row: 1;
    padding: 8px 11px;
    font-size: 12px;
  }

  .site-company .mobile-menu-toggle {
    grid-column: 4;
  }
}

@media (max-width: 560px) {
  .site-company .header-contact-link {
    padding: 7px 9px;
    font-size: 11px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: nowrap;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav a:hover,
.main-nav summary:hover,
.language-switch a:hover {
  color: var(--accent-dark);
}

html[lang="en"] .main-nav a,
html[lang="en"] .main-nav summary {
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:focus-visible,
.nav-submenu a:focus-visible,
.member-section-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.nav-dropdown-indicator {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.nav-dropdown[open] .nav-dropdown-indicator {
  margin-top: 4px;
  transform: rotate(225deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  display: none;
  min-width: 180px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.14);
  transform: translateX(-50%);
}

.nav-dropdown[open] > .nav-submenu,
.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu {
  display: grid;
}

.nav-submenu a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  border-radius: 999px;
  background: var(--accent);
}

.language-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  text-align: right;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.utility-home-link,
.utility-auth-link {
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: inherit;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.utility-link-icon {
  display: block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switch a:hover .utility-link-icon {
  color: var(--accent-dark);
}

.utility-divider {
  display: inline-block;
  flex: 0 0 auto;
  width: 2px;
  height: 24px;
  margin: 0 12px;
  background: #b8bec8;
  border-radius: 999px;
}

.language-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.site-lab .home-hero {
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr);
}

.site-lab .home-hero h1 {
  font-size: clamp(36px, 4.4vw, min(var(--hero-title-size, 68px), 58px));
}

.hero > *,
.hero-copy,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}

.site-lab .home-hero .hero-copy {
  max-width: 900px;
}

.site-lab .home-hero .hero-copy p {
  max-width: 820px;
}

.hero h1,
.content-page h1,
.contact-layout h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(34px, 5vw, var(--hero-title-size, 68px));
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero p,
.content-page header p,
.contact-layout p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.post-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.inline-delete-form {
  display: inline-flex;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  background: var(--white);
}

.button.primary {
  color: var(--white);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.button.danger {
  color: #ffffff;
  border-color: #b42318;
  background: #b42318;
}

.inline-check-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.inline-check-field .button {
  min-height: 42px;
  white-space: nowrap;
}

.form-check-message {
  min-height: 20px;
  color: var(--muted);
  font-weight: 700;
}

.form-check-message[data-state="ok"] {
  color: #087f5b;
}

.form-check-message[data-state="error"] {
  color: #c92a2a;
}

.button.disabled {
  color: var(--muted);
  cursor: not-allowed;
  background: var(--surface);
}

.hero-visual {
  min-height: 0;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.8s ease;
  background: var(--white);
}

.hero-slide.active {
  opacity: 1;
}

.hero-visual > img {
  width: 100%;
  height: auto;
  max-height: min(64vh, 620px);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.lab-recent {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(34px, 5vw, 64px);
}

.lab-updates {
  padding: clamp(22px, 3vw, 34px) 0 0;
  border-top: 3px solid #111111;
}

.lab-recent-news {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.lab-updates-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.lab-updates-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

.lab-updates-heading a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lab-update-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lab-update-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-width: 0;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.lab-update-list time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.lab-update-list a {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-recent-news .lab-update-title {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-update-list a:hover,
.lab-update-list a:focus-visible,
.lab-updates-heading a:hover,
.lab-updates-heading a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lab-update-empty {
  display: block !important;
  color: var(--muted);
}

.lab-publication-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.lab-publication-entry {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}

.lab-publication-entry.no-media {
  grid-template-columns: minmax(0, 1fr);
}

.lab-publication-cover {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.lab-publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-publication-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
}

.lab-publication-title,
.lab-publication-title * {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lab-publication-authors,
.lab-publication-authors *,
.lab-publication-journal,
.lab-publication-journal * {
  margin: 0;
  font-size: 16px !important;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lab-publication-authors,
.lab-publication-authors * {
  color: var(--ink);
}

.lab-publication-journal,
.lab-publication-journal * {
  color: var(--muted);
}

.lab-publication-empty {
  margin: 0;
  padding: 18px 2px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.wide-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.research-image-page {
  max-width: 1440px;
}

.research-image-page header {
  margin-bottom: 20px;
}

.research-main-image {
  width: 100%;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.signal-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  aspect-ratio: 4 / 3;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 101, 192, 0.14), rgba(0, 166, 214, 0.12)),
    var(--surface);
}

.signal-panel span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.signal-panel strong {
  max-width: 360px;
  font-size: 36px;
  line-height: 1.12;
}

.section,
.content-page,
.contact-layout,
.auth-page {
  padding: clamp(44px, 6vw, 88px) clamp(16px, 4vw, 64px);
}

.muted {
  background: var(--surface);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.16;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 16px;
}

.card h3,
.post-row h3 {
  margin: 0 0 8px;
}

.card p,
.post-row p,
.empty {
  color: var(--muted);
}

.post-list {
  display: grid;
  gap: 14px;
}

.lab-mypage-page > header {
  margin-bottom: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.lab-mypage-page > header > p {
  margin: 14px 0 0;
  line-height: 1.85;
}

.lab-mypage-page .hero-actions {
  gap: 14px;
  margin-top: 32px;
}

.mypage-account-settings {
  margin-bottom: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(34px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
}

.mypage-account-settings .section-heading {
  margin-bottom: 22px;
}

.mypage-account-form {
  gap: 22px;
}

.mypage-account-form label {
  gap: 10px;
}

.mypage-account-form .button {
  margin-top: 8px;
  justify-self: start;
}

.mypage-member-status {
  margin-bottom: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(34px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
}

.mypage-member-status .section-heading {
  margin-bottom: 18px;
}

.mypage-member-status p {
  margin: 0 0 24px;
  line-height: 1.9;
}

.lab-mypage-page > .section-heading {
  margin-bottom: 26px;
}

.lab-mypage-page .post-list {
  gap: 24px;
}

.lab-mypage-page .post-row {
  gap: 28px;
  padding: 28px;
}

.lab-mypage-page .post-row p {
  margin: 10px 0 0;
  line-height: 1.8;
}

.lab-mypage-page .post-actions {
  margin-top: 24px;
}

.publication-list {
  display: grid;
  gap: 34px;
}

.publication-archive {
  gap: clamp(38px, 5vw, 64px);
}

.publication-archive .publication-year {
  scroll-margin-top: 96px;
}

.publication-archive .publication-year + .publication-year {
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.publication-year h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.publication-items {
  display: grid;
  gap: 22px;
}

.publication-entry {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;
}

.deep-link-target {
  scroll-margin-top: 112px;
}

.deep-link-target:target {
  outline: 2px solid rgba(17, 17, 17, 0.28);
  outline-offset: 7px;
}

.publication-cover {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.image-zoom-link {
  cursor: zoom-in;
}

.publication-cover .image-zoom-link {
  display: block;
  width: 100%;
  height: 100%;
}

.publication-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.publication-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.publication-entry-body {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.publication-entry-title,
.publication-entry-title * {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.publication-entry-authors,
.publication-entry-authors *,
.publication-entry-journal,
.publication-entry-journal * {
  margin: 0;
  font-size: 16px !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.publication-entry-authors,
.publication-entry-authors * {
  color: var(--ink);
}

.publication-entry-journal,
.publication-entry-journal * {
  color: var(--muted);
}

.project-tabs {
  display: grid;
  gap: 24px;
}

.year-tabs {
  display: grid;
  gap: 24px;
}

.project-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-tab-list,
.year-tab-list,
.board-write-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-tab-button,
.year-tab-button,
.board-write-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.year-tab-button {
  border: 0;
  appearance: none;
  font-family: inherit;
  background: transparent;
  text-decoration: none;
}

.project-tab-panel {
  display: none;
}

#project-tab-ongoing:checked ~ .project-tab-list label[for="project-tab-ongoing"],
#project-tab-past:checked ~ .project-tab-list label[for="project-tab-past"] {
  color: #ffffff;
  background: var(--accent);
}

.year-tab-button.active {
  color: #ffffff;
  background: var(--accent);
}

#project-tab-ongoing:checked ~ .project-tab-panel-ongoing,
#project-tab-past:checked ~ .project-tab-panel-past {
  display: block;
}

.project-list {
  display: grid;
  gap: 38px;
}

.project-entry {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.project-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.project-entry-head > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.project-entry-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.16;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.project-period {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.project-entry-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  max-width: 100%;
}

.project-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background: #ffffff;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.project-tab-panel .project-entry {
  width: 100%;
}

.project-tab-panel .project-slider {
  width: 100%;
  min-height: 220px;
}

.project-tab-panel .project-entry-head h2 {
  font-family: inherit;
  font-weight: 900;
}

.project-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 46px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  border: 0;
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.62);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-nav:hover,
.slider-nav:focus-visible {
  background: rgba(17, 17, 17, 0.82);
}

.slider-nav[hidden] {
  display: none;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.project-slide-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 28px;
}

.year-tab-panel {
  display: none;
}

.publication-year.year-tab-panel.active,
.news-year.year-tab-panel.active {
  display: grid;
}

.publication-list.year-tabs:not(.is-enhanced) .publication-year.year-tab-panel {
  display: grid;
}

.publication-year.year-tab-panel > h2,
.news-year-heading {
  display: none;
}

.news-entry {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.news-year {
  gap: 24px;
}

.news-entry-body {
  display: grid;
  grid-column: 2;
  gap: 12px;
  align-content: start;
  min-width: 0;
  max-width: 100%;
}

.news-entry.no-media .news-entry-body {
  grid-column: 1 / -1;
}

.news-entry-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.news-entry-head time,
.news-entry-date {
  color: var(--muted);
  font-weight: 700;
}

.news-entry-date {
  display: block;
  margin: 0 0 -4px;
  font-size: 14px;
  line-height: 1.3;
}

.news-entry-media {
  position: relative;
  align-self: start;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.news-entry-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-entry-image-link,
.news-slide {
  display: block;
  width: 100%;
}

.news-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.news-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px) clamp(18px, 4vw, 48px) 76px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.82);
}

.image-lightbox-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.image-lightbox.is-zoomed .image-lightbox-stage {
  place-items: start center;
}

.image-lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.image-lightbox-zoom {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1002;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  transform: translateX(-50%);
}

.image-lightbox-zoom button {
  min-width: 48px;
  height: 42px;
  border: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.image-lightbox-zoom button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.image-lightbox-zoom button:hover,
.image-lightbox-zoom button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  background: rgba(17, 17, 17, 0.75);
  cursor: pointer;
}

.image-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 1001;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  background: rgba(17, 17, 17, 0.75);
  cursor: pointer;
  transform: translateY(-50%);
}

.image-lightbox-nav[hidden] {
  display: none;
}

.image-lightbox-prev {
  left: clamp(12px, 3vw, 32px);
}

.image-lightbox-next {
  right: clamp(12px, 3vw, 32px);
}

.image-lightbox-close:hover,
.image-lightbox-nav:hover,
.image-lightbox-close:focus-visible,
.image-lightbox-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(17, 17, 17, 0.92);
}

body.has-image-lightbox {
  overflow: hidden;
}

.news-entry h2 {
  display: none;
}

.news-entry p {
  margin: 0;
  max-width: 980px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.post-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.post-row > *,
.publication-entry > *,
.news-entry > * {
  min-width: 0;
}

.post-row time,
.post-meta-column time {
  color: var(--muted);
  font-weight: 700;
}

.post-row time span,
.post-meta-column time span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.post-meta-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.post-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
}

.pill {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--accent-soft);
}

.content-page {
  max-width: 1280px;
  margin: 0 auto;
  min-width: 0;
}

.content-page header {
  margin-bottom: 30px;
}

.site-lab .lab-page-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  padding: 30px 36px;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 6px;
  background: #000000;
}

.site-lab .lab-page-banner::after {
  display: none;
  content: none;
}

.site-lab .lab-page-banner h1 {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.16;
}

.site-lab .lab-page-banner p,
.site-lab .contact-layout > .lab-page-banner p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.site-lab .lab-page-banner .board-header-row {
  position: relative;
  z-index: 1;
}

.site-lab .lab-page-banner .board-top-actions .button {
  color: #ffffff;
  border: 3px solid #ffffff;
  background: #000000;
  box-shadow: 0 0 0 1px #000000, 0 0 0 3px rgba(255, 255, 255, 0.22);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.site-lab .lab-page-banner .board-top-actions .button:hover,
.site-lab .lab-page-banner .board-top-actions .button:focus-visible {
  color: #000000;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.news-entry-title,
.news-entry-title * {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans KR", sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.site-lab .contact-layout > .lab-page-banner {
  grid-column: 1 / -1;
  width: 100%;
}

.professor-content-page {
  padding-bottom: clamp(24px, 3vw, 44px);
}

.professor-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(18px, 3vw, 52px);
  max-width: 1360px;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.professor-copy,
.professor-photo {
  min-width: 0;
}

.professor-copy {
  grid-column: 2;
  grid-row: 1;
}

.professor-photo {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
}

.professor-page header {
  margin-bottom: 18px;
}

.professor-contact {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d7d9de;
}

.professor-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #111111;
  font-weight: 400;
}

.professor-contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
}

.professor-contact-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.professor-page .rich-text {
  min-width: 0;
  max-height: none;
  max-width: 100%;
  overflow: visible;
  overflow-x: auto;
  padding-right: 8px;
}

.professor-page .rich-text h2,
.professor-page .rich-text h3,
.professor-page .rich-text h4,
.professor-page .rich-text th {
  color: #111111 !important;
  font-weight: 900;
}

.professor-page .rich-text strong {
  color: #111111;
  font-weight: 900;
}

.professor-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.professor-content-page,
.professor-extra-content {
  font-family: Arial, "Noto Sans KR", sans-serif;
}

.professor-content-page > .lab-page-banner h1 {
  margin-bottom: 12px;
}

.member-section-panel.professor-content-page .member-section-header h2,
.professor-content-page > .lab-page-banner h1 {
  color: #111111;
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.professor-content-page > .lab-page-banner p,
.member-section-header p {
  white-space: pre-line;
}

.professor-profile-kicker {
  margin: 0 0 12px;
  color: #111111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.professor-profile-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 9px;
  vertical-align: 4px;
  background: #111111;
}

.professor-bio {
  color: #252525;
  font-size: 16px;
  line-height: 1.68;
}

.professor-bio p {
  margin: 0 0 14px;
}

.professor-bio p:last-child {
  margin-bottom: 0;
}

.professor-extra-content .content-blocks {
  padding-top: 0;
}

.professor-extra-content .content-block {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.professor-extra-content .block-copy > h2 {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  color: #111111;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
}

.professor-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.professor-highlight-section {
  min-width: 0;
  border: 1px solid #d6d9de;
  border-radius: 6px;
  background: #ffffff;
}

.professor-highlight-heading {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 72px;
  padding: 12px 16px;
  color: #111111;
}

.professor-highlight-heading::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.professor-section-research .professor-highlight-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23111'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%203h6M10%203v6l-5%209a2%202%200%200%200%202%203h10a2%202%200%200%200%202-3l-5-9V3M8%2015h8'/%3E%3C/svg%3E");
}

.professor-section-career .professor-highlight-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23111'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='7'%20width='18'%20height='13'%20rx='2'/%3E%3Cpath%20d='M8%207V5a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2M3%2012h18M10%2012v2h4v-2'/%3E%3C/svg%3E");
}

.professor-section-service .professor-highlight-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23111'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2019.5A2.5%202.5%200%200%201%206.5%2017H12V5H6.5A2.5%202.5%200%200%200%204%207.5v12ZM20%2019.5a2.5%202.5%200%200%200-2.5-2.5H12V5h5.5A2.5%202.5%200%200%201%2020%207.5v12Z'/%3E%3C/svg%3E");
}

.professor-section-awards .professor-highlight-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23111'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='8'%20r='5'/%3E%3Cpath%20d='m8.5%2012-1%209%204.5-2%204.5%202-1-9'/%3E%3C/svg%3E");
}

.professor-highlight-title {
  color: #111111 !important;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.professor-highlight-meta {
  color: #5e6269 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.professor-highlight-content {
  padding: 2px 18px 20px 58px;
  border-top: 1px solid #eceef1;
}

.professor-highlight-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 16px 0 0 18px;
}

.professor-highlight-section li {
  color: #292929 !important;
  font-size: 14px;
  line-height: 1.46;
}

.professor-lead-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 16px 0 2px;
  color: #111111 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.professor-lead-stat strong {
  color: #111111 !important;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.9;
}

.professor-period {
  display: inline-block;
  min-width: 64px;
  margin-right: 7px;
  padding: 2px 6px;
  color: #111111 !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  vertical-align: 1px;
  border: 1px solid #b9bdc4;
  background: transparent;
}

.site-lab main .rich-text .professor-period.current {
  color: #ffffff !important;
  border-color: #111111;
  background: #111111;
}

.site-lab main .rich-text .professor-period.former {
  color: #111111 !important;
  border-color: #b9bdc4;
  background: transparent;
}

.board-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.board-header-row h1 {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.board-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  max-width: 100%;
  padding-top: 8px;
}

.board-top-actions .button {
  white-space: nowrap;
}

.rich-text {
  color: #243140;
  font-size: 17px;
}

.rich-text table,
.rich-editor table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--white);
}

.rich-text th,
.rich-text td,
.rich-editor th,
.rich-editor td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rich-text th,
.rich-editor th {
  color: var(--ink);
  font-weight: 800;
  background: var(--surface);
}

.members-page {
  max-width: 1360px;
}

.member-section-nav {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin: 0 0 clamp(32px, 5vw, 56px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.member-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 8px 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.member-section-nav a:hover,
.member-section-nav a[aria-current="page"] {
  color: #ffffff;
  border-radius: 4px;
  background: var(--ink);
}

.member-section-panel > .member-section-header {
  margin-bottom: 28px;
}

.member-section-header h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.member-section-header p {
  margin: 10px 0 0;
}

.member-section-panel .professor-extra-content {
  margin-top: clamp(38px, 5vw, 64px);
}

.member-tabs {
  position: sticky;
  top: 92px;
  z-index: 8;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  overflow-x: auto;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.member-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.member-tab:hover,
.member-tab:focus-visible {
  color: var(--ink);
}

.member-tab.is-active {
  color: #ffffff;
  background: var(--accent);
}

.member-groups {
  display: grid;
  gap: clamp(42px, 6vw, 72px);
}

.member-group {
  scroll-margin-top: 96px;
}

.member-group + .member-group {
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.member-group > h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
}

.member-group[hidden] {
  display: none;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.member-photo {
  width: 150px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface);
}

.member-photo.placeholder {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  background: #111111;
}

.member-info h3 {
  margin: 0 0 6px;
}

.member-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.member-meta {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.member-research {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
}

.member-research p {
  margin: 0;
}

.member-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.member-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 6px;
  background: #111111;
  transition: color 160ms ease, background-color 160ms ease;
}

.member-social-link:hover,
.member-social-link:focus-visible {
  color: #111111;
  background: #ffffff;
}

.member-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-lab main .member-card .member-card-edit {
  width: fit-content;
  min-height: 34px;
  margin: 0 0 0 auto;
  padding: 0 12px;
  font-size: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
}

.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
}

.content-blocks {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 56px) 0;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.content-block.tone-muted {
  background: var(--surface);
}

.content-block.tone-dark {
  color: #ffffff;
  border-color: #111827;
  background: #111827;
}

.content-block.tone-dark .rich-text,
.content-block.tone-dark p {
  color: #d1d5db;
}

.block-image_left .block-media {
  order: -1;
}

.block-image_top,
.block-text_only,
.block-callout {
  grid-template-columns: 1fr;
}

.block-callout {
  text-align: center;
}

.block-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.block-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.16;
}

.contact-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-location-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.contact-location-images figure {
  display: grid;
  margin: 0;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-location-images img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.contact-location-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.contact-location-placeholder[hidden] {
  display: none;
}

.contact-location-images figcaption {
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.contact-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: var(--white);
}

.contact-form input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.paste-image-box {
  display: grid;
  gap: 10px;
  place-items: center;
  max-width: 420px;
  min-height: 132px;
  margin-top: 10px;
  padding: 18px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  cursor: copy;
}

.paste-image-box:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.paste-image-box.is-dragover {
  border-color: var(--ink);
  background: #f2f2f2;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.12);
}

.paste-image-box.has-error {
  border-color: #b42318;
  color: #b42318;
  background: #fff6f5;
}

.paste-image-box .paste-image-message {
  max-width: 32rem;
  line-height: 1.55;
}

.paste-image-box img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 8px;
  object-fit: contain;
}

.replaceable-file-widget {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.replaceable-file-current {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  max-width: 100%;
  color: var(--muted);
  font-size: 14px;
}

.replaceable-file-current a {
  display: inline-block;
  overflow: hidden;
  max-width: min(520px, 48vw);
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.replaceable-file-label {
  flex: 0 0 auto;
  font-weight: 700;
}

.replaceable-file-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.replaceable-file-clear,
.replaceable-file-new {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  height: 26px;
  min-height: 26px;
  box-sizing: border-box;
  padding: 0 8px !important;
  border: 1px solid #8b8f98;
  border-radius: 5px;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
  background: linear-gradient(#ffffff, #eceff3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 1px rgba(17, 17, 17, 0.12);
  cursor: pointer;
  user-select: none;
}

.replaceable-file-clear:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.replaceable-file-new span {
  display: block;
  width: 100%;
  line-height: 24px;
  text-align: center;
}

.replaceable-file-clear {
  width: 34px !important;
}

.replaceable-file-new {
  width: 58px !important;
}

.replaceable-file-clear,
.replaceable-file-new span {
  text-align: center;
}

.replaceable-file-clear-checkbox {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

.replaceable-file-clear {
  max-width: none;
  flex: 0 0 auto;
}

.replaceable-file-clear:hover,
.replaceable-file-new:hover {
  border-color: #656a73;
  background: linear-gradient(#ffffff, #dfe3e8);
}

.replaceable-file-clear:active,
.replaceable-file-new:active {
  background: linear-gradient(#dfe3e8, #ffffff);
  box-shadow: inset 0 1px 2px rgba(17, 17, 17, 0.18);
  transform: translateY(1px);
}

.replaceable-file-new input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.replaceable-file-selected-name {
  min-width: 0;
  max-width: min(520px, 58vw);
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.replaceable-file-remove-selection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #b42318;
  border-radius: 5px;
  color: #b42318;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.replaceable-file-remove-selection[hidden] {
  display: none;
}

.replaceable-file-remove-selection:hover,
.replaceable-file-remove-selection:focus-visible {
  background: #fff1f0;
  outline: 2px solid rgba(180, 35, 24, 0.2);
  outline-offset: 2px;
}

.replaceable-file-status {
  flex: 1 0 100%;
  min-height: 1.3em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.member-self-edit-page .replaceable-file-clear-checkbox {
  display: none;
}

.member-self-edit-page .replaceable-file-clear {
  width: auto !important;
  min-width: 68px;
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.member-self-edit-page .replaceable-file-new {
  position: relative;
  flex: 0 0 132px;
  width: 132px !important;
  min-width: 132px;
  max-width: 132px;
  height: 34px;
  min-height: 34px;
  padding: 0 12px !important;
  overflow: hidden;
}

.member-self-edit-page .replaceable-file-new span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.member-self-edit-page .replaceable-file-widget,
.member-self-edit-page .paste-image-box {
  width: 100%;
  max-width: 620px;
}

.post-editor-page {
  width: min(1680px, calc(100vw - 32px));
  max-width: none;
  padding-left: 16px;
  padding-right: 16px;
}

.board-write-tabs {
  margin-bottom: 18px;
}

.lab-post-editor-page > header {
  display: none;
}

.post-editor-form {
  gap: 18px;
}

.post-form-fields {
  display: grid;
  gap: 16px;
}

.post-form-fields-publication {
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 12px;
}

.post-form-fields-publication .post-field-cover_image,
.post-form-fields-publication .post-field-attachment,
.post-form-fields-publication .post-field-attachment_files {
  grid-column: span 1;
}

.post-form-fields-publication .post-field {
  gap: 3px;
}

.post-form-fields-publication textarea {
  min-height: 42px;
  max-height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.35;
}

.post-form-fields-publication .post-field > span {
  font-size: 13px;
  line-height: 1.25;
}

.post-form-fields-publication input,
.post-form-fields-publication select {
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.post-field-attachment_files > span:empty {
  display: none;
}

.post-attachment-order-list,
.post-upload-preview {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.post-attachment-order-item,
.post-upload-preview-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.post-upload-preview-thumb {
  display: grid;
  place-items: center;
  width: 52px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
}

.post-upload-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.post-image-delete-button {
  align-items: center;
  align-self: start;
  background: #ffffff;
  border: 1px solid #b42318;
  border-radius: 5px;
  color: #b42318;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 0.35rem;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  width: max-content;
}

.post-image-delete-button:hover,
.post-image-delete-button:focus-visible {
  background: #fff1f0;
  outline: 2px solid rgba(180, 35, 24, 0.2);
  outline-offset: 2px;
}

.lab-account-form-page {
  max-width: 760px;
}

.lab-account-form-page > header {
  margin-bottom: 28px;
}

.lab-account-form {
  max-width: 620px;
}

.lab-account-form .form-help {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  line-height: 1.55;
  margin-top: 7px;
}

.post-form-fields-news,
.post-form-fields-project {
  grid-template-columns: minmax(0, 1fr);
}

.post-field textarea,
.post-field input,
.post-field select {
  width: 100%;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-editor-form textarea {
  min-height: 180px;
  max-height: 520px;
  overflow-y: auto;
  resize: vertical;
}

.post-editor-form textarea[name="body_ko"],
.post-editor-form textarea[name="body_en"] {
  min-height: 520px;
}

.post-editor-form .post-form-fields-publication textarea {
  min-height: 42px;
  max-height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 1.35;
}

.post-image-order-list,
.post-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  margin-top: 12px;
}

.post-upload-help {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.post-image-order-item,
.post-upload-preview-item {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: grab;
}

.post-image-order-item.is-dragging,
.post-upload-preview-item.is-dragging {
  opacity: 0.55;
}

.post-image-order-item img,
.post-upload-preview-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.post-image-order-item img,
.post-upload-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-image-empty,
.post-upload-file-name {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.lab-post-editor-page .post-image-order-list,
.lab-post-editor-page .post-upload-preview {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.lab-post-editor-page .post-upload-preview-item,
.lab-post-editor-page .post-image-order-item {
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.lab-post-editor-page .post-upload-preview-item > .post-upload-preview-thumb,
.lab-post-editor-page .post-image-order-item > img,
.lab-post-editor-page .post-attachment-order-item > .post-upload-preview-thumb {
  grid-column: 1 / -1;
  height: auto;
}

.lab-post-editor-page .post-upload-file-name {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-post-editor-page .post-upload-remove-button {
  grid-column: 2;
  align-self: center;
}

.post-upload-status {
  min-height: 1.4em;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.post-upload-a11y-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rich-source-hidden {
  display: none;
}

.rich-editor-shell {
  display: block;
  width: 100%;
  max-width: 100%;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: var(--white);
}

.editor-tool-group {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  padding: 0 2px 0 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.editor-tool-group:last-of-type {
  border-right: 0;
}

.editor-tool,
.editor-select {
  min-height: 28px;
  padding: 3px 5px;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: var(--white);
}

.editor-select {
  width: 58px;
  min-width: 0;
  max-width: 58px;
  padding-left: 2px;
  padding-right: 2px;
}

.editor-file-hidden {
  display: none;
}

.editor-mode-button {
  min-width: 38px;
  font-size: 12px;
}

.editor-mode-button.is-active,
.editor-icon-button.is-active {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.editor-icon-button {
  width: 26px;
  min-width: 26px;
  padding: 0;
}

.editor-image-tools.is-hidden {
  display: none;
}

.editor-color-palette {
  position: relative;
  display: inline-flex;
}

.editor-palette-button {
  width: auto;
  min-width: 42px;
  overflow: visible;
}

.editor-palette-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(7, 26px);
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.editor-palette-panel.is-open {
  display: grid;
}

.editor-swatch {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}


.editor-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.icon-align-left,
.icon-align-center,
.icon-align-right,
.icon-list-bulleted,
.icon-list-numbered,
.icon-table,
.icon-image,
.icon-image-left,
.icon-image-center,
.icon-image-right,
.icon-image-full,
.icon-up,
.icon-down,
.icon-trash,
.icon-code {
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.icon-align-left::before {
  content: "☰";
  display: block;
  text-align: left;
}

.icon-align-center::before {
  content: "☰";
}

.icon-align-right::before {
  content: "☰";
  display: block;
  text-align: right;
}

.icon-list-bulleted::before {
  content: "•☰";
}

.icon-list-numbered::before {
  content: "1☰";
  font-size: 13px;
}

.icon-table::before {
  content: "▦";
}

.icon-image::before,
.icon-image-center::before {
  content: "▣";
}

.icon-image-left::before {
  content: "▣";
  display: block;
  text-align: left;
}

.icon-image-right::before {
  content: "▣";
  display: block;
  text-align: right;
}

.icon-image-full::before {
  content: "▤";
}

.icon-up::before {
  content: "▲";
}

.icon-down::before {
  content: "▼";
}

.icon-trash::before {
  content: "×";
  font-size: 22px;
  line-height: 16px;
}

.icon-code::before {
  content: "</>";
  font-size: 12px;
  font-weight: 900;
}

.icon-color-text {
  width: auto;
  height: auto;
  font-weight: 900;
  text-decoration: underline;
}

.icon-color-fill {
  width: auto;
  height: auto;
}

.rich-editor {
  box-sizing: border-box;
  width: 100%;
  min-height: 560px;
  max-height: 820px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  font-weight: 400;
  background: var(--white);
}

.rich-editor:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.rich-text .embedded-image,
.rich-editor .embedded-image {
  margin: 18px auto;
}

.rich-text .embedded-image img,
.rich-editor .embedded-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.rich-editor .embedded-image.is-selected {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.image-align-left {
  margin-left: 0;
  margin-right: auto;
  max-width: 52%;
}

.image-align-center {
  max-width: 72%;
}

.image-align-right {
  margin-left: auto;
  margin-right: 0;
  max-width: 52%;
}

.image-align-full {
  max-width: 100%;
}

.text-size-small {
  font-size: 0.88em;
}

.text-size-normal {
  font-size: 1em;
}

.text-size-large {
  font-size: 1.2em;
}

.text-size-xlarge {
  font-size: 1.45em;
}

.rich-editor.rich-editor-fixed-size,
.rich-editor.rich-editor-fixed-size * {
  font-size: 15px !important;
}

.rich-editor.rich-editor-fixed-bold,
.rich-editor.rich-editor-fixed-bold * {
  font-weight: 900 !important;
}

.text-font-sans {
  font-family: Arial, "Noto Sans KR", sans-serif;
}

.text-font-serif {
  font-family: Georgia, "Noto Serif KR", serif;
}

.text-font-mono {
  font-family: Consolas, "Courier New", monospace;
}

.errorlist {
  margin: 0;
  padding-left: 18px;
  color: #b42318;
}

.messages {
  padding: 12px clamp(18px, 6vw, 88px);
  background: #ecfdf3;
}

.message {
  margin: 0;
  color: #027a48;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 6vw, 88px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 0;
}

.footer-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: var(--accent);
}

/* Inner lab pages use a light canvas; the home page keeps the dark identity. */
.site-lab {
  background: #ffffff;
}

.site-lab main {
  --ink: #111111;
  --muted: #60646c;
  --line: #e1e4ea;
  --surface: #f7f8fa;
  --accent: #111111;
  --accent-dark: #000000;
  min-height: calc(100vh - 176px);
  color: #111111;
  background: #ffffff;
}

.site-lab .site-footer {
  color: #60646c;
  border-top-color: #111111;
  background: #ffffff;
}

.site-lab .site-footer strong {
  color: #111111;
}

.site-lab .site-footer .footer-icon,
.site-lab main .footer-icon {
  color: #ffffff;
  background: #111111;
}

.site-lab main .button {
  min-height: 44px;
  padding: 0 18px;
  color: #111111;
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  border-color: #b9bdc5;
  background: #ffffff;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.site-lab main .button.primary {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.site-lab main .button:not(.disabled):hover {
  border-color: #111111;
  background: #f1f2f4;
}

.site-lab main .button.primary:not(.disabled):hover {
  color: #ffffff;
  border-color: #000000;
  background: #2a2a2d;
}

.site-lab main .button:focus-visible,
.site-lab main .year-tab-button:focus-visible,
.site-lab main .project-tab-button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.24);
  outline-offset: 3px;
}

.site-lab main .button.disabled,
.site-lab main .button:disabled {
  color: #777b84;
  border-color: #d7dbe3;
  background: #f1f2f4;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}

.site-lab main .form-actions,
.site-lab main .hero-actions,
.site-lab main .post-actions {
  align-items: center;
}

.site-lab main .contact-form label,
.site-lab main .contact-form label > span:first-child {
  font-family: Arial, "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

.site-lab main .contact-form label > span:first-child {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.site-lab main .contact-form :where(small, .form-help, .form-check-message),
.site-lab main .post-upload-help,
.site-lab main .post-form-fields-publication .post-upload-help {
  color: var(--muted);
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.site-lab main .post-upload-help,
.site-lab main .post-form-fields-publication .post-upload-help {
  margin: 4px 0 0;
}

.site-lab main :where(
  .post-field-news_images,
  .post-field-project_slide_images,
  .post-field-attachment_files
) {
  gap: 6px;
}

.site-lab main .board-write-tabs :where(.year-tab-button, a),
.site-lab main .member-section-nav a {
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-lab main .contact-form {
  color: #111111;
  border-color: #d7dbe3;
  background: #ffffff;
}

.site-lab main .contact-form .button.primary {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.site-lab .lab-page-banner {
  border-color: #3a3a3f;
  background: #0c0c0e;
  box-shadow: inset 6px 0 #ffffff;
}

.site-lab .publication-entry,
.site-lab .project-entry,
.site-lab .news-entry,
.site-lab .member-card {
  padding: 18px;
  border: 1px solid #e1e4ea;
  border-left: 3px solid #111111;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.site-lab .project-entry,
.site-lab .news-entry {
  padding-bottom: 18px;
}

.site-lab .professor-page {
  padding: clamp(18px, 3vw, 30px);
  border-top: 2px solid #111111;
  border-bottom: 1px solid #e1e4ea;
  background: #ffffff;
}

.site-lab .professor-contact p,
.site-lab .professor-page .rich-text,
.site-lab .professor-page .rich-text h2,
.site-lab .professor-page .rich-text h3,
.site-lab .professor-page .rich-text h4,
.site-lab .professor-page .rich-text strong,
.site-lab main .rich-text {
  color: #243140 !important;
}

.site-lab main .rich-text table {
  color: #243140;
  background: #ffffff;
}

.site-lab main .rich-text th {
  color: #111111;
  background: #f1f2f4;
}

.site-lab main .rich-text :where(p, span, div, li, td) {
  color: #243140 !important;
}

.site-lab main .rich-text a {
  color: #111111 !important;
  text-decoration-color: #60646c;
}

.site-lab .professor-contact-icon {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.site-lab .research-main-image,
.site-lab .professor-photo img {
  border: 1px solid #d7dbe3;
  background: #ffffff;
}

.site-lab .member-tab:hover,
.site-lab .member-tab:focus-visible {
  color: #111111;
}

.site-lab .member-photo.placeholder {
  color: #ffffff;
  background: #111111;
}

.site-lab.lab-home-page {
  background: #050505;
}

.site-lab.lab-home-page main {
  --ink: #ffffff;
  --muted: #b8b8bc;
  --line: #343438;
  --surface: #141416;
  --accent: #ffffff;
  --accent-dark: #d7d7da;
  color: #ffffff;
  background: #050505;
}

.site-lab.lab-home-page .site-footer {
  color: #b8b8bc;
  border-top-color: #343438;
  background: #050505;
}

.site-lab.lab-home-page .site-footer strong {
  color: #ffffff;
}

.site-lab.lab-home-page .site-footer .footer-icon {
  color: #050505;
  background: #ffffff;
}

.site-lab.lab-home-page main .button {
  color: #ffffff;
  border-color: #626268;
  background: transparent;
}

.site-lab.lab-home-page main .button.primary {
  color: #050505;
  border-color: #ffffff;
  background: #ffffff;
}

@media (max-width: 900px) {
  .professor-highlights {
    grid-template-columns: 1fr;
  }

  .professor-copy,
  .professor-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 8px 14px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-width: 210px;
    height: 52px;
  }

  .site-lab .site-header {
    gap: 4px 8px;
    min-height: 0;
    padding: 6px 10px 7px;
  }

  .site-lab .brand-logo {
    max-width: min(178px, 40vw);
    height: 42px;
  }

  .site-lab .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 4px;
    font-size: 15px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-lab .main-nav {
    gap: 12px;
    padding: 0 0 2px;
    font-size: 13px;
    line-height: 1.18;
  }

  .site-lab .main-nav a {
    padding: 2px 0;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    align-self: stretch;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
    font-size: 12px;
  }

  .language-icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .utility-divider {
    width: 1px;
    height: 18px;
    margin: 0 9px;
  }

  .site-lab .language-switch {
    align-self: center;
    gap: 4px 7px;
    max-width: 100%;
    font-size: 10.5px;
    line-height: 1.12;
  }

  .site-lab .language-switch a {
    gap: 3px;
  }

  .site-lab .language-icon {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .hero,
  .contact-layout,
  .auth-page,
  .content-block {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: clamp(32px, 7vw, 56px) clamp(20px, 5vw, 44px);
  }

  .site-lab .home-hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .site-lab .home-hero .hero-copy,
  .site-lab .home-hero .hero-copy p {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .site-lab .home-hero .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 7vw, 48px);
    line-height: 1.14;
  }

  .hero p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.62;
  }

  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-header-row {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .board-header-row h1 {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .board-top-actions {
    justify-content: flex-end;
    margin-left: auto;
    padding-top: 0;
  }

  .professor-page,
  .publication-entry,
  .news-entry {
    grid-template-columns: 1fr;
  }

  .professor-page {
    gap: 24px;
  }

  .professor-photo {
    order: -1;
    justify-content: flex-start;
  }

  .professor-photo img {
    width: min(100%, 380px);
    max-height: min(58vh, 460px);
  }

  .professor-page .rich-text {
    padding-right: 0;
  }

  .publication-cover,
  .news-entry-media {
    max-width: 560px;
  }

  .publication-entry-body,
  .publication-entry-title,
  .publication-entry-authors,
  .publication-entry-journal {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .project-entry-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-entry-actions {
    flex-wrap: wrap;
  }

  .project-slider {
    max-width: 100%;
  }

  .news-entry-body,
  .news-entry p {
    grid-column: 1;
  }

  .news-entry p {
    grid-row: auto;
    max-width: none;
  }

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

@media (max-width: 560px) {
  .member-self-edit-page .replaceable-file-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
  }

  .member-self-edit-page .replaceable-file-controls > .replaceable-file-label,
  .member-self-edit-page .replaceable-file-status {
    grid-column: 1 / -1;
  }

  .member-self-edit-page .replaceable-file-selected-name {
    max-width: 100%;
  }

  .lab-post-editor-page .post-image-order-list,
  .lab-post-editor-page .post-upload-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .lab-post-editor-page .paste-image-box {
    width: 100%;
    max-width: none;
  }

  .site-header {
    gap: 6px 10px;
    padding: 7px 12px 8px;
  }

  .brand-logo {
    max-width: 150px;
    height: 40px;
  }

  .language-switch {
    gap: 5px;
    font-size: 11px;
  }

  .language-icon {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .main-nav {
    gap: 16px;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .hero {
    padding: 32px 20px;
  }

  .hero h1,
  .content-page h1,
  .contact-layout h1 {
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 1.18;
  }

  .site-lab .lab-page-banner {
    margin-bottom: 24px;
    padding: 24px 22px;
  }

  .site-lab .lab-page-banner::after {
    width: 44px;
  }

  .site-lab .lab-page-banner h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-actions .button {
    flex: 1 1 142px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .board-header-row {
    gap: 8px 10px;
  }

  .board-header-row h1 {
    flex: 1 1 0;
  }

  .board-top-actions .button {
    min-height: 38px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  .professor-page {
    grid-template-columns: 1fr;
  }

  .professor-content-page {
    padding-bottom: 24px;
  }

  .professor-contact p {
    gap: 8px;
  }

  .professor-contact-icon {
    width: 26px;
    height: 26px;
  }

  .professor-contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .publication-list,
  .project-tabs,
  .news-list {
    gap: 20px;
  }

  .publication-items,
  .project-list,
  .news-year {
    gap: 18px;
  }

  .publication-entry,
  .news-entry {
    gap: 14px;
  }

  .publication-cover,
  .news-entry-media {
    max-width: none;
  }

  .publication-entry-title,
  .publication-entry-title * {
    line-height: 1.42;
  }

  .publication-entry-authors,
  .publication-entry-authors *,
  .publication-entry-journal,
  .publication-entry-journal * {
    line-height: 1.55;
  }

  .project-entry {
    gap: 12px;
    padding-bottom: 26px;
  }

  .project-entry-head {
    gap: 10px;
  }

  .project-entry-head h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  .project-entry-actions {
    width: 100%;
  }

  .project-entry-actions .button {
    flex: 1 1 150px;
  }

  .project-slider {
    border-radius: 6px;
  }

  .slider-nav {
    width: 34px;
    height: 42px;
    font-size: 30px;
  }

  .main-nav {
    gap: 16px;
    font-size: 14px;
  }

  .site-lab .site-header {
    padding: 5px 9px 6px;
  }

  .site-lab .brand-logo {
    max-width: min(162px, 38vw);
    height: 38px;
  }

  .site-lab .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .site-lab .main-nav {
    gap: 10px;
    font-size: 12px;
  }

  .site-lab .language-switch {
    gap: 3px 5px;
    font-size: 10px;
  }

  .site-lab .language-icon {
    width: 13px;
    height: 13px;
    font-size: 8px;
  }

  .page-grid,
  .post-row {
    grid-template-columns: 1fr;
  }

  .post-row {
    gap: 8px;
  }

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

  .member-photo {
    justify-self: start;
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 360px) {
  .board-header-row {
    align-items: stretch;
    flex-direction: column;
  }

  .board-top-actions {
    justify-content: flex-start;
    margin-left: 0;
  }

  .board-top-actions .button {
    width: fit-content;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-lab .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-lab .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
  }

  .site-lab .mobile-menu-toggle {
    grid-column: 1;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-menu-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 12px;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header.menu-enhanced:not(.menu-open) .header-menu-panel {
    display: none;
  }

  .site-lab .header-menu-panel {
    max-height: calc(100dvh - 58px);
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .header-menu-panel .main-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: auto;
    gap: 0 16px;
    overflow: visible;
    width: 100%;
    padding: 0;
    font-size: 14px;
  }

  .site-lab .header-menu-panel .main-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .header-menu-panel .main-nav a,
  .site-lab .header-menu-panel .main-nav a {
    min-width: 0;
    padding: 8px 2px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .site-lab .header-menu-panel .main-nav .nav-dropdown {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .site-lab .header-menu-panel .main-nav .nav-dropdown summary {
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 2px;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown:not([open]) > .nav-submenu {
    display: none;
  }

  .nav-submenu,
  .nav-dropdown[open] > .nav-submenu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: var(--surface);
    box-shadow: none;
    transform: none;
  }

  .site-lab .nav-submenu,
  .site-lab .nav-dropdown[open] > .nav-submenu {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    padding: 4px 0 4px 16px;
  }

  .site-lab .header-menu-panel .main-nav .nav-submenu a {
    display: flex;
    justify-content: flex-start;
    min-height: 40px;
    padding: 10px 8px;
    border: 0;
    border-left: 2px solid var(--line);
    text-align: left;
  }

  .member-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .member-section-nav a {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-menu-panel .language-switch,
  .site-lab .header-menu-panel .language-switch {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2px 0 0;
    border-left: 0;
    font-size: 12px;
    text-align: left;
  }

  .site-lab .header-menu-panel .language-switch {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 8px;
    border-top: 2px solid var(--ink);
  }

  .site-lab .header-menu-panel .language-switch a {
    min-width: 0;
    min-height: 40px;
    padding: 9px 2px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .site-lab .header-menu-panel .utility-divider {
    display: none;
  }

  .site-lab .home-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-lab .home-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.12;
  }

  .lab-recent {
    width: min(100% - 40px, 1180px);
  }
}

@media (max-width: 560px) {
  .site-lab .home-hero h1 {
    font-size: clamp(26px, 7.4vw, 30px);
  }

  .lab-recent {
    width: calc(100% - 32px);
    margin-bottom: 34px;
  }

  .lab-updates {
    padding-top: 20px;
  }

  .lab-updates-heading {
    margin-bottom: 10px;
  }

  .lab-updates-heading h2 {
    font-size: 24px;
  }

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

  .lab-update-list time {
    font-size: 12px;
  }

  .lab-update-list a,
  .lab-recent-news .lab-update-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .lab-publication-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .lab-publication-cover {
    max-width: none;
  }

  .lab-publication-body {
    padding-top: 0;
  }

  .lab-publication-title,
  .lab-publication-title * {
    font-size: 17px !important;
    line-height: 1.45;
  }

  .lab-publication-authors,
  .lab-publication-authors *,
  .lab-publication-journal,
  .lab-publication-journal * {
    font-size: 14px !important;
    line-height: 1.55;
  }

  .member-card {
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .member-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}
