/* 예전 어휘 도구도 현재 서비스의 잉크색·노란 버튼과 모바일 폭을 따른다. */
:root { --primary-color:#17263d; --primary-gradient:linear-gradient(#17263d,#17263d); }
html { box-sizing:border-box; }
*,*::before,*::after { box-sizing:inherit; }
body { margin:0; background:#f5f6f8; color:#17263d; font-family:system-ui,sans-serif; }
input,select,textarea,button { max-width:100%; font:inherit; }
img,canvas { max-width:100%; height:auto; }
button { background:#f4cf55; color:#17263d; border-radius:8px; border:1px solid #dbc05f; }
.title { background:#17263d; }
@media(max-width:600px) {
  .container,.wordtest-container,.wordtest-student-container { width:calc(100% - 24px)!important; max-width:100%!important; padding:16px!important; margin:12px!important; min-width:0!important; }
  .title { font-size:20px; white-space:normal; }
  .form-row,.input-row,.filter-row,.stats-container,.dashboard-stats,.student-info { flex-wrap:wrap; gap:8px; }
  .form-group { min-width:0; max-width:100%; }
  input,select,textarea { font-size:16px; }
  .table-container,.table-wrapper { max-width:100%; overflow-x:auto; }
  .student-list { display:block; overflow-x:auto; max-width:100%; white-space:nowrap; }
}
