
/* V23.9 — pilihan jawaban presisi dan klik matriks, tanpa mengubah tema aplikasi. */
.answer-tap{display:inline-flex;min-width:62px;min-height:39px;align-items:center;justify-content:center;gap:4px;width:100%;border-radius:10px;padding:7px 9px;border:1px solid currentColor;cursor:pointer;font-weight:750;font:inherit;white-space:nowrap;touch-action:manipulation;transition:filter .16s ease,transform .16s ease}
.answer-tap:active,.answer-choice:active{transform:scale(.97)}
.answer-tap:focus-visible,.answer-choice:focus-visible,.pm-slot button:focus-visible{outline:3px solid #e0b855;outline-offset:2px}
.answer-tap.answer-correct{background:#ddf6e9;color:#145d43}
.answer-tap.answer-wrong{background:#ffe8e5;color:#93372c}
.answer-tap.answer-blank{background:#eef2f5;color:#4b5966}
.answer-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:15px 0}
.answer-choice{min-height:54px;border:1px solid #bfd7ce;background:#f6fbf9;color:#135247;border-radius:14px;font-weight:800;cursor:pointer;transition:transform .16s ease,background .16s ease}
.answer-choice.selected{border:2px solid #167363;background:#d6f2e7}
.response-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;-webkit-overflow-scrolling:touch}
.response-matrix td,.response-matrix th{vertical-align:middle}
.semester-matrix .pm-slot.is-filled button{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--unit-tint),transparent 55%);border-radius:5px}
.semester-matrix .pm-slot button{touch-action:manipulation}
@media(max-width:580px){.answer-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.answer-choice{min-height:50px}.response-matrix th:first-child{position:sticky;left:0;z-index:2;background:#f6faf8}.response-matrix tbody th:first-child{background:#fff}.response-matrix .answer-tap{min-width:57px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.answer-tap,.answer-choice{transition:none!important}}
