/* ── equal_area_unknown_side2_3（同じめんせきから へんをもとめよう、単元仕様書 v1.3）── */
/* 画面：問題文、図（正方形・等積のしるし・長方形）、回答欄と単位cm、案内と共通のテンキー。回答後は正誤・正しい答え・解説（§5-3・§7）。 */
#question-text .eau-q{display:block;overflow-wrap:anywhere}
.eau-nb{white-space:nowrap}
.eau-phrase-group{display:inline;min-width:0}
.eau-main{margin:4px 0 6px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}
.eau-fig{margin:0;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}
.eau-fig-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:4px 6px;max-width:100%}
.eau-fig-row svg{display:block;max-width:100%;height:auto;flex:none}
.eau-fig-scale{font-size:14px;font-weight:700;text-align:center;line-height:1.6}
.eau-field-row{display:flex;align-items:center;gap:8px}
.eau-input{width:5.5em;min-height:48px;font-size:1.35rem;padding:0 6px;border:3px solid #1d4ed8;background:#eff6ff;border-radius:8px;text-align:center;font-family:inherit;font-weight:800;box-sizing:border-box}
.eau-input:disabled{background:#f8fafc;color:#111827;opacity:1;border-color:#94a3b8}
.eau-input.eau-ok,.eau-input.eau-ok:disabled{border:3px solid #15803d;background:#dcfce7}
.eau-input.eau-ng,.eau-input.eau-ng:disabled{border:3px dashed #b91c1c;background:#fff1f2}
.eau-unit{font-size:18px;font-weight:800}
.eau-guide{margin:2px 0 0;font-size:16px;font-weight:700;text-align:center;max-width:560px}
.eau-guide[hidden]{display:none}
.eau-msg{min-height:1.4em;margin:2px 0;color:#b45309;font-weight:700;text-align:center;line-height:1.5;max-width:560px}
.eau-msg:empty{min-height:0;margin:0}
.eau-main .ufk-keypad{margin-top:4px}
.feedback.has-text.eau-feedback{height:auto;min-height:40px;padding:4px 0;text-align:center;line-height:1.45}
.eau-correct{margin:2px 0 6px;font-weight:800;font-size:17px}
.eau-expl-text{margin:4px 0 6px;line-height:2.1;overflow-wrap:anywhere;word-break:normal;line-break:strict}
.eau-example .eau-ex-q{margin:6px 0 4px;font-weight:700;line-height:2}
.eau-example .eau-fig{margin:4px 0}
.eau-example .eau-ex-a{margin:4px 0 14px;line-height:2.1}
.eau-learning-focus{word-break:normal;line-break:strict}
#page-quiz.active:has(.eau-main) #question-text{word-break:normal;overflow-wrap:anywhere;line-break:strict;font-size:17px;line-height:2}
#page-quiz.active:has(.eau-main) #hint-area .kp-card{display:flex;align-items:flex-start;gap:8px}
#page-quiz.active:has(.eau-main) #hint-area .kp-head{margin-bottom:0;flex:none}
#page-quiz.active:has(.eau-main) #hint-area .kp-title:empty{display:none}
#page-quiz.active:has(.eau-main) #hint-area .kp-body{flex:1;min-width:0;padding-left:0}
#page-quiz:has(#question-text[data-unit="equal_area_unknown_side2_3"]) .ufk-keypad{max-width:240px;width:100%}
#page-quiz:has(#question-text[data-unit="equal_area_unknown_side2_3"]) .ufk-keypad .num-btn{font-family:var(--font-ui)}
@media (max-width:400px){#page-lesson .lesson-point:has(.eau-nb),#page-lesson .lesson-point:has(.eau-nb) *{font-size:15px}#page-lesson .lesson-example:has(.eau-example){padding-left:12px;padding-right:12px}#page-lesson .lesson-example div:has(>.eau-example){padding-left:8px;padding-right:8px}.eau-example .eau-ex-q,.eau-example .eau-ex-a{font-size:15px}}

/* 印刷（A4縦・2列・1ページ。§7） */
.eau-pr-page{width:190mm;box-sizing:border-box;color:#000;background:#fff;font-family:'Atkinson Hyperlegible','BIZ UDPGothic','Yu Gothic','Meiryo',sans-serif;display:flex;flex-direction:column}
.eau-pr-headrow{display:flex;flex-direction:column;gap:0}
.eau-pr-title{box-sizing:border-box;font-size:14pt;margin:0;height:7mm;line-height:6mm;text-align:center;font-weight:700;border:1.5pt solid #666;background:#ffffcc;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.eau-pr-headrow .pp-fields{height:6mm;margin:0.5mm 0 0}
.eau-pr-headrow hr.pp-fields-solid{flex:none;width:100%;margin:0.5mm 0 1mm!important;border:0;border-top:2px solid #333}
.eau-pr-inst{font-size:12.5pt;line-height:5.6mm;margin:0 0 1.5mm;padding:0 1mm}
.eau-pr-problems{display:flex;gap:6mm;justify-content:center}
.eau-pr-col{width:92mm;display:flex;flex-direction:column;gap:0}
.eau-pr-cell{box-sizing:border-box;width:92mm;height:32mm;border:1.5px solid transparent;border-radius:1.5mm;padding:0.8mm 2mm;overflow:hidden;break-inside:avoid;display:flex;flex-direction:column;gap:1.5mm}
.eau-pr-head{display:flex;align-items:center;justify-content:space-between;height:8mm;flex:none;font-size:12.5pt}
.eau-pr-num{font-weight:700}
.eau-pr-box{white-space:nowrap}
.eau-pr-blank{display:inline-block;min-width:12mm;height:8mm;vertical-align:middle;border-bottom:1.5px solid #333;white-space:pre}
.eau-pr-fig{display:block;flex:none}
.eau-pr-answers{margin-top:1mm;border-top:2px dashed #666;padding-top:0.5mm}
.eau-pr-anshead{font-size:12.5pt;font-weight:700;line-height:6mm}
.eau-pr-acols{display:flex;gap:6mm}
.eau-pr-acol{width:92mm}
.eau-pr-answer{margin:0;font-size:10pt;line-height:4.4mm;min-height:8.8mm;padding-bottom:5mm;box-sizing:content-box} /* 確定表 EAK-17：1件13.8mm（2行分と余り5mm） */
#pr-sheet[data-unit="equal_area_unknown_side2_3"]{width:190mm;max-width:none;padding:0;margin:calc(12px + 10mm) auto;background:transparent;box-shadow:none}
#pr-sheet[data-unit="equal_area_unknown_side2_3"]>:not(#pr-problems){display:none!important}
#pr-sheet[data-unit="equal_area_unknown_side2_3"]>#pr-problems{display:block}
#pr-sheet[data-unit="equal_area_unknown_side2_3"] .eau-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="equal_area_unknown_side2_3"]{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="equal_area_unknown_side2_3"]>:not(#pr-problems){display:none!important}
  #page-print #pr-sheet[data-unit="equal_area_unknown_side2_3"]>#pr-problems{display:block!important}
  #page-print #pr-sheet[data-unit="equal_area_unknown_side2_3"] .eau-pr-page{display:flex!important;margin:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
}
.eau-app-pdf-page .eau-pr-page{box-shadow:none;margin:0}
