#plt-results, #plt-store-results {
  margin-top: 1em;
  padding: 1em;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.plt-dashboard { margin: 20px 0; font-family: sans-serif; }
.plt-overview { margin-bottom: 20px; }
.plt-overview h2 { margin: 0 0 5px; font-size: 1.5em; }
.plt-overview .plt-opportunity { font-weight: bold; }

.plt-criteria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.plt-criterion {
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.plt-criterion-label {
  font-weight: bold;
  margin-bottom: 5px;
}
.plt-criterion-bar {
  height: 10px;
  background: #ccc;
  border-radius: 5px;
  margin-bottom: 5px;
}
.plt-score-green   { background: #28a745; }
.plt-score-yellow  { background: #ffc107; }
.plt-score-orange  { background: #fd7e14; }
.plt-score-red     { background: #dc3545; }
.plt-criterion-score {
  font-size: 0.85em;
  text-align: right;
}

.plt-keywords {
  margin-top: 20px;
}
.plt-keywords h3 {
  margin: 0 0 10px;
}
.plt-keywords ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
}
.plt-keywords li {
  margin-bottom: 5px;
}


/* ---- Shop-Audit Table ---- */
.plt-shop-signals {
  margin-bottom: 20px;
  background: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.plt-shop-signals h2 {
  margin-top: 0;
}
.plt-shop-signals ul {
  list-style: none;
  padding: 0;
}
.plt-shop-signals li {
  margin: 5px 0;
  font-size: 0.95em;
}

/* Listings Table */
.plt-listings-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.plt-listings-table th,
.plt-listings-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
.plt-listings-table th {
  background: #f1f1f1;
}
.plt-listings-table td a {
  color: #007bff;
  text-decoration: none;
}
.plt-listings-table td a:hover {
  text-decoration: underline;
}

/* Status Badge */
.plt-badge {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.plt-green  { background-color: #28a745; }
.plt-yellow { background-color: #ffc107; }
.plt-orange { background-color: #fd7e14; }
.plt-red    { background-color: #dc3545; }

/* Audit Button */
.plt-audit-btn {
  padding: 6px 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.plt-audit-btn:hover {
  background: #0056b3;
}