/* What only this playground needs on top of /shared/playground.css. Tokens only. */
@layer pp.page {
  /* The "Agrees" column of section 6: a semantic dot next to neutral words */
  .pp-ok::before, .pp-no::before, .pp-near::before {
    content: '';
    display: inline-block;
    width: var(--ds-size-2);
    height: var(--ds-size-2);
    margin-inline-end: var(--ds-size-1);
    border-radius: 50%;
    vertical-align: 0.1em;
  }
  .pp-ok::before { background: var(--ds-color-success-base-default); }
  .pp-no::before { background: var(--ds-color-danger-base-default); }
  .pp-near::before { background: var(--ds-color-warning-base-default); }

  /* The race editor of section 4: compact inputs in a table */
  #s4Races .ds-input { min-width: 0; width: 100%; }
  #s4Races td:first-child { min-width: 9.5rem; }
  #s4Races td:nth-child(2) { min-width: 8rem; }

  /* The line above the pace table that says where its numbers come from */
  .pp-source {
    padding: var(--ds-size-2) var(--ds-size-3);
    border-inline-start: var(--ds-border-width-focus) solid var(--ds-color-neutral-border-default);
    background: var(--ds-color-neutral-background-tinted);
    font-size: var(--ds-font-size-2);
  }
}
