/* ============================================================
   newtwelve: standalone tool app shell (body.toolapp)
   Every free tool, and the Punch List landing, runs as its own product page: a slim top bar with the
   newtwelve mark (back to newtwelve.com), a compact hero, the app full width, a short how-to and one
   footer line. No site menu, no site footer. Loads after main.css (tokens, .serif-it, .hl).
   Pages are generated by sales-team/salesteam/company/tools_site.py; edit the generator, not the pages.
   ============================================================ */

body.toolapp { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
body.toolapp > main { flex: 1 0 auto; }
.toolapp .ta-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .toolapp .ta-wrap { padding-left: 32px; padding-right: 32px; } }

/* ---- top bar ---- */
.ta-bar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(9, 9, 11, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.ta-bar-in {
  max-width: 1440px; margin: 0 auto; height: 56px;
  padding: 0 16px; display: flex; align-items: center; gap: 12px;
}
@media (min-width: 720px) { .ta-bar-in { padding: 0 24px; height: 60px; } }
.ta-home {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: var(--ink); text-decoration: none; border-radius: 10px;
}
.ta-home:focus-visible, .ta-share:focus-visible, .ta-go:focus-visible, .ta-ghost:focus-visible, .ta-foot a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.ta-mark { width: 30px; height: 30px; display: block; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-strong); }
.ta-word { font-size: 1.02rem; letter-spacing: -0.02em; font-weight: 400; display: none; }
.ta-word b { font-weight: 700; }
.ta-word i { font-style: normal; color: var(--accent); }
@media (min-width: 560px) { .ta-word { display: inline; } }
.ta-sep { width: 1px; height: 22px; background: var(--line-strong); flex: none; }
.ta-name {
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.ta-bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.ta-share {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(236, 233, 226, 0.03);
  color: var(--ink); font: 500 0.86rem/1 var(--font-body); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.ta-share:hover { border-color: rgba(236, 233, 226, 0.4); background: rgba(236, 233, 226, 0.06); }
.ta-share svg { width: 15px; height: 15px; flex: none; }
.ta-share.is-done { border-color: rgba(232, 255, 36, 0.5); }
@media (max-width: 380px) { .ta-share span { display: none; } .ta-share { padding: 0 10px; } }

/* ---- hero ---- */
.ta-hero { position: relative; isolation: isolate; padding: 22px 0 6px; overflow: hidden; }
.ta-hero::before {
  /* one glow source: accent and violet together, low behind the title */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -200px; width: min(900px, 150vw); height: 400px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side at 38% 55%, rgba(108, 92, 231, 0.22), transparent 70%),
              radial-gradient(closest-side at 64% 50%, rgba(232, 255, 36, 0.09), transparent 70%);
  filter: blur(10px);
}
.ta-hero .ta-wrap { position: relative; }
.ta-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
}
.ta-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(232, 255, 36, 0.6); }
.ta-kicker a { color: inherit; text-decoration: none; }
.ta-kicker a:hover { color: var(--ink); }
.ta-title {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 0.98; letter-spacing: -0.045em;
  margin: 0; max-width: 18ch; text-wrap: balance;
}
.ta-title .serif-it { letter-spacing: -0.01em; padding-right: 0.04em; }
.ta-sub {
  color: var(--ink-dim); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.5;
  margin: 12px 0 0; max-width: 46ch; text-wrap: pretty;
}
.ta-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ta-facts li {
  font-size: 0.8rem; color: var(--ink-dim); padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(236, 233, 226, 0.025);
}
@media (min-width: 900px) {
  .ta-hero { padding: 44px 0 10px; text-align: center; }
  .ta-title, .ta-sub { margin-left: auto; margin-right: auto; }
  .ta-title { max-width: 26ch; }
  .ta-sub { text-wrap: balance; }
  .ta-facts { justify-content: center; }
}

/* ---- the app: full width, no frame ---- */
.ta-app { position: relative; padding: 4px 0 8px; }
.ta-frame {
  display: block; width: 100%; max-width: 1440px; margin: 0 auto; border: 0; border-radius: 0;
  background: var(--bg); min-height: 560px; color-scheme: dark;
}
@media (min-width: 900px) { .ta-frame { min-height: 620px; } }

/* ---- how to use + CTA ---- */
.ta-how { border-top: 1px solid var(--line); padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); }
.ta-how-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.ta-h2 {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--ink);
}
.ta-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: ta;
  display: grid; gap: 10px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ta-steps { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width: 1040px) { .ta-steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.ta-steps li {
  counter-increment: ta; position: relative; border: 1px solid var(--line-strong); border-radius: 18px;
  padding: 18px 18px 20px; background: linear-gradient(180deg, rgba(236, 233, 226, 0.035), rgba(236, 233, 226, 0.01));
}
.ta-steps li::before {
  content: counter(ta); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #09090b; font-weight: 700; font-size: 0.85rem; margin-bottom: 12px;
}
.ta-steps p { margin: 0; color: var(--ink-dim); line-height: 1.55; font-size: 0.98rem; }
.ta-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; }

/* lit button: gradient + 4-layer shadow, press = 1px */
.ta-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 14px; border: 1px solid rgba(9, 9, 11, 0.2); cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: #09090b;
  background: linear-gradient(180deg, #f3ff7a 0%, #e8ff24 55%, #d8ef0c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18),
              0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(232, 255, 36, 0.55);
  transition: transform 0.08s, box-shadow 0.2s;
}
.ta-go:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px -6px rgba(232, 255, 36, 0.7); }
.ta-go:active { transform: translateY(1px); }
.ta-go--sm { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 0.86rem; }
.ta-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 6px;
  color: var(--ink-dim); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.ta-ghost:hover { color: var(--ink); }
.ta-ghost span { transition: transform 0.25s var(--ease-out); }
.ta-ghost:hover span { transform: translateX(3px); }
@media (max-width: 520px) { .ta-ctas .ta-go { width: 100%; } }

/* ---- footer line ---- */
.ta-foot { border-top: 1px solid var(--line); }
.ta-foot-in {
  max-width: 1440px; margin: 0 auto; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  font-size: 0.84rem; color: var(--muted);
}
@media (min-width: 720px) { .ta-foot-in { padding-left: 24px; padding-right: 24px; } }
.ta-foot a { color: var(--ink-dim); text-decoration: none; }
.ta-foot a:hover { color: var(--ink); }
.ta-foot .ta-made b { color: var(--ink); font-weight: 600; }
.ta-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ---- each tool app ships its own headline, so the page hero would say everything twice.
   Keep it for search engines and screen readers, hide it visually; the app is the hero. ---- */
.ta-hero { padding: 0; height: 0; }
.ta-hero::before { display: none; }
.ta-hero .ta-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ta-app { padding-top: 18px; }
@media (min-width: 900px) { .ta-hero { padding: 0; } .ta-app { padding-top: 28px; } }

/* ============================================================
   newtwelve accounts on tool pages (toolapp.js): step indicator, the step-3 email gate,
   the Edit / Share bar, sheets, share view. Also used by /account (the sign-in card).
   ============================================================ */
.nt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- step indicator ---- */
.nt-steps { max-width: 1440px; margin: 0 auto; padding: 0 16px 10px; }
@media (min-width: 720px) { .nt-steps { padding: 0 32px 14px; } }
.nt-steps-in { display: flex; align-items: center; gap: 10px 16px; min-height: 36px; flex-wrap: wrap; }
.nt-steps-k { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 0.8rem; color: var(--muted); min-width: 0; }
.nt-steps-n { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; color: var(--ink-dim); white-space: nowrap; }
.nt-steps-l { color: var(--ink); font-weight: 500; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-steps-bar { order: 3; flex: 1 0 100%; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nt-steps-bar li { flex: 1; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background 0.4s var(--ease-out); }
.nt-steps-bar li.is-done { background: rgba(232, 255, 36, 0.55); }
.nt-steps-bar li.is-on { background: var(--accent); box-shadow: 0 0 10px rgba(232, 255, 36, 0.45); }
@media (min-width: 720px) { .nt-steps-bar { order: 0; flex: 0 0 140px; } }
.nt-steps-end { margin-left: auto; display: flex; gap: 8px; }
.nt-steps.is-bare .nt-steps-k, .nt-steps.is-bare .nt-steps-bar { display: none; }
.nt-chip {
  min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(236, 233, 226, 0.03); color: var(--ink); font: 500 0.84rem/1 var(--font-body); cursor: pointer;
}
.nt-chip:hover { border-color: rgba(236, 233, 226, 0.4); }

/* ---- buttons ---- */
.nt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(236, 233, 226, 0.04); color: var(--ink);
  font: 500 0.9rem/1 var(--font-body); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, transform 0.08s;
}
.nt-btn:hover { border-color: rgba(236, 233, 226, 0.42); background: rgba(236, 233, 226, 0.07); }
.nt-btn:active { transform: translateY(1px); }
.nt-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nt-btn--lit {
  color: #09090b; border-color: rgba(9, 9, 11, 0.2); font-weight: 700;
  background: linear-gradient(180deg, #f3ff7a 0%, #e8ff24 55%, #d8ef0c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 6px 18px -6px rgba(232, 255, 36, 0.55);
}
.nt-btn--lit:hover { background: linear-gradient(180deg, #f6ff92 0%, #ecff40 55%, #dcf218 100%); border-color: rgba(9, 9, 11, 0.2); }
.nt-btn--on { border-color: rgba(232, 255, 36, 0.6); background: var(--accent-soft); }
.nt-btn--icon { width: 40px; padding: 0; }
.nt-link-btn {
  background: none; border: 0; padding: 6px 2px; color: var(--ink-dim); font: 500 0.88rem/1.3 var(--font-body);
  cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px;
}
.nt-link-btn:hover:not(:disabled) { color: var(--ink); text-decoration-color: currentColor; }
.nt-link-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.nt-danger { color: #ff8a8a; }
.nt-btn:focus-visible, .nt-chip:focus-visible, .nt-link-btn:focus-visible, .nt-x:focus-visible, .nt-item:focus-visible,
.nt-input:focus-visible, .nt-check input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.ta-go.is-busy span::after { content: ""; display: inline-block; width: 1em; text-align: left; animation: nt-dots 1.2s steps(4) infinite; }
@keyframes nt-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.ta-go:disabled { cursor: default; opacity: 0.85; }

/* ---- the kit bar (after the reveal): saved status, Edit, Share, account ---- */
.nt-kitbar, .nt-sharebar {
  position: sticky; top: 56px; z-index: 900; margin: -18px 0 16px;
  background: rgba(9, 9, 11, 0.86); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .nt-kitbar, .nt-sharebar { top: 60px; } }
@media (min-width: 900px) { .nt-kitbar, .nt-sharebar { margin-top: -28px; } }
.nt-kitbar-in { max-width: 1440px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
@media (min-width: 720px) { .nt-kitbar-in { padding: 12px 32px; } }
.nt-kitbar-act { margin-left: auto; display: flex; gap: 8px; }
.nt-save { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--ink-dim); min-width: 0; }
.nt-save span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-save i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 10px rgba(232, 255, 36, 0.55); }
.nt-save.is-busy i { background: var(--muted); box-shadow: none; animation: nt-pulse 1s ease-in-out infinite; }
.nt-save.is-error i { background: #ff6b6b; box-shadow: none; }
.nt-save.is-error { color: #ffb4b4; }
@keyframes nt-pulse { 50% { opacity: 0.3; } }
@media (max-width: 459px) {
  .nt-save > span { max-width: 9.5em; }
  .nt-long { display: none; }
  .nt-kitbar .nt-btn { padding: 0 13px; }
  .nt-kitbar [data-edit] svg { display: none; }
}
body.nt-full .nt-toolshare, body.nt-shared .nt-toolshare { display: none; }
.nt-sharebar-t { margin: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-sharebar-k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nt-sharebar-t b { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-sharebar .ta-go { margin-left: auto; flex: none; }

/* ---- the gate: the finished result waits, blurred, behind a sign-in card ---- */
.ta-app { position: relative; }
.ta-app.is-gated { max-height: 900px; overflow: hidden; }
.ta-app.is-gated .ta-frame { filter: blur(12px) saturate(0.9); opacity: 0.6; pointer-events: none; transition: filter 0.5s var(--ease-out), opacity 0.5s; }
.nt-gate {
  position: absolute; inset: 0; z-index: 5; display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(56px, 9vw, 96px) 16px 40px;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.25) 0%, rgba(9, 9, 11, 0.55) 55%, var(--bg) 100%);
  animation: nt-fade 0.35s var(--ease-out);
}
.nt-gate[hidden] { display: none; }
@keyframes nt-fade { from { opacity: 0; } }
.nt-gate-card {
  position: relative; width: 100%; max-width: 440px; border-radius: 22px; padding: 28px 24px 18px;
  background: linear-gradient(180deg, rgba(21, 21, 28, 0.97), rgba(13, 13, 17, 0.98));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4), 0 -1px 0 rgba(232, 255, 36, 0.08) inset;
  animation: nt-rise 0.45s var(--ease-out);
}
@media (min-width: 520px) { .nt-gate-card { padding: 34px 32px 22px; } }
@keyframes nt-rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
.nt-gate-back { display: block; margin: 10px auto 0; }
.nt-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-size: 22px; line-height: 1; cursor: pointer;
}
.nt-x:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---- the sign-in card ---- */
.nt-auth-step[hidden] { display: none; }
.nt-auth-kicker { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.nt-auth-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(232, 255, 36, 0.6); }
.nt-auth-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 5vw, 2.1rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 10px; color: var(--ink); outline: none; }
.nt-auth-title .serif-it { letter-spacing: -0.01em; }
.nt-auth-sub { margin: 0 0 20px; color: var(--ink-dim); font-size: 0.97rem; line-height: 1.5; }
.nt-auth-sub b { color: var(--ink); font-weight: 600; word-break: break-all; }
.nt-label { display: block; margin: 0 0 7px; font-size: 0.82rem; font-weight: 500; color: var(--ink-dim); }
.nt-input {
  display: block; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line-strong);
  background: #0b0b0e; color: var(--ink); font: 400 16px/1.2 var(--font-body); transition: border-color 0.2s, box-shadow 0.2s;
}
.nt-input::placeholder { color: #5f5c56; }
.nt-input:focus { outline: none; border-color: rgba(232, 255, 36, 0.7); box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.12); }
.nt-input[aria-invalid="true"] { border-color: #ff6b6b; }
.nt-check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; cursor: pointer; font-size: 0.9rem; line-height: 1.45; color: var(--ink-dim); }
.nt-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nt-check span { position: relative; padding-left: 32px; }
.nt-check span::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px;
  border: 1px solid rgba(236, 233, 226, 0.35); background: #0b0b0e; transition: background 0.15s, border-color 0.15s;
}
.nt-check input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.nt-check input:checked + span::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #09090b; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.nt-check b { color: var(--ink); font-weight: 600; }
.nt-auth-go { width: 100%; margin-top: 20px; }
.nt-auth-msg { min-height: 1.3em; margin: 10px 0 0; font-size: 0.88rem; color: #ff8a8a; }
.nt-auth-msg:empty { min-height: 0; margin: 0; }
.nt-auth-msg.is-ok { color: #3ddc84; }
/* a neutral "sent" confirmation: calm ink in a soft panel with a lime check, not an error red */
.nt-auth-msg.is-sent { color: var(--ink, #ece9e2); background: rgba(232,255,36,0.07); border: 1px solid rgba(232,255,36,0.22);
  border-radius: 12px; padding: 12px 14px 12px 40px; position: relative; line-height: 1.45; }
.nt-auth-msg.is-sent::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%;
  background: #E8FF24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b0c0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.nt-auth-fine, .nt-fine { margin: 14px 0 4px; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.nt-auth-fine a { color: var(--ink-dim); }
.nt-auth-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }

/* one input, drawn as 6 boxes: paste, autofill and the keyboard all just work */
.nt-otp { position: relative; }
.nt-otp-in {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; border: 0; padding: 0;
  font-size: 16px; color: transparent; caret-color: transparent; background: transparent; cursor: text;
}
.nt-otp-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.nt-otp-cells i {
  display: grid; place-items: center; height: 58px; border-radius: 13px; border: 1px solid var(--line-strong); background: #0b0b0e;
  font: 700 1.6rem/1 var(--font-display); font-style: normal; color: var(--ink); letter-spacing: -0.02em;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.nt-otp-cells i:nth-child(3) { margin-right: 6px; }
.nt-otp-cells i.is-full { background: #121217; }
.nt-otp-cells i.is-on { border-color: rgba(232, 255, 36, 0.8); box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.12); }
.nt-otp-cells i.is-on:empty::after { content: ""; width: 2px; height: 26px; background: var(--accent); animation: nt-blink 1s steps(2) infinite; }
@keyframes nt-blink { 50% { opacity: 0; } }
.nt-otp.is-shake .nt-otp-cells { animation: nt-shake 0.38s; }
@keyframes nt-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 360px) { .nt-otp-cells { gap: 5px; } .nt-otp-cells i { height: 50px; } }

/* ---- sheets (Share, Your kits): a centered dialog, a bottom sheet on phones ---- */
.nt-sheet {
  width: min(460px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 48px)); padding: 0; border-radius: 22px;
  border: 1px solid var(--line-strong); background: #111117; color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85);
}
.nt-sheet[open] { animation: nt-rise 0.3s var(--ease-out); }
.nt-sheet::backdrop { background: rgba(5, 5, 7, 0.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 559px) {
  .nt-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; max-height: 86vh; }
  .nt-sheet-in { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important; }
}
.nt-sheet-in { padding: 22px 22px 22px; }
.nt-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.nt-sheet-head .nt-x { position: static; flex: none; }
.nt-sheet-title { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.035em; margin: 0; }
.nt-p { margin: 0 0 18px; color: var(--ink-dim); font-size: 0.95rem; line-height: 1.5; }
.nt-wide { width: 100%; }
.nt-linkrow { display: flex; gap: 8px; }
.nt-linkrow .nt-input { min-width: 0; flex: 1; font-size: 0.92rem; color: var(--ink-dim); }
.nt-copy { min-height: 52px; flex: none; min-width: 92px; }
.ta-go.is-done { background: linear-gradient(180deg, #e9ffb0, #d4ff6a); }
.nt-sheet-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.nt-sheet-row .ta-go { min-height: 44px; border-radius: 999px; font-size: 0.92rem; }
.nt-sheet-row .nt-link-btn { margin-left: auto; }
.nt-hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 6px; }
.nt-who { margin-top: 0; }
.nt-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.nt-item {
  display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(236, 233, 226, 0.025); color: var(--ink); text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.nt-item:hover { border-color: var(--line-strong); background: rgba(236, 233, 226, 0.05); }
.nt-item b { font-weight: 500; font-size: 1rem; }
.nt-item span { font-size: 0.8rem; color: var(--muted); }
.nt-item.is-current { border-color: rgba(232, 255, 36, 0.45); }
.nt-empty { color: var(--muted); font-size: 0.92rem; padding: 6px 0; }

.nt-toast {
  position: fixed; z-index: 2000; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: #ece9e2; color: #09090b;
  font: 500 0.9rem/1.35 var(--font-body); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7); animation: nt-rise 0.3s var(--ease-out);
}
.nt-toast[hidden] { display: none; }

/* ---- a share link that's off ---- */
.nt-gone { max-width: 640px; margin: 0 auto; padding: 18vh 24px 80px; }
.nt-gone .ta-sub { margin-bottom: 26px; }

@media (prefers-reduced-motion: reduce) {
  .nt-gate, .nt-gate-card, .nt-sheet[open], .nt-toast, .nt-otp.is-shake .nt-otp-cells { animation: none; }
}
