.page-class-progress {
  --progress-purple: #5a0a87;
  --progress-green: #1e7d36;
  --progress-red: #bd2626;
  --progress-blue: #173b67;
  --progress-gold: #b9851a;
  --progress-bg: #f7f3fb;
  --progress-border: #d8c7e4;
  --progress-shadow: 0 10px 28px rgba(23, 59, 103, 0.08);
  --progress-header-right-inset: 0px;
}

.page-class-progress .pv-section {
  max-width: 1120px;
  margin: 98px auto 36px;
  padding: 20px;
  transform: none;
  position: relative;
}

.page-class-progress #pv-local-menu,
.page-class-progress .pv-local-menu {
  position: absolute;
  top: 66px;
  left: 20px;
  transform: translateY(-100%);
}

.page-class-progress .pv-header-section {
  width: 100%;
  margin: 0 0 24px;
  text-align: right;
}

.page-class-progress .pv-header-title {
  font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
}

.page-class-progress .pv-header-subtitle {
  font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  margin: 4px 0 0;
}

.page-class-progress .pv-header-divider {
  margin: 0 0 18px;
  transform: translateY(-38px);
}

.progress-shell {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.progress-topbar,
.progress-panel,
.progress-filter-panel {
  background: #fff;
  border: 1px solid var(--progress-border);
  box-shadow: var(--progress-shadow);
  border-radius: 16px;
  min-width: 0;
}

.progress-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  flex-wrap: wrap;
  min-width: 0;
}

.progress-topbar-copy {
  flex: 1 1 320px;
  max-width: 500px;
  min-width: 0;
}


.progress-topbar-copy h2,
.progress-section-head h3,
.progress-bottom-box h2 {
  margin: 0;
  color: var(--progress-purple);
}

.progress-topbar-copy p,
.progress-section-head p,
.progress-bottom-box p {
  margin: 6px 0 0;
  color: #3d3d3d;
}

.progress-topbar-copy p {
  font-size: 0.94rem;
  line-height: 1.28;
}

.progress-control-grid,
.progress-filter-grid {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.progress-control-grid {
  grid-template-columns: minmax(250px, 290px) 150px;
  align-items: end;
  gap: 12px;
  margin-left: auto;
}

.progress-filter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.progress-filter-panel {
  padding: 18px;
}

.progress-user-box {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.progress-user-box label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--progress-blue);
}

.progress-filter-grid .progress-user-box {
  gap: 4px;
}

.progress-filter-grid .progress-user-box label {
  font-size: 0.79rem;
}

.progress-input,
.progress-button {
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.progress-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #baa0ce;
  font-size: 0.88rem;
}

.progress-input-compact {
  width: 88px;
  padding: 9px 12px;
  font-size: 0.82rem;
}

.progress-input-multiselect {
  min-height: 0;
  height: 50px;
  padding: 10px 12px;
}

.progress-input-multiselect[data-expanded="true"] {
  height: 108px;
  padding: 8px 10px;
}

.progress-guideline-card {
  height: 108px;
  width: calc(100% + 8px);
  max-width: none;
  padding: 8px 14px;
  border: 1px solid #baa0ce;
  border-radius: 10px;
  background: linear-gradient(180deg, #fcf9ff 0%, #f7f1fb 100%);
  box-sizing: border-box;
  display: grid;
  gap: 2px;
  align-content: start;
}

.progress-guideline-box {
  align-self: start;
}

.progress-points-box {
  grid-column: 2 / 6;
  align-self: start;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
}

.progress-points-note {
  --progress-points-font-size: 1.08rem;
  --progress-points-font-family: "Segoe UI", sans-serif;
  --progress-points-font-weight: 600;
  --progress-points-color: var(--progress-green);
  --progress-points-offset-y: 0;

  text-align: center;
  font-family: var(--progress-points-font-family);
  font-size: var(--progress-points-font-size);
  font-weight: var(--progress-points-font-weight);
  color: var(--progress-points-color);
  line-height: 1.2;
  transform: translateY(var(--progress-points-offset-y));
}

.progress-points-note-purple {
  --progress-points-font-size: 0.94rem;
  --progress-points-font-weight: 700;
  --progress-points-color: var(--progress-purple);
  --progress-points-offset-y: 0;
  white-space: nowrap;
}

.progress-divide-mini-host {
  margin-top: 4px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  justify-content: flex-end;
}

.progress-divide-mini-grid {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.progress-divide-mini-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 76px;
  border-radius: 12px;
  padding: 7px 6px 6px;
  text-align: center;
  box-sizing: border-box;
}

.progress-divide-mini-card:nth-child(1) {
  background: linear-gradient(180deg, #fff4fb 0%, #fffafc 100%);
}

.progress-divide-mini-card:nth-child(2) {
  background: linear-gradient(180deg, #fff9ef 0%, #fffdf8 100%);
}

.progress-divide-mini-card:nth-child(3) {
  background: linear-gradient(180deg, #f2fbf3 0%, #fbfffc 100%);
}

.progress-divide-mini-card h4 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a18a5;
}

.progress-divide-mini-card .progress-divide-total {
  margin-top: 3px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #2f2f2f;
  line-height: 1.15;
}

.progress-divide-mini-card .progress-divide-meta-small {
  margin-top: 3px;
  font-size: 0.58rem;
  line-height: 1.18;
  color: #6a5b77;
  text-transform: uppercase;
}


.progress-guideline-row {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.progress-guideline-row.strong {
  background: #edf9ef;
  color: var(--progress-green);
}

.progress-guideline-row.developing {
  background: #fff6e4;
  color: var(--progress-gold);
}

.progress-guideline-row.revision {
  background: #fff1f1;
  color: var(--progress-red);
}

.progress-filter-help {
  color: #6a5b77;
  font-size: 0.78rem;
  line-height: 1.35;
}

.progress-button {
  border: 0;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.progress-button.primary {
  background: var(--progress-purple);
  color: #fff;
  white-space: nowrap;
}

.progress-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.progress-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}

.progress-status-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.progress-status-row .progress-status {
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.progress-status-info {
  background: #eef5ff;
  color: var(--progress-blue);
  border: 1px solid #c7dbf5;
}

.progress-status-success {
  background: #edf9ef;
  color: var(--progress-green);
  border: 1px solid #cbe8d2;
}

.progress-status-error {
  background: #fff1f1;
  color: var(--progress-red);
  border: 1px solid #f0c8c8;
}

.progress-inline-filter {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.progress-inline-filter-status {
  flex: 0 0 auto;
  padding: 0 10px 0 12px;
  background: #eef5ff;
  border: 1px solid #c7dbf5;
  border-left: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.progress-inline-filter-status .progress-input-compact {
  width: 98px;
  min-width: 98px;
}

.progress-inline-filter label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--progress-blue);
  white-space: nowrap;
}

.progress-panel {
  padding: 18px;
}

.progress-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
}

.progress-section-copy {
  min-width: 0;
}

.progress-section-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.progress-section-control label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--progress-blue);
}

.progress-panel-trend .progress-section-head {
  align-items: center;
}

.progress-panel-trend .progress-section-head h3 {
  font-size: 0.92rem;
  line-height: 1.15;
}

.progress-panel-trend .progress-section-head p {
  font-size: 0.83rem;
  line-height: 1.2;
  white-space: nowrap;
}

.progress-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.progress-encouragement-host {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.progress-encouragement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.progress-encouragement-card {
  padding: 14px;
  border: 1px solid #e3d8ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #faf6fe 100%);
}

.progress-encouragement-wide {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}

.progress-encouragement-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a5b77;
  font-weight: 700;
}

.progress-encouragement-value {
  margin-top: 8px;
  color: var(--progress-purple);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.1;
}

.progress-encouragement-inline {
  font-size: 1.08rem;
}

.progress-encouragement-subtle {
  margin-top: 6px;
  color: #6a5b77;
  font-size: 0.82rem;
}

.progress-badge-strip {
  display: grid;
  gap: 10px;
}

.progress-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-achievement-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--progress-blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-motivation-strip {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #edf9ef 0%, #f7fbff 100%);
  border: 1px solid #d8e7da;
  color: #31563d;
  font-weight: 600;
  font-size: 0.92rem;
}

.progress-stat-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e3d8ef;
  background: linear-gradient(180deg, #ffffff 0%, #faf6fe 100%);
}

.progress-stat-card h4 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a5b77;
}

.progress-stat-card strong {
  display: block;
  color: var(--progress-purple);
  font-size: 1.28rem;
  line-height: 1.05;
}

.progress-chart-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
  min-width: 0;
}

.progress-chart-host {
  min-height: 360px;
  min-width: 0;
}

.progress-chart-host-wide {
  min-height: 0;
}

.progress-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.progress-chart-legend-bottom {
  margin-top: 12px;
  margin-bottom: 0;
  justify-content: center;
}

.progress-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5c4f69;
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 12px;
}

.progress-empty {
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed #ceb6e0;
  background: #fcf9ff;
  text-align: center;
  color: #6a5b77;
}

.progress-svg {
  width: 100%;
  height: 420px;
  min-height: 420px;
}

.progress-trend-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

.progress-trend-scroll .progress-svg {
  width: auto;
  min-width: 760px;
}

.progress-axis,
.progress-grid {
  stroke: #d5cae3;
  stroke-width: 1;
}

.progress-grid-vertical {
  stroke: #e6ddf0;
  stroke-width: 0.8;
}

.progress-axis {
  stroke: #9180a3;
  stroke-width: 1.4;
}

.progress-line {
  fill: none;
  stroke: #8e44ad;
  stroke-width: 2.8;
}

.progress-dot {
  fill: #8e44ad;
  stroke: #ffffff;
  stroke-width: 1.6;
}

.progress-bar {
  fill: rgba(23, 59, 103, 0.18);
}

.progress-size-average {
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
}

.progress-size-average.strong {
  color: var(--progress-green);
}

.progress-size-average.developing {
  color: var(--progress-gold);
}

.progress-size-average.revision {
  color: var(--progress-red);
}

#sizeHost {
  min-height: 0;
}

#sizeHost + * {
  min-height: 0;
}

#sizeHost,
#sizeHost .progress-empty {
  font-size: 0.9rem;
}

.progress-chart-grid > .progress-panel:last-child .progress-section-head h3 {
  font-size: 0.84rem;
  line-height: 1.05;
}

.progress-chart-grid > .progress-panel:last-child .progress-section-head p {
  font-size: 0.72rem;
  line-height: 1.12;
}

.progress-bar-label,
.progress-axis-label {
  fill: #6a5b77;
  font-size: 10px;
}

.progress-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.progress-divide-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.progress-divide-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
}

.progress-divide-panel-left,
.progress-divide-panel-right {
  display: grid;
  gap: 14px;
}

.progress-divide-snapshot {
  min-width: 0;
  border-radius: 14px;
  padding: 14px 12px 12px;
  text-align: center;
}

.progress-divide-snapshot-no-attempt {
  background: linear-gradient(180deg, #fff4fb 0%, #fffafc 100%);
}

.progress-divide-snapshot-below {
  background: linear-gradient(180deg, #fff9ef 0%, #fffdf8 100%);
}

.progress-divide-snapshot-high {
  background: linear-gradient(180deg, #f2fbf3 0%, #fbfffc 100%);
}

.progress-divide-snapshot h4 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #5a18a5;
}

.progress-divide-snapshot .progress-divide-total {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #2f2f2f;
}

.progress-divide-snapshot .progress-divide-meta-small {
  margin-top: 8px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #6a5b77;
  text-transform: uppercase;
}

.progress-divide-snapshot .progress-divide-subjects,
.progress-divide-snapshot .progress-divide-subject,
.progress-divide-snapshot .progress-divide-mode-block,
.progress-divide-snapshot .progress-divide-list {
  text-align: left;
}

.progress-divide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.progress-divide-column {
  min-width: 0;
  border: 1px solid #e3d8ef;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #faf6fe 100%);
}

.progress-divide-column-low {
  background: linear-gradient(180deg, #fffefe 0%, #fff7f7 100%);
}

.progress-divide-column-high {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf6 100%);
}

.progress-divide-column h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--progress-purple);
}

.progress-divide-meta {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #3d3d3d;
}

.progress-divide-meta-small {
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #6a5b77;
}

.progress-divide-subjects {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.progress-divide-subject {
  display: grid;
  gap: 8px;
}

.progress-divide-subject-title {
  margin: 0;
  color: var(--progress-blue);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-divide-mode-block {
  display: grid;
  gap: 5px;
}

.progress-divide-mode-title {
  margin: 0;
  color: #5c4f69;
  font-size: 0.74rem;
  font-weight: 700;
}

.progress-divide-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.progress-divide-list li {
  color: #3d3d3d;
  font-size: 0.8rem;
  line-height: 1.35;
}

.progress-divide-score {
  font-weight: 700;
  color: var(--progress-purple);
}

.progress-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

.progress-table th,
.progress-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7deef;
  text-align: left;
  font-size: 0.84rem;
  vertical-align: top;
}

.progress-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--progress-blue);
  background: #faf6fe;
  text-align: center;
}

.progress-sort-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 0;
}

.progress-sort-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  margin-left: 4px;
  border-radius: 999px;
  background: #eadff5;
  color: var(--progress-purple);
  font-size: 0.62rem;
  vertical-align: middle;
}

.progress-subject-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 6px 6px 0;
  white-space: nowrap;
}

.progress-subject-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 8px;
}

.subject-mathematics {
  background: #eef5ff;
  color: #1f77b4;
}

.subject-science {
  background: #edf9ef;
  color: #2ca02c;
}

.subject-social-studies {
  background: #f3edfb;
  color: #7a4fb3;
}

.subject-combined {
  background: #f4eef8;
  color: #6a5b77;
}

.progress-chapter-cell {
  display: grid;
  gap: 4px;
}

.progress-subject-cell {
  display: grid;
  gap: 4px;
}

.progress-chapter-stars {
  display: inline-flex;
  gap: 2px;
  font-size: 0.78rem;
  color: #d8cfe3;
}

.progress-chapter-stars .filled {
  color: #d5a11e;
}

.progress-table-mastery td:nth-child(4),
.progress-table-mastery td:nth-child(5),
.progress-table-mastery td:nth-child(6),
.progress-table-mastery td:nth-child(7),
.progress-table-mastery td:nth-child(8),
.progress-table-mastery td:nth-child(9) {
  text-align: center;
}

.progress-table-mastery th,
.progress-table-mastery td {
  padding: 8px 8px;
}

.progress-table-mastery th {
  font-size: 0.68rem;
}

.progress-table-mastery td {
  font-size: 0.77rem;
}

.progress-table-mastery {
  min-width: 0;
  table-layout: fixed;
}

.progress-table-mastery .progress-subject-badge {
  gap: 5px;
  padding: 4px 8px;
  font-size: 0.7rem;
  margin: 0 4px 4px 0;
}

.progress-table-mastery .progress-subject-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
}

.progress-table-mastery .progress-chapter-stars {
  font-size: 0.72rem;
}

.progress-table-mastery .progress-mastery {
  padding: 5px 8px;
  font-size: 0.72rem;
}

.progress-table-mastery th:nth-child(2),
.progress-table-mastery td:nth-child(2) {
  min-width: 180px;
  width: 180px;
}

.progress-table-mastery th:nth-child(3),
.progress-table-mastery td:nth-child(3) {
  width: 58px;
}

.progress-table-mastery th:nth-child(4),
.progress-table-mastery td:nth-child(4) {
  width: 50px;
}

.progress-table-mastery th:nth-child(5),
.progress-table-mastery td:nth-child(5) {
  width: 58px;
}

.progress-table-mastery th:nth-child(6),
.progress-table-mastery td:nth-child(6) {
  width: 46px;
}

.progress-table-mastery th:nth-child(10),
.progress-table-mastery td:nth-child(10) {
  width: 84px;
}

.progress-table-mastery th:nth-child(7),
.progress-table-mastery td:nth-child(7),
.progress-table-mastery th:nth-child(8),
.progress-table-mastery td:nth-child(8),
.progress-table-mastery th:nth-child(9),
.progress-table-mastery td:nth-child(9) {
  width: 62px;
}

.progress-table-mastery th:nth-child(1),
.progress-table-mastery td:nth-child(1) {
  width: 132px;
}

.progress-table-attempts td:nth-child(4),
.progress-table-attempts td:nth-child(5),
.progress-table-attempts td:nth-child(6),
.progress-table-attempts td:nth-child(7),
.progress-table-attempts td:nth-child(8),
.progress-table-attempts td:nth-child(9) {
  text-align: center;
}

.progress-mastery {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.progress-mastery.strong {
  background: #edf9ef;
  color: var(--progress-green);
}

.progress-mastery.developing {
  background: #fff6e4;
  color: var(--progress-gold);
}

.progress-mastery.revision {
  background: #fff1f1;
  color: var(--progress-red);
}

.progress-bottom-box {
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  text-align: center;
  box-sizing: border-box;
}

.page-class-progress .back-to-top {
  right: 18px;
  bottom: 20px;
  z-index: 1001;
}

.page-class-progress .back-to-top-secondary {
  right: 80px;
  width: auto;
  min-width: 72px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-class-progress .back-to-top-print {
  right: 18px;
  bottom: 84px;
  width: 112px;
  min-height: 40px;
  height: auto;
  border: 1px solid #d7c4e7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--progress-blue);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(23, 59, 103, 0.14);
  opacity: 1;
  visibility: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.page-class-progress .back-to-top-reset {
  bottom: 136px;
  width: 112px;
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1040px) {
  #overviewCards.progress-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .progress-card-grid:not(#overviewCards) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .progress-encouragement-grid {
    grid-template-columns: 1fr;
  }

  .progress-chart-grid,
  .progress-filter-grid {
    grid-template-columns: 1fr;
  }

  .progress-panel-trend .progress-section-head {
    display: grid;
    gap: 6px;
  }

  .progress-section-head {
    align-items: start;
  }

  .progress-section-control {
    justify-items: start;
  }

  .progress-panel-trend .progress-section-head p {
    white-space: normal;
  }

  .progress-points-box {
    grid-column: auto;
    min-height: auto;
    justify-content: flex-start;
    padding-top: 0;
  }

  .progress-guideline-box {
    grid-column: auto;
  }

  .progress-divide-grid {
    grid-template-columns: 1fr;
  }

  .progress-divide-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .progress-divide-panel-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .progress-control-grid {
    grid-template-columns: 1fr;
  }

  #overviewCards.progress-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .progress-card-grid:not(#overviewCards) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-class-progress .back-to-top-secondary {
    right: 72px;
    min-width: 64px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .page-class-progress .back-to-top-print {
    right: 18px;
    bottom: 72px;
    width: 102px;
  }

  .page-class-progress .back-to-top-reset {
    bottom: 120px;
    width: 102px;
  }
}


@page {
  size: portrait;
  margin: 8mm;
}

@media print {
  body.page-class-progress {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page-class-progress #passwordOverlay,
  .page-class-progress #site-header,
  .page-class-progress #header-menu,
  .page-class-progress #pv-local-menu,
  .page-class-progress #site-footer,
  .page-class-progress .back-to-top,
  .page-class-progress .progress-button {
    display: none !important;
  }

  .page-class-progress #mainContentWrapper {
    display: block !important;
  }

  .page-class-progress .pv-section {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .page-class-progress .progress-shell {
    gap: 12px;
  }

  .page-class-progress .progress-filter-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .page-class-progress .progress-guideline-box {
    grid-column: 1 / 2;
  }

  .page-class-progress .progress-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-class-progress .progress-filter-panel {
    padding: 12px;
  }

  .page-class-progress .progress-filter-grid .progress-user-box {
    gap: 3px;
  }

  .page-class-progress .progress-filter-grid .progress-user-box label {
    font-size: 0.68rem;
  }

  .page-class-progress .progress-input {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .page-class-progress .progress-input-multiselect {
    height: 40px;
    padding: 7px 9px;
  }

  .page-class-progress .progress-guideline-card {
    width: 100%;
    height: 92px;
    padding: 9px 10px;
    gap: 6px;
  }

  .page-class-progress .progress-guideline-row {
    padding: 7px 9px;
    font-size: 0.68rem;
  }

  .page-class-progress .progress-points-box {
    grid-column: 2 / -1;
    grid-row: 2;
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-items: stretch;
    align-self: stretch;
    justify-self: stretch;
    min-height: 108px;
    width: 100%;
    max-width: none;
  }

  .page-class-progress .progress-points-note {
    --progress-points-font-size: 0.74rem;
    line-height: 1.08;
    width: 100%;
    text-align: center;
  }

  .page-class-progress .progress-points-note-purple {
    --progress-points-font-size: 0.6rem;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .page-class-progress .progress-divide-mini-host {
    width: calc(100% - 4px);
    margin-left: auto;
    margin-right: 4px;
    height: 56px;
    display: flex;
    justify-content: flex-end;
  }

  .page-class-progress .progress-divide-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    min-width: calc(100% + 15px);
    height: 56px;
    align-items: stretch;
  }

  .page-class-progress .progress-divide-mini-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 175px;
    min-height: 56px;
    height: 56px;
  }

  .page-class-progress .progress-divide-mini-card:nth-child(1),
  .page-class-progress .progress-divide-mini-card:nth-child(2),
  .page-class-progress .progress-divide-mini-card:nth-child(3) {
    flex: none;
  }

  .page-class-progress .progress-divide-mini-card h4 {
    font-size: 0.5rem;
  }

  .page-class-progress .progress-divide-mini-card .progress-divide-total {
    margin-top: 2px;
    font-size: 0.56rem;
  }

  .page-class-progress .progress-divide-mini-card .progress-divide-meta-small {
    margin-top: 2px;
    font-size: 0.4rem;
    line-height: 1.08;
  }

  .page-class-progress .progress-divide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-class-progress .progress-divide-panel-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .page-class-progress .progress-divide-snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-class-progress .progress-table-wrap {
    overflow: visible;
  }

  .page-class-progress .progress-table {
    min-width: 0;
  }
}

#trendHost .progress-axis-label {
  font-size: 12px;
}
