/* Security Feed in the design of lauger.de: navigation, compact page head, section
   titles, buttons and footer follow its style sheet. Fonts are self-hosted
   like on lauger.de (Roboto: Apache 2.0, Oswald and Volkhov: OFL). */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100; font-display: swap; src: local("Roboto Thin"), url(fonts/roboto-100.ttf) format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: local("Roboto"), local("Roboto-Regular"), url(fonts/roboto-400.ttf) format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: local("Roboto Medium"), url(fonts/roboto-500.ttf) format("truetype"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: local("Roboto Bold"), url(fonts/roboto-700.ttf) format("truetype"); }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: local("Oswald Medium"), url(fonts/oswald-500.ttf) format("truetype"); }
@font-face { font-family: "Volkhov"; font-style: italic; font-weight: 400; font-display: swap; src: local("Volkhov Italic"), url(fonts/volkhov-italic.ttf) format("truetype"); }

:root {
  --accent: #ff6440;
  --accent-hover: #e65533;
  --accent-text: #c4401f;
  --ink: #333333;
  --ink-strong: #222222;
  --nav: #5c5c5c;
  --muted: #666666;
  --line: #e8e8e8;
  --line-soft: #f0f0f0;
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --bg-footer: #f5f5f5;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --crit-bg: #fbe4e2; --crit: #8f1d14;
  --high-bg: #fdebd9; --high: #7a3300;
  --med-bg: #eef0f3; --med: #3d4652;
  --low-bg: #eef5f0; --low: #2f4f3a;
  --fix-bg: #e3f3ef; --fix: #0b5a4c;
  --kev: #8f1d14;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Roboto", sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: "Roboto", sans-serif; font-weight: 400; color: var(--ink-strong); }
.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }

/* Navigation like lauger.de */
.navigation { background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-strong); }
.brand:hover { color: var(--ink-strong); }
.brand img { width: 40px; height: auto; display: block; }
.brand-text { font-size: 17px; font-weight: 500; letter-spacing: 0.2px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; flex: 1; }
.nav a { color: var(--nav); padding: 8px 12px; font-size: 14px; font-weight: 500; }
.nav-out { color: var(--muted); font-size: 13px; }
.nav-out:hover { color: var(--accent-text); }
.nav a:hover { color: #000; }
.nav a[aria-current="page"] { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent); }

/* Page head: compact, so the content starts right away */
.band { background: var(--bg-soft); border-bottom: 1px solid var(--line); color: var(--ink); }
.band .container { padding-top: 26px; padding-bottom: 22px; }
.band h1 { margin: 0; color: var(--ink-strong); font-weight: 400; font-size: 28px; line-height: 1.3; }
.band .lead { margin: 6px 0 0; max-width: 900px; font-size: 16px; color: var(--muted); }
.band .lead.small { font-size: 14px; }
.band .eyebrow { display: block; font-family: "Volkhov", serif; font-style: italic; font-size: 14px; color: var(--accent-text); margin-bottom: 2px; }
.stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.stat:hover { border-color: var(--accent); color: var(--ink-strong); }
.stat-number { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 28px; line-height: 1; color: var(--accent); }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* Sections */
.section { padding: 32px 0; }
.section.soft { background: var(--bg-soft); }
.section-title { margin-bottom: 14px; }
.section-title h2 { margin: 0; font-size: 20px; font-weight: 500; color: var(--ink-strong); }
.section-title p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.section-title.center { text-align: center; }
.btn-main { display: inline-block; background: var(--accent); color: #fff; font: inherit; font-size: 14px; letter-spacing: 1px; padding: 12px 30px; text-transform: uppercase; border: 0; border-radius: 0; cursor: pointer; transition: background 0.2s ease; min-height: 40px; }
.btn-main:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { display: inline-block; color: var(--ink); border: 1px solid #cfcfcf; padding: 12px 24px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Top priorities */
.top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.top-card { background: var(--bg); box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--accent); color: var(--ink); }
.top-card.exploited { border-top-color: var(--kev); }
.top-card:hover { color: var(--ink); box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14); }
.top-card .product { font-size: 18px; font-weight: 500; color: var(--ink-strong); }
.top-card .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* Filters */
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.label { margin-right: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #d6d6d6; background: var(--bg); color: var(--nav); font: inherit; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.kev.active { background: var(--kev); border-color: var(--kev); }
.search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 560px; justify-content: flex-end; }
.field select, .field input { min-height: 40px; border: 1px solid #d6d6d6; border-radius: 0; padding: 0 12px; font: inherit; font-size: 14px; background: var(--bg); color: var(--ink); max-width: 100%; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field.grow { flex: 1 1 220px; }
.field.grow input { width: 100%; }
.count { font-size: 13px; color: var(--muted); }

/* Table */
.table { background: var(--bg); box-shadow: var(--shadow); overflow-x: auto; }
.table-inner { min-width: 1060px; }
.table-inner.narrow { min-width: 560px; }
.row { display: grid; grid-template-columns: 1.45fr 1.05fr 0.72fr 0.85fr 1fr 2.3fr; gap: 18px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); align-items: start; }
.row:last-child { border-bottom: 0; }
.row.exploited { box-shadow: inset 3px 0 0 var(--kev); }
.row.head, .row.head4 { background: #fafafa; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.row.head4, .row.r4 { grid-template-columns: 1fr 1.6fr 1.2fr 1.2fr; }
.cell { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.cell.product a { color: var(--ink-strong); font-weight: 500; font-size: 15px; }
.cell.product a:hover { color: var(--accent-text); }
.updated { color: var(--high); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.chip, .badge { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.badge { align-self: flex-start; padding: 3px 9px; font-size: 12px; }
.chip.kev, .badge.kev { background: var(--kev); color: #fff; }
.chip.fix, .badge.fix { background: var(--fix-bg); color: var(--fix); }
.chip.nofix, .badge.nofix { background: #f1f1f1; color: #4d4d4d; }
.chip.dark, .badge.dark { background: var(--ink); color: #fff; }
.badge.path { background: var(--high-bg); color: var(--high); }
.sev-critical { background: var(--crit-bg); color: var(--crit); }
.sev-high { background: var(--high-bg); color: var(--high); }
.sev-medium { background: var(--med-bg); color: var(--med); }
.sev-low { background: var(--low-bg); color: var(--low); }
.sev-unknown { background: #f1f1f1; color: #4d4d4d; }
.epss { font-size: 12px; color: var(--muted); }
.empty { padding: 40px 22px; text-align: center; color: var(--muted); margin: 0; }
.more { margin: 22px 0 0; text-align: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--bg); box-shadow: var(--shadow); color: var(--ink); }
.card:hover { color: var(--ink); box-shadow: 0 4px 22px rgba(0, 0, 0, 0.14); }
.card strong { font-size: 17px; font-weight: 500; color: var(--ink-strong); }
.card span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.card .icon { width: 28px; height: 28px; color: var(--accent); }

/* Detail */
.detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.detail-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.band.compact h1 { overflow-wrap: anywhere; }
.band .back { display: inline-block; color: var(--accent-text); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.band .ids { margin: 6px 0 0; font-family: var(--mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.band .chips { margin-top: 14px; }
.kev-box { background: #fdf1f0; border-left: 4px solid var(--kev); padding: 16px 20px; }
.kev-box strong { color: var(--kev); }
.kev-box p { margin: 4px 0 0; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); box-shadow: var(--shadow); }
.facts div { background: var(--bg); padding: 14px 18px; }
.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.block h2 { color: var(--accent-text); font-size: 22px; margin: 0 0 12px; }
.prose { white-space: pre-line; overflow-wrap: anywhere; }
.others summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.refs { margin: 0; padding-left: 20px; overflow-wrap: anywhere; }
.box { background: var(--bg); box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.box.tint { background: var(--bg-soft); box-shadow: none; }
.box-title { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 700; }
.box p { margin: 0; }
.box .btn-main { align-self: flex-start; }
.source { display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Methodology */
.prose-page { max-width: 840px; }
.prose-page h2 { color: var(--accent-text); margin: 34px 0 10px; font-size: 22px; }
.prose-page h2:first-child { margin-top: 0; }
.paths dt { font-weight: 500; margin-top: 10px; }
.paths dd { margin: 2px 0 0; color: var(--ink); }
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.stack h3 { margin: 10px 0 2px; font-size: 16px; font-weight: 500; }
.stack p { margin: 0; }
.error-page { padding: 72px 0; text-align: center; }

/* Footer like lauger.de */
.footer { background: var(--bg-footer); text-align: center; padding: 28px 0 32px; }
.footer-by a { color: #494949; }
.footer-menu { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; }
.footer-menu a { color: #494949; }
.footer-menu a:hover { color: #000; }
.footer p { margin: 4px 0; font-size: 13px; color: #6e6e6e; }

@media (max-width: 760px) {
  .band h1 { font-size: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-number { font-size: 24px; }
  .search { justify-content: stretch; }
  .search .field, .search button { flex: 1 1 100%; }
  .field select { width: 100%; }
  .brand-text { font-size: 16px; }
}

/* Vendor status (VEX) */
.st { display: inline-block; padding: 2px 8px; font-size: 12px; font-weight: 500; margin-right: 6px; }
.st-affected { background: var(--crit-bg); color: var(--crit); }
.st-investigating { background: var(--high-bg); color: var(--high); }
.st-fixed { background: var(--fix-bg); color: var(--fix); }
.st-na { background: var(--med-bg); color: var(--med); }

/* Dashboards overview */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dash-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.dash-card:hover { border-color: var(--accent); color: var(--ink); }
.dash-card strong { font-size: 18px; font-weight: 500; color: var(--ink-strong); }
.dash-counts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.dash-counts b { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 20px; color: var(--accent); margin-right: 2px; }
.dash-counts b.kev-text { color: var(--kev); }

/* Statistics */
.stats-wide .stat-block { flex-direction: column; align-items: flex-start; gap: 4px; }
.stat-note { font-size: 12px; color: var(--muted); line-height: 1.4; }
.callout { border-left: 3px solid var(--accent); background: var(--bg-soft); padding: 18px 22px; margin-bottom: 44px; }
.callout strong { display: block; font-size: 17px; font-weight: 500; color: var(--ink-strong); margin-bottom: 6px; }
.callout p { margin: 0 0 14px; max-width: 900px; }
.chart { margin: 0 0 48px; }
.chart figcaption h2 { font-size: 20px; font-weight: 500; color: var(--ink-strong); margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
.chart figcaption p { margin: 0 0 10px; color: var(--ink); }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--line-soft); stroke-width: 1; }
.chart .axis { stroke: #bdbdbd; stroke-width: 1; }
.chart .tick { font-size: 11px; fill: var(--muted); font-family: inherit; }
.chart rect.partial { opacity: 0.55; }
.chart rect:hover { opacity: 0.8; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: var(--ink); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend .swatch { width: 12px; height: 12px; }
.chart-table summary { cursor: pointer; font-size: 13px; color: var(--accent-text); margin-top: 6px; }
.chart-table table { border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.chart-table th, .chart-table td { padding: 4px 14px 4px 0; text-align: right; border-bottom: 1px solid var(--line-soft); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
@media (max-width: 700px) { .stats-wide { grid-template-columns: 1fr 1fr; } }

/* Action needed: a short list instead of cards */
.action-list { border: 1px solid var(--line); background: var(--bg); }
.action-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto 90px; gap: 14px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.action-row:last-child { border-bottom: 0; }
.action-row:hover { background: var(--bg-soft); color: var(--ink); }
.action-row.exploited { box-shadow: inset 3px 0 0 var(--kev); }
.action-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.action-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.action-text strong { font-weight: 500; color: var(--ink-strong); margin-right: 4px; }
.action-meta { color: var(--muted); white-space: nowrap; text-align: right; }

/* Filter toolbar: one compact block */
.toolbar { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid #d6d6d6; background: var(--bg); }
.seg-item { padding: 6px 11px; font-size: 13px; color: var(--nav); border-right: 1px solid #e3e3e3; }
.seg-item:last-child { border-right: 0; }
.seg-item:hover { color: var(--ink-strong); background: var(--bg-soft); }
.seg-item.active { background: var(--ink); color: #fff; }
.toggle { padding: 6px 11px; font-size: 13px; color: var(--nav); border: 1px solid #d6d6d6; background: var(--bg); }
.toggle:hover { color: var(--ink-strong); }
.toggle.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle.kev.active { background: var(--kev); border-color: var(--kev); }
.toolbar .field select, .toolbar .field input { min-height: 33px; font-size: 13px; padding: 0 10px; }
.toolbar .count { margin-left: auto; }
.btn-small { background: var(--accent); color: #fff; border: 0; font: inherit; font-size: 13px; padding: 0 16px; min-height: 33px; cursor: pointer; }
.btn-small:hover { background: var(--accent-hover); }
@media (max-width: 800px) {
  .action-row { grid-template-columns: 1fr; gap: 4px; }
  .action-text { white-space: normal; }
  .action-meta { text-align: left; }
  .toolbar .count { margin-left: 0; }
}

/* Denser list of advisories */
.table-inner > .row:not(.head) { padding-top: 11px; padding-bottom: 11px; }
.table .cell.product .chips { margin-top: 4px; }

/* Period: chosen at the top, valid for the whole page */
.period { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.period-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.feed-block { margin-bottom: 36px; }
.feed-block:last-child { margin-bottom: 0; }

/* The list in the narrower column of a dashboard: no attack path column */
.profile-main .table-inner { min-width: 0; }
.profile-main .row { grid-template-columns: 1.25fr 1.05fr 0.75fr 0.8fr 1.9fr; gap: 14px; padding-left: 16px; padding-right: 16px; }
.profile-main .row > :nth-child(5) { display: none; }

/* Dashboards: content left, products and lifecycle right */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.profile-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.side-box { padding: 16px 18px; }
.side-counts { display: flex; flex-direction: column; font-size: 13px; }
.side-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px 40px 40px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.side-row:last-child { border-bottom: 0; }
.side-row > span:not(:first-child) { text-align: right; }
.side-row > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-row.head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
a.side-row:hover { color: var(--accent-text); }
.side-row.zero { color: var(--muted); }
.side-row .crit { color: var(--crit); }
.lifecycle { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.lifecycle:last-of-type { border-bottom: 0; }
.lifecycle h3 { font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.lifecycle .kv { margin: 4px 0 0; font-size: 13px; }
.lifecycle .muted.small { margin: 0; }
@media (max-width: 1000px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-side { position: static; }
}
.profile-main .action-row { grid-template-columns: 200px minmax(0, 1fr) auto; }
.profile-main .action-row > :last-child { display: none; }

/* Developers page */
.dev-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.dev-links .btn-small { display: inline-flex; align-items: center; color: #fff; }
.dev pre { background: #f6f6f6; border: 1px solid var(--line); padding: 12px 14px; overflow-x: auto; font-size: 13px; }
.dev code { font-family: var(--mono); font-size: 0.92em; }
.dev pre code { font-size: 13px; }
.endpoints dt { margin-top: 10px; }
.endpoints dd { margin: 2px 0 0; color: var(--muted); }
.dev-table { border-collapse: collapse; margin: 8px 0 12px; font-size: 14px; }
.dev-table th, .dev-table td { text-align: left; padding: 6px 18px 6px 0; border-bottom: 1px solid var(--line-soft); }
