#scope-query[hidden] { display: none !important; }
.daily-report-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.daily-report-page > .daily-report-panel {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.daily-report-query {
  display: grid;
  grid-template-columns: minmax(195px, .9fr) minmax(150px, .65fr) minmax(330px, 1.35fr);
  align-items: center;
  gap: 16px 18px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 22px 24px 20px;
}
.daily-report-query > label,
.daily-report-query > .report-range-field { display: flex; align-items: center; gap: 12px; min-width: 0; color: #87919f; font-size: 12px; white-space: nowrap; }
.daily-report-query > label > span,
.daily-report-query > .report-range-field > span { flex-shrink: 0; }
.report-account-field input[type="search"],
.report-symbol-field select {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 37px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #e1e6ec;
  border-radius: 6px;
  background: #fff;
  color: #475362;
  font-size: 13px;
}
.report-account-field input::placeholder { color: #9ba4af; font-size: 12px; }
.report-account-field input:focus,
.report-symbol-field select:focus { border-color: #c4a465; }
#report-range-controls { display: flex; flex: 1; align-items: center; min-width: 0; max-width: 100%; }
.daily-report-query #custom-range.custom-range.range-picker { flex: 1 1 400px; width: 100%; max-width: 400px; gap: 10px; }
.report-query-message { margin: 0 24px 18px; padding: 10px 13px; border: 1px solid #efd6d0; border-radius: 5px; background: #fff6f3; color: #c57268; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.report-empty-note { margin: 0 24px 18px; padding: 11px 13px; border: 1px solid #e8edf2; border-radius: 5px; background: #f8fafc; color: #9aa3af; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.report-table-scroll { position: relative; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d5dce4 #f7f9fb; }
.daily-report-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; table-layout: fixed; color: #2b3542; font-size: 13px; font-variant-numeric: tabular-nums; }
.daily-report-table th,
.daily-report-table td { overflow: hidden; padding: 18px 24px; border-bottom: 1px solid #f0f2f5; font-size: 13px; text-align: right; vertical-align: middle; text-overflow: ellipsis; white-space: nowrap; }
.daily-report-table thead th { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid #edf0f4; border-bottom: 1px solid #e4e9ef; background: #f2f5f8; color: #657382; font-size: 13px; font-weight: 400; line-height: 1.5; }
.daily-report-table th:first-child,
.daily-report-table td:first-child { position: sticky; z-index: 1; left: 0; width: 28%; background: #fff; text-align: left; box-shadow: inset -1px 0 #edf0f3; }
.daily-report-table .report-count { width: 12%; text-align: center; }
.daily-report-table thead th:first-child { z-index: 2; background: #f2f5f8; }
.daily-report-table tbody th { font-weight: 400; }
.daily-report-table tbody td { background: #fff; }
.daily-report-table tbody tr:hover > th,
.daily-report-table tbody tr:hover > td { background: #fcfaf5; }
.daily-report-table tbody tr:last-child > th,
.daily-report-table tbody tr:last-child > td { border-bottom: 0; }
.daily-report-table td[colspan] { position: static; width: auto; min-width: 0; padding: 28px 18px; color: #9ba4af; text-align: center; box-shadow: none; }
.report-entity { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; }
.daily-report-page .report-name { display: inline-flex; align-items: flex-start; flex-direction: column; max-width: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--gold); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.daily-report-page .report-name:hover { color: #9c7c38; text-decoration: underline; text-underline-offset: 3px; }
.report-entity small,
.report-name small { display: block; max-width: 100%; margin-top: 5px; overflow: hidden; color: #9ba5b1; font-size: 10px; font-weight: 400; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.report-amount { font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-amount.up,
.report-detail-metric strong.up { color: var(--positive, #d35550) !important; }
.report-amount.down,
.report-detail-metric strong.down { color: var(--negative, #23957d) !important; }
.daily-report-table tfoot th,
.daily-report-table tfoot td,
.daily-report-table .report-total-row > th,
.daily-report-table .report-total-row > td { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid #eee4ce; border-bottom: 0; background: #fbf8f0; color: #3d4e5f; font-size: 13px; font-weight: 500; }
.daily-report-table tfoot th:first-child,
.daily-report-table .report-total-row > th:first-child { z-index: 2; background: #fbf8f0; }
.report-table-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14px; min-width: 0; padding: 14px 24px 18px; border-top: 1px solid var(--line); color: #949aa3; font-size: 12px; line-height: 1.6; }
.report-table-footer > span { min-width: 0; overflow-wrap: anywhere; }
.report-client-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.report-detail-metric { min-width: 0; padding: 18px 16px; border: 1px solid #e9edf2; border-radius: 8px; background: #fcfdfe; }
.report-detail-metric > span { display: block; color: #8995a3; font-size: 12px; line-height: 1.5; }
.report-detail-metric strong { display: block; margin-top: 17px; color: #3d4e5f; font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .daily-report-query { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .daily-report-query > .report-range-field { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .daily-report-query { gap: 14px 16px; padding: 20px 16px 18px; }
  .report-query-message,
  .report-empty-note { margin-right: 16px; margin-left: 16px; }
  .daily-report-table th,
  .daily-report-table td { padding-right: 16px; padding-left: 16px; }
  .report-table-footer { padding: 14px 16px 18px; }
}
@media (max-width: 480px) {
  .daily-report-query { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .daily-report-query > label,
  .daily-report-query > .report-range-field { flex-direction: column; align-items: flex-start; gap: 7px; }
  .report-account-field input[type="search"],
  .report-symbol-field select { flex: none; width: 100%; }
  #report-range-controls { flex: none; width: 100%; }
  .daily-report-query #custom-range.custom-range.range-picker { max-width: 100%; gap: 7px; }
  .report-query-message,
  .report-empty-note { margin-right: 16px; margin-left: 16px; padding: 10px 11px; font-size: 11px; }
  .daily-report-table th,
  .daily-report-table td { padding-right: 14px; padding-left: 14px; }
  .daily-report-table th:first-child,
  .daily-report-table td:first-child { width: 28%; padding-left: 16px; }
  .daily-report-page .report-name { font-size: 13px; }
  .report-amount { font-size: 12px; }
  .report-table-footer { font-size: 11px; }
  .report-client-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-detail-metric:first-child { grid-column: 1 / -1; }
  .report-detail-metric { padding: 17px 13px; }
  .report-detail-metric strong { font-size: 21px; }
}
@media print {
  .daily-report-panel { break-inside: auto; }
  .daily-report-query,
  .report-query-message { display: none !important; }
  .report-empty-note { margin: 0 14px 10px; padding: 8px 10px; font-size: 10px; }
  .report-table-scroll { width: 100%; max-width: 100%; overflow: visible; }
  .daily-report-table { width: 100%; min-width: 0; table-layout: fixed; }
  .daily-report-table thead { display: table-header-group; }
  .daily-report-table tfoot { display: table-footer-group; }
  .daily-report-table tr { break-inside: avoid; }
  .daily-report-table th,
  .daily-report-table td { padding: 10px 12px; overflow: visible; font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
  .daily-report-table thead th,
  .daily-report-table tfoot th,
  .daily-report-table tfoot td { padding-top: 10px; padding-bottom: 10px; font-size: 10px; }
  .daily-report-table th:first-child,
  .daily-report-table td:first-child { position: static; width: 28%; padding-left: 14px; box-shadow: none; }
  .daily-report-page .report-name { display: inline-flex !important; overflow: visible; color: #2b3542; font-size: 11px; white-space: normal; text-decoration: none; }
  .report-entity small,
  .report-name small { overflow: visible; font-size: 9px; white-space: normal; }
  .report-amount { font-size: 10px; }
  .report-table-footer { padding: 10px 14px 12px; font-size: 9px; }
}
