﻿/* Snap ERP v3.1 — Executive analytics, accounting and reporting surfaces. */
.executive-heading{position:relative;overflow:hidden;padding:18px 20px;border:1px solid #dfe7f1;border-radius:20px;background:linear-gradient(135deg,#fff,#f7faff);box-shadow:var(--ui-shadow-sm)}.executive-heading::before{content:"";position:absolute;right:-70px;top:-90px;width:220px;height:220px;border-radius:50%;background:#0a7b4e;opacity:.035}.executive-heading h1{font-size:30px!important}.executive-heading p{font-size:10.5px!important}
.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.kpi-card{min-height:118px;padding:16px!important;border-color:#e1e8f1!important;background:linear-gradient(180deg,#fff,#fcfdff)!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}.kpi-card::before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:#cbd5e1}.kpi-card:nth-child(2)::before{background:#0a7b4e}.kpi-card:nth-child(3)::before{background:#059669}.kpi-card:nth-child(4)::before{background:#8b5cf6}.kpi-card:nth-child(5)::before{background:#0284c7}.kpi-card:nth-child(6)::before{background:#f59e0b}.kpi-card:nth-child(7)::before{background:#ef4444}.kpi-card:nth-child(8)::before{background:#0f766e}.kpi-card.accent{background:linear-gradient(145deg,#0f172a,#1e3a8a)!important;box-shadow:0 16px 34px rgba(30,58,138,.18)!important}.kpi-card.accent::before{background:#58c58b}.kpi-card strong{font-size:25px!important;font-variant-numeric:tabular-nums}.kpi-card small{font-size:9px!important}
.dashboard-grid{gap:12px!important}.dashboard-grid .panel{border-color:#e1e8f1;box-shadow:0 8px 26px rgba(15,23,42,.045)}.chart-panel .panel-head,.health-panel .panel-head,.rank-panel .panel-head{background:#fff}.bar-chart{height:300px!important;padding:24px 18px 16px!important}.bar-track{background:linear-gradient(180deg,#f1f5f9,#f8fafc)!important;border:1px solid #edf2f7}.bar-fill{background:linear-gradient(180deg,#58c58b,#0a7b4e)!important;box-shadow:0 10px 22px rgba(10,123,78,.15)!important}.health-row{border-radius:10px;margin:3px 0;padding:11px!important;border-bottom:0!important}.health-row:hover{background:#f8fafc}.rank-row{border-bottom-color:#eef2f6!important}.rank-no{background:#f0f8f3!important;color:#09603d!important}.cash-strip{border-color:#e0e7f0!important;background:#e0e7f0!important;box-shadow:var(--ui-shadow-sm)}.cash-strip>div{background:linear-gradient(180deg,#fff,#fbfdff)!important}

.report-hub{display:grid;gap:14px}.report-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.report-card{position:relative;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;min-height:88px;padding:14px!important;overflow:hidden;border-color:#e0e7f0!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;color:#0f172a!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.report-card:hover{transform:translateY(-2px);border-color:#bfd0f0!important;box-shadow:0 14px 32px rgba(15,23,42,.075)!important}.report-card::after{content:"";position:absolute;left:-26px;bottom:-38px;width:90px;height:90px;border-radius:50%;background:#0a7b4e;opacity:.028}.report-card.featured{border-color:#cbd9ff!important;background:linear-gradient(145deg,#f8fbf9,#f1f8f4)!important}.report-card .report-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f0f8f3;color:#09603d;font-size:16px;font-weight:900}.report-card b{font-size:11px}.report-card i{font-style:normal;color:#94a3b8;font-size:8px;font-weight:850}
.report-note{padding:13px 16px;color:#64748b;font-size:9.5px;background:#fbfcfe!important}

.financial-report-shell{max-width:1320px!important;margin-inline:auto}.financial-report-header{align-items:center!important;margin-bottom:13px!important;padding:17px 18px!important;border:1px solid #e0e7f0!important;border-radius:18px!important;background:linear-gradient(135deg,#fff,#f7faff)!important;box-shadow:var(--ui-shadow-sm)}.financial-report-header h1{font-size:27px!important}.financial-report-header p{font-size:10px!important}.financial-report-kicker{color:#0a7b4e!important}.statement-toolbar{display:flex;gap:7px}.financial-filter{display:grid!important;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;gap:9px!important;margin:0 0 12px!important;padding:11px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--ui-shadow-xs)}.financial-filter label{display:grid;gap:4px;color:#64748b;font-size:8.5px;font-weight:850}.financial-filter input,.financial-filter select{min-height:39px;border:1px solid #dbe3ed;border-radius:9px;background:#f8fafc;padding:7px 9px}.financial-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin-bottom:12px!important}.financial-summary>div{padding:14px!important;border:1px solid #e1e8f1!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--ui-shadow-xs)}.financial-summary span{display:block;color:#64748b;font-size:8.5px}.financial-summary strong{display:block;margin-top:5px;font-size:22px;font-variant-numeric:tabular-nums}.financial-summary small{color:#94a3b8;font-size:8px}.financial-summary .summary-profit{border-color:#bbE6d0!important;background:#f4fbf7!important}.financial-summary .summary-loss{border-color:#fecaca!important;background:#fff6f6!important}.classic-statement{overflow:hidden!important;border:1px solid #dfe6ee!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.05)!important}.classic-statement-meta{display:flex!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding:11px 14px!important;border-bottom:1px solid #e8edf3!important;background:#fafbfd!important;color:#64748b!important;font-size:8.5px!important}.classic-financial-table{margin:0!important}.classic-financial-table th{background:#f5f7fa!important;color:#526076!important;font-size:8.5px!important}.classic-financial-table td{font-size:10.5px!important}.classic-financial-table .section-row td{background:#f0fdf4!important;color:#047857!important;border-top:1px solid #bbE6d0!important;font-weight:900!important}.classic-financial-table .expense-section td,.classic-financial-table .liability-section td{background:#fff7ed!important;color:#b45309!important;border-top-color:#fed7aa!important}.classic-financial-table .equity-section td{background:#f8fafc!important;color:#334155!important}.classic-financial-table .subtotal-row td{background:#fafafa!important;font-weight:900!important}.classic-financial-table .grand-total-row td{background:#0f172a!important;color:#fff!important;font-weight:950!important}.classic-financial-table .grand-total-row.profit-row td{background:#065f46!important}.classic-financial-table .grand-total-row.loss-row td{background:#991b1b!important}.statement-footnote{padding:10px 14px!important;color:#94a3b8!important;font-size:8px!important}

/* Accounting workspace */
.accounting-studio .panel,.journal-studio .panel{border-color:#e0e7f0}.accounting-studio .account-tree,.account-tree{padding:10px}.account-row{border-radius:10px;transition:background .14s ease}.account-row:hover{background:#f8fafc}.account-code{font-variant-numeric:tabular-nums;color:#0a7b4e!important;font-weight:850}.journal-studio .entry-workspace{gap:12px}

@media(max-width:1280px){.report-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}.financial-filter{grid-template-columns:repeat(3,minmax(0,1fr)) auto}}
@media(max-width:1024px){.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.financial-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.financial-filter .btn{width:100%}.financial-summary{grid-template-columns:1fr 1fr 1fr!important}}
@media(max-width:760px){.executive-heading{padding:14px}.kpi-grid{grid-template-columns:1fr 1fr!important}.dashboard-grid-main,.dashboard-grid.three-cols,.dashboard-grid.two-cols{grid-template-columns:1fr!important}.bar-chart{height:245px!important;gap:7px!important;overflow:auto}.bar-column{min-width:48px}.report-cards{grid-template-columns:1fr!important}.report-card{min-height:76px}.financial-report-header{display:grid!important;gap:12px!important}.statement-toolbar{width:100%}.statement-toolbar .btn{flex:1}.financial-summary{grid-template-columns:1fr!important}.classic-statement{overflow:auto!important}.classic-financial-table{min-width:640px}.classic-statement-meta{position:sticky;right:0;left:0}}
@media(max-width:480px){.kpi-grid{grid-template-columns:1fr!important}.kpi-card{min-height:auto}.executive-heading h1{font-size:24px!important}}

.finance-page-v4{align-items:center!important;margin-bottom:12px!important;padding:15px 17px!important;border:1px solid #e0e7f0!important;border-radius:17px!important;background:linear-gradient(135deg,#fff,#f8fbff)!important;box-shadow:var(--ui-shadow-sm)}.finance-page-v4 h1{font-size:25px!important}.finance-page-v4+.form-panel,.finance-page-v4+.search-row{margin-bottom:12px}.statement-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px!important;margin:12px 0!important}.statement-summary>div{padding:13px 14px!important;border:1px solid #e1e8f1!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--ui-shadow-xs)}.statement-summary span{display:block;color:#64748b;font-size:8.5px}.statement-summary strong{display:block;margin-top:5px;font-size:20px;font-variant-numeric:tabular-nums}.finance-page-v4~.table-wrap tfoot th{background:#0f172a;color:#fff;font-weight:900}.report-filter-panel{border-color:#e0e7f0!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--ui-shadow-xs)!important}
@media(max-width:760px){.finance-page-v4{display:grid!important;gap:10px!important}.finance-page-v4 .statement-toolbar{width:100%}.statement-summary{grid-template-columns:1fr!important}}
