/* Content pages: Resume checker, Templates, Resume examples. Builds on marketing.css. */
.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 72px;
}
.site-hero {
  max-width: 760px;
  padding: 56px 0 32px;
}
.site-hero h1 {
  margin: 0 0 14px;
  font: 800 clamp(34px, 5vw, 52px) / 1.1 var(--mh-serif);
  letter-spacing: -0.01em;
}
.site-hero p {
  color: var(--mh-muted);
  font-size: 17px;
  line-height: 1.6;
}
.site-kicker {
  margin: 0 0 10px;
  color: var(--mh-accent) !important;
  font-size: 15px !important;
  font-weight: 600;
}
.site-kicker a {
  color: inherit;
}
.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.site-link {
  color: var(--mh-accent);
  font-weight: 700;
  text-decoration: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.template-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: var(--mh-card);
}
.template-card h2 {
  margin: 4px 0 4px;
  font-size: 18px;
}
.template-card p {
  margin: 0;
  color: var(--mh-muted);
  font-size: 14px;
  line-height: 1.5;
}
.template-card .site-link {
  margin-top: auto;
}
.template-shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  background: #fff;
}
.template-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s;
}
.template-shot:hover img {
  transform: scale(1.03);
}

/* Examples */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.example-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: var(--mh-card);
  color: var(--mh-ink);
  text-decoration: none;
  transition: border-color 0.16s;
}
.example-card:hover {
  border-color: var(--mh-accent);
}
.example-card span {
  color: var(--mh-muted);
  font-size: 14px;
}
.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.sample-resume {
  padding: 36px 40px;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 21, 47, 0.08);
  font-size: 14px;
  line-height: 1.5;
}
.sample-resume h2 {
  margin: 0;
  font-size: 26px;
}
.sample-resume h3 {
  margin: 20px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--mh-line);
  color: var(--mh-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sample-resume p,
.sample-resume ul {
  margin: 0 0 6px;
}
.sample-resume ul {
  padding-left: 18px;
}
.example-paper {
  margin: 0;
}
.example-paper-sheet {
  overflow: hidden;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 21, 47, 0.08);
}
.example-paper-sheet .cv {
  zoom: 0.78;
}
.sample-note {
  display: inline-block;
  margin-bottom: 12px !important;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mh-bg);
  color: var(--mh-muted);
  font-size: 11px;
}
.sample-title {
  font-weight: 600;
}
.sample-muted {
  color: var(--mh-muted);
  font-size: 13px;
}
.sample-job {
  margin-bottom: 10px;
}
.sample-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.sample-row span {
  color: var(--mh-muted);
  font-size: 13px;
  white-space: nowrap;
}
.example-advice {
  display: grid;
  gap: 18px;
}
.example-advice section {
  padding: 22px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: var(--mh-card);
}
.example-advice h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.example-advice ul,
.example-advice ol {
  margin: 0 0 8px;
  padding-left: 20px;
  line-height: 1.55;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
  list-style: none;
}
.chip-list li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mh-accent-tint);
  color: var(--mh-accent);
  font-size: 13px;
  font-weight: 600;
}
.example-more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--mh-line);
}
.example-more span {
  color: var(--mh-muted);
}
.example-more a {
  color: var(--mh-accent);
  font-weight: 600;
  text-decoration: none;
}

/* Resume checker */
.checker {
  display: grid;
  gap: 24px;
}
.checker-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 26px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: var(--mh-card);
}
.checker-drop {
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 34px 20px;
  border: 2px dashed var(--mh-line);
  border-radius: 12px;
  background: var(--mh-bg);
  text-align: center;
  cursor: pointer;
}
.checker-drop:hover,
.checker-drop:focus-within {
  border-color: var(--mh-accent);
}
.checker-drop input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.checker-drop strong {
  color: var(--mh-accent);
  font-size: 17px;
}
.checker-drop span {
  color: var(--mh-muted);
  font-size: 14px;
}
.checker-more summary {
  color: var(--mh-ink);
  font-weight: 600;
  cursor: pointer;
}
.checker-more textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}
.checker-form .marketing-button {
  justify-self: start;
}
.checker-form .marketing-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.checker-status {
  margin: 0;
  min-height: 1.2em;
  color: #b42318;
  font-weight: 600;
}
.checker-result {
  display: grid;
  gap: 18px;
}
.checker-score {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: var(--mh-card);
}
.checker-score h2 {
  margin: 0 0 6px;
  font-size: 24px;
}
.checker-score p {
  margin: 0 0 14px;
  color: var(--mh-muted);
}
.score-ring {
  --score: 0;
  --ring: #d97706;
  display: grid;
  flex: none;
  place-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 79%, transparent 80%),
    conic-gradient(var(--ring) calc(var(--score) * 1%), var(--mh-line) 0);
  text-align: center;
}
.score-ring[data-band='good'] {
  --ring: #15803d;
}
.score-ring[data-band='low'] {
  --ring: #b42318;
}
.score-ring span {
  font: 800 38px/1 var(--mh-serif);
}
.score-ring small {
  color: var(--mh-muted);
}
.checker-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.checker-category {
  padding: 20px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: var(--mh-card);
}
.checker-category h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.checker-category-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.checker-category-head span {
  color: var(--mh-muted);
  font-weight: 700;
}
.checker-bar {
  height: 6px;
  margin-bottom: 12px;
  border-radius: 99px;
  background:
    linear-gradient(var(--mh-accent), var(--mh-accent)) 0 / var(--fill, 0) 100% no-repeat,
    var(--mh-line);
}
.checker-category ul:not(.chip-list) {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
}
.checker-category li.is-ok::before,
.checker-category li.is-fix::before {
  display: inline-block;
  width: 20px;
  font-weight: 800;
}
.checker-category li.is-ok::before {
  content: '✓';
  color: #15803d;
}
.checker-category li.is-fix::before {
  content: '!';
  color: #b42318;
}
.checker-disclaimer {
  color: var(--mh-muted);
  font-size: 13px;
}
.site-faq {
  max-width: 760px;
  margin-top: 48px;
}
.site-faq ul {
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-main {
    padding: 0 16px 56px;
  }
  .site-hero {
    padding-top: 36px;
  }
  .example-layout {
    grid-template-columns: 1fr;
  }
  .sample-resume {
    padding: 22px 18px;
  }
  .checker-form,
  .checker-score {
    padding: 18px;
  }
  .checker-score {
    flex-direction: column;
    align-items: flex-start;
  }
  .checker-categories {
    grid-template-columns: 1fr;
  }
}

/* English level test */
.et-panel {
  max-width: 820px;
  padding: 28px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: var(--mh-card);
}
.et-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.et-modes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.et-mode {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 2px solid var(--mh-line);
  border-radius: 12px;
  cursor: pointer;
}
.et-mode:has(input:checked) {
  border-color: var(--mh-accent);
  background: var(--mh-accent-tint);
}
.et-mode input {
  position: absolute;
  opacity: 0;
}
.et-mode:focus-within {
  outline: 2px solid var(--mh-accent);
  outline-offset: 2px;
}
.et-mode span {
  color: var(--mh-accent);
  font-size: 13px;
  font-weight: 600;
}
.et-mode small,
.et-muted {
  color: var(--mh-muted);
  font-size: 13px;
}
.et-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}
.et-note {
  color: #b45309;
  font-size: 14px;
}
.et-before {
  margin: 16px 0 20px;
  padding-left: 20px;
  color: var(--mh-muted);
  font-size: 14px;
  line-height: 1.7;
}
.et-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}
.et-bar #etCount {
  color: var(--mh-muted);
  font-weight: 500;
}
.et-timer {
  font-variant-numeric: tabular-nums;
}
.et-timer.is-low {
  color: #b42318;
}
.et-progress {
  height: 6px;
  margin: 12px 0 24px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--mh-line);
}
.et-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--mh-accent);
  transition: width 0.3s;
}
.et-stage {
  display: grid;
  gap: 14px;
}
.et-stage h2 {
  margin: 0;
  font-size: 18px;
}
.et-stage textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
}
.et-stage > .marketing-button {
  justify-self: start;
}
.et-choices {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.et-choices legend {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.et-choice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  cursor: pointer;
}
.et-choice:has(input:checked) {
  border-color: var(--mh-accent);
  background: var(--mh-accent-tint);
}
.et-passage {
  padding: 16px 18px;
  border-left: 3px solid var(--mh-accent);
  border-radius: 0 10px 10px 0;
  background: var(--mh-bg);
  line-height: 1.7;
}
.et-read {
  margin: 0;
  padding: 18px;
  border-radius: 10px;
  background: var(--mh-bg);
  font-size: 19px;
  line-height: 1.6;
}
.et-task {
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}
.et-heard {
  margin: 0;
  font-style: italic;
}
.is-recording {
  background: #b42318 !important;
}
.et-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.et-result {
  display: grid;
  gap: 18px;
}
.et-headline {
  display: flex;
  gap: 24px;
  align-items: center;
}
.et-headline p {
  margin: 0 0 6px;
  color: var(--mh-muted);
}
.et-advice {
  color: var(--mh-ink) !important;
  font-weight: 600;
}
.et-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  background: var(--mh-accent);
  color: #fff;
  font: 800 40px var(--mh-serif);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.et-skills {
  display: grid;
  gap: 14px;
}
.et-skill-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.et-skill-head span {
  color: var(--mh-accent);
  font-weight: 800;
}
.et-meter {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.et-meter i {
  height: 8px;
  border-radius: 3px;
  background: var(--mh-line);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.et-meter i.on {
  background: var(--mh-accent);
}
.et-writing h3 {
  margin: 6px 0 8px;
}
.et-writing ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .et-panel {
    padding: 18px;
  }
  .et-headline {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media print {
  .marketing-nav,
  .marketing-footer,
  .site-hero,
  .site-faq,
  .et-no-print {
    display: none !important;
  }
  .et-panel {
    border: 0;
  }
}

[hidden] {
  display: none !important;
}

/* Aptitude test */
.ap-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.ap-palette button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  background: #fff;
  color: var(--mh-ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.ap-palette button.is-done {
  border-color: #b9cff7;
  background: var(--mh-accent-tint);
}
.ap-palette button.is-current {
  border-color: var(--mh-accent);
  box-shadow: 0 0 0 2px var(--mh-accent);
}
.ap-finish {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.ap-review {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}
.ap-review li {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mh-bg);
}
.ap-review p {
  margin: 0 0 4px;
}
.ap-q {
  font-weight: 600;
}
.is-right .ap-a {
  color: #15803d;
}
.is-wrong .ap-a {
  color: #b42318;
}

/* Resume checker: counts, overview, findings and the scan window */
.checker-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.checker-counts span {
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef1f6;
  color: #44536b;
  font-size: 13px;
  font-weight: 600;
}
.checker-counts .is-fix {
  background: #fdeeee;
  color: #b91c1c;
}
.checker-counts .is-ok {
  background: #e8f7ee;
  color: #15803d;
}
.checker-score .marketing-button + .marketing-button {
  margin-left: 8px;
  border-color: var(--mh-line);
  background: #fff;
  color: #02204c;
}
.checker-overview {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: var(--mh-card);
}
.checker-area {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 2fr 48px 86px;
  gap: 14px;
  align-items: center;
  padding: 7px 0;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.checker-area:hover b {
  color: #0954f0;
}
.checker-area i,
.checker-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecf3;
}
.checker-area i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  border-radius: inherit;
  background: #d97706;
}
.checker-area.is-good i::after {
  background: #16a34a;
}
.checker-area.is-low i::after {
  background: #dc2626;
}
.checker-area span {
  font-weight: 700;
  text-align: right;
}
.checker-area small {
  color: var(--mh-muted);
  font-size: 12px;
}
.checker-categories {
  grid-template-columns: 1fr;
}
details.checker-category > summary {
  cursor: pointer;
  list-style: none;
}
details.checker-category > summary::-webkit-details-marker {
  display: none;
}
details.checker-category > summary h3::before {
  content: '▸';
  display: inline-block;
  margin-right: 8px;
  color: #8a94a6;
  transition: transform 0.15s;
}
details.checker-category[open] > summary h3::before {
  transform: rotate(90deg);
}
.checker-about {
  margin: 12px 0 0;
  color: var(--mh-muted);
  font-size: 14px;
}
.checker-category li b {
  display: block;
  font-size: 14px;
}
.checker-category li span {
  color: #33415c;
}
.checker-category li em {
  display: block;
  margin-top: 6px;
  color: #8a94a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.checker-category ul.checker-quotes {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.checker-category ul.checker-quotes li {
  margin: 4px 0 0;
  padding: 6px 10px;
  border-left: 3px solid #f0b4b4;
  border-radius: 4px;
  background: #fbf6f6;
  color: #44536b;
  font-size: 13px;
}
.checker-category ul.checker-quotes li::before {
  content: none;
}
.scan-dialog {
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(2 32 76 / 0.3);
}
.scan-dialog[open] {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.scan-dialog::backdrop {
  background: rgb(2 32 76 / 0.55);
}
.scan-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(160deg, #02204c, #0954f0);
}
.scan-page {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  width: 160px;
  height: 214px;
  padding: 18px 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.scan-page i {
  height: 5px;
  border-radius: 3px;
  background: #d5dcea;
}
.scan-page i.thick {
  height: 8px;
  background: #9fb2d6;
}
.scan-page i.gap {
  height: 4px;
  background: none;
}
.scan-page .w30 {
  width: 30%;
}
.scan-page .w40 {
  width: 40%;
}
.scan-page .w60 {
  width: 60%;
}
.scan-page .w70 {
  width: 70%;
}
.scan-page .w80 {
  width: 80%;
}
.scan-page .w85 {
  width: 85%;
}
.scan-page .w90 {
  width: 90%;
}
.scan-line {
  position: absolute;
  inset: 0 0 auto;
  height: 44px;
  border-bottom: 2px solid #0171ff;
  background: linear-gradient(to bottom, transparent, rgb(1 113 255 / 0.22));
  animation: scan-sweep 2.2s ease-in-out infinite alternate;
}
@keyframes scan-sweep {
  from {
    transform: translateY(-44px);
  }
  to {
    transform: translateY(214px);
  }
}
.scan-text {
  padding: 28px 30px;
}
.scan-text h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.scan-steps {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #8a94a6;
  font-size: 14px;
}
.scan-steps li::before {
  content: '○';
  display: inline-block;
  width: 22px;
}
.scan-steps .is-now {
  color: #02204c;
  font-weight: 600;
}
.scan-steps .is-now::before {
  content: '◉';
  color: #0954f0;
}
.scan-steps .is-done {
  color: #44536b;
}
.scan-steps .is-done::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
}
.scan-fact {
  min-height: 150px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f1f6ff;
}
.scan-fact span {
  color: #0954f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scan-fact strong {
  display: block;
  margin: 4px 0;
  color: #02204c;
  font:
    800 30px var(--mh-display, 'Plus Jakarta Sans'),
    sans-serif;
}
.scan-fact p {
  margin: 0 0 6px;
  color: #33415c;
  font-size: 14px;
  line-height: 1.5;
}
.scan-fact small {
  color: #8a94a6;
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .scan-line {
    animation: none;
    transform: translateY(80px);
  }
}
@media (max-width: 640px) {
  .scan-dialog[open] {
    grid-template-columns: 1fr;
  }
  .scan-visual {
    padding: 16px;
  }
  .scan-page {
    width: 110px;
    height: 120px;
  }
  .checker-area {
    grid-template-columns: 1fr 44px;
  }
  .checker-area i {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .checker-area small {
    display: none;
  }
}

/* Tool pages: selling points, report header, name-and-email step, chat simulation */
.tool-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.tool-points li {
  padding: 14px 16px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: #fff;
  color: var(--mh-muted);
  font-size: 13.5px;
  line-height: 1.4;
}
.tool-points strong {
  display: block;
  color: #02204c;
  font-size: 16px;
}
.who-dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 30px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgb(2 32 76 / 0.3);
}
.who-dialog::backdrop {
  background: rgb(2 32 76 / 0.6);
  backdrop-filter: blur(3px);
}
.who-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}
.who-dialog h2 {
  margin: 12px 0 2px;
  font-size: 24px;
}
.who-dialog p {
  margin: 0 0 12px;
  color: var(--mh-muted);
  font-size: 14px;
  line-height: 1.5;
}
.who-dialog .who-test {
  color: #0954f0;
  font-weight: 600;
}
.who-dialog label {
  display: block;
  margin: 12px 0;
  color: #33415c;
  font-size: 13px;
  font-weight: 600;
}
.who-dialog input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #cfd6e2;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}
.who-dialog .marketing-button {
  width: 100%;
  margin: 6px 0 12px;
}
.who-dialog small {
  display: block;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.45;
}
.who-dialog .who-error {
  color: #b91c1c;
  font-weight: 600;
}
.report-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(120deg, #02204c, #0954f0);
  color: #fff;
}
.report-who span {
  display: block;
  color: #b9d3ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.report-who strong {
  display: block;
  font-size: 22px;
}
.report-who small {
  color: #dbe7ff;
}
.report-actions {
  display: flex;
  gap: 8px;
}
.report-actions .marketing-button {
  min-height: 42px;
}
.report-actions .marketing-button-primary {
  background: #fff;
  color: #02204c;
}
.report-actions .marketing-button-secondary {
  border-color: rgb(255 255 255 / 0.5);
  background: none;
  color: #fff;
}
.report-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #dbe7ff;
  font-size: 13px;
}
.ct-run:not([hidden]) {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}
.ct-policy {
  padding: 18px;
  border-radius: 12px;
  background: #f1f6ff;
  align-self: start;
}
.ct-policy span {
  color: #0954f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ct-policy h2 {
  margin: 6px 0 10px;
  font-size: 18px;
}
.ct-policy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #33415c;
  font-size: 14px;
  line-height: 1.45;
}
.ct-log {
  display: grid;
  gap: 10px;
  align-content: start;
  height: 380px;
  margin: 14px 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: #fafbfd;
}
.ct-msg {
  max-width: 82%;
}
.ct-msg small {
  color: #8a94a6;
  font-size: 12px;
}
.ct-msg p {
  margin: 2px 0 0;
  padding: 10px 14px;
  border-radius: 4px 14px 14px;
  background: #fff;
  border: 1px solid #e3e8f0;
  font-size: 14.5px;
  line-height: 1.45;
}
.ct-msg.is-agent {
  justify-self: end;
  text-align: right;
}
.ct-msg.is-agent p {
  border: 0;
  border-radius: 14px 4px 14px 14px;
  background: #0954f0;
  color: #fff;
  text-align: left;
}
.ct-msg.is-typing p {
  color: #8a94a6;
  letter-spacing: 3px;
}
.ct-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
.ct-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd6e2;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}
.ct-review {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.ct-review > li {
  padding: 16px 18px;
  border: 1px solid var(--mh-line);
  border-left: 4px solid #16a34a;
  border-radius: 10px;
}
.ct-review > li.is-mid {
  border-left-color: #d97706;
}
.ct-review > li.is-wrong {
  border-left-color: #dc2626;
}
.ct-review p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.5;
}
.ct-said {
  color: var(--mh-muted);
}
.ct-yours {
  font-weight: 600;
}
.ct-notes {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}
.ct-notes li::before {
  display: inline-block;
  width: 20px;
  font-weight: 700;
}
.ct-notes .is-bad {
  color: #b91c1c;
}
.ct-notes .is-bad::before {
  content: '✗';
}
.ct-notes .is-miss {
  color: #92400e;
}
.ct-notes .is-miss::before {
  content: '!';
}
.ct-notes .is-good {
  color: #15803d;
}
.ct-notes .is-good::before {
  content: '✓';
}
.ct-review .ct-model {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f1f6ff;
  color: #33415c;
}
@media (max-width: 760px) {
  .ct-run:not([hidden]) {
    grid-template-columns: 1fr;
  }
  .report-head {
    grid-template-columns: 1fr;
  }
  .ct-log {
    height: 300px;
  }
}
@media print {
  .report-head {
    background: none;
    color: #02204c;
    border: 2px solid #02204c;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .report-who span,
  .report-who small {
    color: #44536b;
  }
  #ctStart,
  #apStart,
  #etStart,
  .checker-form {
    display: none !important;
  }
}

/* ---- Test landing sections (English, Aptitude, Chat Support) ---------------------------- */
.tl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tl-section {
  padding: 48px 0 8px;
}
.tl-section > h2 {
  margin: 0 0 8px;
  color: #02204c;
  font: 800 clamp(26px, 3.4vw, 34px) / 1.15 var(--mh-serif);
}
.tl-section > p.tl-lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--mh-muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.tl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.tl-card {
  padding: 22px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: #fff;
}
.tl-card h3 {
  margin: 0 0 6px;
  color: #02204c;
  font-size: 18px;
}
.tl-card p {
  margin: 0;
  color: var(--mh-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.tl-card small {
  display: block;
  margin-top: 12px;
  color: #0a3fb8;
  font-size: 13px;
  font-weight: 600;
}
.tl-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tl;
}
.tl-steps li {
  position: relative;
  padding: 22px 22px 22px 70px;
  border-radius: 16px;
  background: #f3f7ff;
  color: var(--mh-muted);
  font-size: 14.5px;
  line-height: 1.55;
  counter-increment: tl;
}
.tl-steps li::before {
  content: counter(tl);
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #0954f0;
  color: #fff;
  font-weight: 800;
}
.tl-steps strong {
  display: block;
  margin-bottom: 4px;
  color: #02204c;
  font-size: 16px;
}
.tl-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}
.tl-sample {
  padding: 24px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: #fff;
}
.tl-sample-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6eeff;
  color: #0a3fb8;
  font-size: 12px;
  font-weight: 700;
}
.tl-sample-q {
  margin: 0 0 14px;
  color: #02204c;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}
.tl-sample ol {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.tl-sample ol li {
  padding: 10px 14px;
  border: 1px solid var(--mh-line);
  border-radius: 10px;
  font-size: 14.5px;
}
.tl-sample ol li.is-right {
  border-color: #3d9a6b;
  background: #eaf7f0;
  font-weight: 600;
}
.tl-sample details summary {
  color: #0954f0;
  font-weight: 700;
  cursor: pointer;
}
.tl-sample details p {
  margin: 8px 0 0;
  color: var(--mh-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.tl-report {
  padding: 24px;
  border-radius: 16px;
  background: #02204c;
  color: #fff;
}
.tl-report-tag {
  color: #bfd4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tl-report-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 16px;
}
.tl-report-head b {
  font: 800 44px/1 var(--mh-serif);
}
.tl-report-head span {
  color: #d6e3ff;
  font-size: 15px;
}
.tl-bars {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.tl-bars li {
  display: grid;
  grid-template-columns: 150px 1fr 60px;
  gap: 12px;
  align-items: center;
  color: #d6e3ff;
  font-size: 14px;
}
.tl-bars i {
  display: block;
  height: 8px;
  border-radius: 6px;
  background:
    linear-gradient(#0171ff, #0171ff) left / var(--w, 50%) 100% no-repeat,
    #0b3270;
}
.tl-bars b {
  color: #fff;
  text-align: right;
}
.tl-report p {
  margin: 0;
  color: #d6e3ff;
  font-size: 14px;
  line-height: 1.55;
}
.tl-who {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl-who li {
  padding: 10px 16px;
  border: 1px solid var(--mh-line);
  border-radius: 999px;
  background: #fff;
  color: #02204c;
  font-size: 14.5px;
  font-weight: 600;
}
.tl-levels {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.tl-levels th,
.tl-levels td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mh-line);
  text-align: left;
  vertical-align: top;
}
.tl-levels th {
  color: #02204c;
  white-space: nowrap;
}
.tl-levels td {
  color: var(--mh-muted);
  line-height: 1.5;
}
.tl-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f3f7ff;
  color: #3d4c66;
  font-size: 14px;
  line-height: 1.55;
}
.tl-cta {
  margin: 48px 0 0;
  padding: 32px;
  border-radius: 20px;
  background: #eef4ff;
  text-align: center;
}
.tl-cta h2 {
  margin: 0 0 8px;
  color: #02204c;
  font: 800 28px/1.2 var(--mh-serif);
}
.tl-cta p {
  margin: 0 0 18px;
  color: var(--mh-muted);
}
[data-test-info][hidden] {
  display: none !important;
}
@media (max-width: 560px) {
  .tl-bars li {
    grid-template-columns: 110px 1fr 44px;
  }
  .tl-steps li {
    padding-left: 64px;
  }
}
[data-test-info] + .et-panel {
  margin-top: 48px;
}

/* Fair-play notice during tests and the line on the report */
.integrity-notice {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff4e5;
  border: 1px solid #f5c27a;
  color: #6b3d00;
  font-size: 14px;
}
.report-integrity {
  margin: 10px 0 0;
  font-size: 13px;
  opacity: 0.9;
}
.report-integrity.is-flagged {
  font-weight: 700;
}

/* ---- Certificate: example on the English page, box on the result, and /verify ----------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tl-cert {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 32px 24px;
  border: 1px solid #dce5f5;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0954f0, #02204c) border-box;
  border: 3px solid transparent;
  color: #3d4c66;
  text-align: center;
  font-size: 14px;
}
.tl-cert-tag {
  justify-self: start;
  color: #0954f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tl-cert-title {
  color: #02204c;
  font: 800 24px/1.2 var(--mh-serif);
}
.tl-cert-name {
  margin: 8px 0 2px;
  color: #02204c;
  font: 700 26px/1.2 var(--mh-serif);
}
.tl-cert-level {
  color: #0954f0;
  font-size: 18px;
}
.tl-cert small {
  margin-top: 10px;
  color: #5a6880;
}
.et-certificate {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #dce5f5;
  border-radius: 14px;
  background: #f6f9ff;
}
.et-certificate.is-ready {
  border-color: #0954f0;
}
.et-certificate h3 {
  margin: 0 0 6px;
  color: #02204c;
}
.et-certificate p {
  margin: 0 0 12px;
}

.vf-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.vf-form input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #c9d6ee;
  border-radius: 10px;
  font: 600 16px/1 inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vf-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #b42318;
}
.vf-result {
  padding: 8px 0 48px;
}
.vf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.vf-valid {
  margin: 0;
  color: #15803d;
  font-weight: 700;
}
/* Certificate pages: portrait A4. Sizes use container units, so the same layout fills the
   screen width and an exact 210mm page when printed. 1cqw = 1% of the page width. */
#vfSheets {
  display: grid;
  gap: 24px;
  justify-items: center;
}
/* The page width is the size container, so 1cqw is 1% of the page, on screen and on paper. */
.cert-page {
  width: min(100%, 820px);
  container-type: inline-size;
  page: cert;
}
.cert-sheet {
  --navy: #02204c;
  --blue: #0954f0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 210 / 297;
  padding: 7cqw 9cqw 6cqw;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(2, 32, 76, 0.12);
  color: #44536b;
  font-family: Inter, sans-serif;
  text-align: center;
  page: cert;
}
.cert-sheet > * {
  margin: 0;
}
.cert-bar {
  position: absolute;
  right: 0;
  left: 0;
  height: 0.6cqw;
  background: linear-gradient(90deg, var(--blue) 22%, var(--navy) 22% 89%, var(--blue) 89%);
}
.cert-bar.is-top {
  top: 0;
}
.cert-bar.is-bottom {
  bottom: 0;
  background: linear-gradient(90deg, var(--blue) 11%, var(--navy) 11% 74%, var(--blue) 74%);
}
.cert-logo {
  display: flex;
  gap: 1.6cqw;
  align-items: center;
  color: var(--navy);
  font-size: 5.4cqw;
}
.cert-logo img {
  width: 6.4cqw;
  height: 6.4cqw;
}
.cert-logo .wordmark {
  font-style: italic;
  font-weight: 800;
}
.cert-title {
  margin-top: 9cqw !important;
  color: var(--navy);
  font: 700 4.4cqw/1.2 var(--mh-serif, 'Plus Jakarta Sans', sans-serif);
}
.cert-title.is-small {
  margin-top: 8cqw !important;
  font-size: 3.9cqw;
}
.cert-line {
  margin-top: 4cqw !important;
  font-size: 1.9cqw;
}
.cert-front .cert-line:first-of-type {
  margin-top: 9cqw !important;
}
.cert-name {
  margin-top: 2cqw !important;
  color: var(--navy);
  font: italic 700 4.8cqw/1.2 var(--mh-serif, 'Plus Jakarta Sans', sans-serif);
}
.cert-test {
  margin-top: 1.6cqw !important;
  color: var(--navy);
  font-size: 2.1cqw;
  font-weight: 700;
}
.cert-level {
  display: flex;
  gap: 2cqw;
  align-items: center;
  margin-top: 1cqw !important;
  color: var(--navy);
  font-size: 2.9cqw;
}
.cert-level b {
  color: var(--blue);
  font: 800 3.6cqw/1 var(--mh-serif, 'Plus Jakarta Sans', sans-serif);
}
.cert-level i {
  width: 1px;
  height: 3.4cqw;
  background: #c9d6ee;
}
.cert-scale {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5cqw;
  width: 106%;
  margin-top: 4cqw !important;
  padding: 0;
  list-style: none;
}
.cert-scale li {
  padding: 1.5cqw 0;
  border-radius: 0.5cqw;
  background: color-mix(in srgb, #0954f0 calc(100% - var(--i) * 8.5%), #e8eef8);
  color: #fff;
  font-size: 1.25cqw;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cert-scale li:first-child {
  background: var(--navy);
}
.cert-scale li:nth-child(n + 9) {
  color: var(--navy);
}
.cert-scale li.is-on {
  outline: 0.3cqw solid var(--navy);
  outline-offset: 0.2cqw;
  box-shadow: 0 1.4cqw 0 -1.1cqw var(--blue);
  font-weight: 800;
}
.cert-caption {
  margin-top: 1.8cqw !important;
  color: #5a6880;
  font-size: 1.4cqw;
  white-space: pre;
}
.cert-assessed {
  margin-top: 5cqw !important;
  color: var(--navy);
  font-size: 1.7cqw;
  font-weight: 600;
}
.cert-issuer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto !important;
  padding: 3cqw 0;
  border-top: 1px solid #dce5f5;
  border-bottom: 1px solid #dce5f5;
  text-align: left;
}
.cert-issuer > div:first-child {
  display: grid;
  gap: 0.8cqw;
}
.cert-issuer small {
  font-size: 1.4cqw;
}
.cert-issuer strong {
  color: var(--navy);
  font-size: 2cqw;
}
.cert-seal {
  display: grid;
  justify-items: center;
  gap: 0.8cqw;
}
.cert-seal b {
  display: grid;
  place-items: center;
  width: 6.4cqw;
  height: 6.4cqw;
  border: 0.4cqw solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font: 800 3.2cqw/1 var(--mh-serif, 'Plus Jakarta Sans', sans-serif);
}
.cert-seal small {
  color: var(--navy);
  font-size: 1.1cqw;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
/* Practice certificates: a dashed grey seal and a lighter title, so they are not mistaken for
   the full certificate. */
.is-practice .cert-seal b {
  border-style: dashed;
  border-color: #8b97ad;
  color: #5a6880;
}
.is-practice .cert-title {
  color: #2b3a55;
}
.is-practice .cert-caption {
  white-space: normal;
}
.cert-foot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 3cqw !important;
  font-size: 1.35cqw;
  text-align: left;
}
.cert-foot > div {
  display: grid;
  gap: 0.8cqw;
}
.cert-foot strong {
  color: var(--navy);
}
.cert-foot .is-right {
  text-align: right;
}
.cert-foot.is-line {
  margin-top: auto !important;
  padding-top: 2.4cqw;
  border-top: 1px solid #dce5f5;
}
.cert-meta {
  margin-top: 2cqw !important;
  font-size: 1.6cqw;
  white-space: pre;
}
.cert-overall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4cqw !important;
  padding: 3.4cqw 0;
  border-top: 1px solid #dce5f5;
  border-bottom: 1px solid #dce5f5;
  text-align: left;
}
.cert-overall div {
  display: grid;
  gap: 1.4cqw;
  font-size: 1.6cqw;
}
.cert-overall strong,
.cert-rows-head strong {
  color: var(--navy);
  font-size: 2cqw;
}
.cert-overall > b {
  color: var(--blue);
  font: 800 4cqw/1 var(--mh-serif, 'Plus Jakarta Sans', sans-serif);
}
.cert-rows-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin-top: 4cqw !important;
}
.cert-rows-head strong {
  font-size: 2.4cqw;
}
.cert-rows-head span {
  font-size: 1.5cqw;
}
.cert-rows {
  width: 100%;
  margin-top: 3cqw !important;
  border-top: 1px solid #dce5f5;
}
.cert-row {
  display: flex;
  gap: 3cqw;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2.4cqw 2.4cqw;
  border-bottom: 1px solid #dce5f5;
  background: #f5f8fd;
  text-align: left;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cert-row:nth-child(even) {
  background: #fff;
}
.cert-row div {
  display: grid;
  gap: 1.4cqw;
  max-width: 62%;
}
.cert-row strong {
  color: var(--navy);
  font-size: 1.8cqw;
}
.cert-row span {
  font-size: 1.45cqw;
  line-height: 1.45;
}
.cert-row > b {
  min-width: 10cqw;
  padding: 0.9cqw 1.4cqw;
  border-radius: 0.6cqw;
  background: #e3ecfd;
  color: var(--blue);
  font-size: 1.5cqw;
  text-align: center;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cert-row > b.is-muted {
  background: #eceff3;
  color: #5a6880;
}
.cert-h3 {
  align-self: flex-start;
  margin-top: 3.4cqw !important;
  color: var(--navy);
  font-size: 1.9cqw;
}
.cert-small {
  align-self: flex-start;
  margin-top: 1.6cqw !important;
  font-size: 1.45cqw;
  line-height: 1.55;
  text-align: left;
}
@page cert {
  size: A4 portrait;
  margin: 0;
}
@media print {
  .vf-actions,
  .vf-hero {
    display: none !important;
  }
  .vf-result {
    padding: 0;
  }
  #vfSheets {
    display: block;
  }
  .cert-page {
    width: 210mm;
    break-after: page;
  }
  .cert-page:last-child {
    break-after: auto;
  }
  .cert-sheet {
    width: 210mm;
    height: 297mm;
    aspect-ratio: auto;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-page .site-main {
    padding: 0 !important;
    max-width: none !important;
  }
}
/* Example certificate pages on the English test page */
.cert-page.is-sample {
  max-width: 520px;
  margin: 0 auto;
}
.cert-page.is-sample .cert-sheet {
  border: 1px solid #dce5f5;
}

/* Sign-in box shown when a visitor presses Start on a test */
.need-login {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid #c9d8f7;
  border-radius: 12px;
  background: #f3f7ff;
  text-align: left;
}
.need-login p {
  margin: 0 0 12px;
  color: #33415c;
}
.need-login div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Chat test: best-reply and email tasks */
.ct-best:not([hidden]) {
  display: grid;
  gap: 14px;
}
.ct-context {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f1f6ff;
  color: #33415c;
  font-size: 14px;
}
.ct-options {
  display: grid;
  gap: 10px;
}
.ct-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #cfd6e2;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14.5px;
  line-height: 1.45;
}
.ct-options label:has(input:checked) {
  border-color: #0954f0;
  background: #f1f6ff;
}
.ct-best > .marketing-button {
  justify-self: start;
}
.ct-email {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  background: #fafbfd;
}
.ct-email small {
  color: #8a94a6;
  font-size: 12px;
}
.ct-email p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
}
.ct-email-form {
  display: grid;
  gap: 8px;
}
.ct-email-form label {
  font-weight: 600;
  font-size: 14px;
}
.ct-email-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd6e2;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}
.ct-email-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ct-why {
  color: #33415c;
}
.ct-review .ct-model {
  white-space: pre-line;
}
.ct-review .ct-option-list {
  display: grid;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}
.ct-review .ct-option-list li {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fafbfd;
}
.ct-review .ct-option-list li.is-best {
  background: #ecfdf3;
}
.ct-review .ct-option-list li.is-picked:not(.is-best) {
  background: #fef2f2;
}
