:root{color-scheme:light;--bg:#f7f4ee;--paper:#fffdf8;--ink:#30273c;--muted:#7c7184;--purple:#4b315e;--line:#e5dee7;--lavender:#eee7f2;--serif:"Noto Serif SC","Songti SC",STSong,Georgia,serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,sans-serif;font-size:14px;line-height:1.55}body:before{content:"";position:fixed;pointer-events:none;z-index:-1;width:690px;height:690px;right:-320px;top:-270px;border:1px solid #bda6cc40;border-radius:50%;box-shadow:0 0 0 65px #c5afce0c,0 0 0 66px #bda6cc25,0 0 0 160px #c5afce07,0 0 0 161px #bda6cc18;background:radial-gradient(circle,#e6dcec66,transparent 68%)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #a58bb4;outline-offset:3px}button:hover{color:var(--purple)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.shell{min-height:100dvh}aside{position:fixed;inset:0 auto 0 0;width:232px;background:#eeebe5e6;border-right:1px solid #e2dce2;padding:40px 24px;display:flex;flex-direction:column}.brand{display:flex;gap:13px;align-items:center;font-size:27px;letter-spacing:5px;font-family:var(--serif);font-weight:600}.brandmark{font-size:45px;color:var(--purple);font-weight:400}.brand small{display:block;font-family:inherit;font-size:11px;letter-spacing:3px;color:var(--muted);margin-top:2px;font-weight:400}.navlabel{font-size:11px;letter-spacing:2px;color:var(--muted);margin:58px 12px 20px}nav{display:grid;gap:10px}nav button{justify-content:flex-start;min-height:48px;padding:12px 16px;border-radius:10px;color:#756b7b;font-size:14px}nav button:hover{background:#e6e0e8}nav button.active{color:var(--purple);background:#e2d9e9;font-weight:600}nav button b{margin-left:auto;font-size:11px;background:#d1c3dc;border-radius:6px;min-width:23px;padding:1px 5px}.asidebottom{margin-top:auto;color:#7d7284;font-size:12px;line-height:1.9;padding-bottom:26px}.asidebottom svg{vertical-align:middle}.asidebottom p{font-size:12px;margin-top:7px}main{margin-left:232px;padding:30px clamp(28px,5vw,80px) 24px;max-width:1680px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:21px;gap:12px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}.sync{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.sync button{min-width:32px;min-height:32px}.dot{width:6px;height:6px;border-radius:100%;background:#839a7e}.heading{margin:36px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.date{color:var(--muted);font-size:13px;letter-spacing:1px;margin:0 0 9px}h1{font-family:var(--serif);font-size:36px;letter-spacing:2px;font-weight:500;line-height:1.35;margin:0}.subtitle{font-size:13px;color:var(--muted);margin:12px 0 0}.primary{background:var(--purple);color:#fff;min-height:46px;padding:12px 20px;border-radius:9px;white-space:nowrap;font-size:13px;box-shadow:0 4px 10px #4b315e10}.primary:hover{background:#3d254f;color:#fff}.stats{display:flex;gap:0;margin:0 0 28px;border-bottom:1px solid var(--line);padding-bottom:20px}.stats button{display:flex;align-items:center;gap:17px;text-align:left;padding:0 27px;border-right:1px solid var(--line)}.stats button:first-child{padding-left:0}.stats button:last-child{border:0}.stats span{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.stats svg{width:16px;height:16px;color:#897395}.stats strong{font-family:Georgia,serif;font-size:26px;font-weight:400;white-space:nowrap}.stats small{font-family:inherit;font-size:11px;color:var(--muted);margin-left:6px}.nextup{position:relative;overflow:hidden;display:flex;align-items:center;gap:24px;padding:23px 28px;margin:0 0 25px;background:#eee7f2;border:1px solid #ddd1e5;border-radius:14px}.nextup:after{content:"\2727";position:absolute;right:25px;top:-23px;font-size:135px;color:#b79fc323;pointer-events:none}.nextlabel{font-size:11px;letter-spacing:2px;color:#796487;margin:0 0 3px}.nexttime{font-size:28px;font-weight:450;letter-spacing:1px;font-variant-numeric:tabular-nums;line-height:1.2}.nextdetail{border-left:1px solid #d5c7de;padding-left:23px;min-width:0;flex:1;z-index:1}.nextdetail strong{font-size:17px;font-weight:550;overflow-wrap:anywhere}.nextdetail p{margin:5px 0 0;color:#796887;font-size:12px}.nextup>button{z-index:1;min-height:44px;font-size:12px;color:var(--purple)}.columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:25px;min-width:0;box-shadow:0 3px 15px #49365503}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;min-height:34px}.sectionhead h2{font-size:16px;font-weight:550;margin:0;letter-spacing:.3px}.sectionhead h2 span{font-size:11px;color:var(--muted);font-weight:400;margin-left:8px}.sectionhead button{font-size:12px;color:#7a6489;min-width:44px;min-height:44px;padding:5px}.entry{display:flex;gap:12px;padding:20px 0;border-bottom:1px solid #eee8ee;align-items:flex-start}.entry:last-child{border-bottom:none}.check{flex:none;min-width:44px;min-height:44px;padding:2px;color:#927c9f}.entrybody{min-width:0;flex:1;display:flex;align-items:flex-start;text-align:left;flex-direction:column;padding:0;gap:7px}.entrytitle{font-size:15px;font-weight:550;overflow-wrap:anywhere}.entrytime{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--purple);margin-right:12px}.meta{font-size:12px;color:var(--muted);line-height:1.6}.note{font-size:12px;color:#76677f;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tag{font-size:10px;padding:4px 8px;border-radius:5px;background:#eee7f2;color:#70567f;white-space:nowrap;margin-top:2px}.tag.done{background:#edf1e9;color:#586b50}.tag.pending{background:#f4eddf;color:#795b2d}.finished .entrytitle{text-decoration:line-through;color:#76677f}.finished .check{color:#7c916e}.empty{text-align:center;padding:42px 12px;color:#a38db0;font-size:13px}.empty svg{stroke-width:1.2}.empty p{color:#776a7f;margin:13px 0 6px}.empty span{font-size:12px;color:#76677f}.addline{border-top:1px dashed #dfd4e5;width:100%;min-height:49px;padding:17px 4px 0;font-size:12px;color:#80658f}.hint{font-size:11px;line-height:1.8;color:#76677f;padding-top:13px;margin-bottom:0}.gentle{display:none}footer{display:flex;justify-content:space-between;gap:12px;margin-top:35px;color:#776781;font-size:11px}footer span{display:flex;gap:5px;align-items:center}footer button{font-size:11px;min-height:36px}.gridweek{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;text-align:center}.gridweek>span{font-size:12px;color:#76677f;padding:12px 0}.gridweek button{min-height:62px;border-radius:10px;flex-direction:column;gap:2px;font-size:15px;font-variant-numeric:tabular-nums}.gridweek button:hover{background:#f1ebf5}.gridweek button i{height:12px;line-height:12px;font-size:10px;font-style:normal;color:#79558d}.gridweek .chosen,.gridweek .chosen:hover{background:var(--purple);color:#fff}.gridweek .chosen i{color:#e4d3f1}.gridweek .istoday:not(.chosen){background:#eee7f2;color:var(--purple);font-weight:650}.calendarcols{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.search{max-width:200px;padding:9px 12px!important;font-size:12px!important}.alert,.warning{background:#fff3df;color:#87602c;border:1px solid #e8d7b7;padding:12px 14px;font-size:13px;border-radius:9px;margin:12px 0;line-height:1.7;overflow-wrap:anywhere}.alert button{margin-left:12px;text-decoration:underline;min-height:36px}.overlay{position:fixed;inset:0;background:#24152e66;backdrop-filter:blur(5px);z-index:10;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:var(--paper);border-radius:20px;width:540px;max-height:94dvh;overflow:auto;padding:28px 30px;box-shadow:0 24px 90px #34263e30;overscroll-behavior:contain}.modal .sectionhead{margin-bottom:22px}.modal .sectionhead h2{font-family:var(--serif);font-size:23px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:18px;color:#6d5c79}input,select,textarea{width:100%;min-width:0;border:1px solid #ded3e5;border-radius:9px;background:#fffefb;color:#44334f;padding:11px 12px;font-size:14px;outline:none;min-height:44px}input:focus,textarea:focus,select:focus{border-color:#9473a5;box-shadow:0 0 0 3px #eee6f3}textarea{resize:vertical}label small{font-size:11px;color:var(--muted)}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:14px}.formactions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.formactions>button:first-child:not(.primary){margin-right:auto}.formactions>button{font-size:13px;min-height:44px}.privacy{color:var(--muted);font-size:11px;text-align:center;margin:16px 0 0;line-height:1.8}.servicefield{border:0;padding:0;margin:0 0 18px;min-width:0}.servicefield legend{padding:0;margin-bottom:10px;font-size:13px;color:#6d5c79}.servicechoices{display:flex;flex-wrap:wrap;gap:8px}.servicechoices button{min-height:44px;min-width:68px;padding:10px 12px;border:1px solid #ded3e5;border-radius:8px;background:#fffefb;color:#716079;font-size:13px}.servicechoices button.selected{background:var(--purple);color:#fff;border-color:var(--purple)}.servicehelp{font-size:11px;line-height:1.7;color:var(--muted);margin:9px 0 0}.customservice{margin:13px 0 0}.servicechoices button:hover:not(.selected){background:#f2edf5}.authpage{margin:0!important;padding:32px 20px!important;min-height:100dvh;max-width:none;display:grid;place-items:center}.authcard{width:min(100%,450px);padding:42px;background:#fffdf8ef;border:1px solid #e1d7e6;border-radius:22px;box-shadow:0 18px 70px #43354f09}.authbrand{font-family:var(--serif);font-size:28px;letter-spacing:5px;font-weight:550;color:var(--purple);margin-bottom:34px}.authcard h1{font-size:31px;margin:12px 0}.authcard .subtitle{font-size:14px;line-height:1.8}.authcard form{display:grid;gap:0;margin:28px 0 20px}.authcard label{font-size:13px}.authcard input{min-height:48px}.authcard .privacy{font-size:11px}.authcard .primary{width:100%;min-height:48px}.logout{position:fixed;left:27px;bottom:118px;color:#7c6988;font-size:12px;border:1px solid #d9cfe1;border-radius:8px;min-height:38px;padding:8px 15px;background:#f6f2f7;z-index:3}.conflictpanel{padding:16px;border:1px solid #c8b8d9;border-radius:12px;background:#f8f3fc;font-size:13px;line-height:1.7}.conflictpanel h3{font-size:16px;margin:0 0 8px}.conflictpanel p{margin:8px 0}.conflictpanel button{display:block;min-height:44px;width:100%;margin-top:10px;padding:10px;border:1px solid #c8b8d9;border-radius:8px;text-align:left}.conflictpanel details{padding:8px 0}.conflictnote{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1100px){aside{width:196px;padding:32px 18px}main{margin-left:196px;padding:26px 28px}.columns{grid-template-columns:1fr}.stats button{padding:0 17px;gap:10px}.logout{left:21px}.brand{font-size:25px}.navlabel{font-size:10px;margin-left:4px}.nextup{padding:22px}.calendarcols{grid-template-columns:1fr}.gridweek button{min-height:58px}}@media(max-width:680px){body:before{width:500px;height:500px;right:-320px;top:-200px}aside{inset:auto 0 0;width:auto;height:calc(72px + env(safe-area-inset-bottom));z-index:5;padding:7px 10px calc(7px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid #e2d8e9;background:#fffcf7f5;backdrop-filter:blur(16px)}.brand,.navlabel,.asidebottom{display:none}nav{display:flex;justify-content:space-around;gap:0}nav button{font-size:10px;flex-direction:column;gap:4px;padding:7px 10px;position:relative;min-width:66px;border-radius:9px;min-height:54px}nav button b{position:absolute;top:0;right:2px;font-size:9px;min-width:17px}main{margin:0;padding:20px 20px 25px}header{padding-bottom:15px}.eyebrow{font-size:9px;letter-spacing:1px}.sync{font-size:10px;gap:5px}.sync button{min-width:28px}.heading{margin:27px 0 23px;align-items:center;gap:10px}h1{font-size:29px;letter-spacing:1px}.date{font-size:11px}.subtitle{font-size:11px;max-width:230px;line-height:1.8;margin-top:9px}.heading>.primary{font-size:11px;padding:10px 12px;min-height:43px;gap:4px}.heading>.primary svg{width:15px}.stats{margin-bottom:21px;padding-bottom:18px;justify-content:space-between}.stats button{padding:0 12px;display:block;flex:1}.stats button:last-child{padding-right:0}.stats span{font-size:10px;gap:5px;white-space:nowrap}.stats svg{width:13px}.stats strong{display:block;font-size:24px;margin-top:4px}.stats small{font-size:10px}.nextup{padding:18px;gap:16px;margin-bottom:20px;border-radius:12px}.nextlabel{font-size:9px;letter-spacing:1px}.nexttime{font-size:24px}.nextdetail{padding-left:16px}.nextdetail strong{font-size:15px}.nextdetail p{font-size:11px}.nextup>button{font-size:0;min-width:44px}.nextup:after{font-size:100px;right:8px;top:0}.columns{gap:18px}.panel{padding:19px;border-radius:12px}.sectionhead{gap:9px}.sectionhead h2{font-size:15px}.sectionhead h2 span{font-size:10px;margin-left:5px}.sectionhead button{font-size:11px}.entry{padding:18px 0;gap:8px}.entrytitle{font-size:14px}.entrytime{font-size:13px;margin-right:8px}.check{min-width:44px;min-height:44px}.meta,.note{font-size:11px}.tag{font-size:9px;padding:4px 6px}.hint{font-size:10px}.empty{padding:35px 8px}.empty p{font-size:12px}.empty span{font-size:11px}footer{font-size:10px;margin-top:25px;align-items:flex-start}footer span{max-width:195px;line-height:1.8}footer button{font-size:10px;white-space:nowrap;min-height:32px}.logout{position:static;margin:0 20px calc(91px + env(safe-area-inset-bottom));font-size:11px;min-height:38px}.overlay{padding:12px 8px 0;align-items:flex-end}.modal{width:100%;padding:23px 22px calc(20px + env(safe-area-inset-bottom));max-height:94dvh;border-radius:20px 20px 0 0}.modal .sectionhead h2{font-size:22px}input,textarea,select{font-size:16px}.search{max-width:155px;min-height:44px;font-size:16px!important}.formrow{gap:10px}.gridweek{gap:4px}.gridweek button{min-height:44px;font-size:14px}.gridweek>span{padding:9px 0}.servicechoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.servicechoices button{min-width:0;font-size:13px}.servicechoices button:last-child{grid-column:1/-1}.authcard{padding:30px 25px;border-radius:18px}.authpage{padding:24px 18px!important}.authcard h1{font-size:29px}.authbrand{margin-bottom:28px}.authcard .subtitle{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.gridweek button{min-height:76px;gap:1px}.lunarday{font-size:10px;font-weight:400;color:#7b6688;line-height:1.5;white-space:nowrap}.chosen .lunarday{color:#f2e8fa}.almanac{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.almanachead{display:flex;gap:12px;align-items:center;justify-content:space-between}.almanackicker{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin:0 0 6px}.almanac h3{font-size:20px;font-family:var(--serif);font-weight:500;margin:0}.almanacdate{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.termtag{font-family:inherit;font-size:11px;color:var(--purple);background:var(--lavender);border-radius:5px;padding:4px 8px;margin-left:10px;white-space:nowrap}.ganzhi{font-size:12px;color:#74627f;margin:10px 0 18px}.yiji{display:grid;gap:12px}.yiji>div{display:flex;gap:12px;align-items:flex-start}.yiji b{flex:none;width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#e9efdf;color:#526341;font-size:12px;font-weight:500}.yiji>div:last-child b{background:#efe5e8;color:#805565}.yiji p{margin:1px 0 0;font-size:12px;line-height:1.9;color:#6d5b77;overflow-wrap:anywhere}.almanacdetails{margin-top:18px;border-top:1px dashed var(--line);padding-top:4px}.almanacdetails>summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--purple);font-size:12px}.almanacfacts{margin:8px 0 20px;font-size:12px}.almanacfacts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid #eee8ee}.almanacfacts dt{color:var(--muted)}.almanacfacts dd{margin:0;overflow-wrap:anywhere;color:#6d5b77}.almanac h4{font-size:13px;font-weight:550;margin:20px 0 0}.almanactimes{margin-top:14px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.almanactimes>details{border:1px solid var(--line);border-radius:8px;padding:10px;align-self:start;min-width:0}.almanactimes summary{display:flex;align-items:center;justify-content:space-between;gap:5px;cursor:pointer;min-height:44px}.almanactimes summary strong{font-size:12px;font-weight:500}.almanactimes small{display:block;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.timeluck{color:#805565;font-size:11px;background:#f2e9ec;padding:3px 7px;border-radius:4px}.timeluck.good{color:#526341;background:#e9efdf}.almanactimes p{font-size:11px;color:#6d5b77;overflow-wrap:anywhere;margin:9px 0 0}.almanacsource{font-size:10px;color:#76677f;line-height:1.9;margin:18px 0 0}.almanacsource a{text-decoration:underline;text-underline-offset:3px}@media(max-width:680px){.gridweek button{min-height:65px}.lunarday{font-size:9px}.almanac h3{font-size:19px}.almanacfacts>div{grid-template-columns:80px minmax(0,1fr)}.almanacdate{font-size:10px}}.tradition{margin:0 0 18px;padding:12px 14px;background:#f1eaf5;border:1px solid #ded0e8;border-radius:10px}.tradition>summary{cursor:pointer;min-height:34px;color:var(--purple);font-size:12px}.tradition summary span{line-height:1.8}.tradition summary small{display:block;font-size:10px;color:#786283;margin-top:4px}.tradition ul{margin:15px 0 0;padding:0;list-style:none}.tradition li{padding:13px 0;border-top:1px solid #dfd2e6}.tradition li strong{font-size:12px;font-weight:550}.traditionkind{display:inline-block;font-size:9px;color:#786283;margin-left:8px}.tradition li p{font-size:11px;line-height:1.8;margin:7px 0;color:#6d5b77}.tradition a{font-size:11px;color:var(--purple);text-decoration:underline;text-underline-offset:3px}.gridweek button{position:relative;min-height:84px;justify-content:flex-start;padding-top:9px}.traditionalmark{font-size:8px;font-style:normal;color:#795b2d;background:#f4eddf;padding:0 4px;border-radius:3px;line-height:1.5}.gridweek button i{position:absolute;bottom:4px}.chosen .traditionalmark{background:#f3e3c5;color:#6d4e22}@media(max-width:680px){.gridweek button{min-height:77px}.traditionalmark{font-size:8px}.lunarday{font-size:9px}}.lunaryear{font-size:11px;color:var(--muted);margin:9px 0 0}.almanacnotes>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:10px;color:#76677f}.almanacnotes .almanacsource{margin:0 0 4px}.traditionempty{font-size:11px;color:var(--muted);margin:15px 0}
