/* 7TH BREED customer dashboard typography v2
   Cleaner application typography with a Windows-friendly system/Inter stack.
   Intentionally scoped to the authenticated customer dashboard only. */
body.cd3-active,
body.customer-dashboard-mockup,
#cd3-app,
#cd3-app button,
#cd3-app input,
#cd3-app select,
#cd3-app textarea,
#cd3-app a,
.customer-dashboard-shell,
.customer-dashboard-shell button,
.customer-dashboard-shell input,
.customer-dashboard-shell select,
.customer-dashboard-shell textarea,
.customer-dashboard-shell a {
  font-family: Inter, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#cd3-app,
.customer-dashboard-shell {
  font-size: 15px !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

/* Navigation */
.cd3-sidebar nav button,
.cd3-sidebottom button,
.customer-dashboard-nav a,
.customer-dashboard-nav button {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -.005em !important;
}

/* Page title / welcome */
.cd3-top h1,
.customer-dashboard-main main>section:first-child h1 {
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.12 !important;
  font-weight: 650 !important;
  letter-spacing: -.03em !important;
}
.cd3-top p,
.customer-dashboard-main main>section:first-child p {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* Customer identity */
.cd3-user strong,
.customer-dashboard-userchip strong {
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  letter-spacing: -.005em !important;
}
.cd3-user small,
.customer-dashboard-userchip small {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

/* Account overview */
.cd-overview-copy>small,
.cd3-detail>header small,
.cd3-support>small,
.cd4-notifications header small {
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: .055em !important;
}
.cd-overview-copy h2 {
  font-size: clamp(25px, 2.25vw, 32px) !important;
  line-height: 1.16 !important;
  font-weight: 650 !important;
  letter-spacing: -.025em !important;
}
.cd-overview-copy p {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}
.cd-overview-actions a,
.cd-overview-actions button {
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}
.cd-overview-status span {
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  letter-spacing: .045em !important;
}
.cd-overview-status strong {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

/* KPI cards */
.cd-kpis span,
.cd-kpis small,
.customer-dashboard-stat small,
.customer-dashboard-stat span {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.cd-kpis strong,
.customer-dashboard-stat strong {
  font-size: clamp(25px, 2vw, 30px) !important;
  line-height: 1.05 !important;
  font-weight: 650 !important;
  letter-spacing: -.025em !important;
}

/* Section/card hierarchy */
.cd-grid h3,
.cd-lower h3,
.cd3-support h3,
.cd3-settings-section h3 {
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  letter-spacing: -.012em !important;
}
.cd-grid h4,
.cd4-contact-block h4 {
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
.cd-grid p,
.cd-lower,
.cd-mini-projects,
.cd3-note,
.cd3-support p {
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
.cd-grid small,
.cd-meta {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  font-weight: 450 !important;
}

/* Record/detail views */
.cd3-detail>header h2,
.cd3-record-card h2 {
  font-size: clamp(22px, 2vw, 27px) !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: -.02em !important;
}
.cd3-detail-list strong,
.cd3-record-grid strong,
.cd3-settings-grid strong,
.cd3-setting-toggle strong,
.cd4-notification-list strong,
.cd3-notification-list strong {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
.cd3-detail-list small,
.cd3-record-card header p,
.cd3-record-grid span,
.cd3-record-notes span,
.cd3-settings-grid span,
.cd3-setting-toggle small,
.cd4-notification-list small,
.cd3-notification-list small {
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
.cd3-record-notes p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

/* Forms/settings/buttons */
.cd4-account-form label,
.cd3-profile-popover>p,
.cd3-profile-popover label {
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 550 !important;
}
.cd4-account-form input,
.cd4-account-form textarea,
.cd4-account-form button,
.cd3-settings-actions button,
.cd3-settings-actions a,
.cd3-primary,
.cd3-record-primary,
.cd3-pop-actions button {
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.cd4-account-form p,
[data-privacy-status],
.cd3-toast,
.cd3-data-warning {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
.cd3-profile-popover h3,
.cd4-notifications h3 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
  letter-spacing: -.015em !important;
}
.cd4-notification-list time,
.cd3-notification-list time {
  font-size: 11px !important;
  line-height: 1.4 !important;
}

/* Mobile: never let navigation/body copy become tiny. */
@media (max-width: 900px) {
  #cd3-app,
  .customer-dashboard-shell { font-size: 14px !important; }
  .cd3-top h1,
  .customer-dashboard-main main>section:first-child h1 { font-size: 28px !important; }
  .cd3-top p,
  .customer-dashboard-main main>section:first-child p { font-size: 13.5px !important; }
  .cd-overview-copy h2 { font-size: 23px !important; }
  .cd-overview-copy p { font-size: 13.5px !important; }
  .cd3-mobile button,
  .cd3-mobile .cd3-shop-link {
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }
  .cd-overview-status span { font-size: 9.5px !important; }
  .cd-overview-status strong { font-size: 12px !important; }
  .cd-kpis span,.cd-kpis small { font-size: 11.5px !important; }
  .cd-kpis strong { font-size: 24px !important; }
}
