.btn-primary{background-color:#2d5a27;color:#fff;border-color:#2d5a27}.btn-primary:hover{background-color:#3d7a35;border-color:#3d7a35;color:#fff}.btn-primary:focus-visible{outline:2px solid #2d5a27;outline-offset:2px}.btn-secondary{background-color:transparent;color:#2d5a27;border-color:#2d5a27}.btn-secondary:hover{background-color:#2d5a2714}.btn-danger{background-color:#c62828;color:#fff;border-color:#c62828}.btn-danger:hover{background-color:#b71c1c;border-color:#b71c1c;color:#fff}.btn-danger:focus-visible{outline:2px solid #c62828;outline-offset:2px}:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}a{font-weight:500;color:#2d5a27;text-decoration:none}a:hover{color:#3d7a35;text-decoration:underline}h1{font-size:1.75rem;line-height:1.2;margin:0 0 1.5rem;color:#213547}button{border-radius:8px;border:1px solid rgba(0,0,0,.15);padding:.5rem 1rem;font-size:.9375rem;font-weight:500;font-family:inherit;background-color:#fff;cursor:pointer;transition:background-color .2s,border-color .2s}button:hover{background-color:#f5f5f5;border-color:#2d5a27}button:focus-visible{outline:2px solid #2d5a27;outline-offset:2px}input{font-family:inherit;font-size:.9375rem;padding:.5rem .75rem;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff}input:focus{outline:2px solid #2d5a27;outline-offset:0}select{font-family:inherit;font-size:.9375rem;padding:.5rem 2rem .5rem .75rem;min-height:2.5rem;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;color:#213547;cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center}select:hover{border-color:#bbb}select:focus{outline:none;border-color:#2d5a27;box-shadow:0 0 0 3px #2d5a2726}select:disabled{opacity:.6;cursor:not-allowed}select option{padding:.5rem;background:#fff;color:#213547}label{font-weight:500;color:#213547}.custom-select{position:relative;width:100%;min-width:10rem}.custom-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-family:inherit;font-size:.9375rem;padding:.5rem 2rem .5rem .75rem;min-height:2.5rem;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;color:#213547;cursor:pointer;text-align:left}.custom-select-trigger .custom-select-placeholder{color:#666}.custom-select-trigger .custom-select-arrow{position:absolute;right:.75rem;font-size:.6rem;color:#666;transition:transform .2s}.custom-select-trigger:hover{border-color:#bbb}.custom-select-trigger:focus{outline:none;border-color:#2d5a27;box-shadow:0 0 0 3px #2d5a2726}.custom-select.is-open .custom-select-arrow{transform:rotate(180deg)}.custom-select-backdrop{position:fixed;inset:0;z-index:199;background:transparent}.custom-select-panel{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:200;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 20px #00000026;max-height:16rem;display:flex;flex-direction:column;overflow:hidden}.custom-select-search{flex-shrink:0;padding:.5rem .75rem;border-bottom:1px solid #e0e0e0;background:#f5f5f5}.custom-select-search-input{width:100%;padding:.5rem .75rem;font-size:.9375rem;border:1px solid #e0e0e0;border-radius:8px;background:#fff}.custom-select-search-input:focus{outline:none;border-color:#2d5a27}.custom-select-list{list-style:none;margin:0;padding:.25rem 0;overflow-y:auto;flex:1;min-height:0}.custom-select-empty{padding:1rem;color:#666;font-size:.9375rem;text-align:center}.custom-select-load-more{flex-shrink:0;padding:.5rem;border-top:1px solid #e0e0e0;text-align:center}.custom-select-load-more-btn{width:100%;padding:.5rem;font-size:.875rem;color:#2d5a27;background:none;border:none;cursor:pointer}.custom-select-load-more-btn:hover{text-decoration:underline}.custom-select-option{margin:0}.custom-select-option-btn{display:block;width:100%;padding:.625rem 1rem;font-family:inherit;font-size:.9375rem;text-align:left;background:none;border:none;cursor:pointer;color:#213547}.custom-select-option-btn:hover{background:#f5f5f5}.custom-select-option-btn.is-selected{background:#2d5a271f;color:#2d5a27;font-weight:500}@media(max-width:768px){.custom-select-backdrop{background:#0006}.custom-select-panel{position:fixed;inset:auto 0 0;max-height:70vh;border-radius:8px 8px 0 0;border-bottom:none;box-shadow:0 -4px 24px #0003}.custom-select-option-btn{min-height:3rem;padding:.875rem 1.25rem;font-size:1rem}}.signin-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem}.signin-card{width:100%;max-width:22rem;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026}.signin-heading{margin:0 0 .25rem;font-size:1.5rem;color:#2d5a27}.signin-subheading{margin:0 0 1.5rem;font-size:.9375rem;color:#666}.signin-form{display:flex;flex-direction:column;gap:1rem}.signin-form .form-row{display:flex;flex-direction:column;gap:.25rem}.signin-form .form-row label{font-size:.875rem;display:flex}.signin-error{margin:0;font-size:.875rem;color:#c62828}.signin-submit{margin-top:.5rem;width:100%}.app-layout{display:flex;min-height:100vh;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.sidenav-toggle{display:none;position:fixed;top:1rem;left:1rem;z-index:100;width:2.5rem;height:2.5rem;padding:.5rem;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 8px #0000001a;cursor:pointer}.sidenav-toggle .sidenav-toggle-bar{display:block;width:1.25rem;height:2px;background:#213547;border-radius:1px}.sidenav-overlay{position:fixed;inset:0;z-index:101;background:#0006;display:none}.sidenav{width:12rem;flex-shrink:0;background:#fff;border-right:1px solid #e0e0e0;padding:1.5rem;display:flex;flex-direction:column}.sidenav .sidenav-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.sidenav .sidenav-heading{font-size:1.25rem;font-weight:700;margin:0;color:#2d5a27;letter-spacing:-.02em}.sidenav .sidenav-close{display:none;padding:.25rem;font-size:1.5rem;line-height:1;background:none;border:none;cursor:pointer;color:#213547}.sidenav .sidenav-close:hover{color:#2d5a27}.sidenav .sidenav-nav{display:flex;flex-direction:column;flex:1}.sidenav .sidenav-nav .sidenav-top{display:flex;flex-direction:column;gap:.25rem}.sidenav .sidenav-nav .sidenav-bottom{margin-top:auto;padding-top:1.5rem;border-top:1px solid #e0e0e0}.sidenav .sidenav-nav a{display:block;padding:.5rem .75rem;border-radius:8px;text-decoration:none;color:#213547}.sidenav .sidenav-nav a:hover{background:#f5f5f5;color:#2d5a27;text-decoration:none}.sidenav .sidenav-nav a.active{font-weight:600;color:#2d5a27;background:#2d5a271a}.sidenav .sidenav-nav .sidenav-signout{display:block;width:100%;margin-top:.5rem;padding:.5rem .75rem;font-size:.9375rem;font-weight:500;text-align:left;color:#666;background:none;border:none;border-radius:8px;cursor:pointer}.sidenav .sidenav-nav .sidenav-signout:hover{background:#f5f5f5;color:#c62828}.app-content{flex:1;padding:1.5rem;max-width:1200px;width:100%}@media(max-width:768px){.sidenav-toggle{display:flex}.sidenav-overlay{opacity:0;pointer-events:none;transition:opacity .2s ease}.app-layout.sidenav-open .sidenav-overlay{display:block;opacity:1;pointer-events:auto}.sidenav{position:fixed;top:0;left:0;bottom:0;z-index:102;width:14rem;transform:translate(-100%);transition:transform .25s ease;box-shadow:0 4px 20px #00000026}.app-layout.sidenav-open .sidenav{transform:translate(0)}.sidenav-close{display:block}.app-content{padding-top:3.5rem}}.list-page .list-page-top{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem}.list-page .stats-card{position:relative;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1rem 1.5rem;width:100%;border:1px solid #e0e0e0;overflow:hidden}.list-page .stats-card-accent{position:absolute;top:0;left:0;width:100%;height:3px;border-radius:0 0 2px 2px;background:#2d5a27}.list-page .stats-card--cr .stats-card-accent{background:#2e7d32}.list-page .stats-card--dr .stats-card-accent{background:#c62828}.list-page .stats-card--cr .stats-card-value{color:#2e7d32}.list-page .stats-card--dr .stats-card-value{color:#c62828}.list-page .stats-card--wov .stats-card-accent{background:#1565c0}.list-page .stats-card--wov .stats-card-value{color:#1565c0}.list-page .stats-card--pending .stats-card-accent{background:#f57c00}.list-page .stats-card--pending .stats-card-value{color:#e65100}.list-page .stats-card--earnings .stats-card-accent{background:#00897b}.list-page .stats-card--earnings .stats-card-value{color:#00695c}.list-page .stats-card-label{font-size:.875rem;color:#666;margin-top:4px;margin-bottom:2px}.list-page .stats-card-value-row{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem}.list-page .stats-card-value{font-size:1.5rem;font-weight:700;color:#213547;letter-spacing:-.02em}.list-page .stats-card-pct{font-size:.9375rem;font-weight:600;color:#666;flex-shrink:0}.list-page .stats-card--wov .stats-card-pct{color:#1565c0}.list-page .stats-card--cr .stats-card-pct{color:#2e7d32}.list-page .stats-card--dr .stats-card-pct{color:#c62828}.list-page .stats-card--pending .stats-card-pct{color:#e65100}.list-page .stats-card--earnings .stats-card-pct{color:#00695c}.list-page .stats-card-meta{font-size:.75rem;color:#666;margin-top:4px}.list-page.project-overview{max-width:32rem;margin-left:auto;margin-right:auto}.list-page.project-overview .project-overview-dropdown{margin-bottom:1.5rem}.list-page.project-overview .project-overview-dropdown label{display:block;margin-bottom:.5rem;font-weight:500}.list-page.project-overview .project-overview-complete-msg{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;margin-bottom:1.5rem;background:#e8f5e9;border:1px solid #a5d6a7;border-radius:8px;color:#1b5e20;font-weight:500}.list-page.project-overview .project-overview-complete-icon{font-size:1.25rem;font-weight:700;color:#2e7d32}.list-page.project-overview .project-overview-stats{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.list-page.project-overview .project-overview-row{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;width:100%}.list-page.project-overview .project-overview-row .stats-card{min-width:12rem}.list-page.project-overview .project-overview-row--single{justify-content:center}.list-page.project-overview .project-overview-row--single .stats-card{width:100%}.list-page.project-overview .project-overview-muted{color:#666;margin-top:1rem}.list-page .list-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem}.list-page .list-toolbar .search-input-wrap{position:relative;flex:1;min-width:12rem;max-width:20rem}.list-page .list-toolbar .search-input-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#666;pointer-events:none;display:flex;align-items:center;justify-content:center}.list-page .list-toolbar .search-input{width:100%;padding-left:2.5rem;padding-right:.75rem}.list-page .list-toolbar .filter-group{display:flex;align-items:center;gap:.5rem}.list-page .list-toolbar .filter-group label{margin-right:.25rem}.list-page .list-table td.list-empty{text-align:center;padding:2rem;color:#666}.list-page .list-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.list-page .list-table th.col-checkbox,.list-page .list-table td.col-checkbox{width:2.5rem;text-align:center;vertical-align:middle}.list-page .list-table th.col-checkbox input,.list-page .list-table td.col-checkbox input{cursor:pointer}.list-page .list-table th,.list-page .list-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e0e0e0}.list-page .list-table th{font-weight:600;background:#f5f5f5;color:#213547}.list-page .list-table tbody tr{cursor:pointer}.list-page .list-table tbody tr:hover{background:#00000005}.list-page .list-table .btn-cell{min-height:40px;white-space:nowrap;display:flex;gap:.5rem}.list-page .pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.list-page .pagination .pagination-left{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.list-page .pagination .pagination-right{display:flex;align-items:center}.list-page .pagination .pagination-info{font-size:.9375rem;color:#666}.list-page .pagination .pagination-info .pagination-total{font-weight:500}.list-page .pagination .pagination-size{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#666}.list-page .pagination .pagination-size label{margin:0}.list-page .pagination .pagination-size-select{padding:.35rem .5rem;font-size:.875rem;border-radius:8px;border:1px solid #e0e0e0;background:#fff}.list-page .pagination .pagination-buttons{display:flex;align-items:center;gap:.25rem;flex-wrap:wrap}.list-page .pagination .pagination-btn{padding:.4rem .75rem;font-size:.875rem;min-width:2.25rem}.list-page .pagination .pagination-btn:disabled{opacity:.5;cursor:not-allowed}.list-page .pagination .pagination-numbers{display:flex;align-items:center;gap:.25rem}.list-page .pagination .pagination-num{min-width:2rem}.list-page .pagination .pagination-num-active{background:#2d5a27;color:#fff;border-color:#2d5a27}.list-page .pagination .pagination-ellipsis{padding:0 .25rem;font-size:.875rem;color:#666}.list-page .settings-intro{margin:0 0 1.5rem;color:#666;max-width:42rem}.list-page .settings-section{margin-bottom:2.5rem}.list-page .settings-section:last-child{margin-bottom:0}.list-page .settings-section .settings-section-intro{margin:0 0 1rem;color:#666;font-size:.9375rem}.list-page .settings-tabs{display:flex;gap:0;margin-bottom:1.5rem;border-bottom:1px solid #e0e0e0}.list-page .settings-tabs .settings-tab{padding:.75rem 1.25rem;font-weight:500;color:#666;background:none;border:none;border-bottom:2px solid transparent;border-radius:0;margin-bottom:-1px;cursor:pointer;font-size:1rem}.list-page .settings-tabs .settings-tab:hover{color:#213547}.list-page .settings-tabs .settings-tab.active{color:#2d5a27;border-bottom-color:#2d5a27}.list-page .loading,.list-page .error{padding:1.5rem;text-align:center}.list-page .error{color:#c62828}.dialog-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.dialog-overlay[hidden]{display:none}.dialog{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:28rem;width:100%;max-height:90vh;overflow:auto;transition:background-color .2s ease,border-color .2s ease}.dialog .dialog-header{padding:1.5rem 1.5rem 0;margin-bottom:1rem}.dialog .dialog-header h2{margin:0;font-size:1.25rem;font-weight:600}.dialog .dialog-body{padding:0 1.5rem 1.5rem}.dialog .dialog-form{display:flex;flex-direction:column;gap:0}.dialog .dialog-form .form-row{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.dialog .dialog-form .form-row label{font-size:.875rem}.dialog .dialog-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e0e0e0}.dialog .confirm-dialog-message{margin:0 0 1rem;font-size:.9375rem;color:#213547}.dialog.dialog--credit{background:#e8f5e9;border:1px solid #a5d6a7}.dialog.dialog--debit{background:#ffebee;border:1px solid #ef9a9a}.transaction-type-toggle-row{margin-bottom:.5rem}.transaction-type-toggle{display:inline-flex;padding:3px;border-radius:999px;background:#00000014;border:1px solid rgba(0,0,0,.1);box-shadow:inset 0 1px 2px #0000000f}.transaction-type-toggle .transaction-type-option{padding:.5rem 1.25rem;border:none;border-radius:999px;font-weight:600;font-size:.875rem;cursor:pointer;background:transparent;color:#666;transition:background-color .2s,color .2s,box-shadow .2s}.transaction-type-toggle .transaction-type-option:hover{color:#213547}.transaction-type-toggle .transaction-type-option.active{background:#fff;color:#213547;box-shadow:0 1px 3px #0000001f}.dialog.dialog--credit .transaction-type-option.active{background:#2e7d32;color:#fff}.dialog.dialog--debit .transaction-type-option.active{background:#c62828;color:#fff}.list-table tbody tr.row-credit{background:#2e7d320f}.list-table tbody tr.row-credit:hover{background:#2e7d321f}.list-table tbody tr.row-debit{background:#c628280f}.list-table tbody tr.row-debit:hover{background:#c628281f}.type-badge{display:inline-block;padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.type-badge.type-badge--cr{background:#2e7d3233;color:#2e7d32}.type-badge.type-badge--dr{background:#c6282833;color:#c62828}
