:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ededf0;font-synthesis:none;background:#121316;font-family:Arial,Helvetica,sans-serif;font-size:100%}*{box-sizing:border-box}html{min-height:100%}body{overflow-wrap:anywhere;background:#121316;min-height:100dvh;margin:0}a{color:inherit}button,input{font:inherit;min-width:0;max-width:100%}button{color:#ededf0;cursor:pointer;background:#25262c;border:1px solid #45464f;border-radius:8px;padding:.75rem 1rem}button:disabled{opacity:.65;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible{outline-offset:4px;outline:2px solid #b1b4c5}.shell{max-width:1100px;margin:auto;padding:1.5rem}header{border-bottom:1px solid #303138;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand navigation account";align-items:center;gap:1rem;padding-bottom:1rem;display:grid}.brand{grid-area:brand;min-width:0;font-weight:600;text-decoration:none}main{min-width:0;margin:2rem 0}h1{letter-spacing:-.025em;margin:.75rem 0 1rem;font-size:2rem;font-weight:600;line-height:1.2}p{color:#a8a9b3;max-width:36rem;line-height:1.6}.eyebrow{color:#9597a4;letter-spacing:.09em;text-transform:uppercase;margin:0 0 1.25rem;font-size:.75rem;font-weight:600}.primary{color:#f5f5f7;background:#34363f;border:1px solid #51535f;border-radius:8px;padding:.875rem 1rem;font-weight:600;text-decoration:none;display:inline-block}.primary:hover{background:#41434f}.login{align-items:center;width:100%;max-width:440px;min-height:100dvh;margin:0 auto;padding:3rem 1.5rem;display:flex}.login section{width:100%;min-width:0}.login p{font-size:.9375rem}form{gap:1.25rem;margin-top:2rem;display:grid}label{color:#d4d4dc;gap:.625rem;font-size:.9375rem;display:grid}input{color:#ededf0;background:#1d1e24;border:1px solid #41434d;border-radius:8px;width:100%;min-height:48px;padding:.8rem}input:focus{border-color:#a1a3b4}form [role=alert]{color:#f2aaa6;margin:0}@media (max-width:450px){.shell{padding:1rem}main{margin:1.5rem 0}.login{margin:0 auto;padding:2rem 1.5rem}header{align-items:flex-start}}header nav{flex-wrap:wrap;grid-area:navigation;justify-content:flex-end;gap:.5rem;min-width:0;display:flex}header nav a{color:#e5e5eb;background:#191a1f;border:1px solid #34363f;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:.625rem .875rem;font-size:.875rem;font-weight:500;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}header nav a:hover{background:#2d2f37;border-color:#646773}header nav a:active{background:#373944}@media (prefers-reduced-motion:reduce){header nav a{transition:none}}select{color:#ededf0;width:100%;min-height:48px;font:inherit;background:#1d1e24;border:1px solid #41434d;border-radius:8px;padding:.8rem}select:focus-visible{outline-offset:4px;outline:2px solid #b1b4c5}.categories-page{width:100%}.category-form{border:1px solid #41434d;border-radius:12px;padding:1.25rem}.category-form h2{margin:0}.category-actions{flex-wrap:wrap;gap:.75rem;display:flex}.category-lists{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1.25rem;margin-top:2rem;display:grid}.category-lists section{border:1px solid #3d3f48;border-radius:14px;min-width:0;padding:1.25rem}.category-lists ul{margin:1rem 0 0;padding:0;list-style:none}.category-lists li{border-bottom:1px solid #303138;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 0;display:flex}.category-details{flex:8rem;min-width:0}.category-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.category-details strong{font-size:1rem;line-height:1.5;display:block}.category-lists small{color:#a8a9b3;margin-top:.25rem;font-size:.75rem;line-height:1.4;display:block}.category-lists li button{min-height:44px;padding:.625rem .75rem;font-size:.8125rem}.category-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.category-panel-heading h2{margin:0;font-size:1.25rem;line-height:1.4}.category-empty{margin:1rem 0 0;font-size:.875rem}.category-form{max-width:36rem}@media (max-width:700px){.category-lists{grid-template-columns:minmax(0,1fr)}}.back-link{color:#b7b9c5;margin-bottom:1.5rem;text-decoration:none;display:inline-block}.back-link:hover{text-decoration:underline}.settings-card{background:#1d1e24;border:1px solid #41434d;border-radius:12px;gap:.75rem;max-width:36rem;padding:1.5rem;text-decoration:none;display:grid}.settings-card:hover{background:#25262c;border-color:#707482}.settings-card strong{font-size:1.25rem}.settings-card span{color:#b7b9c5;line-height:1.6}.settings-card .settings-card-action{color:#ededf0;font-weight:600}.category-dialog{color:#ededf0;background:#1d1e24;border:1px solid #4b4e5b;border-radius:16px;width:min(36rem,100% - 2rem);max-height:calc(100dvh - 2rem);padding:0;overflow-y:auto}.category-dialog::backdrop{background:#000000b3}.category-dialog .category-form{border:0;margin:0;padding:1.5rem}.operation-page{max-width:36rem;margin:0 auto}.operation-fields{border:0;gap:1.25rem;min-width:0;margin:0;padding:0;display:grid}.operation-fields:disabled{opacity:.7}.inline-category{border:1px solid #41434d;border-radius:12px;gap:.75rem;padding:1rem;display:grid}.recent-categories{flex-wrap:wrap;gap:.5rem;display:flex}.recent-categories [aria-pressed=true]{background:#34363f;border-color:#b1b4c5}.home-report-link{color:#ededf0;background:#232630;border:1px solid #555969;border-radius:14px;justify-content:space-between;align-items:center;gap:1rem;max-width:34rem;margin-top:1.5rem;padding:1.125rem 1.25rem;text-decoration:none;transition:background .15s,border-color .15s;display:flex}.home-report-link:hover{background:#2c3040;border-color:#8b91a5}.home-report-copy{gap:.375rem;min-width:0;display:grid}.home-report-copy strong{font-size:1.0625rem;line-height:1.35}.home-report-copy span{color:#b9bfce;font-size:.875rem;line-height:1.45}.home-report-arrow{border:1px solid #626879;border-radius:50%;flex:0 0 2.25rem;place-items:center;width:2.25rem;height:2.25rem;font-size:1.25rem;display:grid}@media (prefers-reduced-motion:reduce){.home-report-link{transition:none}}.operation-submit{padding-bottom:calc(.875rem + env(safe-area-inset-bottom));min-height:52px;position:sticky;bottom:0}.category-picker{gap:.625rem;display:grid;position:relative}.category-results{background:#1d1e24;border:1px solid #41434d;border-radius:10px;overflow:hidden}.category-results ul{max-height:16rem;margin:0;padding:.25rem;list-style:none;overflow-y:auto}.category-results li{cursor:pointer;border-radius:6px;padding:.875rem}.category-results li:hover,.category-results .category-result-active{background:#34363f}.category-results [aria-selected=true]{font-weight:600}.category-results p{margin:.75rem}.history-period{max-width:16rem;margin-bottom:2rem}.history-day{border:1px solid #3d3f48;border-radius:14px;margin:1.5rem 0;padding:1.25rem}.history-day-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.history-day h2{margin:0;font-size:1.125rem}.history-totals{color:#b7b9c5;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.875rem;display:flex}.history-day ul{margin:1rem 0 0;padding:0;list-style:none}.history-day li{border-top:1px solid #303138;flex-wrap:wrap;align-items:center;gap:1rem;padding:1rem 0;display:flex}.history-description{flex:10rem;gap:.375rem;min-width:0;display:grid}.history-description span{color:#b7b9c5;font-size:.8125rem}.history-amount{font-variant-numeric:tabular-nums}.history-row-actions{flex-wrap:wrap;gap:.5rem;display:flex}.history-row-actions button{min-height:44px;padding:.625rem .75rem;font-size:.8125rem}.operation-page>.primary{margin:0 .75rem .75rem 0}@media (max-width:450px){.history-day{padding:.875rem}.history-row-actions{flex-basis:100%}}.history-pagination{flex-wrap:wrap;gap:.5rem;margin:1.5rem 0;display:flex}.history-pagination [aria-current=page]{background:#34363f;border-color:#b1b4c5}.import-form{max-width:36rem;margin-bottom:2rem}.import-format{margin:0;font-size:.875rem}.import-format code{overflow-wrap:anywhere}.import-table-scroll{border:1px solid #3d3f48;border-radius:12px;max-width:100%;overflow-x:auto}.import-table{border-collapse:collapse;text-align:left;width:100%;min-width:40rem;font-size:.875rem}.import-table th,.import-table td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #303138;max-width:16rem;padding:.875rem}.import-table th{background:#202127}.import-history-table{min-width:85rem}.import-history-table th,.import-history-table td{min-width:8rem}.import-history-table th:nth-child(2),.import-history-table td:nth-child(2){min-width:12rem}.import-history-table th:nth-child(4),.import-history-table td:nth-child(4){min-width:19rem}.import-table tr:last-child td{border-bottom:0}.import-table ul{margin:.5rem 0 0;padding-left:1rem}.import-duplicates{border:1px solid #555866;border-radius:12px;gap:1rem;min-width:0;margin:1.5rem 0;padding:1rem;display:grid}.import-duplicates label{align-items:flex-start;gap:.75rem;line-height:1.6;display:flex}.import-duplicates input[type=checkbox]{accent-color:#b1b4c5;flex-shrink:0;width:1.25rem;height:1.25rem;min-height:1.25rem;margin-top:.25rem}.import-result{border:1px solid #41434d;border-radius:12px;margin-top:1.5rem;padding:1rem}.import-edit-actions{flex-wrap:wrap;gap:.75rem;margin:1rem 0;display:flex}.import-edit-actions p{flex-basis:100%;margin:0}.import-table input[type=checkbox]{accent-color:#b1b4c5;width:1.25rem;height:1.25rem;min-height:1.25rem}.import-excluded td:not(:last-child){opacity:.55}.import-row-errors p{color:#f2aaa6;margin:0;font-size:.875rem}.import-table td button{white-space:nowrap}.calibration-group{border:1px solid #3d3f48;border-radius:14px;margin:1rem 0;padding:1.25rem}.calibration-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.calibration-heading h2{margin:0;font-size:1.125rem}.calibration-heading p{margin:.5rem 0 0}.calibration-toggle{margin-top:1rem}.pending-rows{padding:0;list-style:none}.pending-rows li{border-top:1px solid #303138;flex-wrap:wrap;justify-content:space-between;gap:.75rem;padding:.875rem 0;display:flex}.pending-rows small{color:#a8a9b3;margin-top:.25rem;display:block}.account-actions{grid-area:account;place-self:start end}.account-actions p{max-width:min(20rem,55vw)}.account-actions button{min-height:44px;padding:.625rem .875rem;font-size:.875rem}.import-navigation{border-bottom:1px solid #303138;flex-wrap:wrap;gap:.25rem 1rem;margin-bottom:1.5rem;display:flex}.import-navigation a{color:#a8a9b3;border-bottom:2px solid #0000;align-items:center;min-height:44px;padding:.625rem 0;font-size:.875rem;text-decoration:none;display:inline-flex}.import-navigation a:hover{color:#ededf0}.import-navigation a[aria-current=page]{color:#ededf0;border-bottom-color:#b1b4c5}@media (max-width:1050px){header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account""navigation navigation"}header nav{justify-content:flex-start}}.history-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:2rem;display:flex}.history-toolbar .history-period{margin:0}.history-export{gap:.5rem;min-width:0;max-width:28rem;display:grid}.history-export small{color:#a8a9b3}.history-export p{color:#f2aaa6;margin:0}.reports-page{min-width:0}.reports-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.reports-heading p{margin-top:0}.reports-filter{flex-wrap:wrap;align-items:end;gap:.75rem;max-width:34rem;margin:1.25rem 0;display:flex}.reports-filter label{flex:8rem;min-width:8rem}.report-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.report-summary div{background:#1d1e24;border:1px solid #41434d;border-radius:12px;gap:.5rem;min-width:0;padding:1rem;display:grid}.report-summary span{color:#b7b9c5}.report-summary strong{overflow-wrap:anywhere;font-size:clamp(1.25rem,3vw,2rem);line-height:1.2}.report-section{min-width:0;margin:2rem 0}.report-section h2{font-size:1.35rem}.report-scroll{border:1px solid #41434d;border-radius:12px;max-width:100%;overflow-x:auto}.report-scroll-single{width:min(100%,38rem)}.report-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:max-content}.report-table th,.report-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #34363f;padding:.75rem}.report-table th:first-child{text-align:left;z-index:1;background:#202127;min-width:12rem;position:sticky;left:0}.report-table thead th{background:#25262c}.report-table tfoot th,.report-table tfoot td{background:#25262c;font-weight:700}.report-table tbody th{font-weight:500}.report-table tbody th span{margin-top:.35rem;font-size:.75rem;display:block}.report-mandatory{color:#f2aaa6}.report-variable{color:#a9bde7}@media (max-width:700px){.report-summary{grid-template-columns:1fr}.report-table th:first-child{min-width:9rem}}
