.customer-risk-entry{margin-top:14px;padding-top:14px;border-top:1px solid #d5deeb}
.customer-risk-entry button{width:100%;min-height:52px;font-size:18px;white-space:normal}
.customer-risk-entry p{font-size:14px;line-height:1.6;margin:8px 0 0;color:#536174}
dialog.customer-risk-dialog{box-sizing:border-box;width:min(760px,calc(100% - 20px));max-height:94vh;max-height:94dvh;margin:auto;padding:0 16px 12px;border:1px solid #aabbd3;border-radius:14px;overflow:auto;overscroll-behavior:contain;color:#1d2d42;background:#fff;font-size:16px;line-height:1.65}
.customer-risk-dialog::backdrop{background:#14243c88}
.customer-risk-dialog header{position:sticky;top:0;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #d5deeb;padding:12px 0}
.customer-risk-dialog h2{font-size:20px;line-height:1.45;margin:0;overflow-wrap:anywhere}
.customer-risk-dialog header button{flex-shrink:0;min-height:48px;font-size:16px;margin:0}
.customer-risk-help{font-size:14px;line-height:1.65}
.customer-risk-warnings{border-left:4px solid #bd8125;background:#fff4df;padding:12px;font-size:14px;margin:12px 0;overflow-wrap:anywhere}
.customer-risk-warnings[hidden]{display:none}
.customer-risk-warnings ul{padding-left:1.3em;margin:6px 0 0}
.customer-risk-dialog label{display:block;font-size:16px;font-weight:700}
.customer-risk-dialog textarea{box-sizing:border-box;display:block;resize:vertical;width:100%;min-height:240px;height:42vh;height:42dvh;margin-top:8px;padding:12px;font:400 16px/1.7 system-ui,sans-serif;border:1px solid #9caec8;border-radius:8px;background:#fff;color:#17283e}
.customer-risk-dialog footer{position:sticky;bottom:-12px;z-index:2;background:#fff;border-top:1px solid #d5deeb;padding:12px 0 max(12px,env(safe-area-inset-bottom))}
.customer-risk-dialog footer button{display:block;width:100%;min-height:52px;font-size:18px;white-space:normal}
.customer-risk-status{font-size:14px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}
.customer-risk-dialog button:focus-visible,.customer-risk-dialog textarea:focus-visible{outline:3px solid #2855ad;outline-offset:3px}
.customer-risk-choices{min-width:0;border:0;padding:0;margin:16px 0 8px}
.customer-risk-choices legend{font-size:16px;font-weight:700;margin-bottom:10px}
.customer-risk-choice{margin:0 0 10px;border:1px solid #bbc9df;border-radius:10px;background:#f8faff;overflow:hidden}
.customer-risk-choice:has(input:checked){border-color:#2855ad;background:#edf3ff}
.customer-risk-dialog .customer-risk-choice label{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;padding:12px;margin:0;cursor:pointer;line-height:1.55}
.customer-risk-choice input{appearance:auto;accent-color:#2855ad;width:24px;height:24px;margin:0;flex-shrink:0}
.customer-risk-choice input:focus-visible{outline:3px solid #2855ad;outline-offset:3px}
.customer-risk-choice span{overflow-wrap:anywhere}
.customer-risk-choice details{padding:0 12px 4px}
.customer-risk-choice summary{min-height:44px;box-sizing:border-box;padding:9px 0;font-size:14px;cursor:pointer;color:#244e91}
.customer-risk-chapter-text{white-space:pre-wrap;font-size:14px;line-height:1.65;overflow-wrap:anywhere;margin:8px 0 12px}
.customer-risk-selection{font-size:14px;color:#536174;margin:8px 0 16px}
