.viewgrid-card-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
	padding: 1rem;
	height: 80vh;
	min-height: 200px;
	max-height: 80vh;
	overflow-y: auto;
	border: 1px solid #e5e5e5;
	background: #fafbfc;
	position: relative;
  }
  
  .viewgrid-card {
	border: 1px solid #e5e5e5;
	padding: 1.2rem 1rem 1rem 1rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.03);
	transition: box-shadow 0.2s, border 0.2s, background 0.2s;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	cursor: pointer;
	position: relative;
  }
  
  .viewgrid-card:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	border: 1.5px solid #bdbdbd;
	background: #f5f5f5;
  }
  
  .viewgrid-card-line {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	flex-wrap: nowrap;
  }
  
  .viewgrid-card-line span {
	font-weight: 600;
	color: #444;
	min-width: 90px;
	display: inline-block;
  }
  
  .viewgrid-card-line div {
	color: #222;
	word-break: break-word;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
  }
  
  .viewgrid-card-line-html {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
  }
  
  .viewgrid-loader {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	min-height: 80px;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-size: 1.2rem;
	z-index: 10;
	pointer-events: none;
  }
  
  .viewgrid-gauge-container {
	display: flex;
	align-items: center;
	min-width: 120px;
  }
  
  .viewgrid-gauge-bar-bg {
	flex: 1;
	position: relative;
	height: 18px;
	background: #ededed;
	border-radius: 9px;
	overflow: hidden;
	min-width: 80px;
	max-width: 180px;
  }
  
  .viewgrid-gauge-bar-fill {
	background: #43b04a;
	height: 100%;
	border-radius: 9px;
	transition: width 0.3s;
  }
  
  .viewgrid-card-line div .viewgrid-gauge-bar-label {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 1em;
	color: #fff;
	font-weight: 600;
	z-index: 2;
	padding-left: 12px;
	background: transparent;
  }
  
  .viewgrid-rating-stars {
	display: inline-flex;
	gap: 2px;
	vertical-align: middle;
  }
  
  .viewgrid-star-rating {
	color: #ffc107;
	font-size: 1.3em;
	line-height: 1;
  }
  
  .viewgrid-star-rating .viewgrid-star-empty {
	color: #e0e0e0;
  }
  
  .viewgrid-star-rating .viewgrid-star-half {
	color: #ffc107;
  }
  
  .viewgrid-star-rating .viewgrid-star-half::after {
	content: '\2605';
	color: #e0e0e0;
	position: absolute;
	left: 50%;
	width: 50%;
	overflow: hidden;
	top: 0;
  }
  
  .viewgrid-smiley-icon {
	margin-right: 4px;
	vertical-align: middle;
  }
  
  #viewgrid-card-grid-total {
	text-align: right;
	font-size: 1.1em;
	color: #444;
	margin: 0 1.2em 0.5em auto;
	font-weight: 500;
	width: 100%;
	display: block;
  }