.pl-host {
  overflow: hidden;
}
.pl-root {
  position: absolute;
  inset: var(--pl-inset, 0);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-family: var(--pl-font);
  font-size: 12px;
  color: var(--pl-text);
  background: var(--pl-bg);
  border: var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: var(--pl-pad);
  outline: none;
  -webkit-font-smoothing: antialiased;
  line-height: 1.3;
  overflow: hidden;
  isolation: isolate;
}
.pl-root *,
.pl-root *::before,
.pl-root *::after {
  box-sizing: border-box;
}
.pl-root :focus-visible {
  outline: 2px solid var(--pl-accent);
  outline-offset: 1px;
}
.pl-root::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
  background-image: var(--pl-texture, none);
  background-size: var(--pl-texture-size, auto);
  background-position: var(--pl-texture-pos, 0 0);
  background-repeat: var(--pl-texture-repeat, repeat);
}
.pl-titles .pl-title {
  font-family: var(--pl-title-font, inherit);
  text-shadow: var(--pl-text-glow, none);
}
/* Police des chiffres du style : seulement dans les cellules des tableaux (les graphiques et les KPI mesurent leur texte avec la police du visuel) */
td.pl-num {
  font-family: var(--pl-num-font, inherit);
}
.pl-glowing .pl-chart .pl-mark {
  filter: var(--pl-glow, none);
}
:where(.pl-root) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.pl-root) input {
  font: inherit;
  color: inherit;
}
.pl-icon {
  flex: none;
  display: block;
}
.pl-titles {
  flex: none;
  margin-bottom: 6px;
  min-width: 0;
}
.pl-titles .pl-title {
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-titles .pl-subtitle {
  color: var(--pl-muted);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-titles .pl-title.pl-wrap,
.pl-titles .pl-subtitle.pl-wrap {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.pl-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pl-source {
  flex: none;
  color: var(--pl-muted);
  padding-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-foot-note {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  font-size: 10px;
  color: var(--pl-muted);
  padding-top: 3px;
}
.pl-watermark {
  opacity: 0.8;
}
.pl-watermark.pl-wm-edit {
  opacity: 1;
  color: var(--pl-text);
  background: var(--pl-accent-soft);
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 600;
}
.pl-wm-hint {
  font-weight: 400;
  color: var(--pl-muted);
}
.pl-foot-note.pl-wm-compact {
  flex-wrap: nowrap;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
}
.pl-foot-note.pl-wm-compact .pl-watermark {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pl-foot-note.pl-wm-compact .pl-wm-sep,
.pl-foot-note.pl-wm-compact .pl-foot-link {
  flex: none;
}
.pl-wm-tiles {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.pl-wm-tiles .pl-wm-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pl-wm-tiles text {
  font-family: var(--pl-font);
  font-size: 13px;
  font-weight: 600;
  fill: var(--pl-text);
  fill-opacity: 0.11;
  letter-spacing: 0.02em;
}
.pl-hc .pl-wm-tiles text {
  fill-opacity: 0.2;
}
.pl-lic-bad {
  color: #c0392b;
  font-weight: 600;
}
.pl-owner {
  color: var(--pl-muted);
}
.pl-foot-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--pl-accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.pl-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pl-num {
  font-variant-numeric: tabular-nums;
}
.pl-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--pl-muted);
  padding: 10px;
}
.pl-landing .pl-landing-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pl-accent-soft);
  color: var(--pl-accent);
}
.pl-landing .pl-landing-title {
  color: var(--pl-text);
  font-weight: 700;
  font-size: 15px;
}
.pl-landing .pl-landing-hint {
  max-width: 300px;
  font-size: 12px;
}
.pl-chart {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.pl-chart svg {
  display: block;
  overflow: visible;
  font-family: var(--pl-font);
}
.pl-chart .pl-axis text {
  font-size: 9px;
  fill: var(--pl-muted);
  font-variant-numeric: tabular-nums;
}
.pl-chart .pl-axis .pl-axis-title {
  font-size: 9px;
  fill: var(--pl-muted);
  font-weight: 600;
}
.pl-chart .pl-axis line,
.pl-chart .pl-axis path {
  stroke: var(--pl-grid);
  shape-rendering: crispEdges;
}
.pl-chart .pl-grid line {
  stroke: var(--pl-grid);
  shape-rendering: crispEdges;
}
.pl-chart .pl-zero {
  stroke: var(--pl-muted);
  stroke-opacity: 0.55;
  shape-rendering: crispEdges;
}
.pl-chart .pl-label {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.pl-chart .pl-mark {
  cursor: pointer;
  transition: opacity var(--pl-speed), fill-opacity var(--pl-speed);
}
.pl-chart .pl-mark:focus {
  outline: none;
}
.pl-chart .pl-mark.pl-focus {
  stroke: var(--pl-accent) !important;
  stroke-width: 2px !important;
}
.pl-chart .pl-dim {
  opacity: 0.28;
}
.pl-chart .pl-ref-label {
  font-size: 9px;
  font-weight: 600;
}
.pl-chart .pl-scroll-x {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.pl-chart .pl-scroll-y {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.pl-scroll-x,
.pl-scroll-y,
.pl-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--pl-grid) transparent;
}
.pl-scroll-x::-webkit-scrollbar,
.pl-scroll-y::-webkit-scrollbar,
.pl-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.pl-scroll-x::-webkit-scrollbar-thumb,
.pl-scroll-y::-webkit-scrollbar-thumb,
.pl-scroll::-webkit-scrollbar-thumb {
  background: var(--pl-grid);
  border-radius: 4px;
}
.pl-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 9px;
  color: var(--pl-muted);
  padding: 2px 0 6px;
  min-width: 0;
}
.pl-legend.pl-legend-v {
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 0 8px;
}
.pl-legend.pl-legend-v .pl-legend-item {
  max-width: 100%;
  min-width: 0;
}
.pl-legend.pl-legend-v .pl-legend-title {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-legend .pl-legend-title {
  font-weight: 600;
  color: var(--pl-text);
  margin-right: 2px;
}
.pl-legend .pl-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 4px;
  padding: 1px 3px;
  max-width: 220px;
}
.pl-legend .pl-legend-item span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-legend .pl-legend-item:hover {
  background: var(--pl-hover);
}
.pl-legend .pl-legend-item.off {
  opacity: 0.4;
}
.pl-legend .pl-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: none;
}
.pl-legend .pl-swatch.circle {
  border-radius: 50%;
}
.pl-legend .pl-swatch.line {
  height: 3px;
  width: 14px;
  border-radius: 2px;
}
.pl-legend-gradient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pl-legend-gradient .pl-grad {
  width: 90px;
  height: 8px;
  border-radius: 4px;
}
.pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--pl-muted);
  border: 1px solid transparent;
  transition: background 150ms cubic-bezier(0.2, 0, 0, 1), color 150ms;
}
.pl-btn:hover {
  background: var(--pl-hover);
  color: var(--pl-text);
}
.pl-btn.on {
  color: var(--pl-accent);
  background: var(--pl-accent-soft);
}
.pl-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--pl-grid);
  border-radius: 6px;
  color: var(--pl-muted);
  background: var(--pl-surface);
  min-width: 0;
}
.pl-search input {
  flex: 1;
  min-width: 40px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--pl-text);
  padding: 0;
  font-size: 12px;
}
.pl-search input::placeholder {
  color: var(--pl-muted);
}
.pl-search:focus-within {
  border-color: var(--pl-accent);
}
.pl-hc .pl-dim {
  opacity: 0.5;
}
.pl-hc .pl-legend-item.off {
  text-decoration: line-through;
}
.pl-readonly .pl-body button,
.pl-readonly .pl-body input {
  pointer-events: none;
}
.pl-annots .pl-annot {
  pointer-events: none;
}
.pl-annots .pl-annot-text {
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.pl-annots .pl-annot-conn,
.pl-annots .pl-annot-mark {
  pointer-events: none;
}
.pl-annots .pl-annot-edit .pl-annot-body {
  pointer-events: all;
  cursor: move;
}
.pl-annots .pl-annot-edit.pl-annot-drag {
  opacity: 0.85;
}
.pl-annots .pl-annot-del {
  pointer-events: all;
  cursor: pointer;
  opacity: 0;
  transition: opacity 120ms;
}
.pl-annots .pl-annot-edit:hover .pl-annot-del,
.pl-annots .pl-annot-edit:focus-within .pl-annot-del {
  opacity: 1;
}
.pl-annot-mode .pl-hit {
  cursor: cell;
}
.pl-annot-toggle {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 16px;
  background: var(--pl-surface) !important;
  color: var(--pl-text) !important;
  border: 1px solid var(--pl-grid) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 150ms;
}
.pl-annot-toggle.on {
  background: var(--pl-accent) !important;
  color: var(--pl-on-accent) !important;
  border-color: var(--pl-accent) !important;
}
.pl-chart:hover .pl-annot-toggle,
.pl-annot-toggle:focus-visible,
.pl-annot-toggle.on {
  opacity: 1;
}
.pl-annot-hint {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  max-width: calc(100% - 110px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 16px;
  background: var(--pl-accent-soft);
  color: var(--pl-text);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-annot-editor {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--pl-surface);
  color: var(--pl-text);
  border: 1px solid var(--pl-accent);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.pl-annot-editor .pl-annot-input {
  width: 210px;
  border: 0;
  outline: none !important;
  background: transparent;
  font-size: 12px;
  padding: 3px 6px;
  color: var(--pl-text);
}
.pl-annot-editor .pl-annot-btn-i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--pl-muted);
}
.pl-annot-editor .pl-annot-btn-i:hover {
  background: var(--pl-hover);
  color: var(--pl-text);
}
.pl-annot-warn {
  position: absolute;
  left: 4px;
  bottom: 2px;
  z-index: 2;
  max-width: calc(100% - 8px);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 14px;
  background: var(--pl-surface);
  color: #b03a2e;
  border: 1px solid currentColor;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-annot-dot {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 2.5px solid var(--pl-accent);
  background: var(--pl-surface);
  box-shadow: 0 0 0 4px var(--pl-accent-soft);
  pointer-events: none;
}
.pl-hc .pl-annot-toggle,
.pl-hc .pl-annot-editor {
  box-shadow: none;
}
.pl-grid .gr-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex: none;
}
.pl-grid .gr-toolbar .pl-search {
  flex: 0 1 240px;
}
.pl-grid .gr-toolbar .pl-spacer {
  flex: 1;
}
.pl-grid .gr-toolbar .gr-count {
  color: var(--pl-muted);
  font-size: 12px;
  white-space: nowrap;
}
.pl-grid .gr-toolbar .pl-btn {
  font-size: 12px;
  white-space: nowrap;
}
.pl-grid .gr-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  outline: none;
}
.pl-grid .gr-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  min-width: 0;
  color: var(--gr-cell-color);
  font-size: var(--gr-cell-size);
}
.pl-grid th,
.pl-grid td {
  padding: var(--gr-pad-y) var(--gr-pad-x);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: var(--gr-row-line);
  border-right: var(--gr-col-line);
  vertical-align: middle;
}
.pl-grid thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--gr-head-bg);
  color: var(--gr-head-color);
  font-size: var(--gr-head-size);
  font-weight: var(--gr-head-weight);
  border-bottom: var(--gr-head-rule);
  border-top: var(--gr-head-top, none);
  vertical-align: bottom;
  user-select: none;
  text-transform: var(--pl-head-transform, none);
  font-variant: var(--pl-head-variant, normal);
  font-style: var(--gr-head-style, var(--pl-head-style, normal));
  letter-spacing: var(--pl-head-ls, 0);
}
.pl-grid thead tr:first-child th {
  background-image: var(--gr-stripes, none);
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: top left;
}
.pl-grid.gr-pill thead tr:first-child th:first-child {
  border-radius: 999px 0 0 999px;
}
.pl-grid.gr-pill thead tr:first-child th:last-child {
  border-radius: 0 999px 999px 0;
}
.pl-grid.gr-prompt thead .gr-th-text::before {
  content: "> ";
}
.pl-grid thead th.gr-frozen {
  z-index: 4;
}
.pl-grid .gr-th {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-width: 0;
}
.pl-grid th[style*="right"] .gr-th {
  justify-content: flex-end;
}
.pl-grid th[style*="center"] .gr-th {
  justify-content: center;
}
.pl-grid .gr-th-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-grid .gr-sort {
  color: var(--pl-accent);
  flex: none;
}
.pl-grid th.gr-sortable {
  cursor: pointer;
}
.pl-grid th.gr-sortable:hover {
  color: var(--pl-text);
}
.pl-grid .gr-grip {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  z-index: 5;
}
.pl-grid .gr-grip:hover {
  background: linear-gradient(90deg, transparent 3px, var(--pl-accent) 3px, var(--pl-accent) 4px, transparent 4px);
}
.pl-grid .pl-grip {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  z-index: 5;
}
.pl-grid .pl-grip:hover {
  background: linear-gradient(90deg, transparent 3px, var(--pl-accent) 3px, var(--pl-accent) 4px, transparent 4px);
}
.pl-grid th {
  position: relative;
}
.pl-grid .gr-frozen {
  position: sticky;
  left: 0;
  z-index: 2;
}
.pl-grid .gr-hscroll .gr-frozen {
  background: var(--gr-sticky-bg);
}
.pl-grid thead .gr-frozen,
.pl-grid .gr-hscroll thead .gr-frozen {
  background: var(--gr-head-bg);
}
.pl-grid tr.gr-odd td {
  background-image: linear-gradient(var(--gr-band), var(--gr-band));
  color: var(--gr-band-text, inherit);
}
.pl-grid tbody td {
  background-color: var(--gr-cell-bg, transparent);
  font-weight: var(--gr-cell-weight, 400);
  font-style: var(--gr-cell-style, normal);
  height: var(--gr-row-min, 0);
}
.pl-grid tbody th.gr-rowhead {
  height: var(--gr-row-min, 0);
}
.pl-grid .gr-hscroll tr.gr-odd td.gr-frozen {
  background-color: var(--gr-sticky-bg);
}
.pl-grid tbody tr.gr-row {
  cursor: pointer;
}
.pl-grid tbody tr.gr-row:hover td {
  box-shadow: inset 0 0 0 999px var(--gr-hover);
}
.pl-grid tbody tr.gr-selected td,
.pl-grid tbody td.gr-cell-selected {
  box-shadow: inset 0 0 0 999px var(--gr-sel);
}
.pl-grid tbody td.gr-cell-selected {
  outline: 2px solid var(--pl-accent);
  outline-offset: -2px;
}
.pl-grid tbody tr.gr-focus td {
  outline: none;
  box-shadow: inset 0 0 0 999px var(--gr-hover), inset 0 2px 0 var(--pl-accent), inset 0 -2px 0 var(--pl-accent);
}
.pl-grid .gr-num-col {
  color: var(--pl-muted);
  text-align: right;
  font-size: 0.9em;
}
.pl-grid .gr-total td,
.pl-grid .gr-total th {
  border-top: 1.5px solid var(--gr-cell-color);
  background-color: var(--gr-sticky-bg);
}
.pl-grid tfoot td,
.pl-grid tfoot th {
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.pl-grid tfoot .gr-frozen,
.pl-grid tfoot .gr-frozen-n {
  z-index: 3;
}
.pl-grid .gr-totals-top td {
  position: sticky;
  z-index: 2;
}
.pl-grid .gr-empty {
  color: var(--pl-muted);
  text-align: center;
  padding: 14px;
  white-space: normal;
}
.pl-grid .gr-spacer td {
  padding: 0;
  border: 0;
}
.pl-grid .gr-link {
  color: var(--pl-accent);
  text-decoration: underline;
  font: inherit;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-grid .pl-barcell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.pl-grid .pl-bartrack {
  position: relative;
  flex: 1;
  min-width: 24px;
  height: 1.05em;
}
.pl-grid .pl-databar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  pointer-events: none;
}
.pl-grid .pl-barcell .pl-cell-text {
  flex: none;
}
.pl-grid .pl-cell-text {
  position: relative;
}
.pl-grid .pl-cf-icon {
  display: inline-block;
  margin-right: 5px;
  font-size: 0.8em;
}
.pl-grid .pl-pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92em;
}
.pl-grid .pl-ce-iconbox {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 5px;
  line-height: 0;
}
.pl-grid .pl-ce-iconbox.pl-ce-right {
  margin-right: 0;
  margin-left: 5px;
}
.pl-grid .pl-ce-iconbox.pl-ce-top {
  vertical-align: text-top;
}
.pl-grid .pl-ce-iconbox.pl-ce-bottom {
  vertical-align: text-bottom;
}
.pl-grid td.pl-ce-only .pl-ce-iconbox {
  margin: 0;
}
.pl-grid .pl-ce-icon,
.pl-grid .pl-ce-img-icon {
  display: block;
  flex: none;
}
.pl-grid .pl-ce-emoji {
  line-height: 1;
}
.pl-grid .gr-link-icon {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--pl-accent);
}
.pl-grid .gr-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.pl-grid .pl-cell-img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}
.pl-grid td.pl-has-img {
  padding-top: 2px;
  padding-bottom: 2px;
  line-height: 0;
}
.pl-grid .gr-th-img,
.pl-grid .gr-rh-img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}
.pl-grid.gr-wrap td {
  white-space: normal;
  word-break: break-word;
}
.pl-grid.gr-head-wrap thead th {
  white-space: normal;
}
.pl-grid.gr-head-wrap thead .gr-th-text {
  white-space: normal;
  overflow-wrap: anywhere;
}
.pl-grid.gr-caps thead th {
  font-size: calc(var(--gr-head-size) * 0.86);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pl-grid.gr-rot thead {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--gr-head-bg);
}
.pl-grid.gr-rot thead th {
  position: relative;
  top: auto !important;
  z-index: auto;
  background: transparent;
}
.pl-grid.gr-rot thead th.gr-frozen,
.pl-grid.gr-rot thead th.gr-frozen-n {
  position: sticky;
  z-index: 0;
  background: var(--gr-head-bg);
}
.pl-grid.gr-rot thead th.gr-frozen {
  left: 0;
}
.pl-grid.gr-rot.gr-xscrolled thead th.gr-frozen,
.pl-grid.gr-rot.gr-xscrolled thead th.gr-frozen-n {
  z-index: 5;
}
.pl-grid thead th.gr-rot-th {
  overflow: visible;
}
.pl-grid .gr-rot-line {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 1;
  white-space: nowrap;
  transform-origin: 0 0;
  cursor: inherit;
}
.pl-grid .gr-rot-sort {
  position: absolute;
  left: 50%;
  bottom: var(--gr-pad-y);
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  color: var(--pl-accent);
}
.pl-grid .gr-group-head {
  border-bottom: none;
  font-weight: 600;
}
.pl-grid .gr-group-head::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  border-bottom: 2px solid var(--gr-group-rule, currentColor);
  opacity: 0.65;
  border-radius: 1px;
  pointer-events: none;
}
.pl-grid th.gr-gedge,
.pl-grid td.gr-gedge {
  border-left: var(--gr-group-line);
}
.pl-grid th.gr-gedge-in,
.pl-grid td.gr-gedge-in {
  border-left: var(--gr-group-line-in);
}
.pl-grid .gr-hidden-n {
  flex: none;
  color: var(--pl-muted);
  font-weight: 400;
  font-size: 0.88em;
}
.pl-grid .gr-col-toggle {
  flex: none;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  color: var(--pl-muted);
  border-radius: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pl-grid .gr-col-toggle:hover,
.pl-grid .gr-col-toggle:focus-visible {
  color: var(--pl-accent);
  background: var(--pl-accent-soft);
}
.pl-grid th[style*="center"] .gr-th,
.pl-grid .gr-group-head .gr-th {
  justify-content: center;
}
.pl-grid .gr-th .gr-col-toggle {
  margin-right: 2px;
  align-self: center;
}
.pl-grid td.gr-stub,
.pl-grid th.gr-stub-head {
  background-color: var(--gr-stub);
}
.pl-grid td.gr-stub {
  color: var(--pl-muted);
  text-align: center;
}
.pl-grid .gr-rot-toggle {
  pointer-events: auto;
}
.pl-grid tr.gr-rgroup td.gr-rg-cell {
  padding-right: var(--gr-pad-x);
  overflow: visible;
}
.pl-grid .gr-rg {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pl-grid .gr-rg-head {
  position: sticky;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-right: 4px;
}
.pl-grid .gr-rg-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-grid .gr-rg-count {
  color: var(--pl-muted);
  font-weight: 400;
}
.pl-grid .gr-rg-rule {
  flex: 1;
  min-width: 12px;
  border-top: 1px solid var(--gr-cell-color);
  opacity: 0.35;
  align-self: center;
}
.pl-grid tr.gr-rgroup .gr-toggle {
  flex: none;
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  color: var(--pl-muted);
  border-radius: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pl-grid tr.gr-rgroup .gr-toggle:hover {
  color: var(--pl-accent);
  background: var(--pl-accent-soft);
}
.pl-grid.gr-wrap tr.gr-rgroup td {
  white-space: nowrap;
}
.pl-grid.pl-hc tbody tr.gr-selected td {
  outline: 2px solid var(--pl-accent);
  outline-offset: -2px;
}
.pl-table .pl-sparkcell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.pl-table .pl-spark {
  flex: none;
  display: block;
  overflow: visible;
}
.pl-table .pl-spark-val {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

