:root{--brand-600: #2563eb;--brand-700: #1d4ed8;--brand-50: #eff6ff;--teal-600: #0e9f8a;--ink-900: #0f172a;--ink-700: #334155;--ink-500: #64748b;--line: #e2e8f0;--surface: #f6f8fb}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;font-family:PingFang SC,Microsoft YaHei,HarmonyOS Sans SC,Segoe UI,sans-serif}body{background:var(--surface);color:var(--ink-900)}.mdi-window{position:absolute;display:flex;flex-direction:column;background:#f2f4f7;border:1px solid #7a96b8;border-radius:0;box-shadow:2px 3px 10px #0f172a4d;overflow:hidden}.mdi-titlebar{display:flex;align-items:center;justify-content:space-between;padding:4px 8px;background:linear-gradient(180deg,#e8f0fb,#c9dbf2);border-bottom:1px solid #9db8d6;cursor:move;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:700;color:#1f3a5f}.mdi-body{flex:1;overflow:auto;padding:10px}.mdi-resize-handle{position:absolute;right:0;bottom:0;width:14px;height:14px;cursor:nwse-resize}.voucher-grid td,.voucher-grid th{border:1px solid var(--line);padding:2px 6px;font-size:13px}.voucher-grid th{background:#d9e6f7;color:#1f3a5f}.voucher-grid{border-collapse:collapse;width:100%}.voucher-grid input{width:100%;border:none;outline:none;background:transparent;font-size:13px}.amount-cell{text-align:right;font-family:JetBrains Mono,Consolas,monospace}.fam-menu-drop{display:none;position:absolute;top:100%;left:0;min-width:150px;background:#f2f6fb;color:#1f3a5f;border:1px solid #9db8d6;border-radius:0;box-shadow:2px 3px 8px #0f172a40;z-index:1000;flex-direction:column;padding:2px;overflow:hidden}.fam-menu:hover .fam-menu-drop{display:flex}.fam-menu-item{padding:5px 12px;cursor:pointer;white-space:nowrap;border-radius:0}.fam-menu-item:hover{background:#1e6fd0;color:#fff}.fam-nav{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><rect width="8" height="8" fill="%23dcebf7"/><path d="M0 0H8M0 4H8M0 0V8M4 0V8" stroke="%23cfe2f2" stroke-width="1"/></svg>');background-color:#dcebf7;border-right:1px solid #9db8d6;padding:8px 6px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}.fam-nav-brand{background:#fff;border:1px solid #9db8d6;text-align:center;font-weight:700;font-size:14px;color:#1f3a5f;padding:12px 4px;margin-bottom:8px}.fam-nav-group{display:flex;flex-direction:column;gap:2px}.fam-nav-module{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(180deg,#58a7e8,#2f7cc9);border:1px solid #2b6cb0;border-radius:3px;padding:6px 4px;cursor:pointer;white-space:nowrap;overflow:hidden;-webkit-user-select:none;user-select:none}.fam-nav-module:hover{background:linear-gradient(180deg,#6cb4ee,#3d8ad4)}.fam-nav-module.open{background:linear-gradient(180deg,#1f5fa8,#174a86)}.fam-nav-group-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0}.fam-nav-item{font-size:12px;padding:4px 8px 4px 26px;cursor:pointer;color:#1f3a5f;background:#eef6fd;border:1px solid #c3d9ee;border-radius:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s ease,color .15s ease}.fam-nav-item:hover{background:#d8ebfa;color:#0f4c94}.col-resize-handle{width:5px;flex-shrink:0;cursor:col-resize;background:transparent;border-left:1px solid var(--line);transition:background .15s ease}.col-resize-handle:hover{background:#bfdbfe}.row-resize-handle{height:7px;cursor:ns-resize;background:#eef2f7;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;transition:background .15s ease}.row-resize-handle:hover{background:#bfdbfe}.row-resize-handle span{width:36px;height:3px;border-radius:2px;background:#94a3b8}.classic-header{background:linear-gradient(180deg,#1e6fd0,#1257ad);color:#fff;padding:8px 24px;display:flex;align-items:center;justify-content:space-between}.classic-header .ant-typography{color:#fff}.exam-question-tree{background:#bfe3f5}.exam-side-head{background:linear-gradient(180deg,#55b6e8,#3aa4dd);padding:10px 8px;text-align:center}.exam-timer{display:flex;justify-content:center;align-items:center;gap:2px;margin-bottom:8px}.exam-timer-box{background:#fff;border:1px solid #2b6cb0;border-radius:3px;color:#1f3a5f;font-weight:700;font-size:16px;font-family:JetBrains Mono,Consolas,monospace;padding:2px 6px;min-width:34px;display:inline-block}.exam-timer-sep{color:#fff;font-weight:700;margin:0 2px}.exam-submit-btn{background:linear-gradient(180deg,#ffc23d,#f5a623);border:1px solid #d78c12;border-radius:4px;color:#7a4a00;font-size:15px;font-weight:700;letter-spacing:6px;padding:4px 26px;cursor:pointer}.exam-submit-btn:hover{background:linear-gradient(180deg,#ffcf60,#f7b03e)}.exam-side-info{margin-top:10px;color:#fff;font-size:13px;text-align:left;line-height:1.8;text-shadow:0 1px 1px rgba(0,0,0,.15)}.exam-tree-item{padding:7px 12px;cursor:pointer;font-size:13px;color:#1f3a5f;background:#cdeaf8;border-bottom:1px solid #9fcbe4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .15s ease,color .15s ease}.exam-tree-item:hover{background:#a8d9f0}.exam-tree-section{font-weight:700;font-size:12px;color:#17537e;padding:6px 8px 3px;background:#bfe3f5;line-height:1.4}.exam-question-tree .active{background:#1e78c8;color:#fff}.exam-question-tree .active:hover{background:#1a68ae;color:#fff}.flow-node{border:1px solid #2b6cb0;border-radius:2px;padding:10px 16px;background:linear-gradient(180deg,#eef6fd,#d8ebfa);color:#1f3a5f;cursor:pointer;font-size:13px;text-align:center;min-width:110px}.flow-node:hover{background:#c9e2f7}.question-html img{max-width:100%}.login-side{display:flex}@media (max-width: 900px){.login-side{display:none}}.invoice-sheet{border:1.5px solid #b4544c;color:#1f2937;font-size:12px;background:#fffdf8;padding:12px 14px}.invoice-sheet table{border-collapse:collapse;width:100%}.invoice-sheet th,.invoice-sheet td{border:1px solid #cf8e88;padding:3px 6px;font-size:12px}.invoice-sheet th{color:#a03028;font-weight:600;background:#fdf6f5}.invoice-title{text-align:center;color:#a03028;font-size:20px;letter-spacing:6px;font-weight:700;border-bottom:3px double #a03028;display:inline-block;padding-bottom:2px}
