/* A focused next step, a small companion panel, and three familiar places. */
.hub-home-simple {
  --sh-text: #f2f0ff;
  --sh-muted: #bcc4dc;
  --sh-line: #adacd530;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--sh-text);
}

.hub-home-simple .sh-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 18px;
  margin-bottom: 20px;
}

.hub-home-simple .sh-welcome h1 {
  min-width: 0;
  margin: 0;
  color: var(--sh-text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-sky-link {
  flex-shrink: 0;
  gap: 8px;
  padding: 8px 13px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 16px;
  background: #a99ddd0d;
}

.hub-home-simple .sh-sky-link > span:first-child {
  font-size: 21px;
}

.hub-home-simple .sh-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas: "learning personal" "shortcuts shortcuts";
  gap: 16px;
  align-items: stretch;
}

.hub-home-simple .sh-learning {
  grid-area: learning;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hub-home-simple .sh-hero {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  padding: 30px 32px;
  border: 1px solid #b4afd342;
  border-radius: 22px;
  background: linear-gradient(115deg, #202b46f2, #27243ff0);
}

.hub-home-simple .sh-copy {
  min-width: 0;
}

.hub-home-simple .sh-kicker {
  margin: 0 0 9px;
  color: #f3d693;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.hub-home-simple .sh-hero h2 {
  margin: 0;
  max-width: 720px;
  color: #faf8ff;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-description {
  margin: 12px 0 19px;
  max-width: 640px;
  color: #d0d4e5;
  font-size: 18px;
  line-height: 1.55;
}

.hub-home-simple .sh-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 22px;
}

.hub-home-simple .sh-actions .btn.primary {
  min-height: 50px;
  max-width: 100%;
  padding: 13px 23px;
  border-color: #f4d795;
  background: #f4d795;
  color: #222940;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.hub-home-simple .sh-actions .btn.primary:hover:not(:disabled) {
  border-color: #ffe5ae;
  background: #ffe5ae;
}

.hub-home-simple .sh-details {
  min-width: 0;
  color: var(--sh-muted);
  font-size: 16px;
  line-height: 1.6;
}

.hub-home-simple .sh-details summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  color: #d2cce9;
  font-size: 16px;
  line-height: 24px;
  list-style-position: inside;
  text-underline-offset: 4px;
}

.hub-home-simple .sh-details summary:hover {
  color: #fff;
  text-decoration: underline;
}

.hub-home-simple .sh-details[open] {
  flex-basis: 100%;
}

.hub-home-simple .sh-details p {
  margin: 5px 0 12px;
  color: #c6cee2;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-details p:last-child {
  margin-bottom: 0;
}

.hub-home-simple .sh-personal {
  grid-area: personal;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--sh-line);
  border-radius: 22px;
  background: #192238ad;
}

.hub-home-simple .sh-companion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.hub-home-simple .sh-companion .ar-avatar {
  width: 144px;
  height: 144px;
  max-width: 100%;
  filter: drop-shadow(0 6px 22px #bda3fa16);
}

.hub-home-simple .sh-credit-chip {
  border: 1px solid #dfc59530;
  border-radius: 999px;
  padding: 5px 12px;
  background: #ead39909;
  color: #ebd6a5;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.hub-home-simple .sh-shortcuts {
  grid-area: shortcuts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.hub-home-simple :is(.sh-shortcut, .sh-week, .sh-notice, .sh-saved) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--sh-line);
  border-radius: 15px;
  background: #1a243acf;
  color: var(--sh-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.hub-home-simple :is(.sh-shortcut, .sh-week, .sh-notice, .sh-saved):hover {
  border-color: #bfb2e16b;
  background: #28304be6;
}

.hub-home-simple :is(button, summary):focus-visible {
  outline: 3px solid #d7ccff;
  outline-offset: 4px;
}

.hub-home-simple .sh-shortcut {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
}

.hub-home-simple .sh-shortcut > span:not(.sh-shortcut-icon, .sh-arrow) {
  min-width: 0;
}

.hub-home-simple .sh-shortcut-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  color: #d4c6f3;
  font-size: 26px;
  line-height: 1;
}

.hub-home-simple .sh-shortcut-icon svg {
  width: 27px;
  height: 27px;
}

.hub-home-simple .sh-shortcut strong {
  display: block;
  color: var(--sh-text);
  font-size: 18px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-shortcut-description {
  display: block;
  margin-top: 4px;
  color: var(--sh-muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-daily-words {border-color:#e3ca9245;background:linear-gradient(120deg,#252c46e6,#2a2942de)}
.hub-home-simple .sh-daily-words .sh-shortcut-icon {color:#f0d393}
.hub-home-simple .sh-shortcut:disabled {opacity:.6;cursor:default}
.rj-vocab-tabs .rj-daily-words {margin-left:auto;color:#eddaac;border-color:#ddc78c50;background:#e5c8870d}
@media(max-width:640px){.rj-vocab-tabs .rj-daily-words{margin-left:0}}

.hub-home-simple .sh-arrow {
  flex-shrink: 0;
  margin-left: auto;
  color: #bcb2d7;
  font-size: 22px;
}

.hub-home-simple .sh-week {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 8px;
  padding: 14px;
  margin-top: 0;
  background: #151f32b3;
}

.hub-home-simple .sh-week-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  font-weight: 650;
}

.hub-home-simple .sh-week-dots {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hub-home-simple .sh-week-dots i {
  display: block;
  width: 13px;
  height: 13px;
  border: 1px solid #9d94b870;
  border-radius: 50%;
  background: #c2b5e315;
}

.hub-home-simple .sh-week-dots i.earned {
  border-color: #e5cb8a;
  background: #e5cb8a;
}

.hub-home-simple .sh-week-count {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  color: #d8d6e7;
  font-variant-numeric: tabular-nums;
}

.hub-home-simple .sh-streak {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-top: 10px;
  border-top: 1px solid var(--sh-line);
  font-size: 14px;
  color: #d5c6ed;
}

.hub-home-simple .sh-week-link {
  grid-column: 2;
  grid-row: 1;
  margin-left: auto;
  font-size: 14px;
  color: #d9ccf3;
  font-weight: 600;
}

.hub-home-simple .sh-notices {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.hub-home-simple .sh-notices:empty {
  display: none;
}

.hub-home-simple .sh-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 19px;
  border-color: #b8a9d042;
  background: #2a2943bd;
}

.hub-home-simple .sh-notice strong {
  color: #e4def3;
  font-size: 18px;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.hub-home-simple .sh-saved {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 15px 19px;
  margin-top: 12px;
  background: #151f32b3;
}

.hub-home-simple .sh-saved-label {
  color: var(--sh-muted);
}

.hub-home-simple .sh-saved strong {
  min-width: 0;
  color: #e0dcec;
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hub-main:has(.hub-home-simple) .view-notice-demo {
  max-width: 1080px;
  margin: 0 auto 20px;
  padding: 9px 14px;
  gap: 10px;
  border-color: #b0a5d535;
  border-radius: 10px;
  background: #a693cf12;
  color: #c8c0dc;
  box-shadow: none;
}

.hub-main:has(.hub-home-simple) .view-notice-demo .view-notice-icon {
  font-size: 21px;
}

.hub-main:has(.hub-home-simple) .view-notice-demo :is(strong, div > span) {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hub-home-simple .sh-dashboard {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .hub-home-simple .sh-hero {
    padding: 25px;
  }

  .hub-home-simple .sh-personal {
    padding: 14px;
  }

  .hub-home-simple .sh-hero h2 {
    font-size: 30px;
  }

  .hub-home-simple .sh-shortcut {
    gap: 9px;
    padding: 16px 13px;
  }

  .hub-home-simple .sh-shortcut .sh-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .hub-home-simple .sh-welcome h1 {
    margin-bottom: 0;
    font-size: 24px;
    letter-spacing: -.4px;
  }

  .hub-home-simple .sh-welcome {
    gap: 12px;
    margin-bottom: 16px;
  }

  .hub-home-simple .sh-sky-link {
    padding: 8px 10px;
    font-size: 14px;
    gap: 6px;
  }

  .hub-home-simple .sh-sky-link > span:last-child {
    display: none;
  }

  .hub-home-simple .sh-dashboard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "learning" "shortcuts" "personal";
    gap: 12px;
  }

  .hub-home-simple .sh-hero {
    padding: 23px;
    border-radius: 18px;
  }

  .hub-home-simple .sh-hero h2 {
    font-size: 28px;
    letter-spacing: -.6px;
  }

  .hub-home-simple .sh-description {
    margin-bottom: 16px;
  }

  .hub-home-simple .sh-personal {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .hub-home-simple .sh-companion {
    flex: 0 0 70px;
    gap: 4px;
  }

  .hub-home-simple .sh-companion .ar-avatar {
    width: 64px;
    height: 64px;
  }

  .hub-home-simple .sh-credit-chip {
    font-size: 12px;
    padding: 3px 4px;
    border: 0;
    background: transparent;
    white-space: nowrap;
  }

  .hub-home-simple .sh-actions {
    gap: 5px;
  }

  .hub-home-simple .sh-actions > .btn.primary {
    width: 100%;
  }

  .hub-home-simple .sh-details {
    flex-basis: 100%;
  }

  .hub-home-simple .sh-shortcuts {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 0;
  }

  .hub-home-simple .sh-shortcut {
    gap: 14px;
    padding: 14px 17px;
  }

  .hub-home-simple .sh-shortcut .sh-arrow {
    display: block;
  }

  .hub-home-simple .sh-week {
    flex: 1;
    gap: 10px 7px;
    padding: 11px;
  }

  .hub-home-simple .sh-week-title {
    font-size: 15px;
  }

  .hub-home-simple .sh-week-count,
  .hub-home-simple .sh-week-link {
    font-size: 13px;
  }

  .hub-home-simple .sh-streak {
    padding-top: 9px;
    font-size: 13px;
  }

  .hub-home-simple .sh-notice,
  .hub-home-simple .sh-saved {
    padding: 14px 17px;
  }

  .hub-main:has(.hub-home-simple) .view-notice-demo {
    margin-bottom: 18px;
    padding: 10px 12px;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-home-simple *,
  .hub-home-simple *::before,
  .hub-home-simple *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .hub-home-simple .sh-hero,
  .hub-home-simple .sh-personal,
  .hub-home-simple .sh-sky-link,
  .hub-home-simple :is(.sh-shortcut, .sh-week, .sh-notice, .sh-saved) {
    border-color: CanvasText;
    background: Canvas;
  }

  .hub-home-simple :is(h1, h2, p, span, strong, summary) {
    color: CanvasText;
  }

  .hub-home-simple .sh-week-dots i.earned {
    background: Highlight;
    border-color: Highlight;
    forced-color-adjust: none;
  }
}

/* Without weekly dots, the daily reminder uses the full second row. */
.hub-home-simple .sh-week[data-streak-mode="daily"] .sh-week-count {
  grid-column: 1 / -1;
  text-align: left;
}

/* A compact, dismissible gift message, separate from learning progress. */
.hub-home-simple .sh-reward-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #89d7e34d;
  border-radius: 16px;
  background: linear-gradient(110deg, #193440, #202a43);
}
.hub-home-simple .sh-reward-icon { color: #9de1ee; font-size: 30px; }
.hub-home-simple .sh-reward-notice > div { flex: 1; min-width: 0; }
.hub-home-simple .sh-reward-notice strong { font-size: 16px; color: #eefbff; }
.hub-home-simple .sh-reward-notice p { margin: 3px 0 0; color: #c5d5e2; font-size: 15px; line-height: 1.45; }
.hub-home-simple .sh-reward-notice button { flex-shrink: 0; color: #eefbff; min-height: 44px; }
@media (max-width: 520px) {
  .hub-home-simple .sh-reward-notice { gap: 10px; flex-wrap: wrap; padding: 12px; }
  .hub-home-simple .sh-reward-notice > div { flex-basis: calc(100% - 42px); }
  .hub-home-simple .sh-reward-notice button { margin-left: 35px; }
}
