@charset "UTF-8";
:root{--bg:#faf7f2;--ink:#594d47;--muted:#847970;--line:#e9e3db;--green:#a8b9a0;--darkgreen:#4e654e;--pink:#e8c9cd;--purple:#c4b8d8;--blue:#a8c8d8;--brown:#b89b83;--card:#fff;--shadow:0 6px 28px #66513c06;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:16px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--green);outline-offset:1px}a{color:var(--darkgreen)}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,4vw,2.1rem);line-height:1.3;letter-spacing:-.04em;font-weight:650}h2{font-size:1.13rem;font-weight:650}h3{font-size:1rem;font-weight:600}small,.meta{font-size:.875rem;color:var(--muted)}.eyebrow{font-size:.75rem;letter-spacing:.17em;color:var(--muted);text-transform:uppercase}.serif{font-family:Georgia,"Songti SC",serif}.shell{max-width:1160px;margin:auto;padding:0 36px 110px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:30px 0 24px;border-bottom:1px solid var(--line);margin-bottom:30px;gap:12px}.brand{font-family:Georgia,serif;font-size:1.5rem;letter-spacing:-.05em}.brand span{font-family:inherit;color:#aa9378}.top-right{display:flex;align-items:center;gap:16px}.local-badge{font-size:.8rem;border:1px solid var(--line);border-radius:30px;padding:5px 12px;white-space:nowrap}.local-badge::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#8b9f80;margin-right:7px}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon-btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}.icon-btn:hover{background:#f1ede7}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.page-head .meta{margin-bottom:7px}.page-head p:last-child{margin-top:9px}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:11px 17px;min-height:44px;border-radius:12px;background:#edf0e9;color:var(--darkgreen);font-weight:550;font-size:.9rem;border:1px solid transparent;text-decoration:none}.button:hover{filter:brightness(.97)}.primary{background:var(--ink);color:white}.soft{background:white;border-color:var(--line);color:var(--ink)}.danger{background:#f7e9e7;color:#9d514a}.text-btn{padding:8px 4px;min-height:40px;color:var(--darkgreen);font-size:.875rem;text-decoration:underline;text-underline-offset:4px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.grid{display:grid;gap:20px}.home-grid{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);align-items:start}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border:1px solid var(--line);border-radius:22px;background:var(--card);padding:24px;box-shadow:var(--shadow);min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.hero{padding:28px 30px;background:#eeefe5;display:flex;align-items:center;justify-content:space-between;min-height:170px;border-color:#e5e7d9;position:relative;overflow:hidden}.hero .quote{max-width:360px;font-size:1.4rem;line-height:1.6;margin:9px 0;color:#52634e;font-family:"Songti SC",Georgia,serif}.hero img{width:138px;height:138px;mix-blend-mode:multiply;flex-shrink:0}.hero .eyebrow{color:#65755f}.countdowns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.countdown{border-radius:16px;padding:18px 14px;border:1px solid #00000005;text-align:left;min-width:0;position:relative}.countdown .label{font-size:.82rem;display:block;min-height:24px}.countdown .big{font-size:2rem;letter-spacing:-.05em;line-height:1.4;font-family:Georgia,serif;margin-right:5px}.countdown small{font-size:.75rem}.countdown .date{font-size:.75rem;opacity:.8}.green{background:#eff2eb}.pink{background:#f7edef}.purple{background:#f2eef7}.blue{background:#edf4f7}.progress{height:6px;border-radius:10px;background:#efede7;overflow:hidden}.progress>span{display:block;height:100%;background:var(--green);border-radius:10px;max-width:100%}.progress.large{height:10px}.task-summary{padding:17px 0 24px;border-bottom:1px solid var(--line)}.task-summary .progress{margin-top:12px}.task-group{padding-top:22px}.period{font-size:.8rem;letter-spacing:.1em;color:var(--muted);display:flex;align-items:center;gap:8px;margin-bottom:9px}.period svg{width:16px;height:16px}.task{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #f2eee9}.task:last-child{border:0}.check{width:25px;height:25px;min-width:25px;min-height:25px;border:1.5px solid #cfcfc3;border-radius:9px;margin-top:3px;color:white;display:flex;align-items:center;justify-content:center;font-size:1rem}.done .check{background:#8c9e81;border-color:#8c9e81}.done .task-title{text-decoration:line-through;color:#9a9890}.task-content{flex:1;min-width:0}.task-title{font-size:.95rem;overflow-wrap:anywhere}.task-detail{font-size:.8rem;color:var(--muted);margin-top:3px}.task .icon-btn{margin:-8px -8px 0 0;width:36px;min-width:36px}.tag{display:inline-block;padding:2px 8px;border-radius:7px;font-size:.75rem;background:#f2f0eb;color:#726d65}.tag.study{background:#edf2e9;color:#526d4b}.tag.course{background:#f0ecf5;color:#726083}.tag.fitness{background:#eaf2ef;color:#46685a}.tag.life{background:#f8edef;color:#94666c}.metric{font-size:2rem;font-family:Georgia,serif;line-height:1.3;letter-spacing:-.04em}.metric small{font-size:.875rem;font-family:inherit;letter-spacing:0;margin-left:5px}.muted{color:var(--muted)}.water-body{display:flex;align-items:center;gap:22px;margin:24px 0}.water-drop{display:grid;place-items:center;border:1px solid #cbdde3;background:#e5f0f4;border-radius:32% 60% 50% 50%;transform:rotate(45deg);width:65px;height:65px;flex-shrink:0}.water-drop svg{width:28px;height:28px;transform:rotate(-45deg);color:#5f8a9b}.water-buttons{display:flex;gap:7px}.water-buttons button{flex:1;padding:10px 6px;background:#f2f7f9;border-radius:11px;font-size:.875rem;white-space:nowrap}.hint{font-size:.875rem;color:var(--muted);line-height:1.7}.note{padding:14px 17px;background:#f6f4ef;border-radius:13px;font-size:.875rem;color:#72685d;line-height:1.8}.spaced{margin-top:18px}.mini-list{display:grid;gap:12px}.mini-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.mini-row:last-child{border-bottom:0}.tile-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;flex-shrink:0}.nav{position:fixed;bottom:0;left:0;right:0;background:#faf7f2ed;backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:9px max(18px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));z-index:10}.nav-inner{display:grid;grid-template-columns:repeat(5,1fr);max-width:650px;margin:auto;gap:8px}.nav button{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:49px;font-size:.75rem;color:#8e857c;border-radius:14px;padding:5px 0}.nav button.active{color:#4e654e;background:#e9ede2}.nav .icon{width:22px;height:22px}.section-label{margin:20px 0 12px;font-size:.8rem;letter-spacing:.12em;color:var(--muted)}.empty{padding:26px 12px;text-align:center;color:var(--muted);font-size:.9rem}.empty img{width:68px;display:block;margin:0 auto 10px}.timer{text-align:center;padding:30px 20px}.timer-clock{font-size:clamp(3rem,10vw,4.8rem);font-variant-numeric:tabular-nums;font-family:Georgia,serif;letter-spacing:-.04em;line-height:1.4;margin:20px 0 3px}.timer-controls{justify-content:center;margin:24px 0 0}.timer .row select{flex:1}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:.9rem;min-width:0}input,select,textarea{width:100%;min-height:46px;border:1px solid #ded9d1;background:#fff;border-radius:11px;padding:10px 12px;min-width:0;font-size:1rem}textarea{min-height:95px;resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23766960'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:32px}.checkbox-field{display:flex;align-items:center;gap:10px;font-size:.9rem;margin:12px 0}.checkbox-field input{width:20px;height:20px;min-height:20px;accent-color:#8d9e82}.tabs{display:flex;gap:6px;background:#eeebe5;padding:5px;border-radius:13px;margin-bottom:22px;flex-wrap:wrap}.tabs button{flex:1;padding:9px 11px;border-radius:10px;font-size:.875rem;white-space:nowrap;min-height:42px}.tabs button.active{background:white;box-shadow:0 2px 8px #594d4708}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.day-name{text-align:center;font-size:.75rem;color:var(--muted);padding:8px 0}.day-cell{min-height:62px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid transparent;font-size:1rem;gap:5px}.day-cell.today{border-color:var(--green)}.day-cell.selected{background:#e9eee2;color:#42613d}.day-cell.out{opacity:.35}.dots{height:5px;display:flex;gap:3px}.dot{width:4px;height:4px;border-radius:50%;background:#a8b9a0}.dot.purple-dot{background:#b0a1c3}.course-item{padding:17px 0;border-bottom:1px solid var(--line)}.course-item:last-child{border:0}.course-item .row{align-items:flex-start}.course-time{font-size:.8rem;min-width:91px;color:var(--muted);font-variant-numeric:tabular-nums}.record{padding:15px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.record:last-child{border:0}.record-main{flex:1;min-width:0}.record-main p{overflow-wrap:anywhere}.record .icon-btn{flex-shrink:0}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.stat{background:#f7f6f1;padding:15px;border-radius:15px;min-width:0}.stat .metric{font-size:1.65rem;margin-top:4px}.bar-chart{display:flex;align-items:flex-end;gap:12px;height:145px;padding-top:20px}.bar-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;height:100%;min-width:0}.bar-col .bar{background:var(--green);border-radius:6px 6px 2px 2px;width:100%;max-width:34px;min-height:2px}.bar-col span{font-size:.75rem;color:var(--muted)}.bar-col .bar-num{font-size:.75rem;color:#64765b}.settings-row{padding:16px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row p{font-size:.875rem;color:var(--muted);margin-top:4px}.wide{width:100%}.upload-label{position:relative;cursor:pointer;overflow:hidden}.upload-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.status-note{padding:9px 0;color:#6a795e;font-size:.8rem}.error-note{color:#a44942;font-size:.875rem;min-height:24px}.footer-note{text-align:center;font-size:.75rem;color:#948b82;margin:28px 0 0}.preview-list{max-height:45vh;overflow-y:auto}.preview-task{padding:11px 0;border-bottom:1px solid var(--line);font-size:.875rem}dialog{border:1px solid var(--line);border-radius:24px;max-width:540px;width:calc(100% - 28px);max-height:calc(100dvh - 40px);padding:0;color:var(--ink);box-shadow:0 25px 90px #594d4726;background:var(--bg)}dialog::backdrop{background:#3c342c55;backdrop-filter:blur(3px)}.dialog-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:var(--bg);z-index:1}.dialog-body{padding:22px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 20px;border-radius:14px;background:#594d47;color:white;font-size:.9rem;z-index:100;opacity:0;pointer-events:none;transition:opacity .15s;box-shadow:0 5px 30px #594d4722}#toast.show{opacity:1}.loading{padding:80px 20px;text-align:center}.fatal{max-width:600px;margin:50px auto;padding:25px}.week-label{padding:8px 12px;border-radius:12px;background:#f2eef6;color:#78648c;font-size:.8rem}.timer-pill{background:#eaf0e5;border:1px solid #dce5d5;border-radius:14px;padding:11px 16px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.storage-bar{height:8px;background:#edeae2;border-radius:10px;overflow:hidden;margin:10px 0}.storage-bar span{display:block;height:100%;background:#b8ac94}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:900px){.countdown .label{font-size:.875rem}.desktop-sub{display:inline}.page-head{margin-top:4px}}
@media(max-width:740px){.shell{padding:0 19px calc(105px + env(safe-area-inset-bottom))}.topbar{padding:calc(18px + env(safe-area-inset-top)) 0 17px;margin-bottom:24px}.brand{font-size:1.35rem}.top-right{gap:3px}.local-badge{padding:4px 9px;font-size:.75rem}.desktop-sub{display:none}.home-grid,.two{grid-template-columns:1fr}.page-head{margin-bottom:21px;align-items:flex-start}.page-head .button{padding:9px 12px}.card{padding:20px;border-radius:20px}.hero{padding:23px;min-height:155px;gap:6px}.hero .quote{font-size:1.15rem;max-width:220px}.hero img{width:102px;height:110px;margin-right:-10px}.hero .hint{font-size:.8rem}.countdowns{gap:8px}.countdown{padding:14px 10px;border-radius:14px}.countdown .big{font-size:1.8rem}.countdown .label{font-size:.75rem;line-height:1.4;min-height:24px}.countdown .date{font-size:.7rem}.home-grid>.stack{gap:18px}.stats-grid{gap:7px}.stat{padding:13px 10px}.stat .metric{font-size:1.5rem}.stat .meta{font-size:.75rem}.three{grid-template-columns:1fr}.calendar-grid{gap:3px}.day-cell{min-height:53px}.row.mobile-wrap{flex-wrap:wrap}.course-time{min-width:82px}.dialog-body{padding:20px}.dialog-body .two{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head h1{font-size:1.7rem}.page-head .hint{max-width:230px}.timer{padding:24px 15px}.water-body{margin:18px 0}.footer-note{margin:23px 0 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
