:root{--bg:#f5f6f2;--ink:#182e27;--muted:#6e7e75;--line:#e2e8df;--green:#226647;--mint:#b7d9a9;--white:#fff;--radius:18px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,.button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{border-color:var(--green);background:#f0f5ec}button:disabled{opacity:.5;cursor:default}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#174f35;color:white}.quiet{border:0;background:none;padding-left:0;color:var(--muted)}input,textarea,select{border:1px solid var(--line);border-radius:8px;background:#fbfcf9;padding:11px 12px;color:var(--ink);width:100%}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #7eac6b;outline-offset:2px}label{display:block;margin:15px 0;color:#46604d}label input,label textarea,label select{display:block;margin-top:7px}textarea{resize:vertical}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1px;font-weight:650;margin-bottom:12px}h2{font-size:18px;font-weight:600}h3{font-size:14px}p{line-height:1.8}em{font-style:normal;font-weight:400}.mint{color:#8fb879}.muted,small,.footer-note{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--green);display:block;margin-bottom:16px}.logo-dot{font-size:10px;color:#8db87b;vertical-align:top;margin:4px}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#fbfcf9;border-right:1px solid var(--line);padding:38px 25px;display:flex;flex-direction:column}.brand{font-size:22px;letter-spacing:-.7px;color:var(--ink);text-decoration:none;font-weight:750;white-space:nowrap}.side-caption{font-size:12px;color:var(--muted);margin:14px 0 40px}.sidebar nav{display:grid;gap:8px}.nav{border:0;background:transparent;text-align:left;display:flex;gap:15px;padding:14px}.nav.active{background:#e9f0e3;color:var(--green);font-weight:650}.side-bottom{margin-top:auto;display:grid;gap:18px}.side-note{border-top:1px solid var(--line);padding-top:25px;line-height:2;font-size:13px}.workspace{margin-left:230px;padding:0 42px 35px;max-width:1800px}.topbar{height:88px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:38px;font-size:12px;color:var(--muted)}.live{border:1px solid var(--line);padding:7px 12px;border-radius:99px}.live::before{content:'●';color:#68a065;margin-right:7px}.live.offline::before{color:#c07449}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.page-heading p{margin-bottom:0;color:var(--muted)}.page-heading button{white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.stat>span{font-size:13px;color:var(--muted)}.stat strong{font-size:40px;font-weight:550;display:block;margin:16px 0 9px;letter-spacing:-1px}.stat small{font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;min-width:0}.panel-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:24px}.panel-title h2{margin:0}.panel-title>span{font-size:11px;color:var(--muted)}.focus-panel{background:#eaf0df}.focus-panel h2{font-size:20px}.focus-panel p{font-size:12px}.goal-ring{border-left:4px solid #8fb57a;padding-left:18px;margin:28px 0}.goal-ring strong{display:block;font-size:48px;font-weight:500;letter-spacing:-2px}.goal-ring span{font-size:12px;color:var(--muted)}.exam{font-size:12px;color:#55764d;border-top:1px solid #cddcc0;display:block;padding-top:17px}.trend{height:205px;display:flex;gap:14px;align-items:flex-end;padding:0 8px 12px}.trend-column{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:10px}.trend-value{font-size:11px;color:var(--muted)}.trend-bar{width:65%;min-height:3px;background:#b8cda5;border-radius:5px 5px 0 0}.trend-column:last-child .trend-bar{background:#29684a}.trend-day{font-size:10px;color:var(--muted)}.trend-panel>.muted{font-size:11px;margin:10px 0 0}.topic-row,.recent-row{padding:13px 0;border-bottom:1px solid #edf0e9;display:flex;gap:12px;align-items:center}.topic-row:last-child,.recent-row:last-child{border-bottom:0}.topic-label{flex:1}.topic-label strong{font-size:13px;display:block;font-weight:500}.topic-label small{font-size:11px}.meter{width:80px;height:5px;background:#eaf0e4;border-radius:9px;overflow:hidden}.meter-fill{height:100%;background:#7fa16a}.rate{font-size:13px;min-width:35px;text-align:right}.recent-dot{width:8px;height:8px;flex-shrink:0;background:#80a36c;border-radius:50%}.recent-dot.weak{background:#cdab72}.recent-text{font-size:12px;min-width:0;flex:1}.recent-text strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;max-width:400px}.recent-text small{font-size:10px}.recent-row time{font-size:10px;color:var(--muted);white-space:nowrap}.empty{padding:35px 15px;color:var(--muted);text-align:center;font-size:13px;line-height:1.9}.footer-note{font-size:11px;text-align:center;margin:26px 0 0;line-height:1.8}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px}.toolbar>input{max-width:420px}.toolbar .check{display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:12px}.check input{width:auto;margin:0}.actions{display:flex;gap:10px}.card-list{display:grid;gap:14px}.item-card{background:white;border:1px solid var(--line);border-radius:14px;padding:23px}.item-card h2{font-size:17px;line-height:1.7;font-weight:550;word-break:break-word}.badge{font-size:11px;background:#edf2e5;color:#4e7344;padding:5px 9px;border-radius:5px;display:inline-block;margin-bottom:14px}.item-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:11px}.item-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.item-actions button{font-size:12px;padding:8px 12px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.pager{display:flex;justify-content:center;gap:20px;align-items:center;margin:25px 0;font-size:12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .panel p{font-size:13px}.settings-grid form{max-width:360px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}dialog{border:1px solid var(--line);border-radius:20px;max-width:650px;width:calc(100vw - 32px);max-height:90vh;padding:30px;box-shadow:0 30px 100px #132b2233;color:var(--ink)}dialog::backdrop{background:#172b2366;backdrop-filter:blur(3px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:15px}.dialog-title h2{margin:0}.dialog-title button{border:0;font-size:23px;padding:0 8px}.dialog-title .badge{margin:0}dialog p{font-size:13px}dialog pre{background:#f1f5ec;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}dialog form>button{width:100%;margin-top:15px}.grades{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.grades small{display:block;margin-top:7px;font-size:10px}.grades button:nth-child(3),.grades button:nth-child(4){background:#ebf3e4}.history-item{border-bottom:1px solid var(--line);padding:15px 0}#notice{position:sticky;top:12px;z-index:3;border:1px solid #b4cc9f;background:#edf5e5;padding:14px 20px;border-radius:12px;margin-bottom:20px;box-shadow:0 5px 20px #203c1810}#notice.error{border-color:#d3ae9d;background:#fff1e8;color:#8c3b23}.error{color:#a64631}.login-page{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 20% 0%,#e3edda,transparent 70%),var(--bg)}.login-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:45px;max-width:460px;width:100%;box-shadow:0 20px 80px #35501e0a}.login-card h1{font-size:34px}.login-card p{font-size:13px;color:var(--muted)}.login-card button{width:100%;margin:10px 0 30px}.login-card small{font-size:11px}[hidden]{display:none!important}@media(min-width:1600px){.workspace{padding-left:65px;padding-right:65px}}@media(max-width:1150px){.sidebar{width:195px;padding:30px 18px}.brand{font-size:20px}.workspace{margin-left:195px;padding-left:25px;padding-right:25px}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:33px}.dashboard-grid{grid-template-columns:1.25fr 1fr}.page-heading h1{font-size:29px}.panel{padding:20px}}@media(max-width:850px){.sidebar{position:relative;width:100%;padding:20px 20px 0}.sidebar nav{display:flex;gap:3px;overflow:auto}.nav{padding:13px 10px;white-space:nowrap;gap:6px;font-size:12px}.side-caption,.side-bottom{display:none}.brand{margin-bottom:15px}.workspace{margin-left:0;padding:0 18px 30px}.topbar{height:60px;margin-bottom:26px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:25px}.page-heading h1{font-size:28px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar>input{max-width:none;flex-basis:100%}.stat small{font-size:10px}.panel-title>span{font-size:10px}.login-card{padding:30px}.grades{grid-template-columns:repeat(2,1fr)}dialog{padding:22px}.recent-text strong{max-width:260px}}
