.mmtr-root { max-width: 850px; margin: 32px auto; color: #16202a; font-family: inherit; }
.mmtr-panel, .mmtr-results { box-sizing: border-box; background: #fff; border: 1px solid #d9e1e7; border-radius: 12px; padding: clamp(22px, 4vw, 42px); box-shadow: 0 8px 24px rgba(12, 46, 64, .06); }
.mmtr-eyebrow { color: #1976a5; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 8px; }
.mmtr-intro h2, .mmtr-test-header h2 { margin: 0; color: #102e40; }
.mmtr-instructions { margin: 22px 0; line-height: 1.6; }
.mmtr-scoring-note { color: #8a3b08; font-size: .9rem; font-weight: 600; margin: 12px 0 0; }
.mmtr-button { appearance: none; border: 0; border-radius: 7px; background: #087ea4; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 12px 20px; transition: background .15s ease, transform .15s ease; }
.mmtr-button:hover, .mmtr-button:focus { background: #056785; color: #fff; transform: translateY(-1px); }
.mmtr-button:disabled { cursor: wait; opacity: .65; transform: none; }
.mmtr-test-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 1px solid #e6edf1; padding-bottom: 18px; }
.mmtr-timer { flex: 0 0 auto; border-radius: 7px; background: #eef7fb; color: #155f7f; font-size: .9rem; padding: 9px 12px; }
.mmtr-notice { background: #fff6dc; border-left: 4px solid #d68b00; color: #654100; margin: 20px 0 0; padding: 11px 14px; }
.mmtr-exam-layout { display: grid; gap: 28px; grid-template-columns: 220px minmax(0, 1fr); margin-top: 26px; }
.mmtr-question-sidebar { align-self: start; background: #f6fafb; border: 1px solid #d9e6e9; border-radius: 9px; padding: 14px; position: sticky; top: 18px; }
.mmtr-nav-part + .mmtr-nav-part { border-top: 1px solid #dbe5e8; margin-top: 16px; padding-top: 16px; }
.mmtr-nav-part.is-unavailable { opacity: .68; }
.mmtr-nav-part-header { align-items: center; color: #173747; display: flex; font-size: .86rem; justify-content: space-between; gap: 6px; }
.mmtr-nav-part-header span { color: #5c6f77; font-size: .76rem; }
.mmtr-nav-status, .mmtr-nav-count { color: #65767e; font-size: .76rem; line-height: 1.35; margin: 9px 0 0; }
.mmtr-question-grid { display: grid; gap: 7px; grid-template-columns: repeat(5, 1fr); margin-top: 12px; }
.mmtr-nav-question { background: #fff; border: 1px solid #c8d7db; border-radius: 5px; color: #284854; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; min-height: 31px; padding: 3px; }
.mmtr-nav-question:hover, .mmtr-nav-question.is-active { background: #087ea4; border-color: #087ea4; color: #fff; }
.mmtr-nav-question.is-answered:not(.is-active) { background: #daf3ea; border-color: #5fbb9f; color: #12664e; }
.mmtr-nav-question:disabled { cursor: not-allowed; }
.mmtr-question-workspace { min-width: 0; }
.mmtr-part-label { color: #087ea4; font-size: .82rem; font-weight: 700; letter-spacing: .04em; margin: 0; text-transform: uppercase; }
.mmtr-section-locked { background: #f7f8f8; border: 1px dashed #b8c5c9; border-radius: 8px; color: #5a6870; padding: 36px 24px; text-align: center; }
.mmtr-question-actions { display: flex; gap: 9px; justify-content: space-between; }
.mmtr-secondary-button { background: #fff; border: 1px solid #9eb5bd; border-radius: 6px; color: #19546b; cursor: pointer; font: inherit; font-weight: 700; padding: 9px 14px; }
.mmtr-secondary-button:hover, .mmtr-secondary-button:focus { background: #eef8fb; }
.mmtr-secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.mmtr-submit-row { border-top: 1px solid #e2eaed; margin-top: 30px; padding-top: 22px; text-align: right; }
.mmtr-review-part { margin: 24px 0; }
.mmtr-part-review-title { color: #115873; margin: 0 0 10px; }
.mmtr-progress { background: #e7edf0; border-radius: 10px; height: 8px; margin: 24px 0 10px; overflow: hidden; position: relative; }
.mmtr-progress span { background: #16a085; display: block; height: 100%; transition: width .2s ease; }
.mmtr-progress p { color: #5b6870; font-size: .85rem; margin: 10px 0 0; position: absolute; top: 8px; }
.mmtr-question { border: 0; border-bottom: 1px solid #e5ebee; margin: 30px 0; padding: 0 0 28px; }
.mmtr-question legend { color: #152b39; font-size: 1.08rem; font-weight: 700; line-height: 1.45; padding: 0; }
.mmtr-question legend span { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-right: 9px; border-radius: 50%; background: #087ea4; color: #fff; font-size: .78rem; }
.mmtr-answer { display: flex; align-items: center; gap: 10px; border: 1px solid #d5e0e5; border-radius: 7px; cursor: pointer; margin: 10px 0; padding: 12px 14px; transition: border-color .15s ease, background .15s ease; }
.mmtr-answer:hover, .mmtr-answer.is-selected { border-color: #087ea4; background: #eef8fb; }
.mmtr-answer input { accent-color: #087ea4; flex: 0 0 auto; margin: 0; }
.mmtr-score-card { background: #f0faf7; border: 1px solid #c9e8dd; border-radius: 10px; margin-bottom: 32px; padding: 28px; text-align: center; }
.mmtr-score { color: #08755e; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; line-height: 1; margin: 8px 0; }
.mmtr-review { border-left: 4px solid #da4c4c; border-radius: 4px; background: #fff7f7; margin: 16px 0; padding: 18px; }
.mmtr-review.is-correct { border-color: #20a07d; background: #f1fbf7; }
.mmtr-review h4 { margin: 3px 0 12px; }
.mmtr-review p { margin: 8px 0; }
.mmtr-question-number { color: #587079; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.mmtr-explanation { border-top: 1px solid #dceae5; color: #38554e; margin-top: 13px !important; padding-top: 13px; }
.mmtr-saved-message { color: #08755e; font-size: .9rem; }
.mmtr-muted { color: #63727b; font-size: .9rem; }
.mmtr-error { background: #fff1f1; border-left: 4px solid #bf3030; color: #781f1f; padding: 14px 16px; }
@media (max-width: 700px) { .mmtr-exam-layout { grid-template-columns: 1fr; } .mmtr-question-sidebar { position: static; } .mmtr-question-grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 550px) { .mmtr-test-header { flex-direction: column; } .mmtr-panel, .mmtr-results { padding: 20px; } .mmtr-question-grid { grid-template-columns: repeat(6, 1fr); } }
