.ir-panel{background:var(--panel);border:1px solid var(--line);border-radius:19px;padding:24px;margin:0 0 26px;min-width:0;overflow-wrap:anywhere}
.ir-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start}
.ir-head h2{margin:6px 0;font-size:24px;letter-spacing:-.02em}
.ir-eyebrow{font-size:11px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--brand);margin:0}
.ir-muted{color:var(--muted);font-size:14px;line-height:1.6}
.ir-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;align-items:center}
.ir-toolbar select,.ir-toolbar input,.ir-row select{box-sizing:border-box;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--panel);font:inherit;font-size:14px}
.ir-toolbar input[type=search]{flex:1 1 240px}.ir-toolbar label{display:flex;gap:8px;align-items:center;font-size:14px}
.ir-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.ir-agency-card{display:grid;gap:4px;text-align:left;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--brand-soft);color:var(--ink);font:inherit;cursor:pointer}
.ir-agency-card strong{font-size:20px}.ir-big{font-size:34px;font-weight:750;color:var(--brand)}
.ir-summary{padding:14px 16px;border-left:3px solid var(--brand);background:var(--brand-soft);border-radius:8px;margin-bottom:16px}.ir-summary p{margin:4px 0;line-height:1.6}
.ir-group h3{display:flex;gap:10px;align-items:center;margin:26px 0 12px;font-size:19px}
.ir-count{font-size:12px;background:var(--brand);color:#fff;border-radius:20px;padding:2px 9px}
.ir-rule{border:1px solid var(--line);border-radius:14px;padding:18px;margin:0 0 14px;scroll-margin-top:100px}
.ir-rule:target{outline:3px solid var(--brand)}
.ir-rule h4{margin:10px 0 6px;font-size:18px}.ir-rule p{line-height:1.65;margin:6px 0}.ir-rule h5{margin:12px 0 4px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.ir-rule-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ir-id{font-family:ui-monospace,monospace;font-size:13px;font-weight:650}
.ir-badge{font-size:12px;padding:4px 9px;border-radius:20px;background:var(--brand-soft)}
.ir-deadline{background:#fff1d6;color:#6b4500}.ir-inherit{background:#ece6ff;color:#3d2a80}
.ir-level{font-size:11px;font-weight:700;padding:3px 8px;border-radius:20px;text-transform:uppercase;letter-spacing:.04em}
.ir-quoted{background:#dcf3e4;color:#14532d}.ir-located{background:#e3eefc;color:#1e3a8a}.ir-to-verify{background:#fde8e8;color:#7f1d1d}
.ir-meta{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;font-size:14px;margin:10px 0}.ir-meta dt{color:var(--muted)}.ir-meta dd{margin:0}
.ir-evidence{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:14px;line-height:1.5}
.ir-evidence q{display:block;margin:3px 0 0;padding-left:10px;border-left:2px solid var(--line);color:var(--muted);font-style:italic}
.ir-evidence q.ir-quote-en{font-style:normal;font-size:13px}
.ir-doclink{margin-left:8px;font-size:12px}
.ir-reqlinks{font-size:13px;color:var(--muted)}
.ir-fields table,.ir-diff table,.ir-matrix table{width:100%;border-collapse:collapse;font-size:13px;margin:10px 0}
.ir-fields th,.ir-fields td,.ir-diff th,.ir-diff td,.ir-matrix th,.ir-matrix td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}
.ir-act-mask td:nth-child(2){color:#9a3412;font-weight:650}.ir-act-blank td:nth-child(2){color:#6b21a8;font-weight:650}.ir-act-keep td:nth-child(2){color:#166534;font-weight:650}
.ir-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px}.ir-chip{font-family:ui-monospace,monospace;font-size:12px;padding:2px 7px;border:1px solid var(--line);border-radius:6px;text-decoration:none}
.ir-notes{font-size:13px;color:var(--muted);line-height:1.6}
.ir-rule details{margin-top:10px}.ir-rule summary,.ir-matrix summary{cursor:pointer;font-weight:650}
.ir-history{font-size:13px;line-height:1.6}.ir-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
.ir-diff pre{white-space:pre-wrap;margin:0;font:inherit}.ir-before{background:#fff5f5}.ir-after{background:#f2fbf5}
.ir-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.ir-matrix{margin:0 0 16px}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .ir-before{background:#3a1f1f}:where([data-theme="dark"]) .ir-after{background:#1c3324}:where([data-theme="dark"]) .ir-deadline{background:#4a3612;color:#ffe3ad}:where([data-theme="dark"]) .ir-inherit{background:#2e2552;color:#ddd3ff}:where([data-theme="dark"]) .ir-quoted{background:#173d26;color:#bff0cf}:where([data-theme="dark"]) .ir-located{background:#1d2f52;color:#cfe0ff}:where([data-theme="dark"]) .ir-to-verify{background:#4b1f1f;color:#ffd1d1}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .ir-before{background:#3a1f1f}:where(:not([data-theme])) .ir-after{background:#1c3324}:where(:not([data-theme])) .ir-deadline{background:#4a3612;color:#ffe3ad}:where(:not([data-theme])) .ir-inherit{background:#2e2552;color:#ddd3ff}:where(:not([data-theme])) .ir-quoted{background:#173d26;color:#bff0cf}:where(:not([data-theme])) .ir-located{background:#1d2f52;color:#cfe0ff}:where(:not([data-theme])) .ir-to-verify{background:#4b1f1f;color:#ffd1d1}}
@media(max-width:700px){.ir-panel{padding:16px}.ir-toolbar>*{width:100%}.ir-meta{grid-template-columns:1fr}.ir-fields,.ir-diff,.ir-matrix{overflow-x:auto}}
.e2-rule-links h4{margin:14px 0 6px}.e2-rule-link{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0}.e2-rule-link summary{cursor:pointer;line-height:1.6}.e2-rule-link.is-privacy{border-left:4px solid #c2410c}.e2-rule-action{font-size:13px;font-weight:650}.e2-rule-action.ir-act-mask{color:#9a3412}.e2-rule-action.ir-act-blank{color:#6b21a8}.e2-rule-action.ir-act-keep{color:#166534}
.iv-input{width:100%;box-sizing:border-box;font-family:ui-monospace,monospace;font-size:12px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);margin:10px 0}
.iv-result h3,.iv-case h3{margin:16px 0 4px;font-size:18px}.iv-sev{font-size:11px;font-weight:700;padding:3px 8px;border-radius:20px;white-space:nowrap}
.iv-sev-error{background:#fde8e8;color:#7f1d1d}.iv-sev-warning{background:#fff1d6;color:#6b4500}.iv-sev-input-needed{background:#ece6ff;color:#3d2a80}.iv-sev-pass{background:#dcf3e4;color:#14532d}.iv-sev-not-applicable{background:var(--brand-soft);color:var(--muted)}
.iv-result details{margin:8px 0}.iv-result summary{cursor:pointer;font-weight:650}#sb-rule-check{margin-top:26px}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .iv-sev-error{background:#4b1f1f;color:#ffd1d1}:where([data-theme="dark"]) .iv-sev-warning{background:#4a3612;color:#ffe3ad}:where([data-theme="dark"]) .iv-sev-input-needed{background:#2e2552;color:#ddd3ff}:where([data-theme="dark"]) .iv-sev-pass{background:#173d26;color:#bff0cf}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .iv-sev-error{background:#4b1f1f;color:#ffd1d1}:where(:not([data-theme])) .iv-sev-warning{background:#4a3612;color:#ffe3ad}:where(:not([data-theme])) .iv-sev-input-needed{background:#2e2552;color:#ddd3ff}:where(:not([data-theme])) .iv-sev-pass{background:#173d26;color:#bff0cf}}
.iv-tools select,.iv-tools input{width:auto}.iv-tools label{white-space:nowrap}@media(max-width:700px){.iv-tools select,.iv-tools input{width:100%}.iv-tools label{flex-direction:column;align-items:stretch;gap:4px}}
@media(max-width:700px){.iv-result table,.iv-result tbody,.iv-result tr,.iv-result td{display:block;width:auto}.iv-result thead{display:none}.iv-result tr{border-bottom:1px solid var(--line);padding:8px 0}.iv-result td{border:0;padding:3px 0}}
.ir-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 18px}.ir-kpi{display:grid;gap:2px;padding:14px;border:1px solid var(--line);border-radius:12px;font-size:13px;color:var(--muted)}.ir-kpi .ir-big{font-size:28px}
.ir-bar{display:flex;height:18px;border-radius:6px;overflow:hidden;background:var(--line);font-size:11px;font-weight:700;margin-top:4px}.ir-bar span{display:flex;align-items:center;justify-content:center;min-width:18px}.ir-bar-quoted{background:#2f9e5b;color:#fff}.ir-bar-located{background:#3b6fd1;color:#fff}.ir-bar-verify{background:#c2413b;color:#fff}
.ir-cell{position:relative;min-width:90px}.ir-cell-bar{position:absolute;left:0;top:0;bottom:0;background:var(--brand-soft);border-radius:4px;z-index:0}.ir-cell span:last-child{position:relative;z-index:1}
.ir-changes{padding-left:18px;line-height:1.6;font-size:14px}.ir-changes li{margin:6px 0}.ir-dashboard h3{margin:22px 0 8px;font-size:18px}
.ir-field-name{font-size:12px;color:var(--muted);line-height:1.35;margin-top:2px}
.ir-chip{display:inline-flex;gap:6px;align-items:baseline;max-width:100%}.ir-chip-name{font-family:"Nunito Sans", system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--muted);max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ir-matrix td:first-child{white-space:nowrap}.ir-matrix .ir-act-mask td:nth-child(2),.ir-matrix .ir-act-blank td:nth-child(2),.ir-matrix .ir-act-keep td:nth-child(2){color:inherit;font-weight:inherit}
.ir-matrix .ir-act-mask td:nth-child(3){color:#9a3412;font-weight:650}.ir-matrix .ir-act-blank td:nth-child(3){color:#6b21a8;font-weight:650}.ir-matrix .ir-act-keep td:nth-child(3){color:#166534;font-weight:650}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .ir-matrix .ir-act-mask td:nth-child(3){color:#fdba74}:where([data-theme="dark"]) .ir-matrix .ir-act-blank td:nth-child(3){color:#d8b4fe}:where([data-theme="dark"]) .ir-matrix .ir-act-keep td:nth-child(3){color:#86efac}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .ir-matrix .ir-act-mask td:nth-child(3){color:#fdba74}:where(:not([data-theme])) .ir-matrix .ir-act-blank td:nth-child(3){color:#d8b4fe}:where(:not([data-theme])) .ir-matrix .ir-act-keep td:nth-child(3){color:#86efac}}

.iv-sev-due{background:var(--brand-soft);color:inherit}.iv-due{margin-top:22px}.iv-due h4{margin:14px 0 4px}.iv-due-agencies{display:flex;flex-wrap:wrap;gap:6px 14px;border:1px solid var(--line);border-radius:9px;padding:6px 12px;margin:8px 0}.iv-due-agencies legend{font-size:13px;font-weight:650;padding:0 4px}.iv-due-agencies label{white-space:nowrap}
@media(min-width:701px){.iv-due .ir-matrix td:nth-child(4),.iv-due .ir-matrix td:nth-child(5){white-space:nowrap}}
.ir-pending{border-left-color:var(--warn,#b45309)}.ir-pending ul{margin:6px 0 0 18px;padding:0}.ir-pending li{margin:3px 0}

/* Changed rules for your safety database (changedRulesPanel) */
.cr-panel{margin:0 0 16px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.cr-panel>summary{cursor:pointer;font-family:Outfit,system-ui,sans-serif;font-weight:600;font-size:16px;color:var(--brand)}
.cr-panel[open]>summary{margin-bottom:8px}
.cr-panel .ir-toolbar{margin:12px 0 8px}
.cr-panel .ir-toolbar>label{flex:0 1 auto;white-space:nowrap}
.cr-panel .ir-badge{justify-self:start}
.cr-panel .ir-toolbar select,.cr-panel .ir-toolbar input{width:auto;min-width:220px;height:32px;padding:4px 10px}
@media(pointer:coarse){.cr-panel .ir-toolbar select,.cr-panel .ir-toolbar input{height:44px}}
.cr-chips{display:flex;flex-wrap:wrap;gap:6px}
.cr-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 4px 0 10px;border-radius:12px;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:700}
.cr-chip button{position:relative;border:0;background:transparent;color:inherit;font:inherit;font-size:15px;line-height:1;cursor:pointer;width:20px;height:20px;border-radius:50%}
.cr-chip button::after{content:'';position:absolute;inset:-12px}
.cr-chip button:focus-visible{outline:2px solid var(--focus)}
.cr-head{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between}
.cr-head p{margin:0}
.cr-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cr-list{list-style:none;padding:0;margin:8px 0 0;font-size:14px}
.cr-list li{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;padding:6px 0;border-top:1px solid var(--line);align-items:start}
.cr-list li>div{min-width:0}
.cr-id{white-space:nowrap;font-weight:700}
@media(max-width:700px){.cr-panel .ir-toolbar>label{flex-direction:column;align-items:stretch;gap:4px}.cr-panel .ir-toolbar select,.cr-panel .ir-toolbar input{min-width:0;width:100%}.cr-list li{grid-template-columns:1fr}}
