/* Risk review shares the shell's palette and keeps the preference secondary. */
.aethelix-risk-overlay { background:rgba(0,0,0,.54); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.aethelix-risk-card { box-sizing:border-box; padding:28px; border:1px solid var(--web-line,#303137); border-radius:28px; background:var(--web-panel,#191a1e); color:var(--web-text,#f3f3f5); box-shadow:0 32px 100px rgba(0,0,0,.32); overscroll-behavior:contain; animation:aethelix-risk-enter .18s ease-out; }
.aethelix-risk-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.aethelix-risk-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:16px; background:rgba(238,167,55,.1); color:#dfa13e; }
.aethelix-risk-card button { font-family:inherit; cursor:pointer; transition:background .15s,border-color .15s; -webkit-tap-highlight-color:transparent; }
.aethelix-risk-close { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:50%; background:var(--web-raised,#24252b); color:var(--web-muted,#a0a3ae); }
.aethelix-risk-close:hover { color:var(--web-text,#f3f3f5); }
.aethelix-risk-label { margin-bottom:7px; color:var(--web-muted,#a0a3ae); font-size:12px; line-height:1.4; font-weight:600; }
.aethelix-risk-card h3 { margin:0 0 12px; font-size:26px; line-height:1.2; font-weight:600; letter-spacing:-.65px; overflow-wrap:anywhere; }
#aethelix-risk-detail { margin:0 0 20px; color:var(--web-muted,#a0a3ae); font-size:14px; line-height:1.6; }
.aethelix-risk-finding { padding:16px; margin-bottom:20px; border:1px solid var(--web-line,#303137); border-radius:16px; background:var(--web-bg,#111214); }
.aethelix-risk-finding-label { display:block; margin-bottom:7px; color:var(--web-muted,#a0a3ae); font-size:12px; font-weight:500; }
.aethelix-risk-finding p { margin:0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.aethelix-risk-codes { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:12px 0 0; }
.aethelix-risk-codes li { max-width:100%; padding:5px 8px; border-radius:7px; background:var(--web-raised,#24252b); color:var(--web-muted,#a0a3ae); font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.aethelix-risk-remember { display:flex; align-items:center; gap:10px; width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--web-line,#303137); border-radius:14px; background:var(--web-raised,#24252b); color:var(--web-text,#f3f3f5); text-align:left; font-size:13px; line-height:1.4; font-weight:500; }
.aethelix-risk-remember:hover { border-color:var(--web-muted,#a0a3ae); }
.aethelix-risk-check { flex:0 0 18px; display:grid; place-items:center; width:18px; height:18px; border:1px solid var(--web-muted,#a0a3ae); border-radius:5px; }
.aethelix-risk-check svg { visibility:hidden; }
.aethelix-risk-remember[aria-pressed="true"] .aethelix-risk-check { background:var(--web-text,#f3f3f5); border-color:var(--web-text,#f3f3f5); color:var(--web-panel,#191a1e); }
.aethelix-risk-remember[aria-pressed="true"] .aethelix-risk-check svg { visibility:visible; }
.aethelix-risk-preference-note { margin:9px 2px 20px; color:var(--web-muted,#a0a3ae); font-size:11px; line-height:1.5; }
.aethelix-risk-actions { display:grid; gap:9px; }
.aethelix-risk-actions button { min-height:50px; padding:13px 16px; border:0; border-radius:15px; font-size:14px; line-height:1.4; font-weight:600; }
.aethelix-risk-continue { background:var(--web-blue,#5265ff); color:#fff; }
.aethelix-risk-continue:hover { filter:brightness(1.07); }
.aethelix-risk-cancel { background:var(--web-raised,#24252b); color:var(--web-text,#f3f3f5); }
.aethelix-risk-card button:focus-visible { outline:2px solid var(--web-blue,#5265ff); outline-offset:3px; }
@keyframes aethelix-risk-enter { from { opacity:0; transform:translateY(6px) scale(.985); } to { opacity:1; transform:none; } }
@media(max-width:479px) { .aethelix-risk-card { padding:22px; border-radius:24px; } .aethelix-risk-card h3 { font-size:24px; } }
@media(prefers-reduced-motion:reduce) { .aethelix-risk-card { animation:none; } .aethelix-risk-card button { transition:none; } }
