/* ============================================================
   PREGNANCY DUE DATE CALCULATOR — pregnancy-due-date.css
   Maternity-themed glassmorphism styling
   Toolspot by Tradesala
   ============================================================ */

:root {
  --maternity-rose: #ec4899;
  --maternity-rose2: #f43f5e;
  --maternity-purple: #8b5cf6;
  --maternity-glow: rgba(236, 72, 153, 0.3);
  --maternity-soft: rgba(236, 72, 153, 0.08);
}

/* Unit & Parameter Toggles (Glassmorphic) */
#method-mode-toggle.mode-toggle {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

#method-mode-toggle.mode-toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(33.333% - 6px);
  /* Translucent frosted glass effect using maternity rose */
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.06) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 8px;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), background 0.28s, border-color 0.28s;
  z-index: 0;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

#method-mode-toggle.mode-toggle.active-lmp::before {
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.06) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

#method-mode-toggle.mode-toggle.active-conception::before {
  transform: translateX(calc(100% + 4px));
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

#method-mode-toggle.mode-toggle.active-ivf::before {
  transform: translateX(calc(200% + 8px));
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

#method-mode-toggle .mode-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  background: transparent !important;
  border: none !important;
  padding: 10px 16px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: none !important;
  transition: color 0.28s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#method-mode-toggle .mode-btn:hover {
  color: var(--text);
}

#method-mode-toggle #method-lmp-btn.active {
  color: #f472b6 !important;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

#method-mode-toggle #method-conception-btn.active {
  color: #c4b5fd !important;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

#method-mode-toggle #method-ivf-btn.active {
  color: #a7f3d0 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

#method-mode-toggle .mode-btn:active {
  transform: scale(0.97);
}

/* Light mode overrides */
body.light #method-mode-toggle.mode-toggle {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light #method-mode-toggle.mode-toggle::before {
  background: none;
  box-shadow: none;
  border-color: transparent;
}

body.light #method-mode-toggle.mode-toggle.active-lmp::before {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0.04) 100%);
  border-color: rgba(236, 72, 153, 0.25);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

body.light #method-mode-toggle.mode-toggle.active-conception::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

body.light #method-mode-toggle.mode-toggle.active-ivf::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

body.light #method-mode-toggle .mode-btn {
  color: #556b82;
}

body.light #method-mode-toggle .mode-btn:hover {
  color: #0f172a;
}

body.light #method-mode-toggle #method-lmp-btn.active {
  color: #db2777 !important;
  text-shadow: none;
}

body.light #method-mode-toggle #method-conception-btn.active {
  color: #7c3aed !important;
  text-shadow: none;
}

body.light #method-mode-toggle #method-ivf-btn.active {
  color: #059669 !important;
  text-shadow: none;
}

/* Custom Datepicker & Glassmorphic Calendar Styles */
.tool-left {
  position: relative;
  z-index: 5;
}

.tool-left .panel {
  overflow: visible !important;
}

.datepicker-container {
  position: relative;
  overflow: visible !important;
}

.datepicker-input {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 16px !important;
  padding-right: 48px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.light .datepicker-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.custom-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  gap: 12px;
  user-select: none;
}

.custom-calendar.open {
  display: flex;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  font-size: 14px;
}

.cal-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.cal-nav-btn:hover {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.3);
}

.cal-month-year {
  letter-spacing: 0.5px;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-day:hover:not(.empty) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.cal-day.active {
  background: var(--maternity-rose, #ec4899) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.cal-day.empty {
  cursor: default;
}

.cal-day.today {
  border: 1px solid var(--maternity-rose, #ec4899);
  color: #f472b6;
}

/* Light mode support */
body.light .custom-calendar {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light .cal-header {
  color: #0f172a;
}

body.light .cal-nav-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
  color: #475569;
}

body.light .cal-nav-btn:hover {
  background: rgba(236, 72, 153, 0.08);
  color: #db2777;
  border-color: rgba(236, 72, 153, 0.25);
}

body.light .cal-weekdays {
  color: #64748b;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light .cal-day {
  color: #334155;
}

body.light .cal-day:hover:not(.empty) {
  background: rgba(0, 0, 0, 0.03);
  color: #0f172a;
}

body.light .cal-day.active {
  background: #db2777 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
}

body.light .cal-day.today {
  border-color: #db2777;
  color: #db2777;
}

/* Trimester Timeline Styles */
.trimester-timeline {
  display: flex;
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-top: 12px;
  padding: 4px;
  gap: 4px;
}

.trimester-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  min-width: 0;
}

.trimester-segment.active {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.2);
}

.trim-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.trim-weeks {
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 4px;
  font-weight: 500;
}

.trim-dates {
  font-size: 10px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Timeline pointer indicator overlays */
.timeline-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ec4899, #8b5cf6);
  z-index: 10;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: none; /* Shown dynamically when gestational age is between 0 and 280 days */
}

.timeline-indicator-pin {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ec4899;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}

/* Fetal Size emoji styling */
.fetal-fruit-emoji {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

/* Milestones Grid Styles */
.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  gap: 12px;
  transition: all 0.2s ease;
}

.milestone-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.milestone-item.passed {
  background: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.15);
}

.milestone-item.checked {
  background: rgba(236, 72, 153, 0.08) !important;
  border-color: rgba(236, 72, 153, 0.3) !important;
}

.milestone-item.checked .milestone-icon {
  background: #ec4899 !important;
  border-color: #f472b6 !important;
  color: #fff !important;
}

.milestone-item.checked .milestone-name {
  text-decoration: line-through;
  opacity: 0.6;
}

.milestone-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-3);
}

.milestone-item.passed .milestone-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.milestone-name {
  font-family: 'Figtree', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.milestone-item.passed .milestone-name {
  color: rgba(255, 255, 255, 0.9);
}

.milestone-week {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 12px;
}

.milestone-date {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.milestone-item.passed .milestone-date {
  color: #10b981;
}

/* Responsive grid for milestones */
@media (max-width: 580px) {
  .milestone-item {
    grid-template-columns: 36px 1fr;
    gap: 6px;
    padding: 12px;
  }
  .milestone-week {
    grid-column: 2;
    justify-self: start;
    margin-right: 0;
    margin-top: 4px;
  }
  .milestone-date {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
}

/* Light mode overrides */
body.light .trimester-timeline {
  background: rgba(0, 0, 0, 0.04);
}

body.light .trimester-segment {
  background: rgba(0, 0, 0, 0.01);
  border-color: transparent;
}

body.light .trimester-segment.active {
  background: rgba(236, 72, 153, 0.06);
  border-color: rgba(236, 72, 153, 0.25);
}

body.light .trim-name {
  color: #1f2937;
}

body.light .trim-weeks {
  color: #4b5563;
}

body.light .trim-dates {
  color: #9ca3af;
}

body.light .fetal-fruit-emoji {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .milestone-item {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.06);
}

body.light .milestone-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

body.light .milestone-item.passed {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.25);
}

body.light .milestone-item.checked {
  background: rgba(219, 39, 119, 0.06) !important;
  border-color: rgba(219, 39, 119, 0.25) !important;
}

body.light .milestone-item.checked .milestone-icon {
  background: #db2777 !important;
  border-color: #be185d !important;
  color: #fff !important;
}

body.light .milestone-item.checked .milestone-name {
  text-decoration: line-through;
  opacity: 0.6;
}

body.light .milestone-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light .milestone-item.passed .milestone-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}

body.light .milestone-name {
  color: #1f2937;
}

body.light .milestone-week {
  background: rgba(0, 0, 0, 0.03);
  color: #6b7280;
}

body.light .milestone-date {
  color: #4b5563;
}

body.light .milestone-item.passed .milestone-date {
  color: #059669;
}


/* Result KPI Hero & Badge Styles */
.result-hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

body.light .result-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.03) 100%);
  border-color: rgba(0, 0, 0, 0.06);
}

.result-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-2);
}

.result-val {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 8px;
}

body.light .result-val {
  color: #0f172a;
}

.result-subtitle {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Slabs & Badges */
.slab-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

body.light .slab-title-row {
  border-color: rgba(0, 0, 0, 0.06);
}

.slab-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-2);
}

.slab-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.slab-badge-sa {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

body.light .slab-badge-sa {
  background: rgba(236, 72, 153, 0.06);
  color: #db2777;
  border-color: rgba(236, 72, 153, 0.2);
}

.risk-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  display: inline-block;
}

.risk-badge.risk-normal {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa !important;
  border-color: rgba(139, 92, 246, 0.3);
}

body.light .risk-badge.risk-normal {
  background: rgba(139, 92, 246, 0.08);
  color: #6d28d9 !important;
  border-color: rgba(139, 92, 246, 0.2);
}

.risk-badge.risk-warning {
  background: rgba(244, 63, 94, 0.15);
  color: #f472b6 !important;
  border-color: rgba(244, 63, 94, 0.3);
}

body.light .risk-badge.risk-warning {
  background: rgba(244, 63, 94, 0.08);
  color: #be185d !important;
  border-color: rgba(244, 63, 94, 0.2);
}

.risk-badge.risk-high {
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6 !important;
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

body.light .risk-badge.risk-high {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777 !important;
  border-color: rgba(236, 72, 153, 0.3);
}

/* Sub-card Panels */
.progress-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 16px;
}

body.light .progress-card {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.05);
}

.fetal-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
}

body.light .fetal-card {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.06);
}

.weight-viz-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  margin-top: 12px;
  margin-bottom: 12px;
}

body.light .weight-viz-bar {
  background: rgba(0, 0, 0, 0.08);
}

.weight-viz-target-zone {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
}

/* Weight Guideline Summary */
.guideline-summary {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.light .guideline-summary {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.05);
}

.guideline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.guideline-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.light .guideline-row {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.guideline-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
}

.guideline-val {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.guideline-val.highlight {
  color: var(--maternity-rose);
}

/* Print/PDF Styling overrides */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  .bg-scene, #ts-header, #ts-footer, .rb-btn, .breadcrumb, #tool-disclaimer, .tool-left {
    display: none !important;
  }
  .tool-layout {
    display: block !important;
    width: 100% !important;
  }
  .tool-right {
    width: 100% !important;
    position: static !important;
  }
  .panel {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    box-shadow: none !important;
  }
  .result-hero {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px !important;
    border-radius: 12px !important;
    color: black !important;
  }
  .result-val {
    color: #1e293b !important;
  }
  .trimester-timeline {
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
  }
  .trimester-segment {
    border: 1px solid #e2e8f0 !important;
    background: white !important;
    color: black !important;
  }
  .trimester-segment.active {
    background: #fce7f3 !important;
    border-color: #fbcfe8 !important;
  }
  .trim-name {
    color: #1e293b !important;
  }
  .milestone-item {
    border: 1px solid #e2e8f0 !important;
    background: white !important;
    page-break-inside: avoid;
  }
  .milestone-item.passed {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
  }
}
