*{box-sizing:border-box}body{margin:0;background:#f5f3ee;color:#1f2d27;font-family:Inter,Microsoft YaHei,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{border:0;border-radius:8px;padding:9px 14px;background:#12372a;color:#fff;cursor:pointer;white-space:nowrap}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{width:100%;border:1px solid #d9ded8;border-radius:8px;background:#fff;color:#1f2d27;padding:10px 12px;outline:none}textarea{min-height:96px;resize:vertical}h1,h2,h3,p{margin:0}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #e2e7e1;padding:12px 10px;text-align:left;vertical-align:top}th{color:#52635b;background:#f6f8f5;font-weight:700}.brand{color:#b8944d;font-weight:800;letter-spacing:0}.ghost{background:#e9eee9;color:#12372a}.primary{background:#b8944d}.danger{background:#8f2d2d}.error,.success{border-radius:8px;padding:12px 14px;margin:14px auto;max-width:1100px}.error{color:#8f2d2d;background:#fff0f0;border:1px solid #f1c6c6}.success{color:#12372a;background:#edf4ef;border:1px solid #c9ddcd}.hp{position:absolute;left:-9999px;opacity:0}.public-shell{min-height:100vh;padding:20px}.wizard-shell{min-height:100vh;display:grid;place-items:center;padding:22px;background:linear-gradient(135deg,#12372aeb,#20483ae6),#12372a}.wizard-card{width:min(760px,100%);background:#fff;border:1px solid rgba(216,200,164,.55);border-radius:8px;box-shadow:0 26px 80px #04181147;padding:24px}.wizard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.wizard-head h1,.success-card h1{font-size:26px;line-height:1.25;margin-top:4px}.wizard-count{color:#12372a;background:#edf4ef;border-radius:999px;padding:8px 12px;font-weight:800;white-space:nowrap}.progress-track{width:100%;height:8px;background:#e8eee8;border-radius:999px;overflow:hidden;margin-bottom:22px}.progress-bar{height:100%;background:linear-gradient(90deg,#12372a,#b8944d);border-radius:inherit;transition:width .2s ease}.question-card,.review-card{min-height:390px;display:grid;align-content:start;gap:14px}.question-group{color:#b8944d;font-size:14px;font-weight:800}.question-card h2,.review-card h2{font-size:28px;line-height:1.35}.question-hint{color:#7b8882;font-size:14px}.choice-list{display:grid;gap:10px;margin-top:4px}.choice-button{width:100%;min-height:52px;padding:13px 15px;text-align:left;color:#1f2d27;background:#f8faf7;border:1px solid #dce4dd;border-radius:8px;transition:border-color .15s ease,background .15s ease,transform .15s ease}.choice-button:hover,.choice-button.selected{border-color:#12372a;background:#edf4ef;transform:translateY(-1px)}.wizard-input,.wizard-textarea{margin-top:8px;font-size:18px;padding:14px 15px}.wizard-textarea{min-height:150px}.answer-preview{color:#52635b;background:#fbfcfa;border:1px dashed #d8ded8;border-radius:8px;padding:10px 12px;font-size:14px}.wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #e4e9e2}.wizard-actions button{min-width:116px;min-height:44px}.review-card dl{display:grid;grid-template-columns:112px 1fr;gap:10px 14px;margin:8px 0 0}.review-card dt{color:#65746d}.review-card dd{margin:0;color:#1f2d27}.success-card{display:grid;gap:14px;text-align:center}.success-card p{color:#52635b;line-height:1.8}.public-hero{max-width:1100px;margin:0 auto 16px;min-height:220px;display:grid;grid-template-columns:1fr 330px;align-items:end;gap:24px;padding:32px;border-radius:8px;background:linear-gradient(135deg,#12372a,#24483b 58%,#b8944d);color:#fff}.public-hero .brand{color:#e7d2a5;margin-bottom:10px}.public-hero h1{font-size:34px;line-height:1.25}.public-hero p{margin-top:12px;color:#edf3ee;line-height:1.7;max-width:680px}.hero-card{background:#ffffff1f;border:1px solid rgba(255,255,255,.22);border-radius:8px;padding:16px;display:grid;gap:8px}.hero-card span{color:#eef3ef;line-height:1.6}.questionnaire{max-width:1100px;margin:0 auto 40px;display:grid;gap:14px}.form-section{background:#fff;border:1px solid #dde3dd;border-radius:8px;padding:22px}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.section-title span{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;background:#edf4ef;color:#12372a;font-weight:800}.section-title h2{font-size:20px}.form-grid,.score-grid,.case-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.score-grid{grid-template-columns:repeat(6,minmax(0,1fr))}label{display:grid;gap:7px;color:#56645e;font-size:14px}.option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.option-grid label{grid-template-columns:18px 1fr;align-items:center;gap:8px;color:#1f2d27;background:#f8faf7;border:1px solid #dde3dd;border-radius:8px;padding:10px}.option-grid input{width:16px;height:16px;padding:0}.submit-bar{position:sticky;bottom:0;background:#f5f3eef0;border-top:1px solid #dde3dd;padding:14px 0 4px;display:flex;justify-content:flex-end}.submit-bar button{min-width:160px;min-height:46px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);background:#fff;border-radius:8px;padding:32px;box-shadow:0 20px 60px #12372a24;display:grid;gap:14px}.admin-shell{min-height:100vh;padding:24px}.admin-head{max-width:1280px;margin:0 auto 16px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:end}.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.admin-head .actions input{width:280px}.table-panel{max-width:1280px;margin:0 auto;background:#fff;border:1px solid #dde3dd;border-radius:8px;overflow:auto}.app-shell{min-height:100vh;display:grid;grid-template-columns:360px 1fr}.sidebar{background:#fff;border-right:1px solid #dde3dd;padding:20px;overflow-y:auto;max-height:100vh}.sidebar-head,.panel-head,.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.sidebar h1{font-size:22px;margin-top:4px}.filters{display:grid;gap:10px;margin:20px 0}.student-list{display:grid;gap:10px}.student-item{text-align:left;background:#f7f8f5;color:#1f2d27;border:1px solid transparent;display:grid;gap:5px}.student-main{display:grid;gap:3px}.student-item.active{border-color:#12372a;background:#edf4ef}.student-item span{color:#65746d;font-size:13px}.student-item em{color:#b8944d;font-style:normal;font-size:12px}.workspace{padding:24px;overflow-y:auto;max-height:100vh}.topbar{margin-bottom:18px}.topbar p{color:#65746d;margin-top:4px}.status{background:#e7efe8;color:#12372a;border-radius:999px;padding:8px 12px;font-size:13px}.grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.panel{background:#fff;border:1px solid #dde3dd;border-radius:8px;padding:18px;margin-bottom:16px}.import-panel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px}.import-panel p{color:#65746d;margin-top:6px;line-height:1.6}.upload-button{position:relative;display:inline-grid;place-items:center;min-height:42px;border-radius:8px;padding:9px 14px;background:#12372a;color:#fff;cursor:pointer;white-space:nowrap}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.import-result{grid-column:1 / -1;color:#12372a;background:#edf4ef;border-radius:8px;padding:10px 12px}.info{display:grid;grid-template-columns:88px 1fr;gap:9px 14px;margin:14px 0 0;font-size:14px}.info dt{color:#66736d}.info dd{margin:0}.recommendation{display:grid;grid-template-columns:34px 160px 1fr 42px;gap:8px;align-items:center;margin-top:12px}.rank{width:30px;height:30px;line-height:30px;text-align:center;border-radius:50%;background:#e7efe8;color:#12372a;font-weight:700}.icon{padding:9px 0}.report-editor{min-height:520px;margin-top:14px;font-family:Consolas,Microsoft YaHei,monospace;line-height:1.55}.empty{display:grid;place-content:center;text-align:center;color:#65746d;gap:8px;min-height:240px}@media(max-width:980px){.public-shell,.wizard-shell,.admin-shell,.workspace{padding:14px}.wizard-card{min-height:calc(100vh - 28px);padding:18px}.wizard-head{align-items:flex-start}.wizard-head h1,.success-card h1{font-size:22px}.question-card,.review-card{min-height:calc(100vh - 250px)}.question-card h2,.review-card h2{font-size:23px}.choice-button{min-height:50px}.review-card dl{grid-template-columns:1fr;gap:3px}.wizard-actions{position:sticky;bottom:0;background:#fff;padding-bottom:4px}.public-hero,.admin-head,.app-shell,.grid,.import-panel{grid-template-columns:1fr}.public-hero{padding:24px 18px}.public-hero h1{font-size:28px}.form-grid,.score-grid,.case-form,.option-grid{grid-template-columns:1fr}.sidebar,.workspace{max-height:none}.recommendation{grid-template-columns:34px 1fr}.admin-head .actions,.admin-head .actions input{width:100%}.submit-bar{justify-content:stretch}.submit-bar button{width:100%}}
