* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.treemap-rect:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 12px 32px rgba(0,0,0,0.2) !important;
}

.category-row {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 8px;
}

.category-row:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

input:focus, textarea:focus, button:focus {
    outline: none;
}

button {
    transition: all 0.2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:active:not(:disabled) {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .treemap-rect {
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }
}