/*! Luminous Commons kit 1.0.0 — https://crossinginto.ai/kit/1.0.0/lc.css
    Source: kit/ in the crossinginto.ai repo. Generated; do not edit. */
/* Luminous Commons — design tokens.
   Single source of truth for crossinginto.ai and every tool that links the kit.
   Dawn (light, default) and Dusk (dark) are expressed through one --lc-* set so
   theming is pure variable override. Sun is the only brand accent; verdigris and
   twilight are semantic signals (status, per-item category, data) — never decoration.
   Every text/surface pair is contrast-tested (src/lib/kitContrast.test.ts). */

:root,
[data-theme="dawn"] {
  color-scheme: light;

  --lc-paper: #F3EFE4;
  --lc-paper-alt: #ECE7DA;
  --lc-surface: #FFFDF8;
  --lc-glass: rgba(255, 252, 244, 0.62);
  --lc-glass-strong: rgba(255, 253, 248, 0.86);
  --lc-night: #111C29;
  --lc-night-ink: #ECE8DC;
  --lc-night-muted: #9AA3AD;
  --lc-night-line: rgba(236, 232, 220, 0.1);

  --lc-ink: #13223A;
  --lc-body: #3D4859;
  --lc-muted: #5C6576;
  --lc-line: rgba(19, 34, 58, 0.09);
  --lc-line-strong: rgba(19, 34, 58, 0.16);
  --lc-chip: rgba(19, 34, 58, 0.05);

  --lc-sun: #D9822B;
  --lc-sun-deep: #B8621C;
  --lc-sun-ink: #99520F;
  --lc-sun-soft: rgba(217, 130, 43, 0.15);
  --lc-sun-glow: rgba(240, 160, 70, 0.45);
  --lc-on-sun: #1A1206;
  --lc-verdigris: #23705F;
  --lc-verdigris-soft: rgba(35, 112, 95, 0.12);
  --lc-twilight: #5E54A8;
  --lc-twilight-soft: rgba(94, 84, 168, 0.12);
  --lc-danger: #A8322A;
  --lc-danger-soft: rgba(168, 50, 42, 0.1);

  --lc-sky-1: rgba(247, 205, 150, 0.55);
  --lc-sky-2: rgba(190, 214, 226, 0.55);
  --lc-dot: rgba(19, 34, 58, 0.32);
  --lc-header-bg: rgba(255, 252, 244, 0.62);

  --lc-shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 24px -14px rgba(19, 34, 58, 0.28);
  --lc-shadow-md: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 4px rgba(19, 34, 58, 0.04), 0 24px 48px -28px rgba(19, 34, 58, 0.3);
  --lc-shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 10px rgba(19, 34, 58, 0.05), 0 40px 70px -30px rgba(19, 34, 58, 0.38);
  --lc-shadow-xl: 0 6px 16px rgba(19, 34, 58, 0.1), 0 50px 90px -30px rgba(19, 34, 58, 0.5);
  --lc-shadow-btn: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -10px rgba(19, 34, 58, 0.55);

  --lc-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --lc-font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lc-font-mono: "JetBrains Mono", SFMono-Regular, Menlo, monospace;

  --lc-r-sm: 12px;
  --lc-r-md: 16px;
  --lc-r-lg: 22px;
  --lc-r-xl: 26px;
  --lc-r-2xl: 34px;
  --lc-max: 1180px;
  --lc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lc-blur: blur(20px) saturate(150%);
}

[data-theme="dusk"] {
  color-scheme: dark;

  --lc-paper: #0D1520;
  --lc-paper-alt: #111B28;
  --lc-surface: #152030;
  --lc-glass: rgba(22, 33, 48, 0.58);
  --lc-glass-strong: rgba(24, 36, 52, 0.88);
  --lc-night: #08101A;

  --lc-ink: #F1EFE6;
  --lc-body: #BAC3CD;
  --lc-muted: #909BA8;
  --lc-line: rgba(241, 239, 230, 0.08);
  --lc-line-strong: rgba(241, 239, 230, 0.16);
  --lc-chip: rgba(241, 239, 230, 0.06);

  --lc-sun: #F2A649;
  --lc-sun-deep: #A8561A;
  --lc-sun-ink: #F2B06A;
  --lc-sun-soft: rgba(242, 176, 106, 0.14);
  --lc-sun-glow: rgba(242, 160, 80, 0.35);
  --lc-verdigris: #63C7AF;
  --lc-verdigris-soft: rgba(99, 199, 175, 0.12);
  --lc-twilight: #A79CF0;
  --lc-twilight-soft: rgba(167, 156, 240, 0.13);
  --lc-danger: #F08A7E;
  --lc-danger-soft: rgba(240, 138, 126, 0.12);

  --lc-sky-1: rgba(217, 130, 43, 0.2);
  --lc-sky-2: rgba(60, 100, 140, 0.3);
  --lc-dot: rgba(242, 176, 106, 0.42);
  --lc-header-bg: rgba(22, 33, 48, 0.58);

  --lc-shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 28px -14px rgba(0, 0, 0, 0.7);
  --lc-shadow-md: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.75);
  --lc-shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 50px 80px -30px rgba(0, 0, 0, 0.8);
  --lc-shadow-xl: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 60px 100px -30px rgba(0, 0, 0, 0.85);
  --lc-shadow-btn: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}

/* Luminous Commons — materials. Depth is four layers, in order of elevation:
   paper (solid tiles) → glass (chrome, instruments) → night (consoles, research
   insets; dark in both themes) → sun (one decorative orb per page, at most).
   Plus the motifs: solar lattice, orbit rings, sky atmosphere. Everything
   decorative is meant to sit behind aria-hidden markup. */

.lc-tile {
  background: var(--lc-surface);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-xl);
  box-shadow: var(--lc-shadow-md);
}

.lc-glass {
  background: var(--lc-glass);
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-r-lg);
  box-shadow: var(--lc-shadow-lg);
  -webkit-backdrop-filter: var(--lc-blur);
  backdrop-filter: var(--lc-blur);
}
.lc-glass--strong { background: var(--lc-glass-strong); box-shadow: var(--lc-shadow-sm); }

.lc-night {
  --lc-ink: var(--lc-night-ink);
  --lc-body: #C4C1B6;
  --lc-muted: var(--lc-night-muted);
  --lc-line: var(--lc-night-line);
  --lc-line-strong: rgba(236, 232, 220, 0.18);
  --lc-chip: rgba(236, 232, 220, 0.06);
  --lc-sun-ink: #F2B06A;
  --lc-verdigris: #7FD3BD;
  --lc-twilight: #A79CF0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--lc-night);
  color: var(--lc-night-ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--lc-r-2xl);
  box-shadow: var(--lc-shadow-xl);
}
/* The night inset's own dawn: warm light low right, cool light high left. */
.lc-night--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 620px 420px at 82% 110%, rgba(217, 130, 43, 0.3), transparent 70%),
    radial-gradient(ellipse 520px 380px at 8% -10%, rgba(92, 194, 170, 0.18), transparent 70%),
    radial-gradient(ellipse 400px 300px at 55% 30%, rgba(167, 156, 240, 0.1), transparent 70%);
}

.lc-lift { transition: transform 0.35s var(--lc-ease), box-shadow 0.35s var(--lc-ease), border-color 0.35s ease; }
.lc-lift:is(:hover, :focus-visible, :focus-within) { transform: translateY(-4px); box-shadow: var(--lc-shadow-lg); border-color: var(--lc-line-strong); }

/* The sun: a breathing orb. Size it with width/height on the element. */
.lc-sun {
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #FFE7C2, var(--lc-sun) 62%, var(--lc-sun-deep));
  box-shadow: 0 0 80px 10px var(--lc-sun-glow);
  animation: lc-breathe 9s ease-in-out infinite;
}
@keyframes lc-breathe { 0%, 100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.04); opacity: 1; } }

/* Solar lattice: a triangular cell grid (photovoltaic, not circuit board), faded
   out from the centre. Pure CSS so it follows the theme's ink. */
.lc-lattice {
  background-image:
    repeating-linear-gradient(0deg, var(--lc-line) 0 1px, transparent 1px 31px),
    repeating-linear-gradient(60deg, var(--lc-line) 0 1px, transparent 1px 31px),
    repeating-linear-gradient(120deg, var(--lc-line) 0 1px, transparent 1px 31px);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent);
  mask-image: radial-gradient(closest-side, #000 20%, transparent);
  opacity: 0.8;
}

/* Orbit rings: put this on an element and size it; rings scale with it. */
.lc-orbits {
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent calc(50% - 1px), var(--lc-line) calc(50% - 1px) 50%, transparent 50%),
    radial-gradient(circle, transparent calc(36% - 1px), var(--lc-line-strong) calc(36% - 1px) 36%, transparent 36%),
    radial-gradient(circle, transparent calc(24% - 1px), var(--lc-line) calc(24% - 1px) 24%, transparent 24%);
}

/* Page atmosphere: dawn light behind the top of a page. Not a wash — two soft
   pools of light that fade to paper. */
.lc-atmosphere {
  background:
    radial-gradient(ellipse 900px 620px at 76% 26%, var(--lc-sky-1), transparent 70%),
    radial-gradient(ellipse 800px 520px at 8% -10%, var(--lc-sky-2), transparent 70%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .lc-sun { animation: none; }
  .lc-lift { transition: none; }
  .lc-lift:is(:hover, :focus-visible, :focus-within) { transform: none; }
}

/* Luminous Commons — components. Framework-free classes shared by the site and
   every tool. Markup contracts (header, footer, fields) are in kit/README.md.
   Classes are prefixed lc- so they never collide with a tool's own styles. */

/* ── Base (scoped to opt-in, so the site's Tailwind preflight stays in charge) ── */
.lc-page {
  margin: 0;
  min-height: 100vh;
  background: var(--lc-paper);
  color: var(--lc-ink);
  font-family: var(--lc-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.lc-page ::selection { background: var(--lc-sun); color: var(--lc-on-sun); }
.lc-page :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lc-sun);
  outline-offset: 3px;
}

.lc-shell { width: 100%; max-width: var(--lc-max); margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
@media (min-width: 640px) { .lc-shell { padding-inline: 40px; } }

/* ── Type ── */
.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 12px/1.2 var(--lc-font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lc-sun-ink);
}
.lc-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--lc-sun); flex: none; }
.lc-eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--lc-sun); flex: none; }

.lc-display {
  margin: 0;
  font-family: var(--lc-font-display);
  font-weight: 360;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--lc-ink);
  font-variation-settings: "opsz" 144;
}
.lc-display em { font-weight: 300; font-style: italic; }
.lc-display--xl { font-size: clamp(52px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.035em; }
.lc-display--lg { font-size: clamp(36px, 5vw, 58px); }
.lc-display--md { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; }
.lc-lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--lc-body); max-width: 62ch; }
.lc-mono { font-family: var(--lc-font-mono); }
.lc-muted { color: var(--lc-muted); }
.lc-link { color: var(--lc-sun-ink); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--lc-ease); }
.lc-link:is(:hover, :focus-visible) { background-size: 100% 1px; }

/* ── Buttons ── */
.lc-btn {
  --lc-btn-h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--lc-btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font: 600 15px/1 var(--lc-font-sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--lc-ease), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.lc-btn:is(:hover, :focus-visible) { transform: translateY(-1px); }
.lc-btn:disabled, .lc-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.lc-btn--sm { --lc-btn-h: 44px; padding: 0 16px; font-size: 14px; border-radius: 13px; }
.lc-btn--primary { background: var(--lc-ink); color: var(--lc-paper); box-shadow: var(--lc-shadow-btn); }
.lc-btn--sun { background: var(--lc-sun); color: var(--lc-on-sun); box-shadow: 0 10px 30px -10px var(--lc-sun-glow); }
.lc-btn--glass { background: var(--lc-glass-strong); color: var(--lc-ink); border-color: var(--lc-line-strong); box-shadow: var(--lc-shadow-sm); -webkit-backdrop-filter: var(--lc-blur); backdrop-filter: var(--lc-blur); }
.lc-btn--glass:is(:hover, :focus-visible) { border-color: var(--lc-sun); }
.lc-btn--quiet { background: var(--lc-chip); color: var(--lc-ink); border-color: var(--lc-line); }
.lc-btn--quiet:is(:hover, :focus-visible) { border-color: var(--lc-line-strong); }
.lc-arrow { display: inline-block; transition: transform 0.35s var(--lc-ease); }
:is(a, button):is(:hover, :focus-visible) .lc-arrow { transform: translateX(3px); }

/* ── Chips, status, icon wells ── */
.lc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--lc-chip);
  border: 1px solid var(--lc-line);
  font: 500 11px/1.3 var(--lc-font-mono);
  color: var(--lc-muted);
}
.lc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11.5px/1 var(--lc-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lc-muted);
}
.lc-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc-verdigris);
  animation: lc-pulse 2.4s ease-out infinite;
}
@keyframes lc-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--lc-verdigris) 45%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Per-item hue: set data-hue on any element; children read --lc-hue / --lc-hue-soft. */
[data-hue="sun"] { --lc-hue: var(--lc-sun-ink); --lc-hue-fill: var(--lc-sun); --lc-hue-soft: var(--lc-sun-soft); }
[data-hue="verdigris"] { --lc-hue: var(--lc-verdigris); --lc-hue-fill: var(--lc-verdigris); --lc-hue-soft: var(--lc-verdigris-soft); }
[data-hue="twilight"] { --lc-hue: var(--lc-twilight); --lc-hue-fill: var(--lc-twilight); --lc-hue-soft: var(--lc-twilight-soft); }
.lc-well {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--lc-hue-soft, var(--lc-sun-soft));
  color: var(--lc-hue, var(--lc-sun-ink));
}
.lc-well--sm { width: 32px; height: 32px; border-radius: 10px; }
.lc-well svg { width: 20px; height: 20px; }
.lc-well--sm svg { width: 16px; height: 16px; }

/* ── Theme toggle (segmented) ── */
.lc-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--lc-chip);
  border: 1px solid var(--lc-line);
}
.lc-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--lc-muted);
  font: 600 12.5px/1 var(--lc-font-sans);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.lc-toggle button[aria-pressed="true"] { background: var(--lc-surface); color: var(--lc-ink); box-shadow: var(--lc-shadow-sm); }
.lc-toggle svg { width: 14px; height: 14px; }

/* ── Header: a floating glass app bar ── */
.lc-header { position: sticky; top: 0; z-index: 100; isolation: isolate; padding: 16px 12px 0; view-transition-name: lc-header; }
/* Content scrolling up through the gap above the floating bar fades into paper
   instead of showing crisp behind it. */
.lc-header::before {
  content: ""; position: absolute; inset: 0 0 -14px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, var(--lc-paper) 0, color-mix(in oklab, var(--lc-paper) 82%, transparent) 45%, transparent);
}
@media (min-width: 640px) { .lc-header { padding: 20px 24px 0; } }
.lc-header__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--lc-max);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 10px 8px 18px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--lc-header-bg);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow-sm);
  -webkit-backdrop-filter: var(--lc-blur);
  backdrop-filter: var(--lc-blur);
}
.lc-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--lc-ink); text-decoration: none; white-space: nowrap; }
.lc-brand__mark { width: 30px; height: 30px; flex: none; }
.lc-brand__name { font: 500 19px/1 var(--lc-font-display); letter-spacing: -0.01em; }
.lc-brand__name em { font-weight: 400; }
.lc-brand__sub { font: 500 11px/1 var(--lc-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lc-muted); }
.lc-nav { display: none; align-items: center; gap: 2px; margin-left: 8px; }
.lc-nav a {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--lc-body);
  font: 500 14.5px/1 var(--lc-font-sans);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lc-nav a:hover { color: var(--lc-ink); background: var(--lc-chip); }
.lc-nav a[aria-current="page"] { color: var(--lc-ink); background: var(--lc-chip); box-shadow: inset 0 0 0 1px var(--lc-line); }
.lc-header__spacer { flex: 1 1 auto; }
.lc-header__status { display: none; }
.lc-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lc-line);
  border-radius: 13px;
  background: var(--lc-chip);
  color: var(--lc-ink);
  cursor: pointer;
}
.lc-menu-btn svg { width: 18px; height: 18px; }
.lc-header__menu {
  max-width: var(--lc-max);
  margin: 8px auto 0;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--lc-glass-strong);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow-lg);
  -webkit-backdrop-filter: var(--lc-blur);
  backdrop-filter: var(--lc-blur);
}
.lc-header__menu a { display: block; padding: 13px 14px; border-radius: 12px; color: var(--lc-ink); font-weight: 600; text-decoration: none; }
.lc-header__menu a:hover, .lc-header__menu a[aria-current="page"] { background: var(--lc-chip); }
.lc-header__menu[hidden] { display: none; }
.lc-hide-sm { display: none; }
@media (min-width: 900px) {
  .lc-nav { display: flex; }
  .lc-menu-btn { display: none; }
  .lc-header__menu { display: none; }
  .lc-hide-sm { display: inline-flex; }
}
@media (min-width: 1100px) { .lc-header__status { display: inline-flex; } }

/* ── Footer ── */
.lc-footer { padding: 56px 12px 32px; }
@media (min-width: 640px) { .lc-footer { padding: 72px 24px 36px; } }
.lc-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  max-width: var(--lc-max);
  margin-inline: auto;
  padding: 20px 24px;
  box-sizing: border-box;
  border-radius: 22px;
  background: var(--lc-glass);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow-sm);
  -webkit-backdrop-filter: var(--lc-blur);
  backdrop-filter: var(--lc-blur);
  font-size: 13.5px;
  color: var(--lc-muted);
}
.lc-footer__bar a { color: var(--lc-muted); text-decoration: none; transition: color 0.2s ease; }
.lc-footer__bar a:hover { color: var(--lc-ink); }
.lc-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ── Fields ── */
.lc-field { display: flex; flex-direction: column; gap: 8px; }
.lc-label { font: 600 13px/1.3 var(--lc-font-sans); color: var(--lc-ink); }
.lc-hint { font-size: 12.5px; color: var(--lc-muted); }
.lc-input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid var(--lc-line-strong);
  border-radius: 14px;
  background: var(--lc-surface);
  color: var(--lc-ink);
  font: 500 16px/1.4 var(--lc-font-sans);
  box-shadow: 0 1px 2px rgba(19, 34, 58, 0.04) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea.lc-input { min-height: 140px; padding: 14px 16px; resize: vertical; }
.lc-input::placeholder { color: var(--lc-muted); opacity: 0.8; }
.lc-input:focus { outline: none; border-color: var(--lc-sun); box-shadow: 0 0 0 4px var(--lc-sun-soft); }
.lc-input[aria-invalid="true"] { border-color: var(--lc-danger); box-shadow: 0 0 0 4px var(--lc-danger-soft); }
.lc-error { font-size: 13px; color: var(--lc-danger); }

/* ── Console (inside .lc-night, or standalone) ── */
.lc-console { border-radius: var(--lc-r-lg); overflow: hidden; background: var(--lc-night); color: var(--lc-night-ink); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--lc-shadow-xl); }
.lc-console__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font: 400 11px/1 var(--lc-font-mono); color: rgba(236, 232, 220, 0.6); }
.lc-console__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.lc-console__body { padding: 18px; font: 400 13px/1.55 var(--lc-font-mono); }
.lc-cursor { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -0.15em; background: #F2B06A; animation: lc-blink 1.1s steps(1) infinite; }
@keyframes lc-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ── Tool page layout: hero + instrument panel (shared by every public tool) ── */
.lc-hero { position: relative; padding-block: 56px 32px; }
@media (min-width: 900px) { .lc-hero { padding-block: 88px 40px; } }
.lc-hero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.lc-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--lc-r-xl);
  background: var(--lc-glass);
  border: 1px solid var(--lc-line);
  box-shadow: var(--lc-shadow-lg);
  -webkit-backdrop-filter: var(--lc-blur);
  backdrop-filter: var(--lc-blur);
}
@media (min-width: 640px) { .lc-panel { padding: 28px; } }
.lc-panel__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.lc-panel__row > .lc-input { flex: 1 1 280px; }
.lc-section { padding-block: 40px; }
.lc-section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

/* ── The legibility loop: Audit → Generate → Verify, across the three tools ── */
.lc-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lc-loop a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--lc-r-md);
  background: var(--lc-chip);
  border: 1px solid var(--lc-line);
  color: var(--lc-ink);
  text-decoration: none;
  font: 600 14px/1.2 var(--lc-font-sans);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.lc-loop a:hover { border-color: var(--lc-line-strong); }
.lc-loop a[aria-current="page"] { background: var(--lc-surface); border-color: var(--lc-hue, var(--lc-sun)); box-shadow: var(--lc-shadow-sm); }
.lc-loop__n { font: 500 10.5px/1 var(--lc-font-mono); letter-spacing: 0.12em; color: var(--lc-hue, var(--lc-muted)); }
.lc-loop small { font: 500 11.5px/1.2 var(--lc-font-mono); color: var(--lc-muted); }
@media (max-width: 559px) {
  .lc-loop { gap: 6px; }
  .lc-loop a { padding: 10px; font-size: 13px; }
  .lc-loop__n { font-size: 9.5px; letter-spacing: .06em; }
  .lc-loop small { display: none; }
  .lc-panel__row > .lc-btn { width: 100%; }
}

/* ── Result semantics (tools): pass / warn / fail ── */
.lc-result-pass { --lc-hue: var(--lc-verdigris); --lc-hue-soft: var(--lc-verdigris-soft); }
.lc-result-warn { --lc-hue: var(--lc-sun-ink); --lc-hue-soft: var(--lc-sun-soft); }
.lc-result-fail { --lc-hue: var(--lc-danger); --lc-hue-soft: var(--lc-danger-soft); }

@media (prefers-reduced-motion: reduce) {
  .lc-btn, .lc-arrow, .lc-toggle button, .lc-link { transition: none; }
  .lc-btn:is(:hover, :focus-visible) { transform: none; }
  .lc-status::before, .lc-cursor { animation: none; }
}
