/* GENERATED from design/tokens.json web.facet by backend/pipeline/scripts/generate-facets.mjs.
   Do not hand-edit. Change the source and re-run `npm run facets`. */

.fs-facet-card, .fs-acct-panel, .fs-c-tile, .w2-board, .fs-map-card { background-image: url(ember.svg), url(card.svg); background-repeat: no-repeat, repeat; background-position: right top, 0 0; }
.fs-facet-card:nth-child(2n), .fs-acct-panel:nth-child(2n), .fs-c-tile:nth-child(2n), .w2-board:nth-child(2n), .fs-map-card:nth-child(2n) { background-position: right top, -317px -211px; }
.fs-facet-card:nth-child(3n), .fs-acct-panel:nth-child(3n), .fs-c-tile:nth-child(3n), .w2-board:nth-child(3n), .fs-map-card:nth-child(3n) { background-position: right top, -541px -463px; }
.fs-facet-card:nth-child(5n), .fs-acct-panel:nth-child(5n), .fs-c-tile:nth-child(5n), .w2-board:nth-child(5n), .fs-map-card:nth-child(5n) { background-position: right top, -127px -677px; }
.fs-facet-card:nth-child(7n), .fs-acct-panel:nth-child(7n), .fs-c-tile:nth-child(7n), .w2-board:nth-child(7n), .fs-map-card:nth-child(7n) { background-position: right top, -773px -89px; }
.fs-facet-calm, .fs-panel, .fs-feature, .fs-stats-panel, .fs-float { background-image: url(ember.svg), url(calm.svg); background-repeat: no-repeat, repeat; background-position: right top, 0 0; }
.fs-facet-calm:nth-child(2n), .fs-panel:nth-child(2n), .fs-feature:nth-child(2n), .fs-stats-panel:nth-child(2n), .fs-float:nth-child(2n) { background-position: right top, -317px -211px; }
.fs-facet-calm:nth-child(3n), .fs-panel:nth-child(3n), .fs-feature:nth-child(3n), .fs-stats-panel:nth-child(3n), .fs-float:nth-child(3n) { background-position: right top, -541px -463px; }
.fs-facet-calm:nth-child(5n), .fs-panel:nth-child(5n), .fs-feature:nth-child(5n), .fs-stats-panel:nth-child(5n), .fs-float:nth-child(5n) { background-position: right top, -127px -677px; }
.fs-facet-calm:nth-child(7n), .fs-panel:nth-child(7n), .fs-feature:nth-child(7n), .fs-stats-panel:nth-child(7n), .fs-float:nth-child(7n) { background-position: right top, -773px -89px; }
.fs-facet-control, .fs-menu > summary, .fs-menu nav, .fs-map-handle::before { background-image: url(control.svg); background-repeat: repeat; }
.fs-facet-action { background-image: url(action.svg); background-repeat: repeat; }
.fs-facet-glass { background-image: url(glass.svg); background-repeat: repeat; }
.fs-facet-badge { background-image: url(badge.svg); background-repeat: no-repeat; background-size: 100% 100%; }

/* The keyboard ring, in the scheme's accent, which the element carries. */
.fs-press:focus-visible { outline: 2px solid var(--fs-focus); outline-offset: 2px; }
.fs-input:focus { border-color: var(--fs-focus); outline: none; }

/* A notice's mark, in the tone's ink. It is drawn here so it is in no element's text; the words carry the meaning. */
.fs-notice::before { position: absolute; left: 8px; top: 11px; box-sizing: border-box; width: 18px; height: 18px; border: 1px solid var(--fs-notice-ink); border-radius: 50%; font: 700 12px/16px 'IBM Plex Mono', ui-monospace, Consolas, monospace; text-align: center; color: var(--fs-notice-ink); }
.fs-notice[data-notice-tone=error]::before { content: "\2715"; }
.fs-notice[data-notice-tone=alert]::before { content: "!"; }
.fs-notice[data-notice-tone=ok]::before { content: "\2713"; }
.fs-notice[data-notice-tone=busy]::before { content: "\2026"; }
.fs-notice[data-notice-tone=info]::before { content: "i"; }
.fs-c-notice.fs-notice::before { top: calc(50% - 9px); }
.fs-c-form-shell { display: flex; flex-direction: column; gap: 18px; }

/* A mark set into a surface presses in; it does not shrink or sink. */
.fs-dent:hover { background-color: rgb(255 255 255 / 0.06) !important; }
.fs-dent:active { background-color: rgb(0 0 0 / 0.28) !important; box-shadow: inset 0 3px 6px rgb(0 0 0 / 0.5); }

/* A real checkbox as a tick tile. */
.fs-tick:checked { border-color: var(--fs-tick-edge); }
.fs-tick:checked::before { content: "\2713"; display: block; text-align: center; line-height: 22px; font-weight: 700; color: var(--fs-tick-ink); }
.fs-tick:focus-visible { outline: 2px solid var(--fs-focus); outline-offset: 2px; }
.fs-tick:disabled { opacity: 0.6; cursor: not-allowed; }

/* Facets cost contrast. Somebody who has asked for more gets the plain ground and keeps the edge, as the web app's stone does. */
@media (prefers-contrast: more) {
  .fs-facet-card, .fs-acct-panel, .fs-c-tile, .w2-board, .fs-map-card, .fs-facet-calm, .fs-panel, .fs-feature, .fs-stats-panel, .fs-float, .fs-facet-control, .fs-menu > summary, .fs-menu nav, .fs-map-handle::before, .fs-facet-action, .fs-facet-glass, .fs-facet-badge { background-image: none; }
}
