:root{--forest:#173f35;--forest-light:#255b4c;--mint:#e6eee7;--paper:#f4f3ed;--white:#fff;--ink:#20362e;--muted:#758178;--line:#dfe4dc;--orange:#ba713d;--orange-soft:#fcf1e5;--red:#b14040;--red-soft:#fbebeb;--blue:#426785;--shadow:0 12px 38px #173f350d;--radius:14px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--forest-light)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.4;letter-spacing:-.7px;margin-bottom:7px}h2{font-size:18px;letter-spacing:-.2px;margin-bottom:5px}h3{font-size:15px;margin-bottom:8px}small{font-size:12px}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace;word-break:break-all;font-size:12px}.initial-loader{min-height:100vh;display:flex;gap:18px;align-items:center;justify-content:center}.brand-mark{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;background:#d8e5b0;color:var(--forest);font-size:21px;font-weight:700;border-radius:12px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:650;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:400;opacity:.6}.shell{display:grid;grid-template-columns:234px 1fr;min-height:100vh}.sidebar{background:var(--forest);color:#fff;position:fixed;inset:0 auto 0 0;width:234px;display:flex;flex-direction:column;padding:30px 19px 18px;z-index:30}.sidebar .brand{padding:0 12px 27px}.nav-label{font-size:10px;letter-spacing:2px;opacity:.4;padding:12px 15px 7px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:12px;color:#d3dfd5;background:none;border:0;padding:12px 16px;text-align:left;border-radius:9px;font-size:13px}.nav button:hover{background:#ffffff0d}.nav button.active{background:#d9e7b7;color:var(--forest);font-weight:650}.nav svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;flex:none}.nav-count{margin-left:auto;font-size:11px;padding:0 6px;border-radius:4px;background:#ffffff18}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1a;padding:18px 10px 0;font-size:12px}.environment{display:flex;gap:7px;align-items:center;margin-bottom:12px;color:#bfd1c2}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b5cd91}.sidebar-footer{font-size:10px;color:#94ac9e;line-height:1.8}.workspace{grid-column:2;min-width:0}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 38px;border-bottom:1px solid var(--line);background:#f8f8f3}.breadcrumbs{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:11px}.breadcrumbs strong{color:var(--ink);font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px}.user-chip{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e5eadd;color:var(--forest);font-size:13px;font-weight:700}.user-chip small{display:block;font-size:10px;line-height:1.5;color:var(--muted)}.content{max-width:1536px;padding:32px 38px 44px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page-heading p{margin:0;font-size:12px;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2.4px;font-size:10px;font-weight:600;color:var(--muted);margin-bottom:9px}.heading-actions,.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:white;color:var(--ink);padding:9px 15px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:12px;line-height:1.55;white-space:nowrap}.btn:hover{border-color:#a6b5a5;background:#f9faf6}.btn.primary{background:var(--forest);border-color:var(--forest);color:white}.btn.primary:hover{background:var(--forest-light)}.btn.danger{color:var(--red);border-color:#ebc3c3}.btn.small{padding:5px 9px;font-size:11px}.btn.ghost{background:transparent;border-color:transparent;padding:5px 7px}.btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.icon-button{border:none;background:none;color:inherit;display:grid;place-items:center;padding:7px;border-radius:5px}.icon-button:hover{background:#00000006}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}.mobile-menu{display:none}.badge{display:inline-block;font-size:10px;padding:3px 8px;border-radius:5px;background:#edf0e9;color:#637359;line-height:1.6;white-space:nowrap}.badge.green{background:#e5efe6;color:#386045}.badge.orange{background:var(--orange-soft);color:#a16330}.badge.red{background:var(--red-soft);color:var(--red)}.badge.blue{background:#eaf0f6;color:#4a6b86}.badge.gray{background:#f0f1ee;color:#788176}.pill{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);border-radius:99px;padding:4px 10px;font-size:11px;color:var(--muted)}.notice{border:1px solid #e9d7b9;background:#fffaf0;padding:12px 15px;border-radius:8px;font-size:12px;color:#8b692d;line-height:1.9;margin-bottom:20px}.notice.info{border-color:#d2e0d5;background:#eef4ed;color:#53684f}.notice.error{border-color:#e9c7c7;background:#fff3f3;color:var(--red)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;background:white;position:relative;min-height:140px}.stat:first-child{background:var(--forest);border-color:var(--forest);color:white}.stat-label{font-size:11px;color:var(--muted);margin-bottom:16px}.stat:first-child .stat-label,.stat:first-child .stat-foot{color:#bed0c0}.stat-number{font-size:35px;font-weight:550;line-height:1;letter-spacing:-1.5px}.stat-foot{font-size:10px;margin-top:12px;color:var(--muted)}.stat-symbol{position:absolute;top:18px;right:18px;opacity:.35}.stat-symbol svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.4}.grid-two{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.grid-equal{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:22px;box-shadow:0 2px 4px #173f3501}.card-head{padding:21px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eef0e9}.card-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.card-body{padding:22px 23px}.card-footer{border-top:1px solid #eef0e9;padding:12px 23px;font-size:11px;color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{padding:12px 19px;font-weight:500;color:var(--muted);background:#fafbf7;border-bottom:1px solid var(--line);white-space:nowrap;font-size:11px}td{padding:15px 19px;border-bottom:1px solid #eff1eb;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfdf9}.table-title{font-weight:550;color:var(--ink);margin-bottom:3px}.table-sub{font-size:10px;color:var(--muted)}.empty{text-align:center;padding:43px 20px;color:var(--muted);font-size:12px}.empty-symbol{width:40px;height:40px;background:#f1f4ec;border-radius:50%;display:grid;place-items:center;margin:0 auto 11px;color:#81917b}.empty-symbol svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}.list-item{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid #eef0e9;align-items:flex-start}.list-item:last-child{border-bottom:0}.list-item-icon{width:32px;height:32px;display:grid;place-items:center;background:#f0f4e9;border-radius:8px;flex-shrink:0}.list-item-icon svg{width:16px;height:16px;fill:none;stroke:var(--forest);stroke-width:1.6}.list-item p{font-size:11px;color:var(--muted);margin:4px 0 0}.list-item strong{font-size:12px;font-weight:550}.list-item-content{flex:1;min-width:0}.small-link{font-size:11px;border:0;background:transparent;color:var(--forest-light);cursor:pointer;padding:0;text-align:left}.progress{height:5px;border-radius:9px;overflow:hidden;background:#eef1e9}.progress>span{display:block;background:#8faa80;height:100%;border-radius:9px}.section-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:22px;padding-bottom:13px;border-bottom:1px solid var(--line)}.section-tabs button{border:none;background:transparent;color:var(--muted);padding:7px 13px;border-radius:6px;font-size:12px}.section-tabs button.active{background:#e3eadc;color:var(--forest);font-weight:600}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.filters input{max-width:320px}.filters label{display:flex;align-items:center;gap:7px;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field>label{font-size:12px;font-weight:550}.field-help{font-size:10px;color:var(--muted);line-height:1.6}input,select,textarea{width:100%;min-width:0;padding:9px 11px;background:white;color:var(--ink);border:1px solid #d8dfd4;border-radius:6px;font-size:12px}input:focus,textarea:focus,select:focus{outline:2px solid #aac3a2;outline-offset:1px;border-color:#85a47c}textarea{min-height:106px;resize:vertical;line-height:1.8}textarea.code{font-family:Consolas,monospace;font-size:11px;min-height:210px}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--forest)}.checkbox-label{display:flex;gap:8px;align-items:flex-start;font-size:12px}.modal-overlay{position:fixed;inset:0;background:#0f261f66;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:100}.modal{background:var(--paper);width:min(700px,100%);max-height:90vh;border-radius:15px;box-shadow:0 22px 100px #0003;overflow:hidden;display:flex;flex-direction:column}.modal.wide{width:min(1000px,100%)}.modal-head{padding:23px 26px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fafbf7}.modal-head h2{margin:0}.modal-body{padding:24px 26px;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}.modal-error{color:var(--red);font-size:12px;margin-top:12px}.modal .notice{margin-bottom:18px}.source-text{white-space:pre-wrap;font-size:12px;line-height:1.9;word-break:break-word;max-height:350px;overflow:auto;background:#f8f9f5;padding:14px;border:1px solid #e8ede2;border-radius:7px}.source-header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.source-page{font-size:12px;font-weight:600}.source-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:14px}.source-meta{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}.source-heading{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.conflict{padding:12px;background:var(--orange-soft);font-size:11px;line-height:1.9;border-radius:7px;margin-top:12px}.conflict.resolved{background:#eef4e9}.toolbar{display:flex;gap:9px;justify-content:space-between;align-items:center;margin-bottom:17px;flex-wrap:wrap}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.course-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;min-height:219px}.course-icon{width:39px;height:44px;border-radius:6px;background:#edf2e4;display:grid;place-items:center;color:#63805a;margin-bottom:19px}.course-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}.course-card h3{font-size:15px;margin-bottom:8px}.course-card p{font-size:11px;color:var(--muted);margin-bottom:18px}.course-card .actions{margin-top:auto;padding-top:14px;border-top:1px solid #eef0e9}.number-step{background:#edf2e4;color:var(--forest);font-size:11px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.kpi-row{display:flex;gap:20px;flex-wrap:wrap}.kpi-row>div{min-width:110px}.kpi-row strong{display:block;font-size:24px;font-weight:500}.kpi-row small{color:var(--muted);font-size:10px}.toast-region{position:fixed;right:24px;bottom:24px;z-index:200;display:flex;flex-direction:column;gap:8px;max-width:min(430px,calc(100vw - 40px))}.toast{background:var(--forest);color:white;padding:13px 18px;border-radius:9px;box-shadow:0 8px 35px #0002;font-size:12px;animation:toast-in .2s ease}.toast.error{background:#90423d}.toast.warning{background:#916e35}@keyframes toast-in{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-aside{background:var(--forest);color:white;padding:58px 10%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;right:-100px;bottom:-150px;width:470px;height:470px;border:1px solid #cfdec126;border-radius:50%;box-shadow:0 0 0 70px #cfdec108,0 0 0 140px #cfdec108}.auth-aside .brand{margin-bottom:100px}.auth-aside h1{font-size:40px;line-height:1.6;font-weight:500;letter-spacing:1px;position:relative;z-index:1}.auth-aside p{color:#b6cbb8;font-size:13px;line-height:2.2;max-width:350px;position:relative;z-index:1}.auth-aside .auth-foot{margin-top:auto;padding-top:60px;font-size:10px;letter-spacing:1px;color:#8eae97}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{max-width:365px;width:100%}.auth-box h2{font-size:25px;margin-bottom:6px}.auth-box>p{font-size:12px;color:var(--muted);margin-bottom:32px}.auth-box .field{margin-bottom:17px}.auth-box .btn{width:100%;margin-top:9px;padding:12px}.auth-note{font-size:10px;text-align:center;color:var(--muted);line-height:1.8;margin-top:22px}.auth-toggle{margin-top:22px;text-align:center;font-size:11px}.auth-toggle button{border:0;background:none;color:var(--forest-light);cursor:pointer}.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start}.exam-sidebar{position:sticky;top:20px}.timer{font-size:33px;letter-spacing:1px;font-weight:550;font-variant-numeric:tabular-nums}.timer.warning{color:var(--red)}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:16px}.answer-grid button{height:31px;border:1px solid var(--line);background:white;border-radius:5px;font-size:11px;color:var(--muted)}.answer-grid button.answered{background:var(--mint);color:var(--forest);border-color:#c6d8c4}.question-card{scroll-margin-top:16px;background:white;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:18px}.question-top{display:flex;gap:9px;align-items:center;margin-bottom:15px;font-size:11px;color:var(--muted)}.question-stem{font-size:15px;line-height:1.9;margin:0 0 18px;white-space:pre-wrap}.exam-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:8px;padding:12px 15px;margin-top:9px;cursor:pointer;font-size:13px}.exam-option:has(input:checked){background:#f0f5e9;border-color:#94ac7d}.exam-option input{margin-top:5px}.exam-option span{flex:1}.save-status{font-size:11px;color:var(--muted);margin:14px 0}.save-status.error{color:var(--red)}.blank-fields{display:flex;flex-direction:column;gap:11px}.blank-fields label{font-size:11px;color:var(--muted)}.blank-fields input{margin-top:5px}.exam-results{font-size:38px;line-height:1.4}.review-question{border:1px solid var(--line);background:white;border-radius:9px;padding:17px;margin:14px 0}.review-answer{white-space:pre-wrap;background:#f8faf4;padding:12px;font-size:12px;margin-bottom:12px;border-radius:6px;word-break:break-word}.review-score{display:grid;grid-template-columns:100px 1fr;gap:12px}.chart-row{display:grid;grid-template-columns:130px 1fr 45px;align-items:center;gap:12px;margin:13px 0;font-size:11px}.chart-row .progress{height:7px}.pre-wrap{white-space:pre-wrap;word-break:break-word}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.detail-grid dt{font-size:10px;color:var(--muted)}.detail-grid dd{margin:3px 0 0;font-size:12px}.file-drop{border:1px dashed #9db48e;border-radius:8px;background:#f7faf2;padding:25px;text-align:center;margin-bottom:16px}.file-drop input{border:0;background:transparent;margin-top:10px}.upload-progress{margin:16px 0;font-size:12px}.upload-progress .progress{margin-top:9px}.legend{font-size:10px;color:var(--muted);line-height:1.9;margin-top:12px}.checkbox-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:220px;overflow:auto;border:1px solid var(--line);padding:12px;border-radius:7px}.code-block{background:#eef1e8;font:11px/1.8 Consolas,monospace;padding:15px;border-radius:7px;white-space:pre-wrap;word-break:break-word;max-height:300px;overflow:auto}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #ffffff55;border-top-color:currentColor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1450px){.content{padding-top:36px}}@media(max-width:1180px){.shell{grid-template-columns:206px 1fr}.sidebar{width:206px;padding-left:13px;padding-right:13px}.topbar{padding:0 25px}.content{padding:27px 25px}.grid-two{grid-template-columns:1fr}.course-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:18px 17px}.stats{gap:10px}.exam-layout{grid-template-columns:minmax(0,1fr) 220px}.topbar-right{gap:10px}}@media(max-width:850px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:234px}.sidebar.open{transform:translateX(0);box-shadow:15px 0 50px #0003}.workspace{width:100%}.mobile-menu{display:grid}.topbar{height:66px;padding:0 19px}.topbar-right>.pill{display:none}.breadcrumbs>span:first-child{display:none}.content{padding:24px 19px}.page-heading{align-items:flex-start}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr}.stat{min-height:122px}.stat-number{font-size:29px}.grid-equal{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-aside{display:none}.auth-main{min-height:100vh}.exam-layout{grid-template-columns:1fr}.exam-sidebar{position:static;grid-row:1}.exam-sidebar>.card .card-body{padding:16px}.exam-sidebar .answer-grid{display:none}.exam-sidebar .timer{font-size:24px}.exam-sidebar .card{margin-bottom:0}.exam-sidebar .exam-timer-row{display:flex;align-items:center;justify-content:space-between}.exam-sidebar .save-status{margin:6px 0}.exam-sidebar .legend{display:none}.exam-sidebar .btn{width:100%}.question-card{padding:20px}.detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.content{padding:20px 14px}.topbar{padding:0 13px}.breadcrumbs{font-size:11px;gap:6px}.user-chip{gap:6px}.user-chip>div:last-child{display:none}.page-heading{display:block;margin-bottom:20px}.heading-actions{margin-top:13px}.stats{gap:9px}.stat{padding:16px}.stat-label{font-size:10px;margin-bottom:14px}.stat-foot{font-size:9px}.stat-symbol{display:none}.course-grid{grid-template-columns:1fr}.card-head{padding:17px}.card-body{padding:17px}.form-grid,.checkbox-list{grid-template-columns:1fr}.modal-overlay{padding:10px}.modal{max-height:95vh}.modal-head{padding:17px}.modal-body{padding:17px}.section-tabs{gap:1px}.section-tabs button{padding:7px 10px}.review-score{grid-template-columns:80px 1fr}.grid-two{gap:0}.auth-main{padding:27px}.chart-row{grid-template-columns:100px 1fr 35px}.toast-region{bottom:15px;right:15px}}@media print{body{background:white;font-size:11px}.sidebar,.topbar,.heading-actions,.section-tabs,.filters,.btn,.toast-region,#modal-root,.notice.no-print{display:none!important}.shell{display:block}.workspace{display:block}.content{padding:0;max-width:none}.card,.stat{box-shadow:none;break-inside:avoid}.card-head{padding:12px 0}.card-body{padding:12px 0}.stats{grid-template-columns:repeat(4,1fr)}.stat:first-child{background:white;color:var(--ink)}.stat:first-child .stat-label,.stat:first-child .stat-foot{color:var(--muted)}table{font-size:9px}th,td{padding:8px}.table-wrap{overflow:visible}.grid-two{display:block}h1{font-size:22px}.page-heading p{font-size:10px}}
:root{color-scheme:light}.pill svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}.file-drop>svg{width:28px;height:28px;fill:none;stroke:var(--forest);stroke-width:1.5;margin-bottom:8px}.source-images{display:flex;gap:12px;flex-wrap:wrap;margin:13px 0}.source-images button{width:150px;background:#f8faf4;border:1px solid var(--line);padding:7px;border-radius:7px;color:var(--muted);font-size:10px;text-align:left}.source-images img{display:block;width:134px;height:100px;object-fit:contain;margin-bottom:6px}.source-images span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
