/* =========================================================
   Compass Dashboard
   Focused, student-centered, parent-aware
========================================================= */

.dashboard-redesign {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 0 64px;
}

.dashboard-hero-redesign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.dashboard-hero-copy-redesign {
  max-width: 850px;
}

.dashboard-viewing-pill,
.dashboard-section-kicker,
.dashboard-project-category,
.dashboard-session-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-transform: uppercase;
}

.dashboard-viewing-pill {
  min-height: 32px;
  margin-bottom: 20px;
  padding: 0 13px;
  border: 1px solid rgba(53, 56, 163, 0.12);
  border-radius: 999px;
  background: rgba(238, 240, 255, 0.82);
  color: #3538a3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.dashboard-greeting,
#hero-greeting {
  max-width: 980px;
  margin: 0;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: clamp(48px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.068em;
  font-weight: 800;
  text-wrap: balance;
}

.dashboard-hero-subtitle,
#dashboard-hero-subtitle {
  max-width: 760px;
  margin: 20px 0 0;
  color: #667085;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  font-weight: 560;
  letter-spacing: -0.02em;
}

/* Current project */

.dashboard-current-project-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(16, 24, 40, 0.085);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 99, 255, 0.11), transparent 31%),
    radial-gradient(circle at 12% 100%, rgba(215, 181, 109, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 76px rgba(16, 24, 40, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.dashboard-current-project-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -140px;
  border: 1px solid rgba(53, 56, 163, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(53, 56, 163, 0.018),
    0 0 0 84px rgba(53, 56, 163, 0.012);
  pointer-events: none;
}

.dashboard-current-project-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.dashboard-current-project-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-section-kicker {
  color: #3538a3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.dashboard-status-pill,
.dashboard-grounded-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f1efff;
  color: #4d43aa;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-current-project-card.is-complete .dashboard-status-pill {
  background: #e8f7ee;
  color: #087443;
}

.dashboard-text-button,
.dashboard-secondary-button,
.dashboard-inline-action,
.dashboard-week-card button {
  border: 0;
  background: transparent;
  color: #3538a3;
  font: inherit;
  cursor: pointer;
}

.dashboard-text-button {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 820;
}

.dashboard-text-button:hover,
.dashboard-inline-action:hover,
.dashboard-week-card button:hover {
  color: #24267f;
}

.dashboard-current-project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(260px, 310px);
  gap: 28px;
  align-items: stretch;
}

.dashboard-project-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  padding: 22px 16px;
  border: 1px solid rgba(53, 56, 163, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(82, 86, 224, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(248, 249, 255, 0.96), rgba(243, 245, 252, 0.86));
}

.dashboard-project-icon {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 31px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 22px 48px rgba(47, 49, 146, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dashboard-project-icon > span {
  color: #3538a3;
  font-size: 34px;
  font-weight: 900;
}

.dashboard-project-icon-img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.dashboard-project-visual-progress {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 24px;
}

.dashboard-project-visual-progress strong {
  color: #3538a3;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.dashboard-project-visual-progress span {
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.dashboard-project-copy {
  align-self: center;
  min-width: 0;
  padding: 8px 0;
}

.dashboard-project-category {
  color: #667085;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.dashboard-project-copy h2 {
  max-width: 610px;
  margin: 13px 0 12px;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: clamp(33px, 4vw, 47px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 800;
  text-wrap: balance;
}

.dashboard-project-copy > p {
  max-width: 590px;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 560;
}

.dashboard-progress-row {
  margin-top: 24px;
}

.dashboard-progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.075);
}

.dashboard-progress-track > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4255ee, #6559dd);
  box-shadow: 0 0 18px rgba(66, 85, 238, 0.24);
  transition: width 260ms ease;
}

.dashboard-project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.dashboard-project-actions .compass-primary-btn {
  min-width: 190px;
  min-height: 51px;
  padding: 0 22px;
  font-size: 14px;
}

.dashboard-secondary-button {
  min-height: 49px;
  padding: 0 17px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #344054;
  font-size: 13px;
  font-weight: 820;
}

.dashboard-secondary-button:hover {
  border-color: rgba(53, 56, 163, 0.23);
  color: #3538a3;
}

.dashboard-session-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px;
  border-radius: 27px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 0%, rgba(103, 111, 255, 0.36), transparent 36%),
    linear-gradient(150deg, #14244a 0%, #172b5d 58%, #243985 100%);
  box-shadow:
    0 24px 50px rgba(17, 35, 78, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dashboard-session-kicker {
  color: #f2d594;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.dashboard-session-card > strong {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-session-card h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-family: var(--compass-heading-font);
  font-size: 27px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 750;
}

.dashboard-session-card > p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.52;
}

.dashboard-session-meta {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.dashboard-session-meta > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-session-meta span,
.dashboard-session-meta strong {
  display: block;
}

.dashboard-session-meta span {
  color: rgba(255, 255, 255, 0.53);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-session-meta strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.dashboard-current-project-card.is-empty .dashboard-project-visual {
  opacity: 0.76;
}

/* Summary */

.dashboard-progress-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.dashboard-summary-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  gap: 13px;
  align-items: center;
  min-height: 112px;
  padding: 17px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.86);
  color: #101828;
  text-align: left;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.045);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.dashboard-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 56, 163, 0.18);
  box-shadow: 0 19px 42px rgba(16, 24, 40, 0.075);
}

.dashboard-summary-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 900;
}

.dashboard-summary-icon.blue {
  color: #3538a3;
  background: #eef0ff;
}

.dashboard-summary-icon.green {
  color: #087443;
  background: #e9f7ef;
}

.dashboard-summary-icon.gold {
  color: #b47700;
  background: #fff3d7;
}

.dashboard-summary-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-summary-copy small,
.dashboard-summary-copy strong,
.dashboard-summary-copy em {
  display: block;
  font-style: normal;
}

.dashboard-summary-copy small {
  color: #667085;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-summary-copy strong {
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 14px;
  line-height: 1.26;
  font-weight: 850;
}

.dashboard-summary-copy em {
  color: #667085;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 560;
}

.dashboard-summary-arrow {
  color: #98a2b3;
  font-size: 18px;
  font-weight: 700;
}

/* This week */

.dashboard-week-section {
  margin-bottom: 34px;
}

.dashboard-section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 18px;
}

.dashboard-section-intro h2,
.dashboard-card-heading h2,
.dashboard-parent-card h2 {
  margin: 9px 0 0;
  color: #101828;
  font-family: var(--compass-heading-font);
  letter-spacing: -0.052em;
  font-weight: 760;
}

.dashboard-section-intro h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1;
}

.dashboard-section-intro > p {
  max-width: 410px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

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

.dashboard-week-card {
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.05);
}

.dashboard-week-card.primary {
  border-color: rgba(53, 56, 163, 0.17);
  background:
    radial-gradient(circle at 100% 0%, rgba(82, 86, 224, 0.12), transparent 38%),
    rgba(250, 250, 255, 0.96);
}

.dashboard-week-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #3538a3;
  background: #eef0ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dashboard-week-card > div {
  margin-top: 28px;
}

.dashboard-week-card small {
  display: block;
  color: #667085;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-week-card h3 {
  margin: 9px 0 0;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.043em;
  font-weight: 740;
}

.dashboard-week-card p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.52;
}

.dashboard-week-card button {
  width: fit-content;
  margin-top: auto;
  padding: 18px 0 0;
  font-size: 12px;
  font-weight: 850;
}

/* Insights */

.dashboard-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  gap: 14px;
}

.dashboard-emerging-card,
.dashboard-parent-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 29px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.055);
}

.dashboard-emerging-card {
  background:
    radial-gradient(circle at 94% 8%, rgba(82, 86, 224, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.9);
}

.dashboard-parent-card {
  background:
    radial-gradient(circle at 88% 4%, rgba(215, 181, 109, 0.16), transparent 32%),
    linear-gradient(180deg, #fffdf8, #ffffff);
}

.dashboard-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-card-heading h2,
.dashboard-parent-card h2 {
  max-width: 540px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.02;
}

.dashboard-grounded-pill {
  flex: 0 0 auto;
  color: #475467;
  background: rgba(16, 24, 40, 0.055);
}

.dashboard-emerging-card > p {
  max-width: 680px;
  margin: 18px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.dashboard-signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.dashboard-signal-list span {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid rgba(53, 56, 163, 0.11);
  border-radius: 999px;
  color: #3538a3;
  background: #f5f6ff;
  font-size: 11px;
  font-weight: 780;
}

.dashboard-signal-list span.empty {
  border-style: dashed;
  color: #667085;
  background: rgba(248, 249, 252, 0.88);
}

.dashboard-inline-action {
  margin-top: 25px;
  padding: 0;
  font-size: 13px;
  font-weight: 850;
}

.dashboard-parent-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.dashboard-parent-list > div {
  padding: 15px;
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
}

.dashboard-parent-list span {
  display: block;
  color: #8b6a24;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-parent-list p {
  margin: 6px 0 0;
  color: #475467;
  font-size: 11.5px;
  line-height: 1.5;
}

.dashboard-mobile-continue {
  display: none;
}

/* Responsive */

@media (max-width: 1080px) {
  .dashboard-current-project-grid {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .dashboard-session-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .dashboard-session-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }
}

@media (max-width: 900px) {
  .dashboard-progress-summary,
  .dashboard-week-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-card {
    min-height: 94px;
  }

  .dashboard-week-card {
    min-height: 210px;
  }

  .dashboard-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-redesign {
    padding: 18px 0 132px;
  }

  .dashboard-hero-redesign {
    margin: 8px 0 24px;
  }

  .dashboard-viewing-pill {
    margin-bottom: 14px;
  }

  .dashboard-greeting,
  #hero-greeting {
    font-size: clamp(39px, 12vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.058em;
  }

  .dashboard-hero-subtitle,
  #dashboard-hero-subtitle {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.48;
  }

  .dashboard-current-project-card {
    margin-left: -2px;
    margin-right: -2px;
    padding: 19px;
    border-radius: 28px;
  }

  .dashboard-current-project-head {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .dashboard-current-project-head > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dashboard-text-button {
    padding-top: 1px;
    font-size: 11px;
  }

  .dashboard-current-project-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .dashboard-project-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 17px;
    justify-items: start;
    padding: 16px;
    border-radius: 22px;
  }

  .dashboard-project-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
  }

  .dashboard-project-icon-img {
    width: 72px;
    height: 72px;
  }

  .dashboard-project-visual-progress {
    align-self: center;
    margin: 0;
  }

  .dashboard-project-visual-progress strong {
    font-size: 30px;
  }

  .dashboard-project-copy {
    padding: 4px 2px;
  }

  .dashboard-project-copy h2 {
    margin-top: 10px;
    font-size: clamp(31px, 10vw, 41px);
    line-height: 1;
  }

  .dashboard-project-copy > p {
    font-size: 14px;
  }

  .dashboard-project-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-project-actions .compass-primary-btn,
  .dashboard-secondary-button {
    width: 100%;
  }

  .dashboard-session-card {
    padding: 21px;
    border-radius: 23px;
  }

  .dashboard-session-card h3 {
    font-size: 25px;
  }

  .dashboard-session-meta {
    grid-template-columns: 1fr;
  }

  .dashboard-progress-summary {
    gap: 9px;
    margin-bottom: 31px;
  }

  .dashboard-summary-card {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    min-height: 88px;
    padding: 14px;
    border-radius: 20px;
  }

  .dashboard-summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .dashboard-section-intro {
    display: block;
  }

  .dashboard-section-intro > p {
    margin-top: 12px;
  }

  .dashboard-section-intro h2 {
    font-size: 32px;
  }

  .dashboard-week-grid {
    gap: 10px;
  }

  .dashboard-week-card {
    min-height: 0;
    padding: 19px;
    border-radius: 23px;
  }

  .dashboard-week-card > div {
    margin-top: 21px;
  }

  .dashboard-week-card h3 {
    font-size: 21px;
  }

  .dashboard-week-card button {
    margin-top: 20px;
  }

  .dashboard-emerging-card,
  .dashboard-parent-card {
    padding: 21px;
    border-radius: 25px;
  }

  .dashboard-card-heading {
    display: block;
  }

  .dashboard-grounded-pill {
    margin-top: 13px;
  }

  .dashboard-card-heading h2,
  .dashboard-parent-card h2 {
    font-size: 29px;
  }

  .dashboard-mobile-continue {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: calc(94px + env(safe-area-inset-bottom));
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #5759ee 0%, #2f3192 100%);
    box-shadow:
      0 18px 42px rgba(47, 49, 146, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font: inherit;
    font-size: 14px;
    font-weight: 900;
  }
}

@media (max-width: 430px) {
  .dashboard-current-project-card {
    padding: 17px;
  }

  .dashboard-project-visual {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
  }

  .dashboard-project-icon {
    width: 72px;
    height: 72px;
  }

  .dashboard-project-icon-img {
    width: 63px;
    height: 63px;
  }

  .dashboard-project-visual-progress strong {
    font-size: 27px;
  }

  .dashboard-summary-copy strong {
    font-size: 13px;
  }

  .dashboard-mobile-continue {
    left: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-summary-card,
  .dashboard-progress-track > div {
    transition: none;
  }
}


/* Counselor-connected student support */
.dashboard-counselor-support {
  margin: 18px 0;
  padding: 24px;
  border: 1px solid rgba(71, 74, 205, 0.14);
  border-radius: 27px;
  background:
    radial-gradient(circle at 92% 12%, rgba(85, 88, 230, 0.12), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f8f8ff 100%);
  box-shadow: 0 18px 46px rgba(29, 38, 75, 0.08);
}

.dashboard-counselor-support[hidden] { display: none; }

.dashboard-counselor-support-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-counselor-support-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  color: #ffffff;
  background: linear-gradient(145deg, #5d60ed, #3437b8);
  box-shadow: 0 12px 28px rgba(52, 55, 184, 0.22);
}

.dashboard-counselor-support-head h2 {
  margin: 4px 0 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.dashboard-counselor-support-count {
  padding: 7px 10px;
  border: 1px solid rgba(71, 74, 205, 0.12);
  border-radius: 999px;
  color: #4547bc;
  background: rgba(71, 74, 205, 0.06);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-counselor-support-list { display: grid; gap: 10px; }
.dashboard-counselor-support-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid rgba(10, 23, 48, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}
.dashboard-counselor-support-item > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #4547bc;
  background: rgba(71, 74, 205, 0.09);
  font-size: 13px;
  font-weight: 900;
}
.dashboard-counselor-support-item strong { display: block; margin: 1px 0 4px; font-size: 13px; }
.dashboard-counselor-support-item p { margin: 0; color: #5f6b80; font-size: 13px; line-height: 1.55; }
.dashboard-counselor-support-item time { color: #8790a2; font-size: 11px; white-space: nowrap; }
.dashboard-counselor-support-item.reminder > span:first-child { color: #a45b17; background: rgba(220, 139, 54, 0.12); }
.dashboard-counselor-reminder-done {
  align-self: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(71, 74, 205, 0.16);
  border-radius: 999px;
  color: #4547bc;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.dashboard-counselor-reminder-done:hover { background: rgba(71, 74, 205, 0.06); }

@media (max-width: 720px) {
  .dashboard-counselor-support { padding: 19px; border-radius: 23px; }
  .dashboard-counselor-support-head { grid-template-columns: auto minmax(0, 1fr); }
  .dashboard-counselor-support-count { grid-column: 2; width: fit-content; }
  .dashboard-counselor-support-item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .dashboard-counselor-support-item time { grid-column: 2; }
  .dashboard-counselor-reminder-done { grid-column: 3; grid-row: 1 / span 2; }
}

/* Parent and teen shared account connection */
.dashboard-family-access {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin: 28px 0 100px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(36, 48, 78, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 8%, rgba(85, 88, 230, 0.15), transparent 30%),
    radial-gradient(circle at 96% 88%, rgba(235, 171, 89, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 253, 0.97));
  box-shadow: 0 28px 80px rgba(20, 31, 57, 0.09);
}

.dashboard-family-access[hidden] { display: none !important; }

.dashboard-family-access::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dashboard-family-access-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.dashboard-family-avatar {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: #17203a;
  background: linear-gradient(145deg, #f1f2ff, #dfe1ff);
  box-shadow: 0 16px 38px rgba(38, 46, 103, 0.18);
  font-family: Manrope, Inter, sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.dashboard-family-avatar.parent { transform: translateX(8px); }
.dashboard-family-avatar.student {
  color: #ffffff;
  background: linear-gradient(145deg, #5c5fef, #30349e);
  transform: translateX(-8px);
}

.dashboard-family-connection {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b7b9ef, #6c70e7);
}

.dashboard-family-connection::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #aab0c1;
  font-size: 12px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}
.dashboard-family-access.is-pending .dashboard-family-connection::after {
  content: "…";
  background: #d18a31;
}
.dashboard-family-access.is-connected .dashboard-family-connection::after {
  content: "✓";
  background: #31a366;
}
.dashboard-family-access.is-expired .dashboard-family-connection::after {
  content: "!";
  background: #a96b23;
}

.dashboard-family-access-copy { position: relative; z-index: 1; min-width: 0; }

.dashboard-family-access-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-family-access-heading h2 {
  max-width: 680px;
  margin: 7px 0 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.dashboard-family-status {
  flex: none;
  padding: 8px 11px;
  border: 1px solid rgba(75, 79, 194, 0.13);
  border-radius: 999px;
  color: #5357ba;
  background: rgba(78, 82, 204, 0.07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dashboard-family-status.pending { color: #9a5f15; background: rgba(217, 143, 58, 0.1); border-color: rgba(217, 143, 58, 0.16); }
.dashboard-family-status.connected { color: #177b4a; background: rgba(31, 158, 94, 0.1); border-color: rgba(31, 158, 94, 0.16); }
.dashboard-family-status.expired { color: #8b5313; background: rgba(169, 107, 35, 0.1); border-color: rgba(169, 107, 35, 0.16); }

.dashboard-family-access-description {
  max-width: 760px;
  margin: 16px 0 24px;
  color: #657087;
  font-size: 14px;
  line-height: 1.7;
}

.dashboard-family-invite-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  max-width: 720px;
}

.dashboard-family-invite-form[hidden] { display: none !important; }
.dashboard-family-invite-form label { display: grid; gap: 8px; min-width: 0; }
.dashboard-family-invite-form label > span {
  color: #344057;
  font-size: 11px;
  font-weight: 850;
}
.dashboard-family-invite-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(25, 37, 66, 0.12);
  border-radius: 16px;
  color: #121c32;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 14px;
  outline: none;
  box-shadow: 0 10px 28px rgba(21, 32, 59, 0.05);
}
.dashboard-family-invite-form input:focus {
  border-color: rgba(69, 73, 198, 0.42);
  box-shadow: 0 0 0 5px rgba(69, 73, 198, 0.08);
}
.dashboard-family-invite-form button {
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #5a5dec, #3438a9);
  box-shadow: 0 15px 32px rgba(51, 56, 169, 0.24);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.dashboard-family-invite-form button:disabled { cursor: wait; opacity: 0.65; }

.dashboard-family-connected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 720px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 158, 94, 0.14);
  border-radius: 18px;
  background: rgba(239, 250, 244, 0.86);
}
.dashboard-family-connected[hidden] { display: none !important; }
.dashboard-family-connected > div { display: grid; gap: 4px; }
.dashboard-family-connected span { color: #587064; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.dashboard-family-connected strong { color: #173f2c; font-size: 14px; overflow-wrap: anywhere; }
.dashboard-family-connected-check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: #fff !important; background: #28a164; font-size: 15px !important; }

.dashboard-family-access-message {
  min-height: 18px;
  margin: 12px 0 0;
  color: #768095;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.dashboard-family-access-message.success { color: #177b4a; }
.dashboard-family-access-message.error { color: #b42318; }

@media (max-width: 820px) {
  .dashboard-family-access { grid-template-columns: 1fr; gap: 10px; margin-bottom: 110px; }
  .dashboard-family-access-visual { min-height: 100px; justify-content: flex-start; padding-left: 8px; }
  .dashboard-family-avatar { width: 66px; height: 66px; font-size: 21px; }
  .dashboard-family-access-heading { display: grid; }
  .dashboard-family-status { width: fit-content; }
}

@media (max-width: 600px) {
  .dashboard-family-access { padding: 24px 20px; border-radius: 26px; }
  .dashboard-family-invite-form { grid-template-columns: 1fr; }
  .dashboard-family-invite-form button { width: 100%; }
}

/* Calm dashboard disclosure */
.dashboard-more-disclosure {
  margin: 28px 0;
  border: 1px solid rgba(101, 112, 147, .15);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  overflow: hidden;
}

.dashboard-more-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
}

.dashboard-more-disclosure > summary::-webkit-details-marker { display: none; }
.dashboard-more-disclosure > summary span { display: grid; gap: 3px; }
.dashboard-more-disclosure > summary strong { color: #1c2740; font-size: 17px; }
.dashboard-more-disclosure > summary em { color: #758096; font-size: 13px; font-style: normal; }
.dashboard-more-disclosure > summary svg { width: 22px; color: #6659dc; transition: transform .2s ease; }
.dashboard-more-disclosure[open] > summary svg { transform: rotate(180deg); }
.dashboard-more-body { padding: 0 22px 24px; }
.dashboard-more-body .dashboard-progress-summary { margin-top: 2px; }
.dashboard-more-body .dashboard-week-section { margin-bottom: 0; }

@media (max-width: 640px) {
  .dashboard-more-disclosure > summary { padding: 17px 18px; }
  .dashboard-more-body { padding: 0 14px 18px; }
}

/* Home simplification: preserve one dominant next action. */
.dashboard-redesign .dashboard-mobile-continue { font-weight: 700; }

/* =========================================================
   2026-07 Parent Home premium command-center pass
========================================================= */

.dashboard-redesign {
  max-width: 1180px;
  padding-top: 34px;
  padding-bottom: 84px;
}

.dashboard-hero-redesign {
  position: relative;
  min-height: 270px;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
}

.dashboard-hero-copy-redesign {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 24px 0 28px;
}

.dashboard-greeting,
#hero-greeting {
  max-width: 760px;
  font-size: clamp(50px, 5.7vw, 76px);
}

.dashboard-hero-subtitle,
#dashboard-hero-subtitle {
  max-width: 720px;
}

.dashboard-hero-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -14px;
  width: 330px;
  height: 250px;
  transform: translateY(-50%);
  opacity: .82;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
}

.dashboard-hero-art::before {
  content: "";
  position: absolute;
  inset: 22px 0 0 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 82, 223, .12), rgba(86, 82, 223, .035) 42%, transparent 69%);
  filter: blur(5px);
}

.dashboard-orbit {
  position: absolute;
  border: 1px solid rgba(67, 71, 178, .105);
  border-radius: 50%;
}
.dashboard-orbit-one { width: 126px; height: 126px; right: 82px; top: 62px; }
.dashboard-orbit-two { width: 204px; height: 204px; right: 43px; top: 23px; }
.dashboard-orbit-three { width: 292px; height: 292px; right: -1px; top: -21px; }

.dashboard-orbit-compass {
  position: absolute;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  right: 117px;
  top: 96px;
  border: 1px solid rgba(68, 66, 188, .11);
  border-radius: 19px;
  background: rgba(255,255,255,.68);
  color: #514bd0;
  font-size: 23px;
  box-shadow: 0 18px 48px rgba(55, 58, 142, .11), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dashboard-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255,255,255,.72);
}
.dot-projects { right: 49px; top: 78px; background: #655de5; }
.dot-portfolio { right: 205px; top: 184px; background: #d6a955; }
.dot-majors { right: 102px; top: 223px; background: #2aa56e; }

.dashboard-orbit-label {
  position: absolute;
  padding: 6px 9px;
  border: 1px solid rgba(16,24,40,.055);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #778197;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(16,24,40,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.label-projects { right: 4px; top: 58px; }
.label-portfolio { right: 212px; top: 156px; }
.label-majors { right: 48px; top: 215px; }

.dashboard-current-project-card {
  margin-bottom: 14px;
  padding: 30px;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(16, 24, 40, .075), inset 0 1px 0 rgba(255,255,255,.98);
}

.dashboard-current-project-grid {
  grid-template-columns: 142px minmax(0, 1fr) minmax(255px, 296px);
  gap: 30px;
}

.dashboard-project-visual {
  min-height: 260px;
  border-radius: 26px;
}

.dashboard-story-utility {
  display: none !important;
}

.dashboard-project-actions .compass-primary-btn {
  min-width: 190px;
}

.dashboard-session-card {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(24, 39, 108, .14);
}

.dashboard-more-disclosure {
  margin: 14px 0 32px;
  border-color: rgba(16,24,40,.07);
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 12px 36px rgba(16,24,40,.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dashboard-more-disclosure > summary {
  min-height: 76px;
  padding: 18px 24px;
}

.dashboard-insight-grid {
  gap: 18px;
  margin-bottom: 48px;
}

.dashboard-emerging-card,
.dashboard-parent-card {
  min-height: 100%;
  border-radius: 30px;
}

.dashboard-emerging-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 93, 225, .095), transparent 36%),
    rgba(255,255,255,.92);
}

.dashboard-parent-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(215, 181, 109, .14), transparent 40%),
    rgba(255,255,255,.94);
}

.dashboard-inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0;
  font-weight: 800;
}

/* Explore next */
.dashboard-explore-section {
  margin-top: 10px;
  margin-bottom: 22px;
  padding-top: 12px;
}

.dashboard-explore-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 42px;
  align-items: end;
  margin-bottom: 22px;
}

.dashboard-explore-heading h2 {
  max-width: 690px;
  margin: 9px 0 0;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 800;
}

.dashboard-explore-heading > p {
  margin: 0 0 3px;
  color: #6b768a;
  font-size: 14px;
  line-height: 1.6;
}

.dashboard-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-discovery-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(16,24,40,.075);
  border-radius: 32px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 24px 64px rgba(16,24,40,.065), inset 0 1px 0 rgba(255,255,255,.95);
}

.dashboard-projects-discovery {
  background:
    radial-gradient(circle at 95% 3%, rgba(89, 81, 224, .17), transparent 38%),
    linear-gradient(145deg, #fff 24%, #f6f6ff 100%);
}
.dashboard-majors-discovery {
  background:
    radial-gradient(circle at 92% 8%, rgba(64, 129, 208, .14), transparent 40%),
    radial-gradient(circle at 65% 100%, rgba(39, 164, 109, .06), transparent 34%),
    linear-gradient(145deg, #fff 22%, #f7faff 100%);
}

.dashboard-discovery-copy {
  position: relative;
  z-index: 2;
  max-width: 68%;
}

.dashboard-discovery-eyebrow {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(82, 76, 207, .075);
  color: #4c49b8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dashboard-discovery-card h3 {
  margin: 18px 0 12px;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.02;
  letter-spacing: -.052em;
  font-weight: 800;
}

.dashboard-discovery-card p {
  margin: 0;
  color: #68748a;
  font-size: 14px;
  line-height: 1.58;
}

.dashboard-discovery-card button,
.dashboard-story-teaser > button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3d3fb0;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}
.dashboard-discovery-card button span,
.dashboard-story-teaser > button span { transition: transform 160ms ease; }
.dashboard-discovery-card button:hover span,
.dashboard-story-teaser > button:hover span { transform: translateX(3px); }

.dashboard-project-stack {
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 185px;
  height: 210px;
}

.stack-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 116px;
  height: 148px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 27px;
  color: white;
  font-family: var(--compass-heading-font);
  font-size: 29px;
  font-weight: 850;
  box-shadow: 0 24px 54px rgba(44, 47, 130, .17), inset 0 1px 0 rgba(255,255,255,.28);
}
.stack-card-one { right: 25px; bottom: 5px; z-index: 3; transform: rotate(4deg); background: linear-gradient(150deg,#1d3262,#293fc2); }
.stack-card-two { right: 56px; bottom: 32px; z-index: 2; transform: rotate(-7deg); background: linear-gradient(150deg,#df4b96,#6a35be); }
.stack-card-three { right: 5px; bottom: 50px; z-index: 1; transform: rotate(12deg); background: linear-gradient(150deg,#38a5d6,#3f57ce); }

.dashboard-major-map {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(62, 85, 173, .07);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(70, 88, 190, .018), inset 0 0 0 68px rgba(70, 88, 190, .012);
}
.dashboard-major-map::before,
.dashboard-major-map::after {
  content: "";
  position: absolute;
  background: rgba(65, 77, 161, .1);
}
.dashboard-major-map::before { width: 1px; height: 142px; left: 102px; top: 31px; transform: rotate(25deg); }
.dashboard-major-map::after { height: 1px; width: 146px; left: 30px; top: 101px; transform: rotate(-14deg); }

.major-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(53,56,163,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #5d6880;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16,24,40,.07);
}
.major-node-main { min-width: 68px; height: 68px; left: 69px; top: 69px; border-radius: 23px; background: linear-gradient(145deg,#5559de,#383aa9); color:#fff; font-size: 11px; }
.major-node-one { left: 0; top: 25px; }
.major-node-two { right: -1px; top: 34px; }
.major-node-three { right: 9px; bottom: 14px; }

/* Portfolio teaser */
.dashboard-story-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 28px 30px;
  border: 1px solid rgba(16,24,40,.07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 50%, rgba(215,181,109,.095), transparent 28%),
    rgba(255,255,255,.82);
  box-shadow: 0 18px 48px rgba(16,24,40,.045);
}

.dashboard-story-teaser h2 {
  margin: 8px 0 5px;
  color: #101828;
  font-family: var(--compass-heading-font);
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.05;
  letter-spacing: -.05em;
  font-weight: 800;
}
.dashboard-story-teaser p { margin: 0; color:#6d788d; font-size:13px; line-height:1.5; }
.dashboard-story-teaser > button { margin-top: 0; white-space: nowrap; }

.dashboard-story-stats {
  display: flex;
  gap: 10px;
}
.dashboard-story-stats > div {
  min-width: 112px;
  padding: 13px 15px;
  border: 1px solid rgba(16,24,40,.065);
  border-radius: 17px;
  background: rgba(248,249,252,.72);
}
.dashboard-story-stats strong { display:block; color:#202a3f; font-size:20px; letter-spacing:-.04em; }
.dashboard-story-stats span { display:block; margin-top:2px; color:#818a9c; font-size:9px; font-weight:750; }

@media (max-width: 1040px) {
  .dashboard-hero-art { right: -70px; opacity: .58; }
  .dashboard-hero-copy-redesign { max-width: 720px; }
  .dashboard-explore-grid { grid-template-columns: 1fr; }
  .dashboard-discovery-card { min-height: 310px; }
  .dashboard-story-teaser { grid-template-columns: 1fr auto; }
  .dashboard-story-teaser > button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .dashboard-hero-redesign { min-height: 0; }
  .dashboard-hero-art { display: none; }
  .dashboard-hero-copy-redesign { padding-top: 10px; }
  .dashboard-explore-heading { grid-template-columns: 1fr; gap: 12px; }
  .dashboard-explore-heading > p { max-width: 650px; }
  .dashboard-discovery-copy { max-width: 72%; }
  .dashboard-story-teaser { grid-template-columns: 1fr; }
  .dashboard-story-stats { flex-wrap: wrap; }
  .dashboard-story-teaser > button { grid-column: auto; }
}

@media (max-width: 640px) {
  .dashboard-redesign { padding-top: 18px; padding-bottom: 108px; }
  .dashboard-greeting, #hero-greeting { font-size: clamp(42px, 13vw, 58px); }
  .dashboard-current-project-card { padding: 20px; border-radius: 28px; }
  .dashboard-explore-section { margin-top: 34px; }
  .dashboard-discovery-card { min-height: 390px; padding: 24px; border-radius: 27px; }
  .dashboard-discovery-copy { max-width: 100%; }
  .dashboard-project-stack, .dashboard-major-map { opacity: .42; transform: scale(.84); transform-origin: right bottom; }
  .dashboard-discovery-card p { max-width: 82%; }
  .dashboard-story-teaser { padding: 23px; border-radius: 24px; }
}

/* =========================================================
   Mobile Home hardening
   Keep the premium desktop pass from reintroducing desktop
   columns after the earlier responsive rules.
========================================================= */
@media (max-width: 760px) {
  .dashboard-redesign {
    width: 100%;
    max-width: none;
    padding: 18px 0 118px;
    overflow: visible;
  }

  .dashboard-current-project-card {
    width: 100%;
    margin: 0 0 14px;
    padding: 18px;
    border-radius: 28px;
    overflow: hidden;
  }

  .dashboard-current-project-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 18px;
  }

  .dashboard-current-project-head > div {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .dashboard-text-button {
    align-self: start;
    padding: 2px 0;
    white-space: nowrap;
    font-size: 12px;
  }

  .dashboard-current-project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    width: 100%;
  }

  .dashboard-project-visual,
  .dashboard-project-copy,
  .dashboard-session-card {
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
  }

  .dashboard-project-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    justify-items: start;
    padding: 15px;
    border-radius: 22px;
  }

  .dashboard-project-icon {
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }

  .dashboard-project-icon-img {
    width: 68px;
    height: 68px;
  }

  .dashboard-project-visual-progress {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    min-width: 0;
  }

  .dashboard-project-visual-progress strong {
    font-size: 30px;
  }

  .dashboard-project-visual-progress span {
    font-size: 11px;
    white-space: nowrap;
  }

  .dashboard-project-copy {
    padding: 2px 1px 0;
  }

  .dashboard-project-category {
    font-size: 9px;
  }

  .dashboard-project-copy h2 {
    max-width: none;
    margin: 9px 0 10px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }

  .dashboard-project-copy > p {
    max-width: none;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
  }

  .dashboard-progress-row {
    margin-top: 18px;
  }

  .dashboard-project-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .dashboard-project-actions .compass-primary-btn,
  .dashboard-secondary-button {
    width: 100%;
    min-width: 0;
  }

  .dashboard-session-card {
    min-height: 0;
    padding: 20px;
    border-radius: 23px;
  }

  .dashboard-session-card h3 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
  }

  .dashboard-session-card > p {
    font-size: 13px;
    line-height: 1.5;
  }

  .dashboard-session-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
    padding-top: 0;
  }

  .dashboard-more-disclosure {
    margin: 14px 0 28px;
  }

  .dashboard-mobile-continue {
    left: 18px;
    right: 18px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    min-height: 54px;
    z-index: 105;
  }
}

@media (max-width: 430px) {
  .dashboard-current-project-card {
    padding: 16px;
  }

  .dashboard-current-project-head {
    grid-template-columns: 1fr;
  }

  .dashboard-text-button {
    justify-self: start;
  }

  .dashboard-project-visual {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }

  .dashboard-project-icon {
    width: 68px;
    height: 68px;
  }

  .dashboard-project-icon-img {
    width: 60px;
    height: 60px;
  }

  .dashboard-project-visual-progress strong {
    font-size: 27px;
  }

  .dashboard-mobile-continue {
    left: 14px;
    right: 14px;
  }
}


/* =========================================================
   Projects discovery card polish
   Keep the artwork energetic without letting it cover copy.
========================================================= */
.dashboard-projects-discovery .dashboard-discovery-copy {
  max-width: min(62%, 520px);
}

.dashboard-projects-discovery .dashboard-project-stack {
  right: 18px;
  bottom: 14px;
  width: 172px;
  height: 194px;
  transform: scale(0.9);
  transform-origin: right bottom;
  pointer-events: none;
}

.dashboard-projects-discovery .stack-card {
  width: 108px;
  height: 138px;
}

.dashboard-projects-discovery .stack-card-one {
  right: 18px;
  bottom: 0;
}

.dashboard-projects-discovery .stack-card-two {
  right: 52px;
  bottom: 28px;
}

.dashboard-projects-discovery .stack-card-three {
  right: 0;
  bottom: 45px;
}

@media (max-width: 1180px) and (min-width: 821px) {
  .dashboard-projects-discovery .dashboard-discovery-copy {
    max-width: 60%;
  }

  .dashboard-projects-discovery .dashboard-project-stack {
    right: 10px;
    transform: scale(0.82);
  }
}

@media (max-width: 820px) {
  .dashboard-projects-discovery .dashboard-discovery-copy {
    max-width: 100%;
    padding-bottom: 162px;
  }

  .dashboard-projects-discovery .dashboard-discovery-card p,
  .dashboard-projects-discovery p {
    max-width: 100%;
  }

  .dashboard-projects-discovery .dashboard-project-stack {
    right: 12px;
    bottom: 8px;
    opacity: 0.72;
    transform: scale(0.78);
  }
}

@media (max-width: 640px) {
  .dashboard-projects-discovery .dashboard-discovery-copy {
    padding-bottom: 150px;
  }

  .dashboard-projects-discovery .dashboard-project-stack {
    right: 4px;
    bottom: 4px;
    opacity: 0.58;
    transform: scale(0.7);
  }
}
