@charset "UTF-8";
:root {
  --bg0: #f6f7fb;
  --bg1: #fff;
  --stroke: #e2e8f0;
  --text: #0f172a;
  --muted: #334155;
  --muted2: #475569;
  --accent: #2f3a56;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 22px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --radius2: 14px;
  --max: 1280px;
  --nav-offset: clamp(86px, 12vh, 140px);
  --font-scale: 1;
}

html[data-theme=dark] {
  --bg0: #070a12;
  --bg1: #0a1325;
  --stroke: #22304a;
  --text: #eef2ff;
  --muted: #8b95b8;
  --muted2: #7385a5;
  --accent: #6b7893;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.24);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg0: #070a12;
    --bg1: #0a1325;
    --stroke: #22304a;
    --text: #eef2ff;
    --muted: #8b95b8;
    --muted2: #7385a5;
    --accent: #6b7893;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.24);
  }
}
.card-base,
.card {
  background: rgba(47, 58, 86, 0.004) !important;
  border: 1px solid rgba(47, 58, 86, 0.04) !important;
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}
@media (max-width: 576px) {
  .card-base,
  .card {
    padding: 3px;
  }
}
html[data-theme=dark] .card-base,
html[data-theme=dark] .card {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .card-base,
  html:not([data-theme]) .card {
    background: var(--bg-dark);
    border-color: var(--border-dark);
  }
}

.card-hover:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.card-variant-1 {
  border-left: 4px solid #105bba;
  background: linear-gradient(135deg, rgba(16, 91, 186, 0.03) 0%, rgba(16, 91, 186, 0.01) 100%);
  box-shadow: 0 4px 16px rgba(16, 91, 186, 0.15), 0 2px 8px rgba(16, 91, 186, 0.08), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-variant-2 {
  border-left: 4px solid #6eaf44;
  background: linear-gradient(135deg, rgba(110, 175, 68, 0.03) 0%, rgba(110, 175, 68, 0.01) 100%);
  box-shadow: 0 4px 16px rgba(110, 175, 68, 0.15), 0 2px 8px rgba(110, 175, 68, 0.08), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-variant-3 {
  border-left: 4px solid #47b0c9;
  background: linear-gradient(135deg, rgba(71, 176, 201, 0.03) 0%, rgba(71, 176, 201, 0.01) 100%);
  box-shadow: 0 4px 16px rgba(71, 176, 201, 0.15), 0 2px 8px rgba(71, 176, 201, 0.08), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-variant-4 {
  border-left: 4px solid #279983;
  background: linear-gradient(135deg, rgba(39, 153, 131, 0.03) 0%, rgba(39, 153, 131, 0.01) 100%);
  box-shadow: 0 4px 16px rgba(39, 153, 131, 0.15), 0 2px 8px rgba(39, 153, 131, 0.08), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-variant-5 {
  border-left: 4px solid #106fb2;
  background: linear-gradient(135deg, rgba(16, 111, 178, 0.03) 0%, rgba(16, 111, 178, 0.01) 100%);
  box-shadow: 0 4px 16px rgba(16, 111, 178, 0.15), 0 2px 8px rgba(16, 111, 178, 0.08), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-icon-color-1 {
  color: #105bba;
}

.card-icon-color-2 {
  color: #6eaf44;
}

.card-icon-color-3 {
  color: #47b0c9;
}

.card-icon-color-4 {
  color: #279983;
}

.card-icon-color-5 {
  color: #106fb2;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}

.grid-auto {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-auto {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .grid-auto {
    grid-template-columns: repeat(3, 1fr);
  }
}

.component-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.component-header i,
.component-header .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.component-header h4,
.component-header .title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
}

.component-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}
.component-content p {
  margin: 0 0 0.75rem 0;
}
.component-content p:last-child {
  margin-bottom: 0;
}
.component-content ul,
.component-content ol {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}
.component-content ul li,
.component-content ol li {
  margin-bottom: 0.35rem;
}
html[data-theme=dark] .component-content {
  color: var(--text-dark);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .component-content {
    color: var(--text-dark);
  }
}

.badge-status-open {
  background-color: #cbd5e1 !important;
  color: #1e293b;
}

.badge-status-inprogress {
  background-color: #f59e0b !important;
  color: #000;
}

.badge-status-done {
  background-color: #22c55e !important;
  color: #fff;
}

.badge-status-closed {
  background-color: #ef4444 !important;
  color: #fff;
}

.is-flipping {
  opacity: 0.6;
}

.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.is-open {
  box-shadow: 0 2px 8px rgba(47, 58, 86, 0.12);
}

.is-recording {
  animation: pulse-recording 1s infinite;
}

@keyframes pulse-recording {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
@media (max-width: 768px) {
  .grid-auto {
    grid-template-columns: 1fr;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: calc(16px * var(--font-scale));
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg0);
  background-image: linear-gradient(180deg, rgba(246, 247, 251, 0.82), rgba(246, 247, 251, 0.72)), url("../media/backgrounds/bg-hg1.png");
  background-size: cover, cover;
  background-position: center top, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  transition: background-color color 0.2s ease;
}
html[data-theme=dark] body {
  background-color: #0a1325;
  color: #eef2ff;
  background-image: none;
  background-attachment: scroll;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) body {
    background-color: #0a1325;
    color: #eef2ff;
    background-image: none;
    background-attachment: scroll;
  }
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), 100% - 48px);
  margin: 0 auto;
}

.pill-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: flex-start;
  text-align: center;
  width: 100%;
}

.pill-subtext {
  font-size: 0.9rem;
  font-weight: 400;
}

section[id],
[id].anchor-target {
  scroll-margin-top: var(--nav-offset);
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--stroke);
}

.small {
  font-size: 13px;
}

code {
  background-color: rgba(107, 124, 181, 0.1);
  color: var(--accent);
  padding: 0.2rem 0.4rem;
  border-radius: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
}
html[data-theme=dark] code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.kf-panel-surface {
  background: rgba(47, 58, 86, 0.01);
  border: 1px solid rgba(47, 58, 86, 0.08);
  padding: 2rem;
  min-height: 400px;
  transition: opacity 280ms ease-out;
}

html[data-theme=dark] label {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) label {
    color: var(--text);
  }
}

html[data-theme=dark] table {
  color: var(--text);
  border-color: var(--stroke);
}
html[data-theme=dark] table thead {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
html[data-theme=dark] table tbody tr {
  border-color: var(--stroke);
}
html[data-theme=dark] table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) table {
    color: var(--text);
    border-color: var(--stroke);
  }
  html:not([data-theme]) table thead {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }
  html:not([data-theme]) table tbody tr {
    border-color: var(--stroke);
  }
  html:not([data-theme]) table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
  }
}

html[data-theme=dark] .accordion {
  --bs-accordion-color: var(--text);
  --bs-accordion-bg: rgba(17, 24, 39, 0.72);
  --bs-accordion-border-color: var(--stroke);
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-btn-bg: rgba(17, 24, 39, 0.72);
  --bs-accordion-active-color: var(--text);
  --bs-accordion-active-bg: rgba(154, 167, 200, 0.12);
  --bs-accordion-btn-focus-border-color: rgba(154, 167, 200, 0.55);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.18rem rgba(154, 167, 200, 0.22);
}
html[data-theme=dark] .accordion .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(1.2);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .accordion {
    --bs-accordion-color: var(--text);
    --bs-accordion-bg: rgba(17, 24, 39, 0.72);
    --bs-accordion-border-color: var(--stroke);
    --bs-accordion-btn-color: var(--text);
    --bs-accordion-btn-bg: rgba(17, 24, 39, 0.72);
    --bs-accordion-active-color: var(--text);
    --bs-accordion-active-bg: rgba(154, 167, 200, 0.12);
    --bs-accordion-btn-focus-border-color: rgba(154, 167, 200, 0.55);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.18rem rgba(154, 167, 200, 0.22);
  }
  html:not([data-theme]) .accordion .accordion-button::after {
    filter: invert(1) grayscale(1) brightness(1.2);
  }
}

.tooltip {
  --bs-tooltip-bg: var(--accent);
  --bs-tooltip-color: #fff;
}
html[data-theme=dark] .tooltip {
  --bs-tooltip-bg: var(--accent);
  --bs-tooltip-color: #fff;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .tooltip {
    --bs-tooltip-bg: var(--accent);
    --bs-tooltip-color: #fff;
  }
}
.tooltip .tooltip-inner {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: background-color color 0.2s ease;
}
.tooltip .tooltip-arrow::before {
  border-top-color: var(--accent);
}
.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--accent);
}
.tooltip.bs-tooltip-right .tooltip-arrow::before {
  border-right-color: var(--accent);
}
.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--accent);
}
.tooltip.bs-tooltip-left .tooltip-arrow::before {
  border-left-color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--accent);
}
html[data-theme=dark] h2 {
  color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) h2 {
    color: var(--accent);
  }
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}
html[data-theme=dark] p {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) p {
    color: var(--text);
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: underline;
}
a.link-blue {
  color: #105bba;
}
a.link-blue:hover {
  color: #0d4594;
}
html[data-theme=dark] a.link-blue {
  color: var(--accent);
}
html[data-theme=dark] a.link-blue:hover {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) a.link-blue {
    color: var(--accent);
  }
  html:not([data-theme]) a.link-blue:hover {
    color: var(--text);
  }
}
a.link-green {
  color: #6eaf44;
}
a.link-green:hover {
  color: #588c36;
}
html[data-theme=dark] a.link-green {
  color: var(--accent);
}
html[data-theme=dark] a.link-green:hover {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) a.link-green {
    color: var(--accent);
  }
  html:not([data-theme]) a.link-green:hover {
    color: var(--text);
  }
}
a.link-cyan {
  color: #47b0c9;
}
a.link-cyan:hover {
  color: #3694a8;
}
html[data-theme=dark] a.link-cyan {
  color: var(--accent);
}
html[data-theme=dark] a.link-cyan:hover {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) a.link-cyan {
    color: var(--accent);
  }
  html:not([data-theme]) a.link-cyan:hover {
    color: var(--text);
  }
}
html[data-theme=dark] a {
  color: var(--accent);
  text-decoration: none;
}
html[data-theme=dark] a:hover {
  text-decoration: underline;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) a {
    color: var(--accent);
    text-decoration: none;
  }
  html:not([data-theme]) a:hover {
    text-decoration: underline;
  }
}

html[data-theme=dark] ul,
html[data-theme=dark] ol {
  color: var(--text);
}
html[data-theme=dark] ul li,
html[data-theme=dark] ol li {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) ul,
  html:not([data-theme]) ol {
    color: var(--text);
  }
  html:not([data-theme]) ul li,
  html:not([data-theme]) ol li {
    color: var(--text);
  }
}

html[data-theme=dark] strong,
html[data-theme=dark] b {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) strong,
  html:not([data-theme]) b {
    color: var(--text);
  }
}

html[data-theme=dark] em,
html[data-theme=dark] i {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) em,
  html:not([data-theme]) i {
    color: var(--text);
  }
}

html[data-theme=dark] small {
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) small {
    color: var(--muted);
  }
}

html[data-theme=dark] blockquote {
  color: var(--muted);
  border-color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) blockquote {
    color: var(--muted);
    border-color: var(--accent);
  }
}

html[data-theme=dark] pre {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  border: 1px solid var(--stroke);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) pre {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    border: 1px solid var(--stroke);
  }
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: none;
}
html[data-theme=dark] .lead {
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .lead {
    color: var(--muted);
  }
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title p {
  margin: 0;
  color: var(--muted2);
  max-width: 90ch;
  line-height: 1.55;
}
html[data-theme=dark] .section-title p {
  color: var(--muted2);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .section-title p {
    color: var(--muted2);
  }
}

ul {
  padding-left: 1.5rem;
}
ul li {
  margin-bottom: 0.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--stroke);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn.sm {
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 12px;
}
.btn:hover {
  background: #4a8fd4;
  color: white;
  border-color: #4a8fd4;
}
.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn.primary {
  background-color: var(--accent);
  color: white;
  border-color: rgba(47, 58, 86, 0.35);
  background: rgba(47, 58, 86, 0.12);
  box-shadow: none;
}
.btn.primary:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
.btn.secondary {
  background: rgba(16, 91, 186, 0.12);
  border-color: rgba(16, 91, 186, 0.35);
  color: #105bba;
}
.btn.secondary:hover {
  background: #106fb2;
  color: white;
  border-color: #106fb2;
}
.btn.success {
  background: rgba(110, 175, 68, 0.12);
  border-color: rgba(110, 175, 68, 0.35);
  color: #6eaf44;
}
.btn.success:hover {
  background: #6eaf44;
  color: white;
  border-color: #6eaf44;
}
.btn.info {
  background: rgba(71, 176, 201, 0.12);
  border-color: rgba(71, 176, 201, 0.35);
  color: #47b0c9;
}
.btn.info:hover {
  background: #47b0c9;
  color: white;
  border-color: #47b0c9;
}
.btn.ghost {
  background: transparent;
}
.btn.ghost:hover {
  background: #279983;
  color: white;
  border-color: #279983;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn:disabled:hover {
  background: inherit;
  color: inherit;
  border-color: inherit;
}
html[data-theme=dark] .btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--stroke);
}
html[data-theme=dark] .btn:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
html[data-theme=dark] .btn.primary {
  border-color: rgba(154, 167, 200, 0.42);
  background: rgba(154, 167, 200, 0.14);
  color: var(--text);
}
html[data-theme=dark] .btn.primary:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
html[data-theme=dark] .btn.secondary:hover {
  background: #106fb2;
  color: white;
  border-color: #106fb2;
}
html[data-theme=dark] .btn.success:hover {
  background: #6eaf44;
  color: white;
  border-color: #6eaf44;
}
html[data-theme=dark] .btn.info:hover {
  background: #47b0c9;
  color: white;
  border-color: #47b0c9;
}
html[data-theme=dark] .btn.ghost:hover {
  background: #279983;
  color: white;
  border-color: #279983;
}
html[data-theme=dark] .btn:disabled:hover {
  background: inherit;
  color: inherit;
  border-color: inherit;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--stroke);
  }
  html:not([data-theme]) .btn:hover {
    background: #105bba;
    color: white;
    border-color: #105bba;
  }
  html:not([data-theme]) .btn.primary {
    border-color: rgba(154, 167, 200, 0.42);
    background: rgba(154, 167, 200, 0.14);
    color: var(--text);
  }
  html:not([data-theme]) .btn.primary:hover {
    background: #105bba;
    color: white;
    border-color: #105bba;
  }
  html:not([data-theme]) .btn.secondary:hover {
    background: #106fb2;
    color: white;
    border-color: #106fb2;
  }
  html:not([data-theme]) .btn.success:hover {
    background: #6eaf44;
    color: white;
    border-color: #6eaf44;
  }
  html:not([data-theme]) .btn.info:hover {
    background: #47b0c9;
    color: white;
    border-color: #47b0c9;
  }
  html:not([data-theme]) .btn.ghost:hover {
    background: #279983;
    color: white;
    border-color: #279983;
  }
  html:not([data-theme]) .btn:disabled:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
  }
}

.font-controls {
  display: inline-flex;
  gap: 8px;
}
.font-controls .btn {
  padding: 10px 12px;
  min-width: 44px;
  justify-content: center;
}

[data-tts-toggle] {
  white-space: nowrap;
}
[data-tts-toggle]:focus-visible {
  outline: 3px solid rgba(47, 58, 86, 0.35);
  outline-offset: 2px;
}
html[data-theme=dark] [data-tts-toggle]:focus-visible {
  outline-color: rgba(154, 167, 200, 0.55);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) [data-tts-toggle]:focus-visible {
    outline-color: rgba(154, 167, 200, 0.55);
  }
}

.nav-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-btn i {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
}
.nav-btn:hover {
  transform: scale(1.05);
  background: #105bba;
  color: white;
  border-color: #105bba;
}
.nav-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html[data-theme=dark] .nav-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
  color: var(--text);
}
html[data-theme=dark] .nav-btn:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .nav-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--stroke);
    color: var(--text);
  }
  html:not([data-theme]) .nav-btn:hover {
    background: #105bba;
    color: white;
    border-color: #105bba;
  }
}

.nav-dev-tools {
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
  margin-top: 12px;
  justify-content: center;
}
@media (min-width: 992px) {
  .nav-dev-tools {
    display: none !important;
  }
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 18px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.social-icons a i {
  margin: 0;
  display: block;
}
.social-icons a:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
  transform: scale(1.05);
}
html[data-theme=dark] .social-icons a {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
  color: var(--text);
}
html[data-theme=dark] .social-icons a:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .social-icons a {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--stroke);
    color: var(--text);
  }
  html:not([data-theme]) .social-icons a:hover {
    background: #105bba;
    color: white;
    border-color: #105bba;
  }
}

.nav-toolbox {
  margin-left: auto;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  padding: 0.5rem;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background-color: var(--bg1);
  color: var(--text);
  transition: all 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 124, 181, 0.1);
}
html[data-theme=dark] input,
html[data-theme=dark] textarea,
html[data-theme=dark] select {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}
html[data-theme=dark] input:focus,
html[data-theme=dark] textarea:focus,
html[data-theme=dark] select:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--accent) !important;
}
html[data-theme=dark] input::placeholder,
html[data-theme=dark] textarea::placeholder,
html[data-theme=dark] select::placeholder {
  color: var(--muted2) !important;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) input,
  html:not([data-theme]) textarea,
  html:not([data-theme]) select {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--text) !important;
    border-color: var(--stroke) !important;
  }
  html:not([data-theme]) input:focus,
  html:not([data-theme]) textarea:focus,
  html:not([data-theme]) select:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent) !important;
  }
  html:not([data-theme]) input::placeholder,
  html:not([data-theme]) textarea::placeholder,
  html:not([data-theme]) select::placeholder {
    color: var(--muted2) !important;
  }
}

.kf-form .form-label {
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 6px;
}
.kf-form .form-control,
.kf-form .form-select {
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}
.kf-form .form-control:focus,
.kf-form .form-select:focus {
  border-color: rgba(47, 58, 86, 0.35);
  box-shadow: 0 0 0 0.18rem rgba(47, 58, 86, 0.14);
}
.kf-form .form-control::placeholder,
.kf-form .form-select::placeholder {
  color: var(--muted2);
  opacity: 0.92;
}
html[data-theme=dark] .kf-form .form-control,
html[data-theme=dark] .kf-form .form-select {
  background: rgba(255, 255, 255, 0.04);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .kf-form .form-control,
  html:not([data-theme]) .kf-form .form-select {
    background: rgba(255, 255, 255, 0.04);
  }
}

.form-pulse {
  animation: formPulse 0.9s ease-in-out;
}

@keyframes formPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 58, 86, 0.14);
  }
  50% {
    box-shadow: 0 0 0 0.22rem rgba(47, 58, 86, 0.14);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 58, 86, 0);
  }
}
@media (min-width: 992px) {
  .kf-compact-select {
    max-width: 420px;
  }
}
.kf-stepper {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin: 6px 0 12px;
}

.kf-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted2);
  font-size: 13px;
  line-height: 1;
}
.kf-step[aria-current=step] {
  color: var(--text);
  border-color: rgba(47, 58, 86, 0.28);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.kf-step-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(47, 58, 86, 0.1);
  color: var(--text);
}

html.js [data-kf-step][hidden] {
  display: none !important;
}

.form-status {
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid var(--stroke);
  background: rgba(34, 197, 94, 0.1);
  color: var(--text);
}
.form-status.is-error {
  background: rgba(239, 68, 68, 0.1);
}

.kf-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1055;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(34, 197, 94, 0.1);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.kf-toast.is-error {
  background: rgba(239, 68, 68, 0.1);
}

.kf-success-pre {
  margin: 8px 0 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
}

a.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  text-decoration: none;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: none;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 2px 8px rgba(47, 58, 86, 0.08);
  transition: all 0.2s ease;
}
.header.scrolled {
  box-shadow: 0 4px 16px rgba(47, 58, 86, 0.12);
}
html[data-theme=dark] .header {
  background: #0a1325;
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .header {
    background: #0a1325;
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: clamp(44px, 6vw, 72px);
  height: clamp(44px, 6vw, 72px);
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  border: 0;
  display: inline-block;
  object-fit: contain;
}
.brand-wordmark {
  height: clamp(44px, 6vw, 72px);
  width: auto;
  display: block;
  max-width: min(760px, 70vw);
}
.brand-top {
  gap: 10px;
  padding: 0;
  border-radius: 16px;
}
html[data-theme=dark] .brand-top {
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.12);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .brand-top {
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.12);
  }
}
.brand-tagline {
  margin-top: 2px;
}

@media (max-width: 420px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-wordmark {
    height: 44px;
    max-width: min(420px, 78vw);
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(15, 23, 42, 0.03);
}
html[data-theme=dark] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.04);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
  }
}

.navbar-toggler {
  margin-left: auto;
  border-color: rgba(0, 0, 0, 0.1);
}
html[data-theme=dark] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}
html[data-theme=dark] .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
  }
  html:not([data-theme]) .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

.navbar-brand {
  max-width: calc(100% - 56px);
}

.header,
.navbar {
  overflow-x: clip;
}

.collapse {
  display: none;
}
.collapse.show {
  display: block;
}

.collapsing {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  transition: none !important;
}

.header .container,
.navbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  position: relative;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  flex: 1 1 auto;
  max-width: calc(100% - 60px);
}

.navbar-toggler {
  flex: 0 0 auto;
}

.navbar-expand-lg .navbar-collapse {
  flex-basis: 100%;
  width: 100%;
}

.navbar-nav {
  flex-wrap: wrap;
}

.navbar-brand {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.nav-links .nav-item {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .brand-wordmark {
    max-width: min(560px, 50vw);
  }
  .navbar .container {
    align-items: stretch;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand links";
    gap: 10px 16px;
  }
  .navbar-brand {
    grid-area: brand;
    flex: 0 0 auto;
    align-self: flex-start;
    width: auto;
    margin-bottom: 0;
  }
  .navbar-collapse {
    grid-area: links;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: auto;
  }
  .nav-links {
    order: 2;
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
  }
  .nav-links .nav-item {
    flex: 0 0 auto;
  }
}
@media (max-width: 992px) {
  .nav-links {
    flex: 1 1 100%;
    justify-content: flex-start;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links .nav-item {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
  }
  .nav-cta {
    flex-basis: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .navbar-collapse {
    width: 100%;
    margin-top: 8px;
  }
  .navbar-nav {
    width: 100%;
  }
}
@media (max-width: 720px) {
  .brand-wordmark {
    height: 44px;
    max-width: 240px;
  }
  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }
}
.social-edge,
.helpers-edge,
.cta-edge,
.dev-edge {
  position: fixed;
  z-index: 60;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.social-edge:hover,
.helpers-edge:hover,
.cta-edge:hover,
.dev-edge:hover {
  box-shadow: 0 4px 16px rgba(107, 124, 181, 0.2);
}
html[data-theme=dark] .social-edge,
html[data-theme=dark] .helpers-edge,
html[data-theme=dark] .cta-edge,
html[data-theme=dark] .dev-edge {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .social-edge,
  html:not([data-theme]) .helpers-edge,
  html:not([data-theme]) .cta-edge,
  html:not([data-theme]) .dev-edge {
    background: rgba(17, 24, 39, 0.82);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  }
}
.social-edge .btn,
.social-edge a,
.helpers-edge .btn,
.helpers-edge a,
.cta-edge .btn,
.cta-edge a,
.dev-edge .btn,
.dev-edge a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.social-edge .btn:hover,
.social-edge a:hover,
.helpers-edge .btn:hover,
.helpers-edge a:hover,
.cta-edge .btn:hover,
.cta-edge a:hover,
.dev-edge .btn:hover,
.dev-edge a:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--stroke);
}
html[data-theme=dark] .social-edge .btn,
html[data-theme=dark] .social-edge a,
html[data-theme=dark] .helpers-edge .btn,
html[data-theme=dark] .helpers-edge a,
html[data-theme=dark] .cta-edge .btn,
html[data-theme=dark] .cta-edge a,
html[data-theme=dark] .dev-edge .btn,
html[data-theme=dark] .dev-edge a {
  color: var(--text) !important;
}
html[data-theme=dark] .social-edge .btn:hover,
html[data-theme=dark] .social-edge a:hover,
html[data-theme=dark] .helpers-edge .btn:hover,
html[data-theme=dark] .helpers-edge a:hover,
html[data-theme=dark] .cta-edge .btn:hover,
html[data-theme=dark] .cta-edge a:hover,
html[data-theme=dark] .dev-edge .btn:hover,
html[data-theme=dark] .dev-edge a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text) !important;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .social-edge .btn,
  html:not([data-theme]) .social-edge a,
  html:not([data-theme]) .helpers-edge .btn,
  html:not([data-theme]) .helpers-edge a,
  html:not([data-theme]) .cta-edge .btn,
  html:not([data-theme]) .cta-edge a,
  html:not([data-theme]) .dev-edge .btn,
  html:not([data-theme]) .dev-edge a {
    color: var(--text) !important;
  }
  html:not([data-theme]) .social-edge .btn:hover,
  html:not([data-theme]) .social-edge a:hover,
  html:not([data-theme]) .helpers-edge .btn:hover,
  html:not([data-theme]) .helpers-edge a:hover,
  html:not([data-theme]) .cta-edge .btn:hover,
  html:not([data-theme]) .cta-edge a:hover,
  html:not([data-theme]) .dev-edge .btn:hover,
  html:not([data-theme]) .dev-edge a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text) !important;
  }
}

.social-edge {
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-edge a {
  width: 34px;
  height: 34px;
  color: var(--text);
  text-decoration: none;
}
.social-edge i {
  font-size: 15px;
}

.helpers-edge {
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.helpers-edge .btn {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border-color: transparent;
}
.helpers-edge .font-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.helpers-edge .font-controls .btn {
  width: 34px;
  height: 34px;
}
.helpers-edge i {
  font-size: 15px;
}

.cta-edge {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
}
.cta-edge .btn {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.dev-edge {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.86);
  align-items: center;
  gap: 6px;
  width: max-content;
}
.dev-edge .dev-edge-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.dev-edge .dev-edge-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}
.dev-edge .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.font-edge {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 32px;
  min-width: 320px;
  animation: fontEdgeFadeIn 0.2s ease-out;
}
html[data-theme=dark] .font-edge {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .font-edge {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
}

@keyframes fontEdgeFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.font-edge-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.font-edge-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0;
}

.font-edge-controls {
  display: flex;
  gap: 16px;
}
.font-edge-controls .btn {
  width: 64px;
  height: 64px;
  font-size: 26px;
  border-radius: 16px;
  background: rgba(16, 91, 186, 0.08);
  border: 1px solid rgba(16, 91, 186, 0.2);
  color: #106fb2;
  transition: all 0.2s ease;
}
.font-edge-controls .btn:hover {
  background: #106fb2;
  color: white;
  border-color: #106fb2;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(16, 91, 186, 0.3);
}
.font-edge-controls .btn:active {
  transform: scale(0.98);
}
html[data-theme=dark] .font-edge-controls .btn {
  background: rgba(154, 167, 200, 0.1);
  border-color: rgba(154, 167, 200, 0.25);
  color: rgb(154, 167, 200);
}
html[data-theme=dark] .font-edge-controls .btn:hover {
  background: #105bba;
  color: white;
  border-color: #105bba;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .font-edge-controls .btn {
    background: rgba(154, 167, 200, 0.1);
    border-color: rgba(154, 167, 200, 0.25);
    color: rgb(154, 167, 200);
  }
  html:not([data-theme]) .font-edge-controls .btn:hover {
    background: #105bba;
    color: white;
    border-color: #105bba;
  }
}

.font-edge-close {
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--muted);
  transition: all 0.2s ease;
}
.font-edge-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: rgb(239, 68, 68);
  transform: scale(1.05);
}
.font-edge-close:active {
  transform: scale(0.95);
}
html[data-theme=dark] .font-edge-close {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
html[data-theme=dark] .font-edge-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgb(248, 113, 113);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .font-edge-close {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--muted);
  }
  html:not([data-theme]) .font-edge-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: rgb(248, 113, 113);
  }
}

@media (max-width: 992px) {
  .social-edge,
  .helpers-edge,
  .cta-edge,
  .dev-edge {
    display: none !important;
  }
}
.footer {
  padding: 34px 0 96px;
  border-top: 1px solid var(--stroke);
  color: var(--muted2);
}
html[data-theme=dark] .footer {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .footer {
    background: rgba(17, 24, 39, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-extend {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(120deg, rgba(47, 58, 86, 0.06), rgba(47, 58, 86, 0.02));
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
html[data-theme=dark] .footer-extend {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .footer-extend {
    background: rgba(17, 24, 39, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

.footer-credit,
.footer-made {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
}
.footer-link:hover {
  background: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}
html[data-theme=dark] .footer-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text) !important;
}
html[data-theme=dark] .footer-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text) !important;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .footer-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text) !important;
  }
  html:not([data-theme]) .footer-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text) !important;
  }
}

.footer-heart {
  color: #ef4444;
  font-size: 14px;
  line-height: 1;
}

.feedback-formular-wrapper {
  transition: all 0.2s ease;
  border-left: 6px solid transparent;
  border-radius: var(--radius);
  border-left-color: var(--stroke);
  background: linear-gradient(90deg, rgba(var(--text-rgb), 0.03), transparent);
  padding: 0.5rem;
}
.feedback-formular-wrapper.is-highlighted {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.15), transparent);
  box-shadow: var(--shadow-soft);
}
.feedback-formular-wrapper.is-success {
  border-left-color: #af446e;
  background: linear-gradient(90deg, rgba(175, 68, 110, 0.15), transparent);
}
.feedback-formular-wrapper.is-error {
  border-left-color: #dc3545;
  background: linear-gradient(90deg, rgba(220, 53, 69, 0.15), transparent);
}
html[data-theme=dark] .feedback-formular-wrapper {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
  border-left-color: var(--stroke);
}
html[data-theme=dark] .feedback-formular-wrapper.is-highlighted {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent);
  box-shadow: var(--shadow-soft);
}
html[data-theme=dark] .feedback-formular-wrapper.is-success {
  border-left-color: #22c55e;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent);
}
html[data-theme=dark] .feedback-formular-wrapper.is-error {
  border-left-color: #dc3545;
  background: linear-gradient(90deg, rgba(220, 53, 69, 0.08), transparent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feedback-formular-wrapper {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
    border-left-color: var(--stroke);
  }
  html:not([data-theme]) .feedback-formular-wrapper.is-highlighted {
    border-left-color: var(--accent);
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent);
    box-shadow: var(--shadow-soft);
  }
  html:not([data-theme]) .feedback-formular-wrapper.is-success {
    border-left-color: #22c55e;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), transparent);
  }
  html:not([data-theme]) .feedback-formular-wrapper.is-error {
    border-left-color: #dc3545;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.08), transparent);
  }
}

.feedback-responses {
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}
.feedback-responses h4 {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
html[data-theme=dark] .feedback-responses h4 {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feedback-responses h4 {
    color: var(--text);
  }
}

.feedback-item {
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  cursor: pointer;
  margin-bottom: 6px;
  max-height: 45px;
  overflow: hidden;
}
.feedback-item .card.status-open {
  border-left-color: #cbd5e1;
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.15), transparent);
}
.feedback-item .card.status-inprogress {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), transparent);
}
.feedback-item .card.status-done {
  border-left-color: #22c55e;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), transparent);
}
.feedback-item .card-body {
  padding: 6px 10px;
}
.feedback-item .card-title {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}
.feedback-item .text-muted {
  font-size: 0.75rem;
}
.feedback-item.is-open {
  box-shadow: var(--shadow-soft);
  max-height: none;
  overflow: visible;
}
html[data-theme=dark] .feedback-item .card-body {
  background: rgba(0, 0, 0, 0.2);
}
html[data-theme=dark] .feedback-item .card-title {
  color: var(--text);
}
html[data-theme=dark] .feedback-item .text-muted {
  color: var(--muted2);
}
html[data-theme=dark] .feedback-item.status-inprogress {
  background: rgba(245, 158, 11, 0.14);
  border-left-color: #f59e0b;
}
html[data-theme=dark] .feedback-item.status-done {
  background: rgba(34, 197, 94, 0.14);
  border-left-color: #22c55e;
}
html[data-theme=dark] .feedback-item.status-open {
  background: rgba(203, 213, 225, 0.1);
  border-left-color: #8b95b8;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feedback-item .card-body {
    background: rgba(0, 0, 0, 0.2);
  }
  html:not([data-theme]) .feedback-item .card-title {
    color: var(--text);
  }
  html:not([data-theme]) .feedback-item .text-muted {
    color: var(--muted2);
  }
  html:not([data-theme]) .feedback-item.status-inprogress {
    background: rgba(245, 158, 11, 0.14);
    border-left-color: #f59e0b;
  }
  html:not([data-theme]) .feedback-item.status-done {
    background: rgba(34, 197, 94, 0.14);
    border-left-color: #22c55e;
  }
  html:not([data-theme]) .feedback-item.status-open {
    background: rgba(203, 213, 225, 0.1);
    border-left-color: #8b95b8;
  }
}

.feedback-body {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
  padding: 4px 0;
}
html[data-theme=dark] .feedback-body {
  color: var(--muted);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feedback-body {
    color: var(--muted);
  }
}

.feedback-card {
  transition: all 0.2s ease;
  border-radius: var(--radius);
  padding: 0.15rem 0.75rem;
}

.feedback-item.status-open .feedback-card {
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.15), transparent);
}

.feedback-item.status-inprogress .feedback-card {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), transparent);
}

.feedback-item.status-done .feedback-card {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.2), transparent);
}

.section-finanzierung {
  border-left: 4px solid var(--accent) !important;
  background: linear-gradient(90deg, rgba(var(--accent-rgb, 92, 184, 255), 0.15), transparent) !important;
  box-shadow: var(--shadow-soft);
}

.feedback-toggle-btn i {
  transition: transform 0.3s ease;
  display: inline-block;
}
.feedback-toggle-btn i.fa-chevron-down {
  transform: rotate(0deg);
}
.feedback-toggle-btn i.fa-chevron-up {
  transform: rotate(180deg);
}

.badge.bg-status-open {
  background-color: #cbd5e1 !important;
  color: #1e293b;
}

.badge.bg-status-inprogress {
  background-color: #f59e0b !important;
  color: #000;
}

.badge.bg-status-done {
  background-color: #22c55e !important;
  color: #fff;
}

.feedback-form {
  transition: all 0.2s ease;
  background: linear-gradient(90deg, rgba(var(--text-rgb), 0.02), transparent);
}
.feedback-form .mb-2 {
  margin-bottom: 0.6rem !important;
}
.feedback-form .row {
  height: 100%;
  display: flex;
  align-items: stretch;
}
.feedback-form .col-lg-8 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.feedback-form .col-lg-4 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
html[data-theme=dark] .feedback-form {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.01), transparent);
  border-left-color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .feedback-form {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01), transparent);
    border-left-color: var(--accent);
  }
}

.form-label-compact {
  margin-bottom: 0.3rem !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text);
}

.form-control-compact {
  padding: 0.35rem 0.6rem !important;
  font-size: 0.9rem;
  height: auto;
  min-height: 32px;
  border-radius: 0.3rem;
  border: 1px solid var(--stroke);
  transition: all 0.2s ease;
}
.form-control-compact:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 47, 58, 86), 0.1);
}

textarea.form-control-compact {
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
  line-height: 1.4;
}

.form-textarea-responsive {
  height: 100%;
  max-height: 180px;
  min-height: 80px;
}
@media (max-width: 991px) {
  .form-textarea-responsive {
    max-height: 120px;
    min-height: 70px;
  }
}
@media (max-width: 576px) {
  .form-textarea-responsive {
    max-height: none;
    min-height: 100px;
  }
}

.form-check-compact {
  margin-bottom: 0.4rem !important;
  padding-left: 0;
  display: flex;
  align-items: center;
}
.form-check-compact .form-check-input {
  margin-top: 0;
  margin-right: 0.45rem;
  margin-left: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 1px solid var(--stroke);
  transition: all 0.2s ease;
}
.form-check-compact .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.form-check-compact .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 47, 58, 86), 0.1);
}
.form-check-compact .form-check-label {
  margin-bottom: 0;
  font-size: 0.9rem;
  margin-left: 0;
  padding-left: 0;
  cursor: pointer;
}

.feedback-users-compact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.form-label-compact {
  margin-bottom: 0.25rem !important;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-control-compact {
  padding: 0.3rem 0.5rem !important;
  font-size: 0.85rem;
  height: auto;
  min-height: 30px;
  border-radius: 0.25rem;
}

textarea.form-control-compact {
  resize: vertical;
  min-height: 60px;
}

.form-textarea-responsive {
  height: 100%;
  max-height: 180px;
  min-height: 80px;
}
@media (max-width: 991px) {
  .form-textarea-responsive {
    max-height: 120px;
    min-height: 70px;
  }
}
@media (max-width: 576px) {
  .form-textarea-responsive {
    max-height: none;
    min-height: 100px;
  }
}

.form-check-compact {
  margin-bottom: 0.25rem !important;
  padding-left: 0;
}
.form-check-compact .form-check-input {
  margin-top: 0.15rem;
  margin-right: 0.4rem;
}
.form-check-compact .form-check-label {
  margin-bottom: 0;
  font-size: 0.85rem;
  margin-left: 0;
  padding-left: 0;
}

.feedback-users-compact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.quote-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2rem auto 2.5rem;
  padding: 24px 28px;
  max-width: 600px;
  width: 90%;
  background: linear-gradient(135deg, rgba(16, 91, 186, 0.04) 0%, rgba(71, 176, 201, 0.02) 100%);
  border: 1px solid var(--stroke);
  border-left: 4px solid #105bba;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 91, 186, 0.08);
  transition: all 0.2s ease;
}
.quote-pill:hover {
  transform: translateY(-2px);
  border-left-color: #47b0c9;
  box-shadow: 0 6px 24px rgba(71, 176, 201, 0.12);
}
.quote-pill blockquote {
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--accent);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.3px;
  word-spacing: 0.05em;
}
.quote-pill figcaption {
  margin: 12px 0 0 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
}
.quote-pill figcaption::before {
  content: "— ";
}
html[data-theme=dark] .quote-pill {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.5) 0%, rgba(102, 126, 234, 0.05) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(150, 100, 200, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
html[data-theme=dark] .quote-pill:hover {
  border-left-color: rgba(150, 100, 200, 0.9);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.15);
}
html[data-theme=dark] .quote-pill blockquote {
  color: var(--muted);
}
html[data-theme=dark] .quote-pill figcaption {
  color: var(--muted2);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .quote-pill {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.5) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(150, 100, 200, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  html:not([data-theme]) .quote-pill:hover {
    border-left-color: rgba(150, 100, 200, 0.9);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.15);
  }
  html:not([data-theme]) .quote-pill blockquote {
    color: var(--muted);
  }
  html:not([data-theme]) .quote-pill figcaption {
    color: var(--muted2);
  }
}

@media (max-width: 768px) {
  .quote-pill {
    margin: 1.5rem auto 2rem;
    padding: 20px 22px;
    width: 95%;
  }
  .quote-pill blockquote {
    font-size: 1rem;
    line-height: 1.5;
  }
  .quote-pill figcaption {
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .quote-pill {
    margin: 1.25rem auto 1.75rem;
    padding: 16px 18px;
  }
  .quote-pill blockquote {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .quote-pill figcaption {
    font-size: 0.8rem;
    margin-top: 10px;
  }
}
/**
 * Variant System Styles
 * Universal content switcher styling - applicable to all content types
 */
/* ========================================================================
   CORE VARIANT SYSTEM
   ======================================================================== */
/* Scroll anchors for variant navigation */
.scroll-anchor {
  position: relative;
  top: -1rem; /* 1rem Offset für bessere Positionierung */
  visibility: hidden;
  height: 0;
  pointer-events: none;
}

/* Transition effects for variant switching */
.is-flipping {
  opacity: 0.6;
}

[data-kf-content-target] {
  transition: opacity 280ms ease-out;
}

.kf-variant, .kf-kern-variant,
.kf-finanz-variant {
  transition: opacity 280ms ease-out;
  margin: 0;
  padding: 0;
  display: block;
}

.component-section {
  transition: opacity 280ms ease-out;
}

/* ========================================================================
   TEXT COLOR MOCK CLASS
   ======================================================================== */
/* Single mock class for automatic content duplication with red color variation */
.text-mock {
  color: #d32f2f;
}
.text-mock .component-header h4 {
  color: #c62828;
}
.text-mock .section-lead {
  color: #c62828;
}
.text-mock blockquote {
  color: #d32f2f !important;
}
.text-mock figcaption {
  color: #c62828 !important;
}
.text-mock :is(h3, h4, h5, h6) {
  opacity: 0.9;
}

/* Dark mode support for mock class */
@media (prefers-color-scheme: dark) {
  .text-mock {
    color: #ef5350;
  }
  .text-mock .component-header h4 {
    color: #ff6f6f;
  }
  .text-mock .section-lead {
    color: #ff6f6f;
  }
  .text-mock blockquote {
    color: #ef5350 !important;
  }
  .text-mock figcaption {
    color: #ff6f6f !important;
  }
  .text-mock :is(h3, h4, h5, h6) {
    opacity: 0.9;
  }
}
/* CSS custom properties fallback for data-theme attribute */
[data-theme=dark] .text-mock {
  color: #ef5350;
}
[data-theme=dark] .text-mock .component-header h4 {
  color: #ff6f6f;
}
[data-theme=dark] .text-mock .section-lead {
  color: #ff6f6f;
}
[data-theme=dark] .text-mock blockquote {
  color: #ef5350 !important;
}
[data-theme=dark] .text-mock figcaption {
  color: #ff6f6f !important;
}
[data-theme=dark] .text-mock :is(h3, h4, h5, h6) {
  opacity: 0.9;
}

/* ========================================================================
   VARIANT CONTROLS
   ======================================================================== */
.kf-variant-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.kf-variant-controls > .btn {
  order: 1;
}
.kf-variant-controls > .kf-variant-dots {
  order: 2;
}
.kf-variant-controls > .kf-variant-label {
  order: 3;
}

.kf-variant-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.kf-variant-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.kf-variant-dot:hover {
  transform: scale(1.08);
}
.kf-variant-dot[aria-pressed=true] {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.04);
}

[data-kf-variant-next] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* ========================================================================
   CONTENT GRID SYSTEMS
   ======================================================================== */
/* Generic grid system for variant content */
.kf-variant-grid, .kf-finanz-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
@media (min-width: 768px) {
  .kf-variant-grid, .kf-finanz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .kf-variant-grid, .kf-finanz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================================================
   CONTENT CARDS
   ======================================================================== */
/* Generic card styling for variant content */
.kf-variant-card, .kf-finanz-card {
  background: rgba(47, 58, 86, 0.004);
  border: 1px solid rgba(47, 58, 86, 0.04);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kf-variant-card:hover, .kf-finanz-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 58, 86, 0.08);
}

.kf-variant-card-header, .kf-finanz-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.kf-variant-card-header i, .kf-finanz-card-header i {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.kf-variant-card h4, .kf-finanz-card h4 {
  margin: 0;
  color: var(--accent);
  font-size: 1.05em;
  font-weight: 600;
}

.kf-variant-card-content, .kf-finanz-card-content {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.kf-variant-card-content p, .kf-finanz-card-content p {
  margin: 0 0 0.75rem 0;
}
.kf-variant-card-content p:last-child, .kf-finanz-card-content p:last-child {
  margin-bottom: 0;
}
.kf-variant-card-content ul, .kf-finanz-card-content ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}
.kf-variant-card-content li, .kf-finanz-card-content li {
  margin-bottom: 0.35rem;
}

/* ========================================================================
   INTRO SECTIONS
   ======================================================================== */
.kf-variant-intro, .kf-finanz-intro {
  margin-bottom: 1.5rem;
}

.kf-variant-lead, .kf-finanz-lead {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ========================================================================
   LEGACY SUPPORT (for existing implementations)
   ======================================================================== */
/* Support for existing finanzierung-specific classes */
/* Legacy variant classes */
/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */
@media (max-width: 575px) {
  .kf-variant-dots {
    justify-content: flex-start;
  }
  [data-kf-variant-next] {
    order: 2;
  }
  .kf-variant-grid, .kf-finanz-grid {
    grid-template-columns: 1fr;
  }
}
.modal {
  overflow-x: hidden;
  padding-right: 0 !important;
}
html[data-theme=dark] .modal .modal-content {
  background: rgba(17, 24, 39, 0.92);
  color: var(--text);
  border: 1px solid var(--stroke);
}
html[data-theme=dark] .modal .modal-header,
html[data-theme=dark] .modal .modal-footer {
  border-color: var(--stroke);
}
html[data-theme=dark] .modal .modal-title,
html[data-theme=dark] .modal .modal-body {
  color: var(--text);
}
html[data-theme=dark] .modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.85;
}
html[data-theme=dark] .modal a {
  color: var(--text);
}
html[data-theme=dark] .modal a:hover {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .modal .modal-content {
    background: rgba(17, 24, 39, 0.92);
    color: var(--text);
    border: 1px solid var(--stroke);
  }
  html:not([data-theme]) .modal .modal-header,
  html:not([data-theme]) .modal .modal-footer {
    border-color: var(--stroke);
  }
  html:not([data-theme]) .modal .modal-title,
  html:not([data-theme]) .modal .modal-body {
    color: var(--text);
  }
  html:not([data-theme]) .modal .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 0.85;
  }
  html:not([data-theme]) .modal a {
    color: var(--text);
  }
  html:not([data-theme]) .modal a:hover {
    color: var(--text);
  }
}

.modal-dialog {
  margin: 1rem auto;
  max-width: calc(100% - 2rem);
  width: calc(100% - 2rem);
}

.modal-content {
  width: 100%;
}

.modal-body {
  max-height: calc(100vh - 200px);
  overflow: auto;
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  .modal-body {
    max-height: calc(100vh - 160px);
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--max), 100% - 48px);
  margin: 0 auto;
}

[data-print-paper] {
  cursor: pointer;
}

[data-open-cookie-settings] {
  cursor: pointer;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted2);
  transition: all 0.2s ease;
}
.pill b,
.pill strong {
  color: var(--text);
  font-weight: 600;
}
html[data-theme=dark] .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--stroke);
  color: var(--muted);
}
html[data-theme=dark] .pill b,
html[data-theme=dark] .pill strong {
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--stroke);
    color: var(--muted);
  }
  html:not([data-theme]) .pill b,
  html:not([data-theme]) .pill strong {
    color: var(--text);
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 20px);
  }
  .hero {
    padding: 36px 0 28px;
  }
  .hero h1 {
    text-wrap: balance;
  }
  .hero .lead {
    text-wrap: pretty;
  }
  .hero-card {
    margin-top: 12px;
  }
  .hero-points {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .grid-auto {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
@media print {
  body {
    background-image: none;
    background-color: white;
    color: black;
  }
  .social-edge,
  .helpers-edge,
  .cta-edge,
  .dev-edge {
    display: none !important;
  }
  .quote-pill {
    page-break-inside: avoid;
    border: 1px solid #999;
    background: white;
    box-shadow: none;
  }
  .quote-pill blockquote {
    color: #000;
  }
  .quote-pill figcaption {
    color: #333;
  }
}
.kf-dev-redaktion-good,
.kf-dev-redaktion-inprogress,
.kf-dev-redaktion-poor {
  transition: all 0.3s ease;
}

.kf-dev-redaktion-good.is-active {
  border: 4px dotted #22c55e;
  border-radius: 8px;
  padding: 16px;
}
.kf-dev-redaktion-good.is-active:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

.kf-dev-redaktion-inprogress.is-active {
  border: 4px dotted #f59e0b;
  border-radius: 8px;
  padding: 16px;
}
.kf-dev-redaktion-inprogress.is-active:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.2);
}

.kf-dev-redaktion-poor.is-active {
  border: 4px dotted #ef4444;
  border-radius: 8px;
  padding: 16px;
}
.kf-dev-redaktion-poor.is-active:hover {
  border-color: #ef4444;
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
}

/*# sourceMappingURL=site.css.map */
