/* CLAY TOOLS: one element, used everywhere (public/tools.js, lib/hosttools.js).
 *
 * The dashboard's New project sheet, copied: the values below are public/editor-ui.css's tokens
 * (--ed-sheet #0D0D0E, --ed-fill .03, --ed-fill-2 .06, --ed-hair .07, --ed-hair-2 .12, --ed-dim .45,
 * --ed-body .72, --ed-r-card 16, --ed-r-field 12, --ed-pad-modal 28) and public/projects.css's
 * .pj-start and --m-spring. Everything the sheet needs is in this file, so it looks the same on the
 * landing (on top of hosting.css) and inside the dashboard (on top of projects.css). */

.tl-sheet, .tl-scrim {
  --tl-sheet: #0D0D0E; --tl-fill: rgba(255,255,255,.03); --tl-fill-2: rgba(255,255,255,.06); --tl-hair: rgba(255,255,255,.07);
  --tl-hair-2: rgba(255,255,255,.12); --tl-ink: #fff; --tl-body: rgba(255,255,255,.72); --tl-dim: rgba(255,255,255,.45);
  --tl-curve: cubic-bezier(.32,.72,0,1);
  --tl-spring: linear(0, 0.0247, 0.0866, 0.171, 0.2666, 0.3654, 0.4618, 0.5521, 0.6341, 0.7066, 0.7694, 0.8226, 0.8669, 0.9031, 0.9322, 0.955,
    0.9725, 0.9857, 0.9953, 1.002, 1.0065, 1.0092, 1.0106, 1.0111, 1.0109, 1.0103, 1.0094, 1.0083, 1.0072, 1.0061, 1.0051, 1.0042, 1.0034, 1.0027, 1.002, 1.0015, 1);
}

/* ── the sheet ─────────────────────────────────────────────────────────────────────────────── */
.tl-sheet { background: var(--tl-sheet); color: var(--tl-ink); border-radius: 28px; padding: 26px 28px 28px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.45);
  font-family: inherit; -webkit-font-smoothing: antialiased; text-align: left; }
@media (max-width: 639px) { .tl-sheet { padding: 20px 18px 22px; border-radius: 24px; } }
.tl-sh-head { display: flex; align-items: center; gap: 12px; }
.tl-sh-head h1, .tl-sh-head h2 { flex: 1; min-width: 0; margin: 0; color: var(--tl-ink); font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; max-width: none; }
@media (max-width: 639px) { .tl-sh-head h1, .tl-sh-head h2 { font-size: 22px; } }
.tl-sh-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--tl-fill-2); display: grid; place-items: center; color: var(--tl-ink); }
.tl-sh-ic svg { width: 21px; height: 21px; }
.tl-backstep:not([hidden]) + .tl-sh-ic { display: none; }
.tl-sh-sub { margin: 8px 0 18px; color: var(--tl-dim); font-size: 15px; line-height: 1.45; }
.tl-x-btn { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--tl-hair-2); background: var(--tl-fill); color: var(--tl-ink);
  display: grid; place-items: center; cursor: pointer; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.tl-x-btn:hover { background: var(--tl-fill-2); }
.tl-x-btn svg { width: 20px; height: 20px; }
.tl-x-btn[hidden] { display: none; }
.tl-bar { height: 3px; border-radius: 3px; background: var(--tl-fill-2); overflow: hidden; }
.tl-bar i { display: block; height: 100%; width: 0; background: var(--tl-ink); border-radius: 3px; transition: width .45s var(--tl-curve); }
.tl-count { margin: 10px 0 0; color: var(--tl-dim); font-size: 13px; min-height: 18px; }

/* ── the cards: .pj-start, black ───────────────────────────────────────────────────────────── */
.tl-starts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tl-starts.n3 { grid-template-columns: repeat(3, 1fr); }
.tl-starts.n5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1023px) and (min-width: 640px) { .tl-starts.n5 { grid-template-columns: repeat(6, 1fr); } .tl-starts.n5 > * { grid-column: span 2; } .tl-starts.n5 > :nth-child(-n+2) { grid-column: span 3; } }
.tl-starts.in-sheet { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
@media (max-width: 639px) { .tl-starts, .tl-starts.n3, .tl-starts.n5, .tl-starts.in-sheet { grid-template-columns: 1fr 1fr; gap: 8px; }
  /* no card alone on a row: with an odd count the first one takes the whole width */
  .tl-starts.n3 > :first-child, .tl-starts.n5 > :first-child { grid-column: 1 / -1; min-height: 112px; } }
.tl-start { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; cursor: pointer; font: inherit; color: var(--tl-ink); text-decoration: none;
  background: var(--tl-fill); border: 1px solid var(--tl-hair); border-radius: 16px; padding: 16px 14px; min-height: 148px; box-sizing: border-box;
  transition: background .15s, border-color .15s, transform .35s var(--tl-curve); -webkit-tap-highlight-color: transparent; }
.tl-start:hover { background: var(--tl-fill-2); border-color: var(--tl-hair-2); transform: translateY(-2px); }
.tl-start:active { transform: scale(.97); }
.tl-start.on { border-color: var(--tl-ink); background: var(--tl-fill-2); }
.tl-start i { width: 42px; height: 42px; border-radius: 50%; background: var(--tl-fill-2); display: grid; place-items: center; margin-bottom: auto; color: var(--tl-ink); font-style: normal; }
.tl-start i svg { width: 21px; height: 21px; }
.tl-start b { font-size: 15.5px; font-weight: 700; line-height: 1.25; margin-top: 14px; color: var(--tl-ink); }
.tl-start span { font-size: 12.5px; color: var(--tl-dim); line-height: 1.35; }
.tl-starts.in-sheet .tl-start { min-height: 112px; }
@media (max-width: 639px) { .tl-start { min-height: 128px; padding: 14px 12px; } .tl-starts.in-sheet .tl-start { min-height: 100px; } }
/* the cards arrive one after another, on the dashboard's spring (pj-item-in) */
@keyframes tl-item-in { from { opacity: 0; filter: blur(6px); transform: scale(.86); } to { opacity: 1; filter: none; transform: none; } }
.tl-pick .tl-start { animation: tl-item-in .5s var(--tl-spring) both; animation-delay: calc(var(--i, 0) * 28ms); }

/* ── one step ──────────────────────────────────────────────────────────────────────────────── */
.tl-stage { margin-top: 14px; transition: opacity .15s ease, transform .2s var(--tl-curve); }
.tl-stage.out { opacity: 0; transform: translateX(-14px); }
.tl-stage.out.back { transform: translateX(14px); }
.tl-step-in .tl-anim { animation: tl-item-in .5s var(--tl-spring) both; animation-delay: calc(var(--i, 0) * 28ms); }
@media (prefers-reduced-motion: reduce) { .tl-stage, .tl-bar i { transition: none; } .tl-step-in .tl-anim, .tl-pick .tl-start, .tl-r, .tl-rev { animation: none !important; } }

.tl-q { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; margin: 0; color: var(--tl-ink); font-weight: 700; max-width: none; }
.tl-hint { color: var(--tl-dim); margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; }
.tl-opts { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 560px) { .tl-opts { grid-template-columns: 1fr 1fr; } }
.tl-opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--tl-hair);
  background: var(--tl-fill); font: inherit; font-size: 15.5px; font-weight: 600; color: var(--tl-ink); text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.tl-opt:hover { background: var(--tl-fill-2); border-color: var(--tl-hair-2); }
.tl-opt:active { transform: scale(.98); }
.tl-opt.on { border-color: var(--tl-ink); background: var(--tl-fill-2); }
.tl-opt > span { display: grid; gap: 2px; }
.tl-opt small { font-size: 12.5px; font-weight: 500; color: var(--tl-dim); }
.tl-opt.rec::after { content: ""; position: absolute; top: 10px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: #c87f5e; }
.tl-opt > .tl-aa { display: block; flex: none; width: 50px; font-size: 28px; line-height: 1; font-weight: 600; }
.tl-opt > .tl-sw { flex: none; display: flex; align-items: center; }
.tl-sw i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--tl-sheet); margin-left: -6px; box-shadow: 0 0 0 1px var(--tl-hair-2); }
.tl-sw i:first-child { margin-left: 0; }
.tl-ck { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--tl-hair-2); flex: none; }
.tl-opt.on .tl-ck { border-color: var(--tl-ink); background: var(--tl-ink); box-shadow: inset 0 0 0 5px var(--tl-sheet); }

.tl-form { display: grid; gap: 14px; margin-top: 16px; }
.tl-form label { display: grid; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--tl-dim); }
.tl-form input, .tl-search input { font: inherit; font-size: 16px; color: var(--tl-ink); height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--tl-hair-2);
  background: var(--tl-fill); outline: none; width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; transition: border-color .15s, background .15s; }
.tl-form input::placeholder, .tl-search input::placeholder { color: rgba(255,255,255,.3); }
.tl-form input:focus, .tl-search input:focus { border-color: rgba(255,255,255,.4); background: var(--tl-fill-2); }
.tl-form input.need { border-color: #ff6b5b; }

.tl-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.tl-link { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--tl-dim); padding: 12px 4px; cursor: pointer; }
.tl-link:hover { color: var(--tl-ink); }
.tl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--tl-ink);
  background: var(--tl-ink); color: #0D0D0E; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, opacity .15s; }
.tl-btn svg { width: 17px; height: 17px; }
.tl-btn:active { transform: scale(.97); }
.tl-btn.ghost { background: transparent; color: var(--tl-ink); border-color: var(--tl-hair-2); }
.tl-btn.ghost:hover { background: var(--tl-fill-2); }
.tl-btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.tl-btn.did { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }

/* where it starts: three tabs (Describe it · From a website · From Google Maps) */
.tl-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 16px; padding: 4px; border-radius: 14px; background: var(--tl-fill); border: 1px solid var(--tl-hair); }
.tl-tabs button { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600;
  line-height: 1.2; color: var(--tl-dim); padding: 10px 8px; border-radius: 10px; cursor: pointer; text-align: center; overflow-wrap: anywhere; transition: background .18s, color .18s; }
.tl-tabs button svg { width: 17px; height: 17px; flex: none; }
.tl-tabs button[aria-selected="true"] { background: var(--tl-fill-2); color: var(--tl-ink); box-shadow: inset 0 0 0 1px var(--tl-hair-2); }
@media (max-width: 559px) { .tl-tabs button { flex-direction: column; gap: 4px; font-size: 12.5px; padding: 9px 4px; } }

/* find your business: one search box, the results under it, then the place's own card */
.tl-search { position: relative; margin-top: 16px; }
.tl-search svg { position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--tl-dim); pointer-events: none; }
.tl-search input { padding-left: 46px; }
.tl-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.tl-msg { margin: 10px 2px 0; min-height: 18px; color: var(--tl-dim); font-size: 14px; }
.tl-msg.busy::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 8px; vertical-align: -1px; border-radius: 50%;
  border: 2px solid var(--tl-hair-2); border-top-color: var(--tl-ink); animation: tl-spin .7s linear infinite; }
@keyframes tl-spin { to { transform: rotate(360deg); } }
.tl-res { display: grid; gap: 8px; margin-top: 4px; }
.tl-r { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--tl-hair); background: var(--tl-fill);
  font: inherit; color: var(--tl-ink); text-align: left; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; min-width: 0;
  animation: tl-item-in .45s var(--tl-spring) both; animation-delay: calc(var(--i, 0) * 28ms); -webkit-tap-highlight-color: transparent; }
.tl-r:hover { background: var(--tl-fill-2); border-color: var(--tl-hair-2); } .tl-r:active { transform: scale(.985); }
.tl-r img, .tl-r-ph { flex: none; width: 50px; height: 50px; border-radius: 12px; object-fit: cover; background: var(--tl-fill-2); }
.tl-r > span { display: grid; gap: 2px; min-width: 0; }
.tl-r b { font-size: 15.5px; line-height: 1.3; }
.tl-r small { color: var(--tl-dim); font-size: 13px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tl-place { margin-top: 16px; }
.tl-pc { display: grid; border-radius: 16px; overflow: hidden; background: var(--tl-fill); border: 1px solid var(--tl-hair); }
@media (min-width: 560px) { .tl-pc { grid-template-columns: 190px 1fr; } }
.tl-pc-img { width: 100%; height: 100%; min-height: 160px; max-height: 230px; object-fit: cover; display: block; background: var(--tl-fill-2); }
.tl-pc-tx { display: grid; gap: 4px; padding: 16px 18px 18px; align-content: center; }
.tl-pc-tx b { font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
.tl-pc-tx small { color: var(--tl-dim); font-size: 13px; font-weight: 600; }
.tl-pc-tx > span { color: var(--tl-body); font-size: 14.5px; line-height: 1.45; }
.tl-rate { font-weight: 600; }
.tl-stars { color: #f2b51d; letter-spacing: 1px; } .tl-stars i { font-style: normal; color: rgba(255,255,255,.2); }
.tl-revs-h { margin: 18px 2px 8px; font-size: 12.5px; font-weight: 500; color: var(--tl-dim); }
.tl-revs { display: grid; gap: 8px; }
@media (min-width: 700px) { .tl-revs { grid-template-columns: repeat(3, 1fr); } .tl-revs-h { grid-column: 1 / -1; } }
.tl-rev { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--tl-fill); border: 1px solid var(--tl-hair);
  animation: tl-item-in .45s var(--tl-spring) both; animation-delay: calc(var(--i, 0) * 40ms); }
.tl-rev p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--tl-body); }
.tl-rev cite { display: block; margin-top: 8px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--tl-dim); }
.tl-pc-go { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }

/* the prompt, theirs to change */
.tl-prompt { display: block; width: 100%; box-sizing: border-box; margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--tl-hair-2);
  background: var(--tl-fill); font: inherit; font-size: 15px; line-height: 1.55; color: var(--tl-ink); resize: vertical; min-height: 176px; outline: none; }
.tl-prompt:focus { border-color: rgba(255,255,255,.4); }
.tl-go-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 559px) { .tl-go-row .tl-btn { flex: 1 1 100%; } }
.tl-connect { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px;
  border-radius: 12px; background: var(--tl-fill); border: 1px solid var(--tl-hair); }
.tl-connect div { display: grid; gap: 2px; min-width: 0; }
.tl-connect b { font-size: 15px; } .tl-connect span { color: var(--tl-dim); font-size: 14px; }

/* ── as a modal: the card grows into it (public/tools.js open) ─────────────────────────────── */
.tl-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 24px; }
.tl-run-sheet.modal { width: min(760px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; }
@media (max-width: 639px) {
  .tl-scrim { place-items: end center; padding: 0; }
  /* room at the foot for the floating feedback button, so it never sits on an answer */
  .tl-run-sheet.modal { width: 100%; max-height: 94dvh; border-radius: 26px 26px 0 0; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
html.tl-locked, html.tl-locked body { overflow: hidden; }

/* ── the light pages the sheet stands on (on top of hosting.css) ───────────────────────────── */
.tl-hero { padding-bottom: 24px; }
.tl-sec { padding: 8px 0 40px; }
.tl-how { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; color: var(--ink-2); }
@media (min-width: 760px) { .tl-how { grid-template-columns: repeat(3, 1fr); } }
.tl-how li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.tl-how li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.tl-run { padding: 24px 0 32px; }
.tl-run .wrap, .tl-about .wrap { max-width: 800px; }
.tl-back { display: inline-flex; align-items: center; gap: 6px; color: var(--grey); text-decoration: none; font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.tl-back svg { width: 18px; height: 18px; }
.tl-more { display: flex; justify-content: center; margin-top: 18px; }

/* the words under the steps (each tool's h2, paragraph and questions) */
.tl-about { padding: 24px 0 56px; }
.tl-about h2, html:not([lang="en"]) .tl-about h2 { font-size: clamp(26px, 5vw, 36px); letter-spacing: -.03em; line-height: 1.1; max-width: none; }
.tl-about > .wrap > p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.tl-about .faq { margin-top: 24px; }

/* the floating feedback button sits bottom right on a phone; the step's buttons keep clear of it */
@media (max-width: 559px) { .tl-run .tl-nav, .tl-run .tl-pc-go { padding-right: 58px; } .tl-run-sheet:not(.modal) { padding-bottom: 28px; } }

/* ── New project inside the element: the eight starts, a kind's own questions ───────────────── */
.tl-starts.in-sheet.n8 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 639px) { .tl-starts.in-sheet.n8 { grid-template-columns: 1fr 1fr; } }
.tl-starts.in-sheet.n8 .tl-start { min-height: 148px; }
@media (max-width: 639px) { .tl-starts.in-sheet.n8 .tl-start { min-height: 128px; } }
.tl-field { display: grid; gap: 8px; }
.tl-lbl { font-size: 12.5px; font-weight: 500; color: var(--tl-dim); }
.tl-field textarea { font: inherit; font-size: 15px; line-height: 1.5; color: var(--tl-ink); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--tl-hair-2);
  background: var(--tl-fill); outline: none; width: 100%; box-sizing: border-box; resize: vertical; min-height: 104px; transition: border-color .15s, background .15s; }
.tl-field textarea::placeholder { color: rgba(255,255,255,.3); }
.tl-field textarea:focus { border-color: rgba(255,255,255,.4); background: var(--tl-fill-2); }
.tl-field input, .tl-addrow input { font: inherit; font-size: 16px; color: var(--tl-ink); height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--tl-hair-2);
  background: var(--tl-fill); outline: none; width: 100%; box-sizing: border-box; transition: border-color .15s, background .15s; }
.tl-field input::placeholder, .tl-addrow input::placeholder { color: rgba(255,255,255,.3); }
.tl-field input:focus, .tl-addrow input:focus { border-color: rgba(255,255,255,.4); background: var(--tl-fill-2); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-chip { font: inherit; font-size: 14.5px; font-weight: 500; color: var(--tl-body); padding: 10px 16px; border-radius: 12px; border: 1px solid var(--tl-hair-2);
  background: var(--tl-fill); cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.tl-chip:hover { background: var(--tl-fill-2); color: var(--tl-ink); }
.tl-chip:active { transform: scale(.97); }
.tl-chip.on { border-color: var(--tl-ink); background: var(--tl-fill-2); color: var(--tl-ink); }

/* links, one by one */
.tl-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-list:empty { display: none; }
.tl-li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 7px 6px 7px 12px; border-radius: 999px; background: var(--tl-fill-2);
  border: 1px solid var(--tl-hair-2); font-size: 14px; color: var(--tl-ink); animation: tl-item-in .4s var(--tl-spring) both; }
.tl-li { overflow-wrap: anywhere; }
.tl-li button { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--tl-ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tl-li button svg { width: 13px; height: 13px; }
.tl-addrow { display: flex; gap: 8px; }
.tl-addrow .tl-btn { height: 54px; flex: none; }

/* photos, each with a line saying what it is */
.tl-files { display: grid; gap: 8px; }
.tl-files:empty { display: none; }
.tl-file { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; background: var(--tl-fill); border: 1px solid var(--tl-hair); animation: tl-item-in .4s var(--tl-spring) both; }
.tl-file img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--tl-fill-2); transition: opacity .2s; }
.tl-file.busy img { opacity: .4; }
.tl-file input { height: 44px; font-size: 15px; border: 0; background: transparent; padding: 0 6px; }
.tl-file input:focus { background: transparent; }
.tl-file button { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); color: var(--tl-ink); display: grid; place-items: center; cursor: pointer; }
.tl-file button svg { width: 15px; height: 15px; }
.tl-fadd { justify-self: start; cursor: pointer; }
.tl-field .tl-hint { margin: 0; font-size: 13px; }

/* the language of the website: a small pill in the head, a native picker under it */
.tl-lang { position: relative; flex: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--tl-hair-2); background: var(--tl-fill); color: var(--tl-ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.tl-lang::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.tl-lang:hover { background: var(--tl-fill-2); }
.tl-lang select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }

/* the prompt while New project writes it */
.tl-prompt.busy { background: linear-gradient(90deg, var(--tl-fill) 0%, var(--tl-fill-2) 50%, var(--tl-fill) 100%); background-size: 200% 100%; animation: tl-shimmer 1.2s linear infinite; }
@keyframes tl-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* a page's own link colour (the dashboard's .pj a, the landing's a) never reaches the sheet's buttons */
.tl-sheet a.tl-btn, .tl-sheet a.tl-btn:visited, .tl-sheet a.tl-btn:hover { color: #0D0D0E; text-decoration: none; }
.tl-sheet a.tl-btn.ghost, .tl-sheet a.tl-btn.ghost:visited, .tl-sheet a.tl-btn.ghost:hover { color: var(--tl-ink); }
.tl-sheet a.tl-start, .tl-sheet a.tl-start:visited { color: var(--tl-ink); text-decoration: none; }
