/* Fertility Treatment Planner: every rule is scoped to .avp so the theme stays untouched. */
.avp{--bg: #FFFFFF; --soft: #F6F5F1; --panel: #FFFFFF; --ink: #2B2F33; --muted: #5F646B; --line: #E6E4DD;
  --sun: #FCD841; --sun-deep: #F2C200; --green: #618465; --deep: #3D5641; --closed: #E4E2DB; --nostart: #FFF6C9;
  --scan: #618465; --proc: #2B2F33; --med1: #E0B800; --med2: #F0A23A; --med3: #C77BB0; --lab: #4F78C2; --warn: #B5341F;
  --display: 'Josefin Sans', 'Century Gothic', Arial, sans-serif;
  --body: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color-scheme: light;}
.avp, .avp *{box-sizing: border-box;}
.avp [hidden]{display: none !important;}
.avp .answer .cycles .no{color: #8A2414;}
.avp .answer .cycles .yes{color: #2B4A31;}
.avp{background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5;}
.avp .band{background: var(--sun);}
.avp .in{max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));}
.avp .band .in{padding-block: 28px 44px; display: grid; gap: 22px;}
.avp .band .in{justify-items: center; text-align: center;}
.avp .logo{width: 190px; height: auto; display: block;}
.avp .bar{display: flex; justify-content: space-between; align-items: center; gap: 12px;}
.avp.planning .band .in{padding-block: 18px;}
.avp.planning .band h1, .avp.planning .band p{display: none;}
.avp.planning .logo{width: 150px;}
.avp h1, .avp h2, .avp h3{font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: 0; color: var(--ink);}
.avp h1{font-size: clamp(32px, 5vw, 52px); line-height: 1.05;}
.avp h2{font-size: 26px; line-height: 1.15;}
.avp h3{font-size: 19px; line-height: 1.2;}
.avp .band p{margin: 0; font-size: 18px; max-width: 640px;}
.avp main .in{padding-block: 40px 72px;}
.avp .card{background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px;}
.avp #qs{max-width: 760px; margin: 24px auto 0; position: relative; display: grid; gap: 28px; box-shadow: 0 10px 30px rgba(43, 47, 51, .08);}
.avp .sec{display: grid; gap: 16px;}
.avp .sec + .sec{border-top: 1px solid var(--line); padding-top: 26px;}
.avp .sech{display: flex; gap: 12px; align-items: center;}
.avp .num{width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; flex: 0 0 34px;}
.avp .two{display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;}
.avp .phone{display: flex; gap: 8px;}
.avp .phone select{width: 120px; flex: 0 0 120px;}
.avp .two .wide{grid-column: 1 / -1;}
.avp .phone{max-width: 460px;}
.avp .phone input{flex: 1; min-width: 0;}
.avp label, .avp .lbl{font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px;}
.avp .hint{color: var(--muted); font-size: 13px; margin-top: 5px;}
.avp input[type=date], .avp input[type=number], .avp input[type=text], .avp input[type=email], .avp input[type=tel], .avp select{width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px;}
.avp input:focus-visible, .avp select:focus-visible, .avp button:focus-visible, .avp a:focus-visible{outline: 3px solid var(--sun-deep); outline-offset: 2px;}
.avp .len{display: flex; align-items: center; gap: 10px;}
.avp .len input{width: 96px;}
.avp .checks{display: grid; gap: 10px;}
.avp .checks label, .avp .agree{display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0; font-size: 15px;}
.avp .checks input, .avp .agree input{margin-top: 4px; width: 18px; height: 18px; accent-color: var(--deep); flex: 0 0 18px;}
.avp .err{color: var(--warn); font-size: 14px; font-weight: 600; min-height: 1em;}
.avp .go{display: flex; flex-wrap: wrap; gap: 14px; align-items: center;}
.avp .btn{display: inline-block; text-decoration: none; font: inherit; font-weight: 600; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 26px; background: var(--ink); color: #FFFFFF;}
.avp .btn.yellow{background: var(--sun); color: var(--ink);}
.avp .btn.alt{background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 11px 24px;}
.avp .fine{font-size: 13px; color: var(--muted); margin: 0;}
.avp #plan{display: grid; gap: 22px;}
.avp .top{display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;}
.avp .hello{font-size: 17px; margin: 0;}
.avp .answer{background: var(--sun); border: 0; display: grid; gap: 16px;}
.avp .verdict{font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.1;}
.avp .why{margin: 0; font-size: 16px; max-width: 760px;}
.avp .keys{display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;}
.avp .key{background: #FFFFFF; border-radius: 14px; padding: 12px 16px;}
.avp .key .k{font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600;}
.avp .key .v{font-family: var(--display); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums;}
.avp .key.hi{background: var(--ink); color: #FFFFFF;}
.avp .key.hi .k{color: var(--sun);}
.avp .note{background: rgba(255, 255, 255, .65); border-radius: 12px; padding: 12px 14px; font-size: 14px;}
.avp .cycles{display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px;}
.avp .cycles li{display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;}
.avp .cycles .tag{font-weight: 600; min-width: 108px; font-variant-numeric: tabular-nums;}
.avp .cycles .no{color: var(--warn);}
.avp .cycles .yes{color: var(--deep); font-weight: 600;}
.avp .cols{display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start;}
@media (max-width: 900px){.avp .cols{grid-template-columns: minmax(0, 1fr);}
 }
.avp .steps{list-style: none; margin: 12px 0 0; padding: 0; display: grid;}
.avp .steps li{display: grid; grid-template-columns: 96px 22px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start;}
.avp .steps li:first-child{border-top: 0;}
.avp .steps .d{font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; padding-top: 1px;}
.avp .steps .dot{width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; background: var(--muted);}
.avp .steps .t{font-weight: 600;}
.avp .steps .s{color: var(--muted); font-size: 14px;}
.avp .steps .by{color: var(--warn); font-size: 13px; font-weight: 600;}
.avp .steps li.phase{grid-template-columns: 1fr; padding: 18px 0 6px; border-top: 0;}
.avp .steps li.phase span{display: inline-block; background: var(--soft); border-radius: 999px; padding: 3px 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink);}
.avp .c-prep{background: var(--deep) !important;}
.avp .c-scan{background: var(--scan) !important;}
.avp .c-proc{background: var(--proc) !important;}
.avp .c-lab{background: var(--lab) !important;}
.avp .c-day1{background: var(--sun) !important; box-shadow: inset 0 0 0 2px var(--ink);}
.avp .c-test{background: var(--med3) !important;}
.avp .months{display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 12px;}
.avp .month h3{margin-bottom: 8px; font-size: 17px;}
.avp .mgrid{display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px;}
.avp .wd{font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; font-weight: 600; padding-bottom: 2px;}
.avp .day{min-height: 52px; border-radius: 8px; background: var(--soft); padding: 3px 4px; font-size: 11px; display: flex; flex-direction: column; gap: 2px; min-width: 0;}
.avp .day .n{font-weight: 600; font-variant-numeric: tabular-nums; font-size: 12px;}
.avp .day.empty{background: transparent;}
.avp .day.closed{background: var(--closed); color: var(--muted);}
.avp .day.nostart{background: var(--nostart);}
.avp .day.today{box-shadow: inset 0 0 0 2px var(--deep);}
.avp .day.is-day1{background: var(--sun);}
.avp .slim{display: inline-block; white-space: nowrap; margin-top: 8px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; border-radius: 999px; padding: 6px 14px;}
.avp .sic{width: 22px; height: 22px; object-fit: contain; margin-top: 1px;}
.avp .icons{display: flex; gap: 2px; flex-wrap: wrap;}
.avp .icons img{width: 18px; height: 18px; object-fit: contain;}
.avp .day .lab{font-size: 10.5px; line-height: 1.15; white-space: normal; overflow-wrap: anywhere; hyphens: auto;}
.avp .day.before{background: transparent; color: #B9BCC0;}
.avp .ev{display: flex; gap: 3px; align-items: center; line-height: 1.15;}
.avp .ev i{width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: var(--muted);}
.avp .ev span{overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.avp .bars{margin-top: auto; display: grid; gap: 2px;}
.avp .bars b{display: block; height: 4px; border-radius: 2px;}
.avp .b5{background: var(--muted);}
.avp .b1{background: var(--med1);}
.avp .b2{background: var(--med2);}
.avp .b3{background: var(--med3);}
.avp .b4{background: var(--lab);}
.avp .disclaimer{margin: 0; font-size: 12px; line-height: 1.45; color: var(--ink); opacity: .75;}
.avp .disclaimer b{color: var(--ink);}
.avp .legend{display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-top: 12px;}
.avp .legend span{display: inline-flex; align-items: center; gap: 6px;}
.avp .legend i{width: 12px; height: 12px; border-radius: 3px; display: inline-block;}
.avp .book{background: var(--ink); color: #FFFFFF; border: 0; display: grid; gap: 14px;}
.avp .book h2{color: #FFFFFF;}
.avp .book p{margin: 0; color: #D9DBDE; max-width: 640px;}
.avp .book .btn.alt{color: #FFFFFF; border-color: #FFFFFF;}
@media (prefers-reduced-motion: no-preference){.avp .answer{animation: up .35s ease-out both;}
@keyframes up{ from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: none; } }
 }

.avp.planning .band{display:none;}
.avp .plantop{display:flex;justify-content:flex-end;}
.avp .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.avp .avp-main .in{padding-block:40px 72px;}
.avp a{color:inherit;}
.avp a.btn, .avp a.slim{text-decoration:none;}
.avp a.btn.yellow{color:var(--ink);}
/* Inside a page: break out of the theme's content width and gutter so the yellow band runs edge to edge. */
.entry-content > .avp{max-width:none !important;margin-inline:calc(-1 * var(--gutter, 24px)) !important;}
.entry-content:has(> .avp){padding-bottom:0;}

/* Event bar above the results (until 10 Dec 2026, 6pm; removed by planner.js after that) */
.avp .eventbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between;background:var(--ink);color:#fff;border-radius:14px;padding:12px 16px;margin:0 0 14px;text-decoration:none;font-size:15px;line-height:1.35;}
.avp .eventbar .k{display:block;color:var(--sun);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px;}
.avp .eventbar b{font-family:var(--display);font-weight:700;}
.avp .eventbar .go{background:var(--sun);color:var(--ink);font-weight:600;border-radius:999px;padding:7px 14px;white-space:nowrap;font-size:14px;}
.avp .eventbar:hover .go{background:var(--sun-deep);}

/* Hero with an example plan (4 Dec 2026, Ravid): shows what you get before the form */
.avp .band .in.hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:48px;align-items:center;justify-items:stretch;text-align:left;padding-block:40px 48px;}
.avp .hero .pitch{display:grid;gap:16px;justify-items:start;}
.avp .hero .pitch p{font-size:17px;max-width:480px;}
.avp .hero .gets{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:15px;}
.avp .hero .gets li{position:relative;padding-left:32px;}
.avp .hero .gets li::before{content:'✓';position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--sun);font-size:13px;display:grid;place-items:center;}
.avp a.btn.dark{display:inline-block;background:var(--ink);color:#fff;border-radius:999px;padding:13px 26px;font-weight:600;font-size:15px;margin-top:6px;}
.avp a.btn.dark:hover{background:#000;}
.avp .hero .for{font-size:13px;opacity:.8;}
.avp .sample{background:#fff;border-radius:18px;box-shadow:0 18px 40px rgba(43,47,51,.18);padding:22px;transform:rotate(1.2deg);position:relative;}
.avp .sample .s-tag{position:absolute;top:-13px;left:22px;background:var(--ink);color:var(--sun);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:5px 12px;border-radius:14px;}
.avp .sample h2{font-size:21px;margin-top:6px;}
.avp .sample .s-why{font-size:13px;margin:4px 0 14px;color:#555;max-width:none;}
.avp .sample .sk{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:16px;}
.avp .sample .sk div{border:1px solid var(--line);border-radius:10px;padding:7px 8px;}
.avp .sample .sk small{display:block;white-space:nowrap;font-size:8.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#666;}
.avp .sample .sk b{font-family:var(--display);font-size:13.5px;white-space:nowrap;}
.avp .sample .sk .s-hi{background:var(--ink);border-color:var(--ink);color:#fff;}
.avp .sample .sk .s-hi small{color:var(--sun);}
.avp .sample .mo{font-family:var(--display);font-weight:700;font-size:14px;margin:0 0 6px;}
.avp .sample .sc{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;}
.avp .sample .sc i{font-style:normal;text-align:center;font-weight:600;font-size:9px;color:#777;}
.avp .sample .sc div{background:var(--nostart);border-radius:6px;height:46px;padding:4px 5px;font-size:10px;line-height:1.15;overflow:hidden;}
.avp .sample .sc b{display:block;font-size:10.5px;}
.avp .sample .sc .s-ev{background:var(--green);color:#fff;}
.avp .sample .sc .s-pr{background:var(--ink);color:#fff;}
.avp .sample .sc .s-x{background:#F3F1EA;}
.avp .sample .sc .s{display:none;}
@media (max-width: 760px){
  .avp .band .in.hero{grid-template-columns:minmax(0,1fr);gap:30px;padding-block:28px 36px;}
  .avp .hero .pitch p{font-size:15.5px;}
  .avp a.btn.dark{display:block;text-align:center;justify-self:stretch;}
  .avp .sample{transform:none;padding:16px;}
  .avp .sample .sk{grid-template-columns:repeat(3,minmax(0,1fr));}
  .avp .sample .sk div:nth-child(n+4){display:none;}
  .avp .sample .sc div{height:40px;font-size:8.5px;padding:3px 4px;overflow-wrap:normal;word-break:keep-all;}
  .avp .sample .sc .l{display:none;}
  .avp .sample .sc .s{display:inline;}
}
