/* ═════════════════════════════════════════════════════════════════════
   The free tools (2026-11-10, services/toolsCatalog.js, js/tools/*.js).
   One look for every tool: the tool on a card at the top of its page, the
   answer beside or under what you type, and one next step.

   Drawn inside a site page, usually Linxi's feature-page style (.lp, night
   by default and light in the light theme), so the tool keeps its own small
   set of colours for both, the same two glows as the page (#6764f2 ->
   #ff00c8). Light is the default; dark follows the site's theme the way
   style.css does ([data-theme], else the visitor's system setting).
   ═════════════════════════════════════════════════════════════════════ */
.lxt, .lxt-hub {
  --t-a: #6764f2; --t-b: #b14cf0; --t-c: #ff00c8;
  --t-grad: linear-gradient(120deg, var(--t-a), var(--t-b) 55%, var(--t-c));
  --t-ink: #1d1436; --t-soft: rgba(45, 32, 84, .78); --t-faint: rgba(45, 32, 84, .58);
  --t-card: rgba(255, 255, 255, .92); --t-card-2: #f7f4ff; --t-field: #ffffff;
  --t-line: rgba(103, 100, 242, .22); --t-line-2: rgba(177, 76, 240, .5);
  --t-ok: #0d8a5f; --t-ok-bg: rgba(13, 138, 95, .1);
  --t-warn: #b45309; --t-warn-bg: rgba(245, 158, 11, .14);
  --t-bad: #be123c; --t-bad-bg: rgba(225, 29, 72, .1);
  --t-shadow: 0 30px 70px -36px rgba(76, 40, 160, .5), 0 2px 8px -4px rgba(76, 40, 160, .18);
  --t-r: 22px; --t-r-sm: 14px; --t-r-xs: 10px;
  color: var(--t-ink);
  font-family: inherit;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lxt, :root:not([data-theme="light"]) .lxt-hub {
    --t-ink: #f5f2ff; --t-soft: rgba(233, 228, 255, .8); --t-faint: rgba(233, 228, 255, .58);
    --t-card: rgba(24, 17, 48, .86); --t-card-2: rgba(40, 28, 78, .6); --t-field: rgba(14, 10, 32, .7);
    --t-line: rgba(177, 76, 240, .3); --t-line-2: rgba(255, 0, 200, .45);
    --t-ok: #34d399; --t-ok-bg: rgba(52, 211, 153, .12);
    --t-warn: #fbbf24; --t-warn-bg: rgba(251, 191, 36, .12);
    --t-bad: #fb7185; --t-bad-bg: rgba(251, 113, 133, .12);
    --t-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(177, 76, 240, .18);
  }
}
:root[data-theme="dark"] .lxt, :root[data-theme="dark"] .lxt-hub {
  --t-ink: #f5f2ff; --t-soft: rgba(233, 228, 255, .8); --t-faint: rgba(233, 228, 255, .58);
  --t-card: rgba(24, 17, 48, .86); --t-card-2: rgba(40, 28, 78, .6); --t-field: rgba(14, 10, 32, .7);
  --t-line: rgba(177, 76, 240, .3); --t-line-2: rgba(255, 0, 200, .45);
  --t-ok: #34d399; --t-ok-bg: rgba(52, 211, 153, .12);
  --t-warn: #fbbf24; --t-warn-bg: rgba(251, 191, 36, .12);
  --t-bad: #fb7185; --t-bad-bg: rgba(251, 113, 133, .12);
  --t-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(177, 76, 240, .18);
}

.lxt { position: relative; max-width: 72rem; margin: 0 auto; text-align: left; }
.lxt *, .lxt *::before, .lxt *::after { box-sizing: border-box; }
.lxt-noscript { padding: 1rem 1.25rem; border-radius: var(--t-r-sm); background: var(--t-warn-bg); color: var(--t-warn); }

/* ── the card the tool sits on ── */
.lxt-app {
  background: var(--t-card);
  border: 1px solid var(--t-line);
  border-radius: var(--t-r);
  box-shadow: var(--t-shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.lxt-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--t-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--t-a) 7%, transparent), transparent);
}
.lxt-bar-title { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.lxt-bar-title .lxt-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--t-grad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t-b) 18%, transparent); }
.lxt-bar-note { font-size: .82rem; color: var(--t-faint); display: inline-flex; align-items: center; gap: .4rem; }
.lxt-bar-actions { display: inline-flex; gap: .45rem; flex-wrap: wrap; }
.lxt-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.lxt-body.is-wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.lxt-body.is-one { grid-template-columns: minmax(0, 1fr); }
.lxt-pane { padding: 1.25rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.lxt-pane + .lxt-pane { border-left: 1px solid var(--t-line); background: color-mix(in srgb, var(--t-card-2) 70%, transparent); }
@media (max-width: 820px) {
  .lxt-body, .lxt-body.is-wide-left { grid-template-columns: minmax(0, 1fr); }
  .lxt-pane + .lxt-pane { border-left: 0; border-top: 1px solid var(--t-line); }
  .lxt-pane { padding: 1rem; }
  .lxt-bar { padding: .75rem 1rem; }
}
/* (.lxt h3.lxt-h: a page's own heading rules -- .lp h3, site h3 sizes --
   must not reach the tool's section labels.) */
.lxt h3.lxt-h, .lxt .lxt-h { margin: 0; font-family: inherit; font-size: .76rem; line-height: 1.3; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); display: flex; align-items: center; gap: .45rem; }
.lxt h3.lxt-h::before, .lxt .lxt-h::before { content: "✦"; color: var(--t-b); letter-spacing: 0; }
.lxt p { margin: 0; }
.lxt h3.lxt-h + .lxt-sub { margin-top: -.6rem; }
.lxt-sub { margin: -.5rem 0 0; font-size: .86rem; color: var(--t-faint); line-height: 1.45; }

/* ── fields ── */
.lxt-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.lxt-field > span, .lxt-label { font-size: .84rem; font-weight: 600; color: var(--t-soft); }
.lxt-field small { font-size: .76rem; color: var(--t-faint); line-height: 1.35; }
.lxt-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.lxt-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lxt-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .lxt-grid.is-2, .lxt-grid.is-3 { grid-template-columns: minmax(0, 1fr); } }
/* (Not inside a designer that runs on the page: its panels style their own fields.) */
.lxt input:is([type="text"], [type="number"], [type="email"], [type="date"], [type="time"], [type="month"], [type="url"], [type="tel"]):not(.lxt-email-stage *),
.lxt select:not(.lxt-email-stage *), .lxt textarea:not(.lxt-email-stage *) {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--t-ink);
  background: var(--t-field); border: 1px solid var(--t-line); border-radius: var(--t-r-xs);
  padding: .62rem .8rem; line-height: 1.4; outline: none; box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lxt textarea { resize: vertical; min-height: 4.4rem; }
.lxt :is(input, select, textarea):is(:focus, :focus-visible):not(.lxt-email-stage *) {
  border-color: var(--t-line-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t-b) 16%, transparent);
  background: var(--t-field); color: var(--t-ink);
}
.lxt input::placeholder, .lxt textarea::placeholder { color: var(--t-faint); opacity: 1; }
.lxt-money { position: relative; }
.lxt-money::before { content: "$"; position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--t-faint); font-size: .95rem; pointer-events: none; }
.lxt-money input { padding-left: 1.55rem; }
.lxt-suffix { position: relative; }
.lxt-suffix > i { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); color: var(--t-faint); font-style: normal; font-size: .88rem; pointer-events: none; }
.lxt-suffix input { padding-right: 2rem; }
.lxt-check { display: inline-flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--t-soft); cursor: pointer; line-height: 1.4; }
.lxt-check input { margin-top: .2rem; accent-color: var(--t-b); width: 1rem; height: 1rem; flex: none; }

/* ── buttons: the page's own pill, sized to their words ── */
.lxt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
  padding: .62rem 1.15rem; border-radius: 999px; cursor: pointer; text-decoration: none;
  color: #fff; background: var(--t-grad); border: 0;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--t-b) 80%, transparent);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.lxt-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.lxt-btn:active { transform: none; }
.lxt-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.lxt-btn.is-ghost {
  color: var(--t-ink); background: var(--t-card); border: 1px solid var(--t-line);
  box-shadow: none;
}
.lxt-btn.is-ghost:hover { border-color: var(--t-line-2); color: var(--t-ink); }
.lxt-btn.is-small { font-size: .82rem; padding: .42rem .85rem; }
.lxt-btn.is-done { background: var(--t-ok); box-shadow: none; }
.lxt-btn:focus-visible, .lxt-seg button:focus-visible, .lxt-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-b) 55%, transparent); outline-offset: 2px; }
.lxt-link { background: none; border: 0; padding: 0; font: inherit; font-size: .86rem; font-weight: 600; color: var(--t-b); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.lxt-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.lxt-row.is-end { justify-content: flex-end; }
.lxt-row.is-between { justify-content: space-between; }

/* ── a joined switch ── */
.lxt-seg {
  display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 3px; border-radius: 999px; border: 1px solid var(--t-line); background: var(--t-card-2);
}
.lxt-seg::-webkit-scrollbar { display: none; }
.lxt-seg button {
  flex: 0 0 auto; font: inherit; font-size: .84rem; font-weight: 600; white-space: nowrap;
  border: 0; border-radius: 999px; padding: .38rem .85rem; cursor: pointer;
  background: none; color: var(--t-soft); box-shadow: none;
}
.lxt-seg button[aria-pressed="true"] { background: var(--t-grad); color: #fff; box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--t-b) 90%, transparent); }

/* ── answers ── */
.lxt-stats { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.lxt-stat {
  border: 1px solid var(--t-line); border-radius: var(--t-r-sm); padding: .8rem .9rem;
  background: var(--t-card); display: flex; flex-direction: column; gap: .15rem; min-width: 0;
}
.lxt-stat b { font-size: 1.65rem; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lxt-stat span { font-size: .78rem; color: var(--t-faint); font-weight: 600; }
.lxt-stat.is-hero { grid-column: 1 / -1; background: linear-gradient(135deg, color-mix(in srgb, var(--t-a) 12%, var(--t-card)), color-mix(in srgb, var(--t-c) 9%, var(--t-card))); border-color: var(--t-line-2); }
.lxt-stat.is-hero b { font-size: 2.3rem; background: var(--t-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lxt-stat.is-good b { color: var(--t-ok); }
.lxt-stat.is-bad b { color: var(--t-bad); }
.lxt-note { margin: 0; padding: .7rem .85rem; border-radius: var(--t-r-xs); font-size: .86rem; line-height: 1.45; background: var(--t-card-2); color: var(--t-soft); border: 1px solid var(--t-line); }
.lxt-note.is-warn { background: var(--t-warn-bg); color: var(--t-warn); border-color: transparent; }
.lxt-note.is-ok { background: var(--t-ok-bg); color: var(--t-ok); border-color: transparent; }
.lxt-note.is-bad { background: var(--t-bad-bg); color: var(--t-bad); border-color: transparent; }
.lxt-note b { color: inherit; }
.lxt-meter { height: .5rem; border-radius: 999px; background: var(--t-card-2); border: 1px solid var(--t-line); overflow: hidden; }
.lxt-meter > i { display: block; height: 100%; width: 0; background: var(--t-grad); border-radius: inherit; transition: width .25s ease; }
.lxt-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--t-card-2); border: 1px solid var(--t-line); color: var(--t-soft); white-space: nowrap; }
.lxt-chip.is-ok { background: var(--t-ok-bg); color: var(--t-ok); border-color: transparent; }
.lxt-chip.is-warn { background: var(--t-warn-bg); color: var(--t-warn); border-color: transparent; }
.lxt-out {
  border: 1px solid var(--t-line); border-radius: var(--t-r-sm); background: var(--t-field);
  padding: .9rem 1rem; font-size: .95rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere;
}
.lxt-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lxt-table th, .lxt-table td { padding: .5rem .55rem; border-bottom: 1px solid var(--t-line); text-align: left; vertical-align: top; }
.lxt-table th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--t-faint); font-weight: 700; }
.lxt-table td.is-num, .lxt-table th.is-num { text-align: right; white-space: nowrap; }
.lxt-table tr.is-total td { font-weight: 800; border-bottom: 0; }
.lxt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── lists of rows you add to (costs, tickets, invoice lines) ── */
.lxt-lines { display: flex; flex-direction: column; gap: .5rem; }
.lxt-line { display: grid; gap: .5rem; align-items: end; }
.lxt-line .lxt-x {
  width: 2.4rem; height: 2.55rem; border-radius: var(--t-r-xs); border: 1px solid var(--t-line);
  background: var(--t-card); color: var(--t-faint); font-size: 1.1rem; cursor: pointer; padding: 0; box-shadow: none;
  display: inline-grid; place-items: center;
}
.lxt-line .lxt-x:hover { color: var(--t-bad); border-color: var(--t-bad); }
.lxt-line-label { display: none; }
@media (max-width: 640px) {
  .lxt-line { grid-template-columns: minmax(0, 1fr) !important; padding: .7rem; border: 1px solid var(--t-line); border-radius: var(--t-r-xs); background: var(--t-card); }
  .lxt-line-label { display: block; font-size: .76rem; font-weight: 600; color: var(--t-faint); margin-bottom: -.25rem; }
  .lxt-line .lxt-x { justify-self: end; }
}

/* ── the next step ── */
.lxt-next {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between;
  margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--t-r);
  border: 1px solid var(--t-line-2);
  background: linear-gradient(120deg, color-mix(in srgb, var(--t-a) 10%, var(--t-card)), color-mix(in srgb, var(--t-c) 8%, var(--t-card)));
}
.lxt-next-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1 1 18rem; }
.lxt-next-text b { font-size: 1.02rem; }
.lxt-next-text span { font-size: .88rem; color: var(--t-soft); line-height: 1.45; }
.lxt-next-acts { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex: none; }
.lxt-next-acts .lxt-btn[disabled] { opacity: .7; cursor: progress; }

/* ── the nudge: once something is made, keep it in an account (2026-11-17) ── */
.lxt-nudge {
  display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; justify-content: space-between;
  margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--t-r);
  border: 1px solid var(--t-line-2); position: relative;
  background: linear-gradient(120deg, color-mix(in srgb, var(--t-a) 12%, var(--t-card)), color-mix(in srgb, var(--t-c) 9%, var(--t-card)));
}
.lxt-nudge-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1 1 18rem; padding-right: 1.5rem; }
.lxt-nudge-text b { font-size: .98rem; color: var(--t-ink); }
.lxt-nudge-text span { font-size: .88rem; color: var(--t-soft); line-height: 1.45; }
.lxt-nudge .lxt-btn { flex: none; }
.lxt-nudge-x { position: absolute; top: .35rem; right: .5rem; width: auto; padding: .1rem .4rem; border: 0; background: none; box-shadow: none; color: var(--t-faint); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.lxt-nudge-x:hover { color: var(--t-ink); }

/* ── the waiver tool IS the event waiver editor (2026-11-17) ── */
.lxt-waiver-real { padding: 1rem 1.25rem; }
.lxt-waiver-real .lxt-waiver-sec > summary { display: none; }
.lxt-waiver-real .lxt-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ── a short message after an action ── */
.lxt-toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; z-index: 9999;
  padding: .65rem 1.1rem; border-radius: 999px; background: #1d1436; color: #fff; font-size: .9rem; font-weight: 600;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); transition: opacity .2s ease, transform .2s ease; white-space: nowrap; max-width: calc(100vw - 2rem); overflow: hidden; text-overflow: ellipsis;
}
.lxt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── the hub ── */
.lxt-hub { display: flex; flex-direction: column; gap: 2.25rem; max-width: 72rem; margin: 0 auto; text-align: left; }
.lxt-hub-title { margin: 0 0 .9rem; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; color: var(--t-ink); }
.lxt-hub-title::before { content: "✦"; color: var(--t-b); font-size: .9em; }
.lxt-hub-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.lxt-hub-card {
  display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.25rem 1.1rem; border-radius: var(--t-r);
  background: var(--t-card); border: 1px solid var(--t-line); box-shadow: var(--t-shadow);
  color: var(--t-ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease;
}
.lxt-hub-card:hover { transform: translateY(-3px); border-color: var(--t-line-2); color: var(--t-ink); }
.lxt-hub-icon { font-size: 1.6rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--t-a) 16%, transparent), color-mix(in srgb, var(--t-c) 12%, transparent)); }
.lxt-hub-card b { font-size: 1.05rem; }
.lxt-hub-blurb { font-size: .9rem; color: var(--t-soft); line-height: 1.5; flex: 1; }
.lxt-hub-go { font-size: .86rem; font-weight: 700; color: var(--t-b); }
.lxt-hub-go::after { content: " →"; }

/* ── printing one part of the page (an invoice, a waiver, a resume) ── */
@media print {
  html.lxt-printing body * { visibility: hidden !important; }
  html.lxt-printing .lxt-print, html.lxt-printing .lxt-print * { visibility: visible !important; }
  html.lxt-printing .lxt-print { position: absolute !important; left: 0; top: 0; width: 100% !important; margin: 0 !important; box-shadow: none !important; border: 0 !important; background: #fff !important; color: #111 !important; }
  html.lxt-printing body { background: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lxt-btn, .lxt-hub-card, .lxt-meter > i, .lxt-toast { transition: none; }
}

/* ── the SMS counter's phone ── */
.lxt-phone {
  display: flex; flex-direction: column; align-items: flex-start; gap: .45rem;
  padding: 1rem; border-radius: var(--t-r); background: var(--t-field); border: 1px solid var(--t-line);
  max-height: 22rem; overflow-y: auto;
}
.lxt-phone-bubble {
  position: relative; max-width: 88%; padding: .55rem .8rem; border-radius: 18px 18px 18px 6px;
  background: color-mix(in srgb, var(--t-a) 12%, var(--t-card-2)); color: var(--t-ink);
  font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.lxt-phone-part { display: block; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-b); margin-bottom: .15rem; }
.lxt-phone-empty, .lxt-phone-foot { margin: 0; font-size: .8rem; color: var(--t-faint); }

/* ── checklists and copyable outputs (the opt-in generator) ── */
.lxt-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.lxt-checklist li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; line-height: 1.4; color: var(--t-soft); }
.lxt-check-mark { flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 800; }
.lxt-checklist li.is-ok .lxt-check-mark { background: var(--t-ok-bg); color: var(--t-ok); }
.lxt-checklist li.is-todo .lxt-check-mark { background: var(--t-warn-bg); color: var(--t-warn); }
.lxt-checklist li.is-todo { color: var(--t-ink); }
.lxt-outs { display: flex; flex-direction: column; gap: .8rem; }
.lxt-out-card { display: flex; flex-direction: column; gap: .45rem; }
.lxt-out-title { font-size: .92rem; }
.lxt-out-note { font-size: .78rem; color: var(--t-faint); margin: -.2rem 0 0; }
.lxt-out-card .lxt-out { font-size: .9rem; }
.lxt [hidden] { display: none !important; }

/* ── the row editor's column titles (hidden on a phone, where each row is a card) ── */
.lxt-lines-wrap { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.lxt-lines-wrap > .lxt-lines, .lxt-lines-wrap > .lxt-line-head { width: 100%; }
.lxt-line-head { align-items: end; }
.lxt-line-head .lxt-label { font-size: .76rem; color: var(--t-faint); }
.lxt-line .lxt-field > .lxt-line-label { display: none; }
@media (max-width: 640px) {
  .lxt-line-head { display: none !important; }
  .lxt-line .lxt-field > .lxt-line-label { display: block; }
}

/* ── simple bars (the event calculator's three turnouts) ── */
.lxt-bars { display: flex; flex-direction: column; gap: .55rem; }
.lxt-bar-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 6.5rem; align-items: center; gap: .65rem; font-size: .88rem; }
.lxt-bar-label { color: var(--t-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lxt-bar-track { height: .75rem; border-radius: 999px; background: var(--t-card-2); border: 1px solid var(--t-line); overflow: hidden; }
.lxt-bar-track > i { display: block; height: 100%; border-radius: inherit; background: var(--t-grad); transition: width .25s ease; }
.lxt-bar-track > i.is-loss { background: var(--t-bad); }
.lxt-bar-row > b { text-align: right; font-variant-numeric: tabular-nums; }
.lxt-bar-row > b.is-loss { color: var(--t-bad); }
@media (max-width: 520px) { .lxt-bar-row { grid-template-columns: 6.5rem minmax(0, 1fr) 5.5rem; font-size: .82rem; } }

/* ⚠️ After the general field rule (.lxt input[type=...], 0,2,1), so the
   money sign and the unit keep their room. */
/* !important: the general field rule above is (0,3,1) since it learned to stay
   out of designers; the money sign and the unit must keep their room. */
.lxt .lxt-money input { padding-left: 1.55rem !important; }
.lxt .lxt-suffix input { padding-right: 2.1rem !important; }
/* Three answers side by side under the big one. */
.lxt-stats.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lxt-stats.is-3 .lxt-stat:not(.is-hero) b { font-size: 1.3rem; }
@media (max-width: 420px) { .lxt-stats.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A row on a phone: the first field across the top, the rest and × under it. */
@media (max-width: 640px) {
  .lxt-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.4rem !important; gap: .45rem .5rem; padding: .6rem; }
  .lxt-line.has-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 2.4rem !important; }
  .lxt-line > .lxt-field:first-child { grid-column: 1 / -1; }
  .lxt-line .lxt-x { align-self: end; }
  .lxt-line .lxt-field > .lxt-line-label { font-size: .72rem; margin-bottom: -.2rem; }
}
/* The site's own table rules (cell borders, stripes) stay out of the tools. */
.lxt .lxt-table { border: 0; background: none; }
.lxt .lxt-table th, .lxt .lxt-table td { border-left: 0; border-right: 0; border-top: 0; background: none; }
.lxt .lxt-table thead th { border-bottom: 1px solid var(--t-line-2); }

/* ── a file picker that looks like a button ── */
.lxt-file { position: relative; overflow: hidden; }
.lxt-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }

/* ── paper: the invoice, the waiver, the resume. Always white, as it prints. ── */
.lxt-paper-pane { background: color-mix(in srgb, var(--t-card-2) 85%, transparent); }
.lxt-paper {
  background: #fff; color: #1f2333; border-radius: 6px; padding: 2.2rem 2.1rem;
  box-shadow: 0 22px 50px -26px rgba(30, 20, 70, .5), 0 0 0 1px rgba(30, 20, 70, .08);
  font-size: .86rem; line-height: 1.5; display: flex; flex-direction: column; gap: 1.4rem; min-height: 32rem;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.lxt-paper * { color: inherit; }
.lxt-paper-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.lxt-paper-from { display: flex; flex-direction: column; gap: .2rem; min-width: 0; color: #4a4f63; }
.lxt-paper-logo { max-width: 180px; max-height: 70px; object-fit: contain; object-position: left; margin-bottom: .5rem; }
.lxt-paper-name { font-size: 1.05rem; color: #1f2333; }
.lxt-paper-meta { text-align: right; }
.lxt-paper-word { font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; line-height: 1; margin-bottom: .6rem;
  background: linear-gradient(120deg, #6764f2, #b14cf0 55%, #ff00c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lxt-paper-meta dl { display: grid; grid-template-columns: auto auto; gap: .15rem .9rem; margin: 0; justify-content: end; }
.lxt-paper-meta dt { color: #7a7f93; }
.lxt-paper-meta dd { margin: 0; font-weight: 600; text-align: right; }
.lxt-paper-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8b5cf6; margin-bottom: .25rem; }
.lxt-paper-bill { display: flex; flex-direction: column; gap: .15rem; color: #4a4f63; }
.lxt-paper-bill b { color: #1f2333; font-size: .95rem; }
.lxt-paper-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lxt-paper-table th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #7a7f93; padding: .5rem .4rem; border-bottom: 2px solid #ecebf5; background: none; border-top: 0; border-left: 0; border-right: 0; }
.lxt-paper-table td { padding: .6rem .4rem; border-bottom: 1px solid #f0eff7; vertical-align: top; background: none; border-top: 0; border-left: 0; border-right: 0; }
.lxt-paper-table .is-num { text-align: right; white-space: nowrap; }
.lxt-paper-sums { display: grid; grid-template-columns: auto 8rem; gap: .35rem 0; margin: 0 0 0 auto; justify-content: end; font-variant-numeric: tabular-nums; }
.lxt-paper-sums dt { padding-right: 1.25rem; }
.lxt-paper-sums dt { text-align: right; color: #7a7f93; }
.lxt-paper-sums dd { margin: 0; text-align: right; font-weight: 600; }
.lxt-paper-sums .is-total { font-size: 1.05rem; font-weight: 800; color: #1f2333; padding-top: .4rem; border-top: 2px solid #1f2333; }
.lxt-paper-notes { color: #4a4f63; border-top: 1px solid #ecebf5; padding-top: 1rem; }
@media (max-width: 520px) {
  .lxt-paper { padding: 1.3rem 1.1rem; font-size: .8rem; min-height: 0; }
  .lxt-paper-meta { text-align: left; }
  .lxt-paper-meta dl { justify-content: start; }
  .lxt-paper-word { font-size: 1.5rem; }
}
@media print {
  .lxt-paper { box-shadow: none !important; border-radius: 0; padding: 0 !important; min-height: 0; font-size: 11pt; }
  .lxt-paper-word { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.lxt-paper-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -.2rem; }
@media (max-width: 520px) {
  .lxt-paper-table th { letter-spacing: .04em; padding: .45rem .3rem; }
  .lxt-paper-table td { padding: .5rem .3rem; }
  .lxt-paper-meta dl { grid-template-columns: auto 1fr; }
  .lxt-paper-meta dd { text-align: left; }
  .lxt-paper-sums { grid-template-columns: auto 6.5rem; }
}

/* ── the waiver as a guest signs it ── */
.lxt-sign { display: flex; flex-direction: column; gap: .85rem; padding: 1rem; border-radius: var(--t-r-sm); background: var(--t-card); border: 1px solid var(--t-line); }
.lxt-sign-text { max-height: 17rem; overflow-y: auto; padding: 1rem 1.1rem; border-radius: var(--t-r-xs); background: var(--t-field); border: 1px solid var(--t-line); font-size: .86rem; line-height: 1.55; color: var(--t-soft); }
.lxt-sign-text:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-b) 45%, transparent); outline-offset: 2px; }
.lxt-sign-text p { margin: 0 0 .7rem; }
.lxt .lxt-sign-title { margin: 0 0 .7rem; font-size: .9rem; font-weight: 800; letter-spacing: .02em; color: var(--t-ink); font-family: inherit; }
.lxt-sign-end { text-align: center; font-size: .78rem; color: var(--t-faint); margin: .5rem 0 0 !important; }
.lxt-sign-hint { margin: -.4rem 0 0; font-size: .8rem; font-weight: 700; color: var(--t-warn); }
.lxt-sign-hint.is-done { color: var(--t-ok); }
.lxt-sign-agree { padding: .7rem .8rem; border-radius: var(--t-r-xs); background: var(--t-card-2); border: 1px solid var(--t-line); color: var(--t-ink); font-weight: 600; }
.lxt-sign-agree.is-locked { opacity: .55; }
.lxt-sign-minors { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.lxt-sign-minors .lxt-lines { width: 100%; }
.lxt-sign > .lxt-btn { align-self: flex-start; }
.lxt-waiver-paper h2.lxt-paper-word { font-size: 1.1rem; letter-spacing: .04em; }
.lxt-waiver-paper p { margin: 0; }
.lxt-sign-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: 2.2rem; }
.lxt-sign-lines span { border-top: 1px solid #1f2333; padding-top: .3rem; font-size: .75rem; color: #4a4f63; }
@media (max-width: 640px) { .lxt-sign-minors .lxt-line { grid-template-columns: minmax(0, 1fr) 5rem 2.4rem !important; } .lxt-sign-minors .lxt-line > input:first-child { grid-column: auto; } }

/* ── transcription: the drop zone and the transcript ── */
.lxt-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center;
  padding: 2.2rem 1rem; border-radius: var(--t-r); border: 2px dashed var(--t-line-2); cursor: pointer;
  background: linear-gradient(135deg, color-mix(in srgb, var(--t-a) 6%, transparent), color-mix(in srgb, var(--t-c) 5%, transparent));
  transition: border-color .15s ease, background .15s ease;
}
.lxt-drop:hover, .lxt-drop.is-over { border-color: var(--t-b); background: color-mix(in srgb, var(--t-b) 10%, transparent); }
.lxt-drop.is-busy { opacity: .6; pointer-events: none; }
.lxt-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lxt-drop-icon { font-size: 2rem; }
.lxt-drop b { font-size: 1.05rem; }
.lxt-drop-sub { font-size: .84rem; color: var(--t-faint); }
.lxt-tx-bar { align-items: flex-end; }
.lxt-tx-bar .lxt-field { min-width: 10rem; }
.lxt-btn.is-rec { color: #fff; background: #e11d48; border-color: #e11d48; }
.lxt-tx-progress { display: flex; flex-direction: column; gap: .4rem; }
.lxt-tx-out { min-height: 9rem; max-height: 28rem; overflow-y: auto; padding: 1rem 1.1rem; border-radius: var(--t-r-sm); background: var(--t-field); border: 1px solid var(--t-line); display: flex; flex-direction: column; gap: .55rem; }
.lxt-tx-line { margin: 0; display: flex; gap: .75rem; line-height: 1.55; font-size: .95rem; }
.lxt-tx-line.is-pending { color: var(--t-faint); font-style: italic; }
.lxt-tx-time { flex: none; min-width: 3.2rem; font-size: .78rem; font-weight: 700; color: var(--t-b); font-variant-numeric: tabular-nums; padding-top: .18rem; }
.lxt-tx-empty { margin: auto; color: var(--t-faint); font-size: .9rem; text-align: center; }
/* A page's link colour (.lp a { color: inherit }) must not reach a button that is a link. */
.lxt a.lxt-btn, .lxt a.lxt-btn:hover { color: #fff; text-decoration: none; }
.lxt a.lxt-btn.is-ghost, .lxt a.lxt-btn.is-ghost:hover { color: var(--t-ink); }

/* ── the floor plan preview and templates ── */
.lxt-plan {
  display: block; width: 100%; padding: .75rem; border-radius: var(--t-r-sm); border: 1px solid var(--t-line); background: var(--t-field);
  cursor: zoom-in; box-shadow: none; transition: border-color .15s ease, transform .15s ease;
}
.lxt-plan:hover { border-color: var(--t-line-2); }
.lxt-plan:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-b) 45%, transparent); outline-offset: 2px; }
.lxt-plan-svg { display: block; width: 100%; height: auto; max-height: 30rem; }
.lxt-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.lxt-tpl {
  font: inherit; font-size: .88rem; font-weight: 700; padding: .65rem .7rem; border-radius: var(--t-r-xs); cursor: pointer; text-align: left;
  color: var(--t-ink); background: var(--t-card); border: 1px solid var(--t-line); box-shadow: none;
}
.lxt-tpl:hover { border-color: var(--t-line-2); background: color-mix(in srgb, var(--t-b) 8%, var(--t-card)); }
/* Name above its one line, never side by side (the app's buttons lay out in a row). */
.lxt-tpls .lxt-tpl { display: block; }
.lxt-tpl b { display: block; font-weight: 700; }
.lxt-tpl span { display: block; font-size: .78rem; font-weight: 500; color: var(--t-soft); margin-top: .1rem; }
.lxt-tpl.is-active { border-color: var(--t-b); background: color-mix(in srgb, var(--t-b) 12%, var(--t-card)); box-shadow: inset 0 0 0 1px var(--t-b); }

/* ── a tool in steps (the 10DLC generator) ── */
.lxt-steps-bar { display: flex; gap: .35rem; margin: 0; padding: .7rem 1.25rem; list-style: none; border-bottom: 1px solid var(--t-line); overflow-x: auto; scrollbar-width: none; }
.lxt-steps-bar::-webkit-scrollbar { display: none; }
.lxt-steps-bar li { flex: 0 0 auto; }
.lxt-steps-bar button {
  display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-size: .86rem; font-weight: 700; white-space: nowrap;
  padding: .4rem .8rem .4rem .45rem; border-radius: 999px; border: 1px solid transparent; background: none; color: var(--t-faint); cursor: pointer; box-shadow: none;
}
.lxt-steps-n { width: 1.55rem; height: 1.55rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .78rem; background: var(--t-card-2); border: 1px solid var(--t-line); color: var(--t-soft); }
.lxt-steps-bar button[aria-current="step"] { color: var(--t-ink); background: var(--t-card); border-color: var(--t-line-2); }
.lxt-steps-bar button[aria-current="step"] .lxt-steps-n { background: var(--t-grad); color: #fff; border-color: transparent; }
.lxt-steps-bar button.is-done .lxt-steps-n { background: var(--t-ok-bg); color: var(--t-ok); border-color: transparent; }
.lxt-step-panel { display: flex; flex-direction: column; gap: 1rem; }
.lxt-step-panel[hidden] { display: none !important; }
.lxt-step-nav { padding-top: .5rem; border-top: 1px solid var(--t-line); }
@media (max-width: 640px) { .lxt-steps-bar { padding: .6rem .75rem; } .lxt-steps-bar button:not([aria-current="step"]) .lxt-steps-w { display: none; } }
.lxt-choices { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.lxt-choice {
  display: flex; flex-direction: column; gap: .25rem; text-align: left; font: inherit; cursor: pointer; padding: .85rem 1rem; border-radius: var(--t-r-sm);
  background: var(--t-card); border: 1px solid var(--t-line); color: var(--t-ink); box-shadow: none;
}
.lxt-choice b { font-size: .95rem; }
.lxt-choice span { font-size: .82rem; color: var(--t-faint); line-height: 1.4; }
.lxt-choice:hover { border-color: var(--t-line-2); }
.lxt-choice[aria-pressed="true"] { border-color: var(--t-b); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-b) 18%, transparent); background: color-mix(in srgb, var(--t-b) 6%, var(--t-card)); }
.lxt-score { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.1rem; border-radius: var(--t-r-sm); background: var(--t-card); border: 1px solid var(--t-line); }
.lxt-score-ring {
  --p: 0; --c: var(--t-ok); flex: none; width: 4.6rem; height: 4.6rem; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--t-card-2) 0);
}
.lxt-score-ring::before { content: ""; grid-area: 1 / 1; width: 3.7rem; height: 3.7rem; border-radius: 50%; background: var(--t-card); }
.lxt-score-ring b { grid-area: 1 / 1; position: relative; font-size: 1.05rem; font-weight: 800; }
.lxt-score-ring.is-warn { --c: var(--t-warn); }
.lxt-score-ring.is-bad { --c: var(--t-bad); }
.lxt-score-words { display: flex; flex-direction: column; gap: .2rem; }
.lxt-score-words b { font-size: 1.1rem; }
.lxt-score-words span { font-size: .88rem; color: var(--t-soft); line-height: 1.45; }
.lxt-checklist li.is-bad .lxt-check-mark { background: var(--t-bad-bg); color: var(--t-bad); }
.lxt-checklist li.is-bad { color: var(--t-ink); }
.lxt .lxt-out-section { margin: .6rem 0 -.2rem; font-family: inherit; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t-b); }

/* ── the QR code ── */
.lxt-qr-pane { align-items: center; }
.lxt-qr-stage { width: min(100%, 20rem); aspect-ratio: 1; display: grid; place-items: center; padding: .75rem; border-radius: var(--t-r-sm); background: #fff; border: 1px solid var(--t-line); box-shadow: var(--t-shadow); }
.lxt-qr-stage svg { width: 100%; height: 100%; display: block; }
.lxt-qr-empty { margin: 0; text-align: center; font-size: .88rem; color: #6b6880; padding: 1rem; }
.lxt-qr-pane > .lxt-field { width: min(100%, 20rem); }
.lxt-qr-pane > .lxt-row, .lxt-qr-pane > .lxt-note, .lxt-qr-pane > .lxt-sub { width: min(100%, 20rem); justify-content: center; text-align: center; }
.lxt-colour-row { flex-wrap: nowrap; }
.lxt-colour { width: 2.6rem; height: 2.55rem; padding: .2rem; border-radius: var(--t-r-xs); border: 1px solid var(--t-line); background: var(--t-field); cursor: pointer; flex: none; }
.lxt-colour-row input[type="text"] { font-family: ui-monospace, monospace; text-transform: lowercase; }

/* ── a long document on paper (privacy, terms) ── */
.lxt-doc { min-height: 0; max-height: 40rem; overflow-y: auto; gap: .7rem; }
.lxt-doc p { margin: 0; line-height: 1.6; }
.lxt .lxt-doc h2.lxt-paper-word { font-size: 1.5rem; margin: 0; }
.lxt .lxt-doc-h { margin: .6rem 0 0; font-family: inherit; font-size: .98rem; font-weight: 800; color: #1f2333; }
@media print { .lxt-doc { max-height: none; overflow: visible; } }

/* ── the email designer on a page ── */
.lxt-email-stage { height: min(78vh, 760px); min-height: 520px; border-radius: var(--t-r-sm); overflow: hidden; border: 1px solid var(--t-line); background: #fff; position: relative; }
.lxt-email-stage > .lxt-sub, .lxt-email-stage > .lxt-note { margin: 1rem; }
.lxt-tpl-select { width: auto !important; min-width: 12rem; }

.lxt-email-stage { display: flex; flex-direction: column; color: var(--c-text-muted, #475569); font-size: .9rem; text-align: left; }
.lxt-email-stage > .dk-dock, .lxt-email-stage > .evb-dock { flex: 0 0 auto; }
.lxt-email-stage .evb-root { flex: 1 1 auto; min-width: 0; min-height: 0; position: relative; }
.lxt-email-stage .evb-root > .gjs-editor-cont, .lxt-email-stage .evb-root > .gjs-editor { position: absolute; inset: 0; }
/* On a phone the email gets the whole width; the blocks panel slides over it
   only when asked for (the "Blocks" button). */
.lxt-blocks-toggle { display: none; }
@media (max-width: 760px) {
  .lxt-blocks-toggle { display: inline-flex; }
  .lxt-email-stage .lx-designer, .lxt-email-stage.lx-designer { --dk-side: 0px; }
  .lxt-email-stage .gjs-pn-views-container { display: none; }
  .lxt-email-stage.is-blocks .gjs-pn-views-container { display: block; width: min(88%, 300px) !important; z-index: 5; box-shadow: -12px 0 30px -10px rgba(0, 0, 0, .35); }
  .lxt-email-stage .gjs-pn-views { width: auto !important; }
}

/* ── signing on screen ── */
.lxt-signers { display: flex; flex-direction: column; gap: .9rem; }
.lxt-signer { display: flex; flex-direction: column; gap: .5rem; padding: .9rem; border-radius: var(--t-r-sm); background: var(--t-card); border: 1px solid var(--t-line); }
.lxt-signer-who { font-size: .9rem; }
.lxt-sig { width: 100%; height: 8.5rem; border-radius: var(--t-r-xs); background: #fff; border: 1.5px dashed var(--t-line-2); touch-action: none; cursor: crosshair; display: block; }
.lxt-signer .lxt-sub.is-ok { color: var(--t-ok); font-weight: 700; }
.lxt-sig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.lxt-sig-block { display: flex; flex-direction: column; gap: .2rem; }
.lxt-sig-block img { height: 70px; width: auto; max-width: 100%; object-fit: contain; object-position: left; border-bottom: 1px solid #1f2333; }
.lxt-sig-line { height: 70px; border-bottom: 1px solid #1f2333; }
.lxt-sig-block span { font-size: .78rem; color: #4a4f63; }
.lxt-sig-foot { font-size: .75rem; color: #7a7f93; }
.lxt-sign-paper { max-height: none; }

/* ── a week of times (the timesheet) ── */
.lxt-week { display: flex; flex-direction: column; gap: .4rem; }
.lxt-week-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr) 6rem 6.5rem; gap: .5rem; align-items: center; }
.lxt-week-row.is-head span { font-size: .74rem; font-weight: 700; color: var(--t-faint); }
.lxt-week-row b { font-size: .9rem; }
.lxt-week-total { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .lxt-week-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 4.2rem; padding: .55rem; border: 1px solid var(--t-line); border-radius: var(--t-r-xs); background: var(--t-card); }
  .lxt-week-row.is-head { display: none; }
  .lxt-week-row b { grid-column: 1 / 3; }
  .lxt-week-row .lxt-week-total { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) { .lxt .lxt-week-row input { padding-left: .45rem !important; padding-right: .3rem !important; min-width: 0; } }

/* ── code to paste, and a page preview (the cookie notice) ── */
.lxt pre.lxt-code { opacity: 1; filter: none; margin: 0; max-height: 16rem; overflow: auto; padding: .9rem 1rem; border-radius: var(--t-r-sm); background: #160f2c; color: #e6e1ff; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.lxt-cc-preview { width: 100%; height: 18rem; border: 1px solid var(--t-line); border-radius: var(--t-r-sm); background: #f6f5fb; }

/* ── polls ── */
.lxt-questions { display: flex; flex-direction: column; gap: .7rem; }
.lxt-q { display: flex; flex-direction: column; gap: .5rem; padding: .8rem; border-radius: var(--t-r-sm); background: var(--t-card); border: 1px solid var(--t-line); }
.lxt-q-opts { display: flex; flex-direction: column; gap: .4rem; padding-left: .75rem; border-left: 2px solid var(--t-line); }
.lxt-q-opts .lxt-row { flex-wrap: nowrap; }
.lxt-poll { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem; border-radius: var(--t-r-sm); background: var(--t-field); border: 1px solid var(--t-line); }
.lxt .lxt-poll-title { margin: 0; font-family: inherit; font-size: 1.15rem; }
.lxt-poll-q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.lxt-poll-q legend { font-weight: 700; margin-bottom: .45rem; padding: 0; }
.lxt-poll-opts { display: flex; flex-direction: column; gap: .4rem; }
.lxt-poll-scale { display: flex; gap: .45rem; flex-wrap: wrap; }
.lxt-poll-dot { position: relative; }
.lxt-poll-dot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lxt-poll-dot span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--t-line-2); font-weight: 700; color: var(--t-soft); }
.lxt-poll-dot input:checked + span { background: var(--t-grad); color: #fff; border-color: transparent; }
.lxt-poll-dot input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--t-b) 45%, transparent); outline-offset: 2px; }
.lxt-poll-scale-words { font-size: .76rem; color: var(--t-faint); }
.lxt-poll > .lxt-btn { align-self: flex-start; }
.lxt-poll-results { display: flex; flex-direction: column; gap: .9rem; }
.lxt-poll-r { display: flex; flex-direction: column; gap: .35rem; }
.lxt-poll-quote { margin: 0; font-style: italic; color: var(--t-soft); font-size: .9rem; }
/* ── kanban ── */
.lxt-board-title { font: inherit !important; font-size: 1.15rem !important; font-weight: 800 !important; border: 0 !important; background: none !important; padding: .2rem 0 !important; box-shadow: none !important; max-width: 22rem; }
.lxt-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 1fr); gap: .8rem; overflow-x: auto; padding-bottom: .4rem; }
.lxt-col { display: flex; flex-direction: column; gap: .55rem; padding: .7rem; border-radius: var(--t-r-sm); background: var(--t-card-2); border: 1px solid var(--t-line); min-height: 14rem; }
.lxt-col-head { display: flex; align-items: center; gap: .4rem; }
.lxt .lxt-col-name { font: inherit !important; font-weight: 800 !important; border: 0 !important; background: none !important; padding: .2rem 0 !important; box-shadow: none !important; flex: 1; min-width: 0; }
.lxt-col-head .lxt-x { width: 2rem; height: 2rem; border-radius: var(--t-r-xs); border: 1px solid var(--t-line); background: var(--t-card); color: var(--t-faint); cursor: pointer; padding: 0; box-shadow: none; }
.lxt-cards { display: flex; flex-direction: column; gap: .5rem; min-height: 3rem; border-radius: var(--t-r-xs); transition: background .15s ease; }
.lxt-cards.is-over { background: color-mix(in srgb, var(--t-b) 10%, transparent); }
.lxt-card { padding: .55rem .6rem; border-radius: var(--t-r-xs); background: var(--t-card); border: 1px solid var(--t-line); border-left: 4px solid var(--t-line-2); cursor: grab; display: flex; flex-direction: column; gap: .3rem; }
.lxt-card.is-drag { opacity: .5; }
.lxt .lxt-card-title { font: inherit !important; font-weight: 700 !important; border: 0 !important; background: none !important; padding: .1rem 0 !important; box-shadow: none !important; }
.lxt-card-more summary { font-size: .76rem; color: var(--t-faint); cursor: pointer; }
.lxt-card-more[open] { display: flex; flex-direction: column; gap: .4rem; }
.lxt-card-more textarea { min-height: 3rem !important; }
.lxt-card-foot { display: flex; gap: .7rem; justify-content: flex-end; }
.lxt-card-foot .lxt-link { text-decoration: none; font-size: .9rem; }
.lxt-col > .lxt-btn { align-self: flex-start; }
/* ── business card ── */
.lxt-bcard { width: min(100%, 24rem); aspect-ratio: 3.5 / 2; border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) 33%; gap: .8rem; align-items: center; box-shadow: var(--t-shadow); }
.lxt-bcard.is-night { background: linear-gradient(135deg, #1d1436, #2d1f5c); color: #fff; }
.lxt-bcard.is-light { background: linear-gradient(135deg, #ffffff, #f4f2fb); color: #1d1436; border: 1px solid #e4e1f2; }
.lxt-bcard.is-glow { background: linear-gradient(120deg, #6764f2, #b14cf0 55%, #ff00c8); color: #fff; }
.lxt-bcard-info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.lxt-bcard-name { font-size: 1.2rem; line-height: 1.15; }
.lxt-bcard-role { font-size: .78rem; opacity: .85; }
.lxt-bcard-lines { display: flex; flex-direction: column; margin-top: .45rem; font-size: .72rem; opacity: .95; gap: .05rem; overflow-wrap: anywhere; }
.lxt-bcard-qr svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.lxt-bcard-sheet { display: grid; grid-template-columns: repeat(2, 3.5in); gap: 0; }
.lxt-bcard.is-print { width: 3.5in; height: 2in; border-radius: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
/* ── a plan, month by month ── */
.lxt-plan-month { padding: .6rem 0; border-top: 1px solid #ecebf5; }
.lxt-plan-month ul { margin: .3rem 0 0; padding-left: 1.2rem; color: #4a4f63; }
/* ── a line chart ── */
.lxt-chart { border-radius: var(--t-r-sm); background: var(--t-field); border: 1px solid var(--t-line); padding: .6rem; }
.lxt-chart-svg { width: 100%; height: auto; display: block; }
.lxt-chart-grid { stroke: var(--t-line); stroke-width: 1; }
.lxt-chart-zero { stroke: var(--t-bad); stroke-width: 1; stroke-dasharray: 4 4; }
.lxt-chart-axis { fill: var(--t-faint); font-size: 11px; font-family: inherit; }
.lxt-legend { gap: 1rem; font-size: .82rem; color: var(--t-soft); }
.lxt-legend-item::before { content: ""; display: inline-block; width: .9rem; height: .25rem; border-radius: 2px; background: var(--c); margin-right: .4rem; vertical-align: middle; }
.lxt-proj-table { max-height: 18rem; overflow-y: auto; }
.lxt-table td.is-loss { color: var(--t-bad); }
/* A long paper scrolls as a whole; nothing inside it may shrink to fit. */
.lxt-paper > * { flex-shrink: 0; }
/* The small × and the plain links, wherever they are. */
.lxt .lxt-x { width: 2.4rem; min-width: 2.4rem; height: 2.55rem; border-radius: var(--t-r-xs); border: 1px solid var(--t-line); background: var(--t-card); color: var(--t-faint); font-size: 1.1rem; cursor: pointer; padding: 0; box-shadow: none; display: inline-grid; place-items: center; }
.lxt .lxt-x:hover:not(:disabled) { color: var(--t-bad); border-color: var(--t-bad); background: var(--t-card); }
.lxt .lxt-x:disabled { opacity: .4; cursor: default; }
.lxt .lxt-link:disabled { opacity: .3; cursor: default; background: none; text-decoration: none; }
.lxt .lxt-link { background: none; box-shadow: none; }
.lxt-page-stage > .pd-root { position: absolute; inset: 0; }
/* ── a made picture ── */
.lxt-ai-stage { width: min(100%, 26rem); aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--t-r-sm); background: var(--t-field); border: 1px solid var(--t-line); overflow: hidden; }
.lxt-ai-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lxt-ai-wait { width: 3rem; height: 3rem; border-radius: 50%; border: 4px solid var(--t-line); border-top-color: var(--t-b); animation: lxt-spin 1s linear infinite; }
@keyframes lxt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lxt-ai-wait { animation: none; } }
.lxt-photo-result { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
.lxt-photo-img { max-width: 100%; max-height: 28rem; border-radius: var(--t-r-sm); box-shadow: var(--t-shadow); }
.lxt-graphic { width: min(100%, 26rem); margin: 0 auto; border-radius: var(--t-r-sm); overflow: hidden; box-shadow: var(--t-shadow); background: var(--t-field); }
.lxt-graphic-canvas { width: 100%; height: 100%; display: block; }

/* Buttons size to their words, never the column's width. */
.lxt-pane > .lxt-btn, .lxt-step-panel > .lxt-btn, .lxt-pane > form > .lxt-btn { align-self: flex-start; }
.lxt-plan-counts { display: flex; flex-direction: column; gap: .6rem; margin-top: .6rem; }
.lxt-plan-counts:empty { display: none; }
/* (2026-11-17) Arrows over the plan preview that step through the event styles. */
.lxt-plan-wrap { position: relative; }
.lxt-plan-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 2.6rem; height: 2.6rem; border-radius: 999px;
  display: grid; place-items: center; padding: 0 0 .2rem; font-size: 1.9rem; line-height: 1; font-weight: 700; cursor: pointer;
  background: color-mix(in srgb, var(--t-card) 88%, transparent); color: var(--t-ink); border: 1px solid var(--t-line-2);
  box-shadow: 0 4px 14px rgba(20, 16, 50, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lxt-plan-arrow:hover { border-color: var(--t-b); color: var(--t-b); }
.lxt-plan-arrow:focus-visible { outline: 3px solid color-mix(in srgb, var(--t-b) 45%, transparent); outline-offset: 2px; }
.lxt-plan-arrow.is-prev { left: .6rem; }
.lxt-plan-arrow.is-next { right: .6rem; }
