/* NI Office v3.0.79 – mobile LMRA, risk polarity, remediation and photos. */
@media (max-width:700px) {
  /* Heading already repeats JA/NEJ/NA at every question; avoid spare row. */
  html body .tke-lmra-page .tke-lmra-table-head { display:none !important; }
  html body .tke-lmra-page .tke-lmra-questions { margin-top:0 !important; }
}
.tke-lmra-page .tke-v379-question-wrap {min-width:0}
.tke-lmra-page .tke-v379-question-wrap .tke-lmra-question {width:100%;box-sizing:border-box}
/* Risk presence questions 5–8: YES = danger/red; NO = safe/green. */
.tke-lmra-page .tke-lmra-question[data-risk-question="1"]>label.tke-lmra-yes {background:#fff0f0!important;color:#a12e2e!important}
.tke-lmra-page .tke-lmra-question[data-risk-question="1"]>label.tke-lmra-no {background:#eaf9ef!important;color:#166337!important}
.tke-lmra-page .tke-lmra-question[data-risk-question="1"]>label.tke-lmra-yes.is-selected {background:#be2f35!important;color:#fff!important;box-shadow:inset 0 0 0 2px #972329!important}
.tke-lmra-page .tke-lmra-question[data-risk-question="1"]>label.tke-lmra-no.is-selected {background:#16803e!important;color:#fff!important;box-shadow:inset 0 0 0 2px #11612f!important}
.tke-lmra-page .tke-v379-remediation[hidden],
.tke-lmra-page .tke-v379-stop-display[hidden],
.tke-lmra-page .tke-v379-overall-stop[hidden] {display:none!important}
.tke-lmra-page .tke-v379-remediation {
    padding:15px 16px;margin:0;border:1px solid #f1b6b6;border-top:0;
    background:#fff8f7;box-shadow:inset 3px 0 0 #d44242;
}
.tke-lmra-page .tke-v379-followup-title {margin:0 0 11px;font-size:15px;font-weight:800;color:#8d2525}
.tke-lmra-page .tke-v379-remediation-options {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.tke-lmra-page .tke-v379-remediation-options label {display:flex;align-items:center;gap:7px;padding:12px 15px;border-radius:8px;border:1px solid #d8dbe2;background:#fff;color:#111827;font-size:13px;font-weight:800;cursor:pointer}
.tke-lmra-page .tke-v379-remediation-options label:has(input:checked) {border-color:#c22c36;background:#ffe3e5}
.tke-lmra-page .tke-v379-remediation-options input {accent-color:#be2f35}
.tke-lmra-page .tke-v379-note-label {display:block;font-size:13px;font-weight:800;color:#162548}
.tke-lmra-page .tke-v379-note-label textarea {display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:82px;padding:10px;margin-top:6px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-size:14px}
.tke-lmra-page .tke-v379-stop-display,
.tke-lmra-page .tke-v379-overall-stop {background:linear-gradient(110deg,#d6202d,#a01428);color:white!important;border-radius:10px;padding:12px;margin-top:12px;display:flex;align-items:center;gap:13px}
.tke-lmra-page .tke-v379-stop-display img {width:55px;height:66px;object-fit:cover;border-radius:5px}
.tke-lmra-page .tke-v379-stop-display div {display:flex;flex-direction:column;gap:6px;min-width:0}
.tke-lmra-page .tke-v379-stop-display strong,.tke-lmra-page .tke-v379-overall-stop strong {font-size:16px;color:#fff!important}
.tke-lmra-page .tke-v379-stop-display span,.tke-lmra-page .tke-v379-overall-stop span {font-size:13px;line-height:1.4;color:#fff!important}
.tke-lmra-page .tke-v379-overall-stop {flex-direction:column;text-align:center;padding:20px 16px;margin-top:24px}
.tke-lmra-page .tke-v379-overall-stop img {width:86px;height:125px;object-fit:cover;border-radius:8px}
.tke-lmra-page .tke-v379-photo-section {margin-top:26px;padding:19px;background:#f6f7fb;border:1px solid #d9deea;border-radius:12px}
.tke-lmra-page .tke-v379-photo-section h2 {color:#071b45!important;font-size:18px;margin:0 0 6px}
.tke-lmra-page .tke-v379-photo-section p {color:#53627b;font-size:13px;line-height:1.5;margin:0 0 14px}
.tke-lmra-page .tke-v379-photo-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.tke-lmra-page .tke-v379-photo-actions>label {display:block;border:1px solid #c9cced;border-radius:9px;background:#fff;color:#071b45;padding:11px;font-size:13px;font-weight:800;cursor:pointer}
.tke-lmra-page .tke-v379-photo-actions input {display:block;max-width:100%;width:100%;box-sizing:border-box;font-size:11px;margin-top:8px}
.tke-lmra-page .tke-v379-photo-section>label {display:block;font-size:13px;font-weight:750;color:#152542;margin-top:12px}
.tke-lmra-page .tke-v379-photo-section textarea,.tke-lmra-page .tke-v379-photo-section select {display:block;box-sizing:border-box;width:100%;margin-top:7px;padding:10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#152542;font-size:13px}
.tke-lmra-page .tke-v379-photo-preview {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tke-lmra-page .tke-v379-photo-preview figure {margin:0;border-radius:8px;overflow:hidden;border:1px solid #e2e8f0;background:#fff}
.tke-lmra-page .tke-v379-photo-preview img {display:block;width:100%;height:110px;object-fit:cover}
.tke-lmra-page .tke-v379-photo-preview figcaption {padding:7px;font-size:10px;overflow-wrap:anywhere;color:#374151}
@media(max-width:600px) {
 .tke-lmra-page .tke-v379-photo-actions{grid-template-columns:1fr}
 .tke-lmra-page .tke-v379-photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tke-lmra-page .tke-v379-remediation{padding:12px}
}
