/* Lewiston 2027 property tax calculator. Loaded after report.css + time-machine.css; uses their tokens. Phone first. */
.lt-lang { display: flex; gap: 6px; margin: 0 0 20px; }
.lt-lang button { appearance: none; background: transparent; color: var(--slate-wash); border: 1px solid var(--slate); font: var(--label); letter-spacing: 0.1em; padding: 8px 12px; min-height: 40px; cursor: pointer; }
.lt-lang button[aria-pressed="true"] { background: var(--foil); color: var(--ink-deep); border-color: var(--foil); }

.lt-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 32px; padding-bottom: 48px; }
.lt-card { border: 1px solid var(--rule); padding: 22px 18px; background: var(--bond); }
.lt-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 6px 0 16px; }
.lt-card .tm-kicker { color: var(--stamp); }
.lt-form { display: flex; flex-direction: column; gap: 20px; }
.lt-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lt-lookup { display: flex; gap: 10px; align-items: flex-end; }
.lt-lookup .tm-field { flex: 1; }
.lt-btn { appearance: none; border: 1px solid var(--ink); background: var(--ink); color: var(--bond); font: var(--label); text-transform: uppercase; letter-spacing: 0.12em; padding: 13px 16px; min-height: 46px; cursor: pointer; white-space: nowrap; }
.lt-btn:hover { background: var(--ink-deep); }
.lt-btn.is-ghost { background: var(--bond); color: var(--ink); }
.lt-btn.is-ghost:hover, .lt-btn.is-ghost[aria-pressed="true"] { background: var(--ink); color: var(--bond); }
.lt-btn[disabled] { opacity: 0.55; cursor: wait; }
.lt-status { font-size: 0.9rem; color: var(--muted); margin: -8px 0 0; min-height: 1.2em; }
.lt-status.is-good { color: var(--positive); }
.lt-status.is-warn { color: var(--stamp); }
.lt-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-type button { appearance: none; border: 1px solid var(--rule); background: var(--bond); color: var(--ink); font-size: 0.95rem; padding: 12px 8px; min-height: 46px; cursor: pointer; }
.lt-type button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bond); }
.lt-or { font: var(--label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); text-align: center; margin: -6px 0; }
.lt-form .tm-field input, .lt-form .tm-field textarea { font-size: 1.1rem; }
.lt-form .tm-field textarea { width: 100%; border: 1px solid var(--rule); padding: 10px; font-family: var(--font-body); font-size: 1rem; min-height: 70px; }
.lt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); cursor: pointer; line-height: 1.4; }
.lt-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }

.lt-result { background: var(--ink); color: var(--bond); padding: 24px 18px; }
.lt-result .tm-label { color: var(--foil); }
.lt-bills { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 14px 0 18px; }
.lt-bill { border-top: 1px solid var(--slate); padding-top: 12px; }
.lt-bill b { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 300; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lt-bill span { display: block; font: var(--label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate); margin-top: 8px; }
.lt-bill small { display: block; color: var(--slate-wash); font-size: 0.85rem; margin-top: 4px; }
.lt-change { font-size: 1.05rem; margin: 0 0 14px; }
.lt-change strong.up { color: #f2b8c9; }
.lt-change strong.down { color: #a8e0c2; }
.lt-assume { margin: 0; padding-left: 18px; color: var(--slate-wash); font-size: 0.88rem; line-height: 1.5; }
.lt-assume li + li { margin-top: 4px; }
.lt-empty { color: var(--slate-wash); margin: 8px 0 0; }

.lt-cap table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.95rem; }
.lt-cap th, .lt-cap td { text-align: right; padding: 10px 0 10px 8px; border-bottom: 1px solid var(--rule-light); font-variant-numeric: tabular-nums; }
.lt-cap th:first-child, .lt-cap td:first-child { text-align: left; padding-left: 0; }
.lt-cap thead th { font: var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.lt-cap td { font-family: var(--font-ledger); }
.lt-cap td:first-child { font-family: var(--font-body); }
.lt-cap .lt-capline td { font-weight: 700; }
.lt-cap-note { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }

.lt-lead-choice { display: grid; grid-template-columns: 1fr; gap: 8px; }
.lt-lead-fields[hidden] { display: none; }
.lt-done { color: var(--positive); font-weight: 600; }

.lt-article { padding: 8px 0 24px; }
.lt-article section { padding: 36px 0; border-top: 1px solid var(--rule-light); }
.lt-article h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 4.5vw, 1.9rem); line-height: 1.2; margin: 6px 0 14px; }
.lt-article p, .lt-article li { max-width: 68ch; line-height: 1.6; }
.lt-article .tm-kicker { color: var(--stamp); }
.lt-dates { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
.lt-dates li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-light); }
.lt-dates b { font-family: var(--font-ledger); font-weight: 400; color: var(--stamp); }
.lt-faq details { border-bottom: 1px solid var(--rule-light); padding: 14px 0; max-width: 68ch; }
.lt-faq summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.lt-faq details p { margin: 10px 0 0; }
.lt-sources li { font-size: 0.92rem; overflow-wrap: anywhere; }
.lt-disclaimer { background: var(--stamp-wash); border-left: 3px solid var(--stamp); padding: 14px 16px; max-width: 68ch; font-size: 0.95rem; }

@media (min-width: 640px) {
  .lt-row { grid-template-columns: 1fr 1fr; }
  .lt-type { grid-template-columns: repeat(4, 1fr); }
  .lt-bills { grid-template-columns: 1fr 1fr; }
  .lt-lead-choice { grid-template-columns: 1fr 1fr; }
  .lt-card { padding: 28px 26px; }
  .lt-result { padding: 28px 26px; }
}
@media (min-width: 1000px) {
  .lt-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .lt-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
  .lt-bills { grid-template-columns: 1fr; }
}
@media print { .lt-lang, .lt-lookup .lt-btn, .lt-lead { display: none; } }
