:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1c3330;background:#f5f8f7;font-size:15px;--ink:#1c3330;--muted:#73857f;--brand:#087e6b;--mint:#e7f4ee;--line:#e4ebe7;--white:#fff;--danger:#b74742;--amber:#ab7221;--shadow:0 8px 26px #173c2910;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-bottom:100px}body{margin:0;min-width:0}a,button,input,select,summary{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}a{color:var(--brand);text-decoration:none}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.5}button,a,summary{touch-action:manipulation}button,input,select,a{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e3b75c}button.primary{background:var(--brand);color:#fff;box-shadow:0 3px 8px #087e6b18}button.secondary,.button.secondary{background:var(--mint);color:var(--brand)}button.primary,button.secondary,.button{border-radius:13px;min-height:44px;padding:11px 17px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.5}button.ghost{color:var(--muted);background:transparent;min-height:44px;padding:10px 12px}.full{width:100%}.icon{width:22px;height:22px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.site-header{max-width:1024px;margin:auto;padding:23px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:21px;font-weight:800;white-space:nowrap;letter-spacing:.5px}.brand-mark{width:42px;height:44px;border-radius:14px 14px 14px 5px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:24px;box-shadow:3px 3px 0 #d4e6bf}.brand small{display:block;font-size:10px;font-weight:450;color:var(--muted);letter-spacing:.7px;margin-top:2px}.account-button{background:white;border:1px solid var(--line);border-radius:24px;padding:9px 13px;color:var(--brand);font-size:12px;font-weight:600;min-height:38px;flex-shrink:0}main{max-width:1024px;margin:auto;padding:5px 22px calc(108px + env(safe-area-inset-bottom));min-width:0}h1,h2,h3,p{margin:0}h1{font-size:26px;line-height:1.3;letter-spacing:-.8px;font-weight:800}h2{font-size:17px;line-height:1.5}h3{font-size:15px;line-height:1.55}p{line-height:1.7;overflow-wrap:anywhere}small{font-size:12px}.muted{color:var(--muted);font-size:12px;line-height:1.7}.eyebrow{color:var(--brand);font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700}.page-head{margin:13px 0 20px}.page-head p{margin-top:7px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.row>*{min-width:0}.wrap{flex-wrap:wrap}.stack{display:grid;gap:12px}.card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:20px;margin:18px 0;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.section-head a{font-size:12px;white-space:nowrap}.hero{position:relative;padding:26px 23px 24px;border:1px solid #d4e8dc;border-radius:24px;background:linear-gradient(120deg,#e6f2e8,#edf6ef 65%,#f2f2db);overflow:hidden;margin:7px 0 24px}.hero:after{content:"";position:absolute;right:-29px;top:-43px;width:172px;height:172px;border:27px solid #d9e9cf75;border-radius:50%;pointer-events:none}.hero>*{position:relative;z-index:1}.hero .eyebrow{display:block;margin-bottom:13px}.hero h1{font-size:29px;line-height:1.4;max-width:650px;letter-spacing:-1px}.hero p{margin:12px 0 18px;max-width:440px;color:#53736a;font-size:13px}.hero .primary{font-size:13px}.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.hero-stamp{font-size:10px;color:#6e896e;line-height:1.7;text-align:right}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0 25px}.quick-link{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;font-size:12px;color:var(--ink);font-weight:650;min-width:0;padding:4px 0}.quick-icon{display:grid;place-items:center;border-radius:17px;width:52px;height:52px;background:#e5f0eb;color:#207b64}.quick-link:nth-child(2) .quick-icon{color:#3974a1;background:#eaf0f7}.quick-link:nth-child(3) .quick-icon{color:#a57431;background:#fbf1dc}.quick-link:nth-child(4) .quick-icon{color:#776195;background:#efebf7}.quick-icon .icon{width:24px;height:24px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.service{display:flex;gap:12px;padding:17px;border-radius:18px;border:1px solid var(--line);background:#fff;color:var(--ink);min-width:0;align-items:flex-start}.service .service-icon{background:#eef5f0;color:var(--brand);border-radius:12px;padding:9px;display:flex;flex-shrink:0}.service strong{font-size:14px;line-height:1.5;display:block}.service small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:4px}.service.locked .service-icon{background:#f3f4f5;color:#8a9590}.section-label{display:block;margin:24px 0 11px;font-size:12px;color:var(--muted);font-weight:650}.banner{border:1px solid #e4e9d5;border-radius:14px;background:#f7f8eb;padding:12px 14px;font-size:12px;color:#6a713e;line-height:1.75;margin:14px 0;display:flex;gap:9px;align-items:flex-start}.banner .icon{width:17px;height:17px;margin-top:2px}.banner p{line-height:1.75}.banner.error{background:#fff3f0;color:var(--danger);border-color:#f1d5ce}.banner.info{background:#edf5f2;color:#487768;border-color:#deebe4}.banner a{font-weight:700}.empty{text-align:center;padding:29px 16px;color:var(--muted)}.empty-symbol{width:47px;height:47px;border:1px solid var(--line);background:#f6f9f7;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;color:#87a79b}.empty strong{font-size:14px;color:#4a665c;display:block;margin:5px 0}.empty p{font-size:12px}.empty .button{margin-top:16px;font-size:12px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);display:flex;justify-content:center;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;width:min(25%,180px);color:#91a198;font-size:10px}.bottom-nav .nav-icon{padding:2px 17px;border-radius:20px;display:flex}.bottom-nav a.active{color:var(--brand);font-weight:750}.bottom-nav a.active .nav-icon{background:#e8f3ed}.bottom-nav .icon{width:23px;height:23px}.filter-row{display:flex;gap:9px;align-items:center;margin:12px 0}.filter-row>*{min-width:0}.filter-row select{flex:1;width:0}.filter-row .week-number{width:75px;flex:0 0 75px}input,select{color:var(--ink);background:white;border:1px solid #dce5df;border-radius:11px;min-height:44px;padding:11px 12px;max-width:100%;min-width:0;font-size:14px}select{overflow:hidden;text-overflow:ellipsis}label{display:block;font-size:13px;line-height:1.6;margin:14px 0 6px}label.check{display:flex;gap:10px;align-items:flex-start;font-size:12px;margin:14px 0;color:#53685f}input[type=checkbox]{width:19px;height:19px;min-height:19px;accent-color:var(--brand);flex-shrink:0;margin:1px 0 0}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}.class-chooser{margin:12px 0;background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px 16px}.class-chooser summary{font-size:13px;color:var(--ink);font-weight:650;cursor:pointer;line-height:1.6;overflow-wrap:anywhere}.class-chooser[open] summary{margin-bottom:7px}.class-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.class-fields select{width:100%;font-size:13px}.class-fields label{font-size:11px;color:var(--muted)}.calendar-shell{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px 14px;min-width:0;margin-top:15px}.week-controls{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;margin-bottom:16px}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:12px;color:var(--ink);font-size:24px;flex-shrink:0;cursor:pointer}.week-controls .icon-button{width:44px;height:44px}.week-label{text-align:center}.week-label b{display:block;font-size:16px}.week-label small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0 0 14px}.day-tab{min-width:0;border-radius:13px;background:#f6f8f6;color:#7a8a81;padding:10px 0 9px;min-height:66px;font-size:10px;position:relative}.day-tab b{display:block;font-size:16px;font-weight:650;margin:5px 0 6px;line-height:1}.day-tab.current{box-shadow:inset 0 0 0 1px #aacdbb}.day-tab.selected{background:var(--brand);color:#fff;box-shadow:0 3px 9px #087e6b1c}.day-dot{height:4px;width:4px;border-radius:50%;display:block;margin:auto;background:currentColor}.day-dot.off{opacity:0}.view-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 17px}.view-bar .muted{font-size:11px}.segmented{display:flex;background:#f0f4f1;padding:3px;border-radius:10px;gap:2px}.segmented button{padding:7px 11px;font-size:11px;line-height:1.5;min-height:32px;background:transparent;color:#77857f;border-radius:8px;white-space:nowrap}.segmented button.selected{background:#fff;color:var(--brand);box-shadow:0 2px 5px #1830280a;font-weight:650}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 10px;padding-top:10px;border-top:1px solid var(--line);font-size:13px}.day-heading:first-child{margin-top:4px;border-top:0;padding-top:0}.day-heading small{color:var(--muted);font-size:10px}.course-list{display:grid;gap:11px}.course{display:grid;grid-template-columns:43px minmax(0,1fr);gap:10px;min-width:0}.period{font-size:14px;font-weight:750;text-align:center;color:#486358;padding-top:15px;line-height:1.4;overflow-wrap:anywhere}.period small{display:block;color:#98a79f;font-size:10px;font-weight:400;margin-top:3px}.course-body{background:#eef6f0;border-left:3px solid #78a78d;border-radius:3px 15px 15px 3px;padding:14px 13px 11px;min-width:0}.course.tone-1 .course-body{background:#edf3f9;border-color:#8eaed0}.course.tone-2 .course-body{background:#fbf5e8;border-color:#d7bc7f}.course.tone-3 .course-body{background:#f2eef8;border-color:#b3a0c8}.course.tone-4 .course-body{background:#fbefeb;border-color:#d6a79a}.course.tone-5 .course-body{background:#eaf4f4;border-color:#85b8b4}.course h3{font-size:14px;line-height:1.7;margin:0 0 6px;overflow-wrap:anywhere}.course-meta{display:flex;gap:6px;align-items:flex-start;font-size:12px;color:#687c72;margin:4px 0;overflow-wrap:anywhere;line-height:1.6}.course-meta .icon{width:13px;height:13px;margin-top:3px}.course-details{font-size:11px;color:#7a8e82;margin-top:7px}.course-details summary{cursor:pointer;padding:4px 0;min-height:26px}.course-details .detail-lines{padding:7px 0;border-top:1px solid #ffffff80;margin-top:4px;line-height:1.8;overflow-wrap:anywhere}.variant{padding:7px 0;border-bottom:1px solid #d5e0d755;overflow-wrap:anywhere}.variant:last-child{border:0}.pill{display:inline-flex;align-items:center;gap:4px;border-radius:7px;padding:3px 7px;background:#fff9;color:#6f815c;font-size:10px;line-height:1.7}.pill.amber{background:#fff4d7;color:#a1752e}.pill.grey{background:#f1f4f2;color:#8a958b}.sync-meta{font-size:10px;line-height:1.8;color:#97a59d;margin:12px 3px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}.sync-meta button{font-size:10px;background:transparent;color:var(--brand);padding:0 2px;min-height:30px}.muted-link{color:var(--muted);text-decoration:underline}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.summary-stat{padding:17px 8px;background:#fff;border:1px solid var(--line);border-radius:16px;text-align:center;min-width:0}.summary-stat b{display:block;color:var(--brand);font-size:22px;line-height:1.6;overflow-wrap:anywhere}.summary-stat span{font-size:10px;color:var(--muted)}.list-item{padding:15px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.list-item:first-child{padding-top:0}.list-item:last-child{border:0;padding-bottom:0}.list-item .muted{margin-top:4px;font-size:11px}.grade-list{display:grid;gap:11px}.grade-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.grade-card h3{font-size:14px}.grade-card .score{font-size:25px;font-weight:800;color:var(--brand);line-height:1.1;white-space:nowrap}.grade-card .score.text-score{font-size:12px;max-width:95px;white-space:normal;line-height:1.6}.grade-card .score.fail{color:var(--danger)}.grade-card .score small{font-size:10px;font-weight:400;margin-left:3px}.grade-card .grade-meta{font-size:11px;color:var(--muted);margin-top:6px}.grade-card .detail-button{font-size:11px;border:0;background:#f1f6f2;border-radius:8px;padding:8px 10px;color:var(--brand);margin-top:12px;min-height:34px}.components{display:grid;gap:9px;margin:18px 0}.component{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#f4f8f4;border-radius:12px;padding:13px;align-items:center}.component strong{font-size:13px;overflow-wrap:anywhere}.component b{font-size:22px;color:var(--brand)}.component .muted{font-size:10px}.profile-card{margin:16px 0}.profile-top{display:flex;gap:13px;align-items:center;margin-bottom:18px}.avatar{height:53px;width:53px;border-radius:17px;background:#ebf5ee;color:var(--brand);display:grid;place-items:center;font-size:23px;flex-shrink:0}.kv{display:grid;grid-template-columns:66px minmax(0,1fr);gap:14px;margin:16px 0;font-size:13px;line-height:1.6}.kv dt{color:var(--muted)}.kv dd{margin:0;overflow-wrap:anywhere}.prefs-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);margin:0;font-size:13px}.prefs-item small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.prefs-item input{margin:0}.danger-button{color:var(--danger)!important}.login-card{max-width:470px;margin:20px auto}.login-card .primary{margin-top:10px}.login-card input:not([type=checkbox]){width:100%;min-height:48px}.exam-meta{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.exam-meta .icon{width:16px;height:16px;color:var(--brand)}.title-button{padding:0;background:none;color:var(--ink);text-align:left;line-height:1.7;font-size:14px;font-weight:600}.op-row{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-bottom:1px solid var(--line)}.op-row:last-child{border:0}.op-row label{margin:0;flex:1;min-width:0}.op-row input{margin-top:4px}.op-price{font-weight:650;white-space:nowrap;font-size:14px}.op-reason{font-size:11px;color:#929c90;margin-top:6px;display:block}.action-footer{margin-top:18px;display:grid;gap:10px}.loading{padding:45px 16px;text-align:center;color:var(--muted);font-size:12px}.loading:before{content:"";display:block;margin:0 auto 15px;width:23px;height:23px;border:2px solid #e2ece5;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}.loading small{display:block;line-height:1.7;margin-top:10px;font-size:10px}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:24px;width:480px;max-width:calc(100% - 28px);max-height:calc(90dvh - env(safe-area-inset-bottom));padding:22px;color:var(--ink);background:#fff;box-shadow:0 18px 60px #13291b25;overflow-y:auto;overflow-wrap:anywhere}dialog::backdrop{background:#17332765;backdrop-filter:blur(2px)}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-top .icon-button{border:0;background:#f2f5f2;height:32px;width:32px;border-radius:50%;font-size:21px}.modal-total{background:var(--brand);color:#fff;border-radius:15px;padding:17px;display:flex;align-items:center;justify-content:space-between}.modal-total b{font-size:24px}.preserve-lines{white-space:pre-wrap}.toast{position:fixed;z-index:50;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#254d3fee;color:white;border-radius:12px;font-size:12px;padding:12px 18px;max-width:85%;box-shadow:var(--shadow)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:15px;z-index:99;background:white;padding:12px}.skip-link:focus{top:10px}.copyright{text-align:center;font-size:10px;color:#a1afa7;margin:25px 0 0}.link-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0;color:var(--ink);font-size:13px;border-bottom:1px solid var(--line)}.link-row:last-child{border-bottom:0}.link-row .icon{width:16px;height:16px;color:var(--muted)}@media(min-width:760px){main{padding-top:15px}.hero{padding:33px}.hero h1{font-size:34px}.home-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.home-columns .card{margin-top:0}.quick-grid{max-width:600px;margin-left:auto;margin-right:auto}.calendar-shell{padding:22px;max-width:760px;margin-left:auto;margin-right:auto}.day-tab{min-height:73px}.course-list{gap:14px}.course-body{padding:16px}.filter-row,.class-chooser,.schedule-note,.schedule-meta{max-width:760px;margin-left:auto;margin-right:auto}.grade-list{grid-template-columns:1fr 1fr}.schedule-notice{max-width:760px;margin-left:auto;margin-right:auto}}@media(max-width:600px){.site-header{padding:18px 18px 14px}main{padding-left:18px;padding-right:18px}.hero{padding:23px 20px 21px}.hero h1{font-size:27px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service{padding:14px 12px;flex-direction:column;gap:10px}.service strong{font-size:13px}.service small{font-size:10px}.card{padding:18px}.page-head{margin-top:12px}dialog{margin:auto auto max(12px,env(safe-area-inset-bottom));max-height:87dvh;width:calc(100% - 24px);padding:20px}.calendar-shell{padding:14px 10px}.course{grid-template-columns:35px minmax(0,1fr);gap:8px}.course-body{padding:13px 11px 10px}.period{font-size:12px}.day-tabs{gap:3px}.hero-stamp{font-size:9px}.filter-row select{font-size:12px}.filter-row .primary{font-size:12px;padding:11px 13px}}@media(max-width:350px){main{padding-left:13px;padding-right:13px}.site-header{padding-left:15px;padding-right:15px}.hero h1{font-size:25px}.brand{font-size:19px}.brand small{font-size:9px}.account-button{padding:8px 10px;font-size:11px}.hero-stamp{display:none}.day-tab b{font-size:14px}.day-tab{padding-top:9px}.filter-row{gap:6px}.filter-row .week-number{width:62px;flex-basis:62px}.course h3{font-size:13px}.course-meta{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.loading:before{animation:none}}