/* R323.6.146 — TMEG specialized blocks */
.tmeg146-admin,.tmeg146-student{box-sizing:border-box;border:1px solid #b9d5df;border-radius:12px;padding:16px;margin:14px 0;background:#f8fcfe;color:#18394d}
.tmeg146-admin legend{font-weight:750;color:#0d5167}.tmeg146-admin p,.tmeg146-student p{line-height:1.55}
.tmeg146-field,.tmeg146-student label{display:block;margin:10px 0;font-size:.92rem;font-weight:650}
.tmeg146-field input,.tmeg146-student textarea{box-sizing:border-box;width:100%;min-height:39px;padding:7px 9px;border:1px solid #9cb7c6;border-radius:7px;background:#fff;color:#173e55}
.tmeg146-admin [type=checkbox],.tmeg146-table [type=checkbox]{width:auto;min-height:auto;margin-right:9px;accent-color:#087d63}
.tmeg146-matrix-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain}.tmeg146-table{border-collapse:collapse;min-width:440px;width:100%;font-size:.9rem}
.tmeg146-table td,.tmeg146-table th{border:1px solid #c1d7df;padding:10px 12px;text-align:center;white-space:nowrap}
.tmeg146-table th{background:#e8f1f7;color:#0e4562;font-weight:700}
.tmeg146-table input[type=number]{width:75px;max-width:36vw;min-height:34px;margin:3px;padding:4px;border:1px solid #a5bdca;border-radius:5px}
.tmeg146-student h4{font-size:1.06rem;margin:0 0 12px}.tmeg146-student textarea{display:block;resize:vertical;min-height:85px}
.tmeg146-student small{display:block;color:#506a78;margin-top:12px}
.tmeg146-canvas{width:100%;overflow-x:auto}.tmeg146-canvas svg{display:block;width:100%;min-width:285px;max-width:720px;height:auto;aspect-ratio:620/420;margin:auto;background:white;border-radius:7px;touch-action:manipulation}
.tmeg146-coordinates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
@media(max-width:580px){.tmeg146-admin,.tmeg146-student{padding:10px}.tmeg146-coordinates{grid-template-columns:1fr}.tmeg146-table{font-size:.82rem;min-width:360px}.tmeg146-table td,.tmeg146-table th{padding:8px}}
