.cbt-exam{z-index:60;color:#111;background:#fff;flex-direction:column;height:100dvh;font:14px/1.5 Meiryo,sans-serif;display:flex;position:fixed;inset:0;overflow:hidden}.cbt-exam button,.cbt-exam input,.cbt-exam select{font:inherit}.cbt-exam button{cursor:pointer;color:#111;background:#fafafa;border:1px solid #8e8e8e;border-radius:2px;min-height:28px;padding:3px 14px}.cbt-exam button:disabled{cursor:default;color:#888;background:#e8e8e8}.cbt-exam button:focus-visible,.cbt-exam input:focus-visible,.cbt-exam textarea:focus-visible,.cbt-exam select:focus-visible,.cbt-divider:focus-visible{outline-offset:2px;outline:3px solid #f0b600}.cbt-exam input[type=checkbox]{accent-color:#174b7f;flex-shrink:0;width:16px;height:16px}.cbt-exam input[type=range]{accent-color:#174b7f;min-width:30px;height:20px}.cbt-header{border-bottom:7px solid #ddd;flex-shrink:0;grid-template-columns:140px 1fr auto;align-items:center;gap:12px;padding:8px 14px;display:grid}.cbt-brand{color:#173757;font-size:20px;font-weight:700}.cbt-brand span{font-size:11px;font-weight:400;display:block}.cbt-heading{text-align:center}.cbt-heading h1{margin:0;font-size:16px;font-weight:400}.cbt-heading p{margin:2px 0 0}.cbt-header-right{flex-direction:column;align-items:end;gap:3px;display:flex}.cbt-header-right>div:first-child{background:0 0;border:0;border-radius:0;gap:4px;padding:0}.cbt-header-right [role=timer]{font-size:16px;font-weight:400}.cbt-header-actions{align-items:center;gap:8px;display:flex}.cbt-exam .cbt-header-actions button,.cbt-exam .cbt-footer button:not(.cbt-button-light):not(.cbt-button-document),.cbt-exam .cbt-window-close{color:#fff;background:#174b7f;border-color:#8ca0b5}.cbt-header-actions button{min-width:76px;min-height:24px;padding:1px 8px;font-size:12px}.cbt-invert{flex-direction:column;align-items:center;font-size:10px;display:flex}.cbt-main{grid-template-columns:minmax(0, var(--cbt-split)) 8px minmax(0, 1fr);border:7px solid #ddd;border-top:0;flex:1;min-height:0;display:grid;position:relative;overflow:hidden}.cbt-passage,.cbt-answers{background:#fff;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.cbt-divider{cursor:col-resize;touch-action:none;background:#ddd}.cbt-divider:hover{background:#adc1d6}.cbt-document{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.cbt-document-tools{background:#fff;border-bottom:1px solid #ddd;flex-wrap:wrap;flex-shrink:0;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:4px 6px;font-size:11px;display:flex}.cbt-document-tools label{align-items:center;gap:4px;display:inline-flex}.cbt-document-tools input[type=range]{width:100px}.cbt-document-tools label:nth-last-child(2) input{width:56px}.cbt-document-tools [role=group]{gap:2px;display:flex}.cbt-exam .cbt-document-tools button{min-height:22px;padding:0 5px}.cbt-exam .cbt-document-tools button[aria-pressed=true]{outline-offset:1px;outline:2px solid #192e47}.cbt-document-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:8px;overflow:auto}.cbt-morning-document{-webkit-user-select:none;user-select:none;padding:16px 24px 40px;font-size:16px;line-height:1.8}.cbt-morning-document h2{margin-bottom:12px;font-weight:700}.cbt-source-choices{gap:16px;margin-top:28px;display:grid}.cbt-source-choices li{grid-template-columns:24px minmax(0,1fr);gap:10px;display:grid}.cbt-source-citation{color:#666;margin-top:30px;font-size:10px;display:block}.cbt-pdf-sheet{background:#fff;flex-shrink:0;margin:0 auto 12px;position:relative}.cbt-pdf-sheet canvas{width:100%;height:100%;display:block}.cbt-pdf-message{background:#fff;padding:6px;position:absolute;top:8px;left:8px}.cbt-marker-layer{touch-action:none;cursor:crosshair;width:100%;height:100%;position:absolute;inset:0}.cbt-marker-layer[data-tool=pointer]{pointer-events:none}.cbt-marker-layer[data-tool=eraser]{cursor:cell}.cbt-response-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:16px 20px 32px;position:relative;overflow:auto}.cbt-prompt-label{align-items:start;gap:12px;margin:0 0 18px;font-weight:400;display:flex}.cbt-response-prompt{padding:12px 0 26px}.cbt-response-prompt+.cbt-response-prompt{border-top:1px solid #ddd}.cbt-response-field{margin:12px 0 0 20px}.cbt-response-field>p{margin:0 0 6px}.cbt-answer-buttons{gap:8px;padding:0 0 0 20px;display:grid}.cbt-response-field .cbt-answer-buttons{padding:0}.cbt-exam .cbt-answer-buttons button{border-color:#777;width:100%;min-height:30px;padding:3px 8px;font-size:15px}.cbt-exam .cbt-answer-buttons button[aria-pressed=true]{color:#fff;background:#14558e}.cbt-response-field input[type=text],.cbt-response-field select,.cbt-matrix select{background:#fff;border:1px solid #999;border-radius:0;width:100%;padding:5px}.cbt-multiple{gap:8px;display:grid}.cbt-multiple label{align-items:center;gap:8px;display:flex}.cbt-matrix>div{margin-bottom:12px}.cbt-unselected-notice,.cbt-warning{color:#ac1010;margin-bottom:12px}.cbt-footer{background:#d2d2d2;border:1px solid #999;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;display:flex}.cbt-footer>div{align-items:center;gap:8px;display:flex}.cbt-footer button{white-space:nowrap;min-width:100px}.cbt-exam .cbt-footer .cbt-button-document{color:#fff;background:#149800}.cbt-exam .cbt-footer button:disabled{color:#999;background:#ddd;border-color:#bbb}.cbt-exam .cbt-button-light[aria-pressed=true]{border-color:#b90000;box-shadow:inset 0 0 0 1px #b90000}.cbt-status{background:#fff;padding:24px;position:absolute;inset:0;overflow:auto}.cbt-status h2{margin:0 0 12px;font-size:18px;font-weight:700}.cbt-status-case{margin:20px 0}.cbt-status-case h3{align-items:center;gap:12px;margin:0 0 12px;display:flex}.cbt-status-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:14px;display:grid}.cbt-exam .cbt-status-item{background:#fff;min-height:42px}.cbt-exam .cbt-status-item[data-answered=true]{background:#b9ffbb}.cbt-exam .cbt-status-item[data-flagged=true]{border:2px solid #ed1818}.cbt-exam .cbt-status-item[data-current=true]{outline-offset:2px;outline:3px solid #eed900}.cbt-status-legend{font-size:12px}.cbt-save-error{background:#fff2df;flex-shrink:0;padding:5px 12px}.cbt-window{z-index:100;resize:both;background:#fff;border:2px solid #174b7f;border-radius:3px;flex-direction:column;min-width:230px;max-width:calc(100vw - 16px);min-height:160px;max-height:calc(100dvh - 20px);display:flex;position:absolute;overflow:hidden;box-shadow:0 8px 30px #0003}.cbt-window-tall{height:min(560px,75dvh)}.cbt-window-title{color:#fff;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none;background:#174b7f;flex-shrink:0;justify-content:space-between;align-items:center;min-height:28px;padding-left:8px;display:flex}.cbt-exam .cbt-window-title button{color:#fff;background:0 0;border:0;min-height:28px;padding:0 10px}.cbt-window-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.cbt-window-body>.cbt-document{flex-basis:0}.cbt-window-close{flex-shrink:0;align-self:center;min-width:100px;margin:6px}.cbt-window[data-transparent=true]{opacity:.55}.cbt-window[data-document=true]{border-color:#149800}.cbt-window[data-document=true] .cbt-window-title,.cbt-window[data-document=true] .cbt-window-close{background:#149800;border-color:#149800}.cbt-memo-body{flex-direction:column;flex:1;min-height:0;display:flex}.cbt-transparency{align-items:center;gap:8px;padding:3px 8px;font-size:12px;display:flex}.cbt-editor{flex-direction:column;min-width:0;display:flex}.cbt-memo-editor{flex:1;min-height:0}.cbt-editor-tools{background:#fafafa;border:1px solid #ddd;flex-wrap:wrap;align-items:center;gap:4px;padding:3px;font-size:11px;display:flex}.cbt-exam .cbt-editor-tools button{background:0 0;border:0;min-height:22px;padding:1px 3px}.cbt-exam .cbt-editor-tools .cbt-color-swatch{border:1px solid #ccc;width:18px;height:18px;min-height:18px}.cbt-editor-tools input{border:1px solid #777;width:min(150px,45%)}.cbt-editor-input{resize:both;background:repeating-linear-gradient(#fff,#fff 23px,#badcf0 23px 24px);border:1px solid #c3dbe9;width:100%;max-width:100%;height:120px;min-height:72px;position:relative;overflow:hidden}.cbt-memo-editor .cbt-editor-input{resize:none;flex:1;min-height:100px}.cbt-text-paint,.cbt-editor-input textarea{word-break:break-all;white-space:pre-wrap;scrollbar-gutter:stable;border:0;width:100%;height:100%;margin:0;padding:0 4px;font:14px/24px Meiryo,sans-serif;position:absolute;inset:0;overflow:auto}.cbt-text-paint{pointer-events:none;color:#0000}.cbt-text-paint pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.cbt-editor-input textarea{resize:none;color:#111;caret-color:#111;background:0 0}.cbt-counter{text-align:right;color:#666;margin:2px 0;font-size:10px}.cbt-ime-note{padding:2px 8px;font-size:10px}.cbt-calculator{padding:8px}.cbt-calc-size{justify-content:end;gap:6px;margin-bottom:8px;display:flex}.cbt-exam .cbt-calc-size button{min-height:22px;padding:1px 6px;font-size:11px}.cbt-calculator output{text-align:right;background:#fff;border:1px solid #bbb;margin-bottom:8px;padding:6px;font-size:22px;display:block}.cbt-calc-keys{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.cbt-exam .cbt-calc-keys button{color:#fff;background:#174b7f;min-height:36px;padding:3px}.cbt-exam .cbt-calculator[data-size=小] .cbt-calc-keys button{min-height:26px;font-size:12px}.cbt-exam .cbt-calculator[data-size=大] .cbt-calc-keys button{min-height:46px;font-size:20px}.cbt-instruction-tabs{background:#eee;flex-wrap:wrap;gap:4px;padding:6px;display:flex}.cbt-instructions{flex:1;padding:16px;overflow:auto}.cbt-instructions p{margin:10px 0;line-height:1.8}.cbt-confirm,.cbt-case-dialog{color:#111;background:#fff;border:2px solid #174b7f;border-radius:3px;width:520px;max-width:calc(100vw - 32px);margin:auto;padding:0;position:fixed;inset:0}.cbt-confirm::backdrop,.cbt-case-dialog::backdrop{background:#0005}.cbt-confirm{padding:20px}.cbt-confirm h2{margin-bottom:16px;font-size:18px}.cbt-confirm-buttons{justify-content:center;gap:24px;margin-top:24px;display:flex}.cbt-confirm-buttons button{width:100px}.cbt-case-dialog header{color:#fff;background:#174b7f;justify-content:space-between;align-items:center;padding-left:8px;display:flex}.cbt-case-content{padding:20px}.cbt-case-content p{margin-bottom:12px}.cbt-case-content fieldset{gap:14px;padding:8px 0;display:grid}.cbt-case-content label{align-items:center;gap:10px;display:flex}.cbt-case-dialog footer{text-align:center;background:#eee;padding:10px}.cbt-tabs{display:none}.cbt-inverted{filter:invert()hue-rotate(180deg)}@media (width<=899px){.cbt-header{grid-template-columns:1fr auto;gap:4px;padding:4px 8px}.cbt-brand{display:none}.cbt-heading{text-align:left}.cbt-heading h1{font-size:12px}.cbt-header-actions{gap:4px}.cbt-header-actions button{min-width:0;padding-inline:5px}.cbt-footer{flex-wrap:wrap;padding:6px}.cbt-footer button{min-width:0;padding-inline:10px}}@media (width<=649px){.cbt-header{flex-direction:column;align-items:stretch;display:flex}.cbt-heading{justify-content:space-between;display:flex}.cbt-header-right{flex-flow:wrap;justify-content:space-between}.cbt-tabs{background:#ddd;flex-shrink:0;gap:8px;padding:3px 8px;display:flex}.cbt-tabs button{flex:1}.cbt-tabs button[aria-selected=true]{background:#dbe8f5;border-color:#174b7f}.cbt-main{display:flex}.cbt-divider{display:none}.cbt-passage,.cbt-answers{width:100%}.cbt-passage[data-active=false],.cbt-answers[data-active=false]{display:none}.cbt-footer>div{flex:1;justify-content:center}.cbt-footer button{min-height:34px}.cbt-morning-document{padding:12px 6px 30px}.cbt-response-scroll{padding:12px}}
