.typesee-product-tester > .wp-block-group > .typesee-section__eyebrow {
  display: none;
}

.wcft-wrapper,
.wcft-wrapper * {
  box-sizing: border-box;
}

.wcft-wrapper {
  --wcft-base: #0d0d0d;
  --wcft-surface: #161616;
  --wcft-ink: #f5f5f2;
  --wcft-muted: #8f8f8a;
  --wcft-line: #2e2e2c;
  --wcft-soft: #1c1c1a;
  --wcft-accent: #e72a00;
  margin: 0;
  max-width: 100%;
  overflow: clip;
  background: var(--wcft-base);
  color: var(--wcft-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

.wcft-wrapper button,
.wcft-wrapper input,
.wcft-wrapper select {
  color: inherit;
  font: inherit;
}

.wcft-wrapper button,
.wcft-wrapper select,
.wcft-wrapper input[type="range"] {
  cursor: pointer;
}

.wcft-wrapper button:focus-visible,
.wcft-wrapper select:focus-visible,
.wcft-wrapper input:focus-visible {
  outline: 3px solid var(--wcft-accent);
  outline-offset: -3px;
}

.wcft-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 50px;
  padding: 0 10px;
  border-bottom: 2px solid var(--wcft-ink);
}

.wcft-title,
.wcft-feature-title,
.wcft-glyph-category h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wcft-title {
  padding-bottom: 12px;
}

.wcft-tabs {
  display: flex;
  align-items: flex-end;
  gap: 36px;
}

.wcft-tab-btn {
  position: relative;
  padding: 12px 0 11px;
  border: 0;
  background: transparent;
  color: var(--wcft-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wcft-tab-btn::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: var(--wcft-ink);
  content: "";
  opacity: 0;
}

.wcft-tab-btn:hover,
.wcft-tab-btn.active {
  color: var(--wcft-ink);
}

.wcft-tab-btn.active::after {
  background: var(--wcft-accent);
  opacity: 1;
}

.wcft-controls {
  display: none;
  background: transparent;
}

.wcft-glyph-mode .wcft-controls {
  display: block;
}

.wcft-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  grid-auto-rows: 44px;
  gap: 0;
  align-items: center;
  background: transparent;
  border: 0;
}

.wcft-select-control,
.wcft-range-control,
.wcft-alignment,
.wcft-theme-toggle {
  min-width: 0;
  height: 44px;
  padding: 5px 10px;
  border: 0;
  background: transparent;
}

.wcft-select-control {
  display: flex;
  align-items: center;
}

.wcft-select-control .wcft-control-label {
  display: none;
}

.wcft-control-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
  color: var(--wcft-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wcft-select-control select {
  width: auto;
  max-width: 100%;
  height: 30px;
  min-height: 30px;
  padding: 0 28px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--wcft-soft);
}

.wcft-wrapper .wcft-select-control select,
.wcft-wrapper .wcft-feature-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.wcft-range {
  width: 100%;
  height: 12px;
  margin: 0;
  accent-color: var(--wcft-ink);
}

.wcft-alignment {
  display: flex;
  flex-direction: column;
}

.wcft-align-buttons {
  display: flex;
  gap: 2px;
}

.wcft-align {
  flex: 1;
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--wcft-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.wcft-align .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.wcft-align:hover,
.wcft-align.active {
  border-color: var(--wcft-accent);
  color: var(--wcft-ink);
}

.wcft-theme-toggle,
.wcft-feature-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
}

.wcft-theme-toggle {
  width: 44px;
  min-height: 0;
  padding: 0;
  justify-content: center;
  background: transparent;
  color: var(--wcft-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.wcft-theme-toggle:hover,
.wcft-theme-toggle[aria-pressed="true"] {
  color: var(--wcft-accent);
}

.wcft-theme-icon,
.wcft-theme-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.wcft-theme-icon svg {
  fill: currentColor;
}

.wcft-feature-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 5px 0;
  background: transparent;
  border: 0;
}

.wcft-feature-panel.is-open {
  z-index: 50;
}

.wcft-feature-panel[hidden] {
  display: none;
}

.wcft-feature-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: 30px;
  min-height: 0;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: var(--wcft-soft);
  color: var(--wcft-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  list-style: none;
  text-transform: none;
}

.wcft-feature-chevron,
.wcft-feature-chevron .dashicons {
  display: block;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}

.wcft-feature-chevron .dashicons-arrow-up-alt2,
.wcft-feature-title[aria-expanded="true"] .dashicons-arrow-down-alt2 {
  display: none;
}

.wcft-feature-title[aria-expanded="true"] .dashicons-arrow-up-alt2 {
  display: block;
}

.wcft-feature-popover {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  left: auto;
  width: min(440px, calc(100vw - 64px));
  max-height: min(360px, 70vh);
  overflow: auto;
  border: 1px solid var(--wcft-line);
  border-radius: 10px;
  background: var(--wcft-surface);
  box-shadow: 0 12px 28px rgb(0 0 0 / 45%);
  color: var(--wcft-ink);
}

.wcft-feature-popover[hidden] {
  display: none;
}

.wcft-feature-list {
  display: block;
  padding: 10px;
}

.wcft-feature-group + .wcft-feature-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--wcft-line);
}

.wcft-feature-group h3 {
  margin: 0 0 6px;
  color: var(--wcft-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wcft-feature-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wcft-feature-toggle {
  position: relative;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--wcft-line);
  border-radius: 5px;
  background: var(--wcft-base);
  color: var(--wcft-muted);
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.wcft-feature-toggle:hover {
  border-color: var(--wcft-ink);
  color: var(--wcft-ink);
}

.wcft-feature-toggle[aria-pressed="true"] {
  border-color: var(--wcft-ink);
  background: var(--wcft-ink);
  color: var(--wcft-surface);
  box-shadow: inset 0 -3px var(--wcft-accent);
}

.wcft-feature-name {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.wcft-feature-status,
.wcft-glyph-status {
  margin: 0;
  padding: 10px;
  color: var(--wcft-muted);
  font-size: 12px;
}

.wcft-feature-popover .wcft-feature-status {
  color: var(--wcft-muted);
}

.wcft-view[hidden] {
  display: none !important;
}

.wcft-tester-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0;
  background: transparent;
}

.wcft-specimen {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: visible;
  background: var(--wcft-base);
}

.wcft-specimen--longform {
  grid-column: auto;
}

.wcft-specimen-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(140px, 1fr) minmax(105px, .8fr) minmax(110px, .75fr) auto 44px;
  grid-auto-rows: 44px;
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border: 0;
}

.wcft-specimen--longform .wcft-specimen-toolbar {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 44px;
  grid-auto-flow: dense;
}

.wcft-specimen--longform .wcft-font-control {
  grid-column: span 4;
}

.wcft-specimen--longform .wcft-theme-toggle {
  grid-column: 5;
  grid-row: 1;
}

.wcft-variation-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  padding: 2px 10px 8px;
  border-top: 1px solid var(--wcft-line);
  background: transparent;
}

.wcft-variation-controls[hidden] {
  display: none;
}

.wcft-axis-control {
  display: block;
  min-width: 0;
  padding: 5px 10px;
}

.wcft-axis-control .wcft-control-label {
  margin-bottom: 3px;
}

.wcft-axis-control output {
  color: var(--wcft-ink);
  font-variant-numeric: tabular-nums;
}

.wcft-specimen-text {
  display: grid;
  align-content: center;
  width: 100%;
  min-height: clamp(230px, 18vw, 300px);
  padding: 28px;
  outline: 0;
  background: transparent;
  color: var(--wcft-ink);
  letter-spacing: normal;
  line-height: normal;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.wcft-specimen-text:focus,
.wcft-specimen-text:focus-visible {
  outline: 0;
}

.wcft-specimen--longform .wcft-specimen-text {
  display: block;
  min-height: clamp(260px, 24vw, 340px);
}

/* "is-dark" is the user's invert toggle; on the dark site it flips to paper */
.wcft-specimen.is-dark .wcft-specimen-text {
  background: #f5f5f2;
  color: #0d0d0d;
  color-scheme: light;
}

.wcft-specimen-text:empty::before {
  color: var(--wcft-muted);
  content: "Type something";
}

.wcft-view-glyphs {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: start;
}

.wcft-glyph-inspector {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  min-height: min(820px, calc(100vh - 91px));
  padding: 28px;
  border-right: 1px solid var(--wcft-line);
  background: var(--wcft-base);
}

.wcft-inspector-font {
  color: var(--wcft-muted);
  font-size: 12px;
  font-weight: 700;
}

.wcft-blueprint {
  flex: 1;
  min-height: 430px;
  margin: 24px 0;
}

.wcft-inspector-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.wcft-meta-table {
  margin: 0;
  font-size: 13px;
}

.wcft-meta-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wcft-line);
}

.wcft-meta-table dt {
  font-weight: 700;
}

.wcft-meta-table dd {
  margin: 0;
  color: var(--wcft-muted);
  font-family: "Courier New", monospace;
}

.wcft-glyph-main {
  min-width: 0;
  padding: 28px;
  background: transparent;
}

.wcft-glyph-category {
  margin-bottom: 38px;
}

.wcft-glyph-category h3 {
  margin: 0 0 12px;
}

.wcft-glyph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  border-top: 1px solid var(--wcft-line);
  border-left: 1px solid var(--wcft-line);
}

.wcft-glyph-item {
  display: grid;
  min-height: 66px;
  place-items: center;
  padding: 4px;
  border: 0;
  border-right: 1px solid var(--wcft-line);
  border-bottom: 1px solid var(--wcft-line);
  background: transparent;
}

.wcft-glyph-item:hover,
.wcft-glyph-item:focus-visible,
.wcft-glyph-item.active {
  background: var(--wcft-ink);
  color: var(--wcft-surface);
}

.wcft-glyph-char {
  font-size: 30px;
  line-height: 1;
}

/* "dark-mode" is the user's invert toggle; on the dark site it flips to paper */
.wcft-wrapper.dark-mode.wcft-glyph-mode {
  --wcft-base: #f7f7f2;
  --wcft-surface: #fff;
  --wcft-ink: #111;
  --wcft-muted: #6b6b66;
  --wcft-line: #d9d9d3;
  --wcft-soft: #eeeeea;
}

.wcft-wrapper.dark-mode.wcft-glyph-mode .wcft-glyph-main {
  color-scheme: light;
}

.wcft-fallback {
  display: grid;
  gap: 1px;
  background: var(--wcft-line, #2e2e2c);
}

.wcft-fallback__row {
  padding: 24px;
  background: var(--wcft-soft, #1c1c1a);
}

.wcft-fallback__name {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wcft-fallback__text {
  min-height: 1.2em;
  outline: 0;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 1;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .wcft-controls {
    position: relative;
    top: auto;
  }

  .wcft-glyph-inspector {
    top: 88px;
  }
}

@media (max-width: 760px) {
  .wcft-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .wcft-title {
    padding: 18px 12px 10px;
  }

  .wcft-tabs {
    justify-content: space-between;
    gap: 18px;
    padding: 0 12px;
  }

  .wcft-tab-btn {
    font-size: 10px;
  }

  .wcft-toolbar {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .wcft-align {
    padding-inline: 4px;
  }

  .wcft-feature-toggle {
    min-width: 0;
    white-space: normal;
  }

  .wcft-feature-popover,
  .wcft-specimen--longform:last-child .wcft-feature-popover {
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 48px));
  }

  .wcft-feature-list {
    padding: 10px;
  }

  .wcft-tester-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .wcft-specimen {
    grid-column: 1;
  }

  /* Two controls per row instead of four crammed into ~76px columns, which overflowed. */
  .wcft-specimen-toolbar,
  .wcft-specimen--longform .wcft-specimen-toolbar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 40px;
  }

  .wcft-specimen .wcft-font-control,
  .wcft-specimen--longform .wcft-font-control {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .wcft-specimen .wcft-theme-toggle,
  .wcft-specimen--longform .wcft-theme-toggle {
    grid-column: 6;
    grid-row: 1;
  }

  .wcft-specimen .wcft-range-control {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .wcft-specimen .wcft-alignment {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .wcft-specimen .wcft-preset-control {
    grid-column: 1 / 4;
    grid-row: 3;
  }

  .wcft-specimen .wcft-feature-panel {
    grid-column: 4 / 7;
    grid-row: 3;
    height: 40px;
    min-height: 40px;
    justify-content: flex-end;
  }

  .wcft-select-control,
  .wcft-range-control,
  .wcft-alignment,
  .wcft-theme-toggle {
    height: 40px;
  }

  .wcft-specimen .wcft-preset-control select,
  .wcft-specimen .wcft-font-control select {
    width: 100%;
  }

  .wcft-variation-controls {
    grid-template-columns: 1fr;
    padding-inline: 2px;
  }

  .wcft-specimen-text {
    min-height: 240px;
    padding: 18px;
  }

  .wcft-specimen--longform .wcft-specimen-text {
    min-height: 260px;
  }

  /* Flex column (not grid) so the inspector can stick across the whole character list.
     The character grid comes first; the inspector pins to the bottom of the viewport
     once a character is picked, instead of sitting 600px above everything. */
  .wcft-view-glyphs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .wcft-glyph-main {
    order: 1;
    padding: 0 12px 12px;
  }

  .wcft-glyph-inspector {
    order: 2;
    position: sticky;
    top: auto;
    bottom: 0;
    z-index: 3;
    display: none;
    min-height: 0;
    padding: 10px 12px 12px;
    border-right: 0;
    border-top: 1px solid var(--wcft-line);
    box-shadow: 0 -12px 26px rgb(0 0 0 / 38%);
  }

  .wcft-has-glyph .wcft-glyph-inspector {
    display: flex;
  }

  /* The font name already sits in the selector directly above; repeating it here
     costs a line the pinned bar cannot spare. */
  .wcft-inspector-font {
    display: none;
  }

  /* Fixed height, not flex:1 - the canvas resolves height:100% against it, otherwise it
     falls back to its own drawing-buffer aspect ratio and balloons. */
  .wcft-blueprint {
    flex: none;
    height: 104px;
    min-height: 0;
    margin: 0 0 8px;
  }

  .wcft-inspector-canvas {
    min-height: 0;
  }

  .wcft-meta-table {
    display: flex;
    gap: 14px;
    font-size: 11px;
  }

  .wcft-meta-table > div {
    display: block;
    flex: 1;
    min-width: 0;
    gap: 0;
    padding: 0;
    border-bottom: 0;
  }

  .wcft-meta-table dd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Category label stays readable while scrolling a 6000px character list.
     61px clears the site's sticky header. */
  .wcft-glyph-category {
    margin-bottom: 20px;
  }

  .wcft-glyph-category h3 {
    position: sticky;
    top: 61px;
    z-index: 2;
    margin: 0;
    padding: 12px 0 8px;
    background: var(--wcft-base);
  }

  .wcft-glyph-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .wcft-glyph-item {
    min-height: 58px;
  }

  .wcft-glyph-char {
    font-size: 26px;
  }
}
