/* A compact reading report: numbers first, settings before the full phase chart. */
.summary-view { gap: 18px; padding-bottom: 28px; }
.parent-page-heading, .parent-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.parent-page-heading { padding: 8px 2px 0; }
.parent-page-heading h1 { margin: 3px 0 0; font-size: 29px; line-height: 1.1; letter-spacing: -1px; }
.parent-eyebrow { margin: 0; color: #66776f; font-size: 9px; font-weight: 750; letter-spacing: 1.6px; }
.parent-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.parent-language { display: flex; padding: 3px; border-radius: 10px; background: #e9f0eb; }
.parent-language[hidden] { display: none; }
.parent-language button { min-height: 38px; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: #527168; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.parent-language button[aria-pressed="true"] { background: #fff; color: var(--teal-dark); box-shadow: 0 2px 7px rgba(32, 56, 50, .1); }
.parent-language button:focus-visible { outline: 3px solid #b67a20; outline-offset: 2px; }
.parent-settings-shortcut { min-height: 44px; padding: 10px 13px; border: 1px solid #cddbd4; border-radius: 10px; background: transparent; color: var(--teal-dark); font-size: 13px; font-weight: 650; cursor: pointer; }
.parent-settings-shortcut span { margin-left: 5px; }
.parent-section-heading h2 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.3px; }
.parent-section-heading > span { color: #65736e; font-size: 10px; font-weight: 500; text-align: right; }
.parent-today { padding: 18px 20px 14px; border-radius: 18px; background: #e3f0e9; color: #1d514b; }
.parent-today-numbers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 10px; }
.parent-today-numbers > div { display: flex; align-items: baseline; gap: 9px; min-width: 0; }
.parent-today-numbers > div + div { padding-left: 18px; border-left: 1px solid #c7ded3; }
.parent-today-numbers strong { font-size: 36px; line-height: 1; font-weight: 750; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.parent-today-numbers span { max-width: 70px; color: #365f55; font-size: 11px; line-height: 1.35; }
.parent-count-note { margin: 10px 0 0; color: #66766d; font-size: 10px; line-height: 1.5; }
.parent-time-use { margin-top: 14px; padding-top: 12px; border-top: 1px solid #c7ded3; }
.parent-time-heading, .parent-time-values > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.parent-time-heading { color: #365f55; font-size: 11px; font-weight: 650; }
.parent-time-heading strong { color: #1d514b; font-size: 15px; font-variant-numeric: tabular-nums; }
.parent-time-bar { display: flex; overflow: hidden; height: 9px; margin: 9px 0 8px; border-radius: 999px; background: #cbded5; }
.parent-time-bar > span { min-width: 0; height: 100%; }
.parent-time-bar .is-words, .parent-time-values i.is-words { background: #177a70; }
.parent-time-bar .is-sentences, .parent-time-values i.is-sentences { background: #d09b45; }
.parent-time-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; }
.parent-time-values > div > span { display: flex; align-items: center; gap: 6px; min-width: 0; color: #365f55; font-size: 10px; line-height: 1.35; }
.parent-time-values i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
.parent-time-values strong { flex: 0 0 auto; color: #1d514b; font-size: 11px; font-variant-numeric: tabular-nums; }
.parent-time-note { margin: 7px 0 0; color: #577069; font-size: 9px; line-height: 1.4; }
.parent-empty { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; border-top: 1px solid #c7ded3; padding-top: 5px; font-size: 11px; }
.parent-empty button { min-height: 36px; padding: 4px 0 4px 8px; background: transparent; color: var(--teal-dark); font-size: 11px; font-weight: 650; cursor: pointer; }
.parent-overview { display: grid; grid-template-columns: .9fr 1.1fr; padding: 2px 2px 4px; color: var(--ink); }
.parent-overview h2 { margin: 0; font-size: 19px; letter-spacing: -.45px; line-height: 1.3; }
.phonics-overview { padding-right: 18px; border-right: 1px solid #dfe5dc; }
#readerProgress { min-width: 0; padding-left: 20px; }
.parent-pattern { margin: 4px 0 14px; color: #65736c; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.phonics-ready-ring { width: 92px; height: 92px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) var(--ready),#e2e8df 0); }
.phonics-ready-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--background); }
.phonics-ring-value { position: relative; display: flex; align-items: baseline; gap: 3px; }
.phonics-ring-value strong { font-size: 27px; line-height: 1; letter-spacing: -1px; }
.phonics-ring-value span { color: #66766d; font-size: 12px; }
.parent-stat-label { margin: 8px 0 0; color: #53645c; font-size: 11px; }
.reader-sentence-counts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.reader-sentence-count { min-width: 0; }
.reader-sentence-value { display: flex; align-items: center; gap: 5px; }
.reader-sentence-value strong { font-size: 31px; line-height: 1.15; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.reader-sentence-value .reader-feedback-icon { flex-shrink: 0; width: 16px; height: 16px; font-size: 11px; }
.reader-sentence-label { display: block; margin-top: 6px; color: #53645c; font-size: 11px; line-height: 1.4; }
.reader-current-story { margin-top: 14px; padding-top: 10px; border-top: 1px solid #dfe5dc; }
.reader-story-phase { margin: 0 0 3px; color: #65736c; font-size: 10px; line-height: 1.4; }
.reader-current-story h3 { margin: 0; color: #35483f; font-size: 12px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.reader-story-counts { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 7px 0 4px; font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.reader-story-counts .is-independent { color: #176d63; }
.reader-story-counts .is-assisted { color: #795416; }
.reader-story-counts .is-remaining { color: #65736c; font-size: 10px; align-self: center; }
.reader-story-status, .reader-story-earned { margin: 0; color: #53645c; font-size: 10px; line-height: 1.5; }
.reader-story-earned { margin-top: 3px; color: #176d63; }
.reader-history-total { margin: 0 0 10px; font-size: 12px; color: #53645c; }
.reader-visual { margin-top: 15px; }
.reader-feedback { display: grid; gap: 5px; margin-top: 8px; }
.reader-feedback-row { display: grid; grid-template-columns: 18px 22px minmax(0,1fr); align-items: center; gap: 5px; color: #53645c; font-size: 10px; }
.reader-feedback-row strong { font-size: 16px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--ink); }
.reader-feedback-icon { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 750; }
.is-independent .reader-feedback-icon { color: #176d63; background: #dceee7; }
.is-assisted .reader-feedback-icon { color: #795416; background: #f0dfbb; }
.reader-visual > .reader-window:first-child { margin: 0 0 6px; }
.reader-read-bar { display: flex; gap: 2px; height: 9px; }
.reader-read-bar span { flex: 1; min-width: 0; border-radius: 2px; }
.reader-read-bar .is-independent { background: var(--teal); }
.reader-read-bar .is-assisted { background: repeating-linear-gradient(135deg,#c79e54 0 2px,#f0dfbb 2px 4px); }
.reader-window { margin: 6px 0 0; color: #65736c; font-size: 10px; line-height: 1.4; }
.summary-view .practice-settings-card { margin: 0; padding: 18px 20px; border-radius: 18px; }
.summary-view .practice-settings-heading { margin-bottom: 10px; }
.summary-view .practice-settings-heading h2 { font-size: 17px; }
.summary-view .practice-settings-values > div { padding: 8px 0; font-size: 12px; }
.summary-view .practice-settings-plan { margin-top: 9px; padding: 10px; font-size: 11px; }
.parent-phase-chart { padding-top: 7px; }
.parent-phase-chart .parent-section-heading { margin-bottom: 8px; }
.parent-phase-chart .phase-list { gap: 0; }
.parent-phase-chart .phase-card { padding: 12px 0; gap: 8px; border: 0; border-top: 1px solid #e0e6dd; border-radius: 0; background: transparent; box-shadow: none; }
.parent-phase-chart .phase-head { gap: 10px; align-items: center; }
.parent-phase-chart .phase-title-block { gap: 3px; }
.parent-phase-chart .phase-label-line > span:first-child { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: #65736c; }
.parent-phase-chart .phase-card .phase-head strong { font-size: 13px; line-height: 1.3; font-weight: 600; color: #35483f; }
.parent-phase-chart .phase-actions { display: flex; align-items: center; gap: 8px; }
.parent-phase-chart .phase-card .phase-actions > strong { color: #436458; font-size: 12px; font-variant-numeric: tabular-nums; }
.parent-phase-chart .phase-track { height: 5px; background: #e2e8df; }
.parent-phase-chart .phase-expand { min-width: 44px; min-height: 44px; padding: 4px; background: transparent; box-shadow: none; color: var(--teal-dark); font-size: 10px; cursor: pointer; }
.parent-phase-chart .phase-expand[aria-expanded="true"] { text-decoration: underline; }
.parent-phase-chart .phase-lock-badge { color: #65736c; font-size: 9px; font-weight: 500; }
.parent-phase-chart .phase-card.is-current-phase .phase-label-line > span:first-child { color: var(--teal-dark); font-weight: 800; }
.parent-phase-chart .phase-card.is-current-phase .phase-label-line > span:first-child::after { content: " · NOW"; }
.parent-phase-chart .phase-card.is-locked .phase-head strong { color: #65736c; }
.parent-phase-chart .phase-details { padding: 8px 12px 12px; background: var(--surface); border-radius: 12px; }
.parent-phase-chart .phase-detail-list { display: none; }
.parent-phase-chart .phase-details .progress-row { padding: 9px 0; }
.parent-phase-chart .title-with-info { gap: 4px; }
.parent-phase-chart .info-button { min-width: 28px; min-height: 28px; }
.parent-progress-tabs { display: flex; gap: 4px; width: fit-content; padding: 3px; margin: 4px 0 12px; border: 1px solid #d7e1d9; border-radius: 11px; background: #ffffff50; }
.parent-progress-tabs button { min-width: 102px; min-height: 44px; padding: 9px 18px; border-radius: 8px; color: #53645c; background: transparent; font-size: 13px; font-weight: 650; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.parent-progress-tabs button:hover { background: #e3f0e9; }
.parent-progress-tabs button[aria-selected="true"] { color: #fff; background: var(--teal-dark); }
.phase-chart-caption { margin: 0 0 10px; color: #53645c; font-size: 11px; line-height: 1.4; }
.reader-phase-legend { display: flex; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 12px; color: #53645c; font-size: 10px; line-height: 1.5; }
.reader-phase-legend > span { display: flex; align-items: center; gap: 5px; }
.reader-phase-legend i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; font-size: 10px; font-style: normal; font-weight: 750; }
.reader-phase-legend .is-independent { color: #fff; background: var(--teal); }
.reader-phase-legend .is-assisted { color: #654617; background: #e3c792; }
.reader-phase-legend .is-untried { background: #e2e8df; }
.reader-phase-row { padding: 12px 0; border-top: 1px solid #e0e6dd; }
.reader-phase-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reader-phase-title { min-width: 0; }
.reader-phase-title > span { color: #65736c; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.reader-phase-title h3 { margin: 3px 0 0; color: #35483f; font-size: 13px; line-height: 1.3; font-weight: 600; }
.reader-phase-count { flex-shrink: 0; color: #436458; font-size: 13px; font-variant-numeric: tabular-nums; }
.reader-phase-track { display: flex; overflow: hidden; height: 7px; margin-top: 10px; border-radius: 4px; background: #e2e8df; }
.reader-phase-fill { flex-shrink: 0; height: 100%; transition: width 180ms ease; }
.reader-phase-fill.is-independent { background: var(--teal); }
.reader-phase-fill.is-assisted { background: repeating-linear-gradient(135deg,#c79e54 0 2px,#ecd8b0 2px 4px); }
.reader-phase-outcomes { display: flex; gap: 14px; margin-top: 6px; color: #65736c; font-size: 10px; font-variant-numeric: tabular-nums; }
.reader-phase-outcomes .is-independent { color: #176d63; }
.reader-phase-outcomes .is-assisted { color: #795416; }
.reader-phase-outcomes > span:last-child { margin-left: auto; }
.reader-recent-details { margin-top: 12px !important; }
#readerRecentAttempts { padding: 0 2px 16px; }
#readerRecentAttempts .reader-visual { margin-top: 0; }
#readerRecentAttempts .reader-feedback { grid-template-columns: 1fr 1fr; gap: 12px; }
.parent-progress-panel:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 4px; }
.parent-details { width: 100%; margin: 0; border-top: 1px solid #dfe5dc; }
.parent-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 12px 2px; color: #415f52; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.parent-details > summary::-webkit-details-marker { display: none; }
.parent-details > summary::after { content: "+"; font-size: 20px; font-weight: 400; }
.parent-details[open] > summary::after { content: "−"; }
#wordActivityDetails .today-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.parent-guidance .reading-summary { padding: 14px; margin: 0 0 12px; }
.summary-view button:focus-visible, .summary-view summary:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.parent-settings-shortcut:hover { background: #e3f0e9; }
.parent-settings-shortcut:active { transform: translateY(1px); }
.summary-view.is-active .parent-today { animation: parent-summary-in 240ms ease-out both; }
.summary-view.is-active .parent-overview { animation: parent-summary-in 280ms 40ms ease-out both; }
@keyframes parent-summary-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 350px) {
  .parent-page-heading { align-items: flex-start; }
  .parent-heading-actions { flex-direction: column-reverse; align-items: stretch; }
  .parent-language button { flex: 1; padding-inline: 8px; }
  .parent-today { padding: 16px; }
  .parent-today-numbers strong { font-size: 31px; }
  .parent-today-numbers > div + div { padding-left: 12px; }
  .parent-time-values { grid-template-columns: 1fr; gap: 5px; }
  #readerProgress { padding-left: 14px; }
  .phonics-overview { padding-right: 14px; }
  .summary-view .practice-settings-card { padding: 16px; }
  .parent-phase-chart .phase-actions { gap: 3px; }
  .reader-sentence-counts { gap: 6px; }
  .reader-sentence-value { gap: 3px; }
  .reader-sentence-value strong { font-size: 25px; }
  .reader-sentence-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .summary-view.is-active .parent-today, .summary-view.is-active .parent-overview { animation: none; }
  .summary-view .phase-fill, .summary-view .progress-fill { transition: none; }
  .parent-progress-tabs button, .reader-phase-fill { transition: none; }
}
