@font-face{font-family:Inter;src:url(/inter-latin.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
@media(max-width:700px){.sidebar .business-switch{display:flex!important;flex:1;min-width:0;max-width:155px;min-height:44px;margin:0 0 0 8px;padding:6px 7px;gap:6px;touch-action:manipulation}.sidebar .business-switch .business-avatar{width:28px;height:28px;flex:0 0 28px;font-size:9px}.sidebar .business-switch b{max-width:78px;font-size:10px}.sidebar .business-switch small{display:none}.sidebar .business-switch .icon{width:13px;margin-left:auto}}
.company-list{display:flex;flex-direction:column;gap:9px}.company-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}.company-item.active{background:#eef4e8;border-color:#cfdec2}.company-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#e5ecd9;color:var(--green);font-size:11px;font-weight:750}.company-item b{display:block;font-size:12px;overflow-wrap:anywhere}.company-item small{display:block;margin-top:3px;color:#8d9b82;font-size:8px;letter-spacing:.7px}.active-company-badge{padding:5px 8px;border-radius:5px;background:#dfeccf;color:#557746;font-size:9px;font-weight:650}.company-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1.5fr) auto;gap:12px;align-items:end;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.company-form h3{margin:0;font-size:12px}.company-form p{margin:4px 0 0;font-size:9px;color:#89977f}.company-safety{display:flex;gap:7px;align-items:center;margin-top:17px;padding:12px 13px;border-radius:8px;background:#f0f4ea;color:#6f815f;font-size:10px}.company-safety .icon{width:14px;height:14px}.company-item .icon-button:disabled{opacity:.25;cursor:not-allowed}html[data-theme="dark"] .company-item{background:#17231d;border-color:#304239}html[data-theme="dark"] .company-item.active,html[data-theme="dark"] .company-safety{background:#20352a}html[data-theme="dark"] .company-avatar,html[data-theme="dark"] .active-company-badge{background:#294334;color:#b5d4aa}@media(max-width:700px){.company-item{grid-template-columns:auto minmax(0,1fr) auto}.company-item .button,.active-company-badge{grid-column:2}.company-item>.icon-button{grid-column:3;grid-row:1}.company-form{grid-template-columns:1fr}.company-form .button{width:100%}}
.dual-money{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.25}.dual-money small{color:#8f9d86;font-size:8px;font-weight:500;white-space:nowrap}.exchange-rate-status{flex-direction:row;align-items:center;justify-content:space-between;background:#f2f5ec;border:1px solid #e1e8d7;border-radius:8px;padding:10px 12px}.exchange-rate-status>span{font-size:10px;color:#738666;font-weight:500}.currency-equivalent{flex-direction:row;align-items:center;justify-content:space-between;background:#e9f0df;border-radius:8px;padding:13px 14px}.currency-equivalent>span{font-size:10px;color:#677b57}.currency-equivalent>b{font-size:16px;color:#315424;font-variant-numeric:tabular-nums}.cashflow-summary .dual-money{align-items:flex-start}.cashflow-equation .dual-money{align-items:center}.featured .dual-money small{color:#cbd8bd}.amount .dual-money small{font-weight:500}.report-card .dual-money small{font-size:8px}html[data-theme="dark"] .exchange-rate-status{background:#192a21;border-color:#304239}html[data-theme="dark"] .currency-equivalent{background:#20352a}html[data-theme="dark"] .currency-equivalent>b{color:#a8d5b4}html[data-theme="dark"] .dual-money small{color:#98aa9f}@media(max-width:700px){.exchange-rate-status,.currency-equivalent{align-items:flex-start}.cashflow-equation .dual-money{align-items:flex-start}}
:root{--green:#174f3b;--green-2:#2b634c;--ink:#25362d;--muted:#7b837c;--line:#e6e9e1;--surface:#fbfcf8;--cream:#f6f7f2;--lime:#dceaac;--sage:#afc5a0;--orange:#af7944;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.chart-bar:focus-visible{outline:3px solid #86aa64;outline-offset:3px}button:hover{filter:brightness(.96)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sidebar{position:fixed;left:0;top:0;bottom:0;width:248px;background:#fbfcf8;border-right:1px solid var(--line);padding:32px 20px 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;margin:0 8px 36px;font-size:23px;font-weight:760;letter-spacing:-1px;line-height:1.05}.brand-light{font-weight:400}.brand-symbol{width:38px;height:42px;border-radius:13px;background:var(--green);display:grid;place-items:center;color:var(--lime);transform:rotate(-4deg)}.brand-symbol .icon{width:27px;height:27px;stroke-width:2.7}.brand small{font-size:8px;letter-spacing:2.05px;display:block;margin-top:8px;font-weight:600;color:#80907e}.business-switch{display:flex;align-items:center;text-align:left;padding:12px 10px;gap:10px;border:1px solid var(--line);border-radius:10px;width:100%;margin-bottom:31px;background:white}.business-switch .icon{width:14px;margin-left:auto}.business-avatar{width:33px;height:33px;background:#e9eddf;border:1px solid #dce3d0;border-radius:9px;display:grid;place-items:center;font-size:11px;color:var(--green);font-weight:700}.business-switch b{display:block;font-size:12px;max-width:115px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-switch small{display:block;font-size:10px;color:var(--muted);margin-top:1px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#90998d;margin:0 15px 13px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;margin-bottom:7px;font-size:12px;border-radius:8px;color:#6a786b;text-align:left}.nav-item.active{background:#e8efde;color:var(--green);font-weight:650}.nav-item .icon{width:18px;height:18px}.nav-dot{width:6px;height:6px;background:var(--green);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.side-note{background:#eff2e7;border:1px solid #e4e9da;border-radius:11px;margin:24px 4px 19px;padding:17px 17px 9px}.side-note>.icon{color:#708a54;margin-bottom:10px}.side-note b{display:block;font-size:13px;font-weight:600;line-height:1.6}.side-note p{font-size:11px;line-height:1.8;color:#859079;max-width:165px}.owner{border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;margin-top:17px;padding:20px 5px 23px}.owner-avatar{background:#e4e9d7;color:#5b7055;border-radius:50%;height:32px;width:32px;display:grid;place-items:center;font-size:12px;font-weight:600}.owner b{display:block;font-size:11px;font-weight:600}.owner small{display:block;color:#8b9386;font-size:10px}.owner>.icon{margin-left:auto;width:14px;color:#8a947e}.main-shell{margin-left:248px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fafbf6}.breadcrumbs{font-size:11px;color:#8a9388;display:flex;gap:14px}.breadcrumbs b{font-weight:500;color:#52634f}.breadcrumbs span{color:#c1c8ba}.topbar-right{display:flex;gap:23px;align-items:center}.save-status{font-size:10px;color:#8b9585;display:flex;align-items:center;gap:6px}.save-status i{width:5px;height:5px;background:#759268;border-radius:50%}.private-badge{display:flex;align-items:center;gap:6px;font-size:10px;color:#76816e}.private-badge .icon{width:13px;height:13px}main{max-width:1510px;margin:0 auto;padding:36px 38px 10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#77846b;font-weight:650}.eyebrow span{color:#c1c8b7;margin:0 6px}h1{font-size:31px;line-height:1.25;letter-spacing:-1.05px;font-weight:570;margin:9px 0 8px}h2{font-size:15px;font-weight:650;letter-spacing:-.25px;margin:0}h3{font-size:14px;font-weight:600}.page-heading p{font-size:12px;color:#89917f;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border-radius:8px;font-size:11px;font-weight:570;white-space:nowrap;min-height:42px;transition:background .15s}.button .icon{width:16px;height:16px}.button.primary{color:#fff;background:var(--green);box-shadow:0 2px 3px #173e2210;border:1px solid var(--green)}.button.secondary{background:#fff;border:1px solid #dfe5d7;color:#5d6e50}.button.small{min-height:35px;padding:8px 12px;font-size:11px}.demo-banner{display:flex;align-items:center;gap:13px;border:1px solid #e1e6d1;background:#f0f3e6;border-radius:8px;padding:12px 15px;font-size:10px;color:#7c8967}.demo-label{font-size:8px;letter-spacing:1.25px;font-weight:700;background:#e2eacb;color:#6a7c48;padding:4px 7px;border-radius:4px;white-space:nowrap}.demo-banner p{margin:0}.demo-banner button{margin-left:auto;white-space:nowrap;font-size:10px;color:#526f3c;display:flex;align-items:center;gap:8px}.demo-banner .icon{width:13px}.view-toolbar{display:flex;align-items:center;justify-content:space-between;margin:24px 0 22px;gap:15px}.tabs{display:flex;gap:3px}.tabs button{padding:9px 14px;border-radius:7px;font-size:11px;color:#839077}.tabs button.selected{background:#fff;color:#324e27;font-weight:600;border:1px solid #e3e7dc;box-shadow:0 1px 3px #00000004}.period-control{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e3e7dc;border-radius:7px;padding:8px 10px;color:#7d896f}.period-control .icon{width:15px;height:15px}.period-control select{border:0;background:transparent;color:#68775b;font-size:10px;text-transform:capitalize;cursor:pointer;max-width:180px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px 19px;min-height:140px}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:7px;color:#809074;font-size:11px}.stat-top .icon{width:17px;height:17px;color:#a1ad94}.stat-value{font-size:28px;letter-spacing:-.9px;font-weight:590;margin:16px 0 9px;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}.stat-caption{font-size:9px;color:#99a18f;line-height:1.6}.stat-card.featured{background:var(--green);color:#fff;border-color:var(--green);position:relative;overflow:hidden}.featured:after{content:'';position:absolute;width:140px;height:140px;border:1px solid #d7e7bf13;border-radius:50%;right:-50px;top:20px;pointer-events:none}.featured .stat-top{color:#cad6be}.featured .stat-top .icon{color:#a9c598}.featured .stat-caption{color:#b1c3a0}.featured .stat-value{color:#fafcf5}.soft-pill{display:inline-block;color:#d5e9ad;background:#48733f;padding:2px 6px;border-radius:4px;margin-right:3px;font-size:8px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.charts-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:22px;margin-bottom:24px}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 23px 0;gap:12px}.panel-heading p{font-size:10px;color:#98a08d;margin:5px 0 0}.panel-heading>.icon{width:17px;color:#9aaa8a}.small-label{font-size:8px;color:#a0a794;letter-spacing:1px}.chart-legend{display:flex;gap:17px;padding:19px 23px 9px}.legend-toggle{font-size:9px;display:flex;align-items:center;gap:6px;padding:0;color:#82906d}.legend-toggle.muted{opacity:.3}.dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#205b40;flex-shrink:0}.dot.costs{background:#c2d4a7}.chart-wrap{padding:0 17px 0 3px}.chart-wrap svg{width:100%;height:auto;display:block}.chart-bar.revenue{fill:#316649}.chart-bar.costs{fill:#c9d7b7}.chart-bar:hover,.chart-bar:focus{opacity:.72;cursor:help}.axis{font-family:inherit;font-size:10px;fill:#a1ac94}.chart-foot{display:flex;justify-content:space-between;margin:0 23px;padding:9px 0 17px;font-size:8px;color:#a0aa93}.donut-wrap{display:flex;justify-content:center;align-items:center;margin-top:18px}.donut{width:144px;height:144px;border-radius:50%;display:grid;place-items:center;transform:rotate(-90deg)}.donut>div{width:106px;height:106px;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(90deg)}.donut small{font-size:9px;color:#929e85}.donut b{font-size:21px;letter-spacing:-.5px;margin-top:4px;font-weight:600}.expense-legend{padding:17px 25px 22px}.expense-legend>div{display:flex;align-items:center;gap:12px;font-size:10px;margin-top:9px}.expense-legend span{display:flex;align-items:center;gap:7px;color:#7c896d;flex:1}.expense-legend b{font-weight:550;color:#60724d}.expense-legend small{font-size:8px;color:#a5af97;min-width:20px;text-align:right}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:22px}.text-button{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#5a7743;padding:0;font-weight:550}.text-button .icon{height:13px;width:13px}.recent-panel .panel-heading{padding-bottom:16px}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:11px}th{background:#fafbf7;text-align:left;padding:11px 22px;font-size:8px;letter-spacing:.4px;color:#9aa78a;font-weight:500;border-top:1px solid #f0f2eb;border-bottom:1px solid #eef1e7}td{padding:14px 22px;border-bottom:1px solid #f0f3eb}tr:last-child td{border-bottom:0}.movement-cell{display:flex;gap:10px;align-items:center}.movement-cell b{display:block;font-size:11px;font-weight:550;max-width:265px;white-space:normal;line-height:1.45;overflow-wrap:anywhere}.movement-cell small{font-size:9px;color:#9daa8f;display:block;margin-top:2px}.movement-icon{height:31px;width:31px;border-radius:8px;background:#eef2e7;display:grid;place-items:center;flex-shrink:0}.movement-icon .icon{height:14px;width:14px}.movement-icon.income{background:#eaf1e3;color:#73914e}.movement-icon.expense{background:#f7efdf;color:#b69857}.movement-icon.neutral{color:#849676}.date-cell{color:#9fa994;font-size:10px}.align-right{text-align:right}.amount{font-weight:550;font-size:11px}.amount.income{color:#5b8344}.amount.expense{color:#9c885e}.amount.neutral{color:#839774}.insight-panel{padding:25px 24px 22px;border-radius:11px;background:#edf1e4;border:1px solid #e0e7d4;position:relative;overflow:hidden}.insight-icon{background:#e1e9d0;display:grid;place-items:center;height:31px;width:31px;border-radius:9px;color:#7b9553;margin-bottom:16px}.insight-panel .eyebrow{font-size:8px;letter-spacing:1.25px;color:#87966e}.insight-panel h2{font-size:18px;line-height:1.5;color:#52693f;font-weight:550;margin:9px 0 11px;letter-spacing:-.3px}.insight-panel p{color:#8b9a79;font-size:10px;line-height:1.9;margin:0 0 15px;max-width:265px}.cash-row{padding:13px 0 16px;border-top:1px solid #dce5cb;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#91a078}.cash-row b{font-size:12px;color:#658044;font-weight:600}.negative{color:#a8724a!important}.status-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 5px 0;color:#95a184;font-size:9px;flex-wrap:wrap}.status-strip>span,.status-strip button{display:flex;align-items:center;gap:6px;font-size:9px;padding:0}.status-strip .icon{width:13px;height:13px}.status-strip>span{color:#71945b}.status-strip b{font-weight:550}.page-footer{border-top:1px solid var(--line);margin-top:25px;padding:17px 0;display:flex;justify-content:space-between;gap:12px;color:#a1ad94;font-size:9px}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer .icon{height:12px;width:12px}.report-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:-5px 0 18px;font-size:11px;color:#859173}.reports-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.report-card{padding:0 23px 18px}.report-card .panel-heading{padding:24px 0 22px}.report-card h2{margin-top:5px;font-size:20px}.report-card h3{color:#6a8155;font-size:12px;margin:21px 0 7px}.report-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 0;color:#7a896c;font-size:11px}.report-line b{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:550;color:#435d32}.report-line.subtotal{border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-weight:600;margin:7px 0;padding:12px 0;color:#4f683d}.report-line.detail{padding:5px 0 5px 15px;font-size:10px;color:#a0aa94}.report-line.detail b{color:#8a987c}.report-line.total{background:#edf2e5;margin:17px -12px 6px;border-radius:7px;padding:16px 12px;color:#345327;font-weight:600;font-size:12px}.report-note{font-size:10px;color:#94a083;line-height:1.8;margin:14px 0 0}.balanced{font-size:9px;color:#648b42;display:flex;align-items:center;gap:4px;background:#edf5e4;padding:5px 7px;border-radius:5px}.balanced .icon{height:12px;width:12px}.cash-report{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:20px;padding:25px;margin-top:22px;align-items:center}.cash-report h2{margin-top:6px}.cash-report>div>span:not(.eyebrow){display:block;font-size:10px;color:#90a07d}.cash-report b{font-size:17px;font-weight:550;display:block;margin-top:7px}.methodology{padding:17px 3px;color:#81926e;font-size:10px;line-height:1.9}.methodology summary{cursor:pointer;font-size:11px}.operations-tools{display:flex;align-items:center;gap:12px;margin-bottom:19px}.search-input{background:#fff;display:flex;gap:9px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:7px;flex:1;min-width:100px}.search-input .icon{width:16px;color:#9dab8c}.search-input input{border:0;width:100%;outline:none;font-size:11px;color:var(--ink);padding:0}.search-input input::placeholder{color:#a1ad94}.operations-tools>select{border:1px solid var(--line);border-radius:7px;padding:11px;background:#fff;color:#758a60;font-size:11px;max-width:190px}.count{border-radius:4px;background:#edf2e5;padding:1px 5px;font-size:9px}.secondary-text{font-size:10px;color:#8a9b78}.icon-button{display:inline-grid;place-items:center;color:#91a27d;border-radius:6px;padding:7px}.icon-button:hover{background:#eff3e7}.icon-button .icon{width:16px;height:16px}.table-bottom{display:flex;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid var(--line);font-size:9px;color:#a0ae90}.helper-note{display:flex;gap:8px;align-items:flex-start;color:#8a9c77;font-size:10px;line-height:1.9;margin-top:19px;max-width:850px}.helper-note .icon{height:15px;width:15px;margin-top:2px}.inventory-intro{display:flex;justify-content:space-between;align-items:center;margin:-5px 0 18px;gap:15px}.inventory-intro p{font-size:11px;color:#899b74}.product-symbol{width:39px;height:43px;display:grid;place-items:center;background:#eef2e7;border-radius:8px;color:#768f58}.product-symbol .icon{width:23px;height:23px}.stock-badge{background:#eaf2df;border-radius:5px;padding:4px 8px;color:#6e9050;font-size:10px}.stock-badge.low{color:#af8b44;background:#faf0da}.stock-alert{display:block;color:#ae955d;font-size:8px;margin-top:5px}.asset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.asset-card{padding:24px}.asset-symbol{width:40px;height:42px;display:grid;place-items:center;background:#edf2e3;color:#7f965f;border-radius:9px;margin-bottom:18px}.asset-card h3{font-size:17px;margin:8px 0 0}.asset-card>p{font-size:10px;color:#94a580;margin:7px 0 19px}.asset-card>.text-button{margin-top:12px}.empty-state{padding:45px 25px;text-align:center;color:#81976b;grid-column:1/-1}.empty-state>.icon{width:29px;height:29px;color:#a8bd8c}.empty-state h3{margin:12px 0 6px}.empty-state p{font-size:11px;margin-bottom:20px}.empty-small{font-size:10px;color:#a0ad91;text-align:center}.error-banner{padding:13px;border:1px solid #eecbb2;color:#a96b4d;background:#fff5e9;border-radius:8px;font-size:12px;margin-top:13px}.modal-open{overflow:hidden}.modal-overlay{position:fixed;inset:0;background:#1c302866;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(4px)}.modal{background:#fbfcf8;border-radius:15px;box-shadow:0 25px 100px #10291d30;max-height:90vh;width:560px;max-width:100%;overflow-y:auto;padding:26px}.modal.wide{width:650px}.modal-header{display:flex;gap:15px;align-items:flex-start;margin-bottom:23px}.modal-header>div{flex:1}.modal-header h2{font-size:23px;letter-spacing:-.7px;font-weight:580;line-height:1.3}.modal-header p{font-size:11px;line-height:1.8;color:#859575;margin:8px 0 0}.modal-header>.icon-button{margin:-6px -6px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field>span{font-size:10px;color:#748561;font-weight:550}input,select{border:1px solid #dae3cc;border-radius:7px;background:#fff;color:#405c2a;padding:11px 12px;font-size:12px;min-width:0;max-width:100%}.field input,.field select{width:100%;min-height:42px}input[readonly]{background:#eaf0df;color:#435f2b;font-size:19px;font-weight:600}.form-explainer{padding:13px;display:flex;gap:10px;background:#edf3e5;border:1px solid #e0e9d4;border-radius:8px;margin-top:20px;font-size:10px;color:#82966a;line-height:1.8}.form-explainer .icon{height:16px;width:16px;margin-top:1px}.form-error{font-size:11px;color:#b05e47;line-height:1.7;margin-top:12px}.form-error:empty{display:none}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.inline-form{display:flex;align-items:flex-end;gap:12px}.inline-form>.field{flex:1}.settings-heading{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.settings-heading h3{font-size:13px}.settings-heading>span{font-size:9px;color:#94a77c}.category-list{border:1px solid var(--line);border-radius:8px;max-height:220px;overflow:auto;background:white}.category-list>div{display:flex;align-items:center;gap:7px;padding:9px 13px;border-bottom:1px solid #eff3e8}.category-list>div:last-child{border-bottom:0}.category-list>div>span{flex:1}.category-list b{font-size:11px;font-weight:550;display:block}.category-list small{font-size:9px;color:#99a987}.category-form{display:flex;gap:8px;margin:13px 0}.category-form input{flex:1}.category-form select{max-width:105px}.category-form input,.category-form select{font-size:10px;padding:10px}.backup-area{border-top:1px solid var(--line);margin-top:23px;padding-top:7px}.backup-area p{font-size:10px;color:#849a6c;line-height:1.8}.backup-buttons{display:flex;gap:10px;margin:17px 0}.text-button.danger{color:#b1825d;margin-top:5px}.danger-button{background:#ad684a;color:white}.pending-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.pending-item:last-child{border-bottom:0}.pending-item h3{font-size:13px;margin:8px 0 5px}.pending-item p{font-size:10px;color:#8b9e76;margin:0}.type-tag{font-size:8px;letter-spacing:.8px;border-radius:4px;padding:4px 6px;background:#edf3e5;color:#6d8a50}.type-tag.expense{background:#f6eddd;color:#aa8b58}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,30px);padding:13px 20px;background:#203f2c;color:#f1f7e9;font-size:12px;border-radius:9px;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;box-shadow:0 8px 30px #16392622}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1650px){main{padding-top:46px}.stats-grid{gap:22px}.stat-card{padding:23px;min-height:158px}.stat-value{font-size:34px}.charts-grid,.bottom-grid{grid-template-columns:1.85fr 1fr}.chart-wrap{padding:8px 18px}.donut-wrap{margin-top:28px}.donut{height:163px;width:163px}.donut>div{height:121px;width:121px}.expense-legend{padding-top:20px}.movement-cell b{max-width:330px}.insight-panel p{font-size:12px}.insight-panel h2{font-size:21px}}
@media(max-width:1250px){.sidebar{width:215px;padding-left:14px;padding-right:14px}.main-shell{margin-left:215px}main{padding:28px 26px 10px}.topbar{padding:0 26px}.page-heading{align-items:flex-start}.page-heading .button{margin-top:18px}h1{font-size:27px}.stat-card{padding:17px 13px}.stat-value{font-size:24px}.stat-caption{font-size:8px}.charts-grid,.bottom-grid{gap:16px;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr)}.panel-heading{padding:19px 17px 0}td,th{padding-left:15px;padding-right:15px}.movement-cell b{font-size:10px;max-width:190px}.movement-cell{gap:7px}.movement-icon{width:27px;height:27px}.insight-panel{padding:23px 18px}.insight-panel h2{font-size:16px}.donut{width:133px;height:133px}.donut>div{width:99px;height:99px}.expense-legend{padding-left:17px;padding-right:17px}.chart-foot{font-size:7px;margin-left:17px;margin-right:17px}.save-status{display:none}.asset-grid{grid-template-columns:repeat(2,1fr)}.cash-report{grid-template-columns:repeat(4,1fr)}.cash-report>div:first-child{grid-column:1/-1}.demo-banner{gap:8px}.demo-banner p{font-size:9px}.demo-banner button{font-size:9px}.operations-tools{gap:7px}.operations-tools>.button{padding:11px 10px}.operations-tools>select{max-width:150px}}
@media(max-width:1000px){.sidebar{width:190px}.main-shell{margin-left:190px}.brand{font-size:21px;margin-left:3px;margin-right:3px}.brand-symbol{width:31px;height:37px}.brand small{font-size:7px;letter-spacing:1.65px}.business-switch{padding:10px 7px;gap:7px}.business-avatar{height:29px;width:29px}.business-switch b{max-width:93px;font-size:11px}.business-switch small{font-size:8px}.nav-item{font-size:11px;padding-left:10px;gap:9px}.nav-label{margin-left:10px}.side-note{padding:13px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{padding:20px}.stat-value{font-size:29px}.stat-caption{font-size:9px}.charts-grid,.bottom-grid{grid-template-columns:1fr}.expense-panel{display:grid;grid-template-columns:1fr 1fr}.expense-panel>.panel-heading{grid-column:1/-1}.donut-wrap{margin:20px}.expense-legend{align-self:center}.insight-panel p{max-width:100%}.insight-panel h2 br{display:none}.insight-panel h2{font-size:20px}.insight-panel .cash-row{margin-top:16px}.page-heading{flex-direction:column;gap:17px}.page-heading .button{margin-top:0}.demo-banner{flex-wrap:wrap}.demo-banner p{flex:1;font-size:10px}.demo-banner button{margin-left:0;flex-basis:100%;justify-content:flex-end}.reports-grid{grid-template-columns:1fr}.operations-tools{flex-wrap:wrap}.search-input{flex-basis:55%}.operations-tools>select{flex:1;max-width:200px}.movement-cell b{max-width:none}.recent-panel td,.recent-panel th{padding-right:23px;padding-left:23px}}
@media(max-width:700px){.sidebar{width:auto;position:sticky;top:0;height:62px;padding:0 17px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);justify-content:space-between;background:#fbfcf8f5;backdrop-filter:blur(8px)}.brand{font-size:20px;margin:0}.brand small{display:none}.brand-symbol{width:28px;height:31px;border-radius:9px}.brand-symbol .icon{width:22px;height:22px}.business-switch,.nav-label,.side-note,.owner{display:none}.sidebar nav{position:fixed;bottom:0;left:0;right:0;background:#fbfcf8fa;backdrop-filter:blur(10px);height:65px;display:flex;align-items:center;justify-content:space-around;border-top:1px solid #e1e7d6;padding:4px 10px 6px;transform:translateZ(0);z-index:50;top:calc(100dvh - 65px)}.nav-item{width:100%;display:flex;flex-direction:column;justify-content:center;gap:4px;font-size:9px;border-radius:7px;padding:8px 9px;margin:0;max-width:160px}.nav-item .icon{width:18px;height:18px}.nav-dot{display:none}.sidebar-bottom{margin:0}.sidebar-bottom .nav-item{padding:10px;display:flex;flex-direction:row;font-size:0;gap:0}.sidebar-bottom .nav-item .icon{width:20px;height:20px}.main-shell{margin-left:0}.topbar{height:37px;padding:0 18px;background:#f6f7f2}.breadcrumbs{font-size:9px;gap:8px}.private-badge{font-size:9px}.private-badge .icon{height:11px;width:11px}main{padding:24px 17px 79px}.page-heading{margin-bottom:20px;gap:18px}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:27px;letter-spacing:-.9px;margin-top:8px}.page-heading p{font-size:11px;max-width:330px;line-height:1.7}.page-heading .button{width:100%;font-size:12px;padding:12px}.button{font-size:11px}.demo-banner{padding:11px 12px;gap:9px}.demo-label{font-size:7px;letter-spacing:1px}.demo-banner p{font-size:9px;line-height:1.7;min-width:170px}.demo-banner button{font-size:9px;min-height:24px}.view-toolbar{margin:20px 0 17px;gap:8px;align-items:center}.tabs{gap:2px}.tabs button{font-size:9px;padding:9px 9px}.period-control{padding:7px;gap:5px}.period-control select{font-size:9px;max-width:124px;padding:3px 0}.period-control .icon{width:12px;height:12px}.stats-grid{gap:11px;margin-bottom:17px}.stat-card{padding:15px 13px;min-height:128px}.stat-top{font-size:9px;gap:4px}.stat-top .icon{width:14px;height:14px}.stat-value{font-size:24px;margin:16px 0 9px;letter-spacing:-.8px}.stat-caption{font-size:8px;line-height:1.7}.soft-pill{font-size:7px;padding:1px 5px}.charts-grid{margin-bottom:17px;gap:17px}.panel-heading{padding:18px 17px 0}.panel-heading h2{font-size:14px}.panel-heading p{font-size:9px}.small-label{font-size:7px}.chart-legend{padding:17px 17px 8px}.legend-toggle{font-size:8px}.chart-wrap{padding-right:8px}.chart-foot{font-size:7px}.expense-panel{grid-template-columns:45% 55%}.donut-wrap{margin:17px 8px 21px}.donut{width:124px;height:124px}.donut>div{width:93px;height:93px}.donut b{font-size:19px}.donut small{font-size:8px}.expense-legend{padding:10px 14px 15px 5px}.expense-legend>div{font-size:9px;gap:8px;margin-top:12px}.expense-legend span{gap:5px}.expense-legend .dot{height:6px;width:6px}.expense-legend small{font-size:7px}.bottom-grid{gap:17px}.recent-panel .panel-heading{padding-bottom:14px}.recent-panel th,.recent-panel td{padding-left:13px;padding-right:13px}.recent-panel .movement-cell b{font-size:10px;max-width:180px}.recent-panel .movement-cell small{font-size:8px}.recent-panel .date-cell{font-size:9px}.recent-panel th:nth-child(2),.recent-panel td:nth-child(2){display:none}.movement-icon{width:26px;height:26px}.amount{font-size:10px}.insight-panel{padding:22px}.insight-panel h2{font-size:21px}.insight-panel p{font-size:11px}.cash-row{font-size:10px}.insight-panel .text-button{font-size:11px}.status-strip{padding:18px 0 0;gap:15px 8px}.status-strip button,.status-strip>span{font-size:8px}.page-footer{flex-direction:column;gap:6px;font-size:8px;padding-bottom:10px}.report-intro{align-items:flex-start;font-size:10px}.report-intro p{max-width:170px;margin-top:0;line-height:1.8}.report-intro .button{font-size:9px;min-height:33px}.report-card{padding:0 19px 16px}.report-card h2{font-size:20px}.report-card .panel-heading{padding-top:21px}.cash-report{grid-template-columns:1fr 1fr;padding:20px}.cash-report b{font-size:19px}.cash-report>div>span:not(.eyebrow){font-size:9px}.report-line{font-size:11px}.report-line.total{font-size:11px}.operations-tools{gap:9px}.operations-tools>select{max-width:155px;font-size:10px;padding:11px 7px}.search-input{flex-basis:40%;padding:11px 9px}.search-input input{font-size:10px}.operations-tools>.button{font-size:10px;min-height:36px}.ledger-panel table{min-width:680px}.table-bottom{padding:13px;font-size:8px}.inventory-intro{align-items:flex-start}.inventory-intro p{font-size:10px;max-width:185px;margin-top:0;line-height:1.9}.inventory-intro .button{font-size:10px;padding:9px 11px;min-height:36px}.inventory-table table{min-width:780px}.asset-grid{grid-template-columns:1fr}.asset-card{padding:22px}.modal-overlay{padding:12px;align-items:center}.modal{padding:21px 18px;max-height:94dvh;border-radius:12px}.modal-header h2{font-size:22px}.modal-header p{font-size:10px}.form-grid{gap:14px 11px}.field>span{font-size:10px}input,select{font-size:16px;padding:10px}.modal input,.modal select{font-size:16px}.field input,.field select{min-height:44px}.modal-actions .button{flex:1;padding:12px 9px;font-size:11px}.modal-actions{gap:8px}.category-form{flex-wrap:wrap}.category-form input{flex:1 1 60%}.category-form select{flex:1;max-width:none}.category-form>.button{width:100%}.backup-buttons{flex-direction:column}.inline-form{gap:8px}.category-list{max-height:190px}.settings-heading>span{font-size:8px}.pending-item h3{font-size:12px}.pending-item .button{font-size:10px;padding:8px}#toast{font-size:11px;bottom:78px;width:max-content;text-align:center}.methodology{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;font-size:11px}.sidebar,.topbar,.demo-banner,.view-toolbar,.page-heading>.button,.report-intro>.button,.page-footer,.methodology,.modal-overlay,#toast{display:none!important}.main-shell{margin:0}main{max-width:none;padding:0}.page-heading{margin-bottom:18px}.page-heading h1{font-size:24px}.reports-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-card{break-inside:avoid;box-shadow:none}.report-line{font-size:10px;padding:6px 0}.report-card h3{margin-top:12px}.report-card .panel-heading{padding-top:15px;padding-bottom:12px}.report-card h2{font-size:17px}.report-line.total{font-size:10px}.cash-report{grid-template-columns:repeat(4,1fr);break-inside:avoid}.cash-report>div:first-child{grid-column:1/-1}.cash-report b{font-size:14px}@page{size:A4 landscape;margin:14mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Legibilidad de textos de apoyo. */
.page-heading p,.panel-heading p,.stat-caption,.movement-cell small,.date-cell,.chart-foot,.small-label,.page-footer,.table-bottom{color:#758168}.stat-card.featured .stat-caption{color:#c4d2b7}.axis{fill:#738269}.expense-legend span{color:#6e7b60}.insight-panel p{color:#71825d}.demo-banner{color:#687d51}.report-note,.helper-note{color:#748561}

.brand small{white-space:nowrap;font-size:7px;letter-spacing:1.5px}.donut b{white-space:nowrap;font-size:18px;text-align:center}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-value small{font-size:10px;letter-spacing:0;color:#829074;font-weight:600}.stat-card.clickable{text-align:left;width:100%;transition:transform .15s,box-shadow .15s,border-color .15s}.stat-card.clickable:hover{transform:translateY(-2px);box-shadow:0 8px 24px #183b2812;border-color:#cdd9c3}.stat-card.clickable .stat-caption:after{content:'  Ver pendientes →';color:#5f7b4c;font-weight:600}.stat-card.clickable:focus-visible{outline:3px solid #86aa64;outline-offset:3px}@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.theme-control{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;padding:5px 8px;color:#76816e;background:#fff}.theme-control .icon{width:14px;height:14px}.theme-control select{border:0;background:transparent;padding:2px;font-size:10px;color:inherit;cursor:pointer}
.notification-button{position:relative;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#76816e}.notification-button .icon{width:16px;height:16px}.notification-button.has-alerts{color:#9a5b31;border-color:#e5c3a7;background:#fff7ee}.notification-button>span{position:absolute;right:-5px;top:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#b96538;color:#fff;border:2px solid var(--cream);font-size:8px;font-weight:700;line-height:13px;text-align:center}.credit-alert-banner{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 16px;margin:-4px 0 18px;border:1px solid #e6c5a8;border-radius:9px;background:#fff7ed;color:#8b512e}.credit-alert-banner>.icon:first-child{width:19px;height:19px}.credit-alert-banner>.icon:last-child{margin-left:auto;width:16px;height:16px}.credit-alert-banner span{display:flex;flex-direction:column;gap:2px}.credit-alert-banner b{font-size:11px;font-weight:650}.credit-alert-banner small{font-size:9px;color:#a26f4c}.type-tag.alert{background:#fff0df;color:#a35a2e}.alert-pending{border-left:3px solid #ce8757;padding-left:13px}
.purchase-lines{border:1px solid var(--line);border-radius:10px;padding:14px;background:#f8faf5}.purchase-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.purchase-lines-heading>span{font-size:10px;color:#627553;font-weight:650}.purchase-item{display:grid;grid-template-columns:minmax(150px,1.5fr) 85px 125px 92px 32px;gap:9px;align-items:end;padding:11px 0;border-top:1px solid var(--line)}.purchase-item label{display:flex;flex-direction:column;gap:5px;min-width:0}.purchase-item label>span,.purchase-subtotal>span{font-size:9px;color:#839373}.purchase-item input,.purchase-item select{width:100%;min-height:40px}.purchase-subtotal{display:flex;min-height:40px;flex-direction:column;justify-content:center;align-items:flex-end;gap:2px}.purchase-subtotal b{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.purchase-remove{height:40px}.purchase-remove:disabled{opacity:.25;cursor:not-allowed}.modal-actions .button:disabled{opacity:.45;cursor:not-allowed}
html[data-theme="dark"]{--green:#73bb8f;--green-2:#8ac8a2;--ink:#e7efe9;--muted:#9baaa1;--line:#304239;--surface:#18231e;--cream:#101915;--lime:#dceaac;--sage:#91ad9a;--orange:#d0a363;color:#e7efe9;background:#101915}html[data-theme="dark"] body{background:#101915;color:#e7efe9}html[data-theme="dark"] .sidebar{background:#131f19}html[data-theme="dark"] .topbar,html[data-theme="dark"] .sidebar nav{background:#121d18f5}html[data-theme="dark"] .panel,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .modal,html[data-theme="dark"] .business-switch,html[data-theme="dark"] .button.secondary,html[data-theme="dark"] .search-input,html[data-theme="dark"] .period-control,html[data-theme="dark"] .theme-control,html[data-theme="dark"] .category-list,html[data-theme="dark"] input,html[data-theme="dark"] select{background:#18251f;color:#e4eee7;border-color:#304239}html[data-theme="dark"] .stat-card.featured{background:#205c45;border-color:#34745a}html[data-theme="dark"] .side-note,html[data-theme="dark"] .demo-banner,html[data-theme="dark"] .insight-panel,html[data-theme="dark"] .form-explainer{background:#1a2a22;border-color:#304239}html[data-theme="dark"] .nav-item.active,html[data-theme="dark"] .tabs button.selected,html[data-theme="dark"] .report-line.total,html[data-theme="dark"] .count,html[data-theme="dark"] .product-symbol,html[data-theme="dark"] .movement-icon,html[data-theme="dark"] .stock-badge,html[data-theme="dark"] .type-tag,html[data-theme="dark"] input[readonly]{background:#22352b;color:#b9d7c2;border-color:#355044}html[data-theme="dark"] th{background:#14211b;color:#9fb0a5}html[data-theme="dark"] td{border-color:#293b32}html[data-theme="dark"] .donut>div{background:#18251f}html[data-theme="dark"] .chart-wrap line{stroke:#304239}html[data-theme="dark"] .axis{fill:#91a49a}html[data-theme="dark"] .report-line b,html[data-theme="dark"] .cash-row b,html[data-theme="dark"] .breadcrumbs b{color:#b9d7c2}html[data-theme="dark"] .page-heading p,html[data-theme="dark"] .panel-heading p,html[data-theme="dark"] .stat-caption,html[data-theme="dark"] .movement-cell small,html[data-theme="dark"] .date-cell,html[data-theme="dark"] .chart-foot,html[data-theme="dark"] .small-label,html[data-theme="dark"] .page-footer,html[data-theme="dark"] .table-bottom,html[data-theme="dark"] .report-note,html[data-theme="dark"] .helper-note{color:#9aaca1}html[data-theme="dark"] input::placeholder{color:#788c81}html[data-theme="dark"] #toast{background:#dceadf;color:#14231b}@media(max-width:700px){.theme-control{padding:4px 6px}.theme-control select{max-width:92px;font-size:9px}html[data-theme="dark"] .sidebar{background:#121d18}html[data-theme="dark"] .topbar{background:#101915}}
html[data-theme="dark"] .purchase-lines{background:#14211b;border-color:#304239}html[data-theme="dark"] .purchase-lines-heading>span,html[data-theme="dark"] .purchase-item label>span,html[data-theme="dark"] .purchase-subtotal>span{color:#9aaca1}@media(max-width:700px){.purchase-lines{padding:11px}.purchase-lines-heading{align-items:flex-start}.purchase-lines-heading .button{width:auto;padding:8px 9px;font-size:9px;min-height:34px}.purchase-item{grid-template-columns:1fr 1fr;gap:10px}.purchase-item label:first-child{grid-column:1/-1}.purchase-subtotal{align-items:flex-start}.purchase-remove{justify-self:end;align-self:end}.modal.wide{width:100%}}
html[data-theme="dark"] .notification-button{background:#18251f;border-color:#304239;color:#a9b8af}html[data-theme="dark"] .notification-button.has-alerts,html[data-theme="dark"] .credit-alert-banner{background:#31251d;border-color:#67442f;color:#efb78f}html[data-theme="dark"] .credit-alert-banner small{color:#c59574}html[data-theme="dark"] .notification-button>span{border-color:#101915}@media(max-width:700px){.notification-button{width:28px;height:28px}.notification-button .icon{width:14px;height:14px}.credit-alert-banner{padding:12px;margin-bottom:16px}.credit-alert-banner b{font-size:10px}.credit-alert-banner small{font-size:8px}.topbar-right{gap:8px}}
.ratios-section{margin:24px 0}.ratios-heading{margin-bottom:14px}.ratios-heading h2{font-size:19px;margin:6px 0 4px}.ratios-heading p{font-size:10px;color:#7d8877;margin:0}.ratios-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ratio-card{padding:19px;min-height:190px;display:flex;flex-direction:column}.ratio-label{font-size:10px;color:#718064;font-weight:650;min-height:30px}.ratio-card strong{font-size:27px;line-height:1.1;letter-spacing:-.7px;color:var(--green);font-weight:620;margin:13px 0 10px;font-variant-numeric:tabular-nums}.ratio-card strong small{font-size:10px;letter-spacing:0;margin-left:4px;font-weight:550;color:#7d8d72}.ratio-card p{font-size:10px;line-height:1.65;color:#7b8971;margin:0 0 14px}.ratio-card>div{font-size:8px;color:#98a391;border-top:1px solid var(--line);padding-top:10px;margin-top:auto}.ratio-card.ratio-empty strong{font-size:20px;color:#8f9a89}.ratio-card.ratio-empty p{color:#8f998a}html[data-theme="dark"] .ratio-card strong{color:#9bd0ad}html[data-theme="dark"] .ratio-card strong small,html[data-theme="dark"] .ratios-heading p,html[data-theme="dark"] .ratio-card p{color:#9aaca1}@media(max-width:1100px){.ratios-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.ratios-section{margin:19px 0}.ratios-heading h2{font-size:17px}.ratios-heading p{font-size:9px;line-height:1.6}.ratios-grid{grid-template-columns:1fr 1fr;gap:10px}.ratio-card{padding:15px;min-height:190px}.ratio-label{font-size:9px}.ratio-card strong{font-size:23px}.ratio-card p{font-size:9px}.ratio-card>div{font-size:7px}}@media(max-width:390px){.ratios-grid{grid-template-columns:1fr}.ratio-card{min-height:160px}}@media print{.ratios-section{break-inside:avoid}.ratios-grid{grid-template-columns:repeat(4,1fr);gap:9px}.ratio-card{min-height:145px;padding:12px}.ratio-card strong{font-size:19px}.ratio-card p{font-size:8px}}
.journal-lines{border:1px solid var(--line);border-radius:10px;padding:14px;background:#f8faf5}.journal-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.journal-lines-heading>div{display:flex;flex-direction:column;gap:2px}.journal-lines-heading span{font-size:10px;color:#627553;font-weight:650}.journal-lines-heading small{font-size:8px;color:#8c9a82}.journal-item{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(100px,.7fr) minmax(100px,.7fr) 34px;gap:9px;align-items:end;padding:10px 0;border-top:1px solid var(--line)}.journal-item label{display:flex;flex-direction:column;gap:5px;min-width:0}.journal-item label>span{font-size:9px;color:#839373}.journal-item input,.journal-item select{width:100%;min-height:40px}.journal-remove{height:40px}.journal-remove:disabled{opacity:.25;cursor:not-allowed}.journal-totals{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;color:#7e8d73}.journal-totals span{display:flex;align-items:center;gap:5px}.journal-totals b{font-size:12px;color:var(--ink);font-variant-numeric:tabular-nums}.journal-totals strong{font-size:9px;color:#a36d4b;background:#fff3e9;border-radius:5px;padding:5px 8px}.journal-totals strong.balanced{color:#547a47;background:#eaf3e3}html[data-theme="dark"] .journal-lines{background:#14211b;border-color:#304239}html[data-theme="dark"] .journal-lines-heading span,html[data-theme="dark"] .journal-lines-heading small,html[data-theme="dark"] .journal-item label>span{color:#9aaca1}html[data-theme="dark"] .journal-totals strong{background:#34251d;color:#e6ad85}html[data-theme="dark"] .journal-totals strong.balanced{background:#20382a;color:#a8d5b4}@media(max-width:700px){.journal-lines{padding:11px}.journal-lines-heading{align-items:flex-start}.journal-lines-heading .button{width:auto;padding:8px 9px;font-size:9px;min-height:34px}.journal-item{grid-template-columns:1fr 1fr}.journal-item label:first-child{grid-column:1/-1}.journal-remove{grid-column:2;justify-self:end}.journal-totals{flex-wrap:wrap;gap:8px 14px;justify-content:space-between}.journal-totals strong{flex-basis:100%;text-align:center}}
.product-profit-panel{margin-bottom:24px}.product-profit-panel .panel-heading{padding-bottom:17px}.profit-table{min-width:740px}.profit-table th:not(:first-child),.profit-table td:not(:first-child){font-variant-numeric:tabular-nums}.profit-product{display:flex;align-items:center;gap:10px}.profit-product b{font-size:11px;font-weight:600;white-space:normal}.profit-rank{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#eaf1e3;color:#5f7d4c;font-size:9px;font-weight:700;flex-shrink:0}.profit-table tbody tr:first-child{background:#fbfdf8}.profit-table tbody tr:first-child .profit-rank{background:var(--green);color:#fff}.positive{color:#4f7c48}.margin-badge{display:inline-block;min-width:56px;padding:5px 7px;border-radius:6px;background:#eaf3e3;color:#527849;font-size:10px;font-weight:650;text-align:center}.margin-badge.loss{background:#fff0e8;color:#a45f42}.profit-note{border-top:1px solid var(--line);padding:12px 22px;font-size:9px;color:#7d8974;line-height:1.6}html[data-theme="dark"] .profit-table tbody tr:first-child{background:#1a2922}html[data-theme="dark"] .profit-rank{background:#263c31;color:#a9cdb3}html[data-theme="dark"] .profit-table tbody tr:first-child .profit-rank{background:#458060;color:#fff}html[data-theme="dark"] .margin-badge{background:#203b2b;color:#a8d5b4}html[data-theme="dark"] .margin-badge.loss{background:#3a261e;color:#e3a17f}html[data-theme="dark"] .positive{color:#91c6a1}@media(max-width:700px){.product-profit-panel{margin-bottom:17px}.product-profit-panel .panel-heading{align-items:flex-start}.product-profit-panel .small-label{display:none}.profit-table th,.profit-table td{padding-left:13px;padding-right:13px}.profit-note{padding:11px 14px;font-size:8px}}
.cashflow-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.cashflow-summary article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 21px;display:flex;flex-direction:column}.cashflow-summary article.featured{background:#eef4e8;border-color:#d9e5cf}.cashflow-summary span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#718064;font-weight:650}.cashflow-summary strong{font-size:25px;line-height:1.2;margin:9px 0 5px;font-weight:620;font-variant-numeric:tabular-nums}.cashflow-summary small{font-size:9px;color:#8a9585}.cashflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.cashflow-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:315px}.cashflow-card-heading{padding:19px 19px 15px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cashflow-card-heading p{font-size:9px;color:#82907d;margin:6px 0 0;line-height:1.5}.cashflow-direction{font-size:8px;white-space:nowrap;border-radius:5px;padding:4px 6px;background:#eaf3e3;color:#557d4f}.cashflow-direction.out{background:#fff0e8;color:#a45f42}.cashflow-lines{padding:7px 19px;flex:1}.cashflow-line{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #eef0ea;font-size:10px}.cashflow-line span{color:#687767}.cashflow-line b{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.cashflow-empty{font-size:10px;color:#98a293;text-align:center;padding:42px 10px}.cashflow-total{border-top:1px solid var(--line);padding:15px 19px;display:flex;justify-content:space-between;align-items:center;font-size:10px}.cashflow-total strong{font-size:15px;font-variant-numeric:tabular-nums}.cashflow-reconciliation{padding:21px 23px;display:grid;grid-template-columns:1.4fr 2fr auto;gap:24px;align-items:center;margin-bottom:16px}.cashflow-reconciliation h2{font-size:17px;margin:5px 0}.cashflow-reconciliation p{font-size:9px;color:#7f8c79;margin:0}.cashflow-equation{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-size:10px;font-variant-numeric:tabular-nums}.cashflow-equation span{padding:7px 8px;background:#f5f7f1;border-radius:5px}.cashflow-equation i{font-style:normal;color:#98a292}.cashflow-equation strong{font-size:13px;color:var(--green)}html[data-theme="dark"] .cashflow-summary article{background:#17231d;border-color:#304239}html[data-theme="dark"] .cashflow-summary article.featured{background:#20352a}html[data-theme="dark"] .cashflow-summary small,html[data-theme="dark"] .cashflow-card-heading p,html[data-theme="dark"] .cashflow-reconciliation p{color:#9aaca1}html[data-theme="dark"] .cashflow-line{border-color:#2a3a32}html[data-theme="dark"] .cashflow-line span{color:#a3b2a9}html[data-theme="dark"] .cashflow-direction{background:#203b2b;color:#a8d5b4}html[data-theme="dark"] .cashflow-direction.out{background:#3a261e;color:#e3a17f}html[data-theme="dark"] .cashflow-equation span{background:#1d2d25}@media(max-width:1100px){.cashflow-grid{grid-template-columns:1fr}.cashflow-card{min-height:0}.cashflow-reconciliation{grid-template-columns:1fr}.cashflow-equation{justify-content:flex-start}}@media(max-width:700px){.cashflow-summary{grid-template-columns:1fr;gap:9px}.cashflow-summary article{padding:15px 17px}.cashflow-grid{gap:10px}.cashflow-card-heading{padding:16px}.cashflow-lines{padding:5px 16px}.cashflow-total{padding:13px 16px}.cashflow-reconciliation{padding:18px;gap:16px}.cashflow-equation{gap:5px;font-size:9px}}@media print{.cashflow-summary{grid-template-columns:repeat(3,1fr)}.cashflow-grid{grid-template-columns:repeat(3,1fr);gap:9px}.cashflow-card{break-inside:avoid;min-height:260px}.cashflow-reconciliation{break-inside:avoid;grid-template-columns:1.4fr 2fr auto}}
.bank-empty{padding:48px 28px;text-align:center}.bank-empty-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:#e8f0df;color:var(--green);margin:0 auto 18px}.bank-empty h2{font-size:22px;margin:8px 0}.bank-empty p{font-size:11px;color:#829077;max-width:460px;margin:0 auto 22px}.bank-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}.bank-toolbar>label{display:flex;flex-direction:column;gap:6px;min-width:270px}.bank-toolbar>label span{font-size:9px;color:#75866a;font-weight:650}.bank-toolbar>label select{font-size:11px}.bank-toolbar>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.recon-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.recon-summary article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 19px;display:flex;flex-direction:column;min-height:118px}.recon-summary article.featured{background:#edf4e7;border-color:#d6e5cc}.recon-summary article.warning{background:#fff4eb;border-color:#edcfb9}.recon-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#718064;font-weight:650}.recon-summary strong{font-size:22px;line-height:1.2;margin:10px 0 6px;font-weight:620;font-variant-numeric:tabular-nums}.recon-summary small{font-size:9px;color:#8a9585}.reconciliation-report{margin-bottom:18px}.reconciliation-report .panel-heading,.pending-books .panel-heading{padding-bottom:18px}.reconciliation-report h2,.pending-books h2{font-size:18px;margin-top:5px}.recon-actions{display:flex;gap:7px}.recon-equation{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;background:#f3f6ee;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px;color:#708064;flex-wrap:wrap}.recon-equation span{display:flex;gap:7px;align-items:center}.recon-equation b{font-size:12px;color:#35572c}.recon-equation i{font-style:normal;color:#a0aa97}.bank-table{min-width:760px}.bank-table td:nth-child(2) b,.pending-books td:nth-child(2) b{display:block;font-size:11px;font-weight:580;white-space:normal}.bank-reference{display:block;font-size:8px;color:#96a28d;margin-top:3px}.recon-status{display:inline-block;border-radius:5px;padding:4px 7px;font-size:8px;font-weight:650;white-space:nowrap}.recon-status.done{background:#e7f2df;color:#557b4b}.recon-status.suggested{background:#e8eff8;color:#52749a}.recon-status.pending{background:#fff0e5;color:#a16b48}.bank-table-empty{padding:30px}.pending-books{margin-bottom:16px}.recon-count{display:grid;place-items:center;min-width:32px;height:32px;border-radius:9px;background:#edf2e7;color:#587649;font-size:12px;font-weight:700}.match-bank-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#f2f6ed;border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:18px}.match-bank-line span{font-size:9px;color:#84917c}.match-bank-line b{font-size:11px}.match-bank-line strong{font-size:13px;white-space:nowrap}html[data-theme="dark"] .bank-empty-icon,html[data-theme="dark"] .recon-count{background:#20352a}html[data-theme="dark"] .recon-summary article{background:#17231d;border-color:#304239}html[data-theme="dark"] .recon-summary article.featured{background:#20352a}html[data-theme="dark"] .recon-summary article.warning{background:#35261f;border-color:#5b392b}html[data-theme="dark"] .recon-equation,html[data-theme="dark"] .match-bank-line{background:#1a2922;border-color:#304239}html[data-theme="dark"] .recon-equation b{color:#a8d5b4}html[data-theme="dark"] .recon-status.done{background:#203b2b;color:#a8d5b4}html[data-theme="dark"] .recon-status.suggested{background:#1d3043;color:#9fc1e2}html[data-theme="dark"] .recon-status.pending{background:#3a261e;color:#e3a17f}@media(max-width:1100px){.recon-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-toolbar{align-items:flex-start;flex-direction:column}.bank-toolbar>label{width:100%}.bank-toolbar>div{justify-content:flex-start}}@media(max-width:700px){.bank-toolbar>label{min-width:0}.bank-toolbar>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.bank-toolbar>div .button{font-size:9px;padding:9px}.bank-toolbar>div .button:first-child{grid-column:1/-1}.recon-summary{grid-template-columns:1fr 1fr;gap:9px}.recon-summary article{padding:14px;min-height:108px}.recon-summary strong{font-size:18px}.reconciliation-report .panel-heading,.pending-books .panel-heading{align-items:flex-start;flex-direction:column}.recon-actions{width:100%}.recon-actions .button{flex:1}.recon-equation{justify-content:flex-start;padding:13px}.match-bank-line{grid-template-columns:1fr}.bank-table td,.bank-table th{padding-left:13px;padding-right:13px}}@media(max-width:390px){.recon-summary{grid-template-columns:1fr}}@media print{.bank-toolbar,.pending-books,.helper-note,.recon-actions{display:none!important}.recon-summary{grid-template-columns:repeat(4,1fr)}.reconciliation-report{break-inside:auto}.reconciliation-report .panel-heading{padding:14px}.recon-equation{font-size:9px}.bank-table{min-width:0}.bank-table th,.bank-table td{padding:7px 9px;font-size:8px}}
.aging-toggle{display:inline-flex;gap:4px;padding:4px;margin-bottom:16px;border:1px solid var(--line);border-radius:9px;background:#eef2e8}.aging-toggle button{padding:9px 13px;border-radius:6px;color:#74816c;font-size:10px}.aging-toggle button.selected{background:#fff;color:var(--green);font-weight:650;box-shadow:0 1px 4px #173b2510}.aging-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.aging-bucket{display:flex;flex-direction:column;min-width:0;padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:#fff}.aging-bucket>span{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:#76836e;font-weight:650}.aging-bucket strong{margin:9px 0 4px;font-size:17px;font-weight:620;color:#365d42;font-variant-numeric:tabular-nums}.aging-bucket small{font-size:8px;color:#929e8c}.aging-bucket.critical{background:#fff7f0;border-color:#ecd2bd}.aging-bucket.critical strong{color:#a65f3c}.aging-panel,.aging-detail{margin-bottom:18px}.aging-panel .panel-heading,.aging-detail .panel-heading{padding-bottom:17px}.aging-table{min-width:850px}.aging-table td:first-child b{display:block;font-weight:620}.aging-table td:first-child small{display:block;color:#91a087;font-size:8px;margin-top:3px}.aging-table tfoot td{background:#f4f7ef;border-top:1px solid #dae3d2;font-weight:650;color:#405b38}.aging-overdue{color:#a25d3e;font-weight:650}.aging-detail table{min-width:870px}.aging-status{display:inline-block;padding:5px 7px;border-radius:6px;background:#edf3e8;color:#5e7b52;font-size:9px}.aging-status.days30{background:#fff5df;color:#90713d}.aging-status.days60,.aging-status.days90{background:#fff0e3;color:#a1623f}.aging-status.older{background:#fbe7df;color:#a34c35;font-weight:650}html[data-theme="dark"] .aging-toggle{background:#14211b}html[data-theme="dark"] .aging-toggle button.selected,html[data-theme="dark"] .aging-bucket{background:#18251f}html[data-theme="dark"] .aging-bucket.critical{background:#30241d;border-color:#604533}html[data-theme="dark"] .aging-bucket strong{color:#a9d2b5}html[data-theme="dark"] .aging-bucket.critical strong{color:#e3a17f}html[data-theme="dark"] .aging-table tfoot td{background:#1d2d25;color:#bad4c2}html[data-theme="dark"] .aging-status{background:#20372a;color:#aed1b7}html[data-theme="dark"] .aging-status.days30,html[data-theme="dark"] .aging-status.days60,html[data-theme="dark"] .aging-status.days90,html[data-theme="dark"] .aging-status.older{background:#38271f;color:#e5aa84}@media(max-width:950px){.aging-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.tabs{overflow-x:auto;max-width:100%;padding-bottom:2px}.tabs button{flex:0 0 auto}.aging-toggle{display:flex}.aging-toggle button{flex:1;padding:9px 8px}.aging-summary{grid-template-columns:1fr 1fr;gap:9px}.aging-bucket{padding:14px}.aging-bucket strong{font-size:15px}.aging-panel .small-label,.aging-detail .small-label{display:none}.aging-table th,.aging-table td,.aging-detail th,.aging-detail td{padding-left:13px;padding-right:13px}}@media print{.aging-toggle,.helper-note{display:none!important}.aging-summary{grid-template-columns:repeat(5,1fr);gap:7px}.aging-bucket{padding:10px;break-inside:avoid}.aging-bucket strong{font-size:12px}.aging-panel,.aging-detail{break-inside:avoid}.aging-table,.aging-detail table{min-width:0;font-size:8px}.aging-table th,.aging-table td,.aging-detail th,.aging-detail td{padding:7px 6px}}

.expandable-view{position:relative}.expand-button{position:absolute;z-index:5;top:10px;right:10px;display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:6px 9px;border:1px solid #d8e1d0;border-radius:7px;background:#f8faf5eF;color:#567447;font-size:9px;font-weight:650;box-shadow:0 2px 8px #193a2510}.expand-button .icon{width:13px;height:13px}.panel-heading{padding-right:105px}.fullscreen-open{overflow:hidden}.fullscreen-overlay{position:fixed;inset:0;z-index:500;display:flex;flex-direction:column;background:var(--cream);color:var(--ink);width:100vw;height:100dvh;overflow:hidden}.fullscreen-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(14px,3vw,34px);background:#fbfcf8;border-bottom:1px solid var(--line);box-shadow:0 4px 18px #173b2510}.fullscreen-header span{font-size:8px;letter-spacing:1.4px;color:#7d8c74;font-weight:650}.fullscreen-header h2{font-size:clamp(17px,3vw,24px);margin:2px 0 0}.fullscreen-close{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d8e1d0;border-radius:8px;background:#fff;color:#426039;font-size:10px;font-weight:650}.fullscreen-close .icon{width:16px;height:16px}.fullscreen-content{flex:1;min-height:0;overflow:auto;padding:clamp(12px,3vw,32px);overscroll-behavior:contain}.fullscreen-preview{width:100%;max-width:1500px;margin:0 auto}.fullscreen-preview.expandable-view{position:static}.fullscreen-preview.panel{overflow:visible}.fullscreen-preview .table-scroll{overflow:visible}.fullscreen-preview table{width:100%;min-width:0!important;table-layout:fixed;white-space:normal}.fullscreen-preview th,.fullscreen-preview td{padding:clamp(5px,1vw,12px) clamp(4px,1vw,14px);overflow-wrap:anywhere;word-break:normal}.fullscreen-preview .reports-grid,.fullscreen-preview.reports-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fullscreen-preview.cashflow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.fullscreen-preview.cashflow-card{max-width:1000px}.fullscreen-preview.aging-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.fullscreen-preview.recon-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.fullscreen-preview.ratios-section .ratios-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fullscreen-preview.cash-report{grid-template-columns:1.25fr repeat(4,minmax(0,1fr))}.fullscreen-preview .chart-wrap svg{max-height:70vh}html[data-theme="dark"] .expand-button,html[data-theme="dark"] .fullscreen-close{background:#17231d;border-color:#304239;color:#a8d5b4}html[data-theme="dark"] .fullscreen-header{background:#121d18}html[data-theme="dark"] .fullscreen-overlay{background:#101915}@media(max-width:700px){.expand-button{top:8px;right:8px;min-height:28px;padding:5px 7px}.expand-button span{display:none}.panel-heading{padding-right:52px}.fullscreen-header{padding:10px 12px}.fullscreen-close{padding:9px}.fullscreen-close span{display:none}.fullscreen-content{padding:10px}.fullscreen-preview{font-size:10px}.fullscreen-preview .panel-heading{padding:14px 44px 12px 12px}.fullscreen-preview h2{font-size:14px}.fullscreen-preview .reports-grid,.fullscreen-preview.reports-grid{grid-template-columns:1fr}.fullscreen-preview.cashflow-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.fullscreen-preview.cashflow-summary article{padding:10px 8px}.fullscreen-preview.cashflow-summary strong{font-size:14px}.fullscreen-preview.aging-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.fullscreen-preview .aging-bucket{padding:8px 5px}.fullscreen-preview .aging-bucket>span{font-size:6px;letter-spacing:0}.fullscreen-preview .aging-bucket strong{font-size:10px}.fullscreen-preview .aging-bucket small{font-size:6px}.fullscreen-preview.recon-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.fullscreen-preview.recon-summary article{padding:9px 6px;min-height:84px}.fullscreen-preview.recon-summary span,.fullscreen-preview.recon-summary small{font-size:6px}.fullscreen-preview.recon-summary strong{font-size:12px}.fullscreen-preview.ratios-section .ratios-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.fullscreen-preview .ratio-card{min-height:150px;padding:11px}.fullscreen-preview.cash-report{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px}.fullscreen-preview table{font-size:7px}.fullscreen-preview th,.fullscreen-preview td{padding:6px 3px}.fullscreen-preview .movement-cell,.fullscreen-preview .profit-product{gap:4px}.fullscreen-preview .profit-rank{width:18px;height:18px}.fullscreen-preview .bank-table .button,.fullscreen-preview .bank-table .icon-button{display:none}.fullscreen-preview .recon-equation{padding:9px 5px;gap:4px;font-size:7px}.fullscreen-preview .recon-equation b{font-size:8px}.fullscreen-preview .chart-wrap{padding:0 4px}.fullscreen-preview .chart-foot{margin:0 8px}.fullscreen-preview .donut{width:170px;height:170px}.fullscreen-preview .donut>div{width:126px;height:126px}}@media print{.expand-button,.fullscreen-overlay{display:none!important}}
.panel-heading{padding-right:23px}.expandable-view>.panel-heading,.expandable-view>.cashflow-card-heading{padding-right:105px}.cashflow-summary.expandable-view,.aging-summary.expandable-view,.recon-summary.expandable-view{padding-top:42px}.cash-report.expandable-view{padding-top:58px}.fullscreen-overlay{height:100vh;height:100dvh}@media(max-width:700px){.expandable-view>.panel-heading,.expandable-view>.cashflow-card-heading{padding-right:52px}.cashflow-summary.expandable-view,.aging-summary.expandable-view,.recon-summary.expandable-view{padding-top:36px}.cash-report.expandable-view{padding-top:48px}}

.brand .app-version{display:inline-block;flex-shrink:0;padding:3px 5px;border-radius:5px;background:var(--green);color:#fff;font-size:10px;font-weight:600;letter-spacing:0;line-height:1;white-space:nowrap}

.chart-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0 18px}.chart-controls label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--muted)}.chart-controls select,.chart-controls input{min-height:36px;max-width:145px;padding:7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:11px}.chart-controls .chart-range-error{flex-basis:100%;color:#c65f55;font-size:11px}.chart-point:focus-visible{outline:2px solid currentColor}.chart-controls .text-button{min-height:36px}@media(max-width:700px){.chart-controls{gap:8px}.chart-controls input{max-width:125px}}

#transaction-form .movement-section{min-width:0;margin:0 0 20px;padding:16px;border:1px solid var(--line);border-radius:10px}#transaction-form .movement-section legend{padding:0 7px;font-size:12px;font-weight:650;color:var(--ink)}#transaction-form .movement-type-search{margin-bottom:4px}#transaction-form .modal-actions{position:sticky;bottom:-26px;background:var(--surface);padding:16px 0;margin-bottom:0;border-top:1px solid var(--line);z-index:2}@media(max-width:700px){#transaction-form .movement-section{padding:13px 10px;margin-bottom:16px}#transaction-form .form-grid{grid-template-columns:1fr}#transaction-form .modal-actions{bottom:-21px}}

.movement-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 24px}.movement-shortcuts button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:10px 8px;background:var(--green);color:#fff;border-radius:8px;font-size:12px;font-weight:600}.movement-shortcuts button .icon{width:17px;height:17px}.movement-picker-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}.movement-picker-tabs button{padding:9px 12px;border:1px solid var(--line);border-radius:7px;font-size:12px}.movement-picker-tabs button.selected{background:var(--green);color:#fff;border-color:var(--green)}.movement-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.movement-choice{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;border:1px solid var(--line);border-radius:10px;padding:16px;background:var(--surface)}.movement-choice>span:nth-child(2){flex:1;min-width:0}.movement-choice b{display:block;font-size:13px;margin-bottom:5px}.movement-choice small{display:block;font-size:11px;color:var(--muted);line-height:1.6}.movement-choice-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:8px;background:var(--green);color:#fff}.movement-choice>.icon{width:15px}.movement-back{display:inline-flex;align-items:center;padding:9px 0;margin:0 0 16px;color:var(--ink);font-size:12px;font-weight:600}.movement-shortcuts button:focus-visible,.movement-choice:focus-visible{outline:3px solid var(--sage);outline-offset:3px}@media(max-width:700px){.movement-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:20px}.movement-shortcuts button{flex-direction:column;font-size:11px;gap:5px;min-height:62px}.movement-shortcuts button:nth-child(3){font-size:10px}.movement-choices{grid-template-columns:1fr}.movement-choice{padding:14px}.movement-picker-tabs button{font-size:11px;padding:8px 10px}}@media print{.movement-shortcuts{display:none}}

.reports-toolbar{flex-wrap:wrap}.reports-toolbar .tabs{flex-wrap:wrap;gap:6px;overflow:visible}.reports-toolbar .tabs button{font-size:14px;font-weight:600;line-height:1.4;min-height:44px;padding:11px 14px;color:var(--ink)}.reports-toolbar .period-control select{font-size:12px}@media(max-width:700px){.reports-toolbar{align-items:flex-start;gap:12px}.reports-toolbar .tabs{width:100%;gap:6px}.reports-toolbar .tabs button{font-size:13px;padding:10px 12px;white-space:normal;text-align:left;flex:0 1 auto}.reports-toolbar .period-control{margin-left:auto}}

.expense-trend-link{width:100%;text-align:left;min-height:40px;border-radius:6px;gap:10px}.expense-trend-link>span{display:flex;align-items:center;gap:7px}.expense-trend-link .icon{width:15px;height:15px;color:var(--green)}.expense-trend-link:hover{background:var(--cream)}.expense-trend-link:focus-visible{outline:2px solid var(--green)}.expense-trend-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px;background:var(--cream);border:1px solid var(--line);border-radius:9px;margin-bottom:20px}.expense-trend-summary strong{font-size:23px;color:var(--ink)}.expense-trend-summary small{flex-basis:100%;color:var(--muted);font-size:12px}.expense-trend-chart{margin-top:8px}@media print{.expense-trend-link .icon{display:none}}

@media(min-width:701px){.movement-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr))}}

.entry-code{font-family:ui-monospace,Consolas,monospace;font-weight:650;color:var(--ink);font-size:11px;white-space:nowrap}

.adjustment-items{display:grid;gap:12px;margin-top:12px}.adjustment-item{display:grid;grid-template-columns:2fr 1fr .7fr 1fr auto;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;align-items:start}.adjustment-item label{display:flex;flex-direction:column;gap:6px;font-size:11px;min-width:0}.adjustment-item small{font-size:10px;color:var(--muted)}.adjustment-item input,.adjustment-item select{width:100%;min-width:0}#adjustment-preview{margin-top:15px;font-size:12px;color:var(--ink)}@media(max-width:700px){.adjustment-item{grid-template-columns:1fr 1fr}.adjustment-item label:first-child{grid-column:1/-1}.adjustment-item .icon-button{justify-self:end}}

.expense-point-readout{min-height:1.5em;margin:0;padding:0 8px 6px;text-align:center;font-weight:650}.expense-trend-point.active{r:7px;stroke:currentColor;stroke-width:2px}.expense-record-voucher{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer}.expense-record-voucher:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.expense-trend-chart svg{touch-action:pan-y}

.sales-chart-shell{position:relative}.sales-chart-readout{position:fixed;z-index:1200;width:max-content;top:4px;left:12px;max-width:calc(100vw - 24px);padding:9px 12px;border-radius:8px;background:var(--ink,#163c30);color:var(--paper,#fff);box-shadow:0 3px 12px #0002;font-size:13px;line-height:1.5;font-weight:650;pointer-events:none;overflow-wrap:anywhere}.sales-chart-readout[hidden]{display:none}.sales-evolution-chart .inspected{stroke:var(--ink,#163c30);stroke-width:2.5;filter:brightness(1.12)}

.purchase-documents{padding:16px;border:1px solid var(--line);border-radius:10px;margin:16px 0;min-width:0}.purchase-documents p{font-size:12px;color:var(--muted);line-height:1.6}.purchase-document-list{display:grid;gap:12px}.purchase-document-list article{padding:12px;border:1px solid var(--line);border-radius:8px;min-width:0}.purchase-document-list b{display:block;overflow-wrap:anywhere}.purchase-document-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.purchase-document-list img{display:block;width:100%;max-height:70vh;object-fit:contain;margin:8px 0}.purchase-document-list summary{cursor:pointer;margin-top:8px}.purchase-document-message:empty{display:none}.purchase-document-tools label{cursor:pointer}.purchase-document-tools label:has(input:disabled){opacity:.5;pointer-events:none}

.igv-controls{margin:16px 0}.igv-toggle{display:flex;align-items:center;gap:10px;line-height:1.6}.igv-toggle input{width:auto;flex-shrink:0}.igv-options{display:grid;gap:12px;margin-top:12px}.igv-options[hidden]{display:none}.igv-options p{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.igv-options .igv-preview{font-weight:650;color:var(--ink);padding:12px;border:1px solid var(--line);border-radius:8px}.igv-report{margin:16px 0;padding:20px}

/* Ranked customer sales: names and exact amounts remain readable on mobile. */
.customer-sales-panel{margin:20px 0;padding:24px}.customer-sales-panel>.panel-heading{padding:0;margin-bottom:20px}.customer-sales-chart{list-style:none;padding:0;margin:6px 0 24px;display:grid;gap:20px}
.customer-sales-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:8px}
.customer-sales-name{min-width:0;overflow-wrap:anywhere}.customer-sales-rank{color:var(--muted);font-variant-numeric:tabular-nums}
.customer-sales-heading strong{white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}
.customer-sales-track{height:12px;border-radius:4px;background:var(--surface,#e8efeb);overflow:hidden}
.customer-sales-track>span{display:block;height:100%;background:var(--accent,var(--green,#087f5b));border-radius:4px}
.customer-sales-note,.customer-sales-empty p{font-size:12px;line-height:1.65;color:var(--muted)}.customer-sales-note{margin:0}.customer-sales-empty{padding:12px 0 22px}
@media(max-width:400px){.customer-sales-heading{gap:10px;font-size:13px}.customer-sales-chart{gap:18px}}

@media(max-width:700px){.customer-sales-panel{padding:20px}.customer-sales-panel>.panel-heading{padding:0}}
