:root{--bg:#f6f6f0;--paper:#fff;--ink:#202e2a;--muted:#5d6b65;--green:#153e37;--lime:#dcf49c;--line:#dfe4da;--orange:#b35b21;--radius:22px;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #718f43;outline-offset:3px}button{min-height:44px}button:disabled{opacity:.5;cursor:not-allowed}.shell{max-width:1100px;margin:auto;padding:0 28px 110px}.topbar{height:96px;display:flex;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-1px}.brandmark{height:42px;width:42px;border-radius:13px;background:var(--green);color:var(--lime);display:grid;place-items:center;font-size:30px}.brand-sub{display:block;font-size:8px;letter-spacing:1.4px;margin-top:1px;font-weight:600}.avatar{margin-left:auto;display:grid;place-items:center;border:1px solid #cdd4c7;width:38px;height:38px;border-radius:50%;font-weight:600;font-size:14px}.icon-btn{border:1px solid var(--line);background:white;border-radius:50%;width:44px;font-size:20px}.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:750;color:var(--muted);margin:0 0 9px}h1{font-size:clamp(28px,4vw,43px);line-height:1.12;letter-spacing:-1.8px;margin:0 0 12px;font-weight:650}h2{font-size:22px;letter-spacing:-.6px;font-weight:650;margin:0 0 12px}h3{font-size:17px;line-height:1.35;margin:0 0 8px;font-weight:650}p{font-size:14px;line-height:1.6;margin:0 0 12px}.muted{color:var(--muted)}.small{font-size:12px}.pageintro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 25px}.pageintro p:last-child{margin:0}.hero{display:grid;grid-template-columns:1.35fr 1fr;background:var(--green);color:white;border-radius:28px;padding:30px;gap:28px;position:relative;overflow:hidden}.hero .eyebrow,.hero .muted{color:#cadad0}.hero h2{font-size:29px;line-height:1.2;max-width:460px}.hero .reference{color:#d5e5d9}.hero .hero-side{display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #ffffff25}.progressring{width:116px;height:116px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--lime) var(--progress),#44675d 0);position:relative}.progressring:before{content:'';position:absolute;inset:9px;background:var(--green);border-radius:50%}.progressring span{position:relative;font-size:28px;letter-spacing:-1px;font-weight:700}.hero-side p{margin:12px 0 0;text-align:center;font-size:12px;color:#d5e5d9}.btn{background:var(--green);color:white;border:0;border-radius:13px;padding:12px 17px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:44px}.btn.lime{background:var(--lime);color:#20352a}.btn.secondary{background:#edf0e7;color:var(--green)}.btn.outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.danger{background:#fff1ed;color:#9d3e29}.buttonrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 28px}.stat{background:white;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;align-items:center;gap:12px}.stat strong{font-size:24px;font-weight:650;letter-spacing:-.7px}.stat span{font-size:12px;color:var(--muted)}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 14px}.sectionhead h2{margin:0}.textbtn{background:none;border:0;color:var(--green);font-size:12px;font-weight:650;padding:5px 9px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject-card{background:white;border:1px solid var(--line);border-radius:20px;padding:19px;text-align:left;color:var(--ink);min-height:118px;position:relative}.subject-card:hover{border-color:#aab8a0}.subject-card .subject-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--tint,#edf0e7);font-size:15px;font-weight:700;margin-bottom:15px}.subject-card strong{display:block;font-size:16px;font-weight:650}.subject-card .arrow{position:absolute;right:18px;top:20px;color:#69756b}.subject-card .small{margin:6px 0 0;color:var(--muted)}.bar{height:4px;background:#edf0e7;border-radius:4px;margin-top:14px;overflow:hidden}.bar i{display:block;height:100%;background:var(--green);border-radius:4px}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:16px}.panel.soft{background:#eef2e5}.panel .eyebrow{font-size:10px}.next-reminder{display:flex;gap:13px;align-items:flex-start}.next-reminder .circle{width:42px;height:42px;border-radius:50%;background:#e7eddb;display:grid;place-items:center;font-size:22px;flex-shrink:0}.list{display:grid;gap:10px}.task-card{background:white;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;align-items:flex-start;gap:12px}.task-card .check{flex-shrink:0;border:1.5px solid #bcc7b7;border-radius:50%;width:27px;height:27px;min-height:27px;background:white;margin-top:3px;font-size:15px;color:var(--green)}.task-card .check.done{background:var(--green);color:white;border-color:var(--green)}.taskopen{background:none;border:0;text-align:left;padding:0;min-height:44px;flex:1;color:var(--ink);min-width:0}.taskopen h3{font-size:15px;margin:5px 0 7px}.taskopen p{font-size:11px;margin:0;color:var(--muted)}.tag{font-size:10px;background:#eef2e5;color:#435748;border-radius:6px;padding:4px 7px;display:inline-block;line-height:1.35}.tag.orange{color:#8a461d;background:#fff0df}.tag.blue{background:#e7f0f6;color:#376174}.tag.gray{background:#f0f1ed;color:#536157}.tags{display:flex;gap:5px;flex-wrap:wrap}.filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:2px 0 12px;white-space:nowrap}.chip{background:white;border:1px solid var(--line);border-radius:30px;padding:9px 14px;font-size:12px;min-height:40px;color:var(--ink)}.chip.active{background:var(--green);border-color:var(--green);color:white}.searchrow{display:flex;gap:10px;margin:8px 0 18px}.searchrow input{flex:1;min-width:0}.searchrow select{max-width:155px}.input,input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #d4dccf;background:#fff;border-radius:12px;padding:12px;color:var(--ink);min-height:45px;font-size:14px}input:focus,textarea:focus,select:focus{outline:2px solid #8ea663;outline-offset:1px}textarea{resize:vertical;line-height:1.6;min-height:100px}label{display:block;font-size:12px;font-weight:650;margin:14px 0 6px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}.fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.empty{padding:38px 24px;text-align:center;background:white;border:1px dashed #bdcbb1;border-radius:22px}.empty h3{margin-bottom:8px}.bottomnav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#fffefb;box-shadow:0 6px 38px #153e3715;border:1px solid #dfe4da;border-radius:22px;display:grid;grid-template-columns:repeat(4,1fr);width:370px;max-width:calc(100% - 24px);padding:7px 10px;z-index:30}.bottomnav button{border:0;background:none;font-size:10px;font-weight:650;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-radius:14px;min-height:49px}.bottomnav button span{font-size:21px;line-height:1.1}.bottomnav button.active{background:#e9f1dd;color:var(--green)}dialog{border:1px solid var(--line);border-radius:24px;padding:0;max-width:650px;width:calc(100% - 28px);max-height:90dvh;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#132b2466;backdrop-filter:blur(3px)}.dialog-content{padding:24px;overflow:auto}.dialoghead{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.dialoghead h2{font-size:23px;margin:8px 0 0}.close{border:1px solid var(--line);background:white;flex-shrink:0;width:40px;min-height:40px;border-radius:50%;font-size:22px}.reference{font-size:11px;color:var(--muted);margin-top:8px}.explanation{padding:17px;background:#eaf0e1;border-radius:16px;line-height:1.65;font-size:14px;white-space:pre-line}.steps{padding-left:22px;font-size:14px;line-height:1.7}.steps li{margin:7px 0}details{background:white;border:1px solid var(--line);padding:13px 15px;border-radius:14px;margin:10px 0}summary{cursor:pointer;min-height:27px;font-size:13px;font-weight:650;display:list-item}details p{white-space:pre-line;margin:10px 0 0}.autosave{color:var(--muted);font-size:10px;margin-top:6px}.timerpanel{text-align:center;padding:30px 20px}.timerdisc{width:230px;height:230px;border-radius:50%;margin:26px auto;display:grid;place-items:center;background:conic-gradient(var(--green) var(--progress,0%),#e5eadf 0);position:relative}.timerdisc:before{content:'';position:absolute;inset:7px;background:var(--bg);border-radius:50%}.timerdisc>div{position:relative}.timerdisc strong{display:block;font-size:54px;font-weight:550;letter-spacing:-3px;font-variant-numeric:tabular-nums}.timerdisc span{font-size:11px;color:var(--muted);letter-spacing:1px}.timerpanel .buttonrow{justify-content:center}.timerpanel .btn{min-width:120px}.modebuttons{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.modebuttons .chip{font-size:11px;padding:8px 12px}.timercontrols{max-width:450px;margin:auto}.sessionitem{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.sessionitem:last-child{border:0}.daybuttons{display:flex;gap:5px;margin-top:8px;flex-wrap:wrap}.daybuttons button{border:1px solid var(--line);background:white;border-radius:50%;font-size:10px;font-weight:650;width:35px;min-height:35px}.daybuttons button.active{background:var(--green);color:white;border-color:var(--green)}.reminderrow{border:1px solid var(--line);border-radius:16px;padding:15px;margin:12px 0}.remindertop{display:flex;gap:10px;align-items:center}.remindertop input[type=time]{max-width:135px}.remindertop select{flex:1;min-width:0}.remindertop .close{width:34px;min-height:34px;font-size:17px}.reminderfoot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:10px}.togglelabel{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}.notice{background:#fff2df;color:#744716;border-radius:14px;padding:13px;font-size:12px;line-height:1.6;margin:12px 0}.calendaritems{max-height:280px;overflow:auto}.calendaritem{border-bottom:1px solid var(--line);padding:12px 0}.calendaritem p{font-size:12px;margin:0 0 6px}.calendaritem a{font-size:12px;display:inline-flex;align-items:center;min-height:35px;font-weight:650}.backupbox{border:1px dashed #b9c6aa;border-radius:17px;background:#f6f8f1;padding:20px;margin-top:16px}.tiplabel{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:var(--muted)}.footer-note{text-align:center;color:var(--muted);font-size:11px;margin:25px 0 0}#toast{position:fixed;top:14px;left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);width:450px;z-index:100;background:var(--green);color:white;border:1px solid #46675d;border-radius:15px;box-shadow:0 7px 30px #0002;padding:15px 18px;font-size:13px;line-height:1.5}#toast.warning{background:#835426;border-color:#a47743}[hidden]{display:none!important}body:has(dialog[open]){overflow:hidden}
@media(min-width:800px){.bottomnav{width:440px}.topbar{height:104px}.planlist{display:grid;grid-template-columns:1fr 1fr;gap:12px}.planlist .task-card{height:100%}}
@media(max-width:650px){.shell{padding:0 18px 105px}.topbar{height:78px}.brand{font-size:21px}.brandmark{width:38px;height:38px;font-size:27px}.pageintro{margin:12px 0 20px}.pageintro h1{font-size:30px;letter-spacing:-1.2px}.hero{grid-template-columns:1fr;padding:23px;border-radius:24px;gap:20px}.hero h2{font-size:24px;letter-spacing:-.6px}.hero .hero-side{border-left:0;border-top:1px solid #ffffff25;padding-top:15px;flex-direction:row;justify-content:flex-start;gap:12px}.progressring{width:52px;height:52px}.progressring:before{inset:4px}.progressring span{font-size:15px}.hero-side p{text-align:left;margin:0;font-size:11px}.hero .buttonrow{margin-top:18px}.stats{gap:8px;margin:12px 0 24px}.stat{padding:13px 10px;display:block;border-radius:15px}.stat strong{display:block;font-size:23px}.stat span{font-size:10px}.two-col{grid-template-columns:1fr;gap:0}.subject-card{padding:16px;min-height:125px}.subject-card strong{font-size:14px}.subject-card .small{font-size:10px}.sectionhead{margin-top:21px}.sectionhead h2{font-size:20px}.panel{padding:19px}.searchrow{gap:7px}.searchrow select{max-width:125px;font-size:12px}.searchrow input{font-size:13px}.pageintro .btn{padding:11px 13px;font-size:12px;flex-shrink:0}dialog{max-height:94dvh;width:calc(100% - 16px);border-radius:22px}.dialog-content{padding:20px}.dialoghead h2{font-size:21px}.fieldgrid{gap:8px}.timerdisc{width:218px;height:218px}.remindertop{gap:6px}.remindertop input[type=time]{max-width:105px;padding:10px;font-size:13px}.remindertop select{font-size:12px;padding:10px}.remindertop .close{width:30px;min-height:30px}.bottomnav{bottom:max(10px,env(safe-area-inset-bottom));border-radius:20px}.notice{font-size:11px}.task-card{padding:14px}.taskopen h3{font-size:14px}}
@media(prefers-reduced-motion:no-preference){.btn,.chip,.subject-card{transition:background .15s,border-color .15s,transform .15s}.btn:active{transform:scale(.98)}}
