/* ── vertical_supplementary_angles3_4（対ちょう角とほ角をつないで求めよう、単元仕様書 v1.4）── */
/* 画面：問題文、図（線、分かっている角の弧と数、角イ・角アの弧と名前）、図の注意、図の下の文、回答案内、数を入れる1欄と°、共通のテンキー（§5-3・§7）。 */
#question-text .vsa-q{display:block}
.vsa-main{margin:4px 0 6px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}
.vsa-figwrap{width:100%;max-width:400px}
.vsa-fig{display:block;width:100%;height:auto}
.vsa-fig .vsa-ln{fill:none;stroke:#1f2937;stroke-width:2.4;stroke-linecap:round}
.vsa-fig .vsa-arc{fill:none;stroke-width:2.2}
.vsa-fig .vsa-arc-known{stroke:#1d4ed8}
.vsa-fig .vsa-arc-bridge{stroke:#15803d;stroke-dasharray:4 2.5}
.vsa-fig .vsa-arc-target{stroke:#b91c1c}
.vsa-fig .vsa-lbl{font-size:15px;font-weight:800;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.vsa-fig .vsa-lbl-known{fill:#1e3a8a}
.vsa-fig .vsa-lbl-bridge{fill:#166534}
.vsa-fig .vsa-lbl-target{fill:#991b1b}
.vsa-note{margin:0;font-size:14px;font-weight:700;color:#475569;text-align:center;line-height:1.4;text-wrap:balance}
.vsa-note-same{color:#166534}
@media (max-width:360px){.vsa-note{font-size:12.5px}}
.vsa-alt{margin:2px 0 0;max-width:520px;font-size:14px;color:#334155;text-align:center;line-height:1.5;overflow-wrap:anywhere;text-wrap:balance}
.vsa-row-input{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:2px}
.vsa-input{width:5em;min-height:44px;font-size:1.3rem;padding:2px 6px;border:3px solid #1d4ed8;background:#eff6ff;border-radius:8px;text-align:center;font-family:inherit;box-sizing:border-box}
.vsa-input:disabled{background:#f8fafc;color:#111827;opacity:1;border-color:#94a3b8}
.vsa-input.vsa-ok,.vsa-input.vsa-ok:disabled{border:3px solid #15803d;background:#dcfce7}
.vsa-input.vsa-ng,.vsa-input.vsa-ng:disabled{border:3px dashed #b91c1c;background:#fff1f2}
.vsa-unit{font-weight:800;font-size:1.3rem}
.vsa-guide{margin:2px 0 0;font-size:16px;font-weight:700;text-align:center}
.vsa-guide[hidden]{display:none}
.vsa-msg{min-height:1.4em;margin:2px 0;color:#b45309;font-weight:700;text-align:center;line-height:1.4}
.vsa-msg:empty{min-height:0;margin:0}
.vsa-main .ufk-keypad{margin-top:4px}
.feedback.has-text.vsa-feedback{height:auto;min-height:40px;padding:4px 0;text-align:center;line-height:1.45}
.vsa-answer{margin:2px 0 6px;font-weight:800;font-size:17px}
.vsa-expl-text{margin:4px 0 6px;overflow-wrap:anywhere;word-break:normal;line-break:strict}
.vsa-score{margin:6px 0 2px;font-weight:800;color:#1e3a8a}
.vsa-example .vsa-ex-q{font-weight:700;margin:6px 0 2px;overflow-wrap:anywhere}
.vsa-example .vsa-ex-a{margin:2px 0 8px;overflow-wrap:anywhere}
#page-quiz.active:has(.vsa-main) #question-text{word-break:normal;overflow-wrap:anywhere;line-break:strict}
#page-quiz.active:has(.vsa-main) #hint-area .kp-card{display:flex;align-items:flex-start;gap:8px}
#page-quiz.active:has(.vsa-main) #hint-area .kp-head{margin-bottom:0;flex:none}
#page-quiz.active:has(.vsa-main) #hint-area .kp-title:empty{display:none}
#page-quiz.active:has(.vsa-main) #hint-area .kp-body{flex:1;min-width:0;padding-left:0}
#page-quiz:has(#question-text[data-unit="vertical_supplementary_angles3_4"]) .ufk-keypad{max-width:240px;width:100%}
#page-quiz:has(#question-text[data-unit="vertical_supplementary_angles3_4"]) .ufk-keypad .num-btn{font-family:var(--font-ui)}

/* 印刷：A4横・5列×2段・1ページ（§7）。題名の枠と記入欄、共通の問い、各問（番号と答え欄の行、図 46×34mm）、破線、答え（5列×2行）。 */
.vsa-pr-page{width:277mm;height:190mm;box-sizing:border-box;display:flex;flex-direction:column;padding:0;margin:0 auto 8mm;overflow:hidden;background:#fff;color:#000;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif}
.vsa-pr-headrow{display:flex;flex-direction:column;gap:0;flex:none}
.vsa-pr-headrow .pp-fields{height:7mm;margin:1mm 0 0}
.vsa-pr-headrow .pp-field-line{height:6mm}
.vsa-pr-headrow hr.pp-fields-solid{margin:1mm 0 0!important;border:0;border-top:1.5pt solid #333}
.vsa-pr-title{box-sizing:border-box;margin:0;height:8mm;width:100%;padding:0 2mm;font-size:14pt;font-weight:700;line-height:7.4mm;white-space:nowrap;text-align:center;border:1.5pt solid #666;background:#ffffcc;print-color-adjust:exact;-webkit-print-color-adjust:exact;flex:none}
.vsa-pr-inst{flex:none;box-sizing:border-box;width:274mm;margin:1.5mm 0 0;font-size:12.5pt;line-height:5.5mm;line-break:strict;word-break:normal}
.vsa-pr-problems{flex:none;display:flex;flex-direction:column;gap:3mm;margin-top:2mm}
.vsa-pr-row{display:grid;grid-template-columns:repeat(5,51.6mm);column-gap:4mm}
.vsa-pr-cell{box-sizing:border-box;width:51.6mm;height:54mm;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;border-top:2px solid transparent}
.vsa-pr-qline{margin:0;height:9mm;line-height:9mm;font-size:12.5pt;white-space:nowrap}
.vsa-pr-num{font-weight:700;margin-right:2mm}
.vsa-pr-blank{display:inline-block;min-width:14mm;text-align:center;white-space:pre}
.vsa-pr-figbox{width:45.6mm;height:33.6mm;margin:4mm 0 0 3mm}
.vsa-pr-fig{width:45.6mm;height:33.6mm}
.vsa-pr-fig .vsa-ln{stroke:#000;stroke-width:2.2}
.vsa-pr-fig .vsa-arc{stroke-width:2}
.vsa-pr-fig .vsa-lbl{font-size:17px}
.vsa-pr-answers{flex:none;box-sizing:border-box;width:277mm;margin-top:auto;padding-bottom:5mm}
.vsa-pr-dashed{box-sizing:content-box;display:block;height:0;margin:0 0 0.8mm;padding:0;border:0;border-top:2pt dashed #aaa}
.vsa-pr-anshead{font-weight:700;font-size:12.5pt;line-height:6mm}
.vsa-pr-ansrow{display:grid;grid-template-columns:repeat(5,51.6mm);column-gap:4mm}
.vsa-pr-ans{box-sizing:border-box;font-size:10pt;line-height:4.5mm;min-height:14mm;padding-right:3.2mm;overflow-wrap:anywhere}
.vsa-app-pdf-page .vsa-pr-page{box-shadow:none;margin:0}

#pr-sheet[data-unit="vertical_supplementary_angles3_4"]{width:277mm;max-width:none;padding:0;margin:calc(12px + 10mm) auto;background:transparent;box-shadow:none}
#pr-sheet[data-unit="vertical_supplementary_angles3_4"]>:not(#pr-problems){display:none!important}
#pr-sheet[data-unit="vertical_supplementary_angles3_4"]>#pr-problems{display:block}
#pr-sheet[data-unit="vertical_supplementary_angles3_4"] .vsa-pr-page{box-shadow:0 0 0 10mm #fff,0 0 4px 10mm rgba(0,0,0,.12);margin-bottom:calc(8mm + 10mm)}
@media print{
  #page-print #pr-sheet[data-unit="vertical_supplementary_angles3_4"]{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;box-shadow:none!important}
  #page-print #pr-sheet[data-unit="vertical_supplementary_angles3_4"]>:not(#pr-problems){display:none!important}
  #page-print #pr-sheet[data-unit="vertical_supplementary_angles3_4"]>#pr-problems{display:block!important}
  #page-print #pr-sheet[data-unit="vertical_supplementary_angles3_4"] .vsa-pr-page{display:flex!important;margin:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
}
