.fb-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #dcd9d1;
  border-radius: 20px;
  background: #faf9f5;
  color: #292923;
  box-shadow: 0 24px 90px #15152140;
  font:
    15px/1.7 "Nunito",
    system-ui,
    sans-serif;
  overflow: auto;
  overscroll-behavior: contain;
}
.fb-dialog::backdrop {
  background: rgba(23, 27, 34, 0.66);
}
.fb-dialog * {
  box-sizing: border-box;
}
.fb-dialog h2,
.fb-dialog h3,
.fb-dialog h4,
.feedback-report h3,
.feedback-report h4 {
  font-family: inherit !important;
  letter-spacing: normal;
}
.fb-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  position: sticky;
  top: 0;
  z-index: 4;
  background: #faf9f5;
  border-bottom: 1px solid #e4e2dc;
}
.fb-dialog-head h2 {
  margin: 0;
  font-size: 21px;
}
.fb-dialog-head p {
  margin: 3px 0 0;
  color: #73736a;
  font-size: 13px;
}
.fb-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #deded4;
  border-radius: 50%;
  background: white;
  font: 24px/1 system-ui;
  cursor: pointer;
  color: #53534d;
}
.fb-dialog-body {
  padding: 24px 26px 32px;
}
.fb-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.fb-context > section {
  border: 1px solid #deded4;
  border-radius: 14px;
  background: white;
  padding: 18px;
  min-width: 0;
}
.fb-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #727469;
  margin: 0 0 10px;
}
.fb-context p {
  margin: 0;
  white-space: pre-wrap;
}
.fb-original {
  max-height: 260px;
  overflow: auto;
  padding-right: 10px;
  font-weight: 500;
}
.feedback-report {
  font-size: 15px;
  line-height: 1.75;
  color: #30332c;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.feedback-report [hidden] {
  display: none !important;
}
.feedback-report h3 {
  font-size: 18px;
  margin: 0 0 14px;
  font-weight: 800 !important;
}
.feedback-report h4 {
  font-size: 15px;
  margin: 0 0 10px;
  font-weight: 800 !important;
}
.fb-scorecard,
.fb-card {
  border: 1px solid #deded4;
  border-radius: 14px;
  background: white;
  padding: 20px;
  margin-bottom: 18px;
  min-width: 0;
}
.fb-scorecard {
  display: flex;
  gap: 24px;
  align-items: center;
}
.fb-overall {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border: 3px solid #713f38;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #713f38;
}
.fb-overall strong {
  font-size: 36px;
  line-height: 1.2;
}
.fb-overall span {
  font-size: 10px;
  letter-spacing: 1.5px;
}
.fb-scorebody {
  min-width: 0;
  flex: 1;
}
.fb-scorebody p {
  margin: 12px 0 0;
  color: #66685f;
  font-size: 14px;
}
.fb-scorechips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb-chip {
  padding: 5px 10px;
  border: 1px solid #d6dfd6;
  border-radius: 7px;
  background: #f1f6ef;
  color: #245f50;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.fb-chip.is-low {
  background: #fff1ed;
  border-color: #f3d4c9;
  color: #a33b2b;
}
.fb-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fb-positive {
  border-top: 3px solid #3d8876;
}
.fb-negative {
  border-top: 3px solid #c66c53;
}
.fb-list {
  padding-left: 20px;
  margin: 0;
}
.fb-list li + li {
  margin-top: 9px;
}
.fb-priority {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fb-priority article {
  background: #f8f4e9;
  border: 1px solid #e8ddbf;
  border-radius: 12px;
  padding: 16px;
}
.fb-step {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #736247;
  color: white;
  font-weight: 900;
  margin-right: 8px;
}
.fb-priority p {
  margin: 10px 0 0;
}
.fb-priority small {
  display: block;
  color: #706b5e;
  margin-top: 10px;
  line-height: 1.6;
}
.fb-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding: 8px;
  margin: 8px 0 22px;
  background: #eeeee7;
  border: 1px solid #deded4;
  border-radius: 12px;
}
.fb-tab {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #696d63;
  cursor: pointer;
}
.fb-tab[aria-selected="true"] {
  background: white;
  color: #215f50;
  box-shadow: 0 1px 4px #18282015;
}
.fb-tab:focus-visible,
.fb-chip:focus-visible,
.fb-close:focus-visible,
.fb-open:focus-visible {
  outline: 3px solid #2a8071;
  outline-offset: 3px;
}
.fb-panel {
  min-width: 0;
}
.fb-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.fb-panel-head h3 {
  margin: 0;
}
.fb-band {
  padding: 4px 12px;
  border-radius: 7px;
  background: #edf4ed;
  color: #25604c;
  font-size: 18px;
  font-weight: 900;
}
.fb-quote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid #b8cabc;
  border-radius: 0 8px 8px 0;
  background: #f5f6f1;
  font-style: italic;
  color: #5c6357;
  white-space: pre-wrap;
}
.fb-callout {
  border-left: 3px solid #c57a5c;
  background: #fcf4ec;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 0 10px 10px 0;
}
.fb-callout strong {
  display: block;
  color: #8e492e;
  margin-bottom: 4px;
}
.fb-status {
  display: inline-block;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 5px;
  padding: 3px 7px;
  background: #edf4ed;
  color: #25604c;
  margin-left: 8px;
  font-weight: 800;
}
.fb-status.partial {
  background: #fff4da;
  color: #8c661b;
}
.fb-status.fail {
  background: #ffefeb;
  color: #a33b2b;
}
.fb-subhead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.fb-subhead h4 {
  flex: 1;
}
.fb-muted {
  color: #72766c;
  font-size: 13px;
}
.fb-fix {
  background: #eaf5ef;
  border: 1px solid #cde4d6;
  padding: 14px 16px;
  border-radius: 10px;
  color: #215e47;
  margin-top: 14px;
  white-space: pre-wrap;
}
.fb-fix strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.8px;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.fb-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.fb-diff > div {
  padding: 12px;
  border-radius: 8px;
  background: #fff2ed;
  color: #8f3e2d;
}
.fb-diff > div + div {
  background: #edf7f0;
  color: #245c41;
}
.fb-diff small {
  display: block;
  font-weight: 900;
  margin-bottom: 5px;
}
.fb-diff p {
  margin: 0;
}
.fb-arrow {
  text-align: center;
  color: #b46c51;
  margin: 7px;
}
.fb-disclosure {
  border-top: 1px solid #e6e6dd;
  padding: 12px 0;
}
.fb-disclosure > summary {
  cursor: pointer;
  color: #4e6556;
  font-weight: 800;
}
.fb-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #245f50;
  color: white;
  border: 1px solid #245f50;
  border-radius: 10px;
  padding: 11px 17px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
}
.fb-open:hover {
  background: #194a3d;
}
.fb-empty {
  color: #787d71;
  padding: 14px 0;
}
@media (max-width: 700px) {
  .fb-dialog {
    width: calc(100vw - 12px);
    max-height: 96dvh;
    border-radius: 14px;
  }
  .fb-dialog-head {
    padding: 14px 16px;
  }
  .fb-dialog-head h2 {
    font-size: 17px;
  }
  .fb-dialog-body {
    padding: 16px 14px 24px;
  }
  .fb-context,
  .fb-two,
  .fb-priority,
  .fb-diff {
    grid-template-columns: 1fr;
  }
  .fb-scorecard {
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
  }
  .fb-overall {
    width: 74px;
    height: 74px;
  }
  .fb-overall strong {
    font-size: 28px;
  }
  .fb-scorechips {
    gap: 5px;
  }
  .fb-chip {
    font-size: 11px;
    padding: 4px 7px;
  }
  .fb-card {
    padding: 16px;
  }
  .fb-tabs {
    gap: 3px;
    padding: 5px;
  }
  .fb-tab {
    padding: 9px 10px;
    font-size: 12px;
  }
  .fb-original {
    max-height: 210px;
  }
  .feedback-report {
    font-size: 14px;
  }
}
.fb-dialog-head {
  margin: 0;
}
.fb-original {
  white-space: pre-wrap;
}
