:root{--ink:#222;--muted:#6b6b6b;--line:#dedede;background:#fff;color:#222;font-family:Arial,Helvetica,sans-serif}header{position:sticky;top:0;z-index:2;background:#0674ac;border:0;padding:12px 20px;min-height:64px;gap:12px}.brand{font-size:24px;font-weight:400;color:white;white-space:nowrap}.header-actions{display:flex;gap:8px}.icon-button{padding:10px;background:transparent;border:0;border-radius:3px;min-width:44px;min-height:44px}.ui-icon{width:30px;height:30px;display:block}.header-actions .ui-icon{filter:invert(1)}main{max-width:760px;padding:0;margin:auto}.list-summary{display:block;position:sticky;top:68px;z-index:1;background:#fff;color:#222;border-radius:0;padding:24px 20px;margin:0;border-bottom:1px solid #eee}.forecast{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:16px}.forecast>.ui-icon{width:42px;height:42px;filter:invert(32%) sepia(89%) saturate(1250%) hue-rotate(157deg)}.summary strong{margin:0;font-size:26px;font-weight:700;letter-spacing:0}.summary p{margin:6px 0 0;color:#666;font-size:17px;font-style:italic}.summary #countdown{font-size:29px;color:#b83a2c;white-space:nowrap}.summary #countdown.overdue{border-bottom:2px dotted #b83a2c}.list-history{border:0;border-radius:0;margin:0;padding:0}.year-heading{font-size:24px;margin:0;padding:28px 20px 12px;letter-spacing:0}.period-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:16px;align-items:center;width:100%;text-align:left;padding:21px 20px;min-height:83px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:white;color:#222;font-weight:400}.period-row>.ui-icon{width:32px;height:32px;filter:invert(41%) sepia(21%) saturate(1340%) hue-rotate(323deg)}.period-content strong{display:block;font-size:24px;font-weight:700}.cycle-interval{font-size:27px;white-space:nowrap}.period-note{display:block;font-size:14px;color:#666;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.empty-history{padding:32px 20px;line-height:1.6}.empty-history p{color:#666}.workspace{display:block;padding:20px}.calendar{border-radius:4px}footer{padding:24px 20px;font-size:12px}.primary{background:#0674ac;border-color:#0674ac}.day.recorded{background:#f5cbc7}.day.predicted{background:#fff0ee;border-color:#c7837d}.legend .recorded{background:#f5cbc7}.legend .predicted{background:#fff0ee;border-color:#c7837d}dialog{border-radius:5px;color:#222}dialog::backdrop{background:#0006}#entryDialog{padding:24px;max-height:calc(100dvh - 32px);overflow-y:auto}#entryDialog .detail{border:0;padding:0;border-radius:0}#entryDialog .close-entry{float:right;padding:4px;min-width:44px}#entryDialog .detail .eyebrow{padding-top:12px}.check input{accent-color:#0674ac}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:#0674ac}@media(max-width:480px){header{padding:8px 12px;min-height:60px}.brand{font-size:22px}.header-actions{gap:0}.header-actions .ui-icon{width:26px;height:26px}.list-summary{top:60px;padding:24px 18px}.forecast{gap:12px;grid-template-columns:38px 1fr auto}.summary strong{font-size:23px}.summary p{font-size:15px}.summary #countdown{font-size:26px}.period-row{padding:22px 18px;gap:12px;grid-template-columns:32px minmax(0,1fr) auto}.period-content strong{font-size:22px}.cycle-interval{font-size:25px}.year-heading{padding-left:18px;font-size:24px}}@media(display-mode:standalone){header{padding-top:calc(8px + env(safe-area-inset-top))}.list-summary{top:calc(60px + env(safe-area-inset-top))}}
:root{--phone-background:#091d28}
@media(min-width:560px){
 body.browser-preview{background:var(--phone-background);display:grid;place-items:center;padding:20px;min-height:100dvh}
 .browser-preview .phone-preview{width:390px;max-width:100%;height:min(844px,calc(100dvh - 40px));min-height:480px;border:8px solid #151719;border-radius:52px;background:white;box-shadow:0 0 0 2px #686a6b,0 0 0 5px #282a2c,0 20px 50px #0008;overflow:hidden;display:flex;flex-direction:column}
 .phone-status{position:relative;height:46px;min-height:46px;background:#0674ac;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 24px;font-size:12px;font-weight:600}
 .phone-island{position:absolute;top:7px;left:50%;transform:translateX(-50%);height:28px;width:112px;border-radius:24px;background:#090a0b}
 .phone-indicators{display:flex;gap:7px;align-items:center;font-size:10px}.phone-battery{width:21px;height:10px;border:1px solid white;border-radius:3px;box-shadow:inset 0 0 0 2px #0674ac;background:white}
 .phone-screen{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;overscroll-behavior:contain}
 .phone-home{height:25px;min-height:25px;background:white;position:relative}.phone-home:after{content:'';position:absolute;width:116px;height:4px;border-radius:5px;left:50%;top:12px;transform:translateX(-50%);background:#161718}
 .phone-preview header{min-height:60px;padding:8px 12px}.phone-preview .brand{font-size:22px}.phone-preview .header-actions{gap:0}.phone-preview .ui-icon{width:26px;height:26px}.phone-preview .list-summary{top:60px;padding:22px 16px}.phone-preview .forecast{grid-template-columns:34px 1fr auto;gap:10px}.phone-preview .summary strong{font-size:22px}.phone-preview .summary p{font-size:14px}.phone-preview .summary #countdown{font-size:25px}.phone-preview .period-row{padding:21px 16px;gap:10px;grid-template-columns:30px minmax(0,1fr) auto}.phone-preview .period-content strong{font-size:21px}.phone-preview .cycle-interval{font-size:24px}.phone-preview .year-heading{font-size:23px;padding-left:16px}.phone-preview .workspace{padding:14px}.phone-preview .card{padding:18px 12px}.phone-preview .day{min-height:44px}.phone-preview .days,.phone-preview .weekdays{gap:3px}.phone-preview .monthControls button{padding:6px 8px}.phone-preview .monthLabel{font-size:19px}
}
@media(max-width:559px){.phone-status,.phone-home{display:none}.phone-screen{display:contents}.phone-preview{display:contents}}
