.bq-shell-merge #dashboardScreen .header-actions .kid-action,
.bq-shell-merge #dashboardScreen > .academy-hero {
  display: none;
}

body.bq-shell-merge {
  overflow-x: hidden;
}

.bq-shell-merge #dashboardScreen .app-header {
  display: none !important;
}

.bq-shell-merge #dashboardScreen > #switchProfileButton {
  display: none !important;
}

.bq-shell-merge #dashboardScreen.bq-kid-subpage > .dashboard-grid,
.bq-shell-merge #dashboardScreen.bq-kid-subpage > .insight-grid {
  display: none !important;
}

.parent-page-cockpit [data-treasure-parent-card],
.parent-page-cockpit [data-street-smart-parent-card] {
  display: none !important;
}

.bq-shell-merge #parentScreen .parent-premium-frame {
  inset: 0;
  border-radius: 30px;
}

.bq-home-shell {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.bq-home-hero,
.bq-zone-card,
.bq-parent-page,
.bq-cockpit-status,
.bq-chemistry-review-panel,
.bq-query-card,
.bq-result-row,
.bq-question-card,
.bq-focus-page-card,
.bq-writing-record,
.bq-game-record,
.bq-two-column > article {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1), 0 8px 18px rgba(22, 33, 62, 0.08);
}

.bq-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at 85% 18%, rgba(250, 204, 21, 0.32), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(224,247,255,0.86));
}

.bq-home-hero h3 {
  max-width: 14ch;
  margin-bottom: 10px;
  color: #172554;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.94;
}

.bq-home-hero p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 0;
  color: #475569;
  font-weight: 820;
  line-height: 1.5;
}

.bq-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 10px;
}

.bq-home-stats span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.bq-home-stats strong,
.bq-home-stats small {
  display: block;
}

.bq-home-stats strong {
  font-size: 2rem;
  line-height: 1;
}

.bq-home-stats small {
  color: #64748b;
  font-weight: 900;
}

.bq-logout-chip {
  grid-column: 1 / -1;
  justify-self: end;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.78);
  color: #172554;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.bq-art {
  display: inline-grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.7), rgba(224,242,254,0.76));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    0 18px 34px rgba(37, 99, 235, 0.14);
}

.bq-art svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.13));
}

.bq-kid-confirm-screen {
  min-height: min(820px, calc(100vh - 54px));
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(250, 204, 21, 0.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(56, 189, 248, 0.28), transparent 30%),
    radial-gradient(circle at 78% 88%, rgba(167, 139, 250, 0.24), transparent 32%),
    linear-gradient(135deg, #fff7d6 0%, #ecfeff 52%, #f5f3ff 100%);
}

.bq-kid-confirm-screen:not(.hidden) {
  display: grid;
  opacity: 1;
}

.bq-kid-confirm-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  width: min(880px, 100%);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 36px;
  padding: clamp(22px, 5vw, 44px);
  background:
    radial-gradient(circle at 86% 16%, rgba(250, 204, 21, 0.44), transparent 24%),
    radial-gradient(circle at 8% 90%, rgba(167, 139, 250, 0.28), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #e0f7ff 100%);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255,255,255,0.86);
}

.bq-confirm-art .bq-art {
  width: clamp(132px, 20vw, 190px);
  height: clamp(132px, 20vw, 190px);
  border-radius: 42px;
}

.bq-confirm-art .bq-art svg {
  width: 88%;
  height: 88%;
}

.bq-kid-confirm-card h1 {
  max-width: 12ch;
  margin: 0 0 12px;
  color: #172554;
  font-size: clamp(2.3rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.bq-confirm-copy {
  max-width: 56ch;
  color: #475569;
  font-size: 1.05rem;
  font-weight: 820;
  line-height: 1.45;
}

.bq-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.bq-reward-game-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  border-color: rgba(14, 165, 233, 0.18);
  background:
    radial-gradient(circle at 90% 12%, rgba(250, 204, 21, 0.22), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,249,255,0.9));
}

.bq-reward-game-tile .bq-art {
  width: 86px;
  height: 86px;
  border-radius: 24px;
}

.bq-reward-game-tile .bq-art svg {
  width: 78px;
  height: 78px;
}

.bq-today-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 30px;
  padding: 18px;
  background:
    radial-gradient(circle at 96% 18%, rgba(251, 191, 36, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(240, 253, 250, 0.94), rgba(255,255,255,0.9));
  box-shadow: 0 22px 52px rgba(14, 116, 144, 0.12);
}

.bq-today-label {
  display: block;
  margin-bottom: 5px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bq-today-card h3 {
  margin: 0 0 5px;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.bq-today-card p {
  max-width: 66ch;
  margin: 0;
  color: #475569;
  font-weight: 820;
  line-height: 1.45;
}

.bq-today-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.bq-zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.7fr) minmax(240px, 0.7fr);
  gap: 16px;
}

.bq-zone-card {
  position: relative;
  min-height: 240px;
  border-left: 7px solid transparent;
  border-radius: 28px;
  padding: 20px;
  overflow: hidden;
  color: #172554;
  text-align: left;
}

.bq-zone-card.training {
  border-left-color: #22c55e;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  background:
    radial-gradient(circle at 96% 12%, rgba(34, 197, 94, 0.2), transparent 23%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(240,253,244,0.88));
}

.bq-zone-card.games {
  border-left-color: #f97316;
  background:
    radial-gradient(circle at 82% 16%, rgba(250, 204, 21, 0.42), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,237,213,0.94));
}

.bq-zone-card.progress {
  border-left-color: #7c3aed;
  background:
    radial-gradient(circle at 84% 16%, rgba(124, 58, 237, 0.25), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(245,243,255,0.92));
}

.bq-zone-card > strong {
  display: block;
  margin: 10px 0;
  font-size: 1.55rem;
  line-height: 1.05;
}

.bq-zone-card > span:not(.bq-zone-icon):not(.bq-art) {
  display: block;
  color: #475569;
  font-weight: 820;
  line-height: 1.45;
}

.bq-zone-card > .bq-art {
  align-self: start;
}

.bq-zone-card.games,
.bq-zone-card.progress {
  display: grid;
  align-content: start;
  gap: 10px;
}

.bq-zone-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  box-shadow: inset -6px -6px 0 rgba(15,23,42,0.14), 0 14px 26px rgba(37,99,235,0.2);
}

.bq-zone-icon svg,
.bq-query-card svg {
  width: 26px;
  height: 26px;
}

.bq-module-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bq-module-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 156px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-left-width: 7px;
  border-radius: 28px;
  padding: 16px;
  background:
    radial-gradient(circle at 92% 12%, rgba(250, 204, 21, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.84);
  color: #172554;
  text-align: left;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.1);
}

.bq-module-card.exam {
  border-left-color: #2563eb;
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(219,234,254,0.9));
}

.bq-module-card.winter {
  border-left-color: #7c3aed;
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.25), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(237,233,254,0.9));
}

.bq-module-card.chemistry {
  border-left-color: #cf7b3f;
  background:
    radial-gradient(circle at 92% 12%, rgba(207, 123, 63, 0.3), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,237,213,0.92));
}

.bq-module-card.exam .bq-art,
.bq-query-card.area-exam .bq-art {
  background: linear-gradient(145deg, rgba(219,234,254,0.95), rgba(191,219,254,0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(37, 99, 235, 0.18);
}

.bq-module-card.winter .bq-art,
.bq-query-card.area-winter .bq-art {
  background: linear-gradient(145deg, rgba(245,243,255,0.98), rgba(221,214,254,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(124, 58, 237, 0.16);
}

.bq-module-card.chemistry .bq-art,
.bq-query-card.area-chemistry .bq-art {
  background: linear-gradient(145deg, rgba(255,247,237,0.98), rgba(254,215,170,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(207, 123, 63, 0.18);
}

.bq-module-card strong,
.bq-module-card span {
  display: block;
}

.bq-module-card .bq-art {
  grid-row: 1 / span 2;
  width: 104px;
  height: 104px;
  border-radius: 30px;
}

.bq-module-card .bq-art svg {
  width: 94px;
  height: 94px;
}

.bq-module-card strong {
  align-self: end;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.bq-module-card span {
  align-self: start;
  color: #475569;
  font-weight: 820;
  line-height: 1.4;
}

.bq-kid-page {
  gap: 18px;
}

.bq-kid-page-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 32px;
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 90% 16%, rgba(250, 204, 21, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,249,255,0.9));
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.1);
}

.bq-kid-page-head h3 {
  margin: 0 0 6px;
  color: #172554;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

.bq-kid-page-head p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  font-weight: 820;
}

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

.bq-prep-summary > div {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 26px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
}

.bq-prep-summary strong {
  color: #172554;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.bq-prep-summary span {
  color: #64748b;
  font-weight: 900;
}

.bq-prep-grid,
.bq-winter-topic-grid,
.bq-chemistry-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bq-prep-card,
.bq-winter-topic,
.bq-chemistry-topic {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 238px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  padding: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.18), transparent 28%),
    rgba(255,255,255,0.9);
  color: #172554;
  text-align: left;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.bq-prep-card.recommended {
  border-color: rgba(249, 115, 22, 0.35);
  background:
    radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.28), transparent 28%),
    rgba(255,255,255,0.94);
}

.bq-prep-card.done {
  border-color: rgba(34, 197, 94, 0.28);
}

.bq-prep-card .bq-art {
  width: 86px;
  height: 86px;
  border-radius: 24px;
}

.bq-prep-card .bq-art svg {
  width: 76px;
  height: 76px;
}

.bq-prep-state,
.bq-prep-card em,
.bq-winter-topic small {
  color: #0f766e;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
}

.bq-prep-card strong,
.bq-winter-topic strong {
  font-size: 1.22rem;
  line-height: 1.12;
}

.bq-prep-card small {
  color: #64748b;
  font-weight: 820;
}

.bq-winter-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.bq-kid-page-head .bq-art-winter {
  display: block;
  width: min(100%, 300px);
  min-height: 150px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.72)),
    url("assets/ui/winter-2026/place-value.png") center / contain no-repeat,
    linear-gradient(135deg, #faf4e8, #eef7ff);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.72),
    0 18px 34px rgba(14, 43, 97, 0.16);
}

.bq-kid-page-head .bq-art-winter {
  width: 150px;
  min-height: 112px;
}

.bq-kid-page-head .bq-art-winter svg {
  display: none;
}

.bq-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bq-winter-brief h4 {
  margin: 0 0 8px;
  color: #172554;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.bq-winter-brief p {
  margin: 0;
  color: #475569;
  font-weight: 820;
  line-height: 1.35;
}

.bq-winter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bq-command-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  min-width: 176px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.92);
  color: #172554;
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bq-command-button::after {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1;
  opacity: 0.82;
}

.bq-command-button.primary {
  border-color: #172554;
  background: #172554;
  color: #ffffff;
}

.bq-command-button:hover,
.bq-command-button:focus-visible {
  transform: translateY(-1px);
  border-color: #2563eb;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.14);
}

.bq-winter-topic {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  min-height: 304px;
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.93));
}

.bq-chemistry-topic {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  min-height: 176px;
  border-radius: 22px;
  padding: 14px;
  background: rgba(255,255,255,0.94);
}

.bq-chemistry-topic .bq-art {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.bq-chemistry-topic .bq-art svg {
  width: 54px;
  height: 54px;
}

.bq-chemistry-topic strong {
  min-width: 0;
  color: #172554;
  font-size: 0.98rem;
  line-height: 1.12;
}

.bq-chemistry-topic .bq-winter-number {
  color: #0b6f8f;
  font-size: 1rem;
  line-height: 1;
}

.bq-chemistry-topic .bq-winter-status-row {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.bq-chemistry-topic.tested {
  border-color: rgba(4, 120, 87, 0.22);
  box-shadow: inset 0 -4px 0 #22c55e, 0 14px 28px rgba(15, 23, 42, 0.08);
}

.bq-chemistry-topic.done {
  border-color: rgba(11, 111, 143, 0.28);
  box-shadow: inset 0 -4px 0 #0ea5e9, 0 14px 28px rgba(15, 23, 42, 0.08);
}

.bq-chemistry-review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 16px;
  align-items: center;
  border-radius: 24px;
  padding: 18px;
}

.bq-chemistry-review-panel h3 {
  margin-bottom: 6px;
  color: #172554;
  font-size: 1.22rem;
}

.bq-chemistry-review-panel p:not(.eyebrow) {
  margin: 0;
  color: #64748b;
  font-weight: 820;
  line-height: 1.45;
}

.bq-chemistry-review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.bq-chem-review-overlay.hidden {
  display: none;
}

.bq-chem-review-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 34px);
}

.bq-chem-review-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
}

.bq-chem-review-modal {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(940px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  padding: clamp(16px, 3vw, 24px);
  background:
    radial-gradient(circle at 88% 8%, rgba(250, 204, 21, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.bq-chem-review-head,
.bq-chem-review-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bq-chem-review-head h3 {
  margin-bottom: 6px;
  color: #172554;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.bq-chem-review-head p:not(.eyebrow) {
  margin: 0;
  color: #64748b;
  font-weight: 840;
}

.bq-chem-review-section,
.bq-chem-review-correct {
  display: grid;
  gap: 12px;
}

.bq-chem-review-section-head strong {
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 1000;
}

.bq-chem-review-list {
  display: grid;
  gap: 12px;
}

.bq-chem-answer-card {
  border-radius: 18px;
}

.bq-chem-answer-card strong {
  color: #172554;
}

.bq-chem-review-note {
  border-radius: 14px;
  padding: 10px 12px;
  background: #eef6ff;
  color: #475569;
  font-weight: 820;
  line-height: 1.45;
}

.bq-chem-review-correct {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: 8px;
}

.bq-chem-review-correct summary {
  cursor: pointer;
  color: #172554;
  font-weight: 950;
}

.bq-winter-topic::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.bq-winter-topic:hover::after,
.bq-winter-topic:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.bq-winter-thumb {
  grid-row: auto;
  width: 100%;
  min-height: 178px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.24)),
    url("assets/ui/winter-2026/place-value.png") center / contain no-repeat,
    linear-gradient(135deg, #f8fafc, #eef6ff);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.7),
    0 14px 24px rgba(7, 24, 73, 0.12);
}

.bq-winter-topic.workbench .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/multi-arithmetic.png"), linear-gradient(135deg, #f8fafc, #ecfeff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.mountain .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/multiplication.png"), linear-gradient(135deg, #eff6ff, #dbeafe);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.reasoning .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/division.png"), linear-gradient(135deg, #f5f3ff, #eff6ff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.core .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/fraction-equivalence.png"), linear-gradient(135deg, #f8fafc, #dbeafe);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.notebook .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/fraction-operations.png"), linear-gradient(135deg, #fefce8, #ecfeff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.progress .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/decimals-data.png"), linear-gradient(135deg, #f0fdf4, #eff6ff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.world .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/angles-geometry.png"), linear-gradient(135deg, #ecfeff, #eef2ff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.reading .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/word-problems.png"), linear-gradient(135deg, #f0fdf4, #eff6ff);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-topic.academy .bq-winter-thumb {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.6)), url("assets/ui/winter-2026/factors-patterns.png"), linear-gradient(135deg, #eff6ff, #dcfce7);
  background-size: auto, contain, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.bq-winter-number {
  color: #2563eb;
  font-size: 1.35rem;
  font-weight: 1000;
}

.bq-winter-status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
}

.bq-status-pill {
  display: grid;
  gap: 2px;
  border-radius: 12px;
  padding: 9px 10px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.bq-status-pill b,
.bq-status-pill em {
  display: block;
  font-style: normal;
}

.bq-status-pill b {
  color: #475569;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bq-status-pill em {
  color: #172554;
  font-size: 0.82rem;
  font-weight: 1000;
}

.bq-status-pill.done {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.bq-status-pill.done em {
  color: #047857;
}

.bq-status-pill.pending em {
  color: #9a3412;
}

.bq-status-pill.checking em {
  color: #2563eb;
}

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

.bq-progress-board > article {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.bq-mini-status-list {
  display: grid;
  gap: 8px;
}

.bq-mini-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  padding: 8px 0;
}

.bq-mini-status-list span {
  color: #475569;
  font-weight: 820;
}

.bq-mini-status-list strong {
  color: #172554;
}

#parentScreen.parent-page-cockpit > .parent-grid,
#parentScreen.parent-page-cockpit .bq-parent-hidden-grid {
  display: none !important;
}

.parent-page-cockpit .parent-recommendation {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.parent-page-cockpit .parent-corner-actions {
  display: none;
}

.bq-parent-page {
  display: grid;
  gap: 18px;
  border-radius: 28px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, 0.16), transparent 22%),
    rgba(255, 255, 255, 0.88);
}

.bq-parent-page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.bq-parent-page-head h3 {
  margin-bottom: 8px;
  color: #172554;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.bq-parent-page-head p:not(.eyebrow) {
  max-width: 70ch;
  margin-bottom: 0;
  color: #475569;
  font-weight: 820;
}

.bq-cockpit-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,246,255,0.9));
}

.bq-cockpit-status h3 {
  margin-bottom: 8px;
}

.bq-cockpit-status p {
  margin-bottom: 0;
  color: #475569;
  font-weight: 820;
}

.bq-status-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 10px;
}

.bq-status-metrics span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.bq-status-metrics strong,
.bq-status-metrics small {
  display: block;
}

.bq-status-metrics strong {
  font-size: 1.65rem;
}

.bq-status-metrics small {
  color: #64748b;
  font-weight: 900;
}

.bq-parent-query-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bq-parent-query-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bq-answer-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 166px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 28px;
  padding: 16px;
  background:
    radial-gradient(circle at 96% 10%, rgba(250, 204, 21, 0.2), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,249,255,0.9));
  color: #0f172a;
  text-align: left;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.1);
}

.bq-answer-card .bq-art {
  width: 82px;
  height: 82px;
  border-radius: 24px;
}

.bq-answer-card .bq-art svg {
  width: 76px;
  height: 76px;
}

.bq-answer-copy {
  display: grid;
  gap: 6px;
}

.bq-answer-copy strong {
  font-size: 1.03rem;
  line-height: 1.15;
}

.bq-answer-copy em {
  color: #0f766e;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bq-answer-copy span {
  color: #475569;
  font-weight: 820;
  line-height: 1.38;
}

.bq-parent-groups {
  display: grid;
  gap: 18px;
}

.bq-query-group {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  padding-top: 18px;
}

.bq-query-group-head h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1.25rem;
}

.bq-query-group-head p {
  margin: 0;
  color: #64748b;
  font-weight: 820;
  line-height: 1.4;
}

.bq-query-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 132px;
  border-left-width: 6px;
  border-radius: 24px;
  padding: 14px;
  color: #172554;
  text-align: left;
}

.bq-query-card.area-exam {
  border-left-color: #2563eb;
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,246,255,0.9));
}

.bq-query-card.area-chemistry {
  border-left-color: #cf7b3f;
  background:
    radial-gradient(circle at 92% 12%, rgba(207, 123, 63, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,247,237,0.92));
}

.bq-query-card.area-winter {
  border-left-color: #7c3aed;
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(245,243,255,0.9));
}

.bq-query-card.area-focus {
  border-left-color: #0f766e;
  background:
    radial-gradient(circle at 92% 12%, rgba(15, 118, 110, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(240,253,250,0.9));
}

.bq-query-card.area-coverage {
  border-left-color: #22c55e;
  background:
    radial-gradient(circle at 92% 12%, rgba(34, 197, 94, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(240,253,244,0.9));
}

.bq-query-card.area-play {
  border-left-color: #f97316;
  background:
    radial-gradient(circle at 92% 12%, rgba(249, 115, 22, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,247,237,0.9));
}

.bq-query-card.area-progress {
  border-left-color: #16a34a;
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(240,253,250,0.9));
}

.bq-query-card.area-writing {
  border-left-color: #be123c;
  background:
    radial-gradient(circle at 92% 12%, rgba(190, 18, 60, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,241,242,0.9));
}

.bq-query-card.area-records,
.bq-query-card.area-utility {
  border-left-color: #64748b;
  background:
    radial-gradient(circle at 92% 12%, rgba(100, 116, 139, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(248,250,252,0.92));
}

.bq-query-card.area-focus .bq-art,
.bq-query-card.area-coverage .bq-art,
.bq-query-card.area-progress .bq-art {
  background: linear-gradient(145deg, rgba(240,253,250,0.98), rgba(204,251,241,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(15, 118, 110, 0.14);
}

.bq-query-card.area-play .bq-art {
  background: linear-gradient(145deg, rgba(255,247,237,0.98), rgba(254,215,170,0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(249, 115, 22, 0.16);
}

.bq-query-card.area-writing .bq-art,
.bq-query-card.area-records .bq-art,
.bq-query-card.area-utility .bq-art {
  background: linear-gradient(145deg, rgba(248,250,252,0.98), rgba(226,232,240,0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 34px rgba(100, 116, 139, 0.12);
}

.bq-query-card .bq-art {
  grid-row: 1 / span 2;
  width: 74px;
  height: 74px;
  border-radius: 22px;
}

.bq-query-card .bq-art svg {
  width: 68px;
  height: 68px;
}

.bq-query-card strong {
  align-self: end;
  font-size: 1.1rem;
}

.bq-query-card span {
  align-self: start;
  color: #475569;
  font-weight: 820;
  line-height: 1.4;
}

.bq-page-list,
.bq-question-stack,
.bq-evidence-list,
.bq-record-lines {
  display: grid;
  gap: 12px;
}

.bq-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  width: 100%;
  border-radius: 20px;
  padding: 16px;
  color: #172554;
  text-align: left;
}

.bq-result-row span,
.bq-result-row small {
  display: block;
}

.bq-result-row strong {
  font-size: 1.7rem;
}

.bq-result-row small {
  grid-column: 1 / -1;
  color: #64748b;
  font-weight: 820;
}

.bq-attempt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.bq-attempt-score {
  display: grid;
  min-width: 190px;
  min-height: 150px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  color: #fff;
}

.bq-attempt-score strong,
.bq-attempt-score span,
.bq-attempt-score small {
  display: block;
}

.bq-attempt-score strong {
  font-size: 3.2rem;
  line-height: 1;
}

.bq-attempt-score span,
.bq-attempt-score small {
  font-weight: 900;
}

.bq-question-card,
.bq-focus-page-card,
.bq-writing-record,
.bq-game-record,
.bq-two-column > article {
  border-radius: 20px;
  padding: 16px;
}

.bq-question-card.missed {
  border-color: rgba(251, 146, 60, 0.45);
  background: #fff7ed;
}

.bq-question-card.correct {
  border-color: rgba(34, 197, 94, 0.24);
}

.bq-question-card h4,
.bq-focus-page-card h3,
.bq-writing-record h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.bq-question-card p,
.bq-writing-record p {
  margin-bottom: 6px;
  color: #475569;
  font-weight: 780;
}

.bq-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bq-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bq-chip-cloud span {
  border-radius: 999px;
  padding: 8px 10px;
  background: #eef2ff;
  color: #475569;
  font-weight: 900;
}

.bq-chip-cloud .done {
  background: #dcfce7;
  color: #166534;
}

.bq-game-record {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bq-game-record span {
  color: #64748b;
  font-weight: 900;
}

.bq-linked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bq-record-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  padding: 8px 0;
}

.bq-record-lines div:last-child {
  border-bottom: 0;
}

.bq-record-lines span {
  color: #475569;
  font-weight: 820;
}

.bq-record-lines strong {
  color: #172554;
}

.bq-page-return-inline {
  width: fit-content;
}

@media (max-width: 980px) {
  .bq-home-hero,
  .bq-today-card,
  .bq-kid-confirm-card,
  .bq-kid-page-head,
  .bq-zone-grid,
  .bq-cockpit-status,
  .bq-answer-grid,
  .bq-query-group,
  .bq-attempt-hero,
  .bq-chemistry-review-panel,
  .bq-winter-brief,
  .bq-progress-board,
  .bq-two-column {
    grid-template-columns: 1fr;
  }

  .bq-today-actions,
  .bq-winter-actions,
  .bq-chemistry-review-actions {
    justify-content: flex-start;
  }

  .bq-parent-query-grid,
  .bq-parent-query-grid.compact,
  .bq-prep-grid,
  .bq-winter-topic-grid,
  .bq-chemistry-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bq-status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bq-home-stats,
  .bq-module-list,
  .bq-answer-grid,
  .bq-parent-query-grid,
  .bq-parent-query-grid.compact,
  .bq-prep-summary,
  .bq-prep-grid,
  .bq-winter-topic-grid,
  .bq-chemistry-topic-grid,
  .bq-status-metrics,
  .bq-result-row {
    grid-template-columns: 1fr;
  }

  .bq-zone-card.training,
  .bq-module-card,
  .bq-answer-card,
  .bq-query-card {
    grid-template-columns: 1fr;
  }

  .bq-chem-review-head,
  .bq-chem-review-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bq-chem-review-head .button {
    width: 100%;
  }

  .bq-module-card .bq-art {
    grid-row: auto;
  }

  .bq-query-card .bq-art {
    grid-row: auto;
  }

  .bq-parent-page-head {
    display: grid;
  }

  .bq-parent-page-head .button,
  .bq-linked-actions .button,
  .bq-command-button {
    width: 100%;
  }

  .bq-attempt-score {
    min-width: 0;
  }
}
