/* Q56 finance-only presentation. Live forms are retained when changing tabs. */
.classic #financeDesk { color:#252525; }
.classic #financeDesk .fd-toolbar { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px; margin:0 0 12px; border-bottom:1px solid #ccc; }
.classic #financeDesk .fd-tabs { flex:1 1 auto; gap:0; padding:0; margin:0; }
.classic #financeDesk .fd-tabs button { min-height:38px; padding:8px 14px; border:1px solid transparent; border-bottom:2px solid transparent; border-radius:0; background:#fff; color:#333; font-size:14px; }
.classic #financeDesk .fd-tabs button.active { color:#165c9a; border-color:#d1d1d1; border-bottom-color:#165c9a; background:#f5f5f5; font-weight:600; }
.classic #financeDesk #fd-refresh { flex:0 0 auto; margin:0 0 6px auto; background:#fff; color:#333; border:1px solid #bbb; }
.classic #financeDesk .fd-pane { margin:0; padding:16px; border:1px solid #ccc; background:#fff; }
.classic #financeDesk .fd-pane h2 { font-size:17px; margin-bottom:14px; }
.classic #financeDesk .fd-summary { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0 0 12px; border-color:#d4d4d4; background:#fafafa; }
.classic #financeDesk .fd-summary>div { padding:8px 12px; gap:6px 10px; border-color:#ddd; }
.classic #financeDesk .fd-summary span { font-size:14px; color:#555; }
.classic #financeDesk .fd-summary strong { font-size:17px; color:#222; font-weight:600; }
.classic #financeDesk :is(input,select,textarea) { font-size:15px; border-color:#bdbdbd; background:#fff; }
.classic #financeDesk button { font-size:14px; }
.classic #financeDesk :is(.fd-search,.fd-table-footer) { font-size:14px; }
.classic #financeDesk .fd-grid { min-width:900px; font-size:14px; }
.classic #financeDesk .fd-grid :is(th,td) { padding:8px 10px; border-color:#d7d7d7; }
.classic #financeDesk .fd-grid th { background:#f0f0f0; color:#333; }
.classic #financeDesk .fd-grid tbody tr:nth-child(even) { background:#fafafa; }
.classic #financeDesk .fd-grid tbody tr:hover { background:#f3f6f9; }
.classic #financeDesk .fd-pane .section-intro { border:0; border-bottom:1px solid #ddd; border-radius:0; background:#fff; padding:0 0 12px; }
.classic #financeDesk .fd-pane .section-intro p { color:#555; font-size:14px; line-height:1.6; }
.classic #financeDesk .profit-intro>strong { color:#333; font-size:23px; }
.classic #financeDesk .profit-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; border:1px solid #d4d4d4; }
.classic #financeDesk .profit-metrics .metric-card { min-height:0; padding:10px 12px; border:0; border-right:1px solid #ddd; border-radius:0; box-shadow:none; background:#fafafa; }
.classic #financeDesk .profit-metrics .metric-card:last-child { border-right:0; }
.classic #financeDesk .profit-metrics strong { font-size:19px; color:#333; }
.classic #financeDesk .profit-metrics :is(span,small) { color:#555; font-size:13px; }
.classic #financeDesk .negative-money { color:#a22 !important; }
.classic #financeDesk .finance-export { margin:0; }
.classic #financeDesk .fd-pane>.panel+.panel { border-color:#ddd; }
@media(max-width:700px) {
  .classic #financeDesk .fd-toolbar { gap:4px; }
  .classic #financeDesk .fd-tabs { flex-basis:100%; }
  .classic #financeDesk .fd-tabs button { min-height:44px; padding:8px 10px; flex:1 1 auto; }
  .classic #financeDesk #fd-refresh { min-height:44px; }
  .classic #financeDesk .fd-pane { padding:12px; }
  .classic #financeDesk .fd-summary,.classic #financeDesk .profit-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .classic #financeDesk .fd-summary>div { padding:8px; }
  .classic #financeDesk .fd-grid :is(th,td):first-child { background:#f5f5f5; }
  .classic #financeDesk .profit-metrics .metric-card { border-bottom:1px solid #ddd; }
}
