.loans-page {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.loan-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.loan-stat {
  background: white;
  padding: 18px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.loan-stat span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 10px;
}

.loan-stat strong {
  font-size: clamp(15px, 3.5vw, 22px);
  overflow-wrap: anywhere;
}

.loan-stat.outstanding {
  background: #176b45;
  color: white;
}

.loan-stat.outstanding span {
  color: #d1fae5;
}

.loan-panel {
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.loan-panel h3 {
  margin-top: 0;
  color: #176b45;
}

.loan-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loan-panel label {
  font-size: 14px;
  font-weight: 600;
}

.loan-panel input,
.loan-panel select {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  font-size: 16px;
}

.loan-save {
  background: #176b45;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.loan-card {
  background: #f4f7f6;
  padding: 16px;
  margin-top: 15px;
  border-radius: 12px;
}

.loan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.loan-card-header h4 {
  margin: 0;
}

.loan-card p,
.loan-card small {
  color: #64748b;
}

.loan-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
  font-size: 14px;
}

.loan-details strong {
  color: #176b45;
}

.loan-paid,
.loan-active {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.loan-paid {
  background: #dcfce7;
  color: #166534;
}

.loan-active {
  background: #fef3c7;
  color: #92400e;
}

.repayment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}

.loan-delete {
  border: none;
  background: #fee2e2;
  color: #b91c1c;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.delete-loan {
  margin-top: 15px;
}

@media (min-width: 768px) {
  .loan-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.employee-page {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.employee-panel {
  background: white;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.employee-panel h3 {
  margin-top: 0;
  color: #176b45;
}

.employee-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.employee-panel label {
  font-weight: 600;
  font-size: 14px;
}

.employee-panel input,
.employee-panel select {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
  background: white;
}

.employee-save {
  background: #176b45;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
}

.employee-card {
  padding: 16px;
  margin-top: 12px;
  background: #f4f7f6;
  border-radius: 12px;
}

.employee-card h4 {
  margin: 0;
}

.employee-card p {
  color: #64748b;
}

.employee-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.employee-summary strong {
  color: #176b45;
}

.employee-record {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.employee-record p {
  font-size: 13px;
  color: #64748b;
}

.employee-record small {
  color: #64748b;
}

.record-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.employee-delete {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .employee-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ========================================
   BIZMANAGER PROFESSIONAL DESIGN
   ======================================== */

:root {
  --bm-primary: #176b45;
  --bm-primary-dark: #104b32;
  --bm-background: #f4f7f6;
  --bm-surface: #ffffff;
  --bm-text: #172b24;
  --bm-muted: #718078;
  --bm-border: #e4ebe7;
  --bm-radius: 18px;
  --bm-shadow: 0 8px 30px rgba(19, 56, 40, 0.06);
}

/* MAIN APPLICATION */

.app {
  min-height: 100vh;
  background: var(--bm-background);
  color: var(--bm-text);
  padding-bottom: 95px;
}

.app * {
  box-sizing: border-box;
}

.app main {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 24px 18px;
}

/* HEADER */

.header {
  background: linear-gradient(
    135deg,
    #104b32,
    #176b45
  );

  color: white;
  padding: 28px 22px 34px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  border-radius: 0 0 26px 26px;
}

.header h1 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 5px 0 0;
  color: white;
}

.greeting {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
  color: #e4f5ea;
}

.avatar {
  width: 48px;
  height: 48px;

  border-radius: 15px;
  background: rgba(255,255,255,0.16);

  border: 1px solid rgba(255,255,255,0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 16px;
  font-weight: 800;
}

/* WELCOME SECTION */

.welcome {
  margin: 8px 0 26px;
}

.welcome h2 {
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
  color: var(--bm-text);
}

.welcome p {
  margin: 0;
  color: var(--bm-muted);
  font-size: 14px;
}

/* FINANCIAL CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 28px;
}

.card {
  background: var(--bm-surface);
  border-radius: var(--bm-radius);
  padding: 22px 18px;
  box-shadow: var(--bm-shadow);
  border: 1px solid var(--bm-border);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #176b45;
}

.card span {
  display: block;
  font-size: 13px;
  color: var(--bm-muted);
  font-weight: 600;
  margin-bottom: 13px;
}

.card h2 {
  margin: 0;
  font-size: clamp(17px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

.card.income::before {
  background: #16a34a;
}

.card.income h2 {
  color: #15803d;
}

.card.expenses::before {
  background: #ef4444;
}

.card.expenses h2 {
  color: #dc2626;
}

.card.profit::before {
  background: #2563eb;
}

.card.profit h2 {
  color: #1d4ed8;
}

.card.payments::before {
  background: #f59e0b;
}

.card.payments h2 {
  color: #92400e;
}

/* TRANSACTIONS */

.transactions {
  background: var(--bm-surface);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  padding: 22px;
  box-shadow: var(--bm-shadow);
}

.transactions h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--bm-text);
  margin: 0 0 20px;
}

.transaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  padding: 17px 0;
  border-bottom: 1px solid var(--bm-border);
}

.transaction:last-child {
  border-bottom: none;
}

.transaction strong {
  display: block;
  font-size: 14px;
  color: var(--bm-text);
  margin-bottom: 5px;
}

.transaction p {
  font-size: 12px;
  color: var(--bm-muted);
  margin: 0;
}

.transaction-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.positive {
  color: #15803d;
  font-size: 14px;
  font-weight: 800;
}

.negative {
  color: #dc2626;
  font-size: 14px;
  font-weight: 800;
}

.delete-btn {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

/* FORMS */

.transactions form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.transactions label {
  font-size: 13px;
  font-weight: 700;
  color: var(--bm-text);
}

.transactions input {
  width: 100%;
  padding: 14px 15px;
  background: #f9fbfa;
  border: 1px solid #d8e3dd;
  border-radius: 11px;
  font-size: 16px;
  color: var(--bm-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.transactions input:focus {
  background: white;
  border-color: var(--bm-primary);
  box-shadow: 0 0 0 3px rgba(23,107,69,0.1);
}

.save-btn {
  background: linear-gradient(
    135deg,
    #176b45,
    #104b32
  );

  color: white;
  border: none;
  padding: 15px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 800;
  margin-top: 10px;
  cursor: pointer;
}

/* BOTTOM NAVIGATION */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;

  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 3px;

  padding: 10px 8px max(10px, env(safe-area-inset-bottom));

  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--bm-border);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.04);
}

.bottom-nav button {
  flex: 1;
  min-width: 0;

  background: transparent;
  color: #77867e;

  border: none;
  border-radius: 11px;

  padding: 13px 4px;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.bottom-nav button.active {
  background: #e5f4eb;
  color: var(--bm-primary);
}

/* TABLET AND DESKTOP */

@media (min-width: 768px) {
  .header {
    padding: 30px 8%;
  }

  .app main {
    padding: 32px 30px;
  }

  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .bottom-nav {
    max-width: 800px;
    left: 50%;
    right: auto;
    width: 90%;
    transform: translateX(-50%);
    bottom: 18px;
    border: 1px solid var(--bm-border);
    border-radius: 18px;
    box-shadow: var(--bm-shadow);
  }

  .bottom-nav button {
    font-size: 13px;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .app main {
    padding: 18px 12px;
  }

  .cards {
    gap: 10px;
  }

  .card {
    padding: 18px 12px;
  }

  .card h2 {
    font-size: 16px;
  }

  .transactions {
    padding: 16px;
  }

  .bottom-nav button {
    font-size: 10px;
  }
}

/* ===================================
   PROFESSIONAL NAVIGATION ICONS
   =================================== */

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bottom-nav button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.bottom-nav button.active svg {
  transform: translateY(-2px);
}

.bottom-nav button:focus-visible {
  outline: 2px solid #176b45;
  outline-offset: 2px;
}

/* Financial card icons */

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-top span {
  margin-bottom: 0;
}

.card-top svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.card.income .card-top svg {
  color: #15803d;
}

.card.expenses .card-top svg {
  color: #dc2626;
}

.card.profit .card-top svg {
  color: #2563eb;
}

.card.payments .card-top svg {
  color: #d97706;
}

@media (max-width: 380px) {
  .bottom-nav button svg {
    width: 18px;
    height: 18px;
  }

  .card-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Financial analytics */

.financial-chart-panel {
  background: #ffffff;
  border: 1px solid #e4ebe7;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(19, 56, 40, 0.06);
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.chart-heading h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #172b24;
}

.chart-heading p {
  margin: 0;
  color: #718078;
  font-size: 13px;
}

.chart-heading select {
  border: 1px solid #d8e3dd;
  border-radius: 10px;
  padding: 10px;
  background: #f9fbfa;
  color: #172b24;
  font-size: 14px;
}

.chart-container {
  width: 100%;
  min-height: 300px;
}

@media (max-width: 480px) {
  .financial-chart-panel {
    padding: 14px;
  }
}

/* ===================================
   COMPLETE DASHBOARD UPGRADE
   =================================== */

.dashboard-layout {
  display: flex;
  width: 100%;
}

.dashboard-content {
  flex: 1;
  min-width: 0;
}

/* Desktop sidebar */

.desktop-sidebar {
  display: none;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #176b45;
  color: white;
  font-weight: 800;
}

.sidebar-brand strong {
  display: block;
  font-size: 18px;
  color: #172b24;
}

.sidebar-brand small {
  color: #718078;
  font-size: 12px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a39a;
  padding: 12px 22px;
}

.desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
}

.desktop-nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #52645a;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.desktop-nav button.active {
  background: #e5f4eb;
  color: #176b45;
}

.desktop-nav button:hover {
  background: #edf5f0;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 20px 25px;
  padding: 16px;
  background: #f4f7f6;
  border-radius: 12px;
  color: #52645a;
  font-size: 12px;
}

/* Quick actions */

.quick-actions {
  margin-bottom: 24px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #172b24;
}

.section-heading p {
  margin: 0;
  font-size: 13px;
  color: #718078;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-actions-grid button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 17px 14px;
  border: 1px solid #e4ebe7;
  border-radius: 14px;
  background: #ffffff;
  color: #176b45;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(19,56,40,0.04);
}

.quick-actions-grid button span {
  flex: 1;
  text-align: left;
}

.quick-actions-grid button:hover {
  border-color: #176b45;
  background: #f0fdf4;
}

/* Recent activity */

.transaction-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.transaction-info > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.activity-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.income-icon {
  background: #dcfce7;
  color: #15803d;
}

.expense-icon {
  background: #fee2e2;
  color: #dc2626;
}

.recent-note {
  text-align: center;
  color: #718078;
  font-size: 12px;
  padding-top: 12px;
}

.transactions .save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* Desktop layout */

@media (min-width: 1024px) {
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    width: 250px;
    flex-shrink: 0;
    min-height: 100vh;
    background: white;
    border-right: 1px solid #e4ebe7;
  }

  .dashboard-layout .bottom-nav {
    display: none;
  }

  .dashboard-layout {
    padding-bottom: 0;
  }

  .dashboard-content .header {
    border-radius: 0;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Small phones */

@media (max-width: 480px) {
  .quick-actions-grid {
    gap: 10px;
  }

  .quick-actions-grid button {
    padding: 14px 10px;
    font-size: 12px;
  }

  .quick-actions-grid button svg:last-child {
    display: none;
  }

  .transaction {
    align-items: flex-start;
  }

  .transaction-actions {
    max-width: 45%;
  }

  .transaction-actions span {
    overflow-wrap: anywhere;
  }
}
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #0b3d2e, #176b45);
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 30px 24px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.login-logo {
  width: 65px;
  height: 65px;
  margin: 0 auto;
  border-radius: 18px;
  background: #176b45;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.login-card h1 {
  text-align: center;
  color: #123c2d;
  margin: 5px 0;
}

.login-card p {
  text-align: center;
  color: #667085;
}

.login-card label {
  color: #344054;
  font-weight: 600;
}

.login-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.login-card input:focus {
  outline: 2px solid #176b45;
  border-color: transparent;
}

.login-card button {
  margin-top: 10px;
  padding: 14px;
  background: #176b45;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
}

.login-card button:disabled {
  opacity: 0.6;
}

.login-error {
  padding: 12px;
  background: #fee4e2;
  color: #b42318;
  border-radius: 8px;
  font-size: 14px;
}

.login-success {
  padding: 12px;
  background: #dcfce7;
  color: #166534;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.login-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  text-align: center;
  color: #667085;
  font-size: 14px;
}

.login-card .switch-button {
  background: transparent;
  color: #176b45;
  border: none;
  padding: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.login-card .switch-button:hover {
  text-decoration: underline;
}
.approvals-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.approvals-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.approvals-heading h2 {
  color: #176b45;
  margin: 0 0 6px;
}

.approvals-heading p {
  color: #667085;
  margin: 0;
}

.approvals-heading button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #176b45;
  color: white;
  cursor: pointer;
}

.approvals-list {
  display: grid;
  gap: 14px;
}

.approval-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #f9fafb;
}

.approval-card h3 {
  margin: 0 0 6px;
  color: #1f2937;
}

.approval-card p {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: #475467;
}

.approval-card small {
  color: #b45309;
}

.approval-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.approval-actions button {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.approve-button {
  background: #176b45;
}

.reject-button {
  background: #dc2626;
}

.approval-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.approvals-success {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 8px;
}

.approvals-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 8px;
}

.approvals-empty {
  text-align: center;
  padding: 25px;
  color: #667085;
}

@media (max-width: 480px) {
  .approvals-panel {
    padding: 14px;
  }

  .approval-actions {
    flex-direction: column;
  }
}
/* BizManager — Mobile Financial Reports */

.financial-reports-page {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.financial-reports-page h1 {
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #172b24;
}

.financial-reports-page h2 {
  color: #172b24;
  line-height: 1.3;
}

.financial-reports-page section {
  min-width: 0;
  box-sizing: border-box;
}

.financial-reports-page input[type="date"],
.financial-reports-page select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #172b24;
  font-size: 16px;
}

.financial-reports-page button {
  min-height: 44px;
  max-width: 100%;
  touch-action: manipulation;
}

.financial-reports-page button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.financial-reports-page .financial-chart-panel {
  min-width: 0;
  overflow: hidden;
}

.financial-reports-page .chart-container {
  min-width: 0;
  width: 100%;
}

.financial-reports-page table {
  border-collapse: collapse;
  font-size: 14px;
}

.financial-reports-page th,
.financial-reports-page td {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .financial-reports-page {
    padding: 12px !important;
    margin: 10px auto !important;
  }

  .financial-reports-page h1 {
    font-size: 26px;
  }

  .financial-reports-page h2 {
    font-size: 20px;
  }

  .financial-reports-page section {
    padding: 14px !important;
  }

  .financial-reports-page .financial-chart-panel {
    padding: 12px !important;
  }

  .financial-reports-page .chart-heading {
    align-items: stretch;
  }

  .financial-reports-page .chart-heading select {
    width: 100%;
  }

  .financial-reports-page .chart-container {
    min-height: 260px;
  }

  .financial-reports-page table {
    font-size: 12px;
  }

  .financial-reports-page th,
  .financial-reports-page td {
    padding: 8px !important;
  }
}
:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}

/* BizManager: readable form fields */
input,
textarea,
select {
  color: #1f2937;
  background-color: #ffffff;
  border: 1px solid #9ca3af;
  caret-color: #176b45;
  color-scheme: light;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #176b45;
  outline-offset: 1px;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f3f4f6;
  color: #4b5563;
}
