:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#302736;background:#fff9fa;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#302736;--muted:#756b7a;--subtle:#9b909f;--line:#f0e5e9;--pink:#db527f;--pinkdark:#b83564;--pinksoft:#ffe2eb;--lavender:#eee7ff;--surface:#fff;--bg:#fff9fa;--shadow:0 15px 48px rgba(99,39,71,.065)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 700px 520px at 90% -12%,#ffe3ed 0%,transparent 72%),radial-gradient(ellipse 480px 430px at 0% 37%,#f6edff 0%,transparent 75%),var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9472d3;outline-offset:3px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1px;font-weight:780}h2{font-size:1.25rem;letter-spacing:-.45px}h3{font-size:1rem}p{line-height:1.6}a{color:var(--pinkdark)}.container{width:min(1100px,100% - 40px);margin-inline:auto}.topbar{padding:25px 0 15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;gap:11px;align-items:center}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#ff93ad,#cd5896);box-shadow:0 10px 25px #e77f9a50;color:#fff;font-size:25px}.brand-name{font-size:1.08rem;font-weight:850;letter-spacing:-.5px}.brand-small{font-size:.72rem;letter-spacing:.2px;color:var(--muted);margin-top:2px}.lang-button{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 15px;font-size:.86rem;font-weight:750;color:var(--ink);box-shadow:0 8px 26px #4a23340a;min-width:81px}.lang-button:hover,.icon-btn:hover{background:#fff0f4}.content{padding-bottom:117px}.hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#fbdce8 0%,#fff0f5 53%,#eee6ff 100%);border:1px solid #f4dce8;border-radius:28px;padding:29px 32px;display:grid;grid-template-columns:1fr auto;align-items:center;min-height:240px;box-shadow:0 18px 50px #bc5d8b13}.hero:before{content:"";position:absolute;right:-90px;bottom:-180px;border:68px solid #ffffff37;border-radius:50%;width:300px;height:300px;pointer-events:none}.hero-kicker{display:flex;gap:8px;align-items:center;font-weight:700;font-size:.82rem;color:#9b4471;margin-bottom:13px}.hero h1{font-size:clamp(1.65rem,3.5vw,2.7rem);line-height:1.13;margin-bottom:9px}.hero-date{color:#6b536f;font-size:.94rem;margin-bottom:17px}.hero-pills{display:flex;flex-wrap:wrap;gap:8px}.pill{display:inline-flex;align-items:center;gap:7px;background:#ffffffa8;border:1px solid #ffffffd9;padding:9px 12px;border-radius:999px;color:#604965;font-size:.78rem;font-weight:700}.hero-ring{width:180px;height:180px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d05b91 var(--progress),#ffffff9e var(--progress));box-shadow:0 7px 32px #ba6c9c36}.ring-core{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:142px;height:142px;background:#fff9fdfc;border-radius:50%;box-shadow:inset 0 2px 11px #a36e9020}.ring-number{font-size:2.1rem;font-weight:850;line-height:1}.ring-label{font-size:.74rem;color:var(--muted);font-weight:700;margin-top:8px}.stack{display:grid;gap:18px;margin-top:22px}.two-col{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(310px,.88fr);align-items:start;gap:20px}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;padding:24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.section-head h2{display:flex;align-items:center;gap:9px}.section-sub{font-size:.85rem;color:var(--muted);margin-top:6px}.button-row{display:flex;align-items:center;gap:8px}.icon-btn{border:1px solid #f1e6ed;display:grid;place-items:center;background:#fff;width:35px;height:35px;border-radius:12px;color:#4d3f56;font-weight:750;font-size:20px}.small-btn{border:0;background:#fbedf4;color:#b23967;font-size:.78rem;padding:10px 12px;border-radius:12px;font-weight:750}.cal-title{font-size:1rem;font-weight:800;min-width:130px;text-align:center;text-transform:capitalize}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{margin:20px 0 8px}.calendar-weekdays>span{font-size:.72rem;color:#958899;text-align:center;font-weight:750;padding:7px 0}.day{position:relative;isolation:isolate;aspect-ratio:1/1;min-width:0;min-height:45px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid transparent;background:transparent;border-radius:14px;color:var(--ink);font-weight:700;font-size:.88rem;padding:0;transition:background .13s,transform .13s}.day:hover{transform:translateY(-1px);background:#fff3f6}.day.is-outside{color:#bdb2bf}.day.is-today:after{content:"";position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;background:#ae78d3}.day.is-actual{background:#df628c;color:#fff}.day.is-predicted{background:#ffe7ef;color:#b44971;border:1px dashed #eea4bd}.day.is-selected{box-shadow:0 0 0 2px #774d9b inset}.day.is-actual.is-selected{box-shadow:0 0 0 2px #8c3159 inset,0 0 0 3px #fff inset}.day-dot{position:absolute;bottom:6px;width:5px;height:5px;background:#b890e6;border-radius:50%}.day.is-actual .day-dot{background:#fff}.legend{margin-top:18px;display:flex;flex-wrap:wrap;gap:14px;font-size:.72rem;color:var(--muted);font-weight:650}.legend-item{display:flex;align-items:center;gap:7px}.legend-swatch{width:11px;height:11px;border-radius:4px;background:#df628c}.legend-swatch.pred{background:#ffe7ef;border:1px dashed #eea4bd}.legend-swatch.dot{width:7px;height:7px;border-radius:50%;background:#b890e6}.journal-date{font-weight:800;font-size:1.14rem;text-transform:capitalize}.date-state{display:inline-flex;margin-top:5px;color:#a17d93;font-size:.77rem;font-weight:700}.journal-group{padding:18px 0;border-bottom:1px solid var(--line)}.journal-group:last-of-type{border-bottom:0}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.group-title{font-size:.88rem;font-weight:780}.group-hint{color:var(--muted);font-size:.74rem;margin-top:4px}.switch{display:flex;align-items:center;justify-content:flex-start;width:54px;height:31px;border:0;border-radius:999px;background:#e8dfe5;padding:4px;transition:background .2s}.switch:after{content:"";width:23px;height:23px;background:#fff;border-radius:50%;box-shadow:0 2px 5px #614a5c21;transition:transform .2s}.switch[aria-pressed=true]{background:#d85e8a}.switch[aria-pressed=true]:after{transform:translateX(23px)}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.chip{border:1px solid #ece0e8;background:#fff;border-radius:13px;padding:9px 12px;color:#6a5c6e;font-size:.78rem;font-weight:680;line-height:1.25;transition:background .15s}.chip[aria-pressed=true],.chip.is-active{background:#fae5ee;border-color:#eaa5bf;color:#a53260}.chip:hover{border-color:#e9a4bc}.chip:disabled{opacity:.38}.field{display:flex;flex-direction:column;gap:7px}.field-label{font-weight:730;color:#534555;font-size:.82rem}.field input,.field select,.field textarea{appearance:auto;width:100%;background:#fff;border:1px solid #e8dae4;color:#342c36;border-radius:13px;padding:12px 13px;min-width:0;outline-offset:2px}.field textarea{resize:vertical;min-height:75px;max-height:180px;line-height:1.55}.field input:focus,.field select:focus,.field textarea:focus{border-color:#cc6491}.field-hint{color:#857789;font-size:.76rem;line-height:1.5}.note-group{margin-top:15px}.journal-footer{display:grid;gap:10px;margin-top:15px}.btn{border:1px solid transparent;background:#d85b86;color:#fff;border-radius:14px;padding:12px 16px;font-weight:780;line-height:1.3;box-shadow:0 5px 17px #b6346121}.btn:hover{background:#ba3f6d}.btn.secondary{background:#fff;border-color:#ecdce5;color:#a73a69;box-shadow:none}.btn.secondary:hover{background:#fff4f8}.btn.ghost{background:#f8f0f5;color:#b23c67;box-shadow:none}.btn.ghost:hover{background:#f4e1eb}.btn.full{width:100%}.btn.small{padding:10px 13px;font-size:.81rem}.btn.danger{background:#fff;color:#b43a50;border-color:#f3ccd7;box-shadow:none}.btn.danger:hover{background:#fff0f2}.notice{padding:14px 16px;background:#f9f4fc;border-radius:15px;color:#76687d;font-size:.76rem;line-height:1.65}.notice.privacy{background:#fff0f5;color:#815f75}.empty-message{display:grid;place-items:center;text-align:center;gap:12px;color:#87798a;padding:40px 8px;line-height:1.6}.empty-art{font-size:33px;background:#fff0f6;border-radius:20px;padding:20px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow)}.stat-card .label{color:var(--muted);font-size:.77rem}.stat-card .number{margin-top:9px;font-size:1.55rem;font-weight:840;letter-spacing:-.5px}.stat-card .meta{margin-top:4px;color:#a991a0;font-size:.72rem}.history-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:15px 3px;border-bottom:1px solid #f6e9ef;font-size:.87rem}.history-row:last-child{border-bottom:0}.history-row .badge{background:#fae6ee;color:#aa4973;border-radius:10px;padding:7px 10px;font-size:.75rem;font-weight:780}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.settings-grid .wide{grid-column:1/-1}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.setting-block{padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}.setting-block p{font-size:.82rem;color:var(--muted);margin-top:8px}.footer-note{color:#998f9d;font-size:.72rem;text-align:center;margin:20px auto;max-width:550px;line-height:1.6}.bottom-nav{position:fixed;z-index:20;bottom:14px;left:50%;transform:translateX(-50%);width:min(450px,calc(100% - 28px));background:#fffefefa;border:1px solid #eee0e8;box-shadow:0 12px 50px #6b40553b;display:grid;grid-template-columns:repeat(3,1fr);border-radius:21px;padding:8px;backdrop-filter:blur(15px)}.nav-item{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;border-radius:14px;color:#9c8a9a;padding:8px 3px;font-size:.68rem;font-weight:760}.nav-item[aria-current=page]{background:#ffe5ef;color:#ad3869}.nav-icon{font-size:1.05rem}.modal{width:min(440px,calc(100% - 30px));max-height:min(92dvh,760px);border:1px solid #f2dde8;border-radius:26px;background:#fffafc;color:var(--ink);padding:0;box-shadow:0 25px 100px #40284055;overflow:auto}.modal::backdrop{background:#34233888;backdrop-filter:blur(3px)}.modal-content{padding:28px}.modal-head{text-align:center;margin-bottom:20px}.modal-head h2{font-size:1.5rem;letter-spacing:-.5px;margin:11px 0 8px}.modal-head p{color:var(--muted);font-size:.88rem;line-height:1.6}.modal-emoji{display:inline-grid;place-items:center;background:linear-gradient(140deg,#ffe1eb,#eee2ff);width:64px;height:64px;border-radius:21px;font-size:32px}.form-stack{display:grid;gap:16px}.form-actions{display:flex;gap:8px;margin-top:10px}.form-actions>.btn{flex:1}.inline-note{font-size:.8rem;color:var(--muted);line-height:1.6}.toast{position:fixed;z-index:40;left:50%;bottom:112px;transform:translate(-50%,18px);min-width:160px;max-width:calc(100vw - 50px);text-align:center;padding:12px 19px;color:#fff;background:#4f364f;border-radius:14px;box-shadow:0 15px 40px #37243855;font-size:.82rem;font-weight:740;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:100px 0;text-align:center;font-size:1.2rem;color:#af628c}.error-panel{margin:60px auto;max-width:500px;background:#fff;padding:24px;border-radius:16px;border:1px solid #f3bec9;color:#a53a56}.calendar-aside{display:grid;gap:20px}
@media(max-width:800px){.two-col{grid-template-columns:1fr}.calendar-aside{grid-template-columns:1fr}.hero-ring{width:155px;height:155px}.ring-core{width:123px;height:123px}.hero{min-height:205px}.container{width:min(650px,100% - 30px)}}
@media(max-width:510px){.container{width:calc(100% - 24px)}.topbar{padding:16px 2px 13px}.brand-mark{width:40px;height:40px}.brand-name{font-size:1rem}.brand-small{font-size:.66rem}.hero{border-radius:24px;padding:22px 18px;min-height:210px;grid-template-columns:minmax(0,1fr) 103px;gap:3px}.hero h1{font-size:clamp(1.38rem,7vw,2rem)}.hero-date{font-size:.81rem;margin-bottom:11px}.hero-kicker{font-size:.72rem;margin-bottom:10px}.hero-ring{width:100px;height:100px}.ring-core{width:77px;height:77px}.ring-number{font-size:1.34rem}.ring-label{font-size:.57rem;margin-top:3px}.hero-pills{gap:5px}.pill{font-size:.65rem;padding:6px 9px}.stack{gap:14px;margin-top:14px}.card{padding:19px 16px;border-radius:23px}.section-head{margin-bottom:15px}.cal-title{min-width:auto;font-size:.85rem}.calendar-days,.calendar-weekdays{gap:2px}.day{min-height:40px;border-radius:10px;font-size:.8rem}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:15px 13px}.stat-card .number{font-size:1.29rem}.stat-card .label{font-size:.72rem}.settings-grid{grid-template-columns:1fr}.bottom-nav{bottom:max(9px,env(safe-area-inset-bottom));padding:7px}.content{padding-bottom:115px}.form-actions{flex-wrap:wrap}.footer-note{padding:0 15px}.modal-content{padding:23px 19px}}
@media(min-width:801px){.bottom-nav{width:430px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1240px){.bottom-nav{top:255px;bottom:auto;left:12px;transform:none;width:69px;grid-template-columns:1fr;border-radius:20px;padding:6px}.bottom-nav .nav-item{font-size:.61rem;padding:13px 3px}}

/* v1.1 — two independent product modes */
[hidden]{display:none!important}
.mode-segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid #ecdde6;background:#f9edf3;border-radius:20px;padding:5px;margin:4px 0 18px}
.mode-choice{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:0;background:transparent;color:#876d80;font-size:.86rem;font-weight:790;border-radius:15px;padding:10px 11px;transition:background .15s}
.mode-choice[aria-pressed=true]{background:white;color:#ad376b;box-shadow:0 4px 17px #7e48682a}
.mode-choice:hover{color:#a93d6d}
.fertility-note{display:flex;gap:14px;align-items:flex-start;border:1px solid #e7e0f9;background:linear-gradient(130deg,#f6f1ff,#fff9fe);border-radius:20px;padding:17px 19px;margin-top:16px}
.fertility-icon{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:12px;background:#e5d8fb;color:#6e4aaf;font-size:23px}
.fertility-label{color:#675687;font-size:.78rem;font-weight:800;margin-bottom:4px}
.fertility-note strong{font-size:1.01rem;color:#342747}
.fertility-explainer{max-width:810px;color:#857792;font-size:.76rem;line-height:1.55;margin-top:7px}
.fertility-warning{margin-top:8px;font-size:.76rem;font-weight:760;color:#926b26}
.day.is-fertile{background:#eeebfe;color:#6951a1}
.day.is-ovulation{background:#8f79ce;color:white}
.legend-swatch.fertile{background:#eeebfe;border:1px solid #cec3ef}
.legend-swatch.ovu{background:#8f79ce}
.pregnancy-hero{background:linear-gradient(120deg,#e8dcfb 0%,#f8efff 58%,#fff0f5 100%);border-color:#e5d6fa}
.pregnancy-hero .hero-kicker{color:#7052a4}
.pregnancy-hero .hero-ring{background:conic-gradient(#9c7ace 0 var(--progress),#e2d3f2 var(--progress) 100%)}
.pregnancy-hero .ring-core{background:#f5eefc}
.pregnancy-intro{padding:34px 22px;text-align:center;border:1px solid #ecdbf8;border-radius:25px;background:linear-gradient(110deg,#f4eafa,#fff4fa)}
.pregnancy-intro h1{font-size:2rem;margin:8px 0}
.pregnancy-intro p{font-size:.89rem;color:#81718a;max-width:420px;margin:auto}
.pregnancy-intro-flower{font-size:2.8rem;color:#aa6faf}
.pregnancy-landing{display:grid;gap:16px;max-width:720px;margin:auto}
.pregnancy-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0 8px}
.pregnancy-overview>div{background:white;border:1px solid #efe2f2;border-radius:17px;padding:17px 15px;min-width:0;box-shadow:var(--shadow)}
.pregnancy-overview span{display:block;font-size:.74rem;color:#89798d;margin-bottom:8px}
.pregnancy-overview strong{font-size:1rem;overflow-wrap:anywhere}
.pregnancy-source{font-size:.74rem;color:#8f7d95;padding:8px 2px 0}
.pregnancy-stack{margin-top:16px}
.pregnancy-form-card .section-sub{margin-top:10px;font-size:.8rem;color:#85748c;line-height:1.55}
.pregnancy-day{cursor:default}
.pregnancy-day:hover{transform:none;background:transparent}
.pregnancy-day.is-due,.pregnancy-day.is-due:hover{background:#9b6bc0;color:white;font-weight:850}
.pregnancy-day.is-start,.pregnancy-day.is-start:hover{background:#f5dce9;color:#a54a81}
.legend-swatch.due{background:#9b6bc0}
.legend-swatch.start{background:#f5dce9}
.pregnancy-disclaimer{margin-top:16px}
.pregnancy-timeline{display:grid;gap:0}
.timeline-point{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:12px;padding:17px 3px;border-bottom:1px solid #f4e7f4}
.timeline-point:last-child{border-bottom:0}
.timeline-marker{width:17px;height:17px;border:2px solid #cdbce0;border-radius:50%;background:white;position:relative}
.timeline-marker.reached{background:#9873c9;border-color:#9873c9}
.timeline-point>div:nth-child(2)>span{display:block;color:#8e7f91;font-size:.75rem;margin-bottom:3px}
.timeline-point strong{font-size:.88rem}
.timeline-date{font-size:.76rem;color:#746581;text-align:right}
@media(max-width:510px){.mode-segment{margin-top:0;border-radius:16px}.mode-choice{min-height:43px;padding:8px 5px;font-size:.76rem;gap:5px}.mode-choice svg{width:16px;height:16px}.fertility-note{padding:14px;gap:10px}.fertility-icon{width:30px;height:30px;font-size:18px}.pregnancy-overview{gap:7px}.pregnancy-overview>div{padding:12px 8px;border-radius:12px}.pregnancy-overview span{font-size:.67rem}.pregnancy-overview strong{font-size:.81rem}.timeline-point{grid-template-columns:18px 1fr;gap:7px}.timeline-date{grid-column:2;text-align:left;margin-top:-6px}.pregnancy-hero .hero-date{line-height:1.35}}

/* v1.2.0: unobtrusive, privacy-preserving clinic directory entry and attribution */
.clinics-entry{display:flex;align-items:center;gap:14px;background:linear-gradient(105deg,#fff,#fff8fc);border:1px solid #eadce9;border-radius:20px;padding:17px 19px;margin-top:24px;box-shadow:0 5px 21px #a8587a0b}
.clinics-entry-icon{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;background:#f7e4ef;color:#b64883;font-size:23px;font-weight:750}
.clinics-entry-text{flex:1;min-width:0}.clinics-entry-text strong{font-size:.93rem;color:#44364e}.clinics-entry-text p{margin:5px 0 0;font-size:.76rem;color:#897a8a;line-height:1.5}
.clinics-entry-link{color:#a94878;background:#fae9f1;border-radius:12px;text-decoration:none;font-size:.79rem;font-weight:780;padding:12px 13px;white-space:nowrap}
.clinics-entry-link:focus-visible,.zunar-credit a:focus-visible{outline:3px solid #9e71c3;outline-offset:3px}.zunar-credit{text-align:center;color:#918295;font-size:.77rem;padding:0 0 5px}.zunar-credit a{color:#a74c80;text-decoration:none;font-weight:800}
@media(max-width:510px){.clinics-entry{gap:10px;flex-wrap:wrap;padding:15px}.clinics-entry-icon{height:37px;width:37px}.clinics-entry-text{flex:1 1 calc(100% - 50px)}.clinics-entry-link{margin-left:46px;padding:9px 12px}}
