/* dashboard-fix-work/src/pages/DashboardPremium.css */
.nexus-dashboard-next {
  --nd-ink:#16344c;
  --nd-muted:#687b8f;
  --nd-line:#e2e8ed;
  color: var(--nd-ink);
  background:
    linear-gradient(
      135deg,
      #fdf8f1 0%,
      #f5f8f9 65%,
      #f9faf7 100%);
  padding: 24px;
  max-width: 1840px;
  margin: auto;
  min-height: 100vh;
  font-size: 14px;
  isolation: isolate;
}
.nexus-dashboard-next * {
  box-sizing: border-box;
}
.nexus-dashboard-next button,
.nexus-dashboard-next select {
  font: inherit;
}
.nexus-dashboard-next button:focus-visible,
.nexus-dashboard-next a:focus-visible,
.nexus-dashboard-next select:focus-visible,
.nexus-dashboard-next [tabindex]:focus-visible {
  outline: 3px solid var(--nd-primary);
  outline-offset: 3px;
}
.nexus-dashboard-next button {
  cursor: pointer;
}
.nexus-dashboard-next button:disabled {
  opacity: .55;
  cursor: wait;
}
.nexus-dashboard-next a {
  text-decoration: none;
  color: inherit;
}
.nexus-dashboard-next .nd-hero {
  position: relative;
  z-index: 0;
  min-height: 220px;
  padding: 27px 32px 32px;
  border-radius: 22px;
  background: #f7eddf url(/assets/nexus-dashboard-elan.png) center center/cover no-repeat;
  overflow: hidden;
  border: 1px solid #e7e3dc;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px #273d4b0a;
}
.nexus-dashboard-next .nd-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #fffaf3f5 0%,
      #fffaf3e8 30%,
      #fffaf380 55%,
      transparent 74%);
  z-index: -1;
}
.nd-hero-copy {
  max-width: 850px;
}
.nexus-dashboard-next h1 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(30px, 2.75vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -1.4px;
  margin: 13px 0 10px;
  color: #12314c;
  text-wrap: balance;
}
.nd-greeting {
  font-weight: 700;
  font-size: 12px;
  margin: 0;
}
.nd-greeting span {
  font-weight: 400;
  color: #526b7a;
}
.nd-tagline {
  font-size: 16px;
  color: #35546e;
  margin: 0 0 22px;
}
.nd-hero-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.nd-context,
.nd-hero-tools select,
.nd-button {
  border: 1px solid #d7dfe6;
  background: #ffffffed;
  color: var(--nd-ink);
  border-radius: 10px;
  box-shadow: 0 3px 8px #12314c09;
  padding: 9px 12px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nd-context {
  background: var(--nd-primary);
  color: white;
  border-color: transparent;
  max-width: 310px;
}
.nd-button small {
  font-size: 10px;
  color: #6b7e91;
  margin-left: 3px;
}
.nd-sync {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  margin: 12px 0 0;
  color: #52687b;
}
.nd-sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #24a37c;
}
.nd-sync i.nd-failed {
  background: #ce7540;
}
.nd-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 24px;
}
.nd-kpis-single {
  grid-template-columns: minmax(250px, 390px);
}
.nd-kpi {
  background:
    linear-gradient(
      135deg,
      #fff,
      #fcfdfd);
  border: 1px solid var(--nd-line);
  box-shadow: 0 5px 18px #17374708;
  min-height: 115px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 15px;
  position: relative;
  overflow: hidden;
}
.nd-kpi:before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--nd-primary);
}
.nd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nd-primary);
  background: color-mix(in srgb, var(--nd-primary) 9%, white);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
}
.nd-green {
  color: #277b4b;
  background: #eef6e9;
}
.nd-kpi h2 {
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 9px;
  line-height: 1.3;
}
.nd-kpi strong {
  font-size: clamp(21px, 1.9vw, 31px);
  line-height: 1.2;
  letter-spacing: -.7px;
  display: block;
  color: #12314c;
  font-variant-numeric: tabular-nums;
}
.nd-kpi small {
  display: block;
  color: var(--nd-muted);
  font-size: 10px;
  margin-top: 7px;
  line-height: 1.35;
}
.nd-margin {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.nd-margin span + span {
  border-left: 1px solid var(--nd-line);
  padding-left: 14px;
}
.nd-margin b {
  font-size: 18px;
  white-space: nowrap;
  color: var(--nd-primary);
}
.nd-margin small {
  margin: 0 0 3px;
}
.nd-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.nexus-dashboard-next h2 {
  color: var(--nd-ink);
}
.nd-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.5px;
  margin: 0;
}
.nd-section-heading p {
  font-size: 12px;
  color: var(--nd-muted);
  margin: 5px 0 0;
}
.nd-segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eef2f5;
  border: 1px solid var(--nd-line);
  border-radius: 10px;
  flex-shrink: 0;
}
.nd-segment button {
  padding: 7px 12px;
  border: 0;
  background: none;
  border-radius: 7px;
  font-size: 12px;
  color: #546a7d;
}
.nd-segment button[aria-pressed=true] {
  background: var(--nd-primary);
  color: white;
  box-shadow: 0 3px 6px #17374714;
}
.nd-widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: 26px;
}
.nd-card,
.nd-existing {
  border: 1px solid var(--nd-line);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 17px #17374708;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.nd-card {
  padding: 17px 18px;
  min-height: 190px;
  --nd-tone:var(--nd-primary);
}
.nd-card:before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 3px;
  background: var(--nd-tone);
  border-radius: 3px;
}
.nd-tone-amber {
  --nd-tone:#bf7017;
}
.nd-tone-red {
  --nd-tone:#cc444b;
}
.nd-card .nd-icon {
  color: var(--nd-tone);
  background: color-mix(in srgb, var(--nd-tone) 9%, white);
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.nd-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.nd-card-heading > div {
  flex: 1;
  min-width: 0;
}
.nd-card h3 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}
.nd-card-heading p {
  font-size: 10px;
  color: var(--nd-muted);
  margin: 4px 0 0;
  line-height: 1.4;
}
.nd-count {
  color: var(--nd-tone);
  font-size: 29px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.8px;
}
.nd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid #eff2f5;
  min-height: 52px;
}
.nd-item:hover {
  background: #f6f9fb;
}
.nd-item > div {
  flex: 1;
  min-width: 0;
}
.nd-item strong {
  font-size: 12px;
  font-weight: 650;
  display: block;
  overflow-wrap: anywhere;
}
.nd-item span {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  color: var(--nd-muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.nd-item b {
  font-size: 12px;
  white-space: nowrap;
}
.nd-item b small {
  font-weight: 400;
  display: block;
  text-align: right;
  font-size: 9px;
  color: var(--nd-muted);
}
.nd-item svg {
  flex-shrink: 0;
  color: var(--nd-primary);
}
.nd-items.expanded {
  max-height: 360px;
  overflow: auto;
  padding-right: 5px;
}
.nd-more {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0 auto;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--nd-primary);
  font-size: 11px;
  font-weight: 600;
}
.nd-empty {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #738497;
  min-height: 50px;
  line-height: 1.5;
  margin: 0;
}
.nd-incomplete {
  font-size: 10px;
  color: #96621e;
  background: #fff8e9;
  border-radius: 6px;
  padding: 5px 8px;
  margin: 0 0 5px;
}
.nd-warning {
  border: 1px solid #eddbb3;
  border-radius: 10px;
  padding: 10px 13px;
  background: #fffaf0;
  color: #8b611e;
  font-size: 12px;
  margin: 0 0 16px;
}
.nd-warning button {
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: inherit;
}
.nd-monthly {
  border: 1px solid var(--nd-line);
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 5px 17px #17374708;
  padding: 19px 16px 13px;
  margin-bottom: 24px;
}
.nd-monthly .nd-section-heading {
  padding: 0 4px;
}
.nd-monthly h2 {
  font-size: 25px;
}
.nd-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nd-tools select {
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  font-size: 11px;
  color: var(--nd-ink);
}
.nd-table-scroll {
  overflow: auto;
  max-height: 414px;
  border: 1px solid var(--nd-line);
  border-radius: 10px;
  scrollbar-width: thin;
}
.nd-table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nd-table-scroll td,
.nd-table-scroll th {
  padding: 10px 12px;
  text-align: right;
  border-bottom: 1px solid #edf1f4;
}
.nd-table-scroll th:first-child {
  text-align: left;
}
.nd-table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.nd-table-scroll thead th {
  background: #f0f4f7;
  color: #60768b;
  font-size: 10px;
  font-weight: 650;
}
.nd-table-scroll tbody th {
  font-weight: 550;
  text-transform: capitalize;
  color: #35536a;
}
.nd-table-scroll tbody tr:hover {
  background: #f7fafc;
}
.nd-table-scroll .nd-current-month {
  background: color-mix(in srgb, var(--nd-primary) 6%, white);
}
.nd-table-scroll tbody th small {
  display: block;
  font-size: 9px;
  color: var(--nd-primary);
  margin-top: 2px;
}
.nd-table-scroll tfoot {
  position: sticky;
  bottom: 0;
  z-index: 1;
}
.nd-table-scroll tfoot th,
.nd-table-scroll tfoot td {
  background: var(--nd-primary);
  color: #fff;
  font-weight: 650;
  border: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nd-footnote {
  font-size: 10px;
  color: #74889a;
  line-height: 1.55;
  margin: 11px 3px;
}
.nd-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.nd-company-grid > div {
  border: 1px solid var(--nd-line);
  border-radius: 11px;
  padding: 16px;
}
.nd-company-grid h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.nd-company-grid strong {
  font-size: 23px;
  color: var(--nd-primary);
}
.nd-company-grid p,
.nd-company-grid small {
  font-size: 11px;
  color: var(--nd-muted);
}
.nd-footer {
  font-size: 11px;
  line-height: 1.6;
  color: #7b8b99;
  padding: 0 0 15px;
}
.nd-loading {
  padding: 30px;
  color: #64748b;
}
.nexus-dashboard-next .nd-existing-content {
  max-height: 255px;
  overflow: auto;
  scrollbar-width: thin;
  min-height: 190px;
}
.nexus-dashboard-next .nd-existing-content:empty {
  display: none;
}
.nexus-dashboard-next .nd-existing:not(:has(.nd-existing-content > *)) {
  display: none;
}
.nexus-dashboard-next .nd-existing-content > section {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 17px !important;
  margin: 0 !important;
  background: #fff !important;
}
.nexus-dashboard-next .nd-existing-content header {
  position: static !important;
  z-index: auto !important;
  top: auto !important;
  box-shadow: none !important;
  flex-wrap: wrap;
  gap: 8px !important;
  align-items: flex-start !important;
}
.nexus-dashboard-next .nd-existing-content header h3 {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
.nexus-dashboard-next .nd-existing-content header p {
  font-size: 10px !important;
  line-height: 1.5 !important;
}
.nexus-dashboard-next .nd-existing-content button {
  font-size: 10px !important;
  white-space: normal;
  min-height: 30px;
}
.nexus-dashboard-next .nd-existing-content a {
  font-size: 11px;
}
.nexus-dashboard-next .nd-existing-content .p-3 {
  padding: 9px !important;
}
.nexus-dashboard-next .nd-existing-content .text-sm {
  font-size: 12px !important;
}
.nexus-dashboard-next .nd-existing-content .text-xs {
  font-size: 10px !important;
}
.nd-empty-note {
  padding: 0 17px 12px;
}
.nexus-dashboard-next .nd-existing-content [data-nexus-notices] button.bg-\[\#1E5C8A\] {
  background: var(--nd-primary) !important;
}
@media (min-width: 1700px) {
  .nd-hero {
    min-height: 240px;
  }
  .nd-kpi {
    padding: 22px;
  }
  .nd-widget-grid {
    gap: 18px;
  }
  .nd-card {
    min-height: 205px;
  }
}
@media (max-width: 1280px) {
  .nexus-dashboard-next {
    padding: 18px;
  }
  .nd-kpi {
    padding: 17px 12px;
    gap: 8px;
  }
  .nd-kpi .nd-icon {
    width: 30px;
    height: 30px;
  }
  .nd-margin {
    gap: 7px;
  }
  .nd-margin span + span {
    padding-left: 7px;
  }
  .nd-margin b {
    font-size: 15px;
  }
  .nd-widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nd-kpi strong {
    font-size: 24px;
  }
  .nd-section-heading h2 {
    font-size: 24px;
  }
  .nexus-dashboard-next .nd-hero {
    padding: 24px;
    min-height: 215px;
  }
}
@media (max-width: 900px) {
  .nd-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nd-kpis-single {
    grid-template-columns: 1fr;
  }
  .nexus-dashboard-next h1 {
    font-size: 33px;
  }
  .nd-hero-copy {
    max-width: 70%;
  }
  .nd-tagline {
    font-size: 14px;
  }
  .nd-section-heading {
    flex-wrap: wrap;
  }
  .nd-table-scroll {
    max-height: 390px;
  }
  .nd-section-heading h2 {
    font-size: 22px;
  }
}
@media (max-width: 620px) {
  .nexus-dashboard-next {
    padding: 12px;
  }
  .nexus-dashboard-next .nd-hero {
    border-radius: 15px;
    padding: 22px 18px;
    background-position: 63% center;
  }
  .nexus-dashboard-next .nd-hero:before {
    background:
      linear-gradient(
        90deg,
        #fffaf3f5,
        #fffaf3b8 80%);
  }
  .nd-hero-copy {
    max-width: 100%;
  }
  .nexus-dashboard-next h1 {
    font-size: 31px;
    letter-spacing: -.9px;
  }
  .nd-tagline {
    line-height: 1.5;
  }
  .nd-kpis {
    gap: 9px;
  }
  .nd-kpi {
    min-height: 118px;
    padding: 15px 11px;
  }
  .nd-kpi .nd-icon {
    display: none;
  }
  .nd-kpi h2 {
    font-size: 11px;
  }
  .nd-kpi strong {
    font-size: 23px;
  }
  .nd-kpi small {
    font-size: 9px;
  }
  .nd-margin {
    gap: 5px;
  }
  .nd-margin b {
    font-size: 13px;
  }
  .nd-widget-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .nd-card {
    min-height: 170px;
  }
  .nd-greeting span {
    display: block;
    margin-top: 5px;
  }
  .nd-monthly {
    padding: 16px 10px;
  }
  .nd-monthly h2 {
    font-size: 22px;
  }
  .nd-tools {
    width: 100%;
    justify-content: space-between;
  }
  .nd-segment {
    width: 100%;
  }
  .nd-segment button {
    flex: 1;
  }
  .nd-existing-content {
    max-height: 340px !important;
  }
  .nd-footer {
    font-size: 10px;
  }
  .nd-hero-tools .nd-context {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .nd-card,
  .nd-kpi,
  .nd-existing {
    transition: box-shadow .18s ease, transform .18s ease;
  }
  .nd-card:hover,
  .nd-existing:hover {
    box-shadow: 0 9px 24px #17374712;
    transform: translateY(-1px);
  }
}
.nexus-dashboard-next .nd-purchase-reviews {
  margin-top: 10px;
  font-size: 11px;
  border: 1px solid #eddcb7;
  border-radius: 8px;
  background: #fffbf3;
  color: #906024;
}
.nd-purchase-reviews summary {
  cursor: pointer;
  padding: 9px 10px;
  font-weight: 600;
}
.nd-purchase-reviews > div {
  max-height: 300px;
  overflow: auto;
}
.nd-purchase-reviews a {
  display: block;
  padding: 9px 10px;
  border-top: 1px solid #f1e5cf;
}
.nd-purchase-reviews a:hover {
  background: #fff5dd;
}
.nd-purchase-reviews strong {
  display: block;
  font-size: 11px;
}
.nd-purchase-reviews span {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.nd-quantity-detail {
  color: var(--nd-primary) !important;
  font-size: 10px !important;
}
