/* Public demonstrations use the same paper, ink and control finishes as Scratch. */
html.wn-public-tool {
  --tool-paper: linear-gradient(112deg, #fffdf8 1%, #fcfbf7 43%, #f3f8f4 76%, #f0f6f3);
  --tool-button: linear-gradient(108deg, #fffefb, #fbf6fa 57%, #f2e7f0);
  --tool-hover: linear-gradient(108deg, #fcf7fb, #f4e9f3 57%, #eddfeb);
  --tool-field: #f6f3f6;
  --tool-ink: #302934;
  --tool-purple: #672a65;
  --tool-border: #c3a5bc;
  --tool-edge: #d8ded7;
  --tool-control: #987e93;
  --tool-focus: #92278f;
  --tool-relief: inset 0 1px #fff, 0 1px 2px rgb(76 44 72 / 8%);
}
html.wn-public-tool[data-wn-theme=dark] {
  --tool-paper: linear-gradient(112deg, #322e32, #2b2b31 43%, #253333 76%, #243133);
  --tool-button: linear-gradient(108deg, #342e37, #3d313d 57%, #483447);
  --tool-hover: linear-gradient(108deg, #453747, #503c50 57%, #59405a);
  --tool-field: #201f27;
  --tool-ink: #fffdf8;
  --tool-purple: #efd5eb;
  --tool-border: #876a82;
  --tool-edge: #505554;
  --tool-control: #91878e;
  --tool-focus: #e5b7df;
  --tool-relief: inset 0 1px rgb(255 252 240 / 8%), 0 1px 2px rgb(0 0 0 / 18%);
}
html.wn-public-tool body.wn-quiet-editorial,
html.wn-public-tool body.wn-quiet-editorial :is(h1,h2,h3,h4,p,a,button,input,select,textarea,label,summary,caption,figcaption,small,.cs-top,.cs-role,.cs-date,.cs-badge,.cs-actions,.cs-review-toolbar,.cs-review-tools,.demo-header,.demo-brand,.demo-notice,.csrc-intake-buttons,.csrc-small,.csrc-format-hint,.cs-top *:not(svg,path)) {
  font-family: "Times New Roman", Times, serif !important;
}
@media screen and (forced-colors: none) {
  html.wn-public-tool body.wn-quiet-editorial header.demo-header,
  html.wn-public-tool[data-wn-theme] body.wn-quiet-editorial #content :is(.demo-toolbar,#csrc-drop,.csrc-drop,.csrc-card,.csrc-list > li, .cs-review-toolbar) {
    background: var(--tool-paper) !important;
    color: var(--tool-ink) !important;
    border-color: var(--tool-edge) !important;
  }
  html.wn-public-tool[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(.wn-theme-switch,.csrc-intake-buttons button,.csrc-btn,.csrc-btn-secondary,.csrc-btn-small:not(.csrc-remove),.cs-btn,button[type=submit]:not(.csrc-remove),#demo-use-sample,#demo-reset) {
    background: var(--tool-button) !important;
    color: var(--tool-purple) !important;
    border: 1px solid var(--tool-border) !important;
    border-radius: .45rem !important;
    box-shadow: var(--tool-relief) !important;
  }
  html.wn-public-tool[data-wn-theme] body.wn-quiet-editorial :is(#content,header.demo-header) :is(.wn-theme-switch,.csrc-intake-buttons button,.csrc-btn,.csrc-btn-secondary,.csrc-btn-small:not(.csrc-remove),.cs-btn,button[type=submit]:not(.csrc-remove),#demo-use-sample,#demo-reset):enabled:hover {
    background: var(--tool-hover) !important;
    border-color: var(--tool-control) !important;
  }
  html.wn-public-tool[data-wn-theme] body.wn-quiet-editorial #content :is(textarea,select,input[type=text],input[type=search],input[type=url]) {
    background: var(--tool-field) !important;
    color: var(--tool-ink) !important;
    border-color: var(--tool-control) !important;
  }
  html.wn-public-tool body.wn-quiet-editorial :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 2px solid var(--tool-focus) !important;
    outline-offset: 3px;
  }
}
html.wn-public-tool .wn-tool-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-inline-end: .35em;
  vertical-align: -.14em;
}
/* Let the controls wrap independently of their containing article. */
html.wn-public-tool body.wn-quiet-editorial > header.demo-header {
  flex-wrap: wrap;
  gap: .45rem .75rem;
}
