/* Sample actions use the existing 44px CTA area. Hover/focus alter color only. */
:root body.h-library a.sample-card-cta{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;height:44px;max-width:100%;padding:8px 12px;border:1px solid #d5c07b;border-radius:7px;background:#f8edcc;color:#18334d!important;font-size:13px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;transition:background-color .14s,color .14s,border-color .14s}
:root body.h-library a.sample-card-cta:hover{background:#18334d;color:#fff!important;border-color:#18334d}
:root body.h-library a.sample-card-cta:focus-visible{background:#18334d;color:#fff!important;border-color:#18334d!important;outline:2px solid #a98b35;outline-offset:3px}
:root body.h-library a.sample-card-cta:active{background:#284760;color:#fff!important;border-color:#284760}
@media(prefers-reduced-motion:reduce){:root body.h-library a.sample-card-cta{transition:none}}

/* Keep category metadata on one existing line so card titles start together. */
:root body.h-library .book-card .book-category{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:root body.h-library .book-card .book-category.card-edition-meta{display:flex}
