/* ==========================================================================
   Medrara Free Lab Tools — Interactive Clinical Desk & Design System
   High-contrast, intuitive, touch-friendly, mobile-first design for laboratory specialists.
   ========================================================================== */

:root {
  --lt-blue: #0055b8;
  --lt-blue-hover: #004492;
  --lt-blue-light: #eff6ff;
  --lt-cyan: #0284c7;
  --lt-ink: #0f172a;
  --lt-slate-700: #334155;
  --lt-slate-600: #475569;
  --lt-slate-500: #64748b;
  --lt-slate-200: #e2e8f0;
  --lt-slate-100: #f1f5f9;
  --lt-slate-50: #f8fafc;
  --lt-ok: #059669;
  --lt-ok-bg: #ecfdf5;
  --lt-ok-border: #6ee7b7;
  --lt-warn: #b45309;
  --lt-warn-bg: #fffbeb;
  --lt-warn-border: #fcd34d;
  --lt-danger: #b91c1c;
  --lt-danger-bg: #fef2f2;
  --lt-danger-border: #fca5a5;

  --tube-edta: #7c3aed;
  --tube-citrate: #0284c7;
  --tube-sst: #eab308;
  --tube-red: #ef4444;
  --tube-heparin: #10b981;
  --tube-fluoride: #64748b;
  --tube-black: #1e293b;
}

/* Base Wrapper */
.lt-wrap {
  color: var(--lt-ink);
  font-family: inherit;
  line-height: 1.55;
}

/* Hero Section */
.lt-hero {
  position: relative;
  background: radial-gradient(100% 100% at 50% 0%, #e0f2fe 0%, #f0f7ff 50%, #ffffff 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--lt-slate-200);
}

.lt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 85, 184, 0.08);
  color: var(--lt-blue);
  border: 1px solid rgba(0, 85, 184, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.lt-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--lt-ink);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.lt-hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--lt-slate-600);
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

/* Big Search Bar */
.lt-search-box {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 85, 184, 0.08);
  transition: all 0.25s ease;
  max-width: 44rem;
}

.lt-search-box:focus-within {
  border-color: var(--lt-blue);
  box-shadow: 0 0 0 4px rgba(0, 85, 184, 0.15), 0 12px 30px -5px rgba(0, 85, 184, 0.12);
}

.lt-search-box .lt-search-icon {
  font-size: 1.25rem;
  color: var(--lt-slate-400);
  padding-left: 12px;
  padding-right: 4px;
}

[dir="rtl"] .lt-search-box .lt-search-icon {
  padding-left: 4px;
  padding-right: 12px;
}

.lt-search-box input[type="search"] {
  flex: 1;
  border: none !important;
  outline: none !important;
  font-size: 1.15rem !important;
  color: var(--lt-ink);
  background: transparent;
  padding: 8px 4px !important;
  min-height: auto !important;
}

.lt-search-box .lt-btn {
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  min-height: 2.75rem;
}

/* Quick Search Chips */
.lt-quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  max-width: 48rem;
}

.lt-quick-chips-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lt-slate-500);
  margin-right: 4px;
}

[dir="rtl"] .lt-quick-chips-label {
  margin-right: 0;
  margin-left: 4px;
}

.lt-search-chip {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--lt-slate-200);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lt-slate-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lt-search-chip:hover {
  background: var(--lt-blue-light);
  border-color: #93c5fd;
  color: var(--lt-blue);
  transform: translateY(-1px);
}

.lt-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.lt-chip-dot.dot-purple {
  background: var(--tube-edta);
}

.lt-chip-dot.dot-blue {
  background: var(--tube-citrate);
}

.lt-chip-dot.dot-gold {
  background: var(--tube-sst);
}

.lt-chip-dot.dot-red {
  background: var(--tube-red);
}

.lt-chip-dot.dot-green {
  background: var(--tube-heparin);
}

.lt-chip-dot.dot-grey {
  background: var(--tube-fluoride);
}

/* Buttons */
.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.lt-btn-primary {
  background: linear-gradient(135deg, var(--lt-blue) 0%, #0284c7 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 85, 184, 0.25);
}

.lt-btn-primary:hover {
  background: linear-gradient(135deg, var(--lt-blue-hover) 0%, #0369a1 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 85, 184, 0.35);
}

.lt-btn-ghost {
  background: #ffffff;
  color: var(--lt-slate-700) !important;
  border: 1.5px solid var(--lt-slate-200);
}

.lt-btn-ghost:hover {
  background: var(--lt-slate-50);
  border-color: #94a3b8;
  color: var(--lt-ink) !important;
}

/* ==========================================================================
   Interactive Clinical Desk / Station Cockpit
   ========================================================================== */
.lt-station-wrap {
  background: #ffffff;
  border: 1.5px solid rgba(0, 85, 184, 0.15);
  border-radius: 24px;
  padding: 24px;
  margin-top: -2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 45px -10px rgba(0, 85, 184, 0.1), 0 2px 10px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 5;
}

.lt-station-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--lt-slate-200);
  margin-bottom: 20px;
}

.lt-station-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lt-station-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lt-blue-light);
  color: var(--lt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.lt-station-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lt-ink);
}

.lt-station-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--lt-slate-500);
}

/* Station Nav Tabs */
.lt-station-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--lt-slate-100);
  padding: 6px;
  border-radius: 14px;
}

.lt-station-tab {
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--lt-slate-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.lt-station-tab:hover {
  color: var(--lt-blue);
}

.lt-station-tab.active {
  background: #ffffff;
  color: var(--lt-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Station Panels */
.lt-station-panel {
  display: none;
}

.lt-station-panel.active {
  display: block;
  animation: ltFadeIn 0.25s ease-out;
}

@keyframes ltFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Panel 1: Interactive Tube Assistant
   ========================================================================== */
.lt-tube-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.lt-tube-chip {
  appearance: none;
  background: var(--lt-slate-50);
  border: 2px solid var(--lt-slate-200);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.lt-tube-chip:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 85, 184, 0.08);
}

.lt-tube-chip.active {
  background: #ffffff;
  border-color: var(--lt-blue);
  box-shadow: 0 0 0 3px rgba(0, 85, 184, 0.15), 0 8px 20px rgba(0, 85, 184, 0.12);
}

.lt-cap-indicator {
  width: 44px;
  height: 38px;
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
}

.lt-cap-indicator::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 22px;
  height: 12px;
  background: rgba(226, 232, 240, 0.85);
  border-radius: 0 0 6px 6px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.lt-cap-indicator.cap-edta {
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
}

.lt-cap-indicator.cap-citrate {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

.lt-cap-indicator.cap-sst {
  background: linear-gradient(180deg, #fde047 0%, #ca8a04 100%);
  color: #713f12;
}

.lt-cap-indicator.cap-red {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
}

.lt-cap-indicator.cap-heparin {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
}

.lt-cap-indicator.cap-fluoride {
  background: linear-gradient(180deg, #94a3b8 0%, #475569 100%);
}

.lt-tube-chip-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lt-ink);
  line-height: 1.2;
}

.lt-tube-chip-sub {
  font-size: 0.75rem;
  color: var(--lt-slate-500);
}

/* Active Tube Profile Card */
.lt-tube-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--lt-slate-50) 100%);
  border: 1.5px solid var(--lt-slate-200);
  border-radius: 20px;
  padding: 24px;
}

.lt-tube-card.active {
  display: block !important;
  animation: ltFadeIn 0.25s ease-out;
}

.lt-tube-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.lt-tube-headline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lt-tube-large-cap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lt-tube-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lt-ink);
}

.lt-tube-specimen {
  margin: 0;
  font-size: 0.925rem;
  color: var(--lt-slate-600);
}

.lt-tube-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lt-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lt-pill-badge.badge-inversions {
  background: #ede9fe;
  color: #6d28d9;
}

.lt-pill-badge.badge-specimen {
  background: #e0f2fe;
  color: #0369a1;
}

.lt-tube-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.lt-detail-box {
  background: #ffffff;
  border: 1px solid var(--lt-slate-200);
  border-radius: 14px;
  padding: 16px;
}

.lt-detail-box h4 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lt-slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lt-detail-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lt-ink);
  font-weight: 500;
}

.lt-common-tests-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.lt-test-link-chip {
  display: inline-block;
  background: var(--lt-slate-100);
  color: var(--lt-blue);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.lt-test-link-chip:hover {
  background: var(--lt-blue-light);
  color: var(--lt-blue-hover);
}

.lt-alert-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #92400e;
  font-size: 0.95rem;
}

.lt-alert-box i {
  font-size: 1.25rem;
  color: #d97706;
  margin-top: 2px;
}

/* ==========================================================================
   Panel 2: Interactive Panic / Critical Value Monitor
   ========================================================================== */
.lt-panic-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .lt-panic-dashboard {
    grid-template-columns: 1fr 1.25fr;
  }
}

.lt-panic-controls {
  background: var(--lt-slate-50);
  border: 1.5px solid var(--lt-slate-200);
  border-radius: 18px;
  padding: 20px;
}

.lt-form-group {
  margin-bottom: 16px;
}

.lt-form-group label {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--lt-ink);
  margin-bottom: 6px;
}

.lt-select-input,
.lt-number-input {
  width: 100%;
  font-size: 1.1rem !important;
  font-weight: 600;
  padding: 10px 14px !important;
  border: 2px solid var(--lt-slate-200) !important;
  border-radius: 12px !important;
  background: #ffffff;
  color: var(--lt-ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.lt-select-input:focus,
.lt-number-input:focus {
  border-color: var(--lt-blue) !important;
}

.lt-input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.lt-input-with-unit input {
  padding-right: 70px !important;
}

[dir="rtl"] .lt-input-with-unit input {
  padding-right: 14px !important;
  padding-left: 70px !important;
}

.lt-input-unit {
  position: absolute;
  right: 14px;
  color: var(--lt-slate-500);
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
}

[dir="rtl"] .lt-input-unit {
  right: auto;
  left: 14px;
}

.lt-preset-group {
  margin-top: 14px;
}

.lt-preset-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lt-slate-500);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.lt-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lt-pill-btn {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--lt-slate-200);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--lt-slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lt-pill-btn:hover {
  background: var(--lt-blue-light);
  border-color: #93c5fd;
  color: var(--lt-blue);
}

/* Alarm Card */
.lt-alarm-card {
  border-radius: 18px;
  padding: 24px;
  border: 2px solid var(--lt-slate-200);
  background: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lt-alarm-card.state-idle {
  background: var(--lt-slate-50);
  border-color: var(--lt-slate-200);
}

.lt-alarm-card.state-safe {
  background: var(--lt-ok-bg);
  border-color: var(--lt-ok-border);
  color: #064e3b;
}

.lt-alarm-card.state-warning {
  background: var(--lt-warn-bg);
  border-color: var(--lt-warn-border);
  color: #78350f;
}

.lt-alarm-card.state-panic {
  background: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.lt-alarm-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lt-beacon-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: ltBeaconPulseAnim 1.4s infinite;
  display: inline-block;
}

@keyframes ltBeaconPulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.lt-alarm-desc {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.lt-action-protocol-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}

.lt-action-protocol-box h5 {
  margin: 0 0 10px;
  font-size: 0.925rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lt-action-protocol-box ol {
  margin: 0;
  padding-left: 20px;
  font-size: 0.925rem;
  line-height: 1.6;
}

[dir="rtl"] .lt-action-protocol-box ol {
  padding-left: 0;
  padding-right: 20px;
}

/* ==========================================================================
   Panel 3: Instant Mini-Calculators
   ========================================================================== */
.lt-mini-calc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lt-mini-calc-tab {
  appearance: none;
  background: var(--lt-slate-100);
  border: 1.5px solid var(--lt-slate-200);
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lt-slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lt-mini-calc-tab.active {
  background: var(--lt-blue);
  border-color: var(--lt-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 85, 184, 0.2);
}

.lt-calc-grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.lt-calc-output-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 2px solid var(--lt-ok-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.lt-calc-output-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lt-slate-500);
  margin-bottom: 6px;
}

.lt-calc-output-val {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--lt-ok);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.lt-badge-stage {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.stage-g1 {
  background: #dcfce7;
  color: #15803d;
}

.stage-g2 {
  background: #e0f2fe;
  color: #0369a1;
}

.stage-g3a {
  background: #fef3c7;
  color: #b45309;
}

.stage-g3b {
  background: #ffedd5;
  color: #c2410c;
}

.stage-g4 {
  background: #fee2e2;
  color: #b91c1c;
}

.stage-g5 {
  background: #7f1d1d;
  color: #ffffff;
}

/* ==========================================================================
   General Tools Catalog Grid (4 Pillars)
   ========================================================================== */
.lt-catalog-section {
  padding: 2rem 0 3.5rem;
}

.lt-section-title-wrap {
  margin-bottom: 2rem;
  text-align: center;
}

.lt-section-title-wrap h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--lt-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.lt-section-title-wrap p {
  color: var(--lt-slate-600);
  font-size: 1.05rem;
}

.lt-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .lt-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .lt-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lt-pillar-card {
  background: #ffffff;
  border: 1.5px solid var(--lt-slate-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.lt-pillar-card:hover {
  border-color: #93c5fd;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 85, 184, 0.1);
}

.lt-pillar-header {
  padding: 20px 20px 16px;
  border-bottom: 1.5px solid var(--lt-slate-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.lt-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.icon-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.icon-emerald {
  background: #dcfce7;
  color: #059669;
}

.icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.lt-pillar-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lt-ink);
}

.lt-pillar-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lt-slate-500);
  display: block;
}

.lt-pillar-list {
  padding: 12px 16px;
  list-style: none;
  margin: 0;
  flex: 1;
}

.lt-pillar-list li {
  margin-bottom: 6px;
}

.lt-pillar-list li:last-child {
  margin-bottom: 0;
}

.lt-pillar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--lt-ink);
  font-size: 0.925rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.lt-pillar-item:hover {
  background: var(--lt-blue-light);
  color: var(--lt-blue);
  transform: translateX(3px);
}

[dir="rtl"] .lt-pillar-item:hover {
  transform: translateX(-3px);
}

.lt-pillar-item i.fa-chevron-right,
.lt-pillar-item i.fa-chevron-left {
  font-size: 0.75rem;
  color: var(--lt-slate-400);
  transition: transform 0.2s ease;
}

.lt-pillar-item:hover i {
  color: var(--lt-blue);
}

/* Medrara LIS Promo Banner */
.lt-lis-banner {
  background: linear-gradient(135deg, #0b132b 0%, #0055b8 100%);
  border-radius: 24px;
  padding: 32px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 3rem;
  box-shadow: 0 16px 40px rgba(0, 85, 184, 0.25);
}

.lt-lis-banner h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.lt-lis-banner p {
  margin: 0;
  font-size: 1.05rem;
  color: #e0f2fe;
  max-width: 44rem;
}

.lt-lis-banner .btn-banner {
  background: #ffffff;
  color: var(--lt-blue) !important;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lt-lis-banner .btn-banner:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Disclaimer Callout */
.lt-disclaimer {
  background: #f8fafc;
  border: 1px solid var(--lt-slate-200);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--lt-slate-600);
  font-size: 0.88rem;
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lt-disclaimer i {
  color: var(--lt-slate-400);
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Live Search Cards */
.lt-card-list {
  display: grid;
  gap: 12px;
}

.lt-card {
  display: block;
  background: #ffffff;
  border: 1.5px solid var(--lt-slate-200);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s ease;
}

.lt-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(0, 85, 184, 0.08);
  transform: translateY(-2px);
}

.lt-card h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--lt-ink);
  font-weight: 700;
}

.lt-card p {
  margin: 0;
  color: var(--lt-slate-600);
  font-size: 0.95rem;
}

.lt-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lt-blue-light);
  color: var(--lt-blue);
  margin-left: 6px;
}

[dir="rtl"] .lt-tag {
  margin-left: 0;
  margin-right: 6px;
}

/* Feedback & Suggestions */
.lt-feedback {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lt-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lt-feedback-prompt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lt-ink);
}

.lt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive tweaks */
/* ==========================================================================
   Scientific Reference & Formula Accordion Controls (<details> / <summary>)
   ========================================================================== */
.lt-ref-accordion {
  margin-top: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.lt-ref-accordion[open] {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(0, 85, 184, 0.08);
}

.lt-ref-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lt-blue);
  background: #f0f7ff;
  user-select: none;
  list-style: none;
  transition: background 0.2s ease;
}

.lt-ref-summary::-webkit-details-marker {
  display: none;
}

.lt-ref-summary:hover {
  background: #e0f2fe;
}

.lt-ref-summary-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-ref-arrow {
  font-size: 0.75rem;
  color: var(--lt-slate-400);
  transition: transform 0.25s ease;
}

.lt-ref-accordion[open] .lt-ref-arrow {
  transform: rotate(180deg);
  color: var(--lt-blue);
}

.lt-ref-content {
  padding: 14px 16px;
  border-top: 1px solid #e0f2fe;
  background: #ffffff;
  font-size: 0.88rem;
  color: var(--lt-slate-700);
  line-height: 1.6;
}

.lt-ref-formula {
  background: #f8fafc;
  border: 1px solid var(--lt-slate-200);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--lt-ink);
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .lt-ref-formula {
  text-align: left;
  direction: ltr;
}

.lt-ref-source-box {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.825rem;
  color: #166534;
}

.lt-ref-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lt-blue) !important;
  font-weight: 700;
  font-size: 0.825rem;
  text-decoration: underline !important;
  margin-top: 4px;
}

.lt-ref-link:hover {
  color: var(--lt-blue-hover) !important;
}

.lt-ref-note {
  font-size: 0.78rem;
  color: var(--lt-slate-500);
  margin-top: 8px;
  display: block;
}

@media (max-width: 767.98px) {
  .lt-station-wrap {
    padding: 16px;
    margin-top: -1rem;
    border-radius: 18px;
  }

  .lt-station-nav {
    width: 100%;
  }

  .lt-station-tab {
    flex: 1 1 45%;
    font-size: 0.85rem;
    padding: 8px 10px;
    justify-content: center;
  }

  .lt-tube-shelf {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .lt-tube-chip {
    padding: 10px 6px;
  }

  .lt-cap-indicator {
    width: 36px;
    height: 30px;
  }

  .lt-tube-chip-name {
    font-size: 0.825rem;
  }
}