/* SchmollData – calm, Apple-style look: system font, generous space, white cards on a soft
   grey ground, a translucent bar, pill buttons, filled inputs. Light and dark each have their
   own values (not an inverted copy). */

:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;                 /* inset tiles: charts, code, panels */
  --fill: rgba(118, 118, 128, .12);     /* inputs, secondary buttons */
  --fill-hover: rgba(118, 118, 128, .2);
  --line: rgba(60, 60, 67, .13);        /* hairlines */
  --line-strong: rgba(60, 60, 67, .22);
  --text: #1d1d1f;
  --text-2: #424245;
  --text-3: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #0066cc;                /* links */
  --neg: #d70015;
  --ok: #248a3d;
  --warn: #b25000;
  --bar: rgba(255, 255, 255, .72);      /* frosted bars */
  --seg: rgba(232, 232, 237, .82);      /* segmented control track */
  --seg-on: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 6px 20px rgba(0, 0, 0, .05);
  --shadow-pop: 0 10px 30px rgba(0, 0, 0, .12);
  --radius: 18px;
  --radius-sm: 12px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --fill: rgba(118, 118, 128, .24);
    --fill-hover: rgba(118, 118, 128, .34);
    --line: rgba(84, 84, 88, .5);
    --line-strong: rgba(84, 84, 88, .8);
    --text: #f5f5f7;
    --text-2: #d1d1d6;
    --text-3: #98989d;
    --accent: #0a84ff;
    --accent-hover: #409cff;
    --accent-ink: #4aa3ff;
    --neg: #ff453a;
    --ok: #30d158;
    --warn: #ff9f0a;
    --bar: rgba(22, 22, 23, .72);
    --seg: rgba(44, 44, 46, .85);
    --seg-on: #636366;
    --shadow: none;
    --shadow-pop: 0 10px 30px rgba(0, 0, 0, .5);
  }
}

/* --- base -------------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.47; letter-spacing: -0.01em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--text); }
h1 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; }
h2 { font-size: 21px; line-height: 1.24; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
code, .mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; }
code { background: var(--fill); padding: 1px 6px; border-radius: 6px; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.neg { color: var(--neg); }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

/* --- top bar ------------------------------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: 1120px; margin: 0 auto; height: 56px; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; color: var(--text); letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .word span { color: var(--text-3); font-weight: 500; }
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(140deg, #3a9bff 0%, #0071e3 55%, #5e5ce6 100%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.logo svg { width: 16px; height: 16px; }
.search { flex: 1; max-width: 460px; position: relative; display: flex; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-3); pointer-events: none; }
.search input[type=search] { width: 100%; padding: 7px 12px 7px 33px; font-size: 14px; border-radius: 10px; }
.usermenu { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 13px; }
.usermenu a { color: var(--text-2); padding: 6px 10px; border-radius: 999px; }
.usermenu a:hover { background: var(--fill); text-decoration: none; }
.usermenu .me { display: inline-flex; align-items: center; gap: 7px; }
.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fill-hover); color: var(--text); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.usermenu form { margin: 0; }
.usermenu button.link { color: var(--text-2); font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.usermenu button.link:hover { background: var(--fill); text-decoration: none; }

/* --- layout ------------------------------------------------------------------------------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 36px 24px 72px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card > h2 { margin-bottom: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.card > h2 .muted { font-weight: 400; font-size: 14px; letter-spacing: -0.005em; }
.card h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; }
.card h3 .muted, .card h3 .small { font-weight: 400; font-size: 13px; letter-spacing: 0; }
section[id] { scroll-margin-top: 132px; }
.footer { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; font-size: 12px; color: var(--text-3); text-align: center; }

/* --- controls ----------------------------------------------------------------------------- */
input[type=text], input[type=search], input[type=password], textarea, select {
  font: inherit; font-size: 15px; letter-spacing: -0.01em; color: var(--text); background: var(--fill);
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 10px 14px; outline: none;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input[type=text]:focus, input[type=search]:focus, input[type=password]:focus, textarea:focus, select:focus {
  background: var(--surface); border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
textarea { width: 100%; min-height: 150px; font-family: var(--mono); font-size: 12.5px; }
input[type=checkbox] { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
button, .btn {
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 980px; padding: 8px 17px; background: var(--fill); color: var(--text);
  transition: background .2s, transform .12s, opacity .2s;
}
button:hover, .btn:hover { background: var(--fill-hover); text-decoration: none; }
button:active, .btn:active { transform: scale(.97); }
button:focus-visible, .btn:focus-visible, a:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
button.primary, .btn.primary { background: var(--accent); color: #fff; }
button.primary:hover, .btn.primary:hover { background: var(--accent-hover); }
button:disabled { opacity: .4; cursor: default; }
button.link { background: none; padding: 0; border-radius: 4px; color: var(--accent-ink); font-weight: 400; }
button.link:hover { background: none; text-decoration: underline; text-underline-offset: 2px; }
button.link:active { transform: none; }
button.link.neg { color: var(--neg); }

/* --- start page --------------------------------------------------------------------------- */
.hero { padding: 64px 0 40px; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 14px; }
.hero h1 .grad { background: linear-gradient(100deg, #0071e3 10%, #5e5ce6 60%, #bf5af2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-3); font-size: 19px; line-height: 1.42; margin: 0 auto 32px; max-width: 620px; letter-spacing: -0.015em; }
.hero form { position: relative; display: flex; align-items: center; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line); transition: box-shadow .2s; }
.hero form:focus-within { box-shadow: var(--shadow), 0 0 0 1px var(--accent), 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.hero form svg { width: 18px; height: 18px; color: var(--text-3); flex: none; }
.hero input, .hero input:focus { flex: 1; min-width: 0; background: transparent; border: 0; box-shadow: none; font-size: 17px; padding: 12px 12px; }
.hero button { padding: 11px 22px; font-size: 15px; }
.examples { margin-top: 16px; font-size: 13px; color: var(--text-3); }
.recent { max-width: 760px; margin: 8px auto 0; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list a.row { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); }
.list a.row:hover { text-decoration: none; }
.list a.row:hover .name { color: var(--accent-ink); }
.list .name { font-weight: 500; }
.list .sub { font-size: 13px; color: var(--text-3); text-align: right; }
.list .chev { color: var(--text-3); font-size: 18px; line-height: 1; }

/* --- company page ------------------------------------------------------------------------- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 8px 0 22px; }
.head .eyebrow { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 6px; letter-spacing: 0; }
.head .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--fill); color: var(--text-2); letter-spacing: -0.005em; }
.chip.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.chip.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.actions form { margin: 0; }

/* Section navigation as a segmented control that stays under the bar. */
.nav {
  position: sticky; top: 68px; z-index: 40; display: flex; gap: 2px; width: fit-content; max-width: 100%;
  margin: 0 auto 24px; padding: 3px; overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: var(--seg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 .5px var(--line), var(--shadow);
}
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 14px; border-radius: 999px; color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active { background: var(--seg-on); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px 28px; }
.fact .k { font-size: 12.5px; color: var(--text-3); margin-bottom: 3px; }
.fact .v { color: var(--text); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th:first-child, table.t td:first-child { padding-left: 0; }
table.t th:last-child, table.t td:last-child { padding-right: 0; }
table.t th { font-size: 12px; color: var(--text-3); font-weight: 500; letter-spacing: 0; border-bottom-color: var(--line-strong); }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tbody tr, table.t tr { transition: background .15s; }
table.t tr:hover td { background: color-mix(in srgb, var(--fill) 45%, transparent); }
table.t.small { font-size: 13px; }
.scroll-x { overflow-x: auto; }
/* Year table: labels stay visible while the years scroll sideways. */
table.years td:first-child, table.years th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); white-space: nowrap; padding-right: 18px; box-shadow: 1px 0 0 var(--line); }
table.years td:first-child { font-weight: 500; }
table.years tr:hover td:first-child { background: color-mix(in srgb, var(--fill) 45%, var(--surface)); }
table.years th .yr { font-size: 14px; font-weight: 600; color: var(--text); }
table.years th .src { font-size: 11.5px; font-weight: 400; color: var(--text-3); margin-top: 1px; }
table.years td.num { min-width: 104px; }

/* Small-multiple charts: one series each, inset tiles. */
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; margin-bottom: 24px; }
.chart { background: var(--surface-2); border-radius: 14px; padding: 16px 16px 8px; position: relative; }
.chart h3 { margin: 0 0 2px; }
.chart .latest { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.chart .latest .small { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.chart svg { display: block; width: 100%; height: 150px; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--text-3); font-size: 10.5px; font-family: inherit; }
.chart .bar { fill: var(--accent); transition: opacity .15s; }
.chart .bar.neg { fill: var(--neg); }
.chart .bar.dim { opacity: .35; }
.chart .hit { fill: transparent; cursor: default; }
.tip {
  position: absolute; pointer-events: none; display: none; z-index: 5; transform: translate(-50%, -100%);
  background: rgba(29, 29, 31, .86); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500;
  white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-pop);
}

/* --- panels, notices, misc ------------------------------------------------------------------ */
.notice { padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); margin-bottom: 16px; color: var(--text); }
.notice.err { background: color-mix(in srgb, var(--neg) 10%, var(--surface)); }
.notice strong { display: inline-flex; align-items: center; font-weight: 600; }
.log { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; margin-top: 10px; max-height: 260px; overflow: auto; }
.log:empty { display: none; }
.orbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 18px; margin: 0 0 20px; border-radius: 14px; background: var(--surface-2); }
.orbar form { margin: 0; flex: none; }

pre.doc { white-space: pre-wrap; font-family: var(--mono); font-size: 12px; background: var(--surface-2); padding: 16px; border-radius: 12px; max-height: 520px; overflow: auto; margin: 8px 0 0; }
iframe.pdf { width: 100%; height: 720px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }

details { margin-top: 6px; }
details > summary { cursor: pointer; color: var(--accent-ink); margin: 8px 0; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .2s; margin-right: 2px; }
details[open] > summary::before { transform: rotate(45deg) translate(-1px, -1px); }

.pubrow { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.pubrow:last-of-type { border-bottom: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid var(--fill-hover); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin-right: 9px; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- login, account, user admin ------------------------------------------------------------- */
.auth { max-width: 400px; margin: 56px auto; padding: 36px 34px; }
.auth .logo { width: 56px; height: 56px; border-radius: 15px; margin: 0 auto 18px; display: grid; }
.auth .logo svg { width: 30px; height: 30px; }
.auth h1 { font-size: 28px; text-align: center; margin-bottom: 6px; }
.auth > p { text-align: center; }
/* login: the brand moves from the top bar into the middle of the page */
.login .topbar { display: none; }
.login .wrap { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding-top: 24px; padding-bottom: 24px; }
.login .auth { width: 100%; margin: 0; padding: 44px 36px 36px; }
.login .auth .logo { width: 76px; height: 76px; border-radius: 20px; margin-bottom: 18px; box-shadow: 0 12px 28px -12px rgba(0, 113, 227, .65), inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.login .auth .logo svg { width: 40px; height: 40px; }
.wordmark { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; text-align: center; color: var(--text); }
.wordmark span { background: linear-gradient(100deg, #0071e3 10%, #5e5ce6 60%, #bf5af2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login .auth h1 { font-size: 17px; font-weight: 500; color: var(--text-3); letter-spacing: -0.01em; margin: 6px 0 0; }
.stack { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.stack label, .row-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.stack button { margin-top: 6px; padding: 11px 18px; font-size: 15px; }
.row-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 4px; }
.row-form label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 11px; }
form.inline { display: flex; gap: 8px; align-items: center; margin: 0; }
form.inline input[type=password] { width: 160px; padding: 6px 10px; font-size: 13px; border-radius: 9px; }
form.inline button:not(.link) { padding: 6px 13px; font-size: 13px; }
.job { max-width: 720px; margin: 48px auto; }
.job h2 { display: flex; align-items: center; }

/* --- small screens -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: flex-start; }
  .actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .topbar-in { gap: 10px; padding: 0 14px; }
  .brand .word { display: none; }
  .usermenu .me .uname { display: none; }
  .wrap { padding: 22px 14px 56px; }
  .card { padding: 20px 18px; border-radius: 16px; }
  h1 { font-size: 30px; }
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .hero form { padding-left: 16px; }
  .hero button { padding: 10px 16px; }
  .nav { top: 64px; }
  .charts { grid-template-columns: 1fr; }
  .orbar { flex-direction: column; align-items: flex-start; }
  .list .sub { display: none; }
}
.avatar.big { display: grid; width: 64px; height: 64px; margin: 0 auto 14px; font-size: 26px; font-weight: 600; color: #fff; background: linear-gradient(140deg, #8e8e93, #636366); }

/* --- sources: re-parse ------------------------------------------------------------------------ */
.reparse { display: flex; align-items: center; gap: 14px; margin: 16px 0 6px; flex-wrap: wrap; }
.reparse button { flex: none; }
.reparse .small { flex: 1; min-width: 220px; line-height: 1.45; }

/* --- company index: suggestions while typing, result page ----------------------------------------- */
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; background: var(--surface);
  border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .16), 0 0 0 .5px var(--line-strong); padding: 6px; text-align: left; }
.suggest > a { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 10px; color: var(--text); }
.suggest > a:hover, .suggest > a.active { background: var(--fill); text-decoration: none; }
.suggest .n { font-size: 14px; font-weight: 500; }
.suggest .m { font-size: 12px; color: var(--text-3); }
.suggest .foot { font-size: 11px; color: var(--text-3); padding: 6px 12px 4px; }
.suggest .chip { font-size: 11px; padding: 1px 8px; vertical-align: 1px; }
.hero .suggest { top: calc(100% + 10px); }
.suche-title { font-size: 28px; margin: 4px 0 6px; }
.hits .name { display: flex; flex-direction: column; gap: 2px; }
.hits .hit-sub { font-size: 13px; font-weight: 400; }
.hits .chip { font-size: 11px; padding: 1px 8px; align-self: flex-start; }
.suche-direct { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
ul.subs { list-style: none; margin: 4px 0 0; padding: 0; columns: 2; column-gap: 28px; }
ul.subs li { break-inside: avoid; padding: 3px 0; font-size: 14px; }
@media (max-width: 640px) { ul.subs { columns: 1; } }
.subs-more summary { cursor: pointer; color: var(--accent-ink); font-size: 14px; margin-top: 6px; }
.subs-more[open] summary { margin-bottom: 4px; }
.suggest .foot a { color: inherit; text-decoration: underline; }
.attribution { margin-top: 14px; }
.or-officers { margin-top: 14px; }
.or-officers summary { cursor: pointer; color: var(--accent-ink); font-size: 14px; }
.or-officers table { margin-top: 8px; }
.or-officers tr.muted td { color: var(--text-3); }

/* --- start page: data sources ------------------------------------------------------------------- */
.sources { max-width: 760px; margin: 44px auto 8px; }
.sources > h2 { font-size: 28px; letter-spacing: -0.025em; margin-bottom: 6px; }
.sources > p { margin: 0 0 18px; font-size: 15px; line-height: 1.45; }
.src-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.src-grid > .src { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.src-grid > .src.wide { grid-column: 1 / -1; }
.src-grid .src header { display: flex; align-items: center; gap: 12px; }
.src-grid .src header > div { flex: 1; min-width: 0; }
.src-grid .src h3 { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; margin: 0; }
.src-grid .src header a { font-size: 12.5px; color: var(--text-3); }
.src-grid .src p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.src-foot { margin-top: auto; font-size: 12px; color: var(--text-3); }
.src-foot a { color: inherit; text-decoration: underline; }
.src-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; }
.src-icon svg { width: 22px; height: 22px; }
.src-icon.hr { background: linear-gradient(140deg, #3a9bff, #0060d1); }
.src-icon.ur { background: linear-gradient(140deg, #7d7aff, #4b48d6); }
.src-icon.lei { background: linear-gradient(140deg, #4cd964, #1f9a46); }
.src-icon.or { background: linear-gradient(140deg, #ffb340, #f07a00); }
.src-icon.db { background: linear-gradient(140deg, #8e8e93, #545458); }
.src-tag { flex: none; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--text-2); }
.src-tag.live { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.src-tag.daily { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }
.src-tag.api { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.meter { height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--ok); transition: width .4s; }
.meter.mid > span { background: var(--warn); }
.meter.low > span { background: var(--neg); }
.meter-text { font-size: 13px; color: var(--text-2); }
@media (max-width: 640px) {
  .sources { margin-top: 32px; }
  .src-grid { grid-template-columns: 1fr; }
}

/* plain start page: a title and the search, no tagline */
.hero.plain { padding: 56px 0 28px; }
.hero.plain h1 { font-size: 34px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 22px; }
.sources > h2 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 14px 4px; }
.src-grid .src p { color: var(--text-2); }
@media (max-width: 640px) { .hero.plain { padding: 28px 0 18px; } .hero.plain h1 { font-size: 28px; } }

/* --- company page: wide grid ------------------------------------------------------------------- */
.wide .wrap, .wide .topbar-in { max-width: 1680px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cgrid > .card { margin-bottom: 0; min-width: 0; }
.cgrid > .span2 { grid-column: 1 / -1; }
.row-actions { display: flex; gap: 14px; margin-top: 8px; }
.row-actions form { margin: 0; }
@media (max-width: 1100px) { .cgrid { grid-template-columns: minmax(0, 1fr); } }
