.dashboardPage {
  min-height:calc(100vh - 292px);
  padding:72px 0 96px;
}

.dashboardIntro {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
  margin-bottom:48px;
}

.dashboardIntro h1 {
  max-width:760px;
  margin-bottom:16px;
  font-size:clamp(2.2rem, 5vw, 4rem);
}

.dashboardIntro > div > p:last-child {
  max-width: 720px;
  color:var(--text-muted);
  font-size:1.08rem;
}

.dashboardRole {
  padding:8px 14px;
  border:1px solid var(--border-accent);
  border-radius:999px;
  background:var(--surface-info);
  color:var(--primary-hover);
  font-size:0.8rem;
  font-weight:700;
  text-transform:uppercase;
}

.dashboardGrid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.dashboardDemo {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
  padding:14px 18px;
  border:1px solid var(--border-accent);
  border-radius:var(--radius-small);
  background:var(--surface-info);
  color:var(--text-muted);
}

.dashboardDemo strong {
  color:var(--primary-hover);
}

.dashboardStats {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  margin-bottom:56px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius-medium);
  background:var(--surface);
}

.dashboardStats article {
  display:flex;
  min-height:112px;
  flex-direction:column;
  justify-content:center;
  padding:22px 26px;
  border-right:1px solid var(--border-soft);
}

.dashboardStats article:last-child {
  border-right: 0;
}

.dashboardStats strong {
  font-size:1.8rem;
}

.dashboardStats span {
  color:var(--text-muted);
  font-size:0.9rem;
}

.dashboardMatches {
  margin-bottom:56px;
}

.dashboardSectionHeading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.dashboardSectionHeading .eyebrow {
  margin-bottom:8px;
}

.dashboardSectionHeading h2 {
  font-size:clamp(1.7rem, 3vw, 2.3rem);
}

.dashboardSectionHeading > a {
  color:var(--primary-hover);
  font-weight:700;
  text-decoration:none;
}

.dashboardMatchGrid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.dashboardMatch {
  display:flex;
  min-height:250px;
  flex-direction:column;
  padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-medium);
  background:var(--surface);
  color:inherit;
  text-decoration:none;
  transition:border-color var(--transition), transform var(--transition);
}

.dashboardMatch:hover {
  border-color: var(--border-accent);
  transform:translateY(-2px);
}

.dashboardMatchTop,
.dashboardMatchMeta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.dashboardMatchTop {
  margin-bottom:24px;
  color:var(--text-muted);
  font-size:0.86rem;
  font-weight:600;
}

.dashboardScore {
  padding:5px 9px;
  border-radius:999px;
  background:var(--surface-info);
  color:var(--primary-hover);
}

.dashboardMatch > p {
  margin-bottom:5px;
  color:var(--text-muted);
  font-size:0.86rem;
}

.dashboardMatch h3 {
  margin-bottom:24px;
  font-size:1.15rem;
}

.dashboardMatchMeta {
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid var(--border-soft);
  color:var(--text-muted);
  font-size:0.85rem;
}

.dashboardAccountGrid {
  margin-top:0;
}

.dashboardPilot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-bottom:24px;
  padding:24px 28px;
  border:1px solid var(--border-accent);
  border-radius:var(--radius-medium);
  background:var(--surface-info);
}

.dashboardPilot .dashboardCardLabel {
  margin-bottom:4px;
}

.dashboardPilot h2 {
  font-size:1.5rem;
}

.dashboardPilot > p {
  max-width:560px;
  color:var(--text-muted);
}

.dashboardCard {
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius-medium);
  background:var(--surface);
}

.dashboardCardLink {
  color:inherit;
  text-decoration:none;
  transition:border-color var(--transition), transform var(--transition);
}

.dashboardCardLink:hover {
  border-color: var(--border-accent);
  transform:translateY(-2px);
}

.dashboardCardLink > span {
  display:inline-block;
  margin-top:20px;
  color:var(--primary-hover);
  font-weight:700;
}

.dashboardCardLabel {
  margin-bottom:20px;
  color:var(--primary);
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.dashboardCard h2 {
  margin-bottom:12px;
  font-size:1.55rem;
  text-transform:capitalize;
}

.dashboardCard > p:last-child {
  color: var(--text-muted);
}

@media (max-width:880px) {
  .dashboardGrid,
  .dashboardMatchGrid {
    grid-template-columns: 1fr;
  }

  .dashboardStats {
    grid-template-columns:repeat(2, 1fr);
  }

  .dashboardStats article:nth-child(2) {
    border-right: 0;
  }

  .dashboardStats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-soft);
  }
}

@media (max-width:560px) {
  .dashboardPage {
    padding-top: 48px;
  }

  .dashboardIntro {
    flex-direction:column;
  }

  .dashboardPilot {
    align-items:flex-start;
    flex-direction:column;
  }

  .dashboardDemo,
  .dashboardSectionHeading {
    align-items:flex-start;
    flex-direction:column;
  }

  .dashboardStats {
    grid-template-columns:1fr;
  }

  .dashboardStats article,
  .dashboardStats article:nth-child(2) {
    border-right: 0;
    border-bottom:1px solid var(--border-soft);
  }

  .dashboardStats article:last-child {
    border-bottom: 0;
  }
}

.dashboardFocus { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-block:28px; }
.dashboardWork { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-medium); padding:24px; min-width:0; }
.dashboardWork h2 { font-size:1.25rem; }
.dashboardWorkList { padding:0; margin:16px 0 0; list-style:none; }
.dashboardWorkList li + li { border-top:1px solid var(--border-soft); }
.dashboardWorkList a { display:grid; gap:6px; padding-block:14px; color:var(--text); text-decoration:none; }
.dashboardWorkList a:hover strong { color:var(--primary); }
.dashboardWorkList span { color:var(--text-muted); font-size:.9rem; }
@media (max-width:760px) { .dashboardFocus { grid-template-columns:1fr; } .dashboardWork { padding:18px; } }

/* R1:six shortcuts beside the three highest matches. */
.dashboardHome{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:start}
.dashboardShortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dashboardShortcut{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:145px;padding:22px;gap:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none;overflow-wrap:anywhere}
.dashboardShortcut svg{width:25px;height:25px;color:var(--primary)}.dashboardShortcut strong{font-size:1rem}.dashboardShortcut span{font-size:.8rem;color:var(--text-muted)}
.dashboardShortcut:hover{border-color:var(--primary);background:#fffaf6}.dashboardShortcut:focus-visible,.dashboardTopMatch:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
.dashboardTopMatches{min-width:0;padding:22px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.dashboardTopMatches .dashboardSectionHeading{margin-bottom:8px}.dashboardTopMatches h2{font-size:1.2rem;margin:0}
.dashboardTopMatch{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;color:var(--text);text-decoration:none;border-bottom:1px solid var(--border)}.dashboardTopMatch:last-child{border:0;padding-bottom:0}.dashboardTopMatch>div{min-width:0}.dashboardTopMatch h3{font-size:1rem;line-height:1.5;margin:5px 0 10px;overflow-wrap:anywhere}.dashboardTopMatch p,.dashboardTopMatch div>span{font-size:.8rem;color:var(--text-muted);margin:0}.dashboardTopMatch .dashboardScore{flex-shrink:0;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--vjt-surface-highlight);color:var(--primary);font-size:1.05rem}.dashboardTopMatch:hover h3{color:var(--primary)}.dashboardEmpty{margin-top:20px;color:var(--text-muted)}
@media(max-width:1150px){.dashboardHome{grid-template-columns:minmax(0,1fr)}.dashboardShortcut{min-height:125px}}@media(max-width:480px){.dashboardShortcuts{gap:10px}.dashboardShortcut{padding:14px;min-height:140px}.dashboardShortcut strong{font-size:.9rem}.dashboardShortcut span{font-size:.75rem}.dashboardTopMatches{padding:18px}.dashboardTopMatch{gap:12px}}


/* UI/UX-rework 2026-10-29: shared composition and accessibility */
body:has(.customerHeader) .dashboardPage{padding-top:22px}
body:has(.customerHeader) .dashboardIntro{margin-bottom:12px}
body:has(.customerHeader) .dashboardFocusRoute{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px 24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:22px}
body:has(.customerHeader) .dashboardFocusRoute>div:first-child{min-width:0}
body:has(.customerHeader) .dashboardFocusRoute h2{margin:4px 0 6px;font-size:1.3rem}
body:has(.customerHeader) .dashboardFocusRoute p{margin:0;color:var(--text-muted);line-height:1.5;max-width:65ch;font-size:.85rem}
body:has(.customerHeader) .dashboardFocusLinks{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body:has(.customerHeader) .dashboardFocusLinks a{white-space:nowrap}
@media(max-width:900px){body:has(.customerHeader) .dashboardFocusRoute{flex-direction:column;align-items:stretch}.dashboardFocusLinks{justify-content:flex-start!important}}
@media(max-width:640px){body:has(.customerHeader) .dashboardFocusRoute{padding:16px;gap:12px}.dashboardFocusLinks{display:grid!important;grid-template-columns:1fr 1fr}.dashboardFocusLinks a:first-child{grid-column:1/-1}}
