/* Support trends (spm-trends.js), as the SPM canvas draws the page. SPU palette only. */
.spt { font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 14px; line-height: 1.5; color: #3d3838; background: #ffffff; font-variant-numeric: tabular-nums; }
body.spu-experience .spt h2, body.spu-experience .spt h3 { color: #3d3838; letter-spacing: normal; text-transform: none; }
body.spu-experience .spt h2 { margin: 0; font: 600 22px/1.25 Montserrat, Arial, sans-serif; }
body.spu-experience .spt h2.spt-h2-lg { margin: 6px 0 0; font-size: 26px; }
body.spu-experience .spt h3 { margin: 0; font: 600 16px Montserrat, Arial, sans-serif; }
body.spu-experience .spt h3.spt-h3 { font-size: 17px; color: #b5122c; }
.spt :focus-visible { outline: 2px solid #3d3838; outline-offset: 2px; }
.spt .notice { margin: 24px 48px; }

.spt-band { background: #fbf6ee; border-top: 1px solid #f1d5ab; border-bottom: 1px solid #f1d5ab; padding: 36px 48px; display: flex; flex-direction: column; gap: 22px; }
.spt-sec { padding: 40px 48px 36px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid #e2e2e2; }
.spt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.spt-eyebrow { font: 600 15px Montserrat, Arial, sans-serif; color: #b5122c; }
.spt-note { font-size: 13px; color: #666; max-width: 460px; }
.spt-sub { margin-top: 4px; font-size: 13px; color: #666; }
.spt-muted { color: #666; }
.spt-small { font-size: 12px; }
.spt-tiny { font-size: 11px; color: #666; }
.spt-strong { font: 600 16px/1.2 Montserrat, Arial, sans-serif; }
.spt-strong-sm { font-size: 13px; font-weight: 700; }
.spt-right { text-align: right; }
.spt-rowname { font: 600 14px Montserrat, Arial, sans-serif; }
.spt-rowyear { align-self: center; font: 600 15px Montserrat, Arial, sans-serif; }
.spt-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.spt-legend span { display: flex; align-items: center; gap: 8px; }
.spt-legend i { display: inline-block; width: 12px; height: 12px; flex: none; }
.spt-legend i.spt-i-light { background: #fbf6ee; border: 1px solid #f1d5ab; box-sizing: border-box; }
.spt-scroll { overflow-x: auto; }

/* 1. Reach by year */
.spt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.spt-card { background: #ffffff; border: 1px solid #f1d5ab; border-radius: 10px; padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spt-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.spt-card-head span { font-size: 12px; color: #666; }
.spt-big { font: 600 56px/1.05 Montserrat, Arial, sans-serif; letter-spacing: -1px; color: #e21937; }
.spt-line { margin-top: 6px; font-size: 13px; }
.spt-card .spt-muted { font-size: 13px; }
.spt-ybars { display: grid; gap: 10px; align-items: end; padding-top: 12px; border-top: 1px solid #eeeeee; }
.spt-ybar { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; }
.spt-ybar-plot { height: 140px; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.spt-ybar-lbl { text-align: center; font: 600 13px Montserrat, Arial, sans-serif; padding-bottom: 4px; }
.spt-ybar-year { text-align: center; font-size: 13px; font-weight: 700; border-top: 1px solid #3d3838; padding-top: 4px; }
.spt-ybar-sub { text-align: center; font-size: 11px; color: #666; line-height: 1.3; }

/* 1b. Reach among students at risk */
.spt-risk { display: flex; flex-direction: column; gap: 6px; min-width: 820px; }
.spt-rrow { display: grid; column-gap: 12px; }
.spt-rrow > .spt-rowname { align-self: center; }
.spt-rrow.spt-dhead span:not(:first-child) { padding: 0 0 4px 0; border-bottom: 2px solid #e1d3b3; }
.spt-rcell { border: 1px solid #f1d5ab; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spt-rline { display: grid; grid-template-columns: minmax(0, 1fr) 48px; column-gap: 8px; align-items: center; }
.spt-rline .spt-strong-sm { text-align: right; }
.spt-rtrack { height: 12px; background: #fbf6ee; }
.spt-rtrack > div { height: 12px; }
.spt-rrisk { background: #e21937; }
.spt-rrest { background: #e1d3b3; }

/* 2. Week by week */
.spt-weeks { display: flex; flex-direction: column; min-width: 900px; }
.spt-wrow { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; column-gap: 20px; align-items: end; padding: 12px 0; border-bottom: 1px solid #eeeeee; }
.spt-wrow > :first-child, .spt-wrow > :last-child { align-self: center; }
.spt-wrow > .spt-small { line-height: 1.45; }
.spt-wrow.spt-axis { padding: 0; border: 0; }
.spt-weeks > .spt-wrow:last-child { border-bottom: 0; padding-bottom: 0; }
.spt-ticks { position: relative; height: 20px; font-size: 12px; color: #666; }
.spt-ticks span { position: absolute; top: 0; padding-left: 4px; border-left: 1px solid #bbbbbb; line-height: 1.2; }
.spt-wplot { position: relative; height: 88px; display: flex; align-items: flex-end; gap: 2px; border-top: 1px dashed #d9d9d9; border-bottom: 1px solid #3d3838; }
.spt-wmax { position: absolute; top: -9px; left: 0; padding-right: 4px; background: #ffffff; font-size: 11px; line-height: 16px; color: #666; z-index: 1; }
.spt-wcell { flex: 1 1 0; min-width: 0; height: 100%; position: relative; }
.spt-wprev { position: absolute; left: 0; right: 0; bottom: 0; background: #e1d3b3; }
.spt-wnow { position: absolute; left: 22%; right: 22%; bottom: 0; background: #e21937; }

/* 3. Tutorial classes by month */
.spt-months { min-width: 900px; display: flex; flex-direction: column; gap: 6px; }
.spt-mrow { display: grid; grid-template-columns: 70px repeat(12, minmax(0, 1fr)) 120px; column-gap: 6px; align-items: stretch; }
.spt-mhead { font-size: 12px; color: #666; }
.spt-mname { padding-left: 6px; border-bottom: 2px solid #e1d3b3; padding-bottom: 4px; font-weight: 700; color: #3d3838; }
.spt-mcell { height: 104px; box-sizing: border-box; border: 1px solid #f1d5ab; padding: 8px 8px 0; display: flex; flex-direction: column; justify-content: space-between; background: #ffffff; }
.spt-mtext { line-height: 1.2; }
.spt-mbar { background: #e21937; margin: 0 -8px; }
.spt-mtotal { align-self: center; text-align: right; line-height: 1.3; }
.spt-tblock { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.spt-tcell { height: 80px; }
.spt-mbar.spt-tbar { background: #ee5921; }

/* 4. Days of the week */
.spt-days { display: flex; flex-direction: column; gap: 6px; min-width: 820px; }
.spt-drow { display: grid; grid-template-columns: 200px repeat(7, minmax(0, 1fr)) 120px; column-gap: 6px; }
.spt-drow > .spt-rowname, .spt-drow > .spt-right { align-self: center; }
.spt-dhead { font-size: 12px; font-weight: 700; }
.spt-dhead span:not(:first-child):not(:last-child) { padding: 0 0 4px 10px; border-bottom: 2px solid #e1d3b3; }
.spt-dhead .spt-muted { font-weight: 400; }
.spt-dcell { height: 56px; box-sizing: border-box; border: 1px solid #f1d5ab; padding: 6px 10px; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.spt-dlegend { margin-top: 8px; font-size: 12px; color: #666; }
.spt-dlegend i { width: 22px; height: 14px; }

/* 5. Delivery mix */
.spt-xgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.spt-xsvc { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.spt-xblock { display: flex; flex-direction: column; gap: 8px; }
.spt-xrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 64px; column-gap: 10px; align-items: center; }
.spt-xbar { display: flex; height: 26px; }
.spt-xbar > div { box-sizing: border-box; border-right: 1px solid #ffffff; display: flex; align-items: center; justify-content: center; font: 600 12px Montserrat, Arial, sans-serif; overflow: hidden; }
.spt-xbar.spt-xnone { align-items: center; font-size: 12px; color: #666; background: #fbf6ee; padding-left: 8px; }
.spt-xlegend { gap: 14px; padding-left: 54px; font-size: 12px; }
.spt-xlegend span { gap: 6px; }

/* 6. Topics */
.spt-tblock { display: flex; flex-direction: column; gap: 10px; }
.spt-tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.spt-tcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.spt-thead { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #e1d3b3; padding-bottom: 4px; }
.spt-thead .spt-strong { font-size: 15px; }
.spt-titem { display: grid; grid-template-columns: minmax(0, 1fr) 40px; column-gap: 8px; align-items: center; }
.spt-titem .spt-strong { font-size: 14px; }
.spt-ttext { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.spt-ttrack { height: 6px; margin-top: 3px; background: #fbf6ee; }
.spt-ttrack > div { height: 6px; background: #e21937; }

.spt-foot { padding: 28px 48px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; font-size: 12px; line-height: 1.5; color: #666; }
.spt-foot-h { font-weight: 700; color: #3d3838; }

/* Phones: the 16px gutter; the wide grids scroll inside their own frame, never the page. */
@media (max-width: 760px) {
  .spt-band, .spt-sec { padding-left: 16px; padding-right: 16px; }
  .spt-foot { padding-left: 16px; padding-right: 16px; }
  .spt .notice { margin: 16px; }
  .spt-big { font-size: 44px; }
  body.spu-experience .spt h2.spt-h2-lg { font-size: 22px; }
  .spt-cards { grid-template-columns: minmax(0, 1fr); }
  .spt-xgrid { grid-template-columns: minmax(0, 1fr); }
}
