/* Member dashboard navigation layer. Existing member cards, forms, colors, and typography remain owned by member-dashboard.css. */
.dashboard-main {
  display: block;
  padding: 62px 0 110px;
}
.member-dashboard-mobilebar {
  display: none;
}
.member-dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.member-sidebar {
  position: sticky;
  top: 96px;
  min-width: 0;
  padding: 48px 20px 36px 0;
  border-right: 1px solid var(--member-line);
}
.member-sidebar-kicker {
  margin-bottom: 14px;
  color: #8a8f99;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}
.member-sidebar nav {
  display: grid;
  gap: 3px;
}
.member-sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0 0 12px;
  border-left: 2px solid transparent;
  color: var(--member-muted);
  font-size: 13px;
  font-weight: 700;
}
.member-sidebar nav a:hover,
.member-sidebar nav a[aria-current="page"] {
  border-left-color: var(--member-blue);
  color: var(--member-blue);
}
.member-dashboard-panel {
  min-width: 0;
}
.member-dashboard-panel > .dashboard-intro {
  max-width: 680px;
  margin-bottom: 45px;
}
.member-dashboard-panel .dashboard-content {
  min-width: 0;
}
.member-dashboard-panel .dashboard-status {
  margin-bottom: 18px;
}
.member-dashboard-panel .dashboard-section,
.member-dashboard-panel .dashboard-account {
  margin-top: 18px;
}
.member-dashboard-panel .dashboard-section:first-child,
.member-dashboard-panel .dashboard-account:first-child {
  margin-top: 0;
}
body[data-member-dashboard-route$="-account"] #favorites-section,
body[data-member-dashboard-route$="-account"] #inquiries-section,
body[data-member-dashboard-route$="-account"] #support-section,
body[data-member-dashboard-route$="-account"] #host-section,
body[data-member-dashboard-route$="-account"] #matches-section,
body[data-member-dashboard-route$="-account"] #dashboard-overview,
body[data-member-dashboard-route$="-overview"] #dashboard-account,
body[data-member-dashboard-route$="-overview"] #favorites-section,
body[data-member-dashboard-route$="-overview"] #inquiries-section,
body[data-member-dashboard-route$="-overview"] #support-section,
body[data-member-dashboard-route$="-overview"] #host-section,
body[data-member-dashboard-route$="-overview"] #matches-section,
body[data-member-dashboard-route$="-favorites"] #dashboard-account,
body[data-member-dashboard-route$="-favorites"] #inquiries-section,
body[data-member-dashboard-route$="-favorites"] #support-section,
body[data-member-dashboard-route$="-favorites"] #host-section,
body[data-member-dashboard-route$="-favorites"] #matches-section,
body[data-member-dashboard-route$="-favorites"] #dashboard-overview,
body[data-member-dashboard-route$="-inquiries"] #dashboard-account,
body[data-member-dashboard-route$="-inquiries"] #favorites-section,
body[data-member-dashboard-route$="-inquiries"] #support-section,
body[data-member-dashboard-route$="-inquiries"] #host-section,
body[data-member-dashboard-route$="-inquiries"] #matches-section,
body[data-member-dashboard-route$="-inquiries"] #dashboard-overview,
body[data-member-dashboard-route$="-support"] #dashboard-account,
body[data-member-dashboard-route$="-support"] #favorites-section,
body[data-member-dashboard-route$="-support"] #inquiries-section,
body[data-member-dashboard-route$="-support"] #host-section,
body[data-member-dashboard-route$="-support"] #matches-section,
body[data-member-dashboard-route$="-support"] #dashboard-overview,
body[data-member-dashboard-route$="-host"] #dashboard-account,
body[data-member-dashboard-route$="-host"] #favorites-section,
body[data-member-dashboard-route$="-host"] #inquiries-section,
body[data-member-dashboard-route$="-host"] #support-section,
body[data-member-dashboard-route$="-host"] #matches-section,
body[data-member-dashboard-route$="-host"] #dashboard-overview,
body[data-member-dashboard-route$="-matches"] #dashboard-account,
body[data-member-dashboard-route$="-matches"] #favorites-section,
body[data-member-dashboard-route$="-matches"] #inquiries-section,
body[data-member-dashboard-route$="-matches"] #support-section,
body[data-member-dashboard-route$="-matches"] #host-section,
body[data-member-dashboard-route$="-matches"] #dashboard-overview {
  display: none !important;
}
body[data-member-dashboard-view]:not([data-member-dashboard-view="dashboard"]) #dashboard-intro {
  display: none !important;
}
.dashboard-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-overview .dashboard-section-head > div {
  min-width: 0;
}
.dashboard-overview-role {
  flex: 0 0 auto;
  white-space: nowrap;
}
.dashboard-overview-note {
  margin: -6px 0 16px;
  color: var(--member-muted);
  font-size: 11px;
  line-height: 1.5;
}
.dashboard-overview-stat {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--member-line);
  border-radius: 14px;
  background: var(--member-white);
}
.dashboard-overview-stat-label,
.dashboard-overview-stat-note {
  display: block;
  color: var(--member-muted);
  font-size: 12px;
  line-height: 1.5;
}
.dashboard-overview-stat-value {
  display: block;
  margin-top: 8px;
  color: var(--member-ink);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.dashboard-overview-stat.is-unavailable .dashboard-overview-stat-value {
  color: var(--member-muted);
  font-size: 16px;
}
.dashboard-overview-stat-note {
  margin-top: 6px;
  font-size: 11px;
  word-break: keep-all;
}
.dashboard-overview-stat-note.is-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
}
.dashboard-overview-stat-note.is-parts span {
  white-space: nowrap;
}
.dashboard-overview-recent {
  margin-top: 30px;
}
.dashboard-overview-recent .dashboard-section-head {
  margin-bottom: 12px;
}
.dashboard-overview-recent h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.04em;
}
.dashboard-overview-recent .dashboard-row {
  margin-top: 10px;
}
.dashboard-overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.dashboard-overview-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--member-line);
  border-radius: 9px;
  color: var(--member-ink);
  background: var(--member-white);
  font-size: 12px;
  font-weight: 800;
}
.dashboard-overview-links a:hover {
  border-color: var(--member-blue);
  color: var(--member-blue);
}
.member-match-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  margin: 14px 0 0;
  border-top: 1px solid var(--member-line);
  border-bottom: 1px solid var(--member-line);
}
.member-match-details > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #eef0f2;
}
.member-match-details dt {
  color: var(--member-muted);
  font-size: 11px;
}
.member-match-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}
.member-sidebar[hidden],
.member-dashboard-mobilebar[hidden] {
  display: none;
}
#matches-section .match-form {
  grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr) 120px;
  align-items: stretch;
}
#matches-section .match-form input,
#matches-section .match-form button {
  width: 100%;
  min-height: 42px;
  height: 42px;
}
#matches-section .match-form button {
  min-width: 120px;
  max-width: 120px;
}

@media (max-width: 900px) {
  .member-match-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .member-dashboard-mobilebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: var(--member-content);
    margin: 0 auto;
    padding-top: 17px;
    color: var(--member-muted);
    font-size: 11px;
  }
  .member-dashboard-mobilebar button {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--member-line);
    border-radius: 9px;
    color: var(--member-ink);
    background: var(--member-white);
    font-size: 12px;
    font-weight: 700;
  }
  .member-dashboard-workspace {
    display: block;
    width: var(--member-content);
    margin: 0 auto;
  }
  .member-sidebar {
    display: none;
    position: static;
    padding: 24px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--member-line);
  }
  .member-sidebar.is-open {
    display: block;
  }
  .member-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-dashboard-panel {
    padding-top: 48px;
  }
  #matches-section .match-form {
    grid-template-columns: 1fr;
  }
  #matches-section .match-form button {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .member-dashboard-mobilebar,
  .member-dashboard-workspace {
    width: calc(100% - 36px);
  }
  .member-dashboard-panel {
    padding-top: 48px;
  }
  .member-dashboard-panel > .dashboard-intro {
    margin-bottom: 36px;
  }
  .member-match-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .member-match-details > div {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 7px;
  }
  .dashboard-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-overview-stat {
    padding: 15px;
  }
  .dashboard-overview-stat-value {
    font-size: 18px;
  }
  .dashboard-overview-links a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }
}
