.exam-room{--room-exam-field:#a87400;--room-warn-mark:#e3a21a;--room-font-reading:"Iowan Old Style",Charter,"Source Serif Pro",Georgia,"Times New Roman",serif;--room-font-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace}[data-theme=dark] .exam-room{--room-exam-field:#f6c25a;--room-warn-mark:#f6c25a}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .exam-room{--room-exam-field:#f6c25a;--room-warn-mark:#f6c25a}}main:has([data-room])~footer{display:none}.exam-room textarea{outline:none}.room-toast{inset-block-end:24px;left:50%;transform:translateX(-50%);gap:8px;padding:10px 16px;border-radius:8px;background:var(--ink);color:var(--surface);font-weight:600;font-size:14px;box-shadow:0 8px 24px rgb(0 0 0/.2);z-index:80}.room-overlay,.room-toast{position:fixed;display:flex;align-items:center}.room-overlay{inset:0;z-index:60;justify-content:center;padding:16px}.tcf-exam{--x-main:#84a2fe;--x-frame:#a9c0f7;--x-title-top:#dce5ff;--x-title-bot:#a2c0ff;--x-sub:#bfd6fe;--x-left:#d0dffc;--x-right:#b1c1e9;--x-bar:#b4c3e6;--x-ink:#10182e;--x-label:#2c3a63;--x-red:#b0161e;--x-green:#139b0d;--x-mauve-top:#cec3cd;--x-mauve-bot:#958694;--x-mauve-bd:#8b6a7c;--x-key-top:#f9fcfe;--x-key-bot:#d4e3fd;--x-key-bd:#6e86b4;--x-sans:Arial,Helvetica,sans-serif;--x-ui:Verdana,Tahoma,"DejaVu Sans",sans-serif;--x-serif:"Times New Roman",Times,serif;height:100vh;display:flex;color:var(--x-ink);font-family:var(--x-sans);line-height:normal;background:#f4f6fb}.tcf-exam,.tcf-exam *,.tcf-exam :after,.tcf-exam :before{box-sizing:border-box}.tcf-exam button{font:inherit;color:inherit;cursor:pointer}.tcf-exam button:disabled{cursor:default}.tcf-exam .x-win{position:relative;flex:1;display:flex;flex-direction:column;min-width:0;height:100%;border:1px solid var(--x-frame);background:var(--x-main)}.tcf-exam .x-win.locked .x-text{background:#e3e7ef}.tcf-exam .x-title{flex:none;height:54px;display:flex;align-items:center;gap:14px;padding:0 14px 0 22px;background:linear-gradient(var(--x-title-top),var(--x-title-bot))}.tcf-exam .x-title svg{width:40px;height:40px;border-radius:8px;box-shadow:0 0 0 2px rgba(255,255,255,.7)}.tcf-exam .x-title h1{margin:0;font:700 22px/1 var(--x-ui);color:var(--x-ink);letter-spacing:.1px}.tcf-exam .x-close{margin-left:auto;width:32px;height:30px;border:1px solid #6d7fa8;border-radius:2px;background:linear-gradient(#fff,#e3e9f6);font:400 17px/1 var(--x-sans);padding:0}.tcf-exam .x-sub{flex:none;height:36px;display:flex;align-items:center;padding-left:76px;background:var(--x-sub);font:700 17px/1 var(--x-ui);color:var(--x-ink)}.tcf-exam .x-body{flex:1;min-height:0;display:grid;grid-template-columns:clamp(150px,13vw,180px) minmax(0,1fr) clamp(220px,19vw,262px);gap:12px;padding:12px 14px}.tcf-exam .x-left{display:flex;flex-direction:column;background:var(--x-left);border:1px solid #9fb5e6;border-radius:2px}.tcf-exam .x-pager{height:52px;display:grid;grid-template-columns:16px 38px 1fr 38px 16px;align-items:center;justify-items:center;padding:0 4px;background:#fff;border-bottom:1px solid #9fb5e6}.tcf-exam .x-pager .cur{font:400 26px/1 var(--x-sans);color:var(--x-green)}.tcf-exam .x-pager .peek{font:400 12px/1 var(--x-sans);color:#d0161e}.tcf-exam .rnd{width:34px;height:34px;border-radius:50%;border:1px solid #3b78b8;padding:0;background:radial-gradient(circle at 50% 30%,#b9e2f6 0,#5aa5dc 55%,#2d6eb3 100%);display:grid;place-items:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.tcf-exam .rnd svg{width:19px;height:19px}.tcf-exam .x-sect{padding:11px 8px 9px;font:400 13px/1 var(--x-ui);color:#2a3150;background:linear-gradient(#f7fbff,#e2e9f5);border-bottom:1px solid #b8c6e2}.tcf-exam .x-rows{display:flex;flex-direction:column}.tcf-exam .x-row{display:grid;grid-template-columns:1fr 26px 1fr;align-items:center;height:20px;margin:0;background:linear-gradient(90deg,#f3f5f9,#f9fafc 50%,#eef1f6);border:0;border-bottom:1px solid #fff;padding:0;font:400 16px/1 var(--x-sans);color:var(--x-red)}.tcf-exam .x-row .gr{height:17px;margin:0 1px;border-radius:1px;visibility:hidden;background:linear-gradient(#a2d885,#74b950 55%,#4f9a33);border:1px solid #4a8a33;display:grid;place-items:center}.tcf-exam .x-row .gr svg{width:9px;height:9px}.tcf-exam .x-row.cur{color:var(--x-green);background:#fff}.tcf-exam .x-row.cur .gr{visibility:visible}.tcf-exam .x-row.done:not(.cur){color:#1d3c9c}.tcf-exam .x-center{display:flex;flex-direction:column;min-height:0;gap:8px}.tcf-exam .box{background:#fff;border:1px solid #9fb5e6;border-radius:2px}.tcf-exam .x-consigne{flex:none;height:clamp(70px,10vh,92px);overflow:hidden;padding:12px 14px;font:700 16px/1.45 var(--x-sans)}.tcf-exam .x-consigne p{margin:0}.tcf-exam .x-doc{flex:0 0 auto;height:clamp(130px,25vh,240px);overflow-y:auto;padding:12px 14px;font:400 18px/1.55 var(--x-serif)}.tcf-exam .x-doc p{margin:0 0 12px}.tcf-exam .x-doc p:last-child{margin-bottom:0}.tcf-exam .x-doc::-webkit-scrollbar{width:15px}.tcf-exam .x-doc::-webkit-scrollbar-track{background:linear-gradient(90deg,#e6ecf7,#f6f8fc);border-left:1px solid #c8d3ea}.tcf-exam .x-doc::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#dce6f8,#b9cbef);border:1px solid #9fb2dc;border-radius:3px}.tcf-exam .x-ans{flex:1;min-height:0;display:flex;flex-direction:column}.tcf-exam .x-tab{align-self:flex-start;height:32px;min-width:44px;padding:0 12px;margin-bottom:-1px;display:grid;place-items:center;background:#fff;border:1px solid #9fb5e6;border-bottom:0;border-radius:2px 2px 0 0;font:700 19px/1 var(--x-sans);position:relative;z-index:1}.tcf-exam .x-paper{flex:1;min-height:0;display:flex;flex-direction:column;padding:4px 8px 8px}.tcf-exam .x-zoom{align-self:flex-end;width:30px;height:28px;border:0;background:none;padding:0;margin-bottom:4px}.tcf-exam .x-zoom svg{width:26px;height:26px}.tcf-exam .x-text{flex:1;min-height:0;width:100%;resize:none;border:1px solid #5d84d6;border-radius:0;padding:10px 12px;font:400 17px/1.5 var(--x-sans);color:#111;background:#fff;outline:none}.tcf-exam .x-text.big{font-size:22px}.tcf-exam .x-text:focus{border-color:#2f62d0}.tcf-exam .x-text[readonly]{background:#e3e7ef}.tcf-exam .x-bar{flex:none;height:30px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:0 2px;background:var(--x-bar);border-radius:2px}.tcf-exam .x-bar .count{text-align:center;font:400 13px/1 var(--x-sans);color:#1b2236}.tcf-exam .btn-x{height:25px;padding:0 16px;border:1px solid #3d4b6b;border-radius:2px;background:linear-gradient(#f3f7fe,#d2e1fb);font:700 16px/1 var(--x-ui);color:#10182e;white-space:nowrap}.tcf-exam .btn-x.red{border-color:#8f2c20;background:linear-gradient(#fea695,#e27966 55%,#d9563f);color:#8a0f05}.tcf-exam .x-right{display:flex;flex-direction:column;min-height:0;padding:10px 8px 8px;background:var(--x-right);border:1px solid #93a7d9;border-radius:2px}.tcf-exam .x-cand{margin:auto 0 0;padding:0 0 14px 28px;min-width:0;font:400 14.5px/1.2 var(--x-sans)}.tcf-exam .x-cand dt{color:var(--x-label)}.tcf-exam .x-cand dd{margin:1px 0 8px;font-weight:700;color:#f8faff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tcf-exam .lcd{border:2px solid var(--x-mauve-bd);border-radius:3px;background:linear-gradient(var(--x-mauve-top) 0 48%,var(--x-mauve-bot) 52% 100%);text-align:center;color:#10101a}.tcf-exam .lcd.date{padding:7px 0;font:700 16px/1 var(--x-ui);margin-bottom:6px}.tcf-exam .lcd.left{padding:7px 8px 6px}.tcf-exam .lcd .lbl{font:400 12px/1 var(--x-ui)}.tcf-exam .lcd .cd{margin:6px 0 7px;font:700 21px/1 var(--x-ui);white-space:nowrap}.tcf-exam .lcd .cd[data-warning=true]{color:var(--x-red)}.tcf-exam .lcd .track{height:7px;border:1px solid #fff;background:#d24a4a}.tcf-exam .lcd .fill{height:100%;background:#45c52e}.tcf-exam .x-save{margin:7px 0;font:400 12px/1.2 var(--x-sans);color:#10182e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcf-exam .kb{padding:8px 8px 9px;background:#fdfdfe;border:1px solid #5d84d6;border-radius:3px}.tcf-exam .kb .wc{text-align:center;font:700 15px/1 var(--x-sans);margin:2px 0 9px}.tcf-exam .keys{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.tcf-exam .key{height:30px;padding:0;border:1px solid var(--x-key-bd);border-radius:3px;background:linear-gradient(var(--x-key-top),var(--x-key-bot));font:400 17px/1 var(--x-sans);color:#111;box-shadow:inset 0 1px 0 #fff}.tcf-exam .key:active{background:linear-gradient(var(--x-key-bot),var(--x-key-top))}.tcf-exam .key.gap{visibility:hidden}.tcf-exam .keys2{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.tcf-exam .keys2 .key{height:32px;display:grid;place-items:center}.tcf-exam .keys2 svg{width:30px;height:16px}.tcf-exam .key.case{background:linear-gradient(#fff,#f1f4fb);font:700 18px/1 var(--x-sans)}.tcf-exam .key.case[aria-pressed=true]{background:linear-gradient(var(--x-key-bot),var(--x-key-top));box-shadow:inset 0 1px 3px rgb(0 0 0/.3)}.tcf-exam .key.case sub{font-size:11px;vertical-align:-1px}.tcf-exam .scrim{position:absolute;inset:0;background:rgba(28,38,78,.5);display:flex;align-items:center;justify-content:center;z-index:20}.tcf-exam .dlg{width:min(760px,66%);max-height:calc(100% - 24px);overflow-y:auto;background:#f1f1f4;border:1px solid #8d93a6;box-shadow:0 6px 24px rgba(0,0,0,.35);font-family:var(--x-sans)}.tcf-exam .dlg-h{padding:6px 8px;background:linear-gradient(#f7f7f9,#dddde3);border-bottom:1px solid #a8acb9;font:400 15px/1.2 var(--x-sans);color:#222}.tcf-exam .dlg-b{display:grid;grid-template-columns:54px 1fr;gap:12px;padding:12px 16px 14px 14px}.tcf-exam .warn{width:46px;height:46px}.tcf-exam .dlg-b h2{margin:2px 0 14px;font:700 15.5px/1.3 var(--x-sans)}.tcf-exam .dlg-b p{margin:0 0 12px;font-size:15px;line-height:1.4}.tcf-exam .multi{color:#d6141f;font-size:14.5px;line-height:1.5;margin-bottom:14px}.tcf-exam .multi div[dir=rtl]{font-size:13px}.tcf-exam .code{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:15px}.tcf-exam .code input{flex:1;height:26px;border:2px solid #1d4fc4;border-radius:3px;padding:0 6px;font:inherit}.tcf-exam .note{font-size:14.5px;color:#333;line-height:1.45;margin-bottom:10px}.tcf-exam .dlg-btns{display:flex;justify-content:space-between}.tcf-exam .btn-d{min-width:100px;height:30px;padding:0 14px;border:1px solid #9a9ea9;border-radius:3px;background:linear-gradient(#fff,#ececf0);font:400 15px/1 var(--x-sans)}.tcf-exam .dlg.test{width:min(720px,64%);background:#fff;border-color:#5d78c8}.tcf-exam .dlg.test .dlg-h{padding:10px 14px;background:linear-gradient(#dfe8ff,#b7cbfb);border-bottom:1px solid #6d88d2;font:700 18px/1 var(--x-ui);color:#10182e}.tcf-exam .dlg.test .dlg-b{grid-template-columns:70px 1fr;padding:22px 30px 18px 22px;align-items:center}.tcf-exam .dlg.test .warn{width:58px;height:58px}.tcf-exam .dlg.test h2{font:700 18px/1.3 var(--x-serif);margin:0 0 12px}.tcf-exam .dlg.test p{font:400 18px/1.55 var(--x-serif)}.tcf-exam .dlg.test hr{border:0;border-top:1px solid #b7bfd2;margin:10px 0 12px}.tcf-exam .dlg.test .zh{font:400 18px/1.5 Songti SC,SimSun,var(--x-serif);margin:0}.tcf-exam .dlg.test .dlg-f{display:flex;justify-content:flex-end;gap:10px;padding:10px 14px;background:#c6d6fb;border-top:1px solid #7c96d8}.tcf-exam .dlg.test .btn-d{min-width:130px;height:38px;font:700 17px/1 var(--x-ui);border:1px solid #4c5d86;border-radius:2px;background:linear-gradient(#fff,#e6edfb)}.tcf-exam .done{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.tcf-exam .done .dlg{width:min(620px,80%)}.tcf-exam .done table{width:100%;border-collapse:collapse;margin:6px 0 4px;font:400 14px/1.4 var(--x-sans)}.tcf-exam .done td,.tcf-exam .done th{padding:7px 10px;border-bottom:1px solid #d2d9ea;text-align:left}.tcf-exam .done th{font-weight:700;background:#eef3ff}.tcf-exam .done th.n{text-align:right}.tcf-exam .done td.n{text-align:right;font-variant-numeric:tabular-nums}.tcf-exam .done .dlg .done-hint{margin-top:10px}.tcf-exam .ok-ico{width:52px;height:52px}.tcf-exam .btn-report{display:inline-flex;align-items:center;height:34px;padding:0 18px;border-radius:3px;border:1px solid #1d4fc4;background:linear-gradient(#5b8af0,#2f5bd3);color:#fff;font:700 14px/1 var(--x-ui);text-decoration:none}.tcf-exam .done-back{display:grid;place-items:center;text-decoration:none;color:inherit}.exam-room.tef{position:relative;flex:1;min-width:0;height:100vh;overflow:hidden;background:#fff;color:#212529;font:400 14px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.exam-room.tef,.exam-room.tef *,.exam-room.tef :after,.exam-room.tef :before{box-sizing:border-box}.tef button{font-family:inherit;cursor:pointer}.tef button:disabled{cursor:default;opacity:.65}.tef .t-wrap{height:100%;max-width:1140px;margin:0 auto;padding:18px 24px 16px;display:flex;flex-direction:column}.tef .t-top{flex:none;position:relative;height:66px}.tef .t-unlock{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 8px;border:1px solid #0d3b66;border-radius:3px;background:#fff;color:#0d3b66;font-size:13px;line-height:1}.tef .t-unlock:hover{background:#0d3b66;color:#fff}.tef .t-unlock svg{width:11px;height:12px}.tef .t-brand{position:absolute;left:50%;top:2px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;white-space:nowrap}.tef .t-brand svg{width:48px;height:48px;border-radius:11px}.tef .t-brand b{display:block;font:800 30px/1 system-ui,-apple-system,Segoe UI,sans-serif;color:#16306e;letter-spacing:.3px}.tef .t-brand small{display:block;margin-top:4px;font-size:12.5px;color:#d6453b;letter-spacing:.4px}.tef .t-head{flex:none;display:flex;justify-content:space-between;align-items:flex-start;margin-top:16px}.tef .t-cand{font-size:13.5px;line-height:1.6}.tef .t-cand b{font-weight:700}.tef .t-timer{width:49%;height:32px;margin-top:4px;display:grid;place-items:center;border:1px solid #7fa6b8;border-radius:3px;color:#4f7896;font-size:13.5px;font-variant-numeric:tabular-nums}.tef .t-timer.low{color:#c0392b;border-color:#d98880}.tef .t-card{flex:1;min-height:0;display:flex;flex-direction:column;margin-top:18px;padding:14px 9px 10px;border:1px solid #ececec;border-radius:2px;box-shadow:0 0 3px rgba(0,0,0,.06)}.tef .t-q{flex:none;min-height:96px;max-height:38vh;overflow-y:auto;font-size:13.5px}.tef .t-q p{margin:0 0 10px}.tef .t-q .lead{font-weight:700}.tef .t-q .art{margin:0 0 10px;padding:7px 12px;border-left:3px solid #dee2e6;background:#f8f9fa}.tef .t-wc{flex:none;text-align:right;font-size:12px;margin:0 0 6px}.tef .t-kb{flex:none;display:flex;gap:4px;margin-bottom:4px}.tef .t-key{flex:1 1 0;min-width:0;height:27px;padding:0;border:1px solid #ced4da;border-radius:3px;background:#fff;color:#495057;font-size:13.5px;line-height:1}.tef .t-key:hover{background:#f1f3f5}.tef .t-key.shift{flex:0 0 auto;padding:0 9px}.tef .t-key.shift.on{background:#6c757d;border-color:#6c757d;color:#fff}.tef .t-text{flex:1;min-height:120px;width:100%;resize:none;border:1px solid #8a8f94;border-radius:0;padding:6px 8px;font:400 15px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#212529;background:#fff;outline:none}.tef .t-text:focus{border-color:#495057}.tef .t-text[readonly]{background:#f1f3f5}.tef .t-foot{flex:none;display:flex;justify-content:space-between;align-items:center;margin-top:12px}.tef .t-sec{font-size:13px;color:#6c757d}.tef .t-btn{height:34px;padding:0 14px;border:1px solid #0d6efd;border-radius:4px;background:#0d6efd;color:#fff;font-size:14px;line-height:1}.tef .t-btn:hover{background:#0b5ed7}.tef .t-btn.light{background:#fff;color:#495057;border-color:#adb5bd}.tef .t-btn.light:hover{background:#f1f3f5}.tef .t-btn.danger{background:#dc3545;border-color:#dc3545}.tef .t-body{flex:1;min-height:0;max-width:880px;margin-top:8px;font-size:15px;line-height:1.55;overflow-y:auto}.tef .t-body h1{margin:0 0 14px;font-size:26px;font-weight:700;color:#16306e}.tef .t-body p{margin:0 0 10px}.tef .t-body ul{margin:0 0 12px;padding-left:22px}.tef .t-body li{margin-bottom:6px}.tef .t-body li span{display:block;color:#495057}.tef .t-rule{margin:14px 0 10px;padding:10px 14px;border:1px solid #ffe69c;border-radius:4px;background:#fff3cd;color:#664d03;font-size:14px}.tef .t-body .zh{color:#6c757d;font-size:13px}.tef .t-opts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:14px 0 8px;font-size:13px;color:#495057}.tef .t-opts label{display:inline-flex;align-items:center;gap:6px}.tef .t-opts select{height:28px;background:#fff}.tef .t-opts select,.tef .t-opts textarea{border:1px solid #ced4da;border-radius:3px;font:inherit}.tef .t-opts textarea{width:100%;padding:4px 6px}.tef .t-opts .t-custom{flex-basis:100%;display:flex;flex-direction:column;gap:4px}.tef .t-err{color:#842029;font-size:13px}.tef .t-scrim{position:absolute;inset:0;z-index:20;display:flex;align-items:flex-start;justify-content:center;padding-top:14vh;background:rgba(0,0,0,.5);font:400 14px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#212529}.tef .t-modal{width:500px;background:#fff;border-radius:6px;box-shadow:0 8px 28px rgba(0,0,0,.25)}.tef .t-mh{display:flex;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #dee2e6;font-size:18px;font-weight:600}.tef .t-mh svg{width:14px;height:16px}.tef .t-mb{padding:16px}.tef .t-mb p{margin:0 0 10px}.tef .t-mb .alert{padding:10px 12px;border:1px solid #f5c2c7;border-radius:4px;background:#f8d7da;color:#842029}.tef .t-mb .zh{margin:0;color:#6c757d;font-size:13px}.tef .t-mb label{display:block;margin-bottom:6px;font-weight:600}.tef .t-mb input{width:100%;height:36px;padding:0 10px;margin-bottom:10px;border:1px solid #ced4da;border-radius:4px;font:400 16px/1 ui-monospace,Menlo,monospace;letter-spacing:3px}.tef .t-mb input:focus{outline:none;border-color:#86b7fe;box-shadow:0 0 0 3px rgba(13,110,253,.25)}.tef .t-mf{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #dee2e6}