body {
  font-family: sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 2rem;
  background-color: #fff;
}
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}
a {
  color: #0095ff;
}
hr {
  border: none;
  border-top: 1px solid lightgray;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}
nav h1 {
  flex: auto;
  margin: 0;
}
nav h1 a {
  text-decoration: none;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  display: inline-block;
  margin-right: 1rem;
}
nav ul li a,
nav ul li span,
header .action {
  display: block;
  padding: 0.5rem;
}
.content {
  padding: 1rem;
}
.content > header {
  border-bottom: 1px solid lightgray;
  display: flex;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.content > header h1 {
  flex: auto;
  margin: 1rem 0 0.25rem 0;
}
.flash {
  margin: 1em 0;
  padding: 1em;
  background: #cae6f6;
  border: 1px solid #377ba8;
}
.post > header {
  display: flex;
  align-items: flex-end;
  font-size: 0.85em;
}
.post > header > div:first-of-type {
  flex: auto;
}
.post > header h1 {
  font-size: 1.5em;
  margin-bottom: 0;
}
.post .about {
  color: slategray;
  font-style: italic;
}
.post .body {
  white-space: pre-line;
}
.content:last-child {
  margin-bottom: 0;
}
.content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.content label {
  font-weight: bold;
}
.content input {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.content textarea {
  margin-bottom: 1em;
  resize: vertical;
}
input.danger {
  color: #cc2f2e;
}
.content input[type="submit"] {
  background-color: #0095ff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}
input#add_sku {
  min-width: 300px;
}
img.product_thumbnail {
  max-width: 100px;
  max-height: 100px;
}
img.product_thumbnail:hover {
  max-width: 500px;
  max-height: 500px;
}
#product_skus,
.candidate_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}
.sku {
  display: grid;
}
.sku h2 {
  font-size: 0.85em;
  font-weight: normal;
}
.sku img {
  width: 100%;
}
@keyframes flash {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: green;
  }
  100% {
    background-color: transparent;
  }
}
table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
}
table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}
table th,
table td {
  padding: 12px 15px;
}
table tbody tr {
  border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}
table tbody tr:hover {
  background-color: #dddddd;
}
table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}
tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
thead {
  font-weight: bold;
}
td.brand {
  white-space: nowrap;
}
video {
  width: 100%;
}
#scan {
  display: block;
  margin: 1em auto;
  font-size: 1.5em;
  padding: 10px 20px;
}
#error {
  display: none;
  padding: 15px;
  background-color: #fdd;
  text-align: center;
}
#reset-zoom {
  display: flex;
  margin: 0 auto;
}
a.filter {
  padding: 5px;
}
form#schedule {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin: 0 auto;
}

#schedule label {
  margin-bottom: 5px;
  font-weight: bold;
}

#schedule select,
#schedule input[type="submit"] {
  margin-bottom: 10px;
  padding: 5px;
}
.suggestion {
  background-color: #dfd;
  cursor: pointer;
  border-radius: 3px;
  margin: 0 5px;
}
pre {
  overflow-x: scroll;
}
.delete {
  background-color: red;
  border: none;
}
table.diff {
  font-family: Courier;
  border: medium;
}
.diff_header {
  background-color: #e0e0e0;
}
td.diff_header {
  text-align: right;
}
.diff_next {
  background-color: #c0c0c0;
}
.diff_add {
  background-color: #aaffaa;
}
.diff_chg {
  background-color: #ffff77;
}
.diff_sub {
  background-color: #ffaaaa;
}
.delible:hover {
  cursor: pointer;
  text-decoration: line-through;
  color: red;
}
.addable:hover {
  cursor: pointer;
  color: green;
  list-style: none;
  list-style-type: "+  ";
}
li:has(span.delible:hover),
li:has(span.delible:hover) a {
  text-decoration: line-through;
  color: red;
}
h1[contenteditable]:empty:not(:focus)::before {
  content: "Name";
  color: grey;
}
#dashboards li span,
#indicators li span {
  float: right;
}
#dashboards li:hover,
#indicators li:hover {
  background-color: #eee;
}
tr > th:first-child {
  text-align: left;
}
.dropdown {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 1000;
}
.dropdown div {
  padding: 8px;
  cursor: pointer;
}
.dropdown div:hover {
  background-color: #f0f0f0;
}
#loading {
  text-align: center;
  padding: 10px;
}
