/* ============================================================
   Budget tab redesign — compact, aligned, spreadsheet-feel
   Light mode primary. Loads after main + earlier redesigns.
   ============================================================ */

/* -------- Page-head compact + transparent (no card) -------- */
html body.theme-light:has(.budget-version-panel) .page-head {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 2px 4px 8px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
html body.theme-light:has(.budget-version-panel) .page-head h1 {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -.015em !important;
  color: #0b1430 !important;
  line-height: 1.15 !important;
}
html body.theme-light:has(.budget-version-panel) .page-head .subtitle,
html body.theme-light:has(.budget-version-panel) .page-head > div:first-child .subtitle {
  display: none !important;
}

/* Help button hidden on budget page (consistent with cashflow) */
html body.theme-light:has(.budget-version-panel) .page-head .help-btn {
  display: none !important;
}

/* Top-right action buttons — unified */
html body.theme-light:has(.budget-version-panel) .page-head .actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}
html body.theme-light .budget-head-action {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e3e8f3 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  height: 34px !important;
  min-height: 34px !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
html body.theme-light .budget-head-action:hover {
  background: #f5f7fb !important;
  border-color: #cdd6e8 !important;
  color: #0b1430 !important;
}
html body.theme-light .budget-head-action.primary {
  background: linear-gradient(135deg, #6d4ce8 0%, #4f6dff 100%) !important;
  background-image: linear-gradient(135deg, #6d4ce8 0%, #4f6dff 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(109,76,232,.22) !important;
}

/* -------- Filter panel — single compact bar, no title -------- */
html body.theme-light .budget-filter-panel {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #ecf0f6 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 4px 12px rgba(15,23,42,.03) !important;
  padding: 10px 14px !important;
  margin-bottom: 12px !important;
  backdrop-filter: none !important;
}
html body.theme-light .budget-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  gap: 10px 14px !important;
}
html body.theme-light .budget-filter-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 0 0 auto !important;
  min-width: 140px !important;
}
html body.theme-light .budget-filter-field > span {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
html body.theme-light .budget-filter-field select {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e3e8f3 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #0b1430 !important;
  box-shadow: none !important;
  height: 32px !important;
  min-height: 32px !important;
}
html body.theme-light .budget-filter-version { flex: 0 1 260px !important; min-width: 200px !important; max-width: 280px !important; }
html body.theme-light .budget-filter-version select {
  width: 100% !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

/* -------- Version panel — tighter padding, version meta sits next to title -------- */
html body.theme-light .budget-version-panel {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #ecf0f6 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 6px 16px rgba(15,23,42,.04) !important;
  padding: 12px 14px 14px !important;
  backdrop-filter: none !important;
}
html body.theme-light .budget-control-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid #f1f3f8 !important;
}
html body.theme-light .budget-title-block {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
html body.theme-light .budget-title-block .panel-title {
  font-size: 15px !important;
  font-weight: 650 !important;
  color: #0b1430 !important;
  margin: 0 !important;
}
html body.theme-light .budget-title-block .budget-meta {
  font-size: 11.5px !important;
  color: #64748b !important;
  margin-top: 2px !important;
  font-weight: 500 !important;
}

/* Aligned action group, tight gaps */
html body.theme-light .budget-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
html body.theme-light .budget-act {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e3e8f3 !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  height: 32px !important;
  min-height: 32px !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
html body.theme-light .budget-act:hover {
  background: #f5f7fb !important;
  border-color: #cdd6e8 !important;
  color: #0b1430 !important;
}
html body.theme-light .budget-act.primary {
  background: linear-gradient(135deg, #6d4ce8 0%, #4f6dff 100%) !important;
  background-image: linear-gradient(135deg, #6d4ce8 0%, #4f6dff 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(109,76,232,.22) !important;
}
html body.theme-light .budget-act.budget-act-danger {
  color: #b91c1c !important;
  border: 1px solid rgba(220,38,38,.30) !important;
  background: rgba(220,38,38,.05) !important;
}
html body.theme-light .budget-act.budget-act-danger:hover {
  background: rgba(220,38,38,.10) !important;
  border-color: rgba(220,38,38,.5) !important;
  color: #991b1b !important;
}
html body.theme-light .budget-act-divider {
  width: 1px !important;
  height: 20px !important;
  background: #e3e8f3 !important;
  display: inline-block !important;
  margin: 0 4px !important;
}

/* -------- Table — denser, spreadsheet feel -------- */
html body.theme-light .budget-version-panel .budget-table-wrap {
  overflow: auto !important;
  border: 1px solid #eef0f6 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}
html body.theme-light .budget-version-panel table.budget-grid {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}
html body.theme-light .budget-version-panel table.budget-grid thead th {
  background: #f5f7fb !important;
  background-image: none !important;
  color: #6b7280 !important;
  font-size: 10.5px !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  font-weight: 600 !important;
  border: 0 !important;
  border-bottom: 1px solid #eaecf2 !important;
  padding: 6px 10px !important;
  text-align: left !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
}
html body.theme-light .budget-version-panel table.budget-grid thead th.right { text-align: right !important; }
html body.theme-light .budget-version-panel table.budget-grid thead th .muted { color: #94a3b8 !important; font-weight: 500 !important; }

html body.theme-light .budget-version-panel table.budget-grid tbody td {
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #f3f4f8 !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  height: 32px !important;
}
html body.theme-light .budget-version-panel table.budget-grid tbody tr:hover td {
  background: #fafbfd !important;
}

/* Numeric inputs — spreadsheet style, no rounded box noise */
html body.theme-light .budget-version-panel table.budget-grid input[type="number"],
html body.theme-light .budget-version-panel table.budget-grid input[type="text"],
html body.theme-light .budget-version-panel table.budget-grid input:not([type]) {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0b1430 !important;
  text-align: right !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 26px !important;
  min-height: 26px !important;
  box-shadow: none !important;
  font-variant-numeric: tabular-nums !important;
}
html body.theme-light .budget-version-panel table.budget-grid input:hover {
  border-color: #e3e8f3 !important;
  background: #fafbfd !important;
}
html body.theme-light .budget-version-panel table.budget-grid input:focus {
  outline: none !important;
  border-color: #7a4dff !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(122,77,255,.10) !important;
}

/* Section header rows — lighter, smaller, less weight */
html body.theme-light .budget-version-panel table.budget-grid tbody tr.bud-section-head td,
html body.theme-light .budget-version-panel table.budget-grid tbody tr[data-section-head] td {
  background: #f8f9fc !important;
  background-image: none !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  color: #475569 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  padding: 6px 10px !important;
  height: 28px !important;
  border-bottom: 1px solid #eef1f6 !important;
}

/* Subtotal/total rows — slightly stronger */
html body.theme-light .budget-version-panel table.budget-grid tbody tr.bud-subtotal td,
html body.theme-light .budget-version-panel table.budget-grid tbody tr.bud-total td {
  background: #fafbfd !important;
  font-weight: 700 !important;
  color: #0b1430 !important;
  border-top: 1px solid #eef1f6 !important;
  border-bottom: 1px solid #eef1f6 !important;
}

/* Account name cell — left aligned, slightly more padding */
html body.theme-light .budget-version-panel table.budget-grid tbody td:first-child {
  padding-left: 14px !important;
  color: #1f2937 !important;
  font-weight: 500 !important;
}
html body.theme-light .budget-version-panel table.budget-grid thead th:first-child {
  padding-left: 14px !important;
}

/* Right-align month and total cells */
html body.theme-light .budget-version-panel table.budget-grid td.right,
html body.theme-light .budget-version-panel table.budget-grid th.right {
  text-align: right !important;
}

/* Make sure the version panel fills available height nicely */
html body.theme-light .budget-version-panel {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}
html body.theme-light .budget-version-panel .budget-table-wrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* ============================================================
   Budget vs Actual report — multi-period compare layout.
   Grouped period headers with Actual + Budget under each one.
   Horizontal scroll stays available at the top when wide.
   ============================================================ */
html body .bva-scroll-shell {
  display: grid !important;
  gap: 8px !important;
}
html body .report-top-scroll {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  max-width: 100% !important;
  height: 14px !important;
  border: 1px solid #e6eaf2 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
  -webkit-overflow-scrolling: touch !important;
}
html body .report-top-scroll__inner {
  height: 1px !important;
}
html body.theme-dark .report-top-scroll {
  border-color: rgba(124,131,200,.26) !important;
  background: linear-gradient(180deg, rgba(30,41,59,.92) 0%, rgba(15,23,42,.96) 100%) !important;
}
html body .bva-multi-period-scroll {
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  border-radius: 12px !important;
}
html body .bva-multi-period-scroll .bva-report {
  min-width: max-content !important;
  width: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
html body .bva-multi-period-scroll .bva-report th,
html body .bva-multi-period-scroll .bva-report td {
  white-space: nowrap !important;
  padding: 7px 12px !important;
  font-size: 12.5px !important;
}
html body .bva-multi-period-scroll .bva-report th.bva-period-head {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  text-align: center !important;
}
html body .bva-multi-period-scroll .bva-report th.bva-subhead {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* Sticky account column so it stays visible while scrolling sideways */
html body .bva-multi-period-scroll .bva-report th.bva-name-col,
html body .bva-multi-period-scroll .bva-report tbody td:first-child {
  position: sticky !important;
  left: 0 !important;
  z-index: 2 !important;
  background: #ffffff !important;
  min-width: 200px !important;
  max-width: 240px !important;
  white-space: normal !important;
  box-shadow: 1px 0 0 #eef0f6 !important;
}
html body .bva-multi-period-scroll .bva-report thead tr:first-child th.bva-name-col {
  z-index: 4 !important;
}
html body .bva-multi-period-scroll .bva-report thead tr:nth-child(2) th {
  top: 33px !important;
  z-index: 3 !important;
}
html body.theme-dark .bva-multi-period-scroll .bva-report th.bva-name-col,
html body.theme-dark .bva-multi-period-scroll .bva-report tbody td:first-child {
  background: #0c1530 !important;
  box-shadow: 1px 0 0 rgba(124,131,200,.20) !important;
}
html body .bva-multi-period-scroll .bva-report tbody tr.section-row td:first-child,
html body .bva-multi-period-scroll .bva-report tbody tr.section-row td {
  background: #f5f7fb !important;
}
html body .bva-multi-period-scroll .bva-report tbody tr.total-row td:first-child {
  background: #fafbfd !important;
}
html body .bva-multi-period-scroll .bva-report tbody tr.total-row.heavy td:first-child {
  background: #f1f3fb !important;
}
html body .bva-multi-period-scroll .bva-report thead tr:nth-child(2) th:nth-child(2n),
html body .bva-multi-period-scroll .bva-report tbody td:nth-child(2n + 1):not(:first-child) {
  border-right: 1px solid #e6e9f2 !important;
}
html body.theme-dark .bva-multi-period-scroll .bva-report thead tr:nth-child(2) th:nth-child(2n),
html body.theme-dark .bva-multi-period-scroll .bva-report tbody td:nth-child(2n + 1):not(:first-child) {
  border-right-color: rgba(124,131,200,.18) !important;
}

/* ============================================================
   General fix: any report table that exceeds the panel width
   gets a horizontal scrollbar instead of pushing the layout
   off-screen. Applies to all report types in compare mode.
   ============================================================ */
html body .report-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
html body .report-wrap > .report,
html body .report-wrap > table.report {
  max-width: none !important;
}

/* ============================================================
   Reports visual refresh — paper-like layout for Reports page
   while preserving report logic and table structure.
   ============================================================ */
html body .report-page-stack .report-wrap{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%) !important;
  border:1px solid #e7edf7 !important;
  border-radius:28px !important;
  box-shadow:0 8px 28px rgba(15,23,42,.05), 0 1px 2px rgba(15,23,42,.04) !important;
  padding:30px 36px 34px !important;
  margin:0 auto 24px !important;
  max-width:min(1180px, calc(100vw - 72px)) !important;
  color:#08152f !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
}
html body .report-page-stack .report-wrap[data-compare-count="0"],
html body .report-page-stack .report-wrap[data-compare-count="1"]{
  max-width:min(1024px, calc(100vw - 72px)) !important;
}
html body .report-page-stack .report-wrap[data-compare-count="0"][data-report-type="cf"],
html body .report-page-stack .report-wrap[data-compare-count="1"][data-report-type="cf"]{
  max-width:min(1080px, calc(100vw - 72px)) !important;
}

html body .report-page-stack .report-wrap .report-head{
  padding:0 0 24px !important;
  margin:0 0 10px !important;
}
html body .report-page-stack .report-wrap .report-title-row,
html body .report-page-stack .report-wrap .report-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:18px !important;
}
html body .report-page-stack .report-wrap .report-title{
  font-size:30px !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
  color:#0a1540 !important;
  text-transform:none !important;
}
html body .report-page-stack .report-wrap .report-subtitle{
  margin-top:8px !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  color:#0e1d4c !important;
}
html body .report-page-stack .report-wrap .report-date{
  margin-top:18px !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:500 !important;
  color:#20355f !important;
}
html body .report-page-stack .report-wrap .report-date-sep{
  color:#8fa0bd !important;
  margin:0 10px !important;
}
html body .report-page-stack .report-wrap .report-logo-slot{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-end !important;
  min-width:180px !important;
}
html body .report-page-stack .report-wrap .report-company-logo{
  width:200px !important;
  height:76px !important;
  object-fit:contain !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

html body .report-page-stack .report-wrap .report,
html body .report-page-stack .report-wrap .report-bs{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 12px !important;
  table-layout:fixed !important;
  color:#08152f !important;
  font-size:15px !important;
  margin-top:2px !important;
}
html body .report-page-stack .report-wrap .report.report-multi{
  min-width:max-content !important;
}
html body .report-page-stack .report-wrap .report thead th,
html body .report-page-stack .report-wrap .report-bs thead th{
  background:#0a1a59 !important;
  color:#ffffff !important;
  border:0 !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  padding:16px 18px !important;
}
html body .report-page-stack .report-wrap .report thead th:first-child,
html body .report-page-stack .report-wrap .report-bs thead th:first-child{
  border-radius:14px 0 0 14px !important;
}
html body .report-page-stack .report-wrap .report thead th:last-child,
html body .report-page-stack .report-wrap .report-bs thead th:last-child{
  border-radius:0 14px 14px 0 !important;
}
html body .report-page-stack .report-wrap .report thead th.right,
html body .report-page-stack .report-wrap .report-bs thead th.right{
  text-align:right !important;
}

html body .report-page-stack .report-wrap .report tbody td,
html body .report-page-stack .report-wrap .report-bs tbody td{
  background:#ffffff !important;
  border:0 !important;
  border-bottom:1px solid #edf1f7 !important;
  color:#111827 !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
  padding:12px 14px !important;
  vertical-align:middle !important;
}
html body .report-page-stack .report-wrap .report tbody td.right,
html body .report-page-stack .report-wrap .report-bs tbody td.right{
  text-align:right !important;
  white-space:nowrap !important;
  color:#111827 !important;
  font-weight:700 !important;
  font-variant-numeric:tabular-nums !important;
}
html body .report-page-stack .report-wrap .report tbody td.indent,
html body .report-page-stack .report-wrap .report-bs tbody td.indent{
  padding-left:52px !important;
  font-size:14px !important;
  font-weight:500 !important;
}
html body .report-page-stack .report-wrap .report tbody tr:last-child td,
html body .report-page-stack .report-wrap .report-bs tbody tr:last-child td{
  border-bottom:0 !important;
}

html body .report-page-stack .report-wrap .report tbody tr.pnl-group-row td,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-group-row td{
  background:linear-gradient(180deg,#f5f8ff 0%,#f8fbff 100%) !important;
  border:1px solid #edf2fb !important;
  color:#0a1540 !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  padding:14px 18px !important;
  border-radius:14px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.section-row td,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-subsection-row td{
  background:#ffffff !important;
  color:#101a44 !important;
  border-top:0 !important;
  border-bottom:1px solid #edf1f7 !important;
  font-size:16px !important;
  font-weight:800 !important;
  padding:10px 14px 12px !important;
}
html body .report-page-stack .report-wrap .report-bs .bs-toggle{
  display:none !important;
}
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-line td{
  font-size:14px !important;
  font-weight:500 !important;
}

html body .report-page-stack .report-wrap .report tbody tr.total-row td,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-subtotal td{
  background:linear-gradient(180deg,#f5f2ff 0%,#faf7ff 100%) !important;
  border:1px solid #eee8ff !important;
  color:#101a44 !important;
  font-size:15px !important;
  font-weight:800 !important;
  padding:14px 18px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.total-row td:first-child,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-subtotal td:first-child{
  border-radius:14px 0 0 14px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.total-row td:last-child,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-subtotal td:last-child{
  border-radius:0 14px 14px 0 !important;
}
html body .report-page-stack .report-wrap .report tbody tr.total-row.heavy td,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-total-row td{
  background:linear-gradient(180deg,#f1f6ff 0%,#f8fbff 100%) !important;
  border:1px solid #e1ebff !important;
  color:#0f1a45 !important;
  font-size:17px !important;
  font-weight:900 !important;
  padding:16px 18px !important;
  box-shadow:none !important;
}
html body .report-page-stack .report-wrap .report tbody tr.total-row.heavy td:first-child,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-total-row td:first-child{
  border-radius:14px 0 0 14px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.total-row.heavy td:last-child,
html body .report-page-stack .report-wrap .report-bs tbody tr.bs-total-row td:last-child{
  border-radius:0 14px 14px 0 !important;
}

html body .report-page-stack .report-wrap .report tbody tr.report-row--summary-green td,
html body .report-page-stack .report-wrap .report-bs tbody tr.report-row--summary-green td{
  background:linear-gradient(180deg,#f5fbf6 0%,#f8fdf8 100%) !important;
  border-color:#dcefe1 !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--summary-blue td{
  background:linear-gradient(180deg,#edf4ff 0%,#f5f9ff 100%) !important;
  border-color:#dbe8ff !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--opening-balance td{
  background:linear-gradient(180deg,#f4f8ff 0%,#f9fbff 100%) !important;
  border:1px solid #d8e5ff !important;
  font-size:17px !important;
  font-weight:800 !important;
  padding:16px 18px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--opening-balance td:first-child,
html body .report-page-stack .report-wrap .report tbody tr.report-row--opening-balance td:last-child,
html body .report-page-stack .report-wrap .report tbody tr.report-row--closing-balance td:first-child,
html body .report-page-stack .report-wrap .report tbody tr.report-row--closing-balance td:last-child{
  border-radius:14px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--closing-balance td{
  background:linear-gradient(180deg,#f4f8ff 0%,#f9fbff 100%) !important;
  border:1px solid #d8e5ff !important;
  font-size:17px !important;
  font-weight:900 !important;
  padding:16px 18px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td{
  background:linear-gradient(180deg,#f6f1ff 0%,#fbf8ff 100%) !important;
  border:1px solid #eadfff !important;
  font-size:17px !important;
  font-weight:900 !important;
  padding:16px 18px !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td:first-child,
html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td:last-child{
  border-radius:14px !important;
}

html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td.right,
html body .report-page-stack .report-wrap .report-bs tbody tr.report-row--dynamic-sign td.right{
  color:#111827 !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td.right.is-positive,
html body .report-page-stack .report-wrap .report-bs tbody tr.report-row--dynamic-sign td.right.is-positive{
  color:#10733b !important;
}
html body .report-page-stack .report-wrap .report tbody tr.report-row--dynamic-sign td.right.is-negative,
html body .report-page-stack .report-wrap .report-bs tbody tr.report-row--dynamic-sign td.right.is-negative{
  color:#d91f18 !important;
}

html body .report-page-stack .report-wrap .report-bs tbody tr.bs-balance-check td{
  background:transparent !important;
  border:0 !important;
  color:#5b6b85 !important;
  font-size:12px !important;
  font-style:italic !important;
  padding-top:0 !important;
}

html body .report-page-stack .report-wrap .report.report-multi thead th:first-child,
html body .report-page-stack .report-wrap .report.report-multi tbody td:first-child,
html body .report-page-stack .report-wrap .report-bs.report-multi thead th:first-child,
html body .report-page-stack .report-wrap .report-bs.report-multi tbody td:first-child{
  min-width:260px !important;
  max-width:320px !important;
}
html body .report-page-stack .report-wrap .report.report-multi tbody td:not(:first-child),
html body .report-page-stack .report-wrap .report-bs.report-multi tbody td:not(:first-child),
html body .report-page-stack .report-wrap .report.report-multi thead th:not(:first-child),
html body .report-page-stack .report-wrap .report-bs.report-multi thead th:not(:first-child){
  min-width:170px !important;
}

@media (max-width: 980px){
  html body .report-page-stack .report-wrap{
    padding:22px 18px 24px !important;
    border-radius:22px !important;
    max-width:calc(100vw - 24px) !important;
  }
  html body .report-page-stack .report-wrap .report-title{
    font-size:24px !important;
  }
  html body .report-page-stack .report-wrap .report-date{
    font-size:15px !important;
  }
  html body .report-page-stack .report-wrap .report-company-logo{
    width:150px !important;
    height:58px !important;
  }
}
