:root{--brand:#1677ff}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#1f2430;background:#f5f6fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.center-screen{justify-content:center;align-items:center;height:100vh;display:flex}.app-shell{min-height:100vh}.app-sider{border-right:1px solid #eef0f5;height:100vh;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:20px 16px 16px;display:flex}.brand-mark{color:#fff;background:#1677ff;border-radius:6px;place-items:center;width:38px;height:38px;font-size:20px;font-weight:700;display:grid}.brand-name{letter-spacing:.4px;font-size:16px;font-weight:700}.brand-sub{color:#595959;font-size:12px}.app-header{z-index:10;border-bottom:1px solid #eef0f5;justify-content:space-between;align-items:center;gap:16px;height:60px;padding:0 28px;display:flex;position:sticky;top:0}.header-right{align-items:center;gap:12px;display:flex}.app-content{width:100%;padding:16px 24px 40px}.header-left{align-items:center;gap:12px;min-width:0;display:flex}.page-title{margin:0;font-size:20px;font-weight:700}.page-subtitle{margin:0;font-size:16px;font-weight:600}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.page-head>:only-child{margin-left:auto}.login-page{background:#f5f5f5;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{width:100%;max-width:420px;box-shadow:0 24px 60px #20263e1f}.login-hero{text-align:center;margin-bottom:8px}.login-hero h1{margin:12px 0 8px;font-size:24px}.login-hero p{color:#595959;margin:0;font-size:14px}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:16px;display:grid}.series{align-items:flex-end;gap:16px;height:150px;padding:8px 4px 0;display:flex}.series-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;display:flex}.series-bar{background:#1677ff;border-radius:8px 8px 4px 4px;width:100%;max-width:34px;min-height:4px;transition:height .3s}.series-bar.empty{background:#eceef5}.series-label{color:#8c8c8c;font-size:12px}.question-option{gap:8px;padding:2px 0;font-size:14px;line-height:1.7;display:flex}.question-option .opt-key{color:#1677ff;min-width:18px;font-weight:600}button.question-option{width:100%;font:inherit;text-align:left;cursor:pointer;background:#fafafa;border:1px solid #0000;border-radius:8px;margin-top:6px;padding:8px 12px;transition:border-color .15s,background .15s}button.question-option:hover{border-color:#d6e4ff}button.question-option.is-on{background:#e6f4ff;border-color:#1677ff}button.question-option.is-on .opt-key{color:#0958d9}button.question-option.is-right,button.question-option.is-right:disabled{color:inherit;cursor:default;border-color:#52c41a}button.question-option.is-wrong,button.question-option.is-wrong:disabled{color:inherit;cursor:default;border-color:#ffa39e}button.question-option.is-right .opt-key{color:#389e0d}button.question-option.is-wrong .opt-key{color:#cf1322}.answer-block{background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;margin-top:16px;padding:16px}.answer-line{color:#262626}.verdict{font-weight:600}.verdict.ok{color:#389e0d}.verdict.bad{color:#cf1322}.analysis-line{color:#595959;white-space:pre-wrap;margin-top:8px;line-height:1.75}.rating-row{flex-wrap:wrap;gap:8px;display:flex}.setup-card{flex-direction:column;display:flex}.setup-card .ant-card-body{flex-direction:column;flex:1;display:flex}.setup-form{flex-direction:column;gap:16px;max-width:720px;display:flex}.setup-actions{flex-direction:column;gap:8px;max-width:720px;margin-top:auto;padding-top:16px;display:flex}.fill-card{min-height:calc(100vh - 190px)}.fill-card .ant-card-body{flex-direction:column;min-height:calc(100vh - 240px);display:flex}.fill-card .ant-table-wrapper,.fill-card .ant-spin-nested-loading,.fill-card .ant-spin-container{flex-direction:column;flex:1;display:flex}.fill-card .ant-table{flex:1}.fill-card .ant-table-pagination{margin-top:auto;padding-top:16px}.preview-item{background:#fcfcff;border:1px solid #eceef5;border-radius:8px;margin-bottom:12px;padding:16px}.import-panel{flex-direction:column;gap:16px;display:flex}.import-footer{z-index:2;background:#fff;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex;position:sticky;bottom:0}.import-footer-info{color:#595959;font-size:14px}.import-summary{color:#595959;margin-bottom:8px;font-size:14px}.kp-group+.kp-group{margin-top:20px}.rule-card{height:100%}.rule-card .ant-card-body{flex-direction:column;gap:8px;display:flex}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.muted{color:#595959;font-size:12px}.figure-view{color:#262626;margin:0}.figure-view svg{background:#fff;border:1px solid #f0f0f0;border-radius:8px;display:block}.figure-caption{color:#595959;text-align:center;margin-top:8px;font-size:12px}.sketch-pad{background:#fff;border:1px solid #f0f0f0;border-radius:8px;padding:8px}.sketch-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.sketch-canvas{touch-action:none;cursor:crosshair;background:#fafafa;border:1px dashed #d9d9d9;border-radius:8px;width:100%;display:block}.recent-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.form-card{max-width:860px}.result-bar{align-items:center;gap:16px;display:flex}.result-bar-main{flex:1;min-width:0}.result-bar-title{font-size:16px;font-weight:600}
