/* ========================================================
   Editorial Research Platform - Landing & Public Styles
   ======================================================== */

/* ========================================================
   Editorial Research Platform - Unified Cosmic Hero Section
   (Dark Cosmic Space Canvas with Planetary Orbit Interaction)
   ======================================================== */

.lm-main-full,
body.lm-landing-body .lm-main,
body:has(.lm-cosmic-hero) .lm-main {
  padding-top: 0 !important;
  margin-top: -64px;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ========================================================
   Hero Navigation Bar (GNB): Transparent at Top & White on Scroll
   ======================================================== */

/* 1. Default State (Top of Hero: Fully Transparent, Borderless, White Text) */
body.lm-landing-body .lm-header,
body:has(.lm-cosmic-hero) .lm-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

/* A wrapped mobile header extends above the hero's fixed 64px overlap. */
@media (max-width: 575px) {
  body.lm-landing-body .lm-header:not(.is-scrolled) {
    background: #0B0D17 !important; /* Same background as the existing cosmic hero. */
  }
}

body.lm-landing-body .lm-header .lm-brand,
body:has(.lm-cosmic-hero) .lm-header .lm-brand {
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}
body.lm-landing-body .lm-header .lm-brand:hover,
body:has(.lm-cosmic-hero) .lm-header .lm-brand:hover {
  color: #d9ff57;
}

body.lm-landing-body .lm-header .lm-brand-mark,
body:has(.lm-cosmic-hero) .lm-header .lm-brand-mark {
  background: #d9ff57;
  color: #0b0d17;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(217, 255, 87, 0.45);
  transition: all 0.3s ease-in-out;
}

body.lm-landing-body .lm-header .lm-nav a,
body:has(.lm-cosmic-hero) .lm-header .lm-nav a {
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
body.lm-landing-body .lm-header .lm-nav a:hover,
body:has(.lm-cosmic-hero) .lm-header .lm-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

body.lm-landing-body .lm-header .lm-header-user-name,
body:has(.lm-cosmic-hero) .lm-header .lm-header-user-name {
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}

body.lm-landing-body .lm-header .lm-icon-btn,
body:has(.lm-cosmic-hero) .lm-header .lm-icon-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transition: all 0.3s ease-in-out !important;
}
body.lm-landing-body .lm-header .lm-icon-btn i,
body.lm-landing-body .lm-header .lm-icon-btn svg,
body:has(.lm-cosmic-hero) .lm-header .lm-icon-btn i,
body:has(.lm-cosmic-hero) .lm-header .lm-icon-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
body.lm-landing-body .lm-header .lm-icon-btn:hover,
body:has(.lm-cosmic-hero) .lm-header .lm-icon-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(217, 255, 87, 0.6) !important;
}

body.lm-landing-body .lm-header .lm-account .btn-primary,
body:has(.lm-cosmic-hero) .lm-header .lm-account .btn-primary {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.28);
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
body.lm-landing-body .lm-header .lm-account .btn-primary:hover,
body:has(.lm-cosmic-hero) .lm-header .lm-account .btn-primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

body.lm-landing-body .lm-header .lm-account .btn-light,
body:has(.lm-cosmic-hero) .lm-header .lm-account .btn-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
body.lm-landing-body .lm-header .lm-account .btn-light:hover,
body:has(.lm-cosmic-hero) .lm-header .lm-account .btn-light:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2. Scrolled State (Below Threshold: Opaque White Glass, Subtle Border & Shadow, Dark Text) */
body.lm-landing-body .lm-header.is-scrolled,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.lm-landing-body .lm-header.is-scrolled .lm-brand,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-brand {
  color: #111111;
}
body.lm-landing-body .lm-header.is-scrolled .lm-brand:hover,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-brand:hover {
  color: var(--lm-primary-strong, #1f3bb3);
}

body.lm-landing-body .lm-header.is-scrolled .lm-brand-mark,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-brand-mark {
  background: var(--lm-primary, #3157D5);
  color: #ffffff;
  box-shadow: none;
}

body.lm-landing-body .lm-header.is-scrolled .lm-nav a,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-nav a {
  color: #374151;
}
body.lm-landing-body .lm-header.is-scrolled .lm-nav a:hover,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-nav a:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.05);
}
body.lm-landing-body .lm-header.is-scrolled .lm-nav a[aria-current],
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-nav a[aria-current] {
  color: var(--lm-primary-strong, #1f3bb3);
  background: rgba(49, 87, 213, 0.08);
}

body.lm-landing-body .lm-header.is-scrolled .lm-header-user-name,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-header-user-name {
  color: #111111;
}

body.lm-landing-body .lm-header.is-scrolled .lm-icon-btn,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-icon-btn {
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  color: #374151 !important;
}
body.lm-landing-body .lm-header.is-scrolled .lm-icon-btn i,
body.lm-landing-body .lm-header.is-scrolled .lm-icon-btn svg,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-icon-btn i,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-icon-btn svg {
  color: #374151 !important;
  stroke: #374151 !important;
}
body.lm-landing-body .lm-header.is-scrolled .lm-icon-btn:hover,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-icon-btn:hover {
  background: #e5e7eb !important;
  color: #111111 !important;
  border-color: #d1d5db !important;
}

body.lm-landing-body .lm-header.is-scrolled .lm-account .btn-primary,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-account .btn-primary {
  background: var(--lm-primary, #3157D5);
  border-color: var(--lm-primary, #3157D5);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(49, 87, 213, 0.2);
}
body.lm-landing-body .lm-header.is-scrolled .lm-account .btn-primary:hover,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-account .btn-primary:hover {
  background: var(--lm-primary-strong, #1f3bb3);
  border-color: var(--lm-primary-strong, #1f3bb3);
}

body.lm-landing-body .lm-header.is-scrolled .lm-account .btn-light,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-account .btn-light {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #374151;
}
body.lm-landing-body .lm-header.is-scrolled .lm-account .btn-light:hover,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-account .btn-light:hover {
  background: #e5e7eb;
  color: #111111;
}

/* --- Full-Bleed Cosmic Hero Section (Edge-to-Edge) --- */
.lm-cosmic-hero {
  position: relative;
  overflow: hidden;
  background: #0B0D17;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  padding-top: calc(64px + 64px);
  padding-bottom: 92px;
  margin-bottom: 64px;
}

/* Fullscreen Ambient Starfield Canvas */
.lm-stars-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Centered Container inside Full-Bleed Hero (max-w-7xl / 1240px) */
.lm-cosmic-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
  z-index: 2;
}

/* 2-Column Grid Layout: Left Content & Right Orbit Graphic */
.lm-cosmic-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Rest of landing page container wrap */
.lm-landing-body-wrap {
  padding-bottom: 32px;
}

/* Left Column: Text & Actions */
.lm-cosmic-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Top Badge */
.lm-cosmic-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4.5px 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  width: fit-content;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.lm-cosmic-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9ff57;
  box-shadow: 0 0 6px rgba(217, 255, 87, 0.75);
  flex-shrink: 0;
}

/* Main Headline - Restrained Solid Bold */
.lm-cosmic-title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.0vw, 2.7rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 18px;
  word-break: keep-all;
}

/* Indigo/Blue Accent without blur/glow */
.lm-cosmic-highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.lm-cosmic-desc {
  font-family: var(--font-ui);
  font-size: 14.5px;
  line-height: 1.62;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 440px;
  word-break: keep-all;
}

/* CTA Action Buttons */
.lm-cosmic-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.lm-cosmic-btn-primary {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10.5px 22px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(79, 70, 229, 0.32);
  transition: all 0.2s ease;
}

.lm-cosmic-btn-primary:hover {
  background: #4338ca;
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.lm-cosmic-btn-secondary {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9.5px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.lm-cosmic-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Trust Tags - Lightweight Minimalist Glassmorphic */
.lm-cosmic-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.lm-cosmic-tag {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 3.5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lm-cosmic-tag:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
}

.lm-cosmic-tag .bi-check2 {
  font-size: 11px;
}

.text-lime {
  color: #d9ff57 !important;
}

/* Right Column: Planetary Orbit System */
.lm-cosmic-hero-right {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lm-orbit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Center Sphere Planet with Radial Depth & Subtle Rim Light */
.lm-center-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #f5ffbe 0%, #d9ff57 42%, #b5ec28 78%, #8ec814 100%);
  box-shadow:
    inset -2.5px -3px 6px rgba(0, 0, 0, 0.22),
    inset 1.5px 2px 4px rgba(255, 255, 255, 0.65),
    0 0 18px rgba(217, 255, 87, 0.18),
    0 0 40px rgba(217, 255, 87, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform: translate(-50%, -50%);
  animation: lmPlanetBreathe 4.2s ease-in-out infinite alternate;
  pointer-events: auto;
  cursor: default;
  user-select: none;
}

@keyframes lmPlanetBreathe {
  0% {
    box-shadow:
      inset -2.5px -3px 6px rgba(0, 0, 0, 0.22),
      inset 1.5px 2px 4px rgba(255, 255, 255, 0.65),
      0 0 15px rgba(217, 255, 87, 0.15),
      0 0 34px rgba(217, 255, 87, 0.05);
    transform: translate(-50%, -50%) scale(0.99);
  }
  100% {
    box-shadow:
      inset -2.5px -3px 6px rgba(0, 0, 0, 0.2),
      inset 1.5px 2px 4px rgba(255, 255, 255, 0.7),
      0 0 22px rgba(217, 255, 87, 0.22),
      0 0 48px rgba(217, 255, 87, 0.07);
    transform: translate(-50%, -50%) scale(1.01);
  }
}

.planet-logo-sub {
  font-family: var(--font-ui);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #0b0d17;
  line-height: 1.1;
  opacity: 0.9;
}

.planet-logo-main {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #0b0d17;
  line-height: 1.1;
  margin-top: 1px;
}

/* Orbit Satellite Pill Capsules - Refined Minimal Pill */
.lm-satellite-capsule {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(15, 20, 32, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9999px;
  padding: 5px 12px;
  color: #e2e8f0;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  white-space: nowrap;
  pointer-events: auto;
  will-change: transform;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lm-satellite-capsule:hover {
  background: rgba(22, 29, 46, 0.92);
  border-color: rgba(217, 255, 87, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.satellite-glow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9ff57;
  box-shadow: 0 0 6px rgba(217, 255, 87, 0.85);
  flex-shrink: 0;
}


/* 3. Editorial Section Headers */
.lm-section-header-editorial {
  margin-bottom: 34px;
}

.lm-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--lm-ink);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  line-height: 1.22;
}

.lm-editorial-title .text-accent-blue {
  color: #3b82f6 !important;
}

.lm-trust-dark-panel .lm-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--lm-mint) !important;
  box-shadow: none;
}

.lm-editorial-subtitle {
  font-family: var(--font-ui);
  font-size: 15.5px;
  color: var(--lm-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* 4. Asymmetric Bento Grid (WHY LABMEET) */
.lm-why-section {
  margin-top: 56px;
}

.lm-asym-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.lm-bento-tile {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-bento);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 270px;
}
.lm-bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 25, 35, 0.08);
}

.bento-large {
  grid-column: span 7;
}

.bento-medium {
  grid-column: span 5;
}

.bento-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bento-tile-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--lm-ink);
  opacity: 0.25;
  line-height: 1;
}

.bento-tile-dark .bento-num,
.bento-num.text-lime {
  color: var(--lm-lime) !important;
  opacity: 0.85 !important;
}

.bento-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.bento-badge.lavender {
  background: var(--lm-lavender);
  color: var(--lm-primary-strong);
}

.bento-badge.mint {
  background: var(--lm-mint);
  color: #065F46;
}

.bento-badge.sky {
  background: var(--lm-sky);
  color: #0284C7;
}

.bento-badge.lime {
  background: var(--lm-lime);
  color: var(--lm-ink);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lm-muted);
  margin-bottom: 18px;
}

/* Card 1: Lavender Theme */
.bento-tile-lavender {
  border-top: 4px solid var(--lm-primary-strong);
  background: linear-gradient(180deg, #fafaff 0%, #ffffff 45%);
}

.bento-checks-preview {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #ffffff;
  border: 1px solid var(--lm-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lm-ink);
  margin-top: auto;
}

.bento-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Card 2: Mint Theme */
.bento-tile-mint {
  border-top: 4px solid #10B981;
  background: linear-gradient(180deg, #f5fcf8 0%, #ffffff 45%);
}

.bento-tags-cluster {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}

.bento-tag-pill {
  font-size: 12px;
  font-weight: 600;
  background: var(--lm-mint);
  color: #065F46;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Card 3: Sky Theme */
.bento-tile-sky {
  border-top: 4px solid #38BDF8;
  background: linear-gradient(180deg, #f5fafe 0%, #ffffff 45%);
}

.bento-flow-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.flow-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: #f1f3f0;
  color: var(--lm-muted);
}
.flow-pill.active {
  background: var(--lm-sky);
  color: #0284C7;
}
.flow-pill.confirmed {
  background: var(--lm-primary-strong);
  color: #ffffff;
}

.flow-arrow {
  font-size: 11px;
  color: #94a3b8;
}

/* Card 4: Dark Ink Theme */
.bento-tile-dark {
  background: var(--lm-dark);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

.bento-dark-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.bento-dark-pill {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5. Explore Section & Refined Single Surface Search */
.lm-explore-section {
  margin-top: 60px;
}

.lm-landing-search-surface {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(23, 25, 35, 0.05);
  margin-bottom: 24px;
}

.lm-landing-search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.lm-search-input-field {
  flex: 2;
  min-width: 240px;
  position: relative;
}

.lm-search-input-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lm-muted);
  pointer-events: none;
}

.lm-search-input-field .form-control {
  padding-left: 38px;
}

.lm-search-select-field {
  flex: 1;
  min-width: 140px;
}

.lm-landing-search-btn {
  padding: 8px 24px;
  white-space: nowrap;
}

/* 4. Story Panels (HOW IT WORKS) */
.lm-how-section {
  margin-top: 64px;
}

.lm-story-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.lm-story-card {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-bento);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.story-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.tag-participant {
  background: var(--lm-sky);
  color: #0369a1;
}

.tag-researcher {
  background: var(--lm-lavender);
  color: var(--lm-primary-strong);
}

.story-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 24px;
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f1f3f0;
  color: var(--lm-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--lm-ink);
  display: block;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13.5px;
  color: var(--lm-muted);
  margin: 0;
  line-height: 1.5;
}

/* 5. Trust & Safety Split Panels */
.lm-trust-section {
  margin-top: 64px;
}

.lm-trust-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}

.lm-trust-dark-panel {
  background: var(--lm-dark, #111420);
  color: #ffffff;
  border-radius: var(--radius-bento);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.lm-trust-dark-content {
  position: relative;
  z-index: 2;
}

/* 2번 사진 레퍼런스와 1:1 일치하는 정밀 벡터 신뢰 보증 아치 그래픽 */
.lm-trust-graphic-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 250px;
  height: 246px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.lm-trust-vault-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.text-light-teal {
  color: var(--lm-mint) !important;
}

.lm-dark-panel-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 18px;
}

.lm-dark-panel-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 28px;
}

.lm-dark-badge-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.lm-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--lm-mint);
}

.lm-trust-light-panel {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-bento);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.lm-light-panel-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 20px;
}

.lm-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.lm-checklist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lm-checklist-item i {
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

.lm-checklist-item strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--lm-ink);
  display: block;
  margin-bottom: 2px;
}

.lm-checklist-item p {
  font-size: 13px;
  color: var(--lm-muted);
  margin: 0;
  line-height: 1.5;
}

.lm-trust-disclaimer {
  background: #f7f8f5;
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-control);
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--lm-muted);
  line-height: 1.55;
}

/* 6. Guide / Safety Cards */
.lm-guide-section {
  margin-top: 64px;
}

.lm-guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lm-guide-card {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.guide-card-icon {
  width: auto;
  height: auto;
  background: transparent !important;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 28px;
  margin-bottom: 16px;
  padding: 0;
}

.icon-lavender, .guide-card-icon.icon-lavender i, .bg-lavender { background: transparent !important; color: #4F46E5 !important; }
.icon-mint, .guide-card-icon.icon-mint i, .bg-mint { background: transparent !important; color: #10B981 !important; }
.icon-cream, .guide-card-icon.icon-cream i, .bg-cream { background: transparent !important; color: #F59E0B !important; }

.lm-guide-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--lm-ink);
  margin-bottom: 8px;
}

.lm-guide-card p {
  font-size: 13.5px;
  color: var(--lm-muted);
  margin: 0;
  line-height: 1.6;
}

/* 7. Preview Section CTA */
.lm-preview-section {
  margin-top: 64px;
}

.lm-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--lm-primary);
  text-decoration: none;
}
.lm-link-cta:hover {
  color: var(--lm-primary-strong);
  text-decoration: underline;
}

/* Common Section Container */
.lm-section {
  margin-top: 56px;
}


/* === Landing & Research Explore Grid System === */
.lm-grid,
#landing-researches,
#research-results {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  align-content: start;
}

.lm-grid > .lm-card,
#landing-researches > .lm-card,
#research-results > .lm-card {
  margin-bottom: 0 !important;
  height: auto;
  min-height: 0;
  align-self: start;
}

@media (max-width: 1199px) {
  .lm-grid,
  #landing-researches,
  #research-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .lm-grid,
  #landing-researches,
  #research-results {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* Compact Research Card */
.lm-research-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  align-self: start;
  transition: all 0.2s ease;
  border-radius: 14px;
  padding: 20px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.lm-research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
  border-color: #cbd5e1;
}
.lm-research-card .lm-badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lm-research-card .lm-card-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  word-break: keep-all;
}
.lm-research-card .lm-card-title a {
  color: var(--color-text);
  text-decoration: none;
}
.lm-research-card .lm-card-title a:hover {
  color: var(--color-primary);
}
.lm-research-card .lm-card-institution {
  font-size: 13px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.lm-research-card .lm-card-meta-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.lm-research-card .lm-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
}
.lm-research-card .lm-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.lm-research-card .lm-card-price-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: 2px;
}
.lm-research-card .lm-compensation {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.lm-research-card .lm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.lm-research-card .lm-card-link:hover {
  text-decoration: underline;
}

/* Miscellaneous utility classes */
.lm-stack { display: grid; gap: 16px; }
.lm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lm-field { min-width: 0; }
.lm-preserve-lines { white-space: pre-wrap; }
.lm-comparison { display: grid; grid-template-columns: 1fr; gap: 0; }
.lm-comparison-row { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.lm-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
#result-count { min-height: 1.65em; }
#applied-filters { min-height: 32px; }
#research-results {
  min-height: 280px;
  align-content: start;
}
#research-results > .lm-empty,
#research-results > .lm-empty-state {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#research-detail {
  min-height: 60vh;
}


/* === 1. 연구 탐색 필터 툴바 스타일 (Compact SaaS Toolbar) === */
.lm-explore-wrap{width:100%}
.lm-filter-bar{padding:14px 18px;border-radius:14px;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-card)}

/* 1행: 검색창 (전체 너비 일체형) */
.lm-search-box{position:relative;width:100%}
.lm-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--color-text-secondary);font-size:15px;pointer-events:none;z-index:2}
.lm-search-input{padding-left:38px;border-radius:10px;height:42px;font-size:14px;border:1px solid var(--color-border);background:#fff;width:100%}
.lm-search-input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(49,87,213,.15)}

/* 2행: 필터 툴바 Row (한 줄 배치) */
.lm-filter-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin-top:10px}
.lm-filter-fields{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1 1 auto}

/* 개별 필터 Select 너비 제한 (100% 강제 해제) */
.lm-filter-select{width:auto !important;height:38px;padding:6px 32px 6px 12px;font-size:13.5px;font-weight:500;border-radius:8px;border:1px solid var(--color-border);background-color:#f8fafc;color:var(--color-text);flex:0 0 auto}
.lm-filter-select:focus{border-color:var(--color-primary);background-color:#fff;box-shadow:0 0 0 3px rgba(49,87,213,.12)}
.lm-select-modality{min-width:145px;max-width:170px}
.lm-select-category{min-width:155px;max-width:185px}
.lm-select-region{min-width:130px;max-width:155px}
.lm-select-sort{min-width:135px;max-width:160px}

/* 필터 액션 버튼 (상세 조건, 초기화) */
.lm-filter-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.lm-btn-detail{height:38px;font-size:13px;font-weight:500;border-radius:8px;padding:6px 12px;display:inline-flex;align-items:center;gap:5px;border-color:var(--color-primary);color:var(--color-primary)}
.lm-btn-detail:hover{background:var(--color-primary);color:#fff}
.lm-btn-reset{height:38px;font-size:13px;font-weight:500;border-radius:8px;padding:6px 12px;display:inline-flex;align-items:center;gap:5px;background:#f1f5f9;color:var(--color-text-secondary);border:1px solid var(--color-border)}
.lm-btn-reset:hover{background:#e2e8f0;color:var(--color-text)}

/* 상세 조건 콜랩스 패널 */
.lm-detail-panel{border-top:1px solid var(--color-border);margin-top:12px;padding-top:14px}
.lm-detail-panel-inner{background:#f8fafc;padding:16px;border-radius:10px;border:1px solid var(--color-border)}

/* 결과 개수 & 칩 */
.lm-results-meta{margin:14px 0 16px}
.lm-result-count{font-size:16px;font-weight:700;color:var(--color-text);margin:0}

/* === 2. 로그인 페이지 (Kakao Minimalist Auth Style - 1번 사진 스타일) === */
.lm-auth-wrapper{max-width:480px;margin:24px auto 48px;width:100%}
.lm-auth-brand-top{text-align:center;margin-bottom:28px}
.lm-auth-brand-link{font-size:32px;font-weight:700;color:#191919;letter-spacing:-.6px;text-decoration:none;display:inline-block;font-family:var(--font-heading,inherit)}
.lm-auth-brand-link:hover{color:#191919;text-decoration:none}
.lm-auth-card{background:#ffffff;border:1px solid #ebebeb;border-radius:4px;box-shadow:none;padding:40px 36px 32px;width:100%;margin:0 auto}
.lm-auth-title{font-size:20px;font-weight:700;color:#191919;margin-bottom:6px;letter-spacing:-.4px}
.lm-auth-desc{font-size:13.5px;color:#666666;margin-bottom:0}
.lm-social-buttons{display:flex;flex-direction:column;gap:8px}
.lm-btn-social{height:48px;border-radius:4px;font-size:15px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:10px;transition:background-color .15s ease,border-color .15s ease}
.lm-btn-kakao{background:#FEE500;border:1px solid #FEE500;color:#191919}
.lm-btn-kakao:hover{background:#fada0a;border-color:#fada0a;color:#191919}
.lm-btn-google{background:#ffffff;border:1px solid #dadce0;color:#3c4043}
.lm-btn-google:hover{background:#f8f9fa;border-color:#c0c4c8;color:#202124}
.lm-social-icon{flex-shrink:0}
.lm-auth-sublinks{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #f2f2f2}
.lm-sublink{font-size:12.5px;color:#666666;text-decoration:none}
.lm-sublink:hover{color:#191919;text-decoration:underline}
.lm-auth-footer{margin-top:32px;text-align:center}
.lm-auth-footer-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:8px}
.lm-auth-footer-links a{font-size:12px;color:#666666;text-decoration:none}
.lm-auth-footer-links a:hover{color:#191919;text-decoration:underline}
.lm-auth-footer-copy{font-size:11.5px;color:#888888;margin-bottom:4px}
.lm-auth-footer-note{font-size:11px;color:#999999;margin:0}
.lm-main:has(.lm-auth-wrapper)+.lm-footer{display:none}
#login-error:not([hidden]){display:flex;align-items:flex-start;gap:10px;margin-bottom:0}
@media(max-width:575px){.lm-auth-wrapper{margin:12px auto 28px;padding:0}.lm-auth-card{padding:28px 20px 24px;border-radius:4px}.lm-auth-brand-top{margin-bottom:20px}.lm-auth-brand-link{font-size:28px}.lm-auth-footer-links{gap:10px}}

/* === 3. 연구 상세 페이지 (Modern Research SaaS UI) === */
.lm-research-detail-page{width:100%}

/* 1. Research Header */
.lm-research-header{margin-bottom:20px}
.lm-research-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}
.lm-btn-share{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;height:34px;padding:0 14px;border-radius:8px;border:1px solid var(--color-border);color:var(--color-text-secondary);background:#fff;transition:all .15s ease}
.lm-btn-share:hover{background:#f1f5f9;color:var(--color-text);border-color:#cbd5e1}
.lm-header-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.lm-btn-action-pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--color-border);color:var(--color-text-secondary);background:#fff;transition:all .15s ease}
.lm-btn-action-pill:hover{background:#f8fafc;color:var(--color-text);border-color:#cbd5e1}
.lm-btn-action-pill.active,.lm-btn-action-pill[aria-pressed="true"]{background:#eef2ff;color:var(--lm-primary,#3157d5);border-color:#c7d2fe}
.lm-btn-action-pill.btn-outline-danger{color:#dc4c4c;border-color:#fee2e2}
.lm-btn-action-pill.btn-outline-danger:hover{background:#fef2f2;color:#b91c1c;border-color:#fca5a5}
.lm-research-title{font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:700;line-height:1.35;color:var(--color-text);margin:0 0 10px;word-break:keep-all}
.lm-research-meta{display:flex;align-items:center;gap:8px;font-size:14.5px;color:var(--color-text-secondary);flex-wrap:wrap}
.lm-meta-item{display:inline-flex;align-items:center;gap:6px}
.lm-meta-item i{color:#94a3b8}
.lm-meta-divider{color:#cbd5e1}

/* 2. Quick Info Bar (한 줄 Compact Soft Panel) */
.lm-quick-info-bar{display:flex;align-items:center;background:#fff;border:1px solid var(--color-border);border-radius:12px;padding:14px 22px;margin-bottom:24px;box-shadow:var(--shadow-card);gap:24px;flex-wrap:wrap}
.lm-quick-item{display:flex;flex-direction:column;gap:3px;flex:1 1 auto;min-width:110px}
.lm-quick-label{font-size:12px;font-weight:500;color:var(--color-text-secondary)}
.lm-quick-val{font-size:15px;font-weight:700;color:var(--color-text)}

/* 3. Desktop 8:4 Two-column Layout */
.lm-detail-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr);gap:28px;align-items:start;width:100%}

/* 좌측 Main Content Card */
.lm-detail-body{padding:32px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;box-shadow:var(--shadow-card);min-width:0}
.lm-content-section{padding-top:28px;margin-top:28px;border-top:1px solid var(--color-border)}
.lm-content-section:first-child{padding-top:0;margin-top:0;border-top:0}
.lm-section-title{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;color:var(--color-text);margin-bottom:18px}
.lm-section-title i{color:var(--color-primary);font-size:19px}
.lm-section-group{margin-top:16px}
.lm-section-group:first-of-type{margin-top:0}
.lm-group-label{font-size:14px;font-weight:600;color:var(--color-text-secondary);margin-bottom:6px}
.lm-group-text{font-size:15px;line-height:1.75;color:var(--color-text);margin-bottom:0}

/* 신뢰 정보 */
.lm-trust-list{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.lm-trust-item{display:inline-flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--color-border);border-radius:10px;padding:8px 14px}
.lm-trust-label{font-size:13px;font-weight:500;color:var(--color-text-secondary)}
.lm-trust-item .lm-badge{font-size:13px;padding:4px 8px;gap:5px}
.lm-trust-notice{background:var(--color-teal-soft);color:var(--color-teal-text);border:1px solid #c8eae3;border-radius:10px;padding:12px 16px;font-size:13px;line-height:1.6;margin:0}

/* 우측 Summary Card (고밀도 sticky) */
.lm-detail-sidebar{padding:24px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:16px;box-shadow:var(--shadow-card);align-self:start;position:sticky;top:24px;height:auto;min-width:0}
.lm-summary-amount-block{display:flex;flex-direction:column;gap:3px}
.lm-amount-label{font-size:13px;font-weight:500;color:var(--color-text-secondary)}
.lm-amount-val{font-size:28px;font-weight:800;color:var(--color-primary);letter-spacing:-.02em}
.lm-summary-divider{height:1px;background:var(--color-border);margin:16px 0}
.lm-summary-facts{display:flex;flex-direction:column;gap:10px}
.lm-fact-item{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--color-text)}
.lm-fact-icon{color:var(--color-teal-text);font-size:16px;width:18px;text-align:center}
.lm-summary-dates{display:flex;flex-direction:column;gap:12px}
.lm-date-block{display:flex;flex-direction:column;gap:2px}
.lm-date-label{font-size:12px;font-weight:500;color:var(--color-text-secondary)}
.lm-date-val{font-size:13.5px;font-weight:600;color:var(--color-text);line-height:1.5}
.lm-application-action{margin-top:16px}
.lm-btn-apply{height:46px;font-size:15px;font-weight:700;border-radius:10px;display:flex;align-items:center;justify-content:center}
.lm-summary-help{font-size:12px;line-height:1.55;color:var(--color-text-secondary);margin-top:14px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid var(--color-border)}

/* Floating Toast */
.lm-floating-toast{position:fixed;bottom:32px;right:32px;background:#172033;color:#fff;padding:12px 20px;border-radius:10px;font-size:14px;font-weight:500;box-shadow:0 8px 24px rgba(0,0,0,.18);z-index:10000;opacity:0;transform:translateY(10px);transition:all .25s ease;pointer-events:none}
.lm-floating-toast.show{opacity:1;transform:translateY(0);pointer-events:auto}

/* 반응형 미디어 쿼리 */
.lm-network-nodes-wrap {
  display: contents;
}

@media(max-width:991px){
  .lm-cosmic-hero-grid{grid-template-columns:1fr;gap:36px}
  .lm-cosmic-hero{padding-top:calc(64px + 40px);padding-bottom:60px;margin-bottom:48px}
  .lm-cosmic-hero-inner{padding:0 24px}
  .lm-cosmic-hero-right{min-height:340px}
  .lm-hero-bento-grid{grid-template-columns:1fr;gap:20px}
  .lm-hero-editorial{grid-template-columns:1fr;gap:36px}
  .lm-asym-bento-grid{grid-template-columns:1fr;gap:18px}
  .bento-large, .bento-medium{grid-column:span 12;min-height:auto}
  .lm-story-panels{grid-template-columns:1fr;gap:20px}
  .lm-trust-split{grid-template-columns:1fr;gap:20px}
  .lm-detail-layout{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:20px}
  .lm-filter-toolbar{gap:10px}
  .lm-filter-fields{width:100%}
  .lm-filter-actions{width:100%;justify-content:flex-end}
}
@media(max-width:767px){
  .lm-cosmic-hero{padding-top:calc(64px + 30px);padding-bottom:48px;border-radius:0;margin-bottom:40px}
  .lm-cosmic-hero-inner{padding:0 18px}
  .lm-cosmic-hero-right{min-height:300px}
  .lm-cosmic-actions{flex-direction:column;align-items:stretch}
  .lm-cosmic-btn-primary, .lm-cosmic-btn-secondary{justify-content:center}
  .lm-hero-main-card{padding:36px 28px;border-radius:28px}
  .lm-guide-cards-grid{grid-template-columns:1fr;gap:16px}
  .lm-detail-layout{grid-template-columns:1fr;gap:20px}
  .lm-detail-body{padding:20px}
  .lm-detail-sidebar{position:static;padding:20px}
  .lm-quick-info-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}
  .lm-research-header-top{flex-wrap:wrap}
  .lm-floating-toast{bottom:20px;right:20px;left:20px;text-align:center}
  .lm-form-grid{grid-template-columns:1fr}
  .lm-filter-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .lm-filter-select{width:100% !important;min-width:0;max-width:none}
  .lm-filter-actions{width:100%;display:flex;justify-content:space-between}
  .lm-btn-detail,.lm-btn-reset{flex:1;justify-content:center}
  .lm-auth-card{padding:24px 20px}
  .lm-landing-search-form{flex-direction:column;align-items:stretch}
  .lm-search-input-field, .lm-search-select-field, .lm-landing-search-btn{width:100%}
}
@media(max-width:640px){
  .lm-hero-main-card{padding:28px 20px;border-radius:24px}
  .lm-dark-orbit-card{padding:24px 16px;border-radius:24px;min-height:240px}
  .ellipse-outer{width:300px;height:160px}
  .ellipse-inner{width:200px;height:110px}
  .lm-center-lime-badge{width:100px;height:100px}
  .lm-metrics-bento-row{grid-template-columns:1fr;gap:12px}
  .lm-network-visual{min-height:auto;padding:24px 18px;gap:16px}
  .lm-network-orbit-outer, .lm-network-orbit-inner{display:none}
  .lm-network-hub{position:static;transform:none;margin:0 auto 12px;width:fit-content}
  .lm-network-nodes-wrap{display:grid;grid-template-columns:1fr;gap:10px}
  .lm-network-node{position:static;width:100%;margin-bottom:0}
}
@media(max-width:575px){
  .lm-cosmic-title{font-size:1.85rem}
  .lm-center-planet{width:76px;height:76px}
  .planet-logo-sub{font-size:7.5px}
  .planet-logo-main{font-size:14px}
  .lm-cosmic-hero-right{min-height:260px}
  .lm-hero-bento-title{font-size:2.2rem}
  .lm-hero-title{font-size:32px}
  .lm-results-top{flex-wrap:wrap}
  .lm-research-card h3{min-height:0}
}

/* ========================================================
   Participant MyPage Styles (Editorial Bento Alignment)
   ======================================================== */

.lm-mypage-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 0 80px;
}

/* --- 1. MyPage Header --- */
.lm-mypage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 20px;
}

.lm-mypage-eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  color: #4F46E5;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 6px;
}

.lm-mypage-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #111420;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  line-height: 1.18;
}

.lm-mypage-subtitle {
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 0;
}

.lm-mypage-top-btn {
  background: #4F46E5;
  color: #FFFFFF !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lm-mypage-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
}

/* --- 2. Researcher Access Banner --- */
.lm-researcher-access-banner {
  background: #FAF7FE;
  border: 1px solid #EFE8FC;
  border-radius: 24px;
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.03);
  gap: 24px;
}

.lm-watermark-r {
  position: absolute;
  right: 120px;
  top: -24px;
  font-size: 160px;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.035);
  font-family: var(--font-display);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.lm-access-banner-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.lm-access-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  color: #4F46E5;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
}

.lm-access-title {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 800;
  color: #111420;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.lm-access-desc {
  font-size: 13.5px;
  color: #64748B;
  margin-bottom: 0;
  line-height: 1.5;
}

.lm-access-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lm-badge-coral {
  background: #FFEBEA;
  color: #E11D48;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lm-btn-irb {
  background: #4F46E5;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 12px;
  padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.lm-btn-irb:hover {
  transform: translateY(-2px);
}

/* --- 3. MyPage Section Standard --- */
.lm-mypage-section {
  margin-bottom: 48px;
}

.lm-mypage-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.lm-mypage-section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #111420;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  line-height: 1.2;
}

.lm-mypage-link-action {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: #4F46E5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s ease;
}
.lm-mypage-link-action:hover {
  transform: translateX(3px);
  color: #4338CA;
}

/* --- 4. Bento Metric Cards (내 연구 참여) --- */
.lm-mypage-bento-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lm-metric-bento-card {
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lm-metric-bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bento-indigo {
  background: #4F46E5;
  color: #FFFFFF;
}
.bento-lime {
  background: #D8FE55;
  color: #111420;
}
.bento-sky {
  background: #CCE9FB;
  color: #111420;
}

.bento-metric-label {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0.9;
}

.bento-metric-value {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0 10px;
  letter-spacing: -0.04em;
}

.bento-metric-sub {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

/* --- 5. Common White Container Card & Rows --- */
.lm-mypage-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  padding: 8px 36px;
}

.lm-mypage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #F1F5F9;
  gap: 20px;
  transition: background 0.15s ease;
}
.lm-mypage-row:last-child {
  border-bottom: none;
}

.lm-mypage-row-content {
  flex: 1;
  min-width: 0;
}

.lm-mypage-row-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #111420;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.lm-mypage-row-meta {
  font-size: 13.5px;
  color: #64748B;
  margin-bottom: 0;
  line-height: 1.4;
  word-break: keep-all;
}

.lm-mypage-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Badges */
.lm-pill-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.badge-neutral {
  background: #F1F5F9;
  color: #475569;
}
.badge-coral {
  background: #FFEBEA;
  color: #E11D48;
}
.badge-emerald {
  background: #DCFCE7;
  color: #15803D;
}
.badge-rose {
  background: #FFE4E6;
  color: #E11D48;
}

/* Action Buttons */
.lm-btn-confirm-action {
  background: #4F46E5;
  color: #FFFFFF !important;
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.lm-btn-confirm-action:hover {
  transform: translateY(-2px);
}

.lm-btn-outline-pill {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #1E293B !important;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.lm-btn-outline-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A !important;
}

.lm-btn-primary-pill {
  background: #4F46E5;
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.lm-btn-primary-pill:hover {
  transform: translateY(-2px);
}

/* --- 6. Bottom 2-Column Bento Grid: 최근 알림 & 계정 관리 --- */
.lm-mypage-bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.lm-notifications-card,
.lm-account-card {
  padding: 32px 36px;
}

.lm-notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.lm-card-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #111420;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.lm-notif-meta {
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
}

.lm-link-dim {
  color: #64748B;
  text-decoration: none;
  font-weight: 600;
}
.lm-link-dim:hover {
  color: #4F46E5;
}

.lm-notif-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #F8FAFC;
  gap: 16px;
}
.lm-notif-item:last-child {
  border-bottom: none;
}

.lm-notif-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.lm-notif-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4F46E5;
  flex-shrink: 0;
  margin-top: 7px;
}

.lm-notif-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #111420;
  margin-bottom: 4px;
  line-height: 1.35;
}

.lm-notif-desc {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 0;
  line-height: 1.45;
}

.lm-notif-time {
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.lm-account-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 24px;
}

.lm-account-links {
  display: flex;
  flex-direction: column;
}

.lm-account-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 14.5px;
  font-weight: 700;
  color: #4F46E5;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.lm-account-link:last-child {
  border-bottom: none;
}
.lm-account-link:hover {
  transform: translateX(4px);
  color: #4338CA;
}
.lm-account-link.link-danger {
  color: #E11D48;
}
.lm-account-link.link-danger:hover {
  color: #BE123C;
}

/* --- 7. Floating Top Button --- */
.lm-scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111420;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  border: none;
  box-shadow: 0 8px 24px rgba(17, 20, 32, 0.35);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 1.1;
}
.lm-scroll-top-btn i {
  font-size: 14px;
  margin-bottom: 1px;
}
.lm-scroll-top-btn:hover {
  transform: translateY(-3px);
  background: #1E293B;
}

/* --- 8. MyPage Responsive Rules --- */
@media(max-width: 991px) {
  .lm-mypage-bento-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lm-mypage-bottom-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media(max-width: 767px) {
  .lm-mypage-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .lm-researcher-access-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
  .lm-watermark-r {
    display: none;
  }
  .lm-mypage-card {
    padding: 8px 20px;
  }
  .lm-mypage-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .lm-mypage-row-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .lm-notifications-card,
  .lm-account-card {
    padding: 24px 20px;
  }
}

/* ========================================================
   Researcher Workspace & Registration Styles
   (Image 1, 2, 3, 4, 5 Alignment)
   ======================================================== */

/* Mode Switcher Tabs */
.lm-mypage-tabs-wrap {
  display: flex;
  align-items: center;
}

.lm-mypage-mode-tabs {
  display: inline-flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}

.lm-mode-tab-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lm-mode-tab-btn:hover {
  color: #111420;
}
.lm-mode-tab-btn.active {
  background: #111420;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-verified-researcher {
  color: #4F46E5;
  font-weight: 700;
}

/* Researcher Workspace Banner (Image 1) */
.lm-research-workspace-banner {
  background: #FAF7FE;
  border: 1px solid #EFE8FC;
  border-radius: 24px;
  padding: 30px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.03);
  gap: 24px;
}

.lm-workspace-banner-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.lm-workspace-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lm-btn-primary-glow-sm {
  background: #4F46E5;
  color: #FFFFFF !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 12px;
  padding: 9px 20px;
  border: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.lm-btn-primary-glow-sm:hover {
  transform: translateY(-2px);
}

.lm-btn-dark-sm {
  background: #111420;
  color: #FFFFFF !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 12px;
  padding: 9px 20px;
  border: none;
  box-shadow: 0 4px 14px rgba(17, 20, 32, 0.25);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.lm-btn-dark-sm:hover {
  transform: translateY(-2px);
}

/* Performance Progress Bar (Image 2) */
.lm-performance-row {
  align-items: flex-start;
}

.lm-performance-progress-wrap {
  max-width: 480px;
}

.lm-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #EEF2F6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.lm-progress-bar-fill {
  height: 100%;
  background: #4F46E5;
  border-radius: 999px;
}

.lm-progress-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
}

.lm-notif-empty-state {
  padding: 48px 0;
  text-align: center;
  color: #94A3B8;
  font-size: 14.5px;
  font-weight: 500;
}

/* --- Image 4: Study Management Page --- */
.lm-back-to-mypage-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s ease;
}
.lm-back-to-mypage-link:hover {
  color: #4F46E5;
}

.lm-manage-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-white {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lm-manage-search-toolbar {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.lm-manage-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lm-manage-search-input-wrap {
  flex: 1;
}

.lm-input-rounded {
  border: none !important;
  background: transparent !important;
  font-size: 14.5px;
  padding: 8px 16px;
  box-shadow: none !important;
}

.lm-manage-search-select-wrap {
  width: auto;
  min-width: 130px;
}

.lm-select-rounded {
  border: 1px solid #E2E8F0 !important;
  background-color: #F8FAFC !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 8px 34px 8px 16px !important;
  cursor: pointer !important;
  transition: all 0.15s ease;
}

.lm-select-rounded:hover {
  border-color: #CBD5E1 !important;
  background-color: #F1F5F9 !important;
}

.lm-select-rounded:focus {
  border-color: var(--lm-primary) !important;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.12) !important;
}

.lm-btn-dark-pill {
  background: #111420;
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  transition: background 0.15s ease;
}
.lm-btn-dark-pill:hover {
  background: #1E293B;
}

.lm-manage-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lm-manage-study-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.lm-study-card-left {
  flex: 1;
  min-width: 0;
}

.lm-study-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #111420;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.lm-study-card-desc {
  font-size: 13.5px;
  color: #64748B;
  margin-bottom: 0;
}

.lm-study-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #F8FAFC;
  padding: 12px 18px;
  border-radius: 14px;
  margin-top: 14px;
}

.lm-study-detail-cell {
  display: flex;
  flex-direction: column;
}
.lm-study-detail-cell .cell-label {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 2px;
}
.lm-study-detail-cell .cell-val {
  font-size: 13px;
  font-weight: 800;
  color: #111420;
}

.lm-study-card-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 170px;
  flex-shrink: 0;
}

.lm-btn-study-action {
  width: 100%;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.lm-btn-study-action.btn-rec {
  background: #F5F3FF !important;
  color: #6D28D9 !important;
  border: 1px solid #DDD6FE !important;
  box-shadow: 0 1px 3px rgba(109, 40, 217, 0.08);
}
.lm-btn-study-action.btn-rec:hover {
  background: #EDE9FE !important;
  color: #5B21B6 !important;
  border-color: #C4B5FD !important;
  transform: translateY(-1px);
}
.lm-btn-study-action.btn-rec i {
  color: #7C3AED;
}
.lm-btn-study-action.btn-manage-apps {
  background: var(--lm-primary);
  color: #FFFFFF !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lm-btn-study-action.btn-manage-apps:hover {
  background: var(--lm-primary-strong);
}
.lm-apps-count-pill {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
}
.lm-btn-study-action.btn-edit {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B !important;
}
.lm-btn-study-action.btn-edit:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}
.lm-btn-study-action.btn-close-recruiting {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  color: #DC2626 !important;
}
.lm-btn-study-action.btn-close-recruiting:hover {
  background: #FEE2E2;
}
.lm-btn-study-action.btn-reopen-recruiting {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB !important;
}
.lm-btn-study-action.btn-reopen-recruiting:hover {
  background: #DBEAFE;
}

/* Verification Guide Link in Participant Mypage */
.lm-btn-verify-guide {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--lm-primary) !important;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.lm-btn-verify-guide:hover {
  background: var(--lm-primary);
  color: #FFFFFF !important;
}

/* --- Image 5: Study Registration Form --- */
.lm-institution-badge-card {
  padding: 20px 28px;
}
.lm-badge-inst-verified {
  background: #EFF6FF;
  color: var(--lm-primary);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.lm-inst-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #111420;
}
.lm-inst-card-desc {
  font-size: 13px;
  color: #64748B;
}

.lm-irb-guidance-banner {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 14px;
  padding: 14px 20px;
}

.lm-study-form-card {
  padding: 36px 40px;
}

.lm-form-label {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.lm-input-rounded-lg,
.lm-select-rounded-lg {
  border-radius: 14px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  background-color: #FFFFFF !important;
  box-shadow: none !important;
}
.lm-input-rounded-lg:focus,
.lm-select-rounded-lg:focus {
  border-color: var(--lm-primary) !important;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.15) !important;
}

.lm-textarea-rounded {
  border-radius: 14px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.lm-textarea-rounded:focus {
  border-color: var(--lm-primary) !important;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.15) !important;
}

.lm-file-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  background: #F8FAFC;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lm-file-dropzone.dragover {
  border-color: var(--lm-primary);
  background: #EEF2FF;
}
.lm-dropzone-icon {
  font-size: 38px;
  color: var(--lm-primary);
  margin-bottom: 8px;
  display: block;
}
.lm-dropzone-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}
.lm-dropzone-sub {
  font-size: 12.5px;
  color: #64748B;
}
.lm-btn-select-file {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lm-btn-select-file:hover {
  background: #F1F5F9;
}

.lm-btn-draft-save {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569 !important;
  border-radius: 12px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
}
.lm-btn-draft-save:hover {
  background: #F8FAFC;
}

.lm-btn-submit-notice {
  background: var(--lm-primary);
  color: #FFFFFF !important;
  border-radius: 12px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(49, 87, 213, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.lm-btn-submit-notice:hover {
  background: var(--lm-primary-strong);
  transform: translateY(-2px);
}

@media(max-width: 991px) {
  .lm-manage-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-manage-study-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .lm-study-card-right {
    width: 100%;
    flex-direction: row;
  }
}

@media(max-width: 767px) {
  .lm-manage-bento-grid {
    grid-template-columns: 1fr;
  }
  .lm-study-details-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lm-study-card-right {
    flex-direction: column;
  }
  .lm-study-form-card {
    padding: 24px 20px;
  }
}

/* ========================================================
   Admin Pages Styles (Image 1 & Image 2 Precision Alignment)
   ======================================================== */

/* --- 1. Global Shell Overrides for Admin Views --- */
body:has(.lm-admin-ops-wrapper) .lm-header,
body:has(.lm-admin-ops-wrapper) .lm-demo-banner,
body:has(.lm-admin-ops-wrapper) .lm-footer,
body:has(.lm-admin-ops-wrapper) .lm-skip,
body:has(.lm-admin-login-content) .lm-header,
body:has(.lm-admin-login-content) .lm-demo-banner,
body:has(.lm-admin-login-content) .lm-footer,
body:has(.lm-admin-login-content) .lm-skip {
  display: none !important;
}

body:has(.lm-admin-ops-wrapper) {
  background: #EFEFEA !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.lm-admin-ops-wrapper) .lm-main {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- 2. Admin Login (Image 1 Reference) --- */
body:has(.lm-admin-login-content) {
  background: radial-gradient(circle at 50% 20%, #1e2638 0%, #0d111b 100%) !important;
  min-height: 100vh;
}

body:has(.lm-admin-login-content) .lm-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 16px !important;
}

body:has(.lm-admin-login-content) .lm-auth-wrapper {
  max-width: 440px;
  width: 100%;
  margin: auto;
}

body:has(.lm-admin-login-content) .lm-auth-brand-top,
body:has(.lm-admin-login-content) .lm-auth-footer {
  display: none !important;
}

.lm-card.lm-auth-card.lm-login:has(.lm-admin-login-content) {
  background: #FFFFFF !important;
  border-radius: 28px !important;
  padding: 42px 34px 34px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45) !important;
  border: none !important;
}

/* 4-Dots Brand Logo */
.lm-ops-4dots {
  display: grid;
  grid-template-columns: repeat(2, 14px);
  gap: 6px;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}
.lm-ops-4dots span {
  width: 14px;
  height: 14px;
  border-radius: 5px;
}
.lm-ops-4dots .dot-purple, .dot-purple { background: #6366F1 !important; }
.lm-ops-4dots .dot-lime, .dot-lime { background: #A3E635 !important; }
.lm-ops-4dots .dot-sky, .dot-sky { background: #38BDF8 !important; }
.lm-ops-4dots .dot-coral, .dot-coral { background: #F87171 !important; }

.lm-ops-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #4F46E5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.lm-ops-login-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #1E293B;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.lm-ops-login-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 24px;
  word-break: keep-all;
}

.lm-ops-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.lm-ops-input-group {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lm-ops-input-group:focus-within {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.lm-ops-input {
  border: none !important;
  box-shadow: none !important;
  font-size: 14.5px;
  padding: 12px 14px;
  color: #1E293B;
  background: transparent !important;
}

.lm-ops-input-icon {
  background: transparent !important;
  border: none !important;
  color: #64748B;
  padding-right: 14px;
  font-size: 16px;
}

.lm-btn-ops-submit {
  background: #5B51D8 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px !important;
  box-shadow: 0 6px 20px rgba(91, 81, 216, 0.35);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.lm-btn-ops-submit:hover {
  background: #4F43D0 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91, 81, 216, 0.45);
}

.lm-ops-security-box {
  background: #F1F5F9;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.lm-ops-shield-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.lm-ops-security-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 2px;
}

.lm-ops-security-desc {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.45;
  word-break: keep-all;
}

.lm-ops-back-link {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.lm-ops-back-link:hover {
  color: #1E293B;
  text-decoration: underline;
}

/* --- 3. Admin OPS Console Layout (Image 2 Reference) --- */
.lm-admin-ops-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #EFEFEA;
  font-family: var(--font-ui);
}

/* Top Ops Navbar */
.lm-ops-navbar {
  background: #EBF1F5;
  border-bottom: 1px solid #D0D7DE;
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1020;
  gap: 16px;
}

.lm-ops-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lm-ops-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  color: #0F172A;
  margin-right: 14px;
}

.lm-ops-brand .text-ops-sub {
  color: #475569;
  font-weight: 700;
  margin-left: 3px;
}

.lm-ops-4dots-sm {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 3px;
  width: 17px;
  height: 17px;
}
.lm-ops-4dots-sm span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

/* 6 Category Pills */
.lm-ops-nav-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.lm-btn-ops-cat {
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
}

/* Category Color Palettes Matching Image 2 */
.lm-ops-dropdown:nth-child(1) .lm-btn-ops-cat {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}
.lm-ops-dropdown:nth-child(2) .lm-btn-ops-cat {
  background: #D1FAE5;
  border-color: #A7F3D0;
  color: #065F46;
}
.lm-ops-dropdown:nth-child(3) .lm-btn-ops-cat {
  background: #CFFAFE;
  border-color: #A5F3FC;
  color: #155E75;
}
.lm-ops-dropdown:nth-child(4) .lm-btn-ops-cat {
  background: #FFEDD5;
  border-color: #FED7AA;
  color: #9A3412;
}
.lm-ops-dropdown:nth-child(5) .lm-btn-ops-cat {
  background: #E0E7FF;
  border-color: #C7D2FE;
  color: #3730A3;
}
.lm-ops-dropdown:nth-child(6) .lm-btn-ops-cat {
  background: #F3F4F6;
  border-color: #E5E7EB;
  color: #374151;
}

.lm-btn-ops-cat:hover,
.lm-btn-ops-cat:focus,
.lm-btn-ops-cat.show {
  filter: brightness(0.96);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.lm-ops-dropdown-menu {
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 6px;
  font-size: 13px;
  min-width: 175px;
}

.lm-ops-dropdown-menu .dropdown-item {
  border-radius: 6px;
  padding: 7px 12px;
  font-weight: 600;
  color: #334155;
  transition: background 0.12s;
}

.lm-ops-dropdown-menu .dropdown-item:hover {
  background: #F1F5F9;
  color: #0F172A;
}

/* Nav Right */
.lm-ops-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lm-ops-search-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #D0D7DE;
  border-radius: 6px;
  overflow: hidden;
}

.lm-ops-search-input {
  border: none !important;
  font-size: 12.5px;
  padding: 4px 10px;
  width: 170px;
  background: transparent;
  box-shadow: none !important;
}

.lm-btn-ops-search {
  border: none;
  background: #F1F5F9;
  color: #64748B;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.lm-ops-icon-actions {
  display: flex;
  gap: 4px;
}

.lm-ops-icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #D0D7DE;
  background: #FFFFFF;
  color: #475569;
  font-size: 13px;
  transition: all 0.15s;
}

.lm-ops-icon-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
}

/* Multi-Tab Bar Strip */
.lm-ops-tab-bar {
  background: #E2E8F0;
  border-bottom: 1px solid #CBD5E1;
  padding: 6px 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.lm-ops-tab-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: flex-end;
}
.lm-ops-tab-list::-webkit-scrollbar {
  display: none;
}

.lm-ops-tab-item {
  background: #CBD5E1;
  border: 1px solid #94A3B8;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.lm-ops-tab-item:hover {
  background: #D8DFE9;
  color: #1E293B;
}

.lm-ops-tab-item.active {
  background: #FFFFFF !important;
  border-color: #CBD5E1 #CBD5E1 #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 700;
  margin-bottom: -1px;
  padding-bottom: 7px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.03);
}

.lm-ops-tab-item .tab-close-btn {
  background: transparent;
  border: none;
  padding: 0 2px;
  font-size: 14px;
  line-height: 1;
  color: #94A3B8;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lm-ops-tab-item .tab-close-btn:hover {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
}

.lm-ops-tab-counter {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  padding-bottom: 6px;
  white-space: nowrap;
}

/* Multi-Tab Viewport */
.lm-ops-viewport {
  padding: 18px 20px 32px;
  flex: 1;
}

.lm-ops-view-pane {
  display: none;
}

.lm-ops-view-pane.active {
  display: block;
}

/* Top 5 KPI Metric Cards */
.lm-ops-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.lm-ops-kpi-card {
  border-radius: 14px;
  padding: 18px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 125px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.lm-ops-kpi-card::after {
  content: '';
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.kpi-olive { background: #53683C; }
.kpi-dark-teal { background: #35524B; }
.kpi-ochre { background: #CA9C43; }
.kpi-terracotta { background: #A24835; }

.lm-ops-kpi-card .kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.95;
}

.lm-ops-kpi-card .kpi-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 4px;
}

.lm-ops-kpi-card .kpi-unit {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
}

.lm-ops-kpi-card .kpi-sub {
  font-size: 11.5px;
  opacity: 0.85;
  font-weight: 500;
}

/* Card Base */
.lm-ops-card {
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.lm-ops-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.lm-ops-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0;
}

/* Trend Card (Dark) */
.lm-chart-card {
  background: #283226;
  color: #FFFFFF;
  border: none;
}

.lm-chart-card .lm-ops-card-eyebrow {
  color: #A3E635;
}

.lm-chart-card .lm-ops-card-title {
  color: #FFFFFF;
}

.lm-btn-ops-outline-sm {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.15s ease;
}

.lm-btn-ops-outline-sm:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.lm-ops-trend-chart-area {
  display: flex;
  gap: 12px;
  height: 210px;
  margin-top: 14px;
}

.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  width: 15px;
  padding-bottom: 24px;
}

.chart-plot-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-svg-trend {
  width: 100%;
  height: 180px;
  overflow: visible;
}

.chart-x-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* Donut Card */
.lm-donut-card {
  background: #FCF7EB;
  border: 1px solid #EFE4CC;
  color: #1E293B;
}

.lm-donut-card .lm-ops-card-eyebrow {
  color: #A16207;
}

.lm-ops-donut-center-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-count {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  font-family: var(--font-display);
}

.donut-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}

.lm-donut-legends {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.dot-legend {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.bg-teal { background: #0D9488 !important; }
.bg-amber { background: #D97706 !important; }
.bg-coral { background: #E11D48 !important; }
.bg-red { background: #DC2626 !important; }

/* Data Management (Left Bottom) & Review Queue (Right Bottom) */
.lm-ops-card:has(.lm-data-modules-grid),
.lm-ops-card:has(.lm-review-queue-stack) {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
}

.lm-ops-card:has(.lm-data-modules-grid) .lm-ops-card-eyebrow,
.lm-ops-card:has(.lm-review-queue-stack) .lm-ops-card-eyebrow {
  color: #556B2F;
}

.lm-data-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.module-tile {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}

.module-tile:hover {
  border-color: #CBD5E1;
}

.tile-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
}

.tile-sub {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 1px;
}

.tile-actions {
  display: flex;
  gap: 5px;
}

.tile-btn {
  background: #E2E8F0;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.12s;
}

.tile-btn:hover {
  background: #CBD5E1;
  color: #0F172A;
}

.tile-btn-add {
  background: #4D6539 !important;
  color: #FFFFFF !important;
}

.tile-btn-add:hover {
  background: #3E532D !important;
}

/* Review Queue */
.bg-ochre-light { background: #FEF3C7; }
.text-ochre-dark { color: #92400E; }

.lm-review-queue-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queue-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.queue-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.queue-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EEF2F6;
  color: #475569;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.queue-num.num-green {
  background: #DCFCE7 !important;
  color: #166534 !important;
}

.queue-num.num-red {
  background: #FEE2E2 !important;
  color: #991B1B !important;
}

.queue-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
}

.queue-desc {
  font-size: 11.5px;
  color: #64748B;
}

.queue-count {
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Ops Footer */
.lm-ops-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid #1F2937;
  margin-top: auto;
}

.badge-status-ready {
  color: #34D399;
  font-weight: 600;
  margin-right: 12px;
}

.badge-tech {
  background: #1F2937;
  color: #E5E7EB;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  margin-left: 6px;
}

/* Dynamic Tab Content Styling */
.lm-ops-subview {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
}

.lm-subview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.lm-subview-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lm-subview-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #E2E8F0;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.lm-subview-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.lm-subview-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.lm-subview-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lm-subview-filter-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.lm-ops-table-wrap {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.lm-ops-table {
  width: 100%;
  margin-bottom: 0;
  font-size: 13px;
}

.lm-ops-table thead th {
  background: #F8FAFC;
  color: #475569;
  font-weight: 700;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 16px;
  white-space: nowrap;
}

.lm-ops-table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
}

.lm-ops-table tbody tr:hover {
  background: #F8FAFC;
}

.lm-ops-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

@media(max-width: 1200px) {
  .lm-ops-kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .lm-data-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .lm-ops-kpi-row {
    grid-template-columns: 1fr;
  }
  .lm-data-modules-grid {
    grid-template-columns: 1fr;
  }
  .lm-ops-nav-categories {
    display: none;
  }
}




/* Posting forms/admin only: local Bootstrap chevron works with img-src 'self'. */
#research-form .form-select,
#pane-studies-notices .form-select {
  --bs-form-select-bg-img: url('/static/icons/select-chevron.svg');
  background-image: var(--bs-form-select-bg-img);
}

/* ==========================================================================
   EXPLORE PAGE: PROMOTIONAL / SPONSORED BANNER SLIDER
   - Single wide banner above "나에게 맞는 연구 찾기"
   - Pastel-toned color palette
   - Seamless infinite loop, navigation, accessibility
   ========================================================================== */

.lm-banner-slider-wrap {
  width: 100%;
  position: relative;
}

.lm-banner-carousel {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.lm-banner-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 16px;
  outline: none;
}

.lm-banner-viewport:focus-visible {
  outline: 2px solid var(--lm-primary, #0D9488);
  outline-offset: -2px;
}

.lm-banner-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.lm-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.lm-slide-inner {
  padding: 28px 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Top Header Row */
.lm-slide-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.lm-slide-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lm-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.lm-badge-sub-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.lm-slide-corner-mark {
  font-family: var(--lm-font-heading, "Gmarket Sans", Pretendard, sans-serif);
  font-size: 0.925rem;
  font-weight: 800;
  opacity: 0.45;
  letter-spacing: 0.05em;
}

/* Middle Content Body */
.lm-slide-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.lm-slide-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lm-slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lm-slide-desc {
  font-size: 0.925rem;
  margin: 0;
  line-height: 1.5;
  max-width: 65%;
  word-break: keep-all;
}

/* Bottom Footer CTA */
.lm-slide-footer {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.lm-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lm-slide-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.lm-slide-cta:hover i {
  transform: translate(2px, -2px);
}

/* Watermark Accent */
.lm-slide-watermark {
  position: absolute;
  right: 40px;
  bottom: 10px;
  font-size: 6.5rem;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

/* Pastel Themes */
/* 1. Mint Theme (Service Notice) */
.lm-banner-slide.theme-mint {
  background: linear-gradient(135deg, #ECFDF5 0%, #E6F4EA 50%, #D1FAE5 100%);
  border-color: #A7F3D0;
  color: #064E3B;
}

.lm-banner-slide.theme-mint .lm-slide-eyebrow {
  color: #047857;
}

.lm-banner-slide.theme-mint .lm-slide-title {
  color: #064E3B;
}

.lm-banner-slide.theme-mint .lm-slide-desc {
  color: #1F2937;
}

.lm-banner-slide.theme-mint .lm-badge-pill.is-public {
  background: #064E3B;
  color: #FFFFFF;
}

.lm-banner-slide.theme-mint .lm-slide-cta {
  background: #047857;
  color: #FFFFFF;
}

.lm-banner-slide.theme-mint .lm-slide-cta:hover {
  background: #065F46;
  color: #FFFFFF;
}

.lm-banner-slide.theme-mint .lm-slide-corner-mark,
.lm-banner-slide.theme-mint .lm-slide-watermark {
  color: #047857;
}

/* 2. Cream Theme (Sponsored Search Promo) */
.lm-banner-slide.theme-cream {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
  border-color: #FCD34D;
  color: #78350F;
}

.lm-banner-slide.theme-cream .lm-slide-eyebrow {
  color: #92400E;
}

.lm-banner-slide.theme-cream .lm-slide-title {
  color: #78350F;
}

.lm-banner-slide.theme-cream .lm-slide-desc {
  color: #1F2937;
}

.lm-banner-slide.theme-cream .lm-badge-pill.is-sponsored {
  background: #78350F;
  color: #FFFFFF;
}

.lm-banner-slide.theme-cream .lm-badge-sub-label {
  color: #92400E;
}

.lm-banner-slide.theme-cream .lm-slide-cta {
  background: #78350F;
  color: #FFFFFF;
}

.lm-banner-slide.theme-cream .lm-slide-cta:hover {
  background: #451A03;
  color: #FFFFFF;
}

.lm-banner-slide.theme-cream .lm-slide-corner-mark,
.lm-banner-slide.theme-cream .lm-slide-watermark {
  color: #D97706;
}

/* 3. Lavender Theme (Sponsored Researcher Recruitment) */
.lm-banner-slide.theme-lavender {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 50%, #DDD6FE 100%);
  border-color: #C4B5FD;
  color: #4C1D95;
}

.lm-banner-slide.theme-lavender .lm-slide-eyebrow {
  color: #6D28D9;
}

.lm-banner-slide.theme-lavender .lm-slide-title {
  color: #4C1D95;
}

.lm-banner-slide.theme-lavender .lm-slide-desc {
  color: #1F2937;
}

.lm-banner-slide.theme-lavender .lm-badge-pill.is-sponsored {
  background: #4C1D95;
  color: #FFFFFF;
}

.lm-banner-slide.theme-lavender .lm-badge-sub-label {
  color: #6D28D9;
}

.lm-banner-slide.theme-lavender .lm-slide-cta {
  background: #6D28D9;
  color: #FFFFFF;
}

.lm-banner-slide.theme-lavender .lm-slide-cta:hover {
  background: #5B21B6;
  color: #FFFFFF;
}

.lm-banner-slide.theme-lavender .lm-slide-corner-mark,
.lm-banner-slide.theme-lavender .lm-slide-watermark {
  color: #7C3AED;
}

/* Unified Controls: Bottom-Right Controls Bar */
.lm-banner-controls-bar {
  position: absolute;
  bottom: 20px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.lm-banner-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lm-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  border: none;
  background: rgba(0, 0, 0, 0.22);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lm-banner-dot.is-active {
  width: 20px;
  background: #1E293B;
}

.lm-banner-btn-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 3px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  gap: 3px;
}

.lm-banner-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.lm-banner-nav-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0F172A;
}

.lm-banner-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  padding: 0 6px;
  letter-spacing: 0.03em;
  user-select: none;
  display: inline-flex;
  align-items: center;
}

.lm-banner-counter .curr-num {
  font-weight: 800;
  color: #0F172A;
}

/* Responsive & Mobile */
@media (max-width: 768px) {
  .lm-slide-inner {
    padding: 22px 20px;
    min-height: 195px;
  }

  .lm-slide-title {
    font-size: 1.15rem;
  }

  .lm-slide-desc {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .lm-slide-watermark {
    font-size: 4.5rem;
    right: 18px;
    bottom: 10px;
    opacity: 0.1;
  }

  .lm-banner-controls-bar {
    right: 18px;
    bottom: 14px;
    gap: 8px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .lm-banner-track {
    transition: none !important;
  }
  .lm-banner-dot {
    transition: none !important;
  }
  .lm-slide-cta,
  .lm-banner-nav-btn {
    transition: none !important;
  }
}

/* ==========================================================================
   FOOTER: POLICY NAVIGATION & ADAPTIVE 4-COLUMN GRID
   ========================================================================== */
.lm-footer-grid {
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.lm-footer-privacy-link {
  font-weight: 700 !important;
  color: var(--lm-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .lm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 575px) {
  .lm-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   POLICY & TERMS DOCUMENT PAGES (/terms, /privacy)
   - Centered paper document card
   - High readability typography and line-height
   - Key summary notice box
   - Clear article headers and responsive tables
   - Floating back-to-top button
   ========================================================================== */

.lm-policy-wrapper {
  padding: 32px 0 72px;
  min-height: 70vh;
}

.lm-policy-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--lm-surface, #ffffff);
  border: 1px solid var(--lm-border, #DFE3E8);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(23, 25, 35, 0.05);
  padding: 52px 56px;
  box-sizing: border-box;
}

.lm-policy-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lm-border, #DFE3E8);
}

.lm-policy-meta-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lm-primary, #3157D5);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lm-policy-meta-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
}

.lm-policy-title {
  font-family: var(--lm-font-heading, "Gmarket Sans", Pretendard, sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--lm-ink, #171923);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.lm-policy-subtitle {
  font-size: 14px;
  color: var(--lm-muted, #667085);
  margin: 0;
}

.lm-policy-notice-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--lm-primary, #3157D5);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}

.lm-policy-notice-box strong {
  color: var(--lm-ink, #171923);
}

.lm-policy-body {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  word-break: keep-all;
}

.lm-policy-section {
  margin-bottom: 36px;
}

.lm-policy-section-title {
  font-family: var(--lm-font-heading, "Gmarket Sans", Pretendard, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--lm-ink, #171923);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
  letter-spacing: -0.01em;
}

.lm-policy-list {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.lm-policy-list > li {
  margin-bottom: 8px;
}

.lm-policy-sublist {
  padding-left: 20px;
  margin: 6px 0 8px;
  list-style-type: circle;
}

.lm-policy-sublist > li {
  margin-bottom: 4px;
}

.lm-policy-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.lm-policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.lm-policy-table th {
  background: #F8FAFC;
  font-weight: 700;
  color: #1E293B;
  padding: 12px 14px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
  white-space: nowrap;
}

.lm-policy-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  color: #475569;
  vertical-align: top;
  line-height: 1.6;
}

.lm-policy-table tr:last-child td {
  border-bottom: none;
}

.lm-policy-highlight-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 600;
}

.lm-policy-pending-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 12px;
  font-weight: 600;
}

/* Floating Back-to-Top Button */
.lm-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1E293B;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  border: none;
  cursor: pointer;
  z-index: 99;
  transition: all 0.25s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  text-decoration: none;
}

.lm-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lm-back-to-top:hover {
  background: #0F172A;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.lm-back-to-top i {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .lm-policy-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
  .lm-policy-title {
    font-size: 24px;
  }
  .lm-policy-section-title {
    font-size: 16.5px;
  }
  .lm-policy-body {
    font-size: 14.5px;
  }
  .lm-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}


/* Brand SVG Dark / Light Toggle */

body.lm-landing-body .lm-header:not(.is-scrolled) .lm-brand-img-light,
body:has(.lm-cosmic-hero) .lm-header:not(.is-scrolled) .lm-brand-img-light {
  display: none !important;
}
body.lm-landing-body .lm-header:not(.is-scrolled) .lm-brand-img-dark,
body:has(.lm-cosmic-hero) .lm-header:not(.is-scrolled) .lm-brand-img-dark {
  display: block !important;
}


body.lm-landing-body .lm-header.is-scrolled .lm-brand-img-light,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-brand-img-light {
  display: block !important;
}
body.lm-landing-body .lm-header.is-scrolled .lm-brand-img-dark,
body:has(.lm-cosmic-hero) .lm-header.is-scrolled .lm-brand-img-dark {
  display: none !important;
}


.lm-auth-brand-img {
  display: inline-block;
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}
@media (max-width: 575px) {
  .lm-auth-brand-img {
    height: 32px;
    max-width: 145px;
  }
}
