.test-week-page {
  min-height: 100vh;
  width: 100%;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef4fb 100%);
  box-sizing: border-box;
}

.test-week-shell {
  width: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-sizing: border-box;
}

.test-week-hero,
.test-week-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.test-week-hero {
  padding: 22px 24px;
}

.test-week-hero__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.test-week-hero__heading {
  min-width: 0;
  text-align: center;
}

.test-week-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-hero__title {
  margin: 6px 0 0;
  font-size: 32px;
  line-height: 1.1;
  color: #0f172a;
}

.test-week-hero__score {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  border: 1px solid rgba(191, 219, 254, 0.92);
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
}

.test-week-score-compare {
  font-size: 12px;
  color: #94a3b8;
}

.test-week-score-compare__delta--positive {
  color: #dc2626;
}

.test-week-score-compare__delta--negative {
  color: #16a34a;
}

.test-week-score-compare__delta--neutral {
  color: #94a3b8;
}

.test-week-hero__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.test-week-nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  color: #1e3a8a;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.test-week-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.55);
}

.test-week-nav-btn:active {
  transform: translateY(0);
}

.test-week-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.test-week-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-card__value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.test-week-card__meta {
  margin-top: 8px;
  font-size: 13px;
  color: #475569;
}

.test-week-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.test-week-layout--split {
  grid-template-columns: 1fr 0.9fr;
}

.test-week-layout--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.test-week-panel {
  padding: 22px;
}

.test-week-panel__header h2 {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.test-week-panel__header p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.5;
}

.test-week-panel__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.test-week-inline-stat {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(191, 219, 254, 0.72);
}

.test-week-inline-stat__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-inline-stat__value {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.test-week-inline-stat__meta {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.test-week-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.test-week-row-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(191, 219, 254, 0.75);
}

.test-week-row-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f172a;
}

.test-week-row-card__value {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  color: #1d4ed8;
}

.test-week-compare-meta {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.test-week-compare-delta--positive {
  color: #dc2626;
}

.test-week-compare-delta--negative {
  color: #16a34a;
}

.test-week-compare-delta--neutral {
  color: #94a3b8;
}

.test-week-row-card__meta {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.test-week-row-card__meta--deadline {
  color: #9a3412;
  font-weight: 700;
}

.test-week-delta {
  font-weight: 800;
}

.test-week-delta--positive {
  color: #dc2626;
}

.test-week-delta--negative {
  color: #16a34a;
}

.test-week-delta--neutral {
  color: #475569;
}

.test-week-progress {
  height: 10px;
  margin-top: 12px;
  background: #dbeafe;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.test-week-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  border-radius: 999px;
}

.test-week-category-chart {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.test-week-category-chart__visual {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.test-week-category-chart__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.test-week-category-chart__segment {
  transition: opacity 0.14s ease, transform 0.14s ease;
  cursor: pointer;
}

.test-week-category-chart__segment:hover {
  opacity: 0.92;
}

.test-week-category-chart__center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.test-week-category-chart__center-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-category-chart__center-value {
  margin-top: 4px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1d4ed8;
  line-height: 1;
}

.test-week-category-chart__center-meta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.35;
}

.test-week-category-chart__tooltip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(10px, -110%);
  min-width: 180px;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
  z-index: 5;
}

.test-week-category-chart__tooltip-title {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.test-week-category-chart__legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-content: start;
}

.test-week-category-chart__legend-item {
  display: grid;
  grid-template-columns: 22px 10px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 0;
}

.test-week-category-chart__legend-rank {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-align: right;
}

.test-week-category-chart__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.test-week-category-chart__legend-name {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.test-week-category-chart__legend-share {
  font-size: 12px;
  font-weight: 800;
  color: #1e40af;
}

.test-week-category-chart__legend-average {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.test-week-category-chart__legend-delta {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
}

.test-week-category-chart__legend-delta--positive {
  color: #dc2626;
}

.test-week-category-chart__legend-delta--negative {
  color: #16a34a;
}

.test-week-category-chart__legend-delta--neutral {
  color: #94a3b8;
}

.test-week-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.test-week-progress-row .test-week-progress {
  flex: 1;
}

.test-week-progress-label {
  min-width: 38px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  align-self: center;
}

.test-week-progress__fill--base {
  background: linear-gradient(90deg, #5b8def 0%, #3b82f6 100%);
}

.test-week-progress__fill--week {
  background: linear-gradient(90deg, #8ee3ff 0%, #67e8f9 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 999px 999px 0;
}

.test-week-progress--soft {
  background: #e2e8f0;
}

.test-week-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.test-week-overruns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.test-week-overrun {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.test-week-overrun__date {
  font-size: 12px;
  font-weight: 800;
  color: #9a3412;
}

.test-week-overrun__title {
  font-weight: 700;
  color: #7c2d12;
}

.test-week-overrun__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #9a3412;
}

.test-week-overrun__source-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.test-week-overrun__meta {
  margin-top: 4px;
  font-size: 13px;
  color: #9a3412;
}

.test-week-overrun__diff {
  font-size: 15px;
  font-weight: 800;
  color: #dc2626;
}

.test-week-reflection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.test-week-reflection__card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.test-week-reflection__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-reflection__value {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
}

.test-week-reflection__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.test-week-reflection__date {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.test-week-reflection__score {
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.test-week-reflection__section {
  margin-top: 14px;
}

.test-week-reflection__section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.test-week-reflection__section--keep .test-week-reflection__section-label {
  color: #16a34a;
}

.test-week-reflection__section--problem .test-week-reflection__section-label {
  color: #dc2626;
}

.test-week-reflection__section-body {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  white-space: pre-wrap;
}

.test-week-reflection__empty {
  margin-top: 10px;
  font-size: 14px;
  color: #64748b;
}

.test-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.test-week-timeline-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.test-week-strip-axis {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: 14px;
  margin-bottom: 4px;
}

.test-week-strip-axis__spacer {
  height: 1px;
}

.test-week-strip-axis__labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.test-week-strip-axis__labels span {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.test-week-strip-axis__labels span:nth-child(1) { justify-self: start; }
.test-week-strip-axis__labels span:nth-child(2) { justify-self: center; }
.test-week-strip-axis__labels span:nth-child(3) { justify-self: center; }
.test-week-strip-axis__labels span:nth-child(4) { justify-self: center; }
.test-week-strip-axis__labels span:nth-child(5) { justify-self: end; }

.test-week-strip-row {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.test-week-strip-row__label {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.test-week-strip-row__label-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.test-week-strip-row__day {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  border: 1px solid rgba(191, 219, 254, 0.9);
  font-size: 13px;
  font-weight: 800;
  color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.test-week-strip-row__date {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.test-week-strip-row__content {
  min-width: 0;
  position: relative;
}

.test-week-strip-row__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #eef2f6;
  color: #556270;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 2px;
  flex-shrink: 0;
}

.test-week-strip-row__score.is-empty {
  background: #f3f5f7;
  color: #9aa7b4;
}

.test-week-strip-grid {
  display: grid;
  grid-template-columns: repeat(144, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-radius: 14px;
  background: #dbe7f5;
  border: 1px solid rgba(191, 219, 254, 0.85);
  overflow: hidden;
}

.test-week-strip-cell {
  display: block;
  min-width: 0;
  height: 18px;
}

.test-week-strip-markers {
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 24px;
  pointer-events: none;
}

.test-week-strip-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
  cursor: default;
  pointer-events: auto;
}

.test-week-strip-marker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 8px;
  transform: translateX(-50%);
  background: rgba(148, 163, 184, 0.85);
  border-radius: 999px;
}

.test-week-strip-marker::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 4;
}

.test-week-strip-marker:hover::after {
  opacity: 1;
}

.test-week-day {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.test-week-day:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.test-week-day__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.test-week-day__label {
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

.test-week-day__date {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.test-week-score {
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
}

.test-week-score.is-empty {
  background: #e5e7eb;
  color: #94a3b8;
}

.test-week-day__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.test-week-day__stats span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.test-week-day__stats strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #0f172a;
}

.test-week-day__alignment {
  position: relative;
  display: inline-block;
}

.test-week-day__alignment-trigger {
  cursor: default;
}

.test-week-day__alignment-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 12;
}

.test-week-day__alignment:hover .test-week-day__alignment-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.test-week-day__completed {
  position: relative;
}

.test-week-day__completed-trigger {
  cursor: default;
}

.test-week-day__completed-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 12;
}

.test-week-day__completed:hover .test-week-day__completed-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.test-week-day__alignment-tooltip-title {
  font-size: 12px;
  font-weight: 800;
}

.test-week-day__alignment-tooltip-body {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
}

.test-week-day__alignment-tooltip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.test-week-day__alignment-tooltip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  font-size: 12px;
}

.test-week-day__project {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.test-week-day__project-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.7);
}

.test-week-day__project-chip-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
}

.test-week-day__project-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.test-week-day__project-chip-meta {
  font-size: 11px;
  font-weight: 700;
  color: #5b6b82;
}

.test-week-day__mismatch {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
}

.test-week-day__mismatch-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.test-week-day__mismatch-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.test-week-day__mismatch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(191, 219, 254, 0.55);
}

.test-week-day__mismatch-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  color: #475569;
}

.test-week-day__mismatch-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.test-week-day__mismatch-diff {
  flex-shrink: 0;
  font-weight: 800;
  color: #0f172a;
}

.test-week-day__mismatch-diff--positive {
  color: #dc2626;
}

.test-week-day__mismatch-diff--negative {
  color: #16a34a;
}

.test-week-day__mismatch-empty {
  margin-top: 6px;
  color: #94a3b8;
}

.test-week-day__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.test-week-day__note {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.test-week-day__notes span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.test-week-day__note--keep span {
  color: #16a34a;
}

.test-week-day__note--problem span {
  color: #dc2626;
}

.test-week-day__note-body {
  color: #334155;
  word-break: break-word;
}

.test-week-empty {
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
}

@media (max-width: 1400px) {
  .test-week-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .test-week-shell {
    padding: 18px;
  }

  .test-week-hero__grid,
  .test-week-layout,
  .test-week-layout--split,
  .test-week-panel__stats,
  .test-week-reflection,
  .test-week-days {
    grid-template-columns: 1fr;
  }
}
