:root {
    color-scheme: light;
    --font-ui: 'Poppins', 'Segoe UI', sans-serif;
    --bg-base: #e7f4ff;
    --bg-layer: #f2f9ff;
    --bg-strong: rgba(255, 255, 255, 0.95);
    --bg-soft: rgba(245, 250, 255, 0.92);
    --bg-elevated: rgba(255, 255, 255, 0.99);
    --text-main: #102f4a;
    --text-soft: #56708b;
    --text-faint: #7087a0;
    --line-soft: rgba(121, 164, 199, 0.82);
    --line-strong: rgba(73, 125, 171, 0.62);
    --brand-950: #103452;
    --brand-900: #164566;
    --brand-800: #1b5f88;
    --brand-700: #1f79ab;
    --brand-600: #2497ca;
    --brand-500: #37afe0;
    --brand-400: #7cccf2;
    --accent-cyan: #6ccff6;
    --success-soft: rgba(17, 185, 129, 0.14);
    --danger-soft: rgba(244, 63, 94, 0.14);
    --warning-soft: rgba(245, 158, 11, 0.14);
    --shadow-soft: 0 16px 40px rgba(78, 126, 166, 0.12);
    --shadow-strong: 0 20px 52px rgba(52, 100, 142, 0.18);
    --blur-soft: blur(18px);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

html.dark {
    color-scheme: dark;
    --bg-base: #07111b;
    --bg-layer: #0b1826;
    --bg-strong: rgba(11, 24, 38, 0.86);
    --bg-soft: rgba(18, 35, 53, 0.76);
    --bg-elevated: rgba(11, 24, 38, 0.94);
    --text-main: #e6f2ff;
    --text-soft: #8aa8c6;
    --text-faint: #6f86a0;
    --line-soft: rgba(110, 152, 193, 0.24);
    --line-strong: rgba(145, 195, 235, 0.22);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.26);
    --shadow-strong: 0 22px 55px rgba(0, 0, 0, 0.34);
}

[x-cloak] {
    display: none !important;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-ui);
    color: var(--text-main);
    background:
        radial-gradient(circle at top center, rgba(115, 196, 240, 0.34), transparent 18%),
        radial-gradient(circle at top left, rgba(164, 220, 250, 0.38), transparent 22%),
        linear-gradient(180deg, #e6f4ff 0%, #eef8ff 28%, #f8fbff 100%);
    transition: background 220ms ease, color 220ms ease;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 228px;
    flex: 0 0 228px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
    padding: 14px 12px 18px;
    border-right: 1px solid rgba(165, 202, 229, 0.6);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 255, 0.92)),
        rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.45);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 9px;
    border-radius: 20px;
    border: 1px solid rgba(163, 201, 229, 0.56);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.9));
    box-shadow:
        0 16px 32px rgba(80, 127, 161, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.sidebar-brand img {
    height: 40px;
    width: auto;
}

.sidebar-brand .logo-title {
    font-size: 12px;
    line-height: 1.15;
}

.sidebar-brand .logo-subtitle {
    font-size: 9px;
    letter-spacing: 0.14em;
}

.sidebar-user-card {
    margin-top: 12px;
    padding: 14px 12px;
    border-radius: 20px;
    border: 1px solid rgba(171, 204, 229, 0.52);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 26px rgba(80, 127, 161, 0.08);
}

.sidebar-user-inline {
    margin-top: 10px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #355572;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-greeting {
    color: #1f4568;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.sidebar-meta-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    color: #4d6780;
    font-size: 12px;
    font-weight: 700;
}

.sidebar-meta-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sidebar-meta-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f79ab, #37afe0);
    box-shadow: 0 0 0 3px rgba(55, 175, 224, 0.14);
}

.sidebar-nav {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 16px;
    border: 1px solid rgba(170, 203, 229, 0.64);
    background: rgba(255, 255, 255, 0.82);
    color: #284564;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow:
        0 10px 24px rgba(80, 127, 161, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.sidebar-link:hover {
    border-color: rgba(120, 179, 219, 0.8);
    background: rgba(255, 255, 255, 0.96);
}

.sidebar-link-active {
    border-color: rgba(31, 79, 118, 0.18);
    background: linear-gradient(135deg, #14324d, #25435f);
    color: #ffffff;
    box-shadow:
        0 14px 30px rgba(20, 50, 77, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-link-logout {
    margin-top: 4px;
    background: linear-gradient(180deg, rgba(255, 244, 247, 0.98), rgba(251, 231, 238, 0.96));
    border-color: rgba(236, 188, 200, 0.88);
    color: #b44d67;
}

.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(31, 121, 171, 0.1);
    color: inherit;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.sidebar-link-active .sidebar-icon {
    background: rgba(255, 255, 255, 0.14);
}

.app-content-shell {
    min-width: 0;
    flex: 1 1 auto;
    padding: 10px 12px 20px;
}

.content-topbar {
    margin-bottom: 4px;
    padding: 4px 6px 10px;
}

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

.content-topbar-label {
    color: #6082a3;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.content-topbar-title {
    margin-top: 4px;
    color: #183a58;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.content-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.content-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.app-main {
    max-width: 100%;
}

body[data-page="movimentos"] {
    background:
        radial-gradient(circle at top center, rgba(96, 180, 229, 0.18), transparent 16%),
        radial-gradient(circle at top left, rgba(121, 194, 236, 0.16), transparent 20%),
        linear-gradient(180deg, #d7e9f6 0%, #e3f0f9 22%, #edf5fb 100%);
}

body[data-page="movimentos"] main {
    padding-top: 0.55rem;
}

body[data-page="movimentos"] section.space-y-6 {
    gap: 0.9rem;
}

html.dark body {
    background:
        radial-gradient(circle at top left, rgba(30, 95, 150, 0.38), transparent 24%),
        radial-gradient(circle at top right, rgba(14, 81, 126, 0.28), transparent 18%),
        linear-gradient(180deg, #07111b 0%, #0b1725 35%, #101c2b 100%);
}

html.dark .app-sidebar {
    border-right-color: rgba(116, 159, 194, 0.2);
    background:
        linear-gradient(180deg, rgba(10, 21, 34, 0.96), rgba(13, 28, 43, 0.94)),
        rgba(7, 17, 29, 0.88);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

html.dark .sidebar-brand,
html.dark .sidebar-user-card,
html.dark .sidebar-user-inline,
html.dark .sidebar-link {
    border-color: rgba(116, 159, 194, 0.2);
    background: rgba(17, 35, 54, 0.84);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(190, 225, 248, 0.05);
}

html.dark .sidebar-greeting,
html.dark .content-topbar-title {
    color: #eaf5ff;
}

html.dark .sidebar-meta-list,
html.dark .content-topbar-label {
    color: #8fb0ca;
}

html.dark .sidebar-user-inline {
    color: #dcecff;
}

html.dark .sidebar-link {
    color: #dbecff;
}

html.dark .sidebar-link:hover {
    background: rgba(22, 44, 66, 0.96);
}

html.dark .sidebar-link-active {
    border-color: rgba(124, 185, 225, 0.32);
    background: linear-gradient(135deg, #1a5278, #245f86);
    color: #ffffff;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html.dark .sidebar-link-logout {
    background: rgba(68, 28, 39, 0.86);
    border-color: rgba(192, 94, 122, 0.26);
    color: #ffb9c7;
}

a,
button,
input,
select,
textarea {
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        opacity 180ms ease;
}

button:hover,
.btn-hover-lift:hover {
    transform: translateY(-1px);
}

button:active,
.btn-hover-lift:active {
    transform: translateY(0);
}

main {
    position: relative;
}

main.max-w-\[1680px\],
main.max-w-none {
    max-width: none;
    width: 100%;
}

main::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(82, 193, 246, 0.18), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}

header.caixa-shell {
    position: sticky;
    top: 0;
    z-index: 40;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(239, 248, 255, 0.92), rgba(220, 240, 252, 0.86)),
        rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-strong);
}

.compact-shell {
    margin: 6px 8px 0;
    border-radius: 24px;
}

.compact-shell .logo-chip {
    padding: 0.55rem 0.8rem;
    border-radius: 20px;
}

.compact-shell .logo-title {
    font-size: 0.95rem;
    line-height: 1.02;
}

.compact-shell .logo-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
}

.compact-shell nav {
    gap: 0.35rem;
}

.compact-shell nav a {
    height: 34px;
    padding: 0 0.8rem;
    border-radius: 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.compact-shell .logo-chip {
    padding: 0.6rem 0.85rem;
}

.compact-shell .logo-chip img {
    height: 34px;
}

.compact-shell .logo-title {
    font-size: 0.96rem;
}

.compact-shell .logo-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.compact-shell .theme-toggle,
.compact-shell .ipsoft-chip {
    min-height: 38px;
}

.compact-shell .theme-toggle {
    padding: 0.55rem 0.9rem;
    gap: 0.45rem;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.compact-shell .ipsoft-chip {
    padding: 0.45rem 0.85rem;
}

.compact-shell .ipsoft-chip img {
    height: 30px;
}

.compact-shell .theme-toggle {
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
}

.compact-shell .ipsoft-chip {
    min-height: 40px;
    padding: 0.45rem 0.8rem;
    border-radius: 18px;
}

.compact-shell .ipsoft-chip img {
    height: 32px;
}

.compact-page-title-row {
    display: none;
}

@media (max-width: 1400px) {
    .compact-shell nav {
        gap: 0.2rem;
    }

    .compact-shell nav a {
        padding: 0 0.62rem;
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    .compact-shell .logo-chip {
        padding: 0.5rem 0.72rem;
    }

    .compact-shell .logo-chip img {
        height: 30px;
    }

    .compact-shell .logo-title {
        font-size: 0.86rem;
    }

    .compact-shell .logo-subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.1em;
    }

    .compact-shell .theme-toggle {
        padding: 0 0.7rem;
        gap: 0.3rem;
    }

    .compact-shell .theme-toggle [data-theme-label] {
        display: none;
    }

    .compact-shell .ipsoft-chip {
        padding: 0.35rem 0.65rem;
    }

    .compact-shell .ipsoft-chip img {
        height: 28px;
    }
}

body[data-page="movimentos"] header.caixa-shell {
    background:
        linear-gradient(135deg, rgba(227, 240, 250, 0.92), rgba(201, 223, 239, 0.88)),
        rgba(255, 255, 255, 0.68);
    border-color: rgba(127, 168, 201, 0.34);
}

html.dark header.caixa-shell {
    border-color: rgba(145, 195, 235, 0.12);
    background:
        linear-gradient(135deg, rgba(8, 20, 33, 0.92), rgba(18, 64, 96, 0.84)),
        rgba(5, 17, 29, 0.82);
}

.logo-chip,
.theme-chip,
.glass-surface {
    background: var(--bg-soft);
    border: 1px solid rgba(123, 175, 214, 0.42);
    box-shadow: var(--shadow-soft);
    backdrop-filter: var(--blur-soft);
}

html.dark .logo-chip,
html.dark .theme-chip,
html.dark .glass-surface {
    border-color: rgba(145, 195, 235, 0.12);
}

.ipsoft-chip {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 255, 0.94));
    border: 1px solid rgba(152, 193, 223, 0.56);
    box-shadow:
        0 12px 28px rgba(74, 124, 162, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: var(--blur-soft);
}

html.dark .ipsoft-chip {
    background: linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(228, 242, 252, 0.94));
    border-color: rgba(162, 205, 235, 0.5);
    box-shadow:
        0 14px 30px rgba(3, 12, 22, 0.22),
        0 0 0 1px rgba(162, 205, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-900);
    min-height: 34px;
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(194, 239, 255, 0.88));
    color: var(--brand-800);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.logo-chip {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.82));
    box-shadow:
        0 14px 34px rgba(75, 126, 166, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="movimentos"] .logo-chip {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(231, 242, 250, 0.84));
    border-color: rgba(114, 159, 193, 0.42);
}

.logo-title {
    color: #1f4568;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.96),
        0 2px 8px rgba(66, 111, 149, 0.18);
    -webkit-text-stroke: 0.2px rgba(255, 255, 255, 0.42);
}

.logo-subtitle {
    color: #3f6486;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
}

.header-title-contrast {
    color: #1f4568;
    font-weight: 900;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.96),
        0 2px 8px rgba(66, 111, 149, 0.18);
    letter-spacing: 0.12em;
}

.header-utility-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.user-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.caixa-shell nav a {
    position: relative;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--text-main);
}

.caixa-shell nav a:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(154, 197, 226, 0.42);
}

.active-menu {
    border-color: rgba(163, 201, 230, 0.52) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--brand-950) !important;
    box-shadow: 0 12px 30px rgba(79, 126, 166, 0.16);
}

.btn-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    border-radius: 18px;
    border: 1px solid rgba(170, 203, 229, 0.88);
    padding: 0.82rem 1.24rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 255, 0.96));
    color: #243f61;
    box-shadow:
        0 12px 28px rgba(98, 146, 182, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-shell:hover {
    border-color: rgba(133, 183, 220, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 247, 255, 0.98));
    box-shadow:
        0 14px 30px rgba(86, 137, 176, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.btn-shell:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

.btn-shell-surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94));
    color: #243f61;
}

.btn-shell-primary {
    border-color: rgba(41, 73, 109, 0.22);
    background: linear-gradient(135deg, #132a45, #243a57);
    color: #ffffff;
    box-shadow:
        0 14px 32px rgba(28, 58, 92, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-shell-primary:hover {
    border-color: rgba(41, 73, 109, 0.3);
    background: linear-gradient(135deg, #10253d, #213650);
}

.btn-shell-dark {
    border-color: rgba(41, 73, 109, 0.22);
    background: linear-gradient(135deg, #132a45, #243a57);
    color: #ffffff;
    box-shadow:
        0 14px 30px rgba(24, 53, 82, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-shell-dark:hover {
    background: linear-gradient(135deg, #10253d, #213650);
}

.btn-shell-success {
    border-color: rgba(147, 213, 186, 0.9);
    background: linear-gradient(180deg, rgba(245, 255, 250, 0.98), rgba(232, 250, 240, 0.96));
    color: #11724f;
    box-shadow:
        0 14px 30px rgba(76, 154, 121, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-shell-success:hover {
    background: linear-gradient(180deg, rgba(241, 255, 247, 1), rgba(224, 246, 234, 0.98));
}

.btn-shell-warning {
    border-color: rgba(240, 210, 144, 0.95);
    background: linear-gradient(180deg, rgba(255, 250, 239, 0.99), rgba(255, 244, 214, 0.97));
    color: #a85a00;
    box-shadow:
        0 14px 30px rgba(214, 170, 78, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-shell-warning:hover {
    background: linear-gradient(180deg, rgba(255, 249, 233, 1), rgba(255, 239, 198, 0.98));
}

.btn-shell-danger {
    border-color: rgba(236, 183, 195, 0.95);
    background: linear-gradient(180deg, rgba(255, 246, 248, 0.99), rgba(252, 229, 235, 0.97));
    color: #b84d67;
    box-shadow:
        0 14px 30px rgba(198, 89, 120, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-shell-danger:hover {
    background: linear-gradient(180deg, rgba(255, 243, 246, 1), rgba(249, 220, 228, 0.98));
}

.btn-shell-muted {
    border-color: rgba(177, 204, 227, 0.84);
    background: linear-gradient(180deg, rgba(238, 246, 252, 0.96), rgba(225, 236, 246, 0.92));
    color: #3f607d;
}

.btn-shell-tab {
    min-height: 46px;
    border-radius: 18px;
    padding-inline: 1.35rem;
}

.btn-shell-tab-active {
    border-color: rgba(41, 73, 109, 0.22);
    background: linear-gradient(135deg, #132a45, #243a57);
    color: #ffffff !important;
    box-shadow:
        0 14px 28px rgba(15, 53, 82, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-shell-tab-muted {
    border-color: rgba(170, 203, 229, 0.88);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 255, 0.96));
    color: #243f61 !important;
    box-shadow:
        0 12px 28px rgba(98, 146, 182, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.btn-shell-tab-muted:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 247, 255, 0.98));
}

.btn-shell-chip {
    min-height: 38px;
    border-radius: 999px;
    padding: 0.58rem 0.82rem;
    letter-spacing: 0.1em;
    font-size: 10px;
}

.btn-shell-chip-active {
    border-color: rgba(41, 73, 109, 0.22);
    background: linear-gradient(135deg, #132a45, #243a57);
    color: #ffffff !important;
    box-shadow:
        0 10px 22px rgba(20, 45, 71, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-shell-chip-inactive {
    opacity: 0.92;
}

.btn-shell-chip-active .chip-amount {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.chip-amount {
    border-radius: 999px;
    padding: 0.16rem 0.42rem;
    background: rgba(232, 241, 248, 0.96);
    color: #36506c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: normal;
}

html.dark .btn-shell {
    border-color: rgba(124, 169, 204, 0.24);
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.94), rgba(18, 37, 56, 0.92));
    color: #e7f2ff;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html.dark .btn-shell:hover {
    border-color: rgba(124, 185, 225, 0.34);
    background: linear-gradient(180deg, rgba(15, 32, 49, 0.96), rgba(22, 44, 65, 0.94));
}

html.dark .btn-shell-surface,
html.dark .btn-shell-muted {
    color: #dcecff;
}

html.dark .btn-shell-tab-active {
    background: linear-gradient(180deg, rgba(231, 245, 255, 0.16), rgba(216, 239, 255, 0.12));
    color: #ffffff !important;
}

html.dark .btn-shell-tab-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

html.dark .chip-amount {
    background: rgba(255, 255, 255, 0.08);
    color: #dcecff;
}

html.dark .btn-shell-chip-inactive {
    border-color: rgba(116, 159, 194, 0.2);
    background: linear-gradient(180deg, rgba(16, 33, 50, 0.86), rgba(20, 39, 58, 0.84));
    color: #d3e6f8 !important;
    opacity: 0.78;
}

html.dark .btn-shell-chip-active {
    border-color: rgba(144, 214, 255, 0.44);
    background: linear-gradient(135deg, #1c527a, #2c6d98);
    color: #ffffff !important;
    box-shadow:
        0 12px 26px rgba(24, 84, 130, 0.28),
        0 0 0 1px rgba(120, 202, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html.dark .btn-shell-chip-active .chip-amount {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

html.dark .active-menu {
    background: rgba(222, 242, 255, 0.12) !important;
    color: #fff !important;
}

html.dark .text-slate-900,
html.dark .text-slate-800,
html.dark .text-slate-700,
html.dark .text-slate-600 {
    color: #e6f2ff !important;
}

html.dark .text-slate-500,
html.dark .text-slate-400 {
    color: #9bb6cf !important;
}

html.dark .text-sky-900,
html.dark .text-sky-800,
html.dark .text-sky-700 {
    color: #7fd4ff !important;
}

html.dark .text-cyan-700,
html.dark .text-cyan-800,
html.dark .text-cyan-900 {
    color: #8ce6ff !important;
}

html.dark .text-emerald-700,
html.dark .text-emerald-800,
html.dark .text-emerald-900 {
    color: #55e3b1 !important;
}

html.dark .text-rose-700,
html.dark .text-rose-800,
html.dark .text-rose-900,
html.dark .text-rose-600 {
    color: #ff7f9b !important;
}

html.dark .text-amber-700,
html.dark .text-amber-800,
html.dark .text-amber-900 {
    color: #ffd36f !important;
}

.top-status-row {
    padding-top: 0;
    color: var(--text-main);
}

.top-status-row .status-pill {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(160, 198, 228, 0.38);
    backdrop-filter: blur(14px);
    color: #1f4568 !important;
    font-weight: 900;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 2px 6px rgba(74, 118, 154, 0.14);
}

body[data-page="movimentos"] .top-status-row .status-pill {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(123, 169, 205, 0.34);
}

.top-status-row .status-pill span,
.top-status-row .status-pill {
    color: #1f4568 !important;
}

.header-action-pill {
    box-shadow:
        0 10px 24px rgba(74, 118, 154, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

section > .bg-white,
section > .rounded-3xl,
section > .rounded-\[30px\],
section > .rounded-\[28px\],
section > .rounded-2xl,
.glass-card {
    background: var(--bg-strong) !important;
    border-color: var(--line-soft) !important;
    box-shadow:
        0 16px 34px rgba(77, 127, 167, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: var(--blur-soft);
}

.bg-white,
.bg-slate-100,
.bg-slate-100\/80,
.bg-slate-100\/90,
.bg-slate-50,
.bg-slate-50\/80,
.bg-slate-50\/85,
.bg-slate-50\/90 {
    background-color: var(--bg-elevated) !important;
}

.border-slate-200,
.border-slate-300,
.divide-slate-100 > :not([hidden]) ~ :not([hidden]),
.divide-slate-200 > :not([hidden]) ~ :not([hidden]),
.divide-slate-300 > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--line-soft) !important;
}

.rounded-2xl,
.rounded-3xl,
.rounded-\[30px\],
.rounded-\[28px\],
.rounded-\[22px\] {
    border-color: var(--line-soft) !important;
}

body[data-page="movimentos"] section > .bg-white,
body[data-page="movimentos"] section > .rounded-3xl,
body[data-page="movimentos"] section > .rounded-\[30px\],
body[data-page="movimentos"] section > .rounded-\[28px\],
body[data-page="movimentos"] section > .rounded-2xl,
body[data-page="movimentos"] .glass-card,
body[data-page="movimentos"] .bg-white,
body[data-page="movimentos"] .bg-slate-50,
body[data-page="movimentos"] .bg-slate-50\/80,
body[data-page="movimentos"] .bg-slate-50\/85,
body[data-page="movimentos"] .bg-slate-50\/90 {
    background-color: rgba(250, 253, 255, 0.97) !important;
    border-color: rgba(118, 163, 198, 0.74) !important;
    box-shadow:
        0 14px 28px rgba(89, 128, 160, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.56) !important;
}

body[data-page="movimentos"] aside .bg-white,
body[data-page="movimentos"] .xl\:sticky.bg-white,
body[data-page="movimentos"] .rounded-2xl.border.border-slate-200.bg-white.shadow-lg.overflow-hidden.self-start.xl\:sticky.xl\:top-24.min-w-\[124px\] {
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(235, 244, 252, 0.96)) !important;
}

body[data-page="movimentos"] table thead {
    background: rgba(231, 241, 250, 0.98) !important;
}

body[data-page="movimentos"] tbody tr:hover {
    background: rgba(136, 190, 226, 0.10) !important;
}

body[data-page="movimentos"] .from-sky-700.to-cyan-500,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-700.to-cyan-500 {
    background-image: linear-gradient(135deg, #1c6b95, #29a7c7) !important;
}

body[data-page="movimentos"] .from-sky-900.via-sky-800.to-cyan-600,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 {
    background-image: linear-gradient(135deg, #23597a, #15858f, #27a7ca) !important;
}

body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 .text-white\/90,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 .text-cyan-200,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 .text-slate-900,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 .text-slate-700,
body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 .text-slate-600 {
    color: rgba(245, 251, 255, 0.96) !important;
    text-shadow: 0 1px 0 rgba(8, 24, 37, 0.28);
}

body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 select {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 option {
    color: #17324f !important;
}

body[data-page="movimentos"] .bg-slate-950 {
    background-color: rgba(229, 240, 248, 0.88) !important;
    color: #17324f !important;
}

body[data-page="movimentos"] .bg-slate-950 .text-white,
body[data-page="movimentos"] .bg-slate-950.text-white,
body[data-page="movimentos"] .bg-slate-950 p,
body[data-page="movimentos"] .bg-slate-950 span {
    color: #17324f !important;
}

body[data-page="movimentos"] .bg-white\/5,
body[data-page="movimentos"] .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.58) !important;
}

body[data-page="movimentos"] .border-white\/10,
body[data-page="movimentos"] .border-white\/15,
body[data-page="movimentos"] .border-white\/20 {
    border-color: rgba(132, 176, 210, 0.34) !important;
}

body[data-page="movimentos"] .text-cyan-200,
body[data-page="movimentos"] .text-white\/90,
body[data-page="movimentos"] .text-white\/85 {
    color: #4c6985 !important;
}

body[data-page="movimentos"] input,
body[data-page="movimentos"] select,
body[data-page="movimentos"] textarea {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(110, 156, 193, 0.78) !important;
}

body[data-page="movimentos"] .xl\:grid-cols-\[280px_minmax\(0\,1fr\)\] {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 1rem !important;
}

body[data-page="movimentos"] aside .sticky {
    top: 0.7rem !important;
}

body[data-page="movimentos"] aside .max-w-\[280px\] {
    max-width: 280px !important;
}

body[data-page="movimentos"] .bg-white.rounded-2xl.shadow-xl.border.border-slate-200.overflow-hidden.sticky.top-24.max-w-\[280px\] .p-3,
body[data-page="movimentos"] .bg-white.rounded-2xl.shadow-xl.border.border-slate-200.overflow-hidden.sticky.top-24.max-w-\[280px\] form {
    padding: 0.9rem !important;
}

body[data-page="movimentos"] .bg-white.rounded-2xl.shadow-xl.border.border-slate-200.overflow-hidden.sticky.top-24.max-w-\[280px\] .text-\[10px\] {
    font-size: 9px !important;
}

body[data-page="movimentos"] .bg-white.rounded-2xl.shadow-xl.border.border-slate-200.overflow-hidden.sticky.top-24.max-w-\[280px\] .text-xs {
    font-size: 11px !important;
}

body[data-page="movimentos"] .bg-white.rounded-xl,
body[data-page="movimentos"] .rounded-\[28px\] {
    border-radius: 20px !important;
}

body[data-page="movimentos"] .bg-white.p-4.rounded-xl {
    padding: 0.85rem !important;
}

body[data-page="movimentos"] .xl\:grid-cols-\[minmax\(0\,1fr\)_124px\],
body[data-page="movimentos"] .xl\:grid-cols-\[minmax\(0\,1fr\)_148px\] {
    grid-template-columns: minmax(0, 1fr) 148px !important;
}

body[data-page="movimentos"] .rounded-2xl.border.border-slate-200.bg-white.shadow-lg.overflow-hidden.self-start.xl\:sticky.xl\:top-24.min-w-\[124px\],
body[data-page="movimentos"] .rounded-2xl.border.border-slate-200.bg-white.shadow-lg.overflow-hidden.self-start.xl\:sticky.xl\:top-24.min-w-\[148px\] {
    min-width: 148px !important;
}

body[data-page="movimentos"] table {
    font-size: 11px !important;
}

body[data-page="movimentos"] table thead th {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    font-size: 9px !important;
}

body[data-page="movimentos"] table tbody td {
    padding-top: 0.78rem !important;
    padding-bottom: 0.78rem !important;
}

body[data-page="movimentos"] .money-value-medium {
    font-size: 0.92rem !important;
    line-height: 1 !important;
}

body[data-page="movimentos"] .money-value-strong {
    font-size: 0.98rem !important;
    line-height: 1 !important;
}

body[data-page="movimentos"] .money-panel .money-label {
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
}

body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .px-3,
body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .lg\:px-4 {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .py-3,
body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .lg\:py-3 {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .text-sm {
    font-size: 13px !important;
}

body[data-page="movimentos"] .rounded-\[28px\].border.border-slate-200.bg-white.shadow-xl.overflow-hidden .text-\[11px\] {
    font-size: 10px !important;
}

html.dark body[data-page="movimentos"] {
    background:
        radial-gradient(circle at top center, rgba(25, 119, 170, 0.18), transparent 18%),
        linear-gradient(180deg, #0d1a28 0%, #101d2d 35%, #132233 100%);
}

html.dark body[data-page="movimentos"] header.caixa-shell {
    background:
        linear-gradient(135deg, rgba(17, 35, 54, 0.96), rgba(20, 47, 71, 0.92)),
        rgba(10, 24, 39, 0.88);
    border-color: rgba(112, 154, 190, 0.18);
}

html.dark body[data-page="movimentos"] .logo-chip {
    background: linear-gradient(180deg, rgba(222, 239, 251, 0.94), rgba(203, 224, 239, 0.90));
    border-color: rgba(130, 177, 211, 0.24);
}

html.dark body[data-page="movimentos"] .logo-title,
html.dark body[data-page="movimentos"] .logo-subtitle,
html.dark body[data-page="movimentos"] .header-title-contrast,
html.dark body[data-page="movimentos"] .top-status-row,
html.dark body[data-page="movimentos"] .top-status-row .status-pill,
html.dark body[data-page="movimentos"] .top-status-row .status-pill span {
    color: #d9ecfb !important;
    text-shadow: 0 1px 0 rgba(8, 17, 28, 0.55), 0 2px 8px rgba(0, 0, 0, 0.18);
}

html.dark body[data-page="movimentos"] .logo-title {
    color: #17324f !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

html.dark body[data-page="movimentos"] .logo-subtitle {
    color: #36597a !important;
    text-shadow: none;
}

html.dark body[data-page="movimentos"] section > .bg-white,
html.dark body[data-page="movimentos"] section > .rounded-3xl,
html.dark body[data-page="movimentos"] section > .rounded-\[30px\],
html.dark body[data-page="movimentos"] section > .rounded-\[28px\],
html.dark body[data-page="movimentos"] section > .rounded-2xl,
html.dark body[data-page="movimentos"] .glass-card,
html.dark body[data-page="movimentos"] .bg-white,
html.dark body[data-page="movimentos"] .bg-slate-50,
html.dark body[data-page="movimentos"] .bg-slate-50\/80,
html.dark body[data-page="movimentos"] .bg-slate-50\/85,
html.dark body[data-page="movimentos"] .bg-slate-50\/90 {
    background: rgba(16, 31, 48, 0.86) !important;
    border-color: rgba(113, 157, 194, 0.22) !important;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(190, 225, 248, 0.05) !important;
}

html.dark body[data-page="movimentos"] aside .bg-white,
html.dark body[data-page="movimentos"] .xl\:sticky.bg-white {
    background: linear-gradient(180deg, rgba(20, 41, 61, 0.94), rgba(16, 32, 49, 0.94)) !important;
}

html.dark body[data-page="movimentos"] .bg-slate-950 {
    background: linear-gradient(180deg, rgba(18, 39, 58, 0.92), rgba(16, 32, 49, 0.90)) !important;
    color: #e7f4ff !important;
}

html.dark body[data-page="movimentos"] .bg-slate-950 .text-white,
html.dark body[data-page="movimentos"] .bg-slate-950.text-white,
html.dark body[data-page="movimentos"] .bg-slate-950 p,
html.dark body[data-page="movimentos"] .bg-slate-950 span {
    color: #e7f4ff !important;
}

html.dark body[data-page="movimentos"] .from-sky-900.via-sky-800.to-cyan-600,
html.dark body[data-page="movimentos"] .bg-gradient-to-r.from-sky-900.via-sky-800.to-cyan-600 {
    background-image: linear-gradient(135deg, #14334b, #17626d, #1f8aa9) !important;
}

html.dark body[data-page="movimentos"] .from-sky-700.to-cyan-500,
html.dark body[data-page="movimentos"] .bg-gradient-to-r.from-sky-700.to-cyan-500 {
    background-image: linear-gradient(135deg, #175372, #1d8fb0) !important;
}

html.dark body[data-page="movimentos"] .bg-sky-50\/80,
html.dark body[data-page="movimentos"] .bg-rose-50\/80,
html.dark body[data-page="movimentos"] .bg-slate-50 {
    background: rgba(17, 35, 54, 0.82) !important;
}

html.dark body[data-page="movimentos"] .text-slate-900,
html.dark body[data-page="movimentos"] .text-slate-800,
html.dark body[data-page="movimentos"] .text-slate-700,
html.dark body[data-page="movimentos"] .text-slate-600 {
    color: #e4f0fb !important;
}

html.dark body[data-page="movimentos"] .text-slate-500,
html.dark body[data-page="movimentos"] .text-slate-400 {
    color: #90abc3 !important;
}

html.dark body[data-page="movimentos"] table thead {
    background: rgba(19, 39, 58, 0.95) !important;
}

html.dark body[data-page="movimentos"] tbody tr:hover {
    background: rgba(55, 129, 178, 0.12) !important;
}

html.dark body[data-page="movimentos"] input,
html.dark body[data-page="movimentos"] select,
html.dark body[data-page="movimentos"] textarea {
    background: rgba(35, 55, 76, 0.96) !important;
    border-color: rgba(116, 159, 194, 0.30) !important;
    color: #eef7ff !important;
}

html.dark body[data-page="movimentos"] input::placeholder,
html.dark body[data-page="movimentos"] textarea::placeholder {
    color: #84a2bc !important;
}

html.dark body[data-page="movimentos"] .bg-white\/5,
html.dark body[data-page="movimentos"] .bg-white\/10 {
    background-color: rgba(219, 238, 251, 0.08) !important;
}

html.dark body[data-page="movimentos"] button.border-white\/35.bg-white\/85,
html.dark body[data-page="movimentos"] .border-white\/35.bg-white\/85 {
    background: rgba(31, 50, 71, 0.94) !important;
    border-color: rgba(121, 164, 199, 0.34) !important;
    color: #dcecff !important;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.dark body[data-page="movimentos"] button.border-white\/35.bg-white\/85:hover,
html.dark body[data-page="movimentos"] .border-white\/35.bg-white\/85:hover {
    background: rgba(40, 61, 84, 0.98) !important;
}

html.dark body[data-page="movimentos"] .fixed .bg-emerald-50,
html.dark body[data-page="movimentos"] .fixed .bg-rose-50,
html.dark body[data-page="movimentos"] .fixed .bg-sky-50,
html.dark body[data-page="movimentos"] .fixed .bg-slate-50 {
    background: rgba(25, 40, 58, 0.96) !important;
}

html.dark body[data-page="movimentos"] .fixed .bg-amber-50 {
    background: rgba(76, 57, 18, 0.34) !important;
    border-color: rgba(214, 170, 75, 0.42) !important;
}

html.dark body[data-page="movimentos"] .fixed .border-emerald-100 {
    border-color: rgba(58, 162, 128, 0.42) !important;
}

html.dark body[data-page="movimentos"] .fixed .border-rose-100 {
    border-color: rgba(191, 86, 116, 0.42) !important;
}

html.dark body[data-page="movimentos"] .fixed .border-sky-100,
html.dark body[data-page="movimentos"] .fixed .border-slate-200 {
    border-color: rgba(96, 139, 176, 0.38) !important;
}

html.dark body[data-page="movimentos"] .fixed .text-emerald-600,
html.dark body[data-page="movimentos"] .fixed .text-emerald-700 {
    color: #58dfb2 !important;
}

html.dark body[data-page="movimentos"] .fixed .text-rose-500,
html.dark body[data-page="movimentos"] .fixed .text-rose-700 {
    color: #ff8faa !important;
}

html.dark body[data-page="movimentos"] .fixed .text-amber-700,
html.dark body[data-page="movimentos"] .fixed .text-amber-800 {
    color: #ffcf67 !important;
    text-shadow:
        0 1px 0 rgba(44, 28, 4, 0.88),
        0 0 12px rgba(255, 186, 64, 0.08);
}

html.dark body[data-page="movimentos"] .fixed .text-sky-500,
html.dark body[data-page="movimentos"] .fixed .text-sky-900 {
    color: #78cfff !important;
}

html.dark body[data-page="movimentos"] .fixed .text-slate-500,
html.dark body[data-page="movimentos"] .fixed .text-slate-900 {
    color: #e6f2ff !important;
}

html.dark body[data-page="movimentos"] .border-white\/10,
html.dark body[data-page="movimentos"] .border-white\/15,
html.dark body[data-page="movimentos"] .border-white\/20 {
    border-color: rgba(122, 163, 196, 0.18) !important;
}

html.dark body[data-page="caixa"] section > .bg-white,
html.dark body[data-page="caixa"] section > .rounded-3xl,
html.dark body[data-page="caixa"] section > .rounded-2xl,
html.dark body[data-page="caixa"] .bg-white,
html.dark body[data-page="caixa"] .bg-white\/85,
html.dark body[data-page="caixa"] .bg-slate-50,
html.dark body[data-page="caixa"] .bg-slate-50\/80,
html.dark body[data-page="caixa"] .bg-slate-50\/60 {
    background: rgba(16, 31, 48, 0.88) !important;
    border-color: rgba(113, 157, 194, 0.22) !important;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(190, 225, 248, 0.05) !important;
}

html.dark body[data-page="caixa"] .bg-emerald-50,
html.dark body[data-page="caixa"] .bg-rose-50,
html.dark body[data-page="caixa"] .bg-amber-50,
html.dark body[data-page="caixa"] .bg-sky-50 {
    background: rgba(17, 35, 54, 0.9) !important;
}

html.dark body[data-page="caixa"] .text-slate-900,
html.dark body[data-page="caixa"] .text-slate-800,
html.dark body[data-page="caixa"] .text-slate-700,
html.dark body[data-page="caixa"] .text-slate-600 {
    color: #e4f0fb !important;
}

html.dark body[data-page="caixa"] .text-slate-500,
html.dark body[data-page="caixa"] .text-slate-400 {
    color: #90abc3 !important;
}

html.dark body[data-page="caixa"] input,
html.dark body[data-page="caixa"] select,
html.dark body[data-page="caixa"] textarea {
    background: rgba(35, 55, 76, 0.96) !important;
    border-color: rgba(116, 159, 194, 0.30) !important;
    color: #eef7ff !important;
}

html.dark body[data-page="caixa"] input::placeholder,
html.dark body[data-page="caixa"] textarea::placeholder {
    color: #84a2bc !important;
}

html.dark body[data-page="caixa"] table thead {
    background: rgba(19, 39, 58, 0.95) !important;
}

html.dark body[data-page="caixa"] tbody tr:hover {
    background: rgba(55, 129, 178, 0.12) !important;
}

html.dark body[data-page="caixa"] .fixed .bg-white,
html.dark body[data-page="caixa"] .fixed .bg-white\/85,
html.dark body[data-page="caixa"] .fixed .bg-slate-50,
html.dark body[data-page="caixa"] .fixed .bg-slate-50\/60 {
    background: rgba(18, 35, 54, 0.96) !important;
    border-color: rgba(116, 159, 194, 0.28) !important;
}

html.dark body[data-page="caixa"] .fixed .text-slate-900,
html.dark body[data-page="caixa"] .fixed .text-slate-800,
html.dark body[data-page="caixa"] .fixed .text-slate-700,
html.dark body[data-page="caixa"] .fixed .text-slate-600,
html.dark body[data-page="caixa"] .fixed .text-slate-500 {
    color: #e8f3ff !important;
}

html.dark body[data-page="caixa"] .fixed .text-amber-800 {
    color: #ffcd57 !important;
    text-shadow:
        0 1px 0 rgba(44, 28, 4, 0.88),
        0 0 12px rgba(255, 186, 64, 0.08);
}

html.dark body[data-page="caixa"] .fixed .text-amber-700 {
    color: #ffc84a !important;
    text-shadow:
        0 1px 0 rgba(44, 28, 4, 0.88),
        0 0 12px rgba(255, 186, 64, 0.08);
}

html.dark body[data-page="caixa"] .fixed .bg-amber-50 {
    background: rgba(87, 61, 10, 0.34) !important;
    border-color: rgba(234, 188, 70, 0.42) !important;
}

html.dark body[data-page="caixa"] .fixed .bg-slate-100 {
    background: rgba(45, 63, 84, 0.96) !important;
    color: #edf6ff !important;
    border-color: rgba(116, 159, 194, 0.24) !important;
}

html.dark body[data-page="caixa"] .fixed .hover\:bg-slate-200:hover,
html.dark body[data-page="caixa"] .fixed .hover\:bg-slate-100:hover {
    background: rgba(58, 78, 101, 0.98) !important;
}

html.dark body[data-page="caixa"] .fixed input[type="checkbox"] {
    accent-color: #ffca54;
}

[x-text*="moeda("] {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82),
        0 2px 8px rgba(86, 128, 164, 0.10);
}

html.dark [x-text*="moeda("] {
    text-shadow:
        0 1px 0 rgba(7, 17, 28, 0.95),
        0 0 14px rgba(100, 188, 242, 0.10);
}

.money-panel {
    position: relative;
    overflow: hidden;
}

.money-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.money-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.money-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    font-weight: 900;
    line-height: 1;
}

.money-value-strong {
    font-size: clamp(1.45rem, 1.2rem + 0.5vw, 2rem);
}

.money-value-medium {
    font-size: clamp(1.1rem, 1rem + 0.25vw, 1.35rem);
}

.money-primary {
    color: #0b5f94 !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(36, 141, 198, 0.14);
}

.money-positive {
    color: #0d8f66 !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(16, 185, 129, 0.14);
}

.money-negative {
    color: #d62f57 !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(244, 63, 94, 0.14);
}

.money-panel.bg-gradient-to-r.from-sky-700.to-cyan-500 .money-label,
.money-panel.bg-gradient-to-r.from-sky-700.to-cyan-500 .money-value,
.money-panel.bg-gradient-to-r.from-sky-700.to-cyan-500 .money-primary {
    color: #f8fcff !important;
    text-shadow:
        0 1px 0 rgba(8, 29, 44, 0.42),
        0 6px 18px rgba(7, 42, 67, 0.18);
}

.money-panel.bg-gradient-to-r.from-sky-700.to-cyan-500 .money-negative {
    color: #ffe3ea !important;
    text-shadow:
        0 1px 0 rgba(79, 17, 33, 0.5),
        0 6px 18px rgba(79, 17, 33, 0.16);
}

.money-warning {
    color: #b97708 !important;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 14px rgba(245, 158, 11, 0.14);
}

.money-card-light {
    border: 1px solid rgba(150, 193, 224, 0.42);
    box-shadow:
        0 14px 28px rgba(80, 127, 161, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.money-card-blue {
    background: linear-gradient(180deg, rgba(226, 245, 255, 0.94), rgba(208, 236, 250, 0.88)) !important;
}

.money-card-green {
    background: linear-gradient(180deg, rgba(230, 255, 244, 0.94), rgba(204, 246, 228, 0.88)) !important;
}

.money-card-red {
    background: linear-gradient(180deg, rgba(255, 236, 242, 0.94), rgba(252, 214, 225, 0.88)) !important;
}

.money-card-amber {
    background: linear-gradient(180deg, rgba(255, 248, 225, 0.94), rgba(249, 232, 185, 0.88)) !important;
}

html.dark .money-primary {
    color: #8ddcff !important;
    text-shadow:
        0 1px 0 rgba(5, 15, 24, 0.95),
        0 0 18px rgba(74, 180, 235, 0.18);
}

html.dark .money-positive {
    color: #69f0bf !important;
    text-shadow:
        0 1px 0 rgba(5, 15, 24, 0.95),
        0 0 18px rgba(16, 185, 129, 0.18);
}

html.dark .money-negative {
    color: #ff8ca4 !important;
    text-shadow:
        0 1px 0 rgba(5, 15, 24, 0.95),
        0 0 18px rgba(244, 63, 94, 0.18);
}

html.dark .money-warning {
    color: #ffd36f !important;
    text-shadow:
        0 1px 0 rgba(5, 15, 24, 0.95),
        0 0 18px rgba(245, 158, 11, 0.18);
}

html.dark .money-card-light {
    border-color: rgba(116, 159, 194, 0.22);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(190, 225, 248, 0.05);
}

html.dark .money-card-blue {
    background: linear-gradient(180deg, rgba(15, 45, 67, 0.96), rgba(14, 59, 82, 0.90)) !important;
}

html.dark .money-card-green {
    background: linear-gradient(180deg, rgba(10, 53, 43, 0.96), rgba(11, 76, 60, 0.90)) !important;
}

html.dark .money-card-red {
    background: linear-gradient(180deg, rgba(63, 18, 33, 0.96), rgba(89, 24, 45, 0.90)) !important;
}

html.dark .money-card-amber {
    background: linear-gradient(180deg, rgba(67, 46, 11, 0.96), rgba(92, 64, 14, 0.90)) !important;
}

.text-slate-900,
.text-slate-800,
.text-slate-700,
.text-slate-600 {
    color: var(--text-main) !important;
}

.text-slate-500 {
    color: var(--text-soft) !important;
}

.text-slate-400 {
    color: var(--text-faint) !important;
}

input,
select,
textarea {
    border-color: var(--line-strong) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--text-main) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 1px 2px rgba(84, 127, 164, 0.06);
}

html.dark input,
html.dark select,
html.dark textarea {
    background: rgba(10, 26, 40, 0.88) !important;
}

html.dark select option,
html.dark select optgroup {
    background: #132437 !important;
    color: #e8f3ff !important;
}

html.dark select option:checked,
html.dark select option:hover {
    background: #22415e !important;
    color: #ffffff !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-faint);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(74, 171, 221, 0.8) !important;
    box-shadow: 0 0 0 4px rgba(74, 171, 221, 0.16);
}

table thead {
    background: rgba(237, 245, 253, 0.96) !important;
    backdrop-filter: blur(10px);
}

th,
label,
.text-\[9px\],
.text-\[10px\],
.text-\[11px\] {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

html.dark table thead {
    background: rgba(10, 26, 40, 0.72) !important;
}

html.dark .bg-white,
html.dark .bg-slate-50,
html.dark .bg-slate-50\/80,
html.dark .bg-slate-50\/85,
html.dark .bg-slate-50\/90 {
    background-color: rgba(10, 26, 40, 0.82) !important;
}

html.dark .border-slate-200,
html.dark .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
html.dark .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(117, 153, 186, 0.22) !important;
}

html.dark .bg-slate-100 {
    background-color: rgba(226, 242, 255, 0.12) !important;
}

html.dark .text-white {
    color: #f4fbff !important;
}

html.dark .bg-white\/15,
html.dark .bg-white\/10,
html.dark .bg-white\/5 {
    background-color: rgba(226, 242, 255, 0.12) !important;
}

html.dark .text-cyan-200 {
    color: #a9d8f3 !important;
}

html.dark button.bg-white,
html.dark .bg-white.text-slate-600,
html.dark .bg-white.text-slate-700,
html.dark .bg-white.text-slate-900 {
    color: #e6f2ff !important;
}

html.dark .rounded-full.bg-slate-100,
html.dark .rounded-full.bg-white\/15,
html.dark .rounded-full.bg-white {
    color: #d7ecfb !important;
}

tbody tr {
    transition: background-color 180ms ease, transform 180ms ease;
}

tbody tr:hover {
    background: rgba(95, 188, 232, 0.08) !important;
}

.bento-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-panel {
    background: var(--bg-strong);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: var(--blur-soft);
}

.login-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(107, 191, 237, 0.28), transparent 20%),
        linear-gradient(180deg, #e6f4ff 0%, #eef8ff 38%, #e7f5ff 100%);
}

html.dark .login-shell {
    background:
        radial-gradient(circle at top center, rgba(41, 104, 156, 0.34), transparent 20%),
        linear-gradient(180deg, #07111b 0%, #0a1624 38%, #101e2e 100%);
}

.login-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
}

html.dark .login-card {
    background: rgba(9, 23, 36, 0.82);
    border-color: rgba(145, 195, 235, 0.14);
}

html.dark .login-card .bg-gradient-to-r.from-sky-50\/85.via-white.to-cyan-50\/85 {
    background: linear-gradient(135deg, rgba(243, 249, 255, 0.98), rgba(231, 244, 255, 0.96)) !important;
    border-color: rgba(154, 195, 226, 0.46) !important;
}

html.dark .login-card h2.text-slate-900 {
    color: #214564 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

html.dark .login-card .text-slate-500 {
    color: #5a7693 !important;
}

html.dark .login-card .text-sky-700 {
    color: #2d8fcd !important;
}

html.dark .login-card label.text-slate-500 {
    color: #b8cde2 !important;
}

html.dark .login-card input {
    background: rgba(13, 30, 46, 0.96) !important;
    border-color: rgba(100, 145, 182, 0.34) !important;
    color: #eef7ff !important;
}

html.dark .login-card input::placeholder {
    color: #9ab3ca !important;
}

html.dark .login-card .border-t.border-slate-200\/70 {
    border-color: rgba(100, 145, 182, 0.26) !important;
}

@media (max-width: 1024px) {
    header.caixa-shell {
        margin: 8px;
        border-radius: 24px;
    }

    .compact-shell .logo-title {
        font-size: 0.88rem;
    }

    .compact-shell nav a {
        height: 32px;
        padding: 0 0.7rem;
        font-size: 9px;
    }

    .theme-toggle {
        justify-content: center;
    }

    body[data-page="movimentos"] .xl\:grid-cols-\[280px_minmax\(0\,1fr\)\] {
        grid-template-columns: 1fr !important;
    }
}
.caixa-turno-select option {
    color: #0f172a;
    background-color: #ffffff;
}
