:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{min-width:320px;min-height:100vh;margin:0}#root{box-sizing:border-box;width:100%;min-height:100vh}.app-shell,.app-frame,.app-main-scroll{height:100dvh!important}.mobile-pull-refresh-spin{animation:.85s linear infinite spin;display:inline-flex}.report-chart-scroll::-webkit-scrollbar{display:none}.report-chart-zoom-btn:focus:not(:focus-visible){outline:none}.report-chart-zoom-btn:focus-visible{outline-offset:2px;outline:2px solid #09aeb873}.chart-scrubber{border:none!important}.chart-scrubber input[type=range].chart-scrubber-range{-webkit-tap-highlight-color:transparent;box-shadow:none!important;background:0 0!important;outline:none!important}.chart-scrubber input[type=range].chart-scrubber-range:focus,.chart-scrubber input[type=range].chart-scrubber-range:focus-visible,.chart-scrubber input[type=range].chart-scrubber-range:active{box-shadow:none!important;outline:none!important}.chart-scrubber input[type=range].chart-scrubber-range::-webkit-slider-thumb{appearance:none;box-sizing:border-box;background:linear-gradient(165deg,#5eead4 0%,#14b8a6 52%,#0d9488 100%);border:3px solid #fff;border-radius:50%;width:18px;height:18px;margin-top:-7px;box-shadow:0 0 0 1px #14b8a66b,0 2px 7px #1c234024;outline:none!important}.chart-scrubber--dark input[type=range].chart-scrubber-range::-webkit-slider-thumb{background:linear-gradient(165deg,#99f6e4 0%,#14b8a6 50%,#0f766e 100%);border:3px solid #fffffff0;box-shadow:0 0 0 1px #22d3ee73,0 2px 10px #00000059}.chart-scrubber input[type=range].chart-scrubber-range::-webkit-slider-runnable-track{appearance:none;height:4px;box-shadow:none!important;background:0 0!important;border:none!important;outline:none!important}.chart-scrubber input[type=range].chart-scrubber-range::-moz-range-thumb{box-sizing:border-box;background:linear-gradient(165deg,#5eead4 0%,#14b8a6 52%,#0d9488 100%);border:3px solid #fff;border-radius:50%;width:18px;height:18px;box-shadow:0 0 0 1px #14b8a66b,0 2px 7px #1c234024}.chart-scrubber--dark input[type=range].chart-scrubber-range::-moz-range-thumb{background:linear-gradient(165deg,#99f6e4 0%,#14b8a6 50%,#0f766e 100%);border:3px solid #fffffff0;box-shadow:0 0 0 1px #22d3ee73,0 2px 10px #00000059}.chart-scrubber input[type=range].chart-scrubber-range::-moz-range-track{background:0 0;border:none;outline:none;height:4px}.chart-scrubber input[type=range].chart-scrubber-range::-moz-focus-outer{border:0}.chart-scrubber input[type=range].chart-scrubber-range::-webkit-slider-thumb:hover{filter:brightness(1.05)}.fb-label{flex:1;min-width:0}.fb-currency{flex-shrink:0;align-items:center;display:flex}.fb-amount{align-items:baseline;gap:6px;width:100%;margin-top:8px;display:flex}.mini-date-popover{isolation:isolate;z-index:1000!important;-webkit-backdrop-filter:blur(34px)saturate(1.45)!important;backdrop-filter:blur(34px)saturate(1.45)!important;background:linear-gradient(145deg,#fffffff0,#ffffffd6)!important;box-shadow:0 24px 60px #1e26523d,inset 0 0 0 1px #ffffffbd!important}.sheet-panel,.sheet-panel *{max-width:100%}.sheet-panel input,.sheet-panel textarea,.sheet-panel select,.sheet-panel button{box-sizing:border-box}.sheet-panel input,.sheet-panel textarea,.sheet-panel select{display:block}.invoice-date-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.invoice-date-grid>div{grid-column:1/-1}.invoice-modal-actions{gap:10px;margin-top:18px;display:flex}.invoice-number-input::placeholder{color:#5665a08c;opacity:1}.invoice-product-field{appearance:none;align-items:center;display:flex!important}.invoice-product-select{background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 15px),calc(100% - 10px);background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:24px!important}.invoice-product-field[type=number]{-moz-appearance:textfield}.invoice-product-field[type=number]::-webkit-outer-spin-button{margin:0}.invoice-product-field[type=number]::-webkit-inner-spin-button{margin:0}.currency-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(16px)saturate(1.18);backdrop-filter:blur(16px)saturate(1.18);background:#161a306b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.currency-modal-card{border-radius:24px;width:min(420px,100vw - 34px);padding:20px;box-shadow:0 24px 70px #1c234047}@media (width>=640px){.dashboard-fx{animation:none!important}}@media (width<=639px){.currency-trigger{letter-spacing:.35px!important;border-radius:9px!important;padding:4px 7px!important;font-size:8px!important;line-height:1!important}.invoice-date-grid{grid-template-columns:1fr}.invoice-date-grid input{min-height:44px}.invoice-modal-actions{grid-template-columns:44px minmax(0,1fr);display:grid}.invoice-modal-actions button:first-child,.invoice-modal-actions button:nth-child(2){grid-column:1/-1}}@media (width<=380px){.invoice-modal-actions{grid-template-columns:44px minmax(0,1fr)}.invoice-modal-actions button:first-child,.invoice-modal-actions button:nth-child(2){grid-column:1/-1}}@media (width<=639px){.theme-light .dashboard-bg,.theme-dark .dashboard-bg{filter:saturate(1.08)contrast(1.02)!important;height:330px!important;-webkit-mask-image:linear-gradient(#000 0% 72%,#000000ad 86%,#0000 100%)!important;mask-image:linear-gradient(#000 0% 72%,#000000ad 86%,#0000 100%)!important}.theme-light .dashboard-bg,.theme-dark .dashboard-bg:before{background-position:top!important}.theme-light .dashboard-overlay{background:linear-gradient(#eef7ff05 0%,#f3f8ff1a 44%,#f8faff85 74%,#fffafefa 100%),linear-gradient(135deg,#b2d8ff2e,#eee0ff2e)!important}.theme-dark .dashboard-overlay{background:linear-gradient(#01051214 0%,#02081a38 48%,#030817c7 78%,#020612 100%),linear-gradient(135deg,#122a5829,#5b46a81f)!important}.mobile-hero{min-height:262px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),textarea,select{font-family:Plus Jakarta Sans,sans-serif!important;font-size:16px!important}.sheet-panel textarea{line-height:1.35!important}.app-content{padding-bottom:calc(138px + env(safe-area-inset-bottom,0px))!important}.theme-light .birds-layer{opacity:.26;display:block!important}.mobile-filter-card{z-index:40;position:relative;overflow:visible!important;box-shadow:0 18px 46px #4e5b9f1f,inset 0 1px #fff9!important}.theme-dark .mobile-filter-card{box-shadow:0 18px 46px #0003,inset 0 1px #ffffff0f!important}.filter-banner{border-radius:22px!important;gap:0!important;margin-bottom:14px!important;padding:13px 16px!important}.fb-amount span{font-size:18px!important}.fb-label-text{flex-direction:column!important;align-items:flex-start!important;gap:1px!important}.fb-label-text>span:first-child{font-size:12px!important;line-height:1.2!important}.fb-count{font-size:10px!important;line-height:1.2!important}.stats-scroll{-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:grab!important;touch-action:pan-x pan-y!important;margin:-8px -14px 6px 0!important;padding:8px 14px 18px 0!important;overflow:auto hidden!important}.stats-grid{grid-template-columns:none!important;gap:12px!important;width:max-content!important;margin-bottom:0!important;display:flex!important}.stats-card{min-height:126px;border-radius:16px!important;width:152px!important;min-width:152px!important;padding:12px 12px 13px!important}.stats-scroll::-webkit-scrollbar{display:none}.report-chart-scroll::-webkit-scrollbar{display:none}.stats-card>div:first-child{flex-direction:column-reverse!important;align-items:flex-start!important;gap:8px!important;margin-bottom:9px!important;display:flex!important}.stats-card>div:first-child>div:first-child{font-size:8px!important;line-height:1.25!important}.stats-card>div:last-child{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}.stats-card>div:last-child>div:first-child{overflow-wrap:anywhere;white-space:normal!important;letter-spacing:0!important;font-size:clamp(13px,3.2vw,15px)!important}.project-card{margin-bottom:14px;border-radius:24px!important}.project-actions{gap:8px!important}.project-actions button:first-child,.project-actions button:nth-child(2){min-height:44px;font-size:16px!important}.mobile-bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}}@media (width<=380px){.stats-card{width:148px!important;min-width:148px!important}}@media (orientation:landscape) and (height<=560px){.theme-light .dashboard-bg,.theme-dark .dashboard-bg{background-position:50% 42%!important;height:118vh!important;top:0!important;-webkit-mask-image:linear-gradient(#000 0% 54%,#000000b3 76%,#0000 100%)!important;mask-image:linear-gradient(#000 0% 54%,#000000b3 76%,#0000 100%)!important}.theme-dark .dashboard-bg:before{background-position:50% 42%!important}.desktop-hero{min-height:390px!important;margin-bottom:-158px!important;padding-top:74px!important;padding-bottom:176px!important}.mobile-hero{min-height:190px!important;padding-top:18px!important;padding-bottom:18px!important}.mobile-tabs{margin-top:-4px!important}}.invoice-print{display:none}@media print{@page{size:A4;margin:38mm 14mm}@page:first{margin:0 11mm 18mm}body.printing-reports{margin:0!important;padding:0!important}html,body,#root{background:#fff!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important}.app-shell{display:none!important}.invoice-print{color:#1c2340;background:#fff;min-height:0;padding:9mm 10mm 8mm;font-family:Plus Jakarta Sans,Arial,Helvetica,sans-serif;font-size:9.5px;line-height:1.28;display:block!important}.invoice-print-card{break-inside:avoid;box-shadow:none;background:#fff;border:1px solid #dfe4fb;border-radius:12px}.invoice-print-hero{grid-template-columns:minmax(0,1fr) 210px;gap:14px;margin-bottom:8px;padding:12px 16px;display:grid}.invoice-print-kicker{color:#9098c0;letter-spacing:.7px;text-transform:uppercase;margin-bottom:4px;font-size:8px;font-weight:800}.invoice-print-name,.invoice-print-client{color:#1c2340;letter-spacing:0;margin-bottom:5px;font-size:18px;font-weight:800;line-height:1.08}.invoice-print-client{margin-bottom:2px;font-size:13px}.invoice-print-meta-line{color:#6670a0;margin-bottom:1px;font-size:9px}.invoice-print-summary{text-align:right}.invoice-print-badge{color:#7c5fba;letter-spacing:.7px;text-transform:uppercase;background:#f4f0ff;border:1px solid #d9d4fb;border-radius:999px;margin-bottom:5px;padding:3px 9px;font-size:8px;font-weight:800;display:inline-block}.invoice-print-number{color:#7c5fba;letter-spacing:-.8px;margin-bottom:7px;font-size:30px;font-weight:800;line-height:1}.invoice-print-facts{grid-template-columns:auto auto;gap:3px 10px;margin:0;display:grid}.invoice-print-facts dt{color:#9098c0;text-align:right;font-size:8.5px;font-weight:600}.invoice-print-facts dd{color:#1c2340;text-align:right;margin:0;font-size:8.5px;font-weight:700}.invoice-print-billto{margin-bottom:8px;padding:9px 16px}.invoice-print-table-card{break-inside:auto;margin-bottom:8px;overflow:hidden}.invoice-print-table{border-collapse:collapse;width:100%;margin:0}.invoice-print-table th,.invoice-print-table td{vertical-align:top;border:0;border-bottom:1px solid #dfe4e8;padding:7px 8px}.invoice-print-table th{color:#9098c0;letter-spacing:.5px;text-transform:uppercase;text-align:right;font-size:7.5px;font-weight:800}.invoice-print-table th:first-child,.invoice-print-table td:first-child{text-align:left}.invoice-print-table td{color:#1c2340;text-align:right;font-size:9px}.invoice-print-table td:first-child{width:38%}.invoice-print-table td:first-child strong{margin-bottom:2px;font-size:9.5px;display:block}.invoice-print-table td:first-child span,.invoice-print-table td:first-child em{color:#6670a0;white-space:pre-line;max-width:440px;font-size:8px;font-style:normal;line-height:1.25;display:block}.invoice-print-table tr{break-inside:avoid}.invoice-print-table td:nth-child(3),.invoice-print-table td:nth-child(4),.invoice-print-table td:nth-child(5){white-space:nowrap}.invoice-print-bottom{break-inside:avoid;grid-template-columns:minmax(0,1fr) 240px;gap:8px;display:grid}.invoice-print-payment,.invoice-print-totals{padding:10px 12px}.invoice-print-payment h2{color:#09aeb8;margin:0 0 6px;font-size:12px;font-weight:800}.invoice-print-payment p{color:#3b4a7a;white-space:pre-wrap;border-top:1px solid #edf1fb;margin:0;padding:5px 0;font-size:9px}.invoice-print-payment p:first-of-type{border-top:0;padding-top:0}.invoice-print-totals>div{color:#1c2340;text-align:right;border-top:1px solid #edf1fb;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:5px 0;display:grid}.invoice-print-totals>div:first-child{border-top:0;padding-top:0}.invoice-print-totals span{color:#6670a0;text-align:left;font-size:9px}.invoice-print-totals strong{color:#1c2340;font-size:10px;font-weight:700}.invoice-print-due{background:#f7f4ff;border:1px solid #d9d4fb;border-radius:10px;margin-top:7px;padding:9px 10px!important}.invoice-print-due span{color:#7c5fba;font-size:10px;font-weight:800}.invoice-print-due strong{color:#7c5fba;font-size:18px;font-weight:800}.invoice-print-footer{text-align:center;margin-top:18px;padding:12px 0 0}.invoice-print-thanks{color:#7c5fba;margin-bottom:3px;font-size:11px;font-weight:800}.invoice-print-note{color:#9098c0;margin-bottom:4px;font-size:9px}.invoice-print-credit{color:#b1b7d5;font-size:8px}}.reports-print-surface{display:none}@media print{.reports-print-surface,body.printing-reports .invoice-print{display:none!important}body.printing-reports .reports-print-surface{color:#1c2340;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;min-height:0;padding:12mm 10mm 10mm;font-family:Plus Jakarta Sans,Arial,Helvetica,sans-serif;font-size:10px;line-height:1.45;display:block!important}body.printing-reports .app-shell{display:none!important}body.printing-reports .reports-print-break-before{box-sizing:border-box!important;padding-top:12mm!important}body.printing-reports .reports-print-break-before>.reports-print-h{margin-top:0!important;padding-top:2mm!important}body.printing-reports .reports-print-data-table thead{display:table-header-group!important}body.printing-reports .reports-print-data-table thead tr:first-child th{padding-top:28px!important}body.printing-reports .reports-print-data-table thead tr:nth-child(2) th{padding-top:16px!important}body.printing-reports .reports-print-data-table thead th{padding-bottom:12px!important}body.printing-reports .reports-print-data-table tbody tr:first-child td{padding-top:16px!important}body.printing-reports .reports-print-data-table tbody tr{orphans:3;widows:3;break-inside:avoid}body.printing-reports .reports-print-card{-webkit-box-decoration-break:clone!important;box-decoration-break:clone!important;border-top:1px solid #e4e8fa!important}}
