/* Security Lab Analysers — shell (v1.37.0). Tool-specific blocks are appended below by Tasks 2–5. */
.analysers { display: grid; gap: 14px; }
.analyser { border: 1px solid rgba(23,182,160,.25); border-radius: 6px; background: rgba(10,14,20,.85); color: #d7dde3; color-scheme: dark; /* SL-04 (2026-08-31 audit): native select/scrollbar/autofill inside the dark panel on light-mode OS */ }
.analyser-summary { cursor: pointer; padding: 14px 16px; list-style: none; display: block; }
.analyser-summary:focus-visible { outline: 2px solid #17b6a0; outline-offset: 3px; }
.analyser-summary::-webkit-details-marker { display: none; }
.analyser-summary::before { content: '▸'; color: #17b6a0; margin-right: 8px; }
.analyser[open] > .analyser-summary::before { content: '▾'; }
.analyser-title { display: inline; font-size: 15px; font-weight: 700; color: #fff; }
.analyser-blurb { display: block; margin-top: 4px; font-size: 12.5px; opacity: .75; }
.analyser-scope { display: block; margin-top: 4px; font-size: 12px; opacity: .65; } /* v1.50.0 per-tool "Does not …" line; empty until signed off */
.analyser-body { padding: 0 16px 16px; }
.analyser-foot { margin: 0 16px 14px; font-size: 11.5px; opacity: .65; }
.an-hint { font-size: 12.5px; opacity: .8; margin: 0 0 10px; }
.an-controls { margin: 0 0 8px; font-size: 12.5px; }
.an-select { margin-left: 6px; background: #0b1118; color: #d7dde3; border: 1px solid rgba(23,182,160,.35); border-radius: 4px; padding: 4px 6px; }
.an-input { box-sizing: border-box; width: 100%; min-height: 150px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(0,0,0,.45); color: #e6edf3; border: 1px solid rgba(23,182,160,.35); border-radius: 4px; padding: 10px; resize: vertical; }
.an-input:focus { outline: 2px solid #17b6a0; outline-offset: 1px; }
.an-input-line { min-height: 0; } /* SL-23: single-line tools (inputType 'line') */
.an-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.an-count { margin-left: auto; font-size: 11.5px; opacity: .65; }
.an-count-over { color: #ff8a93; opacity: 1; }
.an-out { margin-top: 6px; }
/* Reserve the result area on an open tool so the auto-run sample cannot shift the page (CLS). */
.analyser[open] .an-out { min-height: 160px; }
.an-verdict { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px; font-weight: 600; border: 1px solid transparent; }
.an-verdict-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.an-verdict-ok   { color: #2fd4bd; border-color: rgba(47,212,189,.4); background: rgba(23,182,160,.08); }
.an-verdict-warn { color: #ffb84d; border-color: rgba(255,184,77,.4);  background: rgba(255,165,2,.08); }
.an-verdict-bad  { color: #ff8a93; border-color: rgba(255,138,147,.4);  background: rgba(255,71,87,.08); }
.an-verdict-info { color: #8ab4f8; border-color: rgba(138,180,248,.4); background: rgba(138,180,248,.08); }
.an-h { margin: 16px 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #17b6a0; }
.an-findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.an-finding { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: start; font-size: 13px; padding: 8px 10px; border-radius: 4px; background: rgba(255,255,255,.03); }
.an-finding-detail { grid-column: 2; font-size: 12px; opacity: .75; }
.an-chip { font: 700 10.5px/1 ui-monospace, monospace; letter-spacing: .05em; padding: 4px 6px; border-radius: 3px; color: #0b1118; background: #8ab4f8; }
.an-sev-CRITICAL .an-chip { background: #b71c1c; color: #fff; }
.an-sev-HIGH .an-chip { background: #c2410c; color: #fff; }
.an-sev-WARN .an-chip { background: #ffa502; }
.an-sev-INFO .an-chip { background: #8ab4f8; }
.an-sev-OK .an-chip { background: #17b6a0; }
.an-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.an-table th, .an-table td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.an-table th { width: 32%; color: #9fb3c8; font-weight: 600; }
.an-table td { word-break: break-word; }
.an-pre { color: #e6edf3; background: rgba(0,0,0,.45); border: 1px solid rgba(23,182,160,.2); border-radius: 4px; padding: 10px; font-size: 11.5px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.an-muted { opacity: .65; font-size: 12.5px; }
.an-stale { opacity: 1; color: #ffa502; margin: 0 0 8px; } /* B3-02 */
@media (max-width: 600px) { .an-finding { grid-template-columns: 1fr; } .an-finding-detail { grid-column: 1; } .an-table th { width: 40%; } }
@media (prefers-reduced-motion: reduce) { .analysers *, .analysers *::before, .analysers *::after, .analyser *, .analyser *::before, .analyser *::after { animation: none !important; transition: none !important; } }

/* email-headers */
.eh-hops { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eh-hop { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-left: 3px solid #17b6a0; background: rgba(255,255,255,.03); border-radius: 0 4px 4px 0; }
.eh-hop-plain { border-left-color: #ffa502; }
.eh-hop-n { font: 700 12px/28px ui-monospace, monospace; text-align: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(23,182,160,.15); color: #17b6a0; }
.eh-hop-route { font: 12.5px/1.4 ui-monospace, monospace; word-break: break-all; }
.eh-hop-meta { font-size: 11.5px; opacity: .7; margin-top: 2px; }
.sr-only-list { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* cryptanalysis */
.cr-freq { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 8px 0 18px; position: relative; }
.cr-freq-col { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.cr-freq-bar { width: 100%; background: rgba(23,182,160,.6); border-radius: 2px 2px 0 0; transition: height .4s ease; }
.cr-freq-exp { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(255,165,2,.8); }
.cr-freq-l { position: absolute; bottom: -18px; font: 10px/1 ui-monospace, monospace; opacity: .7; }

/* x509 */
.x5-chain { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.x5-card { border: 1px solid rgba(23,182,160,.35); border-radius: 6px; padding: 10px 12px; background: rgba(255,255,255,.03); animation: x5in .4s ease both; }
.x5-leaf { border-color: #17b6a0; }
.x5-root { border-style: dashed; }
.x5-role { font: 700 10.5px/1 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #17b6a0; }
.x5-cn { font-weight: 700; margin-top: 4px; word-break: break-all; }
.x5-meta { font-size: 11.5px; opacity: .7; margin-top: 2px; }
.x5-arrow { text-align: center; font-size: 11.5px; padding: 6px 0; color: #9fb3c8; }
.x5-ok { color: #17b6a0; } .x5-bad { color: #ff4757; font-weight: 700; }
.x5-note { font-size: 11.5px; opacity: .7; margin-top: 8px; }
@keyframes x5in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* organiser */
.seclab-analysers { margin: 28px 0; }
/* This section sits on the theme's light background, so the accent teal is darkened to clear AA (2.55:1 -> 5.09:1). */
.seclab-analysers .seclab-section-title { color: #0e7c6d; }
.seclab-analysers .seclab-section-title::before { background: #0e7c6d; }
.seclab-analysers-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #0e7c6d; border: 1px solid rgba(14,124,109,.45); border-radius: 999px; padding: 5px 12px; margin: 0 0 14px; }
.seclab-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #0e7c6d; box-shadow: 0 0 0 3px rgba(14,124,109,.2); }

/* nmap-output */
.nm-host { border: 1px solid rgba(23,182,160,.28); border-radius: 6px; padding: 10px 12px; background: rgba(255,255,255,.03); margin: 0 0 10px; }
.nm-host-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.nm-ip { font: 700 13px/1.3 ui-monospace, monospace; color: #17b6a0; word-break: break-all; }
.nm-names { font-size: 12px; opacity: .75; word-break: break-all; }
.nm-meta { font-size: 11.5px; opacity: .7; margin-top: 4px; word-break: break-word; }
.nm-chip { display: inline-block; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; border-radius: 3px; padding: 3px 6px; border: 1px solid currentColor; }
.nm-open { color: #ff4757; }
.nm-filtered { color: #ffa502; }
.nm-closed { color: #9fb3c8; }
.nm-ports { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; display: block; overflow-x: auto; }
.nm-ports th { text-align: left; font: 700 10.5px/1 ui-monospace, monospace; letter-spacing: .06em; color: #9fb3c8; padding: 4px 8px 4px 0; border-bottom: 1px solid rgba(23,182,160,.2); }
.nm-ports td { padding: 4px 8px 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.nm-port { font: 12px/1.4 ui-monospace, monospace; white-space: nowrap; }
.nm-ver { font-size: 11.5px; opacity: .8; word-break: break-word; }
