/* Rezolv Energy brand theme — palette sourced from client brand template (verified 2026-10-23)
   Chrome (top header + sidebar) stays dark navy #25345E.
   Content area is white/light with brand navy #25345E text, blue #4155E0, cyan #02D6D7,
   lavender #8E89EF, light grey #E8E8E8, white, black. */

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Lato Black';
  src: url('fonts/Lato-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

:root {
  /* Chrome tokens — top header + sidebar (always dark navy) */
  --navy-900: #1A2542;
  --navy-800: #25345E;
  --navy-700: #324376;
  --navy-600: #40538C;
  --blue-500: #4155E0;
  --cyan-500: #02D6D7;
  --cyan-300: #68EAEA;
  --lavender: #8E89EF;
  --grey-light: #E8E8E8;
  --white: #FFFFFF;
  --black: #000000;
  --chrome-text-secondary: #B9C4D6;
  --chrome-text-primary: #EAF0F7;

  /* Content tokens — main content area */
  --text-primary: #25345E;
  --text-secondary: #5B6B85;
  --border-light: #E1E7F0;
  --card-bg: #FFFFFF;
  --page-bg: #F7F9FC;
  --cyan-text: #009395;

  /* Status / semantic colors (legible as small badge text on white) */
  --status-good: #17915C;
  --status-warn: #B4780E;
  --status-bad: #C6423F;
  --status-neutral: #5B6B85;

  --font-family: 'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-family-heading: 'Lato Black', 'Lato', sans-serif;
  --header-height: 58px;
}

* { box-sizing: border-box; }

html, body {
  background-color: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
}

#app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Top header (navy, full width, always visible) --------------------
   Three-part grid: left (sidebar toggle + brand mark), center (report
   period filter grouped with the project name — genuinely centered in the
   header, not just pushed there by margins), right (delivery partner mark). */
#top-header {
  height: var(--header-height);
  min-height: var(--header-height);
  background-color: var(--navy-800);
  border-bottom: 1px solid var(--navy-600);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  min-width: 0;
}

.header-center {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: center;
}

.header-center .period-picker {
  padding-right: 20px;
  border-right: 1px solid var(--navy-600);
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
}

.header-partner-logo {
  height: 26px;
  display: block;
}

.sidebar-toggle-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover {
  background-color: var(--navy-700);
  border-color: var(--navy-600);
}
.sidebar-toggle-btn .bar {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--white);
}

.header-logo {
  height: 26px;
  display: block;
}

.header-project-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--chrome-text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.header-project-tag:hover {
  color: var(--white);
  border-bottom-color: var(--cyan-500);
}

.exec-summary-btn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  color: var(--navy-800);
  background: var(--cyan-500);
  padding: 6px 12px;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}
.exec-summary-btn:hover {
  opacity: 0.85;
  color: var(--navy-800);
}

/* --- Global "Report Period" picker (grouped with the project name in the
   header's centered column) --------------------------------------------- */
.period-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.period-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--chrome-text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
}
/* dcc.DatePickerRange renders a white "DateRangePickerInput" pill on the
   navy header, matching the "Report as of" badge look used elsewhere in
   the app — two compact date fields (From / To) side by side. */
.period-range-picker .DateRangePickerInput {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 6px;
  border: 1px solid var(--navy-600);
  padding: 0 4px;
}
.period-range-picker .DateInput {
  width: 86px;
  background: transparent;
}
.period-range-picker .DateInput_input {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-800);
  background: transparent;
  border-bottom: 2px solid transparent;
  padding: 6px 4px;
  line-height: 1.2;
}
.period-range-picker .DateInput_input__focused {
  border-bottom: 2px solid var(--cyan-500);
}
.period-range-picker .DateRangePickerInput_arrow {
  color: var(--navy-600);
  padding: 0 2px;
}
.period-range-picker .DateInput_1 { width: 86px; }
.period-range-picker .SingleDatePickerInput, .period-range-picker .DateRangePickerInput_calendarIcon {
  margin: 0 2px;
}

/* --- Content row: sidebar + main content, below the header ------------ */
#content-row {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* --- Sidebar (navy, collapsible) --------------------------------------- */
#sidebar {
  width: 238px;
  min-width: 238px;
  background-color: var(--navy-800);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--navy-600);
  overflow: hidden;
  transition: width 0.18s ease, min-width 0.18s ease, padding 0.18s ease;
}

body.sidebar-collapsed #sidebar {
  width: 0;
  min-width: 0;
  padding: 16px 0;
  border-right: none;
}

.nav-links { white-space: nowrap; }

.portal-home-link {
  display: block;
  padding: 11px 20px;
  margin-bottom: 8px;
  color: var(--cyan-500) !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--navy-600);
}
.portal-home-link:hover { color: var(--white) !important; }

.nav-link-item {
  display: block;
  padding: 11px 20px;
  color: var(--chrome-text-secondary) !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.nav-link-item:hover {
  background-color: var(--navy-700);
  color: var(--white) !important;
}

.nav-link-item.active {
  background-color: var(--navy-700);
  border-left: 3px solid var(--cyan-500);
  color: var(--white) !important;
  font-weight: 700;
}

#sidebar .sidebar-footer {
  margin-top: auto;
  padding: 16px 20px 0 20px;
  border-top: 1px solid var(--navy-600);
  font-size: 10.5px;
  color: var(--chrome-text-secondary);
  line-height: 1.5;
  white-space: nowrap;
}

/* --- Main content (white, per the client's site) ----------------------- */
#main-content {
  flex: 1;
  padding: 26px 34px 40px 34px;
  min-width: 0;
  background-color: var(--page-bg);
}

.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-title {
  font-family: var(--font-family-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0;
}

.page-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
}

.report-date-badge {
  background-color: var(--navy-800);
  border: 1px solid var(--navy-700);
  color: var(--cyan-300);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.sample-data-banner {
  background-color: rgba(180, 120, 14, 0.1);
  border: 1px solid var(--status-warn);
  color: var(--status-warn);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: inline-block;
}

/* --- Cards ------------------------------------------------------------ */
.rz-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(14, 32, 56, 0.05), 0 1px 3px rgba(14, 32, 56, 0.06);
}

.rz-card-map .js-plotly-plot,
.rz-card-map .js-plotly-plot .svg-container,
.rz-card-map .js-plotly-plot .plot-container {
  border-radius: 6px;
  overflow: hidden;
}

/* Minimalist basemap: mute the OpenStreetMap tiles' default saturated
   colors (greens/yellows/oranges) down to something closer to a light,
   low-contrast reference map, in keeping with the rest of the page. */
.rz-card-map .maplibregl-canvas,
.rz-card-map .mapboxgl-canvas {
  filter: grayscale(55%) brightness(1.12) contrast(0.9) saturate(0.7);
}

.rz-card-map .maplibregl-ctrl-bottom-right,
.rz-card-map .mapboxgl-ctrl-bottom-right {
  font-size: 10px;
  opacity: 0.7;
}

.rz-card-title {
  font-family: var(--font-family-heading);
  font-size: 13px;
  font-weight: 900;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.kpi-tile {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--cyan-500);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(14, 32, 56, 0.05), 0 1px 3px rgba(14, 32, 56, 0.06);
}

.kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.kpi-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status-pill.good { background: rgba(23,145,92,0.12); color: var(--status-good); }
.status-pill.warn { background: rgba(180,120,14,0.12); color: var(--status-warn); }
.status-pill.bad  { background: rgba(198,66,63,0.12); color: var(--status-bad); }
.status-pill.neutral { background: rgba(91,107,133,0.12); color: var(--status-neutral); }

/* --- Progress variation block (EPC Weekly report standard) ----------- */
.kpi-variation-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(14, 32, 56, 0.05);
}
.kpi-var-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}
.kpi-var-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.kpi-var-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  align-items: center;
}
.kpi-var-item {
  display: flex;
  flex-direction: column;
}
.kpi-var-item-label {
  font-size: 10.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.kpi-var-item-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}
.kpi-var-item-val.highlight {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-500);
}
.kpi-var-delta-good {
  color: var(--status-good);
  font-weight: 700;
}
.kpi-var-delta-warn {
  color: var(--status-warn);
  font-weight: 700;
}
.kpi-var-delta-bad {
  color: var(--status-bad);
  font-weight: 700;
}

/* --- Supply chain stage cell (planned date + actual/pending pill) ------ */
.stage-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: nowrap;
}
.stage-planned {
  font-size: 10.5px;
  color: var(--text-secondary);
}

/* --- Minimal Bootstrap-5-compatible grid (self-contained, no CDN) ------ */
/* dash-bootstrap-components renders standard Bootstrap 5 grid class names
   (row / col-N / col-md-N). Rather than pulling the full Bootstrap CSS
   framework from an external CDN (fragile if the deploy environment has
   no/restricted internet access), this app ships just the grid + tab
   behaviour it actually uses, so it always renders correctly offline. */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}
.row > * {
  padding-right: 12px;
  padding-left: 12px;
  width: 100%;
}
.col, .col-md {
  flex: 1 0 0%;
  max-width: 100%;
  min-width: 0; /* allow shrinking below content's intrinsic width (e.g. Plotly charts) */
}
[class*="col-"] {
  flex-shrink: 0;
  min-width: 0;
}

/* xs (default, mobile-first): col-1 .. col-12 */
.col-1  { max-width: 8.3333%;  flex-basis: 8.3333%; }
.col-2  { max-width: 16.6667%; flex-basis: 16.6667%; }
.col-3  { max-width: 25%;      flex-basis: 25%; }
.col-4  { max-width: 33.3333%; flex-basis: 33.3333%; }
.col-5  { max-width: 41.6667%; flex-basis: 41.6667%; }
.col-6  { max-width: 50%;      flex-basis: 50%; }
.col-7  { max-width: 58.3333%; flex-basis: 58.3333%; }
.col-8  { max-width: 66.6667%; flex-basis: 66.6667%; }
.col-9  { max-width: 75%;      flex-basis: 75%; }
.col-10 { max-width: 83.3333%; flex-basis: 83.3333%; }
.col-11 { max-width: 91.6667%; flex-basis: 91.6667%; }
.col-12 { max-width: 100%;     flex-basis: 100%; }

/* md breakpoint (>=768px): col-md-1 .. col-md-12, plus auto-grow .col-md */
@media (min-width: 768px) {
  .col-md { flex: 1 0 0%; max-width: 100%; }
  .col-md-1  { max-width: 8.3333%;  flex-basis: 8.3333%; }
  .col-md-2  { max-width: 16.6667%; flex-basis: 16.6667%; }
  .col-md-3  { max-width: 25%;      flex-basis: 25%; }
  .col-md-4  { max-width: 33.3333%; flex-basis: 33.3333%; }
  .col-md-5  { max-width: 41.6667%; flex-basis: 41.6667%; }
  .col-md-6  { max-width: 50%;      flex-basis: 50%; }
  .col-md-7  { max-width: 58.3333%; flex-basis: 58.3333%; }
  .col-md-8  { max-width: 66.6667%; flex-basis: 66.6667%; }
  .col-md-9  { max-width: 75%;      flex-basis: 75%; }
  .col-md-10 { max-width: 83.3333%; flex-basis: 83.3333%; }
  .col-md-11 { max-width: 91.6667%; flex-basis: 91.6667%; }
  .col-md-12 { max-width: 100%;     flex-basis: 100%; }
}

/* dash-bootstrap-components' Tabs toggle Bootstrap's own "active"/"show"
   classes on each .tab-pane, but this app intentionally does not load the
   full Bootstrap CSS framework from an external CDN (keeps the mock-up
   fully self-contained / working offline). These minimal rules replicate
   just the show/hide behaviour Bootstrap would otherwise provide. */
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .tab-pane.active {
  display: block;
}
.segmented-tabs, .nav-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #E8EDF5;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  list-style: none;
}
.segmented-tabs .nav-item, .nav-tabs .nav-item {
  list-style: none;
  margin: 0;
}
.segmented-tabs .nav-link, .nav-tabs .nav-link {
  display: inline-block;
  cursor: pointer;
  color: var(--navy-800);
  background: transparent;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 18px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.segmented-tabs .nav-link:hover, .nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy-800);
}
.segmented-tabs .nav-link.active, .nav-tabs .nav-link.active {
  background-color: var(--navy-800) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(37, 52, 94, 0.25);
}

/* --- Tables -------------------------------------------------------------- */
.rz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.rz-table th {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}
.rz-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}
.rz-table tr:hover td { background-color: rgba(0,194,203,0.06); }

/* --- Photo gallery placeholders ---------------------------------------- */
.photo-card {
  background: linear-gradient(135deg, #EEF2F8 0%, #E1E7F0 100%);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}
.photo-card .photo-icon { font-size: 30px; color: var(--cyan-500); opacity: 0.85; }
.photo-caption {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 6px;
}
.photo-area-tag {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Scrollable table wrapper so wide tables don't break layout */
.table-scroll { overflow-x: auto; width: 100%; }

/* --- Footer / baseboard ------------------------------------------------- */
#app-footer {
  flex-shrink: 0;
  padding: 12px 24px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-light);
}


/* =========================================================================
   Mobile responsiveness (< 768px)
   -------------------------------------------------------------------------
   Everything above already stacks reasonably on its own: the grid's `.col-N`
   default classes give every dbc.Col a full-width fallback below the
   `.col-md-*` breakpoint (min-width: 768px), and Plotly charts render with
   config={"responsive": True}. What's added here is the chrome that never
   had a narrow-viewport treatment at all: the top header's 3-column layout,
   the always-on-screen sidebar, and the report-period date picker popup.
   ========================================================================= */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }

  /* --- Header: stack left/center/right instead of a fixed 3-col grid --- */
  #top-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: var(--header-height);
    padding: 8px 10px 10px 10px;
    gap: 8px;
  }
  .header-left { justify-content: space-between; }
  .header-center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    row-gap: 8px;
  }
  .header-center .period-picker {
    padding-right: 0;
    border-right: none;
  }
  /* Delivery-partner mark is decorative chrome only (no nav/action tied to
     it) — dropped first to keep the header from growing past two rows. */
  .header-right { display: none; }

  .period-range-picker .DateInput { width: 72px; }
  .period-range-picker .DateInput_1 { width: 72px; }

  /* react-dates' calendar popup is absolutely positioned from the input
     it's anchored to, so on a narrow viewport it can render partly
     off-screen; pin it to the viewport instead of the anchor. */
  .DateRangePicker_picker {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    display: flex;
    justify-content: center;
  }

  /* --- Sidebar becomes an off-canvas drawer ---------------------------
     Reuses the existing collapsed/expanded store + body class (already
     wired to the header's hamburger button) with the opposite meaning:
     on desktop `sidebar-collapsed` HIDES the fixed column; on mobile it
     SHOWS the drawer as an overlay above the content. Nothing about the
     click handlers has to change for this — only how the two states are
     painted at this breakpoint. */
  #sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: 240px;
    min-width: 240px;
    max-width: 82vw;
    padding-top: 8px;
    transform: translateX(-100%);
    z-index: 40;
    box-shadow: 2px 0 16px rgba(7, 21, 39, 0.35);
  }
  body.sidebar-collapsed #sidebar {
    transform: translateX(0);
  }

  #sidebar-overlay {
    display: none;
  }
  body.sidebar-collapsed #sidebar-overlay {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 21, 39, 0.45);
    z-index: 35;
  }

  #content-row { position: relative; }

  /* --- Main content: tighter padding, smaller headline type ----------- */
  #main-content {
    padding: 16px 14px 28px 14px;
  }
  .page-title { font-size: 18px; }
  .page-header { align-items: flex-start; }
  .kpi-value { font-size: 20px; }
  .rz-card { padding: 14px 12px; }
}

@media (max-width: 420px) {
  .header-logo { height: 20px; }
  .period-label { display: none; }
}

/* --- Presentation & Print Mode (WP12 External-Audience Readiness) --- */
@media print {
  @page {
    size: A4 landscape;
    margin: 1cm;
  }

  body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  /* Hide interactive chrome and elements not suited for print */
  #sidebar,
  .sidebar-toggle-btn,
  .period-picker,
  .exec-summary-btn,
  .sample-data-banner,
  .portal-home-link,
  .nav-tabs,
  .nav-link-item,
  .dcc-dropdown,
  button {
    display: none !important;
  }

  #top-header {
    position: static !important;
    background-color: transparent !important;
    border-bottom: 2px solid #25345E !important;
    padding: 0 0 10px 0 !important;
    height: auto !important;
    min-height: auto !important;
  }

  .header-project-tag {
    color: #25345E !important;
    font-size: 18pt !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  #main-content {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .rz-card,
  .kpi-tile,
  .kpi-variation-card {
    box-shadow: none !important;
    border: 1px solid #CBD5E1 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 12px !important;
  }

  .table-scroll {
    overflow: visible !important;
  }

  #app-footer {
    display: block !important;
    margin-top: 20px !important;
    border-top: 1px solid #CBD5E1 !important;
    padding-top: 8px !important;
    font-size: 9pt !important;
    color: #64748B !important;
    text-align: center !important;
  }
}
