/* jev-contact-center-qa: product styles; shared workspace behavior is versioned separately. */
.jev-shell {
  background: #fff;
  min-height: 100vh;
}
.jev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #1c12ff;
  color: #fff;
  padding: 21px 26px;
  min-height: 68px;
}
.jev-brand {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.jev-brand span {
  padding: 0 12px;
  font-weight: 400;
}
.jev-collection {
  font:
    11px Consolas,
    monospace;
}
.jev-header .lang button:focus-visible {
  outline-color: #dfff00;
}
.jev-filters {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 26px;
  border-bottom: 1px solid #171717;
  font:
    12px Consolas,
    monospace;
}
.jev-filters button {
  min-height: 24px;
}
.jev-filters button span {
  display: inline-block;
  width: 23px;
}
.jev-filters button[aria-pressed="true"] {
  text-decoration: none;
  color: #1c12ff;
}
.jev-scope {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 26px;
  font-size: 10px;
  color: #545454;
}
.jev-case {
  border-top: 1px solid #171717;
}
.jev-case-heading {
  display: grid;
  grid-template-columns: 180px 1fr 190px;
  align-items: center;
  width: 100%;
  padding: 18px 26px;
  text-align: left;
  gap: 22px;
  min-height: 87px;
}
.jev-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font:
    10px/1.25 Consolas,
    monospace;
}
.jev-agent {
  font-size: 42px;
  letter-spacing: -1.7px;
  font-weight: 600;
}
.jev-case-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    11px Consolas,
    monospace;
  gap: 15px;
}
.case-toggle {
  font:
    28px Arial,
    sans-serif;
}
.jev-case-heading:hover {
  background: #f2f1ff;
}
.jev-case.selected .jev-case-heading {
  background: #f2f1ff;
}
.jev-case.selected .jev-agent {
  color: #1c12ff;
}
.jev-case-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  border-top: 1px solid #c6c6cc;
  margin-left: 228px;
  margin-right: 26px;
}
.jev-conversation {
  padding: 24px 35px 20px 0;
  min-width: 0;
}
.jev-quote {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 600;
  max-width: 700px;
  margin-bottom: 24px;
}
.jev-transcript {
  max-height: 205px;
  overflow: auto;
  padding-right: 14px;
}
.jev-transcript p {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  font-size: 13px;
  line-height: 1.4;
}
.jev-transcript .mono {
  font-size: 9px;
  color: #666;
  padding-top: 3px;
}
.jev-scorecard {
  border-left: 1px solid #c6c6cc;
  padding: 22px 0 20px 28px;
}
.jev-scorecard h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.scorecard-note {
  font-size: 11px;
  line-height: 1.4;
  margin: 7px 0 16px;
  color: #555;
}
.jev-rating {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #ccc;
  padding: 10px 0;
  font-size: 12px;
}
.jev-rating select {
  max-width: 135px;
  width: 100%;
  font-size: 11px;
  background: white;
  border: 1px solid #aaa;
  border-radius: 0;
  padding: 7px 4px;
  color: #333;
}
.jev-note-label {
  display: block;
  font-size: 11px;
  margin: 15px 0 9px;
}
.jev-scorecard textarea {
  width: 100%;
  height: 57px;
  resize: vertical;
  border: 1px solid #999;
  background: #fff;
  padding: 9px;
  font-size: 12px;
  line-height: 1.3;
}
.jev-save {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #1c12ff;
  color: white;
  text-align: left;
  font-size: 12px;
}
.jev-save:hover {
  background: #1610bd;
}
.jev-shell .review-footer {
  margin-top: 0;
  border-top: 1px solid;
}
@media (max-width: 1100px) {
  .jev-case-heading {
    grid-template-columns: 140px 1fr 145px;
  }
  .jev-case-body {
    margin-left: 188px;
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .jev-agent {
    font-size: 34px;
  }
  .jev-conversation {
    padding-right: 24px;
  }
  .jev-scorecard {
    padding-left: 22px;
  }
  .jev-transcript p {
    grid-template-columns: 65px 1fr;
  }
}
@media (max-width: 760px) {
  .jev-header {
    padding: 16px 18px;
    gap: 10px;
    min-height: 58px;
  }
  .jev-brand {
    font-size: 15px;
  }
  .jev-brand span {
    padding: 0 5px;
  }
  .jev-collection {
    display: none;
  }
  .jev-filters {
    padding: 10px 18px;
    gap: 5px 20px;
    font-size: 11px;
  }
  .jev-scope {
    padding: 12px 18px;
    display: block;
    font-size: 9px;
  }
  .jev-scope span:last-child {
    display: none;
  }
  .jev-case-heading {
    grid-template-columns: 75px 1fr 28px;
    gap: 10px;
    padding: 16px 18px;
    min-height: 82px;
  }
  .jev-meta {
    font-size: 8px;
    gap: 4px;
  }
  .jev-meta span:nth-child(2) {
    display: none;
  }
  .jev-agent {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .jev-case-state {
    font-size: 0;
  }
  .case-toggle {
    font-size: 25px;
  }
  .jev-case-body {
    margin: 0 18px;
    display: flex;
    flex-direction: column;
  }
  .jev-conversation {
    padding: 22px 0;
  }
  .jev-quote {
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .jev-transcript {
    max-height: 170px;
  }
  .jev-transcript p {
    grid-template-columns: 72px 1fr;
    font-size: 13px;
  }
  .jev-scorecard {
    border-left: 0;
    border-top: 1px solid;
    padding: 20px 0;
  }
  .jev-scorecard h2 {
    font-size: 18px;
  }
  .jev-scorecard textarea {
    height: 65px;
  }
  .jev-rating select {
    max-width: 150px;
  }
}

@media (min-width: 761px) {
  .jev-case-heading {
    min-height: 77px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .jev-scorecard {
    padding-top: 18px;
    padding-bottom: 15px;
  }
  .jev-rating {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .jev-note-label {
    margin-top: 12px;
  }
}
