@charset "UTF-8";@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");/* Variables declaration */
.rdp-root {
  --rdp-accent-color: blue; /* The accent color used for selected days and UI elements. */
  --rdp-accent-background-color: #f0f0ff; /* The accent background color used for selected days and UI elements. */

  --rdp-day-height: 44px; /* The height of the day cells. */
  --rdp-day-width: 44px; /* The width of the day cells. */

  --rdp-day_button-border-radius: 100%; /* The border radius of the day cells. */
  --rdp-day_button-border: 2px solid transparent; /* The border of the day cells. */
  --rdp-day_button-height: 42px; /* The height of the day cells. */
  --rdp-day_button-width: 42px; /* The width of the day cells. */

  --rdp-selected-border: 2px solid var(--rdp-accent-color); /* The border of the selected days. */
  --rdp-disabled-opacity: 0.5; /* The opacity of the disabled days. */
  --rdp-outside-opacity: 0.75; /* The opacity of the days outside the current month. */
  --rdp-today-color: var(--rdp-accent-color); /* The color of the today's date. */

  --rdp-dropdown-gap: 0.5rem; /* The gap between the dropdowns used in the month captons. */

  --rdp-months-gap: 2rem; /* The gap between the months in the multi-month view. */

  --rdp-nav_button-disabled-opacity: 0.5; /* The opacity of the disabled navigation buttons. */
  --rdp-nav_button-height: 2.25rem; /* The height of the navigation buttons. */
  --rdp-nav_button-width: 2.25rem; /* The width of the navigation buttons. */
  --rdp-nav-height: 2.75rem; /* The height of the navigation bar. */

  --rdp-range_middle-background-color: var(--rdp-accent-background-color); /* The color of the background for days in the middle of a range. */
  --rdp-range_middle-color: inherit; /* The color of the range text. */

  --rdp-range_start-color: white; /* The color of the range text. */
  --rdp-range_start-background: linear-gradient(
    var(--rdp-gradient-direction),
    transparent 50%,
    var(--rdp-range_middle-background-color) 50%
  ); /* Used for the background of the start of the selected range. */
  --rdp-range_start-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the start of the selected range. */

  --rdp-range_end-background: linear-gradient(
    var(--rdp-gradient-direction),
    var(--rdp-range_middle-background-color) 50%,
    transparent 50%
  ); /* Used for the background of the end of the selected range. */
  --rdp-range_end-color: white; /* The color of the range text. */
  --rdp-range_end-date-background-color: var(--rdp-accent-color); /* The background color of the date when at the end of the selected range. */

  --rdp-week_number-border-radius: 100%; /* The border radius of the week number. */
  --rdp-week_number-border: 2px solid transparent; /* The border of the week number. */

  --rdp-week_number-height: var(--rdp-day-height); /* The height of the week number cells. */
  --rdp-week_number-opacity: 0.75; /* The opacity of the week number. */
  --rdp-week_number-width: var(--rdp-day-width); /* The width of the week number cells. */
  --rdp-weeknumber-text-align: center; /* The text alignment of the weekday cells. */

  --rdp-weekday-opacity: 0.75; /* The opacity of the weekday. */
  --rdp-weekday-padding: 0.5rem 0rem; /* The padding of the weekday. */
  --rdp-weekday-text-align: center; /* The text alignment of the weekday cells. */

  --rdp-gradient-direction: 90deg;

  --rdp-animation_duration: 0.3s;
  --rdp-animation_timing: cubic-bezier(0.4, 0, 0.2, 1);
}

.rdp-root[dir="rtl"] {
  --rdp-gradient-direction: -90deg;
}

.rdp-root[data-broadcast-calendar="true"] {
  --rdp-outside-opacity: unset;
}

/* Root of the component. */
.rdp-root {
  position: relative; /* Required to position the navigation toolbar. */
  box-sizing: border-box;
}

.rdp-root * {
  box-sizing: border-box;
}

.rdp-day {
  width: var(--rdp-day-width);
  height: var(--rdp-day-height);
  text-align: center;
}

.rdp-day_button {
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  justify-content: center;
  align-items: center;
  display: flex;

  width: var(--rdp-day_button-width);
  height: var(--rdp-day_button-height);
  border: var(--rdp-day_button-border);
  border-radius: var(--rdp-day_button-border-radius);
}

.rdp-day_button:disabled {
  cursor: revert;
}

.rdp-caption_label {
  z-index: 1;

  position: relative;
  display: inline-flex;
  align-items: center;

  white-space: nowrap;
  border: 0;
}

.rdp-dropdown:focus-visible ~ .rdp-caption_label {
  outline: 5px auto Highlight;
  /* biome-ignore lint/suspicious/noDuplicateProperties: backward compatibility */
  outline: 5px auto -webkit-focus-ring-color;
}

.rdp-button_next,
.rdp-button_previous {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -moz-appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  appearance: none;

  width: var(--rdp-nav_button-width);
  height: var(--rdp-nav_button-height);
}

.rdp-button_next:disabled,
.rdp-button_next[aria-disabled="true"],
.rdp-button_previous:disabled,
.rdp-button_previous[aria-disabled="true"] {
  cursor: revert;

  opacity: var(--rdp-nav_button-disabled-opacity);
}

.rdp-chevron {
  display: inline-block;
  fill: var(--rdp-accent-color);
}

.rdp-root[dir="rtl"] .rdp-nav .rdp-chevron {
  transform: rotate(180deg);
  transform-origin: 50%;
}

.rdp-dropdowns {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--rdp-dropdown-gap);
}
.rdp-dropdown {
  z-index: 2;

  /* Reset */
  opacity: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  inset-block-start: 0;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: inherit;
  border: none;
  line-height: inherit;
}

.rdp-dropdown_root {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rdp-dropdown_root[data-disabled="true"] .rdp-chevron {
  opacity: var(--rdp-disabled-opacity);
}

.rdp-month_caption {
  display: flex;
  align-content: center;
  height: var(--rdp-nav-height);
  font-weight: bold;
  font-size: large;
}

.rdp-root[data-nav-layout="around"] .rdp-month,
.rdp-root[data-nav-layout="after"] .rdp-month {
  position: relative;
}

.rdp-root[data-nav-layout="around"] .rdp-month_caption {
  justify-content: center;
  margin-inline-start: var(--rdp-nav_button-width);
  margin-inline-end: var(--rdp-nav_button-width);
  position: relative;
}

.rdp-root[data-nav-layout="around"] .rdp-button_previous {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: var(--rdp-nav-height);
  display: inline-flex;
}

.rdp-root[data-nav-layout="around"] .rdp-button_next {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  height: var(--rdp-nav-height);
  display: inline-flex;
  justify-content: center;
}

.rdp-months {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--rdp-months-gap);
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.rdp-month_grid {
  border-collapse: collapse;
}

.rdp-nav {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;

  display: flex;
  align-items: center;

  height: var(--rdp-nav-height);
}

.rdp-weekday {
  opacity: var(--rdp-weekday-opacity);
  padding: var(--rdp-weekday-padding);
  font-weight: 500;
  font-size: smaller;
  text-align: var(--rdp-weekday-text-align);
  text-transform: var(--rdp-weekday-text-transform);
}

.rdp-week_number {
  opacity: var(--rdp-week_number-opacity);
  font-weight: 400;
  font-size: small;
  height: var(--rdp-week_number-height);
  width: var(--rdp-week_number-width);
  border: var(--rdp-week_number-border);
  border-radius: var(--rdp-week_number-border-radius);
  text-align: var(--rdp-weeknumber-text-align);
}

/* DAY MODIFIERS */
.rdp-today:not(.rdp-outside) {
  color: var(--rdp-today-color);
}

.rdp-selected {
  font-weight: bold;
  font-size: large;
}

.rdp-selected .rdp-day_button {
  border: var(--rdp-selected-border);
}

.rdp-outside {
  opacity: var(--rdp-outside-opacity);
}

.rdp-disabled:not(.rdp-selected) {
  opacity: var(--rdp-disabled-opacity);
}

.rdp-hidden {
  visibility: hidden;
  color: var(--rdp-range_start-color);
}

.rdp-range_start {
  background: var(--rdp-range_start-background);
}

.rdp-range_start .rdp-day_button {
  background-color: var(--rdp-range_start-date-background-color);
  color: var(--rdp-range_start-color);
}

.rdp-range_middle {
  background-color: var(--rdp-range_middle-background-color);
}

.rdp-range_middle .rdp-day_button {
  border: unset;
  border-radius: unset;
  color: var(--rdp-range_middle-color);
}

.rdp-range_end {
  background: var(--rdp-range_end-background);
  color: var(--rdp-range_end-color);
}

.rdp-range_end .rdp-day_button {
  color: var(--rdp-range_start-color);
  background-color: var(--rdp-range_end-date-background-color);
}

.rdp-range_start.rdp-range_end {
  background: revert;
}

.rdp-focusable {
  cursor: pointer;
}

@keyframes rdp-slide_in_left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rdp-slide_in_right {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rdp-slide_out_left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes rdp-slide_out_right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.rdp-weeks_before_enter {
  animation: rdp-slide_in_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_before_exit {
  animation: rdp-slide_out_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_after_enter {
  animation: rdp-slide_in_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-weeks_after_exit {
  animation: rdp-slide_out_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_after_enter {
  animation: rdp-slide_in_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_before_exit {
  animation: rdp-slide_out_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_before_enter {
  animation: rdp-slide_in_right var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-root[dir="rtl"] .rdp-weeks_after_exit {
  animation: rdp-slide_out_left var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

@keyframes rdp-fade_in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rdp-fade_out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.rdp-caption_after_enter {
  animation: rdp-fade_in var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_after_exit {
  animation: rdp-fade_out var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_before_enter {
  animation: rdp-fade_in var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}

.rdp-caption_before_exit {
  animation: rdp-fade_out var(--rdp-animation_duration)
    var(--rdp-animation_timing) forwards;
}


:root {
  /* ---------- Shrift (yagona manba) ----------
     Butun ilovada FAQAT Inter ishlatiladi. Hech qayerda font-family qo'lda
     yozilmaydi — hamma joy shu token orqali: font-family: var(--font-family).
     Inter index.html'dagi Google Fonts <link> va styles/_fonts.scss orqali
     yuklanadi; qolgan oilalar — faqat fallback (shrift yuklanmagan holat). */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, monospace;
  /* Eski nomlar — faqat alias sifatida qoldirilgan (tashqi stillar
     --font-body / --font-heading'ga tayanib qolgan bo'lsa buzilmasin).
     Yangi kodda faqat --font-family yoziladi. */
  --font-sans: var(--font-family);
  --font-body: var(--font-family);
  --font-heading: var(--font-family);
  /* Apple-neutral surfaces + labels (SF system palette) */
  --page-bg: #f2f2f7;
  --frame-bg: #ffffff;
  --frame-border: #e5e5ea;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --divider: #ececf0;
  --soft-bg: #f0f1f4;
  --blue: #006F7D;
  --blue-bg: #e2f0f1;
  --green: #17a34a;
  --green-bg: #e8f8ee;
  --green-dot: #22c55e;
  --red: #e2394a;
  --red-bg: #fdeef0;
  --red-dot: #f2555e;
  --salmon-dot: #f0888f;
  --pill-active: #006F7D;
  /* Apple elevation scale — subtle, tight, low-opacity */
  --shadow-1: 0 1px 2px rgba(20, 25, 40, .05), 0 0 1px rgba(20, 25, 40, .08);
  --shadow-2: 0 4px 14px -6px rgba(20, 25, 40, .14), 0 1px 3px rgba(20, 25, 40, .05);
  --shadow-3: 0 12px 32px -12px rgba(20, 25, 40, .18), 0 2px 6px rgba(20, 25, 40, .06);
  --shadow: var(--shadow-3);
  /* Radius scale (Apple continuous-corner feel) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  /* 4pt spacing grid */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  /* ---------- Hero card (Figma: "NBU bank / Detail page" karta) ----------
     Barcha to'q-yashil gradient hero kartalar shu tokenlardan foydalanadi:
     .cf-hero (Cashflow), .rep-hero (P&L / Balans), .formrpt-hero-card. */
  --hero-grad-a: #10838A;
  --hero-grad-b: #0F423F;
  --hero-radius: 16px;
  --hero-fg: #ffffff;
  /* tipografika — Figma frame 343x172 dagi o'lchamlar */
  --hero-cap-size: 16px;
  --hero-cap-weight: 500;
  --hero-cap-opacity: .72;
  --hero-val-size: 34px;
  --hero-val-weight: 700;
  --hero-val-tracking: -1.1px;
  --hero-dec-size: .62em;
  --hero-dec-opacity: .5;
}
/* ==========================================================================
   .hero-card-surface — Figma karta yuzasi (gradient + burst pattern)
   Pattern SVG data-URI sifatida inline: qo'shimcha network so'rov yo'q,
   Flutter WebView'da ham ishonchli ishlaydi.
   ========================================================================== */
.hero-card-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  color: var(--hero-fg);
  background: linear-gradient(152deg, var(--hero-grad-a) 0%, var(--hero-grad-b) 100%);
}
.hero-card-surface-last {
  margin: 0 !important;
}
.hero-card-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20343%20172%22%20fill%3D%22none%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M-106.519%20131.114V40.886H62.7692L-56.9358%20-78.8189L6.86494%20-142.62L171.684%2022.1989L336.502%20-142.619L400.303%20-78.8187L280.598%2040.886H449.886V131.114H280.598L400.303%20250.818L336.502%20314.619L171.684%20149.8L6.86494%20314.619L-56.9358%20250.818L62.7687%20131.114H-106.519Z%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%221.87975%22%2F%3E%3Cpath%20d%3D%22M-2610.34%20537.138V-365.14H-917.459L-2114.51%20-1562.19L-1476.5%20-2200.2L171.685%20-552.011L1819.87%20-2200.19L2457.88%20-1562.19L1260.83%20-365.14H2953.71V537.138H1260.83L2457.88%201734.18L1819.87%202372.19L171.685%20724.004L-1476.5%202372.19L-2114.51%201734.18L-917.465%20537.138H-2610.34Z%22%20stroke%3D%22white%22%20stroke-opacity%3D%220.08%22%20stroke-width%3D%2218%22%2F%3E%3C%2Fsvg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* kontent pattern ustida turishi uchun */
.hero-card-surface > * {
  position: relative;
  z-index: 1;
}
/* ---- hero tipografikasi (Figma bilan bir xil) ---- */
.hero-cap {
  font-size: var(--hero-cap-size);
  font-weight: var(--hero-cap-weight);
  letter-spacing: 0;
  text-transform: none;
  opacity: var(--hero-cap-opacity);
  line-height: 1.25;
}
.hero-val {
  font-size: var(--hero-val-size);
  font-weight: var(--hero-val-weight);
  letter-spacing: var(--hero-val-tracking);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
/* "800,938,016.32" dagi ".32" — kichikroq va xiraroq */
.hero-dec {
  font-size: var(--hero-dec-size);
  opacity: var(--hero-dec-opacity);
  letter-spacing: 0;
}
@media (prefers-reduced-transparency: reduce) {
  .hero-card-surface::before {
    display: none;
  }
}
* {
  box-sizing: border-box;
  outline: none !important;
}
button {
  border: none !important;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--page-bg);
  font-family: var(--font-family);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv11" 1;
  color: var(--text);
}
/* ---------- Phone frame (shared shell) ---------- */
.phone {
  width: 340px;
  height: 718px;
  background: var(--frame-bg);
  border-radius: 38px;
  border: 1px solid var(--frame-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.statusbar {
  height: 36px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.statusicons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sig-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.sig-bars span {
  width: 3px;
  background: var(--text);
  border-radius: 1px;
}
.sig-bars span:nth-child(1) {
  height: 4px;
}
.sig-bars span:nth-child(2) {
  height: 6px;
}
.sig-bars span:nth-child(3) {
  height: 8px;
}
.sig-bars span:nth-child(4) {
  height: 10px;
}
.wifi-ic svg {
  width: 15px;
  height: 11px;
  fill: var(--text);
}
.batt {
  width: 22px;
  height: 11px;
  border: 1.3px solid var(--text);
  border-radius: 3px;
  position: relative;
  padding: 1.5px;
}
.batt::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 5px;
  background: var(--text);
  border-radius: 0 2px 2px 0;
}
.batt i {
  display: block;
  height: 100%;
  width: 82%;
  background: var(--text);
  border-radius: 1px;
}
/* ---------- Отчёты: шапка + сегментированный переключатель ---------- */
.dash-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  /* Web owns the header now — reserve the phone status bar above it. */
  padding: calc(var(--app-safe-top, 0px) + 10px) 20px 12px;
}
/* Type comes from the `.text-display-xs-semibold` token on the element. */
.dash-header h1 {
  margin: 0;
  color: #0d0f16;
}
.export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  right: 16px;
  width: 40px;
  height: 40px;
  z-index: 111;
  cursor: pointer;
  background: var(--blue);
  border-radius: 50%;
  color: #ffffff;
}
/* Faqat kursorli qurilmalar: sensorli ekranda :hover bosilgandan keyin yopishib
   qoladi va bu soya "pressed" effekti bo'lib ko'rinadi. */
@media (hover: hover) and (pointer: fine) {
  .export-btn:hover {
    background: #00606c;
    box-shadow: 0 6px 14px -3px rgba(0, 111, 125, 0.36);
  }
}
.export-btn:active {
  transform: scale(0.97);
}
.export-btn svg {
  width: 13px;
  height: 13px;
}
/* сегментированный переключатель отчётов (Apple sliding segmented control) */
.rep-switch {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
  margin: 0 16px 12px;
  background: #fff;
  border-radius: 16px;
  padding: 4px;
  box-shadow: rgba(17, 12, 46, 0.06) 0px 8px 30px 0px;
  border: 0.3px solid #e7ebf1;
}
.rep-switch button {
  position: relative;
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
}
.rep-switch button .t {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  color: #2b2f3a;
  letter-spacing: -0.1px;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.rep-switch button .s {
  position: relative;
  z-index: 1;
  font-size: 8.8px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}
.rep-switch button:hover:not(.active) .t {
  color: var(--blue);
}
.rep-switch .rep-pill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 16px;
  background: var(--blue);
}
.rep-switch button.active .t {
  color: #fff;
}
.rep-switch button.active .s {
  color: rgba(255, 255, 255, 0.74);
}
/* на детальном экране переключатель скрыт — возврат кнопкой «назад» */
.rep-switch.hidden {
  display: none;
}
/* ---------- общий градиентный hero (P&L / Balance) ---------- */
/* yuzasi .hero-card-surface dan keladi (gradient, radius, pattern) */
.rep-hero {
  padding: 14px 14px;
  box-shadow: 0 12px 26px -12px rgba(15, 66, 63, 0.5);
  margin-bottom: 16px;
}
.rep-hero .rh-cap {
  font-size: var(--hero-cap-size);
  font-weight: var(--hero-cap-weight);
  letter-spacing: 0;
  text-transform: none;
  opacity: var(--hero-cap-opacity);
  line-height: 1.25;
}
.rep-hero .rh-val {
  font-size: var(--hero-val-size);
  font-weight: var(--hero-val-weight);
  letter-spacing: var(--hero-val-tracking);
  line-height: 1.1;
  margin: 6px 0 14px;
  font-variant-numeric: tabular-nums;
}
.rep-hero .rh-val .hero-dec {
  font-size: var(--hero-dec-size);
  opacity: var(--hero-dec-opacity);
  letter-spacing: 0;
}
.rep-hero .rh-sub {
  display: flex;
  gap: 8px;
}
.rep-hero .rh-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 10px 12px;
  border: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
}
.rep-hero .rh-card .c {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-hero .rh-card .v {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.rep-hero .rh-card .v.pos {
  color: #7ff0c0;
}
.rep-hero .rh-card.tap {
  cursor: pointer;
  transition: background 0.12s, transform 0.1s ease;
}
.rep-hero .rh-card.tap:hover {
  background: rgba(255, 255, 255, 0.22);
}
.rep-hero .rh-card.tap:active {
  transform: scale(0.97);
}
/* ---------- outer tab switcher: Cash Flow / P&L / Balance Sheet ---------- */
.tab-content-wrap,
.tab-content-motion {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  padding: 0 16px;
}
.tab-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tab-content.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
/* ---------- inner per-report screen switcher (shared shape, used by both reports) ---------- */
.screens {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.screen.active {
  opacity: 1;
  transform: translateX(0);
}
/* only let clicks reach a screen when its whole outer tab is actually active —
     otherwise an inactive tab's "active" inner screen sits stacked on top and
     silently swallows clicks meant for the tab that's actually visible */
.tab-content.active .screen.active {
  pointer-events: auto;
}
/* =========================================================
     #tab-cashflow — Cash Flow (light theme, primary = --blue)
     ========================================================= */
#tab-cashflow {
  /* hero-карта: градиент/радиус/паттерн заданы в .hero-card-surface */
  --cf-hero-fg: var(--hero-fg);
  --cf-warn: #f79009;
  --cf-out: #f2707a;
  /* расход: бары и точка-индикатор */
  --cf-surface-2: var(--soft-bg);
}
#tab-cashflow .cf-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
#tab-cashflow .cf-scroll::-webkit-scrollbar {
  display: none;
}
/* 1. шапка */
#tab-cashflow .cf-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
#tab-cashflow .cf-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: 0 0 auto;
  background: var(--blue-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
#tab-cashflow .cf-who {
  flex: 1;
  min-width: 0;
}
#tab-cashflow .cf-who .nm {
  font-size: 14px;
  font-weight: 800;
  color: #0d0f16;
  letter-spacing: -0.2px;
}
#tab-cashflow .cf-who .sub {
  font-size: 10.3px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-cashflow .cf-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
  background: var(--soft-bg);
  color: #3a3f4d;
  display: flex;
  align-items: center;
  justify-content: center;
}
#tab-cashflow .cf-ico:hover {
  background: var(--blue-bg);
  color: var(--blue);
}
#tab-cashflow .cf-ico.on {
  background: var(--blue);
  color: #fff;
}
#tab-cashflow .cf-ico svg {
  width: 16px;
  height: 16px;
}
/* выбранный период */
#tab-cashflow .cf-period {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.1px;
  margin-bottom: 12px;
}
#tab-cashflow .cf-period svg {
  width: 11px;
  height: 11px;
}
/* 2. hero — yuzasi .hero-card-surface dan keladi (gradient, radius, pattern) */
#tab-cashflow .cf-hero {
  box-shadow: 0 12px 26px -12px rgba(15, 66, 63, 0.55);
  padding: 12px 16px 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
#tab-cashflow .cf-hero .cap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--hero-cap-size);
  font-weight: var(--hero-cap-weight);
  opacity: var(--hero-cap-opacity);
  letter-spacing: 0;
  line-height: 1.25;
}
#tab-cashflow .cf-hero .cap .cap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5fdba0;
  flex: 0 0 auto;
}
#tab-cashflow .cf-hero .amount {
  font-size: var(--hero-val-size);
  font-weight: var(--hero-val-weight);
  letter-spacing: var(--hero-val-tracking);
  line-height: 1.1;
  margin-top: 6px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}
#tab-cashflow .cf-hero .amount .unit,
#tab-cashflow .cf-hero .amount .hero-dec {
  font-size: var(--hero-dec-size);
  font-weight: var(--hero-val-weight);
  opacity: var(--hero-dec-opacity);
  letter-spacing: 0;
}
#tab-cashflow .cf-hero .amount:active {
  opacity: 0.75;
}
/* runway — в отдельной плашке */
#tab-cashflow .cf-hero .runway {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 10.8px;
  font-weight: 600;
  line-height: 1.35;
}
#tab-cashflow .cf-hero .runway svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
#tab-cashflow .cf-hero .runway.ok {
  color: var(--cf-hero-fg);
}
#tab-cashflow .cf-hero .runway.warn {
  color: var(--cf-warn);
}
#tab-cashflow .cf-hero .runway.crit {
  color: #ff8f85;
}
#tab-cashflow .cf-hero .rule {
  height: 1px;
  background: currentColor;
  opacity: 0.16;
  margin: 13px 0 10px;
}
#tab-cashflow .cf-hero .fc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#tab-cashflow .cf-hero .fc-cap {
  font-size: 10.8px;
  font-weight: 600;
  opacity: 0.72;
}
#tab-cashflow .cf-hero .fc-val {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
#tab-cashflow .cf-hero .fc-val .trend.down {
  color: var(--cf-out);
  margin-left: 3px;
}
#tab-cashflow .cf-hero .fc-val .trend.up {
  color: #5fdba0;
  margin-left: 3px;
}
/* 3. KPI */
#tab-cashflow .cf-kpis {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  overflow: hidden;
}
#tab-cashflow .cf-kpi {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--frame-border);
  border-radius: 13px;
  padding: 9px 9px 10px;
  cursor: pointer;
  transition: 0.12s;
  overflow: hidden;
  overflow-x: auto;
}
#tab-cashflow .cf-kpi.on {
  border-color: var(--blue);
  background: var(--blue-bg);
}
#tab-cashflow .cf-kpi .k-cap {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.6px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
  white-space: nowrap;
}
#tab-cashflow .cf-kpi .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}
#tab-cashflow .cf-kpi .dot.in {
  background: var(--green);
}
#tab-cashflow .cf-kpi .dot.out {
  background: var(--cf-out);
}
#tab-cashflow .cf-kpi .dot.net {
  background: #b7bcc9;
}
/* cash flow — нейтральный текст, НЕ красный */
#tab-cashflow .cf-kpi .k-val {
  font-size: 12.8px;
  font-weight: 800;
  color: #0d0f16;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-cashflow .cf-kpi .k-sub {
  font-size: 9.2px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}
/* переключатель гранулярности: месяцы / недели / дни */
#tab-cashflow .cf-gran {
  display: flex;
  gap: 3px;
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 9px;
}
#tab-cashflow .cf-gran button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 4px;
  font-size: 10.8px;
  font-weight: 700;
  color: #5b6072;
  letter-spacing: 0.1px;
  transition: 0.15s;
}
#tab-cashflow .cf-gran button.on {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.25);
}
#tab-cashflow .cf-gran button.hidden {
  display: none;
}
/* секции */
#tab-cashflow .cf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
#tab-cashflow .cf-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0d0f16;
  letter-spacing: -0.1px;
}
#tab-cashflow .cf-hint {
  font-size: 10.3px;
  color: var(--muted);
  font-weight: 600;
}
#tab-cashflow .cf-link {
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}
/* 4. график */
#tab-cashflow .cf-chartwrap {
  margin-bottom: 20px;
  height: -moz-max-content;
  height: max-content;
}
/* строка-readout: карточка с тремя показателями */
#tab-cashflow .cf-readout {
  background: var(--soft-bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 9px 11px 10px;
  margin-bottom: 10px;
}
#tab-cashflow .cf-readout .ro-period {
  font-size: 9.4px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
#tab-cashflow .cf-readout .ro-stats {
  display: flex;
  gap: 8px;
}
#tab-cashflow .cf-readout .ro-s {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 8px;
  border-left: 2px solid var(--divider);
}
#tab-cashflow .cf-readout .ro-s.in {
  border-left-color: var(--green);
}
#tab-cashflow .cf-readout .ro-s.out {
  border-left-color: var(--cf-out);
}
#tab-cashflow .cf-readout .ro-s.bal {
  border-left-color: var(--blue);
}
#tab-cashflow .cf-readout .ro-s .l {
  font-size: 8.6px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
#tab-cashflow .cf-readout .ro-s .v {
  font-size: 12.2px;
  font-weight: 800;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
#tab-cashflow .cf-readout .ro-s .v.in {
  color: var(--green);
}
#tab-cashflow .cf-readout .ro-s .v.out {
  color: var(--cf-out);
}
#tab-cashflow .cf-readout .ro-s .v.bal {
  color: #0d0f16;
}
#tab-cashflow .cf-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
#tab-cashflow .cf-chart .hit {
  cursor: pointer;
}
#tab-cashflow .cf-xlabels {
  display: flex;
  margin-top: 4px;
}
#tab-cashflow .cf-xlabels span {
  flex: 1;
  text-align: center;
  font-size: 9.6px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  border-radius: 7px;
}
#tab-cashflow .cf-xlabels span.on {
  color: var(--blue);
  font-weight: 800;
  background: var(--blue-bg);
}
#tab-cashflow .cf-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
}
#tab-cashflow .cf-legend i {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.8px;
  font-style: normal;
  color: #5b6072;
  font-weight: 600;
}
#tab-cashflow .cf-legend .sw {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: 0 0 auto;
}
#tab-cashflow .cf-legend .sw.in {
  background: var(--green);
}
#tab-cashflow .cf-legend .sw.out {
  background: var(--cf-out);
}
#tab-cashflow .cf-legend .ln {
  width: 15px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  flex: 0 0 auto;
}
/* 5. категории */
#tab-cashflow .cf-cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
#tab-cashflow .cf-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
#tab-cashflow .cf-cat:hover .c-name {
  color: var(--blue);
}
#tab-cashflow .cf-cat .c-ico {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  flex: 0 0 auto;
  background: var(--soft-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
#tab-cashflow .cf-cat .c-ico svg {
  width: 15px;
  height: 15px;
}
#tab-cashflow .cf-cat .c-mid {
  flex: 1;
  min-width: 0;
}
#tab-cashflow .cf-cat .c-name {
  font-size: 11.8px;
  font-weight: 600;
  color: #2b2f3a;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-cashflow .cf-cat .c-track {
  height: 4px;
  border-radius: 3px;
  background: #eceef3;
}
#tab-cashflow .cf-cat .c-track i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}
#tab-cashflow .cf-cat .c-val {
  font-size: 11.5px;
  font-weight: 700;
  color: #0d0f16;
  white-space: nowrap;
  flex: 0 0 auto;
  letter-spacing: -0.2px;
}
#tab-cashflow .cf-more {
  width: 100%;
  border: 1px solid var(--frame-border);
  background: #fff;
  border-radius: 12px;
  padding: 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #2b2f3a;
  cursor: pointer;
  letter-spacing: 0.1px;
}
#tab-cashflow .cf-more:hover {
  background: var(--soft-bg);
}
/* 6. операции */
#tab-cashflow .cf-ops {
  display: flex;
  flex-direction: column;
}
#tab-cashflow .cf-op {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
}
#tab-cashflow .cf-op:last-child {
  border-bottom: none;
}
#tab-cashflow .cf-op .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
}
#tab-cashflow .av-1 {
  background: var(--blue-bg);
  color: var(--blue);
}
#tab-cashflow .av-2 {
  background: #eaf2ff;
  color: #2e6be6;
}
#tab-cashflow .av-3 {
  background: #f3edfe;
  color: #7a5af8;
}
#tab-cashflow .av-4 {
  background: #fff3e6;
  color: #f79009;
}
#tab-cashflow .av-5 {
  background: #fdecec;
  color: #f04438;
}
#tab-cashflow .av-6 {
  background: var(--green-bg);
  color: var(--green);
}
#tab-cashflow .cf-op .o-txt {
  flex: 1;
  min-width: 0;
  color: #fff;
}
#tab-cashflow .cf-op .o-nm {
  font-size: 14px;
  font-weight: 700;
  color: #0C111D;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-cashflow .cf-op .o-sub {
  font-size: 12px;
  color: #98A2B3;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-cashflow .cf-op .o-val {
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
#tab-cashflow .cf-op .o-val.in {
  color: var(--green);
}
/* расход в ленте — нейтральный, НЕ красный */
#tab-cashflow .cf-op .o-val.out {
  color: #0d0f16;
}
/* календарь периода (bottom sheet) */
#tab-cashflow .cf-cal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 25, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 3;
}
#tab-cashflow .cf-cal-overlay.visible {
  opacity: 1;
}
#tab-cashflow.active .cf-cal-overlay.visible {
  pointer-events: auto;
}
#tab-cashflow .cf-cal {
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 32px rgba(20, 25, 40, 0.18);
  padding: 16px 18px 18px;
  max-height: 90%;
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
#tab-cashflow .cf-cal::-webkit-scrollbar {
  display: none;
}
#tab-cashflow .cf-cal-overlay.visible .cf-cal {
  transform: translateY(0);
}
#tab-cashflow .cf-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
#tab-cashflow .cf-cal-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
  letter-spacing: -0.2px;
}
#tab-cashflow .cf-cal-close {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--soft-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
#tab-cashflow .cf-cal-close svg {
  width: 12px;
  height: 12px;
}
#tab-cashflow .cf-cal-range {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
#tab-cashflow .cf-cal-range .fld {
  flex: 1;
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 8px 10px;
}
#tab-cashflow .cf-cal-range .fld .cap {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
#tab-cashflow .cf-cal-range .fld .val {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0d0f16;
  outline: none;
}
#tab-cashflow .cf-cal-range .fld .val::-moz-placeholder {
  color: #b7bcc9;
  font-weight: 600;
}
#tab-cashflow .cf-cal-range .fld .val::placeholder {
  color: #b7bcc9;
  font-weight: 600;
}
#tab-cashflow .cf-cal-range .fld.focus {
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
#tab-cashflow .cf-cal-range .fld.bad {
  box-shadow: inset 0 0 0 1.5px var(--red);
}
#tab-cashflow .cf-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
/* заголовок — кнопка выбора года */
#tab-cashflow .cf-cal-nav .t {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #0d0f16;
  padding: 5px 10px;
  border-radius: 9px;
}
#tab-cashflow .cf-cal-nav .t:hover {
  background: var(--soft-bg);
}
#tab-cashflow .cf-cal-nav .t svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
  transition: transform 0.18s;
}
#tab-cashflow .cf-cal-nav .t.open {
  background: var(--blue-bg);
  color: var(--blue);
}
#tab-cashflow .cf-cal-nav .t.open svg {
  transform: rotate(180deg);
  color: var(--blue);
}
#tab-cashflow .cf-cal-nav .nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--soft-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: 0 0 auto;
}
#tab-cashflow .cf-cal-nav .nav-btn svg {
  width: 14px;
  height: 14px;
}
/* сетка выбора года */
#tab-cashflow .cf-year-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 2px 0 2px;
}
#tab-cashflow .cf-year-grid.show {
  display: grid;
}
#tab-cashflow .cf-year-grid button {
  border: 1.5px solid var(--frame-border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 11px 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #2b2f3a;
  transition: 0.12s;
}
#tab-cashflow .cf-year-grid button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
#tab-cashflow .cf-year-grid button.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
#tab-cashflow .cf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
#tab-cashflow .cf-cal-grid .dow {
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
#tab-cashflow .cf-cal-grid .day {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #3a3f4d;
  cursor: pointer;
  position: relative;
  border-radius: 9px;
}
#tab-cashflow .cf-cal-grid .day.empty {
  cursor: default;
}
#tab-cashflow .cf-cal-grid .day:not(.empty):hover {
  background: var(--soft-bg);
}
#tab-cashflow .cf-cal-grid .day.in-range {
  background: var(--blue-bg);
  border-radius: 0;
  color: var(--blue);
}
#tab-cashflow .cf-cal-grid .day.r-start {
  background: var(--blue-bg);
  border-radius: 9px 0 0 9px;
}
#tab-cashflow .cf-cal-grid .day.r-end {
  background: var(--blue-bg);
  border-radius: 0 9px 9px 0;
}
#tab-cashflow .cf-cal-grid .day.r-start.r-end {
  border-radius: 9px;
}
#tab-cashflow .cf-cal-grid .day.sel {
  color: #fff;
}
#tab-cashflow .cf-cal-grid .day.sel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: 9px;
  z-index: 0;
}
#tab-cashflow .cf-cal-grid .day.sel span {
  position: relative;
  z-index: 1;
}
#tab-cashflow .cf-cal-apply {
  margin-top: 14px;
  width: 100%;
  border: none;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  position: sticky;
  bottom: 0;
  box-shadow: 0 8px 16px rgba(0, 111, 125, 0.28), 0 0 0 8px #fff, 0 12px 0 8px #fff;
}
#tab-cashflow .cf-cal-apply:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: default;
}
/* =========================================================
     #tab-pnl — scoped styles for the P&L report
     ========================================================= */
#tab-pnl .header {
  flex: 0 0 auto;
  padding: 2px 20px 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#tab-pnl .header .back {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-top: 1px;
  border-radius: 9px;
  cursor: pointer;
}
#tab-pnl .header .back:hover {
  background: var(--soft-bg);
}
#tab-pnl .header .back svg {
  width: 18px;
  height: 18px;
}
#tab-pnl .header .titles {
  flex: 1;
  min-width: 0;
}
#tab-pnl .header .titles h1 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
  line-height: 1.28;
  color: #0d0f16;
}
#tab-pnl .header .titles p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.1px;
}
#tab-pnl .header .titles p .date-range {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0;
}
#tab-pnl .header .titles p.hdr-period {
  margin-top: 2px;
}
#tab-pnl .header .titles p.hdr-period .date-range {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
#tab-pnl .header .icon-btn {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
#tab-pnl .header .icon-btn svg {
  width: 15px;
  height: 15px;
}
#tab-pnl .content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#tab-pnl .content.scroll {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
#tab-pnl .content.scroll::-webkit-scrollbar {
  display: none;
}
#tab-pnl .content.scroll > * {
  flex: 0 0 auto;
}
#tab-pnl .segmented {
  display: flex;
  background: var(--soft-bg);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}
#tab-pnl .segmented button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #5b6072;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}
#tab-pnl .segmented button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.25);
}
#tab-pnl .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#tab-pnl .dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--soft-bg);
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2b2f3a;
  letter-spacing: 0.1px;
  flex: 0 0 auto;
}
#tab-pnl .dropdown svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
}
#tab-pnl .filter-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--soft-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex: 0 0 auto;
  transition: background 0.12s;
}
#tab-pnl .filter-btn:hover {
  background: var(--blue-bg);
}
#tab-pnl .filter-btn svg {
  width: 15px;
  height: 15px;
}
/* сводная таблица: имя закреплено слева, месяцы квартала — прокруткой вправо */
#tab-pnl .table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--divider);
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cfd6de transparent;
}
#tab-pnl .table-wrap::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
#tab-pnl .table-wrap::-webkit-scrollbar-thumb {
  background: #cfd6de;
  border-radius: 4px;
}
#tab-pnl table.pnl {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}
#tab-pnl table.pnl th,
#tab-pnl table.pnl td {
  padding: 6px 9px;
  white-space: nowrap;
}
/* колонка «Наименование» — не закреплена, скроллится вместе с таблицей */
#tab-pnl table.pnl th:first-child,
#tab-pnl table.pnl td:first-child {
  position: static;
  background: #fff;
  min-width: 136px;
  max-width: 136px;
  white-space: normal;
  text-align: left;
  box-shadow: 1px 0 0 var(--divider);
}
#tab-pnl table.pnl thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: right;
  font-weight: 700;
  font-size: 8.8px;
  color: var(--muted);
  letter-spacing: 0.15px;
  line-height: 1.25;
  background: var(--soft-bg);
  border-bottom: 1px solid var(--divider);
}
#tab-pnl table.pnl thead th:first-child {
  z-index: 3;
  background: var(--soft-bg);
  text-align: left;
}
#tab-pnl table.pnl tbody td {
  border-bottom: 1px solid var(--divider);
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.3;
}
#tab-pnl table.pnl tbody td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
}
#tab-pnl table.pnl tbody tr:last-child td {
  border-bottom: none;
}
#tab-pnl table.pnl td.neg {
  color: var(--red);
}
/* месячные колонки — визуально отделены */
#tab-pnl table.pnl th.mo {
  color: var(--blue);
}
#tab-pnl table.pnl td.mo {
  background: #f7fbfb;
}
#tab-pnl tr.section {
  cursor: pointer;
}
#tab-pnl tr.section td {
  font-weight: 700;
  background: var(--row-bg, transparent);
  transition: filter 0.12s;
}
#tab-pnl tr.section:hover td {
  filter: brightness(0.97);
}
#tab-pnl tr.section td:first-child {
  border-radius: 8px 0 0 8px;
  padding-left: 8px;
}
#tab-pnl tr.section td:last-child {
  border-radius: 0 8px 8px 0;
  padding-right: 8px;
}
#tab-pnl tr.section td {
  border-bottom: none;
}
#tab-pnl tr.section + tr td {
  padding-top: 8px;
}
#tab-pnl tr.income {
  --row-bg: var(--green-bg);
}
#tab-pnl tr.income td {
  color: var(--green);
}
#tab-pnl tr.expense {
  --row-bg: var(--red-bg);
}
#tab-pnl tr.expense td {
  color: var(--red);
}
#tab-pnl tr.profit {
  --row-bg: var(--blue-bg);
}
#tab-pnl tr.profit td {
  color: var(--blue);
}
#tab-pnl tr.net-profit {
  cursor: pointer;
}
#tab-pnl tr.net-profit td {
  background: var(--green-bg);
  color: var(--green);
  font-weight: 800;
  padding: 9px;
  transition: filter 0.12s;
}
#tab-pnl tr.net-profit:hover td {
  filter: brightness(0.97);
}
#tab-pnl tr.net-profit td:first-child {
  border-radius: 10px 0 0 10px;
  padding-left: 10px;
}
#tab-pnl tr.net-profit td:last-child {
  border-radius: 0 10px 10px 0;
  padding-right: 10px;
}
#tab-pnl tr.spacer td {
  border-bottom: none;
  padding: 3px 0 0;
}
/* закреплённая колонка должна наследовать фон своей строки, а не белый */
#tab-pnl table.pnl tr.section td:first-child {
  background: var(--row-bg);
}
#tab-pnl table.pnl tr.net-profit td:first-child {
  background: var(--green-bg);
}
#tab-pnl table.pnl tr.section td.mo {
  background: var(--row-bg);
}
#tab-pnl table.pnl tr.net-profit td.mo {
  background: var(--green-bg);
}
#tab-pnl .cards3 {
  display: flex;
  gap: 7px;
}
#tab-pnl .mini-card {
  flex: 1;
  border-radius: 13px;
  padding: 10px 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.1s ease;
}
#tab-pnl .mini-card:active {
  transform: scale(0.97);
}
#tab-pnl .mini-card.assets {
  background: var(--green-bg);
}
#tab-pnl .mini-card.expense {
  background: var(--red-bg);
}
#tab-pnl .mini-card.profit {
  background: var(--blue-bg);
}
#tab-pnl .mini-card .label {
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-pnl .mini-card.assets .label {
  color: #1f8f52;
}
#tab-pnl .mini-card.expense .label {
  color: #c23347;
}
#tab-pnl .mini-card.profit .label {
  color: var(--blue);
}
#tab-pnl .mini-card .value {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-pnl .mini-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#tab-pnl .mini-card .pct {
  font-size: 10.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
#tab-pnl .mini-card.assets .pct {
  color: var(--green);
}
#tab-pnl .mini-card.expense .pct {
  color: var(--red);
}
#tab-pnl .mini-card.profit .pct {
  color: var(--green);
}
#tab-pnl .mini-card .chev {
  color: var(--muted);
}
#tab-pnl .mini-card .chev svg {
  width: 11px;
  height: 11px;
}
#tab-pnl .section-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #0d0f16;
}
#tab-pnl .chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
#tab-pnl .chip {
  border: none;
  border-radius: 20px;
  background: var(--soft-bg);
  color: #464b58;
  font-size: 11.3px;
  font-weight: 600;
  letter-spacing: 0.1px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
}
#tab-pnl .chip.active {
  background: var(--blue);
  color: #fff;
}
#tab-pnl .row-list {
  display: flex;
  flex-direction: column;
}
#tab-pnl .item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s;
}
#tab-pnl .item-row:hover {
  background: #eef1f7;
}
#tab-pnl .item-row.hidden {
  display: none;
}
#tab-pnl .item-row .name {
  font-size: 12px;
  font-weight: 500;
  color: #3a3f4d;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
#tab-pnl .item-row .right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
#tab-pnl .item-row .nums {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
}
#tab-pnl .item-row .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
}
#tab-pnl .item-row .num.neg {
  color: var(--red);
}
#tab-pnl .item-row .pct {
  font-size: 10.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
#tab-pnl .item-row .pct.up {
  color: var(--green);
}
#tab-pnl .item-row .pct.down {
  color: var(--red);
}
#tab-pnl .item-row .caret {
  color: #c7cbd6;
  font-size: 13px;
}
#tab-pnl .item-row.subtotal {
  background: var(--soft-bg);
}
#tab-pnl .item-row.subtotal:hover {
  background: #eef1f7;
}
#tab-pnl .item-row.subtotal .name {
  font-weight: 700;
  color: #1a1d29;
}
#tab-pnl .item-row.child {
  padding-left: 20px;
}
#tab-pnl .item-row.child .name {
  color: #565c6b;
}
#tab-pnl .empty-hint {
  display: none;
  padding: 16px 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
#tab-pnl .empty-hint.visible {
  display: block;
}
#tab-pnl .chart2 {
  margin-top: 4px;
  margin-bottom: 10px;
}
#tab-pnl .chart2 svg {
  width: 100%;
  height: auto;
  display: block;
}
#tab-pnl .chart2 .xlabels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  padding: 0 2px;
}
#tab-pnl .sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 25, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 2;
}
#tab-pnl .sheet-overlay.visible {
  opacity: 1;
}
#tab-pnl.active .sheet-overlay.visible {
  pointer-events: auto;
}
#tab-pnl .bottom-sheet {
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 32px rgba(20, 25, 40, 0.18);
  padding: 14px 20px 18px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
#tab-pnl .sheet-overlay.visible .bottom-sheet {
  transform: translateY(0);
}
#tab-pnl .sheet-grabber {
  width: 36px;
  height: 4px;
  background: #e2e5ec;
  border-radius: 3px;
  margin: 0 auto 12px;
}
#tab-pnl .sheet-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}
#tab-pnl .sheet-close svg {
  width: 11px;
  height: 11px;
}
#tab-pnl .stat-block {
  padding: 2px 0 4px;
  position: relative;
}
#tab-pnl .stat-block .label {
  font-size: 11.8px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.1px;
  margin-bottom: 5px;
}
#tab-pnl .stat-block .value {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0d0f16;
}
#tab-pnl .stat-block .value .unit {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 4px;
}
#tab-pnl .stat-block .pct {
  font-size: 11.8px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--green);
  margin-top: 5px;
}
#tab-pnl table.detail {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 10.2px;
}
#tab-pnl table.detail col.col-name {
  width: auto;
}
#tab-pnl table.detail col.col-num {
  width: 46px;
}
#tab-pnl table.detail col.col-pct {
  width: 40px;
}
#tab-pnl table.detail thead th {
  text-align: right;
  font-weight: 700;
  font-size: 8.6px;
  color: var(--muted);
  letter-spacing: 0.1px;
  padding: 0 0 4px;
  line-height: 1.25;
}
#tab-pnl table.detail thead th:first-child {
  text-align: left;
}
#tab-pnl table.detail tbody td {
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.28;
}
#tab-pnl table.detail tbody td:first-child {
  white-space: normal;
}
#tab-pnl table.detail tbody td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  color: var(--text);
  padding-left: 4px;
  white-space: nowrap;
}
#tab-pnl table.detail tbody tr:last-child td {
  border-bottom: none;
}
#tab-pnl table.detail td.pos {
  color: var(--green);
}
#tab-pnl table.detail td.neg {
  color: var(--red);
}
#tab-pnl table.detail tr.total td {
  background: var(--blue-bg);
  color: var(--blue);
  font-weight: 800;
}
#tab-pnl table.detail tr.total td:first-child {
  border-radius: 9px 0 0 9px;
  padding-left: 8px;
}
#tab-pnl table.detail tr.total td:last-child {
  border-radius: 0 9px 9px 0;
  padding-right: 8px;
}
#tab-pnl table.detail tr.total td.pos {
  color: var(--green);
}
/* ---------- P&L period selector (Период) ---------- */
#tab-pnl .period-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  background: var(--soft-bg);
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2b2f3a;
  letter-spacing: 0.1px;
  cursor: pointer;
}
#tab-pnl .period-btn .p-cap {
  color: var(--muted);
  font-weight: 600;
  flex: 0 0 auto;
}
#tab-pnl .period-btn .p-val {
  color: #0d0f16;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
#tab-pnl .period-btn svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
  flex: 0 0 auto;
}
/* period bottom sheet */
#tab-pnl .period-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 25, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 3;
}
#tab-pnl .period-overlay.visible {
  opacity: 1;
}
#tab-pnl.active .period-overlay.visible {
  pointer-events: auto;
}
#tab-pnl .period-sheet {
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 32px rgba(20, 25, 40, 0.18);
  padding: 16px 18px 18px;
  max-height: 88%;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}
#tab-pnl .period-overlay.visible .period-sheet {
  transform: translateY(0);
}
#tab-pnl .period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}
#tab-pnl .period-head .p-back {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--soft-bg);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex: 0 0 auto;
}
#tab-pnl .period-head .p-back svg {
  width: 13px;
  height: 13px;
}
#tab-pnl .period-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
  letter-spacing: -0.2px;
  flex: 1;
}
#tab-pnl .period-head .p-close {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex: 0 0 auto;
}
#tab-pnl .period-head .p-close svg {
  width: 12px;
  height: 12px;
}
#tab-pnl .period-view {
  display: none;
  flex-direction: column;
  min-height: 0;
}
#tab-pnl .period-view.active {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
#tab-pnl .period-view.active::-webkit-scrollbar {
  display: none;
}
/* year navigator */
#tab-pnl .pp-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--blue-bg);
  border-radius: 12px;
  padding: 7px 8px;
  margin-bottom: 14px;
  flex: 0 0 auto;
}
#tab-pnl .pp-year .pp-nav {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 9px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 111, 125, 0.12);
}
#tab-pnl .pp-year .pp-nav svg {
  width: 15px;
  height: 15px;
}
#tab-pnl .pp-year .pp-year-label {
  font-size: 15px;
  font-weight: 600;
  color: #0d0f16;
  letter-spacing: -0.1px;
}
#tab-pnl .pp-year .pp-year-label b {
  color: var(--blue);
  font-weight: 800;
}
/* scroll wrapper for the grids */
#tab-pnl .pp-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
}
#tab-pnl .pp-scroll::-webkit-scrollbar {
  display: none;
}
#tab-pnl .pp-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 7px 2px;
}
#tab-pnl .pp-grid {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
#tab-pnl .pp-months {
  grid-template-columns: repeat(3, 1fr);
}
#tab-pnl .pp-quarters {
  grid-template-columns: repeat(4, 1fr);
}
#tab-pnl .pp-periods {
  grid-template-columns: repeat(3, 1fr);
}
#tab-pnl .pp-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1.5px solid #e7ebf0;
  background: #fff;
  border-radius: 11px;
  padding: 11px 4px;
  font-size: 11.8px;
  font-weight: 600;
  color: #2b2f3a;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  line-height: 1.15;
  transition: 0.12s;
}
#tab-pnl .pp-cell:hover {
  border-color: var(--blue);
  color: var(--blue);
}
#tab-pnl .pp-cell.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 111, 125, 0.28);
}
#tab-pnl .pp-cell .pp-sub {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1px;
}
#tab-pnl .pp-cell:hover .pp-sub {
  color: var(--blue);
}
#tab-pnl .pp-cell.active .pp-sub {
  color: rgba(255, 255, 255, 0.85);
}
#tab-pnl .pp-custom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1.5px dashed #ccd4dc;
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
}
#tab-pnl .pp-custom svg {
  width: 15px;
  height: 15px;
}
#tab-pnl .pp-custom.active {
  background: var(--blue-bg);
  border-style: solid;
  border-color: var(--blue);
}
/* Детализация as a horizontally-scrollable table: Статья (frozen) + Итого + months */
#tab-pnl .row-list {
  display: none;
}
/* kept only as the data source for the table */
#tab-pnl .det-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--divider);
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cfd6de transparent;
}
#tab-pnl .det-scroll::-webkit-scrollbar {
  height: 5px;
}
#tab-pnl .det-scroll::-webkit-scrollbar-thumb {
  background: #cfd6de;
  border-radius: 4px;
}
#tab-pnl table.det-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  font-variant-numeric: tabular-nums;
}
#tab-pnl table.det-table th,
#tab-pnl table.det-table td {
  padding: 11px 12px;
  white-space: nowrap;
}
/* first column (Статья) — scrolls together with the rest of the table */
#tab-pnl table.det-table th.dt-name,
#tab-pnl table.det-table td.dt-name {
  position: static;
  width: 164px;
  min-width: 164px;
  max-width: 164px;
  white-space: normal;
  text-align: left;
  background: #fff;
  box-shadow: 1px 0 0 var(--divider);
}
#tab-pnl table.det-table thead th {
  text-align: right;
  font-weight: 700;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
  background: var(--soft-bg);
  border-bottom: 1px solid var(--divider);
}
#tab-pnl table.det-table thead th.dt-name {
  background: var(--soft-bg);
}
#tab-pnl table.det-table tbody td {
  text-align: right;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
  border-bottom: 1px solid var(--divider);
}
#tab-pnl table.det-table tbody td.dt-name {
  font-weight: 500;
  font-size: 12.5px;
  color: #3a3f4d;
  line-height: 1.3;
}
#tab-pnl table.det-table tbody tr:last-child td {
  border-bottom: none;
}
#tab-pnl table.det-table td.neg {
  color: var(--red);
}
#tab-pnl table.det-table td.dt-tot {
  background: #f6fafa;
  font-weight: 800;
}
/* subtotal / child rows */
#tab-pnl table.det-table tr.subtotal td {
  background: var(--soft-bg);
}
#tab-pnl table.det-table tr.subtotal td.dt-tot {
  background: #eef4f4;
}
#tab-pnl table.det-table tr.subtotal td.dt-name {
  font-weight: 700;
  color: #1a1d29;
  background: var(--soft-bg);
}
/* child rows: extra indent + a vertical guide line showing they nest under the parent above */
#tab-pnl table.det-table tr.child td.dt-name {
  padding-left: 26px;
  color: #5b6472;
}
#tab-pnl table.det-table tr[data-sheet] {
  cursor: pointer;
}
#tab-pnl table.det-table tr[data-sheet]:hover td {
  filter: brightness(0.98);
}
#tab-pnl .det-hint {
  font-size: 9.5px;
  color: var(--muted);
  text-align: right;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
/* calendar (Свой период) */
#tab-pnl .cal-range {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}
#tab-pnl .cal-range .cr-field {
  flex: 1;
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 8px 10px;
}
#tab-pnl .cal-range .cr-field .cr-cap {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
#tab-pnl .cal-range .cr-field .cr-inp {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0d0f16;
  outline: none;
}
#tab-pnl .cal-range .cr-field .cr-inp::-moz-placeholder {
  color: #b7bcc9;
  font-weight: 600;
}
#tab-pnl .cal-range .cr-field .cr-inp::placeholder {
  color: #b7bcc9;
  font-weight: 600;
}
#tab-pnl .cal-range .cr-field.focus {
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
#tab-pnl .cal-range .cr-field.bad {
  box-shadow: inset 0 0 0 1.5px var(--red);
}
#tab-pnl .cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex: 0 0 auto;
}
#tab-pnl .cal-nav .cn-title {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #0d0f16;
  letter-spacing: -0.1px;
  padding: 5px 10px;
  border-radius: 9px;
}
#tab-pnl .cal-nav .cn-title:hover {
  background: var(--soft-bg);
}
#tab-pnl .cal-nav .cn-title svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
  transition: transform 0.18s;
}
#tab-pnl .cal-nav .cn-title.open {
  background: var(--blue-bg);
  color: var(--blue);
}
#tab-pnl .cal-nav .cn-title.open svg {
  transform: rotate(180deg);
  color: var(--blue);
}
#tab-pnl .cal-nav .cn-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--soft-bg);
  border: none;
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
#tab-pnl .cal-nav .cn-btn svg {
  width: 14px;
  height: 14px;
}
/* сетка выбора года */
#tab-pnl .cal-year-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
  flex: 0 0 auto;
}
#tab-pnl .cal-year-grid.show {
  display: grid;
}
#tab-pnl .cal-year-grid button {
  border: 1.5px solid var(--frame-border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  padding: 11px 4px;
  font-size: 12px;
  font-weight: 700;
  color: #2b2f3a;
  transition: 0.12s;
}
#tab-pnl .cal-year-grid button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
#tab-pnl .cal-year-grid button.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
#tab-pnl .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  flex: 0 0 auto;
}
#tab-pnl .cal-grid .cal-dow {
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
#tab-pnl .cal-cell {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #3a3f4d;
  cursor: pointer;
  position: relative;
  border-radius: 9px;
}
#tab-pnl .cal-cell.empty {
  cursor: default;
}
#tab-pnl .cal-cell.muted {
  color: #c7cbd6;
}
#tab-pnl .cal-cell:not(.empty):hover {
  background: var(--soft-bg);
}
#tab-pnl .cal-cell.in-range {
  background: var(--blue-bg);
  border-radius: 0;
  color: var(--blue);
}
#tab-pnl .cal-cell.range-start {
  background: var(--blue-bg);
  border-radius: 9px 0 0 9px;
}
#tab-pnl .cal-cell.range-end {
  background: var(--blue-bg);
  border-radius: 0 9px 9px 0;
}
#tab-pnl .cal-cell.range-start.range-end {
  border-radius: 9px;
}
#tab-pnl .cal-cell.selected {
  color: #fff;
}
#tab-pnl .cal-cell.selected::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: 9px;
  z-index: 0;
}
#tab-pnl .cal-cell.selected span {
  position: relative;
  z-index: 1;
}
/* показывать статистику: по месяцам / по годам */
#tab-pnl .cal-gran {
  margin-top: 14px;
  flex: 0 0 auto;
}
#tab-pnl .cal-gran .g-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
#tab-pnl .cal-gran .g-seg {
  display: flex;
  gap: 4px;
  background: var(--soft-bg);
  border-radius: 11px;
  padding: 4px;
}
#tab-pnl .cal-gran .g-seg button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 700;
  color: #5b6072;
  letter-spacing: 0.1px;
  transition: 0.15s;
}
#tab-pnl .cal-gran .g-seg button.on {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.25);
}
#tab-pnl .cal-gran .g-seg button:disabled {
  opacity: 0.4;
  cursor: default;
}
#tab-pnl .cal-gran.hidden {
  display: none;
}
#tab-pnl .cal-apply {
  margin-top: 12px;
  flex: 0 0 auto;
  border: none;
  width: 100%;
  position: sticky;
  bottom: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 16px rgba(0, 111, 125, 0.28), 0 0 0 8px #fff, 0 12px 0 8px #fff;
}
#tab-pnl .cal-apply:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: default;
}
/* =========================================================
     #tab-balance — scoped styles for the Balance Sheet report
     ========================================================= */
#tab-balance .header {
  flex: 0 0 auto;
  padding: 6px 22px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#tab-balance .header .back {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  margin-top: 2px;
  border-radius: 10px;
}
#tab-balance .header .back:hover {
  background: var(--soft-bg);
}
#tab-balance .header .back svg {
  width: 19px;
  height: 19px;
}
#tab-balance .header .titles {
  flex: 1;
  min-width: 0;
}
#tab-balance .header .titles h1 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
  color: #0d0f16;
}
#tab-balance .header .titles p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.1px;
}
#tab-balance .header .titles a.linklike {
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
#tab-balance .header .icon-btn {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  margin-top: 0;
}
#tab-balance .header .icon-btn svg {
  width: 16px;
  height: 16px;
}
#tab-balance .content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 2px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#tab-balance .segmented {
  display: flex;
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
#tab-balance .segmented button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 9px;
  padding: 9px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5b6072;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}
#tab-balance .segmented button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.25);
}
#tab-balance .dropdown {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft-bg);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #2b2f3a;
  letter-spacing: 0.1px;
}
#tab-balance .dropdown svg {
  width: 11px;
  height: 11px;
  color: var(--muted);
}
#tab-balance .cards-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
#tab-balance .stat-card {
  flex: 1;
  border-radius: 16px;
  padding: 14px 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  cursor: pointer;
  transition: transform 0.1s ease;
  width: 100%;
  overflow: hidden;
}
#tab-balance .stat-card:active {
  transform: scale(0.98);
}
#tab-balance .stat-card.assets {
  background: var(--green-bg);
}
#tab-balance .stat-card.liab {
  background: var(--red-bg);
}
#tab-balance .stat-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: #4b5563;
}
#tab-balance .stat-card.assets .label {
  color: #1f8f52;
}
#tab-balance .stat-card.liab .label {
  color: #c23347;
}
#tab-balance .stat-card .value {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.4px;
  max-width: 80%;
}
#tab-balance .stat-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#tab-balance .stat-card .pct {
  font-size: 12.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
#tab-balance .stat-card.assets .pct {
  color: var(--green);
}
#tab-balance .stat-card.liab .pct {
  color: var(--red);
}
#tab-balance .stat-card .chev {
  color: var(--muted);
}
#tab-balance .stat-card .chev svg {
  width: 14px;
  height: 14px;
}
#tab-balance .balance-card {
  background: var(--blue-bg);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.1s ease;
}
#tab-balance .balance-card:active {
  transform: scale(0.98);
}
#tab-balance .balance-card .left .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--blue);
  margin-bottom: 6px;
}
#tab-balance .balance-card .left .value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
#tab-balance .balance-card .left .pct {
  font-size: 12.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--green);
  margin-top: 4px;
}
#tab-balance .balance-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.15);
}
#tab-balance .balance-card .icon svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}
#tab-balance .section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #0d0f16;
  margin: 2px 0 -4px;
}
#tab-balance .legend-list {
  display: flex;
  flex-direction: column;
}
#tab-balance .legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 13.3px;
  min-width: 0;
}
#tab-balance .legend-row:last-child {
  border-bottom: none;
}
#tab-balance .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
#tab-balance .legend-row .name {
  flex: 1 1 auto;
  min-width: 0;
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-balance .legend-row .num {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 42%;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
#tab-balance .legend-row .share {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 600;
  min-width: 34px;
  max-width: 64px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-balance .chart-wrap {
  background: transparent;
}
#tab-balance .chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
#tab-balance .chart-xlabels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  padding: 0 2px;
}
#tab-balance .badge {
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 9px;
  border-radius: 20px;
}
#tab-balance .legend-swatches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
#tab-balance .legend-swatches .sw {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.8px;
  color: #5b6072;
  line-height: 1.35;
}
#tab-balance .legend-swatches .dot {
  width: 10px;
  height: 10px;
}
#tab-balance .scroll-area {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  padding-right: 2px;
  margin-right: -2px;
}
#tab-balance .scroll-area::-webkit-scrollbar {
  width: 4px;
}
#tab-balance .scroll-area::-webkit-scrollbar-thumb {
  background: #dfe2ea;
  border-radius: 4px;
}
#tab-balance .detail-group {
  background: var(--soft-bg);
  border-radius: 16px;
  overflow: hidden;
}
#tab-balance .detail-group .g-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: -0.1px;
  border-bottom: 1px solid #eceef3;
}
#tab-balance .g-head .g-name {
  flex: 1;
  min-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Value block = (num | pct | caret slot), shared with .detail-row .right below,
   so every amount lands in the same column on every row of every group.
   Ustunlar `clamp()` bilan — ilgari 100px/44px QAT'IY edi va 360px ekranda
   qiymat bloki 168px ni yeb, nomga ~140px qoldirardi: "Долгосрочные финансовые
   вложения" -> "Долгосрочны…". clamp vw ga bog'langani uchun tor ekranda
   torayadi, keng ekranda eski o'lchamiga qaytadi — tekislik saqlanadi. */
#tab-balance .g-head .ghead-value {
  display: grid;
  /* pct ustuni ilgari 44px edi va "+7 178,5%" kabi katta foizlar undan toshib,
     caret bilan ustma-ust tushardi — shuning uchun min qiymati kengaytirildi. */
  grid-template-columns: clamp(70px, 20vw, 100px) clamp(56px, 18vw, 72px) 12px;
  gap: clamp(4px, 1.2vw, 6px);
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
#tab-balance .g-head .ghead-value .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#tab-balance .detail-group .g-head .pct {
  color: var(--green);
  font-weight: 700;
  font-size: 12.6px;
  letter-spacing: -0.1px;
  text-align: right;
}
#tab-balance .detail-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 12px 28px;
  font-size: 13.2px;
  border-bottom: 1px solid #eceef3;
  cursor: pointer;
  transition: background 0.12s;
}
#tab-balance .detail-row:last-child {
  border-bottom: none;
}
#tab-balance .detail-row:hover {
  background: #eef1f7;
}
/* vertical guide + tick showing each row nests under the group header above */
#tab-balance .detail-row::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #dde2ea;
}
#tab-balance .detail-row::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 7px;
  height: 1.5px;
  background: #dde2ea;
}
#tab-balance .detail-row .name {
  flex: 1;
  /* readability floor: below this the whole list scrolls sideways instead of
     truncating names into nonsense (see #tab-balance overflow-x) */
  min-width: 104px;
  color: #5b6472;
  font-weight: 500;
  line-height: 1.32;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Same columns as .ghead-value above — one aligned value column for the whole
   screen. Ikkalasi bir xil clamp() ishlatgani uchun har qanday ekran enida
   raqamlar bitta ustunda turadi. */
#tab-balance .detail-row .right {
  display: grid;
  /* pct ustuni ilgari 44px edi va "+7 178,5%" kabi katta foizlar undan toshib,
     caret bilan ustma-ust tushardi — shuning uchun min qiymati kengaytirildi. */
  grid-template-columns: clamp(70px, 20vw, 100px) clamp(56px, 18vw, 72px) 12px;
  gap: clamp(4px, 1.2vw, 6px);
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
#tab-balance .detail-row .num {
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#tab-balance .detail-row .pct {
  font-weight: 700;
  font-size: 12.3px;
  letter-spacing: -0.1px;
  text-align: right;
}
#tab-balance .pct.up {
  color: var(--green);
}
#tab-balance .pct.down {
  color: var(--red);
}
#tab-balance .detail-row .caret {
  color: #b7bcc9;
  font-size: 11px;
  justify-self: end;
  line-height: 0;
}
/* ----- Telefon eni (WebView'ning asosiy holati) -----
   Nom uchun maksimal joy ochamiz: chap chekinish, ustunlararo gap va
   "readability floor" min-width'ni qisqartiramiz. clamp() bilan birga bu
   360px da nomga ~140px o'rniga ~200px beradi. */
@media (max-width: 430px) {
  #tab-balance .detail-group .g-head {
    padding: 13px 12px;
    gap: 8px;
  }
  #tab-balance .detail-row {
    padding: 12px 12px 12px 24px;
    gap: 8px;
  }
  /* Uzun nomlar ("Долгосрочные финансовые вложения", "Краткосрочные
     обязательства") bitta qatorga sig'masa — ellipsis o'rniga 2 qatorga
     o'raladi, ya'ni matn kesilmaydi. Guruh sarlavhasi ham, qator nomi ham. */
  #tab-balance .g-head .g-name,
  #tab-balance .detail-row .name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #tab-balance .g-head .g-name {
    line-height: 1.28;
  }
}
#tab-balance .tab-panel {
  display: none;
}
#tab-balance .tab-panel.active {
  display: block;
}
#tab-balance .balance-strip {
  background: var(--blue-bg);
  border-radius: 16px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.6px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
#tab-balance .balance-strip .amount {
  flex: 0 0 auto;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
}
#tab-balance .balance-strip .pct {
  color: var(--green);
  font-size: 12.6px;
  margin-left: 8px;
}
#tab-balance .balance-strip .icon svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
#tab-balance .hint-banner {
  background: var(--blue-bg);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.3px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.42;
}
#tab-balance .hint-banner svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex: 0 0 auto;
}
#tab-balance .sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 25, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 2;
}
#tab-balance .sheet-overlay.visible {
  opacity: 1;
}
#tab-balance.active .sheet-overlay.visible {
  pointer-events: auto;
}
#tab-balance .bottom-sheet {
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 32px rgba(20, 25, 40, 0.18);
  padding: 14px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
#tab-balance .sheet-overlay.visible .bottom-sheet {
  transform: translateY(0);
}
#tab-balance .sheet-grabber {
  width: 36px;
  height: 4px;
  background: #e2e5ec;
  border-radius: 3px;
  margin: 0 auto 14px;
}
#tab-balance .sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
#tab-balance .sheet-top h2 {
  font-size: 16.5px;
  margin: 0 0 3px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #0d0f16;
}
#tab-balance .sheet-top p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.1px;
}
#tab-balance .sheet-close {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}
#tab-balance .sheet-close svg {
  width: 12px;
  height: 12px;
}
#tab-balance table.sheet-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 11.2px;
}
#tab-balance table.sheet-table col.col-name {
  width: auto;
}
#tab-balance table.sheet-table col.col-num {
  width: 54px;
}
#tab-balance table.sheet-table col.col-pct {
  width: 46px;
}
#tab-balance table.sheet-table thead th {
  text-align: right;
  font-weight: 700;
  color: var(--muted);
  font-size: 9.2px;
  letter-spacing: 0.1px;
  padding: 0 0 6px;
  line-height: 1.25;
}
#tab-balance table.sheet-table thead th:first-child {
  text-align: left;
}
#tab-balance table.sheet-table tbody td {
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.28;
}
#tab-balance table.sheet-table tbody td:first-child {
  white-space: normal;
}
#tab-balance table.sheet-table tbody td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
  padding-left: 4px;
  white-space: nowrap;
}
#tab-balance table.sheet-table tbody tr:last-child td {
  border-bottom: none;
}
#tab-balance table.sheet-table tbody tr.total td {
  color: var(--blue);
  font-weight: 800;
  background: var(--blue-bg);
}
#tab-balance table.sheet-table tbody tr.total td:first-child {
  border-radius: 9px 0 0 9px;
  padding-left: 8px;
}
#tab-balance table.sheet-table tbody tr.total td:last-child {
  border-radius: 0 9px 9px 0;
  padding-right: 8px;
}
#tab-balance .pos {
  color: var(--green) !important;
}
#tab-balance .neg {
  color: var(--red) !important;
}
/* ---------- shared bottom nav (each report keeps its own copy) ---------- */
.navbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 9px 10px 13px;
  border-top: 1px solid var(--divider);
  background: #fff;
  position: relative;
  z-index: 1;
}
.navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #b7bcc9;
  font-size: 10.3px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
}
.navitem svg {
  width: 21px;
  height: 21px;
}
.navitem.active {
  color: var(--blue);
}
.navitem.plus {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 111, 125, 0.35);
  margin-top: -24px;
}
.navitem.plus svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
@media (max-width: 400px) {
  .phone {
    width: 100%;
    max-width: 340px;
  }
}
/* Pull-to-refresh (src/components/common/PullToRefresh.tsx) — the outer
   wrapper takes over the flex:1 slot the original scroll container used to
   hold; the scroll container itself keeps its own class/styles unchanged. */
.ptr-outer {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ptr-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  color: var(--blue);
}
.ptr-arrow {
  display: flex;
  transition: transform 0.2s ease;
}
.ptr-arrow-flip {
  transform: rotate(180deg);
}
.ptr-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 111, 125, 0.2);
  border-top-color: var(--blue);
  animation: ptr-spin 0.7s linear infinite;
}
@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}
.ptr-error-text {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  padding: 0 12px;
}
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
.container{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (min-width: 1400px){
  .container{
    max-width: 1400px;
  }
}
.hisobim-finance-mfe .sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.hisobim-finance-mfe .pointer-events-none{
  pointer-events: none;
}
.hisobim-finance-mfe .visible{
  visibility: visible;
}
.hisobim-finance-mfe .collapse{
  visibility: collapse;
}
.hisobim-finance-mfe .static{
  position: static;
}
.hisobim-finance-mfe .fixed{
  position: fixed;
}
.hisobim-finance-mfe .absolute{
  position: absolute;
}
.hisobim-finance-mfe .relative{
  position: relative;
}
.hisobim-finance-mfe .sticky{
  position: sticky;
}
.hisobim-finance-mfe .inset-0{
  inset: 0px;
}
.hisobim-finance-mfe .inset-x-0{
  left: 0px;
  right: 0px;
}
.hisobim-finance-mfe .-right-1{
  right: -0.25rem;
}
.hisobim-finance-mfe .-top-1{
  top: -0.25rem;
}
.hisobim-finance-mfe .bottom-0{
  bottom: 0px;
}
.hisobim-finance-mfe .left-3\.5{
  left: 0.875rem;
}
.hisobim-finance-mfe .right-0{
  right: 0px;
}
.hisobim-finance-mfe .top-0{
  top: 0px;
}
.hisobim-finance-mfe .top-1\/2{
  top: 50%;
}
.hisobim-finance-mfe .isolate{
  isolation: isolate;
}
.hisobim-finance-mfe .-z-10{
  z-index: -10;
}
.hisobim-finance-mfe .z-0{
  z-index: 0;
}
.hisobim-finance-mfe .z-10{
  z-index: 10;
}
.hisobim-finance-mfe .z-20{
  z-index: 20;
}
.hisobim-finance-mfe .z-\[200\]{
  z-index: 200;
}
.hisobim-finance-mfe .z-\[201\]{
  z-index: 201;
}
.hisobim-finance-mfe .z-\[210\]{
  z-index: 210;
}
.hisobim-finance-mfe .z-\[211\]{
  z-index: 211;
}
.hisobim-finance-mfe .z-\[220\]{
  z-index: 220;
}
.hisobim-finance-mfe .z-\[221\]{
  z-index: 221;
}
.hisobim-finance-mfe .z-\[229\]{
  z-index: 229;
}
.hisobim-finance-mfe .z-\[230\]{
  z-index: 230;
}
.hisobim-finance-mfe .z-\[239\]{
  z-index: 239;
}
.hisobim-finance-mfe .z-\[240\]{
  z-index: 240;
}
.hisobim-finance-mfe .z-\[250\]{
  z-index: 250;
}
.hisobim-finance-mfe .m-0{
  margin: 0px;
}
.hisobim-finance-mfe .-mx-0\.5{
  margin-left: -0.125rem;
  margin-right: -0.125rem;
}
.hisobim-finance-mfe .mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.hisobim-finance-mfe .-ml-1{
  margin-left: -0.25rem;
}
.hisobim-finance-mfe .-mr-1{
  margin-right: -0.25rem;
}
.hisobim-finance-mfe .-mr-2{
  margin-right: -0.5rem;
}
.hisobim-finance-mfe .mb-1{
  margin-bottom: 0.25rem;
}
.hisobim-finance-mfe .mb-1\.5{
  margin-bottom: 0.375rem;
}
.hisobim-finance-mfe .mb-2{
  margin-bottom: 0.5rem;
}
.hisobim-finance-mfe .mb-3{
  margin-bottom: 0.75rem;
}
.hisobim-finance-mfe .mb-3\.5{
  margin-bottom: 0.875rem;
}
.hisobim-finance-mfe .mb-4{
  margin-bottom: 1rem;
}
.hisobim-finance-mfe .mb-5{
  margin-bottom: 1.25rem;
}
.hisobim-finance-mfe .mb-6{
  margin-bottom: 1.5rem;
}
.hisobim-finance-mfe .ml-0\.5{
  margin-left: 0.125rem;
}
.hisobim-finance-mfe .ml-1{
  margin-left: 0.25rem;
}
.hisobim-finance-mfe .ml-auto{
  margin-left: auto;
}
.hisobim-finance-mfe .mr-1{
  margin-right: 0.25rem;
}
.hisobim-finance-mfe .mr-2{
  margin-right: 0.5rem;
}
.hisobim-finance-mfe .mt-0\.5{
  margin-top: 0.125rem;
}
.hisobim-finance-mfe .mt-1{
  margin-top: 0.25rem;
}
.hisobim-finance-mfe .mt-1\.5{
  margin-top: 0.375rem;
}
.hisobim-finance-mfe .mt-2{
  margin-top: 0.5rem;
}
.hisobim-finance-mfe .mt-2\.5{
  margin-top: 0.625rem;
}
.hisobim-finance-mfe .mt-3{
  margin-top: 0.75rem;
}
.hisobim-finance-mfe .mt-4{
  margin-top: 1rem;
}
.hisobim-finance-mfe .mt-\[1px\]{
  margin-top: 1px;
}
.hisobim-finance-mfe .mt-\[24px\]{
  margin-top: 24px;
}
.hisobim-finance-mfe .mt-\[45px\]{
  margin-top: 45px;
}
.hisobim-finance-mfe .box-border{
  box-sizing: border-box;
}
.hisobim-finance-mfe .line-clamp-1{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.hisobim-finance-mfe .line-clamp-2{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hisobim-finance-mfe .block{
  display: block;
}
.hisobim-finance-mfe .inline-block{
  display: inline-block;
}
.hisobim-finance-mfe .inline{
  display: inline;
}
.hisobim-finance-mfe .flex{
  display: flex;
}
.hisobim-finance-mfe .inline-flex{
  display: inline-flex;
}
.hisobim-finance-mfe .table{
  display: table;
}
.hisobim-finance-mfe .grid{
  display: grid;
}
.hisobim-finance-mfe .contents{
  display: contents;
}
.hisobim-finance-mfe .hidden{
  display: none;
}
.hisobim-finance-mfe .size-9{
  width: 2.25rem;
  height: 2.25rem;
}
.hisobim-finance-mfe .\!h-8{
  height: 2rem !important;
}
.hisobim-finance-mfe .h-0\.5{
  height: 0.125rem;
}
.hisobim-finance-mfe .h-1{
  height: 0.25rem;
}
.hisobim-finance-mfe .h-10{
  height: 2.5rem;
}
.hisobim-finance-mfe .h-11{
  height: 2.75rem;
}
.hisobim-finance-mfe .h-12{
  height: 3rem;
}
.hisobim-finance-mfe .h-2\.5{
  height: 0.625rem;
}
.hisobim-finance-mfe .h-3{
  height: 0.75rem;
}
.hisobim-finance-mfe .h-4{
  height: 1rem;
}
.hisobim-finance-mfe .h-5{
  height: 1.25rem;
}
.hisobim-finance-mfe .h-6{
  height: 1.5rem;
}
.hisobim-finance-mfe .h-7{
  height: 1.75rem;
}
.hisobim-finance-mfe .h-8{
  height: 2rem;
}
.hisobim-finance-mfe .h-9{
  height: 2.25rem;
}
.hisobim-finance-mfe .h-\[18px\]{
  height: 18px;
}
.hisobim-finance-mfe .h-\[34px\]{
  height: 34px;
}
.hisobim-finance-mfe .h-\[36px\]{
  height: 36px;
}
.hisobim-finance-mfe .h-\[50px\]{
  height: 50px;
}
.hisobim-finance-mfe .h-\[52px\]{
  height: 52px;
}
.hisobim-finance-mfe .h-\[70vh\]{
  height: 70vh;
}
.hisobim-finance-mfe .h-full{
  height: 100%;
}
.hisobim-finance-mfe .h-px{
  height: 1px;
}
.hisobim-finance-mfe .max-h-\[176px\]{
  max-height: 176px;
}
.hisobim-finance-mfe .max-h-\[236px\]{
  max-height: 236px;
}
.hisobim-finance-mfe .max-h-\[50vh\]{
  max-height: 50vh;
}
.hisobim-finance-mfe .max-h-\[56vh\]{
  max-height: 56vh;
}
.hisobim-finance-mfe .max-h-\[70vh\]{
  max-height: 70vh;
}
.hisobim-finance-mfe .max-h-\[86vh\]{
  max-height: 86vh;
}
.hisobim-finance-mfe .max-h-\[92vh\]{
  max-height: 92vh;
}
.hisobim-finance-mfe .min-h-0{
  min-height: 0px;
}
.hisobim-finance-mfe .min-h-\[200px\]{
  min-height: 200px;
}
.hisobim-finance-mfe .min-h-\[20px\]{
  min-height: 20px;
}
.hisobim-finance-mfe .min-h-\[320px\]{
  min-height: 320px;
}
.hisobim-finance-mfe .min-h-\[44px\]{
  min-height: 44px;
}
.hisobim-finance-mfe .min-h-\[480px\]{
  min-height: 480px;
}
.hisobim-finance-mfe .min-h-\[48px\]{
  min-height: 48px;
}
.hisobim-finance-mfe .min-h-\[56px\]{
  min-height: 56px;
}
.hisobim-finance-mfe .min-h-\[70vh\]{
  min-height: 70vh;
}
.hisobim-finance-mfe .w-10{
  width: 2.5rem;
}
.hisobim-finance-mfe .w-11{
  width: 2.75rem;
}
.hisobim-finance-mfe .w-20{
  width: 5rem;
}
.hisobim-finance-mfe .w-24{
  width: 6rem;
}
.hisobim-finance-mfe .w-3\/4{
  width: 75%;
}
.hisobim-finance-mfe .w-4{
  width: 1rem;
}
.hisobim-finance-mfe .w-5{
  width: 1.25rem;
}
.hisobim-finance-mfe .w-6{
  width: 1.5rem;
}
.hisobim-finance-mfe .w-8{
  width: 2rem;
}
.hisobim-finance-mfe .w-9{
  width: 2.25rem;
}
.hisobim-finance-mfe .w-\[112px\]{
  width: 112px;
}
.hisobim-finance-mfe .w-\[150px\]{
  width: 150px;
}
.hisobim-finance-mfe .w-\[18px\]{
  width: 18px;
}
.hisobim-finance-mfe .w-\[320px\]{
  width: 320px;
}
.hisobim-finance-mfe .w-\[34px\]{
  width: 34px;
}
.hisobim-finance-mfe .w-\[38\%\]{
  width: 38%;
}
.hisobim-finance-mfe .w-\[380px\]{
  width: 380px;
}
.hisobim-finance-mfe .w-\[min\(620px\2c 94vw\)\]{
  width: min(620px, 94vw);
}
.hisobim-finance-mfe .w-full{
  width: 100%;
}
.hisobim-finance-mfe .w-max{
  width: -moz-max-content;
  width: max-content;
}
.hisobim-finance-mfe .min-w-0{
  min-width: 0px;
}
.hisobim-finance-mfe .min-w-4{
  min-width: 1rem;
}
.hisobim-finance-mfe .min-w-5{
  min-width: 1.25rem;
}
.hisobim-finance-mfe .min-w-\[100px\]{
  min-width: 100px;
}
.hisobim-finance-mfe .min-w-\[120px\]{
  min-width: 120px;
}
.hisobim-finance-mfe .min-w-\[150px\]{
  min-width: 150px;
}
.hisobim-finance-mfe .min-w-\[240px\]{
  min-width: 240px;
}
.hisobim-finance-mfe .min-w-\[320px\]{
  min-width: 320px;
}
.hisobim-finance-mfe .min-w-\[64px\]{
  min-width: 64px;
}
.hisobim-finance-mfe .min-w-\[80px\]{
  min-width: 80px;
}
.hisobim-finance-mfe .min-w-\[90px\]{
  min-width: 90px;
}
.hisobim-finance-mfe .min-w-max{
  min-width: -moz-max-content;
  min-width: max-content;
}
.hisobim-finance-mfe .max-w-\[150px\]{
  max-width: 150px;
}
.hisobim-finance-mfe .max-w-\[180px\]{
  max-width: 180px;
}
.hisobim-finance-mfe .max-w-\[200px\]{
  max-width: 200px;
}
.hisobim-finance-mfe .max-w-\[55\%\]{
  max-width: 55%;
}
.hisobim-finance-mfe .max-w-\[62vw\]{
  max-width: 62vw;
}
.hisobim-finance-mfe .max-w-\[calc\(100vw-24px\)\]{
  max-width: calc(100vw - 24px);
}
.hisobim-finance-mfe .max-w-full{
  max-width: 100%;
}
.hisobim-finance-mfe .flex-1{
  flex: 1 1 0%;
}
.hisobim-finance-mfe .shrink-0{
  flex-shrink: 0;
}
.hisobim-finance-mfe .table-fixed{
  table-layout: fixed;
}
.hisobim-finance-mfe .border-collapse{
  border-collapse: collapse;
}
.hisobim-finance-mfe .border-separate{
  border-collapse: separate;
}
.hisobim-finance-mfe .border-spacing-y-1{
  --tw-border-spacing-y: 0.25rem;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
}
.hisobim-finance-mfe .border-spacing-y-2{
  --tw-border-spacing-y: 0.5rem;
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
}
.hisobim-finance-mfe .-translate-y-1\/2{
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hisobim-finance-mfe .transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse{
  50%{
    opacity: .5;
  }
}
.hisobim-finance-mfe .animate-pulse{
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin{
  to{
    transform: rotate(360deg);
  }
}
.hisobim-finance-mfe .animate-spin{
  animation: spin 1s linear infinite;
}
.hisobim-finance-mfe .cursor-not-allowed{
  cursor: not-allowed;
}
.hisobim-finance-mfe .cursor-pointer{
  cursor: pointer;
}
.hisobim-finance-mfe .cursor-text{
  cursor: text;
}
.hisobim-finance-mfe .touch-none{
  touch-action: none;
}
.hisobim-finance-mfe .select-none{
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.hisobim-finance-mfe .resize-none{
  resize: none;
}
.hisobim-finance-mfe .resize{
  resize: both;
}
.hisobim-finance-mfe .appearance-none{
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.hisobim-finance-mfe .grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hisobim-finance-mfe .grid-cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hisobim-finance-mfe .grid-cols-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hisobim-finance-mfe .grid-cols-\[1fr_138px\]{
  grid-template-columns: 1fr 138px;
}
.hisobim-finance-mfe .flex-col{
  flex-direction: column;
}
.hisobim-finance-mfe .flex-wrap{
  flex-wrap: wrap;
}
.hisobim-finance-mfe .items-start{
  align-items: flex-start;
}
.hisobim-finance-mfe .items-end{
  align-items: flex-end;
}
.hisobim-finance-mfe .items-center{
  align-items: center;
}
.hisobim-finance-mfe .items-baseline{
  align-items: baseline;
}
.hisobim-finance-mfe .justify-end{
  justify-content: flex-end;
}
.hisobim-finance-mfe .justify-center{
  justify-content: center;
}
.hisobim-finance-mfe .justify-between{
  justify-content: space-between;
}
.hisobim-finance-mfe .gap-0\.5{
  gap: 0.125rem;
}
.hisobim-finance-mfe .gap-1{
  gap: 0.25rem;
}
.hisobim-finance-mfe .gap-1\.5{
  gap: 0.375rem;
}
.hisobim-finance-mfe .gap-2{
  gap: 0.5rem;
}
.hisobim-finance-mfe .gap-2\.5{
  gap: 0.625rem;
}
.hisobim-finance-mfe .gap-3{
  gap: 0.75rem;
}
.hisobim-finance-mfe .gap-4{
  gap: 1rem;
}
.hisobim-finance-mfe .gap-x-3{
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.hisobim-finance-mfe .gap-x-4{
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.hisobim-finance-mfe .gap-y-1{
  row-gap: 0.25rem;
}
.hisobim-finance-mfe .gap-y-2{
  row-gap: 0.5rem;
}
.hisobim-finance-mfe :is(.space-y-1 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.space-y-1\.5 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.space-y-2 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.space-y-2\.5 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.space-y-3 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.space-y-4 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.hisobim-finance-mfe :is(.divide-x > :not([hidden]) ~ :not([hidden])){
  --tw-divide-x-reverse: 0;
  border-right-width: calc(1px * var(--tw-divide-x-reverse));
  border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
}
.hisobim-finance-mfe :is(.divide-y > :not([hidden]) ~ :not([hidden])){
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.hisobim-finance-mfe :is(.divide-\[\#edf1f5\] > :not([hidden]) ~ :not([hidden])){
  --tw-divide-opacity: 1;
  border-color: rgb(237 241 245 / var(--tw-divide-opacity, 1));
}
.hisobim-finance-mfe :is(.divide-gray-100 > :not([hidden]) ~ :not([hidden])){
  --tw-divide-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-divide-opacity, 1));
}
.hisobim-finance-mfe :is(.divide-gray-200 > :not([hidden]) ~ :not([hidden])){
  --tw-divide-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1));
}
.hisobim-finance-mfe .overflow-auto{
  overflow: auto;
}
.hisobim-finance-mfe .overflow-hidden{
  overflow: hidden;
}
.hisobim-finance-mfe .overflow-x-auto{
  overflow-x: auto;
}
.hisobim-finance-mfe .overflow-y-auto{
  overflow-y: auto;
}
.hisobim-finance-mfe .overflow-x-hidden{
  overflow-x: hidden;
}
.hisobim-finance-mfe .overscroll-contain{
  overscroll-behavior: contain;
}
.hisobim-finance-mfe .truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hisobim-finance-mfe .whitespace-nowrap{
  white-space: nowrap;
}
.hisobim-finance-mfe .break-words{
  overflow-wrap: break-word;
}
.hisobim-finance-mfe .\!rounded-lg{
  border-radius: var(--radius) !important;
}
.hisobim-finance-mfe .rounded{
  border-radius: 0.25rem;
}
.hisobim-finance-mfe .rounded-2xl{
  border-radius: 1rem;
}
.hisobim-finance-mfe .rounded-\[10px\]{
  border-radius: 10px;
}
.hisobim-finance-mfe .rounded-\[11px\]{
  border-radius: 11px;
}
.hisobim-finance-mfe .rounded-\[12px\]{
  border-radius: 12px;
}
.hisobim-finance-mfe .rounded-\[13px\]{
  border-radius: 13px;
}
.hisobim-finance-mfe .rounded-\[14px\]{
  border-radius: 14px;
}
.hisobim-finance-mfe .rounded-\[16px\]{
  border-radius: 16px;
}
.hisobim-finance-mfe .rounded-\[20px\]{
  border-radius: 20px;
}
.hisobim-finance-mfe .rounded-\[24px\]{
  border-radius: 24px;
}
.hisobim-finance-mfe .rounded-full{
  border-radius: 9999px;
}
.hisobim-finance-mfe .rounded-lg{
  border-radius: var(--radius);
}
.hisobim-finance-mfe .rounded-md{
  border-radius: calc(var(--radius) - 2px);
}
.hisobim-finance-mfe .rounded-none{
  border-radius: 0px;
}
.hisobim-finance-mfe .rounded-xl{
  border-radius: 0.75rem;
}
.hisobim-finance-mfe .rounded-l-\[22px\]{
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
}
.hisobim-finance-mfe .rounded-l-lg{
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}
.hisobim-finance-mfe .rounded-r-lg{
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.hisobim-finance-mfe .rounded-t-\[28px\]{
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
.hisobim-finance-mfe .\!border-0{
  border-width: 0px !important;
}
.hisobim-finance-mfe .border{
  border-width: 1px;
}
.hisobim-finance-mfe .border-0{
  border-width: 0px;
}
.hisobim-finance-mfe .border-\[1\.5px\]{
  border-width: 1.5px;
}
.hisobim-finance-mfe .border-y{
  border-top-width: 1px;
  border-bottom-width: 1px;
}
.hisobim-finance-mfe .border-b{
  border-bottom-width: 1px;
}
.hisobim-finance-mfe .border-l{
  border-left-width: 1px;
}
.hisobim-finance-mfe .border-l-4{
  border-left-width: 4px;
}
.hisobim-finance-mfe .border-r{
  border-right-width: 1px;
}
.hisobim-finance-mfe .border-t{
  border-top-width: 1px;
}
.hisobim-finance-mfe .border-t-2{
  border-top-width: 2px;
}
.hisobim-finance-mfe .border-dashed{
  border-style: dashed;
}
.hisobim-finance-mfe .border-none{
  border-style: none;
}
.hisobim-finance-mfe .border-\[\#006f7d\]{
  --tw-border-opacity: 1;
  border-color: rgb(0 111 125 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#a9d2d6\]{
  --tw-border-opacity: 1;
  border-color: rgb(169 210 214 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#b9c3ce\]{
  --tw-border-opacity: 1;
  border-color: rgb(185 195 206 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#c8cfda\]{
  --tw-border-opacity: 1;
  border-color: rgb(200 207 218 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#dbe2ea\]{
  --tw-border-opacity: 1;
  border-color: rgb(219 226 234 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#e1e6ee\]{
  --tw-border-opacity: 1;
  border-color: rgb(225 230 238 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#e3e6ec\]{
  --tw-border-opacity: 1;
  border-color: rgb(227 230 236 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#e5e5ea\]{
  --tw-border-opacity: 1;
  border-color: rgb(229 229 234 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#e5e7eb\]{
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-\[\#ececf0\]{
  --tw-border-opacity: 1;
  border-color: rgb(236 236 240 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-border{
  border-color: hsl(var(--border));
}
.hisobim-finance-mfe .border-destructive\/40{
  border-color: hsl(var(--destructive) / 0.4);
}
.hisobim-finance-mfe .border-gray-100{
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-gray-200{
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-gray-200\/70{
  border-color: rgb(229 231 235 / 0.7);
}
.hisobim-finance-mfe .border-gray-300{
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-gray-400{
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-red-200{
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-red-300{
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-l-emerald-500{
  --tw-border-opacity: 1;
  border-left-color: rgb(16 185 129 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-l-gray-200{
  --tw-border-opacity: 1;
  border-left-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-l-gray-300{
  --tw-border-opacity: 1;
  border-left-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-l-rose-500{
  --tw-border-opacity: 1;
  border-left-color: rgb(244 63 94 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .border-l-sky-500{
  --tw-border-opacity: 1;
  border-left-color: rgb(14 165 233 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#006f7d\]{
  --tw-bg-opacity: 1;
  background-color: rgb(0 111 125 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#0b1119\]\/45{
  background-color: rgb(11 17 25 / 0.45);
}
.hisobim-finance-mfe .bg-\[\#0f1119\]\/35{
  background-color: rgb(15 17 25 / 0.35);
}
.hisobim-finance-mfe .bg-\[\#9ec6e8\]{
  --tw-bg-opacity: 1;
  background-color: rgb(158 198 232 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#F9FAFB\]{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#d9ecee\]{
  --tw-bg-opacity: 1;
  background-color: rgb(217 236 238 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#daeaf6\]{
  --tw-bg-opacity: 1;
  background-color: rgb(218 234 246 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#dfe3ea\]{
  --tw-bg-opacity: 1;
  background-color: rgb(223 227 234 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#e2e5ec\]{
  --tw-bg-opacity: 1;
  background-color: rgb(226 229 236 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#e2f0f1\]{
  --tw-bg-opacity: 1;
  background-color: rgb(226 240 241 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#e4f5f4\]{
  --tw-bg-opacity: 1;
  background-color: rgb(228 245 244 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#eceef3\]{
  --tw-bg-opacity: 1;
  background-color: rgb(236 238 243 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#eef0f4\]{
  --tw-bg-opacity: 1;
  background-color: rgb(238 240 244 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f0f1f4\]{
  --tw-bg-opacity: 1;
  background-color: rgb(240 241 244 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f1f3f5\]{
  --tw-bg-opacity: 1;
  background-color: rgb(241 243 245 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f2f9f9\]{
  --tw-bg-opacity: 1;
  background-color: rgb(242 249 249 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f3f5f8\]{
  --tw-bg-opacity: 1;
  background-color: rgb(243 245 248 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f6f7f9\]{
  --tw-bg-opacity: 1;
  background-color: rgb(246 247 249 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f7f8fa\]{
  --tw-bg-opacity: 1;
  background-color: rgb(247 248 250 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#f7f9fb\]{
  --tw-bg-opacity: 1;
  background-color: rgb(247 249 251 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#fde84a\]{
  --tw-bg-opacity: 1;
  background-color: rgb(253 232 74 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[\#fffbe6\]{
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 230 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-\[var\(--hisobim-primary\)\]{
  background-color: var(--hisobim-primary);
}
.hisobim-finance-mfe .bg-\[var\(--hisobim-primary-light\)\]{
  background-color: var(--hisobim-primary-light);
}
.hisobim-finance-mfe .bg-\[var\(--hisobim-surface\)\]{
  background-color: var(--hisobim-surface);
}
.hisobim-finance-mfe .bg-black\/40{
  background-color: rgb(0 0 0 / 0.4);
}
.hisobim-finance-mfe .bg-card{
  background-color: hsl(var(--card));
}
.hisobim-finance-mfe .bg-destructive\/10{
  background-color: hsl(var(--destructive) / 0.1);
}
.hisobim-finance-mfe .bg-emerald-100{
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-emerald-100\/50{
  background-color: rgb(209 250 229 / 0.5);
}
.hisobim-finance-mfe .bg-emerald-50\/70{
  background-color: rgb(236 253 245 / 0.7);
}
.hisobim-finance-mfe .bg-gray-100{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-gray-200{
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-gray-50{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-red-50{
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-red-500{
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-rose-100{
  --tw-bg-opacity: 1;
  background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-rose-100\/50{
  background-color: rgb(255 228 230 / 0.5);
}
.hisobim-finance-mfe .bg-rose-50\/70{
  background-color: rgb(255 241 242 / 0.7);
}
.hisobim-finance-mfe .bg-sky-100{
  --tw-bg-opacity: 1;
  background-color: rgb(224 242 254 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-sky-100\/50{
  background-color: rgb(224 242 254 / 0.5);
}
.hisobim-finance-mfe .bg-sky-50\/70{
  background-color: rgb(240 249 255 / 0.7);
}
.hisobim-finance-mfe .bg-slate-100{
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-slate-200\/60{
  background-color: rgb(226 232 240 / 0.6);
}
.hisobim-finance-mfe .bg-transparent{
  background-color: transparent;
}
.hisobim-finance-mfe .bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .bg-white\/60{
  background-color: rgb(255 255 255 / 0.6);
}
.hisobim-finance-mfe .bg-white\/80{
  background-color: rgb(255 255 255 / 0.8);
}
.hisobim-finance-mfe .p-0{
  padding: 0px;
}
.hisobim-finance-mfe .p-1{
  padding: 0.25rem;
}
.hisobim-finance-mfe .p-1\.5{
  padding: 0.375rem;
}
.hisobim-finance-mfe .p-2{
  padding: 0.5rem;
}
.hisobim-finance-mfe .p-3{
  padding: 0.75rem;
}
.hisobim-finance-mfe .p-4{
  padding: 1rem;
}
.hisobim-finance-mfe .px-0\.5{
  padding-left: 0.125rem;
  padding-right: 0.125rem;
}
.hisobim-finance-mfe .px-1{
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.hisobim-finance-mfe .px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.hisobim-finance-mfe .px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.hisobim-finance-mfe .px-2\.5{
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.hisobim-finance-mfe .px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.hisobim-finance-mfe .px-3\.5{
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.hisobim-finance-mfe .px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.hisobim-finance-mfe .px-5{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.hisobim-finance-mfe .px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.hisobim-finance-mfe .py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.hisobim-finance-mfe .py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.hisobim-finance-mfe .py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.hisobim-finance-mfe .py-10{
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.hisobim-finance-mfe .py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.hisobim-finance-mfe .py-2\.5{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.hisobim-finance-mfe .py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.hisobim-finance-mfe .py-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.hisobim-finance-mfe .py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.hisobim-finance-mfe .py-7{
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
.hisobim-finance-mfe .py-\[11px\]{
  padding-top: 11px;
  padding-bottom: 11px;
}
.hisobim-finance-mfe .py-\[14px\]{
  padding-top: 14px;
  padding-bottom: 14px;
}
.hisobim-finance-mfe .py-\[5px\]{
  padding-top: 5px;
  padding-bottom: 5px;
}
.hisobim-finance-mfe .pb-1{
  padding-bottom: 0.25rem;
}
.hisobim-finance-mfe .pb-2{
  padding-bottom: 0.5rem;
}
.hisobim-finance-mfe .pb-3{
  padding-bottom: 0.75rem;
}
.hisobim-finance-mfe .pb-4{
  padding-bottom: 1rem;
}
.hisobim-finance-mfe .pb-6{
  padding-bottom: 1.5rem;
}
.hisobim-finance-mfe .pb-8{
  padding-bottom: 2rem;
}
.hisobim-finance-mfe .pl-1{
  padding-left: 0.25rem;
}
.hisobim-finance-mfe .pl-10{
  padding-left: 2.5rem;
}
.hisobim-finance-mfe .pr-3{
  padding-right: 0.75rem;
}
.hisobim-finance-mfe .pt-1{
  padding-top: 0.25rem;
}
.hisobim-finance-mfe .pt-2{
  padding-top: 0.5rem;
}
.hisobim-finance-mfe .pt-2\.5{
  padding-top: 0.625rem;
}
.hisobim-finance-mfe .pt-3{
  padding-top: 0.75rem;
}
.hisobim-finance-mfe .pt-4{
  padding-top: 1rem;
}
.hisobim-finance-mfe .text-left{
  text-align: left;
}
.hisobim-finance-mfe .text-center{
  text-align: center;
}
.hisobim-finance-mfe .text-right{
  text-align: right;
}
.hisobim-finance-mfe .align-top{
  vertical-align: top;
}
.hisobim-finance-mfe .text-\[0\.62em\]{
  font-size: 0.62em;
}
.hisobim-finance-mfe .text-\[10\.5px\]{
  font-size: 10.5px;
}
.hisobim-finance-mfe .text-\[10\.8px\]{
  font-size: 10.8px;
}
.hisobim-finance-mfe .text-\[10px\]{
  font-size: 10px;
}
.hisobim-finance-mfe .text-\[11\.5px\]{
  font-size: 11.5px;
}
.hisobim-finance-mfe .text-\[11px\]{
  font-size: 11px;
}
.hisobim-finance-mfe .text-\[12\.5px\]{
  font-size: 12.5px;
}
.hisobim-finance-mfe .text-\[12px\]{
  font-size: 12px;
}
.hisobim-finance-mfe .text-\[13\.5px\]{
  font-size: 13.5px;
}
.hisobim-finance-mfe .text-\[13px\]{
  font-size: 13px;
}
.hisobim-finance-mfe .text-\[14\.5px\]{
  font-size: 14.5px;
}
.hisobim-finance-mfe .text-\[14px\]{
  font-size: 14px;
}
.hisobim-finance-mfe .text-\[15px\]{
  font-size: 15px;
}
.hisobim-finance-mfe .text-\[16px\]{
  font-size: 16px;
}
.hisobim-finance-mfe .text-\[17px\]{
  font-size: 17px;
}
.hisobim-finance-mfe .text-\[19px\]{
  font-size: 19px;
}
.hisobim-finance-mfe .text-\[20px\]{
  font-size: 20px;
}
.hisobim-finance-mfe .text-\[22px\]{
  font-size: 22px;
}
.hisobim-finance-mfe .text-\[26px\]{
  font-size: 26px;
}
.hisobim-finance-mfe .text-\[28px\]{
  font-size: 28px;
}
.hisobim-finance-mfe .text-\[32px\]{
  font-size: 32px;
}
.hisobim-finance-mfe .text-\[9px\]{
  font-size: 9px;
}
.hisobim-finance-mfe .text-base{
  font-size: 1rem;
  line-height: 1.5rem;
}
.hisobim-finance-mfe .text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.hisobim-finance-mfe .text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.hisobim-finance-mfe .text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.hisobim-finance-mfe .font-bold{
  font-weight: 700;
}
.hisobim-finance-mfe .font-extrabold{
  font-weight: 800;
}
.hisobim-finance-mfe .font-medium{
  font-weight: 500;
}
.hisobim-finance-mfe .font-normal{
  font-weight: 400;
}
.hisobim-finance-mfe .font-semibold{
  font-weight: 600;
}
.hisobim-finance-mfe .uppercase{
  text-transform: uppercase;
}
.hisobim-finance-mfe .capitalize{
  text-transform: capitalize;
}
.hisobim-finance-mfe .tabular-nums{
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.hisobim-finance-mfe .leading-none{
  line-height: 1;
}
.hisobim-finance-mfe .leading-snug{
  line-height: 1.375;
}
.hisobim-finance-mfe .leading-tight{
  line-height: 1.25;
}
.hisobim-finance-mfe .tracking-\[-0\.01em\]{
  letter-spacing: -0.01em;
}
.hisobim-finance-mfe .tracking-\[-0\.1px\]{
  letter-spacing: -0.1px;
}
.hisobim-finance-mfe .tracking-\[-0\.2px\]{
  letter-spacing: -0.2px;
}
.hisobim-finance-mfe .tracking-\[-0\.3px\]{
  letter-spacing: -0.3px;
}
.hisobim-finance-mfe .tracking-\[-0\.4px\]{
  letter-spacing: -0.4px;
}
.hisobim-finance-mfe .tracking-\[-0\.5px\]{
  letter-spacing: -0.5px;
}
.hisobim-finance-mfe .tracking-\[-0\.9px\]{
  letter-spacing: -0.9px;
}
.hisobim-finance-mfe .tracking-\[-1\.2px\]{
  letter-spacing: -1.2px;
}
.hisobim-finance-mfe .tracking-\[-1px\]{
  letter-spacing: -1px;
}
.hisobim-finance-mfe .tracking-\[0\.03em\]{
  letter-spacing: 0.03em;
}
.hisobim-finance-mfe .tracking-\[0\.1px\]{
  letter-spacing: 0.1px;
}
.hisobim-finance-mfe .tracking-\[0\.2px\]{
  letter-spacing: 0.2px;
}
.hisobim-finance-mfe .tracking-\[0\.3px\]{
  letter-spacing: 0.3px;
}
.hisobim-finance-mfe .tracking-\[0\.4px\]{
  letter-spacing: 0.4px;
}
.hisobim-finance-mfe .tracking-\[0\.5px\]{
  letter-spacing: 0.5px;
}
.hisobim-finance-mfe .tracking-\[0\.6px\]{
  letter-spacing: 0.6px;
}
.hisobim-finance-mfe .tracking-wide{
  letter-spacing: 0.025em;
}
.hisobim-finance-mfe .\!text-white{
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
}
.hisobim-finance-mfe .text-\[\#00565f\]{
  --tw-text-opacity: 1;
  color: rgb(0 86 95 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#006f7d\]{
  --tw-text-opacity: 1;
  color: rgb(0 111 125 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#0C111D\]{
  --tw-text-opacity: 1;
  color: rgb(12 17 29 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#0d0f16\]{
  --tw-text-opacity: 1;
  color: rgb(13 15 22 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#0d2d2b\]{
  --tw-text-opacity: 1;
  color: rgb(13 45 43 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#16333a\]{
  --tw-text-opacity: 1;
  color: rgb(22 51 58 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#1a2332\]{
  --tw-text-opacity: 1;
  color: rgb(26 35 50 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#1d1d1f\]{
  --tw-text-opacity: 1;
  color: rgb(29 29 31 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#23262d\]{
  --tw-text-opacity: 1;
  color: rgb(35 38 45 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#3a3f4d\]{
  --tw-text-opacity: 1;
  color: rgb(58 63 77 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#3d4758\]{
  --tw-text-opacity: 1;
  color: rgb(61 71 88 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#4b515d\]{
  --tw-text-opacity: 1;
  color: rgb(75 81 93 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#4d8b91\]{
  --tw-text-opacity: 1;
  color: rgb(77 139 145 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#5b6472\]{
  --tw-text-opacity: 1;
  color: rgb(91 100 114 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#6b7280\]{
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#6d8b8f\]{
  --tw-text-opacity: 1;
  color: rgb(109 139 143 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#717883\]{
  --tw-text-opacity: 1;
  color: rgb(113 120 131 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#8a8f9a\]{
  --tw-text-opacity: 1;
  color: rgb(138 143 154 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#98A2B3\]{
  --tw-text-opacity: 1;
  color: rgb(152 162 179 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#9aa0ab\]{
  --tw-text-opacity: 1;
  color: rgb(154 160 171 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#9aa3ad\]{
  --tw-text-opacity: 1;
  color: rgb(154 163 173 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#a26122\]{
  --tw-text-opacity: 1;
  color: rgb(162 97 34 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#a2a7b2\]{
  --tw-text-opacity: 1;
  color: rgb(162 167 178 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#aeb3bd\]{
  --tw-text-opacity: 1;
  color: rgb(174 179 189 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#b0b6c0\]{
  --tw-text-opacity: 1;
  color: rgb(176 182 192 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[\#c9ced6\]{
  --tw-text-opacity: 1;
  color: rgb(201 206 214 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-\[var\(--hisobim-primary\)\]{
  color: var(--hisobim-primary);
}
.hisobim-finance-mfe .text-blue-900{
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-destructive{
  color: hsl(var(--destructive));
}
.hisobim-finance-mfe .text-emerald-700{
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-emerald-800{
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-emerald-900{
  --tw-text-opacity: 1;
  color: rgb(6 78 59 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-300{
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-500{
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-600{
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-700{
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-800{
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-gray-900{
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-indigo-700{
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-muted-foreground{
  color: hsl(var(--muted-foreground));
}
.hisobim-finance-mfe .text-red-700{
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-rose-700{
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-rose-800{
  --tw-text-opacity: 1;
  color: rgb(159 18 57 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-rose-900{
  --tw-text-opacity: 1;
  color: rgb(136 19 55 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-sky-700{
  --tw-text-opacity: 1;
  color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-sky-800{
  --tw-text-opacity: 1;
  color: rgb(7 89 133 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-sky-900{
  --tw-text-opacity: 1;
  color: rgb(12 74 110 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .text-white\/50{
  color: rgb(255 255 255 / 0.5);
}
.hisobim-finance-mfe .text-white\/60{
  color: rgb(255 255 255 / 0.6);
}
.hisobim-finance-mfe .text-white\/70{
  color: rgb(255 255 255 / 0.7);
}
.hisobim-finance-mfe .text-white\/80{
  color: rgb(255 255 255 / 0.8);
}
.hisobim-finance-mfe .text-yellow-900{
  --tw-text-opacity: 1;
  color: rgb(113 63 18 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .underline-offset-2{
  text-underline-offset: 2px;
}
.hisobim-finance-mfe .accent-\[var\(--hisobim-primary\)\]{
  accent-color: var(--hisobim-primary);
}
.hisobim-finance-mfe .opacity-70{
  opacity: 0.7;
}
.hisobim-finance-mfe .opacity-80{
  opacity: 0.8;
}
.hisobim-finance-mfe .opacity-85{
  opacity: 0.85;
}
.hisobim-finance-mfe .shadow-2xl{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[-26px_0_64px_-28px_rgba\(16\2c 24\2c 40\2c 0\.45\)\]{
  --tw-shadow: -26px 0 64px -28px rgba(16,24,40,0.45);
  --tw-shadow-colored: -26px 0 64px -28px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_-18px_50px_-20px_rgba\(11\2c 17\2c 25\2c 0\.35\)\]{
  --tw-shadow: 0 -18px 50px -20px rgba(11,17,25,0.35);
  --tw-shadow-colored: 0 -18px 50px -20px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_10px_40px_-10px_rgba\(0\2c 0\2c 0\2c 0\.15\)\]{
  --tw-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
  --tw-shadow-colored: 0 10px 40px -10px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_18px_48px_-12px_rgba\(16\2c 24\2c 40\2c 0\.28\)\]{
  --tw-shadow: 0 18px 48px -12px rgba(16,24,40,0.28);
  --tw-shadow-colored: 0 18px 48px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_1px_2px_rgba\(20\2c 25\2c 40\2c 0\.04\)\]{
  --tw-shadow: 0 1px 2px rgba(20,25,40,0.04);
  --tw-shadow-colored: 0 1px 2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_2px_6px_rgba\(0\2c 111\2c 125\2c 0\.14\)\]{
  --tw-shadow: 0 2px 6px rgba(0,111,125,0.14);
  --tw-shadow-colored: 0 2px 6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_4px_10px_-2px_rgba\(0\2c 111\2c 125\2c 0\.35\)\]{
  --tw-shadow: 0 4px 10px -2px rgba(0,111,125,0.35);
  --tw-shadow-colored: 0 4px 10px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-\[0_6px_16px_-4px_rgba\(0\2c 111\2c 125\2c 0\.45\)\]{
  --tw-shadow: 0 6px 16px -4px rgba(0,111,125,0.45);
  --tw-shadow-colored: 0 6px 16px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-md{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-none{
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .shadow-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .outline-none{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.hisobim-finance-mfe .ring-1{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.hisobim-finance-mfe .ring-2{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.hisobim-finance-mfe .ring-\[\#006f7d\]\/15{
  --tw-ring-color: rgb(0 111 125 / 0.15);
}
.hisobim-finance-mfe .ring-\[\#e1e6ee\]{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(225 230 238 / var(--tw-ring-opacity, 1));
}
.hisobim-finance-mfe .ring-black\/5{
  --tw-ring-color: rgb(0 0 0 / 0.05);
}
.hisobim-finance-mfe .ring-emerald-300{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(110 231 183 / var(--tw-ring-opacity, 1));
}
.hisobim-finance-mfe .ring-gray-300{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1));
}
.hisobim-finance-mfe .ring-rose-300{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(253 164 175 / var(--tw-ring-opacity, 1));
}
.hisobim-finance-mfe .ring-sky-300{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(125 211 252 / var(--tw-ring-opacity, 1));
}
.hisobim-finance-mfe .filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.hisobim-finance-mfe .backdrop-blur-\[2px\]{
  --tw-backdrop-blur: blur(2px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.hisobim-finance-mfe .transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hisobim-finance-mfe .transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hisobim-finance-mfe .transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hisobim-finance-mfe .transition-opacity{
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hisobim-finance-mfe .transition-transform{
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hisobim-finance-mfe .duration-150{
  transition-duration: 150ms;
}
.hisobim-finance-mfe .duration-200{
  transition-duration: 200ms;
}
.hisobim-finance-mfe .duration-300{
  transition-duration: 300ms;
}
.hisobim-finance-mfe .ease-out{
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.hisobim-finance-mfe .will-change-\[transform\2c opacity\]{
  will-change: transform,opacity;
}
@keyframes enter{
  from{
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit{
  to{
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.hisobim-finance-mfe .duration-150{
  animation-duration: 150ms;
}
.hisobim-finance-mfe .duration-200{
  animation-duration: 200ms;
}
.hisobim-finance-mfe .duration-300{
  animation-duration: 300ms;
}
.hisobim-finance-mfe .ease-out{
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
/* Disable Tailwind's default focus ring shadow on all elements */
*:focus,
*:focus-visible {
  outline: none;
  box-shadow: none !important;
}
/* ==========================================================================
   Shrift — Tailwind preflight O'CHIRILGAN (tailwind.config.js corePlugins),
   shuning uchun button/input/select/textarea brauzerning standart shriftini
   (Arial / SF) oladi va Inter'dan tushib qoladi. Global inherit shuni tuzatadi:
   sahifadagi HAR BIR element --font-family'ni oladi.
   ========================================================================== */
::-moz-placeholder {
  /* Faqat font-family: font-size/line-height'ga tegilmaydi — mavjud tugma va
     input'larning o'lchamlari o'zgarib ketmasligi uchun. */
  font-family: inherit;
}
button,
input,
select,
textarea,
optgroup,
::placeholder {
  /* Faqat font-family: font-size/line-height'ga tegilmaydi — mavjud tugma va
     input'larning o'lchamlari o'zgarib ketmasligi uchun. */
  font-family: inherit;
}
/* ==========================================================================
   Tap highlight — bosilganda mobil brauzer/WebView chizadigan kulrang "soya".
   Bu box-shadow emas, shuning uchun yuqoridagi :focus qoidasi uni o'chirmaydi:
   alohida -webkit-tap-highlight-color kerak. Ilova telefonda WebView ichida
   ishlaydi, shu sabab qoida global — hech bir element bosilganda soya bermaydi.
   ========================================================================== */
* {
  /* rgba fallback — eski Android WebView'lar bu xossada `transparent`
     kalit so'zini qo'llab-quvvatlamaydi. */
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* Bosiladigan elementlar: fokus/faol holatda ham hech qanday soya yoki ring
   qolmasin (Tailwind ring-*, Radix data-state ring'lari ham shu yerda uziladi).
   touch-action — Android WebView'dagi double-tap zoom kechikishi va u bilan
   birga keladigan kulrang yaltirashni yo'qotadi. */
button,
a,
label,
summary,
select,
input,
textarea,
[role=button],
[role=tab],
[role=option],
[tabindex] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:focus,
button:focus-visible,
button:active,
a:focus,
a:active,
[role=button]:focus,
[role=button]:active,
[role=tab]:focus,
[role=tab]:active {
  outline: none;
  box-shadow: none !important;
}
/* Tailwind `important: '.hisobim-finance-mfe'` bo'lgani uchun `focus:ring-*`
   utility'lari `.hisobim-finance-mfe .x:focus { box-shadow: … !important }`
   ko'rinishida chiqadi — specificity (0,3,0). Yuqoridagi `button:focus` (0,1,1)
   undan past, shuning uchun ring bosilgandan keyin ekranda qolib ketardi.
   Quyidagi blok aynan shu specificity'ni takrorlaydi va `@tailwind utilities`
   dan keyin turgani uchun teng holatda g'olib chiqadi. */
.hisobim-finance-mfe button:focus,
.hisobim-finance-mfe button:focus-visible,
.hisobim-finance-mfe button:focus-within,
.hisobim-finance-mfe button:active,
.hisobim-finance-mfe a:focus,
.hisobim-finance-mfe a:focus-visible,
.hisobim-finance-mfe a:active,
.hisobim-finance-mfe [role=button]:focus,
.hisobim-finance-mfe [role=button]:focus-visible,
.hisobim-finance-mfe [role=button]:active,
.hisobim-finance-mfe [role=tab]:focus,
.hisobim-finance-mfe [role=tab]:focus-visible,
.hisobim-finance-mfe [role=tab]:active {
  outline: none !important;
  box-shadow: none !important;
}
/* Sensorli ekranda `:hover` bosilgandan keyin YOPISHIB QOLADI (iOS/Android
   WebView). Shu sabab hover'da qo'shiladigan Tailwind soya/ring utility'lari
   foydalanuvchiga "pressed soya" bo'lib ko'rinardi. Base (doimiy) soyalarga
   tegmaymiz — faqat hover paytida qo'shiladiganini uzamiz. Hover'da soya
   qo'shadigan maxsus qoidalar o'z fayllarida `@media (hover: hover)` ichiga
   olingan (dashboard/_header.scss `.export-btn`,
   reports/_form-reports.scss `.formrpt-export-btn`). */
/* ==========================================================================
   Type styles (Untitled UI naming). Plain classes — not Tailwind utilities —
   so they also work inside portalled pages/sheets without the
   `.hisobim-finance-mfe` ancestor that Tailwind's `important` scope requires.
   ========================================================================== */
.text-display-xs-semibold {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0;
}
/* Phone safe-area insets. The Flutter WebView is edge-to-edge now that the web
   owns the header, so the status-bar / home-indicator height must be reserved
   here. Defaults to env(); `applySafeAreaInsets()` overrides from ?safe_top /
   ?safe_bottom when the WebView can't resolve env(). */
:root {
  --app-safe-top: env(safe-area-inset-top, 0px);
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
}
/* ==========================================================================
   Flutter WebView: pin the document so edge overscroll never drags or bounces
   the whole app ("app moving" / rubber-band at top / bottom / left / right).
   The page frame is locked; only inner *-scroll containers move their content.
   ========================================================================== */
html {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  margin: 0;
  height: 100%;
  width: 100%;
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
#root {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
/* When embedded in a host page, also stop scroll-chaining at the MFE roots so a
   container reaching its end can't hand the overscroll off and bounce. */
.hisobim-finance-mfe,
.hisobim-finance-reports-container,
.formrpt-shell {
  overscroll-behavior: none;
}
/* Apple-neutral formrpt tokens. Defined on BOTH the app root (.hisobim-finance-mfe)
   and the reports container: body-portal'ga chiqadigan sahifalar (Form2DetailPage,
   operation detail) container ichida emas — token'lar mfe wrapper'dan meros oladi. */
.hisobim-finance-mfe,
.hisobim-finance-mfe,
.hisobim-finance-reports-container {
  /* --- Standart sahifa konteyneri -------------------------------------
     Desktop'da HAR BIR tab va sahifa (cashflow, P&L, balans, debitor/
     kreditor, detail sahifalar, buxgalter) bir xil kenglikda markazlashadi.
     Ilgari faqat cashflow'da bor edi va P&L 1140 / balans 960 bilan
     farq qilardi — endi yagona token boshqaradi.
     Qo'llash: `padding-inline: var(--fr-pad-x)` yoki `.fr-container`. */
  --fr-container: 1240px;
  --fr-gutter: 16px;
  --fr-pad-x: max(var(--fr-gutter), calc((100% - var(--fr-container)) / 2));
  --fr-page-bg: #f2f2f7;
  --fr-text: #1d1d1f;
  --fr-muted: #6e6e73;
  --fr-divider: #ececf0;
  --fr-soft-bg: #f0f1f4;
  --fr-blue: #006f7d;
  --fr-blue-bg: #e2f0f1;
  --fr-green: #17a34a;
  --fr-green-bg: #e8f8ee;
  --fr-red: #e2394a;
  --fr-red-bg: #fdeef0;
  --fr-shadow-1: 0 1px 2px rgba(20, 25, 40, .05), 0 0 1px rgba(20, 25, 40, .08);
  --fr-shadow-2: 0 4px 14px -6px rgba(20, 25, 40, .14), 0 1px 3px rgba(20, 25, 40, .05);
}
/* Tablet: telefon tartibini saqlaymiz — konteyner qulay o'qish ustuniga siqiladi. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hisobim-finance-mfe,
  .hisobim-finance-reports-container {
    --fr-container: 680px;
    --fr-gutter: 20px;
  }
}
/* Desktop: to'liq 1240px CRM konteyneri. */
@media (min-width: 1024px) {
  .hisobim-finance-mfe,
  .hisobim-finance-reports-container {
    --fr-gutter: 28px;
  }
}
/* Konteyner ichidagi blok (portalga chiqadigan detail sahifalar uchun):
   scroll root'ga padding berish o'rniga ichki wrapper'ni markazlashtiradi. */
.fr-container {
  width: 100%;
  max-width: var(--fr-container);
  margin-inline: auto;
}
.hisobim-finance-reports-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  /* Inter — design-system family (Untitled UI). Qarang --font-family, base/_tokens.scss. */
  font-family: var(--font-family);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text, #1d1d1f);
  position: relative;
  overflow: hidden;
}
/* Make internal views expand */
.hisobim-finance-reports-container .tab-content-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
/* Framer Motion swaps a single active report in/out via AnimatePresence */
.hisobim-finance-reports-container .tab-content-motion {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hisobim-finance-mfe {
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --muted-foreground: 215 16% 47%;
  --destructive: 0 84% 60%;
  --radius: 0.5rem;
  --hisobim-primary: #006f7d;
  --hisobim-primary-hover: #005b66;
  --hisobim-primary-light: #e6f2f4;
  --hisobim-surface: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F9FAFB;
}
.hisobim-finance-mfe *,
.hisobim-finance-mfe *::before,
.hisobim-finance-mfe *::after {
  box-sizing: border-box;
}
/* ==========================================================================
   Mobile webview: no text selection / long-press callout anywhere.
   `.hisobim-finance-mfe` wraps the app root AND every portalled sheet, so this
   cascades across all views and dialogs. Form fields stay selectable.
   ========================================================================== */
.hisobim-finance-mfe,
.accountant-template-menu {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.hisobim-finance-mfe input,
.hisobim-finance-mfe textarea,
.hisobim-finance-mfe select,
.hisobim-finance-mfe [contenteditable=true],
.accountant-template-menu input {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  /* Callout ham qaytariladi: yuqoridagi `none` iOS WKWebView'da maydon ichiga
     tap qilganda kursor qo'yilishini va tanlash lupasini ham bo'g'ib qo'yadi. */
  -webkit-touch-callout: default;
}
.accountant-page {
  --acc-brand: #006f7d;
  --acc-brand-tint: rgba(0, 111, 125, .12);
  --acc-brand-text: #00565f;
  --acc-surface-0: #f4f5f5;
  --acc-surface-1: #eef0f0;
  --acc-surface-2: #ffffff;
  --acc-text: #1a1d1d;
  --acc-muted: #697171;
  --acc-border: #dde1e1;
  --acc-border-strong: #c7cccc;
  --acc-success-bg: #e6f4ea;
  --acc-success: #1e7d3a;
  --acc-danger-bg: #fbe9e9;
  --acc-danger: #b3261e;
  --acc-warning-bg: #fdf1dc;
  --acc-warning: #8a5b0b;
  --acc-hover: #e2eff0;
  /* Type scale: fixed steps only, no arbitrary one-off sizes. */
  --acc-fs-2xs: 10px;
  --acc-fs-xs: 11px;
  --acc-fs-sm: 12px;
  --acc-fs-base: 13px;
  --acc-fs-md: 14px;
  --acc-fs-lg: 15px;
  --acc-fs-xl: 17px;
  --acc-fs-2xl: 19px;
  --acc-fw-regular: 400;
  --acc-fw-medium: 500;
  --acc-fw-semibold: 600;
  --acc-fw-bold: 700;
  --acc-tracking-tight: -0.015em;
  --acc-tracking-normal: 0;
  --acc-tracking-wide: 0.04em;
  --acc-tracking-wider: 0.06em;
  --acc-tracking-label: 0.05em;
  --acc-lh-tight: 1.2;
  --acc-lh-snug: 1.35;
  --acc-lh-normal: 1.5;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--acc-surface-2);
  color: var(--acc-text);
  font-family: var(--font-family);
  font-size: var(--acc-fs-md);
  line-height: var(--acc-lh-normal);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.accountant-page button,
.accountant-page input,
.accountant-page select {
  font: inherit;
}
.accountant-topbar {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  border-bottom: 1px solid var(--acc-border);
  background: var(--acc-surface-1);
  /* reserve the phone status bar (web owns the header now) */
  padding: calc(var(--app-safe-top, 0px) + 10px) 18px 10px;
}
.accountant-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.accountant-brand > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--acc-brand);
  color: #fff;
}
.accountant-brand strong,
.accountant-brand small {
  display: block;
  line-height: var(--acc-lh-tight);
}
.accountant-brand strong {
  font-size: var(--acc-fs-base);
  font-weight: var(--acc-fw-bold);
  letter-spacing: var(--acc-tracking-tight);
}
.accountant-brand small {
  color: var(--acc-muted);
  font-size: var(--acc-fs-2xs);
  font-weight: var(--acc-fw-medium);
  letter-spacing: var(--acc-tracking-wide);
  text-transform: uppercase;
}
.accountant-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.accountant-topnav > button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--acc-muted);
  cursor: pointer;
  font-size: var(--acc-fs-base);
  font-weight: var(--acc-fw-medium);
  padding: 8px 12px;
  text-align: left;
}
.accountant-topnav > button:hover,
.accountant-topnav > button.active {
  background: var(--acc-brand-tint);
  color: var(--acc-brand-text);
}
.accountant-topnav > button.active {
  font-weight: var(--acc-fw-semibold);
}
.accountant-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--acc-muted);
  cursor: pointer;
}
.accountant-user span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--acc-brand-tint);
  color: var(--acc-brand-text);
  font-size: var(--acc-fs-xs);
  font-weight: var(--acc-fw-semibold);
}
.accountant-user p {
  margin: 0;
  font-size: var(--acc-fs-sm);
  font-weight: var(--acc-fw-medium);
}
.accountant-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 16px 18px;
}
.accountant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.accountant-header h1 {
  margin: 0;
  font-size: var(--acc-fs-2xl);
  font-weight: var(--acc-fw-bold);
  line-height: var(--acc-lh-tight);
  letter-spacing: var(--acc-tracking-tight);
}
.accountant-header p {
  margin: 0;
  color: var(--acc-muted);
  font-size: var(--acc-fs-base);
  line-height: var(--acc-lh-snug);
}
.accountant-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--acc-brand-tint);
  color: var(--acc-brand-text);
  font-size: var(--acc-fs-2xs);
  font-weight: var(--acc-fw-bold);
  letter-spacing: var(--acc-tracking-wider);
  padding: 3px 8px;
  text-transform: uppercase;
}
.accountant-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.accountant-select {
  position: relative;
  display: inline-flex;
}
.accountant-select-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  height: 34px;
  border: 1px solid var(--acc-border-strong);
  border-radius: 8px;
  background: var(--acc-surface-2);
  color: var(--acc-text);
  cursor: pointer;
  font-size: var(--acc-fs-base);
  padding: 0 10px;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.accountant-select-trigger:hover {
  border-color: var(--acc-brand);
}
.accountant-select.open .accountant-select-trigger {
  border-color: var(--acc-brand);
  box-shadow: 0 0 0 3px var(--acc-brand-tint);
}
.accountant-select-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountant-select-trigger svg {
  flex-shrink: 0;
  color: var(--acc-muted);
  transition: transform 0.15s;
}
.accountant-select.open .accountant-select-trigger svg {
  color: var(--acc-brand);
  transform: rotate(180deg);
}
.accountant-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--acc-border-strong);
  border-radius: 10px;
  background: var(--acc-surface-2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  padding: 5px;
}
.accountant-select-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--acc-text);
  cursor: pointer;
  font-size: var(--acc-fs-base);
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}
.accountant-select-option:hover {
  background: var(--acc-brand-tint);
  color: var(--acc-brand-text);
}
.accountant-select-option.selected {
  color: var(--acc-brand-text);
  font-weight: var(--acc-fw-semibold);
}
.accountant-select-option svg {
  flex-shrink: 0;
  color: var(--acc-brand);
}
.accountant-search {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.accountant-search svg {
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--acc-muted);
}
.accountant-search input,
.accountant-template-menu input {
  width: 100%;
  height: 34px;
  border: 1px solid var(--acc-border-strong);
  border-radius: 8px;
  background: var(--acc-surface-2);
  color: var(--acc-text);
  font-size: var(--acc-fs-base);
  padding: 0 10px;
}
.accountant-search input {
  padding-left: 32px;
}
.accountant-modebar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.accountant-modebar button,
.accountant-state button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--acc-border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--acc-text);
  cursor: pointer;
  font-size: var(--acc-fs-base);
  font-weight: var(--acc-fw-medium);
  padding: 7px 14px;
}
.accountant-modebar button.active {
  border-color: var(--acc-brand);
  background: var(--acc-brand);
  color: #fff;
  font-weight: var(--acc-fw-semibold);
}
.accountant-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--acc-border);
  border-radius: 12px;
}
.accountant-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--acc-fs-sm);
}
.accountant-bank-table {
  min-width: 1750px;
}
.accountant-page th {
  border-bottom: 1px solid var(--acc-border);
  background: var(--acc-surface-1);
  color: var(--acc-muted);
  font-size: var(--acc-fs-2xs);
  font-weight: var(--acc-fw-bold);
  letter-spacing: var(--acc-tracking-label);
  padding: 10px;
  text-align: left;
  text-transform: uppercase;
}
.accountant-page td {
  border-bottom: 1px solid var(--acc-border);
  background: var(--acc-surface-2);
  padding: 10px;
  line-height: var(--acc-lh-snug);
  vertical-align: middle;
}
.accountant-page tbody tr:hover td {
  background: var(--acc-hover);
}
.accountant-page tbody tr.review td {
  /* --acc-danger-bg (#fbe9e9) shu yerga to'g'ridan-to'g'ri qo'yilmaydi: u badge fonida
     (kichik maydon) yaxshi ko'rinadi, lekin needs_review holatidagi qatorlar odatda
     jadvalning katta qismini tashkil qiladi — butun qator shu to'yingan rangda bo'lsa,
     jadval og'ir/pushti ko'rinishga aylanadi. Shu sabab bu yerga alohida, yumshoqroq
     ottenka ishlatiladi, badge rangiga tegmasdan. */
  background: #fdf4f4;
}
.accountant-page code {
  color: inherit;
  font-family: var(--font-mono);
  font-size: var(--acc-fs-xs);
}
.accountant-page td span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.accountant-page .num {
  text-align: right;
}
.accountant-page .truncate {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountant-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: var(--acc-fs-xs);
  font-weight: var(--acc-fw-semibold);
  line-height: var(--acc-lh-tight);
  padding: 2px 9px;
}
.accountant-badge-success {
  background: var(--acc-success-bg);
  color: var(--acc-success);
}
.accountant-badge-danger {
  background: var(--acc-danger-bg);
  color: var(--acc-danger);
}
.accountant-badge-warning {
  background: var(--acc-warning-bg);
  color: var(--acc-warning);
}
.accountant-badge-brand {
  background: var(--acc-brand-tint);
  color: var(--acc-brand-text);
}
.accountant-badge-muted {
  background: var(--acc-surface-1);
  color: var(--acc-muted);
}
.accountant-template-cell {
  position: relative;
}
.accountant-template-chip {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
  border: 1px dashed var(--acc-border-strong);
  border-radius: 6px;
  background: var(--acc-surface-1);
  color: var(--acc-text);
  cursor: pointer;
  font-size: var(--acc-fs-xs);
  padding: 5px 7px;
  text-align: left;
}
.accountant-template-chip.open,
.accountant-template-chip:hover {
  border-style: solid;
  border-color: var(--acc-brand);
  background: var(--acc-brand-tint);
}
.accountant-template-chip span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.accountant-template-chip-accounts {
  flex-shrink: 0;
  color: var(--acc-muted);
  font-size: var(--acc-fs-2xs);
}
.accountant-danger-text {
  color: var(--acc-danger);
}
.accountant-audit-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: var(--acc-muted);
  font-size: var(--acc-fs-2xs);
  line-height: var(--acc-lh-snug);
}
.accountant-template-menu {
  /* createPortal orqali document.body'ga chiqariladi (DOM daraxtida .accountant-page
     tashqarisida) — shu sabab .accountant-page'da e'lon qilingan --acc-* o'zgaruvchilarni
     meros ololmaydi. Mos qiymatlarni shu yerda qayta e'lon qilmasak, ularni ishlatgan
     xususiyatlar (masalan background: var(--acc-brand)) yechilmay, boshlang'ich (transparent)
     qiymatga qaytadi — natijada oq matn oq fonda ko'rinmay qoladi (Confirm tugmasi bug'i).*/
  --acc-brand: #006f7d;
  --acc-brand-tint: rgba(0, 111, 125, .12);
  --acc-brand-text: #00565f;
  --acc-surface-1: #eef0f0;
  --acc-text: #1a1d1d;
  --acc-muted: #697171;
  --acc-border-strong: #c7cccc;
  --acc-fs-sm: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--acc-border-strong);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  padding: 6px;
}
.accountant-template-menu input {
  flex-shrink: 0;
}
.accountant-template-options {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  padding-top: 6px;
}
.accountant-template-options button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--acc-text);
  cursor: pointer;
  font-size: var(--acc-fs-sm);
  padding: 6px 8px;
  text-align: left;
}
.accountant-template-options button:hover,
.accountant-template-options button.selected {
  background: var(--acc-brand-tint);
}
.accountant-template-options code {
  flex-shrink: 0;
  color: var(--acc-muted);
}
.accountant-template-confirm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px;
}
.accountant-template-confirm-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--acc-fs-sm);
}
.accountant-template-confirm-summary code {
  flex-shrink: 0;
  color: var(--acc-muted);
}
.accountant-template-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.accountant-btn-ghost,
.accountant-btn-primary {
  border-radius: 6px;
  padding: 6px 12px;
  font-size: var(--acc-fs-sm);
  cursor: pointer;
}
.accountant-btn-ghost {
  border: 1px solid var(--acc-border-strong);
  background: transparent;
  color: var(--acc-text);
}
.accountant-btn-ghost:hover {
  background: var(--acc-surface-1);
}
.accountant-btn-primary {
  border: 1px solid var(--acc-brand);
  background: var(--acc-brand);
  color: white;
}
.accountant-btn-primary:hover {
  background: var(--acc-brand-text);
  border-color: var(--acc-brand-text);
}
.accountant-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.accountant-state {
  color: var(--acc-muted);
  font-size: var(--acc-fs-base);
  padding: 28px !important;
  text-align: center;
}
.accountant-state.error {
  color: var(--acc-danger);
}
.accountant-empty-small {
  color: var(--acc-muted);
  font-size: var(--acc-fs-sm);
  padding: 8px;
}
.accountant-template-note {
  color: var(--acc-muted);
  font-size: var(--acc-fs-sm);
  line-height: var(--acc-lh-snug);
  margin: 0 0 12px;
}
.accountant-spin {
  animation: accountant-spin 0.7s linear infinite;
}
@keyframes accountant-spin {
  to {
    transform: rotate(360deg);
  }
}
.accountant-modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 15, 0.45);
  padding: 20px;
}
.accountant-modal {
  width: 620px;
  max-width: 100%;
  max-height: 84vh;
  overflow: auto;
  border-radius: 16px;
  background: var(--acc-surface-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.accountant-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--acc-border);
  padding: 20px 22px;
}
.accountant-modal-head h2 {
  margin: 0;
  font-size: var(--acc-fs-xl);
  font-weight: var(--acc-fw-bold);
  line-height: var(--acc-lh-tight);
  letter-spacing: var(--acc-tracking-tight);
}
.accountant-modal-head p {
  margin: 3px 0 0;
  color: var(--acc-muted);
  font-size: var(--acc-fs-base);
}
.accountant-modal-head button {
  border: 0;
  background: transparent;
  color: var(--acc-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.accountant-modal-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--acc-border);
  padding: 0 22px;
}
.accountant-modal-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--acc-muted);
  cursor: pointer;
  font-size: var(--acc-fs-base);
  font-weight: var(--acc-fw-medium);
  padding: 12px 0;
}
.accountant-modal-tabs button.active {
  border-bottom-color: var(--acc-brand);
  color: var(--acc-brand-text);
  font-weight: var(--acc-fw-semibold);
}
.accountant-modal-body {
  padding: 18px 22px 22px;
}
.accountant-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--acc-border);
  font-size: var(--acc-fs-md);
  line-height: var(--acc-lh-snug);
  padding: 12px 0;
}
.accountant-detail-row span {
  color: var(--acc-muted);
}
.accountant-detail-row strong {
  font-weight: var(--acc-fw-semibold);
  text-align: right;
}
.accountant-log-item {
  display: flex;
  gap: 14px;
}
.accountant-log-item > div {
  display: grid;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--acc-surface-1);
  color: var(--acc-muted);
}
.accountant-log-item section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.accountant-log-item strong {
  font-size: var(--acc-fs-md);
  font-weight: var(--acc-fw-semibold);
  line-height: var(--acc-lh-snug);
}
.accountant-log-item span {
  color: var(--acc-muted);
  font-size: var(--acc-fs-xs);
}
.accountant-log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.accountant-log-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--acc-surface-1);
  color: var(--acc-muted);
  font-size: var(--acc-fs-xs);
  padding: 3px 7px;
}
.accountant-log-pill strong {
  color: var(--acc-muted);
  font-weight: var(--acc-fw-semibold);
}
.accountant-log-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--acc-border-strong);
  border-radius: 999px;
  background: var(--acc-surface-2);
  color: var(--acc-brand-text);
  cursor: pointer;
  font-size: var(--acc-fs-xs);
  font-weight: var(--acc-fw-semibold);
  padding: 4px 10px;
}
.accountant-log-action:hover {
  border-color: var(--acc-brand);
  background: var(--acc-brand-tint);
}
.accountant-admin-modal {
  max-width: 720px;
}
.accountant-admin-operation {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--acc-border);
  background: transparent;
  color: var(--acc-text);
  cursor: pointer;
  padding: 12px 0;
  text-align: left;
}
.accountant-admin-operation:hover {
  background: var(--acc-hover);
}
.accountant-admin-operation strong,
.accountant-admin-operation span,
.accountant-admin-operation em {
  display: block;
}
.accountant-admin-operation strong {
  font-size: var(--acc-fs-md);
  font-weight: var(--acc-fw-semibold);
  line-height: var(--acc-lh-snug);
}
.accountant-admin-operation span,
.accountant-admin-operation em {
  color: var(--acc-muted);
  font-size: var(--acc-fs-sm);
  font-style: normal;
  margin-top: 2px;
}
.accountant-admin-operation em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}
.accountant-load-more {
  padding-top: 12px;
  text-align: center;
}
/* ==========================================================================
   AccountantView — mobile (bank table -> stacked cards, responsive toolbar)
   ========================================================================== */
@media (max-width: 767px) {
  .accountant-main {
    padding: 12px;
  }
  .accountant-topbar {
    padding: calc(var(--app-safe-top, 0px) + 10px) 12px 10px;
    gap: 8px 12px;
  }
  .accountant-topnav {
    width: 100%;
  }
  .accountant-topnav > button {
    flex: 1 1 auto;
    justify-content: center;
  }
  /* Filters: two-up selects, full-width search */
  .accountant-toolbar {
    gap: 8px;
  }
  .accountant-toolbar > .accountant-select {
    flex: 1 1 calc(50% - 4px);
    width: auto !important;
    min-width: 0;
  }
  .accountant-search {
    flex: 1 1 100%;
    min-width: 0;
  }
  .accountant-modebar {
    flex-wrap: wrap;
  }
  .accountant-modebar button {
    flex: 1 1 auto;
    justify-content: center;
  }
  /* Bank table -> card list (templates table keeps horizontal scroll) */
  .accountant-table-wrap {
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .accountant-bank-table {
    min-width: 0;
  }
  .accountant-bank-table thead {
    display: none;
  }
  .accountant-bank-table tbody {
    display: block;
  }
  .accountant-bank-table tbody tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid var(--acc-border);
    border-radius: 16px;
    background: var(--acc-surface-2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 4px 0;
  }
  .accountant-bank-table tbody tr.review {
    border-color: var(--acc-danger);
    background: #fdf4f4;
  }
  .accountant-bank-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent !important;
    padding: 5px 14px;
    text-align: right;
  }
  .accountant-bank-table td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--acc-muted);
    font-size: var(--acc-fs-2xs);
    font-weight: var(--acc-fw-bold);
    letter-spacing: var(--acc-tracking-label);
    text-transform: uppercase;
    text-align: left;
  }
  .accountant-bank-table td.truncate {
    max-width: none;
    white-space: normal;
    text-overflow: clip;
  }
  .accountant-bank-table td.acc-cell-amount code {
    font-size: var(--acc-fs-lg);
    font-weight: var(--acc-fw-bold);
  }
  .accountant-bank-table td .accountant-audit-note {
    justify-content: flex-end;
  }
  /* Template picker cell: full-width block at the bottom of the card */
  .accountant-bank-table td:last-child {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--acc-border);
    margin-top: 4px;
    text-align: left;
  }
  .accountant-bank-table td:last-child::before {
    text-align: left;
  }
  .accountant-template-menu {
    left: 12px !important;
    width: calc(100vw - 24px) !important;
  }
  /* Loading / sentinel / empty rows stay centered */
  .accountant-bank-table td.accountant-state {
    justify-content: center;
    flex-direction: row;
    text-align: center;
    border-top: 0;
    margin-top: 0;
  }
  .accountant-bank-table td.accountant-state::before {
    content: none;
  }
  /* Detail / admin modal -> bottom sheet */
  .accountant-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .accountant-modal {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
  .accountant-modal-head {
    padding: 16px;
  }
  .accountant-modal-tabs {
    gap: 16px;
    padding: 0 16px;
  }
  .accountant-modal-body {
    padding: 14px 16px 20px;
  }
  .accountant-detail-row {
    gap: 12px;
  }
}
/* ==========================================================================
   Buxgalter ekrani — ilgari AccountantView.tsx ichida `style={{ ... }}` bo'lib
   yozilgan uslublar. Komponentlar `src/components/accountant/` ga bo'lingach,
   inline uslublar shu yerga ko'chirildi: qiymatlar o'zgarmagan, faqat manzili.
   ========================================================================== */
/* ---------- Modal sarlavhasidagi amallar ---------- */
.accountant-modal-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.accountant-modal-delete {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #dc2626;
}
/* ---------- Admin tasdiqlagan operatsiyalar ro'yxati ---------- */
.accountant-admin-operation-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  text-align: left;
}
.accountant-admin-operation-key {
  font-style: normal;
  opacity: 0.65;
}
/* ---------- Nazorat jadvalidagi bosiladigan qator ---------- */
.accountant-row-clickable {
  cursor: pointer;
}
/* ---------- Yangi shablon formasi ---------- */
.accountant-form {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border, #d8dee9);
  border-radius: 10px;
}
.accountant-form-title {
  font-size: 14px;
}
.accountant-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.accountant-form-field {
  display: grid;
  gap: 4px;
  font-size: 12px;
}
.accountant-form-field input {
  padding: 7px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
}
.accountant-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accountant-form-submit {
  padding: 8px 18px;
  font-weight: 600;
}
.accountant-form-message {
  font-size: 12px;
}
.accountant-form-message.is-ok {
  color: #16a34a;
}
.accountant-form-message.is-error {
  color: #dc2626;
}
/* ---------- "Ma'lumotlar" tabi ---------- */
.accountant-data-toolbar {
  gap: 10px;
}
.accountant-data-table {
  margin-top: 10px;
}
.accountant-danger-action {
  color: #dc2626;
}
.accountant-dim {
  opacity: 0.6;
}
/* Rangli ogohlantiruvchi bloklar (xavfli zona / dublikatlar / MXIK).
   Har biri bir xil tuzilma, faqat rang modifikatori bilan farq qiladi. */
.accountant-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
}
.accountant-panel > strong {
  color: var(--accountant-panel-accent);
}
.accountant-panel-danger {
  --accountant-panel-accent: #dc2626;
  margin-top: 20px;
  max-width: 640px;
  border: 1px solid #fca5a5;
  background: rgba(220, 38, 38, 0.05);
}
.accountant-panel-warning {
  --accountant-panel-accent: #b45309;
  max-width: 640px;
  border: 1px solid #fcd34d;
  background: rgba(217, 119, 6, 0.06);
}
.accountant-panel-info {
  --accountant-panel-accent: #1d4ed8;
  max-width: 720px;
  border: 1px solid #93c5fd;
  background: rgba(37, 99, 235, 0.05);
}
.accountant-panel-note {
  font-size: 13px;
}
.accountant-panel-actions {
  display: flex;
  gap: 8px;
}
.accountant-panel-scroll {
  max-height: 260px;
  overflow: auto;
  border: 1px solid #fde68a;
  border-radius: 8px;
}
.accountant-panel-table {
  width: 100%;
  font-size: 12px;
}
.accountant-panel-table th,
.accountant-panel-table td {
  padding: 6px 8px;
  text-align: left;
}
.accountant-panel-table th.num,
.accountant-panel-table td.num {
  text-align: right;
}
.accountant-panel-warning .accountant-panel-table thead tr {
  background: rgba(217, 119, 6, 0.08);
}
.accountant-panel-info .accountant-panel-table thead tr {
  background: rgba(37, 99, 235, 0.08);
}
.accountant-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.accountant-checkbox-row label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.accountant-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
/* ---------- Amal tugmalari ---------- */
.accountant-btn-danger,
.accountant-btn-warning,
.accountant-btn-warning-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.accountant-btn-danger {
  justify-self: start;
  border: none;
  background: #dc2626;
  color: #fff;
}
.accountant-btn-danger:disabled {
  opacity: 0.5;
}
.accountant-btn-warning {
  border: none;
  background: #b45309;
  color: #fff;
}
.accountant-btn-warning-outline {
  border: 1px solid #b45309;
  background: #fff;
  color: #b45309;
}
.accountant-answer-actions {
  display: flex;
  gap: 6px;
}
.accountant-btn-answer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.accountant-btn-answer.is-yes {
  border: 1px solid #16a34a;
  color: #16a34a;
}
.accountant-btn-answer.is-no {
  border: 1px solid #6b7280;
  color: #6b7280;
}
/* ===================== Форма №1/№2 hisobotlari (billing_pl / billing_balance) =====================
   Rang palitasi va tuzilma /Users/udevs/github/dashboard (tasdiqlangan statik prototip) bilan
   bir xil — faqat soxta telefon-xrom (status-bar/battery) olib tashlangan, chunki haqiqiy
   Flutter WebView o'z xromini beradi. */
.formrpt-shell {
  --fr-page-bg: #f2f2f7;
  --fr-text: #1d1d1f;
  --fr-muted: #6e6e73;
  --fr-divider: #ececf0;
  --fr-soft-bg: #f0f1f4;
  --fr-blue: #006f7d;
  --fr-blue-bg: #e2f0f1;
  --fr-green: #17a34a;
  --fr-green-bg: #e8f8ee;
  --fr-red: #e2394a;
  --fr-red-bg: #fdeef0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  /* Mobil WebView konteyneri (Flutter) o'zi tashqi sahifa scroll'ini bermaydi —
     shell balandligi ekranga cheklanadi va ICHIDA o'zi vertikal scroll qiladi.
     100dvh (dynamic viewport height) mobil brauzer chrome'ini hisobga oladi,
     100vh — dvh qo'llamaydigan eski brauzerlar uchun fallback. */
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  background: var(--fr-page-bg);
  font-variant-numeric: tabular-nums;
  color: var(--fr-text);
}
.formrpt-shell * {
  box-sizing: border-box;
  min-width: 0;
}
.formrpt-dash-header {
  padding: 14px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
.formrpt-dash-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.formrpt-export-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--fr-blue);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 111, 125, 0.28);
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
/* Faqat kursorli qurilmalar — sensorli ekranda yopishib qoladigan hover soyasi
   "pressed" effekti bo'lib ko'rinardi. */
@media (hover: hover) and (pointer: fine) {
  .formrpt-export-btn:hover {
    background: var(--fr-blue, #005b66);
    box-shadow: 0 6px 16px rgba(0, 111, 125, 0.36);
  }
}
.formrpt-export-btn svg {
  width: 15px;
  height: 15px;
}
/* --- Company picker (admin rejimida) --- */
.formrpt-company-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(300px, 78vw);
  background: #fff;
  border: 1.5px solid #e4e7ee;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fr-text);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.formrpt-company-btn:hover {
  border-color: #cfd6e0;
}
.formrpt-company-btn:active {
  transform: scale(0.98);
}
.formrpt-company-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.formrpt-company-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 25, 40, 0.18);
  padding: 6px;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 60;
}
.formrpt-company-menu-item {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #2b2f3a;
  cursor: pointer;
  outline: none;
}
.formrpt-company-menu-item:hover,
.formrpt-company-menu-item[data-highlighted] {
  background: var(--fr-soft-bg);
}
.formrpt-dash-header h1 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
  color: #0d0f16;
}
.formrpt-pill-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 14px;
  min-width: 0;
  max-width: 100%;
}
.formrpt-pill {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  padding: 10px 6px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid #e4e7ee;
  background: #fff;
  color: #2b2f3a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.formrpt-pill-main {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.formrpt-pill-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.2;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.formrpt-pill-active {
  background: var(--fr-blue);
  border-color: var(--fr-blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 111, 125, 0.28);
}
.formrpt-pill-active .formrpt-pill-sub {
  opacity: 0.8;
}
.formrpt-tab-wrap {
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
/* --- Cash Flow placeholder --- */
.formrpt-cashflow-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  text-align: center;
}
.formrpt-cashflow-empty svg {
  width: 34px;
  height: 34px;
  color: #c7cbd6;
}
.formrpt-cashflow-empty p {
  font-size: 12.5px;
  color: var(--fr-muted);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.1px;
}
/* --- Report header (Форма №1/№2 sarlavhasi) --- */
.formrpt-report {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 2px 20px 24px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  /* flex-shrink:0 — muhim. .formrpt-tab-wrap (ota, flex:1;min-height:0) ichidagi yagona
     flex-item sifatida, CSS spec bo'yicha overflow-x:hidden qo'yilgan elementning
     min-height:auto qiymati 0 ga hisoblanadi (overflow-y:visible deb ochiq yozish ham
     buni oldini olmaydi — spec ikki o'qni juftlab "auto"ga aylantiradi). Natijada bu
     blok tarkib balandligidan qat'i nazar qisqarib, scroll ishlamay qolardi (3 ta
     tab — Cash Flow/P&L/Balance). flex-shrink:0 esa uni umuman qisqartirmaydi — tabiiy
     (tarkibga mos) balandligini saqlaydi va shu orqali tab-wrap to'g'ri scroll qiladi. */
  flex-shrink: 0;
}
.formrpt-report-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.formrpt-back-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--fr-soft-bg);
  border-radius: 9px;
  font-size: 18px;
  line-height: 1;
  color: var(--fr-text);
  cursor: pointer;
  margin-top: 1px;
}
.formrpt-report-titles {
  min-width: 0;
  flex: 1;
}
.formrpt-report-header h1 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
  line-height: 1.28;
  color: #0d0f16;
}
.formrpt-report-header p {
  font-size: 12px;
  color: var(--fr-muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.formrpt-report-header .formrpt-date-range {
  color: var(--fr-blue);
  font-weight: 700;
  letter-spacing: 0;
}
/* Balans: "Balans tuzilmasi" bloki. Mobilda ketma-ket (kartasiz), desktopda
   ikki ustun — pastdagi @media 1024px bo'limiga qarang. */
.b1-block + .b1-block {
  margin-top: 24px;
}
#tab-balance .cards-row {
  margin-bottom: 20px;
}
/* Yagona bo'sh ekran holati (EmptyState komponenti): markazda ikonka + izoh.
   Ilgari bu faqat bitta qator matn edi va sahifa buzilgandek ko'rinardi. */
.formrpt-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 200px;
  padding: 32px 20px;
  color: var(--fr-muted);
  font-size: 13px;
  text-align: center;
}
/* Butun tab kontenti bo'sh bo'lganda — sahifaning qolgan balandligini egallaydi. */
.formrpt-empty-full {
  flex: 1;
  min-height: min(420px, 60vh);
}
.formrpt-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--fr-soft-bg);
  color: #98a2b3;
}
.formrpt-empty-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #475467;
  line-height: 1.4;
  max-width: 320px;
}
.formrpt-empty-hint {
  font-size: 12px;
  color: var(--fr-muted);
  line-height: 1.45;
  max-width: 300px;
}
.formrpt-error-banner {
  background: var(--fr-red-bg);
  color: var(--fr-red);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
}
.formrpt-warn-banner {
  background: #fff8e6;
  color: #9a6b00;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
}
.formrpt-refreshing {
  font-size: 11.5px;
  color: #9ca3af;
  text-align: center;
}
.formrpt-refresh-btn {
  align-self: flex-start;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--fr-soft-bg);
  border: none;
  color: var(--fr-blue);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.formrpt-no-data {
  color: var(--fr-muted);
  font-style: italic;
}
.formrpt-neg {
  color: var(--fr-red);
}
.formrpt-pct-up {
  color: var(--fr-green);
}
.formrpt-pct-down {
  color: var(--fr-red);
}
/* --- PeriodPicker --- */
.formrpt-period-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: var(--fr-soft-bg);
  border: none;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2b2f3a;
  letter-spacing: 0.1px;
  cursor: pointer;
  font-family: inherit;
  max-width: 100%;
}
@media (max-width: 1023.98px) {
  .formrpt-period-btn {
    margin-bottom: 16px;
  }
}
.formrpt-period-cap {
  color: var(--fr-muted);
}
.formrpt-period-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.formrpt-period-menu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 25, 40, 0.18);
  padding: 6px;
  min-width: 180px;
  z-index: 50;
}
.formrpt-period-menu-item {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #2b2f3a;
  cursor: pointer;
  outline: none;
}
.formrpt-period-menu-item:hover,
.formrpt-period-menu-item[data-highlighted] {
  background: var(--fr-soft-bg);
}
.formrpt-period-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.formrpt-chip {
  height: 34px;
  padding: 0 15px;
  border-radius: 20px;
  border: none;
  background: var(--fr-soft-bg);
  color: #464b58;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.formrpt-chip:active {
  transform: scale(0.97);
}
.formrpt-chip-active {
  background: var(--fr-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px rgba(0, 111, 125, 0.35);
}
.formrpt-date-mode {
  gap: 8px;
}
/* --- Form2Table --- */
.formrpt-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
.formrpt-table {
  /* max-content + min-width:100% — ustunlar (oylar) kiritilganda jadval tabiiy
     ravishda o'sib, .formrpt-table-wrap orqali gorizontal scroll bo'ladi; oy
     ustunlari yo'q holatda (2 ustun) konteyner kengligiga to'liq mos keladi. */
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}
.formrpt-table col.formrpt-col-name {
  width: auto;
  min-width: 132px;
}
.formrpt-table col.formrpt-col-num {
  width: 78px;
}
.formrpt-table thead th {
  text-align: right;
  font-weight: 700;
  font-size: 9.5px;
  color: var(--fr-muted);
  letter-spacing: 0.15px;
  padding: 0 8px 6px 0;
  line-height: 1.25;
  white-space: nowrap;
}
.formrpt-table thead th:first-child {
  text-align: left;
  padding-right: 0;
}
.formrpt-table thead th.formrpt-col-mo {
  text-transform: uppercase;
  font-size: 8.7px;
}
.formrpt-table tbody td {
  padding: 7px 0;
  border-bottom: 1px solid var(--fr-divider);
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.3;
}
.formrpt-table tbody td:first-child {
  white-space: normal;
}
.formrpt-table tbody td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  color: var(--fr-text);
  letter-spacing: -0.1px;
  padding-left: 8px;
  white-space: nowrap;
}
.formrpt-table tbody tr:last-child td {
  border-bottom: none;
}
.formrpt-section td {
  font-weight: 700;
  border-bottom: none;
}
.formrpt-section td:first-child {
  border-radius: 8px 0 0 8px;
  padding-left: 8px;
}
.formrpt-section td:last-child {
  border-radius: 0 8px 8px 0;
  padding-right: 8px;
}
.formrpt-section-income td {
  background: var(--fr-green-bg);
  color: var(--fr-green);
}
.formrpt-section-expense td {
  background: var(--fr-red-bg);
  color: var(--fr-red);
}
.formrpt-section-all td {
  background: var(--fr-blue-bg);
  color: var(--fr-blue);
}
.formrpt-net-profit td {
  background: var(--fr-green-bg);
  color: var(--fr-green);
  font-weight: 800;
  padding: 10px 0;
}
.formrpt-net-profit td:first-child {
  border-radius: 10px 0 0 10px;
  padding-left: 10px;
}
.formrpt-net-profit td:last-child {
  border-radius: 0 10px 10px 0;
  padding-right: 10px;
}
/* Bosiladigan raqam-katak (drill uchun) — kursor va ostiga chiziqcha bilan belgilanadi. */
.formrpt-cell-drill {
  cursor: pointer;
}
/* P&L jadvalidagi harakat ikonkalari: satr -> tafsilot sahifasi/drawer
   (PanelRight), katak -> operatsiyalar sheet'i (ListTree). Harakati yo'q
   kataklarda ikonka ham yo'q — foydalanuvchi nimani bosish mumkinligini
   ko'rib turadi. */
/* Jadval ustidagi izoh: "Jami" ustuni qaysi davrni qamrab olishini aytadi. */
#tab-pnl .pnl-table-hint {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fr-muted, #98a2b3);
  letter-spacing: 0.1px;
}
#tab-pnl .dt-act,
#tab-balance .dt-act {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 6px;
  color: #98a2b3;
  opacity: 0.55;
  transition: opacity 0.15s ease, color 0.15s ease;
}
/* Faqat kursorli qurilmalar: sensorli ekranda :hover bosilgandan keyin
   yopishib qoladi. */
/* Balans kartalarida sarlavha rangli (yashil/qizil) — ikonka ham shu rangda,
   faqat xiraroq, aks holda kulrang ikonka begona ko'rinadi. */
/* Obuna holati — ogohlantirish rangidagi ikonka va harakat tugmasi. */
.formrpt-empty-icon-warn {
  background: #fff4e5;
  color: #f79009;
}
.formrpt-empty-action {
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: var(--fr-blue, #006f7d);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.formrpt-empty-action:active {
  transform: scale(0.97);
}
#tab-balance .stat-card .dt-act {
  color: inherit;
  opacity: 0.45;
}
@media (hover: hover) and (pointer: fine) {
  #tab-pnl table.det-table tbody tr:hover .dt-act,
  #tab-balance .stat-card:hover .dt-act {
    opacity: 1;
    color: var(--fr-blue, #006f7d);
  }
  #tab-balance .stat-card:hover .dt-act {
    color: inherit;
    opacity: 0.9;
  }
}
/* --- Form2MiniCards --- */
.formrpt-mini-cards {
  display: flex;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}
.formrpt-mini-card {
  flex: 1;
  min-width: 0;
  border-radius: 13px;
  padding: 11px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border: 1.5px solid #eaedf2;
  background: #fff;
  text-align: left;
  font-family: inherit;
}
.formrpt-mini-card-income {
  background: #fff;
  border-color: #eaedf2;
}
.formrpt-mini-card-expense {
  background: #fff;
  border-color: #eaedf2;
}
.formrpt-mini-card-net {
  background: #fff;
  border-color: #eaedf2;
}
.formrpt-mini-card-active {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12) inset;
}
.formrpt-mini-card-label {
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Colored dot indicator before label */
.formrpt-mini-card-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.formrpt-mini-card-income .formrpt-mini-card-label {
  color: #3a3f4d;
}
.formrpt-mini-card-income .formrpt-mini-card-label::before {
  background: var(--fr-green);
}
.formrpt-mini-card-expense .formrpt-mini-card-label {
  color: #3a3f4d;
}
.formrpt-mini-card-expense .formrpt-mini-card-label::before {
  background: var(--fr-red);
}
.formrpt-mini-card-net .formrpt-mini-card-label {
  color: #3a3f4d;
}
.formrpt-mini-card-net .formrpt-mini-card-label::before {
  background: var(--fr-muted);
}
.formrpt-mini-card-value {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  color: #0d0f16;
}
.formrpt-mini-card-pct {
  font-size: 10.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
.formrpt-mini-card-income .formrpt-mini-card-pct:not(.formrpt-no-data) {
  color: var(--fr-green);
}
.formrpt-mini-card-expense .formrpt-mini-card-pct:not(.formrpt-no-data) {
  color: var(--fr-red);
}
.formrpt-mini-card-net .formrpt-mini-card-pct:not(.formrpt-no-data) {
  color: var(--fr-green);
}
/* --- Form2CardRows / Form1DetailRows (row-list) --- */
.formrpt-card-rows {
  display: flex;
  flex-direction: column;
}
.formrpt-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s;
}
.formrpt-card-row:hover {
  background: #eef1f7;
}
.formrpt-card-row-name {
  font-size: 12px;
  font-weight: 500;
  color: #3a3f4d;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.formrpt-card-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--fr-text);
  letter-spacing: -0.1px;
}
.formrpt-card-row-subtotal {
  background: var(--fr-soft-bg);
}
.formrpt-card-row-subtotal .formrpt-card-row-name {
  font-weight: 700;
  color: #1a1d29;
}
.formrpt-card-row-child {
  padding-left: 20px;
}
.formrpt-card-row-child .formrpt-card-row-name {
  color: #565c6b;
}
.formrpt-caret {
  color: #c7cbd6;
  font-size: 13px;
}
/* --- Form1Legend --- */
.formrpt-legend {
  display: flex;
  flex-direction: column;
}
.formrpt-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--fr-divider);
  font-size: 13.3px;
}
.formrpt-legend-row:last-child {
  border-bottom: none;
}
.formrpt-legend-name {
  flex: 1;
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.3;
}
.formrpt-legend-value {
  font-weight: 700;
  color: var(--fr-text);
  letter-spacing: -0.1px;
}
.formrpt-legend-share {
  color: var(--fr-muted);
  font-weight: 600;
  width: 34px;
  text-align: right;
}
.formrpt-legend-total {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0d0f16;
}
/* --- Form1DetailRows --- */
.formrpt-detail-rows {
  background: var(--fr-soft-bg);
  border-radius: 16px;
  overflow: hidden;
}
.formrpt-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 13.2px;
  border-bottom: 1px solid #eceef3;
  cursor: pointer;
  transition: background 0.12s;
}
.formrpt-detail-row:last-child {
  border-bottom: none;
}
.formrpt-detail-row:hover {
  background: #eef1f7;
}
.formrpt-detail-name {
  flex: 1;
  min-width: 0;
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.32;
}
.formrpt-detail-right {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 700;
  color: var(--fr-text);
  font-size: 13.2px;
}
.formrpt-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
/* --- Section title / chip row / chart placeholder (P&L cards screen) --- */
.formrpt-section-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #0d0f16;
}
.formrpt-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.formrpt-chart-placeholder {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fr-muted);
  font-size: 12.5px;
  font-style: italic;
  background: var(--fr-soft-bg);
  border-radius: 16px;
}
/* --- Balance Sheet home screen: cards-row / stat-card / balance-card --- */
.formrpt-cards-row {
  display: flex;
  gap: 10px;
}
/* --- Balance Hero Card (reference kabi yagona dark teal karta) --- */
/* Yuza (gradient / radius / pattern) — .hero-card-surface, dashboard/_hero-surface.scss */
.formrpt-hero-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  border: none;
  padding: 12px 16px 24px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  box-shadow: 0 8px 24px rgba(15, 66, 63, 0.32);
}
.formrpt-hero-card-label {
  font-size: var(--hero-cap-size);
  font-weight: var(--hero-cap-weight);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  color: rgba(255, 255, 255, var(--hero-cap-opacity));
}
.formrpt-hero-card-value {
  font-size: var(--hero-val-size);
  font-weight: var(--hero-val-weight);
  letter-spacing: var(--hero-val-tracking);
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.formrpt-hero-card-value .hero-dec {
  font-size: var(--hero-dec-size);
  opacity: var(--hero-dec-opacity);
  letter-spacing: 0;
}
.formrpt-hero-sub-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.formrpt-hero-sub-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.formrpt-hero-sub-box:hover {
  background: rgba(0, 0, 0, 0.3);
}
.formrpt-hero-sub-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.formrpt-hero-sub-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
/* Eski stat-card va balance-card stillarini ham saqlaymiz (boshqa joylarda ishlatilishi mumkin) */
.formrpt-stat-card {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 16px;
  padding: 12px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.formrpt-stat-card-assets {
  background: var(--fr-green-bg);
}
.formrpt-stat-card-liab {
  background: var(--fr-red-bg);
}
.formrpt-stat-card-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1px;
}
.formrpt-stat-card-assets .formrpt-stat-card-label {
  color: #1f8f52;
}
.formrpt-stat-card-liab .formrpt-stat-card-label {
  color: #c23347;
}
.formrpt-stat-card-value {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.formrpt-balance-card {
  background: var(--fr-blue-bg);
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.formrpt-balance-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--fr-blue);
}
.formrpt-balance-card-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--fr-text);
}
/* --- Detail screen: segmented tabs / detail-group / g-head --- */
.formrpt-segmented {
  display: flex;
  background: var(--fr-soft-bg);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}
.formrpt-segmented button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6072;
  cursor: pointer;
  font-family: inherit;
}
.formrpt-segmented-active {
  background: var(--fr-blue) !important;
  color: #fff !important;
}
.formrpt-detail-group {
  background: var(--fr-soft-bg);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.formrpt-g-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 13.2px;
  font-weight: 700;
  border-bottom: 1px solid #eceef3;
}
.formrpt-g-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}
/* --- Balance strip / hint banner (detail screen footer) --- */
.formrpt-balance-strip {
  background: var(--fr-blue-bg);
  border-radius: 16px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.6px;
  font-weight: 700;
  color: var(--fr-blue);
}
.formrpt-balance-strip span:last-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.formrpt-hint-banner {
  background: var(--fr-blue-bg);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.3px;
  color: var(--fr-blue);
  font-weight: 600;
  line-height: 1.42;
}
/* --- Form 2 detail table (horizontally scrollable months list) --- */
.formrpt-det-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--fr-divider);
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cfd6de transparent;
  margin-bottom: 8px;
}
.formrpt-det-scroll::-webkit-scrollbar {
  height: 5px;
}
.formrpt-det-scroll::-webkit-scrollbar-thumb {
  background: #cfd6de;
  border-radius: 4px;
}
table.formrpt-det-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  font-variant-numeric: tabular-nums;
}
table.formrpt-det-table th,
table.formrpt-det-table td {
  padding: 11px 12px;
  white-space: nowrap;
}
table.formrpt-det-table th.formrpt-dt-name,
table.formrpt-det-table td.formrpt-dt-name {
  position: static;
  width: 164px;
  min-width: 164px;
  max-width: 164px;
  white-space: normal;
  text-align: left;
  background: #fff;
  box-shadow: 1px 0 0 var(--fr-divider);
}
table.formrpt-det-table thead th {
  text-align: right;
  font-weight: 700;
  font-size: 10px;
  color: var(--fr-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
  background: var(--fr-soft-bg);
  border-bottom: 1px solid var(--fr-divider);
}
table.formrpt-det-table thead th.formrpt-dt-name {
  background: var(--fr-soft-bg);
}
table.formrpt-det-table tbody td {
  text-align: right;
  font-weight: 700;
  color: var(--fr-text);
  letter-spacing: -0.1px;
  border-bottom: 1px solid var(--fr-divider);
}
table.formrpt-det-table tbody td.formrpt-dt-name {
  font-weight: 500;
  font-size: 12.5px;
  color: #3a3f4d;
  line-height: 1.3;
}
/* VAQTINCHA (audit): satr ostidagi COA manba-izohi */
.formrpt-coa {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #9aa1ad;
}
table.formrpt-det-table tbody tr:last-child td {
  border-bottom: none;
}
/* Hech qanday ustun fixed emas — butun jadval (nom + jami + oylar) birgalikda
   x o'qi bo'ylab suriladi. */
table.formrpt-det-table th.formrpt-dt-tot,
table.formrpt-det-table td.formrpt-dt-tot {
  position: static;
  box-shadow: 1px 0 0 var(--fr-divider);
}
table.formrpt-det-table td.formrpt-dt-tot {
  background: #f6fafa;
  font-weight: 800;
}
table.formrpt-det-table thead th.formrpt-dt-tot {
  background: var(--fr-soft-bg);
}
/* subtotal / child rows */
table.formrpt-det-table tr.formrpt-subtotal td {
  background: var(--fr-soft-bg);
}
table.formrpt-det-table tr.formrpt-subtotal td.formrpt-dt-tot {
  background: #eef4f4;
}
table.formrpt-det-table tr.formrpt-subtotal td.formrpt-dt-name {
  font-weight: 700;
  color: #1a1d29;
  background: var(--fr-soft-bg);
}
/* child rows: extra indent + a vertical guide line showing they nest under the parent above */
table.formrpt-det-table tr.formrpt-child td.formrpt-dt-name {
  padding-left: 26px;
  color: #5b6472;
  position: relative;
}
table.formrpt-det-table tr.formrpt-child td.formrpt-dt-name::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #d7dde6;
}
table.formrpt-det-table tr[data-clickable=true] {
  cursor: pointer;
}
table.formrpt-det-table tr[data-clickable=true]:hover td {
  filter: brightness(0.98);
}
table.formrpt-det-table tr[data-clickable=true]:active td {
  filter: brightness(0.955);
}
.formrpt-det-hint {
  font-size: 11px;
  color: var(--fr-muted);
  text-align: right;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
/* ═══════════════════════════════════════════════════════════
   FormReport – Drill-down bottom sheet  (Vercel dizayn)
═══════════════════════════════════════════════════════════ */
.formrpt-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 25, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 400;
}
.formrpt-sheet-overlay.formrpt-sheet-visible {
  opacity: 1;
  pointer-events: auto;
}
.formrpt-sheet-panel {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 36px rgba(15, 18, 40, 0.2);
  padding: 14px 20px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.formrpt-sheet-overlay.formrpt-sheet-visible .formrpt-sheet-panel {
  transform: translateY(0);
}
.formrpt-sheet-grabber {
  width: 36px;
  height: 4px;
  background: #e2e5ec;
  border-radius: 3px;
  margin: 0 auto 14px;
  flex-shrink: 0;
}
.formrpt-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.formrpt-sheet-stat {
  min-width: 0;
}
.formrpt-sheet-stat-label {
  font-size: 11.8px;
  color: var(--fr-muted, #697181);
  font-weight: 600;
  letter-spacing: 0.1px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.formrpt-sheet-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0d0f16;
  line-height: 1.1;
}
.formrpt-sheet-stat-value .formrpt-sheet-unit {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fr-muted, #697181);
  letter-spacing: 0;
  margin-left: 4px;
}
.formrpt-sheet-stat-pct {
  font-size: 11.8px;
  font-weight: 700;
  letter-spacing: -0.1px;
  margin-top: 6px;
}
.formrpt-sheet-stat-pct.pos {
  color: #1a8c50;
}
.formrpt-sheet-stat-pct.neg {
  color: #c23347;
}
.formrpt-sheet-stat-pct.neu {
  color: var(--fr-muted, #697181);
}
.formrpt-sheet-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f2f5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3a3f4d;
  transition: background 0.15s;
}
.formrpt-sheet-close:hover {
  background: #e2e5ec;
}
.formrpt-sheet-close svg {
  width: 12px;
  height: 12px;
}
/* ---- detail comparison table ---- */
.formrpt-detail-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 10.5px;
  margin-top: 10px;
}
/* table-layout: fixed — bu kenglilklar qattiq. "O'tgan yil" / "Joriy yil" kabi uzun
   sarlavhalar 52px ga sig'may, gorizontal padding'siz qo'shni ustunga tegib ketardi. */
.formrpt-detail-table col.fdt-name {
  width: auto;
}
.formrpt-detail-table col.fdt-num {
  width: 64px;
}
.formrpt-detail-table col.fdt-pct {
  width: 44px;
}
.formrpt-detail-table thead th {
  text-align: right;
  font-weight: 700;
  font-size: 8.8px;
  color: var(--fr-muted, #697181);
  letter-spacing: 0.1px;
  padding: 0 0 6px 8px;
  line-height: 1.25;
  border-bottom: 1.5px solid #e9ecf2;
  /* Sarlavha bir qatorga sig'masa so'z chegarasida ko'chsin, harflar kesilmasin. */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.formrpt-detail-table thead th:first-child {
  text-align: left;
  padding-left: 0;
  padding-right: 8px;
}
.formrpt-detail-table tbody td {
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  color: #3a3f4d;
  font-weight: 500;
  line-height: 1.3;
  vertical-align: middle;
}
.formrpt-detail-table tbody td:first-child {
  white-space: normal;
  padding-right: 6px;
}
.formrpt-detail-table tbody td:not(:first-child) {
  text-align: right;
  font-weight: 700;
  color: #1a1d24;
  /* Sarlavha ustunlari bilan bir xil oraliq — raqamlar ham yopishib qolmasin. */
  padding-left: 8px;
  white-space: nowrap;
}
.formrpt-detail-table tbody tr:last-child td {
  border-bottom: none;
}
.formrpt-detail-table td.fdt-pos {
  color: #1a8c50 !important;
}
.formrpt-detail-table td.fdt-neg {
  color: #c23347 !important;
}
.formrpt-detail-table tr.fdt-total td {
  color: #1565c0 !important;
  font-weight: 800;
  border-bottom: none;
}
/* "Jami" qatori yuqoridagi qatorlar bilan bir tekisda turishi kerak: ilgari
   birinchi katakda `padding-left: 10px`, oxirgisida `padding-right: 6px` bor
   edi va shu sabab matn ham, summa ham qo'shni qatorlardan siljib turardi.
   Yumaloq fon endi kataklarning o'z chegarasidan boshlanadi. */
.formrpt-detail-table tr.fdt-total td:first-child {
  border-radius: 9px 0 0 9px;
  padding-left: 0;
}
.formrpt-detail-table tr.fdt-total td:last-child {
  border-radius: 0 9px 9px 0;
  padding-right: 0;
}
/* ---- loading / empty inside sheet ---- */
.formrpt-sheet-loading,
.formrpt-sheet-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  color: var(--fr-muted, #697181);
  font-size: 12px;
  font-weight: 500;
}
/* ---- children list (formula drill) ---- */
.formrpt-sheet-children {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.formrpt-sheet-child-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}
.formrpt-sheet-child-item:last-child {
  border-bottom: none;
}
.formrpt-sheet-child-item[data-clickable=true] {
  cursor: pointer;
}
.formrpt-sheet-child-item[data-clickable=true]:hover {
  background: #fafbfd;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}
.formrpt-sheet-child-name {
  font-size: 12px;
  font-weight: 500;
  color: #1a1d24;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.formrpt-sheet-child-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.formrpt-sheet-child-val {
  font-size: 12px;
  font-weight: 700;
  color: #1a1d24;
}
.formrpt-sheet-child-arrow {
  color: #c0c4cf;
  font-size: 14px;
}
/* ---- period label ---- */
.formrpt-sheet-period {
  font-size: 10px;
  color: var(--fr-muted, #697181);
  font-weight: 500;
  margin-top: 8px;
}
/* ==========================================================================
   P&L stat-cards (Доходы / Расходы / Чистая прибыль) — Детализация uchun
   filtr-tab vazifasini ham bajaradi. #tab-balance'dagi .stat-card scope'idan
   mustaqil, o'z sinflari bilan.
   ========================================================================== */
.formrpt-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.formrpt-stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  border: none;
  border-radius: 16px;
  padding: 12px 12px 11px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.formrpt-stat-card:active {
  transform: scale(0.97);
}
.formrpt-stat-income {
  background: var(--fr-green-bg);
}
.formrpt-stat-expense {
  background: var(--fr-red-bg);
}
.formrpt-stat-net {
  background: var(--fr-blue-bg);
}
/* Tanlangan karta — variant rangida ichki halqa */
.formrpt-stat-income.is-active {
  box-shadow: inset 0 0 0 2px #1f8f52;
}
.formrpt-stat-expense.is-active {
  box-shadow: inset 0 0 0 2px #c23347;
}
.formrpt-stat-net.is-active {
  box-shadow: inset 0 0 0 2px var(--fr-blue);
}
.formrpt-stat-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1px;
}
.formrpt-stat-income .formrpt-stat-label {
  color: #1f8f52;
}
.formrpt-stat-expense .formrpt-stat-label {
  color: #c23347;
}
.formrpt-stat-net .formrpt-stat-label {
  color: var(--fr-blue);
}
.formrpt-stat-value {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0d0f16;
  font-variant-numeric: tabular-nums;
}
.formrpt-stat-pct {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
.formrpt-stat-pct.up {
  color: var(--fr-green);
}
.formrpt-stat-pct.down {
  color: var(--fr-red);
}
/* ==========================================================================
   Jadval sarlavhasi — yopishqoq (>=800px)

   Keng ekranda jadvallar uzun bo'ladi va pastga tushganda "Ko'rsatkich nomi /
   Jami / oylar" sarlavhasi ko'rinmay qolardi. Endi sarlavha qatori joyida
   turadi, faqat qiymat qatorlari suriladi.

   Buning uchun jadval o'ramiga balandlik cheklovi kerak: `position: sticky`
   eng yaqin scroll qiluvchi ota-elementga nisbatan ishlaydi, o'ram esa
   `overflow-x: auto` bo'lgani uchun allaqachon scrollport hisoblanadi — unga
   `max-height` berilmasa vertikal surish sahifaning o'zida qolib, sticky hech
   qachon ishlamasdi.

   Mobil (<800px) tegilmaydi: kichik ekranda ikki qavat scroll noqulay.
   ========================================================================== */
@media (min-width: 800px) {
  /* --- P&L asosiy jadvali ---
     Balandlik: kontent ko'p bo'lsa ekran bo'yiga cho'ziladi, kam bo'lsa o'z
     bo'yida qoladi — `max-height` + `height: auto` aynan shuni beradi
     (qat'iy `height` bo'lsa qisqa jadval ostida bo'sh joy qolardi). */
  #tab-pnl .det-scroll {
    max-height: calc(100dvh - 250px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  #tab-pnl table.det-table thead th {
    position: sticky;
    top: 0;
    /* Qatorlar sarlavha ostidan o'tib ketmasin (fon `thead th` da bor). */
    z-index: 3;
  }
  /* Nom ustuni chapda qotib turadi — oylar ustunlari uning ostidan suriladi.
     Fon shart: shaffof bo'lsa raqamlar nom ustunidan ko'rinib turardi. Har bir
     qator o'z fonini saqlaydi (oddiy — oq, `subtotal` — soft-bg). */
  #tab-pnl table.det-table th.dt-name,
  #tab-pnl table.det-table td.dt-name {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  #tab-pnl table.det-table tr.subtotal td.dt-name {
    background: var(--soft-bg);
  }
  /* Burchak katagi — ham yuqorida, ham chapda qotadi, shuning uchun eng ustun. */
  #tab-pnl table.det-table thead th.dt-name {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
  }
  /* "Jami" (davr jamisi) ustuni ham birinchi ustunlar qatorida qotadi — u oylik
     ustunlar bilan birga surilib ketsa, taqqoslash uchun tayanch nuqta
     yo'qolardi. Chapdan siljishi — nom ustuni kengligi (bu yerda 164px,
     >=1024px da 280px, pastda qayta belgilanadi).
     Sarlavhada sinf yo'q, shuning uchun `nth-child(2)`. */
  #tab-pnl table.det-table thead th:nth-child(2),
  #tab-pnl table.det-table tbody td:nth-child(2) {
    position: sticky;
    left: 164px;
    z-index: 2;
    background: #fff;
  }
  #tab-pnl table.det-table thead th:nth-child(2) {
    top: 0;
    z-index: 5;
    background: var(--soft-bg);
  }
  #tab-pnl table.det-table tr.subtotal td:nth-child(2) {
    background: #eef4f4;
  }
  /* --- P&L "Detalizatsiya" sahifasidagi jadval --- */
  .formrpt-det-scroll {
    max-height: calc(100dvh - 230px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  table.formrpt-det-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
  }
  table.formrpt-det-table th.formrpt-dt-name,
  table.formrpt-det-table td.formrpt-dt-name {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  table.formrpt-det-table thead th.formrpt-dt-name {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
  }
  /* "Jami" ustuni — nom ustunidan keyin qotadi (nom kengligi 164px). */
  table.formrpt-det-table th.formrpt-dt-tot,
  table.formrpt-det-table td.formrpt-dt-tot {
    position: sticky;
    left: 164px;
    z-index: 2;
  }
  table.formrpt-det-table thead th.formrpt-dt-tot {
    top: 0;
    z-index: 5;
  }
  /* --- Drill-down varaqasidagi jadval ---
     Bu yerda scroller — varaqning o'zi (`.formrpt-sheet-panel`), shuning uchun
     qo'shimcha o'ram kerak emas. Sarlavhaning foni yo'q edi — qo'shildi, aks
     holda qatorlar ostidan ko'rinib turardi. */
  .formrpt-detail-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    padding-top: 8px;
  }
}
/* --- Scrollbar: ilova uslubiga mos, ingichka va bosiq ---------------------
   Jadval o'ramlari endi ikkala o'q bo'ylab ham scroll bo'ladi, shuning uchun
   brauzerning qo'pol standart scrollbari kartaning ichida ko'zga tashlanardi.
   Thumb atrofidagi oq "border" — uni ingichka ko'rsatish uchun eski, ishonchli
   usul (Chrome/Safari `::-webkit-scrollbar` da radius+padding bermaydi). */
#tab-pnl .det-scroll,
.formrpt-det-scroll {
  scrollbar-width: thin;
  scrollbar-color: #cbd2dc transparent;
}
#tab-pnl .det-scroll::-webkit-scrollbar,
.formrpt-det-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#tab-pnl .det-scroll::-webkit-scrollbar-track,
.formrpt-det-scroll::-webkit-scrollbar-track,
#tab-pnl .det-scroll::-webkit-scrollbar-corner,
.formrpt-det-scroll::-webkit-scrollbar-corner {
  background: transparent;
}
#tab-pnl .det-scroll::-webkit-scrollbar-thumb,
.formrpt-det-scroll::-webkit-scrollbar-thumb {
  background: #d3d9e2;
  border-radius: 10px;
  border: 3px solid #fff;
}
@media (hover: hover) and (pointer: fine) {
  #tab-pnl .det-scroll::-webkit-scrollbar-thumb:hover,
  .formrpt-det-scroll::-webkit-scrollbar-thumb:hover {
    background: #b6bfcd;
  }
}
/* >=1024px da nom ustuni 280px bo'ladi (yuqoridagi CRM bloki), shuning uchun
   qotgan "Jami" ustunining chapdan siljishi ham o'sha qiymatga tenglashadi.
   Bu qoida ataylab 800px blokidan KEYIN turadi — aniqligi bir xil, ya'ni
   faqat manbadagi tartib hal qiladi. */
@media (min-width: 1024px) {
  #tab-pnl table.det-table thead th:nth-child(2),
  #tab-pnl table.det-table tbody td:nth-child(2) {
    left: 280px;
  }
}
/* <800px da jadvalda HECH NARSA qotmaydi (talab). Yagona istisno eski
   `table.pnl` (dashboard/_tab-pnl.scss) edi — u hozir hech qayerda render
   qilinmaydi, lekin qoida sifatida bu yerda ham yopiladi. */
@media (max-width: 799.98px) {
  #tab-pnl table.pnl thead th {
    position: static;
  }
}
/* ==========================================================================
   Cash Flow (Pul oqimi) — TZ_Cash_flow_Hisobim_UZ.docx §2 blok tartibi
   ========================================================================== */
/* ---- hero card (§4.1) ---- */
/* Yuza (gradient / radius / pattern) — .hero-card-surface, dashboard/_hero-surface.scss */
.cf-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px 24px;
  box-shadow: 0 8px 24px rgba(15, 66, 63, 0.32);
}
.cf-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* UZS belgisi hero labelga yopishtirilganda inline */
.cf-hero-label span {
  font-weight: 600;
  opacity: 0.9;
}
.cf-hero-value {
  align-self: flex-start;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #fff;
  cursor: pointer;
}
.cf-runway {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.85);
}
.cf-runway-warning {
  background: rgba(185, 119, 14, 0.35);
  color: #ffe3a0;
}
.cf-runway-danger {
  background: rgba(226, 57, 74, 0.3);
  color: #ffc3c8;
}
.cf-hero-forecast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cf-hero-forecast-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
}
.cf-hero-forecast-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.cf-trend {
  font-size: 12px;
}
.cf-trend-up {
  color: #7de8a9;
}
.cf-trend-down {
  color: #ffb3b9;
}
/* ---- KPI cards (§4.2) ---- */
.cf-kpi-cards {
  margin-top: 10px;
}
.cf-kpi-count {
  font-size: 9.5px;
  color: var(--fr-muted);
  font-weight: 600;
}
.cf-kpi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  align-self: flex-start;
}
.cf-kpi-dot-pos {
  background: var(--fr-green);
}
.cf-kpi-dot-neg {
  background: var(--fr-muted);
}
/* ---- chart (§4.3) ---- */
.cf-chartwrap {
  margin-top: 14px;
  /* surface the chart sits on — used by the scroll fade. White inside the
     desktop card (overridden below), page bg on mobile. */
  --cf-surface: #f9fafb;
}
/* Granularity ("Oylar / Haftalar / Kunlar") almashganda: butun sahifa skeleton'ga
   tushmaydi — faqat grafik xiralashadi va vaqtincha bosib bo'lmaydigan bo'ladi.
   Granularity tugmalari `.cf-chart-live` dan tashqarida, ular bosiladigan qoladi. */
.cf-chart-live {
  transition: opacity 0.22s ease;
}
.cf-chart-live.is-busy {
  opacity: 0.4;
  pointer-events: none;
  /* Matn tanlanib qolmasin — foydalanuvchi kutayotgan payt. */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
/* Horizontal scroll for dense charts ("Дни" etc.) with a fixed Y-axis. */
.cf-chart-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfd6de transparent;
}
.cf-chart-scroll::-webkit-scrollbar {
  height: 6px;
}
.cf-chart-scroll::-webkit-scrollbar-thumb {
  background: #cfd6de;
  border-radius: 4px;
}
.cf-chart-scroll::-webkit-scrollbar-track {
  background: transparent;
}
/* Right-edge fade — hints there's more to scroll. Sits above the plot area
   only (leaves the fixed Y-axis untouched), no pointer capture. */
.cf-chart-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: calc(100% - 22px);
  /* stop above the x-axis labels (M_BOTTOM) */
  pointer-events: none;
  background: linear-gradient(to right, rgba(249, 250, 251, 0), var(--cf-surface, #f9fafb));
}
.cf-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.cf-chart-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0d0f16;
  letter-spacing: -0.1px;
}
.cf-chart-hint {
  font-size: 10.3px;
  color: var(--fr-muted);
  font-weight: 600;
  white-space: nowrap;
}
/* Segmented-pill switcher — bitta yumshoq trek ichida, tanlangan variant oq/rangli
   pill sifatida suzib turadi (dashboard prototipiga mos). */
.cf-gran {
  display: flex;
  gap: 3px;
  background: var(--fr-soft-bg);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 9px;
}
.cf-gran button {
  flex: 1;
  border: none;
  background: transparent;
  color: #5b6072;
  font-family: inherit;
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.1px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cf-gran button.on {
  background: var(--fr-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.25);
}
.cf-chart {
  padding: 0 2px;
}
.cf-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}
.cf-chart-axis {
  display: flex;
  margin-top: 4px;
}
.cf-chart-axis-label {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 9.6px;
  font-weight: 600;
  color: var(--fr-muted);
  text-align: center;
  cursor: pointer;
  padding: 4px 0;
  border-radius: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-chart-axis-label.on {
  color: var(--fr-blue);
  font-weight: 700;
}
.cf-chart-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 10px 4px 2px;
}
.cf-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--fr-muted);
}
.cf-chart-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.cf-chart-legend-dot-in {
  background: var(--fr-green);
}
.cf-chart-legend-dot-out {
  background: #f2707a;
}
.cf-chart-legend-line {
  display: inline-block;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--fr-blue);
}
.cf-readout {
  padding: 2px 8px 10px;
}
.cf-readout-period {
  font-size: 11px;
  font-weight: 700;
  color: var(--fr-text);
  margin-bottom: 6px;
}
.cf-readout-stats {
  display: flex;
  gap: 10px;
}
.cf-readout-stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
  border-left: 2px solid var(--fr-divider);
}
.cf-readout-stat .l {
  font-size: 9px;
  font-weight: 700;
  color: var(--fr-muted);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.cf-readout-stat .v {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-readout-in {
  border-left-color: var(--fr-green);
}
.cf-readout-in .v {
  color: var(--fr-green);
}
.cf-readout-out {
  border-left-color: #f2707a;
}
.cf-readout-out .v {
  color: #f2707a;
}
.cf-readout-bal {
  border-left-color: var(--fr-blue);
}
.cf-readout-bal .v {
  color: var(--fr-blue);
}
/* ---- insight (§4.4) ---- */
.cf-insight {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  align-items: flex-start;
}
.cf-insight-info {
  background: var(--fr-blue-bg);
}
.cf-insight-warning {
  background: #fdf3e0;
}
.cf-insight-danger {
  background: var(--fr-red-bg);
}
.cf-insight-icon {
  font-size: 14px;
  line-height: 1.4;
}
.cf-insight-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fr-text);
}
/* ---- top categories (§4.5) ---- */
.cf-categories {
  margin-top: 16px;
}
.cf-cat-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--fr-divider);
}
.cf-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.cf-cat-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fr-text);
}
.cf-cat-amount {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fr-text);
}
.cf-cat-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--fr-divider);
  overflow: hidden;
}
.cf-cat-bar-fill {
  height: 100%;
  background: var(--fr-blue);
  border-radius: 3px;
}
.cf-cat-toggle {
  margin-top: 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--fr-blue);
  cursor: pointer;
  padding: 4px 0;
}
/* ---- recent operations (§4.6) ---- */
.cf-recent {
  margin-top: 16px;
  margin-bottom: 8px;
}
.cf-op-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fr-divider);
}
.cf-op-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.cf-op-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cf-op-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fr-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-op-meta {
  font-size: 10.5px;
  color: var(--fr-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-op-amount {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fr-text);
}
.cf-op-amount-in {
  color: var(--fr-green);
}
/* Header'ning o'ng klasteri: davr picker sloti (desktop) + eksport tugmalari. */
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* ==========================================================================
   BillingReportsView (Отчёты) — responsive shell.
   Default (mobile): phone-style tab layout from dashboard-main reference.
   ≥768px (tablet): the same layout, centered as a comfortable column.
   ≥1024px (desktop): CRM-style dashboard — top bar, left-aligned tab pills,
   multi-column content grid, sheets become centered modals.
   ========================================================================== */
/* P&L tab renders .pp-scroll at top level (reference used it inside a sheet),
   so side padding must come from here. Balance padding moved out of JSX.
   DIQQAT: selektor `>` bo'lmasligi kerak — PullToRefresh scroll div'ni
   `.ptr-outer` ichiga o'raydi, ya'ni u `#tab-pnl`ning bevosita farzandi emas.
   Shu sababli bu qoidalar uzoq vaqt umuman ishlamay turgan edi va P&L / Balans
   tablari konteynersiz, cashflow'dan boshqa o'qda ko'rinardi. */
#tab-pnl .pp-scroll {
  padding: 2px 0 14px;
}
#tab-balance .scroll-area {
  padding: 2px 0 16px;
}
/* ---------- Standart konteyner: shell + har bir tab bir xil o'qda ----------
   Ilgari faqat cashflow markazlashardi (1240), P&L 1140, balans 960 edi,
   debitor/kreditor esa umuman konteynersiz — endi hammasi `--fr-pad-x`.
   ≥768px'da token 680px'ga tushadi, ≥1024px'da 1240px bo'ladi. */
@media (min-width: 768px) {
  .hisobim-finance-reports-container .dash-header,
  #tab-cashflow .cf-scroll,
  #tab-pnl .pp-scroll,
  #tab-balance .scroll-area,
  #tab-ar .ar-scroll,
  #tab-ar .ar-dhead {
    padding-left: var(--fr-pad-x);
    padding-right: var(--fr-pad-x);
  }
  .hisobim-finance-reports-container .rep-switch {
    margin-left: var(--fr-pad-x);
    margin-right: var(--fr-pad-x);
  }
  /* Buxgalter sahifasi ham shu o'qda. */
  .accountant-topbar,
  .accountant-main {
    padding-left: var(--fr-pad-x);
    padding-right: var(--fr-pad-x);
  }
  /* Detail sahifalar portal orqali <body>'ga chiqadi — sarlavha ham, kontent
     ham bir xil o'qda turishi uchun ikkalasiga bir xil padding beriladi.
     (Tailwind'dagi px-2 / px-5 shu yerda bosib o'tiladi.) */
  .fr-detail-head,
  .fr-detail-scroll {
    padding-left: var(--fr-pad-x);
    padding-right: var(--fr-pad-x);
  }
  /* Bottom sheets read better as centered modals with a pointer device */
  .formrpt-sheet-overlay,
  #tab-pnl .sheet-overlay,
  #tab-pnl .period-overlay,
  #tab-cashflow .cf-cal-overlay,
  #tab-balance .sheet-overlay {
    align-items: center;
    padding: 32px;
  }
  .formrpt-sheet-panel,
  #tab-pnl .bottom-sheet,
  #tab-pnl .period-sheet,
  #tab-cashflow .cf-cal,
  #tab-balance .bottom-sheet {
    width: min(600px, 100%);
    border-radius: 22px;
    max-height: 82vh;
  }
  .formrpt-sheet-grabber,
  #tab-pnl .sheet-grabber {
    display: none;
  }
}
/* ---------- Desktop: CRM dashboard ---------- */
@media (min-width: 1024px) {
  /* Shell: white top bar + left-aligned pill tabs over the page background */
  .hisobim-finance-reports-container .dash-header {
    background: #fff;
    border-bottom: 1px solid var(--frame-border, #e7e9ee);
    padding: 14px var(--fr-pad-x);
  }
  .hisobim-finance-reports-container .export-btn {
    padding: 10px 18px;
    font-size: 12.5px;
    border-radius: 12px;
  }
  /* Tab'lar va davr picker header qatoriga ko'chadi (JSX'da: BillingReportsView
     `isDesktop` bo'lsa `repSwitch`ni header ichida, davr picker esa
     `HeaderPortal` orqali `#fr-header-tools` slotida render qiladi).
     Shu sababli kontent yuqorisida alohida qator qolmaydi. */
  .hisobim-finance-reports-container .dash-header {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hisobim-finance-reports-container .rep-switch {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
    /* Header'ning o'zi oq — pill qatorga soya emas, yengil ramka mos keladi. */
    background: var(--fr-soft-bg, #f2f4f7);
    box-shadow: none;
    border-color: transparent;
  }
  .hisobim-finance-reports-container .rep-switch button {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 7px 18px;
  }
  .hisobim-finance-reports-container .dash-header-right {
    gap: 14px;
  }
  .hisobim-finance-reports-container .dash-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  /* Header'dagi davr tugmasi — kontentdagidan bir oz balandroq va oq fonda
     ajralib turishi uchun ramkali. */
  .hisobim-finance-reports-container .dash-header-tools .formrpt-period-btn {
    align-self: center;
    border: 1px solid var(--frame-border, #e7e9ee);
    background: #fff;
    font-size: 12.5px;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .hisobim-finance-reports-container .rep-switch button .t {
    font-size: 13px;
  }
  .hisobim-finance-reports-container .rep-switch button .s {
    font-size: 9.5px;
  }
  /* ----- Cash Flow tab: ikkita mustaqil flex ustun -----
     Ilgari bu yer `display: grid` edi va har bir blok aniq `grid-row` bilan
     joylashtirilardi. Natijada ustunlar bir-biriga ta'sir qilardi: chap
     ustundagi kartaning balandligini o'ng ustundagi hero / grafik qatori
     belgilab qo'yar, KPI kartalari ostida ortiqcha bo'sh joy qolardi.
     Flexbox'da har bir ustun o'z kontentiga qarab mustaqil o'sadi.
     Tartib (chap/o'ng taqsimoti) CashFlowLayout komponentida. */
  #tab-cashflow .cf-scroll {
    display: flex;
    flex-direction: column;
    padding: 16px var(--fr-pad-x) 28px;
  }
  #tab-cashflow .cf-scroll > .formrpt-error-banner,
  #tab-cashflow .cf-scroll > .formrpt-refreshing {
    align-self: flex-start;
    max-width: 420px;
  }
  /* Bo'sh holat kontent maydonining o'rtasida turadi. */
  #tab-cashflow .cf-scroll > .formrpt-empty-state {
    align-self: stretch;
    min-height: min(460px, 58vh);
  }
  /* Chap ustun — KPI, xarajat turlari, operatsiyalar.
     O'ng ustun — hero (pul mablag'lari qoldig'i) va Dinamika grafigi.
     `align-items: flex-start` — ustunlar bir-birini cho'zmasligi uchun. */
  #tab-cashflow .cf-cols {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  /* Bloklar orasidagi masofa — ustunning `gap`i. Har bir blokning o'z
     margin'i nolga tushiriladi, aks holda masofa ikki marta qo'shilardi. */
  #tab-cashflow .cf-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  #tab-cashflow .cf-col-main {
    flex: 0 1 420px;
    min-width: 340px;
  }
  #tab-cashflow .cf-col-side {
    flex: 1 1 0;
  }
  #tab-cashflow .cf-hero {
    min-height: 180px;
    padding: 16px 22px 18px;
  }
  #tab-cashflow .cf-hero .amount {
    font-size: 36px;
  }
  /* Uchta karta yonma-yon, o'z tabiiy balandligida. */
  #tab-cashflow .cf-kpis {
    gap: 8px;
    margin-bottom: 0;
  }
  #tab-cashflow .cf-kpi .k-val {
    font-size: 15px;
  }
  #tab-cashflow .cf-kpi .k-cap {
    font-size: 10.5px;
  }
  #tab-cashflow .cf-chartwrap {
    background: #fff;
    --cf-surface: #fff;
    /* fade matches the white desktop card */
    border: 1px solid var(--frame-border, #e7e9ee);
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 0;
    min-width: 0;
  }
  #tab-cashflow .cf-col > section {
    background: #fff;
    border: 1px solid var(--frame-border, #e7e9ee);
    border-radius: 16px;
    padding: 16px 18px 10px;
    margin-top: 0;
    min-width: 0;
  }
  #tab-cashflow .cf-title {
    font-size: 15px;
  }
  #tab-cashflow .cf-cat .c-name,
  #tab-cashflow .cf-op .o-nm {
    font-size: 13px;
  }
  #tab-cashflow .cf-cat .c-val,
  #tab-cashflow .cf-op .o-val {
    font-size: 13.5px;
  }
  #tab-cashflow .cf-op .o-sub {
    font-size: 11px;
  }
  /* ----- P&L hero: desktopda bitta qator -----
     Mobil tartibda hero ustun bo'ladi (sarlavha -> summa -> ikkita karta), lekin
     1240px konteynerda o'sha ustun cho'zilib, kartalar ichi bo'm-bo'sh keng
     plashkaga aylanardi. Desktopda: chapda "Sof foyda" + summa, o'ngda ikkita
     ixcham chip. `flex-wrap` — juda tor oynada (masalan drawer) ular pastga
     tushib ketishi uchun. */
  #tab-pnl .rep-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding: 14px;
  }
  #tab-pnl .rep-hero .rh-main {
    min-width: 0;
  }
  #tab-pnl .rep-hero .rh-val {
    margin: 4px 0 0;
    font-size: 34px;
  }
  #tab-pnl .rep-hero .rh-sub {
    flex: 0 1 auto;
    gap: 10px;
  }
  /* Kartalar endi cho'zilmaydi — kontentiga qarab o'lchamda, lekin bir xil
     minimal kenglikda turadi. */
  #tab-pnl .rep-hero .rh-card {
    flex: 0 0 auto;
    min-width: 172px;
    padding: 10px 16px;
  }
  #tab-pnl .rep-hero .rh-card .v {
    font-size: 17px;
  }
  /* ----- P&L tab: wide report table ----- */
  #tab-pnl .pp-scroll {
    padding: 16px var(--fr-pad-x) 28px;
  }
  #tab-pnl table.det-table {
    font-size: 13px;
    width: 100%;
  }
  #tab-pnl table.det-table th,
  #tab-pnl table.det-table td {
    padding: 11px 14px;
  }
  #tab-pnl table.det-table th.dt-name,
  #tab-pnl table.det-table td.dt-name {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
  }
  #tab-pnl table.det-table thead th {
    font-size: 10px;
  }
  #tab-pnl .det-scroll {
    background: #fff;
  }
  #tab-pnl .formrpt-mini-cards .formrpt-mini-card-value,
  #tab-pnl .mini-card .value {
    font-size: 17px;
  }
  /* ----- Balance tab: centered wide column, larger type ----- */
  #tab-balance .scroll-area {
    padding: 16px var(--fr-pad-x) 28px;
  }
  /* Sana rejimi ("31.12.2026 / 01.01.2026") — kontentiga qarab, butun kenglikni
     egallamaydi. Davr picker header'ga ko'chgani uchun bu grid'da yolg'iz qoladi. */
  #tab-balance .dropdown {
    width: -moz-fit-content;
    width: fit-content;
  }
  #tab-balance .cards-row {
    gap: 16px;
    margin-bottom: 16px;
  }
  #tab-balance .stat-card {
    padding: 16px 20px 18px;
  }
  #tab-balance .stat-card .value {
    font-size: 24px;
  }
  /* Ikki ustun: chapda Aktivlar/Passivlar kartalari pastma-past, o'ngda
     "Balans tuzilmasi".
     `align-items: flex-start` — ustunlar bir-birini cho'zmaydi. */
  #tab-balance .b1-cols {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  #tab-balance .b1-col-cards {
    flex: 0 1 400px;
    min-width: 300px;
  }
  /* Kartalar yonma-yon emas, ustun bo'lib joylashadi. */
  #tab-balance .b1-col-cards .cards-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 0;
  }
  #tab-balance .b1-col-main {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #tab-balance .b1-block {
    background: #fff;
    border: 1px solid var(--frame-border, #e7e9ee);
    border-radius: 16px;
    padding: 14px 18px 6px;
  }
  #tab-balance .b1-block + .b1-block {
    margin-top: 0;
  }
  #tab-balance .b1-block .section-title {
    margin: 0 0 4px;
  }
  /* Qatorlar endi karta ichida — nomi va qiymati bir-biridan uzoqlashmaydi. */
  #tab-balance .legend-row {
    padding: 11px 0;
  }
  #tab-balance .balance-card .left .value {
    font-size: 26px;
  }
  #tab-balance .section-title {
    font-size: 16px;
  }
  #tab-balance .legend-row,
  #tab-balance .detail-row {
    font-size: 14px;
  }
  #tab-balance .detail-group .g-head {
    font-size: 14.5px;
  }
  /* ----- Debitor/kreditor tab: bir xil konteyner ----- */
  #tab-ar .ar-scroll {
    padding: 16px var(--fr-pad-x) 28px;
  }
  /* ----- Detail sahifalar (portal) — bir xil konteyner -----
     Tailwind'dagi mahalliy `max-w-[560px] / max-w-[720px]` o'rniga standart
     `.fr-container` token'i. Portal <body>'ga chiqadi, token esa
     `.hisobim-finance-mfe` wrapper'idan meros oladi. */
  .fr-detail-scroll {
    padding-bottom: 28px;
  }
}
/* ==========================================================================
   Skeleton shimmer + motion primitives (Apple-grade loading & transitions)
   ========================================================================== */
@keyframes fr-shimmer {
  100% {
    transform: translateX(100%);
  }
}
.fr-sk {
  /* block — otherwise a bare <span> ignores width/height outside flex parents */
  display: block;
  position: relative;
  overflow: hidden;
  background: #e7e9ef;
  border-radius: var(--r-sm, 8px);
  flex: none;
}
.fr-sk::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  animation: fr-shimmer 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* On dark surfaces (cashflow hero) */
.fr-sk-dark {
  background: rgba(255, 255, 255, 0.12);
}
.fr-sk-dark::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
}
.fr-sk-line {
  height: 12px;
  border-radius: 6px;
}
.fr-sk-text {
  height: 14px;
  border-radius: 7px;
}
.fr-sk-title {
  height: 20px;
  border-radius: 8px;
}
.fr-sk-pill {
  border-radius: 999px;
}
.fr-sk-circle {
  border-radius: 50%;
}
/* Skeleton layout scaffolds reuse the real component spacing */
.fr-sk-kpis {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}
.fr-sk-kpi {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--fr-divider, #ececf0);
  border-radius: 13px;
  padding: 11px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fr-sk-list {
  display: flex;
  flex-direction: column;
}
.fr-sk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--fr-divider, #ececf0);
}
.fr-sk-row:last-child {
  border-bottom: none;
}
.fr-sk-row-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media (prefers-reduced-motion: reduce) {
  .fr-sk::after {
    animation: none;
  }
}
/* ==========================================================================
   "Tafsilot" sahifalari: qotgan bosh qism + suriladigan tana
   --------------------------------------------------------------------------
   Talab: sahifa surilganda yuqoridagi stat kartalar (`.formrpt-stat-cards`)
   va jadval sarlavhasi joyida qolsin, faqat pastki qism surilsin. Shuning
   uchun sahifaning o'zi umuman surilmaydi (`.fr-detail-scroll-fixed` da
   `overflow: hidden`), scroll esa ichkaridagi BITTA blokka topshiriladi.
   Bu — ekran kengligiga bog'liq emas: talab mobil ko'rinishdan kelgan.
   (`<800px da jadvalda hech narsa qotmasin` qoidasi asosiy hisobot
   jadvallariga tegishli — u yerda o'zgarish yo'q; bu esa tafsilot sahifasi.)
   ========================================================================== */
.fr-detail-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
/* Bosh/oyoq bloklari siqilmaydi... */
.fr-detail-stack > * {
  flex: 0 0 auto;
  min-height: 0;
}
/* ...faqat suriladigan blok bo'sh balandlikni egallaydi. */
.fr-detail-stack > .fr-stack-scroll,
.fr-detail-stack > .formrpt-det-scroll,
.fr-detail-stack > .fr-detail-stack {
  flex: 1 1 auto;
  min-height: 0;
}
.fr-detail-stack > .fr-stack-scroll,
.fr-detail-stack > .formrpt-det-scroll {
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* Suriladigan blok pastki chetga tegib turmasligi uchun kichik nafas. */
.fr-detail-stack > .fr-stack-scroll {
  padding-bottom: 4px;
}
/* Jadval sarlavhasi — endi barcha kengliklarda qotadi (scroller: o'ram).
   Fon allaqachon `var(--fr-soft-bg)`, ya'ni shaffof emas. */
.fr-detail-stack table.formrpt-det-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
}
/* Jadval ostidagi maslahat matni oyoq qismida qoladi. */
.fr-detail-stack > .formrpt-det-hint {
  padding-top: 6px;
}
/* --- Drill-down varaqasi: stat bloki qotadi, jadval suriladi --- */
.formrpt-sheet-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.formrpt-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.formrpt-sheet-body .formrpt-detail-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
}
/* --------------------------------------------------------------------------
   Tafsilot jadvali: qotgan birinchi ustunlar — TUZATISH
   Ikki xato bor edi:
   1) `tr.formrpt-child td.formrpt-dt-name` da (::before/::after yo'naltirgichi
      uchun) `position: relative` turardi. Uning aniqligi yuqori bo'lgani uchun
      yuqoridagi `position: sticky` qoidasini bosib tashlardi — natijada bola
      qatorlarning nom katagi oylar bilan birga surilib ketardi (faqat bo'lim
      qatorlari joyida qolardi).
   2) Sarlavhaning barcha kataklari bir xil z-index olgach, DOM'da keyin turgan
      oylik ustunlar qotgan "Nom" / "Jami" kataklarining USTIGA chizilardi.
   Endi qatlamlar aniq: nom > jami > qolgan sarlavha > tananing qotgan ustunlari.
   -------------------------------------------------------------------------- */
@media (min-width: 800px) {
  table.formrpt-det-table tbody td.formrpt-dt-name,
  table.formrpt-det-table tr.formrpt-child td.formrpt-dt-name,
  table.formrpt-det-table tr.formrpt-subtotal td.formrpt-dt-name {
    position: sticky;
    left: 0;
    z-index: 3;
  }
  table.formrpt-det-table tbody td.formrpt-dt-tot,
  table.formrpt-det-table tr.formrpt-child td.formrpt-dt-tot,
  table.formrpt-det-table tr.formrpt-subtotal td.formrpt-dt-tot {
    position: sticky;
    left: 164px;
    z-index: 2;
  }
  /* Burchak kataklari — ham yuqorida, ham chapda qotadi. */
  table.formrpt-det-table thead th.formrpt-dt-name {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 7;
  }
  table.formrpt-det-table thead th.formrpt-dt-tot {
    position: sticky;
    top: 0;
    left: 164px;
    z-index: 6;
  }
}
/* ==========================================================================
   Yagona "‹ Sarlavha" boshi (BackHeader) — barcha ichki sahifalar uchun.
   Dizayn: strelka 24×24 / stroke 1.5 / round, sarlavha 600 20px/150% #1d2939.
   ========================================================================== */
.fr-backhead {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.fr-backhead .fr-back {
  width: 40px;
  height: 40px;
  /* Ikonka optik jihatdan konteyner chetiga tekislanadi (24px ikonka 40px
     tugmaning ichida markazda turadi). */
  margin-left: -8px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--blue, #006F7D);
  cursor: pointer;
  transition: background 0.12s ease, transform 0.1s ease;
}
.fr-backhead .fr-back:active {
  transform: scale(0.94);
}
@media (hover: hover) and (pointer: fine) {
  .fr-backhead .fr-back:hover {
    background: rgba(0, 111, 125, 0.08);
  }
}
.fr-backhead .fr-back svg {
  width: 24px;
  height: 24px;
}
.fr-backhead .fr-backtitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0;
  color: #1d2939;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-backhead-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-left: auto;
}
/* ==========================================================================
   "Tuzatish so'rovlari" (fix requests) tabi — FixRequestsTab / FixRequestDetailSheet.
   Ilgari komponentning yonida `fixRequests.css` edi va komponentdan import
   qilinardi; loyihadagi qolgan uslublar bilan bir joyda turishi uchun shu yerga
   ko'chirildi (main.scss oxirida, avvalgi kaskad tartibi saqlangan).
   ========================================================================== */
.fix-requests {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}
.fix-requests__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fix-requests__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fix-requests__filter {
  padding: 6px 12px;
  border: 1px solid #d8dce3;
  border-radius: 999px;
  background: #fff;
  color: #465063;
  font-size: 13px;
  cursor: pointer;
}
.fix-requests__filter.active {
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
}
.fix-requests__search {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 7px 12px;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  font-size: 13px;
}
.fix-requests__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fix-request-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.fix-request-card:hover {
  border-color: #1f6feb;
}
.fix-request-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fix-request-card__name {
  font-weight: 600;
  color: #1b2130;
}
.fix-request-card__phone {
  color: #465063;
  font-variant-numeric: tabular-nums;
}
.fix-request-card__company {
  color: #6b7482;
}
.fix-request-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #8a929e;
  font-size: 12px;
}
.fix-request-card__meta strong {
  color: #c2670f;
  font-weight: 600;
}
.fix-request-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fix-request-badge--new {
  background: #e7f0ff;
  color: #1f6feb;
}
.fix-request-badge--in_progress {
  background: #fff3e0;
  color: #c2670f;
}
.fix-request-badge--no_answer {
  background: #fdeaea;
  color: #c23347;
}
.fix-request-badge--done {
  background: #e6f6ec;
  color: #1c7a44;
}
.fix-request-badge--rejected {
  background: #eef0f3;
  color: #6b7482;
}
.fix-requests__state {
  padding: 24px;
  text-align: center;
  color: #8a929e;
  font-size: 13px;
}
.fix-requests__state--error {
  color: #c23347;
}
.fix-request-sheet__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 31, 0.38);
  z-index: 40;
}
.fix-request-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  width: min(460px, 100%);
  overflow-y: auto;
  background: #fff;
  box-shadow: -8px 0 28px rgba(20, 24, 31, 0.18);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fix-request-sheet__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fix-request-sheet__phone {
  font-size: 18px;
  font-weight: 700;
  color: #1b2130;
}
.fix-request-sheet__sub {
  color: #6b7482;
  font-size: 12px;
}
.fix-request-sheet__close {
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #6b7482;
  cursor: pointer;
}
.fix-request-sheet__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fix-request-sheet__section h4 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #8a929e;
}
.fix-request-company {
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fix-request-company__name {
  font-weight: 600;
  color: #1b2130;
}
.fix-request-company__row {
  color: #6b7482;
  font-size: 12px;
}
.fix-request-company__warn {
  color: #c2670f;
  font-size: 12px;
}
.fix-request-company__link {
  align-self: flex-start;
  border: none;
  background: transparent;
  color: #1f6feb;
  font-size: 12px;
  padding: 0;
  cursor: pointer;
}
.fix-request-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fix-request-sheet__action {
  padding: 7px 12px;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.fix-request-sheet__action:disabled {
  opacity: 0.5;
  cursor: default;
}
.fix-request-sheet__comment {
  width: 100%;
  min-height: 60px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  resize: vertical;
}
.fix-request-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fix-request-history__row {
  font-size: 12px;
  color: #6b7482;
}
.fix-request-history__row b {
  color: #1b2130;
  font-weight: 600;
}
/* =========================================================
   #tab-ar — Дебиторы и кредиторы
   Dizayn manbai: /Users/udevs/github/dashboard/index.html (statik prototip,
   2026-07-20). Shu yerga deyarli o'zgarishsiz ko'chirilgan — mavjud CSS
   o'zgaruvchilari (--blue, --red, --frame-border va h.k.) styles/base/_tokens.scss
   da allaqachon aniqlangan. Kalendar picker CSS'i qo'shilmadi — PeriodPicker
   komponenti qayta ishlatiladi.
   ========================================================= */
#tab-ar {
  --w1: #f0a318;
  --w2: #f4772e;
  --w3: #e2394a;
}
#tab-ar .ar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* Kolonka-flex scroller'ning bevosita bolalari o'z balandligini saqlashi shart.
   Flex item'lar sukut bo'yicha siqiladi (flex-shrink: 1), va `overflow: hidden`
   bo'lgan blok (masalan `.ar-sum`) uchun avtomatik minimal balandlik 0 ga
   tushadi — natijada kontent sig'masa, konteyner scroll bo'lish o'rniga
   "Дебиторская/Кредиторская" plashkasi bir necha piksellik chiziqqa qisilib
   qolar edi. */
#tab-ar .ar-scroll > * {
  flex: 0 0 auto;
}
/* Animatsiya uchun bloklar bitta motion wrapper ichiga olindi (stagger) — wrapper
   scroller'ning `gap`ini o'zi takrorlashi kerak, aks holda kartalar yopishib qoladi. */
#tab-ar .ar-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
#tab-ar .ar-scroll::-webkit-scrollbar {
  width: 4px;
}
#tab-ar .ar-scroll::-webkit-scrollbar-thumb {
  background: #dfe2ea;
  border-radius: 4px;
}
/* заголовок отчёта */
#tab-ar .ar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 1px;
}
#tab-ar .ar-top h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0d0f16;
}
#tab-ar .ar-ico {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: none;
  border-radius: 9px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.12s;
}
#tab-ar .ar-ico:hover {
  background: #d1e7e9;
}
/* Дебиторы / Кредиторы */
#tab-ar .ar-seg {
  display: flex;
  gap: 4px;
  background: var(--soft-bg);
  border-radius: 13px;
  padding: 3px;
}
#tab-ar .ar-seg button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 6px;
  font-size: 12.3px;
  font-weight: 700;
  color: #5b6472;
  letter-spacing: -0.1px;
  transition: 0.15s;
}
#tab-ar .ar-seg button:hover:not(.active) {
  background: #eceef3;
}
#tab-ar .ar-seg button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 111, 125, 0.26);
}
/* фильтры период / контрагенты.
   DIQQAT: `#tab-ar` prefiksisiz — desktopda bu chip'lar HeaderPortal orqali
   sahifa header'iga (#fr-header-tools) ko'chadi, ya'ni #tab-ar dan tashqarida
   render bo'ladi. Prefiks bilan ular butunlay uslubsiz qolardi. */
.ar-filters {
  display: flex;
  gap: 8px;
}
.ar-fl {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--frame-border);
  border-radius: 11px;
  padding: 8px 9px;
  font-size: 11.3px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.1px;
  transition: background 0.12s;
}
.ar-fl:hover {
  background: var(--soft-bg);
}
.ar-fl.active {
  border-color: var(--blue);
  background: var(--blue-bg);
  color: #0b6672;
}
.ar-fl .lead {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--blue);
}
.ar-fl .txt {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ar-fl .chev {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  color: var(--muted);
}
/* сводная плашка */
#tab-ar .ar-sum {
  display: flex;
  border: 1px solid var(--frame-border);
  border-radius: 16px;
  overflow: hidden;
}
#tab-ar .ar-half {
  flex: 1;
  min-width: 0;
  padding: 10px 11px 11px;
}
#tab-ar .ar-half.tot {
  background: var(--blue-bg);
}
#tab-ar .ar-half.ovd {
  background: var(--red-bg);
  border-left: 1px solid rgba(226, 57, 74, 0.14);
}
#tab-ar .ar-half .hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 30px;
}
#tab-ar .ar-half .c {
  font-size: 9.4px;
  font-weight: 800;
  letter-spacing: 0.15px;
  line-height: 1.3;
}
#tab-ar .ar-half.tot .c {
  color: #0b6672;
}
#tab-ar .ar-half.ovd .c {
  color: #c23347;
}
#tab-ar .ar-half .v {
  font-size: 13.6px;
  font-weight: 800;
  letter-spacing: -0.45px;
  margin: 5px 0 3px;
  white-space: nowrap;
}
#tab-ar .ar-half.tot .v {
  color: var(--blue);
}
#tab-ar .ar-half.ovd .v {
  color: var(--red);
}
#tab-ar .ar-half .v i {
  font-style: normal;
  font-size: 8.6px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 3px;
  letter-spacing: 0.2px;
}
#tab-ar .ar-half .s {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: -0.05px;
}
#tab-ar .ar-donut {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}
#tab-ar .ar-donut svg {
  width: 30px;
  height: 30px;
  display: block;
}
#tab-ar .ar-donut span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.2px;
  font-weight: 800;
  color: #b4441c;
  letter-spacing: -0.3px;
}
/* общая карточка */
#tab-ar .ar-card {
  background: #fff;
  border: 1px solid var(--frame-border);
  border-radius: 16px;
  padding: 11px 12px 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
#tab-ar .ar-chead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
#tab-ar .ar-chead h3 {
  margin: 0;
  font-size: 12.6px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #0d0f16;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
#tab-ar .ar-link {
  font-size: 10.6px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  flex: 0 0 auto;
}
#tab-ar .ar-gran {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  cursor: pointer;
  font-family: inherit;
  background: var(--soft-bg);
  border: 1px solid var(--frame-border);
  border-radius: 9px;
  padding: 5px 8px;
  font-size: 10.3px;
  font-weight: 700;
  color: #3a3f4d;
  letter-spacing: -0.1px;
}
#tab-ar .ar-gran:hover {
  background: #eceef3;
}
/* легенда + график */
#tab-ar .ar-legend {
  display: flex;
  gap: 13px;
  margin-bottom: 6px;
}
#tab-ar .ar-legend i {
  display: flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 9.4px;
  font-weight: 600;
  color: #5b6472;
  letter-spacing: -0.1px;
}
#tab-ar .ar-legend .sw {
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  flex: 0 0 auto;
}
#tab-ar .ar-legend .sw.tot {
  background: var(--blue);
}
#tab-ar .ar-legend .sw.ovd {
  background: var(--red);
}
#tab-ar .ar-chart svg {
  display: block;
  overflow: visible;
}
/* показания выбранного дня / недели */
#tab-ar .ar-ro {
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 8px 10px 9px;
  margin-bottom: 8px;
}
#tab-ar .ar-ro .ro-per {
  font-size: 9.6px;
  font-weight: 700;
  color: #3a3f4d;
  letter-spacing: -0.05px;
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-ro .ro-cols {
  display: flex;
  gap: 8px;
}
#tab-ar .ar-ro .ro-c {
  flex: 1;
  min-width: 0;
  padding-left: 7px;
  border-left: 2px solid #d3d8e2;
}
#tab-ar .ar-ro .ro-c.tot {
  border-left-color: var(--blue);
}
#tab-ar .ar-ro .ro-c.ovd {
  border-left-color: var(--red);
}
#tab-ar .ar-ro .k {
  display: block;
  font-size: 8.6px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.05px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-ro .v {
  display: block;
  font-size: 11.4px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-ar .ar-ro .ro-c.tot .v {
  color: var(--blue);
}
#tab-ar .ar-ro .ro-c.ovd .v {
  color: var(--red);
}
#tab-ar .ar-ro .ro-c.shr .v {
  color: #3a3f4d;
}
/* возраст задолженности (summary kartalar) */
#tab-ar .ar-aging {
  display: flex;
  gap: 0;
}
#tab-ar .ar-aging .cell {
  flex: 1;
  min-width: 0;
  padding: 0 7px;
}
#tab-ar .ar-aging .cell:first-child {
  padding-left: 0;
}
#tab-ar .ar-aging .cell:last-child {
  padding-right: 0;
}
#tab-ar .ar-aging .cell + .cell {
  border-left: 1px solid var(--divider);
}
#tab-ar .ar-aging .ac {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-aging .cell.ok .ac {
  color: var(--blue);
}
#tab-ar .ar-aging .cell.w1 .ac {
  color: var(--w1);
}
#tab-ar .ar-aging .cell.w2 .ac {
  color: var(--w2);
}
#tab-ar .ar-aging .cell.w3 .ac {
  color: var(--w3);
}
#tab-ar .ar-aging .av {
  font-size: 11.4px;
  font-weight: 800;
  letter-spacing: -0.35px;
  color: #0d0f16;
  margin: 4px 0 3px;
  white-space: nowrap;
}
#tab-ar .ar-aging .ap {
  font-size: 9.6px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
}
#tab-ar .ar-aging .bar {
  height: 4px;
  border-radius: 3px;
  background: #eceef3;
  overflow: hidden;
}
#tab-ar .ar-aging .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
}
/* поиск + список контрагентов */
#tab-ar .ar-list {
  display: flex;
  flex-direction: column;
}
#tab-ar .ar-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  cursor: default;
  border-bottom: 1px solid var(--divider);
}
#tab-ar .ar-row:last-child {
  border-bottom: none;
}
#tab-ar .ar-av {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
#tab-ar .ar-who {
  flex: 1;
  min-width: 0;
}
#tab-ar .ar-who .n {
  font-size: 11.6px;
  font-weight: 700;
  color: #12141c;
  letter-spacing: -0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-who .d {
  font-size: 9.6px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-amt {
  flex: 0 0 auto;
  text-align: right;
}
#tab-ar .ar-amt .a {
  font-size: 11.2px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-ar .ar-amt .a i {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}
#tab-ar .ar-amt .st {
  font-size: 9.2px;
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}
#tab-ar .ar-amt .st.late {
  color: var(--red);
}
#tab-ar .ar-amt .st.ok {
  color: var(--green);
}
#tab-ar .ar-row .caret {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  color: #c3c8d4;
}
#tab-ar .ar-all {
  width: 100%;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: 11px;
  padding: 10px;
  font-size: 11.3px;
  font-weight: 700;
  letter-spacing: -0.1px;
  transition: background 0.12s;
}
#tab-ar .ar-all:hover {
  background: #d1e7e9;
}
/* ---------- детальный экран «Возраст задолженности» ---------- */
/* Bosh qismning o'zi endi umumiy `.fr-backhead` (BackHeader) — bu yerda faqat
   Qarzdorlik ekranidagi bo'shliqlar qoladi. */
#tab-ar .ar-dhead {
  flex: 0 0 auto;
  padding-bottom: 10px;
}
#tab-ar .ar-back {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: none;
  border-radius: 9px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s;
  font-size: 16px;
}
#tab-ar .ar-back:hover {
  background: var(--soft-bg);
}
/* итог + кольцо */
/* `overflow: hidden` (dumaloq burchaklar uchun) bu blokning avtomatik
   min-height'ini 0 ga tushiradi — flex-kolonna scroller ichida kontent sig'masa,
   karta ezilib, halqa va oxirgi legenda qatori kesilib qolardi (QA: Pie Chart
   "kesilgan"). Shu sabab karta hech qachon siqilmasligi kerak. */
#tab-ar .ar-agsum {
  padding: 0;
  overflow: hidden;
  margin-bottom: 10px;
  flex: 0 0 auto;
}
#tab-ar .agsum-top {
  padding: 11px 12px 12px;
}
#tab-ar .agsum-top .c {
  font-size: 10px;
  font-weight: 700;
  color: #5b6472;
  letter-spacing: -0.05px;
}
#tab-ar .agsum-top .v {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--blue);
  margin: 5px 0 4px;
  white-space: nowrap;
}
#tab-ar .agsum-top .v i {
  font-style: normal;
  font-size: 9.4px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0.2px;
}
#tab-ar .agsum-top .s {
  font-size: 10.4px;
  font-weight: 600;
  color: var(--muted);
}
#tab-ar .agsum-bot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--divider);
  background: #fcfdfe;
}
#tab-ar .ar-ring {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
}
#tab-ar .ar-ring svg {
  width: 66px;
  height: 66px;
  display: block;
}
#tab-ar .ar-ringleg {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
#tab-ar .ar-ringleg .lg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.2px;
  font-weight: 600;
}
#tab-ar .ar-ringleg .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}
#tab-ar .ar-ringleg .nm {
  flex: 1;
  min-width: 0;
  color: #5b6472;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ar-ringleg .vl {
  font-weight: 700;
  color: #12141c;
  letter-spacing: -0.2px;
  white-space: nowrap;
  flex: 0 0 auto;
}
#tab-ar .ar-ringleg .pc {
  /* "100%" 22px ga sig'masdi va qiymat ustuniga yopishib qolardi (iOS SF
     shriftida bu Inter'dagidan ham kengroq). */
  min-width: 30px;
  text-align: right;
  font-weight: 700;
  color: var(--muted);
  flex: 0 0 auto;
}
/* Таблица / Диаграмма */
#tab-ar .ar-tabs {
  display: flex;
  gap: 4px;
  background: var(--soft-bg);
  border-radius: 12px;
  padding: 3px;
}
#tab-ar .ar-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 6px;
  font-size: 11.8px;
  font-weight: 700;
  color: #5b6472;
  letter-spacing: -0.1px;
  transition: 0.15s;
}
#tab-ar .ar-tabs button.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}
/* таблица корзин */
#tab-ar .ag-thead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
#tab-ar .agrow {
  display: flex;
  align-items: stretch;
  gap: 9px;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--divider);
  transition: background 0.12s;
}
#tab-ar .agrow:last-child {
  border-bottom: none;
}
#tab-ar .agrow:hover {
  background: #fbfcfe;
}
#tab-ar .agrow.sel {
  background: #f4fafa;
}
#tab-ar .agrow .rule {
  width: 3px;
  border-radius: 2px;
  flex: 0 0 auto;
}
#tab-ar .ag-main {
  flex: 1;
  min-width: 0;
}
#tab-ar .ag-l1,
#tab-ar .ag-l2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#tab-ar .ag-l1 .t {
  font-size: 11.8px;
  font-weight: 700;
  color: #12141c;
  letter-spacing: -0.15px;
}
#tab-ar .ag-l1 .amt {
  font-size: 11.4px;
  font-weight: 800;
  color: #12141c;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-ar .ag-l1 .amt i {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}
#tab-ar .ag-l2 {
  margin-top: 2px;
}
#tab-ar .ag-l2 .sub {
  font-size: 9.4px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tab-ar .ag-l3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}
#tab-ar .ag-l3 .bar {
  flex: 0 1 92px;
  height: 4px;
  border-radius: 3px;
  background: #eceef3;
  overflow: hidden;
}
#tab-ar .ag-l3 .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
}
#tab-ar .ag-l3 .pc {
  font-size: 9.6px;
  font-weight: 700;
  color: #3a3f4d;
  flex: 0 0 auto;
}
#tab-ar .ag-l3 .cnt {
  margin-left: auto;
  font-size: 9.6px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
#tab-ar .agrow .caret {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  align-self: center;
  color: #c3c8d4;
}
/* диаграмма корзин */
#tab-ar .agbar {
  padding: 9px 0;
  border-bottom: 1px solid var(--divider);
}
#tab-ar .agbar:first-child {
  padding-top: 1px;
}
#tab-ar .agbar:last-child {
  border-bottom: none;
  padding-bottom: 1px;
}
#tab-ar .agbar .b1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
#tab-ar .agbar .nm {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: #12141c;
  letter-spacing: -0.15px;
}
#tab-ar .agbar .dot {
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  flex: 0 0 auto;
}
#tab-ar .agbar .pc {
  font-size: 11.4px;
  font-weight: 800;
  letter-spacing: -0.3px;
  flex: 0 0 auto;
}
#tab-ar .agbar .track {
  height: 8px;
  border-radius: 5px;
  background: #eff1f5;
  overflow: hidden;
}
#tab-ar .agbar .track i {
  display: block;
  height: 100%;
  border-radius: 5px;
}
#tab-ar .agbar .b2 {
  margin-top: 5px;
  font-size: 9.6px;
  font-weight: 600;
  color: var(--muted);
}
/* детализация корзины */
#tab-ar .det-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--divider);
}
#tab-ar .det-head .dh-l {
  font-size: 11.6px;
  font-weight: 700;
  color: #12141c;
  letter-spacing: -0.15px;
}
#tab-ar .det-head .dh-l b {
  font-weight: 800;
}
#tab-ar .det-head .dh-r {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}
#tab-ar .det-head .sum {
  font-size: 11.4px;
  font-weight: 800;
  color: #12141c;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
#tab-ar .det-head .sum i {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 2px;
}
#tab-ar .ar-det.closed .det-head {
  border-bottom-color: transparent;
  padding-bottom: 1px;
}
#tab-ar .ar-det.closed .ar-list {
  display: none;
}
#tab-ar .ar-row.det {
  cursor: default;
}
#tab-ar .ar-row.det:hover {
  background: transparent;
}
#tab-ar .ar-row.det .ar-amt .a {
  color: var(--red);
}
#tab-ar .ar-row.det .ar-amt .st {
  color: #9aa1b1;
  font-weight: 600;
}
#tab-ar .ar-av.other {
  background: #f0f2f6;
  color: #aab0be;
  font-size: 14px;
}
/* =========================================================
   "Изменить задолженность" bottom sheet — sheetPrimitives.tsx
   Bu qoidalar #tab-ar ostida EMAS: sheet Radix Portal orqali
   <body> ga chiqadi, ya'ni report konteyneri ichida bo'lmaydi.
   ========================================================= */
/* Nozik scrollbar + iOS momentum. Sheet ichidagi barcha scroll
   qismlari (kontent, select ro'yxati, tovar ro'yxati) shu klass. */
.dcsheet-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #dfe2ea transparent;
}
.dcsheet-scroll::-webkit-scrollbar {
  width: 4px;
}
.dcsheet-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.dcsheet-scroll::-webkit-scrollbar-thumb {
  background: #dfe2ea;
  border-radius: 4px;
}
/* Skelet qatorlar (tovar qidiruvi yuklanayotganda) */
.dcsheet-shimmer {
  background: linear-gradient(90deg, #f1f3f5 25%, #e7eaef 37%, #f1f3f5 63%);
  background-size: 400% 100%;
  animation: dcsheet-shimmer 1.25s ease-in-out infinite;
}
@keyframes dcsheet-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
/* Fonda qayta qidirilayotganini bildiruvchi ingichka chiziq */
.dcsheet-progress {
  background: linear-gradient(90deg, transparent, #006f7d, transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: dcsheet-progress 1.05s ease-in-out infinite;
}
@keyframes dcsheet-progress {
  0% {
    background-position: -40% 0;
  }
  100% {
    background-position: 140% 0;
  }
}
/* Harakatni kamaytirish rejimi — shimmer/progress tinch turadi */
@media (prefers-reduced-motion: reduce) {
  .dcsheet-shimmer,
  .dcsheet-progress {
    animation: none;
  }
}
/* Tailwind'da `preflight: false` — ya'ni global `border-style: solid` reset'i
   YO'Q. Shu sabab `border` utility'si faqat `border-width` beradi va chegara
   ko'rinmaydi (`border-style` default'i — `none`). Sheet ichidagi barcha
   maydon yuzalari shu klassni oladi; rangni framer-motion inline styleda
   animatsiya qiladi. */
.dcsheet-surface {
  border-style: solid;
  border-width: 1px;
}
/* Ro'yxat qatorlari orasida ingichka ajratuvchi — chegarasiz "yopishgan"
   ro'yxat o'qishga noqulay edi. Guruh sarlavhasi ketma-ketlikni uzadi,
   ya'ni har guruh birinchi qatori chiziqsiz boshlanadi. */
.dcsheet-list-row + .dcsheet-list-row {
  border-top: 1px solid #f2f4f7;
}
/* styles/dashboard/ da global `button { border: none !important }` bor — shu
   sabab tugma-yuzalar (masalan select trigger'i) chegarasiz chiqardi. Element +
   klass (0,1,1) global element selektoridan (0,0,1) yuqori, ya'ni bu qoida
   g'olib. Rangni Tailwind klasslari beradi (ular (0,2,0) — bundan ham yuqori). */
button.dcsheet-surface {
  border-style: solid !important;
  border-width: 1px !important;
}
/* ---------------------------------------------------------------------------
   Sheet paneli geometriyasi.

   Klaviatura uchun JS bilan hech qanday siljitish QILINMAYDI: Flutter WebView
   klaviatura ochilganda WebView'ni o'zi qisqartiradi, ustiga biz ham
   kompensatsiya qo'shsak — panel ostida bo'sh joy qolib, kontent kesilardi va
   har bir viewport hodisasida titrardi. Joylashuvni platformaga qoldiramiz.

   Tailwind `important: '.hisobim-finance-mfe'` bo'lgani uchun `bottom-0`/`max-h-*`
   utility'lari `!important` bilan chiqadi va inline style'ni yengadi — shuning
   uchun o'lchamlar aynan shu yerda beriladi. */
.dcsheet-panel {
  bottom: 0;
  max-height: 93vh;
}
@media (min-width: 768px) {
  .dcsheet-panel {
    bottom: auto;
    max-height: 86vh;
  }
}
/* ==========================================================================
   Desktop (>=1024px): CRM tartibi — boshqa tablar bilan bir xil tamoyilda.
   Mobil/planshet tartibi tegilmagan.
   ========================================================================== */
@media (min-width: 1024px) {
  /* Sahifa sarlavhasi header'da turibdi; segment tugmalari nima ochilganini
     allaqachon aytadi — takroriy "Debitorlar va kreditorlar" olib tashlandi. */
  #tab-ar .ar-top {
    display: none;
  }
  /* Segment butun kenglikni egallamaydi. */
  #tab-ar .ar-seg {
    width: -moz-fit-content;
    width: fit-content;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 4px;
  }
  #tab-ar .ar-seg button {
    flex: 0 0 auto;
    min-width: 168px;
    padding: 9px 24px;
    font-size: 13px;
    border-radius: 11px;
  }
  /* Filtrlar header'ga (HeaderPortal) ko'chdi — chip'lar kontentiga qarab. */
  .dash-header-tools .ar-filters {
    gap: 8px;
  }
  .dash-header-tools .ar-filters .ar-fl {
    flex: 0 0 auto;
    max-width: 260px;
  }
  /* Ikkita mustaqil ustun: chapda ixcham bloklar, o'ngda grafik va ro'yxat. */
  #tab-ar .ar-cols {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  #tab-ar .ar-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  #tab-ar .ar-col-side {
    flex: 0 1 400px;
    min-width: 320px;
  }
  #tab-ar .ar-col-main {
    flex: 1 1 0;
  }
  /* Xulosa: tor ustunda ikki yarim yonma-yon siqilib qolardi — ustun bo'ladi. */
  #tab-ar .ar-sum {
    flex-direction: column;
  }
  #tab-ar .ar-half {
    padding: 14px 16px 15px;
  }
  #tab-ar .ar-half.ovd {
    border-left: none;
    border-top: 1px solid rgba(226, 57, 74, 0.14);
  }
  #tab-ar .ar-half .v {
    font-size: 21px;
  }
  /* Kartalar ichida nafas oladigan joy (mobilda 11/12px qoladi). */
  #tab-ar .ar-card {
    padding: 16px 18px 14px;
  }
  #tab-ar .ar-chead {
    margin-bottom: 12px;
  }
  #tab-ar .ar-chead h3 {
    font-size: 15px;
  }
  /* Muddat bloki tor ustunda: uchta katak yonma-yon emas, ustun bo'lib. */
  #tab-ar .ar-aging {
    flex-direction: column;
    gap: 12px;
  }
  #tab-ar .ar-aging .cell {
    padding: 0;
  }
  #tab-ar .ar-aging .cell + .cell {
    border-left: none;
    border-top: 1px solid var(--divider);
    padding-top: 12px;
  }
  #tab-ar .ar-row {
    padding: 12px 0;
  }
  /* ---------- Ichki ekranlar (muddat / shartnomalar / operatsiyalar) ---------- */
  #tab-ar .ar-dhead {
    padding-top: 4px;
    padding-bottom: 14px;
  }
  /* Xulosa kartasi 1240px konteynerda cho'zilib ketmasin — halqa va izohlar
     bir-biridan ekran kengligicha uzoqlashib ketardi. */
  #tab-ar .ar-agsum .agsum-top,
  #tab-ar .ar-agsum .agsum-bot {
    padding-left: 18px;
    padding-right: 18px;
  }
  #tab-ar .ar-agsum .agsum-bot {
    max-width: none;
  }
  #tab-ar .ar-ringleg .lg {
    font-size: 12px;
    gap: 10px;
  }
  #tab-ar .ar-ring,
  #tab-ar .ar-ring svg {
    width: 84px;
    height: 84px;
  }
  /* Ichki ekranlar (muddat / shartnomalar / operatsiyalar) ham ikki ustun:
     chapda xulosa kartasi, o'ngda kontent (jadval, ro'yxat, tab'lar).
     DOM tartibi mobil uchun o'zgarmaydi — grid joylashtiradi. */
  #tab-ar .ar-detail {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    -moz-column-gap: 20px;
         column-gap: 20px;
    row-gap: 12px;
    align-content: start;
    /* Har bir karta o'z balandligida qolsin — aks holda qo'shni ustundagi
       baland karta yonidagini ham cho'zib yuboradi. */
    align-items: start;
  }
  #tab-ar .ar-detail > .ar-agsum {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  #tab-ar .ar-detail > *:not(.ar-agsum) {
    grid-column: 2;
  }
  /* Muddat qatorlari: progress bar 92px'da qotib qolardi, qator esa 1150px —
     endi bar bo'sh joyga qarab cho'ziladi, raqamlar o'ng chekkada. */
  #tab-ar .ag-l3 {
    gap: 12px;
  }
  #tab-ar .ag-l3 .bar {
    flex: 1 1 auto;
    max-width: 420px;
    height: 6px;
  }
  #tab-ar .ag-l3 .pc,
  #tab-ar .ag-l3 .cnt {
    font-size: 11.5px;
  }
  #tab-ar .ag-l1 .t {
    font-size: 14px;
  }
  #tab-ar .agrow {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  /* Jadval / Diagramma — butun kenglikni egallamaydi. */
  #tab-ar .ar-tabs {
    width: -moz-fit-content;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
  }
  #tab-ar .ar-tabs button {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 9px 24px;
    font-size: 13px;
  }
}
.hisobim-finance-mfe .placeholder\:text-\[12\.5px\]::-moz-placeholder{
  font-size: 12.5px;
}
.hisobim-finance-mfe .placeholder\:text-\[12\.5px\]::placeholder{
  font-size: 12.5px;
}
.hisobim-finance-mfe .placeholder\:text-\[13px\]::-moz-placeholder{
  font-size: 13px;
}
.hisobim-finance-mfe .placeholder\:text-\[13px\]::placeholder{
  font-size: 13px;
}
.hisobim-finance-mfe .placeholder\:font-medium::-moz-placeholder{
  font-weight: 500;
}
.hisobim-finance-mfe .placeholder\:font-medium::placeholder{
  font-weight: 500;
}
.hisobim-finance-mfe .placeholder\:tracking-normal::-moz-placeholder{
  letter-spacing: 0em;
}
.hisobim-finance-mfe .placeholder\:tracking-normal::placeholder{
  letter-spacing: 0em;
}
.hisobim-finance-mfe .placeholder\:text-\[\#8ba9a6\]::-moz-placeholder{
  --tw-text-opacity: 1;
  color: rgb(139 169 166 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-\[\#8ba9a6\]::placeholder{
  --tw-text-opacity: 1;
  color: rgb(139 169 166 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-\[\#a2a7b2\]::-moz-placeholder{
  --tw-text-opacity: 1;
  color: rgb(162 167 178 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-\[\#a2a7b2\]::placeholder{
  --tw-text-opacity: 1;
  color: rgb(162 167 178 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-\[\#aeb3bd\]::-moz-placeholder{
  --tw-text-opacity: 1;
  color: rgb(174 179 189 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-\[\#aeb3bd\]::placeholder{
  --tw-text-opacity: 1;
  color: rgb(174 179 189 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-gray-400::-moz-placeholder{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .placeholder\:text-gray-400::placeholder{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .first\:rounded-l-lg:first-child{
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}
.hisobim-finance-mfe .last\:rounded-r-lg:last-child{
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.hisobim-finance-mfe .last\:\!border-b-0:last-child{
  border-bottom-width: 0px !important;
}
.hisobim-finance-mfe .last\:border-b-0:last-child{
  border-bottom-width: 0px;
}
.hisobim-finance-mfe .hover\:scale-105:hover{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hisobim-finance-mfe .hover\:border-\[\#006f7d\]:hover{
  --tw-border-opacity: 1;
  border-color: rgb(0 111 125 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#e0e3e9\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(224 227 233 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#e2f0f1\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(226 240 241 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#e3e6ec\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(227 230 236 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#e4e5e8\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(228 229 232 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#eceff3\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(236 239 243 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#eef0f4\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(238 240 244 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#eef1f4\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(238 241 244 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#eef2f8\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 248 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#f5f7fa\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(245 247 250 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#f7f8fa\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(247 248 250 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[\#f8fafc\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-\[var\(--hisobim-primary-hover\)\]:hover{
  background-color: var(--hisobim-primary-hover);
}
.hisobim-finance-mfe .hover\:bg-blue-50:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-gray-200:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:bg-gray-50:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .hover\:text-gray-700:hover{
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .hover\:underline:hover{
  text-decoration-line: underline;
}
.hisobim-finance-mfe .focus\:border-\[\#9ebac0\]:focus{
  --tw-border-opacity: 1;
  border-color: rgb(158 186 192 / var(--tw-border-opacity, 1));
}
.hisobim-finance-mfe .focus\:border-\[var\(--hisobim-primary\)\]:focus{
  border-color: var(--hisobim-primary);
}
.hisobim-finance-mfe .focus\:outline-none:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.hisobim-finance-mfe .focus\:ring-2:focus{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.hisobim-finance-mfe .active\:scale-95:active{
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hisobim-finance-mfe .active\:bg-\[\#f4f6f8\]:active{
  --tw-bg-opacity: 1;
  background-color: rgb(244 246 248 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .active\:opacity-60:active{
  opacity: 0.6;
}
.hisobim-finance-mfe .disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}
.hisobim-finance-mfe .disabled\:bg-\[\#cbd0d8\]:disabled{
  --tw-bg-opacity: 1;
  background-color: rgb(203 208 216 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .disabled\:bg-\[\#f5f7fa\]:disabled{
  --tw-bg-opacity: 1;
  background-color: rgb(245 247 250 / var(--tw-bg-opacity, 1));
}
.hisobim-finance-mfe .disabled\:text-gray-500:disabled{
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .disabled\:text-white:disabled{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hisobim-finance-mfe .disabled\:opacity-40:disabled{
  opacity: 0.4;
}
.hisobim-finance-mfe .disabled\:opacity-50:disabled{
  opacity: 0.5;
}
.hisobim-finance-mfe .disabled\:opacity-60:disabled{
  opacity: 0.6;
}
.hisobim-finance-mfe .disabled\:shadow-none:disabled{
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hisobim-finance-mfe .aria-disabled\:pointer-events-none[aria-disabled="true"]{
  pointer-events: none;
}
.hisobim-finance-mfe .aria-disabled\:opacity-40[aria-disabled="true"]{
  opacity: 0.4;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:duration-150[data-state="closed"]{
  transition-duration: 150ms;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:duration-200[data-state="closed"]{
  transition-duration: 200ms;
}
.hisobim-finance-mfe .data-\[state\=open\]\:duration-200[data-state="open"]{
  transition-duration: 200ms;
}
.hisobim-finance-mfe .data-\[state\=open\]\:duration-300[data-state="open"]{
  transition-duration: 300ms;
}
.hisobim-finance-mfe .data-\[state\=open\]\:animate-in[data-state="open"]{
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:animate-out[data-state="closed"]{
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:fade-out-0[data-state="closed"]{
  --tw-exit-opacity: 0;
}
.hisobim-finance-mfe .data-\[state\=open\]\:fade-in-0[data-state="open"]{
  --tw-enter-opacity: 0;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:zoom-out-95[data-state="closed"]{
  --tw-exit-scale: .95;
}
.hisobim-finance-mfe .data-\[state\=open\]\:zoom-in-95[data-state="open"]{
  --tw-enter-scale: .95;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:slide-out-to-bottom-4[data-state="closed"]{
  --tw-exit-translate-y: 1rem;
}
.hisobim-finance-mfe .data-\[state\=open\]\:slide-in-from-bottom-4[data-state="open"]{
  --tw-enter-translate-y: 1rem;
}
.hisobim-finance-mfe .data-\[state\=open\]\:slide-in-from-top-1[data-state="open"]{
  --tw-enter-translate-y: -0.25rem;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:duration-150[data-state="closed"]{
  animation-duration: 150ms;
}
.hisobim-finance-mfe .data-\[state\=closed\]\:duration-200[data-state="closed"]{
  animation-duration: 200ms;
}
.hisobim-finance-mfe .data-\[state\=open\]\:duration-200[data-state="open"]{
  animation-duration: 200ms;
}
.hisobim-finance-mfe .data-\[state\=open\]\:duration-300[data-state="open"]{
  animation-duration: 300ms;
}
@media (min-width: 640px){
  .hisobim-finance-mfe .sm\:gap-3{
    gap: 0.75rem;
  }
  .hisobim-finance-mfe .sm\:px-2{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hisobim-finance-mfe .sm\:px-3{
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .hisobim-finance-mfe .sm\:px-4{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hisobim-finance-mfe .sm\:py-2{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .hisobim-finance-mfe .sm\:text-lg{
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .hisobim-finance-mfe .sm\:text-sm{
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .hisobim-finance-mfe .sm\:text-xs{
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
@media (min-width: 768px){
  .hisobim-finance-mfe .md\:inset-x-auto{
    left: auto;
    right: auto;
  }
  .hisobim-finance-mfe .md\:inset-y-0{
    top: 0px;
    bottom: 0px;
  }
  .hisobim-finance-mfe .md\:bottom-auto{
    bottom: auto;
  }
  .hisobim-finance-mfe .md\:left-1\/2{
    left: 50%;
  }
  .hisobim-finance-mfe .md\:left-\[352px\]{
    left: 352px;
  }
  .hisobim-finance-mfe .md\:left-auto{
    left: auto;
  }
  .hisobim-finance-mfe .md\:right-0{
    right: 0px;
  }
  .hisobim-finance-mfe .md\:top-\[100px\]{
    top: 100px;
  }
  .hisobim-finance-mfe .md\:top-\[12vh\]{
    top: 12vh;
  }
  .hisobim-finance-mfe .md\:top-\[72px\]{
    top: 72px;
  }
  .hisobim-finance-mfe .md\:top-\[8vh\]{
    top: 8vh;
  }
  .hisobim-finance-mfe .md\:top-\[96px\]{
    top: 96px;
  }
  .hisobim-finance-mfe .md\:-ml-\[280px\]{
    margin-left: -280px;
  }
  .hisobim-finance-mfe .md\:-ml-\[360px\]{
    margin-left: -360px;
  }
  .hisobim-finance-mfe .md\:ml-auto{
    margin-left: auto;
  }
  .hisobim-finance-mfe .md\:block{
    display: block;
  }
  .hisobim-finance-mfe .md\:inline{
    display: inline;
  }
  .hisobim-finance-mfe .md\:flex{
    display: flex;
  }
  .hisobim-finance-mfe .md\:hidden{
    display: none;
  }
  .hisobim-finance-mfe .md\:h-auto{
    height: auto;
  }
  .hisobim-finance-mfe .md\:h-full{
    height: 100%;
  }
  .hisobim-finance-mfe .md\:max-h-\[72vh\]{
    max-height: 72vh;
  }
  .hisobim-finance-mfe .md\:max-h-\[82vh\]{
    max-height: 82vh;
  }
  .hisobim-finance-mfe .md\:max-h-\[86vh\]{
    max-height: 86vh;
  }
  .hisobim-finance-mfe .md\:max-h-none{
    max-height: none;
  }
  .hisobim-finance-mfe .md\:min-h-0{
    min-height: 0px;
  }
  .hisobim-finance-mfe .md\:w-56{
    width: 14rem;
  }
  .hisobim-finance-mfe .md\:w-\[400px\]{
    width: 400px;
  }
  .hisobim-finance-mfe .md\:w-\[560px\]{
    width: 560px;
  }
  .hisobim-finance-mfe .md\:w-\[720px\]{
    width: 720px;
  }
  .hisobim-finance-mfe .md\:w-\[min\(480px\2c calc\(100vw-392px\)\)\]{
    width: min(480px, calc(100vw - 392px));
  }
  .hisobim-finance-mfe .md\:w-\[min\(960px\2c calc\(100vw-392px\)\)\]{
    width: min(960px, calc(100vw - 392px));
  }
  .hisobim-finance-mfe .md\:flex-none{
    flex: none;
  }
  .hisobim-finance-mfe .md\:flex-wrap{
    flex-wrap: wrap;
  }
  .hisobim-finance-mfe .md\:justify-end{
    justify-content: flex-end;
  }
  .hisobim-finance-mfe .md\:rounded-\[24px\]{
    border-radius: 24px;
  }
  .hisobim-finance-mfe .md\:rounded-\[26px\]{
    border-radius: 26px;
  }
  .hisobim-finance-mfe .md\:rounded-none{
    border-radius: 0px;
  }
  .hisobim-finance-mfe .md\:rounded-l-\[28px\]{
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
  }
  .hisobim-finance-mfe .md\:border-l{
    border-left-width: 1px;
  }
  .hisobim-finance-mfe .md\:border-\[\#e1e6ee\]{
    --tw-border-opacity: 1;
    border-color: rgb(225 230 238 / var(--tw-border-opacity, 1));
  }
  .hisobim-finance-mfe .md\:p-3{
    padding: 0.75rem;
  }
  .hisobim-finance-mfe .md\:p-5{
    padding: 1.25rem;
  }
  .hisobim-finance-mfe .md\:px-4{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hisobim-finance-mfe .md\:py-2\.5{
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }
  .hisobim-finance-mfe .md\:pb-4{
    padding-bottom: 1rem;
  }
  .hisobim-finance-mfe .md\:text-\[17px\]{
    font-size: 17px;
  }
  .hisobim-finance-mfe .md\:text-\[20px\]{
    font-size: 20px;
  }
  .hisobim-finance-mfe .md\:text-xl{
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .hisobim-finance-mfe .md\:font-semibold{
    font-weight: 600;
  }
}
@media (min-width: 1024px){
  .hisobim-finance-mfe .lg\:block{
    display: block;
  }
  .hisobim-finance-mfe .lg\:inline{
    display: inline;
  }
  .hisobim-finance-mfe .lg\:w-\[190px\]{
    width: 190px;
  }
}
.hisobim-finance-mfe :is(.\[\&_button\]\:pointer-events-none button){
  pointer-events: none;
}
.hisobim-finance-mfe :is(.\[\&_button\]\:\!bg-\[\#006f7d\] button){
  --tw-bg-opacity: 1 !important;
  background-color: rgb(0 111 125 / var(--tw-bg-opacity, 1)) !important;
}
.hisobim-finance-mfe :is(.\[\&_button\]\:\!text-white button){
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
}
.hisobim-finance-mfe :is(.\[\&_button\]\:text-\[\#c9ced6\] button){
  --tw-text-opacity: 1;
  color: rgb(201 206 214 / var(--tw-text-opacity, 1));
}