/*
 * AddMy.Link v6.3 typography refinement
 * Isolated scope, no font downloads, no layout engine changes or margin resets.
 * System-font rendering avoids unavailable Poppins heavy weights and fake synthesis.
 */
:root { --aml63-text: #1a2845; --aml63-muted: #596b84; --aml63-ink-soft: #334763; }
body.aml-dashboard-home-modern,
body.aml-creator-lift-modern,
body.aml-discovery-app,
body.aml-creator-lift-directory-v63,
body.aml-app.aml-creator-lift-modern {
  font-family: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
/* Match input/buttons to the same typeface; keep Font Awesome's glyph faces untouched. */
body.aml-dashboard-home-modern :is(button, input, textarea, select),
body.aml-creator-lift-modern :is(button, input, textarea, select),
body.aml-discovery-app :is(button, input, textarea, select) {
  font-family: inherit !important;
  font-weight: 500;
  letter-spacing: normal;
}
body.aml-dashboard-home-modern :is(.aml34-shell, .aml34-shell p, .aml34-shell a, .aml34-shell button, .aml34-shell small, .aml34-shell span, .aml34-shell strong),
body.aml-creator-lift-modern :is(.lift-workspace, .lift-workspace p, .lift-workspace a, .lift-workspace button),
body.aml-discovery-app :is(.aml-discovery-main, .aml-discovery-main p, .aml-discovery-main a) {
  font-family: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
/* Dashboard's hierarchy: smoother headings and legible, not ultra-condensed figures. */
body.aml-dashboard-home-modern .aml34-shell :is(h1,h2,h3,h4),
body.aml-dashboard-home-modern .aml34-toolbar h2,
body.aml-dashboard-home-modern .aml49-hero h1 {
  font-weight: 750 !important;
  letter-spacing: -0.022em !important;
  line-height: 1.22 !important;
  text-wrap: balance;
}
body.aml-dashboard-home-modern .aml49-hero :is(h1,h2) { letter-spacing: -0.027em !important; }
body.aml-dashboard-home-modern .aml34-shell :is(.aml34-metric-value, .aml49-metric-value, .aml49-stat-value, .aml49-progress-ring strong, .aml50-active-links-value),
body.aml-dashboard-home-modern .aml49-metrics strong {
  font-weight: 760 !important;
  letter-spacing: -0.027em !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.08 !important;
}
body.aml-dashboard-home-modern .aml34-shell :is(.aml34-metrics small,.aml49-metrics small,.aml49-workspace small,.aml49-overview small,.aml34-toolbar small,.aml49-tool-copy small) {
  font-size: 12px !important;
  line-height: 1.48 !important;
  font-weight: 450 !important;
  letter-spacing: 0 !important;
  color: #667790;
}
body.aml-dashboard-home-modern .aml34-shell :is(.aml49-metric-label,.aml49-overview h3,.aml49-workspace h3,.aml49-tool-name) {
  font-size: clamp(13px,1vw,15px) !important;
  font-weight: 675 !important;
  line-height: 1.34 !important;
  letter-spacing: -0.008em !important;
}
body.aml-dashboard-home-modern .aml34-shell :is(a,button) {font-weight: 640;}
/* Text inside the shared desktop header and sidebar also uses crisp system type. */
body.aml-dashboard-home-modern :is(header,aside,nav) :is(a,button,span,strong),
body.aml-creator-lift-modern :is(header,aside,nav) :is(a,button,span,strong) {
  font-family: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
/* Modern desktop header/sidebar, only inside the dashboard page. */
body.aml-dashboard-home-modern :is(.aml-app-nav,.aml-app-sidebar,.aml-sidebar,.aml-app-topbar,.aml34-toolbar) a,
body.aml-dashboard-home-modern :is(.aml-app-nav,.aml-app-sidebar,.aml-sidebar,.aml-app-topbar) button {
  font-size: 13.5px !important;
  font-weight: 625 !important;
  letter-spacing: 0 !important;
}
body.aml-dashboard-home-modern .aml34-shell .aml49-hero :is(.aml49-hero-subtitle,.aml49-hero-url,.aml49-hero-greeting) {
  line-height: 1.52 !important;
  letter-spacing: -0.006em !important;
}
/* Creator Lift uses more generous readable text but preserves v6.2 card sizes. */
body.aml-creator-lift-modern :is(.lift62-hero h2, .lift-topbar h1) {font-weight: 750!important;letter-spacing:-.028em!important;line-height:1.14!important;}
body.aml-creator-lift-modern :is(.lift62-heading h2,.lift-card h2,.lift-rail-panel h3) {font-weight:725!important;letter-spacing:-.018em!important;line-height:1.27!important;}
body.aml-creator-lift-modern :is(.lift62-route h3,.lift62-action-grid strong,.lift62-setup-details strong) {font-weight:700!important;letter-spacing:-.008em!important;}
body.aml-creator-lift-modern :is(.lift62-stat strong,.lift-metric strong,.lift-hero-metric strong) {font-weight:760!important;letter-spacing:-.028em!important;font-variant-numeric:tabular-nums;line-height:1.14!important;}
body.aml-creator-lift-modern :is(.lift62-eyebrow,.lift62-kicker,.lift62-route>small) {font-size:11px!important;letter-spacing:.065em!important;font-weight:750!important;}
body.aml-creator-lift-modern :is(.lift62-hero p,.lift62-heading p,.lift62-route p,.lift62-setup-details small,.lift62-action-grid small,.lift-card p,.lift-rail-panel p) {font-size:13px!important;line-height:1.62!important;font-weight:400!important;color:#5d6f89;}
body.aml-creator-lift-modern .lift62-hero p {color:#e2eafe!important;font-size:14px!important;}
body.aml-creator-lift-modern :is(.lift62-action-grid strong,.lift62-setup-details strong) {font-size:13px!important;}
body.aml-creator-lift-modern :is(.lift-btn,.lift62-route>a,.lift62-route>button) {font-size:13px!important;font-weight:650!important;letter-spacing:0!important;}
body.aml-creator-lift-modern :is(.lift62-status,.lift62-hero-trust>span) {font-size:11px!important;font-weight:650!important;}
body.aml-creator-lift-modern .lift62-stat div>span {font-size:12px!important;line-height:1.4!important;font-weight:500!important;color:#526784!important;}
/* Public directory, profiles and Creator Lift listing. */
body.aml-discovery-app :is(.aml-discovery-hero h1,.aml-profile-card h1,.aml-section-head h2,.aml-seo-copy h2),
body.aml-creator-lift-directory-v63 :is(.lift-dir-hero h1,.lift-featured-head h2) {font-weight:740!important;letter-spacing:-.026em!important;line-height:1.16!important;}
body.aml-discovery-app :is(.aml-card h3,.aml-profile-card h2,.aml-side-card h2) {font-weight:700!important;letter-spacing:-.01em!important;line-height:1.3!important;}
body.aml-discovery-app :is(.aml-card p,.aml-side-card p,.aml-seo-copy p,.aml-profile-sub,.aml-directory-note) {font-size:14px!important;line-height:1.62!important;color:#536680;}
body.aml-discovery-app :is(.aml-card-meta,.aml-kicker,.aml-breadcrumbs,.aml-stat) {font-size:12px!important;line-height:1.42!important;}
body.aml-discovery-app :is(.aml-d-btn,.aml-share-btn) {font-size:13px!important;font-weight:650!important;}
body.aml-creator-lift-directory-v63 :is(.lift-card h3,.lift-how strong,.lift-featured h2) {font-weight:700!important;}
body.aml-creator-lift-directory-v63 :is(.lift-card p,.lift-dir-hero p,.lift-how small,.lift-dir-rail p) {font-size:13.5px!important;line-height:1.6!important;}
body.aml-creator-lift-directory-v63 :is(.lift-btn,.lift-card-actions .lift-btn,.lift-dir-rail-list a,.lift-tag) {font-size:12.5px!important;font-weight:640!important;}
/* Business capability panels added in v6.3. */
.aml63-capabilities{padding:22px 22px 20px;border:1px solid #e2e8f2;border-radius:19px;background:#fff;box-shadow:0 10px 30px rgba(25,37,75,.055);min-width:0;}
.aml63-capabilities .aml63-eyebrow{font-size:11px;letter-spacing:.065em;font-weight:750;color:#625bd6;text-transform:uppercase;}
.aml63-capabilities h2{font-size:clamp(20px,2.5vw,27px);font-weight:750!important;letter-spacing:-.023em!important;line-height:1.2;margin:7px 0 9px;color:#1b2e50;}
.aml63-capabilities>.aml63-description{font-size:14px;line-height:1.6;color:#586b83;max-width:800px;margin:0 0 17px;}
.aml63-cap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.aml63-cap-grid article{min-width:0;display:flex;flex-direction:column;padding:16px;border:1px solid #e5ebf5;border-radius:15px;background:#fafbff;}
.aml63-cap-grid article>i{color:#4f62d9;font-size:19px;margin-bottom:12px;}
.aml63-cap-grid article>strong{font-size:14px;font-weight:700;letter-spacing:-.01em;color:#263b5e;line-height:1.3;}
.aml63-cap-grid article>p{font-size:12.5px;color:#5b7089;line-height:1.58;margin:8px 0 13px;flex:1;}
.aml63-cap-grid article>a{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;color:#4256bf!important;font-size:12px;font-weight:700;text-decoration:none!important;}
.aml63-capabilities>.aml63-note{margin:15px 0 0;font-size:11.5px;color:#6c7b91;line-height:1.5;}
@media(max-width:950px){.aml63-cap-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){
 body.aml-dashboard-home-modern .aml34-shell :is(.aml34-metrics small,.aml49-metrics small,.aml49-overview small){font-size:11.5px!important;}
 body.aml-dashboard-home-modern .aml34-shell :is(.aml49-metric-label,.aml49-overview h3,.aml49-workspace h3){font-size:13px!important;}
 body.aml-creator-lift-modern .lift62-hero p{font-size:13px!important;}
 .aml63-capabilities{padding:16px;border-radius:16px;}
 .aml63-cap-grid{grid-template-columns:1fr;gap:8px;}
 .aml63-cap-grid article{padding:14px;}
}
@media(prefers-reduced-motion:reduce){.aml63-cap-grid article{transition:none!important;}}
