/* /celpip/online-test on the CELPIP guide shell. Builds on celpip-study-guide.css (sg-*) and
   celpip-practice-guides.css (cpg-*); colours come from the celpip-seo.css tokens, light and dark. */
.celpip-ot-page>section,.celpip-ot-page>aside{scroll-margin-top:90px}
.celpip-ot-page{overflow-wrap:break-word}
.celpip-ot-page th[scope=row]{overflow-wrap:normal}
.celpip-ot-page .celpip-ot-answer{font-size:1.06em}
.celpip-ot-hero-note{max-width:62ch}
.celpip-ot-hero-note a{font-weight:650}
.celpip-ot-label{margin:18px 0 6px!important;font-weight:650}

.celpip-ot-cta{margin:26px 0!important;border-left:4px solid var(--seo-accent)!important}
.celpip-ot-cta .sg-next{margin-bottom:0}
.celpip-ot-cta .sg-next a:not(.seo-button){font-size:15px}

.celpip-ot-steps td:nth-child(2){white-space:nowrap;font-weight:600}
.celpip-ot-compare tbody td:nth-child(2){background:var(--seo-soft)}
.celpip-ot-demos{margin-top:28px}

.celpip-ot-prompt{margin:16px 0 0;padding:16px 18px;border:1px solid var(--seo-line);border-radius:10px;background:var(--seo-bg)}
.celpip-ot-prompt p{margin:6px 0}
.celpip-ot-page .celpip-ot-prompt ul{list-style:disc;padding-left:1.2em;margin:6px 0}

.celpip-ot-page .celpip-ot-typing{margin:12px 0 18px}
.celpip-ot-page .celpip-ot-typing .cpg-textarea{min-height:190px}
.celpip-ot-page .celpip-ot-typing .cpg-textarea[readonly]{cursor:default;opacity:.85}
.celpip-ot-meters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 10px}
.celpip-ot-page .celpip-ot-meter{margin:0;padding:10px 14px;border:1px solid var(--seo-line);border-radius:10px;background:var(--seo-panel);text-align:center}
.celpip-ot-meter-label{display:block;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--seo-muted)}
.celpip-ot-meter output{display:block;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums;font-size:clamp(2rem,6vw,2.6rem);line-height:1.2;letter-spacing:-.03em;color:var(--seo-text)}
.celpip-ot-typing[data-celpip-ot-state=running] .celpip-ot-meter:first-child{border-color:var(--seo-accent)}
.celpip-ot-page .cpg-actions button[aria-disabled=true]{opacity:.5;cursor:default}
.celpip-ot-page .celpip-ot-hint{margin:-2px 0 10px}

.celpip-ot-result{margin:10px 0 6px;padding:18px 20px;border:1px solid var(--seo-accent);border-radius:12px;background:var(--seo-panel)}
.celpip-ot-page .celpip-ot-result h3{margin:0 0 10px!important;font-size:19px!important}
.celpip-ot-result h3:focus{outline:2px solid var(--seo-accent);outline-offset:4px;border-radius:4px}
.celpip-ot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.celpip-ot-stats>div{padding:8px 10px;border-radius:8px;background:var(--seo-soft)}
.celpip-ot-stats dt{font-size:12.5px;line-height:1.35;color:var(--seo-muted)}
.celpip-ot-stats dd{margin:2px 0 0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}
.celpip-ot-page .celpip-ot-message{margin:0;font-size:15.5px}
.celpip-ot-result[data-celpip-ot-tier=slow]{border-style:dashed}
.celpip-ot-result .sg-next{margin-bottom:0}

@media(max-width:700px){
  .celpip-ot-stats{grid-template-columns:1fr 1fr}
  .celpip-ot-prompt{padding:14px}
}
@media(max-width:600px){
  .celpip-ot-steps td:nth-child(2){white-space:normal}
  .celpip-ot-compare tbody td:nth-child(2){background:none}
  .celpip-ot-result{padding:14px 12px}
  .celpip-ot-meters{gap:8px}
  .celpip-seo-page .seo-breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .celpip-seo-page .seo-hero{padding-top:20px;display:flex;flex-direction:column}
  .celpip-seo-page .seo-hero .seo-lede{font-size:16.5px;line-height:1.55;margin:12px 0 0}
  .celpip-seo-page .sg-hero-actions{margin-top:16px}
  .celpip-seo-page .seo-hero .seo-byline{order:1;margin:16px 0 0}
  .celpip-seo-page .seo-hero .seo-jumps{order:2}
}
@media print{.celpip-ot-typing,.celpip-ot-cta,.celpip-ot-hero-note,.celpip-ot-demos{display:none!important}}
