/* Fortress cockpit: scoped to new components; existing v38 selectors are untouched. */
#fortressModeBar {position:sticky;top:0;z-index:150;background:#081321;padding:10px max(14px,env(safe-area-inset-right));display:flex;gap:8px;align-items:center;justify-content:center;border-bottom:1px solid #2a4057}
#fortressModeBar button{border:1px solid #40526b;background:#101e30;color:#e1ebf6;border-radius:11px;padding:11px 14px;font:600 14px system-ui;min-height:44px;cursor:pointer}
#fortressModeBar button[aria-pressed="true"]{background:#0c766d;border-color:#2dd4bf;color:#fff}
body[data-fortress-mode="cockpit"] #dashboardApp > :not(#fortressModeBar):not(#fortressCockpit){display:none!important}
body[data-fortress-mode="full"] #fortressCockpit{display:none!important}
#fortressCockpit{box-sizing:border-box;min-height:100vh;padding:24px max(16px,env(safe-area-inset-right));color:#eef6ff;background:#0a1220;font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN",sans-serif}
#fortressCockpit *{box-sizing:border-box}
#fortressCockpit .fc-wrap{max-width:1000px;margin:0 auto}
#fortressCockpit .fc-eyebrow{color:#78bbb9;font-size:12px;letter-spacing:.12em}
#fortressCockpit h1{font-size:clamp(23px,5vw,36px);margin:8px 0 18px}
#fortressCockpit .fc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px}
#fortressCockpit .fc-card{background:#121f32;border:1px solid #2a3e59;border-radius:18px;padding:20px;min-width:0;margin-bottom:14px}
#fortressCockpit .fc-card h2{font-size:18px;margin:0 0 10px}
#fortressCockpit .fc-summary{font-size:clamp(19px,4vw,28px);line-height:1.45;margin:8px 0}
#fortressCockpit p{line-height:1.6;color:#becddd}
#fortressCockpit .fc-muted{font-size:12px;color:#a6b9cd}
#fortressCockpit .fc-error{color:#ffd1d6}
#fortressCockpit .fc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
#fortressCockpit a.fc-action{background:#136b68;color:#fff;border-radius:12px;padding:12px 16px;text-decoration:none;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
#fortressCockpit a.fc-action.secondary{background:#21334a}
#fortressCockpit .fc-list{list-style:none;margin:0;padding:0}
#fortressCockpit .fc-list li{padding:12px 0;border-bottom:1px solid #2b3a50}
#fortressCockpit .fc-list li:last-child{border-bottom:none}
#fortressCockpit .fc-list strong{display:block;margin-bottom:5px}
#fortressCockpit details{margin-top:10px}
#fortressCockpit summary{cursor:pointer;min-height:44px;padding:10px 0}
#fortressCockpit input[type="search"]{width:100%;font:inherit;min-height:44px;background:#091727;color:#fff;border:1px solid #41566e;border-radius:10px;padding:10px 12px;margin-bottom:12px}
@media(min-width:800px){#fortressCockpit{padding-top:34px}}

/* One-glance mobile decision: raw audits are collapsed and never flood the page. */
#fortressCockpit .fc-item-line{display:flex;align-items:center;justify-content:space-between;gap:10px}
#fortressCockpit .fc-item-line strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere;margin:0}
#fortressCockpit .fc-status{font-size:11px;white-space:nowrap;color:#b8d1dd;background:#233247;border-radius:999px;padding:5px 9px;flex-shrink:0}
#fortressCockpit .fc-list li{padding:11px 0}
#fortressCockpit .fc-list li>p{font-size:13px;line-height:1.45;margin:6px 0 0;color:#c1cdd9}
#fortressCockpit .fc-list details{margin-top:5px}
#fortressCockpit .fc-list summary{font-size:12px;color:#93b7c8;min-height:34px;padding:8px 0}
#fortressCockpit .fc-list details p{font-size:12px;overflow-wrap:anywhere;word-break:break-word;color:#a9bbcc;line-height:1.6}
#fortressCockpit .fc-list-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px}
#fortressCockpit .fc-subtle-button{border:1px solid #365168;background:#152439;color:#e1f0f7;border-radius:11px;min-height:44px;padding:10px 14px;font:600 13px system-ui;cursor:pointer}
#fortressCockpit [hidden]{display:none!important}
@media(max-width:600px){
 #fortressCockpit{padding:14px max(12px,env(safe-area-inset-left))}
 #fortressCockpit .fc-card{padding:15px;border-radius:14px;margin-bottom:10px}
 #fortressCockpit h1{font-size:23px}
 #fortressCockpit .fc-card h2{font-size:17px}
 #fortressCockpit .fc-actions .fc-action{font-size:13px;padding:10px 12px}
 #fortressCockpit .fc-grid{gap:0}
 #fortressModeBar{padding:8px 12px}
 #fortressModeBar button{font-size:13px;flex:1}
}
