*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.app-layout{min-height:100vh}.app-sider{overflow:auto;height:100vh;position:fixed;left:0;top:0;bottom:0}.app-logo{height:64px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:700;background:#ffffff1a;margin:0}.app-content{margin-left:200px;padding:24px;min-height:100vh;background:#f0f2f5}.azienda-selector{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.1)}.azienda-selector-label{color:#ffffffa6;font-size:12px;margin-bottom:8px}.azienda-selector .ant-select{width:100%}.azienda-selector .ant-select-selector{background:#ffffff1a!important;border-color:#fff3!important;color:#fff!important}.azienda-selector .ant-select-selection-item{color:#fff!important}.azienda-selector .ant-select-arrow{color:#ffffffa6}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.login-card{width:400px;border-radius:8px;box-shadow:0 4px 20px #00000026}.login-header{text-align:center;margin-bottom:24px}.login-header h1{color:#1890ff;margin-bottom:8px}.login-header p{color:#666}.spreadsheet-container{background:#fff;border-radius:8px;padding:16px;box-shadow:0 1px 3px #0000001a}.spreadsheet-table{width:100%;border-collapse:collapse;font-size:13px}.spreadsheet-table th,.spreadsheet-table td{border:1px solid #e8e8e8;padding:8px 12px;text-align:right}.spreadsheet-table th{background:#fafafa;font-weight:600;text-align:center}.spreadsheet-table td:first-child,.spreadsheet-table td:nth-child(2),.spreadsheet-table td:nth-child(3),.spreadsheet-table td:nth-child(4){text-align:left}.spreadsheet-table tr:hover{background:#f5f5f5}.spreadsheet-table .row-saldo-iniziale{background:#e6f7ff;font-weight:500}.spreadsheet-table .row-pagamento{color:#cf1322}.spreadsheet-table .row-incasso{color:#389e0d}.spreadsheet-table .row-anticipo{color:#1890ff;font-style:italic}.spreadsheet-table .cell-negative{background:#fff1f0;color:#cf1322;font-weight:600}.spreadsheet-table .cell-totale{font-weight:600;background:#f6ffed}.spreadsheet-table .row-totale{background:#fafafa;font-weight:600}.page-header{margin-bottom:24px}.page-header h1{font-size:24px;margin-bottom:8px}.page-header p{color:#666}.stat-card{text-align:center}.stat-card .stat-value{font-size:28px;font-weight:600;color:#1890ff}.stat-card .stat-label{color:#666;font-size:14px}.toolbar{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap;align-items:center}.toolbar-spacer{flex:1}.anticipi-panel{background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;padding:16px;margin-top:24px}.anticipi-panel h3{color:#d48806;margin-bottom:12px}.money-positive{color:#389e0d}.money-negative{color:#cf1322}.row-da-gestire{background-color:#fffbe6!important}.row-da-gestire:hover{background-color:#fff1b8!important}.ant-table-tbody>tr.row-da-gestire>td{background-color:#fffbe6}.ant-table-tbody>tr.row-da-gestire:hover>td{background-color:#fff1b8}@media (max-width: 768px){.app-content{margin-left:0;padding:16px}.spreadsheet-table{font-size:11px}.spreadsheet-table th,.spreadsheet-table td{padding:4px 6px}}
