.tl-library{background:#fff;border-radius:24px;box-shadow:0 20px 50px rgba(17,17,17,.08);display:flex;flex-wrap:wrap;overflow:hidden;font-family:inherit;color:#111}
.tl-library *{box-sizing:border-box}
.tl-categories{flex:1 1 280px;max-width:300px;background:#111;padding:20px;display:flex;flex-direction:column;gap:6px}
.tl-categories-label{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#9c9490;padding:8px 14px 12px}
.tl-category-button {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    background: transparent;
    color: #e6e1de;
    transition: background .2s;
    width: 100%;
    line-height: 1.3;
    white-space: normal;
}
.tl-category-button:hover,.tl-category-button:focus-visible{background:#302923;outline-offset:2px}
.tl-category-button.is-active,.tl-category-button.is-active:hover{background:#f26132;color:#111}
.tl-category-number{flex:0 0 28px;font-size:12px;font-weight:800;width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#2a2522;color:#bdb6b2}
.tl-category-button.is-active .tl-category-number{background:#111;color:#f26132}
.tl-category-name{flex:1 1 auto;font-size:15px;font-weight:700;line-height:1.3}
.tl-category-count{font-size:12px;font-weight:700;opacity:.7}
.tl-content{flex:3 1 520px;min-width:0;padding:clamp(24px,3vw,40px)}
.tl-panel[hidden]{display:none!important}
.tl-panel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;border-bottom:1px solid #efe8e4;padding-bottom:18px;margin-bottom:22px}
.tl-panel-heading h3{margin:0;font-size:26px;font-weight:800;letter-spacing:-.01em;line-height:1.3;color:#111}
.tl-tutorial-count{font-size:14px;font-weight:600;color:#6a6360}
.tl-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:18px}
.tl-card.scp2{position:relative;display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:16px;border:1px solid #ece5e1;background:#fff}
.tl-card-top{display:flex;justify-content:space-between;align-items:center}
.tl-card-type{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#c4441a}
.tl-card-number{font-size:28px;font-weight:800;color:#f3efec;line-height:1}
.tl-card h4{margin:0;font-size:18px;font-weight:800;line-height:1.3;color:#111}
.tl-card-description{margin:0;font-size:14.5px;line-height:1.65;color:#4a4542;flex:1 1 auto}
.tl-card-links{display:flex;flex-direction:column;gap:2px;border-top:1px dashed #e3dcd8;padding-top:12px}
.tl-card-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:14.5px;font-weight:700;text-decoration:none;line-height:1.35}
.tl-card-links a svg{flex-shrink:0}
.tl-card-links a.scp3{color:#111}
.tl-card-links a.scp4{color:#0068a0}
.tl-card-links a:hover{text-decoration:underline}
@media(max-width:760px){.tl-library{display:block}.tl-categories{max-width:none;flex-direction:row;overflow-x:auto;align-items:stretch;padding:12px;gap:8px}.tl-categories-label{display:none}.tl-category-button{min-width:180px;width:auto;flex:0 0 auto}.tl-category-name{font-size:13px}.tl-content{padding:22px}.tl-panel-heading h3{font-size:22px}}
@media(max-width:420px){.tl-card-grid{grid-template-columns:1fr}.tl-card.scp2{padding:18px}}
