/* v3.2.27 - supplementary vocabulary reference; no edits to lesson-card layout. */
.bb27-reference{margin:16px 0 22px;min-width:0;}
.bb27-details{border:1px solid #d8e4dc;border-radius:16px;background:#fbfffa;box-shadow:0 3px 12px rgba(20,60,42,.04);overflow:hidden;}
.bb27-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;min-height:52px;padding:12px 18px;color:#174c3b;}
.bb27-summary:focus-visible{outline:3px solid #1683aa;outline-offset:-3px;}
.bb27-summary-title{font-weight:800;font-size:1.02rem;}
.bb27-summary-count{font-size:.82rem;color:#456955;font-weight:600;}
.bb27-body{padding:0 16px 18px;}
.bb27-context,.bb27-count-note{font-size:.87rem;line-height:1.55;color:#40614f;margin:10px 0 14px;}
.bb27-group{margin-top:20px;}
.bb27-group h3{font-size:1.03rem;line-height:1.4;margin:12px 0 10px;color:#184a39;}
.bb27-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));gap:12px;}
.bb27-tile{min-width:0;margin:0;overflow:hidden;border:1px solid #dee7dd;border-radius:12px;background:#fff;box-shadow:0 1px 6px rgba(20,60,42,.05);}
.bb27-tile img{display:block;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;object-position:center;}
.bb27-caption{display:flex;min-width:0;flex-direction:column;gap:3px;align-items:center;text-align:center;padding:10px 8px 12px;}
.bb27-caption strong{font-size:1.17rem;line-height:1.5;color:#153e2e;overflow-wrap:anywhere;}
.bb27-caption span{font-size:.86rem;line-height:1.45;color:#465c50;overflow-wrap:anywhere;}
.bb27-fallback{aspect-ratio:1/1;display:grid;place-items:center;padding:12px;text-align:center;color:#7a3434;background:#f8ebea;}
@media(max-width:370px){.bb27-body{padding:0 10px 14px}.bb27-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bb27-caption{padding:8px 4px}}
@media(prefers-reduced-motion:reduce){.bb27-details *{scroll-behavior:auto}}
