#t50{--ctl:46px;--brand:#6B3ECC;--brand900:#27153C;--brand100:#ECE8F5;--brand200:#C1AEEA;--accent:#423FDE;--accent2:#5B35C4;
  --ink:#1F1D1E;--ink70:rgba(31,29,30,.7);--ink50:rgba(31,29,30,.5);--hair:rgba(31,29,30,.2);--grey:#F6F6F6;
  --h:'Manrope',sans-serif;--b:'Inter',sans-serif;
  border:1.5px solid var(--hair);border-radius:16px;background:#fff;padding:clamp(18px,2.2vw,30px);
  font-family:var(--b);color:var(--ink);font-size:16px;line-height:1.5;text-align:left}
#t50 *{box-sizing:border-box}
/* display:flex / display:grid outrank the browser's [hidden] rule,
   so without this the vote UI stayed on screen during step 4. */
#t50 [hidden]{display:none!important}
.t50__bar{margin-bottom:32px}
.t50__prog{display:flex;gap:6px;margin-bottom:16px}
.t50__prog i{flex:1;height:4px;border-radius:100vw;background:var(--hair)}
.t50__prog i.on{background:var(--accent)}
.t50__meta{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
.t50__tag{font-size:13.5px;font-weight:600;color:var(--ink50)}
.t50__tag b{color:var(--ink);font-family:var(--h)}
.t50__q{font-family:var(--h);font-weight:700;font-size:clamp(20px,1.7vw,23px);line-height:1.15;margin:0 0 32px}
.t50__controls{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.t50__tabs{display:inline-flex;gap:4px;background:var(--grey);border-radius:100vw;padding:4px}
.t50__tab{font-family:var(--h);font-size:16px;font-weight:600;height:calc(var(--ctl) - 8px);padding:0 22px;color:var(--ink70);
  background:transparent;border:0;border-radius:100vw;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.t50__tab:hover{color:var(--ink)}
.t50__tab.is-on{background:var(--brand900);color:#fff}
.t50__tab em{font-style:normal;font-weight:500;opacity:.6;font-size:14.6px}
/* capped and pushed right: full-bleed it dwarfed the tabs */
.t50__search{flex:0 1 360px;margin-left:auto;display:flex;align-items:center;gap:10px;height:var(--ctl);
  border:1.5px solid var(--hair);border-radius:100vw;padding:0 20px;color:var(--ink50);background:#fff}
.t50__search input{flex:1;border:0;outline:0;background:0;font:inherit;font-size:16px;color:var(--ink);min-width:0}
.t50__search input::-webkit-search-cancel-button{cursor:pointer}
.t50__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.t50__grid.is-teams{grid-template-columns:repeat(2,1fr)}
.t50__card{display:flex;gap:12px;align-items:flex-start;text-align:left;width:100%;border:1.5px solid var(--hair);
  border-radius:8px;padding:13px 15px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}
.t50__card:hover{border-color:#9270DF}
.t50__card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.t50__card[aria-pressed="true"]{border-color:var(--brand);background:var(--brand100)}
.t50__tick{flex:0 0 auto;width:20px;height:20px;border:1.5px solid var(--ink50);border-radius:6px;margin-top:2px;
  display:grid;place-items:center;background:#fff}
.t50__card[aria-pressed="true"] .t50__tick{background:var(--brand);border-color:var(--brand)}
.t50__tick svg{display:none}
.t50__card[aria-pressed="true"] .t50__tick svg{display:block}
.t50__nm{font-family:var(--h);font-size:16px;font-weight:700;line-height:1.25;display:block}
.t50__mt{font-size:13.6px;line-height:19px;color:var(--ink70);display:block;margin-top:3px}
.t50__badge{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);
  background:#fff;border:1px solid var(--brand200);border-radius:6px;padding:2px 7px;margin-bottom:7px}
.t50__dsc{font-size:13.6px;line-height:20px;color:var(--ink70);margin:8px 0 0;display:block}
.t50__empty{font-size:15.4px;color:var(--ink50);padding:28px 0;margin:0}
.t50__foot{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  margin-top:32px;padding-top:24px;border-top:1.5px solid var(--hair)}
.t50__counts{display:flex;gap:24px;flex-wrap:wrap;font-size:15.4px;color:var(--ink70)}
/* number and label stay in ONE font. Manrope and Inter have different
   baselines, so mixing them inline made the digit sit off the text. */
.t50__counts b{font-family:inherit;font-weight:700;color:var(--ink)}
.t50__act{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.t50__btn{display:inline-flex;align-items:center;justify-content:center;height:var(--ctl);padding:0 30px;border:0;border-radius:100vw;
  background:var(--accent);color:#fff;font-family:var(--h);font-size:18px;font-weight:600;cursor:pointer;transition:background .18s}
.t50__btn:hover{background:var(--accent2)}
.t50__act .t50__btn{margin-left:2px}
.t50__btn[disabled]{opacity:.45;pointer-events:none}
.t50__back{display:inline-flex;align-items:center;height:var(--ctl);padding:0 2px;border:0;background:0;
  font-family:var(--b);font-size:15.4px;font-weight:600;color:var(--ink70);cursor:pointer}
/* real icon rather than the "\2190" character, which rendered in whatever
   font happened to win. masked so it still follows the hover colour. */
.t50__back::before{content:"";flex:0 0 auto;width:15px;height:15px;margin-right:9px;background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 8H3.6'/%3E%3Cpath d='M7.6 3.6 3.2 8l4.4 4.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 8H3.6'/%3E%3Cpath d='M7.6 3.6 3.2 8l4.4 4.4'/%3E%3C/svg%3E") center/contain no-repeat}
.t50__back:hover{color:var(--ink)}
.t50__skip{background:0;border:0;font-family:var(--b);font-size:15.4px;font-weight:500;color:var(--ink50);
  text-decoration:none;cursor:pointer}
.t50__skip:hover{color:var(--ink70);text-decoration:underline;text-underline-offset:3px}
.t50__summary{border:1.5px solid var(--hair);border-radius:12px;background:var(--grey);padding:0 20px 6px;margin-bottom:28px}
.t50__h6{font-family:var(--b);font-size:12.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ink50);margin:0;padding:15px 0 11px}
.t50__row{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:15.4px;color:var(--ink);padding:11px 0;border-top:1px solid var(--hair)}
.t50__row button{background:0;border:0;font:inherit;font-size:14.6px;font-weight:600;color:var(--brand);cursor:pointer;text-decoration:none}
.t50__row button:hover{text-decoration:underline;text-underline-offset:3px}
.t50__why{font-size:17.4px;line-height:26px;color:var(--ink70);margin:0 0 18px;max-width:62ch}
.t50__field{display:flex;align-items:center;height:var(--ctl);border:1.5px solid var(--hair);border-radius:100vw;
  padding:0 22px;max-width:460px;width:100%;margin-bottom:24px;background:#fff}
.t50__field input{flex:1;border:0;outline:0;background:0;font:inherit;font-size:16px;color:var(--ink);min-width:0}
.t50__err{color:#B3261E;font-size:14.6px;margin:-14px 0 18px}
.t50__optin{display:flex;gap:14px;align-items:flex-start;max-width:none;margin-bottom:32px;cursor:pointer}
.t50__optin input{margin-top:3px;width:18px;height:18px;accent-color:var(--brand);flex:0 0 auto}
.t50__optin span{font-size:15.4px;line-height:23px;color:var(--ink70)}
.t50__done p{font-size:17.4px;color:var(--ink70);margin:6px 0 0}
.t50__debug{background:var(--grey);border-radius:8px;padding:16px;font-size:12.5px;overflow:auto;margin-top:24px;white-space:pre-wrap}
@media(max-width:1100px){.t50__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.t50__grid.is-teams{grid-template-columns:1fr}}
@media(max-width:700px){.t50__tabs{width:100%}.t50__tab{flex:1;padding:0 8px;font-size:14.6px;justify-content:center}.t50__tab em{font-size:13px}
  .t50__search{flex:1 1 100%;margin-left:0;max-width:none}}
@media(max-width:620px){.t50__grid{grid-template-columns:1fr}.t50__foot{flex-direction:column;align-items:stretch}
  .t50__act{justify-content:space-between}.t50__btn{flex:1}}

/* ---- search-first list ---- */
.t50__more{font-size:15.4px;line-height:23px;color:var(--ink50);margin:18px 0 0;text-align:center}
.t50__more button{background:0;border:0;font:inherit;font-weight:600;color:var(--brand);cursor:pointer;
  text-decoration:underline;text-underline-offset:3px}

/* ---- pinned action bar ----
   The footer is the last element in the module, so position:sticky has no
   range to travel and does nothing. It is pinned instead, and JS matches its
   left/width to the card so it does not run the full width of the window. */

#t50.is-stuck .t50__foot{position:fixed;bottom:0;z-index:40;margin-top:0;background:#fff;
  border-top:1.5px solid var(--hair);padding:14px clamp(18px,2.2vw,30px);box-sizing:border-box}
/* On a phone the full footer is 146px tall, which is a fifth of the screen.
   Pinned, it shows the running count and Continue only. Skip is still there
   in the footer's resting position at the end of the list. */
@media(max-width:620px){
  #t50.is-stuck .t50__foot{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:8px}
  #t50.is-stuck .t50__counts{font-size:13.6px;gap:14px;justify-content:center}
  #t50.is-stuck .t50__skip{display:none}
  #t50.is-stuck .t50__btn{height:44px;font-size:16.5px}
  #t50.is-stuck .t50__back{height:44px}
}

/* ---- preview banner ---- */
.t50__demo{font-size:14.6px;line-height:22px;color:var(--brand900);background:var(--brand100);
  border-radius:8px;padding:11px 15px;margin:0 0 24px}

/* ---- pinned tabs + search ---- */
/* flow-root so the footer's top margin stays inside the wrapper and is
   reserved along with it, instead of disappearing the moment it pins. */
.t50__headwrap,.t50__footwrap{display:flow-root}
#t50.is-head-stuck .t50__controls{position:fixed;top:0;z-index:41;margin:0;background:#fff;
  border-bottom:1.5px solid var(--hair);padding:12px clamp(18px,2.2vw,30px);box-sizing:border-box}
/* On a phone the tabs and search stack, so pinning both costs 108px, and
   with the footer that is a quarter of the screen. Pinned, it keeps the
   search only. The tabs come back as soon as you scroll up, and moving
   between categories is what Continue and Skip are already for. */
@media(max-width:700px){
  #t50.is-head-stuck .t50__controls{padding:9px 16px;gap:0}
  #t50.is-head-stuck .t50__tabs{display:none}
  #t50.is-head-stuck .t50__search{flex:1 1 100%;height:42px}
}

/* The embed draws four progress segments. The fourth is hidden rather than
   removed, so the markup in Webflow does not have to change: the three
   voting steps fill the bar, and the details screen is not counted. */
#t50 .t50__prog i:nth-child(4){display:none}
