:root{color:#1c1b1f;font-synthesis:none;text-rendering:optimizelegibility;--primary:#00897b;--primary-strong:#00695c;--primary-container:#b2dfdb;--on-primary-container:#00251e;--secondary-container:#c5cae9;--surface:#fff;--surface-variant:#f5f5f5;--surface-soft:#f8f5fb;--text:#1c1b1f;--muted:#625f66;--outline:#c8c5ca;--outline-soft:#e6e1e5;--period:#c2185b;--period-bg:#fce4ec;--fertile:#7b1fa2;--fertile-bg:#f3e5f5;--unprotected:#43a047;--unprotected-bg:#e8f5e9;--withdrawal:#9e9d24;--withdrawal-bg:#f9fbe7;--protected:#fb8c00;--protected-bg:#fff3e0;--abstain:#ef5350;--abstain-bg:#ffebee;--shadow:0 10px 30px #201d2417;background:#fafafa;font-family:Inter,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#fafafa;min-width:320px}body{background:#fafafa;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:999px;min-height:44px;padding:.7rem 1rem;font-weight:700;transition:transform .14s,background .14s,box-shadow .14s}button:hover:not(:disabled){background:var(--primary-strong)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 35%, transparent);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.1rem;font-size:1.25rem;line-height:1.25}h2{font-size:clamp(1.45rem,3vw,1.9rem);line-height:1.2}h3{font-size:1rem}.app-shell{min-height:100vh}.web-topbar{z-index:20;min-height:68px;padding:.75rem max(1rem, env(safe-area-inset-left));border-bottom:1px solid var(--outline-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;align-items:center;gap:.75rem;display:flex;position:sticky;top:0}.web-topbar p{color:var(--muted);margin:0;font-size:.78rem}.privacy-chip{background:var(--primary-container);color:var(--on-primary-container);border-radius:999px;align-items:center;gap:.4rem;margin-left:auto;padding:.45rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.app-content{width:min(100%,1180px);padding:1rem 1rem calc(7rem + env(safe-area-inset-bottom));margin:0 auto}.app-tabs{z-index:40;padding:.45rem max(.4rem, env(safe-area-inset-left)) calc(.35rem + env(safe-area-inset-bottom));border-top:1px solid var(--outline-soft);background:#f8f1fb;grid-template-columns:repeat(4,minmax(0,1fr));gap:.15rem;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #261f2a0f}.app-tab{color:#49454f;background:0 0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:64px;padding:.35rem .25rem;font-size:.72rem;font-weight:650;display:flex}.app-tab svg{stroke-width:2px;width:24px;height:24px}.app-tab:hover:not(:disabled){color:var(--text);background:#c5cae96b}.app-tab[aria-selected=true]{background:var(--secondary-container);color:var(--text)}.loading-state{min-height:60vh;color:var(--muted);place-items:center;display:grid}.calendar-summary{background:var(--primary-container);color:var(--on-primary-container);border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:1rem;padding:.8rem 1rem;font-size:.88rem;display:flex}.summary-stat{white-space:nowrap}.tracker-month{padding:.4rem 0}.tracker-month-nav{grid-template-columns:48px 1fr 48px;align-items:center;gap:.5rem;margin-bottom:.6rem;display:grid}.tracker-month-title{text-align:center;margin:0;font-size:clamp(1.45rem,4vw,2rem);font-weight:700}.icon-button{width:44px;min-height:44px;color:var(--text);background:0 0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--surface-variant);color:var(--primary-strong)}.icon-button svg{width:24px;height:24px}.calendar-view-row{justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem 0 .8rem;display:flex}.segmented-control{border:1px solid var(--outline);background:var(--surface);border-radius:18px;padding:3px;display:inline-flex}.segmented-control button,.today-button{min-height:42px;color:var(--text);background:0 0;align-items:center;gap:.45rem;padding:.55rem .85rem;font-weight:650;display:inline-flex}.segmented-control button:hover:not(:disabled),.today-button:hover:not(:disabled){background:var(--surface-variant);color:var(--primary-strong)}.segmented-control button[aria-pressed=true]{background:var(--secondary-container)}.segmented-control svg,.today-button svg{width:18px;height:18px;color:var(--primary)}.today-button{color:var(--primary-strong)}.tracker-dow-row,.tracker-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.tracker-dow-row{color:var(--muted);text-align:center;margin-bottom:.3rem;font-size:.72rem;font-weight:700}.tracker-cell{background:var(--surface);min-width:0;min-height:clamp(4.1rem,9.5vw,7rem);color:var(--text);box-shadow:none;font-variant-numeric:tabular-nums;border:1px solid #0000;border-radius:16px;flex-direction:column;justify-content:flex-start;align-items:center;padding:.45rem .35rem;font-size:.85rem;display:flex;position:relative;overflow:hidden}.tracker-grid-week .tracker-cell{min-height:clamp(8rem,22vw,13rem)}.tracker-cell:hover:not(:disabled){background:var(--surface-variant);color:var(--text);box-shadow:inset 0 0 0 1px var(--outline)}.tracker-cell:disabled{color:var(--outline);opacity:.58;background:0 0}.tracker-cell-day{font-size:clamp(.82rem,2vw,1rem);font-weight:650}.tracker-cell-today{border-color:var(--outline)}.tracker-cell-today .tracker-cell-day{font-weight:850}.tracker-cell-selected{border:2px solid var(--primary)}.tracker-cell-bleeding{border-color:var(--period);background:var(--period-bg)}.tracker-cell-bleeding-predicted{border-style:dashed}.tracker-cell-fertile{border-color:color-mix(in srgb, var(--fertile) 62%, white);background:var(--fertile-bg)}.tracker-cell.tracker-cell-today{border-color:var(--primary)}.tracker-cell-action-U{background:var(--unprotected-bg);border-color:color-mix(in srgb, var(--unprotected) 45%, transparent)}.tracker-cell-action-W{background:var(--withdrawal-bg);border-color:color-mix(in srgb, var(--withdrawal) 45%, transparent)}.tracker-cell-action-C{background:var(--protected-bg);border-color:color-mix(in srgb, var(--protected) 45%, transparent)}.tracker-cell-action-A{background:var(--abstain-bg);border-color:color-mix(in srgb, var(--abstain) 45%, transparent)}.tracker-cell.tracker-cell-bleeding{background:var(--period-bg);border-color:var(--period)}.tracker-cell-credit{box-shadow:inset 0 0 0 2px #ffb300}.tracker-cell-plan-block{flex-direction:column;align-items:center;margin-top:.25rem;line-height:1.05;display:flex}.tracker-cell-plan-letter{font-size:1rem;font-weight:850}.tracker-cell-plan-risk{color:var(--muted);margin-top:.2rem;font-size:.66rem;font-weight:700}.tracker-grid-week .tracker-cell-plan-letter{font-size:1.2rem}.tracker-cell-phase{color:var(--muted);margin-top:.15rem;font-size:.66rem;font-weight:650}.tracker-cell-period-dot{background:var(--period);border-radius:50%;width:7px;height:7px;margin-top:.22rem}.tracker-cell-period-dot-predicted{border:1px solid var(--period);background:0 0}.tracker-cell-log-dot{background:var(--primary);border-radius:50%;width:5px;height:5px;position:absolute;bottom:7px;left:7px}.tracker-cell-credit-dot{background:#ffb300;border-radius:50%;width:7px;height:7px;position:absolute;bottom:7px;right:6px}.tracker-legend{color:var(--muted);flex-wrap:wrap;gap:.75rem 1.2rem;margin:1rem 0 0;padding:.75rem 0;font-size:.78rem;list-style:none;display:flex}.tracker-legend li{align-items:center;gap:.35rem;display:inline-flex}.swatch{border-radius:50%;width:11px;height:11px;display:inline-block}.swatch-bleeding{background:var(--period)}.swatch-bleeding-predicted{border:1px solid var(--period);background:0 0}.swatch-fertile{background:var(--fertile)}.swatch-credit{background:#ffb300}.swatch-sample{background:var(--outline)}.swatch-log{background:var(--primary)}.swatch-action-U{background:var(--unprotected)}.swatch-action-W{background:var(--withdrawal)}.swatch-action-C{background:var(--protected)}.swatch-action-A{background:var(--abstain)}.calendar-nudge{width:100%;color:var(--text);text-align:left;box-shadow:none;border-radius:0;justify-content:space-between;align-items:center;gap:.75rem;margin:0 0 .7rem;padding:.75rem 1rem;font-size:.86rem;display:flex}.calendar-nudge strong{color:var(--primary-strong);white-space:nowrap}.calendar-nudge-period{background:#fff7e8}.calendar-nudge-reconcile{background:var(--secondary-container)}.cycle-ledger-card{border:1px solid var(--outline-soft);background:var(--surface);border-radius:18px;margin:.75rem 0 1rem;padding:.85rem}.cycle-ledger-head,.cycle-ledger-copy{color:var(--muted);justify-content:space-between;align-items:center;gap:.75rem;font-size:.76rem;font-weight:750;display:flex}.cycle-ledger-meter{background:var(--surface-variant);border-radius:999px;height:8px;margin:.45rem 0;overflow:hidden}.cycle-ledger-meter span{border-radius:inherit;background:var(--primary);height:100%;display:block}.cycle-ledger-meter .cycle-ledger-over{background:#d32f2f}.danger-text{color:#b3261e}.day-panel-backdrop,.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1512176b;justify-content:center;align-items:flex-end;padding:1rem;display:flex;position:fixed;inset:0}.day-panel,.modal{background:var(--surface);border:0;border-radius:28px 28px 18px 18px;width:min(100%,560px);max-height:min(88vh,760px);margin:0;padding:1.2rem;overflow-y:auto;box-shadow:0 24px 70px #18141b47}.day-panel-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.day-panel-head h3{margin:.2rem 0 0;font-size:1.35rem}.eyebrow{color:var(--primary-strong);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.35rem;font-size:.74rem;font-weight:800}.day-chip-row{flex-wrap:wrap;gap:.45rem;margin:1rem 0 .75rem;display:flex}.day-status-chip{border:1px solid var(--outline-soft);background:var(--surface);min-height:32px;color:var(--muted);border-radius:999px;align-items:center;padding:.35rem .65rem;font-size:.78rem;font-weight:750;display:inline-flex}.day-status-period{background:var(--period-bg);color:var(--period)}.day-recommendation-card,.override-card{border-radius:18px;margin:.75rem 0;padding:.95rem}.day-recommendation-card>span,.override-card>span{color:var(--muted);font-size:.75rem;font-weight:800}.day-recommendation-card>strong{margin-top:.15rem;font-size:1.65rem;line-height:1;display:block}.action-card-U{background:var(--unprotected-bg);color:var(--unprotected)}.action-card-W{background:var(--withdrawal-bg);color:var(--withdrawal)}.action-card-C{background:var(--protected-bg);color:var(--protected)}.action-card-A{background:var(--abstain-bg);color:var(--abstain)}.risk-score-row{color:var(--text);grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;margin-top:.85rem;font-size:.78rem;font-weight:750;display:grid}.risk-score-meter{background:#ffffffb8;border-radius:999px;height:8px;overflow:hidden}.risk-score-meter span{border-radius:inherit;background:currentColor;height:100%;display:block}.override-card{border:1px solid var(--outline-soft);background:var(--surface)}.override-card p{color:var(--text);margin:.25rem 0 .65rem;font-size:.86rem}.override-counts{flex-wrap:wrap;gap:.5rem;display:flex}.override-counts strong{background:var(--surface-soft);color:var(--primary-strong);border-radius:999px;padding:.35rem .55rem;font-size:.74rem}.method-risk-card{border:1px solid var(--outline-soft);background:var(--surface);border-radius:18px;margin:.75rem 0;padding:.95rem}.method-risk-card h4{margin:0 0 .25rem;font-size:.9rem}.method-risk-list{gap:.45rem;margin-top:.75rem;display:grid}.method-risk-row{border:1px solid var(--outline-soft);background:var(--surface-variant);border-radius:14px;grid-template-columns:2.2rem repeat(4,minmax(0,1fr));align-items:center;gap:.45rem;padding:.55rem;display:grid}.method-risk-row>strong{background:var(--surface);border-radius:50%;place-items:center;width:1.75rem;height:1.75rem;display:grid}.method-risk-row span{color:var(--muted);gap:.12rem;font-size:.66rem;line-height:1.2;display:grid}.method-risk-row b{color:var(--text);font-size:.74rem}.method-risk-U>strong{color:var(--unprotected)}.method-risk-W>strong{color:var(--withdrawal)}.method-risk-C>strong{color:var(--protected)}.method-risk-A>strong{color:var(--abstain)}.day-panel-dl{grid-template-columns:minmax(8rem,.75fr) 1fr;gap:.55rem 1rem;margin:1rem 0;font-size:.88rem;display:grid}.day-panel-dl dt{color:var(--muted);font-weight:650}.day-panel-dl dd{margin:0}.dt-optimizer{color:var(--primary-strong)!important}.day-panel-actions{gap:.6rem;margin-top:1rem;display:grid}.day-panel-actions .ghost{justify-content:center}.day-log-section{border-top:1px solid var(--outline-soft);margin-top:1rem;padding-top:1rem}.day-log-section h4{margin:0 0 .75rem;font-size:.9rem}.action-log-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;margin-bottom:.9rem;display:grid}.action-log{border:1px solid var(--outline);min-height:58px;color:var(--text);background:0 0;border-radius:14px;flex-direction:column;gap:.1rem;padding:.45rem .25rem;font-size:.66rem;display:flex}.action-log strong{font-size:1rem}.clear-action-confirm{background:var(--surface-soft);color:var(--muted);border-radius:14px;flex-wrap:wrap;align-items:center;gap:.5rem;margin:-.35rem 0 .8rem;padding:.65rem;font-size:.78rem;font-weight:700;display:flex}.clear-action-confirm span{margin-right:auto}.clear-action-confirm button{min-height:34px;padding:.35rem .65rem;font-size:.76rem}.day-events{border-top:1px dashed var(--outline-soft);margin-top:1rem;padding-top:.75rem}.day-events-head{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.5rem;display:flex}.day-events-head h5{margin:0;font-size:.85rem}.day-events-list{gap:.4rem;margin:0 0 .75rem;padding:0;list-style:none;display:grid}.day-events-list li{border:1px solid var(--outline);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .65rem;display:flex}.day-events-list li div{gap:.1rem;display:grid}.day-events-list strong{font-size:.85rem;font-weight:700}.day-events-add{flex-wrap:wrap;gap:.4rem;display:flex}.day-events-form{border:1px dashed var(--outline);border-radius:12px;gap:.5rem;padding:.65rem;display:grid}.day-events-form-actions{gap:.5rem;display:flex}.ec-cycle-effects{border:1px solid color-mix(in srgb, var(--primary) 35%, transparent);background:color-mix(in srgb, var(--primary) 8%, transparent);border-radius:12px;margin-top:.75rem;padding:.7rem .85rem}.ec-cycle-effects strong{margin-bottom:.35rem;font-size:.85rem;display:block}.ec-cycle-effects ul{gap:.3rem;margin:0;padding-left:1.1rem;display:grid}.ec-cycle-effects li{color:color-mix(in srgb, currentColor 85%, transparent);font-size:.78rem;line-height:1.35}.action-log:hover:not(:disabled){color:var(--text)}.action-log-U[aria-pressed=true]{border-color:var(--unprotected);background:var(--unprotected-bg)}.action-log-W[aria-pressed=true]{border-color:var(--withdrawal);background:var(--withdrawal-bg)}.action-log-C[aria-pressed=true]{border-color:var(--protected);background:var(--protected-bg)}.action-log-A[aria-pressed=true]{border-color:var(--abstain);background:var(--abstain-bg)}.body-signals{border-block:1px solid var(--outline-soft);margin-top:1rem;padding:.85rem 0}.body-signals summary{cursor:pointer;justify-content:space-between;align-items:center;font-size:.88rem;font-weight:750;display:flex}.body-signals summary span{color:var(--muted);font-size:.7rem;font-weight:550}.body-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:.9rem;display:grid}.body-signal-grid .signal-check{align-items:center;gap:.5rem;display:flex}.credit-toggle{align-items:flex-start;gap:.6rem;padding:.65rem .15rem;font-size:.86rem;display:flex}.screen-heading{background:var(--primary-container);color:var(--on-primary-container);border-radius:24px;margin-bottom:1.2rem;padding:1.15rem}.screen-heading h2{margin-bottom:.45rem}.screen-heading p:last-child{max-width:46rem;margin-bottom:0}.settings-screen{width:min(100%,780px);margin:0 auto}.settings-subsection-title{grid-column:1/-1;margin:.25rem 0 -.1rem}.settings-subsection-title h3{color:var(--text);margin:0;font-size:.92rem;font-weight:850}.settings-subsection-outside{margin:.5rem 0 .55rem}.settings-links{justify-content:center;gap:.55rem;margin:0 0 1rem;font-size:.8rem;display:flex}.settings-links a{color:var(--primary-strong);font-weight:700}.settings-platform-card{border:1px solid var(--outline-soft);background:var(--surface);border-radius:22px;margin:0 0 1rem;padding:1rem}.settings-platform-card h3{margin-bottom:.35rem}.settings-platform-card .settings-links{justify-content:flex-start;margin:.75rem 0 0}.developer-log-actions{flex-wrap:wrap;gap:.5rem;margin:.75rem 0;display:flex}.developer-log-panel pre{background:color-mix(in srgb, var(--text) 6%, transparent);max-height:18rem;color:var(--text);white-space:pre-wrap;word-break:break-word;border-radius:.75rem;margin:.75rem 0 0;padding:.75rem;font-size:.75rem;line-height:1.45;overflow:auto}.sync-card{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--outline-soft));background:var(--surface);border-radius:22px;margin-bottom:1rem;padding:1.1rem;box-shadow:0 8px 24px #00695c12}.sync-card-heading{grid-template-columns:48px 1fr;align-items:start;gap:.85rem;display:grid}.sync-card-heading h3{margin-bottom:.35rem;font-size:1.12rem}.sync-card-heading p:last-child{color:var(--muted);margin-bottom:0;font-size:.86rem;line-height:1.5}.sync-icon{background:var(--primary-container);width:48px;height:48px;color:var(--primary-strong);border-radius:16px;place-items:center;display:grid}.sync-icon svg{width:25px;height:25px}.sync-security-row{flex-wrap:wrap;gap:.5rem;margin:1rem 0 .8rem;display:flex}.sync-security-row span{background:var(--surface-soft);color:var(--primary-strong);border-radius:999px;align-items:center;gap:.35rem;padding:.4rem .65rem;font-size:.76rem;font-weight:750;display:inline-flex}.sync-security-row svg,.sync-actions svg{width:17px;height:17px}.sync-connected{background:color-mix(in srgb, var(--primary-container) 42%, var(--surface));border-radius:16px;align-items:center;gap:.65rem;margin:.85rem 0;padding:.8rem;display:flex}.sync-connected div{gap:.12rem;display:grid}.sync-connected span:not(.status-dot){color:var(--muted);font-size:.76rem}.status-dot{background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 5px color-mix(in srgb, var(--primary) 13%, transparent);border-radius:50%}.sync-explainer,.sync-footnote{color:var(--muted);margin-bottom:.75rem;font-size:.8rem;line-height:1.5}.profile-switcher{margin:1rem 0 .75rem}.profile-manager-heading{grid-template-columns:minmax(10rem,1fr) minmax(14rem,1.5fr);align-items:end;gap:1rem;margin-bottom:.75rem;display:grid}.profile-manager-heading h4,.profile-detail-heading h4{margin:.15rem 0 0}.profile-manager-heading>p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.45}.profile-switcher-list{gap:.45rem;margin-top:.45rem;display:grid}.profile-switcher-item{border:1px solid var(--outline-soft);background:var(--surface-soft);text-align:left;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.7rem .85rem;display:grid}.profile-switcher-item.active{border-color:color-mix(in srgb, var(--primary) 40%, var(--outline-soft));background:color-mix(in srgb, var(--primary-container) 35%, var(--surface))}.profile-switcher-icon{background:color-mix(in srgb, var(--primary) 10%, var(--surface));width:2rem;height:2rem;color:var(--primary-strong);border-radius:10px;place-items:center;display:grid}.profile-switcher-icon svg{width:16px;height:16px}.profile-switcher-copy{gap:.1rem;min-width:0;display:grid}.profile-active-badge,.profile-kind-badge{background:color-mix(in srgb, var(--primary) 12%, var(--surface));color:var(--primary-strong);border-radius:999px;padding:.25rem .5rem;font-size:.7rem;font-weight:750}.profile-kind-badge.local{background:var(--surface-soft);color:var(--muted)}.profile-switcher-label{font-weight:750}.profile-switcher-meta{color:var(--muted);font-size:.76rem}.profile-switcher-add{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.profile-switcher-add input{border:1px solid var(--outline-soft);background:var(--surface);min-height:2.25rem;color:var(--text);border-radius:12px;flex:12rem;padding:.45rem .65rem}.profile-switcher-add .btn-secondary{min-height:2.25rem}.profile-detail-card{border:1px solid var(--outline-soft);background:var(--surface-soft);border-radius:16px;gap:.9rem;margin:1rem 0;padding:1rem;display:grid}.profile-detail-heading,.participant-list-heading,.participant-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.profile-name-row{flex-wrap:wrap;align-items:flex-end;gap:.6rem;display:flex}.profile-name-row .field{flex:12rem;min-width:0}.profile-name-row .profile-photo-preview{align-self:center}.profile-storage-summary,.participant-row>div:first-child{gap:.15rem;display:grid}.profile-storage-summary span,.participant-list-heading span,.participant-row span{color:var(--muted);font-size:.76rem}.profile-management-actions,.participant-actions{flex-wrap:wrap;gap:.5rem;display:flex}.profile-management-actions svg,.participant-actions svg{width:16px;height:16px}.ghost.danger{color:var(--danger,#b42318)}.participant-list{border-top:1px solid var(--outline-soft);gap:.55rem;margin-top:.5rem;padding-top:.75rem;display:grid}.participant-row{border-bottom:1px solid var(--outline-soft);padding:.65rem 0}.participant-row:last-child{border-bottom:0}.participant-actions select{border:1px solid var(--outline-soft);background:var(--surface);min-height:2.2rem;color:var(--text);border-radius:10px}.participant-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.35rem;display:flex}.profile-photo-preview{object-fit:cover;border-radius:50%;flex:none;width:3rem;height:3rem}.participant-grid,.invite-custom-grid{gap:.35rem;margin-top:.6rem;display:grid}.participant-grid .field-hint,.invite-custom-grid+.field-hint{margin-top:.35rem}.sync-share-panel{border-top:1px solid var(--outline-soft);gap:.65rem;margin-top:1rem;padding-top:1rem;display:grid}.sync-pending-list{gap:.5rem;display:grid}.sync-pending-item{grid-template-columns:1fr auto;gap:.5rem;display:grid}.sync-readonly-banner{background:color-mix(in srgb, var(--primary) 10%, var(--surface));color:var(--text);border-radius:14px;margin:0 0 .75rem;padding:.75rem .9rem;font-size:.84rem}.sync-notice{border:1px solid var(--outline-soft);border-radius:14px;margin:.65rem 0;padding:.7rem .8rem;font-size:.8rem;line-height:1.4}.sync-notice-info{background:var(--surface-soft);color:var(--muted)}.sync-notice-success{border-color:color-mix(in srgb, var(--primary) 35%, var(--outline-soft));background:color-mix(in srgb, var(--primary-container) 40%, var(--surface));color:var(--primary-strong)}.sync-notice-error{color:#6c4100;background:#fff7e8;border-color:#f5b45c}.sync-actions{flex-wrap:wrap;gap:.6rem;margin-top:.9rem;display:flex}@media (width<=640px){.profile-manager-heading{grid-template-columns:1fr}.profile-detail-heading,.participant-row{align-items:flex-start}.participant-row{flex-direction:column}}.sync-actions button{justify-content:center;align-items:center;gap:.45rem;display:inline-flex}.sync-footnote{margin:.8rem 0 0}.spin{animation:1s linear infinite sync-spin}@keyframes sync-spin{to{transform:rotate(360deg)}}.auto-sync-banner{border:1px solid var(--outline-soft);background:var(--surface);color:var(--muted);border-radius:16px;align-items:center;gap:.55rem;margin:0 0 1rem;padding:.7rem .85rem;font-size:.82rem;display:flex;box-shadow:0 6px 18px #201d240f}.auto-sync-banner svg{flex:none;width:18px;height:18px}.auto-sync-info svg{color:var(--primary)}.auto-sync-success{border-color:color-mix(in srgb, var(--primary) 30%, var(--outline-soft));background:color-mix(in srgb, var(--primary-container) 28%, var(--surface));color:var(--primary-strong)}.auto-sync-error{color:#6c4100;background:#fff7e8;border-color:#f5b45c}.update-banner{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--outline-soft));background:color-mix(in srgb, var(--primary-container) 24%, var(--surface));color:var(--primary-strong);border-radius:16px;align-items:center;gap:.75rem;margin:0 0 1rem;padding:.8rem .9rem;display:flex;box-shadow:0 6px 18px #201d240f}.update-banner svg{flex:none;width:18px;height:18px}.update-banner-copy{flex:auto;gap:.15rem;min-width:0;font-size:.82rem;display:grid}.update-banner-copy strong{font-size:.88rem}.update-banner-actions{flex:none;align-items:center;gap:.35rem;display:flex}.update-banner .btn-secondary,.update-banner .btn-icon{min-height:2rem}.planner-screen{width:min(100%,840px);margin:0 auto}.plan-risk-card{box-shadow:var(--shadow);border-radius:24px;margin:0 0 1rem;padding:1.2rem}.plan-risk-card-met{background:var(--primary-container);color:var(--on-primary-container)}.plan-risk-card-miss{color:#410002;background:#ffebee}.plan-risk-heading{align-items:center;gap:.75rem;display:flex}.plan-risk-heading h2{margin-bottom:0}.plan-risk-icon{width:46px;height:46px;color:var(--primary-strong);background:#ffffff7a;border-radius:50%;place-items:center;display:grid}.plan-risk-card-miss .plan-risk-icon{color:#d32f2f}.plan-risk-icon svg{width:26px;height:26px}.plan-risk-stats{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1.1rem 0 .9rem;display:grid}.plan-risk-stats div{gap:.12rem;display:grid}.plan-risk-stats strong{font-size:clamp(1.25rem,4.5vw,1.75rem);line-height:1.1}.plan-risk-stats span,.plan-budget-label{color:color-mix(in srgb, currentColor 72%, transparent);font-size:.72rem;font-weight:750}.plan-budget-meter{background:#ffffff9e;border-radius:999px;height:8px;overflow:hidden}.plan-budget-meter span{border-radius:inherit;background:var(--primary);height:100%;display:block}.plan-risk-card-miss .plan-budget-meter span{background:#d32f2f}.plan-projection-meter{background:#ffffff9e;border-radius:999px;height:12px;position:relative;overflow:hidden}.plan-projection-realized,.plan-projection-projected{border-radius:inherit;position:absolute;top:0;bottom:0;left:0}.plan-projection-realized{background:color-mix(in srgb, var(--primary) 30%, transparent);z-index:1}.plan-projection-projected{background:var(--primary);z-index:2;opacity:.85}.plan-risk-card-miss .plan-projection-projected{background:#d32f2f}.plan-projection-target{background:var(--text);z-index:3;border-radius:1px;width:2px;position:absolute;top:-3px;bottom:-3px;transform:translate(-1px)}.plan-budget-label{margin:.45rem 0 0}.plan-method-card,.plan-years-section,.advanced-plan-panel{border:1px solid var(--outline-soft);background:var(--surface);border-radius:22px;margin:0 0 1rem;padding:1rem}.plan-method-card{justify-content:space-between;align-items:center;gap:1rem;display:flex}.plan-method-card p{color:var(--muted);margin-bottom:0;font-size:.86rem;line-height:1.45}.plan-method-card .eyebrow{color:var(--primary-strong);margin-bottom:.25rem}.section-title-row{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.85rem;display:flex}.section-title-row h2{margin-bottom:0;font-size:1.2rem}.plan-mode-chip{background:var(--surface-soft);color:var(--primary-strong);border-radius:999px;flex:none;padding:.42rem .65rem;font-size:.72rem;font-weight:800}.plan-year-list{gap:.8rem;display:grid}.plan-year-card{border:1px solid var(--outline);background:var(--surface);border-radius:18px;padding:.95rem}.plan-year-card-head{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.plan-year-card h3{margin-bottom:.18rem;font-size:.96rem}.plan-year-card p{color:var(--muted);margin-bottom:0;font-size:.78rem}.plan-year-risk{text-align:right;gap:.18rem;font-size:.76rem;display:grid}.plan-year-risk span{color:var(--muted)}.action-distribution{background:var(--surface-variant);border-radius:7px;height:20px;margin:.85rem 0 .65rem;display:flex;overflow:hidden}.action-distribution-segment{min-width:3px}.action-U{background:var(--unprotected)}.action-W{background:var(--withdrawal)}.action-C{background:var(--protected)}.action-A{background:var(--abstain)}.plan-count-row{flex-wrap:wrap;justify-content:space-evenly;align-items:center;gap:.5rem .9rem;display:flex}.plan-count-chip{color:var(--muted);align-items:baseline;gap:.25rem;font-size:.74rem;font-weight:800;display:inline-flex}.plan-count-chip strong{font-size:.95rem}.plan-count-U strong{color:var(--unprotected)}.plan-count-W strong{color:var(--withdrawal)}.plan-count-C strong{color:var(--protected)}.plan-count-A strong{color:var(--abstain)}.advanced-plan-panel{padding:0;overflow:hidden}.advanced-plan-panel summary{cursor:pointer;color:var(--primary-strong);padding:1rem;font-weight:850}.advanced-plan-panel>section{margin:0 1rem 1rem}fieldset,.surface-card,.period-panel,.ec-panel,section.preview,.card{border:1px solid var(--outline-soft);background:var(--surface);border-radius:22px;margin:0 0 1rem;padding:1rem}fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;display:grid}fieldset legend{color:var(--primary-strong);padding:0 .35rem;font-size:1rem;font-weight:800}label{color:var(--text);align-content:start;gap:.35rem;font-size:.86rem;font-weight:650;display:grid}:is(label:has(input[type=checkbox]),label:has(input[type=radio])){grid-column:1/-1;align-items:flex-start;gap:.55rem;display:flex}input,select,textarea{border:1px solid var(--outline);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;border-radius:12px;padding:.72rem .8rem}textarea{resize:vertical}input[type=checkbox],input[type=radio]{width:19px;min-height:19px;accent-color:var(--primary);margin-top:1px}.field-hint,.hint,.meta{color:var(--muted);font-size:.8rem;font-weight:450;line-height:1.45}.field-hint{max-width:38rem}.compact{margin:.35rem 0}.settings-form .card,.primary-action,.choice-chip-field{grid-column:1/-1}.settings-form-android{gap:.7rem 1rem}.settings-form-android legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.choice-chip-field{gap:.45rem;padding:.45rem 0;display:grid}.choice-chip-label{color:var(--text);font-size:.86rem;font-weight:700}.choice-chip-row{flex-wrap:wrap;gap:.5rem;display:flex}.choice-chip{border:1px solid var(--outline);background:var(--surface);min-height:36px;color:var(--text);padding:.45rem .7rem;font-size:.78rem;font-weight:700}.choice-chip:hover:not(:disabled){background:var(--surface-variant);color:var(--primary-strong)}.choice-chip[aria-pressed=true]{border-color:color-mix(in srgb, var(--primary) 45%, var(--outline));background:var(--primary-container);color:var(--on-primary-container)}.settings-form .card{background:var(--surface-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin:.25rem 0;display:grid}.settings-form .card h3,.settings-form .card p{grid-column:1/-1}.primary-action{background:var(--primary-container);min-width:180px;color:var(--on-primary-container);box-shadow:var(--shadow);justify-self:end;padding-inline:1.3rem}.primary-action:hover:not(:disabled){background:#8ed1ca}.period-panel h2,.incident-panel h2,.ec-panel h2,section:not(.tracker-shell):not(.settings-screen)>h2{color:var(--text);margin-bottom:.45rem;font-size:1.25rem}.row,.modal .row,.export-ics-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.row input,.row select{flex:1;width:auto;min-width:160px}.privacy-session-card{gap:.9rem;display:grid}.profile-check-setting{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.7rem;display:grid}.profile-check-setting>span{gap:.25rem;display:grid}.profile-check-setting small{color:var(--muted);font-size:.8rem;line-height:1.45}.privacy-session-warning{border:1px solid color-mix(in srgb, var(--error) 45%, transparent);background:color-mix(in srgb, var(--error) 8%, var(--surface));border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;width:min(100% - 2rem,960px);margin:.75rem auto;padding:.8rem 1rem;display:grid}.privacy-session-warning>svg{color:var(--error)}.privacy-session-warning div{gap:.2rem;display:grid}.privacy-session-warning span{font-size:.84rem;line-height:1.35}@media (width<=680px){.privacy-session-warning{grid-template-columns:auto 1fr}.privacy-session-warning button{grid-column:1/-1}}.privacy-session-modal>svg{color:var(--primary)}.privacy-choice-grid{gap:.75rem;margin:1rem 0;display:grid}.privacy-choice-grid button{text-align:left;justify-items:start;gap:.35rem;display:grid}.privacy-choice-grid button span{font-size:.85rem;font-weight:400;line-height:1.35}button.ghost{border:1px solid var(--outline);min-height:40px;color:var(--primary-strong);background:0 0;align-items:center;padding:.55rem .85rem;display:inline-flex}button.ghost:hover:not(:disabled){border-color:var(--primary);background:color-mix(in srgb, var(--primary-container) 45%, transparent)}.warn{color:#6a3c00;background:#fff7e8;border:1px solid #f5b45c;border-radius:16px;margin:.75rem 0;padding:.8rem 1rem;font-size:.86rem}.empty-state{text-align:center;align-content:center;place-items:center;min-height:min(68vh,620px);padding:2rem 1rem;display:grid}.empty-state svg{color:var(--primary);margin-bottom:.8rem}.empty-state h2{margin-bottom:.45rem}.empty-state p{max-width:34rem;color:var(--muted);margin-bottom:1.1rem}.calendar{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}.day{border:1px solid var(--outline);background:var(--surface);width:3.25rem;height:3.25rem;color:var(--text);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;padding:.35rem;display:flex}.day .dn{color:var(--muted);font-size:.65rem}.day .ac{font-size:1rem;font-weight:850}.cell-U{border-color:var(--unprotected);background:var(--unprotected-bg)}.cell-W{border-color:var(--withdrawal);background:var(--withdrawal-bg)}.cell-C{border-color:var(--protected);background:var(--protected-bg)}.cell-A{border-color:var(--abstain);background:var(--abstain-bg)}.history-table,table.diffs{border-collapse:separate;border-spacing:0;border:1px solid var(--outline-soft);background:var(--surface);border-radius:18px;width:100%;font-size:.86rem;overflow:hidden}.history-table th,.history-table td,table.diffs th,table.diffs td{border-bottom:1px solid var(--outline-soft);text-align:left;padding:.75rem}.history-table th,table.diffs th{background:var(--surface-soft);color:var(--muted);text-transform:uppercase;font-size:.72rem}.history-table tr:last-child td,table.diffs tr:last-child td{border-bottom:0}.disclaimer{border-top:1px solid var(--outline-soft);color:var(--muted);margin-top:1.5rem;padding:1rem 0 0;font-size:.76rem}.disclaimer p:last-child{margin-bottom:0}pre{color:#f7f2f6;background:#242124;border-radius:14px;padding:1rem;font-size:.78rem;overflow:auto}@media (width<=680px){.web-topbar{min-height:60px}.privacy-chip{padding:.4rem;font-size:0}.app-content{padding-inline:.75rem}.calendar-summary{font-size:.78rem}.calendar-view-row{align-items:stretch}.segmented-control{flex:1}.segmented-control button{flex:1;justify-content:center;padding-inline:.55rem}.today-button{padding-inline:.55rem}.tracker-dow-row,.tracker-grid{gap:3px}.tracker-cell{border-radius:13px;min-height:4.15rem}.tracker-grid-week .tracker-cell{min-height:8rem}.tracker-legend li:last-child{flex-basis:100%}fieldset,.settings-form .card{grid-template-columns:1fr}.settings-form .card label,.settings-form .card h3,.settings-form .card p{grid-column:1}.primary-action{justify-self:stretch;width:100%}.sync-card-heading{grid-template-columns:40px 1fr}.sync-icon{border-radius:14px;width:40px;height:40px}.sync-actions button{width:100%}.plan-method-card,.section-title-row,.plan-year-card-head{flex-direction:column;align-items:stretch}.plan-method-card button{justify-content:center}.plan-year-risk{text-align:left}.plan-risk-stats{gap:.35rem}.history-table th:nth-child(3),.history-table td:nth-child(3){display:none}.day-panel-dl{grid-template-columns:1fr;gap:.15rem}.day-panel-dl dd{margin-bottom:.55rem}.body-signal-grid{grid-template-columns:1fr}}@media (width>=900px){.web-topbar{margin-left:112px;padding-inline:1.5rem}.app-content{width:min(100% - 112px,1180px);margin-left:112px;margin-right:auto;padding:1.5rem 2rem 3rem}.app-tabs{border-top:0;border-right:1px solid var(--outline-soft);width:112px;box-shadow:none;background:#f8f1fb;grid-template-rows:repeat(4,82px);grid-template-columns:1fr;align-content:center;padding:1rem .65rem;top:0;right:auto}.app-tab{border-radius:22px;min-height:74px;font-size:.78rem}.tracker-shell{padding:0 .5rem}.day-panel-backdrop,.modal-backdrop{align-items:center}.day-panel,.modal{border-radius:28px}}@media (prefers-color-scheme:dark){:root{color:#e6e1e5;--primary:#4db6ac;--primary-strong:#80cbc4;--primary-container:#005048;--on-primary-container:#b2dfdb;--secondary-container:#303f9f;--surface:#1e1e1e;--surface-variant:#2c2c2c;--surface-soft:#262329;--text:#e6e1e5;--muted:#cac4d0;--outline:#69646d;--outline-soft:#39353c;--period-bg:#880e4f57;--fertile-bg:#4a148c57;--unprotected-bg:#1b5e2057;--withdrawal-bg:#82771757;--protected-bg:#e6510057;--abstain-bg:#b71c1c57;background:#121212}html,body{background:#121212}.web-topbar{background:#1e1e1ef0}.app-tabs{background:#211d24}.app-tab{color:#cac4d0}.tracker-cell-sample{background:linear-gradient(145deg,#242124,#282a3a)}.warn,.sync-notice-error{color:#ffd8a4;background:#3d2a13;border-color:#8f5c19}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (width<=700px){.picker-dialog{z-index:2147483000!important;border:none!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;top:0!important;left:0!important}.picker-dialog-bg{z-index:2147482000!important}.picker-dialog .picker-dialog-content,.picker-dialog iframe{width:100%!important;height:100%!important}body[data-picker-open] .app-tabs{display:none!important}}:root{--eb-brand-pink:#ffb6cc;--eb-brand-blush:#ffe0ec;--eb-brand-raspberry:#7b2d5f;--eb-brand-plum:#3e1e3c;--eb-r-sm:8px;--eb-r-md:14px;--eb-r-lg:18px;--eb-r-full:999px;--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--eb-bg:#fbf7f9;--eb-surface:#fff;--eb-surface-variant:#f4ebf0;--eb-surface-soft:#f9f1f5;--eb-ink:#241a21;--eb-muted:#6e5f68;--eb-outline:#c9b9c2;--eb-outline-soft:#eadfe5;--eb-shadow:0 10px 30px #3e1e3c17;--eb-accent:var(--eb-brand-raspberry);--eb-on-accent:#fff;--eb-accent-strong:#63244d;--eb-accent-container:var(--eb-brand-blush);--eb-on-accent-container:var(--eb-brand-plum);--eb-focus:var(--eb-brand-raspberry);--eb-ok:#2e7d4f;--eb-ok-container:#e0f2e7;--eb-warn:#7a5410;--eb-warn-container:#fdf3e3;--eb-danger:#b3261e;--eb-danger-container:#fbe7e6;--eb-info:#44618c;--eb-info-container:#e7edf7;--eb-mode-local:#6e6e66;--eb-mode-local-container:#ecece4;--eb-mode-private:#256e62;--eb-mode-private-container:#ddefeb;--eb-mode-shared:#5b4b8a;--eb-mode-shared-container:#ece7f6;--eb-ds-cycle:#7b2d5f;--eb-ds-plan:#44618c;--eb-ds-intimacy:#a8702d;--eb-ds-sensitive:#5b5561;--eb-period:#c2185b;--eb-period-bg:#fce4ec;--eb-fertile:#7b1fa2;--eb-fertile-bg:#f3e5f5;--eb-action-u:#43a047;--eb-action-u-bg:#e8f5e9;--eb-action-w:#9e9d24;--eb-action-w-bg:#f9fbe7;--eb-action-c:#fb8c00;--eb-action-c-bg:#fff3e0;--eb-action-a:#ef5350;--eb-action-a-bg:#ffebee;--eb-credit:#ffb300;--eb-risk-low:#66bb6a;--eb-risk-med:#ffa726;--eb-risk-high:#ef5350;--eb-today-ring:var(--eb-accent);--primary:var(--eb-accent);--primary-strong:var(--eb-accent-strong);--primary-container:var(--eb-accent-container);--on-primary-container:var(--eb-on-accent-container);--secondary-container:var(--eb-mode-shared-container);--surface:var(--eb-surface);--surface-variant:var(--eb-surface-variant);--surface-soft:var(--eb-surface-soft);--text:var(--eb-ink);--muted:var(--eb-muted);--outline:var(--eb-outline);--outline-soft:var(--eb-outline-soft);--period:var(--eb-period);--period-bg:var(--eb-period-bg);--fertile:var(--eb-fertile);--fertile-bg:var(--eb-fertile-bg);--unprotected:var(--eb-action-u);--unprotected-bg:var(--eb-action-u-bg);--withdrawal:var(--eb-action-w);--withdrawal-bg:var(--eb-action-w-bg);--protected:var(--eb-action-c);--protected-bg:var(--eb-action-c-bg);--abstain:var(--eb-action-a);--abstain-bg:var(--eb-action-a-bg);--shadow:var(--eb-shadow)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--eb-bg:#1b1319;--eb-surface:#241a21;--eb-surface-variant:#2f2229;--eb-surface-soft:#2a1e25;--eb-ink:#f2e7ec;--eb-muted:#b5a3ac;--eb-outline:#715f69;--eb-outline-soft:#3c2e35;--eb-shadow:0 10px 30px #00000073;--eb-accent:var(--eb-brand-pink);--eb-on-accent:#4b1032;--eb-accent-strong:#ffccda;--eb-accent-container:#5c2246;--eb-on-accent-container:var(--eb-brand-blush);--eb-focus:var(--eb-brand-pink);--eb-ok:#7cc79b;--eb-ok-container:#1e3a2b;--eb-warn:#e3b34e;--eb-warn-container:#3d321a;--eb-danger:#f2b8b5;--eb-danger-container:#4a2222;--eb-info:#94b2dc;--eb-info-container:#263349;--eb-mode-local:#a9a99f;--eb-mode-local-container:#34342e;--eb-mode-private:#6fbfaf;--eb-mode-private-container:#1e3a34;--eb-mode-shared:#a79bd1;--eb-mode-shared-container:#322a48;--eb-ds-cycle:#e792b9;--eb-ds-plan:#94b2dc;--eb-ds-intimacy:#dba96a;--eb-ds-sensitive:#aba3b3;--eb-period:#f48fb1;--eb-period-bg:#880e4f57;--eb-fertile:#ce93d8;--eb-fertile-bg:#4a148c57;--eb-action-u:#81c784;--eb-action-u-bg:#1b5e2057;--eb-action-w:#dce775;--eb-action-w-bg:#82771757;--eb-action-c:#ffb74d;--eb-action-c-bg:#e6510057;--eb-action-a:#ef9a9a;--eb-action-a-bg:#b71c1c57;--eb-credit:#ffca4d;--eb-risk-low:#81c784;--eb-risk-med:#ffb74d;--eb-risk-high:#ef9a9a;--eb-today-ring:var(--eb-accent);--primary:var(--eb-accent);--primary-strong:var(--eb-accent-strong);--primary-container:var(--eb-accent-container);--on-primary-container:var(--eb-on-accent-container);--secondary-container:var(--eb-mode-shared-container);--surface:var(--eb-surface);--surface-variant:var(--eb-surface-variant);--surface-soft:var(--eb-surface-soft);--text:var(--eb-ink);--muted:var(--eb-muted);--outline:var(--eb-outline);--outline-soft:var(--eb-outline-soft);--period:var(--eb-period);--period-bg:var(--eb-period-bg);--fertile:var(--eb-fertile);--fertile-bg:var(--eb-fertile-bg);--unprotected:var(--eb-action-u);--unprotected-bg:var(--eb-action-u-bg);--withdrawal:var(--eb-action-w);--withdrawal-bg:var(--eb-action-w-bg);--protected:var(--eb-action-c);--protected-bg:var(--eb-action-c-bg);--abstain:var(--eb-action-a);--abstain-bg:var(--eb-action-a-bg);--shadow:var(--eb-shadow)}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--eb-bg:#1b1319;--eb-surface:#241a21;--eb-surface-variant:#2f2229;--eb-surface-soft:#2a1e25;--eb-ink:#f2e7ec;--eb-muted:#b5a3ac;--eb-outline:#715f69;--eb-outline-soft:#3c2e35;--eb-shadow:0 10px 30px #00000073;--eb-accent:var(--eb-brand-pink);--eb-on-accent:#4b1032;--eb-accent-strong:#ffccda;--eb-accent-container:#5c2246;--eb-on-accent-container:var(--eb-brand-blush);--eb-focus:var(--eb-brand-pink);--eb-ok:#7cc79b;--eb-ok-container:#1e3a2b;--eb-warn:#e3b34e;--eb-warn-container:#3d321a;--eb-danger:#f2b8b5;--eb-danger-container:#4a2222;--eb-info:#94b2dc;--eb-info-container:#263349;--eb-mode-local:#a9a99f;--eb-mode-local-container:#34342e;--eb-mode-private:#6fbfaf;--eb-mode-private-container:#1e3a34;--eb-mode-shared:#a79bd1;--eb-mode-shared-container:#322a48;--eb-ds-cycle:#e792b9;--eb-ds-plan:#94b2dc;--eb-ds-intimacy:#dba96a;--eb-ds-sensitive:#aba3b3;--eb-period:#f48fb1;--eb-period-bg:#880e4f57;--eb-fertile:#ce93d8;--eb-fertile-bg:#4a148c57;--eb-action-u:#81c784;--eb-action-u-bg:#1b5e2057;--eb-action-w:#dce775;--eb-action-w-bg:#82771757;--eb-action-c:#ffb74d;--eb-action-c-bg:#e6510057;--eb-action-a:#ef9a9a;--eb-action-a-bg:#b71c1c57;--eb-credit:#ffca4d;--eb-risk-low:#81c784;--eb-risk-med:#ffb74d;--eb-risk-high:#ef9a9a;--eb-today-ring:var(--eb-accent);--primary:var(--eb-accent);--primary-strong:var(--eb-accent-strong);--primary-container:var(--eb-accent-container);--on-primary-container:var(--eb-on-accent-container);--secondary-container:var(--eb-mode-shared-container);--surface:var(--eb-surface);--surface-variant:var(--eb-surface-variant);--surface-soft:var(--eb-surface-soft);--text:var(--eb-ink);--muted:var(--eb-muted);--outline:var(--eb-outline);--outline-soft:var(--eb-outline-soft);--period:var(--eb-period);--period-bg:var(--eb-period-bg);--fertile:var(--eb-fertile);--fertile-bg:var(--eb-fertile-bg);--unprotected:var(--eb-action-u);--unprotected-bg:var(--eb-action-u-bg);--withdrawal:var(--eb-action-w);--withdrawal-bg:var(--eb-action-w-bg);--protected:var(--eb-action-c);--protected-bg:var(--eb-action-c-bg);--abstain:var(--eb-action-a);--abstain-bg:var(--eb-action-a-bg);--shadow:var(--eb-shadow)}:root,html,body{background:var(--eb-bg);color:var(--eb-ink)}.web-topbar{background:color-mix(in srgb, var(--eb-surface) 94%, transparent)}.app-tabs{background:var(--eb-surface-soft)}.app-tab{color:var(--eb-muted)}.tracker-cell-sample{background:var(--eb-surface-variant)}.warn,.sync-notice-error{border-color:var(--eb-warn);background:var(--eb-warn-container);color:var(--eb-warn)}.eb-avatar{flex:none;display:inline-flex;position:relative}.eb-avatar img,.eb-avatar-initials{object-fit:cover;color:#fff;-webkit-user-select:none;user-select:none;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;font-weight:700;display:inline-flex}.eb-avatar-sm{width:28px;height:28px;font-size:12px}.eb-avatar-md{width:36px;height:36px;font-size:14px}.eb-avatar-lg{width:52px;height:52px;font-size:20px}.eb-avatar-xl{width:72px;height:72px;font-size:28px}.eb-avatar-badge{color:#fff;width:15px;height:15px;box-shadow:0 0 0 2px var(--eb-bg);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:-3px;right:-3px}.eb-avatar-badge svg{width:9px;height:9px}.eb-badge-local{background:var(--eb-mode-local)}.eb-badge-private{background:var(--eb-mode-private)}.eb-badge-shared{background:var(--eb-mode-shared)}.eb-badge-readonly{background:var(--eb-info)}.eb-badge-waiting{background:var(--eb-warn)}.eb-profile-chip{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-full);font:inherit;color:var(--eb-ink);cursor:pointer;align-items:center;gap:8px;padding:4px 12px 4px 5px;font-size:14px;font-weight:600;display:inline-flex}.eb-profile-chip:hover{border-color:var(--eb-outline)}.eb-profile-chip:focus-visible,.eb-nav-row:focus-visible,.eb-mode-card:focus-visible,.eb-btn:focus-visible,.eb-preset:focus-visible,.eb-seg button:focus-visible,.eb-expander-head:focus-visible,.eb-banner-action:focus-visible{outline:2px solid var(--eb-focus);outline-offset:2px}.eb-group-label{letter-spacing:.09em;text-transform:uppercase;color:var(--eb-muted);margin:14px 4px 6px;font-size:11px;font-weight:700}.eb-nav-row{text-align:left;background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-md);width:100%;font:inherit;color:var(--eb-ink);cursor:pointer;align-items:center;gap:12px;min-height:48px;margin-bottom:8px;padding:11px 13px;display:flex}.eb-nav-row:hover{border-color:var(--eb-outline)}.eb-nav-shared{border-color:var(--eb-mode-shared)}.eb-nav-danger{color:var(--eb-danger)}.eb-nav-icon{background:var(--eb-accent-container);width:32px;height:32px;color:var(--eb-accent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.eb-nav-shared .eb-nav-icon{background:var(--eb-mode-shared-container);color:var(--eb-mode-shared)}.eb-nav-icon svg{width:17px;height:17px}.eb-nav-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.eb-nav-title{font-size:14.5px;font-weight:600}.eb-nav-value{color:var(--eb-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.eb-nav-chevron{width:17px;height:17px;color:var(--eb-muted);flex:none}.eb-header-card{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-lg);align-items:center;gap:14px;padding:14px 16px;display:flex}.eb-header-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.eb-header-name{color:var(--eb-ink);font-size:17px;font-weight:700}.eb-header-meta{color:var(--eb-muted);font-size:12.5px}.eb-mode-card{text-align:left;background:var(--eb-surface);border:1.5px solid var(--eb-outline-soft);border-radius:var(--eb-r-lg);width:100%;font:inherit;color:var(--eb-ink);cursor:pointer;align-items:flex-start;gap:12px;margin-bottom:10px;padding:13px 14px;display:flex}.eb-mode-card:disabled{opacity:.6;cursor:default}.eb-mode-radio{border:2px solid var(--eb-muted);border-radius:50%;flex:none;width:17px;height:17px;margin-top:3px}.eb-mode-icon{color:#fff;border-radius:9px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.eb-mode-icon svg{width:15px;height:15px}.eb-mode-local .eb-mode-icon{background:var(--eb-mode-local)}.eb-mode-private .eb-mode-icon{background:var(--eb-mode-private)}.eb-mode-shared .eb-mode-icon{background:var(--eb-mode-shared)}.eb-mode-text{flex-direction:column;gap:2px;display:flex}.eb-mode-title{font-size:14.5px;font-weight:700}.eb-mode-desc{color:var(--eb-muted);font-size:12.5px}.eb-mode-selected.eb-mode-local{border-color:var(--eb-mode-local);background:var(--eb-mode-local-container)}.eb-mode-selected.eb-mode-private{border-color:var(--eb-mode-private);background:var(--eb-mode-private-container)}.eb-mode-selected.eb-mode-shared{border-color:var(--eb-mode-shared);background:var(--eb-mode-shared-container)}.eb-mode-selected.eb-mode-local .eb-mode-radio{border-color:var(--eb-mode-local);background:radial-gradient(circle, var(--eb-mode-local) 0 5px, transparent 5.5px)}.eb-mode-selected.eb-mode-private .eb-mode-radio{border-color:var(--eb-mode-private);background:radial-gradient(circle, var(--eb-mode-private) 0 5px, transparent 5.5px)}.eb-mode-selected.eb-mode-shared .eb-mode-radio{border-color:var(--eb-mode-shared);background:radial-gradient(circle, var(--eb-mode-shared) 0 5px, transparent 5.5px)}.eb-ds-icon{color:#fff;border-radius:9px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.eb-ds-icon svg{width:15px;height:15px}.eb-ds-cycle{background:var(--eb-ds-cycle)}.eb-ds-plan{background:var(--eb-ds-plan)}.eb-ds-intimacy{background:var(--eb-ds-intimacy)}.eb-ds-sensitive{background:var(--eb-ds-sensitive)}:root[data-theme=dark] .eb-ds-icon{color:#000000b8}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .eb-ds-icon{color:#000000b8}}.eb-ds-row{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-md);align-items:center;gap:11px;margin-bottom:7px;padding:10px 12px;display:flex}.eb-ds-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.eb-ds-title{color:var(--eb-ink);font-size:13.5px;font-weight:600}.eb-ds-summary{color:var(--eb-muted);font-size:11.5px}.eb-seg{background:var(--eb-surface-variant);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-sm);display:inline-flex;overflow:hidden}.eb-seg button{font:inherit;color:var(--eb-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:5px 11px;font-size:12px;display:inline-flex}.eb-seg button svg{width:13px;height:13px}.eb-seg button.eb-seg-on{background:var(--eb-accent);color:var(--eb-on-accent);font-weight:700}.eb-seg button:disabled{opacity:.55;cursor:default}.eb-person{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-lg);flex-direction:column;gap:10px;margin-bottom:8px;padding:12px 13px;display:flex}.eb-person-top{align-items:center;gap:11px;display:flex}.eb-person-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.eb-person-name{color:var(--eb-ink);font-size:14px;font-weight:600}.eb-person-email{color:var(--eb-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.eb-trust{flex:none;align-items:center;gap:4px;font-size:11.5px;font-weight:600;display:inline-flex}.eb-trust svg{width:13px;height:13px}.eb-trust-ok{color:var(--eb-ok)}.eb-trust-warn{color:var(--eb-warn)}.eb-banner{border-radius:var(--eb-r-md);border:1px solid #0000;align-items:center;gap:12px;margin-bottom:8px;padding:11px 13px;display:flex}.eb-banner-body{flex-direction:column;flex:1;gap:2px;display:flex}.eb-banner-title{font-size:13px;font-weight:700}.eb-banner-text{font-size:12.5px}.eb-banner-info{background:var(--eb-info-container);color:var(--eb-info)}.eb-banner-warn{background:var(--eb-warn-container);color:var(--eb-warn)}.eb-banner-error{background:var(--eb-danger-container);color:var(--eb-danger)}.eb-banner-success{background:var(--eb-ok-container);color:var(--eb-ok)}.eb-banner-action{font:inherit;color:inherit;border-radius:var(--eb-r-full);cursor:pointer;background:0 0;border:1.5px solid;flex:none;padding:4px 12px;font-size:12px;font-weight:700}.eb-status{color:var(--eb-muted);align-items:center;gap:8px;margin:4px 2px;font-size:12.5px;display:flex}.eb-status-dot{border-radius:50%;flex:none;width:8px;height:8px}.eb-status-ok .eb-status-dot{background:var(--eb-ok)}.eb-status-warn .eb-status-dot{background:var(--eb-warn)}.eb-status-error .eb-status-dot{background:var(--eb-danger)}.eb-status-busy svg{width:14px;height:14px;color:var(--eb-accent)}.eb-btn{font:inherit;border-radius:var(--eb-r-full);cursor:pointer;border:1.5px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 20px;font-size:14px;font-weight:600;display:inline-flex}.eb-btn:disabled{opacity:.55;cursor:default}.eb-btn-primary{background:var(--eb-accent);color:var(--eb-on-accent)}.eb-btn-primary:hover:not(:disabled){background:var(--eb-accent-strong)}.eb-btn-outline{color:var(--eb-accent);border-color:var(--eb-accent);background:0 0}.eb-btn-danger-text{color:var(--eb-danger);background:0 0}.eb-btn-sm{min-height:32px;padding:6px 14px;font-size:12.5px}.eb-preset{font:inherit;color:var(--eb-muted);background:var(--eb-surface);border:1.5px solid var(--eb-outline-soft);border-radius:var(--eb-r-full);cursor:pointer;padding:6px 14px;font-size:13px;font-weight:600}.eb-preset-on{border-color:var(--eb-accent);background:var(--eb-accent-container);color:var(--eb-on-accent-container)}.eb-expander{margin-bottom:8px}.eb-expander-head{text-align:left;width:100%;font:inherit;color:var(--eb-muted);background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-md);cursor:pointer;align-items:center;gap:9px;min-height:44px;padding:11px 13px;font-size:13.5px;font-weight:600;display:flex}.eb-expander-head svg{width:16px;height:16px}.eb-expander-chevron{margin-left:auto;transition:transform .15s}.eb-expander-chevron.eb-open{transform:rotate(180deg)}.eb-expander-danger .eb-expander-head{color:var(--eb-danger);border-color:var(--eb-danger-container)}.eb-expander-body{padding:10px 4px 2px}.eb-dots{justify-content:center;gap:6px;display:flex}.eb-dots span{border-radius:var(--eb-r-full);background:var(--eb-outline-soft);width:7px;height:7px;transition:width .15s}.eb-dots span.eb-dot-on{background:var(--eb-accent);width:20px}.tracker-cell-today{font-weight:700;box-shadow:inset 0 0 0 2px var(--eb-today-ring)!important}.eb-spin{animation:.9s linear infinite eb-rotate}@keyframes eb-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.eb-spin{animation-duration:2.5s}.eb-expander-chevron,.eb-dots span{transition:none}}.eb-profile-chip:hover:not(:disabled),.eb-nav-row:hover:not(:disabled),.eb-expander-head:hover:not(:disabled),.eb-mode-card:hover:not(:disabled){background:var(--eb-surface)}.eb-mode-selected.eb-mode-local:hover:not(:disabled){background:var(--eb-mode-local-container)}.eb-mode-selected.eb-mode-private:hover:not(:disabled){background:var(--eb-mode-private-container)}.eb-mode-selected.eb-mode-shared:hover:not(:disabled){background:var(--eb-mode-shared-container)}.eb-seg button:hover:not(:disabled){background:0 0}.eb-seg button.eb-seg-on:hover:not(:disabled){background:var(--eb-accent)}.eb-preset:hover:not(:disabled){background:var(--eb-surface);border-color:var(--eb-outline)}.eb-preset-on:hover:not(:disabled){background:var(--eb-accent-container);border-color:var(--eb-accent)}.eb-btn-outline:hover:not(:disabled){background:var(--eb-accent-container)}.eb-btn-danger-text:hover:not(:disabled){background:var(--eb-danger-container)}.eb-banner-action:hover:not(:disabled){background:0 0}.grant-screen{flex-direction:column;gap:10px;max-width:460px;margin:0 auto;padding:32px 20px 48px;display:flex}.grant-header h1{color:var(--eb-ink);margin:0 0 8px;font-size:22px;line-height:1.25}.grant-header p{color:var(--eb-muted);margin:0 0 14px;font-size:14px}.grant-steps{flex-direction:column;align-items:center;gap:6px;padding:4px 0 2px;display:flex}.grant-steps-caption{color:var(--eb-muted);text-align:center;font-size:11.5px}.grant-file-list{flex-direction:column;gap:7px;margin:0;padding:0;list-style:none;display:flex}.grant-file{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-md);align-items:center;gap:10px;padding:11px 13px;display:flex}.grant-file-check{border:2px solid var(--eb-outline);border-radius:50%;flex:none;justify-content:center;align-items:center;width:22px;height:22px;font-size:13px;font-weight:700;display:inline-flex}.grant-file-granted{border-color:var(--eb-ok)}.grant-file-granted .grant-file-check{border-color:var(--eb-ok);background:var(--eb-ok);color:#fff}.grant-file-name{color:var(--eb-ink);flex:1;font-size:14px;font-weight:600}.grant-file-role{color:var(--eb-muted);font-size:12px}.grant-file-granted .grant-file-role{color:var(--eb-ok);font-weight:600}.grant-actions{flex-direction:column;gap:10px;margin-top:8px;display:flex}.grant-actions .eb-btn{width:100%}.grant-hint{color:var(--eb-muted);text-align:center;margin:0;font-size:12.5px}.grant-fallback{color:var(--eb-muted);justify-content:center;align-items:center;gap:5px;font-size:13px;text-decoration:underline;display:inline-flex}.appearance-row{background:var(--eb-surface);border:1px solid var(--eb-outline-soft);border-radius:var(--eb-r-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:12px 14px;display:flex}.appearance-label{color:var(--eb-ink);font-size:14px;font-weight:600}.eb-switcher-overlay{z-index:60;background:#241a2173;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.eb-switcher-sheet{background:var(--eb-surface);width:min(480px,100%);padding:10px 16px calc(18px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;max-height:80vh;overflow-y:auto;box-shadow:0 -6px 30px #241a2140}.eb-switcher-grab{background:var(--eb-outline-soft);border-radius:2px;width:34px;height:4px;margin:0 auto 10px}.eb-switcher-row{cursor:pointer;text-align:left;width:100%;color:var(--eb-ink);font:inherit;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;padding:8px;display:flex}.eb-switcher-row:hover:not(:disabled){background:var(--eb-surface-soft)}.eb-switcher-row.is-active,.eb-switcher-row.is-active:hover:not(:disabled){background:var(--eb-accent-container)}.eb-switcher-row:disabled{cursor:default;opacity:.7}.eb-switcher-row:focus-visible{outline:2px solid var(--eb-focus);outline-offset:1px}.eb-switcher-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.eb-switcher-name{font-size:14px;font-weight:600}.eb-switcher-row.is-active .eb-switcher-name{color:var(--eb-on-accent-container)}.eb-switcher-meta{color:var(--eb-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.eb-switcher-check{color:var(--eb-accent);flex:none;font-weight:700}.eb-switcher-notice{color:var(--eb-danger);margin:6px 2px 0;font-size:12.5px}.eb-switcher-divider{border:0;border-top:1px solid var(--eb-outline-soft);margin:8px 0 4px}.eb-switcher-action{cursor:pointer;width:100%;color:var(--eb-accent);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;padding:10px 8px;font-family:inherit;font-size:13.5px;font-weight:600;display:flex}.eb-switcher-action:hover:not(:disabled){background:var(--eb-surface-soft)}.eb-switcher-action:disabled{cursor:default;opacity:.7}.eb-switcher-action:focus-visible{outline:2px solid var(--eb-focus);outline-offset:1px}.grant-multiselect-hint{color:var(--eb-muted);margin:6px 2px 0;font-size:12.5px}.privacy-choice-grid button,.privacy-choice-grid button.ghost{text-align:left;white-space:normal;overflow-wrap:anywhere;border-radius:18px;justify-items:start;gap:.3rem;width:100%;display:grid}.profile-list-card{border:1px solid var(--eb-outline-variant);background:var(--eb-surface);width:100%;min-height:56px;color:var(--eb-ink);border-radius:14px;align-items:center;display:flex;overflow:hidden}.profile-list-card:hover{border-color:var(--eb-outline)}.profile-list-main{min-width:0;min-height:56px;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;flex:1;align-items:center;gap:10px;padding:10px 12px;font-weight:400;display:flex}.profile-list-main:hover:not(:disabled){background:var(--eb-surface)}.profile-list-text{flex:1;gap:2px;min-width:0;display:grid}.profile-list-name{font-size:14.5px;font-weight:600}.profile-list-meta{color:var(--eb-muted);overflow-wrap:anywhere;font-size:12.5px}.profile-list-switch{border:1px solid var(--eb-outline-variant);min-height:36px;color:var(--eb-accent);border-radius:999px;flex-shrink:0;margin-right:10px;padding:6px 12px;font-size:13px;font-weight:600}.profile-list-switch:hover{border-color:var(--eb-accent)}.profile-list-card>.profile-active-badge{flex-shrink:0;margin-right:10px}.profile-list-chevron{width:18px;height:18px;color:var(--eb-muted);flex-shrink:0}.sync-card,.sync-share-panel,.sync-notice,.eb-person,.privacy-session-warning,.screen-heading{overflow-wrap:anywhere}@media (width<=680px){.web-topbar{min-height:52px;padding-block:.4rem}.web-topbar h1{font-size:1.15rem}.web-topbar>div>p{display:none}.privacy-session-warning{padding:.6rem .8rem}}.sync-notice.info{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;display:grid}.sync-notice.info>div{gap:.2rem;display:grid}.sync-notice.info>div>strong{color:var(--eb-ink)}@media (width<=680px){.sync-notice.info{grid-template-columns:1fr;gap:.5rem}.sync-notice.info button,.sync-share-panel>button,.sync-actions button{justify-content:center;width:100%}.sync-pending-item{grid-template-columns:1fr}.participant-summary{flex-direction:column;align-items:flex-start;gap:.4rem}}.web-topbar .eb-profile-chip{margin-left:auto}
