:root {
    color-scheme: light;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

::selection {
    background: rgba(16, 185, 129, 0.18);
}

.page-shell {
    position: relative;
}

.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.78) 26%, rgba(248, 250, 252, 0.94) 100%);
    pointer-events: none;
    z-index: -1;
}

.surface-shadow {
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 18px 38px rgba(15, 23, 42, 0.06);
}

.table-fade tbody tr:last-child {
    border-bottom: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
}
