/* Text Logo Maker (ROADMAP-Calcs-PinPin.md PP37) — the logo on the left (on top on a phone, after the answer), the
   name, the style, the fonts and the colors beside it. Everything else is the core stylesheet. */
.tl { display: grid; gap: 1.2rem; }
.tl > * { min-width: 0; }
/* a phone reads the logo, then the choices, then the small versions; a desktop keeps the small versions under the logo */
@media (min-width: 900px) {
  .tl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "main side" "more side"; align-items: start; }
  .tl-main { grid-area: main; } .tl-side { grid-area: side; } .tl-more { grid-area: more; }
}
.tl-main { gap: 8px; }
.tl-stage { background: var(--chqt-cream, #f6f2fa); border-radius: 12px; padding: 10px; }
/* a fixed 16:9 frame, so the layout never jumps as the name gets longer */
.tl-canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; box-shadow: 0 1px 6px rgba(25,19,32,.14); }
.tl-note { margin: .4rem 0 0; padding: .5rem .7rem; border-left: 4px solid #b26b00; background: #fff; border-radius: 8px; font-size: .95rem; }
.tl-note--info { border-left-color: var(--chqt-line, #ddd5e6); }
.tl-small { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: .4rem; }
.tl-small figure { margin: 0; min-width: 0; }
.tl-small figcaption { font-size: .85rem; color: var(--chqt-muted, #4c4658); margin-top: 4px; }
.tl-on canvas { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; border-radius: 8px; border: 1px solid var(--chqt-line, #ddd5e6); }
.tl-icons { grid-column: 1 / -1; }
.tl-icon-row { display: flex; align-items: center; gap: 14px; }
.tl-icon { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--chqt-line, #ddd5e6); }
.tl-fav { width: 32px; height: 32px; border: 1px solid var(--chqt-line, #ddd5e6); }
.tl-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tl-face { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 8px 12px; text-align: left; cursor: pointer; min-width: 0;
  border: 1.5px solid var(--chqt-line, #ddd5e6); border-radius: 12px; background: #fff; color: var(--chqt-ink, #191320); font: inherit; }
.tl-face[aria-pressed="true"] { border-color: var(--chqt-accent, #b3124e); box-shadow: 0 0 0 2px var(--chqt-accent, #b3124e); }
.tl-face-n { font-size: 1.3rem; line-height: 1.25; font-weight: 400; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-face-f { font-size: .85rem; color: var(--chqt-muted, #4c4658); }
.tl-range { width: 100%; min-height: 44px; font-size: 16px; accent-color: var(--chqt-accent, #b3124e); }
.tl-ls-out { font-weight: 700; margin-left: .3rem; }
.tl-swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--chqt-line, #ddd5e6); cursor: pointer; padding: 0; }
.tl-swatch[aria-pressed="true"] { border-color: var(--chqt-ink, #191320); box-shadow: 0 0 0 3px var(--chqt-accent, #b3124e); }
.tl-custom { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .95rem; cursor: pointer; }
.tl-custom input { width: 44px; height: 44px; font-size: 16px; padding: 0; border: 2px solid var(--chqt-line, #ddd5e6); border-radius: 10px; background: #fff; cursor: pointer; }
.tl-board { margin: .6rem 0 0; }
