.health-tools .intimacy-options{border:0;min-width:0;margin:1rem 0;padding:0}.health-tools .intimacy-options legend{margin-bottom:.5rem;font-weight:700}.health-tools .intimacy-options .inline-check{border:1px solid var(--line);border-radius:1rem;align-items:flex-start;padding:.85rem}.health-tools .intimacy-options input{accent-color:var(--primary);flex-shrink:0}.health-tools .intimacy-options label:has(input:checked){background:var(--primary-soft);border-color:var(--primary)}.health-tools .intimacy-filters{gap:.5rem;display:grid}.health-tools .intimacy-history{padding:0;list-style:none}.health-tools .intimacy-history>li,.health-tools .intimacy-pattern{border-bottom:1px solid var(--line);padding:1rem 0}.health-tools .intimacy-history-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.health-tools .intimacy-context{font-size:.9rem}@media (width>=480px){.health-tools .intimacy-filters{grid-template-columns:1fr 1fr}.health-tools .intimacy-filters label:first-child{grid-column:1/-1}}.health-tools{gap:1rem;display:grid}.health-tools .card{padding:1.15rem}.health-tools h2{margin:0 0 .75rem;font-size:1.2rem}.health-tools h3{font-size:1rem}.health-tools label{gap:.35rem;margin:.65rem 0;display:grid}.health-tools input:not([type=checkbox]),.health-tools select,.health-tools textarea{box-sizing:border-box;border:1px solid var(--line);background:var(--surface-2);width:100%;color:var(--ink);font:inherit;border-radius:.6rem;padding:.7rem}.health-tools input[type=checkbox]{width:1.2rem;height:1.2rem}.health-tools .inline-check{align-items:center;gap:.6rem;display:flex}.health-tools .tool-nav{scrollbar-width:none;gap:.5rem;padding-bottom:.6rem;display:flex;overflow-x:auto}.health-tools .tool-nav::-webkit-scrollbar{display:none}.health-tools .tool-nav a{white-space:nowrap;background:var(--surface-2);color:var(--ink);border-radius:1rem;padding:.5rem .8rem;text-decoration:none}.health-tools .tool-nav a.active{background:var(--primary);color:var(--primary-ink)}.health-tools .tool-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.7rem;display:grid}.health-tools .tool-grid a{border:1px solid var(--line);color:inherit;border-radius:.8rem;gap:.4rem;padding:1rem;text-decoration:none;display:grid}.health-tools .table-scroll{overflow-x:auto}.health-tools table{border-collapse:collapse;width:100%;font-size:.9rem}.health-tools th,.health-tools td{text-align:left;border-bottom:1px solid var(--line);padding:.55rem}.health-tools .actions{flex-wrap:wrap;gap:.5rem;margin:.8rem 0;display:flex}.health-tools .notice{background:var(--surface-2);border-radius:.65rem;padding:.85rem;font-size:.9rem}.health-tools .metric{font-size:1.5rem;font-weight:700}.health-tools .spark{width:100%;height:170px;overflow:visible}.health-tools .brain-grid{grid-template-columns:repeat(3,1fr);gap:.55rem;display:grid}.health-tools .brain-grid button{min-height:65px;font-size:1.4rem}.health-tools .tool-error{color:var(--danger)}.health-tools .tool-success{color:var(--fertile)}@media print{.tabbar,.tool-nav,.health-entry,.health-tools button,.health-tools .no-print{display:none!important}.health-tools .card{break-inside:avoid;box-shadow:none;border:none}}.health-tools .card p{margin:.65rem 0}.health-tools .card ul,.health-tools .card ol{padding-left:1.2rem}.health-tools .card ul{list-style:outside}.health-tools .card li{margin:.45rem 0}.health-tools .spark text{fill:var(--ink)}.health-tools .brain-ink-0{color:#225bc2}.health-tools .brain-ink-1{color:#b82c38}.health-tools .brain-ink-2{color:#287546}.cycle-calendar{position:relative}.cycle-calendar .day-menu-selected{outline:2px solid var(--primary);outline-offset:3px}.cycle-calendar .day-menu-selected:not(.day-moment):after{content:"♡";color:var(--primary);background:var(--surface);border-radius:50%;width:12px;height:12px;font-size:14px;line-height:12px;position:absolute;top:calc(100% - 2px);left:50%;right:auto;transform:translate(-50%)}.cycle-date-menu{z-index:10;border:1px solid var(--line);background:var(--surface);box-shadow:0 12px 32px var(--primary-soft);border-radius:20px;margin-top:8px;padding:12px;position:absolute;top:100%;left:0;right:0}.cycle-date-menu-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.cycle-date-menu-head strong{color:var(--primary)}.cycle-date-action{width:100%;color:var(--ink);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:12px;text-decoration:none;display:flex}.cycle-date-action:hover,.cycle-date-action:focus-visible{background:var(--primary-soft)}.cycle-date-action>span:first-child{color:var(--primary);font-size:24px}.cycle-date-action strong,.cycle-date-action small{display:block}.cycle-date-action small{color:var(--muted)}.cycle-date-action:disabled{opacity:.6;cursor:wait}.cycle-date-menu p{margin:8px 12px;font-size:.85rem}.cycle-calendar .calendar-grid{row-gap:16px;padding-bottom:10px}.cycle-calendar .day-moment:after{top:calc(100% - 2px);left:50%;right:auto;transform:translate(-50%)}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff8fa;--surface:#fff;--surface-2:#fff0f5;--ink:#3d1a2b;--muted:#7d5a6b;--line:#fbe0ea;--primary:#c8246a;--primary-deep:#a01a54;--primary-ink:#fff;--primary-soft:#ffe4ee;--primary-gradient:linear-gradient(135deg, #cf2f74, #b81e5e);--accent:#f58fb3;--partner:#7f56c2;--period:#d42c5c;--period-deep:#ab1f49;--period-ink:#fff;--period-soft:#ffe5ec;--fertile:#7f56c2;--fertile-soft:#f0e8fb;--danger:#b3261e;--radius:24px;--shadow-rgb:160 26 84;--shadow:0 1px 3px rgb(var(--shadow-rgb) / 5%), 0 10px 28px rgb(var(--shadow-rgb) / 8%);--shadow-strong:0 6px 18px #b81e5e47;--backdrop:#46142d61;--font:"Nunito Variable", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-display:"Fraunces Variable", Georgia, "Times New Roman", serif;--heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c8246a' d='M12 21s-8.5-5.2-8.5-11.4A4.9 4.9 0 0 1 12 6.7a4.9 4.9 0 0 1 8.5 2.9C20.5 15.8 12 21 12 21z'/%3E%3C/svg%3E");--ornament:var(--heart);--tabbar-height:66px;--tabbar-gap:max(10px, env(safe-area-inset-bottom))}:root[data-theme=blue]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0a1222;--surface:#111c30;--surface-2:#17263f;--ink:#e7eef9;--muted:#97a6bf;--line:#22324f;--primary:#3d82f5;--primary-deep:#8db8ff;--primary-ink:#fff;--primary-soft:#1a2d50;--primary-gradient:linear-gradient(135deg, #4a8df8, #2463e6);--accent:#7fb0ff;--partner:#f472b6;--period:#e2457a;--period-deep:#ff9cbc;--period-soft:#3a1d2e;--fertile:#a78bfa;--fertile-soft:#282450;--danger:#ff7b7b;--shadow-rgb:0 0 0;--shadow:0 1px 3px #0000004d, 0 10px 28px #0000004d;--shadow-strong:0 6px 18px #2463e666;--backdrop:#02060f9e;--heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235b9bff' d='M12 21s-8.5-5.2-8.5-11.4A4.9 4.9 0 0 1 12 6.7a4.9 4.9 0 0 1 8.5 2.9C20.5 15.8 12 21 12 21z'/%3E%3C/svg%3E");--ornament:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235b9bff' d='M12 1.5c.7 5.3 2.6 8 10.5 10.5C14.6 14.5 12.7 17.2 12 22.5c-.7-5.3-2.6-8-10.5-10.5C9.4 9.5 11.3 6.8 12 1.5z'/%3E%3C/svg%3E")}:root[data-theme=blue] .toast{background:var(--primary)}:root[data-theme=blue] .health-tools .brain-ink-0{color:#8fbaff}:root[data-theme=blue] .health-tools .brain-ink-1{color:#ff939b}:root[data-theme=blue] .health-tools .brain-ink-2{color:#83dc9b}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{-webkit-text-size-adjust:100%}body{background:radial-gradient(130% 340px at 50% -60px, var(--primary-soft), transparent 75%) no-repeat, var(--bg);min-height:100dvh;color:var(--ink);font-family:var(--font);overscroll-behavior-y:none;margin:0;font-size:16px;font-weight:500;line-height:1.45}a,button,summary,label{touch-action:manipulation}strong{font-weight:700}h1,h2,h3,p,ul,ol{margin:0;padding:0}ul{list-style:none}a{color:inherit;text-decoration:none}code{font-size:.9em}small{font-size:13px;display:block}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}input:not([type=checkbox],[type=radio]),select,textarea{width:100%;min-height:46px;font:inherit;color:var(--ink);background:var(--surface);border:1.5px solid var(--line);appearance:none;border-radius:16px;padding:11px 13px;font-size:16px;transition:border-color .15s,box-shadow .15s}select{background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 19px),calc(100% - 14px);background-repeat:no-repeat;background-size:5px 5px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-soft);outline:none}::placeholder{color:var(--muted)}.icon{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px}.page{max-width:560px;padding:max(16px, env(safe-area-inset-top)) 16px calc(var(--tabbar-height) + var(--tabbar-gap) + 28px);flex-direction:column;gap:16px;margin:0 auto;display:flex}.page section{flex-direction:column;gap:8px;display:flex}.page-header{align-items:center;gap:6px;min-height:44px;display:flex}.page-header h1{min-width:0;font-family:var(--font-display);letter-spacing:-.015em;overflow-wrap:anywhere;flex:1;font-size:30px;font-weight:600;line-height:1.15}.page-header-greeting{color:var(--muted);margin-top:-14px;font-size:15px}.page-header>a:first-child{margin-left:-10px}.page-header-action{flex:none}.section-title{font-family:var(--font-display);margin-top:8px;font-size:20px;font-weight:600}.section-note,.lead{margin-top:-6px}.stack{flex-direction:column;gap:14px;display:flex}.stack-list{flex-direction:column;gap:10px;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.muted{color:var(--muted)}.small{font-size:14px}.center{text-align:center}.eyebrow{color:var(--primary-deep);font-size:13px;font-weight:700}.center-state{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:48px 16px;display:flex}.spinner{border:3px solid var(--primary-soft);border-top-color:var(--primary);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:28px 20px;display:flex}.empty:before{content:"";background:var(--ornament) center / contain no-repeat;opacity:.85;width:40px;height:40px}.btn{text-align:center;min-height:48px;color:var(--primary-deep);background:var(--surface);border:1.5px solid var(--primary-soft);border-radius:999px;justify-content:center;align-items:center;padding:10px 22px;font-weight:700;transition:transform .12s,opacity .12s,box-shadow .12s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--primary-gradient);color:var(--primary-ink);box-shadow:var(--shadow-strong);border-color:#0000}.btn-primary:disabled{box-shadow:none}.btn-google{color:#1f1f1f;box-shadow:var(--shadow);background:#fff;border:1px solid #747775;gap:10px}.btn-ghost{color:var(--muted);background:0 0;border-color:#0000}.btn-danger{color:var(--danger);border:1.5px solid var(--line);background:0 0}.btn-danger.armed{background:var(--danger);color:var(--surface);border-color:var(--danger)}.btn-sm{min-height:42px;padding:7px 16px;font-size:15px}.btn-lg{min-height:54px;font-size:17px}.btn-xl{width:100%;min-height:64px;font-size:20px}.icon-btn{width:44px;height:44px;color:var(--primary-deep);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn.flip .icon{transform:rotate(180deg)}.icon-btn.armed{width:auto;color:var(--danger);padding:0 10px;font-size:14px;font-weight:600}.auto-row{min-height:44px;color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:6px;font-size:15px;display:flex}.auto-row .icon{width:19px;height:19px}.auto-tag{color:var(--primary);align-items:center;gap:4px;margin-top:4px;display:inline-flex}.auto-tag .icon{width:14px;height:14px}.tabbar{right:10px;bottom:var(--tabbar-gap);z-index:10;background:var(--surface);border:1px solid var(--line);max-width:540px;box-shadow:0 10px 30px rgb(var(--shadow-rgb) / 16%);border-radius:28px;justify-content:center;margin:0 auto;display:flex;position:fixed;left:10px}.tab{min-width:0;height:var(--tabbar-height);color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:700;display:flex}.tab .icon{box-sizing:content-box;border-radius:14px;width:22px;height:22px;padding:3px 10px;transition:background .15s}.tab.active{color:var(--primary-deep)}.tab.active .icon{color:var(--primary);background:var(--primary-soft)}.tab-home{color:var(--primary-deep);transform:translateY(-12px)}.tab-home .icon,.tab-home.active .icon{color:#fff;background:var(--primary);width:24px;height:24px;box-shadow:0 6px 14px rgb(var(--shadow-rgb) / 22%);border-radius:50%;padding:11px}@media (width<=400px){.tab{font-size:10px}.tab .icon{padding-inline:6px}.tab-home .icon,.tab-home.active .icon{padding:10px}}.toast{left:16px;right:16px;bottom:calc(var(--tabbar-height) + var(--tabbar-gap) + 12px);z-index:60;max-width:528px;color:var(--primary-ink);background:var(--primary-deep);box-shadow:var(--shadow-strong);text-align:center;border-radius:20px;margin:0 auto;padding:12px 18px;font-weight:700;position:fixed}.offline-bar{padding:calc(env(safe-area-inset-top) + 6px) 16px 6px;text-align:center;color:var(--primary-deep);background:var(--primary-soft);font-size:13px}.auth{max-width:420px;min-height:100dvh;padding:max(40px, env(safe-area-inset-top)) 24px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;justify-content:center;gap:32px;margin:0 auto;display:flex;position:relative;overflow:hidden}.auth:before,.auth:after{content:"";z-index:-1;background:var(--ornament) center / contain no-repeat;opacity:.1;position:absolute}.auth:before{width:150px;height:150px;top:7%;right:-28px;transform:rotate(14deg)}.auth:after{width:170px;height:170px;bottom:9%;left:-34px;transform:rotate(-12deg)}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.auth-brand img{width:92px;height:92px;box-shadow:var(--shadow-strong);border-radius:28px;margin-bottom:6px}.auth-brand h1{font-family:var(--font-display);letter-spacing:-.02em;font-size:44px;font-weight:600;line-height:1.05}.auth-brand p{max-width:30ch;color:var(--muted);font-size:17px}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-label{font-size:14px;font-weight:700}.field-hint{color:var(--muted);font-size:13px}.field-pair{grid-template-columns:1fr 1fr;align-items:end;gap:12px;display:grid}.form-error{color:var(--danger);font-size:14px}.switch-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.switch-row small{color:var(--muted)}input[role=switch]{background:var(--line);appearance:none;cursor:pointer;border-radius:15px;flex:none;width:50px;height:30px;margin:0;transition:background .15s;position:relative}input[role=switch]:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}input[role=switch]:checked{background:var(--primary)}input[role=switch]:checked:after{transform:translate(20px)}.segmented{background:var(--surface-2);border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;padding:4px;display:grid}.segmented button{min-height:42px;color:var(--muted);border-radius:999px;padding:4px;font-size:14px;font-weight:700;transition:background .15s,color .15s}.segmented button.on{color:var(--primary-deep);background:var(--surface);box-shadow:0 2px 8px rgb(var(--shadow-rgb) / 14%)}.segmented-wrap{border-radius:24px}.segmented-lg button{min-height:54px;font-size:17px}.onboarding h1{font-family:var(--font-display);margin-bottom:4px;font-size:30px;font-weight:600;line-height:1.15}.stack-tight{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.link-card{gap:16px}.link-form{border-top:1px solid var(--line);padding-top:14px}.invite{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.chips{flex-wrap:wrap;gap:7px;display:flex}.chip{background:var(--surface);border:1.5px solid var(--line);border-radius:999px;min-height:42px;padding:6px 15px;font-size:15px;font-weight:600;transition:background .12s,border-color .12s,transform .12s}.chip:active:not(:disabled){transform:scale(.96)}.chip.on{color:var(--primary-ink);background:var(--primary-gradient);border-color:#0000}.chip:disabled{opacity:.6}.chip-outline{border-color:var(--accent);background:0 0}.prep-choice{flex-direction:column;gap:8px;width:100%;margin-top:6px;display:flex}.result .prep-choice{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);align-items:center;margin-top:10px;padding:14px 16px}.result .prep-choice .chips{justify-content:center}.hero .chip:not(.on,.chip-outline){background:var(--surface)}.chip-flow.on{color:var(--period-ink);background:var(--period);border-color:#0000}.emoji-grid{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.emoji-grid button{aspect-ratio:1;background:var(--surface-2);border:2px solid #0000;border-radius:16px;max-height:52px;font-size:22px}.emoji-grid button.on{border-color:var(--primary)}.share-choice{border:0;flex-direction:column;gap:7px;min-width:0;margin:0;padding:0;display:flex}.share-choice legend{padding:0 0 7px}.share-choice label{background:var(--surface-2);cursor:pointer;border:2px solid #0000;border-radius:18px;gap:10px;padding:11px 12px;display:flex}.share-choice label.on{background:var(--surface);border-color:var(--primary)}.share-choice input{width:18px;height:18px;accent-color:var(--primary);flex:none;margin:2px 0 0}.share-choice small{color:var(--muted)}.sheet-backdrop{z-index:40;background:var(--backdrop);justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:560px;max-height:90dvh;padding:8px 18px calc(env(safe-area-inset-bottom) + 18px);overscroll-behavior:contain;background:var(--surface);box-shadow:0 -10px 40px rgb(var(--shadow-rgb) / 16%);border-radius:30px 30px 0 0;animation:.22s rise;overflow-y:auto}.sheet:before{content:"";background:var(--line);border-radius:3px;width:40px;height:5px;margin:0 auto 6px;display:block}.sheet-save{z-index:1;margin:0 -2px;position:sticky;bottom:0}.sheet:focus{outline:none}.sheet-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.sheet-head h2{font-family:var(--font-display);font-size:20px;font-weight:600}.sheet-head h2:first-letter{text-transform:uppercase}.sheet-head .icon-btn{margin-right:-10px}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}}.rows{padding:2px 16px}.row{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:58px;padding:9px 0;display:flex}.row:last-child,.rows>li:last-child>.row{border-bottom:0}.card.row{border-bottom:1px solid var(--line);padding:14px 18px}a.row:after{content:"";border-top:2px solid var(--accent);border-right:2px solid var(--accent);flex:none;width:9px;height:9px;margin-right:4px;transform:rotate(45deg)}.row-main{overflow-wrap:anywhere;flex:1;min-width:0}.row-main strong{font-weight:700;display:block}.row-emoji{font-size:19px}.row-done .row-main{color:var(--muted);text-decoration:line-through}.row .icon-btn{color:var(--muted);opacity:.75;margin-right:-8px}.row .icon-btn.armed{opacity:1}.check{width:26px;height:26px;color:var(--primary-ink);border:2px solid var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.check:after{content:"";position:absolute;inset:-9px}.check.on{background:var(--primary);border-color:var(--primary)}.check .icon{stroke-width:3px;width:16px;height:16px}.add-row{gap:8px;display:flex}.add-row input{background:var(--surface);flex:1;min-width:0}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.tile{overflow-wrap:anywhere;flex-direction:column;height:100%;min-height:122px;display:flex}.tile-emoji{margin-bottom:8px;font-size:28px;line-height:1.1}.mix-card{align-items:center;gap:14px;display:flex}.mix-card strong{display:block}.mix-emojis{flex:none;display:flex}.mix-emojis span{background:var(--surface-2);border:2px solid var(--surface);border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:21px;display:flex}.mix-emojis span+span{margin-left:-12px}.mix-flow{align-items:center;gap:6px;display:flex}.mix-step{text-align:center;overflow-wrap:anywhere;flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.mix-step>span{font-size:30px;line-height:1.2}.mix-plus{color:var(--muted);font-size:22px}.notice{color:var(--muted);background:var(--surface-2);box-shadow:none;border-color:#0000}.hero{background:linear-gradient(150deg, var(--primary-soft), var(--surface) 90%);border-color:var(--primary-soft);flex-direction:column;gap:6px;display:flex;position:relative;overflow:hidden}.hero>*{position:relative}.hero:after{content:"";background:var(--ornament) center / contain no-repeat;opacity:.1;width:96px;height:96px;position:absolute;top:-14px;right:-16px;transform:rotate(14deg)}.hero h3{font-family:var(--font-display);overflow-wrap:anywhere;font-size:26px;font-weight:600;line-height:1.2}.hero-plus{color:var(--primary)}.page section.install-card{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:8px}.install-card .icon-btn{margin:-8px -8px 0 0}.invite-code{color:var(--primary-deep);letter-spacing:.1em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:800}.glance{align-items:center;gap:12px;display:flex}.glance-dot{background:var(--phase-color);border-radius:50%;flex:none;width:14px;height:14px}.glance-menstrual,.ring-menstrual{--phase-color:var(--period)}.glance-follicular,.ring-follicular{--phase-color:var(--accent)}.glance-fertile,.ring-fertile{--phase-color:var(--fertile)}.glance-luteal,.ring-luteal{--phase-color:var(--primary)}.glance-late,.ring-late{--phase-color:var(--muted)}.now-card{flex-direction:column;gap:14px;display:flex}.now-row{align-items:flex-start;gap:12px;display:flex}.now-row .row-main small{display:block}.now-dot{border-radius:50%;flex:none;width:12px;height:12px;margin-top:5px;position:relative}.now-dot-me{background:var(--primary)}.now-dot-partner{background:var(--partner)}.now-busy:after{content:"";opacity:0;border:2px solid;border-radius:50%;animation:2s ease-out infinite now-pulse;position:absolute;inset:-4px}.now-dot-me.now-busy{color:var(--primary)}.now-dot-partner.now-busy{color:var(--partner)}@keyframes now-pulse{0%{opacity:.7;transform:scale(.8)}to{opacity:0;transform:scale(1.6)}}@media (prefers-reduced-motion:reduce){.now-busy:after{opacity:.5;animation:none}}.upcoming{padding-top:4px;padding-bottom:4px}.upcoming .agenda-time{width:58px}.next-auto{margin-top:10px}.history-more{margin:10px auto 0;display:block}.reveal{z-index:50;padding:calc(env(safe-area-inset-top) + 8px) 20px calc(env(safe-area-inset-bottom) + 18px);background:linear-gradient(180deg, var(--primary-soft), var(--bg) 55%);flex-direction:column;animation:.15s fade;display:flex;position:fixed;inset:0;overflow-y:auto}.reveal:focus{outline:none}.reveal-close{flex:none;align-self:flex-end}.reveal-body{text-align:center;flex-direction:column;flex:1 0 auto;justify-content:center;align-items:center;gap:14px;width:100%;max-width:520px;margin:0 auto;padding:12px 0 24px;display:flex}.spin-window{min-height:92px;font-family:var(--font-display);color:var(--primary);overflow-wrap:anywhere;justify-content:center;align-items:center;font-size:30px;font-weight:600;display:flex}.spin-window span{animation:90ms ease-out slot}@keyframes slot{0%{opacity:.2;transform:translateY(14px)}}.reveal-error{font-size:18px}.reveal-actions{flex-direction:column;flex:none;gap:4px;width:100%;max-width:520px;margin:0 auto;display:flex}.result{flex-direction:column;align-items:center;gap:10px;width:100%;animation:.32s cubic-bezier(.2,1.3,.5,1) pop;display:flex}.result:before{content:"";background:var(--ornament) center / contain no-repeat;width:46px;height:46px;animation:1.1s .3s 2 heartbeat}@keyframes heartbeat{30%{transform:scale(1.18)}60%{transform:scale(.96)}}@keyframes pop{0%{opacity:0;transform:scale(.88)}}.result-title{font-family:var(--font-display);letter-spacing:-.01em;overflow-wrap:anywhere;font-size:35px;font-weight:600;line-height:1.12}.result-plus{color:var(--primary);font-size:26px;font-weight:600;line-height:1}.result-reason{max-width:34ch;margin-top:4px;font-size:17px}.alternatives{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:100%;margin-top:12px;padding:14px 16px}.alternatives ul{flex-direction:column;gap:8px;margin-top:8px;display:flex}.alternatives strong,.alternatives span{display:block}.alternatives span{color:var(--muted);font-size:14px}.extra-idea{color:var(--muted);font-size:15px}.cycle-hero{text-align:center;align-items:center;gap:8px;padding-top:20px}.cycle-hero .btn{align-self:stretch;margin-top:8px}.cycle-countdown{font-size:18px;font-weight:700}.ring{width:190px;height:190px;margin-bottom:4px;position:relative}.ring svg{width:100%;height:100%}.ring circle{fill:none;stroke-width:13px}.ring-track{stroke:var(--surface-2)}.ring-value{stroke:var(--phase-color);stroke-linecap:round;transition:stroke-dashoffset .5s}.ring-center{flex-direction:column;justify-content:center;align-items:center;padding:0 34px;line-height:1.15;display:flex;position:absolute;inset:0}.ring-center strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:54px;font-weight:600;line-height:1}.ring-center small{color:var(--muted)}.page section.stats{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.tips{flex-direction:column;gap:7px;padding-left:18px;list-style:outside;display:flex}ol.tips{list-style:decimal}.tag-list{flex-wrap:wrap;gap:6px;display:flex}.tag-list li{background:var(--surface-2);border-radius:14px;padding:4px 11px;font-size:14px}.calendar-head{justify-content:space-between;align-items:center;margin:-6px -8px 0;display:flex}.calendar-head h3{font-family:var(--font-display);font-size:19px;font-weight:600}.calendar-head h3:first-letter{text-transform:uppercase}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.calendar-weekday{color:var(--muted);text-align:center;padding-bottom:4px;font-size:12px;font-weight:700}.day{font-variant-numeric:tabular-nums;width:38px;height:38px;color:var(--ink);border-radius:50%;justify-content:center;justify-self:center;align-items:center;font-size:15px;display:flex;position:relative}.day i{background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;bottom:4px}.day-today{color:var(--primary);font-weight:800}.day-today.day-period,.day-today.day-ovulation{box-shadow:0 0 0 2px var(--bg), 0 0 0 3.5px var(--primary)}.day-moment:after{content:"";z-index:1;background:var(--heart) center / contain no-repeat;width:11px;height:11px;filter:drop-shadow(0 0 1px var(--surface));position:absolute;top:-1px;right:-2px}.cycle-calendar .calendar-grid{gap:16px 0}.cycle-calendar .legend{justify-content:center;margin-top:10px}.legend-heart{background:var(--heart) center / contain no-repeat;width:11px;height:11px}.moments-head{align-items:center;gap:12px;display:flex}.moments-heart{background:var(--heart) center / contain no-repeat;flex:none;width:26px;height:26px}.moments-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.moments-list{margin:16px 0 12px}.moments-list .row{justify-content:space-between}.moment-toggle{text-align:left;border:1.5px dashed var(--accent);border-radius:18px;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.moment-toggle.on{background:var(--primary-soft);border-style:solid;border-color:var(--primary)}.moment-toggle:not(.on) .moments-heart{opacity:.45}.day-period{color:var(--period-ink);background:var(--period)}.day-spotting{background:var(--period-soft)}.day-predicted{color:var(--period-deep);background:var(--period-soft);border:1.5px dashed var(--period)}.day-fertile{background:var(--fertile-soft)}.day-ovulation{color:var(--surface);background:var(--fertile)}.legend{color:var(--muted);flex-wrap:wrap;gap:5px 12px;margin-top:4px;font-size:13px;display:flex}.legend li{align-items:center;gap:5px;display:flex}.legend-dot{border-radius:50%;width:11px;height:11px}.legend-dot.day-predicted{border-width:1px}.pregnancy-week{font-size:40px;line-height:1.1}.battery-head{justify-content:space-between;align-items:baseline;display:flex}.battery-score{font-variant-numeric:tabular-nums;font-size:26px}.meter{background:var(--surface-2);border-radius:5px;height:10px;overflow:hidden}.meter span{background:var(--primary-gradient);border-radius:5px;height:100%;display:block}.battery-parts{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.battery-parts span,.battery-parts strong{display:block}.tag-group summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:48px;font-size:15px;font-weight:700;list-style-position:inside;display:flex}.tag-group summary>span:first-child{flex:1}.tag-count{text-align:center;min-width:22px;color:var(--primary-ink);background:var(--primary);border-radius:11px;padding:1px 7px;font-size:13px}.privacy-note{background:var(--surface-2);border-radius:18px;flex-direction:column;gap:4px;padding:12px;display:flex}.article section,.guide{gap:8px}.article{flex-direction:column;gap:16px;display:flex}.article h2,.guide h2{font-family:var(--font-display);font-size:20px;font-weight:600}.chat{flex-direction:column;gap:8px;display:flex}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:20px;max-width:88%;padding:10px 13px}.bubble-user{color:var(--primary-ink);background:var(--primary-gradient);border-bottom-right-radius:6px;align-self:flex-end}.bubble-assistant{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}.clamp{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.post{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.post-body{white-space:pre-wrap;overflow-wrap:anywhere}.link-btn{min-height:32px;color:var(--primary-deep);font-size:14px;text-decoration:underline}.link-btn.armed{color:var(--danger);font-weight:600}.agenda-connect-title{margin-top:0;margin-bottom:4px}.agenda-calendar-head{align-items:center;gap:2px;margin-bottom:6px;display:flex}.agenda-calendar-head h3{font-family:var(--font-display);flex:1;font-size:20px;font-weight:600}.agenda-calendar-head h3:first-letter{text-transform:uppercase}.agenda-calendar-head .icon-btn{color:var(--muted)}.agenda-calendar .calendar-grid{gap:2px 0}.agenda-calendar .calendar-weekday,.cycle-calendar .calendar-weekday{letter-spacing:.04em;padding-bottom:6px;font-size:11px;font-weight:600}.agenda-day{font-variant-numeric:tabular-nums;color:var(--ink);flex-direction:column;align-items:center;gap:3px;padding:2px 0;font-size:15px;display:flex}.agenda-day-number{border-radius:50%;place-items:center;width:36px;height:36px;transition:background .15s,color .15s;display:grid}.agenda-today .agenda-day-number{color:var(--primary);font-weight:800}.agenda-selected .agenda-day-number{color:var(--primary-ink);background:var(--primary);font-weight:700}.agenda-dots{gap:3px;height:4px;display:flex}.agenda-dots i{border-radius:50%;width:4px;height:4px}.agenda-dot-me,.legend-dot.agenda-dot-me{background:var(--accent)}.agenda-dot-partner,.legend-dot.agenda-dot-partner{background:var(--partner)}.agenda-calendar .legend{justify-content:center;margin-top:8px}.agenda-day-title{margin-top:8px;font-size:17px}.agenda-day-title:first-letter{text-transform:uppercase}.agenda-empty{padding:4px 0}.agenda-list{flex-direction:column;display:flex}.agenda-list li+li{border-top:1px solid var(--line)}.agenda-event{color:inherit;align-items:stretch;gap:12px;padding:12px 0;text-decoration:none;display:flex}.agenda-time{font-variant-numeric:tabular-nums;flex-direction:column;flex:none;width:44px;font-size:14px;font-weight:700;line-height:1.3;display:flex}.agenda-time small{color:var(--muted);font-weight:500}.agenda-event-main{flex-direction:column;gap:2px;min-width:0;display:flex}.agenda-bar{border-radius:2px;flex:none;width:3px}.agenda-bar-me{background:var(--primary)}.agenda-bar-partner{background:var(--partner)}.chips-scroll{scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px;padding:0 16px;overflow-x:auto}.chips-scroll::-webkit-scrollbar{display:none}.chips-scroll .chip{flex:none}.movie-draw{flex-direction:column;gap:8px;display:flex}.movie-filters-head{justify-content:space-between;align-items:center;display:flex}.movie-filters-head .section-title{margin-top:0}.movie-result{gap:8px}.movie-poster{aspect-ratio:2/3;object-fit:cover;background:var(--surface-2);width:min(52vw,200px);height:auto;box-shadow:0 12px 32px rgb(var(--shadow-rgb) / 26%);border-radius:20px}.movie-title{font-family:var(--font-display);font-size:29px;font-weight:600}.movie-overview{max-width:44ch;font-size:15px;line-height:1.4}.movie-credits{flex-direction:column;gap:3px;display:flex}.chip-provider{align-items:center;gap:6px;display:inline-flex}.chip-provider img{border-radius:5px}.watched-list{padding:0}.watched-poster{object-fit:cover;background:var(--surface-2);border-radius:5px;flex:none;width:36px;height:54px}.tmdb-credit{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:4px 0;display:flex}.movie-stats{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:4px 12px;display:flex}.movie-rating{color:var(--primary);font-size:20px}.movie-genres{justify-content:center}.movie-actions{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:8px;display:flex}a.chip{align-items:center;display:inline-flex}.segmented-wrap{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.program-switch{margin-top:-4px}.program-switch a{min-height:42px;color:var(--muted);border-radius:999px;place-items:center;font-size:15px;font-weight:700;text-decoration:none;transition:background .15s,color .15s;display:grid}.program-switch a.on{color:var(--primary-deep);background:var(--surface);box-shadow:0 2px 8px rgb(var(--shadow-rgb) / 14%)}.place-location{text-align:left;width:100%;color:inherit;align-items:center;gap:12px;padding:14px 18px;display:flex}.place-location>.icon{width:26px;height:26px;color:var(--primary);flex:none}.place-location .row-main{flex-direction:column;gap:2px;display:flex}.place-group{flex-direction:column;gap:6px;margin-top:8px;display:flex}.place-group-label{color:var(--muted);font-size:13px;font-weight:700}.place-result{text-align:left;width:100%;color:inherit}.place-visit .row-main{flex-direction:column;gap:2px;display:flex}.stars{color:var(--line);gap:1px;font-size:15px;line-height:1;display:inline-flex}.stars .on{color:var(--primary)}.stars-edit{gap:0;font-size:24px}.stars-edit button{min-width:36px;min-height:36px;color:var(--line)}.stars-edit button.on{color:var(--primary)}.place-rating{flex-direction:column;align-items:center;gap:2px;margin:6px 0;display:flex}.place-open{color:#1d7a45;font-weight:700}:root[data-theme=blue] .place-open{color:#62d394}.place-closed{color:var(--danger);font-weight:700}.osm-credit{text-align:center;padding:4px 0}.section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.together-hero{text-align:left;width:100%;color:inherit;flex-direction:column;align-items:flex-start;display:flex}.together-hero h3{font-size:38px}.together-glance{color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}.together-days{font-family:var(--font-display);color:var(--primary-deep);font-size:26px;font-weight:600}.date-row,.wish-row{text-align:left;width:100%;color:inherit}.date-row .row-main,.wish-row .row-main,.wish-partner .row-main{flex-direction:column;gap:2px;min-width:0;display:flex}.date-when{color:var(--muted);flex:none;font-size:13px;font-weight:700}.date-when.soon{color:var(--primary-deep)}.wishes-entry{margin-bottom:4px}.wish-link{color:var(--primary-deep);word-break:break-all;margin:-4px 0 8px 39px;font-size:13px;display:inline-block}.wish-partner .wish-link{margin:2px 0 0}.wish-partner .chip{flex:none}.wish-received .row-main strong{color:var(--muted);font-weight:600;text-decoration:line-through}.plan-card{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.plan-card-main{text-align:left;width:100%;color:inherit;flex-direction:column;gap:3px;display:flex}.plan-title{font-family:var(--font-display);font-size:21px;font-weight:600}.plan-when{grid-template-columns:1fr 1fr;gap:10px;display:grid}.agenda-dots .agenda-dot-plan{background:var(--heart) center / contain no-repeat;border-radius:0;width:7px;height:7px}.agenda-day-plans{margin-bottom:10px}
