:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0d47a1;
  --accent: #d97706;
  --bg: #f8fafc;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; }
.lt-top {
  background: #0b3b60;
  color: #fff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lt-brand { display: flex; gap: 14px; align-items: center; }
.lt-brand a { color: #e2e8f0; text-decoration: none; font-weight: 600; }
.lt-nav a {
  color: #cbd5e1; text-decoration: none; margin-left: 12px; font-weight: 700; font-size: .9rem;
}
.lt-nav a.active, .lt-nav a:hover { color: #fff; }
.lt-candidate { font-size: .85rem; opacity: .95; }

.lt-wrap { width: min(1100px, 94vw); margin: 22px auto 40px; display: grid; gap: 18px; }
.lt-wrap.narrow { width: min(760px, 94vw); }

.lt-hero-card, .lt-form-card, .lt-result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.lt-hero-card {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 20px;
}
.lt-pill {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: #e0f2fe; color: #0369a1; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
}
.lt-hero-card h1, .lt-form-card h1, .lt-form-card h2 { margin: 10px 0 8px; }
.lt-meta { padding-left: 18px; color: #334155; line-height: 1.7; }
.lt-parts {
  background: linear-gradient(180deg, #fffbeb, #fff);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 16px;
}
.lt-parts ol { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.lt-note { background: #f1f5f9; border-radius: 10px; padding: 10px 12px; color: #334155; }
.lt-note.ok { background: #ecfdf5; color: #065f46; }
.lt-note.warn { background: #fff7ed; color: #9a3412; }
.lt-alert {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
  border-radius: 10px; padding: 12px 14px; font-weight: 600;
}
.lt-form-card form { display: grid; gap: 14px; margin-top: 12px; }
.lt-form-card label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.lt-form-card input[type="text"],
.lt-form-card input[type="tel"] {
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 12px; font-size: 1rem;
}
.lt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; padding: 12px 16px; font-weight: 800; cursor: pointer;
  text-decoration: none; width: fit-content;
}
.lt-btn.primary { background: var(--brand); color: #fff; }
.lt-btn.secondary { background: #fff; color: #334155; border: 1px solid #cbd5e1; }
.lt-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.lt-table th, .lt-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.lt-table th { background: #e3f2fd; color: var(--brand); }
.lt-bullets { line-height: 1.7; color: #334155; }
.muted { color: var(--muted); }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; }

.lt-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0;
}
.lt-stat {
  background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center;
}
.lt-stat b { display: block; font-size: 1.4rem; color: var(--brand); }
.lt-review { display: grid; gap: 12px; margin-top: 18px; }
.lt-qcard {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff;
}
.lt-qcard .tag { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.lt-qcard .tag.ok { background: #dcfce7; color: #166534; }
.lt-qcard .tag.bad { background: #fee2e2; color: #991b1b; }
.lt-qcard .tag.skip { background: #e2e8f0; color: #475569; }
.lt-archive-list { display: grid; gap: 12px; }
.lt-archive-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff;
  text-decoration: none;
}
.lt-archive-item:hover { border-color: #93c5fd; }

@media (max-width: 860px) {
  .lt-hero-card, .lt-stats { grid-template-columns: 1fr; }
  .lt-archive-item { flex-direction: column; align-items: flex-start; }
}
