/* 영영 단어 시험지: exam-sheet.css의 화면 테마를 쓰고, 종이는 A4 세로로 바꾼다. */
@page { size: A4 portrait; margin: 14mm 14mm 16mm; @bottom-center { content: "- " counter(page) " -"; font-size: 9pt; color: #555; } }

.vt-drop { display: grid; gap: 4px; margin: 12px 0; padding: 26px 14px; border: 2px dashed var(--outline, #b9bdb3); border-radius: 12px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.vt-drop strong { font-size: 13px; }
.vt-drop span { font-size: 12px; color: var(--on-surface-variant, #62675e); }
.vt-drop:is(:hover, :focus-visible, .dragover) { border-color: var(--primary, #c85b25); background: rgba(200, 91, 37, .06); outline: none; }
.vt-provider { display: grid; gap: 6px; margin-top: 10px; font-size: 12px; }
.vt-provider select { width: 100%; }
.vt-provider .hint { margin: 0; }
.vocab-test-page #ocr-key-status.error { color: #b32520; }
#vocab-file-list { padding-left: 18px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
#vocab-file-list:empty { display: none; }
#extract-btn, #paste-apply { width: 100%; margin-top: 12px; }
#paste-box { width: 100%; margin-top: 8px; }
.vt-table-wrap { max-height: 420px; overflow: auto; margin: 10px 0 14px; border: 1px solid var(--outline-variant, #ddd); border-radius: 8px; }
#entry-table { width: 100%; border-collapse: collapse; font-size: 12px; }
#entry-table th { position: sticky; top: 0; background: var(--surface-container-low, #f4f3ef); text-align: left; padding: 6px; font-weight: 600; }
#entry-table td { padding: 3px; border-top: 1px solid var(--surface-container-high, #eee); vertical-align: top; }
#entry-table td:nth-child(1) { width: 28%; }
#entry-table td:nth-child(2) { width: 22%; }
#entry-table td:nth-child(2) input + input { margin-top: 3px; }
#entry-table td:nth-child(4) { width: 30px; }
.practice-page .controls #entry-table :is(input, textarea) { width: 100%; padding: 5px 6px; font-size: 12px; border-radius: 6px; }
.practice-page .controls #entry-table textarea { min-height: 0; height: 52px; resize: vertical; }
.practice-page .controls #entry-table button { padding: 2px 8px; border: 0; color: var(--on-surface-variant); }
.vt-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px 24px; }
.vt-inline label { display: grid; gap: 6px; font-size: 12px; color: var(--on-surface-variant, #62675e); }
.vt-inline :is(input, select) { width: 100%; }
.vocab-test-page .actions button { width: 100%; }
#status.error { color: #b32520; }
@media screen { .vocab-test-page #empty-preview::before { content: 'A4 시험지 미리보기'; } }

/* 종이 */
.vt-sheet { width: 210mm; min-height: 297mm; margin: 0 auto 24px; padding: 14mm; background: #fff; color: #1f2320; box-shadow: 0 2px 14px rgba(0, 0, 0, .12); font-family: 'Times New Roman', 'Malgun Gothic', serif; font-size: 11pt; line-height: 1.5; }
.vt-head { border-bottom: 2px solid #222; padding-bottom: 8px; margin-bottom: 14px; }
.vt-school { font-size: 9.5pt; color: #555; min-height: 1em; }
.vt-head h1 { margin: 2px 0 8px; font-size: 18pt; text-align: center; letter-spacing: 0; font-family: 'Malgun Gothic', sans-serif; }
.vt-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 9.5pt; font-family: 'Malgun Gothic', sans-serif; }
.vt-meta span:first-child { font-weight: 700; color: #c85b25; }
.vt-part { font-size: 11.5pt; margin: 16px 0 8px; font-family: 'Malgun Gothic', sans-serif; }
.vt-list { list-style: none; margin: 0; padding: 0; column-count: 2; column-gap: 9mm; column-rule: 1px solid #ddd; }
.vt-q { display: flex; gap: 5px; break-inside: avoid; margin: 0 0 11px; }
.vt-num { flex: 0 0 auto; font-weight: 700; min-width: 2.1em; }
.vt-pos { font-style: italic; color: #555; }
.vt-ex { margin-top: 2px; font-style: italic; color: #444; font-size: 10pt; }
.vt-answer-line { display: flex; align-items: flex-end; gap: 6px; margin-top: 4px; }
.vt-hint { font-family: 'Courier New', monospace; font-weight: 700; letter-spacing: 1px; }
.vt-blank { flex: 1; border-bottom: 1px solid #333; height: 1.3em; }
.vt-choices { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; }
.vt-correct { font-weight: 700; text-decoration: underline; color: #b32520; }
.vt-key { color: #b32520; }
.vt-study { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
.vt-study th, .vt-study td { border: 1px solid #bbb; padding: 4px 6px; text-align: left; vertical-align: top; }
.vt-study th { background: #f3f1ec; font-family: 'Malgun Gothic', sans-serif; }
.vt-study tr { break-inside: avoid; }
.vt-n { width: 2.4em; text-align: center !important; }
.vt-word { width: 22%; font-weight: 700; }
.vt-ko { width: 18%; font-family: 'Malgun Gothic', sans-serif; font-size: 9.5pt; }
@media screen and (max-width: 900px) { .vt-sheet { width: 100%; min-height: 0; padding: 18px; } .vt-list { column-count: 1; } }

@media print {
  .vt-sheet { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; break-after: page; }
  .vt-sheet:last-child { break-after: auto; }
  #vt-preview { display: block; }
}
