/* A template page (/t/<slug>) and the Use it now steps of xMap's own templates: one column, the steps down a line.
   On top of the Blocks and Templates pages' look. ASCII only. */
.tu-wrap{max-width:780px;margin:0 auto;padding-block:28px 56px}
.tu-hero{text-align:center;padding:12px 0 26px}
.tu-by{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-2);background:var(--surface,#fff);border:1px solid var(--line);border-radius:var(--r,10px);padding:5px 14px 5px 5px;flex-wrap:wrap;justify-content:center}
.tu-by b{font-weight:600;color:var(--ink)}
.tu-by .pill{display:inline-flex;align-items:center;gap:4px}
.tu-by .pill svg{width:12px;height:12px}
.tu-logo{height:26px;max-width:90px;object-fit:contain;border-radius:var(--r,10px)}
.tu-av{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:var(--accent);color:#fff;font-weight:600;font-size:13px;flex:none}
.tu-hero h1{font-size:clamp(28px,4.4vw,42px);line-height:1.12;letter-spacing:-.02em;margin:16px auto 10px;max-width:16em;text-wrap:balance;font-weight:600}
.tu-lede{font-size:clamp(16px,2vw,19px);line-height:1.5;color:var(--ink-2);max-width:34em;margin:0 auto 18px;text-wrap:balance}
.tu-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:4px 0 16px}
.tu-strip .bk-ico{width:38px;height:38px;border-radius:var(--r,10px)}
.tu-arr{width:14px;height:2px;border-radius:var(--r,10px);background:var(--line);flex:none}
.tu-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;font-size:13.5px;color:var(--muted);margin-bottom:16px}
.tu-meta span{display:inline-flex;align-items:center;gap:6px}
.tu-meta svg{width:15px;height:15px}
/* the steps */
.tu-steps{list-style:none;margin:8px 0 0;padding:0;position:relative}
.tu-step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;padding-bottom:16px}
.tu-step::before{content:"";position:absolute;left:21px;top:44px;bottom:0;width:2px;background:var(--line)}
.tu-step:last-child::before{display:none}
.tu-dot{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:17px;background:var(--surface,#fff);border:2px solid var(--line);color:var(--muted);position:relative;z-index:1;transition:background .2s,border-color .2s,color .2s}
.tu-step.active .tu-dot{background:var(--accent-strong,var(--accent));border-color:var(--accent-strong,var(--accent));color:#fff;box-shadow:0 0 0 5px var(--accent-soft)}
.tu-step.done .tu-dot{background:#16A34A;border-color:#16A34A;color:#fff}
.tu-step.done::before{background:#16A34A}
.tu-dot svg{width:18px;height:18px}
.tu-card{background:var(--surface,#fff);border:1px solid var(--line);border-radius:var(--r,10px);padding:18px 20px;min-width:0;box-shadow:0 1px 2px rgba(15,27,45,.04);transition:opacity .2s,box-shadow .2s}
.tu-step.active .tu-card{box-shadow:0 6px 24px rgba(15,27,45,.07)}
.tu-step.locked .tu-card{opacity:.6}
.tu-card h2{font-size:18px;font-weight:600;margin:4px 0 12px;letter-spacing:-.01em}
.tu-card h2{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tu-lock{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;letter-spacing:0;color:var(--muted);background:var(--surface-2);border-radius:var(--r,10px);padding:4px 10px}
.tu-lock svg{width:12px;height:12px}
.tu-blk{display:flex;align-items:center;gap:8px;margin:-6px 0 12px;font-size:13px;color:var(--muted)}
.tu-blk .bk-ico{width:24px;height:24px;border-radius:var(--r,10px)}
.tu-blk .bk-ico svg{width:13px;height:13px}
.tu-q+.tu-q{margin-top:14px}
.tu-q .lab{display:block;margin-bottom:6px}
.tu-hint{margin:6px 0 0;font-size:12.5px;color:var(--muted);line-height:1.45}
.tu-need{margin:6px 0 0;font-size:13px;color:var(--bad);font-weight:500}
.tu-missing .tu-tags,.tu-missing .tu-chips{border-radius:var(--r,10px);box-shadow:0 0 0 2px color-mix(in srgb,var(--bad) 45%,transparent)}
.tu-left{display:flex;gap:8px;align-items:flex-start;background:var(--accent-soft);border-radius:var(--r,10px);padding:10px 12px;font-size:13.5px;line-height:1.5;color:var(--ink-2);margin:0 0 14px}
.tu-left svg{flex:none;margin-top:2px;color:var(--accent)}
.tu-sub{margin-top:10px;font-size:14px;color:var(--ink-2)}
.tu-seg{display:flex;flex-wrap:wrap;gap:8px}
.tu-opt{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:500;padding:10px 16px;border-radius:var(--r,10px);border:1px solid var(--line);background:var(--surface,#fff);color:var(--ink);cursor:pointer;min-height:44px;transition:border-color .15s,background .15s,box-shadow .15s}
.tu-opt:hover:not(:disabled){border-color:var(--accent)}
.tu-opt.on{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent) inset}
.tu-opt:disabled,.tu-chip:disabled{cursor:not-allowed}
.tu-chips{display:flex;flex-wrap:wrap;gap:8px}
.tu-chip{font:inherit;font-size:14px;padding:8px 14px;border-radius:var(--r,10px);border:1px solid var(--line);background:var(--surface,#fff);color:var(--ink);cursor:pointer;min-height:40px}
.tu-chip.on{background:var(--accent-strong,var(--accent));border-color:var(--accent-strong,var(--accent));color:#fff}
.tu-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid var(--line);border-radius:var(--r,10px);padding:8px;background:var(--surface,#fff)}
.tu-tag{display:inline-flex;align-items:center;gap:4px;background:var(--accent-soft);color:var(--ink);border-radius:var(--r,10px);padding:5px 6px 5px 12px;font-size:14px}
.tu-tag button{border:0;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;width:24px;height:24px;border-radius:50%}
.tu-tag button:hover{background:var(--surface-2);color:var(--ink)}
.tu-tag svg{width:12px;height:12px}
.tu-tagin{flex:1;min-width:150px;border:0!important;box-shadow:none!important;padding:6px!important;background:transparent}
/* signing in */
.tu-tabs{display:flex;gap:4px;background:var(--surface-2);padding:4px;border-radius:var(--r,10px);margin-bottom:14px}
.tu-tabs button{flex:1;font:inherit;font-size:14px;font-weight:500;padding:9px 10px;border:0;border-radius:var(--r,10px);background:transparent;color:var(--ink-2);cursor:pointer;min-height:40px}
.tu-tabs button.on{background:var(--surface,#fff);color:var(--ink);box-shadow:0 1px 3px rgba(15,27,45,.12)}
.tu-sso{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.tu-ssob{justify-content:center;gap:10px;min-height:44px}
.tu-g{font-weight:600;color:#4285F4;font-size:16px}
.tu-ms{display:inline-grid;grid-template-columns:7px 7px;gap:2px}
.tu-ms i{width:7px;height:7px;display:block}
.tu-ms i:nth-child(1){background:#F25022}.tu-ms i:nth-child(2){background:#7FBA00}.tu-ms i:nth-child(3){background:#00A4EF}.tu-ms i:nth-child(4){background:#FFB900}
.tu-or{display:flex;align-items:center;gap:10px;margin:14px 0 4px;color:var(--muted);font-size:12.5px}
.tu-or::before,.tu-or::after{content:"";flex:1;height:1px;background:var(--line)}
.tu-form{display:flex;flex-direction:column;gap:6px}
.tu-form .lab{margin-top:6px}
.tu-form .btn.primary{margin-top:12px;min-height:46px;justify-content:center}
.tu-form .agree{margin-top:10px}
.tu-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tu-code{font:500 22px var(--mono);letter-spacing:.3em;text-align:center;max-width:260px}
.tu-small{font-size:12.5px;margin:6px 0 0}
.tu-small.bad,[data-emnote].bad{color:var(--bad,#C53030)}
.tu-warn{background:var(--warn-bg,#FFF7E6);border:1px solid var(--warn-line,#F6D9A0);border-radius:var(--r,10px);padding:10px 12px;font-size:14px;color:var(--ink);margin:0 0 12px}
.tu-me{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tu-me>div{display:flex;flex-direction:column;min-width:0;flex:1}
.tu-me .muted{font-size:13px}
.tu-org{max-width:220px}
/* accounts */
.tu-conn{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:var(--r,10px);padding:10px 12px;margin-top:8px}
.tu-conn span:first-child{font-weight:500}
.tu-conn .muted{font-size:13px}
/* run it */
.tu-sum{font-size:15px;line-height:1.55;color:var(--ink-2);margin:0 0 14px}
.tu-keep{margin-bottom:12px}
.tu-go{width:100%;justify-content:center;min-height:54px;font-size:17px;border-radius:var(--r,10px)}
.tu-go svg{width:18px;height:18px}
.tu-prog{display:flex;flex-direction:column;gap:8px}
.tu-ps{display:grid;grid-template-columns:30px 1fr 18px;align-items:center;gap:10px;font-size:14px;color:var(--muted);transition:color .2s}
.tu-ps .bk-ico{width:30px;height:30px;border-radius:var(--r,10px);opacity:.5;transition:opacity .2s}
.tu-ps i{width:16px;height:16px;border-radius:50%}
.tu-ps.now{color:var(--ink)}
.tu-ps.now .bk-ico,.tu-ps.done .bk-ico{opacity:1}
.tu-ps.now i{border:2px solid var(--accent);border-right-color:transparent;animation:tuSpin .8s linear infinite}
.tu-ps.done{color:var(--ink-2)}
.tu-ps.done i{background:#16A34A;box-shadow:inset 0 0 0 4px #16A34A}
@keyframes tuSpin{to{transform:rotate(360deg)}}
.tu-win{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}
.tu-win h3{margin:2px 0 4px;font-size:19px;font-weight:600}
.tu-win p{margin:0}
.tu-check{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#16A34A;color:#fff;flex:none;animation:tuPop .5s cubic-bezier(.2,1.4,.4,1)}
.tu-check svg{width:22px;height:22px}
@keyframes tuPop{from{transform:scale(.4);opacity:0}}
.tu-results .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.tu-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tu-again{margin-top:18px;padding-top:14px;border-top:1px solid var(--line-2);text-align:center}
.tu-again p{margin:0 0 10px}
/* below the steps */
.tu-about{margin-top:34px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:var(--r,10px);padding:22px 24px}
.tu-about h2{font-size:18px;font-weight:600;margin:0 0 8px}
.tu-about h2+p{margin-top:0}
.tu-about p{line-height:1.6;color:var(--ink-2)}
.tu-about h2:not(:first-child){margin-top:22px}
.tu-flow{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.tu-flow li{display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:center}
.tu-flow .bk-ico{width:32px;height:32px;border-radius:var(--r,10px)}
.tu-flow li div{display:flex;flex-direction:column;min-width:0}
.tu-flow .muted{font-size:12.5px}
.tu-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px;font-size:14px}
.tu-gone{text-align:center;padding:60px 0}
@media (max-width:760px){
  .tu-wrap{padding-block:16px 40px}
  .tu-step{grid-template-columns:34px minmax(0,1fr);gap:10px}
  .tu-dot{width:34px;height:34px;font-size:15px}
  .tu-step::before{left:16px;top:34px}
  .tu-card{padding:16px 14px;border-radius:var(--r,10px)}
  .tu-two{grid-template-columns:1fr}
  .tu-me .tu-org{max-width:none;width:100%}
  .tu-sb{width:42px;height:42px}
  .tu-about{padding:18px 16px}
  .tu-opt{flex:1 1 auto;justify-content:center}
  .inp,.tu-tagin{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.tu-check,.tu-ps.now i{animation:none}.tu-sb:hover{transform:none}}
@media (max-width:760px){.tu-me{display:grid;grid-template-columns:auto 1fr;align-items:center}.tu-me .pill,.tu-me .tu-org{grid-column:1/-1;justify-self:start}.tu-me .linkbtn{grid-column:1/-1;justify-self:start}}
/* Run it with only a work email (2026-10-13): the email and the button on one row */
.tu-row{display:flex;gap:8px;align-items:stretch}
.tu-row .inp{flex:1;min-width:0;min-height:50px;font-size:16px}
.tu-row .btn{min-height:50px;white-space:nowrap;padding:0 22px;border-radius:var(--r,10px);font-size:16px}
.tu-row .tu-go{width:auto}
.tu-row .tu-code{max-width:none;flex:1}
.tu-sent{display:flex;gap:10px;align-items:flex-start;background:var(--accent-soft);border-radius:var(--r,10px);padding:12px 14px;margin:0 0 4px;font-size:14.5px}
.tu-sent svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--accent)}
.tu-form .tu-row .btn.primary{margin-top:0}
@media (max-width:760px){.tu-row{flex-direction:column}.tu-row .btn{justify-content:center}}
.tu-form .err:empty{display:none}
.tu-row .tu-code{font:500 22px var(--mono);letter-spacing:.3em;text-align:center}
.tu-row .tu-code::placeholder{font:400 15px var(--sans);letter-spacing:0;color:var(--muted)}
.tu-again-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tu-alt{margin-top:2px}
@media (max-width:760px){.tu-sb{width:36px;height:36px}.tu-share{gap:6px}.tu-share-l{display:none}}

/* the visitor's own list (a CSV, a Google Sheet, one of their tables, example rows) */
.tu-lbtns{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}
.tu-lsheet{margin:6px 0 4px}
.tu-listok{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:14px;line-height:1.5}
.tu-listok>svg{flex:none;margin-top:3px;color:var(--ok,#1f8a4c)}
.tu-listok>span{flex:1;min-width:0}
.tu-listbusy{display:flex;gap:10px;align-items:center;margin:0;color:var(--ink-2)}
.tu-list+.tu-blk{margin-top:16px}
.tu-invite{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 4px;font-size:14px;color:var(--ink-2)}
.tu-invite>span{margin-right:2px}
/* Make it yours (owner, 2026-10-21): one sentence sets the template up; the first step, on the glass of the app */
.ty-card{background:var(--lg,rgba(255,255,255,.8));-webkit-backdrop-filter:var(--lg-blur,blur(24px));backdrop-filter:var(--lg-blur,blur(24px));border:1px solid var(--lg-bd,var(--line));box-shadow:var(--lg-sh,0 6px 24px rgba(15,27,45,.07))}
.tu-step.ty-step .ty-dot{background:linear-gradient(135deg,var(--accent-strong,#233F99),#1fb6d9);border-color:transparent;color:#fff}
.ty-form .lab{display:block;margin-bottom:6px}
.ty-box{display:flex;gap:10px;align-items:flex-start;background:var(--lg-in,var(--surface,#fff));border:1px solid var(--lg-in-bd,var(--line));border-radius:var(--r,10px);padding:8px 8px 8px 12px}
.ty-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.ty-ic{display:grid;place-items:center;width:22px;height:38px;flex:none;color:var(--accent)}
.ty-ic svg{width:20px;height:20px}
.ty-in{flex:1;min-width:0;border:0;background:transparent;box-shadow:none;resize:none;padding:9px 0;min-height:38px;line-height:1.4;font-size:15px}
.ty-in:focus{outline:0;box-shadow:none;border:0}
.ty-go{flex:none;white-space:nowrap}
.ty-said{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 2px}
.ty-chip{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border-radius:var(--r,10px);background:var(--accent-soft);color:var(--ink);font-size:13px;animation:tyIn .3s ease both}
.ty-chip em{font-style:normal;color:var(--muted);font-size:12px}
.ty-chip:nth-child(2){animation-delay:.06s}.ty-chip:nth-child(3){animation-delay:.12s}.ty-chip:nth-child(4){animation-delay:.18s}
.ty-clear{font-size:13px}
.ty-note{display:flex;gap:6px;align-items:flex-start;margin:8px 0 0}
.ty-note svg{flex:none;width:14px;height:14px;margin-top:3px}
.ty-making{display:flex;gap:10px;align-items:center;margin:0}
.tu-q.ty-flash{animation:tyFlash 1.4s ease}
@keyframes tyIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes tyFlash{0%{background:var(--accent-soft);box-shadow:0 0 0 6px var(--accent-soft);border-radius:var(--r,10px)}100%{background:transparent;box-shadow:0 0 0 6px transparent}}
@media (max-width:760px){.ty-box{flex-wrap:wrap;padding:8px}.ty-ic{display:none}.ty-in{flex-basis:100%;font-size:16px;padding:6px 4px}.ty-go{width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.ty-chip,.tu-q.ty-flash{animation:none}}
textarea.inp.ty-in{resize:none;overflow:hidden}
/* the city xMap remembers for the company (UX upgrade 4) */
.tu-mine{display:flex;gap:6px;align-items:center;margin:0 0 8px;font-size:13px}.tu-mine svg{width:14px;height:14px;flex:0 0 auto;color:var(--accent)}
