.week-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(82, 166, 226, .3), transparent 35%),
    linear-gradient(135deg, #071a2e, #123b66 72%, #163f55);
}

.week-content {
  gap: 48px;
}

.week-stat-strip {
  display: grid;
  grid-template-columns: .7fr 1.45fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.week-stat-strip > div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.week-stat-strip > div:last-child {
  border-right: 0;
}

.week-stat-strip span,
.week-stat-strip strong {
  display: block;
}

.week-stat-strip span {
  color: var(--muted);
  font-size: 11px;
}

.week-stat-strip strong {
  margin-top: 3px;
  font-size: 20px;
  line-height: 1.25;
}

.week-content .filter-grid {
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
}

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

.week-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 24px;
  border-top: 5px solid #1769a5;
}

.week-tool-card:nth-child(2) {
  border-top-color: #2e7b69;
}

.week-tool-card:nth-child(3) {
  border-top-color: #b86a19;
}

.week-tool-card > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.week-tool-card h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.28;
}

.week-tool-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
}

.week-tool-card > a:not(.btn) {
  font-weight: 750;
}

.week-browser {
  padding: 20px;
}

.week-selector-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.week-selector-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #cad5e1;
  border-radius: 7px;
  color: var(--ink);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.week-selector-grid a:hover {
  border-color: #6aa5d2;
  background: #eef6fc;
  text-decoration: none;
}

.week-selector-grid a.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.week-neighbor-links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.week-neighbor-links a {
  font-size: 13px;
  font-weight: 750;
}

.week-watch-grid .guide-card {
  border-top: 4px solid #1769a5;
}

.week-faq-grid .faq-item {
  min-height: 190px;
}

@media (max-width: 960px) {
  .week-stat-strip,
  .week-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-stat-strip > div:nth-child(2) {
    border-right: 0;
  }

  .week-stat-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .week-selector-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .week-stat-strip,
  .week-tool-grid {
    grid-template-columns: 1fr;
  }

  .week-stat-strip > div,
  .week-stat-strip > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .week-stat-strip > div:last-child {
    border-bottom: 0;
  }

  .week-content .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .week-tool-card,
  .week-faq-grid .faq-item {
    min-height: 0;
  }

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

@media print {
  .week-stat-strip,
  .week-tool-grid,
  .week-browser,
  .week-content > section:not(#week-schedule) {
    display: none !important;
  }
}
