Files
pruefwerk/compliance-dashboard/assets/main.css
T
sharang 6df14d907c
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Successful in 3m1s
CI / Deploy Dashboard (push) Successful in 7m6s
CI / Deploy Agent (push) Successful in 8m57s
fix(dashboard): the Steuerungen page saves only devices entered by hand (#1101)
2026-12-01 14:50:10 +00:00

10037 lines
213 KiB
CSS

/* ═══════════════════════════════════════════════════════════════
BREAKPILOT — Prüfwerk dashboard
The breakpilot.com palette the platform portal uses: cool paper
ground, ink text, hairline rules, one indigo accent, mono machine
values and a restrained status palette. Keep these values in step
with the portal (platform/portal src/app/globals.css).
═══════════════════════════════════════════════════════════════ */
/* ── Fonts ──
Geist and Geist Mono (SIL OFL 1.1, assets/fonts/OFL-Geist.txt), served by
the dashboard itself at /fonts/ (infrastructure/server.rs). No third-party
font CDN: a visitor's browser talks to this host only. */
@font-face {
font-family: 'Geist';
src: url('/fonts/geist.woff2') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Geist Mono';
src: url('/fonts/geist-mono.woff2') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
/* ── Design Tokens (light, the default) ── */
:root {
--sidebar-width: 232px;
--header-height: 48px;
/* Surfaces: paper, recessed wells, panels */
--bg-primary: #F5F6FB;
--bg-secondary: #FFFFFF;
--bg-card: #FFFFFF;
--bg-card-solid: #FFFFFF;
--bg-card-hover: #F1F2F9;
--bg-elevated: #EDEFF7;
/* Ink */
--text-primary: #14162B;
--text-secondary: #414669;
--text-tertiary: #5E6384;
--text-faint: #8C91AE;
/* The single interactive accent: breakpilot indigo */
--accent: #4F46E5;
--accent-hover: #4338CA;
--accent-muted: rgb(79 70 229 / 0.09);
--accent-glow: none;
--accent-ink: #fff;
/* Hairlines */
--border: #E4E6F0;
--border-bright: #D5D8E6;
--border-strong: #BEC2D6;
--border-accent: rgb(79 70 229 / 0.30);
/* Functional status, low chroma */
--danger: #B3372F;
--danger-bg: rgb(179 55 47 / 0.09);
--warning: #B5761F;
--warning-bg: rgb(181 118 31 / 0.12);
--success: #2F7A5A;
--success-bg: rgb(47 122 90 / 0.10);
--info: #2E7D8F;
--info-bg: rgb(46 125 143 / 0.10);
--orange: #C4612A;
--orange-bg: rgb(196 97 42 / 0.10);
/* Severity ramp (findings) */
--sev-critical: #B3372F;
--sev-high: #C4612A;
--sev-medium: #B5761F;
--sev-low: #6B7090;
/* The wordmark's chevron: indigo, with the violet upper stroke */
--brand-chevron: #4F46E5;
--brand-chevron-top: #7C3AED;
/* Typography */
--font-display: 'Geist', system-ui, -apple-system, sans-serif;
--font-body: 'Geist', system-ui, -apple-system, sans-serif;
--font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
/* Radii */
--radius-sm: 5px;
--radius: 6px;
--radius-lg: 8px;
--shadow-pop: 0 1px 2px rgb(20 22 43 / 0.05),
0 8px 24px -8px rgb(20 22 43 / 0.16),
0 2px 8px -4px rgb(20 22 43 / 0.08);
/* Transitions */
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
color-scheme: light;
}
/* Code graph colours (graph-viz.js reads them), from the theme tokens, so
they follow the light and dark theme. */
:root {
--graph-function: var(--accent);
--graph-type: var(--success);
--graph-enum: var(--warning);
--graph-interface: var(--info);
--graph-module: var(--orange);
--graph-file: var(--text-faint);
--graph-community: var(--text-tertiary);
}
/* ── Dark ("Nacht") ──
When chosen explicitly (`data-theme="dark"`), or when the OS prefers dark
and no choice was made. */
:root[data-theme="dark"] {
--bg-primary: #0F1225;
--bg-secondary: #1A1E38;
--bg-card: #1A1E38;
--bg-card-solid: #1A1E38;
--bg-card-hover: #20254A;
--bg-elevated: #151935;
--text-primary: #EEF0FA;
--text-secondary: #B9BEDC;
--text-tertiary: #8D93B8;
--text-faint: #666C92;
--accent: #8B87F6;
--accent-hover: #A5A2F8;
--accent-muted: rgb(139 135 246 / 0.16);
--accent-ink: #0F1225;
--border-accent: rgb(139 135 246 / 0.40);
--border: #2A2F52;
--border-bright: #353B62;
--border-strong: #454C77;
--danger: #EE7F76;
--danger-bg: rgb(238 127 118 / 0.14);
--warning: #E0A650;
--warning-bg: rgb(224 166 80 / 0.15);
--success: #5FBF93;
--success-bg: rgb(95 191 147 / 0.14);
--info: #6CC0D2;
--info-bg: rgb(108 192 210 / 0.14);
--orange: #F09A62;
--orange-bg: rgb(240 154 98 / 0.14);
--sev-critical: #EE7F76;
--sev-high: #F09A62;
--sev-medium: #E0A650;
--sev-low: #8D93B8;
--brand-chevron: #8B87F6;
--brand-chevron-top: #A78BFA;
--shadow-pop: 0 1px 2px rgb(0 0 0 / 0.3),
0 12px 32px -10px rgb(0 0 0 / 0.6),
0 2px 8px -4px rgb(0 0 0 / 0.5);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg-primary: #0F1225;
--bg-secondary: #1A1E38;
--bg-card: #1A1E38;
--bg-card-solid: #1A1E38;
--bg-card-hover: #20254A;
--bg-elevated: #151935;
--text-primary: #EEF0FA;
--text-secondary: #B9BEDC;
--text-tertiary: #8D93B8;
--text-faint: #666C92;
--accent: #8B87F6;
--accent-hover: #A5A2F8;
--accent-muted: rgb(139 135 246 / 0.16);
--accent-ink: #0F1225;
--border-accent: rgb(139 135 246 / 0.40);
--border: #2A2F52;
--border-bright: #353B62;
--border-strong: #454C77;
--danger: #EE7F76;
--danger-bg: rgb(238 127 118 / 0.14);
--warning: #E0A650;
--warning-bg: rgb(224 166 80 / 0.15);
--success: #5FBF93;
--success-bg: rgb(95 191 147 / 0.14);
--info: #6CC0D2;
--info-bg: rgb(108 192 210 / 0.14);
--orange: #F09A62;
--orange-bg: rgb(240 154 98 / 0.14);
--sev-critical: #EE7F76;
--sev-high: #F09A62;
--sev-medium: #E0A650;
--sev-low: #8D93B8;
--brand-chevron: #8B87F6;
--brand-chevron-top: #A78BFA;
--shadow-pop: 0 1px 2px rgb(0 0 0 / 0.3),
0 12px 32px -10px rgb(0 0 0 / 0.6),
0 2px 8px -4px rgb(0 0 0 / 0.5);
color-scheme: dark;
}
}
/* ── Reset & Base ── */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
body {
font-family: var(--font-body);
font-size: 13px;
line-height: 1.5;
background: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
font-feature-settings: "cv05" 1, "ss01" 1;
}
a {
color: var(--accent);
text-decoration: none;
transition: color 0.15s;
}
a:hover {
color: var(--accent-hover);
}
h1, h2, h3, h4 {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: -0.01em;
line-height: 1.25;
color: var(--text-primary);
}
code {
font-family: var(--font-mono);
font-size: 0.9em;
}
::selection {
background: var(--accent-muted);
}
/* Mono metadata, as the portal labels things */
.eyebrow {
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: 0.13em;
text-transform: uppercase;
color: var(--text-tertiary);
font-weight: 500;
}
/* ── App Shell ── */
.app-shell {
display: flex;
min-height: 100vh;
}
/* ── Sidebar (the portal's nav rail) ── */
.sidebar {
width: var(--sidebar-width);
background: var(--bg-secondary);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 40;
overflow-y: auto;
overflow-x: hidden;
transition: width 0.2s ease;
}
.sidebar.collapsed {
width: 60px;
}
.sidebar.collapsed + .main-content {
margin-left: 60px;
}
.sidebar-header {
padding: 14px 14px 12px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
gap: 9px;
}
/* Back to the platform portal: above the product's own navigation. */
.nav-item.portal-link {
margin: 8px 8px 0;
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--text-faint);
}
.nav-item.portal-link:hover {
color: var(--accent);
}
/* BreakPilot wordmark, as on breakpilot.com and the portal: the chevron
(indigo, violet upper stroke), "Break" in ink and "Pilot" in the accent. */
.brand-chevron {
width: 24px;
height: 23px;
flex-shrink: 0;
}
.brand-text {
display: flex;
flex-direction: column;
min-width: 0;
}
.brand-name {
font-weight: 800;
font-size: 15px;
letter-spacing: -0.025em;
color: var(--text-primary);
line-height: 1.15;
}
.brand-name .bp-pilot {
color: var(--accent);
}
.brand-sub {
font-family: var(--font-mono);
font-size: 9.5px;
color: var(--text-tertiary);
letter-spacing: 0.06em;
text-transform: uppercase;
}
/* The workspace's branding (tenant-registry#155): its CI colour frames every
page and its logo stands in for the wordmark. The frame never takes a
click, and our own colours (accent, severities) never change with it. */
.brand-frame {
position: fixed;
inset: 0;
border: 6px solid var(--brand-frame);
pointer-events: none;
z-index: 80;
}
.customer-logo,
.customer-initials {
width: 28px;
height: 28px;
border-radius: var(--radius);
flex-shrink: 0;
}
.customer-logo {
object-fit: contain;
}
.customer-initials {
display: flex;
align-items: center;
justify-content: center;
background: var(--brand-frame, var(--bg-elevated));
font-weight: 700;
font-size: 12px;
}
.brand-name.customer-name {
font-weight: 600;
letter-spacing: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.brand-credit {
padding: 8px 14px 0;
font-size: 11px;
color: var(--text-tertiary);
text-align: center;
}
.branding-notice {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px 16px;
padding: 12px 16px;
margin-bottom: 16px;
/* Clear of the notification bell, fixed at the top right. */
margin-right: 56px;
border-radius: var(--radius-lg);
background: var(--bg-card);
border: 1px solid var(--border);
}
@media (max-width: 768px) {
/* The bell sits in the top bar there. */
.branding-notice {
margin-right: 0;
}
}
.branding-notice .customer-logo,
.branding-notice .customer-initials {
width: 32px;
height: 32px;
}
.branding-notice-text {
flex: 1 1 280px;
display: flex;
flex-direction: column;
gap: 2px;
font-size: 13px;
color: var(--text-secondary);
}
.branding-notice-text strong {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.branding-notice-actions {
display: flex;
gap: 8px;
}
.sidebar-nav {
padding: 8px 8px 16px;
flex: 1;
display: flex;
flex-direction: column;
gap: 1px;
}
.nav-item {
display: flex;
align-items: center;
gap: 9px;
padding: 6px 9px;
border-radius: 6px;
color: var(--text-secondary);
text-decoration: none;
font-family: var(--font-body);
font-size: 13px;
font-weight: 500;
cursor: pointer;
position: relative;
user-select: none;
white-space: nowrap;
}
.nav-item svg {
opacity: 0.85;
flex-shrink: 0;
}
/* Runtime-only surfaces (DAST, pentest) when the agent runs source-only. */
.nav-item.disabled {
color: var(--text-faint);
cursor: not-allowed;
}
.nav-item.disabled:hover {
background: transparent;
color: var(--text-faint);
}
.nav-item:hover {
background: var(--bg-elevated);
color: var(--text-primary);
}
.nav-item.active {
background: var(--bg-elevated);
color: var(--text-primary);
font-weight: 600;
}
.nav-item.active::before {
content: '';
position: absolute;
left: -8px;
top: 50%;
transform: translateY(-50%);
width: 2px;
height: 16px;
background: var(--accent);
border-radius: 2px;
}
.sidebar-spacer {
flex: 1;
}
.sidebar-user {
display: flex;
align-items: center;
gap: 9px;
padding: 9px 12px;
border-top: 1px solid var(--border);
}
.sidebar.collapsed .sidebar-user {
justify-content: center;
flex-direction: column;
gap: 6px;
padding: 12px 8px;
}
.user-avatar {
width: 26px;
height: 26px;
border-radius: 50%;
background: var(--accent-muted);
border: 1px solid var(--border-accent);
display: grid;
place-items: center;
flex-shrink: 0;
}
.avatar-initials {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 600;
color: var(--accent);
line-height: 1;
text-transform: uppercase;
}
.avatar-img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.user-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.user-name {
font-size: 12px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.logout-link {
font-family: var(--font-mono);
font-size: 9.5px;
color: var(--text-tertiary);
text-decoration: none;
}
.logout-link:hover,
.logout-btn-icon:hover {
color: var(--danger);
}
.logout-btn-icon {
display: flex;
align-items: center;
justify-content: center;
color: var(--text-tertiary);
text-decoration: none;
}
.sidebar-legal {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 6px 12px 12px;
font-size: 11px;
}
.sidebar-legal a {
color: var(--text-tertiary);
text-decoration: none;
}
.sidebar-legal a:hover {
color: var(--text-primary);
text-decoration: underline;
}
.legal-dot {
color: var(--text-faint);
}
.sidebar-toggle {
background: none;
border: none;
border-top: 1px solid var(--border);
color: var(--text-tertiary);
padding: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.sidebar-toggle:hover {
color: var(--text-primary);
background: var(--bg-elevated);
}
.theme-toggle {
background: none;
border: none;
border-top: 1px solid var(--border);
color: var(--text-secondary);
padding: 8px 17px;
cursor: pointer;
display: flex;
align-items: center;
gap: 9px;
font-family: var(--font-body);
font-size: 12.5px;
font-weight: 500;
width: 100%;
text-align: left;
}
.theme-toggle:hover {
color: var(--text-primary);
background: var(--bg-elevated);
}
.theme-toggle svg {
flex-shrink: 0;
opacity: 0.85;
}
.sidebar.collapsed .theme-toggle {
justify-content: center;
padding: 8px 0;
}
.sidebar.collapsed .sidebar-header {
padding: 14px 0;
justify-content: center;
}
.sidebar.collapsed .sidebar-nav {
padding: 8px 6px;
}
.sidebar.collapsed .nav-item {
justify-content: center;
padding: 7px;
}
.sidebar.collapsed .nav-item.active::before {
left: -6px;
}
/* ── Main Content ── */
.main-content {
margin-left: var(--sidebar-width);
flex: 1;
/* A flex item grows to its widest content unless told otherwise; wide
content (the supply chain graph) then scrolls in its own box. */
min-width: 0;
padding: 22px 26px 64px;
transition: margin-left 0.2s ease;
min-height: 100vh;
position: relative;
}
/* ── Back Navigation ── */
.back-nav {
margin-bottom: 12px;
}
.btn-back {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12.5px;
padding: 5px 10px;
color: var(--text-secondary);
}
.btn-back:hover {
color: var(--text-primary);
}
/* ── A finding as ticket text, and the Breakpilot Git hint ── */
.ticket-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
margin-bottom: 16px;
}
.ticket-bar .btn {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12.5px;
padding: 5px 10px;
}
.ticket-copied {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12.5px;
color: var(--success);
}
.ticket-copy-failed {
color: var(--danger);
}
.ticket-hint {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 6px;
margin: 0;
font-size: 12.5px;
color: var(--text-secondary);
}
.ticket-hint svg {
color: var(--accent);
flex-shrink: 0;
}
.ticket-hint a {
color: var(--accent);
font-weight: 500;
}
/* ── Page Header ── */
.page-header {
margin-bottom: 18px;
}
.page-header h2 {
font-family: var(--font-display);
font-size: 20px;
font-weight: 600;
color: var(--text-primary);
letter-spacing: -0.02em;
}
.page-header p {
color: var(--text-tertiary);
margin-top: 3px;
font-size: 12.5px;
}
/* ── Stat Cards (the portal's metric row) ── */
.stat-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 0;
margin-bottom: 18px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
background: var(--bg-card);
}
/* ── Cards (the portal's panel) ── */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 16px;
margin-bottom: 12px;
position: relative;
}
.card-header {
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
margin: -16px -16px 14px;
padding: 11px 14px;
border-bottom: 1px solid var(--border);
color: var(--text-primary);
letter-spacing: -0.01em;
}
/* The portal's corner ticks, for panels that carry evidence. */
.bracket::before,
.bracket::after {
content: "";
position: absolute;
width: 7px;
height: 7px;
pointer-events: none;
border-color: var(--text-tertiary);
opacity: 0.55;
}
.bracket::before {
top: -1px;
left: -1px;
border-top: 1.5px solid;
border-left: 1.5px solid;
border-top-left-radius: 2px;
}
.bracket::after {
bottom: -1px;
right: -1px;
border-bottom: 1.5px solid;
border-right: 1.5px solid;
border-bottom-right-radius: 2px;
}
/* ── Tables (the portal's ledger table) ── */
.table-wrapper {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 12.5px;
}
th {
text-align: left;
padding: 8px 14px;
font-family: var(--font-mono);
font-size: 9.5px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text-tertiary);
border-bottom: 1px solid var(--border-bright);
white-space: nowrap;
position: sticky;
top: 0;
background: var(--bg-card-solid);
z-index: 1;
}
td {
padding: 8px 14px;
border-bottom: 1px solid var(--border);
font-size: 12.5px;
color: var(--text-primary);
vertical-align: middle;
}
tbody tr:hover {
background: var(--bg-elevated);
}
tbody tr:last-child td {
border-bottom: none;
}
/* ── Badges (mono tags, low-chroma status) ── */
.badge {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 1px 7px;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
border: 1px solid transparent;
}
.badge-critical {
background: color-mix(in oklch, var(--sev-critical) 12%, transparent);
color: var(--sev-critical);
border-color: color-mix(in oklch, var(--sev-critical) 30%, transparent);
}
.badge-high {
background: color-mix(in oklch, var(--sev-high) 12%, transparent);
color: var(--sev-high);
border-color: color-mix(in oklch, var(--sev-high) 30%, transparent);
}
.badge-medium {
background: color-mix(in oklch, var(--sev-medium) 14%, transparent);
color: var(--sev-medium);
border-color: color-mix(in oklch, var(--sev-medium) 32%, transparent);
}
.badge-low {
background: color-mix(in oklch, var(--sev-low) 12%, transparent);
color: var(--sev-low);
border-color: color-mix(in oklch, var(--sev-low) 30%, transparent);
}
.badge-info {
background: var(--accent-muted);
color: var(--accent);
border-color: var(--border-accent);
}
.badge-danger {
background: var(--danger-bg);
color: var(--danger);
border-color: color-mix(in oklch, var(--danger) 30%, transparent);
}
.badge-success {
background: var(--success-bg);
color: var(--success);
border-color: color-mix(in oklch, var(--success) 30%, transparent);
}
/* Neutral: skipped because a feature is disabled in this environment — not an error. */
.badge-open {
background: var(--bg-elevated);
color: var(--text-secondary);
border: 1px dashed var(--text-faint);
}
.badge-neutral {
background: transparent;
color: var(--text-tertiary);
border-color: var(--border-bright);
border-style: dashed;
}
/* ── Buttons (the portal's buttons) ── */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 6px 12px;
border-radius: var(--radius);
font-family: var(--font-body);
font-size: 12.5px;
font-weight: 500;
border: 1px solid var(--border-bright);
background: var(--bg-card);
color: var(--text-primary);
cursor: pointer;
transition: background 0.1s, border-color 0.1s;
white-space: nowrap;
position: relative;
}
.btn:hover {
background: var(--bg-elevated);
border-color: var(--border-strong);
color: var(--text-primary);
}
.btn[disabled] {
opacity: 0.5;
cursor: not-allowed;
}
.btn-primary {
background: var(--accent);
color: var(--accent-ink);
border-color: var(--accent);
}
.btn-primary:hover {
background: var(--accent-hover);
border-color: var(--accent-hover);
color: var(--accent-ink);
}
.btn-ghost {
background: transparent;
color: var(--text-secondary);
border-color: transparent;
}
.btn-ghost:hover {
color: var(--text-primary);
border-color: var(--border);
background: var(--bg-elevated);
}
.btn-ghost-danger:hover {
color: var(--danger);
border-color: color-mix(in oklch, var(--danger) 30%, var(--border-bright));
background: var(--danger-bg);
}
.btn-scanning {
opacity: 0.7;
cursor: not-allowed;
display: inline-flex;
align-items: center;
gap: 6px;
}
.btn-icon {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 5px 7px;
min-width: 30px;
}
/* ── Overview Cards Grid ── */
.overview-section {
margin-top: 28px;
}
.overview-section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.overview-section-header h3 {
font-family: var(--font-display);
font-size: 18px;
font-weight: 700;
color: var(--text-primary);
}
.overview-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 14px;
}
.overview-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
transition: border-color 0.2s, box-shadow 0.2s;
text-decoration: none;
color: inherit;
display: flex;
align-items: center;
gap: 12px;
}
.overview-card:hover {
border-color: var(--accent);
box-shadow: none;
}
.overview-card-icon {
color: var(--accent);
flex-shrink: 0;
}
.overview-card-body {
min-width: 0;
}
.overview-card-title {
font-weight: 600;
font-size: 14px;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.overview-card-sub {
font-size: 12px;
color: var(--text-secondary);
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mcp-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.mcp-status-dot.running { background: var(--success); }
.mcp-status-dot.stopped { background: var(--text-tertiary); }
.mcp-status-dot.error { background: var(--danger); }
/* ── MCP Server Cards ── */
.mcp-cards-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
gap: 16px;
}
.mcp-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
transition: border-color 0.2s;
}
.mcp-card:hover {
border-color: var(--border-bright);
}
.mcp-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.mcp-card-title {
display: flex;
align-items: center;
gap: 10px;
}
.mcp-card-title h3 {
font-family: var(--font-display);
font-size: 16px;
font-weight: 600;
margin: 0;
color: var(--text-primary);
}
.mcp-card-status {
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 2px 8px;
border-radius: 10px;
}
.mcp-card-status.running {
color: var(--success);
background: var(--success-bg);
}
.mcp-card-status.stopped {
color: var(--text-secondary);
background: var(--bg-secondary);
}
.mcp-card-status.error {
color: var(--danger);
background: var(--danger-bg);
}
.mcp-card-desc {
font-size: 13px;
color: var(--text-secondary);
margin: 0 0 16px;
line-height: 1.4;
}
.mcp-card-details {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
padding: 12px;
background: var(--bg-secondary);
border-radius: var(--radius-md);
}
.mcp-detail-row {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text-secondary);
}
.mcp-detail-label {
font-size: 12px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: 6px;
min-width: 80px;
flex-shrink: 0;
}
.mcp-detail-value {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-primary);
word-break: break-all;
}
.mcp-card-tools {
margin-bottom: 16px;
}
.mcp-tools-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
}
.mcp-tool-chip {
font-family: var(--font-mono);
font-size: 11px;
padding: 3px 10px;
background: var(--accent-muted);
color: var(--accent);
border-radius: 12px;
border: 1px solid var(--border-accent);
}
.mcp-card-token {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
background: var(--bg-secondary);
border-radius: var(--radius-md);
margin-bottom: 12px;
}
.mcp-token-display {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
flex: 1;
color: var(--text-secondary);
}
.mcp-token-code {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-primary);
word-break: break-all;
}
.mcp-token-actions {
display: flex;
gap: 4px;
flex-shrink: 0;
}
.mcp-card-footer {
font-size: 11px;
color: var(--text-tertiary);
}
/* ── DAST Stat Cards ── */
.stat-card-item {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
text-align: center;
}
.stat-card-value {
font-family: var(--font-display);
font-size: 28px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 6px;
}
.stat-card-label {
font-size: 13px;
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
/* ── Button active state ── */
.btn-active,
.btn.btn-active {
background: var(--accent-muted);
border-color: var(--accent);
color: var(--accent);
}
.spinner {
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid var(--border-bright);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.btn-danger {
background: var(--bg-card);
color: var(--danger);
border: 1px solid color-mix(in oklch, var(--danger) 30%, var(--border-bright));
}
.btn-danger:hover {
background: var(--danger-bg);
color: var(--danger);
border-color: var(--danger);
}
/* ── Modal ── */
.modal-overlay {
position: fixed;
inset: 0;
z-index: 1000;
background: oklch(0.2 0.02 260 / 0.32);
display: flex;
align-items: center;
justify-content: center;
}
.modal-dialog {
background: var(--bg-card-solid);
border: 1px solid var(--border-bright);
border-radius: 10px;
padding: 18px;
max-width: 480px;
width: calc(100vw - 32px);
box-shadow: var(--shadow-pop);
}
.modal-dialog h3 {
font-family: var(--font-display);
font-size: 14px;
font-weight: 600;
margin-bottom: 12px;
}
.modal-dialog p {
font-size: 13px;
color: var(--text-secondary);
line-height: 1.5;
margin-bottom: 8px;
}
.modal-warning {
color: var(--danger) !important;
font-size: 13px !important;
background: var(--danger-bg);
border-radius: var(--radius-sm);
padding: 10px 12px;
margin-top: 4px;
}
.modal-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 20px;
}
/* A dialog never grows past the window: its content scrolls, and the actions
stay pinned at the bottom so Save is always reachable. */
.modal-dialog {
max-height: calc(100vh - 32px);
max-height: calc(100dvh - 32px);
overflow-y: auto;
overscroll-behavior: contain;
}
.modal-dialog .modal-actions {
position: sticky;
bottom: -18px;
margin: 20px -18px -18px;
padding: 12px 18px;
background: var(--bg-card-solid);
border-top: 1px solid var(--border);
}
/* Forms with sections (the target editor). */
.modal-dialog.modal-wide {
max-width: 680px;
}
.modal-section {
border-top: 1px solid var(--border);
margin-top: 16px;
padding-top: 14px;
}
.modal-section > .target-subhead {
margin-top: 0;
}
/* A stored artifact: its reference, token state and actions on one line. */
.artifact-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 6px 0;
}
.artifact-row-ref {
flex: 1 1 100%;
font-size: 13px;
overflow-wrap: anywhere;
}
.form-fields .artifact-row input {
flex: 1 1 200px;
width: auto;
}
/* Adding a reference: kind and reference on one line, branch, token and the
button on the next, all filling the width. */
.artifact-add {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 10px;
margin-top: 10px;
}
.artifact-add .form-group {
margin: 0;
}
.artifact-add-kind {
flex: 1 1 200px;
}
.artifact-add-ref {
flex: 1 1 280px;
}
.artifact-add-branch {
flex: 1 1 160px;
}
.artifact-add-token {
flex: 1 1 200px;
}
/* Inside a dialog the project picker is a section like the others, not a
framed box. */
.modal-dialog .project-picker {
margin: 0;
padding: 0;
border: 0;
}
.modal-dialog .project-picker legend {
padding: 0;
margin-bottom: 6px;
font-family: var(--font-mono);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-tertiary);
}
/* The portal's default button: surface, hairline border. */
.btn-secondary {
background: var(--bg-card);
color: var(--text-primary);
border: 1px solid var(--border-bright);
}
.btn-secondary:hover {
background: var(--bg-elevated);
border-color: var(--border-strong);
color: var(--text-primary);
}
.btn-sm {
padding: 4px 9px;
font-size: 12px;
}
.btn:disabled {
opacity: 0.45;
cursor: not-allowed;
pointer-events: none;
}
/* The selected option in a button group: disabled, but not faded. */
.btn-current:disabled {
opacity: 1;
cursor: default;
}
/* Layout utilities used by the pages. */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
/* ── Code Blocks ── */
.code-block {
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
font-family: var(--font-mono);
font-size: 12.5px;
line-height: 1.7;
overflow-x: auto;
white-space: pre;
color: var(--text-primary);
}
/* ── Pagination ── */
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
margin-top: 18px;
padding-top: 14px;
border-top: 1px solid var(--border);
}
.pagination span {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
letter-spacing: 0.02em;
}
/* ── Filter Bar ── */
.filter-bar {
display: flex;
gap: 10px;
margin-bottom: 18px;
flex-wrap: wrap;
}
.filter-bar select,
.filter-bar input {
background: var(--bg-card-solid);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
padding: 6px 10px;
color: var(--text-primary);
font-family: var(--font-body);
font-size: 12.5px;
transition: border-color 0.2s;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
}
.filter-bar select {
padding-right: 32px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235e7291' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
}
.filter-bar select:hover,
.filter-bar input:hover {
border-color: var(--border-strong);
}
.filter-bar select:focus,
.filter-bar input:focus {
border-color: var(--accent);
outline: none;
box-shadow: 0 0 0 3px var(--border-accent);
}
/* ── Forms ── */
.form-group {
margin-bottom: 18px;
}
.form-group label {
display: block;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 5px;
color: var(--text-tertiary);
}
.form-group input,
.form-group select,
.form-group textarea,
.form-fields input:not([type="checkbox"]):not([type="radio"]),
.form-fields select,
.form-fields textarea {
width: 100%;
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
padding: 7px 10px;
color: var(--text-primary);
font-family: var(--font-body);
font-size: 13px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-fields input:focus,
.form-fields select:focus,
.form-fields textarea:focus {
border-color: var(--accent);
outline: none;
box-shadow: 0 0 0 3px var(--border-accent);
}
.form-group input::placeholder,
.form-fields input::placeholder,
.form-fields textarea::placeholder {
color: var(--text-faint);
}
/* ── Loading State ── */
.loading {
display: flex;
align-items: center;
justify-content: center;
padding: 48px;
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-tertiary);
letter-spacing: 0.03em;
}
.loading::before {
content: '';
width: 16px;
height: 16px;
border: 2px solid var(--border-bright);
border-top-color: var(--accent);
border-radius: 50%;
margin-right: 12px;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* ── Toast Notifications (the portal's ink toasts) ── */
.toast-container {
position: fixed;
bottom: 18px;
right: 18px;
z-index: 200;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
}
.toast {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
max-width: 340px;
padding: 11px 14px;
border-radius: var(--radius-lg);
background: var(--text-primary);
color: var(--bg-primary);
border-left: 3px solid var(--text-tertiary);
box-shadow: var(--shadow-pop);
font-family: var(--font-body);
font-size: 12.5px;
pointer-events: auto;
animation: toast-in 0.18s ease;
}
.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-info { border-left-color: var(--accent); }
.toast-dismiss {
background: none;
border: none;
color: inherit;
font-size: 16px;
cursor: pointer;
opacity: 0.6;
padding: 0 2px;
line-height: 1;
}
.toast-dismiss:hover {
opacity: 1;
}
@keyframes toast-in {
from {
opacity: 0;
transform: translateY(8px);
}
}
/* ── Scrollbar ── */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-bright);
border: 3px solid var(--bg-primary);
border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--border-strong);
}
/* ── Graph Explorer ── */
.graph-toolbar {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
flex-wrap: wrap;
}
.graph-search-bar {
flex: 1;
max-width: 400px;
}
.graph-search-bar input {
width: 100%;
background: var(--bg-card-solid);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
padding: 8px 14px;
color: var(--text-primary);
font-family: var(--font-body);
font-size: 13px;
transition: border-color 0.2s;
}
.graph-search-bar input:focus {
border-color: var(--accent);
outline: none;
box-shadow: 0 0 0 3px var(--accent-muted);
}
.graph-search-bar input::placeholder {
color: var(--text-tertiary);
}
.graph-explorer-layout {
display: grid;
grid-template-columns: 250px 1fr;
gap: 0;
height: calc(100vh - 200px);
min-height: 500px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
background: var(--bg-card);
}
.graph-explorer-layout.inspector-open {
grid-template-columns: 250px 550px 1fr;
}
/* File Tree Panel */
.file-tree-panel {
background: var(--bg-secondary);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
overflow: hidden;
}
.file-tree-header {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
}
.file-tree-header h4 {
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-secondary);
}
.file-tree-search {
padding: 8px 10px;
border-bottom: 1px solid var(--border);
}
.file-tree-search input {
width: 100%;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 5px 10px;
color: var(--text-primary);
font-family: var(--font-body);
font-size: 12px;
transition: border-color 0.2s;
}
.file-tree-search input:focus {
border-color: var(--accent);
outline: none;
}
.file-tree-search input::placeholder {
color: var(--text-tertiary);
}
.file-tree-content {
flex: 1;
overflow-y: auto;
padding: 4px 0;
}
.file-tree-empty {
padding: 20px 16px;
color: var(--text-tertiary);
font-size: 12px;
text-align: center;
}
.file-tree-item {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
cursor: pointer;
font-size: 12px;
color: var(--text-secondary);
transition: all 0.15s;
user-select: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-tree-item:hover {
background: var(--accent-muted);
color: var(--text-primary);
}
.file-tree-icon {
flex-shrink: 0;
width: 14px;
text-align: center;
font-size: 10px;
color: var(--text-tertiary);
}
.file-tree-dir .file-tree-icon {
color: var(--accent);
}
.file-tree-file .file-tree-icon {
color: var(--text-tertiary);
font-size: 8px;
}
.file-tree-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
}
.file-tree-dir .file-tree-name {
font-weight: 500;
color: var(--text-primary);
}
.file-tree-badge {
flex-shrink: 0;
background: var(--accent-muted);
color: var(--accent);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
padding: 1px 5px;
border-radius: 4px;
}
/* Graph Canvas Panel */
.graph-canvas-panel {
display: flex;
flex-direction: column;
background: var(--bg-primary);
position: relative;
overflow: hidden;
}
.graph-canvas {
flex: 1;
width: 100%;
min-height: 0;
}
/* ── Graph Stabilization Overlay ── */
.graph-stab-overlay {
position: absolute;
inset: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: center;
background: color-mix(in oklch, var(--bg-primary) 92%, transparent);
transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}
.graph-stab-overlay.graph-stab-fade-out {
opacity: 0;
pointer-events: none;
}
.graph-stab-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
/* Progress bar */
.graph-stab-progress {
width: 200px;
height: 3px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
position: relative;
}
.graph-stab-progress-fill {
height: 100%;
width: 0%;
background: var(--accent);
border-radius: 2px;
transition: width 0.3s ease-out;
}
.graph-stab-pct {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
letter-spacing: 0.04em;
}
.graph-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 240px;
color: var(--text-tertiary);
gap: 8px;
}
.graph-empty-state h3 {
font-family: var(--font-display);
font-size: 16px;
color: var(--text-secondary);
}
.graph-empty-state p {
font-size: 13px;
}
/* Node Kind Badges */
.node-label-badge {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.04em;
}
/* Node kinds: the badge in the inspector and the legend's dots, in the
colours graph-viz.js draws them with. */
.node-label-badge[class*="graph-kind-"] {
background: color-mix(in oklch, var(--kind) 12%, transparent);
color: var(--kind);
border: 1px solid color-mix(in oklch, var(--kind) 30%, transparent);
}
.graph-kind-function, .graph-kind-method { --kind: var(--graph-function); }
.graph-kind-class, .graph-kind-struct { --kind: var(--graph-type); }
.graph-kind-enum { --kind: var(--graph-enum); }
.graph-kind-interface, .graph-kind-trait { --kind: var(--graph-interface); }
.graph-kind-module { --kind: var(--graph-module); }
.graph-kind-file { --kind: var(--graph-file); }
.graph-kind-community, .graph-kind-folder { --kind: var(--graph-community); }
.graph-legend-dot.graph-kind-folder { border-radius: 2px; }
.graph-legend {
position: absolute;
left: 12px;
bottom: 12px;
z-index: 10;
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
max-width: calc(100% - 24px);
margin: 0;
padding: 6px 10px;
list-style: none;
font-size: 11.5px;
color: var(--text-secondary);
background: color-mix(in oklch, var(--bg-card) 90%, transparent);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.graph-legend li {
display: inline-flex;
align-items: center;
gap: 6px;
}
.graph-legend-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--kind);
}
.graph-legend-entry {
background: transparent;
border: 2px solid var(--text-primary);
}
.graph-note {
margin: 0 0 12px;
font-size: 12.5px;
color: var(--text-tertiary);
}
/* A finding's impact: its call chains and the names around it. */
.impact-summary {
grid-template-columns: 1fr;
}
.impact-chains,
.impact-names {
display: grid;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.impact-chains li {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
}
.impact-chains code,
.impact-names code {
font-family: var(--font-mono);
font-size: 12px;
overflow-wrap: anywhere;
}
.impact-chain-arrow {
color: var(--text-faint);
}
/* Code Inspector Panel */
.code-inspector-panel {
background: var(--bg-secondary);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
overflow: hidden;
}
.code-inspector-header {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: 6px;
position: relative;
}
.code-inspector-title {
display: flex;
align-items: center;
gap: 8px;
overflow: hidden;
}
.code-inspector-file-name {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.code-inspector-meta {
display: flex;
align-items: center;
gap: 8px;
}
.code-inspector-node-name {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 600;
color: var(--accent);
}
.code-inspector-lines {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
}
.code-inspector-close {
position: absolute;
top: 10px;
right: 10px;
}
.code-inspector-body {
flex: 1;
overflow-y: auto;
}
.code-inspector-code {
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.7;
padding: 0;
}
.code-line {
display: flex;
padding: 0 12px 0 0;
transition: background-color 0.15s;
}
.code-line:hover {
background: var(--accent-muted);
}
.code-line-highlight {
background: var(--accent-muted);
border-left: 2px solid var(--accent);
}
.code-line-highlight:hover {
background: var(--accent-muted);
}
.code-line-number {
display: inline-block;
width: 48px;
text-align: right;
padding-right: 12px;
color: var(--text-tertiary);
user-select: none;
flex-shrink: 0;
font-size: 11px;
}
.code-line-content {
white-space: pre;
color: var(--text-primary);
overflow-x: auto;
}
.code-inspector-empty {
padding: 20px 16px;
color: var(--text-tertiary);
font-size: 12px;
text-align: center;
}
/* ── Responsive ── */
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
transition: transform 0.3s var(--ease-out);
}
.sidebar.open {
transform: translateX(0);
}
.main-content {
margin-left: 0;
padding: 16px;
}
.stat-cards {
grid-template-columns: repeat(2, 1fr);
}
.graph-explorer-layout {
grid-template-columns: 1fr;
height: auto;
}
.graph-explorer-layout.inspector-open {
grid-template-columns: 1fr;
}
.file-tree-panel {
max-height: 200px;
border-right: none;
border-bottom: 1px solid var(--border);
}
.graph-canvas-panel {
min-height: 400px;
}
.code-inspector-panel {
border-right: none;
border-top: 1px solid var(--border);
max-height: 300px;
}
}
@media (max-width: 480px) {
.stat-cards {
grid-template-columns: 1fr;
}
}
/* ── Graph Index Repo Cards ── */
.graph-index-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 16px;
}
.graph-repo-card {
display: block;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px;
text-decoration: none;
color: var(--text-primary);
transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.graph-repo-card:hover {
border-color: var(--border-accent);
background: var(--bg-card-hover);
box-shadow: var(--accent-glow);
}
.graph-repo-card-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.graph-repo-card-icon {
font-size: 20px;
color: var(--accent);
line-height: 1;
}
.graph-repo-card-name {
font-family: var(--font-display);
font-size: 16px;
font-weight: 600;
margin: 0;
}
.graph-repo-card-url {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
margin: 0 0 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.graph-repo-card-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.graph-repo-card-tag {
font-size: 11px;
color: var(--text-secondary);
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 2px 8px;
}
.graph-repo-card-tag-findings {
color: var(--accent);
border-color: var(--border-accent);
background: var(--accent-muted);
}
/* ── Search Suggestions ── */
.graph-search-bar {
position: relative;
}
.search-suggestions {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 100;
background: var(--bg-elevated);
border: 1px solid var(--border-bright);
border-radius: 0 0 var(--radius) var(--radius);
max-height: 300px;
overflow-y: auto;
box-shadow: var(--shadow-pop);
}
.search-suggestion-item {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 8px 12px;
cursor: pointer;
font: inherit;
color: inherit;
text-align: left;
background: none;
border: none;
border-bottom: 1px solid var(--border);
transition: background 0.15s;
}
.search-suggestion-item:focus-visible {
outline: 2px solid var(--accent);
outline-offset: -2px;
}
.search-suggestion-item:last-child {
border-bottom: none;
}
.search-suggestion-item:hover {
background: var(--bg-card-hover);
}
.search-suggestion-name {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
flex-shrink: 0;
}
.search-suggestion-kind {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--accent);
background: var(--accent-muted);
border-radius: var(--radius-sm);
padding: 1px 6px;
flex-shrink: 0;
}
.search-suggestion-path {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: auto;
}
/* ── AI Chat ── */
.chat-embedding-banner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
margin-bottom: 16px;
font-size: 13px;
color: var(--text-secondary);
}
.chat-embedding-building {
border-color: var(--border-accent);
background: var(--accent-muted);
}
.chat-embedding-status {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
}
.chat-spinner {
width: 16px;
height: 16px;
border: 2px solid var(--border-bright);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
flex-shrink: 0;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.chat-progress-bar {
width: 120px;
height: 6px;
background: var(--bg-secondary);
border-radius: 3px;
overflow: hidden;
flex-shrink: 0;
}
.chat-progress-fill {
height: 100%;
background: var(--accent);
border-radius: 3px;
transition: width 0.5s var(--ease-out);
min-width: 2%;
}
.chat-embedding-banner .btn-sm {
padding: 6px 14px;
font-size: 12px;
background: var(--accent-muted);
color: var(--accent);
border: 1px solid var(--border-accent);
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.2s var(--ease-out);
}
.chat-embedding-banner .btn-sm:hover:not(:disabled) {
background: var(--accent);
color: var(--bg-primary);
}
.chat-embedding-banner .btn-sm:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.chat-container {
display: flex;
flex-direction: column;
height: calc(100vh - 240px);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.chat-messages {
flex: 1;
overflow-y: auto;
padding: 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.chat-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: var(--text-tertiary);
text-align: center;
}
.chat-empty h3 {
font-family: var(--font-display);
font-size: 18px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 8px;
}
.chat-empty p {
font-size: 13px;
max-width: 400px;
}
.chat-message {
max-width: 80%;
padding: 12px 16px;
border-radius: var(--radius);
font-size: 14px;
line-height: 1.6;
}
.chat-message-user {
align-self: flex-end;
background: var(--accent-muted);
border: 1px solid var(--border-accent);
color: var(--text-primary);
}
.chat-message-assistant {
align-self: flex-start;
background: var(--bg-elevated);
border: 1px solid var(--border);
color: var(--text-primary);
}
.chat-message-role {
font-family: var(--font-display);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-tertiary);
margin-bottom: 6px;
}
.chat-message-content {
white-space: pre-wrap;
word-break: break-word;
}
.chat-typing {
color: var(--text-tertiary);
font-style: italic;
}
.chat-sources {
margin-top: 12px;
border-top: 1px solid var(--border);
padding-top: 10px;
}
.chat-sources-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-tertiary);
display: block;
margin-bottom: 8px;
}
.chat-source-card {
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 12px;
margin-bottom: 6px;
}
.chat-source-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 6px;
}
.chat-source-name {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
color: var(--accent);
}
.chat-source-location {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
}
.chat-source-snippet {
margin: 0;
padding: 8px;
background: var(--bg-primary);
border-radius: 4px;
overflow-x: auto;
max-height: 120px;
}
.chat-source-snippet code {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-secondary);
white-space: pre;
}
.chat-input-area {
display: flex;
gap: 10px;
padding: 16px 20px;
border-top: 1px solid var(--border);
background: var(--bg-secondary);
}
.chat-input {
flex: 1;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 14px;
padding: 10px 14px;
resize: none;
min-height: 42px;
max-height: 120px;
outline: none;
transition: border-color 0.2s var(--ease-out);
}
.chat-input:focus {
border-color: var(--accent);
}
.chat-input:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.chat-send-btn {
padding: 10px 20px;
background: var(--accent);
color: var(--bg-primary);
border: none;
border-radius: var(--radius-sm);
font-family: var(--font-display);
font-weight: 600;
font-size: 13px;
cursor: pointer;
transition: all 0.2s var(--ease-out);
align-self: flex-end;
}
.chat-send-btn:hover:not(:disabled) {
background: var(--accent-hover);
box-shadow: var(--accent-glow);
}
.chat-send-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* ── SBOM Enhancements ── */
.sbom-tab-bar {
display: flex;
gap: 4px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border);
padding-bottom: 0;
}
.sbom-tab {
padding: 10px 20px;
background: none;
border: none;
border-bottom: 2px solid transparent;
color: var(--text-secondary);
font-family: var(--font-display);
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s var(--ease-out);
}
.sbom-tab:hover {
color: var(--text-primary);
}
.sbom-tab.active {
color: var(--accent);
border-bottom-color: var(--accent);
}
.sbom-filter-bar {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 16px;
align-items: center;
}
.sbom-filter-select {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 13px;
padding: 8px 12px;
outline: none;
transition: border-color 0.2s var(--ease-out);
min-width: 140px;
}
.sbom-filter-select:focus {
border-color: var(--accent);
}
.sbom-filter-input {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 13px;
padding: 8px 14px;
outline: none;
min-width: 200px;
transition: border-color 0.2s var(--ease-out);
}
.sbom-filter-input:focus {
border-color: var(--accent);
}
.sbom-filter-input::placeholder {
color: var(--text-tertiary);
}
.sbom-result-count {
font-size: 13px;
color: var(--text-secondary);
margin-bottom: 12px;
}
/* Export */
.sbom-export-wrapper {
position: relative;
margin-left: auto;
}
.sbom-export-btn {
font-size: 13px;
}
.sbom-export-dropdown {
position: absolute;
top: 100%;
right: 0;
z-index: 50;
background: var(--bg-elevated);
border: 1px solid var(--border-bright);
border-radius: var(--radius);
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
min-width: 200px;
box-shadow: var(--shadow-pop);
margin-top: 4px;
}
.sbom-export-hint {
font-size: 11px;
color: var(--text-tertiary);
}
.sbom-export-result {
margin-bottom: 16px;
}
.sbom-export-result-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
/* Vulnerability drill-down */
.sbom-vuln-toggle {
cursor: pointer;
user-select: none;
}
.sbom-vuln-detail-row td {
padding: 0 !important;
background: var(--bg-secondary);
}
.sbom-vuln-detail {
padding: 12px 16px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.sbom-vuln-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 10px 14px;
min-width: 240px;
flex: 1;
max-width: 400px;
}
.sbom-vuln-card-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
flex-wrap: wrap;
}
.sbom-vuln-id {
font-family: var(--font-mono);
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.sbom-vuln-source {
font-size: 11px;
color: var(--text-tertiary);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.sbom-epss-badge {
background: var(--bg-secondary);
color: var(--text-secondary);
border-color: var(--border);
font-variant-numeric: tabular-nums;
}
.sbom-kev-marker {
margin-left: 6px;
}
.sbom-vuln-ssvc {
font-size: 12px;
color: var(--text-secondary);
margin-bottom: 4px;
}
.sbom-vuln-attribution {
flex-basis: 100%;
margin: 0;
font-size: 11px;
color: var(--text-tertiary);
}
.sbom-vuln-attribution a {
color: inherit;
}
.sbom-quality {
margin-bottom: 16px;
}
/* The empty component table (#979): why, and what to add. */
.sbom-empty p {
margin: 0 0 10px;
font-size: 14px;
line-height: 1.5;
}
.sbom-empty-findings {
margin: 0;
padding: 0;
list-style: none;
display: grid;
gap: 12px;
}
.sbom-empty-findings li {
padding: 10px 12px;
border-left: 3px solid var(--accent);
background: var(--accent-muted);
border-radius: 4px;
}
.sbom-empty-findings li p {
margin: 4px 0 6px;
color: var(--text-secondary);
}
.sbom-quality-head {
margin: 0 0 4px;
font-size: 15px;
}
.sbom-quality-hint,
.sbom-quality-meta {
margin: 0 0 8px;
font-size: 12px;
color: var(--text-secondary);
}
.sbom-quality-profile summary {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 0;
cursor: pointer;
}
.sbom-quality-name {
font-weight: 500;
}
.sbom-quality-score {
font-variant-numeric: tabular-nums;
color: var(--text-secondary);
}
.sbom-quality-sub {
margin: 4px 0;
font-size: 12px;
color: var(--text-tertiary);
}
.sbom-quality-checks {
margin: 0 0 8px;
padding-left: 18px;
font-size: 13px;
}
.sbom-quality-req {
margin: 0 6px;
font-size: 11px;
color: var(--text-tertiary);
text-transform: uppercase;
}
/* License compliance */
.sbom-license-badge {
font-size: 12px;
padding: 2px 8px;
border-radius: var(--radius-sm);
font-weight: 500;
white-space: nowrap;
}
.license-permissive {
background: var(--success-bg);
color: var(--success);
border: 1px solid color-mix(in oklch, var(--success) 30%, transparent);
}
.license-weak-copyleft {
background: var(--warning-bg);
color: var(--warning);
border: 1px solid rgba(255, 176, 32, 0.2);
}
.license-copyleft {
background: var(--danger-bg);
color: var(--danger);
border: 1px solid color-mix(in oklch, var(--danger) 30%, transparent);
}
.license-copyleft-warning {
background: var(--danger-bg);
border: 1px solid color-mix(in oklch, var(--danger) 30%, transparent);
border-radius: var(--radius);
padding: 16px 20px;
margin-bottom: 16px;
}
.license-copyleft-warning strong {
color: var(--danger);
font-size: 15px;
display: block;
margin-bottom: 6px;
}
.license-copyleft-warning p {
color: var(--text-secondary);
font-size: 13px;
margin-bottom: 10px;
}
.license-copyleft-item {
padding: 6px 0;
font-size: 13px;
color: var(--text-secondary);
}
.license-pkg-list {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
}
.license-bar-chart {
display: flex;
flex-direction: column;
gap: 8px;
}
.license-bar-row {
display: flex;
align-items: center;
gap: 12px;
}
.license-bar-label {
font-size: 13px;
color: var(--text-secondary);
min-width: 120px;
text-align: right;
flex-shrink: 0;
}
.license-bar-track {
flex: 1;
height: 20px;
background: var(--bg-secondary);
border-radius: var(--radius-sm);
overflow: hidden;
}
.license-bar {
height: 100%;
border-radius: var(--radius-sm);
transition: width 0.3s var(--ease-out);
}
.license-bar.license-permissive {
background: var(--success);
border: none;
}
.license-bar.license-copyleft {
background: var(--danger);
border: none;
}
.license-bar-count {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
min-width: 32px;
}
/* SBOM Diff */
.sbom-diff-controls {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.sbom-diff-select-group {
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
min-width: 200px;
}
.sbom-diff-select-group label {
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.sbom-diff-summary {
display: flex;
gap: 12px;
margin: 16px 0;
flex-wrap: wrap;
}
.sbom-diff-stat {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
flex: 1;
min-width: 100px;
text-align: center;
font-size: 12px;
color: var(--text-secondary);
}
.sbom-diff-stat-num {
font-family: var(--font-display);
font-size: 24px;
font-weight: 700;
color: var(--text-primary);
}
.sbom-diff-added .sbom-diff-stat-num {
color: var(--success);
}
.sbom-diff-removed .sbom-diff-stat-num {
color: var(--danger);
}
.sbom-diff-changed .sbom-diff-stat-num {
color: var(--warning);
}
.sbom-diff-row-added {
border-left: 3px solid var(--success);
}
.sbom-diff-row-removed {
border-left: 3px solid var(--danger);
}
.sbom-diff-row-changed {
border-left: 3px solid var(--warning);
}
/* ═══════════════════════════════════
ATTACK CHAIN VISUALIZATION
═══════════════════════════════════ */
/* KPI bar */
.ac-kpi-bar {
display: flex;
gap: 2px;
margin-bottom: 16px;
}
.ac-kpi-card {
flex: 1;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
padding: 12px 14px;
position: relative;
overflow: hidden;
}
.ac-kpi-card:first-child { border-radius: 10px 0 0 10px; }
.ac-kpi-card:last-child { border-radius: 0 10px 10px 0; }
.ac-kpi-card::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
}
.ac-kpi-card:nth-child(1)::before { background: var(--accent, #3b82f6); opacity: 0.4; }
.ac-kpi-card:nth-child(2)::before { background: var(--danger, #dc2626); opacity: 0.5; }
.ac-kpi-card:nth-child(3)::before { background: var(--success, #16a34a); opacity: 0.4; }
.ac-kpi-card:nth-child(4)::before { background: var(--warning, #d97706); opacity: 0.4; }
.ac-kpi-value {
font-family: var(--font-display);
font-size: 24px;
font-weight: 800;
line-height: 1;
letter-spacing: -0.03em;
}
.ac-kpi-label {
font-family: var(--font-mono, monospace);
font-size: 9px;
color: var(--text-tertiary, #6b7280);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-top: 4px;
}
/* Phase progress rail */
.ac-phase-rail {
display: flex;
align-items: flex-start;
margin-bottom: 14px;
position: relative;
padding: 0 8px;
}
.ac-phase-rail::before {
content: '';
position: absolute;
top: 7px;
left: 8px;
right: 8px;
height: 2px;
background: var(--border-color);
z-index: 0;
}
.ac-rail-node {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
z-index: 1;
cursor: pointer;
min-width: 56px;
flex: 1;
transition: all 0.15s;
}
.ac-rail-node:hover .ac-rail-dot { transform: scale(1.25); }
.ac-rail-node.active .ac-rail-label { color: var(--accent, #3b82f6); }
.ac-rail-node.active .ac-rail-dot { box-shadow: 0 0 0 3px rgba(59,130,246,0.2), 0 0 12px rgba(59,130,246,0.15); }
.ac-rail-dot {
width: 14px;
height: 14px;
border-radius: 50%;
border: 2.5px solid var(--bg-primary, #0f172a);
transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
flex-shrink: 0;
}
.ac-rail-dot.done { background: var(--success, #16a34a); box-shadow: 0 0 8px rgba(22,163,74,0.25); }
.ac-rail-dot.running { background: var(--warning, #d97706); box-shadow: 0 0 10px rgba(217,119,6,0.35); animation: ac-dot-pulse 2s ease-in-out infinite; }
.ac-rail-dot.pending { background: var(--text-tertiary, #6b7280); opacity: 0.5; }
.ac-rail-dot.mixed { background: conic-gradient(var(--success, #16a34a) 0deg 270deg, var(--danger, #dc2626) 270deg 360deg); box-shadow: 0 0 8px rgba(22,163,74,0.2); }
@keyframes ac-dot-pulse {
0%, 100% { box-shadow: 0 0 8px rgba(217,119,6,0.35); }
50% { box-shadow: 0 0 18px rgba(217,119,6,0.55); }
}
.ac-rail-label {
font-family: var(--font-mono, monospace);
font-size: 9px;
color: var(--text-tertiary, #6b7280);
margin-top: 5px;
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
transition: color 0.15s;
}
.ac-rail-findings {
font-family: var(--font-mono, monospace);
font-size: 9px;
font-weight: 600;
margin-top: 1px;
}
.ac-rail-findings.has { color: var(--danger, #dc2626); }
.ac-rail-findings.none { color: var(--text-tertiary, #6b7280); opacity: 0.4; }
.ac-rail-heatmap {
display: flex;
gap: 2px;
margin-top: 3px;
}
.ac-hm-cell {
width: 7px;
height: 7px;
border-radius: 1.5px;
}
.ac-hm-cell.ok { background: var(--success, #16a34a); opacity: 0.5; }
.ac-hm-cell.fail { background: var(--danger, #dc2626); opacity: 0.65; }
.ac-hm-cell.run { background: var(--warning, #d97706); opacity: 0.5; animation: ac-pulse 1.5s ease-in-out infinite; }
.ac-hm-cell.wait { background: var(--text-tertiary, #6b7280); opacity: 0.15; }
.ac-rail-bar {
flex: 1;
height: 2px;
margin-top: 7px;
position: relative;
z-index: 1;
}
.ac-rail-bar-inner {
height: 100%;
border-radius: 1px;
}
.ac-rail-bar-inner.done { background: var(--success, #16a34a); opacity: 0.35; }
.ac-rail-bar-inner.running { background: linear-gradient(to right, var(--success, #16a34a), var(--warning, #d97706)); opacity: 0.35; }
/* Progress track */
.ac-progress-track {
height: 3px;
background: var(--border-color);
border-radius: 2px;
overflow: hidden;
margin-bottom: 10px;
}
.ac-progress-fill {
height: 100%;
border-radius: 2px;
background: linear-gradient(90deg, var(--success, #16a34a) 0%, var(--accent, #3b82f6) 100%);
transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}
/* Expand all controls */
.ac-controls {
display: flex;
justify-content: flex-end;
margin-bottom: 6px;
}
.ac-btn-toggle {
font-family: var(--font-body);
font-size: 11px;
color: var(--accent, #3b82f6);
background: none;
border: 1px solid transparent;
cursor: pointer;
padding: 3px 10px;
border-radius: 4px;
transition: all 0.15s;
}
.ac-btn-toggle:hover {
background: rgba(59,130,246,0.08);
border-color: rgba(59,130,246,0.12);
}
/* Phase accordion */
.ac-phases {
display: flex;
flex-direction: column;
gap: 2px;
}
.ac-phase {
animation: ac-phase-in 0.35s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes ac-phase-in {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.ac-phase-header {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 14px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 10px;
cursor: pointer;
user-select: none;
transition: background 0.15s;
}
.ac-phase.open .ac-phase-header {
border-radius: 10px 10px 0 0;
}
.ac-phase-header:hover {
background: var(--bg-tertiary);
}
.ac-phase-num {
font-family: var(--font-mono, monospace);
font-size: 10px;
font-weight: 600;
color: var(--accent, #3b82f6);
background: rgba(59,130,246,0.08);
padding: 2px 8px;
border-radius: 4px;
letter-spacing: 0.04em;
white-space: nowrap;
border: 1px solid rgba(59,130,246,0.1);
}
.ac-phase-title {
font-family: var(--font-display);
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
flex: 1;
}
.ac-phase-dots {
display: flex;
gap: 3px;
align-items: center;
}
.ac-phase-dot {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.ac-phase-dot.completed { background: var(--success, #16a34a); }
.ac-phase-dot.failed { background: var(--danger, #dc2626); }
.ac-phase-dot.running { background: var(--warning, #d97706); animation: ac-pulse 1.5s ease-in-out infinite; }
.ac-phase-dot.pending { background: var(--text-tertiary, #6b7280); opacity: 0.4; }
@keyframes ac-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.35; }
}
.ac-phase-meta {
display: flex;
align-items: center;
gap: 12px;
font-family: var(--font-mono, monospace);
font-size: 11px;
color: var(--text-secondary);
}
.ac-phase-meta .findings-ct { color: var(--danger, #dc2626); font-weight: 600; }
.ac-phase-meta .running-ct { color: var(--warning, #d97706); font-weight: 500; }
.ac-phase-chevron {
color: var(--text-tertiary, #6b7280);
font-size: 11px;
transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
width: 14px;
text-align: center;
}
.ac-phase.open .ac-phase-chevron {
transform: rotate(90deg);
}
.ac-phase-body {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
background: var(--bg-secondary);
border-left: 1px solid var(--border-color);
border-right: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
border-radius: 0 0 10px 10px;
}
.ac-phase.open .ac-phase-body {
max-height: 2000px;
}
.ac-phase-body-inner {
padding: 4px 6px;
display: flex;
flex-direction: column;
gap: 1px;
}
/* Tool rows */
.ac-tool-row {
display: grid;
grid-template-columns: 5px 26px 1fr auto auto auto;
align-items: center;
gap: 8px;
padding: 7px 10px;
border-radius: 6px;
cursor: pointer;
transition: background 0.12s;
}
.ac-tool-row:hover {
background: var(--bg-elevated);
}
.ac-tool-row.expanded {
background: rgba(59,130,246,0.03);
}
.ac-tool-row.is-pending {
opacity: 0.45;
cursor: default;
}
.ac-status-bar {
width: 4px;
height: 26px;
border-radius: 2px;
flex-shrink: 0;
}
.ac-status-bar.completed { background: var(--success, #16a34a); }
.ac-status-bar.failed { background: var(--danger, #dc2626); }
.ac-status-bar.running { background: var(--warning, #d97706); animation: ac-pulse 1.5s ease-in-out infinite; }
.ac-status-bar.pending { background: var(--text-tertiary, #6b7280); opacity: 0.25; }
.ac-tool-icon {
font-size: 17px;
text-align: center;
line-height: 1;
}
.ac-tool-info { min-width: 0; }
.ac-tool-name {
font-size: 12.5px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Category chips */
.ac-cat-chip {
font-family: var(--font-mono, monospace);
font-size: 9px;
font-weight: 500;
padding: 1px 6px;
border-radius: 3px;
display: inline-block;
letter-spacing: 0.02em;
}
.ac-cat-chip.recon { color: #38bdf8; background: rgba(56,189,248,0.1); }
.ac-cat-chip.api { color: #818cf8; background: rgba(129,140,248,0.1); }
.ac-cat-chip.headers { color: #06b6d4; background: rgba(6,182,212,0.1); }
.ac-cat-chip.csp { color: #d946ef; background: rgba(217,70,239,0.1); }
.ac-cat-chip.cookies { color: #f59e0b; background: rgba(245,158,11,0.1); }
.ac-cat-chip.logs { color: #78716c; background: rgba(120,113,108,0.1); }
.ac-cat-chip.ratelimit { color: #64748b; background: rgba(100,116,139,0.1); }
.ac-cat-chip.cors { color: #8b5cf6; background: rgba(139,92,246,0.1); }
.ac-cat-chip.tls { color: #14b8a6; background: rgba(20,184,166,0.1); }
.ac-cat-chip.redirect { color: #fb923c; background: rgba(251,146,60,0.1); }
.ac-cat-chip.email { color: #0ea5e9; background: rgba(14,165,233,0.1); }
.ac-cat-chip.auth { color: #f43f5e; background: rgba(244,63,94,0.1); }
.ac-cat-chip.xss { color: #f97316; background: rgba(249,115,22,0.1); }
.ac-cat-chip.sqli { color: #ef4444; background: rgba(239,68,68,0.1); }
.ac-cat-chip.ssrf { color: #a855f7; background: rgba(168,85,247,0.1); }
.ac-cat-chip.idor { color: #ec4899; background: rgba(236,72,153,0.1); }
.ac-cat-chip.fuzzer { color: #a78bfa; background: rgba(167,139,250,0.1); }
.ac-cat-chip.cve { color: #dc2626; background: rgba(220,38,38,0.1); }
.ac-cat-chip.default { color: #94a3b8; background: rgba(148,163,184,0.1); }
.ac-tool-duration {
font-family: var(--font-mono, monospace);
font-size: 10px;
color: var(--text-tertiary, #6b7280);
white-space: nowrap;
min-width: 48px;
text-align: right;
}
.ac-tool-duration.running-text {
color: var(--warning, #d97706);
font-weight: 500;
}
.ac-findings-pill {
font-family: var(--font-mono, monospace);
font-size: 10px;
font-weight: 700;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 22px;
padding: 1px 7px;
border-radius: 9px;
line-height: 1.4;
text-align: center;
}
.ac-findings-pill.has { background: rgba(220,38,38,0.12); color: var(--danger, #dc2626); }
.ac-findings-pill.zero { background: transparent; color: var(--text-tertiary, #6b7280); font-weight: 400; opacity: 0.5; }
.ac-risk-val {
font-family: var(--font-mono, monospace);
font-size: 10px;
font-weight: 700;
min-width: 32px;
text-align: right;
}
.ac-risk-val.high { color: var(--danger, #dc2626); }
.ac-risk-val.medium { color: var(--warning, #d97706); }
.ac-risk-val.low { color: var(--text-secondary); }
.ac-risk-val.none { color: transparent; }
/* Tool detail (expanded) */
.ac-tool-detail {
max-height: 0;
overflow: hidden;
transition: max-height 0.28s cubic-bezier(0.16,1,0.3,1);
}
.ac-tool-detail.open {
max-height: 800px;
}
.ac-tool-detail-inner {
padding: 6px 10px 10px 49px;
font-size: 12px;
line-height: 1.55;
color: var(--text-secondary);
}
.ac-reasoning-block {
background: rgba(59,130,246,0.03);
border-left: 2px solid var(--accent, #3b82f6);
padding: 7px 12px;
border-radius: 0 6px 6px 0;
font-style: italic;
margin-bottom: 8px;
color: var(--text-secondary);
}
.ac-detail-grid {
display: grid;
grid-template-columns: auto 1fr;
gap: 3px 14px;
font-family: var(--font-mono, monospace);
font-size: 10px;
}
.ac-detail-label {
color: var(--text-tertiary, #6b7280);
text-transform: uppercase;
font-size: 9px;
letter-spacing: 0.04em;
}
.ac-detail-value {
color: var(--text-secondary);
}
/* Running node pulse animation */
.ac-node-running {
animation: ac-pulse 2s ease-in-out infinite;
}
@keyframes ac-pulse {
0%, 100% { box-shadow: inset 0 0 0 transparent; }
50% { box-shadow: inset 0 0 12px rgba(217, 119, 6, 0.15); }
}
/* Tool input/output data blocks */
.ac-data-section {
margin-top: 8px;
}
.ac-data-label {
color: var(--text-tertiary, #6b7280);
text-transform: uppercase;
font-size: 9px;
letter-spacing: 0.04em;
margin-bottom: 3px;
}
.ac-data-block {
background: rgba(0, 0, 0, 0.25);
border: 1px solid var(--border, #162038);
border-radius: 6px;
padding: 8px 10px;
font-family: var(--font-mono, monospace);
font-size: 10px;
line-height: 1.5;
color: var(--text-secondary);
white-space: pre-wrap;
word-break: break-all;
max-height: 200px;
overflow-y: auto;
margin: 0;
}
/* ═══════════════════════════════════════════════════
Pentest Wizard
═══════════════════════════════════════════════════ */
.wizard-backdrop {
position: fixed;
inset: 0;
background: oklch(0.2 0.02 260 / 0.32);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.wizard-dialog {
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
width: 600px;
max-width: 92vw;
max-height: 90vh;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
/* Close button (top-right corner, always visible) */
.wizard-close-btn {
position: absolute;
top: 12px;
right: 12px;
z-index: 10;
background: none;
border: 1px solid transparent;
border-radius: 6px;
color: var(--text-secondary);
cursor: pointer;
padding: 4px 6px;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.15s, border-color 0.15s;
}
.wizard-close-btn:hover {
color: var(--text-primary);
border-color: var(--border-color);
}
/* Dropdown for existing targets/repos */
.wizard-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 20;
background: var(--bg-elevated, var(--bg-secondary));
border: 1px solid var(--border-color);
border-radius: 0 0 8px 8px;
max-height: 200px;
overflow-y: auto;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.wizard-dropdown-item {
padding: 8px 12px;
cursor: pointer;
transition: background 0.1s;
border-bottom: 1px solid var(--border-color);
}
.wizard-dropdown-item:last-child {
border-bottom: none;
}
.wizard-dropdown-item:hover {
background: var(--bg-card-hover);
}
/* SSH key display */
.wizard-ssh-key {
margin-top: 8px;
padding: 10px 12px;
background: var(--accent-muted);
border: 1px solid var(--border-accent, rgba(0,200,255,0.15));
border-radius: 8px;
}
.wizard-ssh-key-box {
padding: 8px 10px;
background: var(--bg-primary);
border-radius: 4px;
font-family: var(--font-mono, monospace);
font-size: 10px;
word-break: break-all;
user-select: all;
color: var(--text-secondary);
line-height: 1.4;
}
.wizard-steps {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 16px 24px;
border-bottom: 1px solid var(--border);
background: var(--bg-primary);
}
.wizard-step {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.8rem;
color: var(--text-tertiary);
position: relative;
}
.wizard-step + .wizard-step::before {
content: '';
display: block;
width: 24px;
height: 1px;
background: var(--border-bright);
margin-right: 4px;
}
.wizard-step.active {
color: var(--accent);
font-weight: 600;
}
.wizard-step.completed {
color: var(--success);
}
.wizard-step-dot {
width: 22px;
height: 22px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
font-weight: 700;
background: transparent;
border: 1px solid var(--border-bright);
color: var(--text-tertiary);
flex-shrink: 0;
}
.wizard-step.active .wizard-step-dot {
background: var(--accent);
border-color: var(--accent);
color: var(--accent-ink);
}
.wizard-step.completed .wizard-step-dot {
background: var(--success-bg);
border-color: transparent;
color: var(--success);
}
.wizard-step-label {
display: none;
}
@media (min-width: 480px) {
.wizard-step-label {
display: inline;
}
}
.wizard-body {
padding: 20px 24px;
min-height: 300px;
overflow-y: auto;
flex: 1;
}
.wizard-body h3 {
font-size: 1.05rem;
font-weight: 600;
color: var(--text-primary);
}
.wizard-field {
margin-bottom: 12px;
}
.wizard-field label {
display: block;
font-size: 0.82rem;
color: var(--text-secondary);
margin-bottom: 4px;
font-weight: 500;
}
.wizard-field .chat-input,
.wizard-field select {
width: 100%;
}
.wizard-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 24px;
border-top: 1px solid var(--border-color);
background: var(--bg-primary);
}
.wizard-disclaimer {
background: rgba(255, 176, 32, 0.08);
border: 1px solid rgba(255, 176, 32, 0.25);
border-radius: var(--radius);
padding: 16px;
margin-top: 16px;
color: var(--text-primary);
font-size: 0.85rem;
line-height: 1.55;
}
.wizard-summary {
background: var(--bg-primary);
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 16px;
}
.wizard-summary dl {
display: grid;
grid-template-columns: auto 1fr;
gap: 6px 16px;
margin: 0;
font-size: 0.85rem;
}
.wizard-summary dt {
color: var(--text-secondary);
font-weight: 500;
}
.wizard-summary dd {
color: var(--text-primary);
margin: 0;
}
.wizard-toggle {
width: 36px;
height: 20px;
background: var(--bg-tertiary);
border-radius: 10px;
cursor: pointer;
position: relative;
transition: background 0.2s;
flex-shrink: 0;
}
.wizard-toggle.active {
background: var(--accent);
}
.wizard-toggle-knob {
width: 16px;
height: 16px;
background: #fff;
border-radius: 50%;
position: absolute;
top: 2px;
left: 2px;
transition: transform 0.2s;
}
.wizard-toggle.active .wizard-toggle-knob {
transform: translateX(16px);
}
/* ═══════════════════════════════════════════════════════════════
HELP CHAT WIDGET
Floating assistant for documentation Q&A
═══════════════════════════════════════════════════════════════ */
.help-chat-toggle {
position: fixed;
bottom: 24px;
right: 28px;
z-index: 50;
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--accent);
color: var(--bg-primary);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-pop);
transition: transform 0.15s, box-shadow 0.15s;
}
.help-chat-toggle:hover {
transform: scale(1.08);
box-shadow: var(--shadow-pop);
}
.help-chat-panel {
position: fixed;
bottom: 24px;
right: 28px;
z-index: 51;
width: 400px;
height: 520px;
background: var(--bg-secondary);
border: 1px solid var(--border-bright);
border-radius: 16px;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: var(--shadow-pop);
}
.help-chat-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
background: var(--bg-primary);
}
.help-chat-title {
display: flex;
align-items: center;
gap: 8px;
font-family: var(--font-display);
font-weight: 600;
font-size: 14px;
color: var(--text-primary);
}
.help-chat-close {
background: none;
border: none;
color: var(--text-secondary);
cursor: pointer;
padding: 4px;
border-radius: 6px;
display: flex;
}
.help-chat-close:hover {
color: var(--text-primary);
background: var(--bg-elevated);
}
.help-chat-messages {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.help-chat-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
color: var(--text-secondary);
font-size: 13px;
gap: 8px;
}
@media (max-width: 480px) {
.help-chat-panel { right: 16px; left: 16px; width: auto; bottom: 16px; height: 70vh; }
}
.help-chat-hint {
font-size: 12px;
color: var(--text-tertiary);
font-style: italic;
}
.help-msg {
max-width: 88%;
animation: helpMsgIn 0.15s ease-out;
}
@keyframes helpMsgIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.help-msg-user {
align-self: flex-end;
}
.help-msg-assistant {
align-self: flex-start;
}
.help-msg-content {
padding: 10px 14px;
border-radius: 12px;
font-size: 13px;
line-height: 1.55;
word-wrap: break-word;
}
.help-msg-user .help-msg-content {
background: var(--accent);
color: var(--bg-primary);
border-bottom-right-radius: 4px;
}
.help-msg-assistant .help-msg-content {
background: var(--bg-elevated);
color: var(--text-primary);
border: 1px solid var(--border);
border-bottom-left-radius: 4px;
}
/* Markdown answers: compact prose that fits the narrow panel. */
.help-md > :first-child { margin-top: 0; }
.help-md > :last-child { margin-bottom: 0; }
.help-md p,
.help-md ul,
.help-md ol,
.help-md pre,
.help-md table { margin: 0 0 8px; }
.help-md ul,
.help-md ol { padding-left: 18px; }
.help-md li { margin: 2px 0; }
.help-md li::marker { color: var(--accent); }
.help-md h1,
.help-md h2,
.help-md h3,
.help-md h4 {
font-family: var(--font-display);
font-size: 13px;
font-weight: 600;
margin: 10px 0 4px;
}
.help-md strong { font-weight: 600; }
.help-md a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.help-md code {
background: var(--accent-muted);
padding: 1px 5px;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 12px;
word-break: break-word;
}
.help-md pre {
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px 10px;
overflow-x: auto;
}
.help-md pre code { background: none; padding: 0; }
.help-md blockquote {
margin: 0 0 8px;
padding-left: 10px;
border-left: 3px solid var(--border-bright);
color: var(--text-secondary);
}
.help-md table { border-collapse: collapse; font-size: 12px; display: block; overflow-x: auto; }
.help-md th,
.help-md td { border: 1px solid var(--border); padding: 3px 6px; text-align: left; }
.help-msg-error {
color: var(--danger);
border-color: color-mix(in oklch, var(--danger) 40%, var(--border)) !important;
}
.help-chat-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border-radius: 8px;
background: var(--accent-muted);
color: var(--accent);
}
.help-chat-suggestions {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
margin-top: 6px;
}
.help-chat-suggestion {
text-align: left;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 12px;
font: inherit;
font-size: 13px;
color: var(--text-primary);
cursor: pointer;
transition: border-color 0.15s, background 0.15s;
}
.help-chat-suggestion:hover {
border-color: var(--accent);
background: var(--accent-muted);
}
.help-chat-disclaimer {
margin: 0;
padding: 0 14px 10px;
background: var(--bg-primary);
font-size: 11px;
color: var(--text-tertiary);
}
.help-msg-loading {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
border-radius: 12px;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-bottom-left-radius: 4px;
color: var(--text-secondary);
font-size: 13px;
animation: helpPulse 1.2s ease-in-out infinite;
}
@keyframes helpPulse {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
.help-chat-input {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 14px;
border-top: 1px solid var(--border);
background: var(--bg-primary);
}
.help-chat-input input {
flex: 1;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 14px;
color: var(--text-primary);
font-size: 13px;
font-family: var(--font-body);
outline: none;
transition: border-color 0.15s;
}
.help-chat-input input:focus {
border-color: var(--accent);
}
.help-chat-input input::placeholder {
color: var(--text-tertiary);
}
.help-chat-send {
width: 36px;
height: 36px;
border-radius: 8px;
background: var(--accent);
color: var(--bg-primary);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.15s;
}
.help-chat-send:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.help-chat-send:not(:disabled):hover {
background: var(--accent-hover);
}
/* ═══════════════════════════════════════════════════════════════
NOTIFICATION BELL — CVE alert dropdown
═══════════════════════════════════════════════════════════════ */
.notification-bell-wrapper { position: fixed; top: 16px; right: 28px; z-index: 48; }
.notification-bell-btn { position: relative; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; transition: color 0.15s, border-color 0.15s; }
.notification-bell-btn:hover { color: var(--text-primary); border-color: var(--border-bright); }
.notification-badge { position: absolute; top: -4px; right: -4px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-family: var(--font-display); }
.notification-panel { position: absolute; top: 44px; right: 0; width: 380px; max-height: 480px; background: var(--bg-secondary); border: 1px solid var(--border-bright); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.notification-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-primary); }
.notification-close-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 2px; }
.notification-panel-body { overflow-y: auto; flex: 1; padding: 8px; }
.notification-loading, .notification-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; color: var(--text-secondary); font-size: 13px; gap: 8px; }
.notification-item { padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.15s; }
.notification-item:hover { border-color: var(--border-bright); }
.notification-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.notification-sev { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-display); }
.notification-sev.sev-critical { background: var(--danger-bg); color: var(--danger); }
.notification-sev.sev-high { background: rgba(255,140,0,0.12); color: #ff8c00; }
.notification-sev.sev-medium { background: var(--warning-bg); color: var(--warning); }
.notification-sev.sev-low { background: rgba(0,200,255,0.08); color: var(--accent); }
.notification-cve-id { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); }
.notification-cvss { font-size: 10px; color: var(--text-secondary); margin-left: auto; font-family: var(--font-mono); }
.notification-dismiss-btn { background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 2px; margin-left: 4px; }
.notification-dismiss-btn:hover { color: var(--danger); }
.notification-item-pkg { font-size: 12px; color: var(--text-primary); font-family: var(--font-mono); }
.notification-item-repo { font-size: 11px; color: var(--text-secondary); margin-bottom: 4px; }
.notification-item-summary { font-size: 11px; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ═══════════════════════════════════════════════════════════════
COPY BUTTON — Reusable clipboard copy component
═══════════════════════════════════════════════════════════════ */
.copy-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 5px 7px; color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; transition: color 0.15s, border-color 0.15s, background 0.15s; flex-shrink: 0; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-muted); }
.copy-btn-sm { padding: 3px 5px; border-radius: 4px; }
/* Copyable inline field pattern: value + copy button side by side */
.copyable { display: flex; align-items: center; gap: 6px; }
.copyable code, .copyable .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-snippet-wrapper { position: relative; }
.code-snippet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 8px; }
/* ── Scan progress: stepper and reveal ── */
.scan-stepper {
margin-top: 8px;
}
.scan-progress {
height: 4px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
}
.scan-progress-fill {
height: 100%;
background: var(--accent);
transition: width 0.6s ease;
}
.scan-steps-count {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-faint);
margin: 4px 0;
}
.scan-steps {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.scan-step {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 2px 8px;
border-radius: 999px;
border: 1px solid var(--border);
font-size: 12px;
transition: background 0.3s ease, color 0.3s ease;
}
.scan-step.done {
color: var(--success);
border-color: color-mix(in oklch, var(--success) 40%, var(--border));
}
.scan-step.current {
color: var(--accent);
border-color: var(--accent);
background: var(--accent-muted);
font-weight: 600;
}
.scan-step.pending {
color: var(--text-faint);
}
.scan-step-spinner {
width: 10px;
height: 10px;
}
.run-reveal {
margin: 4px 0 10px 13px;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 6px;
}
.run-reveal-head {
display: flex;
align-items: baseline;
gap: 8px;
}
.run-reveal-count {
font-size: 22px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.run-reveal-list {
list-style: none;
padding: 0;
margin: 8px 0;
}
.run-reveal-item {
display: flex;
gap: 8px;
align-items: center;
padding: 3px 0;
opacity: 0;
animation: reveal-in 0.4s ease forwards;
}
@keyframes reveal-in {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.run-reveal-item {
animation: none;
opacity: 1;
}
.scan-progress-fill {
transition: none;
}
}
/* ── Scan coverage (what a target's scans check) ── */
.scan-cov {
list-style: none;
display: grid;
gap: 6px;
margin: 4px 0 0;
}
.scan-cov-row {
display: grid;
grid-template-columns: minmax(150px, max-content) 1fr;
column-gap: 12px;
row-gap: 2px;
align-items: baseline;
}
.scan-cov-badge {
justify-self: start;
}
.scan-cov-purpose {
color: var(--text-secondary);
}
.scan-cov-reason {
grid-column: 2;
color: var(--text-tertiary);
font-size: 12px;
}
.scan-cov-off {
margin-top: 8px;
color: var(--text-tertiary);
font-size: 12px;
}
@media (max-width: 640px) {
.scan-cov-row {
grid-template-columns: 1fr;
}
.scan-cov-reason {
grid-column: 1;
}
}
/* ── Findings list cells ── */
.finding-title-cell {
min-width: 260px;
}
.finding-title-link {
display: block;
color: var(--text-primary);
font-weight: 500;
text-decoration: none;
}
.finding-title-link:hover {
color: var(--accent);
}
.finding-tool {
display: block;
margin-top: 2px;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-tertiary);
}
.finding-variant {
display: inline-block;
margin-top: 4px;
padding: 1px 8px;
border-radius: 999px;
font-size: 11px;
color: var(--text-secondary);
background: var(--bg-elevated);
}
.badge-variant {
color: var(--text-secondary);
background: var(--bg-elevated);
}
.finding-target {
color: var(--text-secondary);
max-width: 220px;
}
.finding-location {
min-width: 170px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
overflow-wrap: anywhere;
}
.finding-controls {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: center;
}
.finding-control {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: 999px;
background: var(--accent-muted);
color: var(--text-primary);
font-size: 12px;
line-height: 1.35;
}
.finding-controls-more,
.finding-controls-none {
font-size: 11px;
color: var(--text-tertiary);
}
/* ── Finding detail: the CRA refs a finding concerns ── */
.finding-refs {
list-style: none;
display: grid;
justify-items: start;
gap: 6px;
}
.finding-refs-catalog {
color: var(--text-tertiary);
font-size: 12px;
}
/* ── Onboarding: what kind of product ── */
.type-group-label {
margin: 18px 0 8px;
font-family: var(--font-mono);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-tertiary);
}
.type-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 10px;
}
.type-card {
display: flex;
flex-direction: column;
gap: 3px;
padding: 12px 14px;
text-align: left;
font: inherit;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
cursor: pointer;
transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}
.type-card:hover {
border-color: var(--border-strong);
}
.type-card[aria-pressed="true"] {
border-color: var(--accent);
background: var(--accent-muted);
box-shadow: inset 0 0 0 1px var(--accent);
}
.type-card:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.type-card-name {
font-weight: 600;
}
.type-card-hint {
font-size: 12px;
color: var(--text-tertiary);
}
/* ── CRA bar: a target's Annex I status at a glance ── */
.cra-bar {
display: grid;
gap: 8px;
}
.cra-bar-compact {
grid-template-columns: minmax(80px, 1fr) auto;
align-items: center;
gap: 10px;
}
.cra-bar-track {
display: flex;
gap: 2px;
height: 8px;
border-radius: 99px;
overflow: hidden;
background: var(--bg-elevated);
}
.cra-bar-seg {
min-width: 3px;
}
.cra-violated { background: var(--danger); }
.cra-open { background: var(--text-faint); }
.cra-partial { background: var(--warning); }
.cra-clear { background: var(--success); }
.cra-process { background: color-mix(in srgb, var(--accent) 28%, var(--bg-elevated)); }
.cra-bar-note {
font-size: 12px;
color: var(--text-tertiary);
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.cra-bar-violated {
color: var(--danger);
font-weight: 600;
}
.cra-bar-legend {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
gap: 6px 18px;
font-size: 12px;
}
.cra-bar-legend li {
display: flex;
align-items: center;
gap: 8px;
}
.cra-dot {
width: 8px;
height: 8px;
border-radius: 2px;
flex-shrink: 0;
}
.cra-legend-label {
color: var(--text-secondary);
}
.cra-legend-n {
margin-left: auto;
font-family: var(--font-mono);
color: var(--text-primary);
font-variant-numeric: tabular-nums;
}
/* ── Overview ── */
.ov-empty {
display: grid;
gap: 10px;
justify-items: start;
padding: 24px;
}
.ov-empty p {
color: var(--text-secondary);
max-width: 62ch;
}
.ov-figures {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
margin-bottom: 20px;
overflow: hidden;
}
.ov-figure {
display: grid;
gap: 4px;
align-content: start;
padding: 16px 18px;
color: inherit;
text-decoration: none;
border-right: 1px solid var(--border);
transition: background 0.15s var(--ease-out);
}
.ov-figure:last-child {
border-right: none;
}
.ov-figure:hover {
background: var(--bg-card-hover);
}
.ov-figure-label {
font-family: var(--font-mono);
font-size: 10.5px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-tertiary);
}
.ov-figure-value {
font-size: 28px;
font-weight: 600;
letter-spacing: -0.02em;
font-variant-numeric: tabular-nums;
}
.ov-figure-sub {
font-size: 12px;
color: var(--text-tertiary);
}
.ov-grid {
display: grid;
grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
gap: 20px;
align-items: start;
}
.ov-section-head {
display: grid;
gap: 2px;
padding: 16px 18px 12px;
border-bottom: 1px solid var(--border);
}
.ov-section-head h3 {
font-size: 14px;
font-weight: 600;
}
.ov-section-head p,
.ov-muted {
font-size: 12px;
color: var(--text-tertiary);
}
.ov-muted {
padding: 14px 18px;
}
.ov-next-list {
list-style: none;
}
.ov-target-type {
font-size: 11.5px;
color: var(--text-tertiary);
}
.ov-next-list li {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 12px;
align-items: start;
padding: 12px 18px;
border-bottom: 1px solid var(--border);
}
.ov-next-body {
display: grid;
gap: 2px;
min-width: 0;
}
.ov-next-title {
color: var(--text-primary);
font-weight: 500;
text-decoration: none;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.ov-next-title:hover {
color: var(--accent);
}
.ov-next-meta {
font-size: 12px;
color: var(--text-tertiary);
overflow-wrap: anywhere;
}
.ov-next-meta code {
font-family: var(--font-mono);
font-size: 11.5px;
}
.ov-more {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 12px 18px;
font-weight: 500;
color: var(--accent);
text-decoration: none;
}
@media (max-width: 1100px) {
.ov-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.ov-figures {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ov-figure:nth-child(2) {
border-right: none;
}
.ov-figure:nth-child(-n+2) {
border-bottom: 1px solid var(--border);
}
}
/* ── CVE trend (#952): tiles, 30-day bars, sparklines, repo cards ──
Critical and high CVEs with a fix. The two reds are fixed for the light
theme; the dark theme lightens them to stay readable on its panels. */
:root {
--cve-critical: #7E2318;
--cve-high: #B3452F;
}
:root[data-theme="dark"] {
--cve-critical: #E06A58;
--cve-high: #F2A48C;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--cve-critical: #E06A58;
--cve-high: #F2A48C;
}
}
.cve-kpi-critical { color: var(--cve-critical); }
.cve-kpi-high { color: var(--cve-high); }
.cve-chart-card {
margin-bottom: 20px;
}
.cve-chart-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 14px;
}
.cve-chart-head h3 {
font-size: 14px;
font-weight: 600;
}
.cve-chart-head p {
font-size: 12px;
color: var(--text-tertiary);
max-width: 70ch;
}
.cve-legend {
display: flex;
gap: 14px;
list-style: none;
font-size: 12px;
color: var(--text-secondary);
white-space: nowrap;
}
.cve-legend li {
display: inline-flex;
align-items: center;
gap: 6px;
}
.cve-dot {
width: 10px;
height: 10px;
border-radius: 2px;
}
.cve-dot.cve-critical { background: var(--cve-critical); }
.cve-dot.cve-high { background: var(--cve-high); }
.cve-chart {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
grid-template-rows: 160px auto;
column-gap: 8px;
}
.cve-chart-axis {
display: flex;
flex-direction: column;
justify-content: space-between;
font-family: var(--font-mono);
font-size: 10.5px;
line-height: 1;
text-align: right;
color: var(--text-faint);
font-variant-numeric: tabular-nums;
}
/* Gridlines at the top and the middle; the baseline is the border. */
.cve-chart-bars {
display: flex;
align-items: stretch;
gap: 2px;
border-bottom: 1px solid var(--border-strong);
background-image: linear-gradient(to bottom, var(--border) 1px, transparent 1px);
background-size: 100% 50%;
}
.cve-bar {
display: flex;
flex: 1 1 0;
flex-direction: column;
justify-content: flex-end;
min-width: 0;
border-radius: 2px 2px 0 0;
overflow: hidden;
transition: opacity 0.15s var(--ease-out), background 0.15s var(--ease-out);
}
.cve-bar-critical { display: block; background: var(--cve-critical); }
.cve-bar-high { display: block; background: var(--cve-high); }
/* Hovering one day dims the others. */
.cve-chart-bars:hover .cve-bar { opacity: 0.45; }
.cve-chart-bars .cve-bar:hover {
opacity: 1;
background: var(--bg-card-hover);
}
.cve-chart-dates {
grid-column: 2;
display: flex;
justify-content: space-between;
padding-top: 4px;
font-family: var(--font-mono);
font-size: 10.5px;
color: var(--text-faint);
}
.cve-spark {
flex-shrink: 0;
width: 96px;
height: 24px;
overflow: visible;
color: var(--cve-high);
}
/* The overview's targets by project. */
.card.ov-projects {
padding: 0;
}
.ov-project {
padding: 14px 18px;
border-bottom: 1px solid var(--border);
}
.ov-project:last-child {
border-bottom: none;
}
.ov-project-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.ov-project-title {
display: grid;
gap: 2px;
min-width: 0;
}
.ov-project-title h4 {
font-size: 13.5px;
font-weight: 600;
}
.ov-project-title span {
font-size: 12px;
color: var(--text-tertiary);
}
.ov-project .ov-more {
padding: 10px 0 0;
}
.repo-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 10px;
}
.repo-card {
display: grid;
gap: 10px;
align-content: start;
min-width: 0;
padding: 12px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.repo-card-name {
display: grid;
min-width: 0;
}
.repo-card-name a {
color: var(--text-primary);
font-weight: 500;
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.repo-card-name a:hover,
.repo-card-cves:hover .repo-card-n {
color: var(--accent);
}
.repo-card-cves {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 4px 8px;
color: inherit;
text-decoration: none;
}
/* A card's sparkline runs the card's width under its count. */
.repo-card-cves .cve-spark {
grid-column: 1 / -1;
width: 100%;
}
.repo-card-n {
font-size: 22px;
font-weight: 600;
letter-spacing: -0.02em;
font-variant-numeric: tabular-nums;
}
.repo-card-label {
display: grid;
font-size: 11.5px;
color: var(--text-tertiary);
}
.repo-card-split {
font-size: 11px;
color: var(--text-faint);
}
.repo-card-cra {
display: block;
color: inherit;
text-decoration: none;
}
.repo-card-foot {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 6px 10px;
font-size: 12px;
color: var(--text-tertiary);
}
.repo-card-links {
display: flex;
gap: 10px;
}
.repo-card-links a {
color: var(--accent);
text-decoration: none;
}
.repo-card-links a:hover {
text-decoration: underline;
}
/* A target's "Wo handeln" table. */
.cve-act {
margin-bottom: 20px;
}
.cve-act-table code {
font-family: var(--font-mono);
font-size: 12px;
}
.cve-act-table .num {
text-align: right;
font-variant-numeric: tabular-nums;
}
.cve-act-critical {
display: block;
font-size: 11px;
color: var(--cve-critical);
}
@media (max-width: 720px) {
.cve-chart {
grid-template-rows: 120px auto;
}
.cve-chart-head {
flex-direction: column;
gap: 8px;
}
}
/* ── Targets list ── */
.page-actions {
display: flex;
gap: 8px;
margin-bottom: 16px;
}
.targets-empty {
display: grid;
gap: 12px;
justify-items: center;
padding: 28px;
text-align: center;
color: var(--text-secondary);
}
.targets-empty-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
justify-content: center;
}
.targets-empty-hint {
font-size: 12px;
color: var(--text-tertiary);
max-width: 60ch;
}
.targets-row {
cursor: pointer;
}
/* Under the list: how many targets, and how many a page shows. */
.targets-pager {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
margin-top: 14px;
}
.targets-total {
font-size: 13px;
color: var(--text-secondary);
}
.targets-pager .project-filter select {
min-width: 0;
}
.targets-row:hover td {
background: var(--bg-card-hover);
}
.targets-name {
display: block;
color: var(--text-primary);
font-weight: 600;
text-decoration: none;
}
.targets-name:hover {
color: var(--accent);
}
.usage-summary {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 16px;
margin: 0 0 16px;
font-size: 13px;
color: var(--text-secondary);
}
.usage-summary-title {
font-weight: 600;
color: var(--text-primary);
}
.targets-type,
.targets-ago {
display: block;
font-size: 12px;
color: var(--text-tertiary);
}
.targets-scan .badge {
margin-bottom: 2px;
}
.targets-extra {
margin-top: 4px;
}
.target-billing {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
margin-bottom: 16px;
}
.billing-swap-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.targets-cra {
min-width: 220px;
}
.targets-table .num {
text-align: right;
font-variant-numeric: tabular-nums;
}
.targets-actions {
text-align: right;
white-space: nowrap;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
/* ── Target page ── */
.target-missing {
padding: 20px;
}
.target-head {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 20px;
}
.target-head-text {
display: grid;
gap: 6px;
min-width: 0;
}
.target-head h2 {
font-size: 22px;
font-weight: 600;
letter-spacing: -0.02em;
}
.target-head-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 14px;
font-size: 12.5px;
color: var(--text-tertiary);
}
.target-head-artifact code {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
overflow-wrap: anywhere;
}
.target-head-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.target-head-actions .btn {
display: inline-flex;
align-items: center;
gap: 6px;
}
.target-summary {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
gap: 20px;
margin-bottom: 20px;
}
.target-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 14px;
}
.target-card-head h3 {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 600;
}
.target-card-link {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12.5px;
font-weight: 500;
color: var(--accent);
text-decoration: none;
}
.target-count {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
background: var(--bg-elevated);
border-radius: 99px;
padding: 1px 8px;
}
/* With the code graph's card, the CRA card keeps half the row. */
.target-summary:has(.target-graph) {
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.target-graph-languages {
margin: 12px 0 4px;
font-size: 13px;
color: var(--text-secondary);
}
/* Files the graph left out: a fact to notice, not an alarm. */
.target-graph-unreadable {
margin: 0 0 4px;
font-size: 13px;
color: var(--warning);
}
.target-graph-note {
margin: 0;
font-size: 12px;
color: var(--text-tertiary);
}
.target-figures {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.target-figure {
display: block;
font-size: 26px;
font-weight: 600;
letter-spacing: -0.02em;
font-variant-numeric: tabular-nums;
}
.target-figure-label {
font-size: 12px;
color: var(--text-tertiary);
}
.target-open,
.target-pins,
.target-vex,
.target-manual {
margin-bottom: 20px;
}
.target-pins-release {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px;
margin-bottom: 12px;
font-size: 13px;
}
/* Wide tables scroll inside the card, never the page. */
.target-pins-table {
display: block;
overflow-x: auto;
width: 100%;
border-collapse: collapse;
font-size: 12.5px;
}
.target-pins-table th,
.target-pins-table td {
padding: 4px 12px 4px 0;
text-align: left;
white-space: nowrap;
border-bottom: 1px solid var(--border);
}
.target-pins-table th {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-tertiary);
}
.target-pins-table code {
font-family: var(--font-mono);
color: var(--text-secondary);
}
.target-findings {
list-style: none;
}
.target-findings li {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
padding: 10px 0;
border-top: 1px solid var(--border);
}
.target-finding-title {
color: var(--text-primary);
font-weight: 500;
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.target-finding-title:hover {
color: var(--accent);
}
.target-finding-place {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-tertiary);
}
.target-columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
margin-bottom: 20px;
align-items: start;
}
.target-subhead {
margin: 16px 0 6px;
font-family: var(--font-mono);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-tertiary);
}
.target-facts {
list-style: none;
display: grid;
gap: 2px;
font-size: 12px;
color: var(--text-tertiary);
}
.target-facts code {
font-family: var(--font-mono);
color: var(--text-secondary);
}
.target-muted {
font-size: 12.5px;
color: var(--text-tertiary);
}
/* Webhook deliveries on the target page: one line each, the reason wraps. */
.webhook-deliveries {
list-style: none;
display: grid;
gap: 6px;
margin-top: 10px;
font-size: 12.5px;
}
.webhook-deliveries li {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 10px;
}
.webhook-deliveries code,
.webhook-delivery-time,
.webhook-delivery-elapsed {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-tertiary);
}
.webhook-delivery-detail {
flex: 1 1 200px;
min-width: 0;
overflow-wrap: anywhere;
color: var(--text-secondary);
}
.vex-head {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 12px;
}
.vex-head p {
flex: 1 1 320px;
}
.vex-exports {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.vex-enisa {
display: flex;
flex-wrap: wrap;
gap: 4px 8px;
align-items: center;
margin-top: 4px;
}
.vex-overdue {
font-size: 12.5px;
color: var(--danger);
}
.vex-csaf {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
align-items: flex-end;
margin-bottom: 12px;
}
.vex-csaf label {
display: grid;
gap: 4px;
flex: 1 1 260px;
font-size: 12.5px;
color: var(--text-secondary);
}
.vex-csaf p {
flex-basis: 100%;
}
.vex-advisory {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-secondary);
}
.vex-cve-id,
.vex-advisory-line {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 6px;
}
.vex-advisory-source {
font-size: 11.5px;
color: var(--accent);
}
.vex-table code {
font-family: var(--font-mono);
font-size: 12px;
}
.vex-editor {
display: grid;
gap: 10px;
max-width: 640px;
padding: 8px 0;
}
.vex-editor label {
display: grid;
gap: 4px;
font-size: 12.5px;
color: var(--text-secondary);
}
.vex-editor textarea {
min-height: 60px;
}
.vex-missing {
font-size: 12.5px;
color: var(--warning);
}
.vex-editor-actions {
display: flex;
gap: 8px;
}
/* CVEs grouped by component (#949). */
.vex-view-toggle {
margin-bottom: 12px;
}
.vex-groups {
display: grid;
gap: 10px;
}
.vex-group {
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 10px 12px;
background: var(--bg-card);
}
.vex-group-head {
display: flex;
flex-wrap: wrap;
gap: 8px 10px;
align-items: center;
}
.vex-group-title {
flex: 1 1 320px;
min-width: 0;
font-size: 13.5px;
overflow-wrap: anywhere;
}
.vex-group-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-left: auto;
}
.vex-group .table-wrapper {
margin-top: 10px;
}
@media (max-width: 1000px) {
.target-summary,
.target-summary:has(.target-graph),
.target-columns {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.target-findings li {
grid-template-columns: auto minmax(0, 1fr);
}
.target-finding-place {
grid-column: 2;
}
}
/* The overview's list cards pad their own rows. */
.card.ov-next {
padding: 0;
}
/* ── CRA status page ── */
.cra-summary {
display: grid;
gap: 12px;
margin-bottom: 20px;
}
.cra-summary-meta {
font-size: 12.5px;
color: var(--text-tertiary);
}
.cra-group {
margin-bottom: 16px;
}
.cra-group-head {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.cra-group-n {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
}
.cra-group-hint {
font-size: 12.5px;
color: var(--text-secondary);
max-width: 75ch;
margin-bottom: 8px;
}
.cra-controls {
list-style: none;
}
.cra-control {
display: grid;
gap: 4px;
padding: 10px 0;
border-top: 1px solid var(--border);
}
.cra-control-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 10px;
}
.cra-control-title {
font-weight: 500;
}
.cra-control-evidence {
font-size: 11.5px;
color: var(--text-tertiary);
}
.cra-control-reason {
font-size: 12.5px;
color: var(--text-secondary);
}
.cra-control-findings {
list-style: none;
display: grid;
gap: 3px;
font-size: 12.5px;
}
.cra-control-findings code {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-tertiary);
}
.cra-control-status {
color: var(--text-tertiary);
}
.cra-fold summary {
cursor: pointer;
font-weight: 500;
color: var(--accent);
padding: 4px 0;
}
@media (max-width: 640px) {
.cra-control-reason,
.cra-control-findings {
padding-left: 0;
}
}
/* ── Phone navigation: a top bar, the sidebar off-canvas ── */
.mobile-bar,
.mobile-backdrop {
display: none;
}
@media (max-width: 768px) {
.mobile-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 60;
display: flex;
align-items: center;
gap: 10px;
height: calc(52px + env(safe-area-inset-top, 0px));
padding: env(safe-area-inset-top, 0px) 16px 0;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border);
}
.mobile-menu-btn {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-card);
color: var(--text-primary);
cursor: pointer;
}
.mobile-bar-brand {
display: flex;
align-items: center;
gap: 8px;
}
.mobile-backdrop {
display: block;
position: fixed;
inset: 0;
z-index: 69;
background: rgb(15 18 37 / 0.45);
}
.sidebar {
z-index: 70;
}
.main-content {
padding-top: calc(68px + env(safe-area-inset-top, 0px));
}
/* The bell sits in the top bar, above it. */
.notification-bell-wrapper {
top: calc(8px + env(safe-area-inset-top, 0px));
right: 16px;
z-index: 61;
}
.notification-panel {
width: min(380px, calc(100vw - 32px));
}
}
/* Labels that wrap their field (the manual-findings form): the same small
mono caption as a .form-group label, above the field. */
.form-fields label {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-tertiary);
}
.form-fields label > input,
.form-fields label > select,
.form-fields label > textarea {
font-family: var(--font-body);
font-size: 13px;
text-transform: none;
letter-spacing: normal;
}
.form-fields h5 {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
/* ── Adding a file to a target ── */
.artifact-upload {
display: grid;
gap: 8px;
}
.artifact-upload-hint {
font-size: 12.5px;
color: var(--text-tertiary);
}
.artifact-upload-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: flex-end;
}
.artifact-upload-row .form-group {
margin: 0;
min-width: 160px;
flex: 1 1 200px;
}
.artifact-upload-file {
flex: 2 1 260px;
min-width: 220px;
}
/* The archive password gets its own line: its label is long. */
.artifact-upload-row .artifact-upload-password {
flex: 1 1 100%;
}
.artifact-upload-note {
font-size: 12.5px;
color: var(--success);
}
.artifact-upload-note.is-error {
color: var(--danger);
}
/* An archive's password inside the target editor: badge, field and button on
one line, wrapping on narrow screens. */
.archive-password {
display: flex;
flex: 1 1 100%;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.archive-password input {
flex: 1;
min-width: 180px;
}
/* ── A list that could not be loaded: what happened, and a way to retry ── */
.load-failed {
display: grid;
gap: 8px;
justify-items: start;
}
.load-failed-reason {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
overflow-wrap: anywhere;
}
/* The file picker's own button, in the dashboard's button style. */
input[type="file"]::file-selector-button {
margin-right: 10px;
padding: 5px 12px;
font: 500 12.5px var(--font-body);
color: var(--text-primary);
background: var(--bg-elevated);
border: 1px solid var(--border-bright);
border-radius: var(--radius-sm);
cursor: pointer;
transition: border-color 0.15s var(--ease-out);
}
input[type="file"]::file-selector-button:hover {
border-color: var(--accent);
}
input[type="file"] {
font-size: 12.5px;
color: var(--text-tertiary);
}
.scan-sub-step {
font-weight: 400;
}
.catalog-controls summary {
cursor: pointer;
}
.catalog-controls ul {
list-style: none;
margin: 6px 0 0;
padding: 0;
display: grid;
gap: 6px;
color: var(--text-secondary);
font-size: 13px;
}
/* ═══════════════════════════════════════════════════════════════
SUPPORT ACCESS — tenant picker and banner for BreakPilot staff
═══════════════════════════════════════════════════════════════ */
.support-picker {
min-height: 100vh;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 64px 16px;
background: var(--bg-primary);
}
.support-picker-card {
width: 100%;
max-width: 640px;
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 16px;
padding: 28px;
box-shadow: var(--shadow-pop);
}
.support-picker-head {
display: flex;
align-items: center;
gap: 10px;
}
.support-picker-head h1 {
margin: 0;
font-family: var(--font-display);
font-size: 22px;
}
.support-picker-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 10px;
background: var(--accent-muted);
color: var(--accent);
}
.support-picker-intro {
color: var(--text-secondary);
font-size: 14px;
margin: 10px 0 18px;
}
.support-picker-search {
display: flex;
align-items: center;
gap: 8px;
border: 1px solid var(--border);
border-radius: 10px;
padding: 0 12px;
background: var(--bg-elevated);
color: var(--text-tertiary);
}
.support-picker-search:focus-within {
border-color: var(--accent);
}
.support-picker-search input {
flex: 1;
border: none;
background: transparent;
padding: 10px 0;
font: inherit;
color: var(--text-primary);
outline: none;
}
.support-picker-list {
list-style: none;
margin: 14px 0 0;
padding: 0;
display: grid;
gap: 6px;
max-height: 60vh;
overflow-y: auto;
}
.support-picker-row {
width: 100%;
display: grid;
grid-template-columns: 1fr auto auto auto;
align-items: center;
gap: 12px;
text-align: left;
background: var(--bg-elevated);
border: 1px solid var(--border);
border-radius: 10px;
padding: 10px 14px;
font: inherit;
color: var(--text-primary);
cursor: pointer;
transition: border-color 0.15s, background 0.15s;
}
.support-picker-row:not(:disabled):hover {
border-color: var(--accent);
background: var(--accent-muted);
}
.support-picker-row:disabled {
cursor: wait;
opacity: 0.7;
}
.support-picker-name {
font-weight: 600;
}
.support-picker-slug,
.support-picker-status {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-tertiary);
}
.support-picker-open {
color: var(--accent);
font-size: 13px;
font-weight: 600;
}
.support-picker-note {
color: var(--text-secondary);
font-size: 14px;
}
.support-picker-error {
color: var(--danger);
font-size: 14px;
}
@media (max-width: 560px) {
.support-picker-row { grid-template-columns: 1fr auto; }
.support-picker-slug,
.support-picker-status { display: none; }
}
.support-banner {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px 12px;
margin: -8px 0 16px;
padding: 8px 14px;
border-radius: 10px;
background: var(--warning-bg, var(--accent-muted));
border: 1px solid color-mix(in oklch, var(--warning, var(--accent)) 45%, var(--border));
color: var(--text-primary);
font-size: 13px;
}
.support-banner-note {
color: var(--text-secondary);
}
.support-banner-switch {
margin-left: auto;
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 8px;
padding: 4px 10px;
font: inherit;
font-size: 12px;
color: var(--text-primary);
cursor: pointer;
}
.support-banner-switch:hover {
border-color: var(--accent);
}
.history-by-support {
color: var(--accent);
font-weight: 600;
}
/* ═══════════════════════════════════════════════════════════════
PROJECTS — chips, the list filter and the picker in the editor
═══════════════════════════════════════════════════════════════ */
.project-chips {
display: inline-flex;
flex-wrap: wrap;
gap: 4px;
margin-left: 8px;
vertical-align: middle;
}
.target-head-text .project-chips {
margin: 4px 0 0;
display: flex;
}
.project-chip {
display: inline-block;
padding: 1px 8px;
border-radius: 999px;
background: var(--accent-muted);
color: var(--accent);
font-size: 11px;
font-weight: 600;
white-space: nowrap;
}
.project-filter {
margin-left: auto;
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--text-secondary);
}
.project-filter select {
min-width: 180px;
padding: 6px 10px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-elevated);
color: var(--text-primary);
font: inherit;
}
.project-picker {
margin: 12px 0 0;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 10px;
}
.project-picker legend {
padding: 0 4px;
font-size: 13px;
font-weight: 600;
}
.project-picker-list {
display: grid;
gap: 4px;
max-height: 200px;
overflow-y: auto;
}
.project-picker-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
cursor: pointer;
}
.project-picker-kind {
margin-left: auto;
font-size: 12px;
color: var(--text-tertiary);
}
.project-picker-hint {
margin: 8px 0 0;
font-size: 12px;
color: var(--text-tertiary);
}
@media (max-width: 560px) {
.project-filter { margin-left: 0; width: 100%; }
.project-filter select { flex: 1; min-width: 0; }
}
/* Org roles: the page for a role without access, and the read-only note. */
.no-access-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin-top: 16px;
}
.read-only-banner {
display: flex;
align-items: center;
gap: 8px;
margin: -8px 0 16px;
padding: 8px 14px;
border-radius: 10px;
background: var(--accent-muted);
border: 1px solid var(--border);
color: var(--text-secondary);
font-size: 13px;
}
/* ── Licence review: confirmed licences (proprietary, unclear), the editor ── */
.license-proprietary {
background: var(--info-bg, var(--bg-elevated));
color: var(--info, var(--text-primary));
border: 1px solid var(--border-bright);
}
.license-unclear {
background: var(--bg-elevated);
color: var(--text-secondary);
border: 1px dashed var(--border-bright);
}
.license-bar.license-weak-copyleft {
background: var(--warning);
border: none;
}
.license-bar.license-proprietary {
background: var(--info, var(--text-secondary));
border: none;
}
.license-bar.license-unclear {
background: var(--text-tertiary);
border: none;
}
.license-confirmed {
font-size: 11px;
}
.license-edit-btn {
padding: 1px 8px;
font-size: 12px;
}
.license-select-col {
width: 32px;
text-align: center;
}
.license-selection-bar {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
padding: 8px 12px;
background: var(--bg-elevated);
border: 1px solid var(--border-bright);
border-radius: var(--radius-sm);
font-size: 13px;
}
.license-open-card {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.license-confirmed-count {
font-size: 12px;
color: var(--text-tertiary);
}
.modal-dialog.license-editor {
max-width: 620px;
max-height: calc(100vh - 48px);
overflow-y: auto;
}
.license-kind {
display: flex;
gap: 18px;
flex-wrap: wrap;
margin-bottom: 12px;
font-size: 13px;
}
.license-form {
display: flex;
flex-direction: column;
gap: 10px;
}
.license-form label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 12.5px;
color: var(--text-secondary);
}
.license-form label.license-check {
flex-direction: row;
align-items: center;
gap: 6px;
}
.license-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.license-derived {
font-size: 12.5px;
color: var(--text-secondary);
}
.license-disclaimer {
font-size: 12px !important;
color: var(--text-tertiary) !important;
margin-top: 12px;
}
.license-withdraw {
margin-right: auto;
color: var(--danger);
}
@media (max-width: 640px) {
.license-row {
grid-template-columns: 1fr;
}
}
/* ── Licence check, legal review and policy ── */
.license-check-card {
margin-bottom: 16px;
}
.license-check-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 10px;
}
.license-check-head h3 {
margin-bottom: 4px;
}
.license-check-hint {
font-size: 13px;
color: var(--text-tertiary);
margin: 0 0 8px;
max-width: 640px;
}
.license-check-buttons {
display: flex;
gap: 8px;
}
.license-check-summary {
margin: 4px 0 12px;
}
.license-expiring-count {
font-size: 12px;
color: var(--warning, #b7791f);
}
.license-check-clear {
color: var(--text-secondary);
}
.license-check-table td {
vertical-align: middle;
}
.license-check-version {
color: var(--text-tertiary);
font-size: 12px;
}
.license-check-why {
font-size: 12px;
color: var(--text-secondary);
max-width: 320px;
}
.license-check-actions {
white-space: nowrap;
}
.license-check-actions .btn + .btn {
margin-left: 6px;
}
.license-policy-badge {
cursor: help;
}
.modal-dialog.license-review-dialog {
max-width: 520px;
}
.license-review-names {
font-size: 13px;
color: var(--text-secondary);
word-break: break-word;
}
.modal-dialog.license-policy-dialog {
max-width: 560px;
max-height: calc(100vh - 48px);
overflow-y: auto;
}
.license-policy-table {
width: 100%;
margin-bottom: 12px;
}
.license-policy-table td,
.license-policy-table th {
padding: 6px 8px;
}
.license-policy-select {
padding: 4px 6px;
border-radius: var(--radius-sm);
border: 1px solid var(--border-bright);
font-size: 13px;
}
.license-policy-sub {
margin: 12px 0 2px;
}
.license-policy-rule {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.license-policy-rule code {
min-width: 160px;
}
.license-policy-rule input {
flex: 1;
min-width: 0;
}
.license-policy-days {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
font-size: 13px;
}
.license-policy-days input {
width: 80px;
}
.license-policy-allow {
border-left: 3px solid var(--success, #2f855a);
}
.license-policy-review {
border-left: 3px solid var(--warning);
}
.license-policy-forbid {
border-left: 3px solid var(--danger);
}
/* The components view of one target (#957): updates by the CVEs they
remove and components per ecosystem, as horizontal bars (one series,
one hue in both themes). */
.co-view {
--co-bar: #2a78d6;
margin-bottom: 16px;
}
.co-toggle {
display: inline-flex;
gap: 2px;
padding: 2px;
margin-bottom: 10px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-elevated);
}
.co-toggle-btn {
padding: 4px 12px;
border: none;
border-radius: var(--radius-sm);
background: none;
color: var(--text-secondary);
font-size: 13px;
cursor: pointer;
}
.co-toggle-btn.active {
background: var(--bg-card);
color: var(--text-primary);
box-shadow: var(--shadow-pop);
}
.co-charts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
gap: 12px;
}
.co-chart {
margin-bottom: 0;
min-width: 0;
}
.co-chart-title {
margin: 0;
font-family: var(--font-display);
font-size: 15px;
font-weight: 600;
}
.co-chart-hint {
margin: 2px 0 12px;
color: var(--text-tertiary);
font-size: 12.5px;
}
.co-bars {
display: grid;
gap: 2px;
margin: 0;
padding: 0;
list-style: none;
}
.co-bar {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;
gap: 10px;
align-items: center;
width: 100%;
padding: 4px 6px;
border: none;
border-radius: var(--radius-sm);
background: none;
color: var(--text-primary);
font: inherit;
font-size: 13px;
text-align: left;
cursor: pointer;
}
.co-bar:hover,
.co-bar:focus-visible {
background: var(--bg-card-hover);
}
.co-bar-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.co-bar-track {
display: block;
height: 16px;
}
.co-bar-fill {
display: block;
height: 100%;
border-radius: 0 4px 4px 0;
background: var(--co-bar);
}
.co-bar:hover .co-bar-fill {
filter: brightness(1.1);
}
.co-bar-value {
color: var(--text-secondary);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.co-more {
margin-top: 8px;
}
.co-table .co-num {
text-align: right;
font-variant-numeric: tabular-nums;
}
.co-link {
padding: 0;
border: none;
background: none;
color: var(--accent);
font: inherit;
text-align: left;
cursor: pointer;
}
.co-link:hover {
text-decoration: underline;
}
.co-breadcrumb {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 8px;
margin-bottom: 12px;
font-size: 14px;
}
.co-breadcrumb-root,
.co-breadcrumb-sep {
color: var(--text-tertiary);
}
.co-back {
margin-left: auto;
}
/* ── CVEs & VEX grid (#957) ──
Severity rows against VEX-status columns, each count shaded on one blue
scale, light to dark; the darkest two carry white ink. In dark mode the
scale runs from the surface up to light blue instead, ink flipped. */
:root {
--cve-shade-0: var(--bg-primary);
--cve-shade-1: #CDE2FB;
--cve-shade-2: #9EC5F4;
--cve-shade-3: #5598E7;
--cve-shade-4: #256ABF;
--cve-shade-5: #104281;
--cve-ink-0: var(--text-faint);
--cve-ink-low: #14162B;
--cve-ink-high: #FFFFFF;
}
:root[data-theme="dark"] {
--cve-shade-0: var(--bg-elevated);
--cve-shade-1: #13315C;
--cve-shade-2: #174A8A;
--cve-shade-3: #256ABF;
--cve-shade-4: #5598E7;
--cve-shade-5: #9EC5F4;
--cve-ink-low: #FFFFFF;
--cve-ink-high: #0F1225;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--cve-shade-0: var(--bg-elevated);
--cve-shade-1: #13315C;
--cve-shade-2: #174A8A;
--cve-shade-3: #256ABF;
--cve-shade-4: #5598E7;
--cve-shade-5: #9EC5F4;
--cve-ink-low: #FFFFFF;
--cve-ink-high: #0F1225;
}
}
.cve-matrix-head {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 12px;
}
.cve-matrix-head p {
flex: 1 1 320px;
}
.cve-view-toggle {
display: inline-flex;
gap: 4px;
}
.cve-view-toggle [aria-pressed="true"] {
border-color: var(--border-accent);
background: var(--accent-muted);
color: var(--accent);
}
.cve-grid-wrap {
overflow-x: auto;
}
.cve-grid {
display: grid;
grid-template-columns: minmax(72px, auto) repeat(5, minmax(56px, 1fr));
gap: 2px;
min-width: 360px;
}
.cve-grid-col,
.cve-grid-row {
font-size: 12px;
color: var(--text-secondary);
}
.cve-grid-col {
align-self: end;
padding: 0 4px 6px;
text-align: center;
}
.cve-grid-row {
align-self: center;
padding-right: 10px;
}
.cve-cell {
min-height: 40px;
border: none;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 14px;
font-variant-numeric: tabular-nums;
cursor: pointer;
transition: box-shadow 0.15s var(--ease-out);
}
.cve-cell:hover:not(:disabled) {
box-shadow: inset 0 0 0 2px var(--accent);
}
.cve-cell:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.cve-cell:disabled {
cursor: default;
}
.cve-shade-0 { background: var(--cve-shade-0); color: var(--cve-ink-0); }
.cve-shade-1 { background: var(--cve-shade-1); color: var(--cve-ink-low); }
.cve-shade-2 { background: var(--cve-shade-2); color: var(--cve-ink-low); }
.cve-shade-3 { background: var(--cve-shade-3); color: var(--cve-ink-low); }
.cve-shade-4 { background: var(--cve-shade-4); color: var(--cve-ink-high); }
.cve-shade-5 { background: var(--cve-shade-5); color: var(--cve-ink-high); }
.cve-scale {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 2px;
margin-top: 8px;
font-size: 11.5px;
color: var(--text-tertiary);
}
.cve-scale span:first-child {
margin-right: 6px;
}
.cve-scale span:last-child {
margin-left: 6px;
}
.cve-scale-step {
width: 18px;
height: 10px;
border-radius: 2px;
}
.cve-matrix-foot {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
margin-top: 14px;
}
.cve-unassessed {
display: inline-flex;
align-items: baseline;
gap: 6px;
padding: 8px 12px;
border: 1px solid var(--border-bright);
border-radius: var(--radius);
background: var(--bg-card);
color: var(--text-secondary);
font-family: var(--font-body);
font-size: 12.5px;
cursor: pointer;
}
.cve-unassessed strong {
font-family: var(--font-mono);
font-size: 18px;
color: var(--text-primary);
}
.cve-unassessed:hover:not(:disabled) {
border-color: var(--border-strong);
background: var(--bg-elevated);
}
.cve-unassessed:disabled {
cursor: default;
}
.cve-crumbs {
display: flex;
flex-wrap: wrap;
gap: 6px 12px;
align-items: center;
margin-bottom: 12px;
font-size: 12.5px;
}
.cve-crumb-trail {
color: var(--text-secondary);
}
.cve-crumb-trail a {
color: var(--accent);
}
.cve-crumb-trail [aria-current="page"] {
color: var(--text-primary);
font-weight: 500;
}
.cve-table td {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
}
/* ── Findings view (#957): open findings by type and by folder ──
One red scale for severity, dark (critical) to light (low); info is a
pale tile with a hairline so it reads on both themes. */
.fb-card {
margin-bottom: 16px;
}
.fb-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.fb-toggle[aria-pressed="true"] {
background: var(--accent-muted);
color: var(--accent);
}
.fb-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.fb-title-folders {
margin-top: 20px;
}
.fb-hint {
margin: 4px 0 12px;
font-size: 12px;
color: var(--text-tertiary);
}
.fb-empty {
color: var(--text-secondary);
}
.fb-sev-critical { background: #7E2318; color: #fff; }
.fb-sev-high { background: #B3452F; color: #fff; }
.fb-sev-medium { background: #D9765F; color: #14162B; }
.fb-sev-low { background: #E8A08C; color: #14162B; }
.fb-sev-info { background: #EDEFF7; color: #14162B; box-shadow: inset 0 0 0 1px var(--border-strong); }
.fb-legend {
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 6px 16px;
margin-bottom: 12px;
font-size: 12px;
color: var(--text-secondary);
}
.fb-legend li {
display: flex;
align-items: center;
gap: 6px;
}
.fb-swatch {
width: 10px;
height: 10px;
border-radius: 2px;
}
.fb-bars {
display: grid;
gap: 8px;
}
.fb-bar-row {
display: grid;
grid-template-columns: minmax(120px, 220px) 1fr;
align-items: center;
gap: 12px;
font-size: 13px;
}
.fb-bar-label {
color: var(--text-secondary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.fb-bar-track {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
}
.fb-bar {
display: flex;
gap: 2px;
height: 18px;
min-width: 8px;
}
.fb-seg {
min-width: 6px;
padding: 0;
border: 0;
border-radius: 2px;
cursor: pointer;
}
.fb-seg:hover,
.fb-tile:hover {
filter: brightness(0.92);
}
.fb-seg:focus-visible,
.fb-tile:focus-visible,
.fb-cell-link:focus-visible,
.fb-crumb-link:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.fb-bar-total {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
font-variant-numeric: tabular-nums;
}
.fb-treemap {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.fb-tile {
flex-basis: 96px;
min-height: 56px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
gap: 4px;
padding: 8px;
border: 0;
border-radius: var(--radius-sm);
text-align: left;
cursor: pointer;
overflow: hidden;
}
.fb-tile-name {
max-width: 100%;
font-family: var(--font-mono);
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.fb-tile-count {
font-size: 16px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.fb-without-file {
margin: 12px 0 0;
}
.fb-table .fb-num {
text-align: right;
font-variant-numeric: tabular-nums;
}
.fb-cell-link,
.fb-crumb-link {
padding: 0;
border: 0;
background: none;
color: var(--accent);
font: inherit;
cursor: pointer;
}
.fb-cell-link:hover,
.fb-crumb-link:hover {
text-decoration: underline;
}
.fb-crumbs {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 12px;
font-size: 14px;
}
.fb-crumb-sep {
color: var(--text-faint);
}
.fb-crumb-current {
color: var(--text-primary);
font-weight: 600;
}
.fb-back {
margin-left: auto;
}
/* Findings grouped by rule and file (#951) */
.view-switch {
display: inline-flex;
margin-bottom: 12px;
padding: 2px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-elevated);
}
.view-switch-btn {
padding: 4px 12px;
border: 0;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-secondary);
font: 500 12.5px var(--font-body);
cursor: pointer;
}
.view-switch-btn.active {
background: var(--bg-card);
color: var(--text-primary);
box-shadow: 0 1px 2px rgb(20 22 43 / 0.08);
}
.fgroup-hint {
margin: 0 0 12px;
font-size: 13px;
color: var(--text-tertiary);
}
.fgroup-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.fgroup {
padding: 14px 16px;
}
.fgroup-empty {
padding: 24px;
text-align: center;
color: var(--text-tertiary);
}
.fgroup-head {
display: flex;
align-items: flex-start;
gap: 12px;
}
.fgroup-heading {
min-width: 0;
}
.fgroup-title {
font-weight: 500;
color: var(--text-primary);
overflow-wrap: anywhere;
}
.fgroup-places {
font-weight: 400;
color: var(--text-secondary);
}
.fgroup-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
margin-top: 3px;
font-size: 11.5px;
color: var(--text-tertiary);
}
.fgroup-rule {
font-family: var(--font-mono);
overflow-wrap: anywhere;
}
.fgroup-ai {
margin-top: 10px;
padding: 8px 10px;
border-left: 3px solid var(--info);
border-radius: var(--radius-sm);
background: var(--info-bg);
font-size: 13px;
color: var(--text-secondary);
}
.fgroup-ai-verdict {
display: block;
font-weight: 500;
color: var(--text-primary);
}
.fgroup-ai-reason {
display: block;
margin-top: 2px;
}
.fgroup-actions,
.fgroup-reason-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}
.fgroup-reason label {
display: block;
margin-top: 10px;
font-size: 13px;
color: var(--text-secondary);
}
.fgroup-reason textarea {
display: block;
width: 100%;
min-height: 60px;
margin-top: 6px;
}
.fgroup-members {
margin: 10px 0 0;
padding: 8px 0 0;
border-top: 1px solid var(--border);
list-style: none;
}
.fgroup-members li {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 3px 0;
}
.fgroup-members .finding-location {
min-width: 0;
}
.fgroup-member-status {
flex-shrink: 0;
font-size: 12px;
color: var(--text-tertiary);
}
/* ── Tickets list ── */
.ticket-tracker {
font-size: 12px;
color: var(--text-secondary);
}
.ticket-number {
font-family: var(--font-mono);
white-space: nowrap;
}
.ticket-created {
font-size: 12px;
color: var(--text-secondary);
white-space: nowrap;
}
.ticket-links {
display: flex;
gap: 12px;
white-space: nowrap;
}
.ticket-links a {
color: var(--accent);
text-decoration: none;
}
.ticket-links a:hover {
text-decoration: underline;
}
/* ── Heute: the inbox of open decisions (#950) ── */
/* The page takes the keyboard (j/k/f/a/s); no ring around the whole page. */
.inbox-page:focus {
outline: none;
}
.nav-count {
margin-left: auto;
min-width: 18px;
padding: 0 5px;
border-radius: 9px;
background: var(--danger);
color: #fff;
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 600;
line-height: 18px;
text-align: center;
}
.sidebar.collapsed .nav-count {
position: absolute;
top: 1px;
right: 1px;
min-width: 15px;
line-height: 15px;
font-size: 9px;
}
.inbox-progress {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 12px 14px;
margin-bottom: 12px;
}
.inbox-progress-head {
display: flex;
align-items: baseline;
gap: 10px;
margin-bottom: 8px;
font-size: 12.5px;
}
.inbox-progress-label {
font-weight: 600;
color: var(--text-primary);
}
.inbox-progress-value {
color: var(--text-tertiary);
}
.inbox-progress-percent {
margin-left: auto;
font-family: var(--font-mono);
color: var(--text-secondary);
}
.inbox-progress-track {
height: 6px;
border-radius: 3px;
background: var(--bg-elevated);
overflow: hidden;
}
.inbox-progress-fill {
height: 100%;
background: var(--success);
border-radius: 3px;
transition: width 0.4s var(--ease-out);
}
.inbox-targets {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 12px;
}
.inbox-target {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border: 1px solid var(--border-bright);
border-radius: 999px;
background: var(--bg-card);
color: var(--text-secondary);
font-family: var(--font-body);
font-size: 12px;
cursor: pointer;
}
.inbox-target:hover {
border-color: var(--border-strong);
color: var(--text-primary);
}
.inbox-target.is-active {
border-color: var(--border-accent);
background: var(--accent-muted);
color: var(--accent);
font-weight: 600;
}
.inbox-target-count {
font-family: var(--font-mono);
font-size: 10.5px;
color: var(--text-faint);
}
.inbox-buckets {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
margin-bottom: 14px;
}
.inbox-bucket {
--tone: var(--text-tertiary);
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
padding: 11px 13px 12px;
border: 1px solid var(--border);
border-top: 3px solid var(--tone);
border-radius: var(--radius-lg);
background: var(--bg-card);
color: var(--text-primary);
font-family: var(--font-body);
text-align: left;
cursor: pointer;
transition: background 0.1s, border-color 0.1s;
}
.inbox-bucket:hover {
background: var(--bg-card-hover);
}
.inbox-bucket.is-active {
border-color: var(--tone);
background: color-mix(in oklch, var(--tone) 7%, var(--bg-card));
}
.inbox-bucket.tone-danger { --tone: var(--danger); }
.inbox-bucket.tone-warning { --tone: var(--orange); }
.inbox-bucket.tone-neutral { --tone: var(--info); }
.inbox-bucket.tone-accent { --tone: var(--accent); }
.inbox-bucket-count {
font-family: var(--font-mono);
font-size: 24px;
font-weight: 600;
line-height: 1.1;
color: var(--tone);
}
.inbox-bucket-label {
font-size: 13px;
font-weight: 600;
}
.inbox-bucket-hint {
font-size: 11.5px;
color: var(--text-tertiary);
}
.inbox-cards {
display: flex;
flex-direction: column;
gap: 8px;
}
.inbox-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-left: 3px solid transparent;
border-radius: var(--radius-lg);
padding: 12px 14px;
cursor: default;
}
.inbox-card.is-selected {
border-color: var(--border-accent);
border-left-color: var(--accent);
box-shadow: var(--shadow-pop);
}
.inbox-card-head {
display: flex;
align-items: center;
gap: 9px;
}
.inbox-card-title {
font-family: var(--font-display);
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
letter-spacing: -0.01em;
overflow-wrap: anywhere;
}
.inbox-card-sub {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 10px;
margin-top: 4px;
font-size: 12px;
color: var(--text-tertiary);
}
.inbox-card-target {
font-weight: 500;
color: var(--text-secondary);
}
.inbox-card-place {
font-family: var(--font-mono);
font-size: 11.5px;
overflow-wrap: anywhere;
}
.inbox-chips {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 8px;
}
.inbox-chip {
--tone: var(--text-tertiary);
padding: 1px 8px;
border-radius: 999px;
border: 1px solid color-mix(in oklch, var(--tone) 32%, transparent);
background: color-mix(in oklch, var(--tone) 10%, transparent);
color: var(--tone);
font-size: 11px;
font-weight: 500;
white-space: nowrap;
}
.inbox-chip.tone-danger { --tone: var(--danger); }
.inbox-chip.tone-warning { --tone: var(--orange); }
.inbox-chip.tone-success { --tone: var(--success); }
.inbox-chip.tone-info { --tone: var(--info); }
.inbox-chip.tone-accent { --tone: var(--accent); }
.inbox-card-note {
margin-top: 8px;
font-size: 12px;
color: var(--text-secondary);
}
.inbox-card-note-label {
font-weight: 600;
margin-right: 6px;
}
.inbox-actions,
.inbox-input {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin-top: 10px;
}
.inbox-later {
position: relative;
}
.inbox-later > summary {
list-style: none;
}
.inbox-later > summary::-webkit-details-marker {
display: none;
}
.inbox-later-menu {
position: absolute;
z-index: 20;
top: calc(100% + 4px);
left: 0;
display: flex;
flex-direction: column;
gap: 6px;
min-width: 210px;
padding: 8px;
border: 1px solid var(--border-bright);
border-radius: var(--radius-lg);
background: var(--bg-card-solid);
box-shadow: var(--shadow-pop);
}
.inbox-later-option {
padding: 5px 8px;
border: none;
border-radius: var(--radius-sm);
background: transparent;
color: var(--text-primary);
font-family: var(--font-body);
font-size: 12.5px;
text-align: left;
cursor: pointer;
}
.inbox-later-option:hover {
background: var(--bg-elevated);
}
.inbox-later-date {
display: flex;
flex-direction: column;
gap: 3px;
padding: 4px 8px 0;
font-size: 11.5px;
color: var(--text-tertiary);
}
.inbox-later-date input,
.inbox-input-text,
.inbox-input-select {
padding: 5px 8px;
border: 1px solid var(--border-bright);
border-radius: var(--radius);
background: var(--bg-secondary);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 12.5px;
}
.inbox-input-text {
flex: 1 1 240px;
min-width: 0;
}
.inbox-details {
margin-left: auto;
font-size: 12.5px;
color: var(--accent);
text-decoration: none;
}
.inbox-details:hover {
text-decoration: underline;
}
.inbox-empty {
text-align: center;
color: var(--text-tertiary);
padding: 28px 16px;
}
.inbox-empty .btn {
margin-top: 10px;
}
.inbox-shortcuts {
margin-top: 12px;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-faint);
}
.inbox-undo {
position: fixed;
left: 50%;
bottom: 22px;
z-index: 210;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 14px;
max-width: calc(100vw - 32px);
padding: 9px 10px 9px 16px;
border-radius: var(--radius-lg);
background: var(--text-primary);
color: var(--bg-primary);
font-size: 13px;
box-shadow: var(--shadow-pop);
}
.inbox-undo > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.inbox-undo-btn {
background: transparent;
border-color: color-mix(in oklch, var(--bg-primary) 40%, transparent);
color: var(--bg-primary);
font-weight: 600;
}
.inbox-undo-btn:hover {
background: color-mix(in oklch, var(--bg-primary) 14%, transparent);
color: var(--bg-primary);
border-color: var(--bg-primary);
}
@media (max-width: 900px) {
.inbox-buckets {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 480px) {
.inbox-details {
margin-left: 0;
}
.inbox-later-menu {
position: static;
margin-top: 4px;
}
}
/* Licences by group (#957): one bar of four groups, a card per group. The
group colours are fixed; #1baf7a is below 3:1 contrast, so every card
carries its number as text. */
.lo-permissive { --lo-color: #2a78d6; }
.lo-weak { --lo-color: #1baf7a; }
.lo-strong { --lo-color: #eb6834; }
.lo-unknown { --lo-color: #9EA3BD; }
.lo-card { margin-bottom: 16px; }
.lo-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.lo-title { margin: 0; }
.lo-toggle[aria-pressed="true"] {
background: var(--accent-muted);
color: var(--accent);
}
.lo-hint {
margin: 4px 0 12px;
font-size: 13px;
color: var(--text-tertiary);
}
.lo-bar {
display: flex;
gap: 2px;
height: 28px;
border-radius: var(--radius-sm);
overflow: hidden;
}
.lo-seg {
min-width: 6px;
padding: 0;
border: none;
background: var(--lo-color);
cursor: pointer;
}
.lo-seg:hover { filter: brightness(1.08); }
.lo-seg:focus-visible,
.lo-group:focus-visible,
.lo-table-link:focus-visible,
.lo-crumb-link:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.lo-groups {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
gap: 10px;
margin-top: 14px;
}
.lo-group {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
text-align: left;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
}
.lo-group:hover {
background: var(--bg-card-hover);
border-color: var(--border-bright);
}
.lo-group-name {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
font-weight: 600;
}
.lo-swatch {
width: 12px;
height: 12px;
flex-shrink: 0;
border-radius: 3px;
background: var(--lo-color);
}
.lo-group-count {
font-size: 13px;
color: var(--text-secondary);
}
.lo-group-count strong {
font-family: var(--font-mono);
font-size: 20px;
color: var(--text-primary);
}
.lo-group-note {
font-size: 12px;
color: var(--text-tertiary);
}
.lo-num { font-family: var(--font-mono); }
.lo-table-link,
.lo-crumb-link {
padding: 0;
border: none;
background: none;
color: var(--accent);
font: inherit;
cursor: pointer;
}
.lo-table-link:hover,
.lo-crumb-link:hover { text-decoration: underline; }
.lo-crumbs {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 16px;
font-size: 14px;
}
.lo-crumb-sep { color: var(--text-faint); }
.lo-crumb-current {
font-weight: 600;
color: var(--text-primary);
}
.lo-back { margin-left: auto; }
/* ── A target's dashboard and views (#957): breadcrumb, Heute, tabs ── */
.repo-crumbs {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin-bottom: 12px;
font-size: 13px;
color: var(--text-secondary);
}
.repo-crumbs a {
color: var(--accent);
text-decoration: none;
}
.repo-crumbs a:hover {
color: var(--accent-hover);
text-decoration: underline;
}
.repo-crumb-sep {
color: var(--text-faint);
}
.repo-crumb-name {
font-family: var(--font-mono);
}
span.repo-crumb-name {
color: var(--text-primary);
}
.repo-head {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.repo-head-text {
display: grid;
gap: 6px;
min-width: 0;
}
.repo-head-name {
font-family: var(--font-mono);
font-size: 22px;
font-weight: 600;
letter-spacing: -0.02em;
overflow-wrap: anywhere;
}
.repo-head-sub {
color: var(--text-secondary);
font-size: 14px;
}
.repo-head .btn,
.target-head-actions .btn {
min-height: 40px;
}
.target-head-tools {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: -8px 0 20px;
}
.target-head-tools .btn {
display: inline-flex;
align-items: center;
gap: 6px;
}
.repo-tabs {
display: flex;
gap: 4px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-bright);
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: thin;
/* Scrolls on its own on a narrow screen instead of widening the page. */
contain: inline-size;
}
.repo-tab {
display: inline-flex;
align-items: center;
gap: 6px;
flex: none;
min-height: 44px;
padding: 0 16px;
border-bottom: 2px solid transparent;
color: var(--text-secondary);
font-size: 14px;
text-decoration: none;
white-space: nowrap;
}
.repo-tab:hover {
color: var(--text-primary);
}
.repo-tab.is-active {
border-bottom-color: var(--accent);
color: var(--accent);
font-weight: 600;
}
.repo-tab-figure {
color: var(--text-tertiary);
font-size: 12px;
font-weight: 400;
}
.repo-view {
display: grid;
gap: 16px;
}
.repo-view-list {
justify-self: start;
color: var(--accent);
font-size: 13px;
}
.repo-licence-packages {
color: var(--text-secondary);
font-size: 12.5px;
overflow-wrap: anywhere;
}
/* The four Heute buckets of a repo card, each a link to Heute. */
.repo-card-buckets {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 6px;
}
.repo-card-bucket {
display: grid;
gap: 2px;
align-content: start;
min-width: 0;
min-height: 56px;
padding: 6px 8px;
border: 1px solid var(--border);
border-top: 3px solid var(--tone, var(--border-strong));
border-radius: var(--radius-sm);
color: var(--text-primary);
text-decoration: none;
}
.repo-card-bucket:hover {
background: var(--bg-card-hover);
}
.repo-card-bucket.tone-danger { --tone: var(--danger); }
.repo-card-bucket.tone-warning { --tone: var(--orange); }
.repo-card-bucket.tone-neutral { --tone: var(--info); }
.repo-card-bucket.tone-accent { --tone: var(--accent); }
.repo-card-bucket-n {
font-size: 16px;
font-weight: 600;
font-variant-numeric: tabular-nums;
}
.repo-card-bucket-label {
color: var(--text-secondary);
font-size: 11px;
line-height: 1.25;
overflow-wrap: anywhere;
}
/* ── CRA Annex I map (#957): requirements by name, grouped by area ── */
.ct-card,
.sh-card {
display: grid;
gap: 12px;
}
.ct-head {
display: grid;
gap: 10px;
}
.sh-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 8px 16px;
}
.ct-title,
.sh-title {
font-size: 15px;
font-weight: 600;
}
.sh-legend {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
color: var(--text-secondary);
font-size: 12px;
}
.ct-hint,
.sh-hint {
color: var(--text-tertiary);
font-size: 12.5px;
}
/* The areas beside the open requirement; the panel goes below on a phone. */
.ct-layout {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 16px;
}
.ct-areas {
flex: 999 1 560px;
min-width: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
gap: 12px;
}
.ct-area {
display: grid;
align-content: start;
gap: 8px;
padding: 12px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-card);
}
.ct-area-name {
font-size: 14px;
font-weight: 600;
}
.ct-area-bar {
height: 6px;
}
.ct-chips {
list-style: none;
display: grid;
gap: 6px;
}
/* A requirement: its state's sign, its name, and its open findings. */
.ct-chip {
display: flex;
align-items: center;
gap: 10px;
min-height: 44px;
padding: 8px 10px;
border: 1px solid transparent;
border-radius: var(--radius);
color: var(--text-primary);
font-size: 13.5px;
font-weight: 500;
line-height: 1.3;
text-decoration: none;
}
.ct-chip:hover {
border-color: var(--accent);
}
.ct-chip:focus-visible,
.ct-chip.is-selected {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.ct-chip-name {
flex: 1 1 auto;
min-width: 0;
}
.ct-chip-n {
flex-shrink: 0;
min-width: 22px;
height: 22px;
padding: 0 6px;
border-radius: 11px;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--bg-card);
color: var(--danger);
font-size: 12px;
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.ct-chip.ct-ok { background: var(--success-bg); }
.ct-chip.ct-unknown { border-color: var(--border-bright); }
.ct-chip.ct-bad { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 600; }
.ct-chip.ct-partial { background: var(--warning-bg); border-color: var(--warning); }
.ct-chip.ct-open { background: var(--bg-elevated); border: 1px dashed var(--text-faint); color: var(--text-secondary); }
.ct-chip.ct-process { background: transparent; border: 1px dotted var(--text-faint); color: var(--text-secondary); }
/* A state's sign in a round mark: never colour alone. */
.ct-mark {
flex-shrink: 0;
width: 20px;
height: 20px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.ct-mark.ct-ok { background: var(--success); color: #fff; }
.ct-mark.ct-bad { background: var(--danger); color: #fff; }
.ct-mark.ct-partial { background: var(--warning); color: #fff; }
.ct-mark.ct-open { background: var(--bg-elevated); border: 1px dashed var(--text-faint); color: var(--text-secondary); }
.ct-mark.ct-process { background: var(--bg-card); border: 1px dotted var(--text-faint); color: var(--text-secondary); }
.ct-chip.ct-bad .ct-mark { background: #fff; color: var(--danger); }
/* The open requirement. */
.ct-panel {
flex: 1 1 320px;
min-width: 0;
max-width: 440px;
display: grid;
align-content: start;
gap: 14px;
padding: 16px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-card);
}
/* Where the map and panel no longer fit side by side, the panel goes first,
so the requirement a tap opens is not below all forty. */
@media (max-width: 1200px) {
.ct-panel {
order: -1;
max-width: none;
}
}
.ct-panel-empty {
color: var(--text-tertiary);
font-size: 13.5px;
}
.ct-panel-head {
display: grid;
gap: 8px;
}
.ct-panel-area {
color: var(--text-tertiary);
font-size: 12.5px;
}
.ct-panel-name {
font-size: 20px;
font-weight: 600;
line-height: 1.25;
}
.ct-panel-state {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
}
.ct-panel-what {
color: var(--text-secondary);
font-size: 14px;
line-height: 1.5;
}
.ct-meanings,
.ct-proof {
display: grid;
gap: 8px;
}
.ct-meanings h4,
.ct-proof h4 {
font-size: 13px;
font-weight: 600;
}
.ct-meanings ul {
list-style: none;
display: grid;
gap: 6px;
}
.ct-meaning {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: var(--radius);
font-size: 13.5px;
line-height: 1.45;
}
.ct-meaning div {
display: grid;
gap: 2px;
}
.ct-meaning span {
color: var(--text-secondary);
}
.ct-meaning.is-now {
border-color: var(--accent);
background: var(--bg-card-hover);
}
.ct-proof {
padding: 12px;
border: 1px dotted var(--text-faint);
border-radius: var(--radius);
font-size: 13.5px;
line-height: 1.45;
color: var(--text-secondary);
}
.ct-panel-detail:empty {
display: none;
}
.ct-panel-detail .cra-control {
padding-top: 0;
border-top: 0;
}
.ct-panel-links {
display: flex;
flex-wrap: wrap;
gap: 8px 16px;
}
/* ── Verlauf: per scan, new CVEs above the line, gone below (#957) ── */
.sh-swatch {
display: inline-block;
width: 10px;
height: 10px;
margin-right: 6px;
border-radius: 2px;
vertical-align: -1px;
}
.sh-new { background: #B3452F; }
.sh-gone { background: #2a78d6; }
.sh-toggle {
margin-left: auto;
}
.sh-chart {
display: flex;
gap: 4px;
padding-bottom: 4px;
overflow-x: auto;
contain: inline-size;
}
.sh-scan {
display: grid;
grid-template-rows: 80px 1px 80px auto auto;
justify-items: center;
flex: 1 1 0;
min-width: 44px;
padding: 4px 2px;
border-radius: var(--radius-sm);
color: var(--text-secondary);
text-decoration: none;
}
.sh-scan:hover,
.sh-scan:focus-visible {
background: var(--bg-card-hover);
}
.sh-up,
.sh-down {
display: flex;
justify-content: center;
width: 100%;
}
.sh-up { align-items: flex-end; }
.sh-down { align-items: flex-start; }
.sh-bar {
width: 60%;
max-width: 28px;
}
/* Rounded at the data end, square at the line. */
.sh-up .sh-bar { border-radius: 4px 4px 0 0; }
.sh-down .sh-bar { border-radius: 0 0 4px 4px; }
.sh-axis {
width: 100%;
background: var(--border-strong);
}
.sh-day {
margin-top: 4px;
font-size: 11px;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
/* Kept to its column; the tooltip names the full status. */
.sh-status {
max-width: 100%;
margin-top: 2px;
overflow: hidden;
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.sh-note {
margin-top: 12px;
font-size: 12.5px;
}
/* ── Bought-in components and their supplier (#1025) ── */
.badge-new,
.badge-accent {
background: var(--accent-muted);
color: var(--accent);
border-color: var(--border-accent);
}
.badge-new {
margin-left: 4px;
vertical-align: middle;
}
.origin-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
max-width: 720px;
}
.supplier-box {
display: flex;
flex-direction: column;
gap: 12px;
max-width: 720px;
margin-top: 14px;
padding: 14px 16px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--bg-card-hover);
}
.supplier-box .form-group {
margin: 0;
}
.supplier-box-title {
margin: 0;
}
.supplier-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.form-hint {
margin-top: 6px;
font-size: 12px;
color: var(--text-tertiary);
}
.form-error {
margin-top: 4px;
font-size: 12px;
color: var(--danger);
}
.callout-accent {
margin: 12px 16px 0;
padding: 10px 14px;
border: 1px solid var(--border-accent);
border-radius: var(--radius);
background: var(--accent-muted);
font-size: 12.5px;
color: var(--text-tertiary);
line-height: 1.55;
}
.callout-accent > div:first-child {
color: var(--text-primary);
}
.staged-file {
display: flex;
flex-wrap: nowrap;
gap: 12px;
justify-content: space-between;
align-items: center;
margin-top: 6px;
padding: 8px 12px;
border: 1px solid var(--border);
border-radius: var(--radius);
}
.staged-file.is-refused {
border-color: color-mix(in oklch, var(--danger) 35%, var(--border));
background: var(--danger-bg);
}
.staged-file-name {
display: flex;
flex: 1 1 0;
min-width: 0;
flex-wrap: wrap;
gap: 4px 10px;
align-items: center;
overflow-wrap: anywhere;
}
.staged-file.is-refused .staged-file-name {
flex-direction: column;
align-items: flex-start;
}
.staged-file-refusal {
font-size: 12px;
color: var(--danger);
}
.artifact-row-facts {
display: block;
margin-top: 3px;
font-size: 12px;
color: var(--text-tertiary);
}
.supplier-advisories {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-top: 6px;
}
.supplier-advisories .form-hint {
margin-top: 0;
}
.vex-advisory-note {
font-size: 11px;
color: var(--text-tertiary);
}
.vex-supplier-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 2px 8px;
border: 1px solid var(--border-bright);
border-radius: 999px;
background: var(--bg-card-hover);
font-size: 11.5px;
color: var(--text-secondary);
white-space: nowrap;
}
.vex-table tr.is-open {
background: var(--bg-elevated);
}
.vex-footnote {
margin: 8px 0 0;
font-size: 12px;
}
.vex-editor-with-supplier {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
align-items: start;
}
.vex-supplier-card {
display: flex;
flex-direction: column;
gap: 6px;
margin: 8px 0;
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--bg-card);
font-size: 12.5px;
}
.vex-supplier-card p {
margin: 0;
}
.vex-supplier-label {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-tertiary);
}
.vex-supplier-status {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
@media (max-width: 720px) {
.origin-grid,
.supplier-grid,
.vex-editor-with-supplier {
grid-template-columns: minmax(0, 1fr);
}
}
/* ── A machine: a product project and its parts (#1026) ── */
.machine-head {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 16px;
flex-wrap: wrap;
margin: 4px 0 12px;
}
.machine-head h2 {
margin: 0;
font-size: 22px;
font-weight: 600;
letter-spacing: -0.01em;
}
.machine-head p {
margin: 4px 0 0;
}
.machine-tabs {
margin-bottom: 16px;
}
.machine-label {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-tertiary);
}
.machine-tiles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-bottom: 16px;
}
.machine-tile {
display: flex;
flex-direction: column;
gap: 6px;
padding: 16px;
}
.machine-figure {
font-size: 26px;
font-weight: 600;
letter-spacing: -0.01em;
line-height: 1;
}
.machine-badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.machine-card-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
flex-wrap: wrap;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
font-size: 12px;
}
.machine-parts {
padding: 0;
margin-bottom: 16px;
}
.machine-table {
width: 100%;
min-width: 860px;
border-collapse: collapse;
}
.machine-table td {
vertical-align: top;
}
.machine-docs {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px;
}
.machine-doc {
display: flex;
flex-direction: column;
gap: 6px;
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
}
.machine-docs p {
margin: 0;
}
.machine-filter {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin: 12px 0 16px;
}
.machine-filter-on {
border-color: var(--accent);
color: var(--accent);
}
.machine-group {
padding: 0;
margin-bottom: 12px;
}
.machine-group-head {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
padding: 12px 16px;
}
.machine-group .table-wrapper {
border-top: 1px solid var(--border);
}
.machine-group-toggle {
margin-left: auto;
}
.machine-nowrap {
white-space: nowrap;
}
/* ============ Lieferkette (#1050): the supply chain as a graph ============ */
.chain-page {
display: flex;
flex-direction: column;
gap: 18px;
/* The graph is wider than a phone: it scrolls in its box, not the page. */
min-width: 0;
max-width: 100%;
}
.chain-page > * { min-width: 0; }
.chain-head h1 {
margin: 0 0 6px;
font-size: 30px;
line-height: 1.1;
font-weight: 600;
letter-spacing: -0.03em;
}
.chain-head p {
margin: 0;
max-width: 66ch;
color: var(--text-secondary);
font-size: 15px;
line-height: 1.5;
}
.chain-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 18px;
}
.chain-actions {
display: flex;
gap: 10px;
margin-left: auto;
}
.chain-legend {
display: flex;
flex-wrap: wrap;
gap: 8px 18px;
margin: 0 auto 0 0;
padding: 0;
list-style: none;
font-size: 13px;
color: var(--text-secondary);
}
.chain-legend li {
display: inline-flex;
align-items: center;
gap: 8px;
}
.chain-swatch {
width: 28px;
height: 0;
border-top: 2.5px solid var(--accent);
}
.chain-swatch.upload { border-top: 2px solid var(--text-faint); }
.chain-swatch.missing { border-top: 2px dashed var(--border-strong); }
.chain-swatch.ended { border-top: 2px dotted var(--text-faint); }
.chain-swatch.own {
width: 14px;
height: 14px;
border: 0;
border-radius: 4px;
background: var(--brand-chevron-top);
}
.chain-body {
min-width: 0;
display: flex;
flex-wrap: wrap;
gap: 18px;
align-items: flex-start;
}
.chain-wrap {
flex: 999 1 640px;
min-width: 0;
overflow: auto;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 18px;
}
.chain-canvas {
position: relative;
touch-action: none;
user-select: none;
background-image: radial-gradient(var(--border-bright) 1px, transparent 1.2px);
background-size: 20px 20px;
}
.chain-col-title {
position: absolute;
top: 12px;
font-size: 12px;
color: var(--text-faint);
}
.chain-edges {
position: absolute;
inset: 0;
overflow: visible;
pointer-events: none;
}
.chain-edge {
fill: none;
stroke-linecap: round;
stroke: var(--text-faint);
stroke-width: 1.8;
}
.chain-edge.live { stroke: var(--accent); stroke-width: 2.5; }
.chain-edge.upload { stroke: var(--text-faint); stroke-width: 2; }
.chain-edge.missing { stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 6; }
.chain-edge.ended { stroke: var(--text-faint); stroke-width: 2; stroke-dasharray: 1 5; stroke-linecap: round; }
.chain-edge.hot { stroke: var(--accent); stroke-width: 2.5; }
.chain-edge.dim { stroke: var(--border-bright); stroke-width: 1.6; }
.chain-head.live { fill: var(--accent); }
.chain-head.grey { fill: var(--text-faint); }
.chain-head.faint { fill: var(--border-strong); }
.chain-chip {
position: absolute;
transform: translate(-50%, -50%);
white-space: nowrap;
height: 24px;
box-sizing: border-box;
padding: 0 10px;
display: flex;
align-items: center;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
pointer-events: none;
}
.chain-chip-live { background: var(--accent); color: var(--accent-ink); }
.chain-chip-upload {
background: var(--bg-card);
color: var(--text-secondary);
border: 1px solid var(--border-bright);
}
.chain-chip-missing { background: var(--bg-elevated); color: var(--text-tertiary); }
.chain-chip-ended {
background: var(--bg-elevated);
color: var(--text-secondary);
border: 1px dashed var(--border-strong);
}
.chain-node {
position: absolute;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
font: inherit;
text-align: left;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 14px;
cursor: grab;
touch-action: none;
transition: opacity 0.15s;
}
.chain-node:active { cursor: grabbing; }
.chain-node.supplier {
width: 190px;
height: 64px;
background: var(--text-primary);
color: var(--bg-card);
border: 0;
}
.chain-node.supplier .chain-node-sub { color: var(--text-faint); }
.chain-node.target { width: 210px; height: 84px; align-items: flex-start; }
.chain-node.assembly {
width: 200px;
height: 72px;
/* Opaque, so an edge passing behind it does not show through. */
background: color-mix(in srgb, var(--accent) 9%, var(--bg-card));
border: 1.5px solid var(--border-accent);
}
.chain-node.product {
width: 240px;
height: 104px;
background: var(--accent);
color: var(--accent-ink);
border: 0;
box-shadow: 0 12px 24px -14px var(--accent);
}
.chain-node.product .chain-node-sub,
.chain-node.product .chain-node-state { color: var(--accent-ink); opacity: 0.85; }
.chain-node.dim { opacity: 0.45; }
.chain-node.selected { outline: 3px solid var(--accent); outline-offset: 3px; }
.chain-node:focus-visible { outline: 3px solid var(--border-accent); outline-offset: 3px; }
.chain-tile {
flex: none;
width: 34px;
height: 34px;
border-radius: 9px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 700;
color: var(--bg-card);
background: var(--text-primary);
}
.chain-node.own .chain-tile { background: var(--brand-chevron-top); color: #fff; }
.chain-picture {
flex: none;
width: 52px;
height: 52px;
border-radius: 12px;
border: 1px dashed currentColor;
opacity: 0.55;
}
.chain-node-text {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.chain-node-name {
font-size: 14px;
font-weight: 600;
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
}
.chain-node-sub { font-size: 12px; color: var(--text-tertiary); }
.chain-node-state {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
}
.chain-node-state::before {
content: "";
width: 7px;
height: 7px;
border-radius: 4px;
background: currentColor;
}
.chain-node-state.tone-ok { color: var(--success); }
.chain-node-state.tone-warn { color: var(--warning); }
.chain-node-state.tone-bad { color: var(--danger); }
.chain-panel {
flex: 1 1 260px;
max-width: 320px;
box-sizing: border-box;
padding: 18px;
display: flex;
flex-direction: column;
gap: 10px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 18px;
}
.chain-panel h2 {
margin: 0;
font-size: 20px;
font-weight: 600;
letter-spacing: -0.02em;
}
.chain-panel-kind { font-size: 12px; color: var(--text-tertiary); }
.chain-panel-sub { margin: -6px 0 0; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.chain-panel-sub.live { color: var(--accent); }
.chain-panel-facts { margin: 0; font-size: 14px; color: var(--text-secondary); }
.chain-panel-link { font-size: 14px; font-weight: 600; }
.chain-empty {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
padding: 24px;
background: var(--bg-card);
border: 1px dashed var(--border-bright);
border-radius: 18px;
}
.chain-empty p { margin: 0; color: var(--text-secondary); max-width: 60ch; }
.chain-edge.ghost { stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 6; }
.chain-ghost {
position: absolute;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
text-decoration: none;
color: var(--accent);
background: var(--bg-primary);
border: 1.5px dashed var(--border-accent);
border-radius: 14px;
}
.chain-ghost:hover { background: var(--accent-muted); }
.chain-ghost.own { color: var(--brand-chevron-top); border-color: var(--border-bright); }
.chain-ghost .chain-node-name { color: inherit; }
.chain-ghost-plus {
flex: none;
font-size: 22px;
font-weight: 500;
line-height: 1;
}
.chain-panel-muted { margin: 0; font-size: 13px; color: var(--text-tertiary); }
.chain-panel-desc {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--text-secondary);
white-space: pre-line;
}
.chain-docs { display: flex; flex-direction: column; gap: 8px; }
.chain-docs h3 { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
.chain-docs ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
}
.chain-docs li {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: 10px;
}
.chain-doc-title { font-size: 14px; font-weight: 500; }
.chain-doc-meta { font-size: 12px; color: var(--text-tertiary); }
.chain-doc-add {
padding: 8px 10px;
border: 1.5px dashed var(--border-bright);
border-radius: 10px;
font-size: 13px;
color: var(--accent);
text-decoration: none;
}
.chain-fold {
position: absolute;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
font: inherit;
text-align: left;
color: var(--text-primary);
background: var(--bg-elevated);
border: 1px solid var(--border-bright);
border-radius: 14px;
cursor: pointer;
}
.chain-fold:hover { border-color: var(--border-accent); }
.chain-fold-count {
flex: none;
min-width: 34px;
height: 34px;
padding: 0 6px;
box-sizing: border-box;
border-radius: 9px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 700;
color: var(--bg-card);
background: var(--text-tertiary);
}
/* ============ SBOM releases (#1028): where a target's SBOM goes ============ */
.rel-page {
display: flex;
flex-direction: column;
gap: 22px;
min-width: 0;
max-width: 1180px;
}
.rel-page > * { min-width: 0; }
.rel-note {
margin: 0;
padding: 10px 14px;
font-size: 14px;
color: var(--warning);
background: var(--warning-bg);
border-radius: 10px;
}
.rel-route,
.rel-train {
overflow-x: auto;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
}
.rel-canvas {
position: relative;
background-image: radial-gradient(var(--border-bright) 1px, transparent 1.2px);
background-size: 20px 20px;
}
.rel-route-note {
margin: 0;
padding: 0 24px 20px;
max-width: 66ch;
font-size: 14px;
line-height: 1.5;
color: var(--text-secondary);
}
.rel-lines {
position: absolute;
inset: 0;
overflow: visible;
pointer-events: none;
}
.rel-line {
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.rel-line.live { stroke: var(--accent); stroke-width: 2.5; }
.rel-line.wait { stroke: var(--warning); stroke-width: 2; stroke-dasharray: 5 6; }
.rel-line.off { stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 6; }
.rel-line.thick { stroke-width: 3; }
.rel-arrow-head { fill: var(--accent); }
.rel-dot { stroke: var(--bg-card); stroke-width: 3; }
.rel-dot.live { fill: var(--accent); }
.rel-dot.wait { fill: var(--bg-card); stroke: var(--warning); stroke-width: 2; }
.rel-dot.off { fill: var(--bg-card); stroke: var(--border-strong); stroke-width: 2; }
.rel-target {
position: absolute;
box-sizing: border-box;
padding: 16px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
color: var(--bg-card);
background: var(--text-primary);
border-radius: 18px;
}
.rel-target-kind { font-size: 12px; color: var(--text-faint); }
.rel-target-name {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.01em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rel-eco {
display: flex;
gap: 2px;
height: 8px;
border-radius: 4px;
overflow: hidden;
}
/* Mixed toward the box's text colour, so they read on the dark box in the
light theme and on the light box in the dark one. */
.rel-eco-part { background: color-mix(in srgb, var(--text-faint) 60%, var(--bg-card)); }
.rel-eco-part.eco-0 { background: color-mix(in srgb, var(--accent) 65%, var(--bg-card)); }
.rel-eco-part.eco-1 { background: color-mix(in srgb, var(--info) 65%, var(--bg-card)); }
.rel-eco-part.eco-2 { background: color-mix(in srgb, var(--warning) 65%, var(--bg-card)); }
.rel-chip {
position: absolute;
transform: translate(-50%, -50%);
max-width: 180px;
height: 26px;
box-sizing: border-box;
padding: 0 12px;
display: flex;
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border-radius: 13px;
font-size: 12px;
font-weight: 600;
}
/* Opaque, so the line under it does not show through. */
.rel-chip.live { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--bg-card)); }
.rel-chip.wait { color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, var(--bg-card)); }
.rel-chip svg { flex: none; margin-right: 6px; }
.rel-chip.off { color: var(--text-secondary); background: var(--bg-elevated); }
.rel-peer {
position: absolute;
box-sizing: border-box;
padding: 10px 14px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
font: inherit;
text-align: left;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 14px;
}
.rel-peer.wait { border-color: color-mix(in srgb, var(--warning) 35%, var(--bg-card)); }
.rel-peer.off { background: var(--bg-primary); border-style: dashed; }
.rel-peer-name {
font-size: 15px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rel-peer-status { font-size: 12px; color: var(--text-tertiary); }
.rel-peer-status.live { color: var(--success); }
.rel-peer-status.wait { color: var(--warning); }
.rel-peer-top {
display: flex;
align-items: baseline;
gap: 8px;
min-width: 0;
}
.rel-peer-top .rel-peer-name { flex: 1 1 auto; min-width: 0; }
.rel-end {
flex: none;
align-self: center;
margin-right: -6px;
width: 26px;
height: 26px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
font: inherit;
font-size: 12px;
color: var(--text-tertiary);
background: none;
border: 0;
border-radius: 6px;
cursor: pointer;
}
.rel-end:hover { color: var(--danger); background: var(--danger-bg); }
.rel-end-confirm {
align-self: flex-start;
margin-top: 2px;
padding: 2px 10px;
font: inherit;
font-size: 12px;
font-weight: 600;
color: var(--bg-card);
background: var(--danger);
border: 0;
border-radius: 6px;
cursor: pointer;
}
.rel-peer-add {
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 10px;
color: var(--accent);
background: var(--bg-primary);
border: 1.5px dashed var(--border-accent);
text-decoration: none;
cursor: pointer;
}
.rel-peer-add:hover { background: var(--accent-muted); }
.rel-peer-add .rel-peer-name { font-size: 14px; white-space: normal; }
.rel-plus { font-size: 22px; font-weight: 500; line-height: 1; }
.rel-train-canvas {
position: relative;
height: 200px;
}
.rel-train-canvas h2 {
position: absolute;
left: 32px;
top: 22px;
margin: 0;
font-size: 16px;
font-weight: 600;
}
.rel-train-canvas .rel-route-note { position: absolute; left: 32px; top: 64px; padding: 0; }
.rel-stops { margin: 0; padding: 0; list-style: none; }
.rel-stop {
position: absolute;
top: 64px;
width: 176px;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
text-align: center;
}
.rel-stop-label {
height: 18px;
font-family: var(--font-mono);
font-size: 14px;
font-weight: 600;
}
.rel-stop-dot {
width: 16px;
height: 16px;
box-sizing: border-box;
border-radius: 8px;
background: var(--bg-card);
border: 3px solid var(--accent);
}
.rel-stop.latest .rel-stop-dot {
width: 20px;
height: 20px;
margin: -2px 0;
border: 0;
background: var(--accent);
box-shadow: 0 0 0 5px var(--accent-muted);
}
.rel-stop.older .rel-stop-dot { border-color: var(--border-strong); border-style: dotted; }
.rel-stop.draft .rel-stop-label,
.rel-stop.draft .rel-stop-meta { color: var(--accent); }
.rel-stop.draft .rel-stop-dot {
width: 20px;
height: 20px;
margin: -2px 0;
border: 2px dashed var(--accent);
}
.rel-stop-meta { font-size: 12px; line-height: 18px; color: var(--text-tertiary); }
.rel-reached { color: var(--success); }
.rel-publish {
display: flex;
flex-direction: column;
gap: 18px;
padding: 22px;
background: var(--bg-card);
border: 2px solid var(--accent);
border-radius: 16px;
}
.rel-publish-head {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px 16px;
}
.rel-publish-head h2 {
flex: 1 1 280px;
margin: 0;
font-size: 20px;
font-weight: 600;
letter-spacing: -0.02em;
}
.rel-publish-head label { font-size: 13px; color: var(--text-secondary); }
.rel-publish-head input {
width: 140px;
min-height: 40px;
box-sizing: border-box;
padding: 9px 12px;
font-family: var(--font-mono);
font-size: 14px;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 8px;
}
.rel-last { font-size: 13px; color: var(--text-tertiary); }
.rel-publish-body { display: flex; flex-wrap: wrap; gap: 18px; }
.rel-changes {
flex: 1 1 320px;
display: flex;
flex-direction: column;
gap: 10px;
}
.rel-changes-title { font-size: 14px; font-weight: 600; }
.rel-diff {
display: flex;
gap: 3px;
height: 14px;
overflow: hidden;
border-radius: 7px;
background: var(--bg-primary);
}
.rel-diff-added { background: var(--accent); }
.rel-diff-updated { background: color-mix(in srgb, var(--accent) 45%, var(--bg-card)); }
.rel-diff-same { background: var(--border); }
.rel-diff-counts {
display: flex;
flex-wrap: wrap;
gap: 6px 16px;
font-size: 13px;
color: var(--text-secondary);
}
.rel-diff-added-text { color: var(--accent); }
.rel-diff-updated-text { color: color-mix(in srgb, var(--accent) 75%, var(--text-secondary)); }
.rel-changes-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-tertiary); }
.rel-blocked { margin: 0; font-size: 14px; line-height: 1.5; color: var(--warning); }
.rel-sieve {
flex: 1 1 380px;
display: grid;
grid-template-columns: minmax(0, 1fr) 4px minmax(0, 1fr);
gap: 14px;
padding: 14px;
background: var(--bg-primary);
border-radius: 14px;
}
.rel-sieve-side { display: flex; flex-direction: column; gap: 8px; }
.rel-sieve-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.rel-sieve-title.goes { color: var(--success); }
.rel-sieve-mesh {
border-radius: 2px;
background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 11px);
}
.rel-pills { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.rel-pill { padding: 4px 10px; border-radius: 999px; }
.rel-pill.goes {
background: var(--bg-card);
border: 1px solid color-mix(in srgb, var(--success) 30%, var(--bg-card));
}
.rel-pill.stays { color: var(--text-tertiary); border: 1px dashed var(--border-strong); }
.rel-publish-foot {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 12px;
}
.rel-recipients {
flex: 1 1 300px;
font-size: 13px;
line-height: 1.5;
color: var(--text-tertiary);
}
@media (max-width: 640px) {
.rel-sieve { grid-template-columns: minmax(0, 1fr); }
.rel-sieve-mesh { height: 4px; background: repeating-linear-gradient(to right, var(--accent) 0 6px, transparent 6px 11px); }
}
/* ============ Supplier offers (#1028): the customer's side ============ */
.offer-others {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.offer-others-title { font-size: 13px; color: var(--text-tertiary); margin-right: 4px; }
.offer-pick {
padding: 6px 12px;
font: inherit;
font-size: 13px;
color: var(--text-secondary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 999px;
cursor: pointer;
}
.offer-pick.active { color: var(--accent); border-color: var(--accent); background: var(--accent-muted); }
.rel-canvas.plain { background-image: none; }
.offer-frame {
position: absolute;
box-sizing: border-box;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: 20px;
}
.offer-machine {
position: absolute;
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
}
.offer-machine select,
.offer-rest {
max-width: 200px;
padding: 4px 8px;
font: inherit;
font-weight: 600;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 8px;
}
.offer-option {
position: absolute;
box-sizing: border-box;
padding: 10px 14px;
display: flex;
align-items: center;
gap: 12px;
font: inherit;
text-align: left;
color: var(--text-primary);
background: var(--bg-card);
border: 1px solid var(--border-bright);
border-radius: 14px;
cursor: pointer;
}
div.offer-option { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; cursor: default; }
.offer-option.chosen {
background: color-mix(in srgb, var(--accent) 7%, var(--bg-card));
border: 2px solid var(--accent);
box-shadow: 0 0 0 5px var(--accent-muted);
}
.offer-option:disabled { cursor: default; }
.offer-radio {
flex: none;
width: 20px;
height: 20px;
box-sizing: border-box;
border-radius: 10px;
border: 2px solid var(--border-strong);
}
.offer-option.chosen .offer-radio {
border: 0;
background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.offer-option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.offer-option-text b {
font-size: 15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.offer-option-sub { font-size: 12px; color: var(--text-secondary); }
.offer-parts {
position: absolute;
display: flex;
gap: 8px;
align-items: center;
}
.offer-part {
flex: 1 1 0;
min-width: 0;
height: 34px;
box-sizing: border-box;
padding: 0 10px;
display: flex;
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
color: var(--text-tertiary);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 10px;
}
.offer-part.more { flex: none; border-style: dashed; }
.rel-chip.parcel { color: var(--accent-ink); background: var(--accent); }
.offer-meaning { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.offer-tile {
flex: 1 1 200px;
display: flex;
gap: 12px;
align-items: flex-start;
padding: 16px;
font-size: 14px;
line-height: 1.45;
color: var(--accent);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 14px;
}
.offer-tile svg { flex: none; }
.offer-tile > span { color: var(--text-primary); }
.offer-tile-sub { color: var(--text-tertiary); }
.offer-tile-warn { color: var(--warning); }
.offer-answer {
flex: 1 1 260px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 10px;
}
.offer-answer .btn { min-height: 44px; justify-content: center; }
.offer-answer-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.btn.offer-decline-confirm { color: var(--bg-card); background: var(--danger); border: 0; }
.offer-chain-title { position: absolute; left: 32px; top: 22px; margin: 0; font-size: 16px; font-weight: 600; }
.offer-chain-link { position: absolute; right: 40px; top: 24px; font-size: 13px; }
.offer-chain-supplier {
position: absolute;
box-sizing: border-box;
padding: 10px 14px;
display: flex;
align-items: center;
color: var(--bg-card);
background: var(--text-primary);
border-radius: 14px;
}
.offer-chain-supplier.ended {
color: var(--text-tertiary);
background: var(--bg-primary);
border: 1px dashed var(--border-strong);
}
.offer-chain-component { text-decoration: none; }
.offer-chain-component:hover { border-color: var(--border-accent); }
.offer-waiting {
margin-bottom: 16px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
padding: 12px 16px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
color: var(--text-primary);
background: var(--accent-muted);
border: 1px solid var(--border-accent);
border-radius: 12px;
}
.offer-waiting-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.offer-waiting-go { margin-left: auto; font-weight: 600; color: var(--accent); }
/* A target's Siemens controllers (SPS item 4a): modules on a DIN rail. */
.dev-page {
display: flex;
flex-direction: column;
gap: 22px;
min-width: 0;
max-width: 1280px;
}
.dev-page > * { min-width: 0; }
.dev-rail-card {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px 24px 20px;
}
.dev-legend {
display: flex;
flex-wrap: wrap;
gap: 8px 28px;
margin: 0;
padding: 0;
list-style: none;
font-size: 14px;
color: var(--text-secondary);
}
.dev-legend li { display: flex; align-items: center; gap: 8px; }
.dev-led {
display: inline-block;
flex: none;
width: 10px;
height: 10px;
border-radius: 50%;
}
.dev-led-affected { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.dev-led-clear { background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.dev-led-unnamed { background: #8C91AE; box-shadow: 0 0 0 3px rgb(140 145 174 / 0.25); }
.dev-rail-scroll { overflow-x: auto; padding-bottom: 4px; }
.dev-rail {
position: relative;
display: flex;
align-items: flex-end;
gap: 6px;
min-width: max-content;
padding: 8px 12px 18px;
}
.dev-rail-bar {
position: absolute;
left: 0;
right: 0;
bottom: 4px;
height: 26px;
border-radius: 3px;
background: repeating-linear-gradient(90deg, var(--border-bright) 0 22px, var(--border-strong) 22px 24px);
border-top: 2px solid var(--border);
border-bottom: 2px solid var(--border-strong);
}
/* The module is a device's housing: dark in either theme. */
.dev-module {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 8px;
width: 148px;
height: 236px;
box-sizing: border-box;
padding: 12px;
border: none;
border-radius: 8px 8px 4px 4px;
background: linear-gradient(180deg, #2E3250 0%, #262A44 100%);
box-shadow: 0 4px 12px rgb(20 22 43 / 0.18);
color: #fff;
text-align: left;
font: inherit;
cursor: pointer;
transition: transform 160ms ease, box-shadow 160ms ease;
}
.dev-module-on {
transform: translateY(-6px);
box-shadow: 0 0 0 3px var(--accent), 0 10px 24px rgb(20 22 43 / 0.25);
}
.dev-module:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dev-module-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dev-module-brand { font-size: 11px; letter-spacing: 0.02em; color: #C9CDE0; }
.dev-module-face {
display: flex;
align-items: center;
justify-content: center;
height: 40px;
border-radius: 4px;
background: #1D2033;
color: #8C91AE;
font-size: 12px;
}
.dev-module-names { display: flex; flex-direction: column; gap: 2px; }
.dev-module-short { font-size: 13px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.dev-module-label { font-size: 12px; color: #C9CDE0; overflow-wrap: anywhere; }
.dev-module-vents { display: flex; flex-direction: column; gap: 3px; }
.dev-module-vents span { height: 3px; border-radius: 2px; background: #3A3F5C; }
.dev-module-fw { font-size: 12px; color: #C9CDE0; font-variant-numeric: tabular-nums; }
.dev-add {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
width: 148px;
height: 236px;
box-sizing: border-box;
padding: 12px;
border: 2px dashed var(--border-strong);
border-radius: 8px 8px 4px 4px;
background: var(--bg-card);
color: var(--text-tertiary);
font: inherit;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.dev-add-on { border-color: var(--accent); background: var(--accent-muted); color: var(--accent); }
.dev-add:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dev-empty { margin: 0; color: var(--text-secondary); }
.dev-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dev-detail,
.dev-form {
flex: 999 1 560px;
min-width: 0;
display: flex;
flex-direction: column;
gap: 20px;
padding: 24px;
}
.dev-detail h2,
.dev-form h2 { margin: 0; font-size: 22px; font-weight: 600; }
.dev-detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.dev-detail-head > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.dev-detail-label { font-size: 14px; color: var(--text-tertiary); }
.dev-detail-source { display: block; margin-top: 2px; }
.dev-detail-actions { display: flex; gap: 8px; }
.dev-detail-actions .btn { min-height: 44px; }
.btn-danger-ghost { color: var(--danger); border-color: var(--danger-bg); }
.dev-figures {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin: 0;
}
.dev-figures > div {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
border-radius: 10px;
background: var(--bg-primary);
}
.dev-figures dt { font-size: 13px; color: var(--text-tertiary); }
.dev-figures dd {
display: flex;
align-items: center;
gap: 8px;
margin: 0;
font-size: 16px;
font-weight: 500;
font-variant-numeric: tabular-nums;
}
.dev-firmware-edit { flex-wrap: wrap; }
.dev-firmware-edit input { width: 9em; min-height: 40px; }
.dev-field-note { margin: 0; font-size: 13px; color: var(--warning); }
.dev-state {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
border-radius: 10px;
font-size: 15px;
line-height: 1.45;
}
.dev-state .dev-led { width: 12px; height: 12px; }
.dev-state-affected { background: var(--danger-bg); }
.dev-state-clear { background: var(--success-bg); }
.dev-state-unnamed { background: var(--bg-elevated); }
.dev-advisories { display: flex; flex-direction: column; gap: 10px; }
.dev-advisories h3 { margin: 0; font-size: 15px; font-weight: 600; }
.dev-advisory {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px 16px;
padding: 12px 14px;
border: 1px solid var(--border);
border-radius: 10px;
}
.dev-advisory-clear { opacity: 0.72; }
.dev-advisory .badge { flex: none; min-width: 72px; text-align: center; }
.dev-advisory-text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dev-advisory-title { font-size: 14px; font-weight: 500; }
.dev-advisory-meta { font-size: 13px; color: var(--text-tertiary); }
.dev-verdict { font-size: 13px; font-weight: 500; color: var(--success); white-space: nowrap; }
.dev-verdict-affected { color: var(--danger); }
.dev-source { font-size: 13px; }
.dev-to-cves { align-self: flex-start; font-size: 14px; font-weight: 500; }
.dev-form-fields {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
}
.dev-form-fields label {
font-family: var(--font-body);
font-size: 14px;
font-weight: 500;
letter-spacing: normal;
text-transform: none;
color: var(--text-primary);
}
.dev-form-fields input { min-height: 44px; font-size: 16px; font-variant-numeric: tabular-nums; }
.dev-recognised {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px 14px;
border-radius: 10px;
background: var(--bg-elevated);
color: var(--text-secondary);
font-size: 14px;
line-height: 1.45;
}
.dev-recognised svg { flex: none; margin-top: 2px; }
.dev-recognised-bad { background: var(--warning-bg); color: var(--warning); }
.dev-recognised-known { background: var(--success-bg); color: var(--success); }
.dev-help { font-size: 14px; color: var(--text-secondary); }
.dev-help summary { min-height: 32px; color: var(--text-primary); font-weight: 500; cursor: pointer; }
.dev-help ul { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding-left: 20px; line-height: 1.45; }
.dev-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dev-form-actions .btn { min-height: 44px; }
.dev-how {
flex: 1 1 280px;
min-width: 0;
display: flex;
flex-direction: column;
gap: 12px;
padding-top: 4px;
font-size: 14px;
line-height: 1.5;
color: var(--text-secondary);
}
.dev-how h2 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.dev-how p { margin: 0; }
.dev-card-lights { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 3px; }
@media (prefers-reduced-motion: reduce) {
.dev-module { transition: none; }
.dev-module-on { transform: none; }
}