/* ClanClean brand theme for the Filament panel, matching the CRM's look. */

:root {
    --clanclean-green: #a1c930;
    --clanclean-green-hover: #94b52b;
    --clanclean-green-tint: #a3c55114;
    --font-family: ui-sans-serif, system-ui, sans-serif;
}

/* Pages */
.fi-body {
    background-color: #f9fafb;
}

/* Sidebar */
.fi-sidebar,
.fi-sidebar.fi-sidebar-open {
    background-color: #000;
    color: #fff;
}

.fi-sidebar-header,
.fi-body-has-topbar .fi-sidebar-header {
    background-color: transparent;
}

.fi-sidebar .fi-icon-btn,
.fi-sidebar .fi-icon {
    color: var(--clanclean-green);
}

.fi-sidebar-nav {
    padding: 1rem 0.75rem;
}

.fi-sidebar-nav-groups {
    margin-inline: 0;
    row-gap: 1rem;
}

.fi-sidebar-group,
.fi-sidebar-group-items {
    row-gap: 0.125rem;
}

/* Small uppercase section headings */
.fi-sidebar-group-btn {
    padding: 0.25rem 0.625rem;
}

.fi-sidebar-group-label {
    color: rgb(255 255 255 / 0.5);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fi-sidebar-group-btn .fi-icon {
    color: rgb(255 255 255 / 0.5);
}

/* Compact menu rows */
.fi-sidebar-item-btn {
    border-radius: 0.375rem;
    column-gap: 0.625rem;
    padding: 0.4375rem 0.625rem;
    transition: background-color 150ms;
}

.fi-sidebar-item-btn > .fi-icon {
    color: var(--clanclean-green);
    height: 1rem;
    width: 1rem;
}

.fi-sidebar-item-label {
    color: rgb(255 255 255 / 0.85);
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
}

.fi-sidebar-item-btn:hover > .fi-sidebar-item-label {
    color: #fff;
}

/* Tree lines for nested items */
.fi-sidebar-item-grouped-border-part-not-first,
.fi-sidebar-item-grouped-border-part-not-last {
    background-color: rgb(255 255 255 / 0.1);
}

.fi-sidebar-item-grouped-border-part {
    background-color: rgb(255 255 255 / 0.4);
}

/* Round count badges */
.fi-sidebar-item-badge-ctn .fi-badge {
    background-color: rgb(161 201 48 / 0.15);
    border-radius: 9999px;
    box-shadow: none;
    color: var(--clanclean-green);
    font-size: 0.625rem;
    height: 1.25rem;
    min-width: 1.25rem;
    padding: 0 0.375rem;
}

/* Search row */
.fi-sidebar .fi-global-search-ctn {
    margin: 0.5rem 0.75rem 0;
}

.fi-sidebar .fi-global-search-field .fi-input-wrp {
    background-color: rgb(255 255 255 / 0.08);
    border-radius: 0.375rem;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

.fi-sidebar .fi-global-search-field .fi-input {
    color: #fff;
    font-size: 0.8125rem;
    padding-block: 0.3125rem;
}

.fi-sidebar .fi-global-search-field .fi-input::placeholder {
    color: rgb(255 255 255 / 0.5);
}

.fi-sidebar .fi-global-search-field .fi-input-wrp-label,
.fi-sidebar .fi-global-search-field .fi-input-wrp-suffix {
    color: rgb(255 255 255 / 0.5);
    font-size: 0.6875rem;
}

/* Phones have no Ctrl+K */
@media (max-width: 1023px) {
    .fi-sidebar .fi-global-search-field .fi-input-wrp-suffix {
        display: none;
    }
}

.fi-sidebar-item.fi-sidebar-item-has-url > .fi-sidebar-item-btn:hover,
.fi-sidebar-item.fi-sidebar-item-has-url > .fi-sidebar-item-btn:focus-visible,
.fi-sidebar-group-dropdown-trigger-btn:hover {
    background-color: #1f2937;
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background-color: var(--clanclean-green-tint);
}

.fi-sidebar-item.fi-active > .fi-sidebar-item-btn > .fi-icon,
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn > .fi-sidebar-item-label {
    color: var(--clanclean-green);
}

.fi-sidebar-footer {
    border-color: rgb(255 255 255 / 0.1);
}

/* White pop-ups inside the sidebar keep dark text */
.fi-sidebar .fi-dropdown-panel,
.fi-sidebar .fi-global-search-results-ctn {
    color: #18181b;
}

.fi-sidebar .fi-dropdown-panel .fi-icon {
    color: #71717a;
}

/* Light/dark mode button, sitting above the name menu */
.clanclean-theme-toggle {
    margin: 0 0.75rem 0.5rem;
    order: 1;
}

.fi-sidebar-footer {
    order: 2;
}

.clanclean-theme-toggle .fi-sidebar-item-btn {
    cursor: pointer;
    text-align: start;
    width: 100%;
}

/* Login page: black card on a pale green ground */
.fi-simple-layout {
    background-color: #f6f8ef;
}

.fi-simple-main {
    background-color: #000;
    color: #fff;
}

.fi-simple-main .fi-simple-header-heading,
.fi-simple-main .fi-fo-field-label-content,
.fi-simple-main .fi-checkbox-label,
.fi-simple-main label {
    color: #fff;
}

/* Solid brand buttons take black text, because white on this green is hard to read */
.fi-btn.fi-color-primary:not(.fi-outlined):not([aria-pressed="false"]) {
    background-color: var(--clanclean-green);
    color: #000;
}

.fi-btn.fi-color-primary:not(.fi-outlined):not([aria-pressed="false"]):hover {
    background-color: var(--clanclean-green-hover);
}

.fi-btn.fi-color-primary:not(.fi-outlined):not([aria-pressed="false"]) .fi-icon {
    color: #000;
}

/* Reports page: readable links and active store button */
html:not(.dark) .cc-rowlink {
    color: #5a7a1b;
}

.fi-main .cc-store-btn.cc-active {
    background: var(--clanclean-green);
    border-color: var(--clanclean-green);
    color: #000;
}

/* Dark mode */
.dark .fi-body,
.dark .fi-simple-layout {
    background-color: #0a0a0a;
}

.dark .fi-sidebar {
    border-inline-end: 1px solid rgb(255 255 255 / 0.1);
}

.dark .fi-sidebar .fi-dropdown-panel,
.dark .fi-sidebar .fi-global-search-results-ctn {
    color: #fff;
}

.dark .fi-sidebar .fi-dropdown-panel .fi-icon {
    color: #a1a1aa;
}

.dark .fi-simple-main {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15);
}

/* ------------------------------------------------------------------ */
/* Glass: frosted cards, menus and pop-ups over a lime-and-black ground. */
/* The --gw-* values are the "Adjust glass" settings; filament.glass-head */
/* puts the saved ones on <html> before the page paints.                 */
/* ------------------------------------------------------------------ */

:root {
    --gw-blur: 22px;
    --gw-opacity: 0.3;
    --gw-saturation: 1.2;
    --gw-edge: 0.6;
    --gw-tint: #f2f7e1;
    --cc-glass-surface: #ffffff;
    --cc-glass-highlight: #ffffff;
    --cc-glass-line: rgb(24 24 27 / 0.07);
    --cc-glass-shadow: rgb(24 24 27 / 0.16);
    --cc-glass-ground:
        radial-gradient(48rem 32rem at 0% 0%, rgb(161 201 48 / 0.5), transparent 70%),
        radial-gradient(40rem 30rem at 100% 25%, rgb(161 201 48 / 0.28), transparent 70%),
        radial-gradient(44rem 34rem at 55% 105%, rgb(24 24 27 / 0.14), transparent 70%),
        linear-gradient(160deg, #f6f8ef, #eef1e6);
}

.dark {
    --cc-glass-surface: #18181b;
    --cc-glass-highlight: rgb(255 255 255 / 0.22);
    --cc-glass-line: rgb(255 255 255 / 0.08);
    --cc-glass-shadow: rgb(0 0 0 / 0.55);
    --cc-glass-ground:
        radial-gradient(48rem 32rem at 0% 0%, rgb(161 201 48 / 0.24), transparent 70%),
        radial-gradient(40rem 30rem at 100% 30%, rgb(161 201 48 / 0.12), transparent 70%),
        linear-gradient(160deg, #0b0b0c, #121410);
}

/* The ground stays put while the page scrolls, so the glass always has colour behind it. */
.fi-body,
.dark .fi-body,
.fi-simple-layout,
.dark .fi-simple-layout {
    background-color: transparent;
}

html {
    background-color: #eef1e6;
}

html.dark {
    background-color: #0b0b0c;
}

.fi-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--cc-glass-ground);
}

/*
 * The blur sits on a ::before layer instead of the element itself: a backdrop-filter
 * on the element would become the anchor for menus opened inside it and misplace them.
 */
:is(
    .fi-section:not(.fi-section-not-contained):not(.fi-aside),
    .fi-section:not(.fi-section-not-contained).fi-aside > .fi-section-content-ctn,
    .fi-wi-stats-overview-stat,
    .fi-ta-ctn,
    .fi-empty-state:not(.fi-empty-state-not-contained),
    .fi-sc-tabs.fi-contained,
    .fi-sc-wizard.fi-contained,
    .fi-fo-repeater .fi-fo-repeater-item,
    .fi-callout,
    .fi-body .fi-main .cc-report
) {
    position: relative;
    isolation: isolate;
    background-color: transparent;
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, var(--cc-glass-highlight) calc(var(--gw-edge) * 100%), transparent),
        0 0 0 1px var(--cc-glass-line),
        0 18px 40px -30px var(--cc-glass-shadow);
}

:is(
    .fi-section:not(.fi-section-not-contained):not(.fi-aside),
    .fi-section:not(.fi-section-not-contained).fi-aside > .fi-section-content-ctn,
    .fi-wi-stats-overview-stat,
    .fi-ta-ctn,
    .fi-empty-state:not(.fi-empty-state-not-contained),
    .fi-sc-tabs.fi-contained,
    .fi-sc-wizard.fi-contained,
    .fi-fo-repeater .fi-fo-repeater-item,
    .fi-callout,
    .fi-body .fi-main .cc-report
)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: color-mix(
        in srgb,
        color-mix(in srgb, var(--cc-glass-surface) 88%, var(--gw-tint)) calc((0.42 + var(--gw-opacity) * 0.55) * 100%),
        transparent
    );
    backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
    -webkit-backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
}

/* Menus, search results, date pickers and pop-up windows: frosted but nearly solid, for reading. */
:is(
    .fi-dropdown-panel,
    .fi-global-search-results-ctn,
    .fi-modal-window,
    .fi-fo-date-time-picker .fi-fo-date-time-picker-panel,
    .fi-no-notification:not(.fi-inline)
) {
    background-color: color-mix(
        in srgb,
        color-mix(in srgb, var(--cc-glass-surface) 92%, var(--gw-tint)) calc((0.8 + var(--gw-opacity) * 0.18) * 100%),
        transparent
    );
    backdrop-filter: blur(calc(var(--gw-blur) + 8px)) saturate(var(--gw-saturation));
    -webkit-backdrop-filter: blur(calc(var(--gw-blur) + 8px)) saturate(var(--gw-saturation));
}

.fi-modal-header,
.fi-modal-footer {
    background-color: transparent;
}

/* Fields stay close to solid so figures are easy to read and type. */
html:not(.dark) .fi-input-wrp {
    background-color: rgb(255 255 255 / 0.82);
}

/* Table header and footer rows let the glass show through. */
.fi-ta-ctn .fi-ta-table > thead > tr,
.fi-ta-ctn .fi-ta-header-toolbar,
.fi-ta-ctn .fi-ta-footer,
.fi-ta-ctn .fi-pagination .fi-pagination-items {
    background-color: transparent;
}

/*
 * Tables fit from 1280px up. On narrower screens a table's row buttons (Edit, Open, …)
 * stay pinned to the right edge, so they are in view without scrolling sideways.
 */
@media (max-width: 1279px) {
    .fi-ta-table:has(> thead .fi-ta-actions-header-cell) > :is(thead, tbody, tfoot) > tr > :last-child {
        position: sticky;
        right: 0;
        z-index: 1;
        background-color: color-mix(in srgb, var(--cc-glass-surface) 94%, transparent);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: -12px 0 12px -12px var(--cc-glass-shadow), inset 1px 0 0 var(--cc-glass-line);
    }
}

/* A phrase a wrapping table column must keep on one line (an amount, a date, a month). */
.cc-nowrap {
    white-space: nowrap;
}

/*
 * Column widths in the expense tables (Expenses list, a book's bills, a wallet's expenses).
 * From 1280px a payment line under the amount ("₹19,583.50 paid 10 Nov 2026") stays on
 * one line; below that the vendor and amount get narrower and the lines wrap, so the
 * table still fits without scrolling sideways.
 */
.fi-ta-header-cell.cc-vendor-col {
    min-width: 8.5rem;
}

@media (min-width: 1280px) {
    .fi-ta-header-cell.cc-vendor-col {
        min-width: 12rem;
    }

    .fi-ta-header-cell.cc-amount-col {
        min-width: 14.5rem;
    }
}

@media (max-width: 1279px) {
    .cc-break-below-xl {
        white-space: normal;
    }
}

/* Shown only below 1280px, where a table hides the columns it repeats (e.g. Head, Store). */
.cc-below-xl {
    display: block;
}

@media (min-width: 1280px) {
    .cc-below-xl {
        display: none;
    }
}

/* The same below 1536px, for a table that keeps those columns only on wide screens (Expenses). */
.cc-below-2xl {
    display: block;
}

@media (min-width: 1536px) {
    .cc-below-2xl {
        display: none;
    }
}

/* Under a bill still due in a book holding an advance: "Less ₹5,000 advance: ₹15,000 to pay". */
.cc-advance-hint {
    color: var(--color-info-600, #0284c7);
}

.dark .cc-advance-hint {
    color: var(--color-info-400, #38bdf8);
}

/* A bill with no vendor: its grey remarks or head wrap, with the details line below them. */
.cc-placeholder {
    white-space: normal;
}

.cc-placeholder-details {
    display: block;
}

/* Tab bars wrap onto a second line instead of scrolling sideways. */
.fi-tabs {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.25rem;
}

/*
 * Sidebar: a floating pane of smoked glass. It stays dark so the white text and lime
 * icons read clearly, but lets the ground (and, on phones, the page) show through.
 * "Opacity" in Adjust glass makes it more or less see-through.
 */
.fi-sidebar,
.fi-sidebar.fi-sidebar-open,
.dark .fi-sidebar {
    background-color: transparent;
    isolation: isolate;
    border-inline-end: 0;
}

.fi-sidebar::before {
    content: "";
    position: absolute;
    inset: 0.625rem 0 0.625rem 0.625rem;
    z-index: -1;
    pointer-events: none;
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgb(255 255 255 / calc(var(--gw-edge) * 0.08)), transparent 30%),
        rgb(8 10 6 / calc(0.62 + var(--gw-opacity) * 0.36));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / calc(var(--gw-edge) * 0.35)),
        inset 0 0 0 1px rgb(255 255 255 / calc(var(--gw-edge) * 0.14)),
        0 24px 48px -24px rgb(0 0 0 / 0.45);
    backdrop-filter: blur(var(--gw-blur)) saturate(calc(var(--gw-saturation) + 0.3));
    -webkit-backdrop-filter: blur(var(--gw-blur)) saturate(calc(var(--gw-saturation) + 0.3));
}

.dark .fi-sidebar::before {
    background:
        linear-gradient(180deg, rgb(255 255 255 / calc(var(--gw-edge) * 0.1)), transparent 30%),
        rgb(28 30 24 / calc(0.35 + var(--gw-opacity) * 0.55));
}

/* Keep the menu inside the rounded pane. */
.fi-sidebar-header {
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem 0.25rem 1.375rem;
    height: auto;
    min-height: 4.75rem;
}

/* Logo lines up with the search box and menu items; the collapse arrow sits on the right. */
.fi-sidebar-header-logo-ctn {
    order: 0;
    display: flex;
    align-items: center;
}

.fi-sidebar-header-logo-ctn .fi-logo {
    height: 2.75rem !important;
    width: auto;
    margin-inline-start: 0;
}

.fi-sidebar-header .fi-sidebar-close-collapse-sidebar-btn {
    order: 1;
    margin-inline-start: auto;
}

.fi-sidebar-nav {
    padding: 1rem 0.75rem 1rem 1.375rem;
}

.fi-sidebar .fi-global-search-ctn {
    margin: 0.5rem 0.75rem 0 1.375rem;
}

.clanclean-theme-toggle {
    margin: 0 0.75rem 0.5rem 1.375rem;
}

.fi-sidebar-footer {
    margin-inline-start: 1.375rem;
    margin-bottom: 1.125rem;
    border-color: transparent;
}

/* A stronger lime glow behind the sidebar, so the glass has colour to show. */
.fi-body::before {
    background:
        radial-gradient(18rem 26rem at 0% 55%, rgb(161 201 48 / 0.5), transparent 70%),
        radial-gradient(18rem 22rem at 5% 100%, rgb(24 24 27 / 0.3), transparent 70%),
        var(--cc-glass-ground);
}

.dark .fi-body::before {
    background:
        radial-gradient(22rem 30rem at 0% 15%, rgb(161 201 48 / 0.3), transparent 70%),
        var(--cc-glass-ground);
}

/* Login card: black glass. */
.fi-simple-main {
    background-color: rgb(0 0 0 / calc(0.68 + var(--gw-opacity) * 0.3));
    backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
    -webkit-backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
}

/* The Overview page already sits on the shared ground. */
.fi-main .gw-root {
    background: transparent;
    padding: 0;
    overflow: visible;
}

/* "Adjust glass" panel, opened from the sidebar or the Overview page. */
.cc-glass-panel {
    position: fixed;
    z-index: 60;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(20rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    border-radius: 1.25rem;
    padding: 1.25rem;
    color: #18181b;
    background-color: color-mix(in srgb, #ffffff 90%, transparent);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 24px 80px rgb(0 0 0 / 0.3), 0 0 0 1px rgb(0 0 0 / 0.06);
    font-size: 0.8125rem;
}

.dark .cc-glass-panel {
    color: #f4f4f5;
    background-color: color-mix(in srgb, #18181b 92%, transparent);
    box-shadow: 0 24px 80px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.1);
}

.cc-glass-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-glass-panel h2 {
    font-size: 1.05rem;
    font-weight: 600;
}

.cc-glass-panel .cc-glass-muted {
    color: #71717a;
    font-size: 0.75rem;
}

.dark .cc-glass-panel .cc-glass-muted {
    color: #a1a1aa;
}

.cc-glass-panel .cc-glass-close {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
}

.cc-glass-panel .cc-glass-close:hover,
.cc-glass-panel .cc-glass-presets button:hover,
.cc-glass-panel .cc-glass-reset:hover {
    background: rgb(127 127 127 / 0.12);
}

.cc-glass-sample {
    display: grid;
    place-items: center;
    height: 5rem;
    margin: 0.9rem 0;
    border-radius: 0.8rem;
    background: var(--cc-glass-ground);
}

.cc-glass-sample span {
    padding: 0.75rem 1rem;
    border-radius: 0.7rem;
    background: color-mix(
        in srgb,
        color-mix(in srgb, var(--cc-glass-surface) 88%, var(--gw-tint)) calc((0.42 + var(--gw-opacity) * 0.55) * 100%),
        transparent
    );
    backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
    -webkit-backdrop-filter: blur(var(--gw-blur)) saturate(var(--gw-saturation));
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cc-glass-highlight) calc(var(--gw-edge) * 100%), transparent);
}

.cc-glass-presets {
    display: flex;
    gap: 0.3rem;
}

.cc-glass-presets button,
.cc-glass-reset {
    flex: 1;
    padding: 0.4rem 0;
    border-radius: 0.5rem;
    border: 1px solid rgb(127 127 127 / 0.25);
    font-size: 0.75rem;
}

.cc-glass-range {
    display: block;
    margin: 0.85rem 0;
    font-size: 0.75rem;
}

.cc-glass-range > span {
    display: flex;
    justify-content: space-between;
}

.cc-glass-range input {
    width: 100%;
    margin-top: 0.35rem;
    accent-color: var(--clanclean-green);
}

.cc-glass-tint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.9rem;
    font-size: 0.75rem;
}

.cc-glass-tint input {
    width: 2.6rem;
    height: 1.75rem;
    padding: 0.1rem;
    border: 1px solid rgb(127 127 127 / 0.3);
    border-radius: 0.4rem;
    background: none;
    cursor: pointer;
}

.cc-glass-reset {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

/* ------------------------------------------------------------------ */
/* Movable cards: drag a card by its grip to rearrange the page.        */
/* ------------------------------------------------------------------ */

.cc-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .cc-board-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-board-item-full {
        grid-column: 1 / -1;
    }
}

.cc-board-item {
    position: relative;
    min-width: 0;
}

.cc-grip {
    position: absolute;
    z-index: 5;
    top: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 1.25rem;
    border-radius: 9999px;
    color: rgb(24 24 27 / 0.45);
    cursor: grab;
    opacity: 0;
    transition: opacity 0.15s, background-color 0.15s, color 0.15s;
    touch-action: none;
}

.dark .cc-grip {
    color: rgb(255 255 255 / 0.45);
}

.cc-board-item:hover > .cc-grip,
.cc-grip:focus-visible {
    opacity: 1;
}

.cc-grip:hover {
    background-color: var(--clanclean-green);
    color: #000;
}

.cc-grip:active {
    cursor: grabbing;
}

/* Phones and tablets have no hover, so the grip always shows. */
@media (hover: none) {
    .cc-grip {
        opacity: 0.8;
    }
}

/* The empty slot where the card will land. */
:is(.cc-board, .gw-board) > .sortable-ghost {
    opacity: 0.45;
    border-radius: 1.1rem;
    outline: 2px dashed var(--clanclean-green);
    outline-offset: 4px;
}

/* The card following the pointer. */
.sortable-fallback {
    opacity: 0.92 !important;
    transform: rotate(1.5deg);
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.35);
    border-radius: 1.1rem;
}

body.sorting,
body.sorting * {
    cursor: grabbing !important;
    user-select: none;
}

/* Older browsers without blur get plain solid cards. */
@supports not (backdrop-filter: blur(1px)) {
    :is(
        .fi-section:not(.fi-section-not-contained):not(.fi-aside),
        .fi-wi-stats-overview-stat,
        .fi-ta-ctn,
        .fi-body .fi-main .cc-report
    )::before {
        background: var(--cc-glass-surface);
    }
}
