:root {
  font-family: Inter, Arial, sans-serif;
  color: #152f44;
  background: #f3f6fa;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button {
  background: white;
  border: 1px solid #cdd8e3;
  border-radius: 7px;
  padding: 9px 14px;
  color: #244259;
}
button:hover {
  border-color: #2a88a0;
  background: #f0f8fa;
}
button:disabled {
  opacity: 0.6;
}
a {
  color: #137f99;
}
button.primary {
  background: #006f89;
  color: white;
  border-color: #006f89;
}
h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 4px 0 10px;
}
h2 {
  font-size: 19px;
  margin: 0 0 14px;
}
h3 {
  font-size: 15px;
  margin: 18px 0 6px;
}
p {
  line-height: 1.6;
  white-space: pre-wrap;
}
small {
  font-size: 13px;
  color: #65798c;
  display: block;
  margin-top: 6px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 240px;
  background: #102e46;
  color: #dce8f0;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  color: white;
  text-decoration: none;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 750;
}
.brand span {
  font-weight: 400;
  color: #64d0d8;
  margin-left: 3px;
}
.workspace {
  font-size: 12px;
  letter-spacing: 1.4px;
  margin: 38px 0 15px;
  color: #9bb5c7;
}
nav {
  display: grid;
  gap: 8px;
}
nav button {
  text-align: left;
  border: 0;
  background: transparent;
  color: #cadbe6;
  padding: 12px 14px;
}
nav button.selected {
  background: #214860;
  color: white;
  border-left: 3px solid #5ad3d0;
}
.asidefoot {
  margin-top: auto;
  font-size: 14px;
}
.asidefoot p {
  margin: 6px 0;
  color: #a5bdcd;
}
.content {
  margin-left: 240px;
  flex: 1;
  min-width: 0;
}
header {
  height: 78px;
  background: white;
  border-bottom: 1px solid #dfe7ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  font-weight: 650;
}
.identity {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 400;
}
main {
  padding: 36px 40px;
  max-width: 1500px;
  margin: auto;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #618399;
  margin: 0 0 8px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.muted {
  color: #60768a;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stats article,
.panel {
  background: white;
  border: 1px solid #dce5ed;
  border-radius: 10px;
  padding: 24px;
}
.stats article span {
  color: #60768a;
  font-size: 14px;
}
.stats article strong {
  display: block;
  font-size: 35px;
  margin-top: 14px;
  letter-spacing: -1px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 24px;
}
.big {
  font-size: 42px;
  color: #007e88;
  margin: 22px 0;
}
.big span {
  display: block;
  color: #476176;
  font-size: 15px;
  margin-top: 7px;
}
.queue,
.recent {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8eef3;
  padding: 12px 0;
  gap: 16px;
}
.recent strong {
  font-size: 14px;
}
.recent p {
  margin: 3px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  border-radius: 5px;
  padding: 5px 9px;
  background: #edf2f6;
  color: #566e83;
  white-space: nowrap;
  height: fit-content;
}
.badge.Pass,
.badge.Resolved {
  background: #e2f5ef;
  color: #147052;
}
.badge.Fail,
.badge.Reported {
  background: #fce9e8;
  color: #a83736;
}
.badge.Readyforretest {
  background: #e2f4f8;
  color: #096d89;
}
.badge.Blocked,
.badge.Inprogress {
  background: #fff3d7;
  color: #91660e;
}
.empty {
  padding: 40px 12px;
  text-align: center;
  color: #627b90;
}
.coverage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.coverage > div > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 9px;
}
progress {
  appearance: none;
  width: 100%;
  height: 6px;
}
progress::-webkit-progress-bar {
  background: #edf2f6;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: #169da7;
  border-radius: 5px;
}
.filters {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: center;
}
.filters input {
  flex: 1;
}
.filters select {
  max-width: 270px;
}
input,
select,
textarea {
  border: 1px solid #ccd8e2;
  padding: 10px 12px;
  background: white;
  color: #213d54;
  border-radius: 6px;
  width: 100%;
}
select {
  appearance: auto;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
summary {
  cursor: pointer;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
summary strong {
  font-size: 16px;
}
summary small {
  margin-top: 6px;
}
.question {
  margin-bottom: 10px;
  padding: 18px 24px;
}
.question summary strong {
  display: block;
  margin-top: 4px;
}
.testid {
  font-size: 12px;
  color: #087e90;
  font-weight: 650;
  letter-spacing: 0.3px;
}
.questionbody {
  margin-top: 20px;
  border-top: 1px solid #e4ebf0;
  padding-top: 2px;
}
.questionbody .actions {
  margin-top: 22px;
}
.run {
  border-bottom: 1px solid #e4ebf0;
  padding: 18px 0;
}
.run summary small {
  min-width: 180px;
}
.run p {
  font-size: 14px;
}
.issuelist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.issuetop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #0d263b99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  z-index: 5;
}
.dialog {
  background: white;
  width: 680px;
  max-height: 92vh;
  overflow: auto;
  border-radius: 12px;
  padding: 28px;
}
.dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dialoghead h2 {
  margin: 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 7px;
  font-weight: 400;
}
.formrow {
  display: flex;
  gap: 18px;
}
.formrow > * {
  flex: 1;
  min-width: 0;
}
.alert {
  background: #fce9e8;
  color: #9b3434;
  padding: 14px;
  border-radius: 6px;
}
.loading {
  margin: 10vh auto;
  max-width: 650px;
}
@media (max-width: 1000px) {
  aside {
    width: 195px;
    padding: 25px 15px;
  }
  .content {
    margin-left: 195px;
  }
  main {
    padding: 24px;
  }
  .pagehead {
    align-items: flex-start;
    flex-direction: column;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .coverage {
    grid-template-columns: repeat(2, 1fr);
  }
  header {
    padding: 0 24px;
  }
}
@media (max-width: 650px) {
  aside {
    position: static;
    width: 100%;
    padding: 18px;
  }
  .shell {
    display: block;
  }
  .content {
    margin-left: 0;
  }
  nav {
    display: flex;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
  }
  .asidefoot,
  .workspace {
    display: none;
  }
  .brand {
    font-size: 22px;
  }
  header {
    height: auto;
    padding: 16px;
    gap: 15px;
  }
  .identity span {
    max-width: 150px;
    overflow: hidden;
  }
  .issuelist,
  .coverage {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-wrap: wrap;
  }
  .run summary {
    flex-wrap: wrap;
  }
  main {
    padding: 24px 16px;
  }
  .dialog {
    padding: 20px;
  }
  .stats article {
    padding: 18px;
  }
}
.buildtable {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th,
td {
  padding: 13px;
  border-bottom: 1px solid #e3ebf1;
  white-space: nowrap;
}
th {
  color: #617a8e;
  font-weight: 600;
}

.verdict-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.verdict-total {
  padding: 18px 24px;
  border-radius: 10px;
  border: 1px solid;
}
.verdict-total strong {
  display: block;
  font-size: 32px;
  margin-top: 6px;
}
.verdict-total small {
  color: inherit;
}
.verdict-total.Pass,
.verdict-option.Pass {
  color: #14603d;
  background: #e4f5eb;
  border-color: #24834e;
}
.verdict-total.Fail,
.verdict-option.Fail {
  color: #a32222;
  background: #fdeaea;
  border-color: #c83a3a;
}
.verdict-total.Blocked,
.verdict-option.Blocked {
  color: #805000;
  background: #fff2cd;
  border-color: #ad7500;
}
.verdict-picker {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}
.verdict-picker legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
.verdict-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.verdict-option {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #8193a3;
  border-radius: 7px;
  padding: 10px;
  margin: 0;
  cursor: pointer;
}
.verdict-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: currentColor;
}
.verdict-option:has(input:checked) {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}
.verdict-option:has(input:focus-visible) {
  outline: 3px solid #183f7a;
  outline-offset: 3px;
}
.pass-text {
  color: #14603d;
  font-weight: 700;
}
.fail-text {
  color: #a32222;
  font-weight: 700;
}
.blocked-text {
  color: #805000;
  font-weight: 700;
}
@media (max-width: 650px) {
  .verdict-totals {
    gap: 8px;
  }
  .verdict-total {
    padding: 14px;
  }
  .formrow:has(.verdict-picker) {
    flex-direction: column;
  }
}

.ask-box {
  background: #eaf6ff;
  border: 2px solid #1887b4;
  border-left: 6px solid #007294;
  border-radius: 8px;
  padding: 20px;
  margin: 18px 0;
}
.ask-box h3 {
  margin: 0;
  color: #00607e;
  font-size: 16px;
}
.ask-box p {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
  margin: 12px 0;
  user-select: text;
}
.doc-links {
  padding-left: 22px;
  line-height: 1.8;
}
.document-choices {
  border: 1px solid #ccd8e2;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 18px;
  max-height: 260px;
  overflow: auto;
}
.document-choices label {
  display: flex;
  gap: 10px;
  align-items: center;
}
.document-choices input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}
.login {
  max-width: 520px;
  margin: 10vh auto;
}
.loginbrand {
  color: #123a58;
  display: block;
  margin-bottom: 30px;
}
.spaced {
  margin-top: 24px;
}
.wrap {
  flex-wrap: wrap;
  align-items: flex-end;
}
.wrap label {
  min-width: 120px;
  flex: 1;
  margin-bottom: 0;
  text-transform: capitalize;
}
.wrap input,
.wrap select {
  font-size: 14px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}
.attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.attachments a {
  max-width: 200px;
  font-size: 14px;
}
.attachments img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  background: #edf2f6;
  border: 1px solid #ccd8e2;
  display: block;
}
.measurement {
  background: #f0f6fb;
  padding: 14px;
  margin: 12px 0;
  border-radius: 7px;
}
.measurement p {
  margin: 7px 0;
}
.badge.Paused {
  background: #fff3d7;
  color: #805000;
}
.badge.Active {
  background: #e2f5ef;
  color: #14603d;
}
.badge.Finished {
  background: #e3edf9;
  color: #254d85;
}
label {
  font-size: 15px;
}
small,
.badge,
.testid {
  font-size: 14px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1887b4;
  outline-offset: 3px;
}

.testing-context{background:#eaf6ff;border:1px solid #b8ddeb;padding:18px 22px;border-radius:10px;margin:20px 0}.testing-context p{margin-top:0}.inline-test{border-top:2px solid #d6e8f0;padding-top:18px;margin-top:18px}.inline-test h3{font-size:19px}.evidence-drop{border:2px dashed #1687a4;background:#effbfc;border-radius:9px;padding:22px;text-align:center}.evidence-drop p{margin:10px 0 5px}.evidence-files>div{display:flex;justify-content:space-between;align-items:center;background:#eef5fa;padding:10px;margin:8px 0;border-radius:6px}.result-notes{margin-top:24px;font-size:19px}.result-notes textarea{min-height:130px;font-size:16px}.save-result{font-size:18px;padding:14px 22px}.save-message{background:#e4f5eb;color:#14603d;padding:13px;border-radius:7px}.expected-brief p{margin:5px 0 15px}.reference-details{margin-top:24px;padding:16px;background:#f4f7fa;border-radius:6px}.reference-details>summary{font-size:14px}.inline-test>details{padding:14px 0}.inline-test>details label{margin-top:16px}
