.ydg-modal[hidden] {
  display: none;
}

.ydg-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 18, 24, .48);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.ydg-modal__panel {
  position: relative;
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 18, 24, .22);
}

.ydg-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.ydg-modal__kicker {
  margin: 0 0 8px;
  color: #087f7a;
  font-size: 13px;
  font-weight: 900;
}

.ydg-modal h2 {
  margin: 0;
  color: #10252d;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.ydg-modal__desc {
  margin: 10px 0 18px;
  color: #60727b;
  line-height: 1.7;
}

.ydg-modal label,
.ydg-lead-form label {
  display: grid;
  gap: 7px;
  color: #1f363f;
  font-size: 14px;
  font-weight: 800;
}

.ydg-modal label span,
.ydg-lead-form label span {
  color: #b42318;
}

.ydg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.ydg-modal input,
.ydg-modal textarea,
.ydg-lead-form input,
.ydg-lead-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(16, 37, 45, .14);
  border-radius: 8px;
  color: #10252d;
  background: #ffffff;
  font: inherit;
}

.ydg-modal textarea,
.ydg-lead-form textarea {
  resize: vertical;
}

.ydg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ydg-actions button,
.ydg-lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ydg-actions button[type="submit"],
.ydg-lead-form button[type="submit"] {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #0da693);
}

.ydg-actions button[type="button"] {
  color: #0b4447;
  background: #ffffff;
}

.ydg-message {
  min-height: 22px;
  margin: 10px 0 0;
  color: #60727b;
  font-size: 13px;
}

.ydg-report-delivery {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 122, .18);
  border-radius: 8px;
  background: #f2fbf9;
}

.ydg-report-delivery strong {
  color: #0b4447;
  font-size: 15px;
}

.ydg-report-delivery p {
  margin: 0;
  color: #60727b;
  font-size: 13px;
  line-height: 1.6;
}

.ydg-report-delivery div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ydg-report-delivery a,
.ydg-report-delivery button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 127, 122, .22);
  border-radius: 8px;
  color: #0b4447;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ydg-report-delivery a {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #0da693);
}

.ydg-report-delivery textarea {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ydg-lead-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  background: #ffffff;
}

.ydg-recommendations {
  display: grid;
  gap: 10px;
}

.ydg-recommendations a {
  display: block;
  padding: 12px 13px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #f8fdfc;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 560px) {
  .ydg-modal {
    align-items: end;
    padding: 12px;
  }

  .ydg-modal__panel {
    padding: 20px;
  }

  .ydg-form-grid {
    grid-template-columns: 1fr;
  }

  .ydg-actions {
    display: grid;
  }
}

.ydg-maturity-host {
  display: block;
  color: #10252d;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 50%, #ffffff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.ydg-maturity-host,
.ydg-maturity-host * {
  box-sizing: border-box;
}

.ydg-maturity-host button,
.ydg-maturity-host input,
.ydg-maturity-host select,
.ydg-maturity-host textarea {
  font: inherit;
}

.ydg-maturity-host button {
  cursor: pointer;
}

.ydg-maturity {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.ydg-maturity__hero {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.ydg-maturity__hero p {
  margin: 0;
  color: #087f7a;
  font-size: 13px;
  font-weight: 900;
}

.ydg-maturity__hero h2 {
  max-width: 880px;
  margin: 0;
  color: #10252d;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.ydg-maturity__hero span {
  max-width: 760px;
  color: #60727b;
  font-size: 17px;
  line-height: 1.75;
}

.ydg-maturity__layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(400px, .85fr);
  gap: 18px;
  align-items: start;
}

.ydg-maturity__panel {
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 60px rgba(16, 37, 45, .10);
}

.ydg-maturity__questions {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ydg-maturity__result {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
}

.ydg-maturity__result::before {
  content: "";
  display: block;
  height: 7px;
  margin: -20px -20px 0;
  background: linear-gradient(90deg, #087f7a, #35b9aa, #8fe0d6);
}

.ydg-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(8, 127, 122, .16);
  border-radius: 8px;
  background: #f6fcfb;
}

.ydg-profile label {
  display: grid;
  gap: 7px;
  color: #223942;
  font-size: 13px;
  font-weight: 900;
}

.ydg-profile select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 37, 45, .14);
  border-radius: 8px;
  color: #10252d;
  background: #ffffff;
}

.ydg-question {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  background: #ffffff;
}

.ydg-question legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: #10252d;
  font-size: 16px;
  font-weight: 900;
}

.ydg-question legend span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: #087f7a;
  font-size: 13px;
}

.ydg-question p {
  margin: 0 0 12px;
  color: #60727b;
  line-height: 1.7;
}

.ydg-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ydg-options label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px 9px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ydg-options label:has(input:checked) {
  border-color: rgba(8, 127, 122, .42);
  background: #eefbf8;
  box-shadow: 0 10px 26px rgba(8, 127, 122, .10);
}

.ydg-options input {
  grid-row: 1 / span 2;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: #087f7a;
}

.ydg-options strong {
  color: #17313a;
  font-size: 14px;
  line-height: 1.35;
}

.ydg-options em {
  color: #60727b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.ydg-progress-head,
.ydg-report__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ydg-progress-head p,
.ydg-report__top p {
  margin: 0;
  color: #087f7a;
  font-size: 13px;
  font-weight: 900;
}

.ydg-progress-head strong {
  color: #10252d;
  font-size: 30px;
  line-height: 1;
}

.ydg-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efed;
}

.ydg-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087f7a, #35b9aa);
}

.ydg-side-block {
  display: grid;
  gap: 10px;
}

.ydg-side-block h3,
.ydg-report-section h4,
.ydg-readings h4 {
  margin: 0;
  color: #10252d;
  font-size: 15px;
  line-height: 1.4;
}

.ydg-chip-list,
.ydg-dim-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ydg-chip-list span,
.ydg-dim-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 127, 122, .16);
  border-radius: 999px;
  color: #0b4447;
  background: #f2fbf9;
  font-size: 13px;
  font-weight: 800;
}

.ydg-primary,
.ydg-report-actions button,
.ydg-card-preview a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.ydg-primary,
.ydg-report-actions button[data-ydg-report] {
  width: 100%;
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #0da693);
  box-shadow: 0 14px 32px rgba(8, 127, 122, .20);
}

.ydg-primary:disabled {
  cursor: not-allowed;
  color: #6e7e84;
  background: #e7efed;
  box-shadow: none;
}

.ydg-report {
  display: grid;
  gap: 16px;
}

.ydg-report__top {
  padding: 16px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #113f47);
}

.ydg-report__top p,
.ydg-report__top h3,
.ydg-report__top strong {
  color: #ffffff;
}

.ydg-report__top h3 {
  margin: 24px 0 0;
  font-size: 26px;
  line-height: 1.2;
}

.ydg-report__top strong {
  font-size: 44px;
  line-height: 1;
}

.ydg-report__top strong span {
  font-size: 18px;
  opacity: .78;
}

.ydg-report__summary {
  margin: 0;
  color: #344b53;
  line-height: 1.75;
}

.ydg-score-grid {
  display: grid;
  gap: 9px;
}

.ydg-score-row {
  display: grid;
  grid-template-columns: 82px 40px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.ydg-score-row span {
  color: #32474f;
}

.ydg-score-row b {
  color: #087f7a;
  text-align: right;
}

.ydg-score-row i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efed;
}

.ydg-score-row em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087f7a, #35b9aa);
}

.ydg-report-section {
  display: grid;
  gap: 9px;
}

.ydg-report-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ydg-report-section li {
  position: relative;
  padding-left: 16px;
  color: #425760;
  line-height: 1.62;
}

.ydg-report-section li::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #087f7a;
}

.ydg-readings {
  display: grid;
  gap: 9px;
}

.ydg-readings a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #f7fcfb;
  text-decoration: none;
}

.ydg-readings strong {
  font-size: 14px;
  line-height: 1.45;
}

.ydg-readings span {
  flex: 0 0 auto;
  color: #087f7a;
  font-size: 13px;
  font-weight: 900;
}

.ydg-report-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ydg-report-actions button[data-ydg-report] {
  grid-column: 1 / -1;
}

.ydg-card-preview[hidden] {
  display: none;
}

.ydg-card-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(8, 127, 122, .14);
  border-radius: 8px;
  background: #f8fdfc;
}

.ydg-card-preview img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
}

.ydg-card-note {
  margin: 0;
  color: #0b4447;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 800;
}

@media (max-width: 920px) {
  .ydg-maturity__layout {
    grid-template-columns: 1fr;
  }

  .ydg-maturity__result {
    position: static;
  }
}

@media (max-width: 640px) {
  .ydg-maturity {
    width: min(100% - 24px, 1180px);
    padding: 28px 0 44px;
  }

  .ydg-profile,
  .ydg-options,
  .ydg-report-actions {
    grid-template-columns: 1fr;
  }

  .ydg-question {
    padding: 14px;
  }

  .ydg-score-row {
    grid-template-columns: 78px 34px 1fr;
  }
}

html.ydg-lock-scroll,
html.ydg-lock-scroll body {
  overflow: hidden;
}

.ydg-maturity-host {
  background: transparent;
  font-family: inherit;
}

.ydg-maturity-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1080px, calc(100% - 32px));
  margin: 28px auto;
  padding: 22px 24px;
  border: 1px solid rgba(8, 127, 122, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 100%);
  box-shadow: 0 16px 42px rgba(16, 37, 45, .08);
}

.ydg-entry-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ydg-entry-copy p {
  margin: 0;
  color: #087f7a;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.ydg-entry-copy h2 {
  margin: 0;
  color: #10252d;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.ydg-entry-copy span {
  max-width: 660px;
  color: #5d6f78;
  font-size: 15px;
  line-height: 1.7;
}

.ydg-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ydg-entry-tags b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(8, 127, 122, .14);
  border-radius: 999px;
  color: #0b4447;
  background: #effaf8;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.ydg-entry-action {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 210px;
}

.ydg-entry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #0da693);
  box-shadow: 0 12px 28px rgba(8, 127, 122, .2);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.ydg-entry-action small {
  color: #6a7a82;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.ydg-test-modal[hidden] {
  display: none;
}

.ydg-test-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 24px;
  background: rgba(8, 18, 24, .52);
  font-family: inherit;
}

.ydg-test-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 86px rgba(8, 18, 24, .28);
}

.ydg-test-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.ydg-test-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(16, 37, 45, .1);
  background: linear-gradient(135deg, #f8fdfc, #ffffff);
}

.ydg-test-head p {
  margin: 0 0 6px;
  color: #087f7a;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

.ydg-test-head h2 {
  margin: 0;
  color: #10252d;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
}

.ydg-test-head span {
  display: block;
  margin-top: 8px;
  color: #61727a;
  font-size: 14px;
  line-height: 1.7;
}

.ydg-test-body {
  padding: 20px 24px 24px;
}

.ydg-test-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.ydg-test-main,
.ydg-test-side {
  display: grid;
  gap: 14px;
}

.ydg-test-side {
  padding: 16px;
  border: 1px solid rgba(16, 37, 45, .1);
  border-radius: 8px;
  background: #f8fdfc;
}

.ydg-test-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5d6f78;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.ydg-profile--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
  box-shadow: none;
}

.ydg-question--active {
  padding: 0;
  border: 0;
  background: transparent;
}

.ydg-options--single {
  grid-template-columns: 1fr;
}

.ydg-options--single label {
  min-height: 74px;
  cursor: pointer;
}

.ydg-wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ydg-wizard-actions button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #0b4447;
  background: #ffffff;
  font-weight: 800;
}

.ydg-wizard-actions .ydg-primary {
  width: auto;
  min-width: 138px;
}

.ydg-wizard-actions button:disabled {
  cursor: not-allowed;
  color: #7c8a91;
  background: #edf3f2;
  box-shadow: none;
}

.ydg-step-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ydg-step-dot {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(16, 37, 45, .12);
  border-radius: 8px;
  color: #5d6f78;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.ydg-step-dot.is-done {
  border-color: rgba(8, 127, 122, .28);
  color: #087f7a;
  background: #effaf8;
}

.ydg-step-dot.is-current {
  border-color: #087f7a;
  color: #ffffff;
  background: #087f7a;
}

.ydg-article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(8, 127, 122, .16);
  border-radius: 8px;
  color: #10252d;
  background: linear-gradient(135deg, #f5fcfa 0%, #ffffff 58%, #eef8f6 100%);
  box-shadow: 0 14px 34px rgba(8, 45, 50, .06);
}

.ydg-article-cta span {
  display: block;
  margin-bottom: 6px;
  color: #087f7a;
  font-size: 13px;
  font-weight: 900;
}

.ydg-article-cta strong {
  display: block;
  color: #10252d;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.ydg-article-cta p {
  margin: 7px 0 0;
  color: #5f737b;
  font-size: 14px;
  line-height: 1.7;
}

.ydg-article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #087f7a, #0da693);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .ydg-maturity-entry {
    display: grid;
  }

  .ydg-entry-action {
    justify-items: stretch;
    flex: none;
  }

  .ydg-entry-action small {
    text-align: left;
  }

  .ydg-test-layout {
    grid-template-columns: 1fr;
  }

  .ydg-article-cta {
    grid-template-columns: 1fr;
  }

  .ydg-article-cta a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .ydg-maturity-entry {
    width: min(100% - 24px, 1080px);
    margin: 22px auto;
    padding: 18px;
  }

  .ydg-entry-copy h2 {
    font-size: 24px;
  }

  .ydg-test-modal {
    align-items: end;
    padding: 10px;
  }

  .ydg-test-dialog {
    max-height: calc(100vh - 20px);
  }

  .ydg-test-head,
  .ydg-test-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ydg-profile--compact,
  .ydg-wizard-actions {
    grid-template-columns: 1fr;
  }

  .ydg-wizard-actions {
    display: grid;
  }

  .ydg-wizard-actions .ydg-primary {
    width: 100%;
  }
}
