:root{--bg:#f5f7f3;--surface:#fff;--surface-2:#f9faf8;--ink:#293b36;--muted:#7a8a84;--line:#e5ece7;--primary:#416b5e;--primary-dark:#2f584c;--primary-light:#e9f2ec;--accent:#dfb879;--lavender:#f0eef9;--peach:#f8eee6;--red:#aa665f;--shadow:0 7px 30px rgba(39,67,56,.045);--radius:18px;--side:255px}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);scroll-behavior:smooth}body{margin:0;background:var(--bg);font-size:15px;line-height:1.5}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--primary);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(82,139,116,.35);outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,4vw,37px);letter-spacing:-.045em;line-height:1.17}h2{font-size:23px;letter-spacing:-.035em}h3{font-size:17px;letter-spacing:-.025em}.shell{display:flex;min-height:100vh}.sidebar{width:var(--side);position:sticky;top:0;align-self:flex-start;height:100vh;background:#fcfdfb;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 17px 22px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);padding:0 8px 28px}.brand-icon{display:grid;place-items:center;width:41px;height:41px;background:var(--primary);color:#fff;border-radius:14px;font-size:25px}.brand strong{display:block;letter-spacing:.07em;font-size:16px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.01em}.nav-heading{font-size:10px;font-weight:800;letter-spacing:.13em;color:#9baa9d;margin:24px 14px 13px}.nav-btn{border:0;background:transparent;color:#687b72;width:100%;display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:12px;font-weight:600;text-align:left;margin-bottom:6px;font-size:13px}.nav-btn span{font-size:21px;font-weight:400;width:23px;text-align:center}.nav-btn.active{color:var(--primary-dark);background:#eaf1eb}.nav-btn:hover:not(.active){background:#f2f5f1}.sidebar-note{background:#eff4ed;padding:19px;border-radius:17px;margin-top:auto;position:relative}.small-star{color:var(--primary);font-size:24px;margin-bottom:7px}.sidebar-note strong{font-size:13px}.sidebar-note p{color:#799083;font-size:12px;line-height:1.65;margin-top:7px}.sidebar-foot{margin:19px 6px 0;color:#8d9d95;font-size:11px;display:flex;gap:7px;align-items:center}.online-dot{background:#70af80;width:7px;height:7px;border-radius:50%}.main{width:calc(100% - var(--side));min-width:0}.topbar{height:81px;border-bottom:1px solid var(--line);background:#fff9;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,57px)}.crumb{font-size:13px;font-weight:700;color:#85958c}.dot-separator{padding:0 10px;color:#c4cec5}.top-actions{display:flex;align-items:center;gap:29px}.date-label{font-size:12px;color:#87988f}.profile{display:flex;gap:10px;align-items:center;border-left:1px solid var(--line);padding-left:20px}.avatar{background:#e3e9df;border-radius:13px;width:36px;height:36px;color:#466e55;display:grid;place-items:center;font-weight:800}.profile-text b{font-size:12px;display:block}.profile-text small{font-size:10px;color:#98a79c;display:block}.content{max-width:1330px;margin:auto;padding:38px clamp(20px,4vw,56px) 100px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#729482;font-weight:800}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.page-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:24px}.page-head h1,.page-head h2{margin-top:7px}.page-sub{margin-top:9px;color:var(--muted);font-size:13px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.hero{display:grid;grid-template-columns:1.2fr .8fr;min-height:270px;background:linear-gradient(105deg,#e6f0e5 0%,#edf4e9 60%,#f5f3e7 100%);border:1px solid #dae9dc;border-radius:23px;overflow:hidden;position:relative}.hero-info{padding:35px 38px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero h1{margin:12px 0 13px;max-width:480px}.hero p{color:#718578;max-width:460px;font-size:14px}.hero-visual{position:relative;min-height:235px}.hero-visual:before{content:'';position:absolute;width:260px;height:260px;border:35px solid #cedecf4f;border-radius:50%;top:-40px;right:-35px}.hero-visual:after{content:'';position:absolute;width:120px;height:120px;border-radius:50%;background:#dbbc8370;top:60px;right:120px;filter:blur(44px)}.book-illustration{position:absolute;right:14%;top:19%;width:220px;height:180px;transform:rotate(-8deg);filter:drop-shadow(0 22px 15px #5e806425)}.book-cover{position:absolute;inset:0 45% 0 0;background:linear-gradient(145deg,#5e8b71,#316050);border-radius:5px 19px 5px 19px;transform:skewY(12deg);box-shadow:inset -7px 0 0 #264b43}.book-page{position:absolute;inset:0 0 0 45%;background:linear-gradient(135deg,#fcf7e6,#e6dec9);border-radius:19px 7px 19px 5px;transform:skewY(-12deg);box-shadow:inset 6px 0 0 #e6dfc6}.book-logo{position:absolute;z-index:2;top:27px;left:28px;color:#d9c89b;font-size:29px;transform:rotate(10deg)}.book-lines{position:absolute;left:58%;top:47px;z-index:2;width:62px}.book-lines span{display:block;height:4px;border-radius:10px;margin:10px 0;background:#d7ceba}.book-lines span:nth-child(2){width:85%}.book-lines span:nth-child(3){width:65%}.button{border:0;border-radius:11px;background:var(--primary);color:#fff;font-weight:700;font-size:13px;padding:12px 18px;display:inline-flex;justify-content:center;align-items:center;gap:9px;transition:transform .1s,background .1s;text-align:center}.button:hover{background:var(--primary-dark)}.button:active{transform:scale(.99)}.button.secondary{background:#eaf2eb;color:var(--primary-dark)}.button.secondary:hover{background:#dce9df}.button.ghost{background:#fff;color:var(--primary-dark);border:1px solid var(--line)}.button.danger{background:#a96a64}.button.small-btn{padding:8px 12px;font-size:12px}.hero .button{margin-top:22px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-top:21px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px 22px;min-height:129px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#81948a;font-size:12px}.stat-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:11px;background:#ecf3ee;color:var(--primary);font-size:19px}.stat-icon.lavender{background:#eeeafa;color:#807bb0}.stat-icon.peach{background:#fcf2e8;color:#bb8c5c}.stat-value{font-weight:750;letter-spacing:-.035em;font-size:27px;margin-top:12px;line-height:1}.stat-hint{color:#95a69b;font-size:11px;margin-top:7px}.split{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr);gap:19px;margin-top:20px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-title h2{font-size:18px}.simple-link{font-size:12px;font-weight:750;color:var(--primary)}.task-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #edf0ed}.task-row:last-child{border-bottom:0}.task-mark{width:37px;height:37px;border-radius:12px;background:#eaf2eb;color:#59816b;display:grid;place-items:center;font-size:17px;flex-shrink:0}.task-mark.done{background:#dff1e8;color:#2d775e}.task-row .task-main{min-width:0;flex:1}.task-main strong{font-size:13px;display:block}.task-main small{color:#93a198;font-size:11px;display:block;margin-top:3px}.task-row .task-status{font-size:11px;color:#98a99f;white-space:nowrap}.task-row .task-status.good{color:#358564}.task-row .tiny-button{background:#eef4ef;border:0;border-radius:8px;padding:6px 9px;color:var(--primary);font-size:11px;font-weight:700}.card-head-right{font-size:11px;color:var(--muted)}.timeline{display:flex;flex-direction:column;gap:0}.time-item{display:grid;grid-template-columns:55px 13px 1fr;gap:8px;min-height:57px}.time-item time{font-size:11px;color:#91a297;padding-top:2px}.time-dot-line{display:flex;flex-direction:column;align-items:center}.time-dot{width:9px;height:9px;border:2px solid #91b69e;background:#fff;border-radius:50%;margin-top:5px;flex-shrink:0}.time-track{width:1px;background:#e2ece4;flex:1;margin-top:5px}.time-item:last-child .time-track{display:none}.time-desc b{font-size:12px;line-height:1.4;display:block}.time-desc span{display:block;color:#a1b0a6;font-size:11px;margin-top:3px}.time-item.is-break .time-dot{border-color:#e6c99f}.time-item.is-break .time-desc b{color:#a18e7e}.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:750;border-radius:100px;padding:6px 11px;background:#eaf2eb;color:#48715c}.pill.gold{background:#f8f0df;color:#987541}.pill.purple{background:#f2eefb;color:#8c7bae}.pill.red{background:#faebea;color:#ac6d66}.progress-outer{background:#edf1ed;border-radius:99px;height:8px;overflow:hidden}.progress-inner{height:100%;border-radius:99px;background:#7cab8b;transition:width .2s}.progress-label{display:flex;justify-content:space-between;color:#899a8f;font-size:11px;margin:10px 0}.days-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.day-tile{background:#fff;border:1px solid var(--line);border-radius:14px;text-align:left;padding:13px;min-height:100px;transition:background .13s,border-color .13s}.day-tile:hover{border-color:#b8cfbc;background:#f8fcf8}.day-tile.current{box-shadow:0 0 0 2px #82aa8b}.day-tile.is-exam{background:#faf7f1}.day-tile.complete{background:#e9f5ed}.day-number{font-weight:750;font-size:16px}.day-type{font-size:10px;color:#91a097;margin-top:5px}.day-date{font-size:10px;color:#9cab9e;margin-top:2px}.day-tile .check{float:right;color:#4b9d70}.view-top{display:flex;align-items:center;gap:12px;margin:0 0 23px}.view-top .title-stack{flex:1}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.subject-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.subject-card{background:#f8faf7;border:1px solid #edf1eb;border-radius:13px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:9px}.subject-card .subject-icon{font-size:21px}.subject-card strong{display:block;font-size:12px}.subject-card small{font-size:11px;color:var(--muted);margin-top:3px;display:block}.subject-card button{flex-shrink:0}.subject-card.completed{background:#edf7ef}.notice{padding:14px 16px;background:#f5f1e6;border:1px solid #eee4d3;border-radius:12px;color:#857451;font-size:12px}.notice.green{background:#eef7ef;border-color:#daecde;color:#597d60}.notice.red{background:#fff0eb;border-color:#f2dbd6;color:#a2675c}.lesson-box{margin-top:20px}.task-view{max-width:780px;margin:auto}.quiz-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.quiz-head h2{font-size:19px}.quiz-progress{height:7px;background:#eff1ec;border-radius:100px;overflow:hidden;margin:15px 0 23px}.quiz-progress>span{height:100%;display:block;background:#7bac86;transition:width .2s}.question-card{padding:27px;min-height:300px}.question-top{color:#7e9689;letter-spacing:.12em;font-size:10px;font-weight:800}.question-text{font-size:19px;font-weight:670;line-height:1.55;margin:18px 0 24px}.options{display:grid;gap:10px}.option{width:100%;text-align:left;border:1px solid #e5ece6;background:#fff;border-radius:12px;padding:12px 13px;color:#526a5d;display:flex;align-items:center;gap:12px}.option:hover{border-color:#a8c5ac;background:#f8faf8}.option.selected{border-color:#739e7d;background:#eef7f0;box-shadow:inset 0 0 0 1px #8db496}.option-letter{display:grid;place-items:center;border:1px solid #dae4db;border-radius:9px;width:29px;height:29px;font-size:12px;font-weight:800;flex-shrink:0;background:#f8faf8}.question-footer{display:flex;gap:11px;justify-content:space-between;margin-top:20px}.passage{white-space:pre-wrap;background:#f4f7f2;border:1px solid #e4ecdf;color:#526a5d;padding:18px;border-radius:12px;font-size:13px;line-height:1.8;margin-bottom:18px}.free-answer{display:block;width:100%;min-height:140px;resize:vertical;padding:16px;border:1px solid #e3eae4;border-radius:12px;color:#32493f;background:#fff;line-height:1.75}.essay-input{min-height:300px}.word-counter{font-size:11px;color:#92a49b;margin:9px 0}.result-summary{text-align:center;padding:29px}.result-ring{display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;width:120px;height:120px;border:10px solid #dcebe0;color:var(--primary);font-size:30px;font-weight:800}.mistake{border-left:3px solid #d9a29c;background:#fdf7f5;padding:12px 15px;margin:10px 0;border-radius:0 11px 11px 0;font-size:12px}.mistake b{display:block;margin-bottom:5px}.mistake .muted{line-height:1.7}.analytics-grid{display:grid;grid-template-columns:1.3fr .85fr;gap:20px}.bar-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.bar-track{height:8px;background:#eaf0ea;border-radius:40px;overflow:hidden}.bar-fill{height:100%;background:#a8b8a5;border-radius:40px}.bar-fill.weak{background:#d9ab80}.weak-row{padding:11px 0}.weak-row+.weak-row{border-top:1px solid #edf2ed}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}td,th{padding:12px 10px;border-bottom:1px solid #edf0eb;text-align:left}th{font-size:11px;color:#879b8c;font-weight:800}td{color:#526b5c}tr:last-child td{border-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:12px;font-weight:750;color:#617569}.field input,.field select,.field textarea{width:100%;border:1px solid #dfebe0;border-radius:11px;padding:11px 12px;background:#fff;color:var(--ink);outline:0}.field input:focus,.field textarea:focus{border-color:#89ae90}.help{font-size:11px;color:#93a39a;margin-top:7px}.divider{height:1px;background:#eef1ed;margin:22px 0}.review-card{border:1px solid #e4eae1;border-radius:13px;padding:17px;margin:12px 0}.review-essay{white-space:pre-wrap;max-height:240px;overflow:auto;background:#f8faf7;border-radius:10px;padding:13px;line-height:1.7;font-size:13px;color:#627567;margin:13px 0}.review-actions{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.review-actions .field{flex:1;min-width:125px}.modal-shade{position:fixed;inset:0;background:#20382e7d;z-index:100;display:grid;place-items:center;padding:16px}.modal{background:white;padding:25px;border-radius:18px;width:min(640px,100%);max-height:90vh;overflow-y:auto}.toast{position:fixed;bottom:30px;right:25px;background:#315c48;color:white;padding:12px 18px;border-radius:13px;box-shadow:0 20px 40px #355a4d45;z-index:300;display:none;max-width:min(370px,90vw);font-size:13px}.toast.visible{display:block}.loading-state{display:grid;place-items:center;gap:17px;height:55vh;color:#7e9b88;font-size:14px}.loading-spinner{border:3px solid #dfebe1;border-top-color:#689879;width:31px;height:31px;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{padding:32px;text-align:center;color:#90a197;font-size:13px}.empty-state .emoji{display:block;font-size:32px;margin-bottom:9px}.bottom-nav{display:none}.demo-bar{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:9px clamp(20px,4vw,56px);background:#fff8e9;color:#88724e;font-size:12px;border-bottom:1px solid #f3ebd7}.demo-bar[hidden]{display:none}.demo-bar>div{margin-left:auto;display:flex;gap:5px}.seg{border:1px solid #ebdbbd;border-radius:8px;background:transparent;padding:5px 9px;color:#876b4b;font-size:11px}.seg.active{background:#efddb8;color:#5e4a37}.flex{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.mt20{margin-top:20px}.mb16{margin-bottom:16px}.right{margin-left:auto}.stack{display:grid;gap:18px}.week-title{color:#7d9885;font-weight:750;font-size:12px;margin:15px 0 10px}.chip{font-size:10px;border-radius:8px;padding:4px 8px;color:#668471;background:#edf4ef;font-weight:750}.chip.orange{background:#f9efe1;color:#a48150}.center{text-align:center}.muted-card{background:#f4f7f3;border:1px solid #e9eee8;border-radius:12px;padding:16px;color:#71847a}.chart-bars{display:flex;align-items:end;gap:6px;height:93px;padding-top:15px}.chart-bars>div{flex:1;min-width:0;background:#a9c7ae;border-radius:5px 5px 0 0;min-height:2px}.chart-labels{display:flex;justify-content:space-between;font-size:9px;color:#98a99b;margin-top:8px}.inline-meta{font-size:11px;color:#92a297}.review-open{font-size:12px;background:#f7f8f4;padding:13px;border-radius:9px;margin:9px 0}.rubric-hint{font-size:11px;color:#84958b;line-height:1.7}
@media(max-width:1180px){:root{--side:220px}.content{padding:30px 28px 95px}.stat-grid{grid-template-columns:repeat(2,1fr)}.days-grid{grid-template-columns:repeat(5,1fr)}.hero-info{padding:30px}.book-illustration{right:7%;transform:scale(.85) rotate(-8deg)}}
@media(max-width:820px){.sidebar{display:none}.main{width:100%}.topbar{height:65px;padding:0 20px}.content{padding:23px 18px 110px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fcfefc;border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:50;padding:7px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -5px 18px #294f3c08}.bottom-nav button{border:0;background:transparent;color:#96a59a;min-width:65px;flex:1;display:flex;flex-direction:column;gap:1px;align-items:center;padding:4px}.bottom-nav button span{font-size:22px;line-height:1.1}.bottom-nav button small{font-size:9px;font-weight:700}.bottom-nav button.active{color:var(--primary)}.date-label{display:none}.profile{border:0;padding:0}.hero{grid-template-columns:1fr .35fr;min-height:240px}.hero-info{padding:24px}.hero-visual{overflow:hidden}.book-illustration{transform:scale(.6) rotate(-8deg);right:-55px;top:12px}.split,.analytics-grid{grid-template-columns:1fr}.days-grid{grid-template-columns:repeat(5,1fr)}.toast{bottom:83px;right:14px}}
@media(max-width:520px){body{font-size:14px}.crumb{font-size:11px}.profile-text{display:none}.avatar{width:33px;height:33px}.hero{display:block;min-height:210px}.hero-info{padding:25px 22px;max-width:330px}.hero h1{font-size:27px;max-width:300px}.hero p{font-size:12px;max-width:270px}.hero-visual{position:absolute;right:-70px;top:25px;width:130px;min-height:180px;opacity:.25;pointer-events:none}.hero .button{margin-top:15px}.stat-grid{gap:10px}.stat-card{padding:15px;min-height:116px}.stat-value{font-size:23px}.stat-top{font-size:11px}.stat-icon{width:27px;height:27px}.card{padding:17px}.days-grid{grid-template-columns:repeat(4,1fr);gap:7px}.day-tile{padding:11px;min-height:88px}.subject-list,.two-col,.form-grid{grid-template-columns:1fr}.page-head{align-items:start;flex-direction:column}.view-top{align-items:start}.question-card{padding:18px}.question-text{font-size:17px}.quiz-head{align-items:start}.button{padding:11px 13px}.time-item{grid-template-columns:47px 10px 1fr}.topbar{padding:0 18px}.content{padding:22px 14px 110px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
