:root{color:#18211d;font-synthesis:none;text-rendering:optimizelegibility;--page:#f2f5f2;--surface:#fff;--surface-soft:#f7f9f7;--surface-green:#e5f2ec;--sidebar:#123e33;--sidebar-soft:#1c5143;--text:#18211d;--text-soft:#6a756f;--border:#dfe6e1;--green:#1c7b5b;--green-dark:#145741;--red:#b64c44;--amber:#a36c12;--amber-soft:#fff1d4;--shadow:0 18px 44px #15332814;background:#f2f5f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--page);min-width:320px}body{background:var(--page);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,a,select,input[type=month]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #1c7b5b38}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.finance-app{grid-template-columns:224px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--sidebar);color:#eef8f3;flex-direction:column;height:100vh;padding:22px 15px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;padding:0 8px 25px;display:flex}.brand>span{color:#0b3429;background:#55ce9e;border-radius:12px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:700;display:grid}.brand div{flex-direction:column;line-height:1.05;display:flex}.brand strong{font-size:14px;font-weight:700}.brand small{color:#eef8f38c;letter-spacing:.16em;text-transform:uppercase;margin-top:5px;font-size:10px}.sidebar nav{gap:5px;display:grid}.sidebar nav button,.sidebar-settings{color:#eef8f3b3;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;width:100%;min-height:44px;padding:10px 11px;font-size:13px;transition:background .16s,color .16s;display:flex}.sidebar nav button:hover,.sidebar-settings:hover{color:#fff;background:#ffffff12}.sidebar nav button.active{color:#fff;background:#ffffff21}.sidebar nav svg,.sidebar-settings svg{width:18px;height:18px}.sidebar nav em{color:#0b3429;text-align:center;background:#55ce9e;border-radius:8px;min-width:22px;margin-left:auto;padding:3px 6px;font-size:10px;font-style:normal;font-weight:700}.sidebar-settings{margin-top:auto}.sidebar-user{border-top:1px solid #ffffff1c;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;margin-top:auto;padding:12px 8px 0;display:grid}.sidebar-user>span{background:#ffffff1f;border-radius:50%;place-items:center;width:34px;height:34px;font-size:10px;font-weight:700;display:grid}.sidebar-user div{flex-direction:column;min-width:0;display:flex}.sidebar-user strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.sidebar-user small{color:#eef8f37a;margin-top:3px;font-size:9px}.main-content{min-width:0;padding:26px clamp(20px,3vw,40px) 50px}.topbar{justify-content:space-between;align-items:center;gap:20px;min-height:58px;margin-bottom:24px;display:flex}.topbar-title{align-items:center;gap:11px;display:flex}.topbar-title small{color:var(--text-soft);letter-spacing:.12em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:700;display:block}.topbar-title h1{letter-spacing:-.035em;margin:0;font-size:clamp(26px,3vw,34px);line-height:1}.mobile-menu{border:1px solid var(--border);background:var(--surface);border-radius:11px;place-items:center;width:42px;height:42px;display:none}.topbar-actions{align-items:center;gap:9px;display:flex}.button{cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 14px;font-size:12px;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:wait;opacity:.62}.button svg{width:17px;height:17px}.button.primary{border:1px solid var(--green);background:var(--green);color:#fff;box-shadow:0 8px 18px #1c7b5b29}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{border:1px solid var(--border);background:var(--surface);color:var(--text)}.button.secondary:hover:not(:disabled){background:var(--surface-soft)}.button.block{width:100%}.month-switcher{border:1px solid var(--border);background:var(--surface);border-radius:11px;align-items:center;display:flex;position:relative}.month-switcher>button:not(.month-field){width:34px;min-height:40px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.month-switcher>button:not(.month-field):hover{color:var(--green)}.month-switcher>button:not(.month-field) svg{width:15px}.month-field{border:0;border-right:1px solid var(--border);border-left:1px solid var(--border);background:var(--surface);min-width:145px;min-height:40px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:8px 9px;font-size:12px;font-weight:600;display:flex}.month-field svg{width:16px;color:var(--text-soft)}.month-picker-input{opacity:0;pointer-events:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.view-stack{gap:14px;display:grid}.summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;display:grid}.summary-card{border:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;border-radius:16px;min-width:0;min-height:142px;padding:17px;transition:transform .15s,border-color .15s,box-shadow .15s}.summary-card:hover{border-color:#b8cec3;transform:translateY(-2px);box-shadow:0 8px 22px #15332814}.summary-card>div{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.summary-card>div>span{color:var(--text-soft);font-size:11px}.summary-card i{background:var(--surface-soft);width:30px;height:30px;color:var(--text-soft);border-radius:10px;place-items:center;font-style:normal;display:grid}.summary-card i svg{width:15px}.summary-card>strong{text-overflow:ellipsis;letter-spacing:-.04em;white-space:nowrap;margin:17px 0 4px;font-size:clamp(21px,2.4vw,29px);line-height:1;display:block;overflow:hidden}.summary-card>small{color:var(--text-soft);font-size:10px}.summary-card.income i{color:var(--green);background:#e2f4ec}.summary-card.expense i{color:var(--red);background:#fae9e7}.summary-card.expense>strong{color:var(--red)}.summary-card.company i{background:var(--amber-soft);color:var(--amber)}.summary-card.profit{background:var(--surface-green);border-color:#0000}.summary-card.profit strong,.summary-card.profit i{color:var(--green)}.summary-card.profit i{background:#ffffff8c}.summary-card.time i{color:#5275b6;background:#e6eefb}.overview-grid{grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:14px;display:grid}.panel{border:1px solid var(--border);background:var(--surface);border-radius:17px;min-width:0;box-shadow:0 3px 12px #15332805}.projects-panel,.ocr-panel,.transactions-panel,.page-panel,.receipt-queue{padding:18px}.panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.panel-heading small{color:var(--text-soft);letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:700;display:block}.panel-heading h2{margin:0;font-size:16px}.panel-heading>button,.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:6px 0;font-size:11px;font-weight:700;display:inline-flex}.panel-heading button svg,.text-button svg{width:14px}.count-badge{background:var(--amber-soft);min-width:25px;color:var(--amber);text-align:center;border-radius:8px;padding:5px 7px;font-size:10px;font-weight:700}.project-list{margin-top:8px}.project-line{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:15px 3px;transition:background .15s,padding .15s;display:grid}.project-line:hover{background:var(--surface-soft);border-radius:11px;padding-inline:8px}.project-line:last-child{border-bottom:0;padding-bottom:3px}.project-icon{background:var(--surface-green);width:42px;height:42px;color:var(--green);border-radius:13px;place-items:center;display:grid}.project-icon svg{width:19px}.project-line-main{min-width:0}.project-line-main>div:first-child{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.project-line-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-line-main small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.project-progress{background:#edf1ee;border-radius:8px;height:5px;margin-top:9px;overflow:hidden}.project-progress span{border-radius:inherit;background:var(--green);height:100%;display:block}.project-line-main p{color:var(--text-soft);margin:6px 0 0;font-size:9px}.project-drill-hint{align-items:center;gap:3px;margin-top:5px;font-weight:700;color:var(--green)!important;font-size:8px!important;display:flex!important}.project-drill-hint svg{width:11px}.project-profit{text-align:right;min-width:76px}.project-profit small,.project-profit strong{display:block}.project-profit small{color:var(--text-soft);margin-bottom:4px;font-size:9px}.project-profit strong{color:var(--green);font-size:13px}.positive-finance{color:var(--green)!important}.negative-finance{color:var(--red)!important}.ocr-panel{text-align:center;flex-direction:column;display:flex}.ocr-panel .panel-heading{text-align:left;width:100%}.ocr-illustration{place-items:center;width:92px;height:92px;margin:15px auto 9px;display:grid;position:relative}.ocr-illustration>span{background:var(--surface-green);width:78px;height:78px;color:var(--green);border-radius:22px;place-items:center;display:grid;transform:rotate(-4deg)}.ocr-illustration>span svg{width:34px;height:34px;transform:rotate(4deg)}.ocr-illustration>i{border:4px solid var(--surface);background:var(--green);color:#fff;border-radius:12px;place-items:center;width:34px;height:34px;font-style:normal;display:grid;position:absolute;bottom:3px;right:0}.ocr-illustration>i svg{width:15px}.ocr-panel h3{margin:0;font-size:14px}.ocr-panel>p{max-width:260px;color:var(--text-soft);margin:8px auto 15px;font-size:10px;line-height:1.55}.ocr-panel .text-button{margin:8px auto -3px}.transactions-panel{padding-bottom:8px}.transactions-panel .panel-heading{margin-bottom:7px}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%}th{border-bottom:1px solid var(--border);color:var(--text-soft);text-align:left;white-space:nowrap;padding:9px 10px;font-size:9px;font-weight:600}td{border-bottom:1px solid var(--border);color:var(--text-soft);white-space:nowrap;padding:11px 10px;font-size:10px}tbody tr:last-child td{border-bottom:0}td:nth-child(2){color:var(--text)}td:nth-child(2) strong{vertical-align:middle;font-size:11px}.operation-icon{vertical-align:middle;border-radius:9px;place-items:center;width:28px;height:28px;margin-right:8px;display:inline-grid}.operation-icon svg{width:13px}.operation-icon.income{color:var(--green);background:#e2f4ec}.operation-icon.expense{color:var(--red);background:#fae9e7}.receipt-status{background:var(--surface-green);color:var(--green);border-radius:7px;align-items:center;gap:4px;padding:4px 7px;font-size:9px;font-weight:700;display:inline-flex}.receipt-status svg{width:11px}td.amount{text-align:right;font-weight:700}td.amount.income{color:var(--green)}td.amount.expense{color:var(--red)}.icon-action{width:30px;height:30px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.icon-action:hover{background:var(--surface-soft)}.icon-action.danger:hover{color:var(--red);background:#fae9e7}.icon-action svg{width:14px}.page-panel{min-height:580px}.list-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.search-field{border:1px solid var(--border);background:var(--surface-soft);border-radius:11px;align-items:center;gap:8px;min-width:220px;min-height:42px;padding:9px 12px;display:flex}.search-field svg{width:16px;color:var(--text-soft)}.search-field input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:11px}.filter-tabs{background:var(--surface-soft);border-radius:11px;padding:3px;display:flex}.filter-tabs button{min-height:34px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 11px;font-size:10px}.filter-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 3px 10px #15332814}.list-toolbar>.button{margin-left:auto}.page-actions{justify-content:space-between;align-items:center;gap:16px;padding:2px 1px 7px;display:flex}.page-actions p{color:var(--text-soft);margin:0;font-size:11px}.page-actions-buttons{align-items:center;gap:8px;display:flex}.project-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.project-card,.new-project-card{border:1px solid var(--border);background:var(--surface);border-radius:17px;min-height:292px}.project-card{padding:18px}.project-card header{justify-content:space-between;align-items:center;display:flex}.project-card header>span{background:var(--surface-green);width:40px;height:40px;color:var(--green);border-radius:12px;place-items:center;display:grid}.project-card header svg{width:18px}.project-card header em{background:var(--surface-green);color:var(--green);border-radius:7px;padding:5px 7px;font-size:9px;font-style:normal;font-weight:700}.project-card h2{text-overflow:ellipsis;white-space:nowrap;margin:17px 0 3px;font-size:17px;overflow:hidden}.project-card>p{color:var(--text-soft);margin:0;font-size:10px}.project-card dl{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;margin:18px 0 0;padding:13px 0;display:grid}.project-card dl div:last-child{border-left:1px solid var(--border);padding-left:13px}.project-card dl button{text-align:left;cursor:pointer;background:0 0;border:0;width:100%;padding:0;display:block}.project-card dl button:hover dd{color:var(--green)}.project-card dt{color:var(--text-soft);font-size:9px}.project-card dd{margin:5px 0 0;font-size:13px;font-weight:700}.project-card dl small{color:var(--green);margin-top:4px;font-size:8px;font-weight:700;display:block}.project-card footer{justify-content:space-between;align-items:center;padding:13px 0 10px;display:flex}.project-card footer small,.project-card footer strong{display:block}.project-card footer small{color:var(--text-soft);font-size:9px}.project-card footer strong{color:var(--green);margin-top:3px;font-size:17px}.project-card footer>span{color:var(--green);font-size:12px;font-weight:700}.project-card footer button{text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.project-card footer button:hover strong{text-decoration:underline}.project-card>button{width:100%;color:var(--green);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:7px 0 0;font-size:10px;font-weight:700;display:flex}.project-card>button svg{width:14px}.project-card-actions{grid-template-columns:repeat(2,1fr);gap:6px;padding-top:8px;display:grid}.project-card-actions button{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--green);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:7px;font-size:9px;font-weight:700;display:inline-flex}.project-card-actions button:hover{background:var(--surface-green);border-color:#b9d8ca}.project-card-actions svg{width:13px}.project-time{border-bottom:1px solid var(--border);color:var(--green);align-items:center;gap:8px;padding:10px 0 11px;display:flex}.project-time>svg{width:16px}.project-time span{flex:1;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.project-time span+span{border-left:1px solid var(--border);padding-left:10px}.project-time small{color:var(--text-soft);font-size:9px}.project-time strong{font-size:12px}.project-source-summary{border-bottom:1px solid var(--border);gap:5px;padding:9px 0;display:grid}.project-source-summary p{color:var(--text-soft);align-items:flex-start;gap:5px;margin:0;font-size:8px;line-height:1.35;display:flex;overflow:hidden}.project-source-summary svg{width:11px;min-width:11px;color:var(--green)}.project-budget{justify-content:space-between;align-items:flex-end;gap:8px;padding:9px 0 2px;display:flex}.project-budget small,.project-budget strong{display:block}.project-budget small{color:var(--text-soft);font-size:8px}.project-budget strong{margin-top:2px;font-size:10px}.project-budget em{color:var(--amber);font-size:8px;font-style:normal;font-weight:700}.new-project-card{color:var(--text-soft);cursor:pointer;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;display:flex}.new-project-card:hover{border-color:var(--green);background:var(--surface-green);color:var(--green)}.new-project-card>span{background:var(--surface-soft);border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:12px;display:grid}.new-project-card strong{color:var(--text);font-size:13px}.new-project-card small{margin-top:5px;font-size:9px}.calendar-panel,.day-detail-panel,.work-log-panel{padding:18px}.calendar-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.calendar-summary-grid>div{border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:13px 14px}.calendar-summary-grid span,.calendar-summary-grid strong{display:block}.calendar-summary-grid span{color:var(--text-soft);font-size:9px}.calendar-summary-grid strong{margin-top:5px;font-size:16px}.calendar-project-overview{padding:18px}.calendar-project-overview>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.calendar-project-overview>div:last-child button{border:1px solid var(--border);background:var(--surface-soft);text-align:left;cursor:pointer;border-radius:10px;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:8px;padding:10px;display:grid}.calendar-project-overview button:hover{background:var(--surface-green);border-color:#b9d8ca}.calendar-project-overview button strong,.calendar-project-overview button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.calendar-project-overview button strong{font-size:10px}.calendar-project-overview button small{color:var(--text-soft);margin-top:3px;font-size:8px}.calendar-project-overview button em{color:var(--green);font-size:10px;font-style:normal;font-weight:700}.calendar-project-overview button>svg{width:13px;color:var(--text-soft)}.time-total{background:var(--surface-green);color:var(--green);border-radius:9px;align-items:center;gap:6px;padding:7px 10px;font-size:11px;font-weight:700;display:inline-flex}.time-total svg{width:15px}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.calendar-weekdays{margin-top:18px}.calendar-weekdays span{color:var(--text-soft);text-transform:uppercase;padding:0 8px 4px;font-size:9px;font-weight:700}.calendar-day,.calendar-empty{border-radius:12px;min-height:90px}.calendar-day{border:1px solid var(--border);background:var(--surface-soft);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;padding:10px;transition:border .15s,background .15s,transform .15s;display:flex}.calendar-day:hover{border-color:var(--green);background:var(--surface-green);transform:translateY(-1px)}.calendar-day.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.calendar-day.has-entry{background:var(--surface-green)}.calendar-day strong{font-size:14px}.calendar-day span{color:var(--green);margin-top:auto;font-size:11px;font-weight:700}.calendar-day small{color:var(--text-soft);margin-top:auto;font-size:9px}.calendar-day em{color:var(--text-soft);margin-top:4px;font-size:8px;font-style:normal}.day-detail-panel{scroll-margin-top:18px}.day-detail-panel .panel-heading{margin-bottom:7px}.day-empty{grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:94px;padding:15px 4px;display:grid}.day-empty>svg{background:var(--surface-soft);width:40px;height:40px;color:var(--green);border-radius:12px;padding:10px}.day-empty strong{font-size:11px}.day-empty p{color:var(--text-soft);margin:4px 0 0;font-size:9px}.work-log-panel{padding-bottom:8px}.work-log-panel .panel-heading{margin-bottom:7px}.work-log-list{margin-top:4px}.work-log-row{border-bottom:1px solid var(--border);grid-template-columns:90px minmax(0,1fr) auto 68px;align-items:center;gap:14px;padding:12px 2px;display:grid}.work-log-row.without-date{grid-template-columns:minmax(0,1fr) auto 68px}.work-log-row:last-child{border-bottom:0}.work-log-date strong,.work-log-date small,.work-log-main strong,.work-log-main p{display:block}.work-log-date strong{font-size:11px}.work-log-date small{color:var(--text-soft);margin-top:3px;font-size:9px}.work-log-main{min-width:0}.work-log-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.work-log-main p{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:10px;overflow:hidden}.work-log-duration{color:var(--green);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:inline-flex}.work-log-duration svg{width:14px}.work-log-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.receipts-layout{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:14px;display:grid}.upload-zone{min-height:410px;color:var(--text-soft);cursor:pointer;background:#ffffff80;border:1px dashed #a9bbb2;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.upload-zone:hover{border-color:var(--green);background:var(--surface-green)}.upload-zone>span{background:var(--surface);width:70px;height:70px;color:var(--green);box-shadow:var(--shadow);border-radius:21px;place-items:center;margin-bottom:16px;display:grid}.upload-zone svg{width:28px}.upload-zone strong{color:var(--text);text-align:center;font-size:14px}.upload-zone small{margin-top:7px;font-size:10px}.receipt-queue{min-height:410px}.receipt-list{margin-top:9px}.receipt-list>button{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;padding:13px 2px;display:grid}.receipt-list>button:last-child{border-bottom:0}.receipt-list>button>span{background:var(--surface-green);width:38px;height:38px;color:var(--green);border-radius:11px;place-items:center;display:grid}.receipt-list svg{width:16px}.receipt-list div{min-width:0}.receipt-list strong,.receipt-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.receipt-list strong{font-size:11px}.receipt-list small{color:var(--text-soft);margin-top:3px;font-size:9px}.receipt-list em{color:var(--green);font-size:10px;font-style:normal;font-weight:700}.receipt-list>button>svg{color:var(--text-soft)}.receipt-queue-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 32px;align-items:center;display:grid}.receipt-queue-row:last-child{border-bottom:0}.receipt-queue-main{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;padding:13px 2px;display:grid}.receipt-queue-main>span{background:var(--surface-green);width:38px;height:38px;color:var(--green);border-radius:11px;place-items:center;display:grid}.receipt-queue-main>span svg{width:16px}.receipt-queue-main>div{min-width:0}.receipt-queue-main strong,.receipt-queue-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.receipt-queue-main strong{font-size:11px}.receipt-queue-main small{color:var(--text-soft);margin-top:3px;font-size:9px}.receipt-queue-main em{color:var(--green);font-size:10px;font-style:normal;font-weight:700}.receipt-queue-main>svg{color:var(--text-soft)}.receipt-delete-button{justify-self:end}.receipt-history-panel{padding:18px}.receipt-history-list{margin-top:9px}.receipt-history-list article{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.receipt-history-list article:last-child{border-bottom:0}.receipt-history-list article>button{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;padding:12px 2px;display:grid}.receipt-history-list article>button:hover{background:var(--surface-soft)}.receipt-history-list article>button>span{background:var(--surface-green);width:38px;height:38px;color:var(--green);border-radius:11px;place-items:center;display:grid}.receipt-history-list article>button svg{width:16px}.receipt-history-list article>button div{min-width:0}.receipt-history-list article>button strong,.receipt-history-list article>button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.receipt-history-list article>button div strong{font-size:10px}.receipt-history-list article>button small{color:var(--text-soft);margin-top:3px;font-size:8px}.receipt-history-list article>button em{text-align:right;font-style:normal}.receipt-history-list article>button em strong{color:var(--green);font-size:10px}.receipt-history-list article>a{color:var(--green);white-space:nowrap;font-size:9px;font-weight:700;text-decoration:none}.receipt-history-list article>a:hover{text-decoration:underline}.receipt-history-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.receipt-history-actions>a{color:var(--green);white-space:nowrap;font-size:9px;font-weight:700;text-decoration:none}.receipt-history-actions>a:hover{text-decoration:underline}.empty-state{min-height:240px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.empty-state>span{background:var(--surface-soft);width:52px;height:52px;color:var(--green);border-radius:15px;place-items:center;margin-bottom:12px;display:grid}.empty-state svg{width:22px}.empty-state strong{color:var(--text);font-size:13px}.empty-state p{max-width:320px;margin:6px 0 13px;font-size:10px;line-height:1.6}.error-banner{color:#8d352e;background:#fff0ee;border:1px solid #efc5c0;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:11px 13px;font-size:11px;display:flex}.error-banner button{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;font-size:10px;font-weight:700;display:flex}.error-banner svg{width:14px}.loading-view{gap:14px;display:grid}.loading-cards{grid-template-columns:repeat(4,1fr);gap:11px;display:grid}.loading-cards span,.loading-panel{background:linear-gradient(90deg,#e9eeea 20%,#f6f8f6 48%,#e9eeea 76%) 0 0/250% 100%;border-radius:16px;animation:1.4s infinite shimmer}.loading-cards span{height:142px}.loading-panel{height:420px}@keyframes shimmer{to{background-position:-250% 0}}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#08161194;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{background:var(--surface);border:1px solid #fff6;border-radius:20px;width:min(100%,510px);max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 30px 80px #04100c47}.modal.wide{width:min(100%,780px)}.modal>header{z-index:2;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;justify-content:space-between;align-items:center;padding:18px 20px 14px;display:flex;position:sticky;top:0}.modal>header small{color:var(--text-soft);letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:700;display:block}.modal>header h2{margin:0;font-size:19px}.modal>header>button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.modal>header>button svg{width:17px}.form{gap:13px;padding:18px 20px 20px;display:grid}.field{border:0;min-width:0;margin:0;padding:0;display:block}.field>span,.field legend{width:100%;color:var(--text-soft);justify-content:space-between;margin-bottom:6px;font-size:10px;font-weight:600;display:flex}.field>span svg{vertical-align:-2px;width:12px;margin-right:4px}.field legend{align-items:center}.field legend>span{align-items:center;gap:7px;width:auto;margin:0;display:inline-flex}.field legend>span em{color:var(--text-soft);font-size:8px;font-style:normal;font-weight:400}.field legend>button{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:4px 0;font-size:9px;font-weight:700;display:inline-flex}.field legend>button svg{width:13px}.field>span em{font-size:9px;font-style:normal;font-weight:400}.field input,.field select,.field textarea{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-height:42px;color:var(--text);border-radius:10px;outline:0;padding:9px 11px;font-size:12px;transition:border .15s,background .15s}.field textarea{resize:vertical;min-height:70px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);background:var(--surface)}.project-select-block{gap:10px;display:grid}.quick-project-card{background:var(--surface-green);border:1px solid #b9d8ca;border-radius:12px;gap:11px;padding:13px;display:grid}.quick-project-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.quick-project-heading small,.quick-project-heading strong{display:block}.quick-project-heading small{color:var(--green);letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px;font-size:8px;font-weight:700}.quick-project-heading strong{font-size:11px}.quick-project-heading>button{width:30px;height:30px;color:var(--text-soft);cursor:pointer;background:#ffffffb8;border:0;border-radius:8px;place-items:center;display:grid}.quick-project-heading>button svg{width:14px}.quick-project-card .field input{background:#ffffffd1}.quick-project-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.quick-project-actions .button{min-height:38px;padding-block:7px;font-size:10px}.form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.amount-field>div{position:relative}.amount-field b{color:var(--green);font-size:18px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.amount-field input{padding-left:28px;font-size:18px;font-weight:700}.segmented{background:var(--surface-soft);border-radius:11px;grid-template-columns:1fr 1fr;padding:3px;display:grid}.segmented button{min-height:36px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 9px;font-size:10px;display:flex}.segmented button svg{width:15px}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 3px 10px #15332814}.segmented.large{margin-bottom:2px}.segmented.large button{min-height:42px;font-size:11px;font-weight:700}.form-error{color:#943c35;background:#fff0ee;border-radius:9px;margin:0;padding:9px 10px;font-size:10px;line-height:1.45}.form-warning{color:#92651d;background:#fff8e8;border-radius:9px;align-items:flex-start;gap:6px;margin:0;padding:9px 10px;font-size:10px;line-height:1.45;display:flex}.form-warning svg{flex:none;width:14px}.form-hint{color:var(--text-soft);align-items:center;gap:6px;margin:-3px 0 0;font-size:10px;display:flex}.form-hint svg{width:14px;color:var(--green)}.modal-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.spin{animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.ocr-upload-stage{padding:22px}.camera-button{background:var(--surface-soft);width:100%;min-height:220px;color:var(--text-soft);cursor:pointer;border:1px dashed #a8bbb2;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;display:flex}.camera-button:hover{border-color:var(--green);background:var(--surface-green)}.camera-button>span{background:var(--surface);width:62px;height:62px;color:var(--green);box-shadow:var(--shadow);border-radius:19px;place-items:center;margin-bottom:13px;display:grid}.camera-button svg{width:26px}.camera-button strong{color:var(--text);font-size:14px}.camera-button small{margin-top:5px;font-size:10px}.ocr-tips{background:var(--surface-soft);border-radius:11px;gap:7px;margin-top:17px;padding:13px;display:grid}.ocr-tips strong{font-size:10px}.ocr-tips span{color:var(--text-soft);padding-left:17px;font-size:9px;position:relative}.ocr-tips span:before{content:"✓";color:var(--green);font-weight:700;position:absolute;left:0}.processing-stage{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:30px;display:flex}.processing-stage>span{background:var(--surface-green);width:80px;height:80px;color:var(--green);border-radius:24px;place-items:center;margin-bottom:-22px;display:grid}.processing-stage>span svg{width:34px}.processing-stage>svg{width:30px;color:var(--green);margin:0 0 24px 65px}.processing-stage strong{font-size:15px}.processing-stage p{color:var(--text-soft);margin:7px 0 0;font-size:10px}.ocr-review-layout{grid-template-columns:.85fr 1.15fr;display:grid}.receipt-preview{background:#e9eeea;place-items:center;min-height:510px;padding:18px;display:grid;position:relative;overflow:hidden}.receipt-preview img{object-fit:contain;filter:drop-shadow(0 15px 24px #11271e2e);max-width:100%;max-height:470px;display:block}.receipt-preview object{background:var(--surface);border:0;width:100%;height:470px}.receipt-preview>span{background:var(--surface-green);color:var(--green);border-radius:9px;align-items:center;gap:5px;padding:7px 9px;font-size:9px;font-weight:700;display:inline-flex;position:absolute;bottom:13px;right:13px}.receipt-preview>span svg{width:13px}.ocr-form{align-content:start}.receipt-items-field{border:1px solid var(--border);background:var(--surface-soft);border-radius:11px;padding:11px}.receipt-items-editor{gap:10px;display:grid}.receipt-item-editor{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:10px}.receipt-item-editor .field+.field{margin-top:8px}.receipt-item-grid{grid-template-columns:.8fr 1fr 1fr 30px;align-items:end;gap:7px;display:grid}.receipt-item-grid .icon-action{margin-bottom:2px}.receipt-items-empty{color:var(--text-soft);margin:4px 0 0;font-size:9px}.analytics-entry{width:100%;min-height:68px;color:var(--green);text-align:left;cursor:pointer;background:linear-gradient(110deg,#edf7f2,#fff);border:1px solid #c7ddd2;border-radius:15px;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:12px 16px;transition:border-color .15s,transform .15s,box-shadow .15s;display:grid}.analytics-entry:hover{border-color:var(--green);transform:translateY(-1px);box-shadow:0 8px 22px #15332812}.analytics-entry>span{background:var(--green);color:#fff;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.analytics-entry>span svg{width:20px}.analytics-entry div{min-width:0}.analytics-entry strong,.analytics-entry small{display:block}.analytics-entry strong{color:var(--text);font-size:13px}.analytics-entry small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:9px;overflow:hidden}.analytics-entry>svg{width:18px}.compact-select select{border:1px solid var(--border);background:var(--surface);max-width:160px;min-height:40px;color:var(--text);border-radius:10px;padding:8px 29px 8px 10px;font-size:10px}.operation-totals{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 13px;display:grid}.operation-totals>div{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;min-width:0;padding:11px 13px}.operation-totals span,.operation-totals strong{display:block}.operation-totals span{color:var(--text-soft);font-size:9px}.operation-totals strong{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:15px;overflow:hidden}.operation-totals strong.income{color:var(--green)}.operation-totals strong.expense{color:var(--red)}.selectable-row{cursor:pointer;transition:background .12s}.selectable-row:hover,.selectable-row:focus-visible{background:var(--surface-soft)}.transaction-details{padding:20px 22px 22px}.transaction-detail-amount{background:var(--surface-soft);border-radius:14px;padding:17px}.transaction-detail-amount.income{background:var(--surface-green);color:var(--green)}.transaction-detail-amount.expense{color:var(--red);background:#fae9e7}.transaction-detail-amount small,.transaction-detail-amount strong{display:block}.transaction-detail-amount small{font-size:9px}.transaction-detail-amount strong{letter-spacing:-.03em;margin-top:5px;font-size:27px}.transaction-details dl{border:1px solid var(--border);border-radius:12px;margin:14px 0;overflow:hidden}.transaction-details dl div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.transaction-details dl div:last-child{border-bottom:0}.transaction-details dt{color:var(--text-soft);font-size:9px}.transaction-details dd{text-align:right;margin:0;font-size:10px;font-weight:700}.transaction-note{background:var(--surface-soft);border-radius:11px;padding:12px}.transaction-note small{color:var(--text-soft);font-size:9px}.transaction-note p{margin:5px 0 0;font-size:10px;line-height:1.5}.transaction-details .button{text-decoration:none}.receipt-breakdown{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;margin-top:14px;padding:12px}.receipt-breakdown-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.receipt-breakdown-heading small,.receipt-breakdown-heading strong{display:block}.receipt-breakdown-heading small{color:var(--text-soft);font-size:8px}.receipt-breakdown-heading strong{margin-top:3px;font-size:11px}.receipt-breakdown-heading em{color:var(--green);font-size:8px;font-style:normal;font-weight:700}.receipt-address{color:var(--text);align-items:flex-start;gap:5px;margin:9px 0 0;font-size:9px;line-height:1.4;display:flex}.receipt-address.muted{color:var(--text-soft)}.receipt-address svg{width:13px;color:var(--green);flex:none}.receipt-address>span{min-width:0;display:block}.receipt-address>span small{color:var(--text-soft);margin-bottom:2px;font-size:7px;display:block}.receipt-breakdown-totals{border-top:1px solid var(--border);margin:10px 0 0}.receipt-breakdown-totals div{justify-content:space-between;gap:10px;padding:7px 0 0;display:flex}.receipt-breakdown-totals dt{color:var(--text-soft);font-size:8px}.receipt-breakdown-totals dd{margin:0;font-size:9px;font-weight:700}.receipt-breakdown-totals div:last-child dd{color:var(--red)}.receipt-item-list{border-top:1px solid var(--border);margin-top:8px}.receipt-item-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:9px;padding:8px 0;display:flex}.receipt-item-list>div:last-child{border-bottom:0}.receipt-item-list span{min-width:0}.receipt-item-list strong,.receipt-item-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.receipt-item-list strong{font-size:9px}.receipt-item-list small{color:var(--text-soft);margin-top:2px;font-size:7px}.receipt-item-list em{color:var(--red);white-space:nowrap;font-size:9px;font-style:normal;font-weight:700}.project-report{gap:13px;padding:18px 20px 22px;display:grid}.project-report-context{background:var(--surface-soft);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.project-report-context strong,.project-report-context small{display:block}.project-report-context strong{font-size:10px}.project-report-context small{color:var(--text-soft);margin-top:3px;font-size:8px}.project-report-context button{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:5px 0;font-size:9px;font-weight:700;display:flex}.project-report-context button svg{width:13px}.project-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.project-report-metrics>*{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:11px;min-width:0;padding:12px;display:block}.project-report-metrics button{cursor:pointer}.project-report-metrics button:hover{border-color:var(--green)}.project-report-metrics span,.project-report-metrics strong,.project-report-metrics small{display:block}.project-report-metrics span{color:var(--text-soft);font-size:8px}.project-report-metrics strong{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:16px;overflow:hidden}.project-report-metrics strong.income{color:var(--green)}.project-report-metrics strong.expense{color:var(--red)}.project-report-metrics small{color:var(--text-soft);margin-top:4px;font-size:8px}.project-report-metrics small strong{font-size:inherit;white-space:normal;margin:0;display:inline;overflow:visible}.project-plan-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.project-plan-grid>div{background:var(--surface-soft);border-radius:11px;padding:12px}.project-plan-grid>div>span{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.project-plan-grid>div>span strong{font-size:9px}.project-plan-grid>div>span em{color:var(--green);font-size:9px;font-style:normal;font-weight:700}.project-plan-grid>div>small{color:var(--text-soft);font-size:8px}.project-report-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.project-report-columns>section,.project-report-work{border:1px solid var(--border);border-radius:12px;min-width:0;padding:13px}.project-report-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.project-report-heading small{color:var(--text-soft);margin-bottom:3px;font-size:8px;display:block}.project-report-heading h3{margin:0;font-size:13px}.project-report-heading>strong{color:var(--green);font-size:12px}.project-transaction-list{margin-top:8px;display:grid}.project-transaction-list button{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:30px minmax(0,1fr) auto 14px;align-items:center;gap:8px;width:100%;padding:9px 0;display:grid}.project-transaction-list button:last-child{border-bottom:0}.project-transaction-list button:hover{background:var(--surface-soft)}.project-transaction-list .operation-icon{width:28px;height:28px;margin:0}.project-transaction-list button>span:nth-child(2){min-width:0}.project-transaction-list button strong,.project-transaction-list button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.project-transaction-list button strong{font-size:9px}.project-transaction-list button small{color:var(--text-soft);margin-top:3px;font-size:7px}.project-transaction-list button em{color:var(--text);font-size:9px;font-style:normal;font-weight:700}.project-transaction-list button>svg{width:12px;color:var(--text-soft)}.project-report-empty,.project-report-work>p{color:var(--text-soft);margin:12px 0 0;font-size:9px}.project-report-work>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;display:grid}.project-report-work article{background:var(--surface-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:9px;padding:9px;display:flex}.project-report-work article span{min-width:0}.project-report-work article strong,.project-report-work article small{display:block}.project-report-work article strong{font-size:8px}.project-report-work article small{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:7px;overflow:hidden}.project-report-work article em{color:var(--green);white-space:nowrap;font-size:9px;font-style:normal;font-weight:700}.analytics-controls{grid-template-columns:auto minmax(170px,1fr);align-items:center;gap:13px 18px;padding:15px;display:grid}.analytics-periods{background:var(--surface-soft);border-radius:11px;padding:3px;display:flex}.analytics-periods button{min-height:34px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 12px;font-size:10px}.analytics-periods button.active{background:var(--surface);color:var(--text);box-shadow:0 3px 10px #15332814}.analytics-range-label{color:var(--text-soft);justify-self:end;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.analytics-range-label svg{width:15px;color:var(--green)}.analytics-custom-range{justify-self:end;align-items:center;gap:8px;display:flex}.analytics-custom-range label{color:var(--text-soft);align-items:center;gap:5px;font-size:9px;display:flex}.analytics-custom-range input{border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text);border-radius:9px;padding:6px 8px;font-size:10px}.analytics-filters{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.analytics-filters label{min-width:0}.analytics-filters label>span{color:var(--text-soft);text-transform:uppercase;margin:0 0 4px 2px;font-size:8px;font-weight:700;display:block}.analytics-filters select{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-height:38px;color:var(--text);border-radius:10px;padding:7px 10px;font-size:10px}.analytics-loading{gap:14px;display:grid}.analytics-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.analytics-metric{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:15px;min-width:0;min-height:126px;padding:15px}button.analytics-metric{cursor:pointer;transition:transform .15s,box-shadow .15s}button.analytics-metric:hover{transform:translateY(-1px);box-shadow:0 8px 22px #15332812}.analytics-metric>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.analytics-metric>div>span{color:var(--text-soft);font-size:10px}.analytics-metric i{background:var(--surface-soft);width:29px;height:29px;color:var(--text-soft);border-radius:9px;place-items:center;font-style:normal;display:grid}.analytics-metric i svg{width:14px}.analytics-metric>strong{letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;margin:14px 0 6px;font-size:22px;display:block;overflow:hidden}.analytics-metric>small{color:var(--text-soft);align-items:center;gap:4px;font-size:8px;display:flex}.analytics-metric>small svg{width:11px}.analytics-metric>small.up{color:var(--green)}.analytics-metric>small.down{color:var(--red)}.analytics-metric.income i{color:var(--green);background:#e2f4ec}.analytics-metric.expense i{color:var(--red);background:#fae9e7}.analytics-metric.profit{background:var(--surface-green)}.analytics-metric.profit i,.analytics-metric.profit>strong{color:var(--green)}.analytics-metric>strong.negative-finance{color:var(--red)!important}.analytics-metric.time i{color:#5275b6;background:#e6eefb}.analytics-metric.hour i{background:var(--amber-soft);color:var(--amber)}.analytics-chart-panel,.analytics-expenses-panel,.analytics-scope-panel,.analytics-projects-panel,.analytics-time-panel,.analytics-ocr-panel,.analytics-alerts-panel{padding:18px}.analytics-granularity{background:var(--surface-soft);color:var(--text-soft);border-radius:8px;padding:5px 8px;font-size:9px;font-weight:700}.trend-chart{margin-top:12px}.trend-legend{justify-content:flex-end;gap:15px;display:flex}.trend-legend span{color:var(--text-soft);align-items:center;gap:5px;font-size:9px;display:flex}.trend-legend i{border-radius:5px;width:15px;height:3px}.trend-legend .income i{background:var(--green)}.trend-legend .expense i{background:var(--red)}.trend-legend .profit i{background:#5275b6}.trend-chart svg{width:100%;min-height:220px;overflow:visible}.trend-chart .grid-line{stroke:#e8ede9;stroke-width:1px}.trend-chart .zero-line{stroke:#9da9a3;stroke-width:1px;stroke-dasharray:4 4}.trend-chart .line{fill:none;stroke-width:3px;stroke-linejoin:round;stroke-linecap:round}.trend-chart .line.income{stroke:var(--green)}.trend-chart .line.expense{stroke:var(--red)}.trend-chart .line.profit{stroke:#5275b6}.trend-chart text{fill:var(--text-soft);font-size:10px}.analytics-two-column{grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);gap:14px;display:grid}.expense-category-list{margin-top:10px;display:grid}.expense-category-list>button{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 2px 14px;display:grid;position:relative}.expense-category-list>button:last-child{border-bottom:0}.expense-category-list>button.active{background:var(--surface-soft);border-radius:10px;padding-inline:8px}.expense-category-list>button>i{border-radius:50%;width:8px;height:8px}.expense-category-list>button>span strong,.expense-category-list>button>span small,.expense-category-list>button>em strong,.expense-category-list>button>em small{display:block}.expense-category-list>button>span strong{font-size:10px}.expense-category-list>button>span small{color:var(--text-soft);margin-top:3px;font-size:8px}.expense-category-list>button>em{text-align:right;font-style:normal}.expense-category-list>button>em strong{font-size:10px}.expense-category-list>button>em small{color:var(--text-soft);margin-top:3px;font-size:8px}.expense-category-list>button>div{background:#edf1ee;border-radius:5px;height:3px;position:absolute;bottom:5px;left:21px;right:2px;overflow:hidden}.expense-category-list>button>div span{border-radius:inherit;height:100%;display:block}.scope-chart{flex-direction:column;justify-content:center;align-items:center;min-height:280px;display:flex}.scope-donut{border-radius:50%;place-items:center;width:164px;height:164px;padding:20px;display:grid}.scope-donut>span{background:var(--surface);width:100%;height:100%;box-shadow:inset 0 0 0 1px var(--border);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;display:flex}.scope-donut strong{font-size:14px}.scope-donut small{color:var(--text-soft);margin-top:3px;font-size:8px}.scope-legend{gap:8px;width:100%;margin-top:18px;display:grid}.scope-legend>div{background:var(--surface-soft);border-radius:9px;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;display:grid}.scope-legend>div>i{border-radius:50%;width:8px;height:8px}.scope-legend>div>i.project{background:var(--green)}.scope-legend>div>i.company{background:var(--amber)}.scope-legend span small,.scope-legend span strong{display:block}.scope-legend span small{color:var(--text-soft);font-size:8px}.scope-legend span strong{margin-top:2px;font-size:10px}.scope-legend em{color:var(--text-soft);font-size:9px;font-style:normal;font-weight:700}.analytics-projects-panel{padding-bottom:8px}.analytics-project-table{min-width:1080px}.analytics-project-table td{vertical-align:middle}.analytics-project-table td:first-child button{text-align:left;cursor:pointer;background:0 0;border:0;min-width:150px;padding:0;display:block}.analytics-project-table td:first-child button:hover strong{color:var(--green)}.analytics-project-table td:first-child strong,.analytics-project-table td:first-child small,.analytics-project-table td.amount small{display:block}.analytics-project-table td.positive-finance,.analytics-project-table td.negative-finance{font-weight:700}.analytics-project-table td:first-child strong{color:var(--text);font-size:10px}.analytics-project-table td:first-child small{color:var(--text-soft);margin-top:3px;font-size:8px}.analytics-project-table td.amount small{margin-top:3px;font-size:8px}.progress-value{min-width:145px}.progress-value>span{background:#edf1ee;border-radius:6px;height:5px;display:block;overflow:hidden}.progress-value>span i{border-radius:inherit;background:var(--green);height:100%;display:block}.progress-value.danger>span i{background:var(--red)}.progress-value small{color:var(--text-soft);margin-top:4px;font-size:7px;display:block}.time-stat-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0;display:grid}.time-stat-row>div{background:var(--surface-soft);border-radius:10px;padding:10px}.time-stat-row small,.time-stat-row strong{display:block}.time-stat-row small{color:var(--text-soft);font-size:8px}.time-stat-row strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;overflow:hidden}.work-project-bars{gap:10px;display:grid}.work-project-bars button{text-align:left;cursor:pointer;background:0 0;border:0;gap:5px;padding:0;display:grid}.work-project-bars button>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.work-project-bars strong{font-size:9px}.work-project-bars em{color:var(--text-soft);font-size:8px;font-style:normal}.work-project-bars button>div{background:#edf1ee;border-radius:7px;height:7px;overflow:hidden}.work-project-bars button>div i{border-radius:inherit;background:var(--green);height:100%;display:block}.analytics-ocr-panel .panel-heading>svg{width:20px;color:var(--green)}.ocr-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.ocr-stat-grid>div{border:1px solid var(--border);background:var(--surface-soft);border-radius:11px;padding:12px}.ocr-stat-grid small,.ocr-stat-grid strong{display:block}.ocr-stat-grid small{color:var(--text-soft);font-size:8px}.ocr-stat-grid strong{margin-top:5px;font-size:13px}.analytics-alert-list{gap:7px;margin-top:9px;display:grid}.analytics-alert-list article{border-radius:11px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.analytics-alert-list article.danger{color:#8f3d36;background:#fff0ee}.analytics-alert-list article.warning{background:var(--amber-soft);color:#7e570f}.analytics-alert-list article.info{color:#45689e;background:#edf3fb}.analytics-alert-list article>span{background:#fff9;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.analytics-alert-list article>span svg{width:15px}.analytics-alert-list strong{font-size:10px}.analytics-alert-list p{opacity:.82;margin:3px 0 0;font-size:8px;line-height:1.4}.analytics-alert-list button{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:5px 0;font-size:9px;font-weight:700;display:flex}.analytics-alert-list button svg{width:12px}.analytics-all-good{min-height:100px;color:var(--green);justify-content:center;align-items:center;gap:11px;display:flex}.analytics-all-good>svg{background:var(--surface-green);border-radius:12px;width:38px;height:38px;padding:10px}.analytics-all-good strong{font-size:11px}.analytics-all-good p{color:var(--text-soft);margin:4px 0 0;font-size:9px}.toast{z-index:150;color:#fff;background:#173f34;border-radius:11px;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:11px;font-weight:700;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 14px 34px #04100c38}.toast svg{color:#55ce9e;width:16px}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}.mobile-nav{display:none}.mobile-drawer-backdrop{z-index:120;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#08161185;display:flex;position:fixed;inset:0}.mobile-drawer{background:var(--sidebar);color:#eef8f3;width:min(84vw,320px);height:100%;padding:18px 14px;animation:.18s ease-out drawer-in;box-shadow:20px 0 50px #04100c42}.mobile-drawer>header{justify-content:space-between;align-items:center;padding:0 1px 18px;display:flex}.mobile-drawer .brand{padding:0}.mobile-drawer>header>button{color:#fff;cursor:pointer;background:#ffffff1a;border:0;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.mobile-drawer>header>button svg{width:17px}.mobile-drawer nav{gap:5px;display:grid}.mobile-drawer nav button{color:#eef8f3b8;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;min-height:46px;padding:10px 12px;display:flex}.mobile-drawer nav button.active{color:#fff;background:#ffffff21}.mobile-drawer nav button svg{width:18px}.mobile-drawer nav em{color:#0b3429;text-align:center;background:#55ce9e;border-radius:8px;min-width:22px;margin-left:auto;padding:3px 6px;font-size:10px;font-style:normal;font-weight:700}@keyframes drawer-in{0%{transform:translate(-100%)}}@media (width<=1120px){.finance-app{grid-template-columns:82px minmax(0,1fr)}.sidebar{padding-inline:11px}.brand{justify-content:center;padding-inline:0}.brand div,.sidebar nav span,.sidebar nav em,.sidebar-settings span,.sidebar-user div,.sidebar-user>svg{display:none}.sidebar nav button,.sidebar-settings{justify-content:center}.sidebar-user{grid-template-columns:1fr;justify-items:center;padding-inline:0}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{min-height:126px}.summary-card>strong{margin-top:11px}.project-card-grid,.analytics-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-two-column{grid-template-columns:1fr 1fr}.operation-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-project-overview>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){body{padding-bottom:68px}.finance-app{display:block}.sidebar{display:none}.main-content{padding:18px 16px 26px}.topbar{flex-direction:column;align-items:flex-start;margin-bottom:18px}.topbar-title{width:100%}.mobile-menu{display:grid}.topbar-actions{width:100%}.month-switcher,.month-field{flex:1;min-width:0}.topbar-actions .button span{display:none}.topbar-actions .button{width:42px;padding:8px}.overview-grid{grid-template-columns:1fr}.ocr-panel{min-height:290px}.project-card-grid{grid-template-columns:1fr 1fr}.receipts-layout{grid-template-columns:1fr}.upload-zone{min-height:230px}.receipt-queue{min-height:300px}.project-report-columns{grid-template-columns:1fr}.mobile-nav{z-index:50;height:calc(64px + env(safe-area-inset-bottom));padding:7px 6px env(safe-area-inset-bottom);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff2;grid-template-columns:repeat(6,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--text-soft);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:9px;display:flex}.mobile-nav button.active{color:var(--green)}.mobile-nav svg{width:18px;height:18px}.modal-backdrop{align-items:end;padding:12px}.modal{border-radius:20px 20px 12px 12px;max-height:calc(100vh - 24px)}.ocr-review-layout{grid-template-columns:1fr}.receipt-preview{min-height:230px;max-height:280px}.receipt-preview img{max-height:240px}.receipt-preview object{height:240px}.analytics-controls{grid-template-columns:1fr}.analytics-range-label,.analytics-custom-range{justify-self:start}.analytics-filters{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-two-column{grid-template-columns:1fr}.toast{justify-content:center;bottom:78px;left:14px;right:14px}}@media (width<=600px){.topbar-title h1{font-size:27px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.summary-card{min-height:119px;padding:14px}.summary-card>strong{font-size:22px}.summary-card>small{font-size:9px}.projects-panel,.ocr-panel,.transactions-panel,.page-panel,.receipt-queue{padding:14px}.project-line{grid-template-columns:38px minmax(0,1fr) auto;gap:9px}.project-icon{width:38px;height:38px}.project-line-main>div:first-child{display:block}.project-line-main small{margin-top:2px;display:block}.project-line-main p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-profit{min-width:66px}.transactions-table th:nth-child(3),.transactions-table td:nth-child(3),.transactions-table th:nth-child(4),.transactions-table td:nth-child(4),.transactions-table th:nth-child(5),.transactions-table td:nth-child(5){display:none}.transactions-table td,.transactions-table th{padding-inline:7px}.list-toolbar{flex-wrap:wrap}.search-field{width:100%;min-width:0}.filter-tabs,.filter-tabs button{flex:1}.list-toolbar>.button{margin-left:0}.compact-select{flex:1}.compact-select select{width:100%;max-width:none}.operation-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card-grid{grid-template-columns:1fr}.page-actions p{display:none}.page-actions{justify-content:flex-end}.page-actions-buttons{width:100%}.page-actions-buttons .button{flex:1}.calendar-panel,.day-detail-panel,.work-log-panel{padding:14px}.calendar-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-project-overview{padding:14px}.calendar-project-overview>div:last-child{grid-template-columns:1fr}.calendar-weekdays,.calendar-grid{gap:4px}.calendar-day,.calendar-empty{min-height:66px}.calendar-day{padding:7px}.calendar-day strong{font-size:12px}.calendar-day span{font-size:9px}.calendar-day small,.calendar-day em{display:none}.work-log-row{grid-template-columns:68px minmax(0,1fr) auto 64px;gap:8px}.work-log-row.without-date{grid-template-columns:minmax(0,1fr) auto 64px}.work-log-duration{font-size:9px}.day-empty{grid-template-columns:36px minmax(0,1fr)}.day-empty>.button{grid-column:1/-1;width:100%}.form-grid{grid-template-columns:1fr}.quick-project-actions{grid-template-columns:1fr 1fr;display:grid}.modal>header,.form,.ocr-upload-stage{padding-inline:16px}.project-report{padding-inline:14px}.project-report-context{flex-direction:column;align-items:flex-start}.project-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-plan-grid,.project-report-work>div:last-child{grid-template-columns:1fr}.receipt-history-panel{padding:14px}.receipt-history-list article{grid-template-columns:1fr;gap:0}.receipt-history-list article>a{padding:0 0 10px 50px}.receipt-history-actions{justify-content:flex-start;padding:0 0 10px 50px}.analytics-periods{width:100%}.analytics-periods button{flex:1;min-width:0;padding-inline:7px}.analytics-custom-range{grid-template-columns:1fr 1fr;width:100%;display:grid}.analytics-custom-range label{display:grid}.analytics-custom-range input{width:100%}.analytics-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.analytics-metric{min-height:118px;padding:13px}.analytics-metric>strong{font-size:19px}.analytics-chart-panel,.analytics-expenses-panel,.analytics-scope-panel,.analytics-projects-panel,.analytics-time-panel,.analytics-ocr-panel,.analytics-alerts-panel{padding:14px}.trend-chart svg{min-height:170px}.time-stat-row{grid-template-columns:1fr 1fr}.time-stat-row>div:last-child{grid-column:1/-1}.analytics-alert-list article{grid-template-columns:32px minmax(0,1fr)}.analytics-alert-list article button{grid-column:2}}@media (width<=390px){.main-content{padding-inline:12px}.topbar-actions{gap:6px}.month-switcher>button:not(.month-field){width:28px}.month-field{min-width:0;padding-inline:6px;font-size:10px}.month-field span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.summary-card>div>span{font-size:10px}.summary-card>strong{font-size:19px}.project-line{grid-template-columns:36px minmax(0,1fr)}.project-profit{text-align:left;grid-column:2}.project-profit small{display:none}.project-icon{width:36px;height:36px}.analytics-filters{grid-template-columns:1fr}.analytics-summary-grid{grid-template-columns:1fr 1fr}.analytics-metric>div>span{font-size:9px}.analytics-metric>small{align-items:flex-start;line-height:1.35}.ocr-stat-grid{grid-template-columns:1fr 1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
