@font-face{font-family:Hand;src:url('assets/hand.woff2')}*{box-sizing:border-box} :root{--paper:#f5f3ed;--card:#fdfcf8;--ink:#263b32;--muted:#757970;--line:#e5e5dc;--sage:#dce2d4;--out:cubic-bezier(.23,1,.32,1);--move:cubic-bezier(.77,0,.175,1)}body{margin:0;background:#deded4;color:var(--ink);font:14px/1.6 'Microsoft YaHei','PingFang SC',sans-serif;display:flex;justify-content:center;gap:72px;align-items:center;min-height:100vh;padding:30px}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #60816b;outline-offset:4px}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h2{font-size:27px;line-height:1.35;letter-spacing:-1px;font-weight:650}h3{font-size:16px;line-height:1.5;font-weight:600}.presentation{width:240px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;max-height:900px;padding:20px 0}.wordmark{font-size:24px;font-weight:650}.wordmark span{display:block;font-size:11px;font-weight:400;letter-spacing:1px;margin-top:4px}.edition{font-size:11px;letter-spacing:2px;color:#686e64}.presentation h1{font-size:43px;font-weight:500;line-height:1.45;letter-spacing:2px;margin:18px 0}.presentation p{color:#646d60;font-size:13px;line-height:2.2}.presentation footer{font-size:10px;color:#6a7265;line-height:2}.hand{font-family:Hand,'Segoe Print',cursive;font-size:21px;line-height:1.05;transform:rotate(-7deg);font-weight:500}.hand svg{display:block;width:96px;height:34px;stroke-width:1.3}.side-note{margin-top:40px;margin-left:26px}.phone{position:relative;width:410px;height:min(880px,calc(100vh - 60px));min-height:740px;background:var(--paper);border-radius:38px;overflow:hidden;box-shadow:0 25px 65px #343f3424,0 4px 14px #343f3417;flex-shrink:0}.status{height:46px;padding:14px 27px 0;display:flex;justify-content:space-between;align-items:flex-start;font-size:12px;color:#242b25;background:var(--paper)}.device-status{display:flex;gap:6px;align-items:center;font-size:9px}.device-status svg{width:15px;height:13px;stroke-width:2}.battery{width:21px;height:10px;border:1px solid currentColor;border-radius:3px;position:relative}.battery:after{content:'';position:absolute;inset:1px;background:currentColor;border-radius:1px}#screen{height:calc(100% - 46px);overflow:auto;scrollbar-width:none;padding:14px 24px 122px}#screen::-webkit-scrollbar{display:none}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.little-note{font-size:16px;line-height:.9}.top-actions{display:flex;gap:12px;align-items:center}.icon-btn{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ebece4;position:relative}.dot{position:absolute;width:5px;height:5px;background:#c08068;border-radius:50%;right:8px;top:6px}.avatar{width:31px;height:31px;background:#dbe0d2;border-radius:50%;object-fit:cover}.greeting{font-size:13px;margin-bottom:2px}.subtitle{font-size:11px;color:var(--muted);margin-top:7px}.title-row{display:flex;align-items:center;justify-content:space-between}.leaf-mark{width:36px;height:36px;stroke-width:1.1;margin-right:15px}.material-tabs{display:flex;gap:7px;overflow:auto;margin:24px 0 13px;scrollbar-width:none}.material-tabs button,.chip{font-size:11px;white-space:nowrap;border-radius:20px;padding:7px 13px;background:#e8e9e1;color:#687363}.material-tabs button.selected,.chip.selected{background:var(--ink);color:#fff}.study-panel{background:var(--card);padding:20px;border-radius:17px;border:1px solid #e7e7dd}.small-label{font-size:10px;color:var(--muted);letter-spacing:.6px}.study-title{display:flex;align-items:flex-start;justify-content:space-between;margin-top:8px}.study-title h3{font-size:22px;font-weight:600;letter-spacing:-.6px}.tag{font-size:9px;padding:2px 7px;background:#e8eddf;border-radius:4px;color:#4d644b}.study-title .icon-btn{width:28px;height:28px;background:#f0f1e9}.progress-caption{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:20px 0 8px}.progress-caption b{font-weight:500;color:var(--ink)}.progress{height:4px;background:#e8e9e1;border-radius:8px;overflow:hidden}.progress>i{display:block;height:100%;background:#718467;border-radius:8px}.study-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:21px}.study-action{background:var(--ink);border-radius:11px;padding:12px 14px;text-align:left;color:#fff;display:flex;justify-content:space-between;align-items:center}.study-action.secondary{color:var(--ink);background:#e7ecdf}.study-action strong{font-size:14px;display:block;font-weight:550}.study-action small{font-size:9px;opacity:.75}.study-action svg{width:17px}.panel-foot{margin-top:13px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.forest{height:106px;background:linear-gradient(90deg,#233c32e8,#233c3244),url('assets/forest.jpg') center 55%/cover;border-radius:13px;margin-top:17px;color:white;padding:15px 17px;position:relative;overflow:hidden}.forest small{font-size:9px;opacity:.8}.forest strong{display:block;font-size:19px;font-weight:500;margin-top:4px}.forest .progress{position:absolute;bottom:16px;left:17px;right:17px;background:#ffffff4d}.forest .progress i{background:#e9e8db}.forest .hand{position:absolute;right:20px;top:27px;font-size:17px;opacity:.95}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px}.section-head button{font-size:10px;color:var(--muted)}.task{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);text-align:left;width:100%}.task:last-child{border-bottom:0}.check{border:1px solid #bec6b7;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;flex:none}.check.checked{background:var(--ink);color:white;border-color:var(--ink)}.check svg{width:13px;height:13px}.task-main{flex:1}.task strong{font-size:12px;font-weight:500;display:block}.task small{color:var(--muted);font-size:9px}.task>svg{width:14px}.bottom-scribble{margin:26px 0 0 5px;display:flex;justify-content:space-between;align-items:center}.bottom-scribble .hand{font-size:17px}.mini-flower{width:45px;height:55px;stroke-width:1}.preview-notes{width:210px;align-self:center}.preview-notes>.hand{font-size:25px;margin-bottom:64px;margin-left:20px}.preview-notes>.hand svg{height:55px;width:120px}.preview-notes>span{font-size:10px;letter-spacing:2px;color:#72786a}.preview-notes>strong{display:block;font-size:22px;font-weight:500;margin:8px 0 16px}.preview-notes>p{font-size:11px;line-height:2.1;color:#70776a}.preview-notes button{font-size:10px;border-bottom:1px solid #9ba58f;margin-top:30px;padding:3px 0}.page-title{margin:8px 0 22px}.page-title .hand{font-size:17px;margin-right:8px}.calendar-head{display:flex;justify-content:space-between;margin:24px 0 15px;font-size:14px}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.day{padding:10px 0;border-radius:11px;text-align:center;position:relative}.day span{font-size:9px;color:var(--muted);display:block;margin-bottom:8px}.day b{font-size:13px;font-weight:500}.day.active{color:#fff;background:var(--ink)}.day.active span{color:#c8d0c3}.day.has-task:after{content:'';display:block;width:3px;height:3px;border-radius:50%;background:#8da180;margin:5px auto 0}.schedule{margin-top:25px}.schedule-row{display:grid;grid-template-columns:46px 1fr;gap:8px;margin-bottom:13px}.schedule-time{font-size:9px;color:var(--muted);padding-top:13px}.schedule-card{background:var(--card);padding:14px;border-radius:11px;position:relative}.schedule-card.active{background:#e2e7d8}.schedule-top{display:flex;gap:10px}.schedule-top>svg{width:18px;height:18px;margin-top:1px}.schedule-card strong{font-size:11px;font-weight:550;display:block}.schedule-card small{font-size:9px;color:var(--muted)}.schedule-card p{font-size:10px;line-height:1.8;margin-top:13px;color:#5e6b58}.schedule-card button{font-size:10px;padding:5px 11px;background:#f9faf3;border-radius:6px;margin-top:10px}.search{display:flex;gap:9px;background:#ebece5;border-radius:10px;padding:11px 13px;margin:19px 0 13px}.search svg{width:17px;height:17px}.search input{border:0;background:transparent;outline:none;width:100%;font-size:11px;color:var(--ink)}.search input::placeholder{color:#747c6e}.wide-btn{width:100%;border:1px dashed #9da992;border-radius:11px;padding:14px;display:flex;gap:10px;align-items:center;justify-content:center;font-size:12px;margin-top:15px}.wide-btn svg{width:18px}.book-list{margin-top:20px}.book{display:flex;width:100%;text-align:left;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.book-cover{width:64px;height:83px;background:#d5ddcc;flex:none;border-radius:3px 7px 7px 3px;box-shadow:inset 4px 0 #0000000b;display:flex;flex-direction:column;justify-content:space-between;padding:10px 9px;color:#3d5037}.book-cover small{font-size:7px;letter-spacing:1px}.book-cover b{font-size:15px;line-height:1.25;font-weight:500}.book-cover.dark{background:#34493f;color:#edf0e5}.book-cover.warm{background:#e4ddcb;color:#5f5a47}.book-info{flex:1;padding-top:4px;min-width:0}.book-info h3{font-size:13px}.book-info p{font-size:9px;color:var(--muted);margin:4px 0 11px}.book-info .progress{height:3px}.book-info .progress-caption{margin:7px 0 0;font-size:9px}.training-hero{position:relative;margin:5px 0 25px;padding:0 0 11px}.training-hero>p{margin-top:8px;font-size:11px;color:var(--muted)}.training-hero .hand{position:absolute;right:8px;top:5px;font-size:18px}.training-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.training-card{padding:18px 15px;background:var(--card);border-radius:13px;text-align:left;min-height:116px;position:relative}.training-card>svg{width:24px;height:24px;margin-bottom:14px}.training-card b{font-size:13px;font-weight:550;display:block}.training-card small{font-size:9px;color:var(--muted)}.training-card.sage{background:#e0e6d7}.training-card .corner{position:absolute;right:14px;top:15px;width:13px}.battle{margin-top:22px;padding:22px;border-radius:14px;background:var(--ink);color:#fafbf4;position:relative;overflow:hidden}.battle h3{font-size:21px}.battle p{font-size:10px;color:#c0cbb9;margin-top:5px}.battle .hand{position:absolute;right:25px;top:20px;font-size:17px}.battle button{background:#e4e9da;border-radius:8px;font-size:11px;padding:9px 15px;margin-top:18px;color:#283d30}.modes{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 4px}.range{display:grid;grid-template-columns:repeat(4,1fr);background:#e8e9e3;padding:3px;border-radius:9px;margin:20px 0}.range button{font-size:10px;border-radius:6px;padding:6px}.range button.active{background:var(--card);box-shadow:0 1px 4px #34402b12}.chart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.chart-head strong{font-size:14px;font-weight:500}.chart-head small{display:block;font-size:9px;color:var(--muted)}.chart-head button{font-size:10px;background:#ebece5;border-radius:6px;padding:6px 11px}.line-chart{width:100%;height:140px;stroke-width:1;overflow:visible}.line-chart text{fill:#7b8173;stroke:none;font:9px sans-serif}.line-chart .grid{stroke:#e0e3d8;stroke-width:1}.line-chart .line{stroke:#7b956d;stroke-width:2.6}.line-chart .previous{stroke:#d5d9ce;stroke-width:2}.bar-chart{height:108px;display:flex;gap:11px;align-items:flex-end;border-bottom:1px solid var(--line);padding:0 8px;position:relative;margin-top:2px}.bar-col{flex:1;text-align:center;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.bar-col i{width:100%;max-width:25px;background:#cddbc1;border-radius:5px 5px 0 0;display:block;min-height:3px}.bar-col i.current{background:#718c63}.bar-col span{font-size:8px;color:var(--muted)}.chart-legend{font-size:9px;color:var(--muted);margin:17px 0;display:flex;gap:16px}.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#79956a;margin-right:5px}.chart-legend i.pale{background:#d0d5c9}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:15px;background:#e9ebe4;border-radius:13px}.stat-card small{font-size:10px;display:flex;align-items:center;gap:7px}.stat-card svg{width:15px;height:15px}.stat-card strong{display:block;font-size:21px;letter-spacing:-.5px;margin-top:8px;font-weight:550}.stat-card p{font-size:9px;color:#737c6b;margin-top:3px}.stat-card.highlight{background:#d5e2c9}.setting-row{display:flex;align-items:center;gap:10px;width:100%;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.setting-row>svg{width:17px}.setting-row span{flex:1;text-align:left}.setting-row>svg:last-child{width:13px}#nav{position:absolute;bottom:15px;left:15px;right:15px;height:68px;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);isolation:isolate}.nav-surface{position:absolute;inset:8px 0 0;background:#fbfaf6;border-radius:22px;z-index:-1;box-shadow:0 4px 20px #34412e08;mask-image:radial-gradient(circle 34px at var(--nav-x,10%) -3px,transparent 98%,#000 100%);-webkit-mask-image:radial-gradient(circle 34px at var(--nav-x,10%) -3px,transparent 98%,#000 100%)}.nav-ring{position:absolute;width:70px;height:70px;border-radius:50%;background:var(--ink);left:0;top:-17px;z-index:-2;transition:transform 280ms var(--move)}.nav-disc{position:absolute;width:50px;height:50px;left:10px;top:-7px;border-radius:50%;background:#fbfaf6;z-index:0;transition:transform 280ms var(--move)}#nav button{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;gap:5px;padding:20px 0 0;color:#808879;font-size:9px;transition:color 180ms}#nav button svg{width:21px;height:21px;transition:transform 280ms var(--move)}#nav button.active{color:var(--ink)}#nav button.active svg{transform:translateY(-17px)}#nav button.active span{transform:translateY(-6px)}.home-indicator{position:absolute;bottom:6px;left:calc(50% - 50px);width:100px;height:3px;background:#27362b;border-radius:5px;z-index:25}.toast{position:absolute;bottom:98px;left:25px;right:25px;background:#263b32f5;color:#fff;border-radius:10px;padding:12px 16px;z-index:90;font-size:11px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity 180ms,transform 180ms}.toast.visible{opacity:1;transform:none}dialog{border:0;background:var(--paper);color:var(--ink);border-radius:24px 24px 0 0;width:min(410px,100vw);max-width:100vw;max-height:82vh;padding:24px;margin:auto auto 0;box-shadow:0 -12px 50px #17291c15}dialog::backdrop{background:#2333285e}dialog h2{font-size:22px;margin-bottom:8px}.sheet-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.sheet-top h2{margin:0}.sheet-top button{width:30px;height:30px;background:#e5e8dd;border-radius:50%}.sheet-top svg{width:16px}.hint{font-size:11px;color:#6e7766;line-height:1.8}.primary{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--ink);color:#fff;border-radius:10px;padding:12px 17px;font-size:12px;width:100%;margin-top:20px}.secondary-button{display:block;padding:10px 15px;background:#e5e9dc;border-radius:8px;margin-top:10px;font-size:11px;width:100%}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.import-grid button{background:#e6eadd;border-radius:12px;padding:20px 12px;text-align:left}.import-grid svg{display:block;margin-bottom:9px}.import-grid b{display:block;font-size:12px;font-weight:500}.import-grid small{font-size:9px;color:#717c66}textarea{display:block;width:100%;height:170px;padding:15px;background:#fffef9;color:var(--ink);border:1px solid #d9dfce;border-radius:10px;margin:14px 0;resize:vertical;font-size:12px;line-height:1.9}input[type=file]{display:block;width:100%;font-size:11px;margin:15px 0}.exercise{font-size:18px;line-height:2.2;background:#fffdf7;padding:20px;border-radius:12px;margin-top:15px}.blank{display:inline-block;background:#e0e7d5;color:#557047;border-bottom:1px dashed #738366;min-width:70px;text-align:center;border-radius:3px;padding:0 5px}.exercise-word{font-size:30px;letter-spacing:.5px;line-height:1.4;padding:20px 0}.session-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:10px}.answer{background:#e1e8d8;padding:14px;border-radius:10px;margin-top:14px;font-size:12px}.note-line{font-size:10px;color:#7b826f;margin:15px 0}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.detail-actions button{margin:0}.toggle{display:flex;justify-content:space-between;font-size:12px;padding:14px 0;border-bottom:1px solid var(--line)}.toggle input{accent-color:#39523c}.demo-label{text-align:center;font-size:9px;color:#7c8373;margin:23px 0 0}.invite-code{font-family:monospace;font-size:21px;letter-spacing:4px;padding:20px;background:#e3e8d9;text-align:center;border-radius:10px;margin-top:18px}.session-counter{font-size:11px;color:var(--muted);margin-top:6px}@media(max-width:1150px){body{gap:32px}.presentation{width:190px}.preview-notes{width:165px}}@media(max-width:920px){.preview-notes{display:none}}@media(max-width:640px){body{display:block;padding:0;background:var(--paper)}.presentation,.preview-notes{display:none}.phone{width:100%;height:100dvh;min-height:0;border-radius:0;box-shadow:none}.status{padding-top:max(12px,env(safe-area-inset-top));height:43px}#screen{height:calc(100% - 43px);padding-top:10px}.home-indicator{bottom:max(6px,env(safe-area-inset-bottom))}#nav{bottom:max(16px,env(safe-area-inset-bottom))}dialog{width:100%;border-radius:22px 22px 0 0}.study-title h3{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@property --nav-x{syntax:"<percentage>";inherits:false;initial-value:10%}.nav-surface{transition:--nav-x 280ms var(--move)}

/* Reference-matched moving cavity: no detached dark ring. */
#nav{height:84px;overflow:visible;filter:drop-shadow(0 3px 8px #263b3208)}
#nav .nav-geometry{position:absolute;inset:0;width:100%;height:84px;overflow:visible;z-index:0;stroke:none;fill:none;pointer-events:none}
#nav .nav-cavity{fill:var(--ink)}#nav .nav-paper,#nav .nav-float{fill:#fbfaf6}
#nav button{padding-top:39px;gap:6px;font-size:9px;color:#788270}
#nav button svg{transition:none;width:21px;height:21px}
#nav button.active svg,#nav button.active span{transform:none}
#nav button:active{transform:none}
#nav button.active{color:var(--ink)}
/* Fluid app canvas, without simulated device chrome. */
body{display:block;padding:0;background:var(--paper);min-height:100dvh}
.presentation,.preview-notes{display:none}
.phone{width:100%;height:100dvh;min-height:0;border-radius:0;box-shadow:none;overflow:hidden}
#screen{height:100%;padding:32px 24px 130px;max-width:1160px;margin:auto;scrollbar-width:thin}
#nav{position:fixed;width:min(540px,calc(100% - 24px));left:50%;right:auto;transform:translateX(-50%);bottom:max(12px,env(safe-area-inset-bottom));padding:0 12px}
#nav button svg path{transform-box:fill-box;transform-origin:center}
.toast{position:fixed;left:50%;right:auto;width:min(480px,calc(100% - 40px));transform:translate(-50%,8px)}
.toast.visible{transform:translate(-50%,0)}
@media(min-width:768px){
 #screen{padding:44px 48px 140px;font-size:15px}
 #screen[data-page=home]{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);column-gap:36px;align-content:start}
 #screen[data-page=home]>.topline,#screen[data-page=home]>.greeting,#screen[data-page=home]>.title-row,#screen[data-page=home]>.subtitle,#screen[data-page=home]>.material-tabs{grid-column:1/-1}
 #screen[data-page=home]>.study-panel{grid-column:1;grid-row:6/10;padding:30px}
 #screen[data-page=home]>.forest{grid-column:2;grid-row:6;margin-top:0;height:120px}
 #screen[data-page=home]>.section-head{grid-column:2;grid-row:7}
 #screen[data-page=home]>.task{grid-column:2}
 #screen[data-page=home]>.bottom-scribble,#screen[data-page=home]>.demo-label{grid-column:1/-1}
 .study-title h3{font-size:28px}.study-actions{margin-top:40px}.study-action{padding:18px}.study-action strong{font-size:17px}.study-action small{font-size:12px}
 .progress-caption{font-size:12px}.panel-foot{font-size:11px}.subtitle{font-size:13px}
 .book-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 36px}.book-info h3{font-size:16px}
 .training-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.training-card{min-height:155px;padding:24px}.training-card b{font-size:16px}
 .schedule-row{grid-template-columns:76px 1fr}.schedule-card{padding:20px}.schedule-card strong{font-size:15px}.schedule-card small,.schedule-time{font-size:12px}
 .week{max-width:650px}.day{padding:14px}.line-chart{height:200px}.bar-chart{height:150px}
 .stat-grid{grid-template-columns:repeat(4,1fr)}.task strong{font-size:14px}
 dialog{width:540px;max-width:calc(100vw - 48px);border-radius:20px;margin:auto;padding:30px}
}
@media(max-width:360px){#screen{padding-left:16px;padding-right:16px}.study-panel{padding:15px}.study-title h3{font-size:20px}}
@media(min-width:768px){#screen[data-page=home]{grid-auto-rows:max-content}.material-tabs{min-height:34px}}
/* The geometry owns the visible icons so the cutout can occlude them. */
#nav button>svg{visibility:hidden}
#nav .nav-glyphs path{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
