.diagnostic-score-change-notice {
  box-sizing: border-box;
  max-width: 100%;
  color: #6B6257;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  vertical-align: middle;
}

.diagnostic-score-change-notice[open] {
  display: block;
  flex: 1 1 100%;
  width: 100%;
}

.diagnostic-score-change-notice > summary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #0B5BD3;
  border-radius: 999px;
  background: #FFF3EE;
  color: #0B5BD3;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  list-style: none;
  cursor: pointer;
  overflow: visible;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.diagnostic-score-change-notice > summary::-webkit-details-marker {
  display: none;
}

.diagnostic-score-change-notice > summary:focus-visible {
  outline: 3px solid #0F172A;
  outline-offset: 2px;
}

.diagnostic-score-change-notice__label,
.diagnostic-score-change-notice__chevron {
  color: inherit;
  font: inherit;
}

.diagnostic-score-change-notice__chevron {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.diagnostic-score-change-notice[open] .diagnostic-score-change-notice__chevron {
  transform: rotate(180deg);
}

.diagnostic-score-change-notice__panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 34rem;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #DED7CF;
  border-radius: 14px;
  background: #FBFAF8;
  color: #6B6257;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  overflow: visible;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.diagnostic-score-change-notice .diagnostic-score-change-notice__panel p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.diagnostic-score-change-notice__panel .diagnostic-score-change-notice__title {
  color: #0F172A;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.diagnostic-score-change-notice__panel > p + p {
  margin-top: 12px;
}

.diagnostic-score-change-notice__changes {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.diagnostic-score-change-notice__panel .diagnostic-score-change-notice__reassurance {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #DED7CF;
  color: #0F172A;
  font-weight: 800;
}

.diagnostic-score-change-notice__reassurance strong {
  color: inherit;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 360px) {
  .diagnostic-score-change-notice__panel {
    padding: 14px;
  }
}
