/* ===========================================================================
   lorem-tool.css — the shared design system for the Lorem Ipsum cluster.

   Used by /lorem-ipsum and the eight specialised generator pages. The pages
   are generated by tools/build-lorem-pages.py, so every class here is a
   contract with that script. Nothing is Tailwind: the cluster owns its own
   stylesheet, which means the shared assets/tailwind.css build does not need
   to change when a page is added.

   Dark mode follows all three conventions the site uses — html.dark,
   html[data-theme="dark"] and body.dark — so assets/theme.js can drive it.
   =========================================================================== */

/* ---------- tokens ---------- */
:root {
  --lt-bg: #fbfbfd;
  --lt-bg-soft: #ffffff;
  --lt-surface: rgba(0, 0, 0, 0.022);
  --lt-surface-2: rgba(0, 0, 0, 0.045);
  --lt-surface-3: rgba(0, 0, 0, 0.07);
  --lt-border: rgba(9, 9, 11, 0.09);
  --lt-border-strong: rgba(9, 9, 11, 0.16);
  --lt-text: #09090b;
  --lt-muted: #52525b;
  --lt-dim: #71717a;
  --lt-accent: #6366f1;
  --lt-accent-2: #22d3ee;
  --lt-violet: #8b5cf6;
  --lt-ok: #059669;
  --lt-code-bg: rgba(99, 102, 241, 0.1);
  --lt-code-fg: #4f46e5;
  --lt-grid-line: rgba(9, 9, 11, 0.035);
  --lt-radius: 18px;
  --lt-shadow: 0 22px 60px -30px rgba(10, 10, 30, 0.35);
  --lt-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --lt-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html.dark,
html[data-theme="dark"],
body.dark {
  --lt-bg: #08080a;
  --lt-bg-soft: #0c0c11;
  --lt-surface: rgba(255, 255, 255, 0.035);
  --lt-surface-2: rgba(255, 255, 255, 0.06);
  --lt-surface-3: rgba(255, 255, 255, 0.09);
  --lt-border: rgba(255, 255, 255, 0.085);
  --lt-border-strong: rgba(255, 255, 255, 0.17);
  --lt-text: #f4f4f5;
  --lt-muted: #a1a1aa;
  --lt-dim: #8b8b96;
  --lt-accent: #818cf8;
  --lt-accent-2: #22d3ee;
  --lt-violet: #a78bfa;
  --lt-ok: #34d399;
  --lt-code-bg: rgba(129, 140, 248, 0.14);
  --lt-code-fg: #c7d2fe;
  --lt-grid-line: rgba(255, 255, 255, 0.04);
  --lt-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.95);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body.lt-body {
  margin: 0;
  font-family: var(--lt-sans);
  background: var(--lt-bg);
  color: var(--lt-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lt-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(99, 102, 241, 0.16), transparent 65%),
    radial-gradient(820px 520px at 88% 0%, rgba(34, 211, 238, 0.1), transparent 62%),
    radial-gradient(720px 720px at 50% 108%, rgba(139, 92, 246, 0.08), transparent 65%);
}
body.lt-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(var(--lt-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--lt-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 80%);
}
.lt-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: rgba(99, 102, 241, 0.28);
}
.lt-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- nav ---------- */
.lt-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--lt-bg) 76%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--lt-border);
}
.lt-nav-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 62px;
}
.lt-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 15.5px;
}
.lt-logo img {
  height: 28px;
  width: auto;
}
.lt-crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--lt-dim);
  flex: 1;
  min-width: 0;
}
.lt-crumbs a:hover {
  color: var(--lt-text);
}
.lt-crumbs .sep {
  opacity: 0.45;
}
.lt-crumbs .cur {
  color: var(--lt-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lt-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lt-dim);
  border: 1px solid var(--lt-border);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.lt-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--lt-border);
  background: var(--lt-surface);
  color: var(--lt-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.lt-icon-btn:hover {
  background: var(--lt-surface-2);
  border-color: var(--lt-border-strong);
}
.lt-icon-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- hero ---------- */
.lt-hero {
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
}
.lt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--lt-border-strong);
  background: var(--lt-surface);
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--lt-muted);
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
}
.lt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lt-ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: lt-pulse 2s infinite;
}
@keyframes lt-pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}
.lt-h1 {
  font-size: clamp(2.05rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 940px;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.lt-grad {
  background: linear-gradient(100deg, var(--lt-accent) 5%, var(--lt-violet) 45%, var(--lt-accent-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lt-sub {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--lt-muted);
  max-width: 700px;
  margin: 0 auto 24px;
  text-wrap: pretty;
}
.lt-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 26px;
}
.lt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lt-muted);
  border: 1px solid var(--lt-border);
  background: var(--lt-surface);
  border-radius: 999px;
  padding: 6px 12px;
}
.lt-badge b {
  color: var(--lt-text);
}
.lt-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
  font-family: inherit;
}
.lt-btn-primary {
  background: var(--lt-text);
  color: var(--lt-bg);
  box-shadow: var(--lt-shadow);
}
.lt-btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.lt-btn-ghost {
  background: var(--lt-surface);
  border-color: var(--lt-border);
  color: var(--lt-text);
}
.lt-btn-ghost:hover {
  background: var(--lt-surface-2);
  border-color: var(--lt-border-strong);
}
.lt-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- tool ---------- */
.lt-tool {
  border: 1px solid var(--lt-border);
  border-radius: 24px;
  background: var(--lt-bg-soft);
  box-shadow: var(--lt-shadow);
  overflow: hidden;
  scroll-margin-top: 84px;
}
html.dark .lt-tool,
html[data-theme="dark"] .lt-tool,
body.dark .lt-tool {
  background: rgba(255, 255, 255, 0.028);
}
.lt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--lt-border);
}
.lt-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--lt-muted);
  transition: opacity 0.2s;
}
.lt-input,
.lt-select {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--lt-text);
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 9px;
  padding: 7px 9px;
  outline: none;
  transition: 0.15s;
}
.lt-input {
  width: 74px;
}
.lt-input:focus,
.lt-select:focus {
  border-color: var(--lt-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}
.lt-select:disabled,
.lt-input:disabled {
  cursor: not-allowed;
}
.lt-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  font-weight: 650;
  color: var(--lt-muted);
  transition: opacity 0.2s;
}
.lt-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.lt-switch-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--lt-surface-3);
  transition: background 0.18s;
  flex-shrink: 0;
}
.lt-switch-track::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s;
}
.lt-switch input:checked + .lt-switch-track {
  background: var(--lt-accent);
}
.lt-switch input:checked + .lt-switch-track::after {
  transform: translateX(16px);
}
.lt-switch input:focus-visible + .lt-switch-track {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.28);
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--lt-border);
}
.lt-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--lt-border);
  background: transparent;
  color: var(--lt-muted);
  cursor: pointer;
  transition: 0.16s;
}
.lt-action:hover {
  background: var(--lt-surface-2);
  color: var(--lt-text);
}
.lt-action-primary {
  background: var(--lt-text);
  color: var(--lt-bg);
  border-color: transparent;
}
.lt-action-primary:hover {
  background: var(--lt-text);
  color: var(--lt-bg);
  opacity: 0.88;
}
.lt-action svg {
  width: 14px;
  height: 14px;
}
.lt-stats {
  margin-left: auto;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--lt-dim);
  white-space: nowrap;
}
.lt-output {
  display: block;
  width: 100%;
  height: 360px;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--lt-text);
  font-family: var(--lt-mono);
  font-size: 13.5px;
  line-height: 1.72;
  padding: 16px 18px;
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(113, 113, 122, 0.4) transparent;
}
.lt-output::placeholder {
  color: var(--lt-dim);
}
.lt-output::-webkit-scrollbar {
  width: 8px;
}
.lt-output::-webkit-scrollbar-thumb {
  background: rgba(113, 113, 122, 0.35);
  border-radius: 99px;
}

/* ---------- workflow bar (inside the tool) ---------- */
.lt-workflow {
  border-top: 1px solid var(--lt-border);
  padding: 13px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.045));
}
.lt-workflow-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lt-dim);
  margin-bottom: 10px;
}
.lt-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}
.lt-workflow-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid var(--lt-border);
  background: var(--lt-bg-soft);
  transition: 0.16s;
}
html.dark .lt-workflow-link,
html[data-theme="dark"] .lt-workflow-link,
body.dark .lt-workflow-link {
  background: rgba(255, 255, 255, 0.03);
}
.lt-workflow-link:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}
.lt-workflow-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--lt-accent);
}
.lt-workflow-link b {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--lt-text);
  line-height: 1.25;
}
.lt-workflow-link span {
  display: block;
  font-size: 11px;
  color: var(--lt-dim);
  line-height: 1.3;
}

/* ---------- sections ---------- */
.lt-section {
  padding: 54px 0 0;
  scroll-margin-top: 84px;
}
.lt-section:last-of-type {
  padding-bottom: 56px;
}
.lt-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lt-accent);
  margin-bottom: 0.55rem;
}
.lt-h2 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.16;
  margin: 0;
  text-wrap: balance;
}
.lt-h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.lt-p {
  margin: 0.85rem 0 0;
  font-size: 0.975rem;
  line-height: 1.78;
  color: var(--lt-muted);
}
.lt-p strong {
  color: var(--lt-text);
  font-weight: 650;
}
.lt-center {
  text-align: center;
}
.lt-lead {
  max-width: 760px;
}
.lt-center .lt-lead {
  margin-left: auto;
  margin-right: auto;
}
.lt-code {
  font-family: var(--lt-mono);
  font-size: 0.85em;
  background: var(--lt-code-bg);
  color: var(--lt-code-fg);
  padding: 0.1em 0.4em;
  border-radius: 0.4em;
  border: 1px solid rgba(99, 102, 241, 0.18);
  word-break: break-word;
}

/* ---------- answer capsule ---------- */
.lt-answer {
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: var(--lt-radius);
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.055));
}
.lt-answer-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lt-accent);
}
.lt-answer-label svg {
  width: 13px;
  height: 13px;
}
.lt-answer p {
  margin: 0.6rem 0 0;
  font-size: 1.03rem;
  color: var(--lt-text);
  line-height: 1.7;
}

/* ---------- cards / grids ---------- */
.lt-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lt-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .lt-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lt-card {
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  padding: 20px;
  background: var(--lt-bg-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html.dark .lt-card,
html[data-theme="dark"] .lt-card,
body.dark .lt-card {
  background: rgba(255, 255, 255, 0.028);
}
.lt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 18px 40px -24px rgba(79, 70, 229, 0.5);
}
.lt-card .lt-h3 {
  margin-bottom: 0.4rem;
}
.lt-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--lt-muted);
}
.lt-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--lt-accent);
}
.lt-card-icon svg {
  width: 19px;
  height: 19px;
}
.lt-city {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lt-accent-2);
}

/* ---------- how-to steps ---------- */
.lt-steps {
  list-style: none;
  counter-reset: lt-step;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 860px) {
  .lt-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lt-steps li {
  counter-increment: lt-step;
  position: relative;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  background: var(--lt-bg-soft);
  padding: 20px 20px 20px 20px;
}
html.dark .lt-steps li,
html[data-theme="dark"] .lt-steps li,
body.dark .lt-steps li {
  background: rgba(255, 255, 255, 0.028);
}
.lt-steps li::before {
  content: counter(lt-step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--lt-accent), var(--lt-violet));
}
.lt-steps b {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--lt-text);
  margin-bottom: 0.3rem;
}
.lt-steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--lt-muted);
}

/* ---------- reference passage ---------- */
.lt-passage {
  margin-top: 18px;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  background: var(--lt-bg-soft);
  overflow: hidden;
}
html.dark .lt-passage,
html[data-theme="dark"] .lt-passage,
body.dark .lt-passage {
  background: rgba(255, 255, 255, 0.028);
}
.lt-passage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--lt-border);
}
.lt-passage-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lt-dim);
}
.lt-passage blockquote {
  margin: 0;
  padding: 18px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--lt-text);
  font-style: italic;
}

/* ---------- fact list ---------- */
.lt-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .lt-facts {
    grid-template-columns: 1fr 1fr;
  }
}
.lt-facts li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--lt-muted);
  border: 1px solid var(--lt-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--lt-bg-soft);
}
html.dark .lt-facts li,
html[data-theme="dark"] .lt-facts li,
body.dark .lt-facts li {
  background: rgba(255, 255, 255, 0.028);
}
.lt-facts li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--lt-ok);
}
.lt-facts strong {
  color: var(--lt-text);
  font-weight: 650;
}

/* ---------- comparison table ---------- */
.lt-tablewrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius);
  background: var(--lt-bg-soft);
}
html.dark .lt-tablewrap,
html[data-theme="dark"] .lt-tablewrap,
body.dark .lt-tablewrap {
  background: rgba(255, 255, 255, 0.028);
}
.lt-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
.lt-table th,
.lt-table td {
  padding: 13px 17px;
  border-bottom: 1px solid var(--lt-border);
  vertical-align: top;
}
.lt-table tbody tr:last-child th,
.lt-table tbody tr:last-child td {
  border-bottom: 0;
}
.lt-table thead th {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lt-dim);
}
.lt-table thead th:nth-child(2) {
  color: var(--lt-accent);
}
.lt-table th[scope="row"] {
  font-weight: 600;
  color: var(--lt-text);
  width: 30%;
}
.lt-table .yes {
  color: var(--lt-ok);
  font-weight: 650;
}
.lt-table .no {
  color: var(--lt-dim);
}

/* ---------- cluster directory ---------- */
.lt-cluster {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}
@media (min-width: 780px) {
  .lt-cluster {
    grid-template-columns: 1fr 1fr;
  }
}
.lt-cluster h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lt-dim);
  margin: 0 0 10px;
}
.lt-cluster ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.lt-cluster a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--lt-border);
  background: var(--lt-bg-soft);
  transition: 0.16s;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--lt-text);
}
html.dark .lt-cluster a,
html[data-theme="dark"] .lt-cluster a,
body.dark .lt-cluster a {
  background: rgba(255, 255, 255, 0.028);
}
.lt-cluster a:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}
.lt-cluster a[aria-current="page"] {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.09);
  cursor: default;
}
.lt-cluster a[aria-current="page"]:hover {
  transform: none;
}
.lt-cluster span {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--lt-dim);
}

/* ---------- FAQ ---------- */
.lt-faq {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.lt-faq details {
  border: 1px solid var(--lt-border);
  border-radius: 14px;
  padding: 0 18px;
  background: var(--lt-bg-soft);
}
html.dark .lt-faq details,
html[data-theme="dark"] .lt-faq details,
body.dark .lt-faq details {
  background: rgba(255, 255, 255, 0.028);
}
.lt-faq summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 650;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--lt-text);
}
.lt-faq summary::-webkit-details-marker {
  display: none;
}
.lt-faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--lt-dim);
  flex-shrink: 0;
}
.lt-faq details[open] summary::after {
  content: "\2013";
}
.lt-faq p {
  padding-bottom: 15px;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--lt-muted);
}
.lt-faq code {
  font-family: var(--lt-mono);
  font-size: 0.86em;
  background: var(--lt-code-bg);
  color: var(--lt-code-fg);
  padding: 0.08em 0.36em;
  border-radius: 0.35em;
}

/* ---------- toast ---------- */
.lt-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translate(-50%, 0);
  background: var(--lt-text);
  color: var(--lt-bg);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: var(--lt-shadow);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lt-toast[data-show="false"] {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .lt-crumbs {
    display: none;
  }
  .lt-region {
    font-size: 10px;
    padding: 4px 8px;
  }
  .lt-output {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
