.cx-shell .cx-site-health-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
.cx-shell .cx-site-health-strip>button,.cx-shell .cx-site-health-strip>a{display:flex;align-items:center;gap:12px;min-width:0;padding:17px 18px;text-align:left;border:1px solid var(--cx-line);background:#fff;border-radius:7px;color:#254b3b;font:inherit;box-shadow:0 1px 2px #153b2a03}
.cx-shell .cx-site-health-strip>button:hover,.cx-shell .cx-site-health-strip>a:hover{border-color:#aac6d4;background:#fbfdff}
.cx-shell .cx-site-health-strip>button>span:nth-child(2),.cx-shell .cx-site-health-strip>a>span:nth-child(2){flex:1;min-width:0}
.cx-shell .cx-site-health-strip b{display:block;font-size:13px;font-weight:600;line-height:1.5}
.cx-shell .cx-site-health-strip small{display:block;font-size:12px;line-height:1.5;color:#657a6e;margin-top:3px}
.cx-shell .cx-site-op-icon{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:6px;background:#edf4fa;color:#3068a4;flex-shrink:0}
.cx-shell .cx-site-op-icon.cx-site-op-warm{background:#f8f3e7;color:#8a7441}
.cx-shell .cx-fleet-operations{margin-bottom:30px}
.cx-shell .cx-ops-sample{font-size:11px;color:#687b70;line-height:1.5;white-space:nowrap}
.cx-shell .cx-fleet-operations .cx-table{min-width:740px}
.cx-shell .cx-fleet-operations .cx-table td{vertical-align:middle}
.cx-shell .cx-fleet-operations .cx-table td:last-child{width:205px}
#dialog .cx-plan-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}
#dialog .cx-plan-diff>div{display:grid;gap:6px;background:#f6f8f6;border:1px solid #e0e7e1;padding:18px;border-radius:6px;min-width:0}
#dialog .cx-plan-diff>div:last-child{background:#f1f6fc;border-color:#cfdeed}
#dialog .cx-plan-diff span{font-size:11px;line-height:1.5;color:#637a6c}
#dialog .cx-plan-diff b{font-size:15px;line-height:1.5;color:#264b39}
#dialog .cx-plan-diff small{font-size:12px;line-height:1.6;color:#637a6c}
@media(max-width:1160px){.cx-shell .cx-site-health-strip{grid-template-columns:1fr}.cx-shell .cx-site-health-strip>button,.cx-shell .cx-site-health-strip>a{padding:14px 16px}}
@media(max-width:600px){.cx-shell .cx-site-health-strip{gap:9px;margin-bottom:20px}.cx-shell .cx-site-health-strip b{font-size:13px}.cx-shell .cx-ops-sample{white-space:normal}#dialog .cx-plan-diff{grid-template-columns:1fr}}

/* Keep the working access plan and its actions close to the environment identity. */
#dialog .cx-plan-primary-actions{margin:18px 0 24px;padding-bottom:20px;border-bottom:1px solid #dce4e0}
#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:22px 0}
#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts>div{display:block;padding:13px 0;min-width:0}
#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts dt{font-size:12px;line-height:1.5;margin-bottom:5px}
#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts dd{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-scope-box{margin-block:18px;padding:16px 18px}
#dialog .cx-plan-effective .cx-permitted-list>span{padding:8px 10px;background:#fff;border:1px solid #dbe6ef;color:#23475e}
@media(max-width:760px){#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 17px}}
@media(max-width:420px){#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts{grid-template-columns:1fr;gap:0}#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts>div{display:grid;grid-template-columns:minmax(85px,.75fr) minmax(0,1.25fr);gap:12px}#dialog .cx-dialog-body:has(>.cx-plan-effective)>.cx-facts dt{margin-bottom:0}}

/* Read-only historical threat example, separate from current site health. */
.cx-shell .cx-site-threat-example{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin:0 0 24px;border:1px solid var(--cx-line);border-radius:7px;background:#fff}
.cx-shell .cx-site-threat-example>div{min-width:0}
.cx-shell .cx-site-threat-example .cx-eyebrow{font-size:11px;line-height:1.5;margin-bottom:5px;letter-spacing:.08em;color:#416c88}
.cx-shell .cx-site-threat-example h2{font-size:18px;line-height:1.4;letter-spacing:-.02em;color:#23483b}
.cx-shell .cx-site-threat-example p{font-size:14px;line-height:1.6;color:#64766d;margin-top:4px}
.cx-shell .cx-site-threat-example .cx-button{flex-shrink:0;min-height:44px;font-size:14px;line-height:1.5;white-space:normal}
#dialog .cx-threat-evidence{border:1px solid #dbe5e8;border-radius:6px;margin:18px 0;background:#fbfdfe}
#dialog .cx-threat-evidence summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;font-size:14px;line-height:1.5;color:#2b5c7b;cursor:pointer;list-style:none;min-height:48px}
#dialog .cx-threat-evidence summary::-webkit-details-marker{display:none}
#dialog .cx-threat-evidence[open] summary{border-bottom:1px solid #dbe5e8}
#dialog .cx-threat-evidence[open] summary svg{transform:rotate(90deg)}
#dialog .cx-threat-evidence .cx-facts{margin:0 16px 12px}
@media(max-width:760px){.cx-shell .cx-site-threat-example{align-items:flex-start;flex-direction:column;gap:13px;padding:16px}.cx-shell .cx-site-threat-example .cx-button{align-self:flex-start}.cx-shell .cx-site-threat-example h2{font-size:18px}}
