.practice-lobby{max-width:1000px;margin:48px auto;padding:24px}.practice-lobby h1{font-size:28px}.practice-lobby>p{color:#64748b}.practice-config{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:30px;background:#fff;border:1px solid #ddd;border-radius:12px}.practice-config label{display:flex;flex-direction:column;gap:10px;font-size:15px}.practice-config select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#222}.practice-config .practice-check{flex-direction:row;align-items:center}.practice-config button{padding:12px;border:0;border-radius:6px;background:#e60023;color:#fff;font-size:16px}.practice-error{padding:12px;background:#fff1f2;color:#b91c1c;white-space:pre-wrap}.exam-shell{position:fixed;inset:0;z-index:1000;background:#dbe9f5;color:#111;font-family:Arial,Microsoft YaHei,sans-serif;display:grid;grid-template-columns:310px minmax(0,1fr);grid-template-rows:104px minmax(0,1fr)}.exam-header{grid-column:1/-1;gap:24px;padding:12px 20px;background:linear-gradient(#80baff,#4d94ce);border-bottom:3px solid #3671a1;color:white}.exam-header,.exam-person{display:flex;align-items:center}.exam-person{gap:12px;min-width:180px;font-size:16px}.exam-person small{display:block;margin-top:12px;font-size:12px}.exam-avatar{display:grid;place-items:center;height:70px;font-size:52px;background:#1f64af}.exam-header h1{flex:1 1;margin:0;text-align:center;font-size:25px;line-height:1.4}.exam-header h1 small{display:block;font-size:13px;font-weight:400;margin-top:8px}.exam-time{min-width:180px;display:grid;grid-template-columns:1fr auto;gap:6px 16px;color:#ffff00;font-size:14px}.exam-time strong{grid-column:1;font-size:22px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.exam-time button{grid-column:2;grid-row:1/3;background:linear-gradient(#ffecab,#f8a321);padding:10px 20px;border:1px solid #9a6924;align-self:center;color:#111;font-weight:700}.exam-nav{overflow:auto;background:#edf6ff;border-right:8px ridge #c4e0f7;padding-bottom:20px}.exam-nav section h2{font-size:15px;margin:0;padding:8px 12px;background:linear-gradient(#9fd0f5,#377caf);border-bottom:1px solid #3677aa;font-weight:700}.exam-nav section>div{padding:8px;display:flex;flex-wrap:wrap;gap:5px}.exam-nav button{min-width:32px;min-height:30px;padding:3px;background:#e6f1fc;border:1px solid #aac9e1;color:#0647a6;font-size:14px;text-decoration:underline}.exam-nav button.current{outline:2px solid #e57e00;outline-offset:1px}.exam-nav button.done{background:#d2e6fc;color:#15467a}.exam-nav button.correct{background:#d4f2df;color:#08753b}.exam-nav button.wrong{background:#ffd8dc;color:#a30017}.exam-nav button.commented{background:#eee;color:#444}.exam-nav p,.exam-nav>a{display:block;font-size:13px;line-height:1.8;margin:14px 12px;color:#c22}.exam-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:#dbe8f4}.exam-tab{display:flex;align-items:center;gap:20px;border-bottom:1px solid #4e94bc;background:linear-gradient(#fff,#d9e4eb);padding:8px 12px;font-size:14px}.exam-tab b{flex:1 1}.exam-tab button{border:0;background:none;color:#225c8e;cursor:pointer}.exam-type{padding:18px 22px;border-bottom:1px solid #a2bfd5;font-size:20px;font-weight:700}.exam-type small{display:block;font-size:15px;font-weight:400;margin-top:8px}.exam-question{flex:1 1;overflow:auto;padding:24px 28px;white-space:normal;line-height:1.7}.exam-question h2{font-size:21px;margin:0 0 20px}.exam-source{font-size:13px;color:#52718a;margin:0 0 18px}.exam-material,.exam-stem{font-size:20px;white-space:pre-wrap;overflow-wrap:anywhere}.exam-material{margin-bottom:20px;padding:16px;background:#edf5fc;font-size:17px}.exam-options{margin-top:24px;display:grid;gap:12px;font-size:19px}.exam-options label{display:flex;gap:12px;align-items:baseline;cursor:pointer;white-space:pre-wrap}.exam-options input{accent-color:#2367ac;width:18px;height:18px;flex-shrink:0}.exam-writing{display:flex;flex-direction:column;margin-top:28px;gap:10px;font-size:16px}.exam-writing textarea{width:100%;min-height:280px;resize:vertical;padding:16px;border:1px solid #6b9ac1;background:#fff;color:#111;line-height:1.8;font-size:18px;box-sizing:border-box}.exam-writing small{font-size:13px;color:#536477}.exam-asset{max-width:100%;max-height:600px;object-fit:contain;display:block;margin:18px 0}.exam-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-top:1px solid #9bb8cf;background:#d1e4f4;font-size:14px}.exam-footer button{min-width:90px;background:linear-gradient(#fff,#a9c9e7);padding:7px 16px;border:1px solid #8baeca;color:#15446d}.exam-shell button{cursor:pointer}.exam-shell button:disabled,.practice-config button:disabled{cursor:not-allowed;opacity:.5}.exam-feedback{background:#fff;border:1px solid #9dbbd3;padding:20px;margin-top:30px;white-space:pre-wrap}.exam-feedback h3{color:#1b6594}.nav-hidden{grid-template-columns:0 minmax(0,1fr)}.nav-hidden .exam-nav{visibility:hidden;padding:0;border:0}.exam-modal{position:absolute;inset:0;background:#0007;display:grid;place-items:center;z-index:10}.exam-modal section{max-width:520px;margin:20px;background:white;padding:28px;box-shadow:0 12px 40px #0003;border-radius:8px}.exam-modal button{margin:14px 16px 0 0;padding:10px 22px;border:1px solid #3979ac;background:#e5f1ff;color:#163c5b}.exam-modal p{line-height:1.7}.exam-summary{font-weight:700}@media(max-width:850px){.exam-shell{grid-template-columns:190px minmax(0,1fr);grid-template-rows:120px minmax(0,1fr)}.exam-header{gap:10px;padding:10px}.exam-person{min-width:0;font-size:13px}.exam-avatar{display:none}.exam-header h1{font-size:17px}.exam-time{min-width:150px}.exam-time button{padding:8px}.exam-question{padding:18px}.exam-type{font-size:17px}.exam-stem{font-size:18px}.practice-config{grid-template-columns:1fr}.nav-hidden{grid-template-columns:0 minmax(0,1fr)}}@media(max-width:550px){.exam-shell{grid-template-columns:130px minmax(0,1fr);grid-template-rows:130px minmax(0,1fr)}.exam-person{display:none}.exam-nav button{min-width:28px}.exam-footer{padding:10px;gap:5px;flex-wrap:wrap}.exam-footer button{min-width:70px;padding:6px}.exam-header h1{font-size:15px}.exam-type{padding:12px}.nav-hidden{grid-template-columns:0 minmax(0,1fr)}}.practice-config{display:flex;flex-direction:column;gap:18px;max-width:800px;margin:28px auto}.practice-config h2{margin:0;font-size:19px;font-weight:600}.practice-config>p{margin:0;color:#73737d;font-size:13px}.practice-config .practice-subject-title{text-align:center;font-size:22px;color:#393942;margin:8px 0 14px}.practice-config .practice-chapter-trigger{background:#fff;border:2px solid #e60023;color:#393942;font-size:22px}.practice-config .practice-check{display:flex;justify-content:space-between;background:#f5f5f7;border-radius:9px;padding:16px;gap:25px}.practice-check span{display:flex;flex-direction:column;gap:7px}.practice-check small{color:#73737d;font-weight:400;line-height:1.5}.practice-check input{width:24px;height:24px;flex-shrink:0;accent-color:#e60023}.practice-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.practice-modes button{background:white;color:#242429;border:1px solid #d8d9df;min-height:94px;font-weight:600;padding:16px 8px}.practice-modes button small{display:block;font-weight:400;font-size:13px;color:#73737d;margin-top:10px}.practice-modes button[aria-pressed=true]{border:2px solid #e60023}.practice-config .practice-start{width:65%;align-self:center;margin:12px 0 0;min-height:45px;font-weight:600}.practice-course-select{display:flex;gap:22px;margin:26px 0}.practice-course-select label{flex:1 1;display:flex;flex-direction:column;gap:9px;color:#71717a}.practice-course-select select{padding:12px;border:1px solid #d8d9df;border-radius:8px;background:white;color:#222;font-size:17px;max-width:100%}.practice-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.practice-statistics>div{display:flex;flex-direction:column;gap:14px;background:#e7f5ff;border-radius:12px;padding:24px;text-align:center;color:#25648e}.practice-statistics>div:nth-child(2){background:#e8f9f5;color:#207b6e}.practice-statistics>div:nth-child(3){background:#efedff;color:#6557a3}.practice-statistics strong{font-size:32px}.practice-statistics small{opacity:.8}.practice-books{display:flex;gap:18px;margin:25px 0}.practice-books button{flex:1 1;display:flex;flex-direction:column;gap:12px;align-items:center;border:1px solid #dedee3;border-radius:10px;background:white;padding:20px;cursor:pointer;color:#333}.practice-books b{color:#e60023;font-size:20px}.practice-calendar{background:white;border:1px solid #e5e5e8;border-radius:12px;padding:24px}.practice-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.practice-calendar h2{font-size:21px;margin:0}.practice-calendar-head>div{display:flex;gap:10px;align-items:center}.practice-calendar-head button{background:none;border:0;font-size:24px;padding:5px 14px;cursor:pointer}.practice-calendar-head input{padding:5px;border:0;background:white;font-size:17px}.practice-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:10px;margin-top:20px}.practice-calendar-grid span{position:relative;padding:9px;font-size:16px;color:#666;min-height:32px}.practice-calendar-grid .today{font-weight:700;color:#e60023;background:#fff0f3;border-radius:8px}.practice-calendar-grid .checked{color:#138752}.practice-calendar-grid i{position:absolute;bottom:0;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#12a068}.practice-calendar p{text-align:center;color:#777;font-size:12px;margin:18px 0 0}.calendar-expand{display:block;margin:14px auto 0;border:0;background:none;color:#888;cursor:pointer}.practice-chapter-modal{position:fixed;inset:0;z-index:1100;display:flex;justify-content:center;align-items:center;background:#0006}.practice-chapter-modal>section{width:min(680px,94vw);max-height:90vh;overflow:auto;background:#f7f7f9;border-radius:14px;padding:24px;box-sizing:border-box}.chapter-modal-head{display:flex;align-items:center;justify-content:space-between}.chapter-modal-head h2{margin:0}.chapter-modal-head button{border:0;background:none;font-size:16px}.practice-chapter-modal input{width:100%;padding:14px;box-sizing:border-box;background:white;border:1px solid #ddd;border-radius:8px;margin:18px 0}.chapter-parent>button,.practice-chapter-modal .chapter-child,.practice-chapter-modal section>button{display:block;text-align:left;padding:18px;border:1px solid #eee;border-radius:8px;background:white;color:#242429;width:100%;margin:10px 0;font-size:16px;cursor:pointer}.practice-chapter-modal small{display:block;color:#888;font-size:13px;margin-top:8px}.chapter-parent{display:flex;align-items:stretch;gap:6px}.chapter-parent>button:last-child:not(:first-child){width:80px;flex-shrink:0;text-align:center;font-size:14px;color:#888}.practice-chapter-modal .chosen{border:2px solid #e60023;background:#fff7f8}.practice-chapter-modal .chapter-child{width:94%;margin-left:6%}.exam-options .selected{background:#c5dff7}.exam-options .correct{background:#d5f3e1;color:#096237}.exam-options .wrong{background:#ffe0e5;color:#ac1831}.exam-options label{padding:8px;border-radius:5px}.exam-history{font-size:13px;background:#e7f2fc;padding:12px;line-height:1.7;color:#4c6680}.exam-image-button{display:inline-block;background:none;border:0;padding:0;max-width:100%;cursor:zoom-in}.exam-image-button img{display:block;max-width:100%;max-height:640px;object-fit:contain}.exam-image-error{display:block;padding:16px;background:#fff4dc;color:#8a5e00}.exam-image-zoom{position:fixed;inset:0;background:#000e;z-index:2000;display:flex;align-items:center;justify-content:center;overflow:auto}.exam-image-zoom button{position:absolute;top:20px;right:20px;padding:12px;z-index:1}.exam-image-zoom img{max-width:96vw;max-height:92vh;object-fit:contain}.exam-return{margin:16px 12px;padding:10px 18px;background:#d6e9fa;border:1px solid #9bbbd7;color:#15446d}.exam-wrong-actions button{padding:10px 20px;border:1px solid #26825b;color:#177148;background:#e8fff4}.exam-feedback>div,.exam-stem{white-space:pre-wrap}.exam-question .exam-options span{min-width:0}.exam-footer button{min-height:38px}.exam-footer span{font-size:12px}@media(max-width:650px){.practice-lobby{margin:10px auto;padding:15px}.practice-course-select{flex-direction:column}.practice-statistics{gap:8px}.practice-statistics>div{padding:18px 8px}.practice-statistics b{font-size:12px}.practice-statistics strong{font-size:25px}.practice-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-calendar{padding:15px}.practice-calendar-head h2{font-size:17px}.practice-calendar-head input{font-size:14px}.practice-calendar-head button{padding:4px 8px}.practice-calendar-grid{gap:4px}.practice-books{gap:8px}.practice-books button{padding:16px 8px}.practice-config{padding:20px}.exam-footer{flex-wrap:wrap;justify-content:space-around}.exam-footer button{padding:6px 10px;min-width:65px}}.exam-shell{font-family:Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif}.exam-shell h1,.exam-shell h2,.exam-shell h3,.exam-shell h4{font-family:inherit;font-weight:600;letter-spacing:normal}.exam-shell button,.exam-shell input,.exam-shell select,.exam-shell textarea{font-family:inherit}.exam-avatar{width:58px;height:58px;aspect-ratio:1/1;overflow:hidden;color:#e7f3ff;flex-shrink:0}.exam-avatar img{display:block;width:100%;height:100%;object-fit:cover}.exam-avatar svg{display:block;width:82%;height:82%}.exam-setup .setup-home{flex-shrink:0;color:#fff;border:1px solid #c9e4ff;background:linear-gradient(#6ba8df,#2f78b3);padding:10px 20px;text-decoration:none;font-size:14px}.exam-setup .exam-header{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,2fr) minmax(230px,1fr);grid-template-areas:"home title person"}.exam-setup .setup-home{grid-area:home;justify-self:start}.exam-setup .exam-header h1{grid-area:title;min-width:0;max-width:none;justify-self:stretch;text-align:center}.exam-setup .exam-header .exam-person{grid-area:person;justify-self:end;min-width:0}.exam-setup .exam-header .exam-avatar{display:grid}.setup-content{flex:1 1;min-height:0;overflow:auto;padding:28px 36px}.setup-nav .practice-course-select{display:flex;flex-direction:column;margin:0;padding:18px 14px;gap:16px}.setup-nav .practice-course-select label{color:#244d70;font-size:14px}.setup-nav .practice-course-select select{width:100%;font-size:15px;border:1px solid #9dbed9;border-radius:0;background:#fff;padding:10px 6px}.exam-nav .setup-navigation{display:flex;flex-direction:column;padding:14px;gap:12px}.setup-nav .setup-navigation button{width:100%;text-align:left;padding:12px;text-decoration:none;background:linear-gradient(#f8fcff,#d2e5f5);color:#154d78;border:1px solid #9cbdd8}.setup-nav .setup-navigation button[aria-pressed=true]{background:linear-gradient(#ffefbd,#f7bc5a);border-color:#b47c27;color:#543307;font-weight:700}.setup-nav .practice-books{display:flex;flex-direction:column;margin:0;padding:14px;gap:12px}.setup-nav .practice-books button{display:flex;flex-direction:row;justify-content:space-between;text-decoration:none;border-radius:0;background:linear-gradient(#fff,#dbeaf8);padding:12px;color:#154d78}.setup-nav .practice-books b{font-size:14px;color:#315d7d}.setup-nav .setup-instructions{color:#52718a;font-size:12px;line-height:1.9}.exam-setup .practice-config{margin:0 auto;max-width:960px;background:transparent;border:0;border-radius:0;padding:0;gap:22px}.exam-setup .practice-config h2{font-size:20px;color:#163f5f;border-bottom:1px solid #a0bfd7;padding-bottom:12px}.exam-setup .practice-config .practice-subject-title{font-size:24px;color:#163f5f;font-weight:600;margin:0 0 6px}.exam-setup .practice-config>p{color:#526e84}.exam-setup .practice-config .practice-chapter-trigger{border:1px solid #7ea9cc;border-radius:0;background:linear-gradient(#fff,#e2effa);color:#18496f;font-size:19px;min-height:52px}.exam-setup .practice-config .practice-check{background:#eaf3fb;border:1px solid #b4cde0;border-radius:0;padding:16px 20px}.exam-setup .practice-check small,.exam-setup .practice-modes button small{color:#567188}.exam-setup .practice-check input{accent-color:#2367ac}.exam-setup .practice-modes button{border:1px solid #8eb4d3;border-radius:0;background:linear-gradient(#f8fcff,#d5e7f7);color:#183d5b;min-height:86px}.exam-setup .practice-modes button[aria-pressed=true]{border:2px solid #c78a25;background:linear-gradient(#fff2ce,#ffd27f);color:#563509}.exam-setup .practice-config select{border-radius:0;border-color:#8eb4d3}.exam-setup .practice-config .practice-start{background:linear-gradient(#ffedac,#f7ad35);color:#35210b;border:1px solid #a46d21;border-radius:0;max-width:340px;min-height:48px;margin-top:6px}.exam-setup a:focus-visible,.exam-setup button:focus-visible,.exam-setup select:focus-visible{outline:3px solid #185f9c;outline-offset:3px}.setup-progress{max-width:1040px;margin:0 auto;display:grid;gap:28px}.exam-setup .practice-calendar{background:#eef6fd;border:1px solid #9fbfd8;border-radius:0}.exam-setup .practice-calendar-head input{background:transparent;color:#204e73}.exam-setup .practice-calendar-grid .today{color:#164e7b;background:#cce2f5}.exam-setup .practice-statistics>div{border:1px solid #abc7dc;border-radius:0;background:#e7f3fc;color:#235f89}.exam-setup .practice-statistics>div:nth-child(2){background:#e1f1ee;color:#256d60}.exam-setup .practice-statistics>div:nth-child(3){background:#e8eaf7;color:#535b94}.setup-empty{padding:20px;line-height:1.8;color:#31556f}body:has(.exam-setup) .auth-overlay{z-index:1300}.exam-shell .exam-footer{position:relative;justify-content:center;gap:0;min-height:74px}.exam-footer>label{position:absolute;left:22px;display:flex;align-items:center;gap:6px}.exam-actions{display:flex;justify-content:center;align-items:center;gap:14px;max-width:100%}.exam-footer .exam-actions button{min-width:114px;min-height:42px;padding:10px 18px;border:1px solid #10558b;background:#1769aa;color:#fff;font-size:15px;font-weight:600;box-shadow:0 2px 4px #17486926}.exam-footer .exam-actions .exam-submit{background:#ffb638;border-color:#be7a0b;color:#352509}.exam-footer .exam-actions button:not(:disabled):hover{background:#10568d}.exam-footer .exam-actions .exam-submit:not(:disabled):hover{background:#ffa916}.exam-shell .exam-footer .exam-actions button:disabled{background:#dbe3eb;border-color:#b6c4d1;color:#8392a0;opacity:1;box-shadow:none}.exam-nav .exam-return{display:block;width:calc(100% - 40px);max-width:260px;min-height:44px;margin:24px auto;padding:12px 14px;border:1px solid #10558b;background:#1769aa;color:#fff;font-weight:600;text-decoration:none;text-align:center;box-shadow:0 2px 4px #17486926}.exam-nav .exam-return:not(:disabled):hover{background:#10568d}@media(max-width:850px){.exam-shell .exam-footer{flex-direction:column;gap:10px}.exam-footer>label{position:static;align-self:flex-start}.exam-actions{gap:8px;width:100%}.exam-footer .exam-actions button{min-width:0;max-width:140px;flex:1 1;padding:9px 8px;font-size:14px}.exam-nav .exam-return{width:calc(100% - 20px);padding:12px 6px;font-size:12px}.setup-content{padding:22px}.setup-nav .practice-course-select{padding:12px 8px}.setup-nav .practice-course-select select{font-size:13px}.exam-setup .setup-home{padding:9px 12px}.exam-setup .practice-config{padding:0}.exam-setup .exam-tab span{display:none}}@media(max-width:550px){.exam-setup{grid-template-columns:150px minmax(0,1fr);grid-template-rows:105px minmax(0,1fr)}.setup-content{padding:16px 12px}.exam-setup .exam-header h1{font-size:16px}.exam-setup .setup-home{padding:8px;font-size:12px}.exam-setup .practice-config{gap:16px}.exam-setup .practice-modes{grid-template-columns:1fr}.exam-setup .practice-config .practice-check{padding:12px;gap:10px}.exam-setup .practice-check small{font-size:11px}.exam-setup .practice-config .practice-start{width:100%}.setup-nav .practice-books button,.setup-nav .setup-navigation button{font-size:12px;padding:9px}.exam-setup .practice-statistics{grid-template-columns:1fr}.exam-setup .practice-calendar-head{flex-direction:column;align-items:flex-start}.exam-setup .practice-calendar-grid{gap:0}.exam-setup .practice-calendar-grid span{font-size:12px;padding:5px 0}.exam-setup .practice-calendar-head input{min-width:0;width:112px}.exam-setup .practice-calendar-head button{padding:4px}.exam-setup .practice-config h2{font-size:17px}.exam-setup .practice-config .practice-subject-title{font-size:20px}}@media(max-width:850px){.exam-setup{grid-template-rows:144px minmax(0,1fr)}.exam-setup .exam-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"home person" "title title";gap:8px 14px}.exam-setup .exam-header .exam-person{display:flex;font-size:12px;gap:8px}.exam-setup .exam-person>div{min-width:0;overflow-wrap:anywhere}.exam-setup .exam-person small{display:none}.exam-setup .exam-header .exam-avatar{width:38px;height:38px}.exam-setup .exam-header h1 small{font-size:12px;margin-top:5px}}