:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.app-container{max-width:1200px;margin:0 auto;padding:2rem;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}header{margin-bottom:1.5rem}header h1{margin:0 0 .5rem;font-size:1.8rem}header p{margin:0;font-size:.9rem;color:#555}.tabs{display:flex;gap:.5rem;margin-bottom:1rem}.tabs button{padding:.4rem .8rem;border:1px solid #ccc;border-radius:4px;background:#f5f5f5;cursor:pointer}.tabs button.active{background:#2563eb;color:#fff;border-color:#2563eb}main{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1rem}.settings-form fieldset{border:1px solid #e5e7eb;border-radius:6px;margin-bottom:1rem;padding:1rem}.settings-form legend{font-weight:600;padding:0 .5rem}.settings-form label{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;font-size:.9rem}.settings-form input,.settings-form select,.settings-form textarea{border-radius:4px;border:1px solid #d1d5db;padding:.35rem .5rem;font-size:.9rem}.settings-form textarea{resize:vertical}.settings-form .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem 1rem}.settings-form .templates{margin-top:.75rem}.settings-form .templates h4{margin:0 0 .25rem}.settings-form .templates .help{margin:0 0 .5rem;font-size:.8rem;color:#6b7280}.checkbox{flex-direction:row;align-items:center;gap:.5rem}.settings-form button[type=submit]{margin-top:.5rem;padding:.5rem 1rem;border-radius:4px;border:none;background:#16a34a;color:#fff;cursor:pointer}.settings-form button[type=submit]:disabled{opacity:.7;cursor:default}.error{color:#b91c1c;margin-bottom:.5rem}.transactions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.transactions-header button{padding:.35rem .7rem;border-radius:4px;border:1px solid #d1d5db;background:#f9fafb;cursor:pointer}table{width:100%;border-collapse:collapse;font-size:.85rem}table th,table td{border:1px solid #e5e7eb;padding:.4rem .5rem;text-align:left;vertical-align:top}table th{background:#f3f4f6}table button{padding:.25rem .5rem;font-size:.8rem;border-radius:4px;border:1px solid #d1d5db;background:#f9fafb;cursor:pointer}code{background:#f3f4f6;padding:.1rem .2rem;border-radius:4px;font-size:.85rem}
