/* Projektscanner — Stylesheet (Look & Feel: report.at / gk_reporter) */
:root {
  --ps-red: #c8102e;
  --ps-red-dark: #9a0c23;
  --ps-ink: #19191b;
  --ps-gray: #6c757d;
  --ps-line: #dee2e6;
  --ps-bg: #f8f9fa;
  --ps-mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Caladea", Georgia, serif; color: var(--ps-ink); background: #fff; font-size: 16px; line-height: 1.55; }
a { color: var(--ps-red); }

.ps-topbar { background: var(--ps-ink); color: #fff; padding: 10px 18px; display: flex; align-items: baseline; gap: 12px; }
.ps-topbar .brand { font-family: "Imbue", serif; font-weight: 700; font-size: 26px; letter-spacing: .5px; }
.ps-topbar .brand em { color: var(--ps-red); font-style: normal; }
.ps-topbar .tag { font-family: var(--ps-mono); font-size: 11px; color: #adb5bd; text-transform: uppercase; letter-spacing: 1.5px; }

.ps-hero { background: var(--ps-bg); border-bottom: 3px solid var(--ps-red); padding: 26px 18px 20px; }
.ps-hero h1 { font-family: "Imbue", serif; font-weight: 700; font-size: 34px; margin-bottom: 6px; }
.ps-hero p { max-width: 760px; color: #343a40; font-size: 16.5px; }
.ps-stats { font-family: var(--ps-mono); font-size: 12px; color: var(--ps-gray); margin-top: 10px; }
.ps-stats b { color: var(--ps-ink); }

.ps-search { padding: 18px; background: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--ps-line); }
.ps-search .row { display: flex; gap: 10px; flex-wrap: wrap; }
.ps-search input[type=text], .ps-search select {
  font-family: var(--ps-mono); font-size: 14px; padding: 10px 12px;
  border: 1px solid var(--ps-line); border-radius: 3px; background: #fff; color: var(--ps-ink);
}
#q { flex: 2 1 320px; }
#f-bl, #f-cat { flex: 1 1 170px; }
#f-gem { flex: 1 1 200px; }
.ps-search button { font-family: var(--ps-mono); font-size: 13px; padding: 10px 18px; border: 0; border-radius: 3px; background: var(--ps-red); color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; }
.ps-search button:hover { background: var(--ps-red-dark); }
.ps-count { font-family: var(--ps-mono); font-size: 12px; color: var(--ps-gray); margin-top: 8px; }

.ps-results { padding: 14px 18px 30px; max-width: 1060px; }
.card { border: 1px solid var(--ps-line); border-left: 4px solid var(--ps-red); border-radius: 3px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.card h3 { font-family: "Imbue", serif; font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.card h3 a { color: var(--ps-ink); text-decoration: none; }
.card h3 a:hover { color: var(--ps-red); }
.meta { font-family: var(--ps-mono); font-size: 11.5px; color: var(--ps-gray); margin-bottom: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; background: var(--ps-ink); color: #fff; padding: 1px 8px; border-radius: 10px; font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; }
.badge.geo { background: var(--ps-bg); color: var(--ps-ink); border: 1px solid var(--ps-line); }
.badge.src { background: #fff; color: var(--ps-gray); border: 1px solid var(--ps-line); }
.badge.status { background: var(--ps-red); }
.card .kurz { font-size: 15px; color: #343a40; }
.card .more { font-family: var(--ps-mono); font-size: 12px; margin-top: 7px; }

.ps-foot { background: var(--ps-bg); border-top: 1px solid var(--ps-line); padding: 16px 18px; font-size: 12.5px; color: var(--ps-gray); font-family: var(--ps-mono); }
.empty { padding: 40px 18px; text-align: center; color: var(--ps-gray); font-family: var(--ps-mono); font-size: 13px; }

.detail-card { max-width: 860px; margin: 18px auto; }
.detail-card h2 { font-family: "Imbue", serif; font-size: 30px; margin: 4px 0 8px; }
.detail-card .back { font-family: var(--ps-mono); font-size: 12px; margin-bottom: 6px; }
.detail-card .kurz.full { font-size: 16px; margin: 8px 0 14px; white-space: pre-line; }
.facts { width: 100%; border-collapse: collapse; margin-top: 8px; }
.facts td { border-top: 1px solid var(--ps-line); padding: 7px 10px; font-size: 14.5px; vertical-align: top; }
.facts td:first-child { font-family: var(--ps-mono); font-size: 11.5px; color: var(--ps-gray); width: 170px; text-transform: uppercase; letter-spacing: .5px; }


details.fund { margin: 10px 0; font-size: 13.5px; }
details.fund summary { font-family: var(--ps-mono); font-size: 11.5px; color: var(--ps-gray); cursor: pointer; text-transform: uppercase; letter-spacing: .5px; }
details.fund .fund-body { color: #495057; border-left: 2px solid var(--ps-line); padding: 8px 12px; margin-top: 6px; white-space: pre-line; }

