/* kalkulatori/ovulacioni.html — page-specific styles (extracted from inline <style>) */
@layer page {
@keyframes sosPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.hero-banner { background: linear-gradient(135deg, #1a1020 0%, #140d1a 60%, var(--bg-deep) 100%); border: 1px solid rgba(232,121,249,.12); border-radius: 16px; padding: 24px; margin: 20px 0 16px; position: relative; overflow: hidden; }
.hero-banner::before { content: ''; width: 1em; height: 1em; background-color: #fff; -webkit-mask: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1%22 /> <circle cx=%2212%22 cy=%228%22 r=%222%22 /> <path d=%22M12 10v12%22 /> <path d=%22M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z%22 /> <path d=%22M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z%22 /> </svg>") center / contain no-repeat; mask: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1%22 /> <circle cx=%2212%22 cy=%228%22 r=%222%22 /> <path d=%22M12 10v12%22 /> <path d=%22M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z%22 /> <path d=%22M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z%22 /> </svg>") center / contain no-repeat; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 6rem; opacity: .06; pointer-events: none; }
.hero-banner__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.hero-banner__title { font-size: 1.375rem; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.info-badge { background: rgba(232,121,249,.1); border: 1px solid rgba(232,121,249,.25); border-radius: 20px; padding: 4px 12px; font-size: .75rem; font-weight: 700; color: #e879f9; }
.hero-banner__meta { font-size: .8125rem; color: var(--text-3); }
.panel { background: var(--bg-1); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px 24px; margin-bottom: 14px; }
.panel__title { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .8125rem; font-weight: 500; color: var(--text-2); }
.form-label .hint { font-weight: 400; color: var(--text-3); }
.input-wrap { position: relative; }
.input-wrap .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .8125rem; color: var(--text-3); pointer-events: none; }
.form-input { width: 100%; height: 46px; background: var(--bg); border: 1px solid rgba(255,255,255,.10); border-radius: 10px; color: var(--text); font-size: .9375rem; padding: 0 44px 0 13px; outline: none; transition: border-color .2s; -webkit-appearance: none; }
.form-input:focus { border-color: rgba(232,121,249,.5); box-shadow: 0 0 0 3px rgba(232,121,249,.08); }
.form-input[type="date"] { padding: 0 13px; color-scheme: dark; }
.calc-btn { width: 100%; height: 50px; border-radius: 12px; font-size: 1.0625rem; font-weight: 700; background: linear-gradient(135deg, #e879f9, #a855f7); border: none; color: #fff; letter-spacing: -.1px; transition: opacity .15s, transform .1s; }
.calc-btn:hover { opacity: .9; transform: translateY(-1px); }
.result-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.result-tab { flex: 1; height: 40px; border-radius: 8px; font-size: .875rem; font-weight: 600; border: 1px solid rgba(255,255,255,.08); background: transparent; color: var(--text-2); transition: background .15s, border-color .15s, color .15s; }
.result-tab.active { background: rgba(232,121,249,.1); border-color: rgba(232,121,249,.35); color: #e879f9; }
.results-section { display: none; }
.results-section.visible { display: block; }
.key-dates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width:500px) {
  .key-dates-grid { grid-template-columns: 1fr 1fr; }
}
.key-date-card { border-radius: 14px; padding: 16px 14px; text-align: center; border: 1px solid transparent; }
.kd-ovulation { background: linear-gradient(135deg, rgba(232,121,249,.12), rgba(168,85,247,.08)); border-color: rgba(232,121,249,.25); }
.kd-fertile { background: linear-gradient(135deg, rgba(var(--accent-rgb),.1), rgba(16,163,116,.06)); border-color: rgba(var(--accent-rgb),.25); }
.kd-period { background: linear-gradient(135deg, rgba(248,113,113,.1), rgba(239,68,68,.06)); border-color: rgba(248,113,113,.25); }
.kd-lh { background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(245,158,11,.06)); border-color: rgba(251,191,36,.25); }
.kd-implant { background: linear-gradient(135deg, rgba(96,165,250,.1), rgba(59,130,246,.06)); border-color: rgba(96,165,250,.25); }
.kd-test { background: linear-gradient(135deg, rgba(52,211,153,.1), rgba(16,185,129,.06)); border-color: rgba(52,211,153,.25); }
.kd-icon { font-size: 1.5rem; margin-bottom: 6px; }
.kd-label { font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.kd-date { font-size: 1rem; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 2px; }
.kd-sub { font-size: .6875rem; color: var(--text-3); }
.fertility-score-wrap { background: var(--bg-1); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.fs-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fs-score-circle { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; flex-shrink: 0; font-size: 1.5rem; font-weight: 900; border: 3px solid; }
.fs-score-high { background: rgba(var(--accent-rgb),.1); border-color: var(--accent); color: var(--accent); }
.fs-score-medium { background: rgba(251,191,36,.1); border-color: #fbbf24; color: #fbbf24; }
.fs-score-low { background: rgba(248,113,113,.1); border-color: #f87171; color: #f87171; }
.fs-score-lbl { font-size: .55rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }
.fs-info__title { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.fs-info__sub { font-size: .8125rem; color: var(--text-3); }
.fs-bars { display: flex; flex-direction: column; gap: 8px; }
.fs-bar-row { display: flex; align-items: center; gap: 10px; }
.fs-bar-label { font-size: .75rem; color: var(--text-2); width: 130px; flex-shrink: 0; }
.fs-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,.07); border-radius: 4px; overflow: hidden; }
.fs-bar-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.fs-bar-val { font-size: .75rem; font-weight: 700; color: var(--text); width: 30px; text-align: right; }
.cal-strip-wrap { background: var(--bg-1); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; margin-bottom: 14px; }
.cal-strip__title { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.cal-strip { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.cal-strip::-webkit-scrollbar { height: 3px; }
.cal-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
.cal-day { flex-shrink: 0; width: 40px; border-radius: 8px; padding: 8px 4px; text-align: center; border: 1px solid transparent; transition: transform .1s; }
.cal-day:hover { transform: translateY(-2px); }
.cal-day__dow { font-size: .55rem; font-weight: 700; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.cal-day__num { font-size: .875rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cal-day__dot { width: 6px; height: 6px; border-radius: 50%; margin: 0 auto; }
.cd-period { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.2); }
.cd-period .cal-day__dot { background: #f87171; }
.cd-fertile { background: rgba(var(--accent-rgb),.1); border-color: rgba(var(--accent-rgb),.2); }
.cd-fertile .cal-day__dot { background: var(--accent); }
.cd-ovulation { background: rgba(232,121,249,.15); border-color: rgba(232,121,249,.35); }
.cd-ovulation .cal-day__dot { background: #e879f9; }
.cd-luteal { background: rgba(96,165,250,.07); border-color: rgba(96,165,250,.1); }
.cd-luteal .cal-day__dot { background: #60a5fa; }
.cd-normal { background: transparent; border-color: transparent; }
.cd-today { border-color: rgba(255,255,255,.25) !important; }
.cd-today .cal-day__num { color: #e879f9; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cal-legend__item { display: flex; align-items: center; gap: 5px; font-size: .6875rem; color: var(--text-2); }
.cal-legend__dot { width: 8px; height: 8px; border-radius: 50%; }
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
@media (max-width:500px) {
  .tips-grid { grid-template-columns: 1fr; }
}
.tip-card { background: var(--bg-1); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 14px 16px; }
.tip-card__icon { font-size: 1.4rem; margin-bottom: 6px; }
.tip-card__title { font-size: .875rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tip-card__body { font-size: .7875rem; color: var(--text-3); line-height: 1.6; }
.disclaimer { background: var(--surface); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid #e879f9; border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: .7875rem; color: var(--text-3); line-height: 1.7; margin-bottom: 14px; }
@keyframes fadeUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.animate-in { animation: fadeUp .22s ease; }
}
/* Monochrome icon set (Lucide, ISC licence) — replaces colour emoji */
@layer skin {
[class^="ei-"], [class*=" ei-"] { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; flex-shrink: 0; font-style: normal;
  background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
[class^="ei-dot-"], [class*=" ei-dot-"] { width: .62em; height: .62em; border-radius: 50%; vertical-align: .02em; -webkit-mask: none; mask: none; }
.ei-calendar { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M8 2v3%22 /> <path d=%22M16 2v3%22 /> <rect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%222%22 /> <path d=%22M3 9h18%22 /> </svg>"); }
.ei-droplet { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z%22 /> </svg>"); }
.ei-flag { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528%22 /> </svg>"); }
.ei-flower-2 { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1%22 /> <circle cx=%2212%22 cy=%228%22 r=%222%22 /> <path d=%22M12 10v12%22 /> <path d=%22M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z%22 /> <path d=%22M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z%22 /> </svg>"); }
.ei-heart { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5%22 /> </svg>"); }
.ei-lightbulb { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22 /> <path d=%22M9 18h6%22 /> <path d=%22M10 22h4%22 /> </svg>"); }
.ei-lock { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <rect width=%2218%22 height=%2211%22 x=%223%22 y=%2211%22 rx=%222%22 ry=%222%22 /> <path d=%22M7 11V7a5 5 0 0 1 10 0v4%22 /> </svg>"); }
.ei-person-standing { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%225%22 r=%221%22 /> <path d=%22m9 20 3-6 3 6%22 /> <path d=%22m6 8 6 2 6-2%22 /> <path d=%22M12 10v4%22 /> </svg>"); }
.ei-salad { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M19.496 12a2.5 2.5 0 00.399-2.214A2 2 0 0020.32 6.5 2 2 0 0019 3a2 2 0 00-1.5.68 2 2 0 00-3.287.424 2.5 2.5 0 00-3.189 2.06A3 3 0 0012 12l4-4%22 /> <path d=%22M4 12a1 1 0 00-.99 1.133A9 9 0 0012 21a9 9 0 008.99-7.867A1 1 0 0020 12z%22 /> <path d=%22M7 21h10%22 /> <path d=%22M9.85 6.907A3.5 3.5 0 005.05 12%22 /> </svg>"); }
.ei-smartphone { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <rect x=%226%22 y=%222%22 width=%2212%22 height=%2220%22 rx=%222%22 ry=%222%22 /> <path d=%22M12 18h.01%22 /> </svg>"); }
.ei-stethoscope { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M11 2v2%22 /> <path d=%22M5 2v2%22 /> <path d=%22M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1%22 /> <path d=%22M8 15a6 6 0 0 0 12 0v-3%22 /> <circle cx=%2220%22 cy=%2210%22 r=%222%22 /> </svg>"); }
.ei-thermometer { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z%22 /> </svg>"); }
}
