:root{--ink:#303a33;--muted:#92968c;--line:#e8e9e1;--green:#4c6552;--paper:#fffefa}*{box-sizing:border-box}body{margin:0;background:#f7f8f2;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:13px}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid #6a876f;outline-offset:3px}header{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 3.5vw}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:650;text-decoration:none;color:var(--ink);letter-spacing:2px}.brand-icon{font-size:29px;color:var(--green)}.brand-sub{font-size:9px;letter-spacing:2px;color:var(--muted);font-weight:500;border-left:1px solid #d9ddcf;padding-left:15px;margin-left:5px}.local{font-size:11px;color:#7d887c;display:flex;gap:8px;align-items:center}.local i{width:6px;height:6px;background:#8ba382;border-radius:50%}.local span{color:#a1a69a}main{padding:27px 3.5vw 0}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8c9486;margin-bottom:9px}h1{font-size:clamp(20px,2vw,28px);font-weight:500;letter-spacing:1px;margin:0}h1 span{color:#9aa889}.primary{background:var(--green);color:white;border:0;border-radius:7px;padding:11px 18px;font-size:12px;box-shadow:0 2px 3px #314a3210}.primary:hover{background:#3b5341}.primary span{font-size:17px;margin-right:6px}.planner{background:var(--paper);border:1px solid #dfe3d7;border-radius:11px;overflow:hidden;box-shadow:0 6px 28px #47543805}.toolbar{height:68px;padding:0 22px;display:flex;align-items:center;justify-content:space-between}.month-nav{display:flex;align-items:center;gap:15px}.month-nav>button:not(.today-button){border:0;background:none;font-size:25px;color:#86917f;padding:0 6px}.month-nav>div{position:relative}#month-label{font-size:18px;font-weight:550;letter-spacing:1px;pointer-events:none}#month{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}#month::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.today-button{background:none;border:1px solid var(--line);border-radius:5px;font-size:10px;padding:6px 10px;margin-left:4px;color:#838c7c}.filters{display:flex;background:#f1f3ec;padding:3px;border-radius:6px;gap:3px}.filters button{border:0;background:none;color:#909689;border-radius:4px;padding:6px 15px;font-size:11px}.filters button.active{color:#50604b;background:#fffefa;box-shadow:0 1px 3px #0000000b}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafbf6}.weekdays span{padding:11px 14px;color:#929a8a;font-size:10px;letter-spacing:1px}.weekdays span:nth-last-child(-n+2){color:#b0b59e}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(var(--weeks),minmax(95px,calc((100dvh - 345px)/var(--weeks))))}.day{min-width:0;min-height:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 8px 5px;display:flex;flex-direction:column}.day:nth-child(7n){border-right:0}.day.weekend{background:#fafbf6}.day.outside{background:#f7f8f2}.outside .day-number{color:#c6cbbf}.outside .task{opacity:.55}.day.is-today{background:#f2f6ed;box-shadow:inset 0 2px #8eaa7a}.day-top{display:flex;align-items:center;height:23px;gap:5px;margin-bottom:6px}.day-number{font-size:12px;margin-left:5px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px}.is-today .day-number{border-radius:50%;background:var(--green);color:#fff}.today-label{font-size:9px;color:#8b9e7c}.add-day{margin-left:auto;background:none;border:0;font-size:17px;color:#b3bbaa;opacity:0;padding:0 4px}.day:hover .add-day,.add-day:focus-visible{opacity:1}.task-list{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d7dfce transparent;min-height:0}.task{display:flex;align-items:flex-start;gap:6px;border-radius:4px;padding:5px 6px;margin-bottom:4px}.sand{background:#f0ebdc}.sage{background:#e6eddf}.blue{background:#e4edf1}.rose{background:#f3e5e2}.check{flex:none;width:12px;height:12px;border:1px solid #a5ab98;border-radius:3px;background:#ffffff33;margin-top:2px;padding:0;font-size:9px;line-height:10px}.task-text{background:none;border:0;text-align:left;padding:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere;min-width:0;flex:1}.completed{background:transparent;color:#a3aa9b}.completed .task-text{text-decoration:line-through}.completed .check{background:#b7c1ab;color:white;border-color:#b7c1ab}.calendar-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;color:#919985;font-size:10px}.today-dot{display:inline-block;width:6px;height:6px;background:#829b6c;border-radius:50%;margin-right:6px}.hint{margin-left:18px;color:#b0b6a7}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 1px;color:#a1a895;font-size:10px}footer>span:last-child{letter-spacing:1px;font-size:9px}footer b{font-weight:400;margin:0 10px;color:#c6cbbf}dialog{border:1px solid #dfe3d7;border-radius:13px;padding:25px;width:430px;max-width:calc(100% - 30px);background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #25352530}dialog::backdrop{background:#27322140;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}h2{font-size:19px;font-weight:550;margin:0}.icon-button{border:0;background:none;font-size:25px;color:#949c8b}form>label{display:block;font-size:12px;color:#7c8774;margin:16px 0 8px}textarea,input[type=date]{width:100%;border:1px solid #dce1d3;background:#fffefa;padding:10px;border-radius:6px;color:var(--ink);outline-color:#8ea37d}textarea{resize:vertical}.colors{display:flex;gap:8px}.colors label{border-radius:5px;padding:7px 9px;display:flex;align-items:center;gap:4px;font-size:11px}.colors input{accent-color:var(--green);margin:0}.dialog-actions{margin-top:26px;display:flex;justify-content:flex-end;align-items:center;gap:15px}.danger{background:none;border:0;color:#ad7870;margin-right:auto;font-size:12px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#354c3b;color:white;padding:12px 20px;border-radius:8px;box-shadow:0 4px 20px #0002;max-width:90%;z-index:10;font-size:12px}@media(hover:none){.add-day{opacity:1}}@media(min-width:1600px){.app{max-width:1800px;margin:auto}}@media(max-width:760px){header{height:60px;padding:0 18px}.brand-sub,.local span{display:none}main{padding:22px 12px 0}.heading{margin-bottom:20px}.eyebrow{font-size:9px}h1{font-size:18px}.primary{padding:10px 12px;font-size:11px}.toolbar{padding:10px;gap:12px;height:auto;flex-wrap:wrap}.month-nav{gap:8px}#month-label{font-size:16px}.filters button{padding:5px 12px}.weekdays span{padding:10px 4px;text-align:center;font-size:9px}.calendar{grid-template-rows:repeat(var(--weeks),minmax(110px,calc((100dvh - 330px)/var(--weeks))))}.day{padding:6px 2px 2px}.day-number{font-size:11px;margin:0;width:20px;height:20px}.day-top{gap:0}.today-label{display:none}.add-day{opacity:1;font-size:14px;padding:0 3px}.task{padding:4px 3px;gap:3px}.task-text{font-size:10px}.check{width:10px;height:10px;line-height:8px;margin-top:3px}.calendar-footer{padding:10px;font-size:9px}.hint{display:none}footer{font-size:9px}footer>span:last-child{display:none}}
