@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/be-vietnam-pro-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/be-vietnam-pro-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/be-vietnam-pro-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/be-vietnam-pro-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/be-vietnam-pro-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/be-vietnam-pro-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/be-vietnam-pro-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/be-vietnam-pro-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(fonts/be-vietnam-pro-vietnamese-800-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(fonts/be-vietnam-pro-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(fonts/be-vietnam-pro-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root{--teal:#137c70;--dark:#123e36;--ink:#233c35;--muted:#7e8982;--paper:#f7f9f6;--line:#e8ede6;--mint:#e7f3e8;--gold:#f5c765;--orange:#bf733b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'Be Vietnam Pro',system-ui,sans-serif;line-height:1.6}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.5}a{color:var(--teal)}button:focus-visible,a:focus-visible{outline:3px solid #e5ae4d;outline-offset:4px}input,select,textarea{width:100%;border:1px solid #dfe6de;border-radius:10px;padding:12px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:100px}label{display:block;font-size:12px;font-weight:600;margin:15px 0 7px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.5}h2{font-size:18px;letter-spacing:-.5px}h3{font-size:14px}small{font-size:11px}.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;flex:none}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;width:236px;border-right:1px solid var(--line);background:#fff;padding:34px 22px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.8px;font-weight:800;text-align:left}.brand img{width:38px;height:38px}.brand span small{display:block;font-size:8px;letter-spacing:1.2px;font-weight:500;color:var(--muted)}.side-label{font-size:10px;letter-spacing:1.7px;color:#98a49c;margin:42px 16px 14px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:13px 15px;border-radius:10px;color:#7c8982;font-size:13px;margin:5px 0;text-align:left}.nav-item.active{background:var(--mint);color:var(--teal);font-weight:700}.nav-item.active:after{content:'';width:6px;height:6px;background:var(--teal);border-radius:50%;margin-left:auto}.side-note{margin-top:auto;border-radius:14px;background:#f7f9f2;padding:19px 15px;color:var(--muted);font-size:11px}.side-note b{display:block;color:var(--ink);font-size:12px;margin-bottom:6px}.side-note .icon{color:var(--teal);margin-bottom:8px}.side-foot{margin-top:22px;display:flex;gap:10px;align-items:center;font-size:11px}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#f4e5cc;color:#8c6541;font-weight:700;flex:none}.side-foot span{flex:1}.side-foot small{color:var(--muted);display:block;font-size:10px}.main{grid-column:2;min-width:0}.topbar{height:85px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fff9}.crumb{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:22px}.demo-tag{font-size:10px;padding:5px 10px;border:1px solid #dfe8d7;background:#f4f8ee;border-radius:6px;color:#6c7d54}.bell{position:relative;padding:7px}.bell:after{content:'';position:absolute;right:9px;top:6px;width:5px;height:5px;border:2px solid var(--paper);box-sizing:content-box;border-radius:50%;background:#e4ac58}.content{padding:29px 38px 40px;max-width:1500px;margin:auto}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.greeting p{font-size:12px;color:var(--muted);margin-top:6px}.greeting .date{font-size:11px;display:flex;gap:8px;align-items:center;color:var(--muted)}.greeting .date .icon{width:16px}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px}.left-col,.right-col{min-width:0}.hero{border-radius:19px;background:#dff0df;padding:29px 30px;min-height:248px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-copy{position:relative;z-index:2;width:65%}.eyebrow{display:flex;gap:7px;align-items:center;font-size:10px;font-weight:700;letter-spacing:1px;color:var(--teal);margin-bottom:11px}.eyebrow .icon{width:15px}.hero h2{font-size:28px;color:var(--dark);line-height:1.4;letter-spacing:-1px;margin-bottom:10px}.hero p{color:#617b65;font-size:11px;max-width:320px;line-height:1.9;margin-bottom:21px}.primary{background:var(--teal);color:#fff;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary:hover{background:#0e665d}.primary .icon{width:16px}.secondary{border:1px solid #dce6dc;padding:10px 15px;border-radius:9px;font-size:12px;background:white}.hero-art{position:absolute;width:240px;height:240px;right:-4px;bottom:-10px}.hero-orbit{position:absolute;border:1px solid #cbe3c5;width:290px;height:290px;border-radius:50%;right:-70px;top:-45px}.hero-orbit:after{content:'';position:absolute;inset:30px;border:1px solid #cbe3c5;border-radius:50%}.hero-time{font-size:10px;display:inline-block;margin-left:10px;color:#658068}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:20px 0 27px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:17px 16px;display:flex;align-items:center;gap:12px}.stat-icon{width:39px;height:39px;border-radius:11px;background:#edf5ec;display:grid;place-items:center;color:var(--teal);flex:none}.stat:nth-child(2) .stat-icon{color:#b3843d;background:#fff6e4}.stat:nth-child(3) .stat-icon{color:#7b7cb4;background:#efedf8}.stat strong{font-size:20px;line-height:1.4;letter-spacing:-.6px}.stat strong small{color:var(--muted);font-size:12px;font-weight:400}.stat p{color:var(--muted);font-size:10px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 0 15px}.section-title h2{font-size:16px}.section-title h2 small{margin-left:8px;font-size:10px;color:var(--teal);background:#e4efdf;border-radius:5px;padding:3px 7px}.text-btn{font-size:11px;color:var(--teal);display:inline-flex;align-items:center;gap:5px}.text-btn .icon{width:14px}.task-list{background:white;border:1px solid var(--line);border-radius:13px;padding:0 19px}.task-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.subject-icon{height:43px;width:43px;border-radius:10px;background:#edf3e9;display:grid;place-items:center;color:var(--teal);font-weight:600;font-size:19px;flex:none}.subject-icon.literature{background:#fcf0e6;color:#bf855d}.subject-icon.science{background:#eeeefa;color:#8280af}.task-info{flex:1;min-width:0}.task-info h3{font-size:11px;line-height:1.7;margin-bottom:4px}.task-info p{font-size:10px;color:var(--muted);display:flex;gap:9px;align-items:center}.badge{font-size:9px;padding:3px 7px;border-radius:5px;background:#f4f5f0;color:#7f8977;white-space:nowrap}.badge.green{background:#edf5e7;color:#638158}.badge.orange{background:#fff3de;color:#b38843}.badge.purple{background:#f2eff9;color:#8a7ab2}.task-check{width:19px;height:19px;border:1.5px solid #dce4d9;border-radius:6px;flex:none;padding:0;color:white}.task-check.done{background:var(--teal);border-color:var(--teal)}.task-check .icon{width:15px;height:15px}.task-go{font-size:10px;color:var(--teal);padding:8px 10px;border:1px solid #dde7d9;border-radius:7px}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.tool-card{background:white;border:1px solid var(--line);border-radius:13px;text-align:left;padding:18px 16px;transition:transform .2s,border-color .2s}.tool-card:hover{transform:translateY(-3px);border-color:#8cbc9c}.tool-card>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#849c81}.tool-card .tool-ico{height:34px;width:34px;border-radius:9px;background:#eef6e9;display:grid;place-items:center;color:var(--teal)}.tool-card:nth-child(2) .tool-ico{background:#f9f0e1;color:#b28a49}.tool-card:nth-child(3) .tool-ico{background:#efedf8;color:#8a7aae}.tool-card h3{font-size:12px;margin-bottom:7px}.tool-card p{font-size:10px;color:var(--muted);line-height:1.8}.panel{border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;margin-bottom:20px}.panel h2{font-size:14px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.panel-head .icon{width:16px;color:#99a18f}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:20px}.day{text-align:center;border-radius:9px;padding:7px 2px;color:var(--muted);font-size:9px}.day b{display:block;font-size:12px;font-weight:500;margin-top:4px}.day.selected{background:var(--teal);color:white}.day.today:not(.selected){background:#f0f5e9}.agenda-heading{font-size:10px;color:var(--muted);margin:16px 0}.agenda-item{display:flex;gap:12px;margin:15px 0;position:relative}.agenda-item time{font-size:10px;color:var(--muted);padding-top:3px}.agenda-item div{border-left:2px solid #cfe1c4;padding-left:13px}.agenda-item:nth-child(4) div{border-color:#eac9a5}.agenda-item:nth-child(5) div{border-color:#c6c5e5}.agenda-item strong{font-size:11px}.agenda-item p{font-size:9px;color:var(--muted);margin-top:3px}.panel-link{width:100%;text-align:center;border-top:1px solid var(--line);padding-top:15px;margin-top:10px;color:var(--teal);font-size:10px}.progress-ring{display:flex;justify-content:center;position:relative;height:140px;margin:5px 0 14px}.progress-ring svg{width:140px;transform:rotate(-90deg)}.progress-ring div{position:absolute;top:39px;text-align:center}.progress-ring b{font-size:28px;letter-spacing:-1px;display:block;line-height:1.3}.progress-ring small{font-size:9px;color:var(--muted)}.progress-detail{display:flex;justify-content:space-between;font-size:10px;padding:7px 0;color:var(--muted)}.progress-detail b{color:var(--ink);font-weight:500}.quote{background:#fff7e8;border-color:#f4eddd;display:flex;gap:10px}.quote .icon{color:#bc9553;flex:none}.quote p{font-size:10px;line-height:1.9;color:#947d53}.quote strong{display:block;font-size:11px;margin-bottom:5px;color:#80663c}.bottom-nav{display:none}.notice{background:#f1f5ed;border:1px solid #e0e9d8;color:#6d8060;border-radius:9px;padding:12px 15px;font-size:11px;line-height:1.8}.notice.warn{background:#fff7e7;border-color:#f4e4c4;color:#9b7842}.subtle{color:var(--muted);font-size:11px}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.page-head p{color:var(--muted);font-size:12px;margin-top:6px}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:22px}.tabs{display:flex;gap:6px;padding:5px;background:#eaf0e6;border-radius:10px;width:fit-content;margin:18px 0}.tabs button{padding:8px 17px;border-radius:7px;font-size:11px;color:#798674}.tabs button.active{background:white;color:var(--teal);box-shadow:0 2px 5px #173d3710}.schedule-grid{display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));gap:10px;overflow:auto;padding-bottom:12px}.schedule-day{min-height:250px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 10px}.schedule-day header{font-size:10px;color:var(--muted);margin-bottom:18px}.schedule-day header strong{font-size:16px;color:var(--ink);display:block}.schedule-entry{background:#edf5e8;border-radius:8px;padding:10px;font-size:10px;margin-bottom:9px;text-align:left;width:100%}.schedule-entry b{display:block;margin-top:3px}.schedule-entry span{display:block;color:#7d9173;font-size:9px;margin-top:4px}.schedule-entry.literature{background:#fcf0e5}.schedule-entry.science{background:#efedf8}.empty{text-align:center;padding:35px 20px;color:var(--muted);font-size:12px}.empty .icon{width:38px;height:38px;margin-bottom:15px;color:#9fb29b}.empty h3{color:var(--ink);font-size:15px;margin-bottom:8px}.empty p{margin-bottom:15px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.result-grid .panel{margin:0}.big-number{font-size:34px;letter-spacing:-1px;margin:12px 0}.bar{height:7px;background:#edf2e8;border-radius:9px;overflow:hidden;margin:9px 0 17px}.bar i{display:block;height:100%;background:#73a883;border-radius:9px}.history-row{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.history-row div{flex:1}.history-row p{font-size:10px;color:var(--muted);margin-top:4px}.pill{display:inline-flex;gap:6px;align-items:center;font-size:10px;background:#e8f1e3;color:var(--teal);border-radius:20px;padding:5px 10px}.chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.plan-step{font-size:11px;display:flex;gap:11px;padding:16px 0;align-items:center;color:var(--muted);border-bottom:1px solid var(--line)}.plan-step b{width:25px;height:25px;border-radius:50%;background:#edf3e8;display:grid;place-items:center;color:#7a9470;font-size:10px}.plan-step.active{color:var(--teal);font-weight:600}.plan-step.active b{background:var(--teal);color:white}.chat-window{border:1px solid var(--line);border-radius:16px;background:white;min-height:610px;display:flex;flex-direction:column;overflow:hidden}.chat-header{display:flex;align-items:center;gap:12px;padding:19px 22px;border-bottom:1px solid var(--line)}.chat-header img{width:38px}.chat-header p{font-size:10px;color:var(--muted)}.chat-header>div{flex:1}.chat-stage{padding:25px;flex:1;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:18px}.ai-message{background:#f0f6ec;border-radius:0 14px 14px 14px;padding:20px;line-height:1.9;font-size:13px;max-width:640px}.ai-message .eyebrow{margin-bottom:10px}.ai-message h2{font-size:18px;line-height:1.7}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 4px}.choice{border:1px solid #d7e4d1;border-radius:9px;text-align:left;padding:13px;background:white;font-size:12px;display:flex;gap:10px;align-items:center}.choice:hover{border-color:var(--teal);background:#f7fbf3}.choice span{background:#edf3e7;color:#7f9774;width:25px;height:25px;border-radius:7px;display:grid;place-items:center;font-size:10px;flex:none}.feedback{background:#f5f8f0;border-left:3px solid var(--teal);padding:20px;border-radius:8px;font-size:12px}.feedback.wrong{border-color:#d7a356;background:#fff8ec}.feedback p{margin:10px 0;line-height:1.9}.answer-preview{font-size:12px;padding:12px 16px;border-radius:9px;background:#edf4e9;align-self:flex-end;max-width:85%}.chat-footer{border-top:1px solid var(--line);padding:16px 23px}.chat-footer p{font-size:9px;color:var(--muted);text-align:center;margin-top:9px}.chat-tools{display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-tools>div{display:flex;gap:7px}.chat-tools button{font-size:11px}.chat-tools .icon{width:17px}.answer-form{display:flex;gap:10px;margin-top:15px}.answer-form input{flex:1;min-width:0}.session-summary{text-align:center;padding:20px}.session-summary h2{font-size:23px;margin:12px 0}.session-summary p{font-size:12px;color:var(--muted);margin-bottom:20px}.session-summary .stat{margin:12px 0;text-align:left}.profile-card{display:flex;gap:20px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.profile-card .avatar{width:65px;height:65px;font-size:24px}.profile-card h2{font-size:20px}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.role-grid button{border:1px solid var(--line);border-radius:10px;padding:15px 7px;background:white;font-size:11px}.role-grid button.active{border-color:var(--teal);background:#edf5e8;color:var(--teal)}.role-grid .icon{display:block;margin:0 auto 8px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.full{width:100%}.teacher-class{padding:24px;background:#f0f6eb;border:1px solid #e0ebd9;border-radius:14px;margin:17px 0}.teacher-class h3{font-size:20px}.teacher-class p{font-size:11px;color:var(--muted);margin:8px 0}table{width:100%;border-collapse:collapse;font-size:11px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:14px 9px}th{font-weight:500;color:var(--muted)}.table-wrap{overflow:auto}dialog{border:0;width:calc(100% - 32px);max-width:470px;border-radius:18px;padding:27px;color:var(--ink);box-shadow:0 20px 100px #10352e30;max-height:90dvh;overflow:auto}dialog::backdrop{background:#193f3865;backdrop-filter:blur(3px)}.modal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-title h2{font-size:19px}.close{padding:6px;border-radius:50%;background:#f2f5ee}.form-error{color:#b15443;font-size:11px;margin-top:10px}.photo-preview{width:100%;max-height:250px;object-fit:contain;border-radius:10px;margin:15px 0}.file-zone{border:1px dashed #b9cdb0;background:#f6f9f1;border-radius:12px;padding:25px;text-align:center;margin:18px 0;font-size:12px;color:var(--muted)}.file-zone input{margin-top:14px;font-size:10px}.transcript{padding:20px 0;border-bottom:1px solid var(--line);font-size:12px}.transcript p{margin:8px 0}.transcript .subtle{line-height:1.9}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:#183f36;color:white;border-radius:10px;padding:12px 20px;font-size:12px;box-shadow:0 8px 35px #103c3330;max-width:90%;display:none}.welcome{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr;background:#fff}.welcome-art{background:#e1efdb;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:55px;position:relative;overflow:hidden}.welcome-art>svg{width:300px;height:300px;position:relative}.welcome-art h1{text-align:center;color:var(--dark);font-size:36px}.welcome-art p{color:#6c8667;margin-top:15px;text-align:center}.welcome-form{padding:60px 45px;display:flex;flex-direction:column;justify-content:center;max-width:480px;width:100%;margin:auto}.welcome-form .brand{margin-bottom:45px}.welcome-form h2{font-size:25px;margin-bottom:10px}.welcome-form>p{font-size:12px;color:var(--muted);margin-bottom:20px}.password-field{display:flex;gap:7px}.password-field input{flex:1;min-width:0}.password-field button{font-size:11px;padding:10px;border:1px solid var(--line);border-radius:8px}.auth-foot{text-align:center;font-size:11px;color:var(--muted);margin-top:18px}.welcome-form .notice{margin-top:20px}.mobile-brand{display:none}.footer-note{font-size:9px;color:#a0aa9b;text-align:center;margin-top:25px}.chart{height:120px;display:flex;align-items:flex-end;gap:18px;margin:22px 0}.chart div{flex:1;height:100%;display:flex;justify-content:flex-end;flex-direction:column;align-items:center;gap:7px;font-size:9px;color:var(--muted)}.chart i{width:70%;background:#bdD6b3;border-radius:5px 5px 0 0;min-height:2px}
@media(min-width:1550px){.dashboard{grid-template-columns:minmax(0,1fr) 330px}.hero-art{right:25px;width:260px;height:260px}.content{padding-top:40px}.hero{min-height:265px}.hero-copy{width:60%}}
@media(max-width:1200px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding:30px 15px 20px}.content{padding:26px}.topbar{padding:0 26px}.dashboard{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.hero{padding:25px 23px}.hero h2{font-size:24px}.hero-art{right:-40px;width:220px}.hero-copy{width:70%}.hero-time{display:block;margin:8px 0 0}.stat{padding:14px 10px;gap:8px}.stat-icon{width:32px;height:32px}.stat strong{font-size:18px}.task-row{gap:9px}.task-list{padding:0 13px}.tool-card{padding:15px 11px}.panel{padding:18px}.greeting .date{display:none}}
@media(max-width:1000px){.dashboard{grid-template-columns:1fr}.right-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.right-col .quote{grid-column:1/-1}.right-col .panel{margin:0}.hero-art{right:15px;width:250px}.hero-copy{width:65%}.hero-time{display:inline-block;margin-left:10px}.chat-layout{grid-template-columns:1fr}.chat-plan{display:none}.two-col{grid-template-columns:1fr}.tools-grid{gap:12px}}
@media(max-width:700px){body{font-size:13px}.shell{display:block}.sidebar{display:none}.main{grid-column:auto}.topbar{height:72px;padding:0 20px}.crumb{display:none}.mobile-brand{display:flex;font-size:16px}.brand img{width:33px}.brand span small{font-size:7px}.top-actions{gap:9px}.top-actions>.avatar{display:none}.demo-tag{font-size:8px;padding:4px 6px}.content{padding:22px 18px 105px}.greeting{margin-bottom:20px}.greeting h1{font-size:24px}.greeting p{font-size:10px}.hero{min-height:246px;padding:24px 21px;border-radius:16px}.hero h2{font-size:23px}.hero-copy{width:68%}.hero p{font-size:10px;width:95%}.hero-art{width:190px;height:190px;right:-33px;bottom:4px}.hero-time{display:block;margin:10px 0 0;font-size:9px}.hero .primary{padding:11px 14px;font-size:10px}.hero-orbit{right:-150px}.eyebrow{font-size:8px}.stats{gap:8px;margin:15px 0 22px}.stat{display:block;padding:13px 11px}.stat-icon{width:29px;height:29px;border-radius:8px;margin-bottom:9px}.stat-icon .icon{width:17px}.stat strong{font-size:21px}.stat p{font-size:8px}.stat strong small{font-size:10px}.section-title h2{font-size:15px}.task-info h3{font-size:10px}.task-info p{font-size:9px;gap:6px;flex-wrap:wrap}.task-list{padding:0 12px}.task-row{padding:15px 0}.subject-icon{width:34px;height:37px;border-radius:8px;font-size:16px}.task-go{font-size:9px;padding:6px}.task-check{width:16px;height:16px;border-radius:5px}.task-info .badge{font-size:8px}.tools-grid{gap:8px}.tool-card{padding:14px 10px}.tool-card h3{font-size:10px}.tool-card p{font-size:9px}.tool-card>div{margin-bottom:12px}.tool-card .tool-ico{width:29px;height:29px}.tool-ico .icon{width:17px}.right-col{display:block;margin-top:22px}.right-col .panel{margin-bottom:16px}.right-col .progress-panel{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:9px 8px max(11px,env(safe-area-inset-bottom));justify-content:space-around;z-index:30}.bottom-nav button{font-size:8px;color:#8a988b;display:flex;flex-direction:column;align-items:center;gap:5px;padding:3px 5px;min-width:48px}.bottom-nav .icon{width:20px;height:20px}.bottom-nav .active{color:var(--teal);font-weight:600}.bottom-nav .ai-nav{color:var(--teal)}.bottom-nav .ai-nav .icon{background:var(--teal);color:white;border-radius:12px;width:34px;height:34px;padding:7px;margin-top:-17px;box-shadow:0 3px 10px #137c7030}.page-head{gap:13px}.page-head h1{font-size:24px}.page-head p{font-size:10px}.page-head .primary{font-size:10px;padding:10px 12px}.chat-window{min-height:570px}.chat-stage{padding:17px}.chat-header{padding:16px}.chat-header .secondary{padding:8px;font-size:10px}.ai-message{padding:17px;font-size:12px}.ai-message h2{font-size:16px}.choices{grid-template-columns:1fr;gap:8px}.choice{font-size:11px;padding:10px}.chat-footer{padding:13px}.chat-tools button{font-size:9px;padding:5px}.chat-tools .icon{width:16px}.result-grid{gap:8px}.result-grid .panel{padding:13px 10px}.result-grid h2{font-size:10px}.result-grid .big-number{font-size:27px}.result-grid .subtle{font-size:8px}.welcome{display:block}.welcome-art{padding:25px 20px}.welcome-art>svg{width:150px;height:150px}.welcome-art h1{font-size:24px}.welcome-art p{font-size:11px;margin-top:8px}.welcome-form{padding:28px 24px}.welcome-form .brand{margin-bottom:25px}.role-grid button{font-size:10px}.tabs button{padding:8px 11px;font-size:10px}.notice{font-size:10px}.feedback{padding:16px}.feedback p{font-size:11px}#toast{bottom:95px;font-size:11px}.answer-form{flex-wrap:wrap}.answer-form textarea{min-height:90px}.answer-form .primary{margin-left:auto}.profile-card .avatar{width:50px;height:50px;font-size:20px}.profile-card h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Class timetable: readable weekly cells on mobile, with scrolling confined to the grid. */
#modal:has(.class-week-editor){width:min(1100px,calc(100vw - 24px));max-width:1100px}
.class-week-editor{min-width:0}.class-week-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.class-week-controls b{font-size:18px;text-align:center}.class-week-controls button{min-width:44px;min-height:44px;font-size:26px}.class-week-hint{font-size:15px;color:#49665b;line-height:1.5;margin:10px 0 16px}.class-week-scroll{overflow:auto;max-width:100%;border:1px solid #bfd4cc;border-radius:14px;overscroll-behavior-x:contain}.class-week-table{width:100%;min-width:990px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:17px}.class-week-table th,.class-week-table td{border-right:1px solid #d5e2dc;border-bottom:1px solid #d5e2dc;padding:7px;vertical-align:top}.class-week-table th{background:#e3f1eb;color:#174c40;text-align:center;font-weight:700}.class-week-table th:first-child{width:76px;position:sticky;left:0;z-index:1}.class-week-table small{display:block;font-size:14px;line-height:1.5;font-weight:500;margin-top:4px}.class-week-table td{background:white}.class-week-slot,.class-week-add{width:100%;min-height:90px;border-radius:10px;padding:10px;text-align:left;white-space:normal;overflow-wrap:anywhere;display:block}.class-week-slot{background:#def1e8;color:#174c40;border:1px solid #9fc6b5}.class-week-slot b{font-size:17px}.class-week-slot.is-draft{background:#fff4d9;border-color:#e3c47f}.class-week-add{background:#f6faf8;color:#17786a;border:1px dashed #b5d0c5;text-align:center;font-size:22px}.class-week-add span{display:block;font-size:14px}.class-week-slot:focus-visible,.class-week-add:focus-visible{outline:3px solid #137c70;outline-offset:2px}

/* AI Credit: compact balances and readable transaction history. */
.credit-balance{padding:16px;margin:12px 0;background:#eaf4ee;border:1px solid #ceded4;border-radius:16px;display:grid;gap:7px;color:#204d40}.credit-balance strong{font-size:26px}.credit-balance small{font-size:15px}.credit-balance p{margin:0;font-size:14px}.credit-history article{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #dce5df}.credit-history small,.credit-reconcile small{display:block;font-size:13px;color:#506b60;margin-top:5px}.credit-history article>span{text-align:right;white-space:nowrap}.credit-reconcile{padding:16px 0;border-bottom:1px solid #dce5df}#creditProfileEntry{margin:24px 0}

.profile-group-card #creditProfileEntry{margin:0}

/* Teacher workspace: clear work priorities, compact controls and readable forms. */
.teacher-library-filters{margin-bottom:20px;padding:18px;background:#fff;border:1px solid #d7e3dc;border-radius:18px}.teacher-library-filters label{display:block;font-weight:600;color:#36594d}.teacher-library-filters input,.teacher-library-filters select{margin:6px 0 10px;width:100%;min-height:44px;font-size:16px}.teacher-preparation{padding:18px;margin:16px 0 24px;border:1px solid #d1e4d6;border-radius:18px;background:#f0f7ef}.teacher-preparation h2{font-size:19px;margin:0 0 8px}.teacher-preparation p{margin:6px 0 12px;color:#496554}.teacher-task{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;min-height:56px;padding:10px 0;background:none;border:0;border-top:1px solid #d6e5d9;color:#176b55}.teacher-task small{display:block;color:#526e61;margin-top:4px}.teacher-task>span:last-child{font-size:14px;white-space:nowrap}.teacher-day-status{color:#587060;font-size:14px;margin:8px 0}.teacher-day-status.current{font-weight:700;color:#096e58}.teacher-question-editor,.teacher-question-preview{margin:20px 0}.teacher-question-editor summary,.teacher-question-preview summary{cursor:pointer;font-weight:700;min-height:44px;padding:10px 0}.teacher-question-row{padding:16px;border:1px solid #d5e2d9;border-radius:14px;margin:12px 0;background:#f8fbf7}.teacher-question-row header{display:flex;align-items:center;justify-content:space-between}.teacher-question-row label{display:block}.teacher-question-row textarea{min-height:84px}.teacher-question-row [hidden]{display:none}.teacher-question-row button{min-height:44px}.teacher-question-row input,.teacher-question-row select,.teacher-question-row textarea{font-size:16px;width:100%}.teacher-question-preview .plan-section p{white-space:pre-wrap}.teacher-library-filters .plan-form-grid{gap:12px;margin-top:4px}body[data-role="teacher"] .form-actions{flex-wrap:wrap}

.teacher-class-card[hidden]{display:none}.teacher-class-search{display:block;font-weight:600;margin:0 0 18px}.teacher-class-search input{display:block;width:100%;margin-top:6px;min-height:44px;font-size:16px}

.student-family-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.student-family-heading h2{margin:0}.student-family-heading button{min-height:44px;font-size:15px}.student-family-member{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid #e1e9e2}.student-family-member:last-child{border:0}.student-family-member small{display:block;color:#557064;margin-top:5px}.student-family-actions{display:flex;flex-direction:column;align-items:flex-end}.student-family-actions button{min-height:44px;font-size:14px}.student-family-empty{padding:18px;margin:0;color:#587164}.student-family form{margin-top:14px;padding:18px;background:white;border:1px solid #d5e4d9;border-radius:18px}.student-family form[hidden]{display:none}.student-family input{font-size:16px;min-height:44px;width:100%}.profile-identity-card .teacher-avatar-wrap{flex-shrink:0}.profile-identity-card .teacher-avatar-camera{width:36px;height:36px;min-height:36px}.student-family-heading{margin-bottom:14px}@media(max-width:420px){.student-family-member{padding:14px;gap:8px}.student-family-heading button{padding:6px 0;white-space:nowrap}.student-family-heading h2{font-size:21px}}
