.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: var(--pl-size);
  color: var(--pl-text);
  background: var(--pl-surface);
  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;
  font-variant-numeric: tabular-nums;
  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-header .pl-title {
  font-family: var(--pl-title-font, inherit);
  text-transform: var(--pl-head-transform, none);
  font-variant: var(--pl-head-variant, normal);
  font-style: var(--pl-head-italic, var(--pl-head-style, normal));
  text-decoration: var(--pl-head-deco, none);
  letter-spacing: var(--pl-head-ls, 0);
  text-shadow: var(--pl-text-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-header {
  display: flex;
  align-items: center;
  justify-content: var(--pl-head-align, flex-start);
  gap: 8px;
  min-height: 22px;
  margin-bottom: calc(8px * var(--pl-dens));
  background: var(--pl-head-bg, transparent);
  border-bottom: var(--pl-head-divider, none);
  border-radius: 4px;
  padding: var(--pl-head-pad, 0);
}
.pl-header .pl-title {
  flex: 0 1 auto;
  max-width: 100%;
  min-width: min(6em, 45%);
  font-size: var(--pl-head-size);
  font-weight: var(--pl-head-weight);
  color: var(--pl-head-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-header .pl-title.pl-wrap {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.2;
}
.pl-header .pl-count {
  flex: 0 100 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--pl-muted);
  font-size: 0.92em;
  white-space: nowrap;
}
.pl-header .pl-seg,
.pl-header .pl-clear {
  flex: none;
}
.pl-header.pl-head-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.pl-header.pl-head-center .pl-hmid {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
}
.pl-header.pl-head-center .pl-hside {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pl-header.pl-head-center .pl-hright {
  justify-content: flex-end;
}
.pl-header .pl-spacer {
  flex: 1;
}
.pl-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pl-accent);
  font-weight: 500;
  font-size: 0.95em;
  padding: 3px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
.pl-clear:hover {
  background: var(--pl-accent-soft);
}
.pl-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.pl-foot-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  font-size: 10px;
  color: var(--pl-muted);
  padding-top: 4px;
}
.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-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-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: calc(4px * var(--pl-dens)) 9px;
  border-radius: 999px;
  border: 1px solid var(--pl-line);
  background: var(--pl-surface-solid);
  color: var(--pl-text);
  font-size: 0.92em;
  white-space: nowrap;
  transition: background var(--pl-speed), border-color var(--pl-speed);
}
.pl-chip:hover {
  border-color: var(--pl-muted);
}
.pl-chip.on {
  background: var(--pl-text);
  border-color: var(--pl-text);
  color: var(--pl-surface-solid);
}
.pl-chip.accent.on {
  background: var(--pl-accent);
  border-color: var(--pl-accent);
  color: var(--pl-on-accent);
}
.pl-chip[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.pl-chip .pl-x {
  opacity: 0.7;
  display: inline-flex;
}
.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: calc(6px * var(--pl-dens)) 12px;
  border-radius: calc(var(--pl-radius) * 0.8);
  border: 1px solid var(--pl-line);
  background: var(--pl-surface-solid);
  font-weight: 500;
}
.pl-btn.primary {
  background: var(--pl-accent);
  border-color: var(--pl-accent);
  color: var(--pl-on-accent);
}
.pl-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: calc(6px * var(--pl-dens)) 9px;
  margin-bottom: calc(8px * var(--pl-dens));
  border: 1px solid var(--pl-line);
  border-radius: calc(var(--pl-radius) * 0.8);
  color: var(--pl-muted);
  background: var(--pl-surface-solid);
}
.pl-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--pl-text);
  padding: 0;
}
.pl-search input::placeholder {
  color: var(--pl-muted);
}
.pl-search .pl-x {
  cursor: pointer;
  display: inline-flex;
}
.pl-search:focus-within {
  border-color: var(--pl-accent);
}
.pl-input {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.pl-input label {
  font-size: 0.78em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pl-muted);
}
.pl-input input {
  width: 100%;
  border: 1px solid var(--pl-line);
  border-radius: calc(var(--pl-radius) * 0.7);
  padding: calc(6px * var(--pl-dens)) 8px;
  background: var(--pl-surface-solid);
  outline: none;
}
.pl-input input:focus {
  border-color: var(--pl-accent);
  box-shadow: 0 0 0 3px var(--pl-accent-soft);
}
.pl-input input.bad {
  border-color: #c0392b;
}
.pl-check {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--pl-line);
  flex: none;
  display: inline-grid;
  place-items: center;
  background: var(--pl-surface-solid);
}
.pl-check.radio {
  border-radius: 50%;
}
.pl-check.on {
  background: var(--pl-text);
  border-color: var(--pl-text);
  color: var(--pl-surface-solid);
}
.pl-check.part {
  border-color: var(--pl-text);
}
.pl-check.part::after {
  content: "";
  width: 7px;
  height: 2px;
  background: var(--pl-text);
}
.pl-seg {
  display: inline-flex;
  border: 1px solid var(--pl-line);
  border-radius: 7px;
  overflow: hidden;
  font-size: 0.88em;
}
.pl-seg button {
  padding: calc(3px * var(--pl-dens)) 8px;
  color: var(--pl-muted);
  white-space: nowrap;
}
.pl-seg button.on {
  background: var(--pl-track);
  color: var(--pl-text);
  font-weight: 600;
}
.pl-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--pl-line) transparent;
}
.pl-scroll::-webkit-scrollbar {
  width: 8px;
}
.pl-scroll::-webkit-scrollbar-thumb {
  background: var(--pl-line);
  border-radius: 4px;
}
.pl-popover {
  position: absolute;
  z-index: 20;
  background: var(--pl-surface-solid);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  padding: 10px;
}
.pl-sheet {
  inset: 0;
  width: auto !important;
  max-height: none !important;
  border-radius: var(--pl-radius);
  display: flex;
  flex-direction: column;
}
.pl-empty {
  color: var(--pl-muted);
  padding: 12px 4px;
  text-align: center;
  font-size: 0.95em;
}
.pl-novalues {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pl-novalues .pl-icon {
  opacity: 0.6;
}
.pl-pre-note {
  font-weight: 500;
}
.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: 600;
}
.pl-landing .pl-landing-hint {
  max-width: 280px;
  font-size: 0.92em;
}
.pl-hc .pl-chip.on,
.pl-hc .pl-btn.primary {
  outline: 2px solid var(--pl-accent);
}
.pl-hc .bs-dd {
  border-width: 2px;
  border-color: var(--pl-text);
}
.pl-hc .pl-popover {
  border-width: 2px;
  border-color: var(--pl-text);
}
.pl-readonly .pl-body,
.pl-readonly .pl-header button {
  pointer-events: none;
}
.pl-period .pp-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85em;
  color: #1f7a5c;
  white-space: nowrap;
  flex: none;
}
.pl-period .pp-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f7a5c;
  display: inline-block;
}
.pl-period .pp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: calc(8px * var(--pl-dens));
}
.pl-period .pp-presets .pp-gran {
  margin-left: auto;
}
.pl-period .pp-chart {
  position: relative;
  flex: 1;
  min-height: 70px;
  touch-action: none;
}
.pl-period .pp-svg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  user-select: none;
  cursor: crosshair;
}
.pl-period .pp-out-area {
  fill: var(--pp-out-soft);
}
.pl-period .pp-out-line {
  stroke: var(--pp-out);
  stroke-width: 1.5;
}
.pl-period .pp-in-area {
  fill: var(--pp-in-soft);
}
.pl-period .pp-in-line {
  stroke: var(--pp-in);
  stroke-width: 2.2;
}
.pl-period .pp-in-bar {
  fill: var(--pp-in);
}
.pl-period .pp-out-bar {
  fill: var(--pp-out-soft);
}
.pl-period .pp-win {
  fill: none;
  stroke: var(--pp-in);
  stroke-width: 1.5;
  cursor: grab;
}
.pl-period.pp-full .pp-win {
  stroke-opacity: 0;
}
.pl-period.pp-dragging .pp-svg {
  cursor: grabbing;
}
.pl-period .pp-grip {
  cursor: ew-resize;
  outline: none;
}
.pl-period .pp-grip .pp-grip-body {
  fill: var(--pl-surface-solid);
  stroke: var(--pp-in);
  stroke-width: 2;
}
.pl-period .pp-grip .pp-grip-line {
  stroke: var(--pp-in);
  stroke-width: 1;
}
.pl-period .pp-grip:focus-visible .pp-grip-body {
  stroke-width: 3;
  filter: drop-shadow(0 0 3px var(--pl-accent));
}
.pl-period .pp-drag {
  font-size: 0.85em;
  font-weight: 600;
  fill: var(--pp-in);
  paint-order: stroke;
  stroke: var(--pl-surface-solid);
  stroke-width: 3px;
  pointer-events: none;
}
.pl-period .pp-cmp-label {
  font-size: 0.8em;
  fill: var(--pl-muted);
  paint-order: stroke;
  stroke: var(--pl-surface-solid);
  stroke-width: 3px;
}
.pl-period .pp-tick {
  font-size: 0.78em;
  fill: var(--pl-muted);
}
.pl-period .pp-dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: calc(8px * var(--pl-dens));
}
.pl-period .pp-box {
  border: 1px solid var(--pl-line);
  border-radius: calc(var(--pl-radius) * 0.8);
  padding: calc(6px * var(--pl-dens)) 10px;
  min-width: 0;
  background: var(--pl-surface-solid);
}
.pl-period .pp-box label {
  display: block;
  font-size: 0.75em;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pl-muted);
  margin-bottom: 2px;
}
.pl-period .pp-box:focus-within {
  border-color: var(--pl-accent);
  box-shadow: 0 0 0 3px var(--pl-accent-soft);
}
.pl-period .pp-inrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--pl-muted);
}
.pl-period .pp-inrow input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 500;
  color: var(--pl-text);
  padding: 0;
}
.pl-period .pp-inrow input.bad {
  color: #c0392b;
}
.pl-period .pp-dur {
  white-space: nowrap;
  font-size: 0.85em;
}
.pl-period .pp-cmpbox {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pl-period .pp-cmpbox label {
  margin: 0;
}
.pl-period .pp-cmpbox .pl-seg {
  align-self: flex-start;
}
.pl-period .pp-delta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-period .pp-delta b {
  font-weight: 600;
}
.pl-period .pp-delta span {
  color: var(--pl-muted);
  font-size: 0.92em;
}
.pl-period .pp-delta em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.92em;
}
.pl-period .pp-delta .up {
  color: #1f7a5c;
}
.pl-period .pp-delta .down {
  color: #c0392b;
}
.pl-period .pp-cmp-dates {
  color: var(--pl-muted);
  font-size: 0.8em;
}
.pl-period .pp-apply {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}
.pl-period .pp-apply .pp-pending {
  color: var(--pl-accent);
  font-size: 0.9em;
}
.pl-period .pp-apply button[disabled] {
  opacity: 0.45;
  cursor: default;
}
.pl-period .pp-cal {
  width: 232px;
  padding: 10px 10px 8px;
}
.pl-period .pp-cal .pp-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  text-transform: capitalize;
}
.pl-period .pp-cal .pp-cal-head button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.pl-period .pp-cal .pp-cal-head button:hover {
  background: var(--pl-track);
}
.pl-period .pp-cal .pp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.pl-period .pp-cal .pp-cal-grid .pp-dow {
  font-size: 0.75em;
  color: var(--pl-muted);
  padding: 2px 0;
  text-transform: uppercase;
}
.pl-period .pp-cal .pp-cal-grid button {
  padding: 5px 0;
  border-radius: 5px;
  font-size: 0.9em;
}
.pl-period .pp-cal .pp-cal-grid button:hover {
  background: var(--pl-track);
}
.pl-period .pp-cal .pp-cal-grid button.in {
  background: var(--pl-accent-soft);
  border-radius: 0;
}
.pl-period .pp-cal .pp-cal-grid button.edge {
  background: var(--pl-accent);
  color: var(--pl-on-accent);
  border-radius: 5px;
  font-weight: 600;
}
.pl-period .pp-cal .pp-cal-grid button.nodata {
  color: var(--pl-muted);
}

