@charset "utf-8";
.edd-hero {
    background: linear-gradient(135deg, #be185d, #ec4899);
    border-radius: 16px;
    padding: 22px 20px 18px;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .edd-hero::before {
    content: '👶';
    position: absolute;
    right: 16px; top: 12px;
    font-size: 2.5rem;
  }
  .edd-hero__label {
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .edd-hero__date {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1.1;
  }
  .edd-hero__day {
    font-size: .88rem;
    color: rgba(255,255,255,.7);
    margin-top: 3px;
    font-weight: 500;
  }
  .edd-hero__stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .edd-hero__stat-val {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
  }
  .edd-hero__stat-label {
    font-size: .65rem;
    color: rgba(255,255,255,.55);
    margin-top: 2px;
  }
 
  /* -- Countdown chip ---------------------------------------- */
  .countdown-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fce7f3;
    border: 1.5px solid #f9a8d4;
    border-radius: 100px;
    padding: 7px 16px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .88rem;
    color: #be185d;
    margin-bottom: 16px;
  }
  .countdown-chip i { font-size: .85rem; }
 
  /* -- Trimester timeline ------------------------------------ */
  .trimester-timeline {
    margin-bottom: 16px;
  }
  .trimester-timeline__title {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .trimester-timeline__title i { color: #ec4899; }
 
  /* Progress track */
  .trim-track {
    position: relative;
    height: 10px;
    background: var(--gray-l);
    border-radius: 100px;
    margin-bottom: 6px;
    overflow: hidden;
  }
  .trim-t1 { position: absolute; top:0; left:0; height:100%; width:33.3%; background:#93c5fd; border-radius:100px 0 0 100px; }
  .trim-t2 { position: absolute; top:0; left:33.3%; height:100%; width:33.4%; background:#4ade80; }
  .trim-t3 { position: absolute; top:0; left:66.7%; height:100%; width:33.3%; background:#fbbf24; border-radius:0 100px 100px 0; }
  .trim-needle {
    position: absolute;
    top: -3px;
    width: 4px;
    height: 16px;
    background: #be185d;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: left .5s ease;
    box-shadow: 0 0 0 2px var(--white);
  }
  .trim-labels {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: var(--gray);
    margin-top: 4px;
  }
  .trim-label-t1 { color: #1a73e8; font-weight: 600; }
  .trim-label-t2 { color: var(--green); font-weight: 600; text-align:center; }
  .trim-label-t3 { color: #ca8a04; font-weight: 600; text-align:right; }
 
  /* -- Trimester cards --------------------------------------- */
  .trimester-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }
  .trimester-card {
    border-radius: 10px;
    padding: 11px 10px;
    text-align: center;
    border: 1.5px solid transparent;
  }
  .trimester-card.t1 { background: #eff6ff; border-color: #93c5fd; }
  .trimester-card.t2 { background: #f0fdf4; border-color: #86efac; }
  .trimester-card.t3 { background: #fefce8; border-color: #fde047; }
  .trimester-card.active-trimester { box-shadow: 0 0 0 2px #be185d; }
  .trimester-card__label {
    font-family: var(--font-head);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
  }
  .t1 .trimester-card__label { color: #1a73e8; }
  .t2 .trimester-card__label { color: var(--green); }
  .t3 .trimester-card__label { color: #ca8a04; }
  .trimester-card__weeks {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .9rem;
    color: var(--navy);
  }
  .trimester-card__dates {
    font-size: .65rem;
    color: var(--gray);
    margin-top: 3px;
    line-height: 1.4;
  }
 
  /* -- Key milestones table ---------------------------------- */
  .milestone-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-l);
  }
  .milestone-table thead th {
    background: #be185d;
    color: var(--white);
    padding: 9px 10px;
    text-align: left;
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .3px;
  }
  .milestone-table tbody tr { border-bottom: 1px solid var(--gray-l); }
  .milestone-table tbody tr:last-child { border-bottom: none; }
  .milestone-table tbody tr.past-milestone { opacity: .55; }
  .milestone-table tbody tr.current-milestone { background: #fdf2f8; font-weight: 600; }
  .milestone-table td { padding: 8px 10px; color: var(--text); }
  .milestone-table .ms-week { font-family:var(--font-head); font-weight:600; color:#be185d; width:80px; }
  .milestone-table .ms-date { color:var(--gray); font-size:.76rem; }
  .ms-status-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
  }
 
  /* -- Method selector tabs ---------------------------------- */
  /* Uses global .calc-tabs / .calc-tab */
 
  /* -- IVF day selector -------------------------------------- */
  /* Uses global .calc-tabs */
 
  /* -- Due date range info ----------------------------------- */
  .due-range-note {
    background: #fdf2f8;
    border-left: 3px solid #ec4899;
    border-radius: 0 8px 8px 0;
    padding: 9px 13px;
    font-size: .78rem;
    color: #831843;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .due-range-note i { color: #ec4899; margin-right: 4px; }
 
  /* -- Health disclaimer ------------------------------------- */
  .health-disclaimer {
    background: var(--light);
    border-radius: 8px;
    padding: 9px 13px;
    font-size: .75rem;
    color: var(--gray);
    line-height: 1.6;
    margin-top: 10px;
  }
 
  /* -- Week-by-week grid for schedule section ---------------- */
  .ps-preg-week  { color: #be185d; font-weight: 700; }
  .ps-preg-date  { color: var(--gray); font-size: .76rem; }
  .ps-preg-trim  { font-size: .72rem; font-weight: 600; }
  .ps-preg-trim.t1 { color: #1a73e8; }
  .ps-preg-trim.t2 { color: var(--green); }
  .ps-preg-trim.t3 { color: #ca8a04; }
  .ps-preg-event { color: var(--text); }
  .ps-preg-current { background: #fdf2f8 !important; }
 
  /* -- Responsive ------------------------------------------- */
  @media (max-width: 480px) {
    .trimester-cards { grid-template-columns: 1fr; gap: 6px; }
    .edd-hero__date  { font-size: 1.45rem; }
    .edd-hero__stats { gap: 14px; }
  }