/* Finance Desk isolation layer.
   Loaded after the global shell so finance registers use one page scroller only. */
html body[data-view="finance"] .view {
  width: 100% !important;
  max-width: 100% !important;
  height: calc(100vh - 58px) !important;
  min-height: 0 !important;
  padding: 14px 18px 28px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #f4f7fb !important;
}

html body[data-view="finance"] .finance-register {
  width: 100% !important;
  max-width: 1720px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

html body[data-view="finance"] .finance-register-header {
  min-height: 42px !important;
  height: auto !important;
  padding: 0 2px 7px !important;
  overflow: visible !important;
}

html body[data-view="finance"] .finance-register-header > div:first-child {
  display: block !important;
}

html body[data-view="finance"] .finance-register-summary,
html body[data-view="finance"] .finance-register-workspace,
html body[data-view="finance"] .finance-register-side,
html body[data-view="finance"] .finance-register-card,
html body[data-view="finance"] .finance-action-register,
html body[data-view="finance"] .finance-calendar,
html body[data-view="finance"] .finance-document-control,
html body[data-view="finance"] .finance-operations,
html body[data-view="finance"] .finance-recent,
html body[data-view="finance"] .finance-register-card-head,
html body[data-view="finance"] .finance-register-calm {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html body[data-view="finance"] .finance-register-workspace {
  display: grid !important;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, .72fr) !important;
  align-items: start !important;
}

html body[data-view="finance"] .finance-register-side {
  display: grid !important;
  align-content: start !important;
}

html body[data-view="finance"] .finance-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html body[data-view="finance"] .finance-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

html body[data-view="finance"] .finance-table thead,
html body[data-view="finance"] .finance-table tbody,
html body[data-view="finance"] .finance-table tr {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-view="finance"] .finance-calendar-list {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

html body[data-view="finance"] .finance-calendar-list button {
  min-height: 32px !important;
  height: 32px !important;
  max-height: 32px !important;
  overflow: hidden !important;
}

html body[data-view="finance"] .finance-register-calm {
  min-height: 40px !important;
  padding: 10px 16px !important;
}

html body[data-view="finance"] .finance-operation-grid {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-view="finance"] .finance-operation-grid button {
  min-height: 38px !important;
  height: 38px !important;
  max-height: 38px !important;
}

@media (max-width: 1100px) {
  html body[data-view="finance"] .finance-register-workspace {
    grid-template-columns: 1fr !important;
  }

  html body[data-view="finance"] .finance-register-side {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body[data-view="finance"] .finance-table-wrap {
    overflow-x: auto !important;
  }

  html body[data-view="finance"] .finance-action-register .finance-table {
    min-width: 760px !important;
  }
}

/* Contextual finance visuals and unified outline icon system. */
html body[data-view="finance"] #view .finance-register svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body[data-view="finance"] .finance-item-cell {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
}

html body[data-view="finance"] .finance-item-cell > span:last-child {
  min-width: 0 !important;
}

html body[data-view="finance"] .finance-item-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 7px !important;
  display: grid !important;
  place-items: center !important;
  color: #2563eb !important;
  background: #edf4ff !important;
}

html body[data-view="finance"] .finance-item-icon.red,
html body[data-view="finance"] .finance-item-icon.rose {
  color: #ef1d2a !important;
  background: #fff0f1 !important;
}

html body[data-view="finance"] .finance-item-icon.orange,
html body[data-view="finance"] .finance-item-icon.amber {
  color: #f97316 !important;
  background: #fff4e8 !important;
}

html body[data-view="finance"] .finance-item-icon.green {
  color: #059669 !important;
  background: #ecfdf5 !important;
}

html body[data-view="finance"] .finance-item-icon svg {
  width: 15px !important;
  height: 15px !important;
}

html body[data-view="finance"] .finance-owner {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 7px !important;
}

html body[data-view="finance"] .finance-owner > i {
  width: 25px !important;
  height: 25px !important;
  border-radius: 7px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  background: linear-gradient(135deg, #153a65, #2563a5) !important;
  font-size: 8px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
}

html body[data-view="finance"] .finance-owner > b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  color: #33465d !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
}

html body[data-view="finance"] .finance-operation-grid button > span,
html body[data-view="finance"] .finance-register-summary > button > span {
  box-shadow: inset 0 0 0 1px rgba(15, 35, 58, .025) !important;
}

html body[data-view="finance"] .finance-operation-grid button:hover {
  border-color: #b9c9da !important;
  background: #f8fbff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 12px rgba(15, 35, 58, .06) !important;
}

html body[data-view="finance"] .finance-operation-grid button {
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease !important;
}

html body[data-view="finance"] .finance-action-register .finance-table th:nth-child(2) {
  width: 27% !important;
}

html body[data-view="finance"] .finance-action-register .finance-table th:nth-child(6) {
  width: 14% !important;
}

html body[data-view="finance"] .finance-action-register .finance-table th:nth-child(3),
html body[data-view="finance"] .finance-action-register .finance-table th:nth-child(4) {
  width: 11% !important;
}

/* Use the former empty toolbar row as a compact finance control bar. */
html body[data-view="finance"] .finance-register-header {
  min-height: 54px !important;
  padding: 8px 10px !important;
  border: 1px solid #dbe4ee !important;
  border-radius: 8px !important;
  justify-content: space-between !important;
  background: #fff !important;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .03) !important;
}

html body[data-view="finance"] .finance-register-header > div:first-child h2 {
  margin: 0 !important;
  color: #0a1d36 !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

html body[data-view="finance"] .finance-register-header > div:first-child p {
  margin: 4px 0 0 !important;
  color: #718096 !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

html body[data-view="finance"] .finance-register-actions button {
  min-height: 36px !important;
}

/* One entry point for the full Finance toolkit. */
html body[data-view="finance"] .finance-operations {
  min-height: 70px !important;
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: stretch !important;
}

html body[data-view="finance"] .finance-operations > .finance-register-card-head {
  min-height: 70px !important;
  border-right: 1px solid #e7edf3 !important;
}

html body[data-view="finance"] .finance-tools-launcher {
  min-height: 52px !important;
  margin: 9px !important;
  padding: 0 14px !important;
  border: 1px solid #d5e0eb !important;
  border-radius: 7px !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 11px !important;
  color: #132a44 !important;
  background: linear-gradient(90deg, #f8fbff, #fff) !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html body[data-view="finance"] .finance-tools-launcher:hover {
  border-color: #9fb5cb !important;
  box-shadow: 0 6px 16px rgba(15, 35, 58, .07) !important;
  transform: translateY(-1px) !important;
}

html body[data-view="finance"] .finance-tools-launcher > span:first-child {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  display: grid !important;
  place-items: center !important;
  color: #2563eb !important;
  background: #edf4ff !important;
}

html body[data-view="finance"] .finance-tools-launcher > span:first-child svg {
  width: 17px !important;
  height: 17px !important;
}

html body[data-view="finance"] .finance-tools-launcher b,
html body[data-view="finance"] .finance-tools-launcher small {
  display: block !important;
}

html body[data-view="finance"] .finance-tools-launcher b {
  font-size: 11px !important;
  font-weight: 900 !important;
}

html body[data-view="finance"] .finance-tools-launcher small {
  margin-top: 3px !important;
  color: #718096 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}

html body[data-view="finance"] .finance-tools-launcher em {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #2563eb !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body[data-view="finance"] .finance-tools-launcher em svg {
  width: 13px !important;
  height: 13px !important;
}

html body .finance-tools-modal > p {
  margin: 0 0 12px !important;
  color: #718096 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body .finance-tools-modal .finance-operation-grid {
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body .finance-tools-modal .finance-operation-grid button {
  min-height: 54px !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 12px !important;
  border: 1px solid #dce5ee !important;
  border-radius: 7px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 14px !important;
  align-items: center !important;
  gap: 10px !important;
  color: #132a44 !important;
  background: #fff !important;
  text-align: left !important;
  cursor: pointer !important;
}

html body .finance-tools-modal .finance-operation-grid button > span {
  width: 32px !important;
  height: 32px !important;
  border-radius: 7px !important;
  display: grid !important;
  place-items: center !important;
  color: #2563eb !important;
  background: #edf4ff !important;
}

html body .finance-tools-modal .finance-operation-grid button.green > span { color: #059669 !important; background: #ecfdf5 !important; }
html body .finance-tools-modal .finance-operation-grid button.purple > span { color: #7c3aed !important; background: #f3e8ff !important; }
html body .finance-tools-modal .finance-operation-grid button.red > span { color: #ef1d2a !important; background: #fff0f1 !important; }
html body .finance-tools-modal .finance-operation-grid button.orange > span { color: #f97316 !important; background: #fff4e8 !important; }
html body .finance-tools-modal .finance-operation-grid button.teal > span { color: #0f766e !important; background: #ccfbf1 !important; }
html body .finance-tools-modal .finance-operation-grid svg { width: 15px !important; height: 15px !important; fill: none !important; stroke: currentColor !important; }
html body .finance-tools-modal .finance-operation-grid b { overflow: visible !important; font-size: 11px !important; text-overflow: clip !important; white-space: normal !important; }
html body .finance-tools-modal .finance-operation-grid em { color: #64748b !important; }

@media (max-width: 760px) {
  html body[data-view="finance"] .finance-operations {
    grid-template-columns: 1fr !important;
  }

  html body[data-view="finance"] .finance-operations > .finance-register-card-head {
    min-height: 52px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e7edf3 !important;
  }

  html body .finance-tools-modal .finance-operation-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Premium finance dashboard: KPIs, two working panels, then activity. */
html body[data-view="finance"] .finance-register {
  gap: 14px !important;
}

html body[data-view="finance"] .finance-register-workspace {
  min-height: 330px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 2.15fr) minmax(340px, .85fr) !important;
  grid-template-rows: 1fr !important;
  gap: 14px !important;
  align-items: stretch !important;
}

html body[data-view="finance"] .finance-action-register,
html body[data-view="finance"] .finance-calendar {
  min-height: 330px !important;
  height: 100% !important;
  align-self: stretch !important;
}

html body[data-view="finance"] .finance-action-register {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

html body[data-view="finance"] .finance-action-register .finance-table-wrap {
  flex: 0 0 auto !important;
}

html body[data-view="finance"] .finance-action-register .finance-register-calm {
  flex: 1 1 auto !important;
  min-height: 96px !important;
  align-items: flex-start !important;
  padding-top: 18px !important;
  border-top: 1px solid #edf1f5 !important;
  background: linear-gradient(180deg, #fbfcfe, #fff) !important;
}

html body[data-view="finance"] .finance-calendar {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

html body[data-view="finance"] .finance-calendar-list {
  margin: 4px 16px 0 !important;
}

html body[data-view="finance"] .finance-calendar-list button {
  min-height: 47px !important;
  height: 47px !important;
  max-height: 47px !important;
  padding: 0 13px !important;
}

html body[data-view="finance"] .finance-calendar-total {
  min-height: 54px !important;
  margin: 12px 16px 0 !important;
  padding: 0 13px !important;
  border: 1px solid #e0e8f1 !important;
  border-radius: 7px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #5f7086 !important;
  background: #f8fafc !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .035em !important;
}

html body[data-view="finance"] .finance-calendar-total strong {
  color: #0a1d36 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body[data-view="finance"] .finance-calendar .finance-register-link {
  min-height: 42px !important;
  margin-top: auto !important;
  padding-right: 17px !important;
}

html body[data-view="finance"] .finance-recent {
  min-height: 0 !important;
}

html body .finance-tools-modal .finance-tools-primary {
  margin-bottom: 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e3eaf2 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body .finance-tools-modal .finance-tools-primary > button {
  min-height: 62px !important;
  padding: 10px 12px !important;
  border: 1px solid #d8e3ed !important;
  border-radius: 7px !important;
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  color: #132a44 !important;
  background: #f8fbff !important;
  text-align: left !important;
  cursor: pointer !important;
}

html body .finance-tools-modal .finance-tools-primary > button > svg {
  width: 20px !important;
  height: 20px !important;
  color: #2563eb !important;
  fill: none !important;
  stroke: currentColor !important;
}

html body .finance-tools-modal .finance-tools-primary b,
html body .finance-tools-modal .finance-tools-primary small {
  display: block !important;
}

html body .finance-tools-modal .finance-tools-primary b {
  font-size: 11px !important;
  font-weight: 900 !important;
}

html body .finance-tools-modal .finance-tools-primary small {
  margin-top: 3px !important;
  color: #718096 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}

@media (max-width: 900px) {
  html body[data-view="finance"] .finance-register-workspace {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }

  html body[data-view="finance"] .finance-action-register,
  html body[data-view="finance"] .finance-calendar {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 680px) {
  html body .finance-tools-modal .finance-tools-primary {
    grid-template-columns: 1fr !important;
  }
}

/* Final flow correction: toolbar must never cover KPIs; work panels stay content-led. */
html body[data-view="finance"] #view .finance-register-header {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 54px !important;
  margin: 0 !important;
  transform: none !important;
  float: none !important;
}

html body[data-view="finance"] #view .finance-register-summary {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  margin: 0 !important;
  clear: both !important;
}

html body[data-view="finance"] .finance-register-workspace {
  min-height: 280px !important;
}

html body[data-view="finance"] .finance-action-register,
html body[data-view="finance"] .finance-calendar {
  min-height: 280px !important;
}

html body[data-view="finance"] .finance-action-register .finance-register-calm {
  min-height: 72px !important;
  padding: 12px 18px !important;
  align-items: center !important;
}

html body[data-view="finance"] .finance-calendar-list button {
  min-height: 40px !important;
  height: 40px !important;
  max-height: 40px !important;
}

html body[data-view="finance"] .finance-calendar-total {
  min-height: 46px !important;
  margin-top: 9px !important;
}

html body[data-view="finance"] .finance-calendar .finance-register-link {
  min-height: 35px !important;
}

/* Premium readability scale. */
html body[data-view="finance"] .finance-register-header > div:first-child h2 {
  font-size: 16px !important;
}

html body[data-view="finance"] .finance-register-header > div:first-child p {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-register-actions button {
  min-height: 40px !important;
  padding: 0 15px !important;
  font-size: 13px !important;
}

html body[data-view="finance"] .finance-register-actions svg {
  width: 17px !important;
  height: 17px !important;
}

html body[data-view="finance"] .finance-register-summary {
  min-height: 88px !important;
}

html body[data-view="finance"] .finance-register-summary > button {
  padding: 14px 20px !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body[data-view="finance"] .finance-register-summary > button > span {
  width: 44px !important;
  height: 44px !important;
}

html body[data-view="finance"] .finance-register-summary small {
  font-size: 12px !important;
}

html body[data-view="finance"] .finance-register-summary strong {
  margin-top: 5px !important;
  font-size: 25px !important;
}

html body[data-view="finance"] .finance-register-summary svg {
  width: 19px !important;
  height: 19px !important;
}

html body[data-view="finance"] .finance-register-card-head {
  min-height: 66px !important;
  padding: 14px 18px 11px !important;
}

html body[data-view="finance"] .finance-register-card-head h3 {
  font-size: 18px !important;
}

html body[data-view="finance"] .finance-register-card-head h3 > span {
  min-width: 22px !important;
  height: 22px !important;
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-register-card-head p {
  margin-top: 6px !important;
  font-size: 12px !important;
}

html body[data-view="finance"] .finance-table th {
  height: 36px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-table td {
  height: 62px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
}

html body[data-view="finance"] .finance-table td b {
  font-size: 14px !important;
}

html body[data-view="finance"] .finance-table td small {
  margin-top: 4px !important;
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-priority {
  min-height: 25px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-row-status {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-owner > i {
  width: 29px !important;
  height: 29px !important;
  font-size: 9px !important;
}

html body[data-view="finance"] .finance-owner > b {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-register-calm {
  font-size: 12px !important;
}

html body[data-view="finance"] .finance-calendar-list span,
html body[data-view="finance"] .finance-calendar-list b,
html body[data-view="finance"] .finance-calendar-list strong {
  font-size: 12px !important;
}

html body[data-view="finance"] .finance-calendar-total {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-calendar-total strong {
  font-size: 18px !important;
}

html body[data-view="finance"] .finance-register-link {
  font-size: 12px !important;
}

html body[data-view="finance"] .finance-recent .finance-table td {
  height: 50px !important;
}

@media (max-width: 1180px) {
  html body[data-view="finance"] .finance-register-summary small {
    font-size: 10.5px !important;
  }

  html body[data-view="finance"] .finance-register-summary strong {
    font-size: 21px !important;
  }

  html body[data-view="finance"] .finance-table td {
    font-size: 11.5px !important;
  }

  html body[data-view="finance"] .finance-table td b {
    font-size: 12.5px !important;
  }
}

@media (max-width: 760px) {
  html body[data-view="finance"] .finance-register-side {
    grid-template-columns: 1fr !important;
  }
}

/* Opt Finance Desk out of approved-shell.css's ID-scoped global scrollbar contract. */
html body[data-view="finance"] #view .finance-register,
html body[data-view="finance"] #view .finance-register-side,
html body[data-view="finance"] #view .finance-table-wrap,
html body[data-view="finance"] #view .finance-calendar-list,
html body[data-view="finance"] #view .finance-operation-grid {
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

html body[data-view="finance"] #view .finance-calendar-list {
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

html body[data-view="finance"] #view .finance-register::-webkit-scrollbar,
html body[data-view="finance"] #view .finance-register-side::-webkit-scrollbar,
html body[data-view="finance"] #view .finance-table-wrap::-webkit-scrollbar,
html body[data-view="finance"] #view .finance-calendar-list::-webkit-scrollbar,
html body[data-view="finance"] #view .finance-operation-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 900px) {
  html body[data-view="finance"] #view .finance-table-wrap {
    overflow-x: auto !important;
    scrollbar-width: thin !important;
  }
}

/* Professional-size and balance pass. */
html body[data-view="finance"] #view .finance-action-register {
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

html body[data-view="finance"] #view .finance-action-register::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html body[data-view="finance"] .finance-register-workspace {
  grid-template-columns: minmax(0, 1.9fr) minmax(315px, .72fr) !important;
  grid-template-rows: auto auto !important;
}

html body[data-view="finance"] .finance-action-register {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html body[data-view="finance"] .finance-register-side {
  display: contents !important;
}

html body[data-view="finance"] .finance-calendar {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

html body[data-view="finance"] .finance-document-control {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) 260px 360px !important;
  align-items: center !important;
}

html body[data-view="finance"] .finance-document-control .finance-register-card-head {
  min-height: 62px !important;
  padding: 10px 16px !important;
}

html body[data-view="finance"] .finance-document-counts,
html body[data-view="finance"] .finance-document-actions {
  padding: 8px !important;
}

html body[data-view="finance"] .finance-document-counts span {
  min-height: 40px !important;
}

html body[data-view="finance"] .finance-document-actions button {
  min-height: 34px !important;
}

html body[data-view="finance"] .finance-register-summary small {
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-register-summary strong {
  font-size: 19px !important;
}

html body[data-view="finance"] .finance-register-card-head h3 {
  font-size: 15px !important;
}

html body[data-view="finance"] .finance-register-card-head p,
html body[data-view="finance"] .finance-register-header p {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-table th {
  height: 32px !important;
  font-size: 8.5px !important;
}

html body[data-view="finance"] .finance-table td {
  height: 54px !important;
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-table td b {
  font-size: 11px !important;
}

html body[data-view="finance"] .finance-table td small {
  font-size: 9px !important;
}

html body[data-view="finance"] .finance-priority,
html body[data-view="finance"] .finance-row-status {
  font-size: 9px !important;
}

html body[data-view="finance"] .finance-register-calm {
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-calendar-list span,
html body[data-view="finance"] .finance-calendar-list b,
html body[data-view="finance"] .finance-calendar-list strong {
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-register-link {
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-document-counts small,
html body[data-view="finance"] .finance-document-actions button {
  font-size: 9.5px !important;
}

html body[data-view="finance"] .finance-operation-grid button {
  min-height: 42px !important;
  height: 42px !important;
  max-height: 42px !important;
}

html body[data-view="finance"] .finance-operation-grid b {
  font-size: 10px !important;
}

html body[data-view="finance"] .finance-operation-grid button > span {
  width: 29px !important;
  height: 29px !important;
}

html body[data-view="finance"] .finance-operation-grid svg,
html body[data-view="finance"] .finance-register-summary svg {
  width: 16px !important;
  height: 16px !important;
}

html body[data-view="finance"] .finance-recent .finance-table td {
  height: 42px !important;
}

@media (max-width: 1180px) {
  html body[data-view="finance"] .finance-document-control {
    grid-template-columns: 1fr 240px !important;
  }

  html body[data-view="finance"] .finance-document-control .finance-document-actions {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  html body[data-view="finance"] .finance-register-workspace {
    grid-template-columns: 1fr !important;
  }

  html body[data-view="finance"] .finance-action-register,
  html body[data-view="finance"] .finance-calendar,
  html body[data-view="finance"] .finance-document-control {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html body[data-view="finance"] .finance-document-control {
    grid-template-columns: 1fr !important;
  }
}
