.cy{--cy-safe-top:max(env(safe-area-inset-top,0px),var(--rv-native-safe-top,0px));--cy-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--rv-native-safe-bottom,0px));--cy-ink:#463f48;--cy-muted:#756d76;--cy-accent:#986e87;position:relative;isolation:isolate;min-height:100dvh;box-sizing:border-box;padding:calc(18px + var(--cy-safe-top)) 20px calc(26px + var(--cy-safe-bottom));background:#e8e1e6;color:var(--cy-ink);font-family:-apple-system,BlinkMacSystemFont,sans-serif}.cy *{box-sizing:border-box}.cy button,.cy select,.cy input,.cy textarea{font:inherit;color:inherit}.cy button{cursor:pointer;-webkit-tap-highlight-color:transparent}.cy button:disabled{opacity:.35;cursor:default}.cy button:focus-visible,.cy input:focus-visible,.cy select:focus-visible{outline:2px solid var(--cy-accent);outline-offset:3px}.cy button{border:0;background:none}.cy-scene{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.cy-wall,.cy-optics{position:absolute;inset:0;width:100%;height:100%}.cy-wall{background-size:cover;background-position:center}.cy-optics{z-index:1}.cy-top{display:flex;justify-content:space-between;align-items:center;max-width:740px;margin:0 auto;font-size:16px;letter-spacing:2px}.cy-icon{width:40px;height:40px;border-radius:50%;background:#ffffff42!important;box-shadow:inset 0 1px 0 #fffc;font-size:25px!important}.cy-main{max-width:480px;margin:33px auto 0}.cy-kicker{text-align:center;font-size:8px;letter-spacing:3px;opacity:.6}.cy h1{font-family:Georgia,'Songti SC',serif;font-size:24px;font-weight:400;text-align:center;letter-spacing:2px;margin:16px 0 27px}.cy h2{font-size:14px;font-weight:500;margin:0}.cy p{font-size:11px;line-height:1.8}.cy-glass{border-radius:24px;background:#ffffff30;border:1px solid #fff6;box-shadow:inset 0 1px 1px #fff9,0 9px 28px #5d4a6510;margin-bottom:17px;padding:22px}.cy-optics-ready .cy-glass{background:transparent;border-color:transparent;backdrop-filter:none}.cy-summary{text-align:center;padding-top:27px}.cy-tag{font-size:9px;letter-spacing:2px;opacity:.65}.cy-summary h2{font-family:Georgia,'Songti SC',serif;font-size:29px;font-weight:400;margin:16px 0 6px}.cy-summary p{color:var(--cy-muted);min-height:20px;margin:8px 0 18px}.cy-summary-actions{display:flex;justify-content:center;gap:12px}.cy-summary-actions button{font-size:11px;padding:11px 22px;background:#9b718b25;border-radius:30px}.cy-summary-actions button:first-child{background:var(--cy-ink);color:var(--cy-on-ink,#f6f0f4)}.cy-calendar{padding:20px 16px}.cy-calendar header{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.cy-calendar header h2{font-size:13px;letter-spacing:2px}.cy-calendar header button{width:33px;height:33px;font-size:23px}.cy-week,.cy-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cy-week{font-size:9px;text-align:center;color:var(--cy-muted);margin-bottom:12px}.cy-days button{width:100%;aspect-ratio:1;font-size:12px;border-radius:50%;position:relative;display:grid;place-items:center;min-width:0}.cy-days button[data-actual=true]{background:#ac7c933d;box-shadow:inset 0 0 0 1px #ae7e9440}.cy-days button[data-estimated=true]{outline:1px dashed #986e8780;outline-offset:-4px}.cy-days button[aria-current=date]{font-weight:700;text-decoration:underline;text-underline-offset:5px}.cy-days button[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px var(--cy-ink);background:#fff4}.cy-days button[data-note=true]:after{content:'';width:3px;height:3px;background:var(--cy-accent);border-radius:50%;position:absolute;bottom:5px;left:calc(50% - 1.5px)}.cy-days button:disabled{opacity:.55}.cy-legend{display:flex;justify-content:center;gap:16px;margin-top:21px;font-size:8px;opacity:.7}.cy-legend span{display:flex;align-items:center;gap:5px}.cy-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.cy-legend .actual{background:#ac7c9380}.cy-legend .estimated{border:1px dashed #986e87}.cy-legend .noted{width:3px;height:3px;background:var(--cy-accent)}.cy-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.cy-section-heading h2{font-size:12px}.cy-section-heading button{font-size:10px;color:var(--cy-accent);padding:6px 0}.cy-day p,.cy-care p{color:var(--cy-muted);white-space:pre-wrap;margin-bottom:0}.cy-day-actions{display:flex;gap:16px;margin-top:12px}.cy-day-actions button{padding:5px 0;font-size:10px;color:var(--cy-accent)}#cySync{font-size:9px}#cySync[data-error=true]{color:#9e4545}.cy-footer-actions{display:flex;justify-content:center;gap:24px;margin:25px 0 17px}.cy-footer-actions button{font-size:10px;padding:7px 0}.cy-footnote{text-align:center;font-size:9px!important;opacity:.6}.cy-credit{text-align:center;font-size:7px;line-height:1.9;opacity:.55;margin-top:23px}.cy a{color:inherit;text-underline-offset:3px}.cy-dialog{position:fixed;inset:calc(16px + var(--cy-safe-top)) 0 calc(16px + var(--cy-safe-bottom));margin:auto;transform:none;height:fit-content;width:min(390px,calc(100% - 32px));max-height:calc(100dvh - var(--cy-safe-top) - var(--cy-safe-bottom) - 32px);overflow:auto;overscroll-behavior:contain;border:1px solid #fff8;border-radius:24px;background:#f6f3f6f5;color:#463f48;backdrop-filter:blur(24px);padding:32px 23px 23px;box-shadow:0 20px 80px #34233c2b}.cy-dialog::backdrop{background:#26192e30;backdrop-filter:blur(5px)}#cyClose{position:absolute;top:9px;right:12px;font-size:25px;width:28px;height:28px}.cy-dialog h2{font-family:Georgia,'Songti SC',serif;font-size:22px;font-weight:400;margin:3px 0 17px}.cy-dialog p{font-size:12px;line-height:1.8}.cy-dialog label{display:block;font-size:12px;margin:15px 0}.cy-dialog input:not([type=checkbox]),.cy-dialog select,.cy-dialog textarea{display:block;width:100%;margin-top:8px;border:1px solid #6b50631e;border-radius:11px;padding:11px;background:#fff9;min-height:42px;font-size:13px}.cy-dialog textarea{height:80px;resize:vertical}.cy-dialog input[type=checkbox]{accent-color:#986e87;margin-right:8px}.cy-dialog .cy-chips{display:flex;flex-wrap:wrap;gap:6px}.cy-chips button{font-size:11px;padding:9px 12px;border-radius:20px;background:#e7dce5}.cy-chips button[aria-pressed=true]{background:#986e87;color:white}.cy-action{display:block;width:100%;padding:13px;margin-top:12px;border-radius:13px;background:#463f48!important;color:#fff!important;font-size:12px!important}.cy-secondary{background:#e7e0e7!important;color:#463f48!important}.cy-danger{color:#a24e59!important}.cy-history-row{text-align:left;display:block;width:100%;border-bottom:1px solid #70536720;padding:14px 0!important;font-size:12px!important}.cy-history-row small{display:block;font-size:9px;color:#756d76;margin-top:5px}.cy[data-black=true]{--cy-ink:#eee;--cy-muted:#c5bdc6;--cy-accent:#d2acc5;background:#000}.cy[data-black=true] .cy-summary-actions button:first-child{color:#221e24}.cy[hidden]{display:none!important}@media(min-width:700px){.cy-main{margin-top:38px}.cy{padding-top:calc(24px + var(--cy-safe-top))}}@media(max-width:360px){.cy{padding-left:14px;padding-right:14px}.cy-glass{padding:18px}.cy-calendar{padding:18px 10px}.cy h1{font-size:21px}}


/* Wallpaper-aware ink; dialogs keep their own opaque, readable palette. */
.cy[data-wallpaper-ink]{text-shadow:var(--wallpaper-shadow)}
.cy .cy-glass[data-wallpaper-ink]{color:var(--cy-ink);text-shadow:none;background:rgba(var(--wallpaper-veil-color),var(--wallpaper-veil))}
.cy.cy-optics-ready .cy-glass[data-wallpaper-ink]{background:transparent}
.cy[data-wallpaper-ink] :is(.cy-kicker,.cy-tag,.cy-legend,.cy-footnote,.cy-credit){opacity:1}
.cy[data-wallpaper-ink] .cy-week{color:var(--cy-muted)}
.cy[data-wallpaper-ink] .cy-days button:disabled{opacity:.65}
.cy[data-wallpaper-ink] .cy-summary-actions button:first-child{color:var(--cy-on-ink);text-shadow:none}
.cy .cy-dialog{--cy-ink:#463f48;--cy-muted:#756d76;--cy-accent:#986e87;color:#463f48;text-shadow:none}
.cy :is(.cy-top,h1)[data-wallpaper-ink]{background:rgba(var(--wallpaper-veil-color),var(--wallpaper-veil));border-radius:18px;text-shadow:none}
