/* frontend/styles/index.css */
:root {
  color-scheme: light dark;
  --bg: #0e1116;
  --bg-elevated: #161b23;
  --surface: #1c232e;
  --text: #e8eaed;
  --text-muted: #9aa4b0;
  --accent: #d4a24e;
  --accent-strong: #e8b866;
  --accent-soft: rgba(212, 162, 78, 0.16);
  --border: rgba(255, 255, 255, 0.08);
  --error: #e4777c;
  --free: #7fc28d;
  --free-border: #5f9c6c;
  --btn-on-accent: #14100a;
  --quote-ink: #a8bc6a;
  --muted-foreground: var(--text-muted);
  --bg-light: #f6f4ee;
  --bg-elevated-light: #edeae1;
  --surface-light: #ffffff;
  --text-light: #1d2430;
  --text-muted-light: #5c6675;
  --accent-light: #a3762c;
  --accent-strong-light: #7f5a1e;
  --accent-soft-light: rgba(163, 118, 44, 0.14);
  --border-light: rgba(20, 26, 36, 0.12);
  --wb-fade-light: rgba(246, 244, 238, 0.78);
  --error-light: #b3424a;
  --free-light: #2f7a44;
  --free-border-light: #4b9160;
  --quote-ink-light: #556b2f;
  --radius: 14px;
  --max-width: 1280px;
  --font-sans:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  --font-serif:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: var(--bg-light);
    --bg-elevated: var(--bg-elevated-light);
    --surface: var(--surface-light);
    --text: var(--text-light);
    --text-muted: var(--text-muted-light);
    --accent: var(--accent-light);
    --accent-strong: var(--accent-strong-light);
    --accent-soft: var(--accent-soft-light);
    --border: var(--border-light);
    --wb-fade: var(--wb-fade-light);
    --error: var(--error-light);
    --free: var(--free-light);
    --free-border: var(--free-border-light);
    --quote-ink: var(--quote-ink-light);
  }
}
html[data-theme=light] {
  color-scheme: light;
  --wb-fade: var(--wb-fade-light);
  --bg: var(--bg-light);
  --bg-elevated: var(--bg-elevated-light);
  --surface: var(--surface-light);
  --text: var(--text-light);
  --text-muted: var(--text-muted-light);
  --accent: var(--accent-light);
  --accent-strong: var(--accent-strong-light);
  --accent-soft: var(--accent-soft-light);
  --border: var(--border-light);
  --error: var(--error-light);
  --free: var(--free-light);
  --free-border: var(--free-border-light);
  --quote-ink: var(--quote-ink-light);
}
@media (prefers-color-scheme: dark) {
  :root {
    --wb-fade: rgba(14, 17, 22, 0.78);
  }
}
html[data-theme=light] {
  --wb-fade: var(--wb-fade-light);
}
html[data-theme=dark] {
  color-scheme: dark;
  --wb-fade: rgba(14, 17, 22, 0.78);
  --bg: #0e1116;
  --bg-elevated: #161b23;
  --surface: #1c232e;
  --text: #e8eaed;
  --text-muted: #9aa4b0;
  --accent: #d4a24e;
  --accent-strong: #e8b866;
  --accent-soft: rgba(212, 162, 78, 0.16);
  --border: rgba(255, 255, 255, 0.08);
  --error: #e4777c;
  --free: #7fc28d;
  --free-border: #5f9c6c;
}
* {
  box-sizing: border-box;
}
*,
::before,
::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #0e1116;
  background: var(--bg);
  color: #e8eaed;
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-family: var(--font-sans);
  font-size: 108%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #d4a24e;
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #e8b866;
  color: var(--accent-strong);
}
h1,
h2,
h3 {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
  font-family: var(--font-serif);
  color: #e8eaed;
  color: var(--text);
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, #0e1116 82%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
}
@supports (color: color-mix(in lch, red, blue)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
  }
}
.site-header__inner {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  font-size: 1.55rem;
}
.site-brand em {
  color: #d4a24e;
  color: var(--accent);
  font-style: normal;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover {
  color: #e8eaed;
  color: var(--text);
}
.site-nav a[aria-current=page] {
  color: #e8b866;
  color: var(--accent-strong);
  font-weight: 700;
  border-bottom: 2px solid #d4a24e;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.hero {
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: center;
  background:
    radial-gradient(
      60% 80% at 50% -10%,
      rgba(212, 162, 78, 0.16),
      transparent),
    linear-gradient(
      180deg,
      #161b23,
      #0e1116);
  background:
    radial-gradient(
      60% 80% at 50% -10%,
      var(--accent-soft),
      transparent),
    linear-gradient(
      180deg,
      var(--bg-elevated),
      var(--bg));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  max-width: 52rem;
  margin: 0 auto;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: #d4a24e;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 1.25rem;
}
.hero__lead {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 auto 2.2rem;
}
.hero__actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #e8eaed;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #d4a24e;
  border-color: var(--accent);
  color: #e8b866;
  color: var(--accent-strong);
}
.btn--primary {
  background:
    linear-gradient(
      135deg,
      #d4a24e,
      #e8b866);
  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-strong));
  border-color: transparent;
  color: #14100a;
  color: var(--btn-on-accent);
}
.btn--primary:hover {
  color: #000;
}
.features {
  max-width: calc(52rem + 3rem);
  margin: -3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 1.4rem;
  gap: 1.4rem;
}
@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #1c232e;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #d4a24e;
  border-color: var(--accent);
}
.card__icon {
  font-size: 1.8rem;
}
.card h2 {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
}
.card p {
  color: #9aa4b0;
  color: var(--text-muted);
  margin: 0.2rem 0 0.8rem;
  flex: 1 1;
}
.card a {
  font-weight: 600;
}
.teaser {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 4.5rem auto;
  padding: 0 1.5rem;
}
.teaser h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.teaser__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.teaser__item time {
  color: #9aa4b0;
  color: var(--text-muted);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.teaser__empty {
  color: #9aa4b0;
  color: var(--text-muted);
}
main {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  min-height: 60vh;
}
main h1 {
  font-size: 2.2rem;
}
article prose,
.prose p {
  max-width: 46rem;
}
.auth-form,
form[method=post]:not(.sys-render-form):not(.eb-form) {
  max-width: 26rem;
  margin: 2rem auto;
  background: #1c232e;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-radius: var(--radius);
  padding: 2rem;
}
label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.3rem;
}
input[type=email],
input[type=password],
input[type=text] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  background: #0e1116;
  background: var(--bg);
  color: #e8eaed;
  color: var(--text);
  font: inherit;
}
input:focus {
  outline: 2px solid #d4a24e;
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
button[type=submit],
input[type=submit] {
  margin-top: 1.4rem;
  width: 100%;
  padding: 0.7rem;
  border-radius: 999px;
  border: none;
  background:
    linear-gradient(
      135deg,
      #d4a24e,
      #e8b866);
  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-strong));
  color: #14100a;
  color: var(--btn-on-accent);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
button[type=submit]:hover {
  filter: brightness(1.08);
}
form-errors p {
  color: #e4777c;
  color: var(--error);
}
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
  background: #161b23;
  background: var(--bg-elevated);
}
.site-footer__inner {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero {
    padding-top: 4rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}
.report-search {
  max-width: 26rem;
  margin: 1.5rem 0;
}
.report-search input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  background: #1c232e;
  background: var(--surface);
  color: #e8eaed;
  color: var(--text);
}
.report-list {
  width: 100%;
  border-collapse: collapse;
}
.report-list th {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa4b0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
}
.report-list td {
  padding: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
}
.report-list td:nth-child(3) {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: #9aa4b0;
  color: var(--text-muted);
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d4a24e;
  border: 1px solid var(--accent);
  color: #d4a24e;
  color: var(--accent);
}
.badge--free {
  border-color: #5f9c6c;
  border-color: var(--free-border);
  color: #7fc28d;
  color: var(--free);
}
.report-view__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.back {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.report-meta {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.report-meta .meta-line {
  margin: 0.15rem 0;
}
.toc--sticky {
  position: sticky;
  top: 4.2rem;
  z-index: 10;
  background: color-mix(in srgb, #0e1116 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  margin-bottom: 2rem;
}
@supports (color: color-mix(in lch, red, blue)) {
  .toc--sticky {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
  }
}
.toc__label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9aa4b0;
  color: var(--text-muted);
}
.toc ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
}
.toc a {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.toc a.is-active {
  color: #e8b866;
  color: var(--accent-strong);
  font-weight: 700;
}
.reader-mode {
  margin: 0 0 1.2rem;
}
.btn--small {
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}
.report-body h2 {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
  font-size: 1.7rem;
}
.report-body h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}
.report-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}
.report-body th,
.report-body td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
}
.report-body th {
  background: #161b23;
  background: var(--bg-elevated);
}
.report-body blockquote {
  border-left: 3px solid #d4a24e;
  border-left: 3px solid var(--accent);
  margin: 1rem 0;
  padding: 0.2rem 1rem;
  color: #9aa4b0;
  color: var(--text-muted);
  background: #161b23;
  background: var(--bg-elevated);
}
.report-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.report-body hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.report-body .prose,
.report-body {
  max-width: 52rem;
}
.featured-report {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.featured-report__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #1c232e;
  background: var(--surface);
  border: 1px solid #d4a24e;
  border: 1px solid var(--accent);
  border-radius: 14px;
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
}
.featured-report__box h2 {
  margin: 0;
  font-size: 1.2rem;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  background: transparent;
  color: #9aa4b0;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}
.theme-toggle:hover {
  color: #d4a24e;
  color: var(--accent);
  border-color: #d4a24e;
  border-color: var(--accent);
}
.theme-toggle .theme-icon--light {
  display: none;
}
@media (prefers-color-scheme: light) {
  .theme-toggle .theme-icon--light {
    display: inline;
  }
  .theme-toggle .theme-icon--dark {
    display: none;
  }
}
html[data-theme=light] .theme-toggle .theme-icon--light {
  display: inline;
}
html[data-theme=light] .theme-toggle .theme-icon--dark {
  display: none;
}
html[data-theme=dark] .theme-toggle .theme-icon--light {
  display: none;
}
html[data-theme=dark] .theme-toggle .theme-icon--dark {
  display: inline;
}
.hero--home .hero__inner {
  max-width: none;
}
.hero--home .hero__welcome {
  text-align: left;
  font-size: 1rem;
  color: #9aa4b0;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.hero--home .hero__motto {
  text-align: left;
  font-size: 1rem;
  color: #9aa4b0;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}
.hero--home h1 {
  text-align: center;
}
.hero--home .hero__lead {
  margin: 2.2rem auto 0;
}
.wordmark--qasi {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.wordmark--qasi .wordmark-y {
  color: #e8b866;
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 800;
}
.qasi {
  max-width: 1280px;
  max-width: var(--max-width);
  margin: 3.5rem auto 0;
  padding: 1.5rem 1.75rem;
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.2));
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 2rem;
  gap: 2rem;
}
.qasi__brand .wordmark--qasi {
  font-size: 1.55rem;
  display: block;
}
.qasi__note {
  color: #9aa4b0;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}
.qasi__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.qasi__actions .btn {
  text-align: center;
}
@media (max-width: 720px) {
  .qasi {
    grid-template-columns: 1fr;
  }
}
.wb-hero {
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.wb-post__header {
  margin-bottom: 1rem;
}
.wb-post__subheadline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  margin-bottom: 0.25rem;
}
.wb-post__teaser > {
  margin: 0;
}
.wb-post__teaser {
  font-size: 1.15rem;
  line-height: 1.6;
  border-left: 3px solid #d4a24e;
  border-left: 3px solid var(--accent, #20a75a);
  padding-left: 1rem;
  margin: 1.5rem 0 2rem;
  color: inherit;
  color: var(--foreground, inherit);
}
.wb-post__body {
  max-width: 46rem;
}
.wb-post__body h2 {
  margin-top: 2.2rem;
}
.wb-post__body h3 {
  margin-top: 1.8rem;
}
.wb-post__body img,
.wb-figure__img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.wb-main p,
.wb-main li,
.wb-post__teaser,
.wb-post__body p,
.wb-post__body li,
.wb-note p {
  hyphens: auto;
  overflow-wrap: break-word;
}
.wb-figure {
  margin: 2rem 0;
}
.wb-main blockquote {
  margin: 1.4rem 0;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--border, rgba(128,128,128,0.35));
  font-size: 0.92em;
  color: #9aa4b0;
  color: var(--muted-foreground, #555);
}
.wb-main blockquote p {
  margin: 0.5rem 0;
}
.sys-text blockquote {
  margin: 1.4rem 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 3px solid #d4a24e;
  border-left: 3px solid var(--accent, #20a75a);
  font-weight: 550;
  color: #a8bc6a;
  color: var(--quote-ink);
}
.sys-text blockquote p {
  margin: 0.4rem 0;
}
.sys-text strong,
.wb-main strong {
  font-weight: 600;
}
.wb-main blockquote strong,
.sys-text blockquote strong {
  color: inherit;
}
.sys-text code,
.sys-text .highlighter-rouge,
.wb-main code,
.wb-main .highlighter-rouge {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  background: none;
  padding: 0;
}
.wb-figure__fullwidth {
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.wb-figure__caption {
  font-size: 0.85rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  margin-top: 0.5rem;
}
.wb-note {
  background: rgba(128, 128, 128, 0.08);
  background: var(--card, rgba(128,128,128,0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.25));
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 0.92em;
}
.wb-note h2,
.wb-note h3,
.wb-note h4 {
  font-size: 1.05em;
  margin: 0.9rem 0 0.5rem;
}
.wb-note ul,
.wb-note ol {
  padding-left: 1.3em;
  margin: 0.6rem 0;
}
.wb-note li {
  margin: 0.25rem 0;
}
@media (max-width: 720px) {
  .wb-note ul,
  .wb-note ol {
    padding-left: 0;
    list-style-position: inside;
  }
}
.wb-note p {
  margin: 0.6rem 0;
}
.wb-main table,
.wb-note table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2rem 0;
  font-size: 0.85em;
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
}
.wb-main th,
.wb-main td,
.wb-note th,
.wb-note td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border, rgba(128,128,128,0.25));
  text-align: left;
  vertical-align: top;
}
.wb-main thead th,
.wb-note thead th {
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--border, rgba(128,128,128,0.4));
  font-weight: 600;
}
.wb-main tbody tr:last-child td,
.wb-note tbody tr:last-child td {
  border-bottom: none;
}
.wordmark {
  font-style: italic;
  font-weight: 600;
}
.wordmark-y {
  color: #20a75a;
  font-style: italic;
}
.site-brand .wordmark {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
  font-family: var(--font-serif);
  font-weight: 800;
  font-style: normal;
  color: #e8eaed;
  color: var(--text);
  letter-spacing: 0.01em;
}
.site-brand .wordmark-y,
.sys-intro .wordmark:not(.wordmark--qasi) .wordmark-y {
  color: #20a75a;
  font-style: normal;
  font-weight: 800;
  vertical-align: -0.28em;
}
.wb-archive .wb-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border, rgba(128,128,128,0.25));
  padding: 1.25rem 0;
}
.wb-archive .wb-card h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.4rem;
}
.wb-archive .wb-card__meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
}
.wb-archive .wb-card__meta span {
  margin-left: auto;
}
.wb-archive .wb-card p {
  max-width: 52rem;
}
.wb-hero {
  position: relative;
}
.wb-hero__title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  border-radius: 0 0 12px 12px;
}
.wb-hero__title h1 {
  margin: 0;
  color: #fff;
}
.wb-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  grid-column-gap: 2.5rem;
  -moz-column-gap: 2.5rem;
  column-gap: 2.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .wb-wrapper {
    display: block;
  }
}
.wb-subheader {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  margin-bottom: 1rem;
}
.wb-separator {
  border-top: 2px dotted rgba(255, 255, 255, 0.08);
  border-top: 2px dotted var(--border, rgba(128,128,128,0.4));
  margin: 1.5rem 0;
}
.wb-card {
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.2));
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
#seitenleiste {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.wb-adcard {
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.2));
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}
.wb-adcard h3 {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.wb-adcard img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.wb-adcard__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.wb-adcard__actions .btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.35));
  border-radius: 999px;
  text-decoration: none;
}
.wb-adcard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wb-adcard__list li {
  padding: 0.4rem 0;
  border-top: 1px dotted rgba(255, 255, 255, 0.08);
  border-top: 1px dotted var(--border, rgba(128,128,128,0.3));
}
.last-trades h4 {
  font-size: 0.9rem;
  margin: 0.9rem 0 0.2rem;
}
.last-trades h4:first-of-type {
  margin-top: 0;
}
.wb-adcard__list li:first-child {
  border-top: none;
}
.wb-adcard__kw {
  display: inline-block;
  min-width: 2.2rem;
  font-size: 0.7rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
}
.wb-archive .wb-card.wb-card--bg {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.25));
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}
.wb-archive .wb-card.wb-card--bg + .wb-card {
  margin-top: 1rem;
}
.wb-archive a.wb-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.wb-archive .wb-card.wb-card--bg:hover {
  border-color: #d4a24e;
  border-color: var(--accent, #b87a2e);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #e8eaed;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 860px) {
  .site-brand {
    position: relative;
    z-index: 60;
  }
  :root {
    --wb-fade-light: rgba(246, 244, 238, 0.66);
  }
  html[data-theme=dark] {
    --wb-fade: rgba(14, 17, 22, 0.66);
  }
  .nav-toggle {
    display: flex;
  }
  .site-header {
    backdrop-filter: none;
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    margin-top: 0;
    background: color-mix(in srgb, #0e1116 96%, transparent);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4.5rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  @supports (color: color-mix(in lch, red, blue)) {
    .site-nav {
      background: color-mix(in srgb, var(--bg) 96%, transparent);
    }
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    margin: auto;
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
  }
  .site-nav a {
    font-size: 1.15rem;
  }
  .site-header__inner {
    flex-direction: row;
  }
  body.nav-open {
    overflow: hidden;
  }
}
.system-cards {
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  margin: 2rem 0;
}
.system-block {
  margin: 2rem 0;
}
table.system-table td.num,
table.system-table th.num {
  text-align: right;
}
table.open-table {
  width: 100%;
  table-layout: fixed;
}
.sys-main .sys-chart {
  max-width: 100%;
  overflow: hidden;
}
.sys-chart.vega-embed {
  display: block;
  width: 100%;
}
.sys-chart svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}
table.open-table th:first-child,
table.open-table td:first-child {
  width: 12%;
}
tr.sys-expiry-row td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border);
}
.sys-expiry-pill {
  display: inline-block;
  background: #d4a24e;
  background: var(--accent);
  color: #14100a;
  color: var(--btn-on-accent);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
}
tr.sys-option-row td {
  font-size: 0.88rem;
  color: #9aa4b0;
  color: var(--text-muted);
}
tr.sys-total-row td {
  font-weight: 700;
  color: #e8eaed;
  color: var(--text);
}
.opt-detail {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.opt-detail__title {
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.opt-detail__close {
  all: unset;
  cursor: pointer;
  color: #b3261e;
  font-size: 1rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  line-height: 1;
}
.opt-detail__close:hover {
  color: #ffffff;
  background: #b3261e;
}
tr.sys-row-active td {
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
}
.opt-info {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  grid-gap: 0.2rem 1rem;
  gap: 0.2rem 1rem;
  font-size: 0.92rem;
}
.opt-info__label {
  font-weight: 700;
}
.opt-info__value {
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.opt-detail__full {
  font-size: 0.9rem;
}
.opt-graphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  margin-top: 1rem;
}
.opt-graph {
  margin: 0;
}
.opt-graph figcaption {
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.opt-chart {
  min-height: 240px;
}
tr[data-open-row] {
  cursor: pointer;
}
tr[data-open-row]:hover td {
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
}
.sys-lastdatum {
  text-align: right;
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.system-block .title-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--border, #999);
  margin-bottom: 0.5rem;
}
.sys-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--border);
  margin: 0 0 1rem;
}
.sys-render-form {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 0 auto;
}
.sys-render-form button[type=submit] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  width: auto;
  box-shadow: none;
  font: inherit;
  font-size: .74rem;
  padding: .18rem .3rem;
  border: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  color: #666;
  color: var(--muted, #666);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-render-form button[type=submit]:hover {
  color: inherit;
  filter: none;
}
.sys-render-form button[type=submit]:disabled {
  opacity: .55;
  cursor: progress;
}
.sys-render-note {
  font-size: .72rem;
  color: #666;
  color: var(--muted, #666);
}
.sys-title {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #e8eaed;
  color: var(--text);
}
.sys-title a {
  color: inherit;
  text-decoration: none;
}
.sys-title a:hover {
  color: #e8b866;
  color: var(--accent-strong);
}
.sys-title-date {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.system-block .title {
  font-weight: 700;
  font-size: 1.1rem;
}
.system-block .actions {
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  font-size: 0.9rem;
}
table.system-table {
  width: 100%;
  border-collapse: collapse;
}
table.system-table th,
table.system-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
  border-bottom: 1px dotted var(--border, rgba(128,128,128,.3));
}
.system-note {
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  font-style: italic;
}
.system-hint {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid var(--border, #ddd);
  font-size: 0.9rem;
}
.system-hint + .system-hint {
  margin-top: 0.25rem;
  padding-top: 0;
  border-top: 0;
}
.report-body + .system-hint {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: 0;
}
body.page-handelssysteme .sys-main {
  background-image: linear-gradient(rgba(246, 244, 238, 0.82), rgba(246, 244, 238, 0.82)), url(/images/handelssysteme-bg.png);
  background-image: linear-gradient(var(--wb-fade, rgba(246,244,238,0.82)), var(--wb-fade, rgba(246,244,238,0.82))), url(/images/handelssysteme-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  padding: 1.5rem;
}
body.page-handelssysteme .sys-intro {
  text-align: center;
  max-width: 46rem;
  margin: 1rem auto;
}
body.page-handelssysteme .sys-intro p {
  max-width: none;
}
body.page-handelssysteme .sys-intro h2 {
  margin-bottom: 4rem;
}
.system-cards .wb-adcard h3 a {
  text-decoration: none;
}
.system-grid {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 1.5rem 0;
}
.sys-card {
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,0.25));
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  min-height: 92px;
  background-size: cover;
  background-position: center;
}
.sys-card:hover {
  border-color: #d4a24e;
  border-color: var(--accent, #b87a2e);
}
.sys-card .sys-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.sys-card h3 {
  margin: 0;
  font-size: 1.02rem;
}
.sys-card .sys-card__count {
  font-size: 0.75rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
}
.sys-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
  margin: 1.5rem 0;
}
@media (max-width: 720px) {
  .sys-shell {
    grid-template-columns: 1fr;
  }
  .sys-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.sys-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: sticky;
  top: 1rem;
}
.sys-nav li a,
.sys-nav li span {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.92rem;
  border-left: 2px solid transparent;
}
.sys-nav li a:hover {
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
}
.sys-nav li.sys-nav__here span {
  border-left-color: #d4a24e;
  border-left-color: var(--accent);
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
  font-weight: 600;
}
.sys-main {
  min-width: 0;
}
.tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  margin: 1.25rem 0 1rem;
}
.tabs button {
  all: unset;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  color: #9aa4b0;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-size: 0.95rem;
}
.tabs button.active {
  color: #d4a24e;
  color: var(--accent);
  border-bottom-color: #d4a24e;
  border-bottom-color: var(--accent);
}
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in;
}
.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sys-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
  margin: 1.5rem 0;
}
@media (max-width: 720px) {
  .sys-shell {
    grid-template-columns: 1fr;
  }
  .sys-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.sys-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: sticky;
  top: 1rem;
}
.sys-nav li a,
.sys-nav li span {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.92rem;
  border-left: 2px solid transparent;
}
.sys-nav li a:hover {
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
}
.sys-nav li.sys-nav__here span {
  border-left-color: #d4a24e;
  border-left-color: var(--accent);
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft);
  font-weight: 600;
}
.sys-main {
  min-width: 0;
}
.tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
  margin: 1.25rem 0 1rem;
}
.tabs button {
  all: unset;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  color: #9aa4b0;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-size: 0.95rem;
}
.tabs button.active {
  color: #d4a24e;
  color: var(--accent);
  border-bottom-color: #d4a24e;
  border-bottom-color: var(--accent);
}
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in;
}
.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sys-nav--cards {
  gap: 0.6rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}
.sys-navcard {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--card);
}
.sys-navcard:hover {
  border-color: #d4a24e;
  border-color: var(--accent);
}
.sys-navcard--here {
  border-color: #d4a24e;
  border-color: var(--accent);
  box-shadow: inset 2px 0 0 #d4a24e;
  box-shadow: inset 2px 0 0 var(--accent);
}
.sys-navcard img {
  display: block;
  width: 100%;
  height: 56px;
  -o-object-fit: cover;
  object-fit: cover;
}
.sys-navcard__title {
  padding: 0.4rem 0.6rem;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sys-navcard__title em {
  font-style: normal;
  font-size: 0.72rem;
  color: #9aa4b0;
  color: var(--muted-foreground);
}
.sys-chart {
  margin: 0.5rem 0 1.5rem;
}
.sys-text {
  margin-bottom: 1.25rem;
}
.sys-text ul {
  padding-left: 1.2rem;
}
@media (max-width: 720px) {
  .sys-nav--cards {
    flex-direction: row;
    max-height: none;
  }
  .sys-navcard {
    min-width: 160px;
  }
}
.sys-card--nav {
  min-height: 64px;
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: flex-end;
}
.sys-card--nav .sys-card__title h3 {
  font-size: 0.88rem;
  margin: 0;
}
.sys-card--nav .sys-navcard__label {
  font-size: 0.88rem;
  font-weight: 600;
}
.sys-card--nav .sys-card__count {
  font-size: 0.72rem;
}
.sys-card--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sys-card--nav {
  display: block;
  margin: 0 0 0.35rem;
}
.sys-chart {
  margin: 0.3rem 0;
}
.sys-text {
  margin-top: 1.6rem;
}
.report-card {
  display: block;
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-left: 3px solid #d4a24e;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
}
.report-card:hover {
  border-color: #d4a24e;
  border-color: var(--accent);
}
.report-card__kicker {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a24e;
  color: var(--accent);
}
.report-card__title {
  display: block;
  font-weight: 600;
  margin: 0.15rem 0;
}
.report-card__meta {
  display: block;
  font-size: 0.8rem;
  color: #9aa4b0;
  color: var(--muted-foreground);
}
.closed-table--single .col-symbol {
  display: none;
}
@media (max-width: 720px) {
  .sys-chart svg,
  .opt-chart svg {
    pointer-events: none;
  }
  .sys-chart,
  .opt-chart {
    min-height: 0 !important;
  }
  .opt-graphs {
    grid-template-columns: 1fr;
  }
}
.chart-fs-wrap {
  position: relative;
}
.chart-fs-btn {
  display: none;
}
@media (max-width: 720px) {
  .chart-fs-btn {
    display: inline-block;
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    z-index: 5;
    font: inherit;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(120, 130, 150, 0.45);
    background: Canvas;
    color: CanvasText;
  }
}
.chart-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.92);
  display: none;
}
.chart-fs-overlay.open {
  display: block;
  touch-action: none;
}
.chart-fs-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.chart-fs-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vh;
  height: 100vw;
  transform-origin: 0 0;
  box-sizing: border-box;
  padding: 1rem 1.25rem;
  background: Canvas;
  color: CanvasText;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}
.chart-fs-content {
  padding-top: 3.25rem;
  box-sizing: border-box;
}
.chart-fs-content svg,
.chart-fs-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.chart-fs-wrap > .wb-figure__img {
  display: block;
}
.chart-fs-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 2;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(120, 130, 150, 0.45);
  background: Canvas;
  color: CanvasText;
}
body.chart-fs-lock {
  overflow: hidden;
}
@media (max-width: 720px) {
  .sys-title {
    scroll-margin-top: 4.25rem;
  }
}
@media (max-width: 720px) {
  .sys-nav--entry-cards {
    display: none;
  }
}
@media (max-width: 720px) {
  body.page-handelssysteme .sys-shell:has(.sys-nav--entry-cards) .sys-main {
    padding: 0 0 4rem;
    border-radius: 0;
  }
  body.page-handelssysteme .sys-shell:has(.sys-nav--entry-cards) .sys-intro {
    padding: 1rem;
  }
}
@media (min-width: 721px) {
  .system-cards {
    display: none;
  }
}
body.page-handelssysteme .sys-shell:has(.sys-nav--entry-cards) .sys-main {
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
}
body.page-handelssysteme .sys-shell:has(.sys-nav--entry-cards) .system-hint {
  margin-top: auto;
}
body.page-handelssysteme .sys-shell:has(.sys-nav--entry-cards) .system-hint {
  text-align: center;
}
.eq-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}
@media (max-width: 720px) {
  .eq-shell {
    grid-template-columns: 1fr;
  }
}
.eq-nav {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-gap: 0.6rem;
  gap: 0.6rem;
  position: sticky;
  top: 1rem;
  align-self: start;
}
@media (max-width: 720px) {
  .eq-nav {
    position: static;
    grid-template-columns: 100%;
  }
  .eq-rail {
    flex-direction: row;
  }
}
.eq-rail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.eq-rail button {
  all: unset;
  cursor: pointer;
  text-align: center;
  padding: 0.4rem 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,.25));
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
}
.eq-rail button:hover {
  border-color: #d4a24e;
  border-color: var(--accent, #b87a2e);
  color: #d4a24e;
  color: var(--accent, #b87a2e);
}
.eq-rail button.active {
  border-color: #d4a24e;
  border-color: var(--accent);
  color: #d4a24e;
  color: var(--accent);
  font-weight: 600;
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft, rgba(184,122,46,.08));
}
.eq-companies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}
@media (max-width: 720px) {
  .eq-companies {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }
  .eq-tile {
    min-width: 130px;
  }
}
.eq-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, rgba(128,128,128,.25));
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: rgba(128, 128, 128, 0.05);
  background: var(--card, rgba(128,128,128,0.05));
  color: inherit;
  text-decoration: none;
}
.eq-tile:hover {
  border-color: #d4a24e;
  border-color: var(--accent, #b87a2e);
}
.eq-tile--here {
  border-color: #d4a24e;
  border-color: var(--accent);
  box-shadow: inset 2px 0 0 #d4a24e;
  box-shadow: inset 2px 0 0 var(--accent);
}
.eq-tile img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
  object-fit: contain;
  flex: 0 0 auto;
}
.eq-monogram {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 162, 78, 0.16);
  background: var(--accent-soft, rgba(184,122,46,.12));
  color: #d4a24e;
  color: var(--accent, #b87a2e);
  font-weight: 700;
  font-size: 1.1rem;
}
.eq-tile__name {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.eq-tile__date {
  font-weight: 400;
  font-size: 0.72rem;
  color: #9aa4b0;
  color: var(--muted-foreground, #666);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.eq-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  grid-gap: 0.8rem;
  gap: 0.8rem;
}
.eq-titlebar img {
  justify-self: start;
}
.eq-titlebar .sys-title-date {
  grid-column: 3;
  justify-self: end;
}
.eq-titlebar .sys-title {
  grid-column: 2;
  text-align: center;
  margin: 0;
}
.eq-titlebar img {
  width: 44px;
  height: 44px;
  -o-object-fit: contain;
  object-fit: contain;
}
.eq-titlebar .sys-title-date {
  text-align: right;
}
.eq-intro {
  text-align: center;
  max-width: 46rem;
  margin: 1rem auto;
}
.eq-intro p {
  max-width: none;
}
.eq-intro h2 {
  margin-bottom: 2.5rem;
}
.eq-tile[hidden] {
  display: none;
}
.eq-chart {
  margin: 0 0 0.4rem;
}
.eq-chart + .eq-chart-note {
  margin-top: 0;
}
.eq-chart-note {
  color: #9aa4b0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
  margin: 0 0 2rem;
}
.eq-chart img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.eq-chart svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.eq-nav {
  grid-template-columns: 34px minmax(0, 1fr);
}
.eq-rail button {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.5rem 0.25rem;
}
@media (max-width: 720px) {
  .eq-nav {
    grid-template-columns: 100%;
  }
  .eq-rail {
    display: none;
  }
}
@media (max-width: 720px) {
  .eq-companies {
    margin-left: -1.5rem;
  }
}
@media (max-width: 720px) {
  .eq-companies {
    margin-left: 0;
  }
  .report-body ul,
  .report-body ol {
    margin-left: -1.5rem;
  }
}
@media (max-width: 720px) {
  .eq-titlebar img {
    display: none;
  }
}
body.full {
  background: #0e1116;
  background: var(--bg);
}
.full-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, #0e1116 82%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--border);
}
@supports (color: color-mix(in lch, red, blue)) {
  .full-bar {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
  }
}
.full-bar__title {
  font-weight: 600;
  color: #9aa4b0;
  color: var(--text-muted);
}
.full-bar__link {
  color: #9aa4b0;
  color: var(--text-muted);
}
main.full-main {
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.5rem 3rem;
}
.eb-form {
  max-width: none;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
}
table.eb-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.eb-table th,
.eb-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
  border-bottom: 1px dotted var(--border);
}
.eb-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9aa4b0;
  color: var(--text-muted);
}
.eb-table .eb-done-col {
  text-align: center;
}
.eb-table input[type=checkbox] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #d4a24e;
  accent-color: var(--accent);
  cursor: pointer;
}
.eb-table tr.eb-overdue {
  color: #a00;
  font-weight: bold;
}
.eb-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.eb-form .eb-table {
  table-layout: fixed;
}
.eb-table col.eb-c-termin {
  width: 8%;
}
.eb-table col.eb-c-instr {
  width: 8%;
}
.eb-table col.eb-c-klasse {
  width: 7%;
}
.eb-table col.eb-c-prio {
  width: 4%;
}
.eb-table col.eb-c-event {
  width: 15%;
}
.eb-table col.eb-c-handlung {
  width: 28%;
}
.eb-table col.eb-c-ergebnis {
  width: 25%;
}
.eb-table col.eb-c-done {
  width: 5%;
}
.eb-table td {
  overflow-wrap: anywhere;
}
.eb-table .eb-result-col {
  min-width: 0;
  width: auto;
}
textarea.eb-result {
  min-height: 4.5rem;
}
textarea.eb-result {
  width: 100%;
  min-width: 12rem;
  resize: vertical;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  background: #0e1116;
  background: var(--bg);
  color: #e8eaed;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}
textarea:focus {
  outline: 2px solid #d4a24e;
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.eq-tile img[data-lockup=wide] {
  width: auto;
  height: 30px;
  max-width: 110px;
  background: #f7f1e6;
  background: var(--logo-bg, #f7f1e6);
  border-radius: 6px;
  padding: 2px 6px;
}
.eq-titlebar img[data-lockup=wide] {
  width: auto;
  max-width: 240px;
  height: 40px;
  background: #f7f1e6;
  background: var(--logo-bg, #f7f1e6);
  border-radius: 6px;
  padding: 3px 8px;
}
.report-action-box {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, #d8d3c8);
  border-left: 4px solid #7fc28d;
  border-left: 4px solid var(--free, #2e7d32);
  background: #1c232e;
  background: var(--surface, #f7f1e6);
  border-radius: 6px;
}
.report-action-box .report-action-text {
  margin: 0 0 .7rem 0;
}
.report-order-btn {
  cursor: pointer;
  padding: .45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border, #d8d3c8);
  border-radius: 4px;
  background: #d4a24e;
  background: var(--accent, #d4a24e);
  color: #0e1116;
  color: var(--bg, #0e1116);
  font-weight: 600;
  font: inherit;
}
.report-order-btn[disabled] {
  opacity: .6;
  cursor: default;
}
.report-order-note {
  display: block;
  margin-top: .6rem;
  font-size: .85em;
  color: #9aa4b0;
  color: var(--text-muted, #7a756b);
}

/* frontend/styles/syntax-highlighting.css */
pre.highlight {
  padding: 16px;
  background-color: #F6F8FA;
}
.highlight .hll {
  background-color: #ffffcc;
}
.highlight .c {
  color: #999988;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  color: #000000;
  font-weight: bold;
}
.highlight .o {
  color: #000000;
  font-weight: bold;
}
.highlight .cm {
  color: #999988;
  font-style: italic;
}
.highlight .cp {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.highlight .c1 {
  color: #999988;
  font-style: italic;
}
.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}
.highlight .ge {
  color: #000000;
  font-style: italic;
}
.highlight .gr {
  color: #aa0000;
}
.highlight .gh {
  color: #999999;
}
.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}
.highlight .go {
  color: #888888;
}
.highlight .gp {
  color: #555555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaaaaa;
}
.highlight .gt {
  color: #aa0000;
}
.highlight .kc {
  color: #000000;
  font-weight: bold;
}
.highlight .kd {
  color: #000000;
  font-weight: bold;
}
.highlight .kn {
  color: #000000;
  font-weight: bold;
}
.highlight .kp {
  color: #000000;
  font-weight: bold;
}
.highlight .kr {
  color: #000000;
  font-weight: bold;
}
.highlight .kt {
  color: #445588;
  font-weight: bold;
}
.highlight .m {
  color: #009999;
}
.highlight .s {
  color: #d01040;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #445588;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #990000;
  font-weight: bold;
}
.highlight .nf {
  color: #990000;
  font-weight: bold;
}
.highlight .nl {
  color: #990000;
  font-weight: bold;
}
.highlight .nn {
  color: #555555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  color: #000000;
  font-weight: bold;
}
.highlight .w {
  color: #bbbbbb;
}
.highlight .mf {
  color: #009999;
}
.highlight .mh {
  color: #009999;
}
.highlight .mi {
  color: #009999;
}
.highlight .mo {
  color: #009999;
}
.highlight .sb {
  color: #d01040;
}
.highlight .sc {
  color: #d01040;
}
.highlight .sd {
  color: #d01040;
}
.highlight .s2 {
  color: #d01040;
}
.highlight .se {
  color: #d01040;
}
.highlight .sh {
  color: #d01040;
}
.highlight .si {
  color: #d01040;
}
.highlight .sx {
  color: #d01040;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d01040;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #009999;
}
/*# sourceMappingURL=/_bridgetown/static/index.7EDUDKYD.css.map */
