/* Infrastructure Discovery & Assessment: additions to the shared DevSecOps look (dark green and gold) */
.domains.l6{grid-template-columns:repeat(6,1fr)}
.life.p7{grid-template-columns:repeat(7,1fr)}
.lcard{text-align:left}
.lcard .ft .o{font-style:normal}
.tools .tl2{margin-left:14px}
.modesum{margin:4px 0 10px;font-size:12px;color:#d2c8b4}
.gates .cell.gate{background:#163a30;border-color:#c9a15d}
.gates .cell.gate .ct{color:#f6f0e4}
.gates .cell.gate .cs{color:#c0b6a0}
/* state badge on each estate item */
.cell.item{position:relative;padding-bottom:24px}
.stb{display:inline-block;font-size:9.4px;font-weight:800;letter-spacing:.4px;padding:2px 6px;border-radius:3px;color:#fff;text-transform:uppercase}
.cell .stb{position:absolute;left:8px;bottom:6px}
.stb.st-gap{background:#a3221f}
.stb.st-partial{background:#7a5f00}
.stb.st-ok{background:#1f6b2b}
body.state .cell.item{background:#102e26;border:1.3px solid rgba(240,201,135,.32)}
body.state .cell.item .ct{color:#f6f0e4}
body.state .cell.item .cs{color:#c0b6a0}
body.state .cell.item[data-st="gap"]{background:#3a1012;border-color:#e0605c;border-left:5px solid #e0605c}
body.state .cell.item[data-st="partial"]{background:#3a3010;border-color:#e0b84a;border-left:5px solid #e0b84a}
body.state .cell.item[data-st="ok"]{background:#103a1c;border-color:#5cc06a;border-left:5px solid #5cc06a}
/* legend swatches as classes (no inline styles) */
.legend i[class^="sw-"]{display:inline-block;width:14px;height:10px;border-radius:2px;border:1.4px solid;margin-right:5px;vertical-align:-1px}
.sw-scm{background:var(--scm-f-gabg);border-color:var(--scm-s-gabd)}
.sw-cicd{background:var(--cicd-f-gabg);border-color:var(--cicd-s-gabd)}
.sw-quality{background:var(--quality-f-gabg);border-color:var(--quality-s-gabd)}
.sw-appsec{background:var(--appsec-f-gabg);border-color:var(--appsec-s-gabd)}
.sw-dast{background:var(--dast-f-gabg);border-color:var(--dast-s-gabd)}
.sw-cloud{background:var(--cloud-f-gabg);border-color:var(--cloud-s-gabd)}
.sw-sev-c{background:#381013;border-color:#d2314a}
.sw-sev-h{background:#3a2711;border-color:#de741f}
.sw-sev-m{background:#102535;border-color:#c9a15d}
.sw-st-gap{background:#3a1012;border-color:#e0605c}
.sw-st-partial{background:#3a3010;border-color:#e0b84a}
.sw-st-ok{background:#103a1c;border-color:#5cc06a}
/* modal additions */
.mbody ul.gapl li::marker{color:#e0605c}
.mstate{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mstate .asbox,.mstate .tbbox{border:1px solid rgba(240,201,135,.32);border-radius:6px;padding:8px 10px;background:#0b2318}
.mstate h3 small{font-weight:400;font-size:10.5px;color:#c0b6a0;text-transform:none;letter-spacing:0}
.mstate p{margin:6px 0 0}
.mstate .dlink{grid-column:1/-1;justify-self:start}
.cmd{border:1px solid rgba(240,201,135,.32);border-radius:6px;background:#0b2318;margin:0 0 8px;overflow:hidden}
.cmdh{display:flex;gap:8px;align-items:center;padding:6px 8px;border-bottom:1px solid rgba(240,201,135,.2);flex-wrap:wrap}
.cmdh b{font-size:12px;color:#f6f0e4;flex:1 1 220px}
.cmdm{font-size:10.5px;color:#c0b6a0;font-family:ui-monospace,Consolas,monospace}
.copy{font:inherit;font-size:11px;font-weight:700;padding:3px 10px;border-radius:4px;border:1px solid #c9a15d;background:#163a30;color:#f0c987;cursor:pointer}
.copy:hover{background:#1d4a3d}
.copy:focus-visible,.cmd pre:focus-visible,.detbtn:focus-visible,.dlcard:focus-visible,.refl:focus-visible,.tblwrap:focus-visible,.bscroll:focus-visible,.dwrap:focus-visible,.kgrp summary:focus-visible,.srcbox summary:focus-visible{outline:3px solid #f0c987;outline-offset:2px}
.cmd pre{margin:0;padding:8px 10px;overflow-x:auto;font-size:11.5px;line-height:1.5;color:#e9f3ee;background:#06140f;white-space:pre}
.cmd code{font-family:ui-monospace,Consolas,"Courier New",monospace}
.cmdn{margin:0;padding:6px 10px;font-size:11px;color:#d2c8b4;border-top:1px solid rgba(240,201,135,.15)}
.cmdr{margin:0;padding:4px 10px 7px;font-size:11px}
.refs .refl,.cmdr .refl{display:inline-block;margin:0 6px 6px 0;font-size:11px;padding:3px 7px;border-radius:4px;border:1px solid rgba(240,201,135,.4);color:#f0c987;text-decoration:none;background:#0b2318}
.refs .refl:hover,.cmdr .refl:hover{text-decoration:underline}
/* BPMN scroll on small screens */
.bscroll{overflow-x:auto}
.bscroll svg{display:block;min-width:900px;width:100%;height:auto}
.d-note{margin:6px 0}
/* current vs target */
.stl{margin:0 0 22px}
.stlh{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;margin-bottom:8px}
.stlh h3{margin:0;font-size:16px;color:#f0c987;min-width:200px}
.stbars{flex:1 1 420px}
.stbar{display:grid;grid-template-columns:50px 1fr 210px;gap:8px;align-items:center;font-size:11px;color:#d2c8b4;margin:2px 0}
.stbt{display:flex;height:11px;border-radius:6px;overflow:hidden;background:#0b2318;border:1px solid rgba(240,201,135,.25)}
.stbt .seg{display:block;height:100%}
.seg.st-ok{background:#4db35a}.seg.st-partial{background:#e0b84a}.seg.st-gap{background:#e0605c}
.tblwrap{overflow-x:auto}
.sttab{width:100%;border-collapse:collapse;font-size:12px;color:#f6f0e4;min-width:880px}
.sttab caption{text-align:left;font-size:11px;color:#c0b6a0;padding:0 0 4px}
.sttab th,.sttab td{border-bottom:1px solid rgba(240,201,135,.2);padding:7px 8px;vertical-align:top;text-align:left}
.sttab thead th{font-size:10.5px;letter-spacing:.6px;text-transform:uppercase;color:#f0c987;background:#0b2318}
.sttab tbody th{width:19%}
.sttab .stn{display:block;font-weight:700}
.sttab .sts{display:block;font-size:10.5px;color:#c0b6a0;font-weight:400}
.sttab .txt{display:block;margin-top:4px;line-height:1.45}
.sttab .asf,.sttab .tbf{width:30%}
body.tobe .sttab .asf{opacity:.6}
body:not(.tobe) .sttab .tbf{opacity:.75}
.sttab .gt{font-weight:800;color:#f0c987;white-space:nowrap}
.sevchip2{display:inline-block;font-size:10px;font-weight:800;padding:2px 6px;border-radius:3px;color:#fff;white-space:nowrap}
.sevchip2.sev-c{background:#9d2235}.sevchip2.sev-h{background:#9a4d12}.sevchip2.sev-m{background:#5c4a1c}
.detbtn{font:inherit;font-size:11px;font-weight:700;padding:4px 10px;border-radius:4px;border:1px solid #c9a15d;background:#163a30;color:#f0c987;cursor:pointer}
.seg[role="group"]{display:inline-flex;gap:0;margin-top:6px}
.cmphead .seg button{font:inherit;font-size:12px;font-weight:700;padding:5px 14px;border:1px solid #c9a15d;background:#0b2318;color:#f0c987;cursor:pointer}
.cmphead .seg button:first-child{border-radius:5px 0 0 5px}
.cmphead .seg button:last-child{border-radius:0 5px 5px 0;border-left:0}
.cmphead .seg button[aria-pressed="true"]{background:#c9a15d;color:#021c17}
.cmphead .seg button:focus-visible{outline:3px solid #f0c987;outline-offset:2px}
.cmphead{margin:6px 0 14px}
/* toolkit */
.dlgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.dlcard{position:relative;display:block;padding:12px 12px 30px;border:1.3px solid rgba(240,201,135,.4);border-radius:8px;background:#102e26;color:#f6f0e4;text-decoration:none}
.dlcard:hover{border-color:#f0c987;background:#163a30}
.dlcard b{display:block;color:#f0c987;font-size:13.5px;margin-bottom:4px}
.dlcard span{display:block;font-size:11.4px;line-height:1.45;color:#d2c8b4}
.dlcard i{position:absolute;left:12px;bottom:9px;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.8px;color:#021c17;background:#c9a15d;border-radius:3px;padding:1px 6px}
.kitnote{font-size:12px;color:#d2c8b4;margin:0 0 10px;max-width:1100px;line-height:1.5}
.kgrp{border:1px solid rgba(240,201,135,.32);border-radius:7px;margin:0 0 8px;background:#102e26}
.kgrp summary{cursor:pointer;padding:9px 12px;font-weight:700;color:#f0c987;font-size:13px}
.kgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 10px}
/* footer */
footer p{margin:0 0 8px}
footer .disc{font-size:11px;color:#c0b6a0;margin-top:10px}
.srcbox{margin:4px 0 10px}
.srcbox summary{cursor:pointer;font-weight:700;color:#f0c987}
.srclist{columns:2;column-gap:28px;font-size:11px;line-height:1.5;margin:8px 0 0;padding-left:34px}
.srclist li{break-inside:avoid;margin:0 0 3px}
.srclist li:target{background:#163a30;outline:1px solid #c9a15d}
@media(max-width:1340px){.domains.l6{grid-template-columns:repeat(3,1fr)}.life.p7{grid-template-columns:repeat(4,1fr)}.dlgrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.domains.l6,.life.p7,.dlgrid{grid-template-columns:repeat(2,1fr)}.kgrid{grid-template-columns:1fr}.mstate{grid-template-columns:1fr}.srclist{columns:1}.stbar{grid-template-columns:44px 1fr}.stbar .stbn{grid-column:2}.tools .tl2{margin-left:0}}
@media(max-width:480px){.domains.l6,.dlgrid{grid-template-columns:1fr}}
@media print{.cmd pre{white-space:pre-wrap}}
.gates .cell.gate .badge.warn{background:#8a4510;color:#fff}
.ochip.shr{color:#c3b0ee}
.dbar .dsub b.inl{display:inline;font-size:inherit;letter-spacing:0}
