@layer tke-page-typography {
/* Build 8 – mobile-first LMRA, scoped to the public form, not reports. */
html body .tke-lmra-page.ni313-lmra{background:#f5f4fa!important;padding:10px!important;color:#172033!important;min-width:0;font-family:Arial,sans-serif}
html body .ni313-lmra .tke-lmra-wrap{max-width:1050px!important;width:100%!important;border:1px solid #dedbea!important;border-radius:16px!important;background:#fff!important;padding:18px!important;box-sizing:border-box;box-shadow:0 3px 15px #1913330b;overflow:visible}
html body .ni313-lmra .tke-lmra-brand{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin:0 0 16px!important;padding:0 0 14px!important;border-bottom:1px solid #e4dfed!important;background:radial-gradient(ellipse at 100% 0%,#eee5ff 0%,#fff0 40%);border-radius:12px 12px 0 0;min-width:0}
html body .ni313-lmra .tke-lmra-brand>img{width:72px!important;height:auto!important;align-self:center;margin:3px 0 6px!important;object-fit:contain}
html body .ni313-lmra .tke-lmra-brand>span{font-size:clamp(16px,2vw,23px)!important;line-height:1.3!important;font-weight:800!important;color:#101b33!important;letter-spacing:0!important;overflow-wrap:break-word}
html body .ni313-lmra .ni313-brand-rule{height:3px;background:linear-gradient(90deg,#7620d5 0%,#7620d5 17%,#c3a0ee 17%,#e0cbf5 100%);border-radius:3px;margin:2px 0 4px}
html body .ni313-lmra .tke-lmra-languages{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%!important;margin:0!important;padding:0;align-items:stretch}
html body .ni313-lmra .tke-lmra-languages a{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%!important;height:auto!important;min-height:42px!important;padding:6px 5px!important;border:1px solid #d2cedc!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;opacity:1!important;text-decoration:none!important;white-space:nowrap;min-width:0;color:#13172d!important}
html body .ni313-lmra .tke-lmra-languages a.is-active{border:2px solid #7621dc!important;background:#f0e7ff!important;box-shadow:0 2px 7px #6a21b41c!important}
html body .ni313-lmra .tke-lmra-languages a img{display:block!important;flex:0 0 23px;width:23px!important;height:15px!important;object-fit:cover;border-radius:2px;margin:0!important}
html body .ni313-lmra .tke-lmra-languages a span{font-size:12px!important;line-height:1.15!important;color:#172033!important;-webkit-text-fill-color:#172033!important;font-weight:700!important;letter-spacing:0!important}
html body .ni313-lmra .tke-lmra-section-title{border:0!important;border-radius:10px 10px 0 0!important;background:#131b33!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:12px 13px!important;font-size:15px!important;line-height:1.3!important;letter-spacing:.025em!important}
html body .ni313-lmra .tke-lmra-grid{display:grid!important;gap:13px 16px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border:1px solid #e0deeb!important;border-top:0!important;border-radius:0 0 10px 10px;padding:14px!important;background:#fff!important;min-width:0;box-sizing:border-box}
html body .ni313-lmra .tke-lmra-grid>label,html body .ni313-lmra .tke-lmra-grid .tke-lmra-project-field,html body .ni313-lmra .tke-lmra-grid .ni398-employees,html body .ni313-lmra .tke-lmra-grid .ni398-employees>label{display:block!important;border:0!important;padding:0!important;margin:0!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important;color:#172033!important;text-align:left!important}
html body .ni313-lmra .tke-lmra-grid .tke-lmra-project-field>label{display:block;border:0!important;margin:0!important;padding:0!important;font-size:13px!important;font-weight:700!important;color:#172033!important}
html body .ni313-lmra .tke-lmra-grid input:not([type=hidden]),html body .ni313-lmra .tke-lmra-grid select,html body .ni313-lmra .tke-lmra-block textarea,html body .ni313-lmra .tke-v379-photo-section textarea,html body .ni313-lmra .tke-v379-photo-section select{border:1px solid #cfd2df!important;border-radius:8px!important;min-height:44px!important;padding:10px 11px!important;margin-top:7px!important;background:#fff!important;font-size:16px!important;font-weight:400!important;line-height:1.25!important;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;color:#172033!important;-webkit-text-fill-color:#172033!important}
html body .ni313-lmra .tke-lmra-grid input:focus,html body .ni313-lmra .tke-lmra-grid select:focus,html body .ni313-lmra textarea:focus{outline:2px solid #9b64e7!important;outline-offset:1px!important}
html body .ni313-lmra .tke-lmra-grid small,html body .ni313-lmra .tke-lmra-project-hint{font-size:11px!important;font-weight:400!important;line-height:1.45!important;color:#596174!important;display:block;margin:5px 0 0!important;overflow-wrap:anywhere}
html body .ni313-lmra .ni398-employees>small:empty{display:none!important}
html body .ni313-lmra .tke-lmra-lookup-controls{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
html body .ni313-lmra .tke-lmra-suggestions{width:100%!important;max-width:100%!important;box-sizing:border-box}
html body .ni313-lmra .ni313-risk-title{margin-top:20px!important;border-radius:10px!important}
html body .ni313-lmra .tke-lmra-table-head{display:none!important}
html body .ni313-lmra .tke-lmra-questions{margin-top:10px!important;display:grid;gap:10px}
html body .ni313-lmra .tke-v379-question-wrap{border:1px solid #e2dfed!important;border-radius:10px!important;padding:10px!important;background:#fff;box-sizing:border-box;min-width:0}
html body .ni313-lmra .tke-lmra-question{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;border:0!important;width:100%!important;min-width:0!important}
html body .ni313-lmra .tke-lmra-qtext{grid-column:1/-1!important;padding:2px 0 7px!important;font-size:14px!important;font-weight:500!important;line-height:1.45!important;border:0!important;color:#172033!important}
html body .ni313-lmra .tke-lmra-question>label{border:1px solid #dedbe8!important;min-height:48px!important;border-radius:8px!important;margin:0!important;padding:6px 4px!important;box-sizing:border-box;font-size:11px!important;line-height:1.2!important;gap:5px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow-wrap:normal!important;min-width:0!important}
html body .ni313-lmra .tke-lmra-question>label input{flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important}
html body .ni313-lmra .tke-lmra-question>label span{font-weight:700!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important}
/* Red/green polarity, original selection and remediation rules are retained. */
html body .ni313-lmra .tke-lmra-question[data-risk-question="0"]>.tke-lmra-yes{background:#eaf9ef!important;color:#166337!important}
html body .ni313-lmra .tke-lmra-question[data-risk-question="0"]>.tke-lmra-no{background:#fff0f0!important;color:#a12e2e!important}
html body .ni313-lmra .tke-lmra-question[data-risk-question="1"]>.tke-lmra-yes{background:#fff0f0!important;color:#a12e2e!important}
html body .ni313-lmra .tke-lmra-question[data-risk-question="1"]>.tke-lmra-no{background:#eaf9ef!important;color:#166337!important}
html body .ni313-lmra .tke-lmra-question>.tke-lmra-na{background:#eef0f3!important;color:#505968!important}
html body .ni313-lmra .tke-lmra-question[data-risk-question="0"]>.tke-lmra-yes.is-selected,html body .ni313-lmra .tke-lmra-question[data-risk-question="1"]>.tke-lmra-no.is-selected{background:#16803e!important;color:#fff!important;box-shadow:inset 0 0 0 2px #11612f!important}
html body .ni313-lmra .tke-lmra-question[data-risk-question="0"]>.tke-lmra-no.is-selected,html body .ni313-lmra .tke-lmra-question[data-risk-question="1"]>.tke-lmra-yes.is-selected{background:#be2f35!important;color:#fff!important;box-shadow:inset 0 0 0 2px #972329!important}
html body .ni313-lmra .tke-lmra-question>.tke-lmra-na.is-selected{background:#687382!important;color:#fff!important;box-shadow:inset 0 0 0 2px #505968!important}
html body .ni313-lmra .tke-lmra-question>label span{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body .ni313-lmra .tke-v379-remediation{border-radius:8px!important;margin-top:10px!important}
html body .ni313-lmra .tke-lmra-block{padding:12px!important;border:1px solid #e2dfed!important;border-radius:10px!important;margin-top:12px!important;font-size:14px!important;color:#172033!important}
html body .ni313-lmra .tke-lmra-block canvas{border:1px solid #cfd2df!important;border-radius:8px!important;max-width:100%;box-sizing:border-box}
html body .ni313-lmra .tke-lmra-submit{background:linear-gradient(105deg,#7023da,#9325d7 80%,#ed673e)!important;border:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:10px!important;min-height:48px!important;padding:12px!important;font-size:15px!important}
html body .ni313-lmra .tke-lmra-submit:disabled{opacity:.55!important;cursor:not-allowed}
html body .ni313-lmra [hidden]{display:none!important}
@media(max-width:700px){
 html body .tke-lmra-page.ni313-lmra{padding:5px!important}
 html body .ni313-lmra .tke-lmra-wrap{padding:10px!important;border-radius:12px!important}
 html body .ni313-lmra .tke-lmra-grid{grid-template-columns:minmax(0,1fr)!important;padding:11px!important;gap:11px!important}
 html body .ni313-lmra .tke-lmra-brand{gap:10px!important}
 html body .ni313-lmra .tke-lmra-languages{gap:5px!important}
 html body .ni313-lmra .tke-lmra-languages a{flex-direction:row;gap:3px;min-height:44px!important;padding:5px 2px!important}
 html body .ni313-lmra .tke-lmra-languages a span{font-size:11px!important}
 html body .ni313-lmra .tke-lmra-languages a img{flex:none;width:17px!important;height:12px!important}
}

@media(max-width:360px){html body .ni313-lmra .tke-lmra-languages a{flex-direction:column;gap:4px;min-height:48px!important}html body .ni313-lmra .tke-lmra-languages a img{width:23px!important;height:15px!important}}
html body .ni313-lmra .tke-v379-stop-display,html body .ni313-lmra .tke-v379-overall-stop,html body .ni313-lmra .tke-v379-stop-display strong,html body .ni313-lmra .tke-v379-stop-display span,html body .ni313-lmra .tke-v379-overall-stop strong,html body .ni313-lmra .tke-v379-overall-stop span{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .ni313-lmra .tke-lmra-message.success{color:#115f36!important}html body .ni313-lmra .tke-lmra-message.error{color:#992b35!important}

}

/* Build 9: selected N/A greys the whole card without disabling other choices. */
@layer tke-page-typography {
html body .ni313-lmra .tke-v379-question-wrap.ni314-not-applicable{background:#f0f1f3!important;border-color:#cdd2da!important}
html body .ni313-lmra .ni314-not-applicable .tke-lmra-qtext{color:#414b58!important}
html body .ni313-lmra .ni314-not-applicable .tke-lmra-question[data-risk-question]>label:not(.is-selected){background:#e4e7eb!important;color:#505968!important;border-color:#cdd2da!important}
}

@layer tke-page-typography {
html body .tke-lmra-inbox-detail li.answer-na{background:#eef0f3!important;color:#505968!important;border-color:#cdd2da!important}
html body .tke-lmra-inbox-detail li.answer-na strong{color:#505968!important;-webkit-text-fill-color:#505968!important}
}
