/* SCS service and preparation check, using the corporate site's type and spacing. */
.scs-shared-chrome #main {
  --paper: #fff;
  --soft: #f5f7f6;
  --tint: #f5f7f6;
  --ink: #2b2d42;
  --muted: #5c636b;
  --line: #cbd4d4;
  --accent: #007f78;
  --action: #007f78;
  --action-hover: #00645f;
  --text-min: 16px;
  --ui-font: var(--heading-font);
  background: #fff;
}

#main .section-shell {
  width: min(1200px, calc(100% - 112px));
}

#home-view .section-spacing {
  padding-block: clamp(64px, 7vw, 96px);
}

#home-view :is(.section-heading h2, .expert-copy h2, .expert-requirement-heading h2, .tool-copy h2, .faq-intro h2, .closing-inner h2, .concerns-intro h2) {
  font-size: clamp(28px, 3.05vw, 40px);
  line-height: 1.6;
  letter-spacing: .01em;
  font-weight: 600;
  text-wrap: pretty;
}

#home-view :is(.section-lead, .body-copy, .tool-description, .expert-requirement-heading > p, .expert-copy > p:not(.registration-note), .closing-inner > p:not(.closing-note)) {
  font-size: 18px;
  line-height: 1.95;
}

#home-view :is(.source-note, .comparison-note, .service-note, .tool-scope, .tool-meta, .registration-note, .concerns-links p, .preparation-topics p, .faq-intro > p:last-child, .star4-note p) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* The photograph has its own space instead of sitting behind every line. */
#home-view .service-hero {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

#home-view .service-hero::after {
  content: none;
}

#home-view .service-hero-photo {
  inset: 0 0 0 auto;
  width: 40%;
  height: 100%;
  object-position: 75% 50%;
  z-index: -1;
}

#home-view .service-hero-inner {
  width: min(1320px, calc(100% - 112px));
  min-height: 640px;
  padding: 76px 43% 76px 0;
}

#home-view .service-hero-audience {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 20px;
}

#home-view .service-hero h1 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.5;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

#home-view .service-hero-lead {
  margin-top: 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

#home-view :is(.service-hero-scope, .service-hero-meta) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

#home-view .service-hero-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

#home-view .service-hero-actions .text-link {
  color: var(--ink);
}

#main .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}

#main :is(.button-primary, .button-light) {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
}

#main :is(.button-primary, .button-light):is(:hover, :focus-visible) {
  background: var(--action-hover);
  color: #fff;
}

#main :is(.button-primary, .button-light)::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -60%;
  width: 34%;
  background: linear-gradient(90deg, transparent, #ffffff40, transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}

#main :is(.button-primary, .button-light):is(:hover, :focus-visible)::before {
  animation: scs-button-light .75s ease-out;
}

@keyframes scs-button-light {
  to { left: 145%; }
}

#main .text-link {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.8;
  text-decoration-color: var(--accent);
  text-underline-offset: 7px;
}

#home-view .scs-section-nav {
  background: #fff;
}

#home-view .scs-section-nav-inner {
  gap: 8px 26px;
  padding-block: 20px;
}

#home-view .scs-section-nav a {
  font-size: 16px;
}

#home-view .rating-overview strong {
  color: var(--ink);
  font-size: 26px;
}

#home-view .scs-facts {
  background: #fff;
  border-block: 1px solid var(--line);
}

#home-view .scs-facts > div {
  padding: 24px;
}

#home-view :is(.scs-facts dt, .scs-facts dd, .rating-table, .rating-table tbody th, .rating-table thead th > span, .review-track li > span, .review-track li > strong) {
  font-size: 16px;
  line-height: 1.8;
}

#home-view .comparison-section {
  background: var(--soft);
  border: 0;
}

#home-view .rating-table thead :is(th, td),
#home-view .rating-table tbody th {
  background: #fff;
}

#home-view .rating-table thead th .rating-star {
  color: var(--accent);
  font-size: 32px;
}

#home-view .expert-requirement {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

#home-view .expert-requirement-heading > p {
  color: var(--muted);
}

#home-view .expert-requirement .source-note a {
  color: var(--accent);
}

#home-view .review-track {
  border-color: var(--line);
  padding-block: 28px;
}

#home-view .review-track h3 {
  color: var(--ink);
  font-size: 30px;
}

#home-view .review-track li,
#home-view .review-track .required-stage {
  border: 0;
  border-left: 2px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 8px 16px;
}

#home-view .review-track .required-stage {
  border-left-color: var(--accent);
}

#home-view .review-track li > span {
  color: var(--muted);
}

#home-view .review-track li > strong {
  color: var(--ink);
}

#home-view .review-track li + li::before {
  content: none;
}

#home-view .expert-next {
  border-color: var(--line);
  color: var(--ink);
}

#home-view .declaration-note {
  color: var(--ink);
}

#home-view .declaration-note > p {
  color: var(--muted);
  font-size: 16px;
}

#home-view .declaration-note > a {
  color: var(--accent);
  font-size: 16px;
}

#home-view .preparation-topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  gap: 0 32px;
}

#home-view .preparation-topics li {
  padding-block: 20px;
}

#home-view .preparation-topics h3 {
  font-size: 18px;
  font-weight: 600;
}

#home-view .tool-section {
  margin-top: 0;
  background: var(--soft);
  border: 0;
}

#home-view .report-preview {
  padding: 24px 0 24px 28px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
}

#home-view .report-top h3 {
  font-size: 20px;
}

#home-view .privacy-note {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

#home-view .privacy-note > strong {
  color: var(--ink);
}

/* Comparable rows use the same spacing, without a different fill for each row. */
#support .support-plans {
  column-gap: 40px;
}

#support .support-plan {
  border: 0;
  border-top: 2px solid var(--ink);
  background: #fff;
}

#support :is(.plan-heading, .confirmation-plan .plan-heading, .plan-deliverables) {
  background: #fff;
}

#support :is(.plan-heading, .plan-comparison-row, .plan-bottom) {
  padding: 24px 0;
}

#support .plan-heading {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
}

#support .plan-icon {
  width: 28px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
}

#support .plan-for,
#support .plan-comparison-row h4,
#support .plan-comparison-row ul,
#support .plan-bottom p,
#support .plan-bottom p > span,
#support .plan-bottom .text-link {
  font-size: 16px;
  line-height: 1.85;
}

#support .plan-for {
  min-height: 0;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

#support .plan-heading h3 {
  font-size: 26px;
  line-height: 1.55;
}

#support .plan-heading h3 span {
  white-space: normal;
}

#support .plan-bottom .text-link {
  justify-content: space-between;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  text-decoration: none;
}

#home-view .star4-note {
  background: var(--soft);
  border: 0;
}

#home-view .expert-section {
  background: var(--soft);
  border: 0;
}

#home-view .expert-profile {
  padding: 0 28px 0 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

#home-view .expert-name {
  font-size: 24px;
}

#home-view .expert-profile > p:not(.expert-name),
#home-view .expert-profile .credential-explanation {
  font-size: 16px;
}

#home-view .faq-items {
  border-top: 0;
}

#home-view .closing-section {
  background: #fff;
}

/* The check reads as one task on a white canvas. */
#main .flow-view {
  background: #fff;
  padding-block: 24px 88px;
}

#main .flow-shell {
  width: min(1000px, calc(100% - 112px));
}

#main .check-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 64px;
  width: min(1120px, calc(100% - 112px));
}

.check-shell .flow-toolbar {
  grid-column: 1 / -1;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.check-shell .check-progress {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  align-self: start;
}

.check-shell .check-progress > div {
  display: block;
  font-size: 16px;
  line-height: 1.8;
}

.check-shell .check-progress strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 500;
}

.check-shell .check-progress progress {
  margin-top: 20px;
  height: 3px;
  background: var(--line);
}

.check-shell .check-progress progress::-webkit-progress-bar {
  background: var(--line);
}

#question-content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

#question-content .flow-context {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

#question-title {
  max-width: 26em;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 1.5;
  letter-spacing: .01em;
  font-weight: 600;
  text-wrap: pretty;
}

#question-content .question-help {
  max-width: 42em;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.8;
}

#question-instruction {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

#question-content .answer-options {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

#question-content .answer-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
  padding: 15px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: none;
  transition: background .15s, color .15s;
}

@media (hover: hover) {
  #question-content .answer-choice:hover {
    background: var(--soft);
    color: var(--accent);
    box-shadow: inset 3px 0 var(--accent);
  }
}

#question-content .answer-choice:active,
#question-content .answer-choice[data-current="true"] {
  background: var(--soft);
  color: var(--accent);
  box-shadow: inset 3px 0 var(--accent);
}

#question-content .answer-choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

#question-content .current-answer {
  color: var(--accent);
  font-size: 16px;
  line-height: 1.5;
}

.check-shell .question-foot {
  grid-column: 2;
  gap: 4px 24px;
  align-items: start;
  justify-content: flex-start;
  margin-top: 14px;
}

.check-shell .question-foot .quiet-disclosure,
.check-shell .question-foot .question-example {
  margin-left: 0;
}

.check-shell .question-foot .quiet-disclosure[open] {
  flex-basis: 100%;
}

#main :is(.quiet-link, .quiet-disclosure summary, .quiet-disclosure p, .flow-note, .flow-context, .flow-form legend small, .answer-list-change, .result-target, .flow-disclosure, .support-details, .priority-first-action, .priority-detail, .status-tag, .result-requirement, .count-item dt, .category-row, .interest-options label, .flow-checkbox, .review-overview > div, .review-overview dt, .message-label span, #review-custom-note) {
  font-size: 16px;
  line-height: 1.8;
}

#main .quiet-link {
  color: var(--muted);
  font-weight: 500;
}

#main .quiet-disclosure summary {
  color: var(--muted);
  font-weight: 500;
}

#main .flow-heading h1 {
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.6;
}

#main .flow-heading p:not(.flow-context) {
  font-size: 18px;
  line-height: 1.9;
}

#main .priority-title strong {
  color: var(--ink);
  font-size: 24px;
}

#main .status-tag {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 600;
}

#main .result-offer {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

#main .result-offer :is(.flow-context, p:not(.flow-context), .text-link) {
  color: var(--muted);
  font-size: 16px;
}

#main .count-item {
  background: #fff;
}

#main .interest-options {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

#main .interest-options label {
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  background: #fff;
}

#main .interest-options label:has(input:checked) {
  background: var(--soft);
}

#main .message-editor {
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  #main .section-shell,
  #main .flow-shell,
  #main .check-shell {
    width: calc(100% - 64px);
  }
  #home-view .service-hero-inner {
    width: calc(100% - 64px);
    padding-right: 42%;
  }
  #home-view .service-hero h1 {
    font-size: clamp(36px, 4.5vw, 44px);
  }
  #main .check-shell {
    grid-template-columns: 150px minmax(0, 1fr);
    column-gap: 40px;
  }
}

@media (max-width: 760px) {
  #home-view .service-hero {
    display: flex;
    flex-direction: column;
  }
  #home-view .service-hero-inner {
    order: 0;
    width: calc(100% - 40px);
    min-height: 0;
    padding: 44px 0 36px;
  }
  #home-view .service-hero-photo {
    order: 1;
    position: static;
    width: 100%;
    height: 220px;
    object-position: right 54%;
    z-index: auto;
  }
  #home-view .service-hero h1 {
    font-size: clamp(30px, 6.5vw, 42px);
    letter-spacing: 0;
  }
  #home-view .service-hero-lead {
    margin-top: 22px;
  }
  #home-view .service-hero-actions {
    margin-top: 24px;
  }
  #home-view .service-hero-actions .button {
    min-height: 56px;
    font-size: 16px;
  }
  #main .section-shell,
  #main .flow-shell,
  #main .check-shell {
    width: calc(100% - 40px);
  }
  #home-view :is(.section-lead, .body-copy, .tool-description, .expert-requirement-heading > p, .expert-copy > p:not(.registration-note), .closing-inner > p:not(.closing-note), .service-hero-lead) {
    font-size: 16px;
  }
  #home-view .preparation-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }
  #home-view .preparation-topics h3 {
    font-size: 16px;
  }
  #home-view .review-track ol {
    gap: 16px;
  }
  #home-view .report-preview {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  #home-view .privacy-note {
    grid-template-columns: 1fr;
  }
  #support .support-plans {
    column-gap: 20px;
  }
  #support .plan-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  #support :is(.plan-heading, .plan-comparison-row, .plan-bottom) {
    padding: 18px 0;
  }
  #support .plan-heading h3 {
    font-size: 20px;
  }
  #support .plan-for {
    word-break: normal;
  }
  #support .plan-comparison-row ul {
    padding-left: 1em;
  }
  #support .plan-bottom .text-link {
    flex-wrap: wrap;
    gap: 6px;
  }
  #home-view .expert-profile {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #main .flow-view {
    padding-block: 12px 52px;
  }
  #main .check-shell {
    display: block;
  }
  .check-shell .flow-toolbar {
    margin-bottom: 20px;
    padding-bottom: 8px;
  }
  .check-shell .check-progress {
    margin-bottom: 24px;
  }
  .check-shell .check-progress > div {
    display: flex;
  }
  .check-shell .check-progress strong {
    margin-top: 0;
    font-size: 20px;
  }
  .check-shell .check-progress progress {
    margin-top: 10px;
  }
  #question-title {
    font-size: 25px;
    line-height: 1.6;
  }
  #question-content .flow-context {
    margin-bottom: 10px;
  }
  #question-content .question-help {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.85;
  }
  #question-instruction {
    margin-top: 12px;
  }
  #question-content .answer-choice {
    min-height: 58px;
    padding: 16px 14px;
    font-size: 17px;
  }
  #question-content .current-answer {
    font-size: 16px;
  }
  #main .flow-heading p:not(.flow-context) {
    font-size: 16px;
  }
  #main .priority-title strong {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main :is(.button-primary, .button-light)::before {
    animation: none;
  }
  #question-content .answer-choice {
    transition: none;
  }
}

/* Standalone SCS pages enforce a self-only style policy. Keep logo sizing in
   the stylesheet so both current SVGs fit without relying on inline styles. */
.scs-shared-chrome .ms-site-header .ms-site-brand {
  flex: 0 1 clamp(104px, calc(94px + 6vw), 168px);
  min-width: 0;
  height: auto;
}

.scs-shared-chrome .ms-site-brand .ms-site-brand-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

.scs-shared-chrome .ms-site-footer .ms-site-brand {
  height: auto;
}

.scs-shared-chrome .ms-site-footer .ms-site-brand-image {
  filter: none;
  mix-blend-mode: normal;
}

/* Let the existing photograph dissolve into the white page rather than
   treating it as a second rectangular panel. Text remains on a clear field. */
#home-view .service-hero-photo {
  width: 64%;
  object-position: 68% 50%;
  opacity: .78;
  z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #0003 17%, #000 43%);
  mask-image: linear-gradient(90deg, transparent, #0003 17%, #000 43%);
  animation: scs-photo-arrive 900ms ease-out both;
}

#home-view .service-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #fff, #fff0 24%);
  pointer-events: none;
}

#home-view .service-hero-inner {
  padding-block: 80px;
}

#home-view .service-hero-audience {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  letter-spacing: .035em;
}

#home-view .service-hero-audience::before {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: var(--accent);
}

#home-view .service-hero h1 {
  line-height: 1.45;
  letter-spacing: -.018em;
}

#home-view .service-hero-meta {
  padding-left: 16px;
  border-left: 1px solid var(--accent);
}

#home-view .rating-overview {
  position: relative;
  background: #fff;
}

#home-view .rating-overview a {
  transition: color .2s ease;
}

#home-view .rating-overview a:hover strong,
#home-view .rating-overview a:focus-visible strong {
  color: var(--accent);
}

#home-view .explain-grid .body-copy {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

#home-view .report-preview {
  position: relative;
  padding: 28px 32px;
  border: 1px solid #d9e2df;
  border-top: 2px solid var(--accent);
  background: #fff;
  box-shadow: 0 18px 46px -28px #173b3638;
}

#home-view .report-top {
  padding-bottom: 8px;
}

#support .support-plan {
  border-top-color: var(--accent);
}

#support .plan-heading h3 {
  letter-spacing: .01em;
}

#home-view .closing-section {
  border-top: 1px solid var(--line);
}

@keyframes scs-photo-arrive {
  from { opacity: 0; }
  to { opacity: .78; }
}

@media (max-width: 760px) {
  #home-view .service-hero {
    display: block;
  }
  #home-view .service-hero-inner {
    padding-block: 40px;
  }
  #home-view .service-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    height: 100%;
    margin: 0;
    width: 100%;
    object-position: 67% 50%;
    opacity: .22;
    animation: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 38%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent 8%, #000 38%, #000 78%, transparent);
  }
  #home-view .service-hero::after {
    content: none;
  }
  #home-view :is(.service-hero-scope, .service-hero-meta) {
    color: var(--ink);
  }
  #home-view .service-hero-audience {
    gap: 12px;
    letter-spacing: .01em;
  }
  #home-view .service-hero-audience::before {
    flex-basis: 20px;
  }
  #home-view .explain-grid .body-copy {
    padding-left: 0;
    border-left: 0;
  }
  #home-view .report-preview {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-view .service-hero-photo {
    animation: none;
  }
  #home-view .rating-overview a {
    transition: none;
  }
}

/* Compare the two assessment levels by column, with quieter supporting detail. */
#star-levels .rating-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 12px 0;
  border: 0;
  background: transparent;
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: 1.85;
}

#star-levels .rating-label-column { width: 17%; }

#star-levels .rating-table :is(th, td) {
  padding: 24px;
  border: 0;
  border-bottom: 1px solid #d7e1dc;
  vertical-align: top;
  text-align: left;
  box-shadow: none;
}

#star-levels .rating-table thead {
  position: sticky;
  top: var(--ms-site-chrome-height, 80px);
  z-index: 5;
  background: var(--soft);
}

#star-levels .rating-table thead th {
  padding: 26px 28px;
  border: 0;
  border-top: 3px solid #42b8a6;
  border-radius: 6px 6px 0 0;
  background: #105e57;
  color: #fff;
}

#star-levels .rating-table thead th:last-child {
  border-top-color: #8db9ae;
  background: #203f3b;
}

#star-levels .rating-table thead .rating-corner {
  padding: 24px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #52645f;
  vertical-align: bottom;
  font-size: 16px;
  font-weight: 500;
}

#star-levels .rating-table thead th .rating-star {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

#star-levels .rating-table thead th > span:not(.rating-star) {
  display: block;
  color: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

#star-levels .rating-table tbody th {
  padding-inline: 10px;
  background: transparent;
  color: #314540;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

#star-levels .rating-table tbody td {
  background: #fff;
  color: var(--ink);
}

#star-levels .rating-table tbody td:last-child { background: #fbfdfc; }

#star-levels .rating-table .requirement-count {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-size: 46px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  letter-spacing: -.04em;
}

#star-levels .rating-method-title {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

#star-levels .rating-method-detail {
  display: block;
  color: #4e605b;
  font-size: 16px;
  line-height: 1.9;
}

#star-levels .rating-term {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#star-levels .rating-term strong {
  font-size: 34px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

#star-levels .rating-steps {
  counter-reset: rating-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

#star-levels .rating-steps li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.8;
}

#star-levels .rating-steps li + li { margin-top: 10px; }

#star-levels .rating-steps li::before {
  counter-increment: rating-step;
  content: counter(rating-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #72847d;
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

#star-levels .rating-steps .rating-step-difference,
#star-levels .rating-steps .rating-step-difference::before {
  color: #006e66;
  font-weight: 600;
}

#star-levels .rating-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
#star-levels .rating-table tbody tr:last-child td { border-radius: 0 0 6px 6px; }

@media (hover: hover) {
  #star-levels .rating-table tbody tr:hover td { background: #f0f6f3; }
}

/* Keep both levels adjacent on phones. Each shared row label appears once,
   above the two values; explicit table/header roles retain their associations. */
@media (max-width: 760px) {
  #star-levels .rating-table {
    display: block;
    width: 100%;
    border-spacing: 0;
  }
  #star-levels .rating-table colgroup { display: none; }
  #star-levels .rating-table :is(thead, tbody) { display: block; }
  #star-levels .rating-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 12px;
  }
  #star-levels .rating-table thead th {
    min-width: 0;
    padding: 20px 16px;
  }
  #star-levels .rating-table thead .rating-corner {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #star-levels .rating-table thead th:nth-child(2) { grid-column: 1; }
  #star-levels .rating-table thead th:nth-child(3) { grid-column: 2; }
  #star-levels .rating-table thead th .rating-star { font-size: 34px; }
  #star-levels .rating-table thead th > span:not(.rating-star) { font-size: 16px; }
  #star-levels .rating-table tbody th {
    grid-column: 1 / -1;
    padding: 22px 0 10px;
    border: 0;
    font-size: 16px;
  }
  #star-levels .rating-table tbody th br { display: none; }
  #star-levels .rating-table tbody td {
    min-width: 0;
    padding: 18px 16px 22px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  #star-levels .rating-table .requirement-count { font-size: 36px; }
  #star-levels .rating-method-title { font-size: 16px; }
  #star-levels .rating-method-detail { font-size: 16px; }
  #star-levels .rating-term strong { font-size: 30px; }
  #star-levels .rating-steps li { padding-left: 26px; }
  #star-levels .rating-steps li + li { margin-top: 14px; }
  #star-levels .rating-steps .rating-step-difference { min-height: 3.6em; }
}

@media (max-width: 359px) {
  #star-levels .rating-table tr { column-gap: 10px; }
  #star-levels .rating-table :is(thead th, tbody td) { padding-inline: 12px; }
  #star-levels .rating-steps .rating-step-difference { min-height: 5.4em; }
}
