.antonatos-admin-grid { display: grid; grid-template-columns: minmax(340px,.75fr) minmax(560px,1.25fr); gap: 22px; align-items: start; max-width: 1400px; }
.antonatos-admin-grid .card { max-width: none; margin: 0; }
.antonatos-admin-grid code { user-select: all; }
.antonatos-password-result { border-left-width: 5px; }
.antonatos-password-result code { display: inline-block; margin: 3px 0; padding: 4px 8px; font-size: 14px; }

body:not(.antonatos-math) .am-student-card,
body:not(.antonatos-math) .am-contact-form { max-width: 720px; margin: 20px auto; padding: 28px; border: 1px solid #d9d5cb; background: #fbfaf6; }
body:not(.antonatos-math) .am-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
body:not(.antonatos-math) .am-contact-form label,
body:not(.antonatos-math) .am-student-card label { display: block; margin-top: 14px; }
body:not(.antonatos-math) .am-contact-form input,
body:not(.antonatos-math) .am-contact-form select,
body:not(.antonatos-math) .am-contact-form textarea,
body:not(.antonatos-math) .am-student-card input { width: 100%; padding: 10px; }
body:not(.antonatos-math) .am-student-card input[type="radio"],
body:not(.antonatos-math) .am-student-card input[type="checkbox"] { width: auto; padding: 0; }
body:not(.antonatos-math) .am-button { display: inline-block; margin-top: 18px; padding: 12px 18px; border: 0; background: #1f57d6; color: white; }
body:not(.antonatos-math) .am-student-panel { margin-top: 28px; scroll-margin-top: 80px; }
body:not(.antonatos-math) .am-student-resource-list,
body:not(.antonatos-math) .am-student-quiz-list,
body:not(.antonatos-math) .am-student-schedule-list { padding-left: 0; list-style: none; }
body:not(.antonatos-math) .am-student-resource-list li,
body:not(.antonatos-math) .am-student-quiz-list li,
body:not(.antonatos-math) .am-student-schedule-list li { padding: 10px 0; border-top: 1px solid #d9d5cb; }
body:not(.antonatos-math) .am-quiz-form fieldset { margin-top: 20px; padding: 0; border: 0; }
body:not(.antonatos-math) .am-quiz-form label { display: flex; gap: 9px; padding: 8px; border: 1px solid #d9d5cb; }
.am-quiz-view mjx-container { max-width: 100%; }
.am-quiz-view mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; padding-block: 4px; }
.am-quiz-view .am-quiz-form label > span { min-width: 0; flex: 1 1 auto; flex-wrap: wrap; }
.am-quiz-view .am-quiz-form label > span > mjx-container[display="true"] { width: 100%; flex-basis: 100%; }

@media (max-width: 900px) {
  .antonatos-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body:not(.antonatos-math) .am-form-grid { grid-template-columns: 1fr; }
}
