/* Parents guide only; existing account/progress behavior is shared unchanged. */
.parents-guide { --pg-blue: #192896; --pg-teal: var(--guide-learning-text); --pg-purple: var(--guide-diagnosis-text); --pg-orange: var(--guide-rule-text); color: #333; }
.parents-guide .section-container { width: min(calc(100% - 80px), 1360px); margin-inline: auto; }
.parents-guide a, .parents-guide button { touch-action: manipulation; }
.parents-guide a:focus-visible, .parents-guide button:focus-visible, .parents-guide [tabindex="-1"]:focus-visible { outline: 3px solid #192896; outline-offset: 4px; }
.parents-guide [id] { scroll-margin-top: 24px; }
.parents-guide .pg-hero { --content-top-hero-bg: #ededff; }
.parents-guide .pg-hero .content-top-hero__intro { min-height: 400px; padding: 50px 24px 100px; }
.parents-guide .pg-hero .content-top-hero__copy { width: min(54%, 840px); }
.parents-guide .pg-hero .content-top-hero__title { white-space: normal; }
.pg-hero__lead { font-weight: 700; font-size: 1.125rem; }
.pg-hero p { line-height: 1.9; font-size: .9375rem; }
.pg-hero__image { position: absolute; z-index: 1; width: min(20%, 285px); height: auto; bottom: 0; }
.pg-hero__image--left { left: max(20px, calc((100% - 1440px)/2)); }
.pg-hero__image--right { right: max(20px, calc((100% - 1440px)/2)); width: min(17%, 240px); }
.pg-paper { background-color: #fff; background-image: linear-gradient(#eee 1px, transparent 1px), linear-gradient(90deg, #eee 1px, transparent 1px); background-size: 40px 40px; }
.pg-heading { text-align: center; margin-bottom: 48px; }
.pg-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.6; font-weight: 800; }
.pg-heading h2 span { color: var(--pg-blue); }
.pg-heading p { margin: 22px 0 0; font-weight: 700; line-height: 1.9; }
.pg-heading--wave h2::after { content: ''; display: block; margin: 12px auto 0; width: 85px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 85 12'%3E%3Cpath d='M1 6q7-10 14 0t14 0t14 0t14 0t14 0t12 0' stroke='%23192896' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.pg-actions { padding: 20px 0 80px; }
.pg-actions__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px; margin-bottom: 55px; }
/* Separate readable text, original decorative colors, and large white numerals. */
.pg-tone--teal { --pg-accent: var(--pg-teal); --pg-line: #1da895; --pg-number-bg: var(--guide-learning-bg); --pg-arrow: #fff; --pg-band: #1da695; }
.pg-tone--purple { --pg-accent: var(--pg-purple); --pg-line: #7d46b4; --pg-number-bg: var(--guide-diagnosis-bg); --pg-arrow: #fff; }
.pg-tone--orange { --pg-accent: var(--pg-orange); --pg-line: #e07400; --pg-number-bg: var(--guide-rule-bg); --pg-arrow: #fff; }
.pg-action { display: flex; flex-direction: column; position: relative; min-width: 0; color: #444; background: #fff; border: 2px solid var(--pg-line); border-radius: 16px; text-decoration: none; }
.pg-action__good { position: relative; align-self: center; max-width: calc(100% - 20px); margin-top: -21px; padding: 5px 16px; border: 2px solid var(--pg-line); background: #fff; color: var(--pg-accent); border-radius: 6px; font-weight: 700; text-align: center; }
.pg-action__good::after { position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; border-right: 2px solid var(--pg-line); border-bottom: 2px solid var(--pg-line); background: #fff; content: ''; transform: translateX(-50%) rotate(45deg); pointer-events: none; }
.pg-action > img { height: 210px; width: 100%; padding: 20px 30px 10px; object-fit: contain; }
.pg-action__title { display: flex; align-items: center; gap: 12px; padding: 10px 18px; }
.pg-action h3 { margin: 0; color: var(--pg-accent); font-size: 1.5rem; line-height: 1.5; }
.pg-number { display: grid; flex-shrink: 0; place-items: center; width: max(48px, 2em); aspect-ratio: 1; background: var(--pg-number-bg); color: #fff; border-radius: 50%; font-size: max(20px, 1.25rem); font-weight: 700; line-height: 1; }
.pg-action p { padding: 0 20px; margin: 12px 0 26px; font-size: .9375rem; line-height: 1.8; }
.pg-action__arrow { display: flex; flex: 0 0 1.5rem; height: 1.5rem; margin-top: auto; align-items: center; justify-content: center; background: var(--pg-band, var(--pg-line)); color: var(--pg-arrow); border-radius: 0 0 12px 12px; font-size: 0; }
.pg-action__arrow::after { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ''; transform: translateY(-.16rem) rotate(45deg); }
.pg-action:hover { box-shadow: 0 0 0 2px var(--pg-line); }
.pg-feature { padding: 24px 36px 36px; margin-top: 40px; border: 2px solid var(--pg-line); border-radius: 16px; background: #fff; }
.pg-feature__heading { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 28px; }
.pg-feature__heading .pg-number { width: max(80px, 2em); }
.pg-feature__heading h2 { color: var(--pg-accent); font-size: clamp(1.5rem,2.2vw,2rem); margin: 0; line-height: 1.5; }
.pg-feature__heading p { flex: 1 1 350px; margin: 0 0 0 26px; line-height: 1.8; font-size: .9375rem; }
.pg-course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pg-course { display: flex; flex-direction: column; min-width: 0; padding: 0 24px 20px; border-radius: 10px; background: #fafafa; color: #444; text-decoration: none; }
.parents-guide .pg-feature .pg-course { border: 2px solid #b8cee2; cursor: pointer; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.parents-guide .pg-feature .pg-course:focus-visible { border-color: #4385bf; }
@media (hover: hover) and (pointer: fine) {
  .parents-guide .pg-feature .pg-course:hover { transform: translateY(-4px); border-color: #4385bf; box-shadow: 0 6px 16px rgb(0 70 130 / 12%); }
}
@media (prefers-reduced-motion: reduce) {
  .parents-guide .pg-feature .pg-course { transition: none; }
}
.pg-course > img { height: 235px; width: 100%; object-fit: contain; padding: 10px 0 15px; }
.pg-course h3 { margin: 0 0 14px; text-align: center; color: var(--pg-accent); font-size: 1.25rem; line-height: 1.6; }
.pg-course h3 small { display: block; color: #555; font-size: .875rem; font-weight: 400; overflow-wrap: anywhere; }
.pg-course p { font-size: .9375rem; line-height: 1.8; margin: auto 0 0; }
.pg-learning-flow { background: #ccf3ef; color: #292929; font-weight: 700; padding: 15px; border-radius: 8px; margin: 24px 0 0; text-align: center; line-height: 1.8; }
.pg-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; padding: 0; margin: 0; }
.pg-steps li { position: relative; padding: 25px; background: #fafafa; border-radius: 10px; }
.pg-steps li + li::before { content: '▶'; position: absolute; left: -26px; top: calc(50% - .7em); color: var(--pg-line); }
.pg-steps a { display: block; color: inherit; text-decoration: none; text-underline-offset: .2em; }
.pg-steps a:hover { text-decoration: underline; }
.pg-steps h3 { color: var(--pg-accent); font-size: 1.25rem; margin: 0 0 15px; }
.pg-steps p { margin: 0; line-height: 1.9; font-size: .9375rem; }
.pg-first { padding: 65px 0 85px; }
.pg-first__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.pg-first__grid article { display: flex; flex-direction: column; }
.pg-first h3 { color: #fff; background: var(--pg-blue); padding: 18px 12px; text-align: center; border-radius: 10px; font-size: 1.375rem; margin: 0 0 25px; }
.pg-first__grid article:nth-child(2) { flex-direction: column-reverse; }
.pg-first__grid article:nth-child(2) h3 { margin: 25px 0 0; }
.pg-first__grid article > div { display: flex; align-items: center; gap: 20px; flex: 1; }
.pg-first img { width: 48%; height: 270px; object-fit: contain; }
.pg-first p { flex: 1; line-height: 1.9; font-size: .9375rem; }
.pg-help { padding: 50px 35px; margin: 0 auto 65px; max-width: 1360px; }
.pg-help__links { display: flex; justify-content: center; gap: 100px; }
.pg-button { position: relative; display: flex; justify-content: center; align-items: center; min-height: 54px; padding: 16px 48px 16px 28px; border: 0; border-radius: 999px; background: var(--pg-blue); color: #fff; text-align: center; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.7; }
.pg-button span { position: absolute; right: 24px; font-size: 1.8rem; }
.pg-button--pink { background: #c82f60; }
.pg-button:hover { background: #101c70; }
.pg-button--pink:hover { background: #a0234c; }
.parents-guide .progress-section--parents-guide { --color-primary-dark: #192896; background-color: #fff; background-image: repeating-linear-gradient(45deg,#dff8f6 0,#dff8f6 18px,transparent 18px,transparent 40px); }
.parents-guide .progress-section--parents-guide .section-heading h2 span { color: var(--pg-blue); }
.parents-guide .progress-section--parents-guide .section-heading p { max-width: 850px; margin-inline: auto; }
.parents-guide .progress-section--parents-guide .learning-button--quiz { background: #087c72; border-color: #087c72; }
.parents-guide .progress-section--parents-guide .progress-card__history, .parents-guide .progress-section--parents-guide .progress-card__login { display: inline-flex; min-height: 44px; align-items: center; white-space: normal; }
.pg-accounts { padding: 75px 0 50px; }
.pg-accounts__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.pg-account { border: 1px solid #999; border-radius: 16px; background: #f3fbff; overflow: hidden; }
.pg-account--parent { background: #fff6f9; }
.pg-account > h3 { padding: 14px; text-align: center; margin: 0; color: #fff; background: #247f9d; font-size: 1.25rem; }
.pg-account--parent > h3 { background: #ab3c5c; }
.pg-account__intro { display: flex; gap: 22px; padding: 25px; align-items: center; }
.pg-account__intro > img { width: 115px; height: 135px; object-fit: contain; }
.pg-account h4 { color: #176f89; margin: 0 0 12px; line-height: 1.7; }
.pg-account--parent h4 { color: #ab3c5c; }
.pg-account__intro p { font-size: .9375rem; line-height: 1.8; margin: 0; }
.pg-account__tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 0 25px 25px; }
.pg-account--parent .pg-account__tools { grid-template-columns: repeat(4,minmax(0,1fr)); }
.pg-account__tools a { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 8px; border: 1px solid #929292; border-radius: 8px; background: #fff; color: var(--pg-blue); text-align: center; font-size: .8125rem; font-weight: 700; text-decoration: none; line-height: 1.6; }
.pg-account__tools .pg-account__tool--teal { color: var(--pg-teal); }
.pg-account__tools .pg-account__tool--purple { color: var(--pg-purple); }
.pg-account__tools .pg-account__tool--orange { color: var(--pg-orange); }
.pg-account__tools img { width: 60px; height: 60px; object-fit: contain; }
.pg-accounts__note { line-height: 1.8; text-align: center; font-size: .875rem; margin: 25px 0 0; }
.pg-register { width: min(calc(100% - 80px),1360px); padding: 45px 30px; margin: 0 auto 100px; text-align: center; }
.pg-register .pg-button { width: min(100%,440px); margin: auto; }
.parents-guide .pg-register .pg-heading { margin-bottom: 30px; }
.parents-guide .pg-action, .parents-guide .pg-feature, .pg-account { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .pg-actions__grid { gap: 24px; }
  .pg-action h3 { font-size: 1.2rem; }
  .pg-action__title { gap: 8px; padding-inline: 10px; }
  .pg-action__title .pg-number { width: max(38px, 2em); }
  .pg-course { padding-inline: 15px; }
  .pg-first__grid { gap: 25px; }
  .pg-first__grid article > div { flex-direction: column; }
  .pg-first img { width: 70%; height: 220px; }
  .pg-account__tools, .pg-account--parent .pg-account__tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .parents-guide .section-container { width: calc(100% - 40px); }
  .pg-actions__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 28px; }
  .pg-action h3 { font-size: 1.5rem; }
  .pg-action__title { padding-inline: 20px; }
  .pg-feature { padding: 24px; }
  .pg-feature__heading p { flex-basis: 100%; margin-left: 0; }
  .pg-course > img { height: 190px; }
  .pg-course h3 { font-size: 1.125rem; }
  .pg-steps { gap: 26px; }
  .pg-steps li { padding: 18px; }
  .pg-steps li + li::before { left: -21px; }
  .pg-accounts__grid { gap: 24px; }
  .pg-account__intro { flex-direction: column; padding: 20px; }
  .pg-help__links { gap: 30px; }
  .pg-register { width: calc(100% - 40px); }
}
@media (max-width: 767px) {
  .parents-guide .section-container { width: calc(100% - 32px); }
  .parents-guide .pg-hero .content-top-hero__intro { padding: 35px 20px 230px; min-height: 0; }
  .parents-guide .pg-hero .content-top-hero__copy { width: 100%; }
  .parents-guide .pg-hero .content-top-hero__title { font-size: 2rem; }
  .pg-hero__image { width: 150px; max-width: 42%; bottom: 5px; }
  .pg-hero__image--left { left: 15px; }
  .pg-hero__image--right { right: 15px; width: 115px; max-width: 34%; }
  .pg-pc-break { display: none; }
  .pg-heading { margin-bottom: 38px; }
  .pg-heading h2 { font-size: 1.5rem; }
  .pg-heading p { font-size: .9375rem; }
  .pg-actions { padding-bottom: 45px; }
  .pg-actions__grid { grid-template-columns: 1fr; gap: 42px; }
  .pg-action > img { height: 200px; }
  .pg-feature { padding: 20px 16px; margin-top: 30px; }
  .pg-feature__heading { gap: 12px; }
  .pg-feature__heading .pg-number { width: max(52px, 2em); }
  .pg-feature__heading h2 { flex: 1; font-size: 1.4rem; }
  .pg-course-grid, .pg-steps, .pg-first__grid, .pg-accounts__grid { grid-template-columns: 1fr; }
  .pg-course { padding: 10px 20px 24px; }
  .pg-course > img { height: 215px; }
  .pg-steps { gap: 35px; }
  .pg-steps li + li::before { left: calc(50% - .5em); top: -29px; transform: rotate(90deg); }
  .pg-first { padding: 45px 0; }
  .pg-first__grid { gap: 40px; }
  .pg-first__grid article:nth-child(2) { flex-direction: column; }
  .pg-first__grid article:nth-child(2) h3 { margin: 0 0 25px; }
  .pg-first__grid article > div { flex-direction: row; gap: 15px; }
  .pg-first img { width: 42%; height: 200px; }
  .pg-help { margin-bottom: 40px; padding: 35px 0; }
  .pg-help__links { flex-direction: column; gap: 20px; }
  .pg-accounts { padding-block: 45px; }
  .pg-account__intro { flex-direction: row; gap: 15px; }
  .pg-account__intro > img { width: 70px; }
  .pg-account__tools, .pg-account--parent .pg-account__tools { padding-inline: 15px; }
  .pg-register { width: calc(100% - 32px); margin-bottom: 50px; padding: 35px 16px; }
}
