/* Each available quantity occupies one equal track. With no capacity the status
   message takes its place and the options tray has no visual footprint. */
.jc-overlay-root #jc-count-panel {
  box-sizing: border-box;
  padding: 13px 14px;
}
.jc-overlay-root #jc-count-panel .jc-popover-title {
  margin: 0 0 9px;
  padding: 0;
  line-height: 1.4;
}
.jc-overlay-root #jc-count-panel .jc-count-options {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 3px;
  padding: 3px;
}
.jc-overlay-root #jc-count-panel .jc-count-options:not(:has(button)) { display: none; }
.jc-overlay-root #jc-count-panel .jc-count-options > button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 37px;
  padding: 4px;
  font-size: var(--wc-body,15.6px);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.jc-overlay-root #jc-count-panel .jc-output-spec {
  margin: 9px 0 0;
  padding: 0;
  line-height: 1.45;
}
@media (pointer: coarse) {
  .jc-overlay-root #jc-count-panel .jc-count-options > button { min-height: var(--wc-touch,44px); }
}
