@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #020E0A;
    color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Override serif on public event hero title */
.event-hero-title {
    font-family: 'Archivo Black', 'Georgia', 'Times New Roman', serif !important;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    background: #0A1F16;
    border-top: 1px solid #00C870;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    color: #00C870;
    font-size: 0.875rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    font-size: 1rem;
}

.blazor-error-boundary {
    background: #24100B;
    border: 1px solid #FF5C33;
    border-radius: 16px;
    padding: 1rem 1rem 1rem 3rem;
    color: #FF5C33;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.spinner {
    border: 4px solid rgba(0, 200, 112, 0.12);
    border-top: 4px solid #00C870;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Nav tooltip wrappers — must be global because MudNavMenu renders without Blazor scope attributes */
.tiklynx-nav .mud-tooltip-root.mud-tooltip-inline {
    display: block !important;
    width: 100%;
}

/* Hide nav tooltips on mobile — sidebar is always full-width so labels are visible */
@media (max-width: 768px) {
    .mud-tooltip {
        display: none !important;
    }
}

/* Sidebar content offset — desktop only */
@media (min-width: 769px) {
    .sidebar-expanded {
        margin-left: 260px !important;
        transition: margin-left 0.2s ease;
    }

    .sidebar-collapsed {
        margin-left: 72px !important;
        transition: margin-left 0.2s ease;
    }
}

/* CKEditor 5 dark theme overrides */
.ck.ck-editor__main > .ck-editor__editable {
    background: #0A1F16 !important;
    color: #FFFFFF !important;
    border-color: rgba(0, 200, 112, 0.12) !important;
    min-height: 150px;
}

.ck.ck-editor__editable.ck-focused {
    border-color: #00C870 !important;
    box-shadow: none !important;
}

.ck.ck-toolbar {
    background: #0A1F16 !important;
    border-color: rgba(0, 200, 112, 0.12) !important;
}

.ck.ck-toolbar .ck-button,
.ck.ck-toolbar .ck-dropdown__button {
    color: #B8B9B6 !important;
}

.ck.ck-toolbar .ck-button:hover,
.ck.ck-toolbar .ck-dropdown__button:hover {
    background: #041F16 !important;
    color: #FFFFFF !important;
}

.ck.ck-toolbar .ck-button.ck-on,
.ck.ck-toolbar .ck-dropdown__button.ck-on {
    background: #041F16 !important;
    color: #00C870 !important;
}

.ck.ck-editor__editable .ck-placeholder::before {
    color: #666 !important;
}

.ck.ck-dropdown__panel,
.ck.ck-list {
    background: #0A1F16 !important;
    border-color: rgba(0, 200, 112, 0.12) !important;
}

.ck.ck-list__item .ck-button {
    color: #B8B9B6 !important;
}

.ck.ck-list__item .ck-button:hover {
    background: #041F16 !important;
    color: #FFFFFF !important;
}

.ck.ck-list__item .ck-button.ck-on {
    background: #041F16 !important;
    color: #00C870 !important;
}

.ck.ck-reset_all,
.ck.ck-reset_all * {
    color: #B8B9B6;
}

.ck.ck-icon :not([fill]) {
    color: inherit !important;
}

/* Bootstrap form controls — dark theme to match design system */
.form-select,
.form-control {
    background-color: #0A1F16;
    color: #FFFFFF;
    border: 1px solid rgba(0, 200, 112, 0.12);
    border-radius: 24px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B8B9B6' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.form-select:focus,
.form-control:focus {
    background-color: #0A1F16;
    color: #FFFFFF;
    border-color: #00C870;
    box-shadow: none;
    outline: none;
}

.form-select:disabled,
.form-control:disabled,
.form-control[readonly] {
    background-color: #041F16;
    color: #666;
    border-color: rgba(0, 200, 112, 0.08);
    opacity: 0.7;
}

.form-select option {
    background-color: #0A1F16;
    color: #FFFFFF;
}

.form-label {
    color: #B8B9B6;
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
}

/* Bootstrap floating labels — dark theme */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 24px;
}

.form-floating > label {
    color: #B8B9B6;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: #B8B9B6;
}

/* Bootstrap buttons — dark theme */
.btn-outline-secondary {
    color: #B8B9B6;
    border-color: rgba(0, 200, 112, 0.12);
    border-radius: 24px;
    background: transparent;
}

.btn-outline-secondary:hover {
    color: #FFFFFF;
    background-color: #0A1F16;
    border-color: rgba(0, 200, 112, 0.2);
}

.btn-outline-primary {
    color: #00C870;
    border-color: #00C870;
    border-radius: 24px;
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: #00C870;
    border-color: #00C870;
}

.btn-primary {
    background-color: #00C870;
    border-color: #00C870;
    color: #020E0A;
    border-radius: 24px;
}

.btn-primary:hover {
    background-color: #00A85D;
    border-color: #00A85D;
}

.btn-secondary {
    background-color: #0E5A2C;
    border-color: #0E5A2C;
    color: #FFFFFF;
    border-radius: 24px;
}

.btn-secondary:hover {
    background-color: #0A4521;
    border-color: #0A4521;
}

/* Bootstrap modals must sit above MudAppBar (z-index: 1300) */
.modal {
    z-index: 1400 !important;
}

.modal-backdrop {
    z-index: 1399 !important;
}

/* MudBlazor popovers (selects, date pickers, etc.) must sit above modals and inline pickers */
.mud-popover {
    z-index: 1600 !important;
}

.mud-overlay {
    z-index: 1499 !important;
}

.mud-picker {
    z-index: 1500 !important;
}

/* Read-only seating chart — allow scrolling but disable seat/GA interaction */
.readonly-seating-chart .public-seat-node {
    pointer-events: none !important;
    cursor: default !important;
}

.readonly-seating-chart .public-seat-node:hover {
    transform: none !important;
    box-shadow: none !important;
}

.readonly-seating-chart .ga-selection {
    display: none !important;
}

/* MudBlazor Snackbar — custom theme matching design system */
.mud-snackbar {
    border-radius: 8px !important;
    border-left: 3px solid !important;
    font-family: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    min-width: 360px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.mud-snackbar .mud-snackbar-content-message {
    color: #B8B9B6 !important;
    font-size: 0.875rem !important;
}

.mud-snackbar.mud-alert-filled-info {
    background-color: #0A1A2E !important;
    border-left-color: #8B8CF9 !important;
}

.mud-snackbar.mud-alert-filled-info .mud-snackbar-content-message {
    color: #B8B9B6 !important;
}

.mud-snackbar.mud-alert-filled-info .mud-icon-root {
    color: #8B8CF9 !important;
}

.mud-snackbar.mud-alert-filled-success {
    background-color: #041F16 !important;
    border-left-color: #00C870 !important;
}

.mud-snackbar.mud-alert-filled-success .mud-snackbar-content-message {
    color: #B8B9B6 !important;
}

.mud-snackbar.mud-alert-filled-success .mud-icon-root {
    color: #00C870 !important;
}

.mud-snackbar.mud-alert-filled-warning {
    background-color: #2E2008 !important;
    border-left-color: #F59E0B !important;
}

.mud-snackbar.mud-alert-filled-warning .mud-snackbar-content-message {
    color: #B8B9B6 !important;
}

.mud-snackbar.mud-alert-filled-warning .mud-icon-root {
    color: #F59E0B !important;
}

.mud-snackbar.mud-alert-filled-error {
    background-color: #2E1414 !important;
    border-left-color: #F87171 !important;
}

.mud-snackbar.mud-alert-filled-error .mud-snackbar-content-message {
    color: #B8B9B6 !important;
}

.mud-snackbar.mud-alert-filled-error .mud-icon-root {
    color: #F87171 !important;
}

/* Fix MudDialog overlay covering the dialog content */
.mud-dialog-container > .mud-dialog {
    position: relative;
    z-index: 1500;
}

/* Public seating chart pan/zoom controls */
.panzoom-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 10;
    user-select: none;
}

.panzoom-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 200, 112, 0.12);
    background: #0A1F16;
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    line-height: 1;
}

.panzoom-btn:first-child {
    border-radius: 8px 8px 0 0;
}

.panzoom-btn:last-child {
    border-radius: 0 0 8px 8px;
}

.panzoom-btn:hover {
    background: #041F16;
}

.panzoom-label {
    width: 36px;
    height: 28px;
    background: #0A1F16;
    border: none;
    border-left: 1px solid rgba(0, 200, 112, 0.12);
    border-right: 1px solid rgba(0, 200, 112, 0.12);
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 500;
    text-align: center;
    padding: 0 2px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.panzoom-label:focus {
    color: #e2e8f0;
    background: #041F16;
    cursor: text;
}

/* Fix all MudSelect/MudPopover dropdowns on dark pages */
div[class*="mud-popover"] {
    background: #0d2818 !important;
    background-color: #0d2818 !important;
}

div[class*="mud-popover"] .mud-paper,
div[class*="mud-popover"].mud-popover-open {
    background: #0d2818 !important;
    background-color: #0d2818 !important;
}

div[class*="mud-popover"] .mud-list {
    background: #0d2818 !important;
    background-color: #0d2818 !important;
}

div[class*="mud-popover"] .mud-list-item {
    color: #fff !important;
}

div[class*="mud-popover"] .mud-list-item:hover,
div[class*="mud-popover"] .mud-list-item.mud-selected-item {
    background: rgba(0, 200, 112, 0.15) !important;
}

div[id^="popovercontent-"] {
    background: #0d2818 !important;
    background-color: #0d2818 !important;
    border: 1px solid rgba(0, 200, 112, 0.2) !important;
}

/* ─── Form design system ─── */

/* All buttons: no uppercase transform */
.mud-button-root {
    text-transform: none !important;
}

/* Form card: outlined card with green border */
.form-card {
    border: 1px solid rgba(0, 200, 112, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

/* Form body: padded vertical flex container */
.form-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card header: padded with bottom border */
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 200, 112, 0.12);
}

/* AI chat bullet styling (rendered via MarkupString, so global rather than component-scoped) */
.lynx-bullet {
    display: block;
    padding-left: 14px;
    text-indent: -10px;
}

/* Field group: label above input with 4px gap (matches TimeInput) */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* MudBlazor's MudInputControl reserves vertical space at the top for its own
   floating-label slot. We render our own <label> above and don't pass MudBlazor
   a Label prop, so collapse that reserved space and let our gap own the spacing. */
.field-group .mud-input-control {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Field label: 12px, 500 weight, muted text — matches TimeInput's label */
.field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6B8F7B;
}

/* Field helper text */
.field-helper {
    font-size: 11px;
    color: #666;
}

/* ── Fieldset group box (Windows-Forms-style) ──
   Bordered region with the label inline on the top border. Browsers natively cut
   a notch in the fieldset border around the legend text — no background mask
   required — but Bootstrap resets the legend to `float: left; width: 100%` which
   destroys that native rendering. We undo just those two properties so the
   browser's built-in cut-through takes over again. */
.fieldset-group {
    border: 1px solid #1a3a2a;
    border-radius: 8px;
    padding: 8px 20px 18px;
    margin-bottom: 18px;
    min-width: 0;
}

.fieldset-group > legend {
    float: none;
    width: auto;
    margin-left: 12px;
    margin-bottom: 0;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #5A9A7A;
    line-height: 1.4;
}

/* Pair of fieldsets sharing a row. Left grows to fill, right autofits to its
   content. Same height (align-items: stretch). Wraps to vertical stack on
   narrow widths. */
.fieldset-row {
    display: flex;
    gap: 18px;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.fieldset-row > .fieldset-group {
    margin-bottom: 0;
}

.fieldset-row > .fieldset-grow {
    flex: 1 1 360px;
    min-width: 0;
}

.fieldset-row > .fieldset-fit {
    flex: 0 1 auto;
    min-width: 0;
}

/* Inside the admission fieldset: radios on top in a row, input row below
   spanning the full fieldset width. */
.admission-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.admission-input {
    width: 100%;
}

/* Detail group: label above value with 4px gap (read-only detail views) */
.detail-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Detail label: 11px, 500 weight, accent green */
.detail-label {
    font-size: 11px;
    font-weight: 500;
    color: #00C870;
}

/* Detail value: 15px, 600 weight, white */
.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Table header row — darker background matching sidebar */
.mud-table-head .mud-table-row {
    background-color: #041F16 !important;
}

/* Divider — slightly more visible */
.mud-divider {
    border-color: rgba(0, 200, 112, 0.18) !important;
}

/* Outlined input dark fill (#0a1f18) */
.mud-input.mud-input-outlined {
    background-color: #0a1f18 !important;
    border-radius: var(--mud-default-borderradius);
}

/* Placeholder text — muted, no background */
.mud-input-slot::placeholder {
    color: #555555 !important;
    opacity: 1 !important;
}

/* Floating label — transparent bg (labels are separate above fields) */
.mud-input-label-outlined {
    background-color: transparent !important;
}

/* Switch OFF — muted gray track and thumb */
.mud-switch-base:not(.mud-checked) ~ .mud-switch-track {
    background-color: #333333 !important;
}
.mud-switch-base:not(.mud-checked) .mud-switch-button span[class*="mud-switch-thumb"] {
    background-color: #888888 !important;
}

/* Switch ON — green track, white thumb */
.mud-switch-base.mud-checked ~ .mud-switch-track {
    background-color: #00C870 !important;
}
.mud-switch-base.mud-checked .mud-switch-button span[class*="mud-switch-thumb"] {
    background-color: #FFFFFF !important;
}


/* Table assignment — table type picker popover (renders outside scoped CSS) */
.ta-table-type-popover {
    background: #071912 !important;
    border: 1px solid rgba(0, 200, 112, 0.15) !important;
    border-radius: 10px !important;
    min-width: 260px !important;
    padding-bottom: 4px !important;
}

.ta-table-type-popover .mud-list {
    background: transparent !important;
    padding: 0 !important;
}

.ta-table-type-popover .mud-list-item {
    padding: 6px 16px !important;
    border-radius: 0 !important;
}

.ta-table-type-popover .mud-list-item:hover {
    background: rgba(0, 200, 112, 0.08) !important;
}

.ta-table-type-item {
    padding: 8px 16px;
    cursor: grab;
    transition: background 0.12s ease;
}

.ta-table-type-item:hover {
    background: rgba(0, 200, 112, 0.08);
}

.ta-table-type-item:active {
    cursor: grabbing;
}

/* Table layout — multi-select and rubber band (global, applied by JS) */
.table-multi-selected {
    box-shadow: 0 0 0 2px #ff9800, 0 0 16px rgba(255, 152, 0, 0.25) !important;
}

.ta-rubber-band {
    position: absolute;
    border: 1px dashed rgba(255, 152, 0, 0.6);
    background: rgba(255, 152, 0, 0.06);
    pointer-events: none;
    z-index: 999;
    display: none;
}

/* Legal pages (Terms, Privacy) */
.legal-content {
    color: #B8B9B6;
    line-height: 1.7;
}
.legal-content h1 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.legal-content h2 {
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 200, 112, 0.12);
}
.legal-content h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}
.legal-content p {
    margin-bottom: 12px;
}
.legal-content ul {
    margin-bottom: 12px;
    padding-left: 24px;
}
.legal-content li {
    margin-bottom: 6px;
}
.legal-content a {
    color: #00C870;
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border: 1px solid rgba(0, 200, 112, 0.12);
    border-radius: 8px;
    overflow: hidden;
}
.legal-content th {
    background: rgba(0, 200, 112, 0.08);
    color: #FFFFFF;
    text-align: left;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.9rem;
}
.legal-content td {
    padding: 10px 14px;
    border-top: 1px solid rgba(0, 200, 112, 0.08);
    font-size: 0.9rem;
}

/* Calendar date highlighting for multi-show date picker */
button.mud-day.selected-show-date {
    background-color: #10B981 !important;
    color: #020E0A !important;
    font-weight: 700;
}

button.mud-day.selected-show-date:hover {
    background-color: #0EA472 !important;
}

/* Support ticket reply menu (split-button dropdown) — TikLynx green theme.
   Lives globally because MudMenu's popover renders outside the component, so
   isolated CSS scope attributes don't reach it. */
.split-btn .mud-menu,
.split-btn .mud-menu-activator {
    display: inline-flex !important;
    align-items: stretch !important;
    height: 100% !important;
}

.reply-menu-popover .mud-list {
    background: #0E2A1E !important;
    border: 1px solid #1A3A2A;
    border-radius: 6px;
    padding: 0 !important;
    min-width: 240px;
}

.reply-menu-popover .mud-list-item {
    padding: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #1A3A2A;
}

.reply-menu-popover .mud-list-item:first-child {
    border-top: none;
}

.reply-menu-popover .mud-list-item-text {
    padding: 0 !important;
    margin: 0 !important;
}

.reply-menu-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    color: #CCC;
    font-size: 12px;
    box-sizing: border-box;
}

.reply-menu-hint {
    color: #6B8F7B;
    font-size: 10px;
    font-style: italic;
}

.reply-menu-popover .reply-menu-resolved {
    background: rgba(16, 185, 129, 0.18);
}

.reply-menu-popover .reply-menu-resolved .reply-menu-item {
    color: #FFFFFF;
    font-weight: 600;
}

.reply-menu-popover .reply-menu-resolved:hover {
    background: rgba(16, 185, 129, 0.3);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-inprogress { background: #3B82F6; }
.status-dot-resolved { background: #10B981; }
.status-dot-closed { background: #6B7280; }


/* Hide page-scoped Lynx AI FABs when the chrome NibsyPanel is open.
   The chrome panel does not render its own FAB (IsDocked=true), so this
   only suppresses the floating launchers on EventAddEdit / TableAssignment. */
body.nibsy-chrome-open .lynx-chat-fab-wrap {
    display: none !important;
}


/* StatInfoIcon — click-to-open card explaining how a stat is computed.
   Hand-positioned with JS (simmtechStatInfo.position) so it clamps to the
   viewport instead of overflowing the screen on edge cards. */
.stat-info-popover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background: #0A1F16;
    border: 1px solid rgba(0, 200, 112, 0.32);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 200, 112, 0.06);
    padding: 14px 16px;
    width: 320px;
    max-width: calc(100vw - 24px);
    font-size: 13px;
    line-height: 1.5;
    color: #D7DDD9;
    animation: stat-info-pop-in 0.12s ease-out;
}

/* Hide the popover until JS measures it and sets the clamped position — without this
   the popover renders at top:0/left:0 for one frame before JS runs. */
.stat-info-popover-pending {
    visibility: hidden;
}

@keyframes stat-info-pop-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-info-popover-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 200, 112, 0.16);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.stat-info-popover-body p {
    margin: 0 0 8px 0;
    color: #B8C2BE;
}

.stat-info-popover-body p:last-child {
    margin-bottom: 0;
}

.stat-info-popover-body strong {
    color: #E4EAE7;
    font-weight: 600;
}

.stat-info-popover-formula {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(0, 200, 112, 0.16);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-info-popover-formula-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00C870;
    font-weight: 700;
}

.stat-info-popover-formula code {
    color: #C7D6CF;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
    background: transparent;
    padding: 0;
}

.stat-info-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: transparent;
    cursor: default;
}
