.cbt-reference{min-height:100vh;background:#fff;color:#333;font-family:Arial,Helvetica,sans-serif}
.cbt-candidate-header{min-height:120px;display:flex;align-items:center;gap:10px;padding:14px max(30px,calc((100vw - 1360px)/2));background-color:#f4f4f4;background-image:linear-gradient(112deg,transparent 24%,#ddd8 24.2%,transparent 24.8%),linear-gradient(20deg,transparent 62%,#e2e2e288 62.2%,transparent 62.8%),linear-gradient(150deg,transparent 72%,#dedede66 72.2%,transparent 72.8%);border-bottom:1px solid #eee}
.cbt-candidate-photo{width:96px;height:96px;border:2px solid #777;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fafafa;color:#5d5d5d}
.cbt-candidate-details{margin:0;min-width:0;font-size:17px;line-height:1.23;flex:1}
.cbt-candidate-details>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.cbt-candidate-details dt{width:146px;flex-shrink:0;font-weight:400;color:#535353}
.cbt-candidate-details dt:after{content:':';float:right}
.cbt-candidate-details dd{margin:0;font-weight:600;color:#ff8513;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cbt-time{display:inline-flex;align-items:center;justify-content:center;color:white;background:#009ccb;padding:1px 12px;border-radius:16px;font-variant-numeric:tabular-nums;letter-spacing:.02em;font-weight:500;font-size:18px}
.cbt-time.urgent{background:#d64724}
.cbt-header-brand{display:flex;gap:10px;align-items:center;margin:0 20px}
.cbt-header-brand img{width:66px;height:66px;object-fit:contain}
.cbt-header-brand strong{display:block;color:#24234d;font-size:15px;white-space:nowrap}
.cbt-header-brand small{display:block;color:#777;font-size:10px;max-width:160px;overflow-wrap:anywhere}
.cbt-header-actions{display:flex;flex-direction:column;gap:9px;width:145px;align-items:stretch}
.cbt-header-actions select{height:36px;border-radius:0;font-size:14px;color:#5c5c5c;padding:5px 12px}
.cbt-login{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#504967;background:white;border:1px solid #d6d3de;padding:6px 10px;white-space:nowrap}
.cbt-login:hover{background:#f8f8fb}
.cbt-subject-tabs{min-height:42px;display:flex;align-items:stretch;gap:3px;max-width:1360px;width:calc(100% - 60px);margin:auto;border-bottom:1px solid #e5e5e5}
.cbt-subject-tabs>button:not(.cbt-mobile-palette){font-size:12px;font-weight:600;letter-spacing:.04em;color:#737373;padding:9px 22px;border-bottom:3px solid transparent;text-transform:uppercase}
.cbt-subject-tabs>button.active{border-bottom-color:#008dc5;color:#0088bf;background:#f6fbfe}
.cbt-subject-tabs>span{margin-left:auto;align-self:center;font-size:10px;color:#8b8b8b;padding:0 10px}
.cbt-mobile-palette,.cbt-mobile-close{display:none}
.cbt-exam-layout{max-width:1360px;width:calc(100% - 60px);margin:0 auto;padding:22px 0 10px;display:grid;grid-template-columns:minmax(0,2.15fr) 28px minmax(320px,1fr);gap:14px;align-items:start}
.cbt-main-question{min-width:0;padding:0 0 0 6px}
.cbt-question-scroll{height:max(340px,calc(100vh - 355px));max-height:660px;min-height:340px;overflow-y:auto;padding:27px 12px 0 12px;scrollbar-width:thin;scrollbar-color:#bbb #fafafa}
.cbt-question-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #555;padding:0 0 9px;margin-bottom:21px}
.cbt-question-title h2{font-size:23px;font-weight:700;letter-spacing:0;line-height:1.2}
.cbt-question-title>div{display:flex;align-items:center;gap:16px}
.cbt-question-title small{font-size:11px;color:#888;letter-spacing:.01em}
.cbt-scroll-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#0058ff;color:#fff;flex-shrink:0}
.cbt-scroll-button:hover{background:#0646bd}
.cbt-statement{font-size:17px;line-height:1.8;margin-bottom:25px;min-height:38px}
.cbt-option-content{display:grid;grid-template-columns:1fr 1fr;gap:20px 35px;padding:0 8px;margin:12px 0 25px}
.cbt-option-content>div{display:flex;gap:13px;align-items:flex-start;min-width:0;padding:8px 6px;border-radius:3px}
.cbt-option-content>div.chosen{background:#f1f8fc}
.cbt-option-content>div>span{font-size:15px;padding-top:3px;color:#444;flex-shrink:0}
.cbt-option-content .rich-content{font-size:17px;flex:1;min-width:0}
.cbt-option-content .rich-content p{margin:0}
.cbt-option-content img{max-height:190px}
.cbt-answer-row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:25px 8px 35px}
.cbt-answer-row label{margin:0;display:flex;flex-direction:row;align-items:center;gap:8px;font-size:18px;font-weight:400;color:#555;cursor:pointer;min-height:32px}
.cbt-answer-row input[type=radio]{width:16px;height:16px;accent-color:#1677bd}
.cbt-question-bottom{border-top:1px solid #555;padding:4px 0 8px;display:flex;justify-content:flex-end;min-height:47px}
.cbt-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border-top:1px solid #bbb;margin:17px 12px 0;padding:12px 14px 16px}
.cbt-action{display:inline-flex;align-items:center;justify-content:center;font-family:Arial,Helvetica,sans-serif;font-size:12px;letter-spacing:.065em;font-weight:700;text-transform:uppercase;min-height:40px;padding:9px 13px;border:1px solid transparent;border-radius:0;white-space:nowrap;line-height:1.3}
.cbt-action:focus-visible,.cbt-login:focus-visible{outline:2px solid #008dc5;outline-offset:3px}
.cbt-green{background:#59b65c;border-color:#48a34b;color:white}
.cbt-green:hover:not(:disabled){background:#439c47}
.cbt-clear{background:#fff;border-color:#ccc;color:#363636}
.cbt-clear:hover:not(:disabled){background:#f2f2f2}
.cbt-orange{background:#f3af47;border-color:#e6a03b;color:white}
.cbt-orange:hover:not(:disabled){background:#df9830}
.cbt-blue{background:#337eb8;border-color:#2b70aa;color:white}
.cbt-blue:hover:not(:disabled){background:#276596}
.cbt-bottom-navigation{display:flex;align-items:center;justify-content:space-between;background:#f4f4f4;border-top:1px solid #dcdcdc;padding:13px 18px;margin:0 0 0 0;gap:16px}
.cbt-bottom-navigation>div{display:flex;gap:0}
.cbt-bottom-navigation>div>button+button{border-left:0}
.cbt-save-footnote{font-size:10px;color:#929292;margin:11px 15px}
.cbt-collapse-toggle{display:flex;align-items:center;justify-content:center;background:#000;color:white;padding:0;width:28px;height:48px;align-self:start;margin-top:252px}
.cbt-right-panel{min-width:0;padding:0 1px;position:relative}
.cbt-status-legend{border:3px dotted #707070;padding:20px 22px;display:grid;grid-template-columns:1fr 1fr;gap:24px 18px}
.cbt-status-legend>div{display:flex;align-items:flex-start;gap:15px;color:#595959;font-size:16px;line-height:1.5}
.cbt-status-legend>div>span:last-child{flex:1;padding-top:3px}
.cbt-status-legend .wide-status{grid-column:1/-1}
.wide-status small{display:block;font-size:15px;line-height:1.55}
.cbt-state{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:47px;height:39px;font-size:16px;font-weight:400;color:#282828;border:1px solid #b0b0b0;border-radius:5px;box-shadow:inset 0 0 0 1px #fff7,0 1px 2px #0002;line-height:1;isolation:isolate}
.cbt-state.unvisited{background:linear-gradient(#e9e9e9,#f3f3f3);color:#242424;border-color:#aaa}
.cbt-state.unanswered{border:0;background:linear-gradient(100deg,#fa5205,#dd3900);color:white;clip-path:polygon(0 0,100% 17%,100% 80%,0 100%);border-radius:0;box-shadow:inset 2px 1px 2px #ff9554,inset -2px -2px 2px #ad3003}
.cbt-state.answered{border:0;background:linear-gradient(100deg,#24c609,#15a901);color:white;clip-path:polygon(0 0,100% 17%,100% 80%,0 100%);border-radius:0;box-shadow:inset 2px 1px 2px #5feb3c,inset -2px -2px 2px #168500}
.cbt-state.review,.cbt-state.answered-review{height:43px;width:43px;border-radius:50%;background:radial-gradient(circle at 25% 12%,#c2a3e1,#762ac1 50%,#4d078e);border:1px solid #612c98;color:#fff;box-shadow:inset 0 1px 2px #e9dfff}
.cbt-state.answered-review:after{content:'✓';position:absolute;right:0;bottom:0;width:13px;height:13px;line-height:11px;font-size:10px;text-align:center;color:white;background:#1abc19;border:1px solid #fff;border-radius:2px}
.cbt-palette-section-heading{display:flex;justify-content:space-between;align-items:center;color:#777;font-size:10px;padding:21px 12px 12px;letter-spacing:.06em}
.cbt-palette-section-heading strong{font-size:10px;font-weight:600;color:#666}
.cbt-palette-section-heading>span{font-size:10px;letter-spacing:0;color:#999}
.cbt-palette-numbers{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px 3px;padding:10px 12px 14px;max-height:max(210px,calc(100vh - 460px));overflow-y:auto;scrollbar-width:thin}
.cbt-palette-numbers .cbt-state{width:100%;height:37px;font-size:14px;min-width:0;aspect-ratio:auto}
.cbt-palette-numbers .cbt-state.review,.cbt-palette-numbers .cbt-state.answered-review{width:37px;justify-self:center}
.cbt-palette-numbers .cbt-state.current{font-weight:700}
.cbt-palette-numbers .cbt-state.current.unvisited,.cbt-palette-numbers .cbt-state.current.review,.cbt-palette-numbers .cbt-state.current.answered-review{outline:2px solid #008dc5;outline-offset:1px}
.cbt-palette-numbers button:focus-visible{outline:2px solid #008dc5;outline-offset:2px}
.cbt-palette-note{font-size:10px;color:#999;text-align:center;margin-top:8px;line-height:1.7}
.cbt-exam-layout.palette-collapsed{grid-template-columns:minmax(0,1fr) 28px}
.cbt-exam-layout.palette-collapsed>.cbt-right-panel{display:none}
@media(min-width:1500px){.cbt-action{font-size:14px;padding:10px 15px}.cbt-status-legend>div{font-size:18px}.cbt-palette-numbers .cbt-state{font-size:16px}.cbt-candidate-details{font-size:19px}.cbt-candidate-details dt{width:160px}.cbt-option-content{gap:28px 45px}}
@media(max-width:1200px){.cbt-candidate-header{padding:12px 25px}.cbt-candidate-photo{width:82px;height:82px}.cbt-candidate-details{font-size:15px}.cbt-candidate-details dt{width:128px}.cbt-candidate-details dd{max-width:280px}.cbt-header-brand{margin:0 6px}.cbt-header-brand img{width:51px;height:51px}.cbt-header-brand strong{font-size:12px}.cbt-header-actions{width:125px}.cbt-exam-layout{width:calc(100% - 40px);grid-template-columns:minmax(0,2fr) 24px minmax(290px,1fr);gap:10px}.cbt-collapse-toggle{width:24px}.cbt-status-legend{padding:16px 14px;gap:20px 12px}.cbt-status-legend>div{font-size:14px;gap:10px}.wide-status small{font-size:12px}.cbt-status-legend .cbt-state{width:40px;height:35px;font-size:15px}.cbt-status-legend .cbt-state.review,.cbt-status-legend .cbt-state.answered-review{width:37px;height:37px}.cbt-palette-numbers{grid-template-columns:repeat(7,minmax(0,1fr));padding:8px 7px}.cbt-palette-numbers .cbt-state{height:35px;font-size:13px}.cbt-action{font-size:10px;padding:9px 10px}.cbt-save-actions{padding:12px 0;gap:5px}.cbt-statement{font-size:16px}.cbt-option-content .rich-content{font-size:16px}}
@media(max-width:950px){.cbt-header-brand>div{display:none}.cbt-candidate-details dd{max-width:230px}.cbt-exam-layout{grid-template-columns:minmax(0,1fr) 22px minmax(260px,.65fr)}.cbt-status-legend{padding:14px 10px;gap:20px 10px}.cbt-status-legend>div{font-size:12px;gap:9px}.cbt-status-legend .cbt-state{width:35px;height:32px;font-size:14px}.cbt-status-legend .cbt-state.review,.cbt-status-legend .cbt-state.answered-review{width:33px;height:33px}.wide-status small{font-size:11px}.cbt-option-content{gap:16px 20px}.cbt-option-content .rich-content{font-size:15px}.cbt-palette-numbers{grid-template-columns:repeat(6,minmax(0,1fr))}.cbt-question-scroll{padding-left:5px;padding-right:5px}.cbt-save-actions{margin-left:0;margin-right:0}.cbt-save-actions>.cbt-action{flex-grow:1;font-size:10px;padding:10px 7px}.cbt-statement{font-size:16px}.cbt-question-title h2{font-size:21px}.cbt-subject-tabs>span{font-size:9px}.cbt-question-title small{display:none}}
@media(max-width:760px){.cbt-candidate-header{min-height:115px;padding:12px 16px;gap:8px}.cbt-candidate-photo{width:66px;height:80px}.cbt-candidate-photo svg{width:47px;height:47px}.cbt-candidate-details{font-size:12px}.cbt-candidate-details dt{width:104px}.cbt-candidate-details>div{gap:5px;line-height:1.55}.cbt-candidate-details dd{max-width:220px}.cbt-time{font-size:14px;padding:0 10px}.cbt-header-brand{display:none}.cbt-header-actions{width:120px}.cbt-header-actions select{font-size:12px;height:31px;padding:4px 8px}.cbt-login{font-size:10px;padding:6px;gap:4px}.cbt-subject-tabs{width:calc(100% - 28px);gap:0}.cbt-subject-tabs>button:not(.cbt-mobile-palette){font-size:10px;padding:9px 14px}.cbt-subject-tabs>span{display:none}.cbt-mobile-palette{display:flex;align-items:center;justify-content:center;margin-left:auto;color:#555;padding:7px}.cbt-exam-layout,.cbt-exam-layout.palette-collapsed{width:calc(100% - 28px);display:block;padding-top:12px}.cbt-collapse-toggle{display:none}.cbt-right-panel,.cbt-exam-layout.palette-collapsed>.cbt-right-panel{display:none}.cbt-right-panel.mobile-open,.cbt-exam-layout.palette-collapsed>.cbt-right-panel.mobile-open{display:block;position:fixed;inset:0 0 0 auto;width:min(390px,95vw);z-index:55;background:white;padding:54px 15px 20px;box-shadow:-8px 0 35px #0003;overflow-y:auto}.cbt-mobile-close{display:flex;position:absolute;right:18px;top:15px;padding:5px;color:#555}.cbt-status-legend>div{font-size:15px}.cbt-palette-numbers{grid-template-columns:repeat(7,1fr);max-height:55vh;gap:6px}.cbt-palette-numbers .cbt-state{height:38px;font-size:14px}.cbt-main-question{padding:0}.cbt-question-scroll{height:max(340px,calc(100vh - 345px));max-height:none;padding:18px 4px 0}.cbt-question-title h2{font-size:22px}.cbt-statement{font-size:16px}.cbt-option-content .rich-content{font-size:16px}.cbt-save-actions>.cbt-action{font-size:11px;min-height:40px;padding:9px 12px}.cbt-save-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-bottom:12px}.cbt-bottom-navigation{padding:12px}.cbt-bottom-navigation .cbt-action{font-size:11px;padding:9px 12px}}
@media(max-width:480px){.cbt-candidate-header{padding:10px 12px;flex-wrap:wrap;min-height:125px}.cbt-candidate-photo{width:57px;height:75px}.cbt-candidate-photo svg{width:44px}.cbt-candidate-details{font-size:11px;flex:1}.cbt-candidate-details dt{width:96px}.cbt-candidate-details dd{max-width:calc(100vw - 194px)}.cbt-header-actions{width:100%;flex-direction:row;justify-content:space-between;padding-top:3px}.cbt-header-actions select{width:105px;height:29px;font-size:11px}.cbt-login{font-size:10px;padding:4px 8px}.cbt-subject-tabs>button:not(.cbt-mobile-palette){font-size:9px;padding:8px 12px}.cbt-exam-layout{padding-top:8px}.cbt-question-title{margin-bottom:20px}.cbt-question-title h2{font-size:20px}.cbt-scroll-button{width:28px;height:28px}.cbt-scroll-button svg{width:19px;height:19px}.cbt-question-scroll{height:auto;max-height:calc(100vh - 290px);min-height:320px}.cbt-statement{font-size:15px}.cbt-option-content{gap:12px 18px;padding:0;margin:15px 0 20px}.cbt-option-content>div{padding:6px 2px;gap:7px}.cbt-option-content>div>span{font-size:13px}.cbt-option-content .rich-content{font-size:15px}.cbt-answer-row{padding:20px 2px 28px;gap:7px}.cbt-answer-row label{font-size:16px;gap:5px}.cbt-save-actions>.cbt-action{font-size:9px;padding:10px 5px;letter-spacing:.035em}.cbt-bottom-navigation{padding:10px 9px}.cbt-bottom-navigation .cbt-action{font-size:10px;padding:9px 10px}.cbt-save-footnote{font-size:8px;margin:8px 0}.cbt-time{font-size:13px}}
