:root {
    --kt-primary: #22c55e;
    --kt-primary-hover: #16a34a;
    --kt-primary-soft: rgb(34 197 94 / 12%);
    --kt-bg-page: #0f1419;
    --kt-bg-dark: #080d11;
    --kt-bg-card: #111920;
    --kt-bg-card-hover: #162129;
    --kt-bg-input: #0b1116;
    --kt-text-primary: #fff;
    --kt-text-secondary: #9ca3af;
    --kt-border: rgb(255 255 255 / 8%);
    --kt-border-strong: rgb(255 255 255 / 14%);
    --kt-border-active: rgb(34 197 94 / 40%);
    --kt-danger: #ef4444;
    --kt-warning: #f59e0b;
    --kt-radius-sm: 6px;
    --kt-radius: 10px;
    --kt-radius-lg: 14px;
    --sidebar-width: 260px;
    --sidebar-bg: var(--kt-bg-dark);
    --sidebar-muted: var(--kt-text-secondary);
    --app-bg: var(--kt-bg-page);
    --accent: var(--kt-primary);
}
html, body { min-height: 100%; }
body {
    margin: 0; overflow-x: hidden; background: var(--kt-bg-page); color: var(--kt-text-primary);
    font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--kt-primary); }
a:hover { color: #4ade80; }
::selection { background: rgb(34 197 94 / 28%); color: #fff; }
.text-body-secondary, .form-text { color: var(--kt-text-secondary) !important; }
.text-danger { color: #f87171 !important; }
.min-w-0 { min-width: 0; }
:focus-visible { outline: 2px solid var(--kt-primary); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1200; top: .75rem; left: .75rem; padding: .6rem 1rem; border-radius: 6px; background: var(--kt-primary); color: #061009; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.kt-brand { display: inline-flex; align-items: center; white-space: nowrap; }
.kt-brand-image { display: block; width: auto; height: 44px; object-fit: contain; }
.kt-brand--compact .kt-brand-image { height: 38px; }

.frontend-body {
    background-color: var(--kt-bg-page);
    background-image: linear-gradient(rgb(34 197 94 / 2.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(34 197 94 / 2.5%) 1px, transparent 1px);
    background-size: 52px 52px;
}
.kt-navbar { position: sticky; z-index: 1030; top: 0; min-height: 72px; border-bottom: 1px solid var(--kt-border); background: rgb(8 13 17 / 94%); backdrop-filter: blur(12px); }
.kt-navbar .navbar-brand { margin-right: 2rem; padding: 0; }
.kt-navbar .nav-link { padding: .75rem 1rem; color: #cbd5e1; font-size: .9rem; font-weight: 550; }
.kt-navbar .nav-link:hover, .kt-navbar .nav-link.active { color: #fff; }
.kt-navbar .nav-link.active { position: relative; }
.kt-navbar .nav-link.active::after { position: absolute; right: 1rem; bottom: .3rem; left: 1rem; height: 2px; background: var(--kt-primary); content: ""; }
.kt-navbar .navbar-toggler { border-color: var(--kt-border-strong); }
.kt-navbar .navbar-toggler-icon { filter: invert(1); }
.kt-navbar-actions { display: flex; gap: .6rem; align-items: center; }
.kt-page { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.kt-page-header { margin-bottom: 2.25rem; }
.eyebrow { display: block; margin-bottom: .55rem; color: var(--kt-primary); font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4, h5, h6 { color: #fff; font-weight: 700; letter-spacing: -.025em; }
.display-6 { font-weight: 750; letter-spacing: -.04em; }
.kt-text-accent { color: var(--kt-primary); }

.btn { border-radius: var(--kt-radius-sm); font-weight: 650; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.btn-primary, .btn-kt-primary { border-color: var(--kt-primary); background: var(--kt-primary); color: #061009; }
.btn-primary:hover, .btn-primary:focus, .btn-kt-primary:hover, .btn-kt-primary:focus { border-color: var(--kt-primary-hover); background: var(--kt-primary-hover); color: #fff; box-shadow: 0 0 18px rgb(34 197 94 / 16%); }
.btn-outline-primary, .btn-kt-secondary { border-color: var(--kt-border-strong); background: transparent; color: #fff; }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-kt-secondary:hover, .btn-kt-secondary:focus { border-color: var(--kt-primary); background: var(--kt-primary-soft); color: #4ade80; }
.btn-outline-light { border-color: var(--kt-border-strong); color: #e5e7eb; }
.btn-outline-light:hover { border-color: var(--kt-primary); background: var(--kt-primary-soft); color: var(--kt-primary); }

.card, .kt-card, .app-card { border: 1px solid var(--kt-border) !important; border-radius: var(--kt-radius-lg); background: var(--kt-bg-card); color: #fff; box-shadow: 0 12px 32px rgb(0 0 0 / 18%); }
.kt-card { transition: border-color 150ms ease; }
.kt-card:hover { border-color: rgb(34 197 94 / 24%) !important; }
.card-header, .card-footer { border-color: var(--kt-border); background: rgb(8 13 17 / 35%); }
.shadow-sm { box-shadow: 0 12px 32px rgb(0 0 0 / 18%) !important; }

.kt-filter-tabs { gap: .35rem; padding-bottom: .35rem; }
.kt-filter-tabs .nav-link { border: 1px solid transparent; border-radius: 6px; color: var(--kt-text-secondary); font-size: .88rem; }
.kt-filter-tabs .nav-link:hover { color: #fff; }
.kt-filter-tabs .nav-link.active { border-color: var(--kt-border-active); background: var(--kt-primary-soft); color: var(--kt-primary); }
.table { --bs-table-bg: transparent; --bs-table-color: #fff; --bs-table-border-color: var(--kt-border); color: #fff; }
.table > :not(caption) > * > * { padding-block: .95rem; border-bottom-color: var(--kt-border); }
.frontend-watchlist-table th, .frontend-watchlist-table td { padding-inline: 1.25rem; }
.frontend-watchlist-table thead th, .watchlist-table thead th { padding-block: 1rem; background: var(--kt-bg-dark); color: var(--kt-text-secondary); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.frontend-watchlist-table tbody tr, .watchlist-table tbody tr { transition: background-color 150ms ease; }
.frontend-watchlist-table tbody tr:hover, .watchlist-table tbody tr:hover { background: var(--kt-bg-card-hover); }
.frontend-watchlist-table tbody tr:last-child > *, .watchlist-table tbody tr:last-child > * { border-bottom: 0; }
.kt-price { font-variant-numeric: tabular-nums; font-weight: 650; }

.instrument-identity { display: flex; min-width: 0; align-items: center; gap: .8rem; }
.instrument-logo { position: relative; display: grid; flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; place-items: center; border: 1px solid var(--kt-border-strong); border-radius: 10px; background: var(--kt-bg-input); }
.instrument-logo--large { flex-basis: 64px; width: 64px; height: 64px; border-radius: 15px; }
.instrument-logo img, .instrument-logo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.instrument-logo img { z-index: 1; padding: .5rem; background: #f8fafc; object-fit: contain; }
.instrument-logo-fallback { display: grid; color: var(--kt-primary); font-size: .72rem; font-weight: 800; place-items: center; }
.instrument-name { overflow: hidden; color: #fff; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ticker { color: var(--kt-text-secondary); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .77rem; font-weight: 650; letter-spacing: .06em; }
.instrument-type-badge { border: 1px solid var(--kt-border-strong); background: var(--kt-bg-input); color: #cbd5e1; }
.kt-signal { display: inline-flex; gap: .45rem; align-items: center; padding: .48rem .7rem; border: 1px solid; font-size: .7rem; letter-spacing: .08em; }
.kt-signal-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kt-analysis-result { display: flex; flex-wrap: wrap; gap: .45rem .65rem; align-items: center; }
.kt-analysis-mode { color: var(--kt-text-secondary); font-size: .75rem; white-space: nowrap; }
.kt-analysis-mode strong { color: #d1d5db; font-weight: 700; }
.signal-buy { border-color: rgb(34 197 94 / 32%); background: rgb(34 197 94 / 12%); color: #4ade80; }
.signal-sell { border-color: rgb(239 68 68 / 32%); background: rgb(239 68 68 / 12%); color: #f87171; }
.signal-hold { border-color: rgb(245 158 11 / 28%); background: rgb(245 158 11 / 10%); color: #fbbf24; }
.kt-confidence-wrap { width: min(110px, 100%); }
.kt-confidence-value { display: block; margin-bottom: .35rem; color: #e5e7eb; font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-confidence { height: 4px; border-radius: 99px; background: #26313a; }
.kt-confidence .progress-bar { border-radius: inherit; background: var(--kt-primary); }
.kt-push-control { min-width: 220px; margin: 0; padding: .9rem 1rem .9rem 3.25rem; border: 1px solid var(--kt-border); border-radius: 10px; background: var(--kt-bg-card); }
.form-switch .form-check-input { width: 2.2em; margin-left: -2.65em; border-color: #4b5563; background-color: #29323a; }
.form-switch .form-check-input:checked { border-color: var(--kt-primary); background-color: var(--kt-primary); }
.form-check-input:focus { border-color: var(--kt-primary); box-shadow: 0 0 0 .2rem rgb(34 197 94 / 15%); }
.kt-push-control .form-check-label { color: #e5e7eb; font-size: .88rem; font-weight: 650; }
.kt-empty-state { display: flex; flex-direction: column; gap: .3rem; padding: 2rem; border: 1px dashed var(--kt-border-strong); border-radius: 14px; background: var(--kt-bg-card); color: var(--kt-text-secondary); }
.kt-empty-state strong { color: #fff; }

.kt-info-hero { max-width: 820px; }
.kt-info-hero .lead { max-width: 760px; line-height: 1.65; }
.kt-analysis-frequency { display: inline-flex; gap: .85rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--kt-border-active); border-radius: var(--kt-radius); background: var(--kt-primary-soft); }
.kt-analysis-frequency-icon { display: grid; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: rgb(34 197 94 / 18%); color: #4ade80; font-size: 1.15rem; font-weight: 800; place-items: center; }
.kt-analysis-frequency strong, .kt-analysis-frequency span { display: block; }
.kt-analysis-frequency strong { color: #fff; font-size: .88rem; }
.kt-analysis-frequency div > span { color: var(--kt-text-secondary); font-size: .8rem; }
.kt-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kt-process-card { position: relative; padding: 1.35rem; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); background: var(--kt-bg-card); }
.kt-process-card:not(:last-child)::after { position: absolute; z-index: 1; top: 2rem; left: calc(100% + .25rem); width: .5rem; border-top: 1px solid var(--kt-primary); content: ""; }
.kt-process-number { display: block; margin-bottom: 1.25rem; color: var(--kt-primary); font-family: ui-monospace, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.kt-process-card p { margin: 0; color: var(--kt-text-secondary); font-size: .9rem; line-height: 1.6; }
.kt-mode-card { overflow: hidden; }
.kt-mode-card::before { display: block; height: 3px; background: linear-gradient(90deg, var(--kt-primary), transparent); content: ""; }
.kt-horizon { padding: .35rem .55rem; border: 1px solid var(--kt-border-active); border-radius: 99px; background: var(--kt-primary-soft); color: #4ade80; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.kt-check-list { padding-left: 0; list-style: none; }
.kt-check-list li { position: relative; margin-bottom: .65rem; padding-left: 1.35rem; color: #d1d5db; font-size: .88rem; line-height: 1.5; }
.kt-check-list li::before { position: absolute; left: 0; color: var(--kt-primary); content: "✓"; font-weight: 800; }
.kt-weight-list { display: grid; gap: .85rem; }
.kt-weight-row { color: #cbd5e1; font-size: .76rem; }
.kt-weight-row strong { color: #fff; font-variant-numeric: tabular-nums; }
.kt-weight-row .progress { height: 4px; margin-top: .35rem; }
.kt-safety-card { border-color: var(--kt-border-active) !important; background: linear-gradient(135deg, rgb(34 197 94 / 8%), var(--kt-bg-card) 45%); }
.kt-disclaimer { padding: 1.15rem; border-left: 2px solid var(--kt-warning); border-radius: 0 var(--kt-radius) var(--kt-radius) 0; background: rgb(245 158 11 / 7%); color: #d1d5db; font-size: .88rem; line-height: 1.55; }
.kt-disclaimer strong { display: block; margin-bottom: .35rem; color: #fbbf24; }

.kt-back-link { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 2rem; color: var(--kt-text-secondary); text-decoration: none; }
.kt-asset-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--kt-border); }
.kt-asset-signal .kt-signal { padding: .65rem .9rem; font-size: .82rem; }
.kt-metric .card-body { display: flex; flex-direction: column; justify-content: center; min-height: 132px; }
.kt-metric .card-body > span { margin-bottom: .7rem; color: var(--kt-text-secondary); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.kt-metric strong { color: #fff; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.kt-metric strong small, .kt-metric .card-body > small { color: var(--kt-text-secondary); font-size: .75rem; }
.kt-metric .kt-confidence-wrap { width: 100%; }
.kt-metric .kt-confidence-value { font-size: 1.55rem; }
.kt-metric-date { font-size: 1.2rem !important; }
.kt-reason-card { border-left: 2px solid var(--kt-primary) !important; }
.progress { background: #26313a; }
.progress-bar { background: var(--kt-primary); }

/* Geschützter App-Shell bleibt strukturell getrennt. */
.app-sidebar, .app-offcanvas { width: var(--sidebar-width) !important; border-right: 1px solid var(--kt-border); background: var(--sidebar-bg); color: #fff; }
.app-sidebar { position: fixed; z-index: 1030; inset: 0 auto 0 0; }
.sidebar-inner { display: flex; flex: 1; flex-direction: column; width: 100%; min-height: 100%; padding: 1.25rem 1rem; }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 2rem; }
.sidebar-brand, .mobile-brand { color: #fff; text-decoration: none; }
.sidebar-brand { display: flex; align-items: center; }
.sidebar-tagline { display: block; margin: .25rem 0 0 2.7rem; color: var(--sidebar-muted); font-size: .55rem; letter-spacing: .09em; text-transform: uppercase; }
.sidebar-nav { flex: 1; }
.nav-section-label { display: block; margin: 0 .75rem .5rem; color: var(--sidebar-muted); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-link { display: flex; gap: .75rem; align-items: center; margin-bottom: .3rem; padding: .7rem .75rem; border-radius: .5rem; color: #aeb7c3; font-weight: 550; text-decoration: none; transition: 150ms ease; }
.sidebar-link svg { width: 20px; height: 20px; fill: currentColor; }
.sidebar-link:hover, .sidebar-link:focus-visible { background: var(--kt-bg-card-hover); color: #fff; }
.sidebar-link.active { background: var(--kt-primary-soft); color: var(--kt-primary); box-shadow: inset 2px 0 var(--kt-primary); }
.sidebar-account { margin-top: 2rem; padding: 1rem; border: 1px solid var(--kt-border); border-radius: 10px; background: var(--kt-bg-card); }
.account-label { color: var(--sidebar-muted); font-size: .7rem; }
.account-name { overflow: hidden; margin: .15rem 0 .85rem; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.mobile-header { position: sticky; z-index: 1020; top: 0; display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--kt-border); background: var(--sidebar-bg); }
.menu-toggle { display: grid; padding: .45rem; border-color: var(--kt-border-strong); color: #fff; place-items: center; }
.app-content { min-width: 0; }
.app-page { max-width: 1500px; }
.scroll-target { scroll-margin-top: 5rem; }
.watchlist-count { padding: .65rem 1rem; border: 1px solid var(--kt-border); border-radius: 10px; background: var(--kt-bg-card); color: var(--kt-text-secondary); white-space: nowrap; }
.watchlist-count strong { color: var(--kt-primary); }
.search-icon { width: 20px; height: 20px; fill: var(--kt-text-secondary); }
.search-results { overflow: hidden; border: 1px solid var(--kt-border); border-radius: 10px; background: var(--kt-bg-card); }
.search-results > h3 { padding: 1rem 1rem .25rem; }
.search-result-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: .75rem 1rem; border-top: 1px solid var(--kt-border); }
.search-result-meta, .instrument-actions { display: flex; gap: .5rem; align-items: center; }
.instrument-actions { justify-content: flex-end; }
.analysis-action { display: flex; gap: .5rem; align-items: center; }
.analysis-mode-select { width: 116px; }
.instrument-actions svg { width: 16px; height: 16px; fill: currentColor; }
.analysis-summary { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: #cbd5e1; font-size: .875rem; }
.analysis-summary small { flex-basis: 100%; color: var(--kt-text-secondary); }
.analysis-mode-option { min-width: 130px; padding: .75rem 1rem .75rem 2.5rem; border: 1px solid var(--kt-border); border-radius: 8px; background: var(--kt-bg-input); }
.schedule-table td { vertical-align: middle; }
.weekday-options { display: flex; flex-wrap: wrap; gap: .35rem .15rem; min-width: 330px; }
.weekday-options .form-check-inline { margin-right: .35rem; }
.schedule-time { min-width: 105px; }

.auth-body { background-color: var(--kt-bg-dark); background-image: radial-gradient(circle at 50% 0, rgb(34 197 94 / 9%), transparent 36%); }
.auth-body main::before { display: block; width: fit-content; margin: 0 auto 2rem; color: var(--kt-primary); content: "KoboldTrade.com"; font-size: 1.35rem; font-weight: 800; }
.form-control, .form-select, .input-group-text { border-color: var(--kt-border-strong); background-color: var(--kt-bg-input); color: #fff; }
.form-control::placeholder { color: #68717c; }
.form-control:focus, .form-select:focus { border-color: var(--kt-primary); background-color: var(--kt-bg-input); color: #fff; box-shadow: 0 0 0 .2rem rgb(34 197 94 / 12%); }
.input-group-text.bg-white { background: var(--kt-bg-input) !important; }
.alert { border-color: var(--kt-border-strong); border-radius: 10px; background: var(--kt-bg-card); color: #e5e7eb; }
.alert-success { border-left: 3px solid var(--kt-primary); }
.alert-danger { border-left: 3px solid var(--kt-danger); }
.alert-warning { border-left: 3px solid var(--kt-warning); }
.badge.text-bg-success, .badge.bg-success { background: rgb(34 197 94 / 15%) !important; color: #4ade80 !important; }
.badge.text-bg-danger, .badge.bg-danger { background: rgb(239 68 68 / 15%) !important; color: #f87171 !important; }
.badge.text-bg-secondary, .badge.bg-secondary { background: rgb(156 163 175 / 15%) !important; color: #d1d5db !important; }
.badge.text-bg-light { border-color: var(--kt-border) !important; background: var(--kt-bg-input) !important; color: #d1d5db !important; }

@media (min-width: 992px) { .app-content { min-height: 100vh; margin-left: var(--sidebar-width); } .scroll-target { scroll-margin-top: 1rem; } }
@media (max-width: 767.98px) {
    .kt-navbar { min-height: 64px; }
    .kt-navbar .navbar-collapse { padding: 1rem 0; border-top: 1px solid var(--kt-border); }
    .kt-navbar .nav-link { padding-inline: 0; }
    .kt-navbar .nav-link.active::after { right: auto; left: 0; width: 28px; }
    .kt-navbar-actions { align-items: stretch; }
    .frontend-watchlist-table thead { display: none; }
    .frontend-watchlist-table, .frontend-watchlist-table tbody { display: block; }
    .frontend-watchlist-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem 1rem; padding: 1rem; border-bottom: 1px solid var(--kt-border); }
    .frontend-watchlist-table td { display: block; padding: 0; border: 0; }
    .frontend-watchlist-table td:first-child { grid-column: 1 / -1; }
    .frontend-watchlist-table td:last-child { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
    .schedule-card, .schedule-card .table-responsive { overflow: visible !important; background: transparent; box-shadow: none !important; }
    .schedule-table, .schedule-table tbody { display: block; }
    .schedule-table thead { display: none; }
    .schedule-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); background: var(--kt-bg-card); }
    .schedule-table td { display: block; padding: 0; border: 0; }
    .schedule-table td::before { display: block; margin-bottom: .35rem; color: var(--kt-text-secondary); content: attr(data-label); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .schedule-table td:first-child, .schedule-table td:nth-child(3) { grid-column: 1 / -1; }
    .weekday-options { min-width: 0; }
    .kt-process-grid { grid-template-columns: 1fr 1fr; }
    .kt-process-card::after { display: none; }
}
@media (max-width: 575.98px) {
    .kt-page, .app-page { padding-right: 1rem; padding-left: 1rem; }
    .display-6 { font-size: calc(1.45rem + 1.3vw); }
    .kt-push-control { width: 100%; }
    .kt-asset-header { grid-template-columns: auto minmax(0, 1fr); }
    .kt-asset-signal { grid-column: 1 / -1; }
    .search-result-item { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
    .search-result-meta { grid-column: 1; padding-left: 3.55rem; }
    .instrument-actions { flex-wrap: wrap; justify-content: stretch; }
    .analysis-action { flex-basis: 100%; }
    .analysis-mode-select { flex: 1; width: auto; }
    .kt-process-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

.disclaimer-modal .modal-content { background: rgb(17 25 32 / 20%); color: var(--kt-text-primary); border: 1px solid var(--kt-border-strong); border-radius: var(--kt-radius-lg); }
.disclaimer-modal .modal-header, .disclaimer-modal .modal-footer { flex-shrink: 0; border-color: var(--kt-border-strong); padding: 1rem 1.25rem; }
.disclaimer-modal .modal-body { padding: 1.25rem; line-height: 1.65; overscroll-behavior: contain; }
.disclaimer-modal .modal-body h3 { margin-top: 1.5rem; color: var(--kt-primary); }
.disclaimer-modal .modal-footer .btn { white-space: normal; }
.disclaimer-modal .modal-dialog { height: calc(100dvh - 2 * var(--bs-modal-margin)); }

.kt-consent { position: fixed; z-index: 1040; right: 1rem; bottom: 1rem; left: 1rem; max-width: 960px; max-height: calc(100dvh - 2rem); margin-inline: auto; display: flex; flex-direction: column; border: 1px solid var(--kt-border-strong); border-radius: var(--kt-radius-lg); background: var(--kt-bg-card); color: var(--kt-text-primary); box-shadow: 0 12px 48px rgb(0 0 0 / 50%); }
.kt-consent[hidden] { display: none; }
.kt-consent-content { min-height: 0; overflow-y: auto; padding: 1.25rem; overscroll-behavior: contain; }
.kt-consent-options { display: grid; gap: 1rem; }
.kt-consent-options > div { padding: .8rem; border: 1px solid var(--kt-border); border-radius: var(--kt-radius-sm); }
.kt-consent-actions { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: .65rem; padding: 1rem 1.25rem; border-top: 1px solid var(--kt-border); }
.kt-consent-actions .btn { flex: 1 1 180px; }
