#admin-content .bg-seed-directory{width:100%;max-width:1180px;margin:24px auto;overflow-wrap:anywhere;box-sizing:border-box}#admin-content .bg-seed-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;align-items:stretch;width:100%}#admin-content .bg-seed-card{margin:0!important;min-width:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;display:flex!important;flex-direction:column;align-items:flex-start;padding:10px!important}#admin-content .bg-seed-card h3{margin:0 0 4px}#admin-content .bg-seed-card p{flex:1;margin:0 0 7px}#admin-content .bg-seed-country{display:block;color:#567062;font-size:.85em;margin-bottom:4px}#admin-content .bg-seed-db{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 20px}

#admin-content .bg-seed-image{display:block;width:100%;height:65px;object-fit:cover;border-radius:7px;margin:0 0 6px;background:#edf2e5}

#admin-content .bg-seed-card h3{font-size:16px;line-height:1.2}#admin-content .bg-seed-card p{font-size:13px;line-height:1.35}#admin-content .bg-seed-card .button{padding:5px 10px;min-height:0;font-size:12px;line-height:1.3}

/* Compact directory: half of the previous desktop width, two cards per row. */
#admin-content .bg-seed-directory{max-width:880px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding:14px!important}
@media(max-width:640px){#admin-content .bg-seed-directory{max-width:100%!important}#admin-content .bg-seed-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}


#admin-content .bg-seed-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}#admin-content .bg-seed-card .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Balanced three-column spacing without shrinking the cards. */
#admin-content .bg-seed-directory{max-width:920px!important;padding:20px!important}
#admin-content .bg-seed-grid{column-gap:24px!important;row-gap:24px!important}
@media(max-width:640px){#admin-content .bg-seed-directory{padding:10px!important}#admin-content .bg-seed-grid{column-gap:10px!important;row-gap:16px!important}}

#admin-content .bg-seed-directory{max-width:984px!important}
#admin-content .bg-seed-grid{column-gap:40px!important;row-gap:40px!important}
@media(max-width:640px){#admin-content .bg-seed-grid{column-gap:16px!important;row-gap:24px!important}}
