@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap");

/* Shared design tokens for all pdmfc-* Superset chart plugins.
   Values extracted from the reference site
   https://salesdemo.astralabel.io/astratrace/observability
   (its own :root custom properties + computed card styles), so our
   cards match its "Total Locations" style exactly.

   Only fixed constants live here. Per-chart accent/background colors
   stay as dynamic inline styles driven by each chart's DB-stored
   "Accent color" control — do not tokenize those. */

:root {
  /* shadcn/ui base palette (HSL triples, used as hsl(var(--x))) */
  --background: 0 0% 100%;
  --foreground: 222.2 47.4% 11.2%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 100% 50%;
  --destructive-foreground: 210 40% 98%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 47.4% 11.2%;
  --card: transparent;
  --card-foreground: 222.2 47.4% 11.2%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 215 20.2% 65.1%;
  --radius: 0.5rem;
  /* light design-system palette (rgba/hex) */
  --lightprimarymain: rgba(67, 97, 238, 1);
  --lightsuccessmain: rgba(40, 199, 111, 1);
  --lightsolid-colorsuccesssuccess-500-base: rgba(40, 199, 111, 1);
  --lighterrormain: rgba(255, 76, 81, 1);
  --lightwarningmain: rgba(255, 159, 67, 1);
  /* badge low-stock */
  --lightinfomain: rgba(
    115,
    103,
    240,
    1
  );
  /* badge overstock / secondary purple */
  --lighterroralt: rgba(
    234,
    84,
    85,
    1
  );
  /* badge out-of-stock (distinct from --lighterrormain) */
  --lightbackgroundpaper: #ffffff;
  --lightbackgroundbody-background: #f8f7fa;
  --lightcommonwhite: rgba(255, 255, 255, 1);
  --lighttextprimary: rgba(47, 43, 61, 0.9);
  --lighttextsecondary: rgba(47, 43, 61, 0.7);
  --lighttextdisabled: rgba(47, 43, 61, 0.4);
  --lightactionhover: rgba(47, 43, 61, 0.06);
  --lightotherchip-background: rgba(47, 43, 61, 0.08);
  --lightotherdivider: rgba(47, 43, 61, 0.12);
  --lightotherbackdrop-overlay: rgba(47, 43, 61, 0.6);
  /* elevation shadows (color-bearing) */
  --light-elevation-gray-shadow-xs: 0px 1px 6px 0px rgba(47, 43, 61, 0.1);
  --light-elevation-gray-shadow-sm: 0px 2px 8px 0px rgba(47, 43, 61, 0.12);
  --light-elevation-gray-shadow-md: 0px 3px 12px 0px rgba(47, 43, 61, 0.14);
  --light-elevation-gray-shadow-lg: 0px 4px 18px 0px rgba(47, 43, 61, 0.16);
  --light-elevation-primary-primary-shadow-sm: 0px 2px 6px 0px
    rgba(20, 76, 113, 0.3);
  /* Values with no exact match in the site's own :root — derived to match
     the reference page's table/tab styling, not scraped verbatim. */
  --bg-header-subtle: #fafbff;
  /* table header row background */
  --bg-hover-subtle: #f8f9ff;
  /* table/tab row hover background */
  --bg-subtle: rgba(47, 43, 61, 0.04);
  /* faint input/filter backgrounds */
  --text-muted: rgba(47, 43, 61, 0.5);
  /* table header label text */
  --primary-subtle: rgba(67, 97, 238, 0.08);
  /* primary-tinted borders */
  /* "invis" shadows (Tailwind utility classes .shadow-invis-*, subtle depth without a visible border) */
  --shadow-invis-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-invis-panel: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-invis-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  /* typography */
  --basic-typography-h2-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-h2-font-size: 38px;
  --basic-typography-h2-font-weight: 500;
  --basic-typography-h2-font-style: normal;
  --basic-typography-h2-line-height: 56px;
  --basic-typography-h2-letter-spacing: 0px;
  --basic-typography-h3-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-h3-font-size: 28px;
  --basic-typography-h3-font-weight: 500;
  --basic-typography-h3-font-style: normal;
  --basic-typography-h3-line-height: 42px;
  --basic-typography-h3-letter-spacing: 0px;
  --basic-typography-h4-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-h4-font-size: 24px;
  --basic-typography-h4-font-weight: 500;
  --basic-typography-h4-font-style: normal;
  --basic-typography-h4-line-height: 38px;
  --basic-typography-h4-letter-spacing: 0px;
  --basic-typography-h5-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-h5-font-size: 18px;
  --basic-typography-h5-font-weight: 500;
  --basic-typography-h5-font-style: normal;
  --basic-typography-h5-line-height: 28px;
  --basic-typography-h5-letter-spacing: 0px;
  --basic-typography-h6-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-h6-font-size: 15px;
  --basic-typography-h6-font-weight: 500;
  --basic-typography-h6-font-style: normal;
  --basic-typography-h6-line-height: 22px;
  --basic-typography-h6-letter-spacing: 0px;
  --basic-typography-subtitle-1-font-family:
    "Public Sans", Helvetica, sans-serif;
  --basic-typography-subtitle-1-font-size: 15px;
  --basic-typography-subtitle-1-font-weight: 400;
  --basic-typography-subtitle-1-font-style: normal;
  --basic-typography-subtitle-1-line-height: 22px;
  --basic-typography-subtitle-1-letter-spacing: 0px;
  --basic-typography-body-1-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-body-1-font-size: 15px;
  --basic-typography-body-1-font-weight: 400;
  --basic-typography-body-1-font-style: normal;
  --basic-typography-body-1-line-height: 22px;
  --basic-typography-body-1-letter-spacing: 0px;
  --basic-typography-body-1-500-font-family:
    "Public Sans", Helvetica, sans-serif;
  --basic-typography-body-1-500-font-size: 15px;
  --basic-typography-body-1-500-font-weight: 500;
  --basic-typography-body-1-500-font-style: normal;
  --basic-typography-body-1-500-line-height: 22px;
  --basic-typography-body-1-500-letter-spacing: 0px;
  --basic-typography-body-2-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-body-2-font-size: 13px;
  --basic-typography-body-2-font-weight: 400;
  --basic-typography-body-2-font-style: normal;
  --basic-typography-body-2-line-height: 20px;
  --basic-typography-body-2-letter-spacing: 0px;
  --basic-typography-caption-font-family: "Public Sans", Helvetica, sans-serif;
  --basic-typography-caption-font-size: 13px;
  --basic-typography-caption-font-weight: 400;
  --basic-typography-caption-font-style: normal;
  --basic-typography-caption-line-height: 18px;
  --basic-typography-caption-letter-spacing: 0.4px;
  --light-basic-typography-h6-heading-font-family:
    "Public Sans", Helvetica, sans-serif;
  --light-basic-typography-h6-heading-font-size: 15px;
  --light-basic-typography-h6-heading-font-weight: 500;
  --light-basic-typography-h6-heading-font-style: normal;
  --light-basic-typography-h6-heading-line-height: 21px;
  --light-basic-typography-h6-heading-letter-spacing: 0px;
  --components-typography-btn-medium-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-btn-medium-font-size: 15px;
  --components-typography-btn-medium-font-weight: 500;
  --components-typography-btn-medium-font-style: normal;
  --components-typography-btn-medium-line-height: 22px;
  --components-typography-btn-medium-letter-spacing: 0px;
  --components-typography-btn-small-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-btn-small-font-size: 13px;
  --components-typography-btn-small-font-weight: 500;
  --components-typography-btn-small-font-style: normal;
  --components-typography-btn-small-line-height: 18px;
  --components-typography-btn-small-letter-spacing: 0px;
  --components-typography-input-text-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-input-text-font-size: 15px;
  --components-typography-input-text-font-weight: 400;
  --components-typography-input-text-font-style: normal;
  --components-typography-input-text-line-height: 24px;
  --components-typography-input-text-letter-spacing: 0px;
  --components-typography-input-text-large-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-input-text-large-font-size: 17px;
  --components-typography-input-text-large-font-weight: 400;
  --components-typography-input-text-large-font-style: normal;
  --components-typography-input-text-large-line-height: 24px;
  --components-typography-input-text-large-letter-spacing: 0px;
  --components-typography-input-label-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-input-label-font-size: 13px;
  --components-typography-input-label-font-weight: 400;
  --components-typography-input-label-font-style: normal;
  --components-typography-input-label-line-height: 15px;
  --components-typography-input-label-letter-spacing: 0px;
  --components-typography-helper-text-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-helper-text-font-size: 13px;
  --components-typography-helper-text-font-weight: 400;
  --components-typography-helper-text-font-style: normal;
  --components-typography-helper-text-line-height: 13px;
  --components-typography-helper-text-letter-spacing: 0px;
  --components-typography-table-header-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-table-header-font-size: 13px;
  --components-typography-table-header-font-weight: 500;
  --components-typography-table-header-font-style: normal;
  --components-typography-table-header-line-height: 24px;
  --components-typography-table-header-letter-spacing: 0.2px;
  --components-typography-chip-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-chip-font-size: 13px;
  --components-typography-chip-font-weight: 500;
  --components-typography-chip-font-style: normal;
  --components-typography-chip-line-height: 20px;
  --components-typography-chip-letter-spacing: 0px;
  --components-typography-avatar-initials-font-family:
    "Public Sans", Helvetica, sans-serif;
  --components-typography-avatar-initials-font-size: 15px;
  --components-typography-avatar-initials-font-weight: 400;
  --components-typography-avatar-initials-font-style: normal;
  --components-typography-avatar-initials-line-height: 18px;
  --components-typography-avatar-initials-letter-spacing: 0px;
}

/* No @tailwind base: see tailwind.config.js — preflight is disabled on purpose. */

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

.pointer-events-none{
  pointer-events: none;
}

.visible{
  visibility: visible;
}

.collapse{
  visibility: collapse;
}

.static{
  position: static;
}

.fixed{
  position: fixed;
}

.absolute{
  position: absolute;
}

.relative{
  position: relative;
}

.sticky{
  position: sticky;
}

.inset-0{
  inset: 0px;
}

.bottom-0{
  bottom: 0px;
}

.bottom-full{
  bottom: 100%;
}

.left-0{
  left: 0px;
}

.left-1\/2{
  left: 50%;
}

.right-0{
  right: 0px;
}

.top-0{
  top: 0px;
}

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

.m-0{
  margin: 0px;
}

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

.mb-1\.5{
  margin-bottom: 0.375rem;
}

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

.mb-2\.5{
  margin-bottom: 0.625rem;
}

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

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

.ml-1\.5{
  margin-left: 0.375rem;
}

.mr-4{
  margin-right: 1rem;
}

.mt-0\.5{
  margin-top: 0.125rem;
}

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

.mt-2\.5{
  margin-top: 0.625rem;
}

.mt-3{
  margin-top: 0.75rem;
}

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

.mt-auto{
  margin-top: auto;
}

.box-border{
  box-sizing: border-box;
}

.block{
  display: block;
}

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

.inline{
  display: inline;
}

.flex{
  display: flex;
}

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

.\!table{
  display: table !important;
}

.table{
  display: table;
}

.grid{
  display: grid;
}

.contents{
  display: contents;
}

.hidden{
  display: none;
}

.h-2{
  height: 0.5rem;
}

.h-4{
  height: 1rem;
}

.h-6{
  height: 1.5rem;
}

.h-7{
  height: 1.75rem;
}

.h-8{
  height: 2rem;
}

.h-9{
  height: 2.25rem;
}

.h-\[18px\]{
  height: 18px;
}

.h-\[26px\]{
  height: 26px;
}

.h-\[30px\]{
  height: 30px;
}

.h-\[4px\]{
  height: 4px;
}

.h-full{
  height: 100%;
}

.min-h-0{
  min-height: 0px;
}

.w-2{
  width: 0.5rem;
}

.w-2\.5{
  width: 0.625rem;
}

.w-4{
  width: 1rem;
}

.w-6{
  width: 1.5rem;
}

.w-9{
  width: 2.25rem;
}

.w-\[18px\]{
  width: 18px;
}

.w-\[200px\]{
  width: 200px;
}

.w-full{
  width: 100%;
}

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

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

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

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

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

.-translate-x-1\/2{
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes pulse-dot{
  0%, 100%{
    opacity: 1;
  }

  50%{
    opacity: 0.4;
  }
}

.animate-pulse-dot{
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.cursor-move{
  cursor: move;
}

.cursor-pointer{
  cursor: pointer;
}

.select-none{
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.resize{
  resize: both;
}

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

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

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

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

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

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

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

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

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

.gap-1{
  gap: 0.25rem;
}

.gap-1\.5{
  gap: 0.375rem;
}

.gap-2{
  gap: 0.5rem;
}

.gap-3{
  gap: 0.75rem;
}

.gap-4{
  gap: 1rem;
}

.gap-5{
  gap: 1.25rem;
}

.gap-6{
  gap: 1.5rem;
}

.gap-\[2px\]{
  gap: 2px;
}

.overflow-hidden{
  overflow: hidden;
}

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

.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap{
  white-space: nowrap;
}

.rounded{
  border-radius: 0.25rem;
}

.rounded-\[10px\]{
  border-radius: 10px;
}

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

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

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

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

.rounded-t-xl{
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.border{
  border-width: 1px;
}

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

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

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

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

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

.border-\[color\:var\(--lightactionhover\)\]{
  border-color: var(--lightactionhover);
}

.border-\[rgba\(47\2c 43\2c 61\2c 0\.06\)\]{
  border-color: rgba(47,43,61,0.06);
}

.border-\[rgba\(67\2c 97\2c 238\2c 0\.08\)\]{
  border-color: rgba(67,97,238,0.08);
}

.border-\[rgba\(67\2c 97\2c 238\2c 0\.15\)\]{
  border-color: rgba(67,97,238,0.15);
}

.bg-\[\#1f2937\]{
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.bg-\[\#4361EE\]\/10{
  background-color: rgb(67 97 238 / 0.1);
}

.bg-\[\#EA5455\]{
  --tw-bg-opacity: 1;
  background-color: rgb(234 84 85 / var(--tw-bg-opacity, 1));
}

.bg-\[\#FF9F43\]{
  --tw-bg-opacity: 1;
  background-color: rgb(255 159 67 / var(--tw-bg-opacity, 1));
}

.bg-\[\#fafbff\]{
  --tw-bg-opacity: 1;
  background-color: rgb(250 251 255 / var(--tw-bg-opacity, 1));
}

.bg-\[rgba\(148\2c 163\2c 184\2c 0\.14\)\]{
  background-color: rgba(148,163,184,0.14);
}

.bg-\[rgba\(16\2c 185\2c 129\2c 0\.14\)\]{
  background-color: rgba(16,185,129,0.14);
}

.bg-\[rgba\(239\2c 68\2c 68\2c 0\.14\)\]{
  background-color: rgba(239,68,68,0.14);
}

.bg-\[rgba\(47\2c 43\2c 61\2c 0\.02\)\]{
  background-color: rgba(47,43,61,0.02);
}

.bg-\[rgba\(47\2c 43\2c 61\2c 0\.04\)\]{
  background-color: rgba(47,43,61,0.04);
}

.bg-transparent{
  background-color: transparent;
}

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

.bg-white\/10{
  background-color: rgb(255 255 255 / 0.1);
}

.bg-white\/15{
  background-color: rgb(255 255 255 / 0.15);
}

.bg-white\/\[0\.92\]{
  background-color: rgb(255 255 255 / 0.92);
}

.p-3{
  padding: 0.75rem;
}

.p-4{
  padding: 1rem;
}

.p-5{
  padding: 1.25rem;
}

.p-6{
  padding: 1.5rem;
}

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

.px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

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

.px-2\.5{
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

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

.px-5{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

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

.py-2\.5{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3\.5{
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.pb-0{
  padding-bottom: 0px;
}

.pt-0{
  padding-top: 0px;
}

.pt-2{
  padding-top: 0.5rem;
}

.pt-3{
  padding-top: 0.75rem;
}

.pt-5{
  padding-top: 1.25rem;
}

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

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

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

.text-\[10px\]{
  font-size: 10px;
}

.text-\[11px\]{
  font-size: 11px;
}

.text-\[12px\]{
  font-size: 12px;
}

.text-\[13px\]{
  font-size: 13px;
}

.text-\[14px\]{
  font-size: 14px;
}

.text-\[15px\]{
  font-size: 15px;
}

.text-\[28px\]{
  font-size: 28px;
}

.text-\[8px\]{
  font-size: 8px;
}

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

.font-\[750\]{
  font-weight: 750;
}

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

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

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

.uppercase{
  text-transform: uppercase;
}

.capitalize{
  text-transform: capitalize;
}

.leading-4{
  line-height: 1rem;
}

.leading-7{
  line-height: 1.75rem;
}

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

.tracking-wider{
  letter-spacing: 0.05em;
}

.text-\[\#059669\]{
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}

.text-\[\#4361EE\]{
  --tw-text-opacity: 1;
  color: rgb(67 97 238 / var(--tw-text-opacity, 1));
}

.text-\[\#64748b\]{
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}

.text-\[\#667085\]{
  --tw-text-opacity: 1;
  color: rgb(102 112 133 / var(--tw-text-opacity, 1));
}

.text-\[\#dc2626\]{
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-\[color\:var\(--lighttextdisabled\)\]{
  color: var(--lighttextdisabled);
}

.text-\[color\:var\(--lighttextsecondary\)\]{
  color: var(--lighttextsecondary);
}

.text-\[color\:var\(--primary\)\]{
  color: var(--primary);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.3\)\]{
  color: rgba(47,43,61,0.3);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.4\)\]{
  color: rgba(47,43,61,0.4);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.5\)\]{
  color: rgba(47,43,61,0.5);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.6\)\]{
  color: rgba(47,43,61,0.6);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.7\)\]{
  color: rgba(47,43,61,0.7);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.85\)\]{
  color: rgba(47,43,61,0.85);
}

.text-\[rgba\(47\2c 43\2c 61\2c 0\.9\)\]{
  color: rgba(47,43,61,0.9);
}

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

.text-white\/70{
  color: rgb(255 255 255 / 0.7);
}

.text-white\/80{
  color: rgb(255 255 255 / 0.8);
}

.opacity-0{
  opacity: 0;
}

.shadow{
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px 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-invis-card{
  --tw-shadow: 0 2px 8px rgba(0,0,0,.06);
  --tw-shadow-colored: 0 2px 8px 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-invis-panel{
  --tw-shadow: 0 4px 16px rgba(0,0,0,.08);
  --tw-shadow-colored: 0 4px 16px 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);
}

.outline-none{
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.outline{
  outline-style: solid;
}

.ring{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.grayscale{
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.invert{
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

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

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

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

/* Global font override. This stylesheet ships once into the whole Superset
   bundle (see tailwind.config.js comment), so this reaches every element on
   every page, not just our plugins. */

*,
*::before,
*::after {
  font-family: "Public Sans", sans-serif;
}

/* Native Superset "table" viz styling, matching the Inventory Detail table
   on the astratrace observability page. Can't attach Tailwind classNames to
   this third-party chart's markup, so these are hand-written rules against
   its stable output classes (table-condensed, dt-*, dashboard-component-chart-holder). */

.dashboard-component-chart-holder:has(table.table-condensed) {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* .dashboard-component:not(.pdmfc-card) > div > div {
  box-shadow: var(--shadow-invis-panel) !important;
  background: none;
  padding: unset !important;
} */

.dashboard-component-chart-holder:has(.superset-legacy-chart-big-number) {
  padding: 0.5rem !important;
}

.superset-legacy-chart-big-number {
  margin: 1rem !important;
  margin-bottom: 0px !important;
  border-radius: 0.75rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-component-chart-holder:has(.superset-legacy-chart-big-number)
  .header-title {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.5rem 0.25rem !important;
}

table.table-condensed {
  width: 100%;
  font-size: 12px;
}

table.table-condensed thead tr {
  background: var(--bg-header-subtle);
  border-bottom: 2px solid var(--primary-subtle);
}

table.table-condensed thead th {
  text-align: left;
  padding: 10px 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.table-condensed tbody td {
  padding: 8px;
  color: var(--lighttextsecondary);
  border-bottom: 1px solid var(--lightactionhover);
}

table.table-condensed tbody tr {
  transition: background-color 0.15s ease;
}

table.table-condensed tbody tr:hover {
  background: var(--bg-hover-subtle);
}

/* Cancel Bootstrap's .table-striped zebra rows — keep base .table styling only. */

table.table-striped.table-condensed tbody tr:nth-of-type(odd),
table.table-striped.table-condensed tbody tr:nth-of-type(even) {
  background-color: transparent;
}

.dt-pagination {
  font-size: 11px;
  color: var(--lighttextdisabled);
  border-top: 1px solid var(--lightactionhover);
  padding-top: 12px;
  margin-top: 12px;
}

.dt-global-filter input {
  font-size: 12px;
  height: 30px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 0;
  padding: 0 12px;
  color: var(--lighttextsecondary);
}

/* Native Superset dashboard tabs (antd Tabs under .dashboard-component-tabs)
   styled to match the tab bar on the astratrace observability page
   ("Daily Pulse / Analytics / Comparison / Shelf Life / Report Guide").
   Can't attach Tailwind classNames to this third-party markup, so these are
   hand-written rules translating the exact classes captured from the
   reference page onto its stable output classes (ant-tabs-*). */

.dashboard-component-tabs {
  padding: 0px 10px;
}

div[data-test="dashboard-filters-panel"][width="32"]
  + div
  .dashboard-component-tabs {
  padding: 0px 30px;
}

.dashboard-component-tabs,
.dashboard-component-tabs .ant-tabs-nav,
.dashboard-component-tabs .ant-tabs-nav::before {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dashboard-component-tabs .ant-tabs-nav-list {
  gap: 4px;
  flex-wrap: wrap;
}

.dashboard-component-tabs .ant-tabs-tab {
  border-radius: 6px;
  margin: 0 !important;
}

.dashboard-component-tabs .ant-tabs-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 6px;
  padding: 0 6px;
  height: 32px;
  font-size: 13px;
  font-family: "Public Sans";
  color: rgba(47, 43, 61, 0.6);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.dashboard-component-tabs .ant-tabs-tab-btn:hover {
  background: var(--bg-hover-subtle);
  color: rgba(47, 43, 61, 0.9);
}

.dashboard-component-tabs .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #fff !important;
  background: var(--lightprimarymain);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dashboard-component-tabs .ant-tabs-tab-active .ant-tabs-tab-btn:hover {
  background: color-mix(in srgb, var(--lightprimarymain) 90%, transparent);
  color: #fff !important;
}

.dashboard-component-tabs .ant-tabs-ink-bar {
  display: none;
}

/* Superset shows a chain-link "anchor" icon on tab hover (to copy a deep
   link to that tab); the reference page doesn't have it, so just make it
   invisible instead of fighting its layout. */

.dashboard-component-tabs .anchor-link-container {
  color: transparent !important;
  display: none !important;
}

/* Superset pins the dashboard's own header row (which holds the root-level
   tabs, [data-test="top-level-tabs"]) to the top of the viewport while
   scrolling (position: sticky on [data-test="dashboard-header-wrapper"] in
   DashboardBuilder.tsx). Undo that here so the main tabs scroll away with
   the rest of the page instead of staying fixed. */

[data-test="dashboard-header-wrapper"] {
  position: relative !important;
  top: auto !important;
}

.dcf-no-title .header-title {
  display: none;
}

/* Native Superset "Big Number with Trendline" viz (e.g. "Doses on Hand" on
   ca_inventory_visibility.daily_pulse), styled to match the pdmfc card look
   (same treatment as .dcf-big-number-host above). Can't attach a marker
   class to this third-party component's own root, so this targets its
   stable output class (superset-legacy-chart-big-number) directly. */

/* 
.superset-legacy-chart-big-number:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);

  padding-top: 10px !important;
} */

/* Legacy big number customization (doses on hand) */

*:has(.superset-legacy-chart-big-number) {
  border-radius: 0.75rem !important;
}

.dragdroppable:has(.superset-legacy-chart-big-number),
.chart-slice:has(.superset-legacy-chart-big-number),
.dashboard-chart:has(.superset-legacy-chart-big-number) {
  background: transparent !important;
  box-shadow: none !important;
}

.superset-legacy-chart-big-number {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-component {
  border-radius: 0.75rem;
  padding-top: 10px !important;
}

/* @media only screen and (min-width: 791px) and (max-width: 1280px) {
  .dashboard-content .grid-content {
    flex-wrap: wrap !important;
  }

  .dashboard-content .grid-content .dragdroppable-column {
    flex: 0 0 50% !important;
    min-width: 47% !important;
    max-width: 47% !important;
  }

  .dashboard-content .grid-content .resizable-container {
    width: 100% !important;
    max-width: 100% !important;
  }
} */

@media only screen and (max-width: 768px) {
  /* Força as linhas do grid a permitirem quebra de conteúdo */

  .grid-row {
    flex-wrap: wrap !important;
  }

  /* Faz com que cada coluna arraste-solte ocupe a largura total */

  .dragdroppable-column {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
  }

  /* Garante que os containers internos se estiquem para preencher a tela */

  .resizable-container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Status badges — extracted from the "Inventory Detail" table's Status column
   on the astratrace observability reference page.
   Usage: <span class="badge-status in-stock">In Stock</span> */

.pdmfc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.pdmfc-badge.success {
  background-color: color-mix(
    in srgb,
    var(--lightsuccessmain) 8.2%,
    transparent
  );
  color: var(--lightsuccessmain);
}

.pdmfc-badge.warning {
  background-color: color-mix(
    in srgb,
    var(--lightwarningmain) 8.2%,
    transparent
  );
  color: var(--lightwarningmain);
}

.pdmfc-badge.info {
  background-color: color-mix(in srgb, var(--lightinfomain) 8.2%, transparent);
  color: var(--lightinfomain);
}

.pdmfc-badge.danger {
  background-color: color-mix(in srgb, var(--lighterroralt) 8.2%, transparent);
  color: var(--lighterroralt);
}

.pdmfc-badge.error {
  background-color: color-mix(in srgb, var(--lighterroralt) 8.2%, transparent);
  color: var(--lighterroralt);
}

.pdmfc-badge.muted {
  background-color: color-mix(
    in srgb,
    var(--lighttextprimary) 5.2%,
    transparent
  );
  color: var(--lighttextprimary);
}

.shadow-invis-card {
  margin: 3px;
}

.shadow-invis-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-sm);
  --tw-shadow: 0 12px 18px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 12px 18px var(--tw-shadow-color);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.hover\:-translate-y-0\.5:hover{
  --tw-translate-y: -0.125rem;
  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));
}

.hover\:bg-\[\#f8f9ff\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(248 249 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white\/20:hover{
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:bg-white\/25:hover{
  background-color: rgb(255 255 255 / 0.25);
}

.hover\:shadow-invis-hover:hover{
  --tw-shadow: 0 8px 24px rgba(0,0,0,.1);
  --tw-shadow-colored: 0 8px 24px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:shadow-md:hover{
  --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);
}

.disabled\:cursor-default:disabled{
  cursor: default;
}

.disabled\:opacity-40:disabled{
  opacity: 0.4;
}

.group:hover .group-hover\:opacity-100{
  opacity: 1;
}

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