/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
  tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `body` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome, Edge, and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome versions. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome, Edge, and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome, Edge, and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome, Edge, and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome, Edge, and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set a sensible default placeholder color.
*/

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make images easier to work with.
2. Make videos easier to work with.
3. Prevent `img` text-decoration inheritance on `a` tags
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

img,
video {
  max-width: 100%;
  height: auto;
}

/*
Include SVG `fill` and `stroke` properties to allow styling via utility classes.
*/

[hidden] {
  display: none;
}

*,
::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: ;
}

::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: ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.bottom-8 {
  bottom: 2rem;
}

.left-8 {
  left: 2rem;
}

.right-8 {
  right: 2rem;
}

.top-0 {
  top: 0px;
}

.z-50 {
  z-index: 50;
}

.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.-mb-px {
  margin-bottom: -1px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.-mt-4 {
  margin-top: -1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-14 {
  height: 3.5rem;
}

.h-4 {
  height: 1rem;
}

.h-64 {
  height: 16rem;
}

.max-h-\[80vh\] {
  max-height: 80vh;
}

.w-1\/3 {
  width: 33.333333%;
}

.w-14 {
  width: 3.5rem;
}

.w-28 {
  width: 7rem;
}

.w-6 {
  width: 1.5rem;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.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));
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-\[1fr_auto\] {
  grid-template-columns: 1fr auto;
}

.flex-col {
  flex-direction: column;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-x-12 {
  -moz-column-gap: 3rem;
  column-gap: 3rem;
}

.gap-x-2 {
  -moz-column-gap: 0.5rem;
  column-gap: 0.5rem;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem;
  column-gap: 0.75rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
  column-gap: 1rem;
}

.gap-x-6 {
  -moz-column-gap: 1.5rem;
  column-gap: 1.5rem;
}

.gap-x-8 {
  -moz-column-gap: 2rem;
  column-gap: 2rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.gap-y-4 {
  row-gap: 1rem;
}

.gap-y-6 {
  row-gap: 1.5rem;
}

.space-x-3> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-8> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-12> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}

.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));
}

.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));
}

.space-y-8> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-l-md {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-r-md {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

.border-0 {
  border-width: 0px;
}

.border-amber-50 {
  --tw-border-opacity: 1;
  border-color: rgb(255 251 235 / var(--tw-border-opacity));
}

.border-b-gray-200 {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(229 231 235 / var(--tw-border-opacity));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.border-l-yellow-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(234 179 8 / var(--tw-border-opacity));
}

.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity));
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-opacity-60 {
  --tw-bg-opacity: 0.6;
}

.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity));
}

.bg-\[\#4396be\] {
  --tw-bg-opacity: 1;
  background-color: rgb(67 150 190 / var(--tw-bg-opacity));
}

.bg-\[\#e2e8f0\] {
  --tw-bg-opacity: 1;
  background-color: rgb(226 232 240 / var(--tw-bg-opacity));
}

.bg-\[\#F1EBE4\] {
  --tw-bg-opacity: 1;
  background-color: rgb(241 235 228 / var(--tw-bg-opacity));
}

.bg-\[\#1A4B84\] {
  --tw-bg-opacity: 1;
  background-color: rgb(26 75 132 / var(--tw-bg-opacity));
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pl-4 {
  padding-left: 1rem;
}

.pl-0,
.\!pl-0 {
  padding-left: 0 !important;
}


.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.align-baseline {
  vertical-align: baseline;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-md {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity));
}

.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.text-green-700 {
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / var(--tw-text-opacity));
}

.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity));
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity));
}

.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-yellow-700 {
  --tw-text-opacity: 1;
  color: rgb(161 98 7 / var(--tw-text-opacity));
}

.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity));
}

.text-\[\#1F5594\] {
  --tw-text-opacity: 1;
  color: rgb(31 85 148 / var(--tw-text-opacity));
}

.text-\[\#1A4B84\] {
  --tw-text-opacity: 1;
  color: rgb(26 75 132 / var(--tw-text-opacity));
}

.text-\[\#A77B5A\] {
  --tw-text-opacity: 1;
  color: rgb(167 123 90 / var(--tw-text-opacity));
}

.underline {
  text-decoration-line: underline;
}

.shadow-inner {
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: inset 0 2px 4px 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);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -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);
}

.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);
}

.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);
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -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);
}

.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);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.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;
}

.duration-300 {
  transition-duration: 300ms;
}

.file\:mr-4:hover::-webkit-file-upload-button {
  margin-right: 1rem;
}

.file\:px-4:hover::-webkit-file-upload-button {
  padding-left: 1rem;
  padding-right: 1rem;
}

.file\:py-2:hover::-webkit-file-upload-button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.file\:font-semibold:hover::-webkit-file-upload-button {
  font-weight: 600;
}

.file\:text-sm:hover::-webkit-file-upload-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.file\:text-\[\#1F5594\]:hover::-webkit-file-upload-button {
  --tw-text-opacity: 1;
  color: rgb(31 85 148 / var(--tw-text-opacity));
}

.file\:bg-\[\#cbd5e1\]:hover::-webkit-file-upload-button {
  --tw-bg-opacity: 1;
  background-color: rgb(203 213 225 / var(--tw-bg-opacity));
}

.file\:bg-\[\#e2e8f0\]:hover::-webkit-file-upload-button {
  --tw-bg-opacity: 1;
  background-color: rgb(226 232 240 / var(--tw-bg-opacity));
}

.file\:border-0:hover::-webkit-file-upload-button {
  border-width: 0px;
}

.file\:rounded-full:hover::-webkit-file-upload-button {
  border-radius: 9999px;
}

.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.hover\:bg-\[\#367da5\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(54 125 165 / var(--tw-bg-opacity));
}

.hover\:bg-\[\#153a66\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 58 102 / var(--tw-bg-opacity));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.focus\:border-\[\#A77B5A\]:focus {
  --tw-border-opacity: 1;
  border-color: rgb(167 123 90 / var(--tw-border-opacity));
}

.focus\:bg-amber-50:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity));
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:grow {
    flex-grow: 1;
  }

  .md\:basis-0 {
    flex-basis: 0px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   CEREBRO LÓGICO DE ESTILOS Y REGLAS DE DISEÑO
   ========================================================================== */
/*
    REGLA: "BOTÓN DE ACCIÓN POR DEFECTO"

    Esta es la guía para los botones de acción estándar (Guardar, Limpiar,
    filtros genéricos, etc.) que no requieren un color específico.

    1. ESTRUCTURA HTML:
       - Un elemento <button>.

    2. CLASES CSS REQUERIDAS:
       - `action-btn`: Proporciona el estilo base (fondo gris, padding, borde, etc.).

    3. ESTADO ACTIVO:
       - Para resaltar un botón activo dentro de un grupo, se debe añadir la clase `active`.
         Esto aplicará un contorno distintivo.
*/
/*
    REGLA: "ESPACIADO ENTRE FILAS DE FILTROS"

    Esta es la guía para el espaciado vertical entre múltiples filas de
    filtros dentro de un componente.

    1. ESTRUCTURA HTML:
       - El <div> que envuelve a todos los grupos de filtros debe tener
         la clase `gap-y-9`.
 
    2. VALOR ESTÁNDAR:
       - La clase `gap-y-9` de Tailwind CSS, que equivale a `2.25rem`.
       - Este es el valor estándar para asegurar una separación visual
         clara y consistente en toda la aplicación.
*/
/*
    REGLA: "MENU DE NAVEGACION DE LOS COMPONENTES" (Filtros)

    Esta es la guía para crear grupos de botones de filtro consistentes
    a lo largo de la aplicación.

    1. ESTRUCTURA HTML:
       - Cada grupo de filtros debe estar envuelto en un <div> con la clase "filter-group".
       - Cada botón dentro del grupo debe tener la clase base "component-filter-btn".

       <div class="filter-group flex ... gap-1">
           <button class="component-filter-btn ...">Filtro 1</button>
           <button class="component-filter-btn ...">Filtro 2</button>
       </div>

    2. ESTILO DE BOTONES:
       - La clase "component-filter-btn" define la altura, tamaño de fuente (12px),
         color de fuente (negro/gris oscuro) y espaciado.
       - Para botones con colores de fondo específicos (ej. los de segmento),
         se crea una regla CSS adicional (ej. [data-strategic-filter="..."])
         que SOLO modifica el 'background-color' y 'border-color'.
         El resto de estilos se heredan para mantener la consistencia.
*/
/*
    REGLA: "DESCRIPCIÓN DE COMPONENTES"

    Esta es la guía para el texto descriptivo que va debajo del título de un componente.

    1. ESTRUCTURA HTML:
       - Debe ser un tag <p> justo después del título <h2>.

    2. CLASES CSS REQUERIDAS:
       - text-sm text-gray-600 mb-6 max-w-4xl mx-auto text-center

       Esto asegura un tamaño de fuente, color, espaciado y centrado consistentes
       para una máxima legibilidad.
*/
/*
    REGLA: "ENCABEZADO DE TABLA ESTÁNDAR"

    Esta es la guía para los encabezados de las tablas de datos.

    1. ESTRUCTURA HTML:
       - El <thead> debe tener las siguientes clases para un estilo consistente.

    2. CLASES CSS REQUERIDAS (en el <thead>):
               - bg-[#F1EBE4] text-[#A77B5A] sticky top-0

       Esto asegura el color de fondo, color de texto, que se mantenga fijo
               al hacer scroll. El tamaño de fuente se controla globalmente a continuación.
*/
/* REGLA: Tamaño de fuente estándar para encabezados de tabla (12px) */
/* ESTÁNDAR CORPORATIVO: Encabezados de Tabla Premium (Modelo C96) */
.data-table>thead th,
.floating-totals-table th {
  padding: 8px 6px !important;
  font-size: 11px !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/*
    REGLA: "FORMATO DE MONEDA Y ENCABEZADOS"

    Esta es la guía para el formato de textos de moneda y encabezados de tablas.

    1. TEXTOS GENERALES (Guías, Descripciones):
       - La palabra "dólar" o "dólares" se escribe siempre completa.

    2. ENCABEZADOS DE TABLAS (<th>):
       - Alineación: Todo el texto debe estar centrado (`text-center`).
       - Moneda: Usar la nomenclatura exacta: `USD (BCV)`.
       - Abreviaturas: No se permiten abreviaturas de texto (ej. "NÚMERO" en vez de "#").
         El símbolo de porcentaje (%) es aceptable.

    3. GRÁFICOS Y KPIs:
       - Anteponer el signo de dólar ($) a los valores monetarios.
*/
/*
    REGLA: "CUERPO DE TABLA ESTÁNDAR (CEBRA)"

    Esta es la guía para el estilo de las filas en las tablas de datos.

    1. ESTRUCTURA HTML:
       - Aplicar la clase `data-table` o `floating-totals-table` al elemento <table>.

    2. ESTILO CEBRA:
       - Las filas pares (`:nth-child(even)`) o impares (`:nth-child(odd)`) deben
         tener un color de fondo gris claro: `#f3f4f6` (Tailwind gray-100).

    3. ESTILO HOVER:
       - Al pasar el mouse, la fila debe cambiar a un color amarillo pastel:
         `#fefce8` (Tailwind yellow-50).
*/
/*
    REGLA: "TABLAS DE DATOS EXPANDIBLES"

    Esta es la guía para las tablas que deben mostrar todos sus resultados
    sin una barra de scroll vertical interna.

    1. ESTRUCTURA HTML:
       - El <div> que envuelve la <table> debe tener las clases:
         `overflow-x-auto shadow-sm rounded-lg`.

    2. COMPORTAMIENTO (IMPORTANTE):
       - El <div> contenedor NO debe tener ninguna clase que restrinja su altura,
         como `max-h-96`. Al omitir esta clase, la tabla se expandirá
         verticalmente para mostrar todas las filas que resulten de un filtro.
*/
/*
    REGLA: "TOTALIZADOR DE CANTIDAD"

    Esta es la guía para el contador de ítems que aparece en la parte superior de las tablas.

    1. ESTRUCTURA HTML:
       - Debe ser un <td> dentro de una fila <tr> en el <thead> de la tabla.

    2. CLASES CSS REQUERIDAS:
       - `quantity-totalizer`

       Esto asegura el color de fondo, la fuente en negrita y el espaciado correctos.
*/
/*
    REGLA: "TABLAS DE DATOS EXPANDIBLES"

    Esta es la guía para las tablas que deben mostrar todos sus resultados
    sin una barra de scroll vertical interna.

    1. ESTRUCTURA HTML:
       - El <div> que envuelve la <table> debe tener las clases:
         `overflow-x-auto shadow-sm rounded-lg`.

    2. COMPORTAMIENTO (IMPORTANTE):
       - El <div> contenedor NO debe tener ninguna clase que restrinja su altura,
         como `max-h-96`. Al omitir esta clase, la tabla se expandirá
         verticalmente para mostrar todas las filas que resulten de un filtro.
*/
:root {
  /* Paleta de Colores Principal (Tema) */
  --color-primary: #665E7B;
  /* Gris oscuro Andilab (para valores de KPI) */
  --color-primary-dark: #00005a;
  /* Azul Navy más oscuro para efecto hover */
  --color-primary-light: #D9A576;
  /* Mantenido para otros elementos como bordes de filtros */
  --color-secondary-blue: #58739d;
  /* Azul 25% más claro */
  --color-neutral-gray: #c7c7c7;
  /* Gris claro para Pareto */
  /* Paleta de Colores Secundarios y de UI */
  --color-link: #4396BE;
  /* Azul Secundario (para títulos de KPI) */
  --color-link-hover: #367da5;
  /* Versión más oscura para hover */
  --color-background: #E2E2E2;
  /* Color de fondo principal de la aplicación (aclarado 30%) */
  --color-text-base: #4A4A4A;
  --color-text-light: #FFFFFF;
  --color-favorite: #2c976b;
  /* Color para la estrella de favoritos (Verde MVGA) */
  /* Paleta de Colores para Alertas y Acentos */
  --color-accent-red: #ca1a0b;
  /* Rojo Portugal Oscuro (Estándar) */
  --color-accent-green: #2c976b;
  /* Verde MVGA */
  --color-accent-blue: #60A5FA;
  --color-accent-yellow: #f59e0b;
  /* Amarillo para destacar */
  --color-kpi-value: #665E7B;
  /* Gris Oscuro Andilab (Exclusivo para valores de KPI) */
  --color-title-component: #1A4B84;
  /* Azul Oscuro para Títulos de Componentes */
  /* --- DESIGN TOKENS (Panel de Control de Estilos) --- */
  /* Navegación */
  --nav-padding: 0.25rem;
  /* 4px */
  --nav-gap: 0.25rem;
  /* 4px */
  --nav-bg-color: #ffffff;
  /* white */
  /* Botones de Navegación */
  --btn-nav-padding-y: 0.5rem;
  /* 8px - Aumentado para altura estándar */
  --btn-nav-padding-x: 0.375rem;
  /* 6px */
  --btn-nav-padding-x: 0.375rem;
  /* 6px */
  --btn-nav-padding-x: 0.375rem;
  /* 6px */
  --btn-nav-padding-x: 0.75rem;
  /* 12px - REBAJADO desde 1.5rem */
  TEMA OSCURO (EJEMPLO)==========================================================================*/

  /* Cuando el body tenga la clase "dark-theme", estas variables sobreescribirán las de :root */
  body.dark-theme {
    /* Paleta de Colores Principal (Tema Oscuro) */
    --color-primary: #58a6ff;
    /* Un azul más brillante para destacar en fondos oscuros */
    --color-primary-dark: #80bfff;
    /* Azul más claro para hover */
    --color-primary-light: #D9A576;
    /* Mantenido para consistencia en bordes */
    /* Paleta de Colores Secundarios y de UI (Tema Oscuro) */
    --color-link: #79c0ff;
    /* Azul secundario más brillante */
    --color-link-hover: #a5d6ff;
    /* Versión más clara para hover */
    --color-background: #0d1117;
    /* Fondo principal oscuro (similar a GitHub) */
    --color-text-base: #c9d1d9;
    /* Color de texto principal claro */
    --color-text-light: #FFFFFF;
    /* Texto blanco se mantiene */
    --color-favorite: #f59e0b;
    /* El color de favoritos puede mantenerse */
    /* Paleta de Colores para Acentos (Tema Oscuro) */
    --color-title-component: #58a6ff;
    /* Títulos de componentes en azul brillante */
  }

  /* --- ESTILOS GENERALES Y DE BASE --- */
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text-base);
  }

  /* NEW: Standard H1 Title Style */
  h1 {
    color: var(--color-title-component);
  }
}
}
}
}
}






.chart-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  height: 350px;
  max-height: 400px;
}

.trend-chart-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.infographic-chart-container {
  position: relative;
  height: 400px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#behavior-matrix-container {
  position: relative;
  width: 100%;
  height: 450px;
}

@media (min-width: 768px) {
  .chart-container {
    height: 400px;
  }
}

.kpi-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#progress-bar {
  height: 100%;
  background-color: var(--color-link);
  /* Azul claro para visibilidad */
  width: 0%;
  border-radius: 9999px;
  transition: width 2s ease;
  /* Transición suave y deliberada */
}

/* --- Modal de Confirmación de Actualización: Botón Aceptar --- */
#update-modal-accept-btn {
  background-color: transparent;
  color: #000000;
}

#update-modal-accept-btn:hover {
  background-color: #153a66;
  color: #FFFFFF;
}

/* --- COMPONENTE #305: Spinner con Textos Alternos --- */
@keyframes c305-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.c305-spinner {
  width: 4rem;
  /* 64px */
  height: 4rem;
  /* 64px */
  border: 8px solid #e5e7eb;
  /* border-gray-300 */
  border-top-color: #3b82f6;
  /* border-t-blue-500 */
  border-radius: 50%;
  animation: c305-spin 1s linear infinite;
}

/* --- COMPONENTE #306: Spinner Global (Estilos movidos desde spinner-306.html) --- */
/* Keyframes para la pulsación del orbe central */
@keyframes c306-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(26, 75, 132, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(26, 75, 132, 0);
  }
}

/* Keyframes para la órbita de los satélites */
@keyframes c306-orbit {
  from {
    transform: rotate(0deg) translateX(45px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(45px) rotate(-360deg);
  }
}

/* Contenedor principal del nuevo spinner */
.c306-pulsing-orb {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbe central que pulsa */
.c306-orb {
  width: 30px;
  height: 30px;
  background-color: #1A4B84;
  /* Azul corporativo */
  border-radius: 50%;
  animation: c306-pulse 2s infinite;
}

/* Partículas satélite que orbitan */
.c306-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4396be;
  /* Azul de filtros */
  border-radius: 50%;
  animation: c306-orbit 3s linear infinite;
}

/* --- COMPONENTE #308: Spinner Global (Estilos duplicados y renombrados) --- */
/* Keyframes para la pulsación del orbe central */
@keyframes c308-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 74, 118, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(46, 74, 118, 0);
  }
}

/* Keyframes para la órbita de los satélites */
@keyframes c308-orbit {
  from {
    transform: rotate(0deg) translateX(45px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(45px) rotate(-360deg);
  }
}

/* Contenedor principal del nuevo spinner */
.c308-pulsing-orb {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbe central que pulsa */
.c308-orb {
  width: 30px;
  height: 30px;
  background-color: #2e4a76;
  /* Azul corporativo */
  border-radius: 50%;
  animation: c308-pulse 2s infinite;
}

/* Partículas satélite que orbitan */
.c308-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4396be;
  /* Azul de filtros */
  border-radius: 50%;
  animation: c308-orbit 3s linear infinite;
}

/* --- COMPONENTE #308: Spinner Global (Estilos duplicados y renombrados) --- */
/* Keyframes para la pulsación del orbe central */
@keyframes c308-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 74, 118, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(46, 74, 118, 0);
  }
}

/* --- COMPONENTE #308: Spinner Global (Estilos duplicados y renombrados) --- */
/* Keyframes para la pulsación del orbe central */
@keyframes c308-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 74, 118, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(46, 74, 118, 0);
  }
}

/* Keyframes para la órbita de los satélites */
@keyframes c308-orbit {
  from {
    transform: rotate(0deg) translateX(45px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(45px) rotate(-360deg);
  }
}

/* Contenedor principal del nuevo spinner */
.c308-pulsing-orb {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbe central que pulsa */
.c308-orb {
  width: 30px;
  height: 30px;
  background-color: #2e4a76;
  /* Azul corporativo */
  border-radius: 50%;
  animation: c308-pulse 2s infinite;
}

/* Partículas satélite que orbitan */
.c308-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4396be;
  /* Azul de filtros */
  border-radius: 50%;
  animation: c308-orbit 3s linear infinite;
}

/* --- COMPONENTE #308: Spinner Global (Estilos duplicados y renombrados) --- */
/* Keyframes para la pulsación del orbe central */
@keyframes c308-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(26, 75, 132, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(26, 75, 132, 0);
  }
}

/* Keyframes para la órbita de los satélites */
@keyframes c308-orbit {
  from {
    transform: rotate(0deg) translateX(45px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(45px) rotate(-360deg);
  }
}

/* Contenedor principal del nuevo spinner */
.c308-pulsing-orb {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbe central que pulsa */
.c308-orb {
  width: 30px;
  height: 30px;
  background-color: #1A4B84;
  /* Azul corporativo */
  border-radius: 50%;
  animation: c308-pulse 2s infinite;
}

/* Partículas satélite que orbitan */
.c308-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4396be;
  /* Azul de filtros */
  border-radius: 50%;
  animation: c308-orbit 3s linear infinite;
}

/* --- COMPONENTE: Botones Flotantes Responsivos --- */
/* Anula las clases de Tailwind 'left-8' y 'right-8' para centrar los botones en los márgenes. */
#go-to-index-btn {
  left: 0.25rem;
  /* Más hacia la izquierda para evitar tocar componentes */
  transition: left 0.3s ease-in-out;
}

#back-to-top-btn {
  right: 3.5rem;
  /* Más hacia la derecha, aproximadamente 7 caracteres */
  transition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s eate-in-our;
  ansition: right 0.3s ease-in-out;
}
}
}
}
}
}
}
}
}






4 4
}

4
}

@med
}

ia (min-wid4h: 640px) {}

#go-to-inde4-btn {}
}

left: 045rem;
/* Más hacia la izquierda */
}
}

4
}

}

#bac
}

k-to-to4-btn {}
}

right: 4rem;
/* Más hacia la derecha */
}
}
}


@med
}

ia (min-width: 1024px) {
  #g o-to-index-btn {}

  left: 1rem;
  /* Más hacia la izquierda */
}
}

#back-to-top-btn {
  right: 4.5rem;
  /* Más hacia la derecha */
}
}



.analysis-text {
  background-color: #EAEFF0 !important;
  border-left: 4px solid #4396BE !important;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.25rem;
}

.formulas-box {
  background-color: #fdfaf6;
  border: 1px solid #e9e0d7;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.formulas-box p {
  color: #4396BE;
  /* Azul claro, igual que el borde de la guía */
}

.formula-text {
  font-family: monospace;
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #4A4A4A;
  /* Color de texto base para la fórmula */
}

/* --- NUEVO: Estilos para Tarjetas de Contenido (Manual y DO) --- */
.formula-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  /* gray-200 */
  border-radius: 0.5rem;
  /* rounded-lg */
  padding: 1.5rem;
  /* p-6 */
  margin-bottom: 1.5rem;
  /* mb-6 */
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  /* shadow-sm */
}

.formula-card h4 {
  font-size: 1.125rem;
  /* text-lg */
  font-weight: 700;
  /* font-bold */
  color: var(--color-primary);
  /* Azul Corporativo */
  margin-bottom: 0.75rem;
  /* mb-3 */
}

.formula-card p {
  font-size: 0.875rem;
  /* text-sm */
  color: #4b5563;
  /* text-gray-600 */
  margin-bottom: 1rem;
  line-height: 1.6;
}

.formula-card p:last-child {
  margin-bottom: 0;
}

.formula-card ul,
.formula-card ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.formula-card code {
  background-color: #f3f4f6;
  /* gray-100 */
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
  color: #be185d;
  /* fuchsia-700 para destacar código/conceptos */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* --- NEW: Analysis Guide Title --- */
/* Centralizes the style for all h4 titles inside .analysis-text blocks */
.analysis-title {
  color: var(--color-title-component);
  /* Azul oscuro estándar para títulos de componente */
}

/* NEW: Analysis Guide Sub-Title */
.analysis-text h5 {
  color: var(--color-link);
  /* Azul claro #4396be */
}

/* --- NEW: Component Title --- */
/* Centralizes the style for all main h2 component titles */
.component-title {
  color: var(--color-title-component);
}

/* --- NEW: KPI Card Title --- */
/* Centralizes the style for all h3 titles inside .kpi-card blocks */
.kpi-card h3 {
  color: var(--color-link);
  /* Azul claro #4396be */
}

/* --- ESTILOS DE SEGMENTOS Y ALERTAS --- */
.alert-card {
  background-color: #fff;
  border-left-width: 4px;
}

.alert-opportunity {
  border-color: var(--color-accent-green);
}

.alert-risk {
  border-color: var(--color-accent-red);
}

.alert-insight {
  border-color: var(--color-accent-blue);
}

/* --- NEW: Componente de Pestañas de Alerta --- */
.alert-tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  /* p-3 */
  border: 1px solid #e5e7eb;
  /* border-gray-200 */
  border-bottom: 4px solid transparent;
  border-radius: 0.5rem;
  /* rounded-lg */
  background-color: white;
  width: 120px;
  height: 90px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  /* shadow-md */
}

.alert-tab-button:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  /* shadow-lg */
}

.alert-tab-button.active {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  /* shadow-xl */
}

/* Colores de la barra inferior para el estado activo */
.alert-tab-button.alert-risk.active {
  border-bottom-color: var(--color-accent-red);
}

.alert-tab-button.alert-opportunity.active {
  border-bottom-color: var(--color-accent-green);
}

.alert-tab-button.alert-insight.active {
  border-bottom-color: var(--color-accent-blue);
}

/* --- COMPONENTE: Insignia de Segmento (Segment Badge) --- */
/* Estilo base para todas las insignias de segmento. */
.segment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  /* py-1 px-2 */
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 700;
  /* font-bold */
  border-radius: 9999px;
  /* rounded-full */
  width: 1.5rem;
  /* 24px (w-6) */
  height: 1.5rem;
  /* 24px (h-6) */
  cursor: pointer;
  /* Añadir cursor pointer para indicar que son clickeables */
}

/* Modificadores de color por tipo de segmento */
/* Segmentos Estratégicos (Matriz de Comportamiento) */
.segment-badge[data-segment="Clientes TOP"] {
  background-color: #dcfce7;
  color: #2c976b;
}

.segment-badge[data-segment="Grandes Compradores"] {
  background-color: #dbeafe;
  color: #4338ca;
}

.segment-badge[data-segment="Clientes Leales"] {
  background-color: #fefce8;
  color: #a16207;
}

.segment-badge[data-segment="En Riesgo"] {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Segmentos ABC (Pareto) */
.segment-badge[data-segment="A"] {
  background-color: #D4EDDA;
  color: #2c976b;
}

.segment-badge[data-segment="B"] {
  background-color: #FFF3CD;
  color: #856404;
}

.segment-badge[data-segment="C"] {
  background-color: #F8D7DA;
  color: #ca1a0b;
}

/* Tipos de Cliente */
.segment-badge[data-segment="EMERGENTE"],
.segment-badge[data-segment="CONSIGNADO"],
.segment-badge[data-segment="NO ASIGNADO"] {
  background-color: #e5e7eb;
  color: #374151;
}

/* --- ESTILOS DE TABLAS Y MAPAS DE CALOR --- */
/* --- COMPONENTE: Descripción de Componente --- */
/* Estilo unificado para el párrafo descriptivo debajo del título de un componente. */
.component-description {
  font-size: 0.875rem;
  /* text-sm */
  color: #6b7280;
  /* text-gray-500 */
  text-align: center;
  margin-bottom: 1.5rem;
  /* mb-6 */
  max-width: 56rem;
  /* max-w-4xl */
  margin-left: auto;
  margin-right: auto;
}

/* NUEVO: Estilos para tablas de datos interactivas */
.data-table>tbody>tr:nth-child(even) {
  background-color: #f9fafb;
  /* Tailwind gray-50 */
}

.data-table>tbody>tr:hover {
  background-color: #fefce8;
  /* Amarillo pastel (Tailwind yellow-50) */
}

.data-table>tbody>tr>td {
  padding-top: 0.25rem;
  /* 4px */
  padding-bottom: 0.25rem;
  /* 4px */
  font-size: 0.75rem;
  /* 12px, para consistencia con otras tablas */
  vertical-align: middle;
  /* Centra el contenido verticalmente */
}

/* NUEVO: Estilo para celdas de fórmula en la tabla de KPIs */
.data-table .kpi-formula-cell {
  font-family: monospace;
  background-color: #f9fafb;
  /* Tailwind gray-50 */
  font-size: 0.8rem;
}

/* NUEVO: Estilos para las columnas de la tabla de KPIs */
.data-table .kpi-col-no {
  width: 4%;
}

.data-table .kpi-col-type {
  width: 1%;
  /* Técnica para forzar a la columna a ajustarse al contenido con nowrap */
  white-space: nowrap;
  /* Asegura que el texto no se divida en varias líneas */
}

.data-table .kpi-col-name {
  width: 1%;
  white-space: nowrap;
}

.data-table .kpi-col-formula {
  width: 1%;
  white-space: nowrap;
}

.data-table .kpi-col-description {
  width: auto;
  /* Ocupa el espacio restante de forma flexible */
}

/* NUEVO: Estilo para el nombre del KPI clicable */
.kpi-name-link {
  color: #2c976b;
  /* Verde MVGA */
  font-weight: 600;
  text-decoration: none;
}

.kpi-name-link:hover {
  text-decoration: underline;
}

/* NUEVO: Estilo para la fila de KPI seleccionada */
.data-table>tbody>tr.kpi-row-selected {
  background-color: #fefce8 !important;
  /* Amarillo pastel (Tailwind yellow-50) */
}

/* NUEVO: Estilo para filas de transacciones negativas (ej. devoluciones) */
/* Se aplica a cualquier <tr> con este atributo de datos, centralizando el estilo. */
.data-table>tbody>tr[data-transaction-type="negative"] {
  color: #ca1a0b;
  /* Rojo Portugal Oscuro (Estándar) */
}

/* NUEVO: Estilos para checkboxes de activación/desactivación */
.checkbox-activated {
  background-color: #2c976b !important;
  /* Verde MVGA */
  border-color: #2c976b !important;
}

.checkbox-deactivated {
  background-color: #e5e7eb !important;
  /* gray-200 */
  border-color: #d1d5db !important;
  /* gray-300 */
}

/* Fin de nuevos estilos */
.heatmap-cell {
  transition: all 0.3s ease;
}

.heatmap-cell:hover {
  transform: scale(1.05);
  z-index: 10;
}

th[data-sort] .sort-indicator {
  display: inline-block;
  width: 1em;
  height: 1em;
  color: inherit;
  /* Hereda el color del texto del encabezado (<th>) */
  transition: color 0.2s, transform 0.2s;
  pointer-events: none;
}

th[data-sort]:hover .sort-indicator {
  opacity: 0.8;
}

th[data-sort].sorted-asc .sort-indicator {
  transform: rotate(180deg);
  opacity: 1;
}

th[data-sort].sorted-desc .sort-indicator {
  transform: rotate(0deg);
  opacity: 1;
}

/* --- ESTILOS DE ENLACES Y ANIMACIONES --- */
.index-link {
  color: var(--color-text-base);
  text-decoration: none;
  font-weight: 600;
}

.index-link:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

@keyframes highlight-animation {
  0% {
    background-color: rgba(217, 165, 118, 0.4);
  }

  100% {
    background-color: transparent;
  }
}

.highlight-scroll {
  animation: highlight-animation 2s ease-out;
  border-radius: 0.75rem;
}

.action-btn {
  /* Estructura y Texto */
  padding: 0.5rem 1rem;
  /* py-2 px-4 */
  border-radius: 0.5rem;
  /* rounded-lg */
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 600;
  /* font-semibold (menos negrita) */
  transition: background-color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  /* Tema de Color Base (Neutro) */
  background-color: #e2e8f0;
  /* Gris claro */
  color: var(--color-primary);
  /* Azul oscuro */
  border-color: #d1d5db;
  /* gray-300 */
}

.action-btn:hover {
  filter: brightness(95%);
}

.action-btn.active {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* NUEVO: Variante de éxito para botones de acción (ej. Exportar) */
.action-btn-success {
  background-color: #dcfce7;
  /* Verde Pastel */
  color: #665E7B;
  /* Gris Oscuro Andilab */
  border-color: #a7f3d0;
  /* Verde más oscuro para el borde */
}

.action-btn-success:hover {
  filter: brightness(95%);
}

.action-btn-success:active {
  filter: brightness(90%);
  border-color: #2c976b;
  /* Verde MVGA */
}

/* --- NUEVO: Estilo Específico para Botón de Exportación #309 --- */
/*
  Esta clase define el estándar visual exclusivo para todos los botones
  que utilizan la lógica del Elemento #309 (exportación a Excel).
  Combina la estructura de .action-btn con el tema de color de .action-btn-success
  en una única clase semántica para desacoplamiento y claridad.
*/
.btn-export-excel-309 {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
  background-color: #dcfce7;
  /* Verde Pastel */
  color: #665E7B;
  /* Gris Oscuro Andilab */
  border: 1px solid #a7f3d0;
  /* Verde más oscuro para el borde */
}

.btn-export-excel-309:hover {
  filter: brightness(95%);
  /* Replica el efecto de oscurecimiento de .action-btn */
}

/* NUEVO: Variante compacta del botón de acción para alinear con filtros <select> */
.action-btn-compact {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  font-size: 0.75rem;
  /* 12px */
  text-transform: uppercase;
  height: 27px;
  /* Altura fija para coincidir con el select */
  align-self: flex-end;
  /* Asegura que se alinee en la parte inferior con los selects */
}

/* NUEVO: Variante pequeña del botón de acción con el mismo tamaño que el botón de exportar Excel */
.action-btn-small {
  padding: 0.25rem 0.5rem;
  /* py-1 px-2 */
  font-size: 0.75rem;
  /* text-xs */
  border-radius: 0.5rem;
  /* rounded-lg */
}

/* --- COMPONENTE: Botón de Mapa de Calor --- */
/* Define la apariencia base de los botones de métrica del mapa de calor. */
.heatmap-btn {
  padding: 0.5rem;
  /* p-2 */
  font-size: 0.875rem;
  /* text-sm */
}

/* Estado Activo: se aplica cuando el atributo data-active es 'true' */
.heatmap-btn[data-active="true"] {
  background-color: #A77B5A;
  color: white;
}

/* Estilos para tarjetas editables */
.editable-card {
  padding: 0.75rem;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  /* Borde oscuro semitransparente */
  border-radius: 0.375rem;
  background-color: rgba(0, 0, 0, 0.05);
  /* Fondo oscuro muy sutil */
  min-height: 120px;
  transition: border 0.2s, background-color 0.2s;
}

.editable-card:focus {
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.4);
  /* Borde más oscuro al enfocar */
  background-color: rgba(0, 0, 0, 0.08);
  /* Fondo ligeramente más oscuro al enfocar */
}

/* --- STYLES FOR STRATEGIC NOTES SECTION --- */
.note-tab-label {
  cursor: pointer;
}

.note-tab-span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-bottom: 3px solid transparent;
  color: #6b7280;
  /* gray-500 */
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

.note-tab-label:hover .note-tab-span {
  color: #111827;
  /* gray-900 */
}

.note-tab-label input:checked+.note-tab-span {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- NEW: Sub-navigation for Development Tab --- */
.subnav-dev-button {
  white-space: nowrap;
  border-bottom: 2px solid var(--color-accent-green);
  /* Barra verde por defecto */
  padding: 0.25rem 0.5rem 0.75rem 0.5rem;
  font-size: 1rem;
  /* text-sm */
  font-weight: 600;
  /* font-semibold */
  color: var(--color-accent-green);
  /* Verde por defecto */
  transition: border-color 0.2s, color 0.2s;
}

.subnav-dev-button:hover {
  border-color: var(--color-primary);
  /* Azul oscuro para el hover */
  color: var(--color-primary);
}

.subnav-dev-button.active {
  border-color: var(--color-primary);
  /* Azul oscuro para activo */
  color: var(--color-primary);
}

/* --- NEW: Development-only elements --- */
/* Hides elements intended only for development mode by default. */
.dev-only {
  display: none;
}

/* --- NEW: Componente #103 - Barra de Ponderación --- */
.weight-bar-container {
  position: relative;
  width: 100%;
  height: 24px;
  background-color: #e5e7eb;
  /* gray-200 */
  border-radius: 0.375rem;
  /* rounded-md */
  overflow: hidden;
}

.weight-bar {
  height: 100%;
  background-color: var(--color-primary);
  /* Azul Corporativo */
  transition: width 0.5s ease-in-out;
}

.weight-bar-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 700;
  /* font-bold */
  font-size: 0.875rem;
  /* text-sm */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- COMPONENTE: Botón de Toggle para Métricas Anuales --- */
/* Define la apariencia de los botones que cambian la métrica en las tablas de desarrollo. */
.annual-toggle-btn {
  /* Tema de Color (Estado Inactivo) */
  background-color: white;
  color: #A77B5A;
  /* Estructura y Texto */
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 700;
  /* font-bold */
  padding: 0.25rem 0.75rem;
  /* py-1 px-3 */
  border-radius: 9999px;
  /* rounded-full */
}

/* Estado Activo */
.annual-toggle-btn.active {
  background-color: #A77B5A;
  color: white;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}

.prose strong {
  font-weight: bold;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--color-link);
  text-decoration: underline;
}

.prose h1,
.prose h2,
.prose h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.prose h1 {
  font-size: 1.875rem;
}

.prose h2 {
  font-size: 1.5rem;
}

.prose h3 {
  font-size: 1.25rem;
}

title-component);
}

/* --- CLASES DE TEMAtitle-component);
} (SOLO COLORES) --- */
/* Estas clases se ustitle-component);
}an en el HTML junto con las clases de Tailwind para aplicar el tema. */
/* Tema para el subtítitle-component);
}tulo principal */
.theme-text-primary {
  title-component);
}

color: var(--color-title-component);
}

/* Tema para el botón principal (ej. "Generar Reporte") */
.btn-primary-theme {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-primary-theme:hover {
  background-color: var(--color-primary-dark);
}

.btn-primary-theme:disabled {
  background-color: #64748b;
  /* slate-500, un azul grisáceo para el estado deshabilitado */
  cursor: not-allowed;
}

/* Tema para la barra de progreso del loader */
.theme-progress-bar {
  background-color: var(--color-primary);
}

/* Tema para el contenedor de la barra de navegación */
.nav-container {
  padding: var(--nav-padding);
  gap: var(--nav-gap);
  background-color: var(--nav-bg-color);
  border-color: transparent;
}

/* --- COMPONENTE: Botón de Navegación --- */
/* Esta única clase ahora controla TODA la apariencia del botón. */
.nav-button {
  /* Estructura y Forma */
  padding: var(--btn-nav-padding-y) var(--btn-nav-padding-x);
  /* --- FIX (v3.5.R45): Restore rounded corners on navigation buttons. --- */
  border-radius: 0.5rem;
  /* rounded-lg - FIX: Se elimina la declaración duplicada que usaba una variable no definida. */
  box-shadow: var(--btn-nav-shadow);
  font-weight: 700;
  /* font-bold */
  font-size: 0.875rem;
  /* text-sm */
  flex-shrink: 0;
  /* NUEVO: Evita que los botones se encojan cuando no hay espacio */
  /* Tema de Color (Estado Inactivo) */
  background-color: #e2e8f0;
  /* Fondo gris claro */
  color: var(--color-primary);
  /* Texto Azul Navy */
  /* Transiciones */
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Estado Activo */
.nav-button.active {
  background-color: var(--color-title-component);
  /* Azul Oscuro para Títulos de Componentes */
  color: var(--color-text-light);
  /* Texto blanco */
}

/* Estado Hover (solo para botones inactivos) */
.nav-button:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: var(--btn-nav-shadow-hover);
}

/* Media query para tamaños de fuente responsivos */
@media (min-width: 640px) {
  .nav-button {
    font-size: 1rem;
    /* text-base */
  }
}

/* --- COMPONENTE: Tabla con Totales Flotantes --- */
/*
  Uso: <table class="floating-totals-table"> ... </table>
  El JS debe generar dos <tbody>: 'totals-tbody' y 'main-data-tbody'.
*/
.floating-totals-table {
  width: 100%;
  font-size: 0.875rem;
  /* text-sm */
  border-spacing: 0 0.75rem;
  /* Crea el espacio entre los dos tbody */
  border-collapse: separate;
}

/* === 1. Bloque de Totales (Superior) === */
.floating-totals-table .totals-tbody>tr:first-child {
  background-color: #4396BE;
  /* Azul de filtros, 30% más claro */
}

.floating-totals-table .totals-tbody>tr:first-child>th {
  padding: 0.25rem;
  /* Revertido a 4px en todos los lados */
  text-align: center;
  font-weight: 700;
  /* font-bold */
  color: var(--color-text-light);
  /* Texto blanco */
}

/* Celdas de esquina para el efecto flotante */
.floating-totals-table .totals-tbody .corner-cell {
  background-color: white;
  /* Fondo blanco por defecto para las celdas de esquina vacías */
}

.floating-totals-table .totals-tbody tr:first-child>th:first-child {
  background-color: transparent;
  /* La primera celda (Cantidad) hereda el color de la fila */
}

.floating-totals-table .totals-tbody tr:first-child .corner-cell {
  border-top-left-radius: 0.5rem;
  /* rounded-tl-lg */
}

.floating-totals-table .totals-tbody tr:last-child .corner-cell {
  border-bottom-left-radius: 0.5rem;
  /* rounded-bl-lg */
}

.floating-totals-table .totals-tbody>tr:first-child>th:last-child {
  border-top-right-radius: 0.5rem;
  /* rounded-r-lg */
}

.floating-totals-table .totals-tbody>tr:last-child {
  background-color: white;
  /* Color base para el efecto alterno */
}

.floating-totals-table .totals-tbody>tr:last-child>td {
  padding: 0.25rem;
  /* p-2 reducido aún más */
  text-align: center;
  font-weight: 400;
  /* font-normal */
  font-size: 0.75rem;
  /* text-xs (12px) - Unificado con el cuerpo de la tabla */
  color: #4A4A4A;
  /* Color de texto oscuro para legibilidad */
  font-variant-numeric: tabular-nums;
  /* Para alinear números */
}

.floating-totals-table .totals-tbody>tr:last-child>td:last-child {
  border-bottom-right-radius: 0.5rem;
  /* rounded-r-lg */
}

/* NUEVO: Estilo para la celda de conteo de ítems en el bloque de totales */
.floating-totals-table .totals-tbody .item-count-cell {
  background-color: #f3f4f6;
  /* Tailwind gray-100 */
  font-weight: 700;
  /* font-bold */
  border-bottom-left-radius: 0.5rem;
  /* rounded-bl-lg */
}

/* === 2. Bloque de Datos Principal (Inferior) === */
.floating-totals-table .main-data-tbody {
  background-color: white;
  border-radius: 0.5rem;
  /* rounded-lg */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  /* shadow-lg */
  border: 1px solid #e5e7eb;
  /* border-gray-200 */
}

.floating-totals-table .main-data-tbody>tr:first-child {
  background-color: #4396BE;
  /* Azul de filtros, 30% más claro */
  color: var(--color-text-light);
  /* Texto blanco */
}

.floating-totals-table .main-data-tbody th {
  padding: 0.4375rem 0.4rem;
  /* 7px vertical, 6.4px horizontal */
  text-align: center;
}

.floating-totals-table .main-data-tbody>tr:first-child>th:first-child {
  border-top-left-radius: 0.5rem;
  /* rounded-tl-lg */
}

.floating-totals-table .main-data-tbody>tr:first-child>th:last-child {
  border-top-right-radius: 0.5rem;
  /* rounded-tr-lg */
}

.floating-totals-table .main-data-tbody>tr:not(:first-child) {
  border-bottom: 1px solid #e5e7eb;
  /* border-b */
}

.floating-totals-table .main-data-tbody>tr:last-child {
  border-bottom: none;
}

/* NUEVO: Estilo cebra para filas de datos (gris claro en filas de datos impares) */
.floating-totals-table .main-data-tbody>tr:nth-child(odd):not(:first-child) {
  background-color: #f3f4f6;
  /* Tailwind gray-100, un tono más oscuro */
}

.floating-totals-table .main-data-tbody>tr:not(:first-child):hover {
  /* Un gris ligeramente más oscuro para que el hover sea visible en todas las filas */
  background-color: #fefce8;
  /* Amarillo pastel (Tailwind yellow-50) para consistencia */
}

.floating-totals-table .main-data-tbody td {
  /* Padding vertical de 4px y horizontal de 0.4rem (6.4px) */
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
  /* text-xs */
  vertical-align: middle;
  /* Centra el contenido verticalmente */
}

/* NUEVO: Activar "tabular-nums" para que todos los dígitos tengan el mismo ancho */
.floating-totals-table .main-data-tbody td:not(.data-key):not(.data-name) {
  /* Esto afecta a las columnas: No., meses, total y promedio */
  font-variant-numeric: tabular-nums;
}

.floating-totals-table .main-data-tbody .data-name {
  font-weight: 600;
  /* font-semibold */
  color: #374151;
  /* text-gray-700 */
}

.floating-totals-table .main-data-tbody .data-total,
.floating-totals-table .main-data-tbody .data-average {
  font-weight: 700;
  /* font-bold */
}

.floating-totals-table .main-data-tbody .data-average {
  color: #A77B5A;
}

/* NUEVO: Ajuste de ancho para columnas de totales y promedio */
.floating-totals-table .totals-tbody>tr:last-child>td:nth-last-child(-n+2),
.floating-totals-table .main-data-tbody .data-total,
.floating-totals-table .main-data-tbody .data-average {
  width: 9ch;
  /* Ancho para aprox. "1,000,000" */
}

/* NUEVO: Aplicar alineación a la derecha solo a las celdas de datos de total y promedio */
.floating-totals-table .main-data-tbody .data-total,
.floating-totals-table .main-data-tbody .data-average {
  text-align: right;
}

/* --- DEFINITIVE FIX: Set fixed widths for all data columns --- */
/* Monthly data columns */
.floating-totals-table .main-data-tbody td:nth-child(n+4):not(:nth-last-child(-n+2)) {
  width: 7ch;
  text-align: right;
}

/* Total column */
.floating-totals-table .main-data-tbody .data-total {
  width: 9ch;
}

/* Average column */
.floating-totals-table .main-data-tbody .data-average {
  width: 7ch;
}

/* --- NEW: Fixed widths for Product Metrics table --- */
.floating-totals-table .col-no {
  width: 3ch;
}

.floating-totals-table .col-sku {
  width: 10ch;
}

/* --- NEW: Set fixed width for monthly data columns --- */
/* Redondeo de esquinas inferiores en la última fila */
.floating-totals-table .main-data-tbody>tr:last-child>td:first-child {
  border-bottom-left-radius: 0.5rem;
  /* rounded-bl-lg */
}

.floating-totals-table .main-data-tbody>tr:last-child>td:last-child {
  border-bottom-right-radius: 0.5rem;
  /* rounded-br-lg */
}

/* --- COMPONENTE: Grupo de Filtros y Botones --- */
/* Movido desde index.html para centralizar estilos */
.filter-group {
  border-radius: 0.5rem;
  /* rounded-lg */
}

.component-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  /* Aumentado 25% para mejor legibilidad */
  min-height: unset;
  /* Anula cualquier altura mínima previa */
  padding: 0.25rem 1.25rem;
  /* Padding ajustado para nueva altura y ancho */
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  background-color: white;
  color: #4A5568;
  font-size: 10px;
  /* Aumentado 25% */
  font-weight: 600;
  /* semibold */
  text-transform: uppercase;
  /* REGLA: Todo el texto de los filtros en mayúsculas */
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  text-align: center;
}

.filter-btn-multiline {
  flex-direction: column;
  line-height: 1.2;
  /* Espaciado de línea más ajustado */
}

.filter-btn-multiline>span {
  font-size: 8px;
  /* 8px - Estándar para línea secundaria */
  font-size: 9px;
  /* 8px - Estándar para línea secundaria */
  text-transform: none;
  /* La línea secundaria no va en mayúsculas */
}

.component-filter-btn[data-client-type-filter="all"],
.component-filter-btn[data-ranking-filter="all"] {
  background-color: #e2e8f0;
}

.component-filter-btn[data-client-type-filter="EMERGENTE"],
.component-filter-btn[data-client-type-filter="CONSIGNADO"],
.component-filter-btn[data-ranking-filter="top20"],
.component-filter-btn[data-client-type-filter="NO ASIGNADO"] {
  background-color: #e2e8f0;
  border-color: #d1d5db;
}

/* REFACTOR: Unificar estilo hover y active para TODOS los botones de filtro */
.component-filter-btn:hover:not(.active) {
  filter: brightness(95%);
  /* Oscurece ligeramente cualquier color de fondo */
}

/* REFACTOR: Unificar estilo :active para TODOS los botones de filtro, incluyendo los estratégicos */
.component-filter-btn.active,
.strategic-segment-btn.active {
  filter: brightness(92%);
  /* Oscurece un poco más para el estado activo */
  border-width: 2px;
  /* Borde más grueso para destacar */
  border-color: var(--color-link) !important;
  /* Borde azul claro para consistencia, !important para sobreescribir colores de segmento */
}

/* Colores específicos para filtros de segmento de producto (A, B, C) */
.component-filter-btn[data-product-segment-filter="all"] {
  background-color: #e2e8f0;
}

.component-filter-btn[data-product-segment-filter="A"] {
  background-color: #D4EDDA;
  border-color: #b8e0c0;
}

.component-filter-btn[data-product-segment-filter="B"] {
  background-color: #FFF3CD;
  border-color: #fdeeb3;
}

.component-filter-btn[data-product-segment-filter="C"] {
  background-color: #F8D7DA;
  border-color: #f5c6cb;
}

/* --- NEW: Unify text color for ALL product segment buttons --- */
.component-filter-btn[data-product-segment-filter] {
  color: var(--color-primary);
  /* #1A4B84 */
}

/* --- NEW: Colores específicos para filtros de segmento de cliente (A, B, C) --- */
.component-filter-btn[data-client-segment-filter="all"] {
  background-color: #e2e8f0;
}

.component-filter-btn[data-client-segment-filter="A"] {
  background-color: #D4EDDA;
  border-color: #b8e0c0;
}

.component-filter-btn[data-client-segment-filter="B"] {
  background-color: #FFF3CD;
  border-color: #fdeeb3;
}

.component-filter-btn[data-client-segment-filter="C"] {
  background-color: #F8D7DA;
  border-color: #f5c6cb;
}

/* --- COMPONENTE: Botón de Segmento Estratégico --- */
/* Este es el "cerebro lógico" para los botones de segmento. */
.strategic-segment-btn {
  /* Hereda la estructura de .component-filter-btn pero define su propia identidad visual */
  color: #374151;
  /* text-gray-700 */
  font-weight: 400;
  /* Grosor Normal */
}

/* Tamaño de fuente para la línea secundaria de los botones de cliente */
.strategic-segment-btn.filter-btn-multiline>span {
  font-size: 7px;
  font-size: 8px;
  font-size: 9px;
  color: var(--color-primary);
  /* #1A4B84 - Unificar color de texto */
}

/* --- NEW: Standard Summary Bar --- */
/* Estilo unificado para las barras de resumen de las tablas, basado en COM-200. */
.summary-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  /* Espacio horizontal entre elementos */
  background-color: #f3f4f6;
  /* bg-gray-100 */
  padding: 0.5rem;
  /* p-2 */
  border-radius: 0.5rem;
  /* rounded-lg */
  margin-bottom: 1rem;
  /* mb-4 */
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 600;
  /* font-semibold */
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  /* shadow-inner */
}

/* Colores específicos para cada segmento */
.strategic-segment-btn[data-strategic-filter="all"] {
  background-color: #e2e8f0;
}

.strategic-segment-btn[data-strategic-filter="Clientes TOP"] {
  background-color: #dcfce7;
  border-color: #a7f3d0;
}

.strategic-segment-btn[data-strategic-filter="Grandes Compradores"] {
  background-color: #dbeafe;
  border-color: #bfdbfe;
}

.strategic-segment-btn[data-strategic-filter="Clientes Leales"] {
  background-color: #fefce8;
  border-color: #fef08a;
}

.strategic-segment-btn[data-strategic-filter="En Riesgo"] {
  background-color: #fee2e2;
  /* border-color: #ca1a0b; */
}

/* --- COMPONENTE: Totalizador de Cantidad --- */
/* Estilo unificado para la celda que muestra la cantidad de ítems en una tabla. */
.quantity-totalizer {
  background-color: #f3f4f6;
  /* Tailwind gray-100 */
  font-weight: 700;
  /* font-bold */
  text-align: center;
  padding: 0.5rem;
  /* p-2 */
  font-size: 0.875rem;
  /* text-sm */
}

/* --- COMPONENTE: Filtro Desplegable Estándar --- */
/* Esta regla unifica el estilo de todos los <select> en la aplicación. */
.standard-filter-select {
  /* width: 100%; Se elimina para permitir que el ancho se ajuste dinámicamente al contenido. */
  border-radius: 0.375rem;
  /* rounded-md */
  border-width: 1px;
  /* Borde más sutil */
  border-color: #1A4B84;
  /* Azul Oscuro (Nuevo Tema) */
  background-color: #4396be;
  /* Azul Claro (Nuevo Tema) */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  /* shadow-sm */
  padding: 0.2rem 0.75rem 0.2rem 0.25rem;
  /* Revertido a 3.2px arriba/abajo */
  font-size: 0.625rem;
  /* 10px */
  font-weight: 600;
  text-transform: uppercase;
  /* FORZAR MAYÚSCULAS para un look uniforme */
  color: var(--color-text-light);
  /* Texto blanco para contraste */
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.standard-filter-select.placeholder-white::placeholder {
  color: white !important;
  opacity: 1;
}

.standard-filter-select:focus {
  outline: none;
  border-color: var(--color-link);
  /* focus:border-[#A77B5A] */
  box-shadow: 0 0 0 3px rgba(67, 150, 190, 0.4);
  /* Anillo de foco azul */
}

/* NUEVO: Estilo para el estado activo de los filtros desplegables */
.standard-filter-select.active {
  background-color: var(--color-title-component);
  /* Azul oscuro para consistencia con botones activos */
  border-color: var(--color-link);
  /* Azul claro (#4396be) */
}

/*
    REGLA: "ANCHO DINÁMICO DE FILTROS DESPLEGABLES"

    Esta es la guía para asegurar que los filtros <select> se ajusten
    automáticamente al ancho de su contenido.

    1. ESTILO CSS (en .standard-filter-select):
       - La propiedad `width: 100%;` DEBE estar comentada o eliminada. Esto "libera"
         el filtro y permite que su ancho sea controlado por JavaScript.

    2. LÓGICA JAVASCRIPT (Función `adjustSelectWidth` en `main.js`):
       - Esta función mide el texto de la opción más larga dentro de un <select>.
       - Para garantizar una medición precisa, la función construye manualmente la
         cadena de fuente (ej. "600 12px 'Inter', sans-serif") basándose en los
         estilos definidos en este mismo archivo (Cerebro Lógico).
       - Al ancho del texto medido, se le suman 40px para compensar el padding
         horizontal y el espacio para el ícono de la flecha.

    3. EJECUCIÓN (Módulo `ui.js`):
       - La función `adjustSelectWidth` NO se llama inmediatamente después de poblar
         un filtro.
       - Se ejecuta de forma centralizada desde el módulo de UI, específicamente
         cuando una pestaña de navegación se hace visible. Esto garantiza que el
         filtro ya ha sido renderizado por el navegador y sus propiedades se
         pueden medir con total fiabilidad.
*/
/* --- COMPONENTE: Filtro de Búsqueda Estándar (Input) --- */
.standard-filter-input {
  width: 100%;
  border-radius: 0.375rem;
  /* rounded-md */
  border-width: 2px;
  border-color: var(--color-primary-light);
  /* border-[#D9A576] */
  background-color: #fffbeb;
  /* bg-amber-50 */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  /* shadow-sm */
  padding: 0.2rem 0.75rem 0.2rem 4px;
  /* Padding izquierdo reducido a 4px */
  font-size: 0.75rem;
  /* 12px, para consistencia */
  font-weight: 600;
  text-transform: uppercase;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.standard-filter-input::placeholder {
  color: #a1a1aa;
  /* zinc-400 */
  font-weight: 500;
  text-transform: none;
  /* Placeholder no debe estar en mayúsculas */
}

.standard-filter-input:focus {
  outline: none;
  border-color: var(--color-link);
  /* focus:border-[#A77B5A] */
  box-shadow: 0 0 0 3px rgba(167, 123, 90, 0.3);
  /* Anillo de foco personalizado */
}

/* --- NUEVO TEMA: Sobrescribir colores de encabezados de tabla --- */
/* Esta regla anula los colores de Tailwind aplicados en el HTML para los thead. */
.data-table>thead,
.floating-totals-table .main-data-tbody>tr:first-child {
  background-color: #4396BE;
  /* Azul de filtros, 30% más claro */
  color: var(--color-text-light);
  /* Texto blanco */
}

/* ==========================================================================
   FIX: Estilo para los botones de carga de archivos
   ========================================================================== */
/*
  Aplica los estilos de .action-btn y .action-btn-compact directamente
  al pseudo-elemento que controla la apariencia del botón de "Seleccionar archivo".
  Esto asegura un estilo consistente sin depender de clases de Tailwind que
  pueden no aplicarse correctamente en todos los contextos a este elemento.
*/
::-webkit-file-upload-button {
  /* Estilos de .action-btn */
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
  border: 1px solid #d1d5db;
  background-color: #e2e8f0;
  color: var(--color-primary);
  /* Estilos de .action-btn-compact */
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}

::-webkit-file-upload-button:hover {
  filter: brightness(95%);
}


/* ==========================================================================
   FIX: Mejoras para tablas con muchas columnas (sin afectar márgenes)
   ========================================================================== */

/* Ajustes específicos para tablas con muchas columnas */
#component-48 .data-table,
#component-46 .data-table,
#component-42 .data-table {
  font-size: 0.625rem;
  /* Reducir tamaño de fuente para más espacio */
}

/* Celdas de tablas de clientes - padding reducido */
/* --- FIX DEFINITIVO: Aplicar solo a las tablas de ranking y métricas, no a la de resumen --- */
#component-46 .data-table td,
#component-46 .data-table th,
#component-48 .data-table td,
#component-48 .data-table th {
  padding: 0.25rem 0.375rem;
  /* Padding más compacto */
  white-space: nowrap;
  /* Evitar salto de línea en celdas */
}

/* Responsive: En pantallas pequeñas, permitir scroll horizontal */
@media (max-width: 1024px) {
  #client-analysis-content .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling en iOS */
  }

  #client-analysis-content .data-table {
    min-width: 800px;
    /* Ancho mínimo para mantener legibilidad */
  }
}






/* ==========================================================================
    ANIMACIONES SPINNER #308: Optimizadas para fluidez continua
    ========================================================================== */

/* Keyframes para la pulsación del orbe central */
@keyframes c308-pulse {

  0%,
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(26, 75, 132, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(26, 75, 132, 0);
  }
}

/* Keyframes para la órbita de los satélites */
@keyframes c308-orbit {
  from {
    transform: rotate(0deg) translateX(45px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(45px) rotate(-360deg);
  }
}

/* Contenedor principal del nuevo spinner */
.c308-pulsing-orb {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Forzar aceleración por hardware para mantener fluidez */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Orbe central que pulsa */
.c308-orb {
  width: 30px;
  height: 30px;
  background-color: #1A4B84;
  /* Azul corporativo */
  border-radius: 50%;
  animation: c308-pulse 2s infinite ease-in-out;
  /* Optimizaciones para fluidez */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}

/* Partículas satélite que orbitan */
.c308-satellite {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #4396be;
  /* Azul de filtros */
  border-radius: 50%;
  animation: c308-orbit 3s linear infinite;
  /* Optimizaciones para fluidez */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* ==========================================================================
    FIX: Columnas de tabla #105 (Resumen de Ventas por Tipo de Cliente)
    ========================================================================== */

/* ==========================================================================
    FIX DEFINITIVO: MÁRGENES AMPLIOS Y ALINEACIÓN PERFECTA
    ========================================================================== */

/* Márgenes amplios para todas las secciones principales */
#dashboard-content,
#client-analysis-content,
#product-analysis-content,
#regions-content,
#executives-content,
#report-content,
#forecasting-content,
#prueba-content,
#development-content,
#description-content,
#inventario-content {
  padding-left: 3rem;
  /* Márgenes amplios - 48px */
  padding-right: 3rem;
}

/* Alinear header, navegación y filtros globales con las secciones */
header,
nav,
#global-filter-container {
  padding-left: 3rem;
  /* Mismo margen que las secciones */
  padding-right: 3rem;
}

/* --- FIX DEFINITIVO DE ALINEACIÓN DE SUB-NAVEGACIÓN --- */
/*
  DIAGNÓSTICO: Las secciones principales tienen un padding que crea un margen interno.
  Los menús de pestañas, al estar dentro de estas secciones, no se alinean con la navegación principal.
  SOLUCIÓN FINAL Y CORRECTA:
  1. Se restaura el padding a las secciones para que su contenido interno se alinee.
  2. Se anula el padding del DIV que contiene el menú de pestañas.
  3. Se aplica el padding correcto directamente al <nav> de las pestañas para alinearlo con el resto de la app.
*/
#description-content>.mb-8,
#development-content>.mb-8,
#client-analysis-content>.mb-8,
#product-analysis-content>.mb-8,
#report-content>.mb-8,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

padding-right: 0 !important;
}

/* Paso 3: Aplicar el padding correcto directamente al <nav> de las pestañas */
#index-subnav,
#development-subnav,
#client-analysis-content nav,
#product-analysis-content nav,
#report-content nav,
#forecasting-content nav,
#prueba-content nav,
#inventario-content nav,
#inventory-subnav {
  padding: 0 3rem;
}

@media (min-width: 640px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 4rem;
    /* 64px */
    padding-right: 4rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav,
  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {

  #dashboard-content,
  #client-analysis-content,
  #product-analysis-content,
  #regions-content,
  #executives-content,
  #report-content,
  #forecasting-content,
  #inventario-content,
  #prueba-content,
  #development-content,
  #description-content,
  header,
  nav,
  #global-filter-container {
    padding-left: 5rem;
    /* 80px - márgenes muy amplios */
    padding-right: 5rem;
  }

  /* Paso 3 (Responsive) */
  #index-subnav {
    padding: 0;
  }

  #development-subnav,
  #client-analysis-content nav,
  #product-analysis-content nav,
  #report-content nav,
  #forecasting-content nav,
  #prueba-content nav,
#inventario-content nav,
#inventory-subnav {
    padding: 0 5rem;
  }
}

/* Hidden class for general use */
.hidden {
  display: none !important;
}

/* --- NEW: Fixed widths for Client Quality Ranking table (#46) --- */
.c46-col-no {
  width: 3ch;
}

.c46-col-name {
  width: auto;
  /* Flexible width */
  white-space: normal;
  /* Allow client name to wrap */
}

.c46-col-net-sales {
  width: 11ch;
}

.c46-col-net-units {
  width: 8ch;
}

/* NEW */
.c46-col-frequency {
  width: 6ch;
}

.c46-col-return-rate {
  width: 9ch;
}

.c46-col-penetration {
  width: 9ch;
}

.c46-col-skus {
  width: 6ch;
}

.c46-col-avg-ticket {
  width: 7ch;
}

/* NEW */
.c46-col-avg-units {
  width: 7ch;
}

/* NEW */
.c46-col-quality {
  width: 6ch;
}

/* Ensure text doesn't wrap in fixed-width columns */
.c46-col-net-sales,
.c46-col-net-units,
.c46-col-frequency,
.c46-col-return-rate,
.c46-col-penetration,
.c46-col-skus,
.c46-col-avg-ticket,
.c46-col-avg-units,
.c46-col-quality {
  white-space: nowrap;
}

/* --- NEW: Style for multi-line table headers --- */
.th-multiline {
  line-height: 1.2;
  /* Adjust line spacing */
  vertical-align: middle;
  /* Center content vertically */
}

.th-multiline span {
  display: block;
  /* Make each span a block to stack them */
}

/* --- FIX DEFINITIVO: Forzar estilo de la fila de totales superior --- */
/* Asegura que los números en la fila de totales superior sean siempre negros y en negrita. */
.totals-row-top td {
  color: black !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- NEW: Drilldown table text size --- */
/* This rule unifies the font size for all drilldown tables across different components. */
#drilldown-clients-table td,
#drilldown-products-table td,
#c105-drilldown-clients-table td,
#c105-drilldown-products-table td,
#c105-drilldown-regions-table td,
#c97-drilldown-clients-table td,
#c97-drilldown-products-table td,
#c97-drilldown-regions-table td,
#c97-drilldown-executives-table td {
  font-size: 11px;
}

/* --- KPI Dashboard: Andilab Gray color for KPI amounts --- */
/* Forces Andilab gray color for all KPI value elements in dashboard component #203 */
#c203__kpi-net-income,
#c203__kpi-efficiency,
#c203__kpi-avg-price,
#c203__kpi-avg-ticket,
#c203__kpi-avg-units,
#c203__kpi-avg-skus {
  color: #665E7B !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
}

/* --- KPI Dashboard: Portugal and Andilab labels styling --- */
/* Applies Andilab gray color with bold to Portugal/Andilab labels and increases letter spacing */
#c203__kpi-net-income-portugal,
#c203__kpi-net-income-andilab,
#c203__kpi-avg-price-portugal,
#c203__kpi-avg-price-andilab,
#c203__kpi-avg-ticket-portugal,
#c203__kpi-avg-ticket-andilab {
  color: #665E7B !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  font-size: 14px !important;
}

/* --- KPI Dashboard: Description text and formula styling --- */
/* Applies Andilab gray color without bold to description text and formula, preserves formula text-shadow */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- KPI Dashboard: Unified Prototype Styling --- */
/* All KPI cards now follow the same prototype model from "Ventas Netas USD (BCV)" */

/* KPI Card Prototype - Base styling for all KPI cards */
.kpi-card {
  /* Container styling already defined above */
}

/* KPI Titles - All KPI titles follow the prototype style */
.kpi-card h3 {
  font-size: 19px !important;
  letter-spacing: 0.025em !important;
  color: var(--color-link) !important;
  /* #4396BE */
  font-weight: 600 !important;
  /* semibold */
}

/* KPI Main Values - All main KPI amounts follow prototype style */
.kpi-card p[id*="kpi-"]:not([class*="text-xs"]) {
  font-size: 21px !important;
  font-weight: 700 !important;
  /* bold */
  color: #665E7B !important;
  /* Andilab gray */
  margin-top: 0.5rem !important;
}

/* KPI Breakdown Labels - PORTUGAL/ANDILAB style applied to all */
.kpi-card .text-base.text-gray-500.mt-2.space-y-1 span:first-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  /* bold */
  letter-spacing: 0.05em !important;
  color: #665E7B !important;
}

/* KPI Breakdown Values - Same styling as labels */
.kpi-card span[id*="kpi-"][id*="-portugal"],
.kpi-card span[id*="kpi-"][id*="-andilab"],
.kpi-card span[id*="kpi-"][id*="-consignado"],
.kpi-card span[id*="kpi-"][id*="-emergente"] {
  font-size: 14px !important;
  font-weight: 600 !important;
  /* semibold */
  letter-spacing: 0.025em !important;
  color: #665E7B !important;
}

/* KPI Description Text - Prototype style applied to all */
.kpi-card p[class*="text-xs text-gray-500 mt-2"]:not([class*="text-gray-400"]) {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* KPI Formula Text - Maintains shadow but follows prototype color */
.kpi-card p[class*="text-xs text-gray-400 mt-3"] {
  color: #665E7B !important;
  font-weight: 400 !important;
}

/* --- COMPONENTE #203: Guía Interactiva de Indicadores --- */
.c203__label {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.c203__label.active {
  background-color: #fefce8;
  /* Mismo amarillo que el hover de la tabla */
  color: #4396BE;
  /* Azul claro de filtros y encabezados */
  font-weight: 700;
}

/* =================== SECCIÓN PRODUCTOS =================== */
/* Componente 29: Herramienta ¿Quién Compra Qué? */
#component-29 .text-\[\#A77B5A\] {
  color: black !important;
}

/* Headers de tabla en blanco */
#component-29 th {
  color: white !important;
}
}

/* === MARGEN GLOBAL DE LA APLICACION (v4.86) === */
/* Izquierdo: 24px | Derecho: 28px */
body {
  padding-left: 24px !important;
  padding-right: 28px !important;
}
