/* css/tenant-letters.css — /tools/tenant-letters (js/tenant-letter.js).
 * External so style-src hashes never move; print rules scoped to
 * body.tl-delivered so no other page's printing changes. */
.tl-hide.tl-hide.tl-hide{display:none!important}
#tletter{scroll-margin-top:80px;margin-bottom:32px}
.tl-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.tl-tab{flex:1 1 220px;background:#fff;border:1.5px solid var(--rule,#e3e8e7);border-radius:6px;padding:12px 14px;font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;color:var(--ink,#14181c)}
.tl-tab.on{border-color:var(--gold,#106b3c);color:var(--gold,#106b3c);background:#eef3f1}
.tl-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.tl-checks label,.tl-inline{font-size:.92rem!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;color:var(--ink,#14181c)!important;cursor:pointer}
.tl-inline{display:block;margin-bottom:16px}
.tl-urgent{font-size:.7rem;font-weight:700;color:#8b3a1f;background:#fbe9e7;padding:1px 5px;border-radius:3px}
.tl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin-bottom:16px}
.tl-grid label{font-size:.8rem;color:var(--muted,#4a565e);display:block}
.tl-grid input,.calc textarea,.calc select{display:block;width:100%;margin-top:4px;padding:10px 12px;border:1px solid var(--rule,#e3e8e7);border-radius:6px;font:inherit;font-size:.95rem;background:#fff}
.calc textarea{min-height:110px;resize:vertical}
@media(max-width:600px){.tl-grid,.tl-checks{grid-template-columns:1fr}}
.tl-buy{text-decoration:none;margin-top:6px}
.tl-soon{font-size:.85rem;color:var(--muted,#4a565e)}
.tl-status{border:1px solid var(--rule,#e3e8e7);border-radius:8px;padding:22px 26px;background:#fff}
.tl-status.tl-bad{background:#fbe9e7;border-color:#f0c4bc}
.tl-status h3,.tl-guide h3,.tl-handoff h3{font-family:"Playfair Display",serif;font-size:1.2rem;margin-bottom:8px}
.tl-status p{margin-bottom:10px}
.tl-ref{font-family:ui-monospace,Menlo,monospace;font-size:.82rem;background:#fff;border:1px solid var(--rule,#e3e8e7);padding:3px 7px;border-radius:4px;word-break:break-all}
.tl-doc{background:#fff;border:1px solid var(--rule,#e3e8e7);border-radius:8px;padding:28px 30px}
.tl-bar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px;font-size:.84rem;color:var(--muted,#4a565e)}
.tl-bar a,.tl-back a{color:var(--gold,#106b3c);font-weight:700}
.tl-back{background:var(--accent,#eef3f1);border:1px solid var(--gold,#106b3c);border-radius:8px;padding:14px 18px;margin-bottom:22px;font-size:.92rem;line-height:1.55}
.tl-back a{margin-left:4px}
.tl-bar button{background:var(--gold,#106b3c);color:#fff;font-weight:700;padding:10px 20px;border-radius:6px;border:none;cursor:pointer;font:inherit;font-size:.88rem}
.tl-letter p{font-size:.98rem;line-height:1.7;margin-bottom:12px}
.tl-letter ul{margin:0 0 12px 22px}
.tl-sign{margin-top:30px}
.tl-guide{margin-top:28px;padding:18px 20px;background:#eef3f1;border-radius:6px}
.tl-guide ul{margin-left:18px}
.tl-guide li{font-size:.9rem;line-height:1.62;margin-bottom:8px}
.tl-cite{font-size:.8rem!important;color:var(--muted,#4a565e)}
.tl-handoff{margin-top:22px;padding:20px 22px;background:var(--brand,#223a4a);border-radius:6px;color:#fff}
.tl-handoff h3{color:#fff}
.tl-handoff p{color:rgba(255,255,255,.82);font-size:.93rem;margin-bottom:14px}
@media print{
  body.tl-delivered .hdr,body.tl-delivered .hero,body.tl-delivered .ftr,body.tl-delivered .tl-noprint{display:none!important}
  body.tl-delivered .layout{padding:0;max-width:none}
  body.tl-delivered .tl-doc{border:none;padding:0}
}
/* Entry box on lease-termination and habitability posts. */
.letter-cta{margin:26px 0;padding:18px 20px;background:#fff;border:2px solid #106b3c;border-radius:6px}
.letter-cta p{margin:0 0 12px;font-size:.93rem;line-height:1.6;color:#14181c}
.letter-cta a{display:inline-block;background:#106b3c;color:#fff;font-weight:700;font-size:.9rem;text-decoration:none;padding:11px 18px;border-radius:4px}
