/* Copied from firmenbuchdaten.at (src/app/globals.css, 15.11.2026) so both sites look the same; own additions are in src/lib/html.ts (CSS). */
/* Own look, deliberately not like the judiciary (no state colours, no coat of arms). */
/*
 * Fonts as on swipesign.io (owner 30.10.2026): Geist Sans for text, Poppins for headings, self-hosted (OFL-1.1, from
 * @fontsource). Replaces the 352 KB Inter variable font.
 */
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/geist-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Fallback faces with the metrics of the web fonts (fontkit against Arial, 1.11.2026): text keeps its size and line breaks while the
   web font loads, so the swap moves nothing. Devices without Arial fall through to the system font. */
@font-face { font-family: "Geist Sans Fallback"; src: local("Arial"); size-adjust: 105.84%; ascent-override: 86.92%; descent-override: 20.79%; line-gap-override: 9.45%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 114.49%; ascent-override: 91.71%; descent-override: 30.57%; line-gap-override: 8.73%; }

:root {
  /* Brand colours from the owner's logo (24.10.2026): navy and sage teal on light grey. */
  --navy: #1f5480;
  --teal: #5fa39a;
  --bg: #f3f4f8;
  --surface: #ffffff;
  --text: #13253a;
  --text-muted: #5a6779;
  --border: #e1e5ec;
  --accent: var(--navy);
  --accent-soft: #e7eef5;
  --teal-soft: #e5f1ef;
  --radius: 12px;
  --font: "Geist Sans", "Geist Sans Fallback", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Poppins", "Poppins Fallback", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117;
    --surface: #151b23;
    --text: #e6edf3;
    --text-muted: #9aa4b2;
    --border: #2a323d;
    --navy: #7fb0dc;
    --teal: #7cc0b6;
    --accent: var(--navy);
    --accent-soft: #14283a;
    --teal-soft: #13302c;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 1.35rem; margin: 32px 0 12px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.independent { background: var(--accent-soft); font-size: 14px; padding: 6px 0; color: var(--text); }
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; font-size: 19px; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; align-items: center; }
.site-nav .btn { padding: 7px 14px; font-size: 14px; }
.site-nav a { color: var(--text-muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

main { padding: 40px 0 64px; }
.lede { color: var(--text-muted); font-size: 1.1rem; max-width: 680px; }
.muted { color: var(--text-muted); }
.small { font-size: 14px; }

.search-form { display: flex; gap: 10px; margin: 24px 0; max-width: 680px; }
.search-form input {
  flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface); color: var(--text);
}
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn {
  font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 12px 18px; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none; display: inline-block;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #0d1117; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }

/* Screening report: one card per list, status as a pill (owner 9.11.2026). */
.screen { margin-top: 36px; }
.screen-head h2 { margin: 0 0 6px; }
.screen-head p { margin: 0 0 16px; }
.screen-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.screen-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-width: 0;
}
.screen-place {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.screen-card strong { font-size: 15px; line-height: 1.35; }
.screen-date { font-size: 13px; color: var(--text-muted); }
.screen-status { margin-top: 4px; }
.screen-status-clear { background: var(--teal-soft); color: var(--text); }
.screen-status-hits { background: #fbe9e7; color: #b42318; }
.screen-status-not_loaded { background: var(--accent-soft); color: var(--text-muted); }
.screen-hit { margin: 8px 0 0; }
.screen-people { margin-top: 12px; }
.screen-actions { margin: 16px 0 8px; }
.screen-notes { font-size: 13px; color: var(--text-muted); }
.screen-notes p { margin: 0 0 8px; }
@media (max-width: 640px) { .screen-grid { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screen-status-hits { background: #3a1714; color: #f4a59d; }
}
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); }

.hits { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.hits a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.hits a:hover { border-color: var(--accent); }
.hits .meta { display: block; color: var(--text-muted); font-size: 14px; }
.hits .hit-firms { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; padding: 0; }
.facts div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-size: 13px; color: var(--text-muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 15px; white-space: nowrap; }
th { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.notice { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; margin: 20px 0; }
.error-box { border: 1px solid #d14343; border-radius: 10px; padding: 12px 14px; }
.source { font-size: 14px; color: var(--text-muted); margin-top: 24px; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--text-muted); background: var(--surface); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
/* Tap targets of at least 24 px on phones: the padding widens the hit area without moving the lines. */
.site-footer nav a, .founder .small a { padding: 4px 0; }

@media (max-width: 560px) {
  .search-form { flex-direction: column; }
  /* Tables wrap their cells on phones; the price table then fits 375 px, wider tables still scroll in .table-wrap. */
  .table-wrap th, .table-wrap td { white-space: normal; padding: 8px; font-size: 14px; }
  /* Secondary columns of the filings table (submitted, formats) stay off phones; the date, size and PDF remain. */
  .col-sub { display: none; }
}
/* Links inside tables get a 24 px hit area without moving the rows. */
.table-wrap td a:not(.badge), .table-wrap th a { padding: 4px 0; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { flex: none; }
.brand .w1 { color: var(--navy); }
.brand .w2 { color: var(--teal); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
/* The dark-mode rule for .btn sets dark text for filled buttons; outline buttons keep the accent colour. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-outline { color: var(--navy); } }

/* Start page */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 16px 0 8px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--navy); }
.hero-art { width: 100%; height: auto; }
/* Kundencheck: traffic light and levels (src/lib/kundencheck.ts) */
.check-head { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 16px 0 8px; }
.check-light { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--border); }
.check-green { background: #2f8f5b; }
.check-yellow { background: #d9a400; }
.check-red { background: #c0392b; }
.check-level { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 13px; white-space: nowrap; background: var(--accent-soft); color: var(--navy); }
.check-level.check-ok { background: #e3f3ea; color: #1f5f3c; }
.check-level.check-note { background: #fbf1d3; color: #6b5100; }
.check-level.check-warn, .check-level.check-stop { background: #f8dfdb; color: #7a1f14; }
.check-table th, .check-table td { min-width: 0; }
/* Barometer charts: inline SVG, scaled with the column (src/components/barometer-charts.tsx). */
.chart { display: block; width: 100%; height: auto; margin: 8px 0 12px; max-width: 640px; }
.search-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 28px 0 8px; box-shadow: 0 8px 30px rgba(19, 37, 58, 0.06); }
.search-panel .search-form { margin: 0; max-width: none; }
.search-panel .hint { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; }
.section { padding: 40px 0 8px; }
.section-head h2 { margin: 0 0 6px; color: var(--navy); }
.recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 16px 0 0; }
.recent a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--text); height: 100%; }
.recent a:hover { border-color: var(--teal); }
.recent small { display: block; color: var(--text-muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
a.stat { display: block; height: 100%; text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--teal); }
.stat strong { display: block; font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--text-muted); font-size: 14px; overflow-wrap: normal; hyphens: manual; }
.stat small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 12px; font-weight: 400; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; }
.chips a:hover { border-color: var(--teal); }
.card .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 10px; font-weight: 700; }
.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.cta h2 { margin: 0 0 4px; color: #fff; }
.cta p { margin: 0; opacity: 0.85; }
.cta .btn { background: var(--teal); color: #0d2233; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--text-muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

@media (max-width: 640px) {
  .site-nav .nav-secondary { display: none; }
  /* Phones: the brand on its own line, the menu as one row below it (before: a 120 px column beside the brand, 1.11.2026). */
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
  .site-nav { width: 100%; gap: 14px; justify-content: space-between; }
  .site-nav a { padding: 6px 0; }
  .site-nav .btn { padding: 6px 12px; }
  .brand { font-size: 17px; }
  .independent { font-size: 13px; }
}

.login-form { display: grid; gap: 10px; max-width: 420px; margin-top: 20px; }
.login-form input { font: inherit; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
.login-form label { font-weight: 600; font-size: 15px; }
.report-table td, .report-table th { text-align: right; }
.report-table td:first-child, .report-table th:first-child { text-align: left; white-space: normal; min-width: 220px; }
.report-section { margin-top: 28px; }

/* Financial report: certificate look inspired by swipesign (owner 9.11.2026). Mesh + dashed panels + seal. */
.report-cert {
  --report-mesh: #9eb6cc;
  position: relative;
  margin: -8px -16px 0;
  padding: 28px 16px 48px;
  background-color: #eef3f8;
  background-image:
    radial-gradient(ellipse 80% 55% at 50% 40%, rgba(255, 255, 255, 0.92) 0%, rgba(238, 243, 248, 0.55) 55%, transparent 78%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%239eb6cc' stroke-width='0.7' opacity='0.55'><path d='M0 20h160M0 40h160M0 60h160M0 80h160M0 100h160M0 120h160M0 140h160'/><path d='M20 0v160M40 0v160M60 0v160M80 0v160M100 0v160M120 0v160M140 0v160'/><path d='M0 0l160 160M0 40l120 120M0 80l80 80M0 120l40 40M40 0l120 120M80 0l80 80M120 0l40 40M0 160l160-160M40 160l120-120M80 160l80-80M120 160l40-40'/></g></svg>");
  background-size: auto, 160px 160px;
}
.report-cert-sheet {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 28px 36px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--report-mesh) 55%, var(--border));
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(19, 37, 58, 0.08);
  backdrop-filter: blur(1px);
}
.report-back { margin: 0 0 14px; }
.report-cert-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}
.report-cert-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.report-cert-titles h1 { margin: 0 0 10px; max-width: 18ch; }
.report-cert-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.report-seal {
  width: 118px;
  height: 118px;
  color: var(--navy);
  opacity: 0.88;
  flex: none;
}
.report-seal-mark { font-family: var(--font-heading); font-size: 22px; font-weight: 700; fill: currentColor; }
.report-seal-sub { font-size: 8px; font-weight: 600; letter-spacing: 0.18em; fill: currentColor; }
.report-seal-ring { font-size: 7.2px; letter-spacing: 0.22em; fill: currentColor; text-transform: uppercase; }
.report-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px dashed color-mix(in srgb, var(--navy) 35%, var(--border));
  border-radius: 2px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.report-meta-item { margin: 0; min-width: 0; }
.report-meta dt {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.report-meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.report-cert .actions { margin: 0 0 8px; }
.report-cert .btn-outline {
  border-radius: 8px;
  border-color: color-mix(in srgb, var(--navy) 55%, var(--border));
  background: var(--surface);
}
.report-cert-body { margin-top: 8px; }
.report-panel,
.report-cert .report-section {
  margin-top: 22px;
  padding: 18px 18px 16px;
  border: 1px dashed color-mix(in srgb, var(--navy) 28%, var(--border));
  border-radius: 2px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.report-cert .report-section > h2:first-child,
.report-panel > h2:first-child { margin-top: 0; }
.report-cert .signals { margin-top: 14px; }
.report-cert .signal {
  border-radius: 2px;
  border-style: dashed;
  /* The level stripe stays a solid line; dashed it looked broken (owner 12.11.2026). */
  border-left-style: solid;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.report-cert .chart {
  border-radius: 2px;
  border-style: dashed;
}
.report-cert .ai-summary,
.report-cert .ai-block {
  border-radius: 2px;
  border: 1px dashed color-mix(in srgb, var(--navy) 22%, var(--border));
}
@media (max-width: 720px) {
  .report-cert { margin: 0; padding: 12px 0 32px; }
  .report-cert-sheet { padding: 20px 16px 28px; }
  .report-cert-head { grid-template-columns: 1fr; }
  .report-seal { width: 88px; height: 88px; }
  .report-meta { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .report-cert {
    --report-mesh: #3d5670;
    background-color: #101820;
    background-image:
      radial-gradient(ellipse 80% 55% at 50% 40%, rgba(21, 27, 35, 0.92) 0%, rgba(16, 24, 32, 0.6) 55%, transparent 78%),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%233d5670' stroke-width='0.7' opacity='0.7'><path d='M0 20h160M0 40h160M0 60h160M0 80h160M0 100h160M0 120h160M0 140h160'/><path d='M20 0v160M40 0v160M60 0v160M80 0v160M100 0v160M120 0v160M140 0v160'/><path d='M0 0l160 160M0 40l120 120M0 80l80 80M0 120l40 40M40 0l120 120M80 0l80 80M120 0l40 40M0 160l160-160M40 160l120-120M80 160l80-80M120 160l40-40'/></g></svg>");
  }
}
/* Printed pages (owner 12.11.2026): the same margin on every page, page numbers at the foot. Defining the margin
   boxes also replaces the browser's own header and footer lines (date, title, address). */
@page {
  margin: 14mm 14mm 16mm;
  @top-left { content: ""; }
  @bottom-left { content: "firmenregisterdaten.de"; font: 8pt system-ui, sans-serif; color: #667; }
  @bottom-right { content: "Seite " counter(page) " von " counter(pages); font: 8pt system-ui, sans-serif; color: #667; }
}
@media print {
  /* Nothing may push an empty last page: no viewport heights, no trailing padding or margins. */
  html, body { height: auto !important; min-height: 0 !important; margin: 0; padding: 0; }
  main, .app-main, .wrap { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .report-cert { margin: 0; padding: 0; }
  .report-cert-sheet > :last-child, .report-cert-sheet > :last-child > :last-child { margin-bottom: 0; padding-bottom: 0; }
  .report-cert {
    margin: 0;
    padding: 0;
    background: #fff;
    background-image: none;
  }
  .report-cert-sheet {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }
  .report-seal { opacity: 0.55; }
  .report-meta, .report-panel, .report-cert .report-section, .report-cert .signal, .report-cert .chart {
    border-color: #999;
    background: #fff;
  }
}

.founder { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-top: 40px; }
.founder h2 { margin: 0 0 4px; color: var(--navy); }
.founder-photo { width: 160px; height: auto; border-radius: 12px; object-fit: cover; }
.stations { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 4px; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder-photo { width: 120px; } }

.plan .price { font-size: 1.1rem; margin: 12px 0 16px; }
.plan .price strong { font-size: 1.8rem; color: var(--navy); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }

@media print {
  /* The signed-in sidebar (logo, menu, account) never prints: a saved report starts with its title (owner 12.11.2026). */
  .independent, .site-header, .site-footer, .no-print, .skip-link, .app-side { display: none !important; }
  .app-shell { display: block; min-height: 0; background: #fff; }
  .app-main { padding: 0; }
  body { background: #fff; color: #000; font-size: 11pt; }
  main { padding: 0; }
  .table-wrap { overflow: visible; }
  table { border: 1px solid #999; }
  th, td { padding: 4px 6px; font-size: 9pt; }
  a { color: #000; text-decoration: none; }
}

.filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 16px 0 8px; }
.filter-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.filter-form input, .filter-form select, .actions select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }

.key { display: block; word-break: break-all; font-size: 14px; background: var(--surface); padding: 10px; border-radius: 8px; border: 1px solid var(--border); }
pre.code { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: 13px; }

/* Search hits with status (24.10.2026) */
.hit-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }
.dot-off { background: #c0392b; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.badge-deleted { background: #fbe9e7; color: #b42318; }
.badge-teal { background: var(--teal-soft); color: var(--text); }
.hits a.is-deleted strong { color: var(--text-muted); }
@media (prefers-color-scheme: dark) {
  .badge-deleted { background: #3a1714; color: #f4a59d; }
}

/* Register details and locked sections on the company page */
.section-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.section-card h2 { margin-top: 0; }
.persons { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.persons li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.persons li:last-child { border-bottom: 0; padding-bottom: 0; }
.persons .role { color: var(--text-muted); font-size: 14px; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.history time { color: var(--text-muted); display: inline-block; min-width: 110px; }
.locked-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.locked-item { border: 1px dashed var(--border); border-radius: 10px; padding: 14px; position: relative; }
.locked-item h3 { font-size: 16px; margin: 0 0 4px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.locked-item p { margin: 0; font-size: 14px; color: var(--text-muted); }
.teaser { display: grid; grid-template-columns: minmax(150px, 200px) 1fr; gap: 16px; align-items: center; margin: 12px 0; }
.teaser-size { display: flex; flex-direction: column; gap: 4px; }
.teaser-size strong { font-size: 22px; }
.teaser-curve { margin: 0; }
.teaser-curve .chart { margin: 0 0 4px; max-width: 420px; }
.teaser-included { font-size: 16px; margin: 20px 0 0; }
@media (max-width: 560px) { .teaser { grid-template-columns: 1fr; } }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Guide, legal-form, state and comparison pages */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-muted); margin: 8px 0 12px; }
.breadcrumbs > * + *::before { content: "›"; margin-right: 6px; color: var(--text-muted); }
.guide-meta { font-size: 14px; color: var(--text-muted); margin: -4px 0 12px; }
.guide ul { padding-left: 1.2em; }
.guide li { margin: 4px 0; }
.link-list { list-style: none; padding: 0 !important; margin: 8px 0; display: grid; gap: 6px; }
.compare-table th, .compare-table td { white-space: normal; vertical-align: top; min-width: 140px; }
.compare-table thead th { background: var(--teal-soft); color: var(--navy); }
.compare-table tbody th { font-weight: 600; }
.cell-source { font-size: 12px; white-space: nowrap; }
.narrow-block { max-width: 760px; }
a.card-link { text-decoration: none; color: var(--text); }
a.card-link:hover { border-color: var(--teal); }
.short-box { background: var(--teal-soft); border: 1px solid var(--teal); border-radius: 14px; padding: 18px 20px; margin: 16px 0 20px; }
.short-box h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.short-box ul { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 8px; }
.short-box li { display: grid; grid-template-columns: 22px 1fr; gap: 4px; margin: 0; }
.tick { color: var(--teal); font-weight: 700; }
.compare-table th.ours, .compare-table td.ours { background: color-mix(in srgb, var(--teal-soft) 55%, transparent); }

/* Signed-in work area (src/app/(app)/layout.tsx): sidebar left, content right, like the Kryptofiskus app. */
body:has(.app-shell) > .independent,
body:has(.app-shell) .site-header,
body:has(.app-shell) .site-footer { display: none; }
body:has(.app-shell) main { padding: 0; }
.app-shell { display: flex; min-height: 100vh; background: var(--bg); }
.app-side {
  width: 248px; flex: none; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border-right: 1px solid var(--border); padding: 18px 12px 14px; overflow-y: auto;
}
.app-brand { padding: 2px 8px 6px; font-size: 16px; }
.app-nav { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.app-nav-section { display: flex; flex-direction: column; gap: 2px; }
.app-nav-title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding: 0 10px 6px; }
.app-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.app-link svg { color: var(--text-muted); flex: none; }
.app-link:hover { background: var(--accent-soft); }
.app-link.active { background: var(--accent-soft); color: var(--navy); font-weight: 600; }
.app-link.active svg { color: var(--navy); }
.app-badge { margin-left: auto; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: var(--teal-soft); color: var(--text-muted); }
.app-user { position: relative; border-top: 1px solid var(--border); padding-top: 10px; }
.app-user-btn {
  display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; list-style: none;
}
.app-user-btn::-webkit-details-marker { display: none; }
.app-user-btn:hover { background: var(--accent-soft); }
.app-avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--navy);
}
.app-user-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.app-user-text strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-user-text span { font-size: 12px; color: var(--text-muted); }
.app-user-chevron { color: var(--text-muted); display: grid; transition: transform 0.15s; }
.app-user:not([open]) .app-user-chevron { transform: rotate(180deg); }
.app-user-menu {
  position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; z-index: 20; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.app-user-menu form { margin: 0; }
.app-user-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 4px 0; }
.app-user-legal a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.app-user-legal a:hover { color: var(--text); }
.app-upgrade { color: var(--navy); font-weight: 600; }
.app-main { flex: 1; min-width: 0; padding: 32px 0 64px; }
.app-main .wrap { max-width: 1040px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-head h1 { margin: 0; }
.dash-search { display: flex; gap: 8px; margin: 18px 0 8px; }
.dash-search input { flex: 1; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.dash-card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.dash-card .hits { margin: 0; }
@media (max-width: 900px) {
  .app-shell { flex-direction: column; }
  .app-side { position: static; width: auto; height: auto; flex-direction: column; gap: 10px; border-right: 0; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .app-nav { flex-direction: row; overflow-x: auto; gap: 4px; }
  .app-nav-section { flex-direction: row; gap: 4px; }
  .app-nav-title { display: none; }
  .app-link { width: auto; white-space: nowrap; }
  .app-user-menu { bottom: auto; top: calc(100% + 6px); }
  .app-main { padding: 20px 0 48px; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Financial report: charts, traffic lights, structured AI analysis (28.10.2026) */
:root {
  --ch-navy: #1f5480;
  --ch-navy-2: #8fb1cf;
  --ch-teal: #5fa39a;
  --ch-teal-2: #b3d8d2;
  --ch-sand: #c98b4f;
  --ch-sand-2: #e8c39c;
  --ch-grey: #c9d0d9;
  --ch-grid: #e6e9ef;
  --ch-axis: #5a6779;
  --sig-green: #2e8b57;
  --sig-yellow: #d4a017;
  --sig-red: #c0392b;
  --sig-none: #9aa4b2;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ch-navy: #7fb0dc;
    --ch-navy-2: #3f6a91;
    --ch-teal: #7cc0b6;
    --ch-teal-2: #3c7a71;
    --ch-sand: #e0a46a;
    --ch-sand-2: #8a6340;
    --ch-grey: #4a5462;
    --ch-grid: #262e39;
    --ch-axis: #9aa4b2;
    --sig-green: #4cc38a;
    --sig-yellow: #f2c94c;
    --sig-red: #f0786b;
  }
}
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-top: 12px; }
.charts-single { grid-template-columns: minmax(0, 640px); }
.chart { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 10px; min-width: 0; }
.chart-title { font-weight: 600; margin-bottom: 6px; color: var(--text); }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg text { font-family: var(--font); }
.chart-note { margin: 6px 0 0; font-size: 13px; color: var(--text-muted); }
.chart-legend { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-muted); }
.chart-legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.ch-navy { fill: var(--ch-navy); background: var(--ch-navy); }
.ch-navy-2 { fill: var(--ch-navy-2); background: var(--ch-navy-2); }
.ch-teal { fill: var(--ch-teal); background: var(--ch-teal); }
.ch-teal-2 { fill: var(--ch-teal-2); background: var(--ch-teal-2); }
.ch-sand { fill: var(--ch-sand); background: var(--ch-sand); }
.ch-sand-2 { fill: var(--ch-sand-2); background: var(--ch-sand-2); }
.ch-grey { fill: var(--ch-grey); background: var(--ch-grey); }
.ch-grid { stroke: var(--ch-grid); stroke-width: 1; }
.ch-zero { stroke: var(--ch-axis); stroke-width: 1; }
.ch-axis { fill: var(--ch-axis); font-size: 11px; }
.ch-value { fill: var(--text); font-size: 10.5px; font-weight: 600; }
.ch-foot { font-size: 11px; font-weight: 600; }
.ch-teal-text { fill: var(--ch-teal); }
.ch-side { fill: var(--ch-axis); font-size: 9.5px; }
.ch-inbar { fill: #fff; font-size: 9.5px; font-weight: 600; paint-order: stroke; stroke: rgba(0, 0, 0, 0.25); stroke-width: 2px; }

.signals { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
/* Four rows per tile shared across a row of tiles (subgrid): name, figure, level, rule always on the same lines. */
.signal { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 4px; align-content: start; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--sig-none); border-radius: 10px; padding: 12px 14px; }
.signal-name { font-size: 14px; color: var(--text-muted); line-height: 1.35; align-self: end; }
.signal-value { font-size: 1.6rem; line-height: 1.15; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.signal-level { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.signal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sig-none); flex: none; }
.signal-rule { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.signal-green { border-left-color: var(--sig-green); } .signal-green .signal-dot { background: var(--sig-green); } .signal-green .signal-level { color: var(--sig-green); }
.signal-yellow { border-left-color: var(--sig-yellow); } .signal-yellow .signal-dot { background: var(--sig-yellow); } .signal-yellow .signal-level { color: #9a7400; }
.signal-red { border-left-color: var(--sig-red); } .signal-red .signal-dot { background: var(--sig-red); } .signal-red .signal-level { color: var(--sig-red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .signal-yellow .signal-level { color: var(--sig-yellow); } }
.findings-title { font-size: 1rem; margin: 18px 0 6px; }
.findings { margin: 0 0 8px; padding-left: 20px; }
.findings li { margin: 2px 0; }

.ai-analysis { display: grid; gap: 12px; }
.ai-summary { background: var(--accent-soft); border-radius: var(--radius); padding: 14px 16px; }
.ai-summary h3, .ai-block h3 { margin: 0 0 6px; font-size: 1rem; }
.ai-summary p, .ai-block p { margin: 0; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ai-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.ai-block ul { margin: 0; padding-left: 18px; }
.ai-strengths { border-top: 3px solid var(--sig-green); }
.ai-risks { border-top: 3px solid var(--sig-red); }
.ai-label { margin: 0; }

.teaser { position: relative; margin-top: 24px; border-radius: var(--radius); overflow: hidden; }
.teaser-charts { filter: blur(3px); opacity: 0.75; pointer-events: none; user-select: none; display: grid; gap: 12px; }
.teaser-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px; background: color-mix(in srgb, var(--bg) 45%, transparent); }
.teaser-overlay p { margin: 0; max-width: 440px; color: var(--text); }
@media (max-width: 640px) { .charts { grid-template-columns: minmax(0, 1fr); } .chart { padding: 12px 10px 8px; } }
@media print {
  .chart, .signal, .ai-block { break-inside: avoid; }
  .teaser { display: none; }
  /* Printed report (owner 12.11.2026): the four tiles in one row and never split over two pages, headings stay
     with what follows, and the level colours (dot, stripe) print instead of turning grey. */
  .signals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; break-inside: avoid; }
  .signal { padding: 8px 10px; }
  .signal-value { font-size: 1.25rem; }
  .report-section > h2, .report-section > h3, .findings-title { break-after: avoid; }
  .signal, .signal-dot, .signal-level { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report-cert .signal-green { border-left-color: var(--sig-green); }
  .report-cert .signal-yellow { border-left-color: var(--sig-yellow); }
  .report-cert .signal-red { border-left-color: var(--sig-red); }
}

/* Admin: folding sections and the visitor count (28.10.2026) */
.fold { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 12px; }
.fold > summary { cursor: pointer; font-weight: 600; font-size: 1.2rem; padding: 4px 0; }
.fold-body { margin-top: 8px; }
.stat .small { display: block; margin-top: 4px; }
.signup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.signup-grid h4 { margin: 0 0 12px; font-size: 0.95rem; }
.signup-bars { display: flex; align-items: flex-end; gap: 2px; height: 110px; border-bottom: 1px solid var(--border); }
.signup-bars span { flex: 1; min-height: 2px; background: var(--navy); border-radius: 2px 2px 0 0; opacity: 0.85; }
.signup-axis { display: flex; justify-content: space-between; margin-top: 4px; }
.funnel-row { margin-bottom: 10px; }
.funnel-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.funnel-track { height: 8px; background: var(--accent-soft); border-radius: 999px; overflow: hidden; }
.funnel-track span { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.signup-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.signup-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.signup-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--border); margin-right: 8px; vertical-align: middle; }
/* Admin frame (owner 5.11.2026): navigation left from 1100 px, tabs that scroll sideways on phones. */
.admin-frame { display: grid; grid-template-columns: 1fr; gap: 12px; }
.admin-nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 16px 4px; border-bottom: 1px solid var(--border); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.admin-nav a { flex: none; padding: 6px 10px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.admin-nav a:hover { background: var(--accent-soft); color: var(--navy); }
.admin-nav a.active { background: var(--accent-soft); color: var(--navy); font-weight: 600; }
.admin-content { min-width: 0; }
.row-highlight td { background: var(--accent-soft); }
@media (min-width: 1100px) {
  .admin-frame { grid-template-columns: 180px 1fr; gap: 20px; }
  .admin-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--border); padding: 24px 8px; position: sticky; top: 0; align-self: start; overflow: visible; }
}
.dash-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 12px 0; }
.dash-filter label { display: grid; gap: 2px; font-size: 13px; color: var(--text-muted); }
.dash-filter select, .dash-filter input { font: inherit; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.kpi strong { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1.15; }
.kpi span { display: block; font-size: 13px; color: var(--text-muted); }
.kpi .delta { font-size: 13px; margin-top: 4px; }
.kpi .delta.up { color: #1f7a45; }
.kpi .delta.down { color: #a33a2c; }
.kpi .delta.flat { color: var(--text-muted); }
.dash-section { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 24px; }
.dash-section h2 { margin: 0 0 4px; }
.dash-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; align-items: start; }
.dash-charts .dash-card { padding: 12px; }
.dash-chart { margin: 0; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.dash-actions details { width: 100%; }
.dash-actions summary { cursor: pointer; }
.live-who { margin-top: 8px; }
.live-who ul { padding-left: 18px; margin: 6px 0; display: grid; gap: 4px; }
.live-who code { overflow-wrap: anywhere; }
.login-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); line-height: 1.45; margin: 4px 0 8px; cursor: pointer; }
.login-form .consent span { font-weight: 400; }
.login-form .consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.notrack-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-small { padding: 4px 10px; font-size: 13px; }
.live-dot.on { background: #1a9d4b; box-shadow: 0 0 0 4px rgba(26, 157, 75, 0.2); }
.period-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.period-switch a[aria-current="true"] { font-weight: 700; text-decoration: none; color: var(--text); }
.analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; margin-top: 16px; }
/* Admin only (owner 13.11.2026: "alles auf einmal sehen"): tables fit their column, long values wrap, pages get the full width. */
.analytics-grid > div { min-width: 0; }
.analytics-grid .analytics-wide { grid-column: 1 / -1; }
.analytics-table { overflow-x: visible; }
.analytics-table table { width: 100%; table-layout: fixed; }
.analytics-table th:nth-child(n+2), .analytics-table td:nth-child(n+2) { width: 6.5rem; text-align: right; white-space: nowrap; }
.analytics-table th:first-child, .analytics-table td:first-child { white-space: normal; overflow-wrap: anywhere; }
.analytics-grid h3 { font-size: 1rem; margin: 0 0 8px; }

/* Insolvency edicts on the company page */
.insolvency { border-color: #d9a441; }
.insolvency-item { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }

/* Court-list directories */
.directory { list-style: none; padding: 0; margin: 16px 0; }
.directory li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.directory .meta { color: var(--text-muted); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }

/*
 * Every form field in the page font with one look (owner 30.10.2026: the "täglich" select showed the browser's own
 * font and frame next to the styled button). Checkboxes and radios keep their native look.
 */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; line-height: 1.4;
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6779' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.press-md { width: 100%; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.watch-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.watch-pick { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--border); }
.watch-pick form { margin: 0; }

/* Locked groups on company pages (src/components/company-paywall.tsx): field names with masked values. */
.paywall .masked { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; color: var(--text-muted); }
.paywall .masked li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--border); padding: 2px 0; }
.paywall .locked-item { display: flex; flex-direction: column; gap: 6px; }
.paywall .locked-item .btn { align-self: flex-start; margin-top: auto; }
.paywall code { overflow-wrap: anywhere; }

/* Admin in customer view (src/app/layout.tsx): impossible to miss, on every page. */
.customer-view-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; padding: 8px 16px; background: #fff4d6; border-bottom: 2px solid #e0a800; font-size: 14px; }

/* Shop (src/app/(app)/shop): the current plan stands out, each price line with its button. */
.plan-current { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-soft); }
.shop-price { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.shop-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.shop-search input { flex: 1 1 220px; min-width: 0; }
.shop-matches { list-style: none; padding: 0; }
.shop-matches li { border-top: 1px solid var(--border); padding: 10px 0; }

/* ---------- Pricing, shop and plan columns (owner 8.11.2026: "wie swipesign.io, modern, schnell, stylisch") ----------
   Large radii, soft shadows, plenty of white space; only CSS transitions on hover; heights come from the content,
   nothing loads later, so there is no layout shift. Colours from the variables above, so dark mode follows. */
:root { --radius-lg: 18px; --shadow-soft: 0 1px 2px rgb(19 37 58 / 0.04), 0 8px 24px rgb(19 37 58 / 0.06); --shadow-lift: 0 2px 4px rgb(19 37 58 / 0.06), 0 16px 40px rgb(19 37 58 / 0.10); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35); --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.5), 0 16px 40px rgb(0 0 0 / 0.45); } }

.btn-pill { border-radius: 999px; padding: 12px 22px; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; }
.btn-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.pricing-hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center;
  padding: 48px 40px; margin: 8px 0 40px; border-radius: 24px;
  background: radial-gradient(1200px 400px at 0% 0%, var(--accent-soft), transparent 60%), radial-gradient(900px 400px at 100% 100%, var(--teal-soft), transparent 60%), var(--surface);
  border: 1px solid var(--border);
}
.pricing-hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.pricing-hero h1 .accent { color: var(--teal); }
.pricing-hero .hero-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; color: var(--text-muted); font-size: 1.05rem; }
.pricing-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.preview-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 22px; }
.preview-card .preview-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 4px; }
.preview-card .preview-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; }
.preview-card .preview-sub { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; }
.preview-card dl { margin: 0; display: grid; gap: 8px; }
.preview-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.preview-card dt { color: var(--text-muted); }
.preview-card dd { margin: 0; font-weight: 600; letter-spacing: 0.08em; }
.preview-card .preview-foot { margin: 14px 0 0; font-size: 12px; color: var(--text-muted); }

.pricing { margin: 8px 0 24px; }
.pricing { text-align: center; }
.pricing-grid { text-align: left; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tier-highlight { border: 2px solid var(--navy); }
.tier-current { outline: 3px solid var(--teal-soft); }
.tier-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tier-badge { color: #0d1117; } }
.tier-name { margin: 0; font-size: 1.25rem; }
.tier-tagline { margin: 0; color: var(--text-muted); font-size: 14px; min-height: 2.6em; }
.tier-price { margin: 6px 0 0; }
.tier-price strong { display: block; font-family: var(--font-heading); font-size: 2.4rem; line-height: 1.1; color: var(--text); letter-spacing: -0.02em; }
.tier-price span { color: var(--text-muted); font-size: 14px; }
.tier-note { margin: 0; font-size: 13px; color: var(--text-muted); }
.tier-list { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 8px; font-size: 14px; }
.tier-list li { position: relative; padding-left: 26px; line-height: 1.4; }
.tier-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-soft);
}
.tier-list li::after { content: ""; position: absolute; left: 5px; top: 5px; width: 6px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tier-action { margin-top: auto; }
.tier-action .btn, .tier-action button.btn { width: 100%; text-align: center; border-radius: 999px; }
.tier-action form { margin: 0; }
.tier-action .badge { display: block; text-align: center; padding: 10px; border-radius: 999px; height: auto; }
.tier-action .small { margin: 8px 0 0; }

.single-strip {
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin: 20px 0 8px;
  padding: 20px 24px; border-radius: var(--radius-lg); border: 1px dashed var(--border); background: var(--surface);
}
.single-strip strong { font-family: var(--font-heading); }
.single-strip p { margin: 4px 0 0; color: var(--text-muted); font-size: 14px; }

.pricing-section { margin: 56px 0 0; }
.pricing-section > h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 16px; }
.pricing-section .table-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-soft); }
.pricing-section .faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 0 0 10px; transition: box-shadow 0.15s ease; }
.pricing-section .faq details[open] { box-shadow: var(--shadow-soft); }
.pricing-section .faq summary { cursor: pointer; font-weight: 600; }
.pricing-cta {
  margin: 56px 0 24px; padding: 40px 32px; border-radius: 24px; text-align: center; border: 1px solid var(--border);
  background: radial-gradient(800px 300px at 50% 0%, var(--accent-soft), transparent 70%), var(--surface);
}
.pricing-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); }
.pricing-cta p { margin: 0 auto 20px; max-width: 560px; color: var(--text-muted); }
.pricing-cta .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (max-width: 900px) {
  .pricing-hero { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; gap: 28px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .tier-highlight { order: -1; }
  .tier-tagline { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .tier, .btn-pill { transition: none; } .tier:hover, .btn-pill:hover { transform: none; } }
/* Plan block on /konto in the same language as the shop. */
#tarif .table-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-soft); }
#tarif .btn { border-radius: 999px; }
/* Signed in, figures of this company locked (src/app/(app)/firma/[slug]/page.tsx). */
.lock-banner { margin: 16px 0; padding: 14px 18px; border-radius: 14px; border: 1px solid #e0a800; background: #fff8e1; color: var(--text); }
.next-step { margin: 16px 0; padding: 16px 18px; border-radius: 14px; background: var(--teal-soft); }
.next-step h2 { margin: 0 0 6px; font-size: 1.2rem; }
.next-step .next-lead { margin: 0 0 12px; }
/* Purpose question on the company page (src/components/purpose-ask.tsx) */
.purpose-ask { margin: 16px 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.purpose-ask h2 { margin: 0 0 10px; font-size: 1.05rem; }
.purpose-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.purpose-chips .chip { font: inherit; font-weight: 600; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.purpose-chips .chip:hover { border-color: var(--teal); }
.purpose-chips .chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.purpose-chips .chip-on { border-color: var(--teal); background: var(--teal-soft); }
.purpose-step { margin-top: 12px; }
.purpose-step p { margin: 0 0 10px; max-width: 70ch; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lock-banner { background: #2a2210; border-color: #8a6a00; } }

/* Offer card on company pages (src/components/company-paywall.tsx, owner 8.11.2026 "swipesign-Design"):
   preview of what the unlock shows on the left, one purchase box on the right. */
.unlock-card { margin: 28px 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.unlock-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.unlock-preview h2 { margin: 0 0 16px; font-size: 1.25rem; }
.unlock-group { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--border); }
.unlock-group:first-of-type { border-top: 0; padding-top: 0; }
.unlock-group h3 { margin: 0 0 4px; font-size: 1rem; }
.unlock-group p { margin: 0 0 10px; color: var(--text-muted); font-size: 14px; }
.unlock-icon { flex: 0 0 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-weight: 700; }
.unlock-masked { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.unlock-masked div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.unlock-masked dt { font-size: 13px; color: var(--text-muted); }
.unlock-masked dd { margin: 0; }
.mask-bar { display: block; height: 12px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, var(--border), color-mix(in srgb, var(--border) 40%, transparent)); filter: blur(1.5px); }
.unlock-buy { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 16px; background: var(--accent-soft); }
.unlock-buy form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.unlock-price { margin: 0; }
.unlock-price strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; line-height: 1.1; letter-spacing: -0.02em; }
.unlock-price span { color: var(--text-muted); font-size: 14px; }
.unlock-buy .waiver { font-size: 13px; line-height: 1.45; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.unlock-buy .waiver input { margin-top: 3px; flex: 0 0 auto; }
.unlock-main, .unlock-second { width: 100%; text-align: center; }
.unlock-hint { margin: 0; font-size: 13px; color: var(--text-muted); }
.unlock-api { margin: 18px 0 0; font-size: 14px; color: var(--text-muted); overflow-wrap: anywhere; }
.unlock-links { margin: 8px 0 0; }
@media (max-width: 760px) {
  .unlock-card { padding: 20px; }
  .unlock-grid { grid-template-columns: minmax(0, 1fr); }
  .unlock-masked { grid-template-columns: minmax(0, 1fr); }
}
/* Account deletion (src/components/account-delete.tsx): unmistakable, but no alarm colour over the whole card. */
.btn-danger { background: #b42318; color: #fff; }
.btn-danger:hover { background: #912018; }
.account-delete { margin-top: 32px; }

/* API overview and documentation (owner 8.11.2026): data-area cards and documentation blocks in the pricing style. */
.api-hero .api-preview { margin: 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.api-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.api-area { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.api-area:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.api-area h3 { margin: 0; font-size: 1.05rem; }
.api-area p { margin: 0; color: var(--text-muted); font-size: 14px; }
.api-area dl { margin: 4px 0 0; display: grid; gap: 4px; font-size: 13px; }
.api-area dl div { display: flex; gap: 8px; }
.api-area dt { color: var(--text-muted); min-width: 52px; }
.api-area dd { margin: 0; }
.api-area-link { margin-top: auto; font-weight: 600; font-size: 14px; }
.api-area-off { background: var(--bg); box-shadow: none; }
.doc-block { margin: 0 0 24px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); scroll-margin-top: 16px; }
.doc-block h2 { margin-top: 0; font-size: 1.15rem; overflow-wrap: anywhere; }
.doc-block pre.code { white-space: pre-wrap; overflow-wrap: anywhere; }
.doc-method { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--text); font-size: 13px; font-weight: 700; vertical-align: middle; }
.doc-errors { padding-left: 18px; font-size: 14px; }
.doc-errors li { margin: 4px 0; }
@media (prefers-reduced-motion: reduce) { .api-area { transition: none; } .api-area:hover { transform: none; } }

/* API documentation (owner 8.11.2026): sticky table of contents on the left, collapsible on phones. */
.doc-wrap { max-width: 1200px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.doc-toc-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; font-size: 14px; padding: 4px 0; }
.doc-toc-list, .doc-toc-list ol { list-style: none; margin: 0; padding: 0; }
.doc-toc-list > li { margin: 0 0 10px; }
.doc-toc-list > li > a { font-weight: 600; color: var(--text); }
.doc-toc-list ol { margin: 4px 0 0 10px; padding-left: 10px; border-left: 2px solid var(--border); }
.doc-toc-list ol li { margin: 3px 0; }
.doc-toc-list a { text-decoration: none; color: var(--text-muted); }
.doc-toc-list a:hover { color: var(--navy); text-decoration: underline; }
.doc-toc-mobile { display: none; margin: 0 0 16px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.doc-toc-mobile summary { cursor: pointer; font-weight: 600; }
.doc-toc-mobile .doc-toc-list { margin-top: 12px; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-toc-side { display: none; } .doc-toc-mobile { display: block; } }
.doc-heading { scroll-margin-top: 16px; }
.doc-anchor { color: var(--text-muted); opacity: 0.5; display: inline-flex; margin-left: 8px; vertical-align: middle; }
.doc-heading:hover .doc-anchor, .doc-anchor:focus { opacity: 1; }
.doc-endpoint { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.doc-endpoint h3 { margin: 0 0 8px; font-size: 1.05rem; overflow-wrap: anywhere; }
.doc-endpoint h4 { margin: 18px 0 6px; font-size: 0.95rem; color: var(--navy); }
.doc-table { font-size: 14px; }
.doc-table td, .doc-table th { white-space: normal; vertical-align: top; }
.doc-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--navy); font-size: 12px; white-space: nowrap; }
.code-copy { position: relative; }
.code-copy pre.code { padding-right: 84px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-copy-btn { position: absolute; top: 8px; right: 8px; padding: 4px 10px; font-size: 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.code-copy-btn:hover { border-color: var(--navy); }
/* API overview: status per block and what the API does not return. */
.api-status { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--navy); }
.api-status-live { background: var(--teal-soft); color: var(--text); }
.api-status-nicht { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.api-not { padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.api-not ul { columns: 2 260px; margin: 8px 0 0; padding-left: 18px; }
.api-not li { margin: 4px 0; break-inside: avoid; }
.api-not h2 { margin-top: 0; }

/* UID check (/uid-pruefen). */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.uid-check { margin: 8px 0 12px; }
.uid-result { margin-top: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.uid-result p { margin: 6px 0; }
.uid-gueltig { border-left: 4px solid var(--teal); }
.uid-ungueltig, .uid-error { border-left: 4px solid #c2410c; }
.uid-unerreichbar { border-left: 4px solid #b7791f; }
.uid-data { display: grid; gap: 6px; margin: 8px 0; font-size: 14px; }
.uid-data div { display: grid; grid-template-columns: 160px 1fr; gap: 8px; }
.uid-data dt { color: var(--text-muted); }
.uid-data dd { margin: 0; white-space: pre-line; }
@media (max-width: 560px) { .uid-data div { grid-template-columns: 1fr; gap: 0; } }

/* Connection graph (src/components/network-graph.tsx), loaded on click. */
.netgraph { margin: 12px 0 20px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.netgraph:fullscreen { overflow: auto; padding: 16px; }
.netgraph-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.netgraph-group { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.netgraph-group button { border: 0; background: var(--surface); color: var(--text); padding: 6px 12px; font-size: 14px; cursor: pointer; }
.netgraph-group button + button { border-left: 1px solid var(--border); }
.netgraph-group button[aria-pressed="true"] { background: var(--accent-soft); color: var(--navy); font-weight: 600; }
.netgraph-group button:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.netgraph-canvas { overflow: auto; max-height: 75vh; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.netgraph:fullscreen .netgraph-canvas { max-height: none; }
.netgraph-edge { stroke: var(--text-muted); stroke-width: 1.4; }
.netgraph-edge.ended { stroke-dasharray: 6 5; }
.netgraph-edge-label { font-size: 11px; fill: var(--text-muted); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.netgraph-node { fill: var(--surface); stroke: var(--navy); stroke-width: 1.5; }
.netgraph-node.company.start { fill: var(--accent-soft); stroke-width: 3; }
.netgraph-node.company.deleted { stroke-dasharray: 4 3; opacity: 0.7; }
.netgraph-node.legal { stroke: var(--teal); }
.netgraph-node.person { fill: var(--teal-soft); stroke: var(--teal); }
.netgraph-node.hidden { fill: var(--bg); stroke: var(--text-muted); stroke-dasharray: 3 3; }
.netgraph-label { font-size: 12px; fill: var(--text); }
.netgraph-link:focus-visible .netgraph-node { stroke-width: 4; stroke: var(--navy); }
.netgraph-list { padding-left: 18px; font-size: 14px; }
.netgraph-list li { margin: 4px 0; }
.netgraph-ended { color: var(--text-muted); }

/* Press releases from APA-OTS on the company page (src/lib/otsPress.ts) */
.press-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.press-list li { line-height: 1.4; }
