/* #region zone:desk.ml-badge.style — ป้ายเล็กแทรกในบรรทัดเดิมทั้งสองธีม */
.desk-ml-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 2px;
  box-sizing: border-box;
  min-width: 24px;
  height: 24px;
  padding: 0 var(--sp-1);
  margin-inline-start: var(--sp-2);
  /* Centre the 24px visual on the text line without increasing its layout height. */
  margin-block: calc((1em - var(--sp-6)) / 2);
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--accent-text);
  background: var(--panel);
  font: 600 11px/1 var(--font-sans, sans-serif);
  vertical-align: middle;
  white-space: nowrap;
  cursor: help;
  pointer-events: auto;
}
.desk-ml-badge:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}
.desk-ml-badge.is-statistical {
  color: var(--muted);
}
.desk-ml-badge .ui-icon {
  width: 10px;
  height: 10px;
}
.stat-value > .desk-ml-badge {
  margin-inline-start: 0;
}
.ml-inline {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.ml-inline > :first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.price-cone-legend .ml-inline {
  pointer-events: auto;
}
@media (pointer: coarse) {
  .desk-ml-badge {
    --badge-hit-pad: calc((var(--tap-min) - 24px) / 2);
    min-width: var(--tap-min);
    height: var(--tap-min);
    margin-block: calc((1em - var(--tap-min)) / 2);
    padding-inline: calc(5px + var(--badge-hit-pad));
    margin-inline: calc(var(--sp-2) - var(--badge-hit-pad)) calc(-1 * var(--badge-hit-pad));
    border: 0;
    background: transparent;
    isolation: isolate;
  }
  .desk-ml-badge::before {
    content: '';
    position: absolute;
    inset: var(--badge-hit-pad);
    z-index: -1;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: var(--panel);
  }
  .stat-value > .desk-ml-badge {
    margin-inline-start: calc(-1 * var(--badge-hit-pad));
  }
  .desk-ml-badge:focus-visible {
    outline: 0;
  }
  .desk-ml-badge:focus-visible::before {
    outline: 2px solid var(--accent-text);
    outline-offset: 2px;
  }
}
/* #endregion */
