/* Gmail, Google OAuth and Microsoft Graph articles (wave "refonte lot 1", December 2026).
   First user: blog/gmail-api-limits. Built to be reused by the other articles of the wave
   (gmail-api-scopes-guide, gmail-api-push-notifications, gmail-api-key-vs-oauth, google-oauth-*, microsoft-graph-*).
   Prefix uem-, scoped by the .uem-sec class on every section root (doubled for specificity over divi.css).
   Hero root: class "uem-sec uem-rhero". Short answer root: add "uem-ranswer". TOC and FAQ keep their canonical inline CSS.
   Charter rules: no box-shadow, no clamp(), light #f4f5f7 sheet, yellow = API features (darkened on light), green = Unipile. */

/* ---------- Reset (CHARTER 8.3) ---------- */
.uem-sec.uem-sec,
.uem-sec.uem-sec *,
.uem-sec.uem-sec *::before,
.uem-sec.uem-sec *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  list-style: none;
}

/* ---------- Section root: one continuous #f4f5f7 sheet ---------- */
.uem-sec.uem-sec {
  display: block;
  width: 100%;
  background: #f4f5f7;
  padding: 50px 20px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1e293b;
}
.uem-ranswer.uem-ranswer { padding-top: 10px; }
.uem-rlast.uem-rlast { padding-bottom: 20px; }
.uem-sec.uem-sec .uem-container { max-width: 1100px; margin: 0 auto; min-width: 0; }

/* ---------- Section header: badge, H2, intro ---------- */
.uem-sec.uem-sec .uem-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.uem-sec.uem-sec .uem-head--center { align-items: center; text-align: center; }
.uem-sec.uem-sec .uem-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: rgba(59, 185, 139, 0.12); color: #2aaa7e;
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px;
}
.uem-sec.uem-sec .uem-badge--y { background: rgba(221, 223, 76, 0.2); color: #8a8c1f; }
.uem-sec.uem-sec .uem-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #3BB98B; flex-shrink: 0; }
.uem-sec.uem-sec .uem-badge--y .uem-badge-dot { background: #b8ba2e; }
.uem-sec.uem-sec .uem-h2 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 35px; font-weight: 700; line-height: 1.2; color: #0f2736; overflow-wrap: break-word;
}
.uem-sec.uem-sec .uem-h2 span { color: #3BB98B; }
.uem-sec.uem-sec .uem-h3 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 24px; font-weight: 700; line-height: 1.3; color: #0f2736; margin: 48px 0 12px; overflow-wrap: break-word;
}
.uem-sec.uem-sec .uem-h3:first-child { margin-top: 0; }
.uem-sec.uem-sec .uem-intro,
.uem-sec.uem-sec .uem-p { font-size: 16px; line-height: 1.7; color: #383838; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-p + .uem-p { margin-top: 16px; }
.uem-sec.uem-sec .uem-intro strong, .uem-sec.uem-sec .uem-p strong, .uem-sec.uem-sec .uem-li strong,
.uem-sec.uem-sec .uem-card-text strong, .uem-sec.uem-sec .uem-answer-text strong { color: #1e293b; font-weight: 600; }
.uem-sec.uem-sec .uem-intro a, .uem-sec.uem-sec .uem-p a, .uem-sec.uem-sec .uem-li a, .uem-sec.uem-sec .uem-verified a,
.uem-sec.uem-sec .uem-card-text a, .uem-sec.uem-sec .uem-answer-text a, .uem-sec.uem-sec .uem-feat-text a, .uem-sec.uem-sec .uem-call-text a, .uem-sec.uem-sec .uem-fact-note a {
  color: #2aaa7e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease;
}
.uem-sec.uem-sec .uem-intro a:hover, .uem-sec.uem-sec .uem-p a:hover, .uem-sec.uem-sec .uem-li a:hover, .uem-sec.uem-sec .uem-verified a:hover,
.uem-sec.uem-sec .uem-card-text a:hover, .uem-sec.uem-sec .uem-answer-text a:hover, .uem-sec.uem-sec .uem-feat-text a:hover, .uem-sec.uem-sec .uem-call-text a:hover, .uem-sec.uem-sec .uem-fact-note a:hover { color: #0f2736; }
.uem-sec.uem-sec code.uem-c {
  font-family: 'Courier New', monospace; background: rgba(59, 185, 139, 0.1); color: #2da077;
  padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; overflow-wrap: anywhere;
}
.uem-sec.uem-sec .uem-mt { margin-top: 24px; }
.uem-sec.uem-sec .uem-verified { margin-top: 20px; font-size: 13px; line-height: 1.6; color: #64748b; overflow-wrap: break-word; }

/* ---------- Lists ---------- */
.uem-sec.uem-sec .uem-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.uem-sec.uem-sec .uem-li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.7; color: #383838; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #3bb98b; }

/* ---------- Layout helpers ---------- */
.uem-sec.uem-sec .uem-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.uem-sec.uem-sec .uem-split > * { min-width: 0; }
.uem-sec.uem-sec .uem-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.uem-sec.uem-sec .uem-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uem-sec.uem-sec .uem-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.uem-sec.uem-sec .uem-grid2 > *, .uem-sec.uem-sec .uem-grid3 > *, .uem-sec.uem-sec .uem-grid4 > * { min-width: 0; }

/* ---------- Cards, icons, kicker ---------- */
.uem-sec.uem-sec .uem-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.uem-sec.uem-sec .uem-card-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; color: #0f2736; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-card-text { font-size: 15px; line-height: 1.65; color: #383838; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-kicker { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8; line-height: 1.4; }
.uem-sec.uem-sec .uem-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(59, 185, 139, 0.12); color: #2aaa7e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uem-sec.uem-sec .uem-icon--y { background: rgba(221, 223, 76, 0.2); color: #8a8c1f; }
.uem-sec.uem-sec .uem-icon svg { width: 16px; height: 16px; }

/* ---------- Short answer (no card: label + text on the sheet) ---------- */
.uem-sec.uem-sec .uem-answer { display: flex; flex-direction: column; gap: 12px; }
.uem-sec.uem-sec .uem-answer-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #2aaa7e; line-height: 1.4; }
.uem-sec.uem-sec .uem-answer-text { font-size: 18px; line-height: 1.7; color: #1e293b; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-answer-text + .uem-answer-text { font-size: 16px; color: #383838; }
.uem-sec.uem-sec .uem-updated { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 14px; margin-top: 6px; border-top: 1px solid #e5e7eb; font-size: 13px; line-height: 1.5; color: #64748b; }
.uem-sec.uem-sec .uem-updated b { color: #0f2736; font-weight: 600; }

/* ---------- Callout (tinted, no white card) ---------- */
.uem-sec.uem-sec .uem-call { display: flex; align-items: flex-start; gap: 14px; background: rgba(59, 185, 139, 0.08); border-left: 3px solid #3BB98B; border-radius: 8px; padding: 16px 20px; margin-top: 24px; }
.uem-sec.uem-sec .uem-call > svg { width: 20px; height: 20px; color: #3BB98B; flex-shrink: 0; margin-top: 2px; }
.uem-sec.uem-sec .uem-call-body { min-width: 0; }
.uem-sec.uem-sec .uem-call-title { display: block; font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; color: #0f2736; margin-bottom: 4px; line-height: 1.4; }
.uem-sec.uem-sec .uem-call-text { font-size: 15px; line-height: 1.6; color: #1e293b; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-call--warn { background: rgba(251, 188, 4, 0.08); border-left-color: #FBBC04; }
.uem-sec.uem-sec .uem-call--warn > svg { color: #c99700; }

/* ---------- Route and method pills ---------- */
.uem-sec.uem-sec .uem-route { display: inline-block; font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; line-height: 1.4; color: #0f2736; background: #f4f5f7; border: 1px solid #e5e7eb; padding: 3px 9px; border-radius: 6px; overflow-wrap: anywhere; max-width: 100%; }
.uem-sec.uem-sec .uem-m { font-family: 'Courier New', monospace; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 6px; line-height: 1.3; flex-shrink: 0; display: inline-block; }
.uem-sec.uem-sec .uem-m--get { background: rgba(59, 185, 139, 0.12); color: #2aaa7e; }
.uem-sec.uem-sec .uem-m--post { background: rgba(66, 133, 244, 0.12); color: #3367d6; }
.uem-sec.uem-sec .uem-m--del { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.uem-sec.uem-sec .uem-m--patch { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.uem-sec.uem-sec .uem-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; line-height: 1.4; white-space: nowrap; }
.uem-sec.uem-sec .uem-tag--ok { background: rgba(59, 185, 139, 0.12); color: #2aaa7e; }
.uem-sec.uem-sec .uem-tag--warn { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.uem-sec.uem-sec .uem-tag--err { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.uem-sec.uem-sec .uem-tag--muted { background: #f1f5f9; color: #475569; }
/* Billing buckets of Google's quota pricing */
.uem-sec.uem-sec .uem-tag--light { background: #f1f5f9; color: #475569; }
.uem-sec.uem-sec .uem-tag--medium { background: rgba(221, 223, 76, 0.25); color: #6f7118; }
.uem-sec.uem-sec .uem-tag--premium { background: rgba(15, 39, 54, 0.08); color: #0f2736; }

/* ---------- Stat tiles ---------- */
.uem-sec.uem-sec .uem-stat { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.uem-sec.uem-sec .uem-stat-val { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: #0f2736; overflow-wrap: anywhere; }
.uem-sec.uem-sec .uem-stat-val small { font-size: 15px; color: #64748b; font-weight: 600; }
.uem-sec.uem-sec .uem-stat-label { font-size: 14px; line-height: 1.55; color: #383838; overflow-wrap: break-word; }

/* ---------- Fact rows (limit list in one responsive version) ---------- */
.uem-sec.uem-sec .uem-facts { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uem-sec.uem-sec .uem-fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-bottom: 1px solid #f0f2f5; min-width: 0; }
.uem-sec.uem-sec .uem-fact:nth-child(odd) { border-right: 1px solid #f0f2f5; }
.uem-sec.uem-sec .uem-fact:nth-last-child(-n+2) { border-bottom: none; }
.uem-sec.uem-sec .uem-fact-label { font-size: 13px; font-weight: 600; color: #64748b; line-height: 1.45; }
.uem-sec.uem-sec .uem-fact-val { font-size: 16px; font-weight: 700; color: #0f2736; line-height: 1.45; overflow-wrap: anywhere; }
.uem-sec.uem-sec .uem-fact-note { font-size: 14px; color: #383838; line-height: 1.55; overflow-wrap: break-word; }

/* ---------- Tier cards (Standard vs Scaled) ---------- */
.uem-sec.uem-sec .uem-tier { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.uem-sec.uem-sec .uem-tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-tier-name { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; color: #0f2736; line-height: 1.3; }
.uem-sec.uem-sec .uem-tier-price { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 26px; font-weight: 700; color: #0f2736; line-height: 1.2; overflow-wrap: anywhere; }
.uem-sec.uem-sec .uem-tier-price small { font-size: 14px; font-weight: 600; color: #64748b; }
.uem-sec.uem-sec .uem-checks { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f2f5; }
.uem-sec.uem-sec .uem-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: #383838; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-check svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #2aaa7e; }
.uem-sec.uem-sec .uem-check--no svg { color: #94a3b8; }

/* ---------- Timeline (dates) ---------- */
.uem-sec.uem-sec .uem-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; position: relative; }
.uem-sec.uem-sec .uem-tl-item { position: relative; padding: 30px 20px 0 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.uem-sec.uem-sec .uem-tl-item::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: #e5e7eb; }
.uem-sec.uem-sec .uem-tl-item::after { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; border: 3px solid #94a3b8; }
.uem-sec.uem-sec .uem-tl-item--now::after { border-color: #3BB98B; background: #3BB98B; }
.uem-sec.uem-sec .uem-tl-item--key::after { border-color: #b8ba2e; }
.uem-sec.uem-sec .uem-tl-date { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 700; color: #0f2736; line-height: 1.3; }
.uem-sec.uem-sec .uem-tl-text { font-size: 14px; line-height: 1.55; color: #383838; overflow-wrap: break-word; }

/* ---------- Billing bucket cards + worked example ---------- */
.uem-sec.uem-sec .uem-bucket { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.uem-sec.uem-sec .uem-bucket .uem-tag { width: fit-content; }
.uem-sec.uem-sec .uem-bucket-price { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 26px; font-weight: 700; color: #0f2736; line-height: 1.2; }
.uem-sec.uem-sec .uem-bucket-price small { font-size: 13px; font-weight: 600; color: #64748b; }
.uem-sec.uem-sec .uem-bucket-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; line-height: 1.5; color: #383838; padding-top: 10px; border-top: 1px solid #f0f2f5; }
.uem-sec.uem-sec .uem-bucket-row b { color: #0f2736; font-weight: 700; }
.uem-sec.uem-sec .uem-bucket-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.uem-sec.uem-sec .uem-bucket-methods .uem-route { font-size: 11.5px; padding: 2px 7px; }
.uem-sec.uem-sec .uem-calc { background: #0f2736; border-radius: 16px; padding: 26px 28px; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.uem-sec.uem-sec .uem-calc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #DDDF4C; line-height: 1.4; }
.uem-sec.uem-sec .uem-calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.uem-sec.uem-sec .uem-calc-row:last-child { border-bottom: none; padding-bottom: 0; }
.uem-sec.uem-sec .uem-calc-row span { font-size: 15px; line-height: 1.55; color: #ffffff; min-width: 0; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-calc-row b { font-family: 'Courier New', monospace; font-size: 15px; font-weight: 700; color: #ffffff; white-space: nowrap; }
.uem-sec.uem-sec .uem-calc-row--total b { color: #3BB98B; font-size: 18px; }

/* ---------- Quota buckets diagram (project -> users) ---------- */
.uem-sec.uem-sec .uem-qd { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.uem-sec.uem-sec .uem-qd-project { border-radius: 12px; background: #f4f5f7; border: 1px solid #e5e7eb; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.uem-sec.uem-sec .uem-qd-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-qd-name { font-size: 14px; font-weight: 700; color: #0f2736; line-height: 1.4; }
.uem-sec.uem-sec .uem-qd-val { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; color: #0f2736; line-height: 1.4; }
.uem-sec.uem-sec .uem-meter { height: 8px; border-radius: 6px; background: #e5e7eb; overflow: hidden; }
.uem-sec.uem-sec .uem-meter i { display: block; height: 100%; border-radius: 6px; background: #3BB98B; }
.uem-sec.uem-sec .uem-meter--y i { background: #c9cb3a; }
.uem-sec.uem-sec .uem-meter--err i { background: #EA4335; }
.uem-sec.uem-sec .uem-qd-users { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uem-sec.uem-sec .uem-qd-user { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.uem-sec.uem-sec .uem-qd-user--hot { border-color: rgba(234, 67, 53, 0.4); }
.uem-sec.uem-sec .uem-qd-user .uem-qd-name { font-size: 13px; }
.uem-sec.uem-sec .uem-qd-user .uem-qd-val { font-size: 12px; color: #64748b; }
.uem-sec.uem-sec .uem-qd-foot { font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.5; color: #c5342a; overflow-wrap: anywhere; }

/* ---------- Feature list without frames (icon + title + text) ---------- */
.uem-sec.uem-sec .uem-feats { display: flex; flex-direction: column; gap: 22px; }
.uem-sec.uem-sec .uem-feat { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.uem-sec.uem-sec .uem-feat-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.uem-sec.uem-sec .uem-feat-title { font-size: 16px; font-weight: 700; color: #0f2736; line-height: 1.4; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-feat-text { font-size: 15px; line-height: 1.6; color: #383838; overflow-wrap: break-word; }

/* ---------- Cost bars (quota units per method) ---------- */
.uem-sec.uem-sec .uem-bars { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }
.uem-sec.uem-sec .uem-bars-head, .uem-sec.uem-sec .uem-bar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) 64px 140px; gap: 14px; align-items: center; padding: 11px 20px; }
.uem-sec.uem-sec .uem-bars-head { background: #f8fafc; border-bottom: 1px solid #e5e7eb; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #64748b; line-height: 1.4; }
.uem-sec.uem-sec .uem-bars-head span:nth-child(n+3) { text-align: right; }
.uem-sec.uem-sec .uem-bar-row { border-bottom: 1px solid #f0f2f5; }
.uem-sec.uem-sec .uem-bar-row:last-child { border-bottom: none; }
.uem-sec.uem-sec .uem-bar-row > * { min-width: 0; }
.uem-sec.uem-sec .uem-bar-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-bar-name small { font-size: 12px; color: #64748b; line-height: 1.4; }
.uem-sec.uem-sec .uem-bar-track { height: 10px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.uem-sec.uem-sec .uem-bar-track i { display: block; height: 100%; border-radius: 6px; background: #DDDF4C; }
.uem-sec.uem-sec .uem-bar-units { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 700; color: #0f2736; line-height: 1.3; text-align: right; }
.uem-sec.uem-sec .uem-bar-per { font-size: 13px; color: #383838; line-height: 1.4; text-align: right; }
.uem-sec.uem-sec .uem-bars-note { display: none; font-size: 13px; line-height: 1.5; color: #64748b; margin-bottom: 10px; }
.uem-sec.uem-sec .uem-bar-per b { font-weight: 600; color: #1e293b; }

/* ---------- Error cards ---------- */
.uem-sec.uem-sec .uem-err { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.uem-sec.uem-sec .uem-err-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-err-code { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 6px; line-height: 1.4; }
.uem-sec.uem-sec .uem-err-code--403 { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.uem-sec.uem-sec .uem-err-code--429 { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.uem-sec.uem-sec .uem-err-reason { font-family: 'Courier New', monospace; font-size: 14px; font-weight: 700; color: #0f2736; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; }
.uem-sec.uem-sec .uem-err-row { display: flex; flex-direction: column; gap: 2px; }
.uem-sec.uem-sec .uem-err-row b { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #94a3b8; line-height: 1.4; }
.uem-sec.uem-sec .uem-err-row span { font-size: 15px; line-height: 1.55; color: #383838; overflow-wrap: break-word; }

/* ---------- Mockup shell with light grey rail ---------- */
.uem-sec.uem-sec .uem-mock { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; min-width: 0; }
.uem-sec.uem-sec .uem-mock-body { display: flex; min-width: 0; }
.uem-sec.uem-sec .uem-rail { width: 52px; flex-shrink: 0; background: #f4f5f7; border-right: 1px solid #e5e7eb; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.uem-sec.uem-sec .uem-rail span { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #64748b; }
.uem-sec.uem-sec .uem-rail span.is-on { background: rgba(59, 185, 139, 0.14); color: #2aaa7e; }
.uem-sec.uem-sec .uem-rail svg { width: 16px; height: 16px; }
.uem-sec.uem-sec .uem-mock-main { flex: 1 1 auto; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.uem-sec.uem-sec .uem-mock-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-mock-title img { width: 24px; height: 24px; display: block; flex-shrink: 0; }
.uem-sec.uem-sec .uem-mock-title b { font-size: 15px; font-weight: 700; color: #0f2736; line-height: 1.3; }
.uem-sec.uem-sec .uem-mock-title small { font-size: 12px; color: #64748b; line-height: 1.3; }
.uem-sec.uem-sec .uem-mock-title .uem-tag { margin-left: auto; }
.uem-sec.uem-sec .uem-mock-foot { background: #0f2736; padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-mock-foot code { font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.5; color: #ffffff; overflow-wrap: anywhere; min-width: 0; flex: 1 1 180px; }
.uem-sec.uem-sec .uem-mock-foot .uem-m--get { background: rgba(59, 185, 139, 0.18); color: #3BB98B; }
.uem-sec.uem-sec .uem-mock-foot-ok { font-family: 'Courier New', monospace; font-size: 11px; font-weight: 700; color: #DDDF4C; background: rgba(221, 223, 76, 0.15); padding: 3px 8px; border-radius: 6px; line-height: 1.4; }
.uem-sec.uem-sec .uem-meter-row { display: flex; flex-direction: column; gap: 7px; }

/* ---------- Concurrency queue mockup ---------- */
.uem-sec.uem-sec .uem-q-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; min-width: 0; }
.uem-sec.uem-sec .uem-q-row:last-child { border-bottom: none; }
.uem-sec.uem-sec .uem-q-user { display: flex; align-items: center; gap: 8px; width: 112px; flex-shrink: 0; min-width: 0; font-size: 13px; font-weight: 600; color: #0f2736; line-height: 1.3; }
.uem-sec.uem-sec .uem-av { width: 26px; height: 26px; border-radius: 50%; background: #e5e7eb; color: #0f2736; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.uem-sec.uem-sec .uem-q-slots { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; flex: 1 1 auto; }
.uem-sec.uem-sec .uem-slot { display: block; flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px; background: #3BB98B; }
.uem-sec.uem-sec .uem-slot--wait { background: transparent; border: 1.5px dashed #94a3b8; }
.uem-sec.uem-sec .uem-slot--err { background: #EA4335; }
.uem-sec.uem-sec .uem-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: #64748b; line-height: 1.4; }
.uem-sec.uem-sec .uem-legend span { display: inline-flex; align-items: center; gap: 6px; }
.uem-sec.uem-sec .uem-legend .uem-slot { width: 12px; height: 12px; }

/* ---------- Step tiles (backoff) ---------- */
.uem-sec.uem-sec .uem-tile { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.uem-sec.uem-sec .uem-tile-num sup { font-size: 11px; line-height: 1; vertical-align: super; }
.uem-sec.uem-sec .uem-tile-num { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 700; color: #8a8c1f; background: rgba(221, 223, 76, 0.2); border-radius: 10px; min-width: 52px; height: 44px; padding: 0 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Code window (GitHub dark, inside a navy card) ---------- */
.uem-sec.uem-sec .uem-codecard { background: #0f2736; border-radius: 16px; padding: 24px; margin-top: 28px; min-width: 0; }
.uem-sec.uem-sec .uem-editor { border-radius: 14px; overflow: hidden; background: #0d1117; min-width: 0; }
.uem-sec.uem-sec .uem-bar { background: #161b22; padding: 12px 18px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.uem-sec.uem-sec .uem-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.uem-sec.uem-sec .uem-dot-r { background: #ff5f57; }
.uem-sec.uem-sec .uem-dot-y { background: #febc2e; }
.uem-sec.uem-sec .uem-dot-g { background: #28c840; }
.uem-sec.uem-sec .uem-file { font-family: 'Courier New', monospace; font-size: 13px; color: #8b949e; margin-left: 6px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.uem-sec.uem-sec .uem-pre { margin: 0; padding: 22px 24px; font-family: 'Courier New', monospace; font-size: 13.5px; line-height: 1.8; color: #e6edf3; white-space: pre; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #0d1117; }
.uem-sec.uem-sec .uem-pre code { font-family: 'Courier New', monospace; white-space: pre; display: block; color: #e6edf3; font-size: inherit; line-height: inherit; background: none; padding: 0; }
.uem-sec.uem-sec .uem-pre * { font-family: 'Courier New', monospace; }
.uem-sec.uem-sec .uem-pre .k { color: #ff7b72; }
.uem-sec.uem-sec .uem-pre .f { color: #d2a8ff; }
.uem-sec.uem-sec .uem-pre .s { color: #a5d6ff; }
.uem-sec.uem-sec .uem-pre .n { color: #79c0ff; }
.uem-sec.uem-sec .uem-pre .c { color: #8b949e; }
.uem-sec.uem-sec .uem-codecap { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #ffffff; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-codecap a { color: #3BB98B; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.uem-sec.uem-sec .uem-codecap code { font-family: 'Courier New', monospace; font-size: 13px; color: #DDDF4C; overflow-wrap: anywhere; }

/* ---------- Sync models (poll / history / push) ---------- */
.uem-sec.uem-sec .uem-sync { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.uem-sec.uem-sec .uem-sync .uem-tag { width: fit-content; }
.uem-sec.uem-sec .uem-sync--best { border-color: #3BB98B; }
.uem-sec.uem-sec .uem-sync-cost { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 700; color: #0f2736; line-height: 1.2; }
.uem-sec.uem-sec .uem-sync-cost small { font-size: 13px; font-weight: 600; color: #64748b; }

/* ---------- Decision paths (tiers, setups) ---------- */
.uem-sec.uem-sec .uem-paths-q { display: flex; justify-content: center; }
.uem-sec.uem-sec .uem-paths-q span { background: #0f2736; color: #ffffff; border-radius: 40px; padding: 10px 22px; font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; overflow-wrap: break-word; max-width: 100%; }
.uem-sec.uem-sec .uem-paths-line { height: 24px; width: 2px; background: #e5e7eb; margin: 0 auto; }
.uem-sec.uem-sec .uem-path { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.uem-sec.uem-sec .uem-path-if { font-size: 13px; font-weight: 600; color: #64748b; line-height: 1.45; overflow-wrap: break-word; }

/* ---------- Provider rows (one request, several providers) ---------- */
.uem-sec.uem-sec .uem-prov-req { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uem-sec.uem-sec .uem-prov-req code { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; color: #0f2736; overflow-wrap: anywhere; min-width: 0; }
.uem-sec.uem-sec .uem-prov-row { display: flex; align-items: center; gap: 12px; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; min-width: 0; }
.uem-sec.uem-sec .uem-prov-row img { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.uem-sec.uem-sec .uem-prov-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uem-sec.uem-sec .uem-prov-name { font-size: 14px; font-weight: 700; color: #0f2736; line-height: 1.35; }
.uem-sec.uem-sec .uem-prov-sub { font-size: 12.5px; color: #64748b; line-height: 1.45; overflow-wrap: break-word; }

/* ---------- Buttons: CTA Build Now (charter markup) + secondary ---------- */
.uem-sec.uem-sec .uem-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.uem-sec.uem-sec .cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #DDDF4C; color: #0f2736; border: 2px solid #DDDF4C;
  padding: 14px 28px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: transform 0.3s ease;
}
.uem-sec.uem-sec .cta-button:hover { transform: translateY(-5px); }
.uem-sec.uem-sec .cta-button svg { width: 16px; height: 16px; flex-shrink: 0; }
.uem-sec.uem-sec .uem-actions--inline .cta-button { padding: 12px 22px; }
.uem-sec.uem-sec .uem-actions--inline .cta-button:hover { transform: translateX(4px); }
.uem-sec.uem-sec .uem-btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: #0f2736; border: 2px solid #0f2736;
  padding: 12px 24px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  white-space: nowrap; cursor: pointer; transition: transform 0.3s ease;
}
.uem-sec.uem-sec .uem-btn2:hover { transform: translateY(-5px); }

/* ---------- Navy CTA band (card on the light sheet) ---------- */
.uem-sec.uem-sec .uem-band { background: #0f2736; border-radius: 16px; padding: 40px 44px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.uem-sec.uem-sec .uem-band-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.uem-sec.uem-sec .uem-band-eyebrow { width: fit-content; background: rgba(59, 185, 139, 0.15); color: #3bb98b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; padding: 4px 12px; border-radius: 20px; line-height: 1.5; }
.uem-sec.uem-sec .uem-band-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 700; color: #ffffff; line-height: 1.3; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-band-title span { color: #3bb98b; }
.uem-sec.uem-sec .uem-band-text { font-size: 15px; line-height: 1.7; color: #ffffff; overflow-wrap: break-word; }
.uem-sec.uem-sec .uem-band-text a { color: #3BB98B; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.uem-sec.uem-sec .uem-band .uem-actions { margin-top: 0; flex-shrink: 0; }

/* ---------- Hero (transparent on the dark page gradient) ---------- */
.uem-rhero.uem-rhero { background: transparent; padding: 72px 20px 80px; color: #ffffff; }
.uem-rhero.uem-rhero .uem-hero { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.uem-rhero.uem-rhero .uem-hero-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.uem-rhero.uem-rhero .uem-badge { background: rgba(221, 223, 76, 0.15); color: #DDDF4C; }
.uem-rhero.uem-rhero .uem-badge-dot { background: #DDDF4C; }
.uem-rhero.uem-rhero .uem-h1 { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 44px; font-weight: 700; line-height: 1.15; color: #ffffff; overflow-wrap: break-word; }
.uem-rhero.uem-rhero .uem-h1 span { color: #3BB98B; }
.uem-rhero.uem-rhero .uem-hero-desc { font-size: 16px; line-height: 1.5; color: #ffffff; overflow-wrap: break-word; }
.uem-rhero.uem-rhero .uem-actions { margin-top: 0; }
.uem-rhero.uem-rhero .uem-mock { border-color: rgba(255, 255, 255, 0.12); }

/* ---------- Responsive: 900 / 700 / 600 / 400 ---------- */
@media (max-width: 900px) {
  .uem-sec.uem-sec { padding: 40px 20px; }
  .uem-ranswer.uem-ranswer { padding-top: 10px; }
  .uem-rhero.uem-rhero { padding: 60px 20px; }
  .uem-rhero.uem-rhero .uem-hero { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .uem-rhero.uem-rhero .uem-h1 { font-size: 32px; }
  .uem-sec.uem-sec .uem-h2 { font-size: 28px; }
  .uem-sec.uem-sec .uem-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .uem-sec.uem-sec .uem-grid2, .uem-sec.uem-sec .uem-grid3 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .uem-sec.uem-sec .uem-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .uem-sec.uem-sec .uem-band { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 700px) {
  .uem-sec.uem-sec .uem-facts { grid-template-columns: minmax(0, 1fr); }
  .uem-sec.uem-sec .uem-fact:nth-child(odd) { border-right: none; }
  .uem-sec.uem-sec .uem-fact:nth-last-child(-n+2) { border-bottom: 1px solid #f0f2f5; }
  .uem-sec.uem-sec .uem-fact:last-child { border-bottom: none; }
  .uem-sec.uem-sec .uem-bars-head { display: none; }
  .uem-sec.uem-sec .uem-bar-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  .uem-sec.uem-sec .uem-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .uem-sec.uem-sec .uem-bar-units { grid-column: 2; grid-row: 1; }
  .uem-sec.uem-sec .uem-bar-per { grid-column: 1 / -1; grid-row: 3; text-align: left; font-size: 12.5px; color: #64748b; }
  .uem-sec.uem-sec .uem-bars-note { display: block; }
  .uem-sec.uem-sec .uem-timeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .uem-sec.uem-sec .uem-tl-item { padding: 0 0 0 30px; }
  .uem-sec.uem-sec .uem-tl-item::before { top: 18px; bottom: -22px; left: 7px; right: auto; width: 2px; height: auto; }
  .uem-sec.uem-sec .uem-tl-item:last-child::before { display: none; }
  .uem-sec.uem-sec .uem-qd-users { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .uem-sec.uem-sec { padding: 30px 16px; }
  .uem-ranswer.uem-ranswer { padding-top: 10px; }
  .uem-rhero.uem-rhero { padding: 50px 16px 60px; }
  .uem-rhero.uem-rhero .uem-hero { gap: 36px; }
  .uem-rhero.uem-rhero .uem-h1 { font-size: 28px; }
  .uem-sec.uem-sec .uem-h2 { font-size: 26px; }
  .uem-sec.uem-sec .uem-h3 { font-size: 20px; margin-top: 40px; }
  .uem-sec.uem-sec .uem-grid4 { grid-template-columns: minmax(0, 1fr); }
  .uem-sec.uem-sec .uem-card, .uem-sec.uem-sec .uem-tier, .uem-sec.uem-sec .uem-err, .uem-sec.uem-sec .uem-sync, .uem-sec.uem-sec .uem-qd { padding: 22px 20px; }
  .uem-sec.uem-sec .uem-calc { padding: 22px 20px; }
  .uem-sec.uem-sec .uem-answer-text { font-size: 16px; }
  .uem-sec.uem-sec .uem-codecard { padding: 14px; }
  .uem-sec.uem-sec .uem-bar { padding: 10px 14px; }
  .uem-sec.uem-sec .uem-pre { font-size: 12px; padding: 18px 16px; }
  .uem-sec.uem-sec .uem-rail { width: 40px; gap: 10px; }
  .uem-sec.uem-sec .uem-rail span { width: 26px; height: 26px; }
  .uem-sec.uem-sec .uem-mock-main { padding: 16px; }
  .uem-sec.uem-sec .uem-q-user { width: 84px; }
  .uem-sec.uem-sec .uem-q-user .uem-av { display: none; }
  .uem-sec.uem-sec .uem-q-slots { gap: 4px; }
  .uem-sec.uem-sec .uem-q-slots .uem-slot { width: 13px; height: 13px; }
  .uem-sec.uem-sec .uem-band { padding: 28px 20px; }
  .uem-sec.uem-sec .uem-band-title { font-size: 21px; }
  .uem-sec.uem-sec .uem-actions, .uem-sec.uem-sec .uem-band .uem-actions { width: 100%; }
  .uem-sec.uem-sec .cta-button, .uem-sec.uem-sec .uem-btn2 { width: 100%; min-height: 48px; white-space: normal; text-align: center; }
}
@media (max-width: 400px) {
  .uem-rhero.uem-rhero .uem-h1 { font-size: 26px; }
  .uem-sec.uem-sec .uem-h2 { font-size: 24px; }
  .uem-sec.uem-sec .uem-pre { font-size: 11px; padding: 14px 12px; }
  .uem-sec.uem-sec .uem-stat-val { font-size: 26px; }
  .uem-sec.uem-sec .uem-mock-foot code { font-size: 11px; }
  .uem-sec.uem-sec .uem-mock-title .uem-tag { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .uem-sec.uem-sec * { transition: none; animation: none; }
  .uem-sec.uem-sec .cta-button:hover, .uem-sec.uem-sec .uem-btn2:hover, .uem-sec.uem-sec .uem-actions--inline .cta-button:hover { transform: none; }
}
