Files
pruefwerk/compliance-dashboard/assets/main.css
T
sharang 908e6b8449
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m6s
CI / Deploy Dashboard (push) Successful in 3m30s
CI / Deploy MCP (push) Successful in 2m57s
CI / Deploy Agent (push) Successful in 5m43s
feat(vex): ENISA deadlines evaluated by the agent, one notification per CVE (#498 follow-up) (#514)
2026-10-06 15:36:38 +00:00

5674 lines
121 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;
}
/* ── 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;
}
.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;
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);
}
/* ── 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-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;
}
/* 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;
}
/* Orbital rings */
.graph-stab-rings {
position: relative;
width: 120px;
height: 120px;
}
.graph-stab-ring {
position: absolute;
inset: 0;
border-radius: 50%;
border: 1px solid transparent;
}
.graph-stab-ring-1 {
border-top-color: var(--accent);
border-right-color: var(--accent-muted);
animation: stab-orbit 2.4s linear infinite;
}
.graph-stab-ring-2 {
inset: 14px;
border-bottom-color: rgba(224, 64, 251, 0.5);
border-left-color: rgba(224, 64, 251, 0.1);
animation: stab-orbit 1.8s linear infinite reverse;
filter: drop-shadow(0 0 6px rgba(224, 64, 251, 0.25));
}
.graph-stab-ring-3 {
inset: 30px;
border-top-color: var(--success);
border-right-color: var(--success-bg);
animation: stab-orbit 3.2s linear infinite;
}
.graph-stab-core {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
transform: translate(-50%, -50%);
background: var(--accent);
border-radius: 50%;
box-shadow: 0 0 0 3px var(--border-accent);
animation: stab-pulse 1.6s ease-in-out infinite;
}
@keyframes stab-orbit {
to { transform: rotate(360deg); }
}
@keyframes stab-pulse {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0.6; }
}
/* Text */
.graph-stab-text {
text-align: center;
}
.graph-stab-title {
font-family: var(--font-display);
font-size: 16px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-primary);
margin-bottom: 4px;
}
.graph-stab-subtitle {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-secondary);
letter-spacing: 0.03em;
}
/* 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: linear-gradient(90deg, var(--accent), #e040fb);
border-radius: 2px;
transition: width 0.3s ease-out;
box-shadow: none;
position: relative;
}
.graph-stab-progress-fill::after {
content: '';
position: absolute;
right: 0;
top: -2px;
width: 7px;
height: 7px;
background: #fff;
border-radius: 50%;
box-shadow: none;
}
.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;
height: 100%;
color: var(--text-tertiary);
gap: 8px;
}
.graph-empty-icon {
font-size: 48px;
opacity: 0.3;
}
.graph-empty-state h3 {
font-family: var(--font-display);
font-size: 16px;
color: var(--text-secondary);
}
.graph-empty-state p {
font-size: 13px;
}
/* Stats Bar */
.graph-stats-bar {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 16px;
background: var(--bg-secondary);
border-top: 1px solid var(--border);
font-family: var(--font-mono);
font-size: 11px;
flex-shrink: 0;
}
.graph-stat {
display: inline-flex;
align-items: center;
}
.graph-stat-value {
color: var(--accent);
font-weight: 600;
}
.graph-stat-label {
color: var(--text-tertiary);
}
.graph-stat-divider {
color: var(--border-bright);
}
/* 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-kind-function, .node-kind-method {
background: var(--accent-muted);
color: var(--accent);
border: 1px solid var(--border-accent);
}
.node-kind-struct, .node-kind-class {
background: rgba(224, 64, 251, 0.12);
color: #e040fb;
border: 1px solid rgba(224, 64, 251, 0.2);
}
.node-kind-enum {
background: rgba(255, 176, 32, 0.12);
color: #ffb020;
border: 1px solid rgba(255, 176, 32, 0.2);
}
.node-kind-interface, .node-kind-trait {
background: rgba(124, 77, 255, 0.12);
color: #7c4dff;
border: 1px solid rgba(124, 77, 255, 0.2);
}
.node-kind-module {
background: rgba(255, 138, 61, 0.12);
color: #ff8a3d;
border: 1px solid rgba(255, 138, 61, 0.2);
}
.node-kind-file {
background: var(--success-bg);
color: var(--success);
border: 1px solid color-mix(in oklch, var(--success) 30%, transparent);
}
/* 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;
padding: 8px 12px;
cursor: pointer;
border-bottom: 1px solid var(--border);
transition: background 0.15s;
}
.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;
}
.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;
}
.sbom-vuln-link {
font-size: 12px;
color: var(--accent);
text-decoration: none;
transition: color 0.15s;
}
.sbom-vuln-link:hover {
color: var(--accent-hover);
text-decoration: underline;
}
/* 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-color);
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-color);
margin-right: 4px;
}
.wizard-step.active {
color: var(--accent);
}
.wizard-step.completed {
color: var(--status-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: var(--bg-tertiary);
color: var(--text-tertiary);
flex-shrink: 0;
}
.wizard-step.active .wizard-step-dot {
background: var(--accent);
color: var(--bg-primary);
}
.wizard-step.completed .wizard-step-dot {
background: var(--status-success);
color: var(--bg-primary);
}
.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 { font-size: 12px; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); }
.notification-cve-id a { color: var(--accent); text-decoration: none; }
.notification-cve-id a:hover { text-decoration: underline; }
.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-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;
gap: 4px;
}
.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(--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);
}
.sev-critical-text { color: var(--sev-critical); }
.sev-high-text { color: var(--sev-high); }
.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-targets,
.ov-next-list {
list-style: none;
}
.ov-target {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(90px, auto);
gap: 16px;
align-items: center;
padding: 12px 18px;
border-bottom: 1px solid var(--border);
}
.ov-target:last-child {
border-bottom: none;
}
.ov-target-name {
display: grid;
min-width: 0;
}
.ov-target-name a {
color: var(--text-primary);
font-weight: 500;
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ov-target-name a:hover {
color: var(--accent);
}
.ov-target-type {
font-size: 11.5px;
color: var(--text-tertiary);
}
.ov-target-scan {
justify-self: end;
font-size: 12px;
color: var(--text-tertiary);
white-space: nowrap;
}
.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);
}
.ov-target {
grid-template-columns: 1fr;
gap: 6px;
}
.ov-target-scan {
justify-self: start;
}
}
/* ── 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;
}
.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);
}
.targets-type,
.targets-ago {
display: block;
font-size: 12px;
color: var(--text-tertiary);
}
.targets-scan .badge {
margin-bottom: 2px;
}
.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;
}
.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-vex,
.target-manual {
margin-bottom: 20px;
}
.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);
}
.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-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;
}
@media (max-width: 1000px) {
.target-summary,
.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-cra,
.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-id {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-tertiary);
min-width: 72px;
}
.cra-control-title {
font-weight: 500;
}
.cra-control-evidence {
font-size: 11.5px;
color: var(--text-tertiary);
}
.cra-control-reason {
padding-left: 82px;
font-size: 12.5px;
color: var(--text-secondary);
}
.cra-control-findings {
list-style: none;
display: grid;
gap: 3px;
padding-left: 82px;
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;
}
.artifact-upload-file {
flex: 1;
min-width: 220px;
}
.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;
}