/* Read-only cards follow the original full product library's visual layout. */
.cards{grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:14px}
.card{position:relative;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 20px rgba(16,24,40,.05)}
.photo{height:198px;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:8px}
.photo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.content{padding:10px}
.categoryBadge{position:absolute;left:10px;top:10px;z-index:2;background:#2563eb;color:#fff;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.name{font-size:15px;font-weight:900;line-height:1.25;min-height:38px;margin:0 0 5px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.goodsBadge{display:inline-flex;align-items:center;padding:2px 6px;margin-bottom:7px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px;font-weight:700}
.details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:0}
.detail{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:7px 8px;min-width:0}
.detail small{display:block;color:#667085;font-size:12px;margin-bottom:3px}
.detail b{display:block;color:#101828;font-size:14px;overflow-wrap:anywhere}
.position{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;padding:8px;margin-top:8px;color:#475467;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.logButton{display:block;width:100%;margin-top:10px;border:1px solid #b7d3fa;border-radius:10px;background:#eaf3ff;color:#1759b8;padding:10px 12px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;text-align:center}
.logButton:hover,.logButton:focus-visible{background:#dcecff;outline:2px solid #93c5fd;outline-offset:1px}
@media(max-width:720px){.cards{grid-template-columns:1fr;gap:10px}.photo{height:180px}}
