:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#183631;background:#f4f7f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:#087f70;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}.loading{padding:4rem;text-align:center;color:#5d7670}.app{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{background:#113f3c;color:#eaf5f1;padding:22px 14px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 21px;border-bottom:1px solid #35615c;font-weight:750;font-size:17px}.brandmark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e6f5eb;color:#11473e}.brand small{display:block;font-weight:400;font-size:11px;color:#a7c9bf;margin-top:2px}.nav-group{margin-top:28px}.nav-label{font-size:11px;letter-spacing:.1em;color:#87aaa3;margin:0 10px 12px}.nav{display:block;width:100%;background:transparent;border:0;color:#cde2dc;text-align:left;padding:11px 13px;border-radius:9px;margin:3px 0}.nav:hover,.nav.active{background:#2a605b;color:#fff}.nav.active{font-weight:700}.nav-foot{margin-top:auto;border-top:1px solid #35615c;padding:16px 10px;color:#93b6ad;font-size:12px;line-height:1.6}.main{min-width:0}.topbar{height:66px;background:#fff;border-bottom:1px solid #dce8e3;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:15px}.topbar strong{font-size:15px}.topbar-right{display:flex;align-items:center;gap:14px}.topbar select{width:auto;min-width:110px;padding:7px 28px 7px 10px}.topbar small{color:#69847b}.page{max-width:1240px;margin:auto;padding:32px 28px 70px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.08em;color:#078475;margin-bottom:8px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.page-head h1{font-size:28px;letter-spacing:-.03em;margin-bottom:5px}.muted{color:#6d837d}.sub{font-size:13px;color:#70847f;margin:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #cbdcd6;border-radius:8px;background:white;color:#264e46;padding:9px 13px;font-weight:650;min-height:36px}.btn:hover{border-color:#078475;background:#f1faf6}.btn.primary{background:#008477;border-color:#008477;color:#fff}.btn.primary:hover{background:#006c61}.btn.danger{color:#ae4f43;border-color:#eccbc6}.btn.link{border:0;background:transparent;padding:5px 7px;color:#077e70}.card,.panel{background:#fff;border:1px solid #dce8e3;border-radius:14px;box-shadow:0 1px 1px #154c3910}.card{padding:20px}.panel{padding:23px}.section{margin-top:22px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.section-title h2{font-size:17px;margin:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.item-card{background:#fff;border:1px solid #dce8e3;border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:9px}.item-card h3{font-size:17px;margin:0}.item-card p{font-size:13px;color:#617b73;line-height:1.6;min-height:38px;margin:0}.item-card .foot{border-top:1px solid #edf3f0;margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;align-items:center}.tag{display:inline-block;border-radius:999px;padding:4px 8px;background:#e8f5ef;color:#267460;font-size:11px;margin:2px 4px 2px 0}.tag.gold{background:#fff3de;color:#9b6721}.tag.gray{background:#f0f3f2;color:#61746e}.tag.red{background:#fff0ee;color:#ad5144}.tabs{display:flex;gap:8px;border-bottom:1px solid #dce8e3;margin:18px 0}.tabs button{border:0;background:transparent;padding:10px 14px;color:#668079}.tabs button.active{color:#008477;border-bottom:2px solid #008477;font-weight:750}.row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #edf2ef;padding:12px 0}.row:last-child{border-bottom:0}.row strong{display:block;margin-bottom:3px}.row small{color:#748982}.table-wrap{overflow:auto;background:#fff;border:1px solid #dce8e3;border-radius:12px}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f5f9f7;color:#698078;font-size:11px;white-space:nowrap}td,th{padding:13px 14px;border-bottom:1px solid #edf2ef;vertical-align:middle}tr:last-child td{border-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}label,.field-label{font-size:12px;font-weight:700;color:#385b52}input,textarea,select{border:1px solid #d0e1da;border-radius:8px;background:#fff;padding:9px 10px;color:#183631;min-width:0;width:100%;outline:none}input:focus,textarea:focus,select:focus,.rich-editor:focus{border-color:#008477;box-shadow:0 0 0 3px #00847720}textarea{min-height:85px;resize:vertical;line-height:1.6}.hint{font-size:11px;color:#80938e;line-height:1.5}.form-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e8efeb;padding-top:16px;margin-top:18px}.split{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px}.metric{font-size:30px;font-weight:750;margin:4px 0}.empty{border:1px dashed #bdcfc7;border-radius:12px;padding:30px;text-align:center;color:#71877f;background:#fbfdfc}.notice{background:#eaf5f3;border:1px solid #c9e5dd;border-radius:9px;color:#39766a;padding:11px 13px;font-size:12px;line-height:1.6;margin-bottom:17px}.notice.warn{background:#fff7e8;border-color:#eed9ac;color:#866126}.list-controls{display:flex;gap:8px;margin-bottom:14px}.list-controls input{max-width:340px}.subcard{background:#f8fbf9;border:1px solid #e0ece5;border-radius:11px;padding:15px;margin:10px 0}.subcard-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.subcard h3{font-size:15px;margin:0}.step-card{border-left:3px solid #80baa9}.rich-editor{min-height:190px;border:1px solid #d0e1da;border-radius:8px;background:#fff;padding:14px;line-height:1.75;outline:none}.rich-editor p{margin:0 0 9px}.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.rich-toolbar button{border:1px solid #d0e1da;border-radius:6px;background:#fff;min-width:31px;padding:5px 7px}.rich-display{line-height:1.75;overflow-wrap:anywhere}.rich-display img,.rich-display video{max-width:100%;height:auto}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#d8efe3,#f4f7f5 48%);padding:24px}.login-card{width:min(450px,100%);background:white;border:1px solid #dce8e3;border-radius:18px;box-shadow:0 20px 60px #0b514525;padding:32px}.login-card h1{font-size:24px;margin:0 0 8px}.login-card .field{margin:19px 0}.modal-backdrop{position:fixed;inset:0;background:#102c2b7a;display:grid;place-items:center;padding:20px;z-index:10}.modal{background:#fff;border-radius:15px;max-height:90vh;overflow:auto;width:min(720px,100%);padding:23px;box-shadow:0 20px 60px #102c2b55}.modal .option-list{max-height:300px;overflow:auto;margin:12px 0}.modal label.option{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #edf2ef;font-weight:500}.modal input[type=checkbox],.checkline input{width:auto}.checkline{display:inline-flex;gap:7px;align-items:center;border:1px solid #d7e5de;border-radius:8px;padding:7px 9px;margin:3px 5px 3px 0;font-size:12px;font-weight:500}.pill-list{display:flex;flex-wrap:wrap;gap:5px}.danger-text{color:#b24c3c}.toast{position:fixed;right:23px;bottom:20px;background:#163f3c;color:#fff;padding:11px 16px;border-radius:9px;box-shadow:0 8px 25px #153f3c3d;z-index:30;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}.skeleton{height:100px;background:#edf3ef;border-radius:10px}.hidden{display:none!important}
@media(max-width:960px){.app{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:16px 9px}.page{padding:24px 18px}.split{grid-template-columns:1fr}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.app{display:block}.sidebar{height:auto;position:static;padding:11px}.brand{padding-bottom:8px}.nav-group{margin-top:9px}.nav-label,.nav-foot{display:none}.nav{display:inline-block;width:auto;font-size:12px;margin:3px;padding:8px}.topbar{padding:0 12px;height:auto;min-height:55px}.topbar-right{gap:5px}.topbar small{display:none}.page{padding:20px 12px 45px}.page-head{align-items:flex-start;flex-direction:column}.grid,.grid.three,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.item-card p{min-height:0}.panel{padding:15px}td,th{padding:9px}.topbar select{min-width:75px}}

.auth-submit{width:100%}.auth-gap{margin-top:18px}.auth-mark{margin-bottom:20px}.course-title{margin:12px 0 8px}.review-details{margin:12px 0}.run-text{font-size:18px;line-height:1.8}.one-time-secret{font-size:20px;font-weight:700;user-select:all}
.auth-error{padding:11px 13px;border:1px solid #eccbc6;border-radius:8px;background:#fff0ee;color:#ad5144;font-size:13px;line-height:1.6;margin:0 0 15px}.auth-error[hidden]{display:none}

/* Restored Demo 2.0 workflows */
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.kpi small{color:#69847b;font-size:12px}.kpi .metric{color:#173b34}.filter-panel{margin:18px 0;padding:16px}.search-line{display:flex;gap:10px;margin-bottom:13px}.filter-grid{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.filter-grid .field{min-width:130px;flex:1}.filter-grid .btn{flex:0 0 auto}.course-stepper{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.course-stepper .btn{flex:1;min-width:150px}.wrap-tabs,.lesson-path{flex-wrap:wrap}.field-error{margin-left:10px;font-size:12px;font-weight:500;color:#b44537}.has-error input,.has-error select,.has-error textarea,.has-error .rich-editor{border-color:#c96352}.check-summary{padding-left:20px;font-size:12px;line-height:1.9}.teach-progress{width:100%;height:9px;margin-bottom:14px;accent-color:#008477}.lesson-path .btn{margin:4px}.rich-editor img,.rich-editor video{max-width:100%;height:auto}.modal .option[hidden],[hidden]{display:none!important}.rich-display p,.rich-display li{white-space:pre-wrap}.modal .option small{display:block;line-height:1.7}.modal .field.full .field{width:100%}.review-details a{overflow-wrap:anywhere}.filter-grid .field label{white-space:nowrap}.tabs{overflow-x:auto}.course-stepper .primary{box-shadow:0 3px 10px #00847718}
@media(max-width:960px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi{padding:14px}.kpi .metric{font-size:26px}.filter-grid .field{min-width:120px}.course-stepper .btn{min-width:40%;font-size:12px}.search-line{flex-wrap:wrap}.search-line input{flex:1;min-width:150px}}
.search-line .btn{flex-shrink:0;white-space:nowrap}.search-line input{flex:1;width:auto}

.btn.filter-clear{border:0;background:transparent;box-shadow:none;font-size:12px;font-weight:500;padding:9px 4px;white-space:nowrap}.btn.filter-clear:hover{background:transparent;text-decoration:underline}.btn.filter-clear:focus-visible{outline:2px solid #008477;outline-offset:2px}

.table-empty{text-align:center;color:#71877f;padding:24px 14px}.grid>.empty{grid-column:1/-1}.topbar #role-switch{font-size:14px}
.website-filing{padding:14px 20px;text-align:center;font-size:12px}
.website-filing a{color:#4a625b}
