.cv-score { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 32px; padding: 0 9px; border-radius: 8px; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: -0.01em; border: 1px solid var(--rp-line-hi); color: var(--rp-text-2); background: var(--rp-surface-hi); flex: 0 0 auto; }
.cv-score.crit { color: #b87b7b; border-color: rgba(184, 123, 123, 0.45); background: rgba(184, 123, 123, 0.08); }
.cv-score.high { color: #b79a79; border-color: rgba(183, 154, 121, 0.45); background: rgba(183, 154, 121, 0.08); }
.cv-score.med { color: #b6aa78; border-color: rgba(182, 170, 120, 0.4); background: rgba(182, 170, 120, 0.07); }
.cv-score.low { color: var(--rp-ok); border-color: var(--rp-ok-line); }
.cv-score.none { color: var(--rp-faint); }
.cv-score.lg { min-width: 84px; height: 56px; font-size: 26px; border-radius: 12px; }
.cv-kev { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #b87b7b; border: 1px solid rgba(184, 123, 123, 0.45); white-space: nowrap; }
.cv-epss, .cv-an { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; color: var(--rp-muted); border: 1px solid var(--rp-line-hi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cv-an { color: var(--rp-accent); border-color: var(--rp-accent-line); }

.cv-list { display: flex; flex-direction: column; border: 1px solid var(--rp-line); border-radius: 16px; background: var(--rp-surface); overflow: hidden; }
.cv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rp-line-soft); color: inherit; text-decoration: none; transition: background 0.15s; }
.cv-row:last-child { border-bottom: 0; }
.cv-row:hover { background: var(--rp-surface-hi); }
.cv-row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cv-row-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--rp-accent); }
.cv-row-title { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--rp-text); }
.cv-row-sub { font-size: 13px; color: var(--rp-faint); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cv-row-side { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cv-row-side time { font-size: 12.5px; color: var(--rp-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }

.cv-search { display: flex; gap: 10px; margin: 22px 0 8px; max-width: 720px; }
.cv-search input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--rp-line-hi); background: var(--rp-surface); color: var(--rp-text); font: inherit; font-size: 15px; }
.cv-search input:focus { outline: none; border-color: var(--rp-accent); }
.cv-search button { padding: 0 20px; border-radius: 12px; border: 1px solid var(--rp-accent-line); background: var(--rp-accent-bg); color: var(--rp-accent); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.cv-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.cv-quick a { font-size: 12.5px; color: var(--rp-muted); border: 1px solid var(--rp-line-hi); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.cv-quick a:hover, .cv-quick a.on { color: var(--rp-accent); border-color: var(--rp-accent-line); }

.cv-head-score { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 10px 0 0; }
.cv-vector { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--rp-faint); word-break: break-all; }
.cv-analysis { border: 1px solid var(--rp-accent-line); background: var(--rp-accent-bg); border-radius: 16px; padding: 26px 28px; }
.cv-analysis h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.cv-analysis .cv-meta { font-size: 12.5px; color: var(--rp-faint); margin: 0 0 18px; }
.cv-analysis h3 { margin: 18px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rp-faint); }
.cv-analysis p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--rp-text-2); }
.cv-analysis ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--rp-text-2); }
.cv-analysis li { margin: 4px 0; }
.cv-prio { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rp-line-hi); font-size: 13px; }
.cv-prio b { text-transform: uppercase; letter-spacing: 0.05em; font-size: 11.5px; }
.cv-prio.critical b { color: #c66d6d; } .cv-prio.high b { color: #c59b6b; } .cv-prio.medium b { color: #c9b97a; } .cv-prio.low b { color: var(--rp-ok); }
.cv-disclaimer { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rp-accent-line); font-size: 12.5px; color: var(--rp-faint); }
.cv-refs td a { color: var(--rp-text-2); text-decoration: none; word-break: break-all; }
.cv-refs td a:hover { color: var(--rp-accent); }
.cv-tag { display: inline-block; margin: 0 4px 4px 0; padding: 1px 7px; border-radius: 6px; font-size: 11px; color: var(--rp-faint); border: 1px solid var(--rp-line-soft); }
.cv-tag.exploit { color: #b87b7b; border-color: rgba(184, 123, 123, 0.4); }
.cv-rw { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-rw a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--rp-line-hi); border-radius: 12px; color: var(--rp-text); text-decoration: none; }
.cv-rw a:hover { border-color: var(--rp-accent-line); }
.cv-rw small { color: var(--rp-faint); font-size: 12px; }
.cv-desc { font-size: 16px; line-height: 1.65; color: var(--rp-text-2); }
.cv-pager { display: flex; gap: 10px; justify-content: center; margin: 24px 0 0; }
.cv-pager a, .cv-pager span { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--rp-line-hi); color: var(--rp-muted); text-decoration: none; font-size: 14px; }
.cv-pager span { opacity: 0.5; }
.cv-empty { padding: 40px; text-align: center; color: var(--rp-faint); border: 1px dashed var(--rp-line-hi); border-radius: 16px; }
.cv-vendors { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-vendors a { font-size: 13px; color: var(--rp-text-2); border: 1px solid var(--rp-line-hi); border-radius: 999px; padding: 6px 13px; text-decoration: none; }
.cv-vendors a small { color: var(--rp-faint); margin-left: 6px; }
.cv-vendors a:hover { border-color: var(--rp-accent-line); color: var(--rp-accent); }
@media (max-width: 720px) {
    .cv-row { grid-template-columns: auto 1fr; }
    .cv-row-side { grid-column: 1 / -1; justify-content: flex-start; }
}

.cvx { --cvx-crit: #b87b7b; --cvx-high: #b79a79; --cvx-med: #b6aa78; --cvx-low: #8fb5a0; }
.cvx-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rp-faint); margin: 0 0 14px; }

.cvx-hero { position: relative; overflow: hidden; padding: 112px 20px 40px; text-align: center; border-bottom: 1px solid var(--rp-line); }
.cvx-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.cvx-hero-bg .g1 { position: absolute; left: 10%; top: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 167, 186, 0.22), rgba(126, 167, 186, 0) 62%); filter: blur(10px); }
.cvx-hero-bg .g2 { position: absolute; right: -10%; top: 10%; width: 50vw; height: 50vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 154, 121, 0.14), rgba(183, 154, 121, 0) 60%); filter: blur(12px); }
.cvx-hero-bg .grid { position: absolute; inset: 0; background: url(../images/bg/hero-dots-dark.webp) center top / 100% auto no-repeat; opacity: 0.42; }
html[data-theme="light"] .cvx-hero-bg .grid { background-image: url(../images/bg/hero-dots-light.webp); opacity: 0.18; }
.cvx-hero-bg .g1, .cvx-hero-bg .g2 { display: none; }
.cvx-hero { background: var(--rp-bg); }
html[data-theme="light"] .cvx-hero { background: var(--rp-bg); }
.cvx-hero-in { position: relative; max-width: 960px; margin: 0 auto; }
.cvx-hero h1 { margin: 0 0 14px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; color: var(--rp-text); }
.cvx-sub { margin: 0 auto 26px; max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--rp-text-2); }
.cvx-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto; padding: 6px 6px 6px 18px; border-radius: 999px; border: 1px solid var(--rp-line-hi); background: var(--rp-surface); box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6); transition: border-color 0.15s, box-shadow 0.15s; }
.cvx-search:focus-within { border-color: var(--rp-accent); box-shadow: 0 0 0 4px var(--rp-accent-bg), 0 20px 60px -30px rgba(0,0,0,0.6); }
.cvx-search svg { width: 20px; height: 20px; color: var(--rp-faint); flex: 0 0 auto; }
.cvx-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--rp-text); font: inherit; font-size: 17px; padding: 10px 0; outline: none; }
.cvx-search input::placeholder { color: var(--rp-faint); }
.cvx-search kbd { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--rp-faint); border: 1px solid var(--rp-line-hi); border-radius: 5px; padding: 2px 7px; }
.cvx-search button { border: 0; border-radius: 999px; padding: 11px 20px; background: var(--rp-btn-bg); color: var(--rp-btn-fg); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.cvx-search button:hover { background: var(--rp-btn-hover); }
.cvx-stats { display: flex; flex-wrap: wrap; justify-content: center; margin: 30px auto 0; }
.cvx-stats div { padding: 0 26px; border-left: 1px solid var(--rp-line-hi); text-align: left; }
.cvx-stats div:first-child { border-left: 0; }
.cvx-stats b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--rp-text); line-height: 1.1; }
.cvx-stats b small { font-size: 11px; color: var(--rp-faint); font-weight: 400; margin-left: 3px; }
.cvx-stats span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--rp-faint); }

.cvx-body { max-width: 1400px; margin: 0 auto; padding: 32px 24px 80px; }
.cvx-filters { border: 1px solid var(--rp-line); border-radius: 14px; background: var(--rp-surface); margin: 0 0 46px; }
.cvx-filters summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; cursor: pointer; }
.cvx-filters summary::-webkit-details-marker { display: none; }
.cvx-filters-label { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; color: var(--rp-text); }
.cvx-filters-label svg { width: 16px; height: 16px; color: var(--rp-accent); transition: transform 0.15s; }
.cvx-filters[open] .cvx-filters-label svg { transform: rotate(90deg); }
.cvx-show { font-size: 14px; color: var(--rp-text-2); display: inline-flex; align-items: center; gap: 8px; }
.cvx-show select { font: inherit; font-size: 13.5px; color: var(--rp-text); background: var(--rp-surface-hi); border: 1px solid var(--rp-line-hi); border-radius: 8px; padding: 6px 10px; }
.cvx-filter-rows { border-top: 1px solid var(--rp-line); padding: 14px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.cvx-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cvx-filter-row > span { width: 110px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rp-faint); }
.cvx-chip { font-size: 13px; color: var(--rp-text-2); border: 1px solid var(--rp-line-hi); border-radius: 999px; padding: 6px 13px; text-decoration: none; transition: all 0.12s; }
.cvx-chip:hover { color: var(--rp-text); border-color: var(--rp-line-strong); }
.cvx-chip.on { color: var(--rp-accent); border-color: var(--rp-accent-line); background: var(--rp-accent-bg); }
.cvx-chip.clear { color: var(--rp-faint); border-style: dashed; }

.cvx-section { margin: 0 0 64px; }
.cvx-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.cvx-section-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; color: var(--rp-text); }
.cvx-section-head h2 em { font-style: normal; color: var(--rp-accent); }
.cvx-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--rp-accent); white-space: nowrap; text-decoration: none; }
.cvx-more svg { width: 18px; height: 18px; transition: transform 0.15s; }
.cvx-more:hover svg { transform: translateX(3px); }
.cvx-page-n { font-size: 14px; color: var(--rp-faint); white-space: nowrap; }

.cvx-table-wrap { overflow-x: auto; }
.cvx-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; }
.cvx-table th { text-align: left; font-weight: 400; font-size: 14px; color: var(--rp-faint); padding: 4px 18px 10px; white-space: nowrap; }
.cvx-table td { padding: 17px 18px; background: var(--rp-surface); border-top: 1px solid var(--rp-line-soft); border-bottom: 1px solid var(--rp-line-soft); vertical-align: middle; color: var(--rp-text-2); white-space: nowrap; }
.cvx-table td:first-child { border-left: 1px solid var(--rp-line-soft); border-radius: 12px 0 0 12px; }
.cvx-table td:last-child { border-right: 1px solid var(--rp-line-soft); border-radius: 0 12px 12px 0; }
.cvx-table tbody tr { cursor: pointer; }
.cvx-table tbody tr:nth-child(even) td { background: var(--rp-surface-2); }
.cvx-table tbody tr:hover td { background: var(--rp-surface-hi); border-color: var(--rp-line-hi); }
.cvx-id { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13.5px; color: var(--rp-text); text-decoration: none; }
.cvx-table tr:hover .cvx-id { color: var(--rp-accent); }
.cvx-an { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rp-accent); margin-left: 8px; vertical-align: 2px; }
.cvx-num { font-variant-numeric: tabular-nums; color: var(--rp-text); }
.cvx-dim { color: var(--rp-faint); }
.cvx-date { font-variant-numeric: tabular-nums; }
.cvx-no { color: var(--rp-faint); opacity: 0.6; }
.cvx-yes { font-size: 13px; color: var(--rp-text); }
.cvx-yes.soft { color: var(--rp-text-2); }
.cvx-empty { text-align: center; color: var(--rp-faint); padding: 40px !important; white-space: normal !important; }
.cvx-pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.cvx-pill.crit { background: var(--cvx-crit); color: #fff; }
.cvx-pill.high { background: var(--cvx-high); color: #1a1408; }
.cvx-pill.med { background: var(--cvx-med); color: #1a1808; }
.cvx-pill.low { background: var(--cvx-low); color: #0d1a12; }
.cvx-pill.none { background: var(--rp-surface-hi); color: var(--rp-faint); border: 1px solid var(--rp-line-hi); }
.cvx-tech { display: inline-flex; align-items: center; gap: 10px; color: var(--rp-text); }
.cvx-tech.dim { color: var(--rp-faint); }
.cvx-tech small { color: var(--rp-faint); font-size: 12px; margin-left: 4px; }
.cvx-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--rp-text); background: var(--rp-surface-hi); border: 1px solid var(--rp-line-hi); flex: 0 0 auto; }
.cvx-mark.none { background: transparent; border-style: dashed; }
.cvx-mark.h0 { color: #a8c4d1; } .cvx-mark.h1 { color: #b8c9a3; } .cvx-mark.h2 { color: #d3b98c; } .cvx-mark.h3 { color: #c9a8b9; } .cvx-mark.h4 { color: #9fbfb5; } .cvx-mark.h5 { color: #c4b7a1; }
.cvx-epss { display: inline-flex; align-items: center; gap: 8px; }
.cvx-epss i { display: inline-block; width: 60px; height: 4px; border-radius: 2px; background: var(--rp-line-hi); position: relative; overflow: hidden; }
.cvx-epss i u { display: block; height: 100%; background: var(--rp-accent); border-radius: 2px; }
.cvx-epss b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--rp-text); font-size: 13.5px; }

.cvx-pager { display: flex; justify-content: space-between; margin: 22px 0 0; }
.cvx-pager a { font-size: 15px; color: var(--rp-accent); text-decoration: none; padding: 10px 18px; border: 1px solid var(--rp-line-hi); border-radius: 999px; }
.cvx-pager a:hover { border-color: var(--rp-accent-line); }
.cvx-browse { text-align: center; margin: -10px 0 70px; }
.cvx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--rp-btn-bg); color: var(--rp-btn-fg); font-size: 16px; font-weight: 500; text-decoration: none; }
.cvx-btn:hover { background: var(--rp-btn-hover); }
.cvx-btn svg { width: 18px; height: 18px; }
.cvx-btn.ghost { background: transparent; color: var(--rp-text); border: 1px solid var(--rp-line-hi); }
.cvx-btn.ghost:hover { border-color: var(--rp-line-strong); background: var(--rp-surface-hi); }

.cvx-vendors { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 26px; }
.cvx-vendors a { display: grid; grid-template-columns: 24px 1fr 90px 44px; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; color: var(--rp-text); border-bottom: 1px solid var(--rp-line-soft); }
.cvx-vendors a:hover .l { color: var(--rp-accent); }
.cvx-vendors .l { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvx-vendors .t { height: 4px; background: var(--rp-line-hi); border-radius: 2px; overflow: hidden; }
.cvx-vendors .t i { display: block; height: 100%; background: var(--rp-accent); }
.cvx-vendors .n { font-size: 13px; color: var(--rp-faint); text-align: right; font-variant-numeric: tabular-nums; }

.cvx-api { border: 1px solid var(--rp-line); border-radius: 20px; background: var(--rp-surface); padding: 40px 44px; }
.cvx-api-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.cvx-api h2 { margin: 0 0 12px; font-size: 30px; font-weight: 400; letter-spacing: -0.02em; color: var(--rp-text); }
.cvx-api p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--rp-text-2); }
.cvx-api p code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; background: var(--rp-surface-hi); border: 1px solid var(--rp-line-hi); border-radius: 5px; padding: 1px 6px; }
.cvx-api-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cvx-code { margin: 0; padding: 22px 24px; border-radius: 14px; background: var(--rp-bg); border: 1px solid var(--rp-line-hi); font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; line-height: 1.8; color: var(--rp-text); overflow-x: auto; white-space: pre; }
.cvx-code .c { color: var(--rp-faint); } .cvx-code .s { color: #b8c9a3; } .cvx-code .u { color: var(--rp-accent); } .cvx-code .k { color: #a8c4d1; } .cvx-code .n { color: #d3b98c; }
.cvx-note { margin: 40px 0 0; font-size: 13px; color: var(--rp-faint); text-align: center; }

@media (max-width: 900px) {
    .cvx-hero { padding: 120px 16px 48px; }
    .cvx-stats div { padding: 8px 16px; border-left: 0; width: 50%; }
    .cvx-api-in { grid-template-columns: 1fr; }
    .cvx-api { padding: 28px 22px; }
    .cvx-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cvx-filter-row > span { width: 100%; }
    .cvx-search kbd { display: none; }
}
.cvx-mark.img { background: #fff; border-color: var(--rp-line-hi); overflow: hidden; padding: 3px; }
.cvx-mark.img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cvx-mark.sm { width: 18px; height: 18px; border-radius: 4px; font-size: 9px; margin-right: 6px; vertical-align: -4px; }
.cvx-mark.sm.img { padding: 2px; }
.cvx-chip-logo { display: inline-flex; align-items: center; }
.cvx-detail-vendor { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; color: var(--rp-text-2); }
.cvx-detail-vendor .cvx-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 12px; }
