.trial-report {
  min-height: 100%;
  padding: 26px;
  background: #eef5ff;
  color: #0f172a;
}

.trial-hero,
.trial-filter-card,
.trial-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .05);
}

.trial-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  margin-bottom: 18px;
}

.trial-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trial-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .2);
}

.trial-brand img,
.trial-brand h1 {
  display: none;
}

.trial-brand span {
  color: #2563eb;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-brand h1 {
  margin: 0;
  color: #132144;
  font-size: 2rem;
  font-weight: 900;
}

.trial-brand p {
  margin: 5px 0 0;
  color: #64748b;
  font-weight: 800;
}

.trial-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trial-actions .btn,
.trial-load-btn {
  min-height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trial-filter-card {
  padding: 16px;
  margin-bottom: 18px;
}

.trial-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.trial-filter-grid label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.trial-filter-grid label > span,
.trial-check span {
  color: #475569;
  font-size: .84rem;
  font-weight: 800;
}

.trial-filter-grid .form-control,
.trial-filter-grid .form-select {
  min-height: 44px;
  border-radius: 14px;
}

.trial-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.trial-card {
  overflow: hidden;
}

.trial-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.trial-card-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 900;
}

.trial-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .9rem;
}

#tb-table {
  min-width: 1040px;
  margin: 0;
  font-size: 13px;
}

#tb-table th,
#tb-table td {
  padding: 11px 12px;
  border-color: rgba(148, 163, 184, .16);
  border-inline-start: 1px solid rgba(148, 163, 184, .18);
  border-inline-end: 1px solid rgba(148, 163, 184, .18);
}

#tb-table thead th {
  color: #475569;
  background: #f8fafc;
  font-weight: 900;
}

#tb-table .debit,
#tb-table .text-primary {
  color: #2563eb !important;
}

#tb-table .credit,
#tb-table .text-danger {
  color: #dc2626 !important;
}

#tb-table tbody tr:hover {
  background: #f8fbff;
}

.tb-account-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
}

.tb-account-link:hover {
  color: #2563eb;
}

.tb-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-inline-end: 6px;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 9px;
  font-weight: 900;
}

.tb-spacer {
  display: inline-flex;
  width: 28px;
}

.tb-tfoot td {
  color: #0f172a;
  background: #f8fafc;
  border-top: 2px solid #cbd5e1 !important;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .trial-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .trial-report { padding: 16px; }
  .trial-hero { align-items: flex-start; flex-direction: column; }
  .trial-filter-grid { grid-template-columns: 1fr; }
  .trial-actions .btn { flex: 1 1 auto; }
}

@media print {
  .navbar,
  .acc-sidebar,
  .acc-mobile-menu-btn,
  .acc-sidebar-backdrop,
  .no-print {
    display: none !important;
  }
  .app-wrapper { display: block !important; }
  .app-content { padding: 0 !important; background: #fff !important; }
  .trial-report { padding: 0 !important; background: #fff !important; }
  .trial-brand img {
    display: block;
  }
  .trial-brand h1 {
    display: block;
  }
  .trial-hero,
  .trial-card {
    box-shadow: none !important;
    border-color: #d1d5db !important;
  }
}
