/* F40: inside ORIGINAL Jornada; same editorial palette and translucent surfaces.
   The top week buttons use UNCHANGED approved preview-semanas-ia.css. */
body:has(#screen-journey:not([hidden])) .preview-weeks{display:block!important}
body:has(.home-premium) #screen-journey .f40-week-detail{
 margin:6px 0 24px;
 color:#354938;
}
body:has(.home-premium) #screen-journey .f40-week-back{
 color:#66836a;background:transparent;border:0;
 border-bottom:1px solid #9db09b;padding:7px 0;
 font:600 11px "Segoe UI",sans-serif;cursor:pointer;margin:0 0 17px;
}
body:has(.home-premium) #screen-journey .f40-week-detail-title{
 color:#344737;margin:0 0 8px;
 font:400 31px/1.14 "Palatino Linotype",Georgia,serif;
 letter-spacing:-.045em;
}
body:has(.home-premium) #screen-journey .f40-week-detail-intro{
 font:400 12px/1.65 "Segoe UI",Arial,sans-serif;color:#7b8878;margin:0 0 18px;
}
body:has(.home-premium) #screen-journey .f40-milestone{
 border:1px solid rgba(255,254,247,.9);
 border-radius:19px;margin:15px 0 17px;padding:19px 17px 20px;
 background:linear-gradient(122deg,rgba(255,253,245,.84),rgba(250,239,223,.67));
 box-shadow:inset 0 0 0 1px rgba(220,206,188,.27),0 8px 20px rgba(78,66,47,.08);
}
body:has(.home-premium) #screen-journey .f40-milestone-kicker{
 color:#8a7763;font:700 9px/1.4 "Segoe UI",sans-serif;letter-spacing:.12em;
 margin:0 0 7px;
}
body:has(.home-premium) #screen-journey .f40-milestone h3{
 color:#394f3d;font:400 22px/1.25 "Palatino Linotype",Georgia,serif;
 margin:0 0 14px;
}
body:has(.home-premium) #screen-journey .f40-milestone h4{
 color:#46644d;font:600 12px/1.4 "Segoe UI",sans-serif;
 margin:18px 0 8px;
}
body:has(.home-premium) #screen-journey .f40-milestone p{
 font:400 11.5px/1.65 "Segoe UI",Arial,sans-serif;color:#6f806f;
 margin:7px 0 0;
 overflow-wrap:anywhere;
}
body:has(.home-premium) #screen-journey .f40-week-photos{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
 margin:11px 0 0;
}
body:has(.home-premium) #screen-journey .f40-week-photo{
 border:1px solid #e2dfd3;background:rgba(246,246,235,.76);
 border-radius:12px;overflow:hidden;
 min-width:0;text-align:center;
}
body:has(.home-premium) #screen-journey .f40-week-photo img,
body:has(.home-premium) #screen-journey .f40-week-photo-placeholder{
 display:block;width:100%;aspect-ratio:4/5;object-fit:cover;
 background:#edf0e7;
}
body:has(.home-premium) #screen-journey .f40-week-photo-placeholder{
 display:grid;place-items:center;color:#9eae9b;font-size:18px;
}
body:has(.home-premium) #screen-journey .f40-week-photo-label{
 font:600 10px/1.35 "Segoe UI",sans-serif;color:#58745f;display:block;padding:7px 3px;
}
body:has(.home-premium) #screen-journey .f40-week-qa{
 border-top:1px solid #e7e1d7;padding:11px 0 0;margin:11px 0 0;
}
body:has(.home-premium) #screen-journey .f40-week-qa strong{
 display:block;font:650 12px/1.55 "Segoe UI",Arial,sans-serif;color:#526a55;
}
body:has(.home-premium) #screen-journey .f40-doctor-response{
 background:linear-gradient(125deg,rgba(232,240,224,.84),rgba(250,245,233,.69));
 padding:13px 14px;border-radius:13px;border-left:3px solid #849c80;
 margin-top:9px;overflow-wrap:anywhere;
}
body:has(.home-premium) #screen-journey .f40-doctor-response strong{
 font:650 12px/1.5 "Segoe UI",Arial,sans-serif;color:#4d6b55;
}
body:has(.home-premium) #screen-journey .f40-doctor-link{
 display:inline-flex;align-items:center;gap:6px;margin-top:12px;
 padding:10px 13px;background:#557962;color:#fff;border-radius:11px;
 font:650 11px/1.4 "Segoe UI",sans-serif;
 text-decoration:none;border:1px solid #688d70;
}
body:has(.home-premium) #screen-journey .f40-doctor-link:hover{background:#43694f}
body:has(.home-premium) #screen-journey .f40-milestone.is-locked{opacity:.76}
body:has(.home-premium) #screen-journey .f40-week-detail :focus-visible{
 outline:3px solid #ae886a;outline-offset:3px;
}
@media(max-width:365px){
 body:has(.home-premium) #screen-journey .f40-milestone{padding:15px 12px}
 body:has(.home-premium) #screen-journey .f40-week-photos{gap:5px}
}

/* F40 UX: current week marker and legible synthetic history, within approved surfaces. */
body:has(.home-premium) .week-preview-buttons>button[data-current-week="true"]{position:relative}
body:has(.home-premium) .week-preview-buttons>button[data-current-week="true"]::after{
 content:"";position:absolute;right:5px;top:4px;width:5px;height:5px;border-radius:50%;background:#557a59
}
body:has(.home-premium) .week-preview-caption{font-size:11px;line-height:1.5;color:#526553}
body:has(.home-premium) #screen-home .action-copy small{font-size:12px;line-height:1.45;color:#596958}
body:has(.home-premium) #screen-home .lab-disclaimer{font-size:11px;font-weight:700;color:#745f4f;letter-spacing:.02em}
body:has(.home-premium) #screen-journey .f40-week-detail-intro{font-size:13px;color:#536a57}
body:has(.home-premium) #screen-journey .f40-milestone-kicker{font-size:10px;color:#695c4c}
body:has(.home-premium) #screen-journey .f40-milestone h4{font-size:13px}
body:has(.home-premium) #screen-journey .f40-milestone p{font-size:13px;line-height:1.55;color:#4e6351}
body:has(.home-premium) #screen-journey .f40-doctor-response strong{font-size:13px}
body:has(.home-premium) #screen-journey .f40-lab-note{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:#795f4d}
body:has(.home-premium) #screen-journey .f40-doctor-link{font-size:12px}
body:has(.home-premium) #screen-journey{padding-bottom:110px}

body:has(.home-premium) #screen-journey .f40-week-back[data-reference-week]{margin-left:14px}
