/* Zebbly grown-up workspace. Scoped so the learner and landing experiences
   retain their own visual language. No external fonts or decorative assets. */
body:has(.gp) {
  --bg: #f7f7f4; --bg-soft: #eeede7; --surface: #fff; --surface-2: #fbfaf7;
  --ink: #242422; --ink-soft: #68675f; --ink-3: #68675f;
  --border: #e2e1da; --border-strong: #c9c6bb;
  --brand: #8a680d; --brand-soft: #f8edc5; --brand-500: #b68a16; --brand-600: #8a680d; --brand-700: #70530a; --brand-ink: #fff;
  --g-brand: linear-gradient(#8a680d, #8a680d); --good: #75601d; --bad: #a74c3f;
  --good-soft: #f6efd9; --bad-soft: #fcf0ec; --warn: #806313; --warn-soft: #faf0d1;
  --shadow-sm: 0 2px 4px #24242204; --shadow-md: 0 4px 16px #24242205; --glow-brand: none;
  --ring: 0 0 0 3px #bc941c55;
  --subject-reading: #5c5d55; --subject-english: #98752c;
  background: var(--bg); color: var(--ink);
}
body:has(.gp)::before, body:has(.gp)::after { display: none; }
.app:has(.gp) { max-width: 1920px; margin: auto; padding: 0; gap: 0; min-height: 100dvh; }
.app:has(.gp) .screen-root { padding: 0; width: 100%; max-width: none; }
.app:has(.gp) .dashbar {
  min-height: 86px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 16px 36px; background: var(--bg); box-shadow: none; gap: 20px;
}
.app:has(.gp) .dashbar::before { display: none; }
.app:has(.gp) .brandbar-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: none; }
.app:has(.gp) .brandbar-name { font-size: 29px; font-weight: 800; letter-spacing: -1.6px; }
.brandbar-period { color: #bc941c; }
.app:has(.gp) .brandbar-sub { font-size: 8px; letter-spacing: .14em; line-height: 1.8; }
.gp-greeting { margin-left: auto; color: var(--ink-soft); font-size: 13px; }
.app:has(.gp) .gp-account { width: 40px; height: 40px; border-radius: 50%; background: #f3e7b9; color: #8a680d; border: 1px solid var(--border); box-shadow: none; font-size: 15px; }
.gp { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 0; min-height: calc(100dvh - 86px); }
.gp-sidebar { border-right: 1px solid var(--border); padding: 32px 20px; display: flex; flex-direction: column; align-self: start; position: sticky; top: 0; min-height: calc(100dvh - 86px); }
.gp-workspace-label { font-size: 9px; font-weight: 700; letter-spacing: .16em; color: var(--ink-3); padding: 0 12px 18px; }
.gp .gp-nav { display: flex; flex-direction: column; gap: 6px; background: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.gp .gp-nav button { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 13px; color: var(--ink-soft); font-size: 12px; font-weight: 600; text-align: left; border: 1px solid transparent; border-radius: 8px; background: none; box-shadow: none; margin: 0; white-space: nowrap; }
.gp .gp-nav button.active { color: #332b16; background: #f4e6b1; box-shadow: none; border-color: #e9d799; }
.gp .gp-nav button:hover { background: var(--bg-soft); color: var(--ink); }
.gp-icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.gp .gp-nav .gp-badge { margin-left: auto; }
.gp-sidebar-note { margin-top: auto; padding: 80px 12px 24px; }
.gp-note-mark { font: italic 60px/1 Georgia,serif; color: #b7973f; }
.gp-sidebar-note p { font: 18px/1.4 Georgia,serif; margin: 12px 0; color: var(--ink); }
.gp-sidebar-note > span:last-child { font-size: 8px; color: var(--ink-3); letter-spacing: .15em; }
.gp-support { display: flex; gap: 9px; align-items: center; font-size: 11px; text-decoration: none; color: var(--ink-soft); padding: 15px 12px 0; border-top: 1px solid var(--border); }
.gp-main { min-width: 0; padding: 34px clamp(20px,3.1vw,52px) 18px; }
.gp #gpBody { width: 100%; max-width: 1400px; margin: auto; }
.gp-version { opacity: 1; display: flex; justify-content: space-between; gap: 12px; text-align: left; border-top: 1px solid var(--border); margin: 36px auto 0; padding: 18px 0; max-width: 1400px; font-size: 10px; }
.gp-eyebrow { display: block; font-size: 9px; letter-spacing: .16em; font-weight: 700; color: var(--ink-3); line-height: 1.6; }
.gp-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.gp-page-heading h1 { margin: 6px 0 0; font-size: clamp(25px,2.6vw,36px); font-weight: 600; letter-spacing: -1.3px; line-height: 1.18; }
.gp-date { color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.gp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 7px; font-size: 12px; font-weight: 600; box-shadow: none; text-decoration: none; }
.gp .btn.tiny { min-height: 36px; font-size: 11px; padding: 8px 11px; }
.gp .btn.primary { background: #edc84b; color: #292719; border: 1px solid #d8b13a; box-shadow: none; }
.gp .btn.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.gp .btn.ghost { background: transparent; color: var(--ink-soft); box-shadow: none; }
.gp .btn.danger { color: var(--bad); }
.gp button, .gp a { -webkit-tap-highlight-color: transparent; }
.gp button:focus-visible,.gp a:focus-visible,.gp select:focus-visible { outline: 3px solid #947017; outline-offset: 3px; }
.gp .btn:hover, .gp .kid-card:hover { transform: translateY(-1px); }
.gp .ov-head { display: grid; grid-template-columns: 1.1fr .85fr; padding: 34px 38px; border: 0; border-radius: 14px; background: #252523; color: #faf9f4; box-shadow: none; position: relative; margin-bottom: 22px; overflow: hidden; }
.gp .ov-head::before { display: none; }
.gp .ov-eyebrow { color: #dcc78f; font-size: 9px; letter-spacing: .18em; margin-bottom: 14px; }
.gp .ov-title { font: 46px/.99 Georgia,serif; letter-spacing: -1.5px; margin: 0 0 16px; }
.gp .ov-head-main > p { color: #d1cfc5; font-size: 12px; line-height: 1.65; max-width: 350px; margin: 0 0 24px; }
.gp .ov-quick { gap: 10px; }
.gp .ov-quick .primary { background: #edc84b; border-color: #edc84b; color: #292719; }
.gp .ov-quick .secondary { background: transparent; border-color: #767265; color: #f3eee0; }
.ov-hero-art { position: relative; align-self: stretch; display: grid; place-content: center; }
.gp-learning-art { width: 100%; height: auto; display: block; }
.gp-art-caption { font-size: 8px; letter-spacing: .26em; color: #dcc78f; text-align: center; margin-top: -14px; }
.gp .ov-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 0 0 26px; }
.gp .ov-kpi { display: flex; flex-direction: column; padding: 24px; border: 0; border-right: 1px solid var(--border); background: none; box-shadow: none; border-radius: 0; transform: none; }
.gp .ov-kpi:last-child { border-right: 0; }
.gp .ov-kpi::before { display: none; }
.gp .ov-kpi .l { order: -1; font-size: 9px; margin: 0 0 10px; letter-spacing: .11em; font-weight: 600; }
.gp .ov-kpi .n { font-size: clamp(25px,2.8vw,38px); letter-spacing: -1.5px; font-weight: 500; color: var(--ink); }
.gp .ov-kpi .s { font-size: 10px; margin-top: 9px; font-weight: 400; }
.gp .ov-kpi.bad .n { color: var(--bad); }
.ov-workgrid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,1fr); gap: 22px; align-items: start; }
.gp .ov-section { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-bottom: 22px; min-width: 0; }
.gp .ov-h { text-transform: none; color: var(--ink); font-size: 17px; letter-spacing: -.35px; font-weight: 600; margin: 0; }
.gp .ov-h::before { display: none; }
.gp .ov-sechead { margin-bottom: 20px; align-items: center; gap: 8px; }
.gp .ov-sechead .gp-eyebrow { margin-bottom: 3px; }
.gp-count { background: #f5edd6; border: 1px solid #e7dcb8; color: #806313; font-size: 10px; border-radius: 50%; display: grid; place-content: center; width: 26px; height: 26px; }
.gp .ov-alert { border: 0; border-left: 2px solid #b8953e; border-radius: 0; box-shadow: none; padding: 2px 0 2px 12px; background: transparent; }
.gp .ova-title { font-size: 12px; }
.gp .ova-emoji { display: none; }
.gp .ov-allclear { background: var(--good-soft); border: 0; border-radius: 6px; color: var(--good); font-size: 12px; }
.gp .ov-group { border: 0; border-radius: 0; border-bottom: 1px solid var(--border); background: transparent; box-shadow: none; padding: 18px 0; margin: 0; }
.gp .ov-group:first-of-type { padding-top: 0; }
.gp .ov-group:last-child { border-bottom: 0; padding-bottom: 0; }
.gp .ovg-head { gap: 10px; align-items: center; }
.gp .ovg-id { display: flex; gap: 11px; align-items: center; }
.gp .ovg-person { min-width: 0; }
.gp .ovg-id b { font-size: 13px; font-weight: 600; }
.gp-avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #efede4; color: #6d6449; font-size: 11px; flex: none; }
.gp .ovg-id .role-parent { display: none; }
.gp .ov-kidchip { border: 1px solid var(--border); background: var(--bg-soft); border-radius: 6px; padding: 8px 10px; color: var(--ink); font-size: 11px; box-shadow: none; min-height: 34px; }
.gp .u-sub { font-size: 10px; color: var(--ink-soft); line-height: 1.7; overflow-wrap: anywhere; }
.gp .chip { font-size: 9px; border-radius: 4px; padding: 3px 6px; box-shadow: none; }
.gp .ov-feed { padding: 0; margin: 0 0 18px; }
.gp .ov-feed .act-item { background: none; border: 0; box-shadow: none; padding: 16px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.gp .ov-activity > .btn { width: 100%; }
.gp .act-detail { overflow-wrap: anywhere; font-size: 11px; line-height: 1.6; }
.gp .act-time { font-size: 10px; }
.gp .act-timeline { max-width: 100%; }
.gp .act-timeline li { min-width: 0; }
.gp .report-head { padding: 0; border: 0; }
.gp .rh-actions { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gp .child-pick { font-size: 12px; padding: 11px 28px 11px 11px; max-width: 180px; border-radius: 7px; min-height: 42px; }
.report-hero { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(200px,.75fr); border: 1px solid #e8ddbb; background: #f4edda; border-radius: 14px; overflow: hidden; padding: 28px 36px; gap: 20px; }
.report-hero-copy .gp-eyebrow { color: #786530; }
.report-hero h2 { font: 43px/1.08 Georgia,serif; letter-spacing: -1.3px; margin: 16px 0 12px; color: #292822; }
.report-hero h2 em { font-weight: normal; color: #806313; }
.report-hero p { font-size: 12px; line-height: 1.7; color: #6f664f; max-width: 390px; margin: 0 0 17px; }
.school-grade { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; background: #fffdf5; border: 1px solid #e1d3a6; color: #63521e; border-radius: 6px; padding: 7px 11px; }
.school-grade .gp-icon { width: 16px; height: 16px; }
.report-hero-art { align-self: center; background: #2d2d29; border-radius: 50% 50% 7px 7px; padding: 7px; max-width: 290px; justify-self: end; width: 100%; }
.learning-plan { display: flex; align-items: center; gap: 24px; padding: 20px 0; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.learning-plan-heading { flex: 0 1 200px; }
.learning-plan-heading b { display: block; font-size: 12px; font-weight: 600; }
.learning-plan-heading > span { display: block; font-size: 10px; line-height: 1.5; color: var(--ink-soft); margin-top: 5px; }
.learning-plan-subjects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; flex: 1; }
.learning-mix { display: flex; align-items: center; gap: 10px; min-width: 0; }
.learning-mix > .gp-icon { background: #f2e7bc; border-radius: 6px; width: 34px; height: 34px; padding: 8px; color: #78601e; }
.learning-mix.reading > .gp-icon { color: #5c5d55; background: #eeede5; }
.learning-mix.english > .gp-icon { color: #806329; background: #f1e8d2; }
.learning-mix b { display: block; font-size: 11px; margin-bottom: 4px; }
.learning-mix span { display: block; font-size: 9px; line-height: 1.5; color: var(--ink-soft); }
.gp .range-row { gap: 12px; margin: 22px 0 18px; align-items: center; }
.gp .range-tabs { display: flex; border: 1px solid var(--border); background: var(--surface); box-shadow: none; border-radius: 7px; padding: 4px; flex-wrap: wrap; gap: 1px; }
.gp .range-tabs button { padding: 8px 11px; border-radius: 4px; font-size: 10px; font-weight: 500; min-height: 34px; }
.gp .range-tabs button.active { background: #f5e9bc; color: #514319; box-shadow: none; }
.gp .sec-allbtn { margin-left: auto; }
.gp .dash-summary { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.gp .ds-cards { gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.gp .ds-card { padding: 21px 23px; border: 0; border-right: 1px solid var(--border); border-radius: 0; box-shadow: none; background: none; min-height: 120px; }
.gp .ds-card:last-child { border: 0; }
.gp .ds-card .ds-l { font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.gp .ds-card .ds-v { font-size: 38px; font-weight: 500; line-height: 1.2; letter-spacing: -1.6px; margin: 9px 0 7px; }
.gp .ds-v small { font-size: 17px; color: var(--ink-soft); letter-spacing: -.5px; }
.gp .ds-card .ds-s { font-size: 10px; font-weight: 400; }
.gp .ds-spark { width: 62px; height: 25px; bottom: 22px; right: 18px; opacity: .55; }
.gp .ds-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 18px; align-items: stretch; }
.gp .ds-panel { padding: 23px; border-radius: 12px; box-shadow: none; min-width: 0; }
.gp .ds-ph { margin-bottom: 18px; align-items: flex-start; }
.gp .ds-ph b { font-size: 13px; font-weight: 600; }
.gp .ds-ph span { font-size: 9px; font-weight: 400; }
.gp .ds-rings { order: 1; gap: 12px; }
.gp .ds-ring { text-align: left; padding: 18px; border-radius: 10px; box-shadow: none; transition: border-color .16s,transform .16s; min-width: 0; background: var(--surface); color: var(--ink); }
.gp .ds-ring:hover { border-color: #bca050; transform: translateY(-2px); }
.gp .ds-ring > .gp-icon { margin-left: auto; width: 16px; color: var(--ink-3); }
.gp .ds-ringlbl { min-width: 0; }
.gp .ds-ringlbl b { font-size: 12px; font-weight: 600; }
.gp .ds-ringlbl span { display: block; font-size: 10px; line-height: 1.4; margin-top: 4px; font-weight: 400; }
.gp .ds-donut { width: 48px; height: 48px; }
.gp .assess, .gp .orig-assess, .gp .domain-section, .gp .practice-panel { border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: none; padding: 22px; margin-bottom: 18px; }
.gp .sec-title, .gp .sec-toggle.big .sec-title { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.gp .sec-toggle { min-height: 42px; }
.gp .sec-chevron { background: var(--bg-soft); box-shadow: none; border-radius: 5px; color: var(--ink-soft); }
.gp .assess-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 15px; }
.gp .ab-title { font-size: 12px; }
.gp .ab-body,.gp .ab-hint,.gp .assess-none { font-size: 11px; line-height: 1.7; }
.gp .assess-plan { background: var(--good-soft); border: 0; border-radius: 6px; font-size: 12px; line-height: 1.7; padding: 16px; margin-top: 16px; }
.gp .practice-panel { background: #f7f0df; border-color: #e8dbb8; }
.gp .pp-empty,.gp .pp-reviews { font-size: 12px; line-height: 1.7; }
.gp .pp-htext b { font-size: 15px; font-weight: 600; }
.gp .pp-htext span { font-size: 11px; }
.gp .pp-icon { background: none; box-shadow: none; }
.gp .grade { border-radius: 8px; box-shadow: none; }
.gp .stat-cards .sc { box-shadow: none; border-radius: 8px; }
.gp .control-row { background: var(--surface); box-shadow: none; border: 1px solid var(--border); border-radius: 8px; padding: 17px; }
.gp .ct { font-size: 12px; }
.gp .cd { font-size: 11px; max-width: 75ch; line-height: 1.7; }
.gp .controls { margin-top: 30px; }
.gp .kid-chooser { padding: 32px 0; }
.gp .kc-title { font: 45px/1.1 Georgia,serif; color: var(--ink); letter-spacing: -1.4px; margin-top: 15px; }
.gp .kc-sub { font-size: 13px; line-height: 1.7; margin: 14px 0 30px; }
.gp .kid-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 18px; }
.gp .kid-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: none; padding: 28px; align-items: flex-start; text-align: left; color: var(--ink); }
.gp .kid-avatar { border-radius: 50%; background: #f5ebc8; color: #796127; box-shadow: none; border: 1px solid #e5d7a4; }
.gp .kid-name { font-size: 18px; font-weight: 600; }
.kid-grade { color: var(--ink-soft); font-size: 11px; }
.gp .kid-cta { border-top: 1px solid var(--border); width: 100%; padding-top: 20px; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--brand); }
.gp .users-head { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.gp .users-head .muted { font-size: 12px; line-height: 1.7; }
.gp .acct-card,.gp .msg-panel,.gp .privacy-card { border-radius: 10px; border: 1px solid var(--border); box-shadow: none; background: var(--surface); }
.gp table { font-size: 12px; }
.gp th { font-size: 10px; letter-spacing: .05em; }
.gp td { line-height: 1.7; }
.gp .table-scroll { border-radius: 8px; }
.gp .empty-note,.gp .empty-card { border: 1px dashed var(--border-strong); border-radius: 12px; padding: 32px; background: var(--surface); }
.gp .loading { padding: 60px 0; font-size: 13px; color: var(--ink-soft); }
/* Interactive calendar and dated accuracy plot. */
.gp .ds-trend { width: 100%; height: auto; overflow: visible; }
.ds-chart-label { fill: var(--ink-3); font-size: 10px; font-family: Inter,sans-serif; }
.ds-chart-point { fill: var(--surface); stroke: var(--brand-600); stroke-width: 2; }
.ds-chart-stat { font-size: 24px; font-weight: 500; letter-spacing: -.7px; margin: 0 0 12px; }
.ds-chart-stat small { font-size: 10px; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; margin-left: 8px; }
.ds-chart-data { margin-top: 12px; font-size: 10px; color: var(--ink-soft); }
.ds-chart-data summary { cursor: pointer; min-height: 28px; padding: 6px 0; }
.ds-chart-data .table-scroll { max-height: 220px; overflow: auto; }
.ds-cal-layout { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 7px; }
.ds-cal-days { display: grid; grid-template-rows: repeat(7,1fr); font-size: 8px; color: var(--ink-3); align-items: center; }
.gp .ds-heat { gap: 4px; grid-template-rows: repeat(7,1fr); grid-auto-columns: minmax(0,1fr); }
.gp .ds-day { display: block; padding: 0; min-width: 0; width: 100%; aspect-ratio: 1; border-radius: 4px; border: 1px solid #e4e2da; background: #f1f0eb; cursor: pointer; position: relative; transition: transform .12s,box-shadow .12s; }
.gp .ds-day.practised { background: #d3ae3b; border-color: #ba9525; }
.gp .ds-day.building { background: #aaa89e; border-color: #949185; }
.gp .ds-day.support { background: #55554f; border-color: #464640; }
.gp .ds-day:hover { transform: scale(1.15); z-index: 1; box-shadow: 0 0 0 2px var(--surface),0 0 0 3px #a48b3b; }
.gp .ds-day[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface),0 0 0 3px var(--ink); z-index: 1; }
.gp .ds-day.support.today::after { background: #fffdf5; }
.gp .ds-day.today::after { content: ''; position: absolute; height: 3px; width: 3px; background: var(--ink); border-radius: 50%; bottom: 2px; left: calc(50% - 1.5px); }
.ds-cal-dates { display: flex; justify-content: space-between; margin: 8px 0 12px 27px; font-size: 9px; color: var(--ink-3); }
.gp .ds-legend { justify-content: flex-start; flex-wrap: wrap; font-size: 8px; gap: 7px; margin: 0; }
.gp .ds-legend span { display: flex; gap: 4px; align-items: center; font-weight: 400; }
.gp .ds-legend i { width: 8px; height: 8px; border-radius: 2px; }
.ds-legend .none { background: #f1f0eb; border: 1px solid #e4e2da; }.ds-legend .support { background: #55554f; }.ds-legend .building { background: #aaa89e; }.ds-legend .practised { background: #d3ae3b; }
.ds-day-detail { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); font-size: 11px; min-height: 48px; line-height: 1.65; color: var(--ink-soft); }
.ds-day-detail b { color: var(--ink); font-weight: 600; display: block; }
.ds-calendar-help { font-size: 9px; color: var(--ink-3); line-height: 1.6; margin: 7px 0 0; }
@media(min-width:1550px) { .gp .ov-title { font-size: 58px; }.report-hero h2 { font-size: 51px; }.report-hero-art { max-width: 300px; } }
@media(max-width:1150px) {
  .gp { grid-template-columns: 180px minmax(0,1fr); }.gp-sidebar { padding: 28px 12px; }.gp-main { padding: 28px 24px 16px; }
  .gp .ov-head { padding: 28px; }.gp .ov-title { font-size: 40px; }.gp .ov-kpi { padding: 20px 16px; }
  .ov-workgrid { grid-template-columns: minmax(0,1.25fr) minmax(240px,1fr); gap: 16px; }.gp .ov-section { padding: 18px; }
  .gp-page-heading { align-items: flex-start; }.gp .rh-actions { max-width: 230px; }.gp .ds-card { padding: 20px 16px; }.gp .ds-spark { display: none; }
  .report-hero { padding: 26px; }.report-hero h2 { font-size: 37px; }.learning-plan { flex-direction: column; align-items: stretch; gap: 15px; }.learning-plan-heading { flex: auto; display: flex; justify-content: space-between; gap: 10px; }.learning-plan-heading > span { margin: 0; }
  .gp .ds-panel { padding: 18px; }.gp .ds-ring { padding: 14px 12px; gap: 9px; }.gp .ds-ring > .gp-icon { display: none; }
}
@media(max-width:900px) {
  .gp { display: block; }.gp-sidebar { min-height: auto; position: static; padding: 10px 20px; border: 0; border-bottom: 1px solid var(--border); }
  .gp-workspace-label,.gp-sidebar-note,.gp-support { display: none; }.gp .gp-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 2px; scrollbar-width: thin; }
  .gp .gp-nav button { flex: none; min-height: 44px; gap: 8px; padding: 10px 13px; font-size: 11px; }.gp .gp-nav .gp-icon { width: 17px; height: 17px; }
  .app:has(.gp) .dashbar { min-height: 76px; padding: 14px 25px; }.gp-main { padding: 26px 24px 14px; }
  .gp .ds-ring > .gp-icon { display: block; }.gp .ds-rings { gap: 10px; }.gp .ds-ringlbl span { font-size: 9px; }
}
@media(max-width:640px) {
  .app:has(.gp) .dashbar { min-height: 73px; padding: 13px 18px; gap: 12px; }.app:has(.gp) .brandbar-mark { width: 34px; height: 34px; }.app:has(.gp) .brandbar-name { font-size: 25px; }.app:has(.gp) .brandbar-sub { font-size: 7px; }
  .gp-greeting { display: none; }.app:has(.gp) .gp-account { margin-left: auto; width: 36px; height: 36px; }.gp-sidebar { padding: 7px 12px; }.gp .gp-nav button { padding: 10px; font-size: 10px; gap: 6px; }
  .gp-main { padding: 24px 16px 14px; }.gp-page-heading { display: block; margin-bottom: 20px; }.gp-page-heading h1 { font-size: 28px; letter-spacing: -.9px; }.gp-date { display: block; margin-top: 10px; font-size: 10px; }
  .gp .ov-head { grid-template-columns: 1fr; padding: 26px; min-height: 305px; }.gp .ov-head-main { position: relative; z-index: 1; }.gp .ov-title { font-size: 40px; }.gp .ov-head-main > p { max-width: 235px; font-size: 11px; }.ov-hero-art { position: absolute; width: 195px; right: 0; bottom: -36px; opacity: .32; pointer-events: none; }.gp-art-caption { display: none; }
  .gp .ov-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 20px; }.gp .ov-kpi { padding: 20px; }.gp .ov-kpi:nth-child(2) { border-right: 0; }.gp .ov-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--border); }.gp .ov-kpi .n { font-size: 31px; }
  .ov-workgrid { display: block; }.gp .ov-section { padding: 18px; margin-bottom: 18px; }.gp .ovg-head { align-items: flex-start; }.gp .ovg-head .u-actions { margin-left: 48px; }.gp .ovg-id b { font-size: 14px; }.gp .ov-sechead .btn.tiny { padding: 7px; font-size: 10px; }
  .gp .rh-actions { margin-top: 16px; max-width: none; justify-content: flex-start; }.gp .rh-actions .btn { min-height: 40px; }.gp .child-pick { min-height: 40px; }
  .report-hero { position: relative; display: block; padding: 27px 23px; min-height: 285px; }.report-hero-copy { position: relative; z-index: 1; }.report-hero h2 { font-size: 38px; letter-spacing: -1.2px; }.report-hero p { max-width: 220px; font-size: 11px; }.report-hero-art { position: absolute; right: 0; bottom: -9px; width: 155px; opacity: .2; border-radius: 50% 50% 0 0; }
  .learning-plan { gap: 16px; padding: 19px 0; }.learning-plan-heading { display: block; }.learning-plan-heading > span { margin-top: 4px; }.learning-plan-subjects { gap: 12px; }.learning-mix { align-items: flex-start; flex-direction: column; gap: 7px; }.learning-mix > .gp-icon { width: 28px; height: 28px; padding: 6px; }.learning-mix span { font-size: 9px; }
  .gp .range-row { gap: 8px; margin-top: 18px; }.gp .range-tabs { width: 100%; }.gp .range-tabs button { flex: 1 1 auto; font-size: 9px; padding: 7px 8px; min-height: 34px; }.gp .sec-allbtn { min-height: 32px; padding: 4px 7px; font-size: 10px; }
  .gp .ds-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }.gp .ds-card { min-height: 125px; padding: 18px 20px; }.gp .ds-card:nth-child(2) { border-right: 0; }.gp .ds-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }.gp .ds-card .ds-v { font-size: 35px; }
  .gp .ds-grid { grid-template-columns: 1fr; }.gp .ds-panel { padding: 20px; }.gp .ds-rings { grid-template-columns: 1fr; gap: 9px; }.gp .ds-ring { padding: 14px 19px; gap: 15px; }.gp .ds-ringlbl b { font-size: 13px; }.gp .ds-ringlbl span { font-size: 11px; }.gp .ds-donut { width: 46px; height: 46px; }
  .gp .assess,.gp .orig-assess,.gp .domain-section,.gp .practice-panel { padding: 17px; }.gp .sec-title,.gp .sec-toggle.big .sec-title { font-size: 14px; }.gp .sec-title .domain-sub { font-size: 10px; }.gp .sec-meta { font-size: 9px; }
  .gp .assess-grid { grid-template-columns: 1fr; }.gp .grades { grid-template-columns: repeat(2,minmax(0,1fr)); }.gp .grade { min-width: 0; }.gp .g-label { overflow-wrap: anywhere; }
  .gp .kid-grid { grid-template-columns: 1fr; }.gp .kc-title { font-size: 37px; }.gp .kid-chooser { padding: 10px 0; }.gp .kid-card { padding: 25px; }.gp .users-head { padding: 16px; }.gp-version { font-size: 8px; gap: 8px; }
}
/* Respect the account's existing appearance setting. */
:root[data-theme="dark"] body:has(.gp) {
  --bg: #191918; --bg-soft: #302f2a; --surface: #232322; --surface-2: #292824;
  --ink: #f2f1eb; --ink-soft: #bcb9ad; --ink-3: #aaa79a; --border: #3d3b34; --border-strong: #696351;
  --brand: #e3bf53; --brand-500: #d9b341; --brand-600: #e3bf53; --brand-700: #f0d887; --good: #dfc878; --bad: #e3a08b;
  --brand-soft: #40371f; --subject-reading: #c9c7bc; --subject-english: #ddbf79;
  --good-soft: #393322; --bad-soft: #492e28; --warn-soft: #433a22;
}
:root[data-theme="dark"] .gp .gp-nav button.active { color: #f3dfa0; background: #40371f; border-color: #62522c; }
:root[data-theme="dark"] .gp .ov-kpi { background: none; box-shadow: none; }
:root[data-theme="dark"] .gp .ov-eyebrow { color: #dcc78f; }
:root[data-theme="dark"] .report-hero { background: #302c21; border-color: #55482a; }
:root[data-theme="dark"] .report-hero h2 { color: #f6f1e2; }:root[data-theme="dark"] .report-hero h2 em { color: #e3c767; }:root[data-theme="dark"] .report-hero p { color: #c7bea5; }:root[data-theme="dark"] .report-hero .gp-eyebrow { color: #d6c68d; }
:root[data-theme="dark"] .school-grade { background: #40371f; border-color: #66572e; color: #f3e4ad; }
:root[data-theme="dark"] .learning-mix > .gp-icon { background: #413820; color: #e7d085; }:root[data-theme="dark"] .learning-mix.reading > .gp-icon { background: #383831; color: #cdcdc2; }:root[data-theme="dark"] .learning-mix.english > .gp-icon { background: #443924; color: #e0c184; }
:root[data-theme="dark"] .gp .range-tabs button.active { color: #f1dda0; background: #40371f; }
:root[data-theme="dark"] .gp .practice-panel { background: #353020; border-color: #55482a; }
:root[data-theme="dark"] .gp .ds-day { background: #302f2a; border-color: #414038; }:root[data-theme="dark"] .gp .ds-day.practised { background: #d3ae3b; border-color: #e0c262; }:root[data-theme="dark"] .gp .ds-day.building { background: #aaa89e; border-color: #c4c0b3; }:root[data-theme="dark"] .gp .ds-day.support { background: #5a574c; border-color: #7a7360; }
@media(prefers-reduced-motion:reduce) { .gp *, .gp *::before,.gp *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .gp-sidebar,.gp-learning-art { display: none; } }

.gp .ov-feed .act-line { font-size: 11px; line-height: 1.7; }.gp .ov-feed .act-icon { width: 29px; height: 29px; border-radius: 50%; background: var(--bg-soft); box-shadow: none; font-size: 12px; }.gp .ov-feed .act-detail { display: block; }.gp .ov-feed .act-detail::before { content: none; }.gp .ov-feed .act-item:hover { transform: none; }

.gp .sec-title > .gp-icon { width: 18px; height: 18px; margin-right: 7px; }.gp .pp-icon > .gp-icon { width: 24px; height: 24px; }

.ds-chart-frame { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 4px; }.ds-chart-y { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 0; font-size: 9px; color: var(--ink-3); }.ds-chart-x { display: flex; justify-content: space-between; gap: 10px; margin: 7px 0 0 34px; font-size: 9px; color: var(--ink-3); }.ds-chart-x span { flex: 1; }.ds-chart-x span:nth-child(2) { text-align: center; }.ds-chart-x span:last-child { text-align: right; }

/* Quiet role labels keep the workspace palette consistent; danger stays distinct. */
.gp .chip.role-owner, .gp .chip.role-parent, .gp .chip.role-child, .gp .chip.ok {
  background: var(--bg-soft); color: var(--ink-soft); border-color: var(--border);
}
:root[data-theme="dark"] .gp .chip.role-owner, :root[data-theme="dark"] .gp .chip.role-parent,
:root[data-theme="dark"] .gp .chip.role-child, :root[data-theme="dark"] .gp .chip.ok {
  background: var(--bg-soft); color: var(--ink-soft); border-color: var(--border);
}
:root[data-theme="dark"] .gp-note-mark { color: #d0b666; }
:root[data-theme="dark"] .gp .ds-legend .none { background: #302f2a; border-color: #414038; }
:root[data-theme="dark"] .gp .ds-legend .support { background: #5a574c; }
