:root{font-family:Segoe UI,Arial,sans-serif;line-height:1.6;font-weight:400;color:#0f172a;background-color:#e2e8f0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}body{margin:0;min-width:320px;background-color:inherit}*{box-sizing:border-box}#root{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 3rem}.transaction-app{display:flex;flex-direction:column;gap:1.5rem;color:#1f2933;font-family:Segoe UI,Arial,sans-serif}.transaction-header{display:flex;flex-direction:column;gap:1.5rem}.transaction-header h1{margin:0;font-size:2rem;color:#0f172a}.transaction-header p{margin:.25rem 0 0;color:#4b5563}.transaction-summary{display:flex;flex-wrap:wrap;gap:1rem}.transaction-table-wrapper{border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;background:#fff;box-shadow:0 8px 24px #0f172a14}.transaction-table{width:100%;border-collapse:collapse;font-size:.95rem}.transaction-table thead{background:#f1f5f9;color:#475569;text-align:left}.transaction-table th,.transaction-table td{padding:.85rem 1rem;border-bottom:1px solid #e2e8f0}.transaction-table tbody tr:last-child td{border-bottom:none}.transaction-table tbody tr:hover{background:#f8fafc}.transaction-table tbody tr.income td:nth-child(5){color:#16a34a;font-weight:600}.transaction-table tbody tr.expense td:nth-child(5){color:#dc2626;font-weight:600}.transaction-link{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .75rem;border-radius:999px;border:1px solid #1d4ed8;color:#1d4ed8;font-size:.85rem;font-weight:600;text-decoration:none;transition:background .2s ease,color .2s ease}.transaction-link:hover,.transaction-link:focus{background:#1d4ed8;color:#fff}.transaction-state{padding:2rem 1rem;text-align:center;color:#475569;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem}.transaction-state--error{color:#dc2626;border-color:#fecaca;background:#fef2f2}@media (max-width: 768px){#root{padding:1.5rem 1rem 2rem}.transaction-table thead{display:none}.transaction-table,.transaction-table tbody,.transaction-table tr,.transaction-table td{display:block;width:100%}.transaction-table tbody tr{border-bottom:1px solid #e2e8f0}.transaction-table td{border-bottom:none;padding:.75rem}.transaction-table td:before{content:attr(data-label);font-weight:600;display:block;margin-bottom:.35rem;color:#475569}}
