/* TypingKeyboards editorial add-on. Inherits the existing light/dark theme. */
.tk-editorial-content{max-width:860px;margin:2.5rem auto 4rem;font:inherit;color:inherit;line-height:1.75;padding:0 1.25rem}
.tk-editorial-content .tk-editorial-lead{font-size:1.08em;line-height:1.7}
.tk-editorial-content h2{font:inherit;font-size:1.35em;font-weight:700;line-height:1.35;margin:2.2rem 0 .75rem}
.tk-editorial-content h3{font:inherit;font-size:1.08em;font-weight:650;line-height:1.4;margin:1.45rem 0 .5rem}
.tk-editorial-content p,.tk-editorial-content ul,.tk-editorial-content ol{margin:.7rem 0 1.1rem}
.tk-editorial-content ul,.tk-editorial-content ol{padding-left:1.5rem}
.tk-editorial-content li{padding-left:.2rem;margin:.4rem 0}
.tk-editorial-content table{width:100%;border-collapse:collapse;margin:1.15rem 0;font-size:.94em}
.tk-editorial-content th,.tk-editorial-content td{border-bottom:1px solid var(--border, #d7d7d7);padding:.65rem .55rem;text-align:left;vertical-align:top}
.tk-editorial-content a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tk-editorial-content a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.tk-editorial-content code{font-size:.91em;overflow-wrap:anywhere}
@media(max-width:640px){.tk-editorial-content{margin:1.5rem auto 2.5rem;padding:0 1rem}.tk-editorial-content table{display:block;overflow-x:auto}}

.tk-editorial-content{overflow-wrap:break-word}
.tk-editorial-content :is(h2,h3){scroll-margin-top:6rem}
.tk-editorial-content .tk-editorial-lead{font-weight:500}

/* Thumbnail finder cards are isolated to this tool and do not affect other grids. */
.thumb-results.has-thumbnails{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.thumb-results .thumb-status{grid-column:1/-1;margin:0;font-size:.92rem}
.thumb-results .thumb-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid var(--border, #e5e5e5);border-radius:12px}
.thumb-results .thumb-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#ececec}
.thumb-results .thumb-card strong{font-size:.9rem}
.thumb-results .thumb-card a{margin-top:auto}
.tk-lenny-builder .wide-workspace{max-width:860px;margin:auto}
.tk-lenny-controls,.tk-lenny-result{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}
.tk-lenny-controls label,.tk-lenny-result label{font-weight:700}
.tk-lenny-builder select,.tk-lenny-builder [data-lenny-result]{min-width:180px;max-width:100%;border:1px solid var(--border,#ddd);background:var(--surface,#fff);color:inherit;padding:12px;border-radius:10px;font:inherit}
.tk-lenny-builder [data-lenny-result]{flex:1;font-size:clamp(20px,3vw,32px);text-align:center}
.tk-lenny-tips{margin-top:20px;line-height:1.75}
