/* Scoped to the shortcode; no external fonts, scripts or trackers. */
.tbmsl-library { --tbmsl-accent: #145bc7; --tbmsl-on-accent: #fff; --tbmsl-line: rgba(127,127,127,.32); --tbmsl-wash: rgba(127,127,127,.065); --tbmsl-radius: 18px; width: 100%; margin: 1.5rem auto; }
.tbmsl-library *, .tbmsl-library *::before, .tbmsl-library *::after { box-sizing: border-box; }
.tbmsl-library .tbmsl-mission { border: 1px solid var(--tbmsl-line); border-top: 4px solid var(--tbmsl-accent); border-radius: var(--tbmsl-radius); background: var(--tbmsl-wash); padding: clamp(1.35rem, 4vw, 3rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.tbmsl-library .tbmsl-eyebrow { font-size: .73rem; font-weight: 750; letter-spacing: .15em; display: block; margin-bottom: .8rem; }
.tbmsl-library h2, .tbmsl-library h3 { color: inherit; line-height: 1.18; margin: 0; overflow-wrap: anywhere; }
.tbmsl-library .tbmsl-mission h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); letter-spacing: -.035em; max-width: 25ch; margin: 0 0 1.25rem; }
.tbmsl-library .tbmsl-mission p { font-size: 1rem; line-height: 1.65; max-width: 74ch; margin: 0 0 .8rem; }
.tbmsl-library .tbmsl-mission .tbmsl-mantra { margin: 1.35rem 0 0; padding-top: 1rem; border-top: 1px solid var(--tbmsl-line); }
.tbmsl-library .tbmsl-section-heading { margin-bottom: 1.2rem; }
.tbmsl-library .tbmsl-section-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.tbmsl-library .tbmsl-section-heading p { margin: .4rem 0 0; font-size: .98rem; }
.tbmsl-library .tbmsl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 1.15rem; align-items: stretch; }
.tbmsl-library .tbmsl-project { display: flex; flex-direction: column; gap: 1rem; border: 1px solid var(--tbmsl-line); border-radius: var(--tbmsl-radius); padding: 1.3rem; min-width: 0; background: var(--tbmsl-wash); box-shadow: 0 4px 14px rgba(0,0,0,.035); }
.tbmsl-library .tbmsl-project-head { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.tbmsl-library .tbmsl-project-name { min-width: 0; }
.tbmsl-library .tbmsl-project h3 { font-size: 1.25rem; }
.tbmsl-library .tbmsl-logo { display: flex; width: 64px; height: 64px; flex: 0 0 64px; align-items: center; justify-content: center; border: 1px solid var(--tbmsl-line); border-radius: 14px; background: var(--tbmsl-wash); overflow: hidden; }
.tbmsl-library .tbmsl-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; padding: 5px; }
.tbmsl-library .tbmsl-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.tbmsl-library .tbmsl-meta span { font-size: .72rem; line-height: 1.3; border: 1px solid var(--tbmsl-line); padding: .2rem .45rem; border-radius: 5px; overflow-wrap: anywhere; }
.tbmsl-library .tbmsl-description { font-size: .95rem; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.tbmsl-library .tbmsl-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: auto; padding-top: .25rem; }
.tbmsl-library a.tbmsl-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .65rem .85rem; text-decoration: none; font-size: .85rem; font-weight: 650; line-height: 1.2; border: 1px solid transparent; border-radius: 9px; transition: filter .15s ease, background .15s ease; }
.tbmsl-library a.tbmsl-primary, .tbmsl-library a.tbmsl-primary:visited { background: var(--tbmsl-accent); color: var(--tbmsl-on-accent); }
.tbmsl-library a.tbmsl-secondary, .tbmsl-library a.tbmsl-secondary:visited { color: inherit; border-color: var(--tbmsl-line); background: transparent; }
.tbmsl-library a.tbmsl-button:hover { filter: brightness(1.12); text-decoration: underline; }
.tbmsl-library a.tbmsl-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tbmsl-library .tbmsl-empty { border: 1px dashed var(--tbmsl-line); border-radius: var(--tbmsl-radius); padding: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .tbmsl-library a.tbmsl-button { transition: none; } }
