/* Groups, Events and communities articles (facebook-groups-api, facebook-events-api, linkedin-groups-api, linkedin-events-api, telegram-group-api).
   Component library of facebook-post-api.css, prefix usg-, scoped by the .usg-sec class on every section root (doubled for specificity over divi.css).
   TOC and FAQ keep their own canonical inline CSS. No box-shadow, no clamp(). */

/* ---------- Reset (CHARTER 8.3) ---------- */
.usg-sec.usg-sec,
.usg-sec.usg-sec *,
.usg-sec.usg-sec *::before,
.usg-sec.usg-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 ---------- */
.usg-sec.usg-sec {
  display: block;
  width: 100%;
  background: #f4f5f7;
  padding: 50px 20px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1e293b;
}
.usg-ranswer.usg-ranswer { padding-top: 10px; }
.usg-rfinal.usg-rfinal { padding-bottom: 20px; }

.usg-sec.usg-sec .usg-container { max-width: 1100px; margin: 0 auto; min-width: 0; }

/* ---------- Section header: badge, H2, intro ---------- */
.usg-sec.usg-sec .usg-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.usg-sec.usg-sec .usg-head--center { align-items: center; text-align: center; margin-bottom: 48px; }
.usg-sec.usg-sec .usg-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;
}
.usg-sec.usg-sec .usg-badge--y { background: rgba(221, 223, 76, 0.18); color: #8a8c2e; }
.usg-sec.usg-sec .usg-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #3BB98B; flex-shrink: 0; }
.usg-sec.usg-sec .usg-badge--y .usg-badge-dot { background: #8a8c2e; }
.usg-sec.usg-sec .usg-h2 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 35px; font-weight: 700; line-height: 1.2; letter-spacing: normal; color: #0f2736;
  overflow-wrap: break-word;
}
.usg-sec.usg-sec .usg-h2 span { color: #3BB98B; }
.usg-sec.usg-sec .usg-intro,
.usg-sec.usg-sec .usg-p { font-size: 16px; line-height: 1.7; color: #383838; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-p + .usg-p { margin-top: 16px; }
.usg-sec.usg-sec .usg-p strong, .usg-sec.usg-sec .usg-intro strong, .usg-sec.usg-sec .usg-li strong, .usg-sec.usg-sec .usg-card-text strong { color: #1e293b; font-weight: 600; }
.usg-sec.usg-sec .usg-intro a, .usg-sec.usg-sec .usg-p a, .usg-sec.usg-sec .usg-li a, .usg-sec.usg-sec .usg-verified a, .usg-sec.usg-sec .usg-card-text a, .usg-sec.usg-sec .usg-call-text a, .usg-sec.usg-sec .usg-answer-text a {
  color: #3bb98b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.usg-sec.usg-sec .usg-intro a:hover, .usg-sec.usg-sec .usg-p a:hover, .usg-sec.usg-sec .usg-li a:hover, .usg-sec.usg-sec .usg-verified a:hover, .usg-sec.usg-sec .usg-card-text a:hover, .usg-sec.usg-sec .usg-call-text a:hover, .usg-sec.usg-sec .usg-answer-text a:hover { color: #2da077; }
.usg-sec.usg-sec .usg-h3 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: normal; color: #0f2736;
  margin: 56px 0 12px; overflow-wrap: break-word;
}
.usg-sec.usg-sec .usg-h3:first-child { margin-top: 0; }
.usg-sec.usg-sec code.usg-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;
}
.usg-sec.usg-sec .usg-mt { margin-top: 20px; }
.usg-sec.usg-sec .usg-verified { margin-top: 20px; font-size: 13px; line-height: 1.6; color: #6b7280; }

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

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

/* ---------- Cards ---------- */
.usg-sec.usg-sec .usg-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.usg-sec.usg-sec .usg-icon { width: 32px; height: 32px; border-radius: 6px; background: rgba(59, 185, 139, 0.12); color: #3BB98B; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usg-sec.usg-sec .usg-icon svg { width: 16px; height: 16px; }
.usg-sec.usg-sec .usg-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; }
.usg-sec.usg-sec .usg-card-text { font-size: 15px; line-height: 1.65; color: #383838; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #94a3b8; line-height: 1.4; }
.usg-sec.usg-sec .usg-note a { color: #2aaa7e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.usg-sec.usg-sec .usg-note a:hover { color: #2da077; }
.usg-sec.usg-sec .usg-note { margin-top: 24px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 40px; padding: 14px 24px; text-align: center; font-size: 15px; line-height: 1.6; color: #383838; }
.usg-sec.usg-sec .usg-note--flush { margin-top: 0; }

/* ---------- Short answer + callout ---------- */
.usg-sec.usg-sec .usg-answer { background: #ffffff; border: 1px solid #e5e7eb; border-left: 4px solid #3BB98B; border-radius: 0 16px 16px 0; padding: 28px 32px; }
.usg-sec.usg-sec .usg-answer-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #2aaa7e; margin-bottom: 10px; line-height: 1.4; }
.usg-sec.usg-sec .usg-answer-text { font-size: 18px; line-height: 1.7; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-answer-text + .usg-answer-text { margin-top: 12px; font-size: 16px; color: #383838; }
.usg-sec.usg-sec .usg-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; }
.usg-sec.usg-sec .usg-call svg { width: 20px; height: 20px; color: #3BB98B; flex-shrink: 0; margin-top: 2px; }
.usg-sec.usg-sec .usg-call-body { min-width: 0; }
.usg-sec.usg-sec .usg-call-title { display: block; font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 0.95rem; font-weight: 700; color: #0f2736; margin-bottom: 4px; line-height: 1.4; }
.usg-sec.usg-sec .usg-call-text { font-size: 0.9rem; line-height: 1.6; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-call-text a { color: #0f2736; text-underline-offset: 2px; }
.usg-sec.usg-sec .usg-call-text a:hover { color: #3bb98b; }
.usg-sec.usg-sec .usg-call--warn { background: rgba(251, 188, 4, 0.08); border-left-color: #FBBC04; }
.usg-sec.usg-sec .usg-call--warn svg { color: #c99700; }

/* ---------- Navy statement block ---------- */
.usg-sec.usg-sec .usg-navy { background: #0f2736; border-left: 4px solid #3BB98B; border-radius: 0 16px 16px 0; padding: 28px 32px; display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; }
.usg-sec.usg-sec .usg-navy-icon { width: 32px; height: 32px; border-radius: 6px; background: rgba(59, 185, 139, 0.15); color: #3BB98B; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usg-sec.usg-sec .usg-navy-icon svg { width: 16px; height: 16px; }
.usg-sec.usg-sec .usg-navy-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.usg-sec.usg-sec .usg-navy-eyebrow { display: block; font-size: 12px; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px; color: #3BB98B; }
.usg-sec.usg-sec .usg-navy-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; color: #ffffff; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-navy-text { font-size: 15px; line-height: 1.7; color: #ffffff; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-navy-paths { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.usg-sec.usg-sec .usg-navy-path { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; min-width: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 12px 14px; }
.usg-sec.usg-sec .usg-navy-path b { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #DDDF4C; line-height: 1.4; }
.usg-sec.usg-sec .usg-navy-path span { font-size: 14px; line-height: 1.55; color: #ffffff; overflow-wrap: break-word; }

/* ---------- Mockup shell ---------- */
.usg-sec.usg-sec .usg-mock { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; min-width: 0; }
.usg-sec.usg-sec .usg-mock-foot { background: #0f2736; padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-mock-foot code { font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.5; color: #ffffff; overflow-wrap: break-word; word-break: normal; min-width: 0; flex: 1 1 160px; }
.usg-sec.usg-sec .usg-mock-foot-ok { font-family: 'Courier New', monospace; font-size: 11px; font-weight: 700; color: #3BB98B; background: rgba(59, 185, 139, 0.15); padding: 3px 8px; border-radius: 6px; line-height: 1.4; }
.usg-sec.usg-sec .usg-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; }
.usg-sec.usg-sec .usg-m--get { background: rgba(59, 185, 139, 0.12); color: #2aaa7e; }
.usg-sec.usg-sec .usg-m--post { background: rgba(66, 133, 244, 0.12); color: #3367d6; }
.usg-sec.usg-sec .usg-m--patch { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.usg-sec.usg-sec .usg-m--del { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.usg-sec.usg-sec .usg-mock-foot .usg-m--get { background: rgba(59, 185, 139, 0.18); color: #3BB98B; }
.usg-sec.usg-sec .usg-mock-foot .usg-m--post { background: rgba(66, 133, 244, 0.22); color: #a5c8ff; }

/* ---------- Hero agenda mockup ---------- */

/* ---------- Resource map ---------- */
.usg-sec.usg-sec .usg-res { padding: 8px 0; }
.usg-sec.usg-sec .usg-res-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 20px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-res-row:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-res-name { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; color: #0f2736; background: #f4f5f7; border: 1px solid #e5e7eb; padding: 3px 8px; border-radius: 6px; line-height: 1.4; flex-shrink: 0; min-width: 118px; text-align: center; }
.usg-sec.usg-sec .usg-res-text { font-size: 14px; line-height: 1.55; color: #383838; min-width: 0; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-mock-title { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; }
.usg-sec.usg-sec .usg-mock-title img { width: 20px; height: 20px; display: block; }
.usg-sec.usg-sec .usg-mock-title span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #64748b; line-height: 1.4; }

/* ---------- Setup steps ---------- */
.usg-sec.usg-sec .usg-steps { display: flex; flex-direction: column; gap: 16px; }
.usg-sec.usg-sec .usg-step { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.usg-sec.usg-sec .usg-step-num { width: 38px; height: 38px; border-radius: 10px; background: rgba(59, 185, 139, 0.12); color: #2aaa7e; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.usg-sec.usg-sec .usg-step-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Google Cloud Console mockup ---------- */

/* ---------- OAuth consent mockup ---------- */

/* ---------- Tables (desktop) + stacked cards (<= 700px) ---------- */
.usg-sec.usg-sec .usg-table-wrap { border-radius: 14px; border: 1px solid #e5e7eb; overflow: hidden; background: #ffffff; }
.usg-sec.usg-sec .usg-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.usg-sec.usg-sec .usg-table thead { background: #0f2736; }
.usg-sec.usg-sec .usg-table th { padding: 16px 20px; text-align: left; vertical-align: bottom; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.4; color: #ffffff; }
.usg-sec.usg-sec .usg-table th.usg-th-hl { color: #3bb98b; }
.usg-sec.usg-sec .usg-table td { padding: 14px 20px; vertical-align: top; color: #1e293b; line-height: 1.55; border-bottom: 1px solid #f1f5f9; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-table tbody tr:nth-child(even) td { background: #f8fafc; }
.usg-sec.usg-sec .usg-table tbody tr:last-child td { border-bottom: none; }
.usg-sec.usg-sec .usg-table td:first-child { font-weight: 600; color: #0f2736; }
.usg-sec.usg-sec .usg-table th.usg-th-w { width: 30%; }
.usg-sec.usg-sec .usg-table td code { overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-table td.usg-td-hl { background: rgba(59, 185, 139, 0.06); }
.usg-sec.usg-sec .usg-table tbody tr:nth-child(even) td.usg-td-hl { background: rgba(59, 185, 139, 0.09); }
.usg-sec.usg-sec .usg-table code, .usg-sec.usg-sec .usg-mval code { font-family: 'Courier New', monospace; font-size: 0.8rem; color: #2da077; background: rgba(59, 185, 139, 0.1); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; line-height: 1.4; }
.usg-sec.usg-sec .usg-tag--ok { background: rgba(59, 185, 139, 0.12); color: #2aaa7e; }
.usg-sec.usg-sec .usg-tag--warn { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.usg-sec.usg-sec .usg-tag--err { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.usg-sec.usg-sec .usg-yes, .usg-sec.usg-sec .usg-no { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 600; }
.usg-sec.usg-sec .usg-yes { color: #2aaa7e; }
.usg-sec.usg-sec .usg-no { color: #94a3b8; font-weight: 500; }
.usg-sec.usg-sec .usg-yes svg, .usg-sec.usg-sec .usg-no svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }
.usg-sec.usg-sec .usg-mcards { display: none; flex-direction: column; gap: 16px; }
.usg-sec.usg-sec .usg-mcard { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
.usg-sec.usg-sec .usg-mcard-head { background: #0f2736; color: #ffffff; padding: 12px 16px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.4; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-mrow { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }
.usg-sec.usg-sec .usg-mrow:nth-child(odd) { background: #f8fafc; }
.usg-sec.usg-sec .usg-mrow:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-mlabel { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #64748b; margin-bottom: 4px; line-height: 1.4; }
.usg-sec.usg-sec .usg-mval { display: block; font-size: 0.85rem; color: #1e293b; line-height: 1.55; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-mcmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.usg-sec.usg-sec .usg-mcmp > div { min-width: 0; border-radius: 10px; padding: 10px 12px; background: #f8fafc; border: 1px solid #e5e7eb; }
.usg-sec.usg-sec .usg-mcmp > div.usg-mcmp-hl { background: rgba(59, 185, 139, 0.06); border-color: rgba(59, 185, 139, 0.25); }
.usg-sec.usg-sec .usg-conclusion { margin-top: 24px; border-left: 4px solid #3BB98B; border-radius: 0 10px 10px 0; padding: 20px 24px; background: #ffffff; font-size: 0.9375rem; line-height: 1.75; color: #1e293b; }

/* ---------- Endpoint inventory ---------- */
.usg-sec.usg-sec .usg-ep { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }
.usg-sec.usg-sec .usg-ep-row { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-ep-row:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-ep-row > * { min-width: 0; }
.usg-sec.usg-sec .usg-ep-path { font-family: 'Courier New', monospace; font-size: 13px; color: #0f2736; line-height: 1.5; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-ep-desc { font-size: 14px; color: #383838; line-height: 1.5; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-ep-base { padding: 12px 20px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; font-size: 12px; color: #64748b; line-height: 1.5; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-ep-base code { font-family: 'Courier New', monospace; color: #0f2736; font-size: 12px; }

/* ---------- Sync flow ---------- */
.usg-sec.usg-sec .usg-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ugcflow; }
.usg-sec.usg-sec .usg-flow-step { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; }
.usg-sec.usg-sec .usg-flow-step--hl { border-color: #3BB98B; }
.usg-sec.usg-sec .usg-flow-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-flow-num { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 700; color: #2aaa7e; background: rgba(59, 185, 139, 0.12); border-radius: 8px; padding: 3px 9px; line-height: 1.4; }
.usg-sec.usg-sec .usg-flow-chip { display: block; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.45; color: #0f2736; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px 8px; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-flow-loop { margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #0f2736; border-radius: 12px; padding: 14px 20px; }
.usg-sec.usg-sec .usg-flow-loop svg { width: 18px; height: 18px; color: #3BB98B; flex-shrink: 0; }
.usg-sec.usg-sec .usg-flow-loop p { font-size: 14px; line-height: 1.55; color: #ffffff; min-width: 0; flex: 1 1 240px; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-flow-loop code { font-family: 'Courier New', monospace; font-size: 13px; color: #DDDF4C; overflow-wrap: anywhere; }

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

/* ---------- Unipile flow (hosted auth) ---------- */
.usg-sec.usg-sec .usg-ha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usg-sec.usg-sec .usg-ha-step { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ---------- Unipile endpoint link cards ---------- */
.usg-sec.usg-sec a.usg-link-card { display: flex; flex-direction: column; gap: 10px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; color: inherit; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease; min-width: 0; }
.usg-sec.usg-sec a.usg-link-card:hover { transform: translateY(-2px); border-color: #3BB98B; }
.usg-sec.usg-sec .usg-link-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-link-name { font-size: 15px; font-weight: 700; color: #0f2736; line-height: 1.35; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-link-path { font-family: 'Courier New', monospace; font-size: 12px; color: #64748b; line-height: 1.45; overflow-wrap: anywhere; }

/* ---------- Code windows (GitHub dark, inside a navy card) ---------- */
.usg-sec.usg-sec .usg-codecard { background: #0f2736; border-radius: 16px; padding: 24px; margin-top: 20px; min-width: 0; }
.usg-sec.usg-sec .usg-editor { border-radius: 14px; overflow: hidden; background: #0d1117; min-width: 0; }
.usg-sec.usg-sec .usg-bar { background: #161b22; padding: 12px 18px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.usg-sec.usg-sec .usg-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.usg-sec.usg-sec .usg-dot-r { background: #ff5f57; }
.usg-sec.usg-sec .usg-dot-y { background: #febc2e; }
.usg-sec.usg-sec .usg-dot-g { background: #28c840; }
.usg-sec.usg-sec .usg-file { font-family: 'Courier New', monospace; font-size: 13px; color: #8b949e; margin-left: 6px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-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; }
.usg-sec.usg-sec .usg-pre code { font-family: 'Courier New', monospace; white-space: pre; display: block; color: #e6edf3; font-size: inherit; line-height: inherit; background: none; padding: 0; }
.usg-sec.usg-sec .usg-pre * { font-family: 'Courier New', monospace; }
.usg-sec.usg-sec .usg-pre .k { color: #ff7b72; }
.usg-sec.usg-sec .usg-pre .f { color: #d2a8ff; }
.usg-sec.usg-sec .usg-pre .s { color: #a5d6ff; }
.usg-sec.usg-sec .usg-pre .n { color: #79c0ff; }
.usg-sec.usg-sec .usg-pre .c { color: #8b949e; }
.usg-sec.usg-sec .usg-ok { background: rgba(59, 185, 139, 0.1); border-top: 1px solid rgba(59, 185, 139, 0.25); color: #3BB98B; padding: 11px 24px; font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-codecap { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #ffffff; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-codecap code { font-family: 'Courier New', monospace; font-size: 13px; color: #DDDF4C; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-codecap a { color: #3BB98B; text-decoration: underline; font-weight: 600; }

/* ---------- CTA Build Now (markup of the charter) ---------- */
.usg-sec.usg-sec .usg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.usg-sec.usg-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;
}
.usg-sec.usg-sec .cta-button:hover { transform: translateY(-5px); }
.usg-sec.usg-sec .cta-button svg { width: 16px; height: 16px; flex-shrink: 0; }
.usg-sec.usg-sec .usg-actions--inline .cta-button { padding: 12px 22px; }
.usg-sec.usg-sec .usg-actions--inline .cta-button:hover { transform: translateX(4px); }
.usg-sec.usg-sec .usg-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: background 0.2s ease, color 0.2s ease;
}
.usg-sec.usg-sec .usg-btn2:hover { background: #0f2736; color: #ffffff; }

/* ---------- Dark CTA band ---------- */

/* ---------- Outlook card ---------- */
.usg-sec.usg-sec .usg-prov { display: flex; flex-direction: column; gap: 12px; }
.usg-sec.usg-sec .usg-prov-row { display: flex; align-items: center; gap: 14px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; min-width: 0; }
.usg-sec.usg-sec .usg-prov-row img { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.usg-sec.usg-sec .usg-prov-txt { min-width: 0; flex: 1 1 auto; }
.usg-sec.usg-sec .usg-prov-name { display: block; font-size: 15px; font-weight: 700; color: #0f2736; line-height: 1.35; }
.usg-sec.usg-sec .usg-prov-sub { display: block; font-size: 13px; color: #64748b; line-height: 1.45; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-prov-path { display: block; font-family: 'Courier New', monospace; font-size: 12px; color: #2da077; line-height: 1.45; overflow-wrap: anywhere; margin-top: 2px; }

/* ---------- Final CTA card ---------- */
.usg-sec.usg-sec .usg-final { background: #ffffff; border: 1px solid #e5e7eb; border-left: 4px solid #3BB98B; border-radius: 0 16px 16px 0; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-final-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.usg-sec.usg-sec .usg-final-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 22px; font-weight: 700; line-height: 1.3; color: #0f2736; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-final .usg-actions { margin-top: 0; }

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

/* ---------- Responsive: 900 / 700 / 600 / 400 ---------- */
@media (max-width: 900px) {
  .usg-sec.usg-sec { padding: 40px 20px; }
  .usg-ranswer.usg-ranswer { padding-top: 10px; }
  .usg-rhero.usg-rhero { padding: 60px 20px; }
  .usg-rhero.usg-rhero .usg-hero { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .usg-rhero.usg-rhero .usg-h1 { font-size: 32px; }
  .usg-sec.usg-sec .usg-h2 { font-size: 28px; }
  .usg-sec.usg-sec .usg-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .usg-sec.usg-sec .usg-grid3, .usg-sec.usg-sec .usg-grid2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .usg-sec.usg-sec .usg-grid4, .usg-sec.usg-sec .usg-flow, .usg-sec.usg-sec .usg-ha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usg-sec.usg-sec .usg-table th { padding: 12px 14px; }
  .usg-sec.usg-sec .usg-table td { padding: 12px 14px; font-size: 0.82rem; }
  .usg-sec.usg-sec .usg-ep-row { grid-template-columns: 64px minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-ep-desc { grid-column: 2; }
}
@media (max-width: 700px) {
  .usg-sec.usg-sec .usg-table-wrap { display: none; }
  .usg-sec.usg-sec .usg-mcards { display: flex; }
}
@media (max-width: 600px) {
  .usg-sec.usg-sec { padding: 30px 16px; }
  .usg-ranswer.usg-ranswer { padding-top: 10px; }
  .usg-rhero.usg-rhero { padding: 50px 16px 60px; }
  .usg-rhero.usg-rhero .usg-hero { gap: 36px; }
  .usg-rhero.usg-rhero .usg-h1 { font-size: 28px; }
  .usg-sec.usg-sec .usg-h2 { font-size: 26px; }
  .usg-sec.usg-sec .usg-h3 { font-size: 20px; margin-top: 44px; }
  .usg-sec.usg-sec .usg-grid4, .usg-sec.usg-sec .usg-flow, .usg-sec.usg-sec .usg-ha { grid-template-columns: minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-card, .usg-sec.usg-sec .usg-stat { padding: 22px; }
  .usg-sec.usg-sec .usg-answer, .usg-sec.usg-sec .usg-navy, .usg-sec.usg-sec .usg-final { padding: 22px 20px; }
  .usg-sec.usg-sec .usg-navy { flex-direction: column; gap: 12px; }
  .usg-sec.usg-sec .usg-answer-text { font-size: 16px; }
  .usg-sec.usg-sec .usg-step { padding: 20px; flex-direction: column; gap: 12px; }
  .usg-sec.usg-sec .usg-codecard { padding: 14px; }
  .usg-sec.usg-sec .usg-bar { padding: 10px 14px; }
  .usg-sec.usg-sec .usg-pre { font-size: 12px; padding: 18px 16px; }
  .usg-sec.usg-sec .usg-res-row { flex-direction: column; gap: 6px; padding: 12px 16px; }
  .usg-sec.usg-sec .usg-res-name { min-width: 0; }
  .usg-sec.usg-sec .usg-ep-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 16px; }
  .usg-sec.usg-sec .usg-ep-desc { grid-column: auto; }
  .usg-sec.usg-sec .usg-ep-row .usg-m { width: fit-content; }
  .usg-sec.usg-sec .usg-actions { width: 100%; }
  .usg-sec.usg-sec .cta-button, .usg-sec.usg-sec .usg-btn2 { width: 100%; min-height: 48px; white-space: normal; text-align: center; }
  .usg-sec.usg-sec .usg-note { border-radius: 16px; }
}
@media (max-width: 400px) {
  .usg-rhero.usg-rhero .usg-h1 { font-size: 26px; }
  .usg-sec.usg-sec .usg-h2 { font-size: 24px; }
  .usg-sec.usg-sec .usg-pre { font-size: 11px; padding: 14px 12px; }
  .usg-sec.usg-sec .usg-mcmp { grid-template-columns: minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-mock-foot code { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .usg-sec.usg-sec * { transition: none; animation: none; }
  .usg-sec.usg-sec .cta-button:hover, .usg-sec.usg-sec a.usg-link-card:hover, .usg-sec.usg-sec .usg-actions--inline .cta-button:hover { transform: none; }
}

/* ---------- Product mockups: hero chat, Unipile app, use cases (Facebook blue accent, no shadow) ---------- */
.usg-sec.usg-sec .usg-app { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; min-width: 0; color: #1e293b; }
.usg-rhero.usg-rhero .usg-app { border-color: rgba(255, 255, 255, 0.12); }
.usg-sec.usg-sec .usg-app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; background: #ffffff; min-width: 0; }
.usg-sec.usg-sec .usg-app-logo { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e8f5f0, #d4efdf); color: #3BB98B; }
.usg-sec.usg-sec .usg-app-logo svg { width: 14px; height: 14px; }
.usg-sec.usg-sec .usg-app-logo--plain { background: rgba(24, 119, 242, 0.1); color: #0B5FCC; }
.usg-sec.usg-sec .usg-app-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: #1e293b; min-width: 0; }
.usg-sec.usg-sec .usg-app-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.usg-sec.usg-sec .usg-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; line-height: 1.3; color: #2aaa7e; background: rgba(59, 185, 139, 0.12); padding: 4px 9px; border-radius: 20px; }
.usg-sec.usg-sec .usg-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3BB98B; }
.usg-sec.usg-sec img.usg-fbi { width: 16px; height: 16px; display: block; flex-shrink: 0; max-width: none; }
.usg-sec.usg-sec img.usg-fbi--20 { width: 20px; height: 20px; }

/* Initials avatars */
.usg-sec.usg-sec .usg-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.3px; background: rgba(24, 119, 242, 0.12); color: #0B5FCC; }
.usg-sec.usg-sec .usg-av--g { background: rgba(59, 185, 139, 0.14); color: #2aaa7e; }
.usg-sec.usg-sec .usg-av--n { background: #0f2736; color: #ffffff; }
.usg-sec.usg-sec .usg-av--s { background: #eef1f5; color: #475569; }
.usg-sec.usg-sec .usg-av--sm { width: 24px; height: 24px; font-size: 9px; }

/* Status pills */
.usg-sec.usg-sec .usg-st { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; line-height: 1.3; padding: 3px 8px; border-radius: 20px; white-space: nowrap; background: rgba(24, 119, 242, 0.1); color: #0B5FCC; }
.usg-sec.usg-sec .usg-st--g { background: rgba(59, 185, 139, 0.12); color: #2aaa7e; }
.usg-sec.usg-sec .usg-st--a { background: rgba(251, 188, 4, 0.15); color: #8a6a00; }
.usg-sec.usg-sec .usg-st--s { background: #f1f5f9; color: #64748b; }
.usg-sec.usg-sec .usg-st--n { background: #0f2736; color: #ffffff; }

/* Hero: accounts, a Page post, a conversation, webhooks and API calls in one app */
.usg-rhero.usg-rhero .usg-hs-accs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #e5e7eb; background: #ffffff; }
.usg-rhero.usg-rhero .usg-hs-acc { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 10px 5px 6px; border: 1px solid #e5e7eb; border-radius: 20px; font-size: 12px; line-height: 1.3; color: #1e293b; }
.usg-rhero.usg-rhero .usg-hs-acc b { font-weight: 600; overflow-wrap: anywhere; }
.usg-rhero.usg-rhero .usg-hs-acc small { font-size: 10px; font-weight: 600; color: #0B5FCC; background: rgba(24, 119, 242, 0.1); padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.usg-rhero.usg-rhero .usg-hs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; background: #f8fafc; }
.usg-rhero.usg-rhero .usg-hs-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.usg-rhero.usg-rhero .usg-hs-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.3; color: #94a3b8; }
.usg-rhero.usg-rhero .usg-hs-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.usg-rhero.usg-rhero .usg-hs-who > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.usg-rhero.usg-rhero .usg-hs-who b { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #1e293b; overflow-wrap: anywhere; }
.usg-rhero.usg-rhero .usg-hs-who small { font-size: 10.5px; line-height: 1.3; color: #64748b; overflow-wrap: anywhere; }
.usg-rhero.usg-rhero .usg-hs-text { font-size: 12.5px; line-height: 1.45; color: #1e293b; overflow-wrap: break-word; }
.usg-rhero.usg-rhero .usg-hs-media { height: 44px; border-radius: 8px; background: linear-gradient(135deg, rgba(24, 119, 242, 0.16), rgba(11, 95, 204, 0.05)); }
.usg-rhero.usg-rhero .usg-hs-stats { display: flex; gap: 14px; padding-top: 8px; border-top: 1px solid #f0f2f5; font-size: 11px; font-weight: 600; line-height: 1.3; color: #64748b; }
.usg-rhero.usg-rhero .usg-hs-stats span { display: inline-flex; align-items: center; gap: 5px; }
.usg-rhero.usg-rhero .usg-hs-stats svg { width: 12px; height: 12px; color: #1877F2; flex-shrink: 0; }
.usg-rhero.usg-rhero .usg-hs-cmt { display: flex; align-items: flex-start; gap: 7px; min-width: 0; }
.usg-rhero.usg-rhero .usg-hs-cmt > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; background: #f4f5f7; border-radius: 10px; padding: 6px 10px; font-size: 11.5px; line-height: 1.4; color: #383838; overflow-wrap: break-word; }
.usg-rhero.usg-rhero .usg-hs-cmt b { font-size: 11px; font-weight: 600; color: #1e293b; }
.usg-rhero.usg-rhero .usg-hs-chat { background: #ffffff; }
.usg-rhero.usg-rhero .usg-hs-bub { position: relative; max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; overflow-wrap: break-word; }
.usg-rhero.usg-rhero .usg-hs-bub--in { align-self: flex-start; background: #f4f5f7; border-bottom-left-radius: 4px; color: #1e293b; }
.usg-rhero.usg-rhero .usg-hs-bub--out { align-self: flex-end; background: #1877F2; border-bottom-right-radius: 4px; color: #ffffff; margin-bottom: 4px; }
.usg-rhero.usg-rhero .usg-hs-react { position: absolute; left: -8px; bottom: -8px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; color: #1877F2; }
.usg-rhero.usg-rhero .usg-hs-react svg { width: 11px; height: 11px; }
.usg-rhero.usg-rhero .usg-hs-seen { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; margin-top: -4px; font-size: 10px; line-height: 1.3; color: #94a3b8; }
.usg-rhero.usg-rhero .usg-hs-seen svg { width: 12px; height: 12px; color: #1877F2; }
.usg-rhero.usg-rhero .usg-hs-events { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid #e5e7eb; background: #ffffff; }
.usg-rhero.usg-rhero .usg-hs-events-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.3; color: #94a3b8; margin-right: 2px; }
.usg-rhero.usg-rhero .usg-hs-evt { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; line-height: 1.35; color: #8a8c2e; background: rgba(221, 223, 76, 0.18); padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.usg-rhero.usg-rhero .usg-hs-evt svg { width: 11px; height: 11px; flex-shrink: 0; }
.usg-rhero.usg-rhero .usg-hs-foot { gap: 8px 16px; padding: 12px 16px; }
.usg-rhero.usg-rhero .usg-hs-call { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.usg-rhero.usg-rhero .usg-hs-foot code { flex: 0 1 auto; font-size: 12px; white-space: nowrap; }
.usg-rhero.usg-rhero .usg-hs-foot .usg-mock-foot-ok { margin-left: auto; }
@media (max-width: 520px) {
  .usg-rhero.usg-rhero .usg-hs-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .usg-rhero.usg-rhero .usg-hs-media, .usg-rhero.usg-rhero .usg-hs-cmt { display: none; }
  .usg-rhero.usg-rhero .usg-hs-foot .usg-mock-foot-ok { display: none; }
}
@media (max-width: 400px) {
  .usg-rhero.usg-rhero .usg-hs-accs, .usg-rhero.usg-rhero .usg-hs-events, .usg-rhero.usg-rhero .usg-hs-foot { padding-left: 12px; padding-right: 12px; }
  .usg-rhero.usg-rhero .usg-hs-foot { gap: 8px 12px; }
}

/* Section Unipile: linked accounts, inbox, Page post */
.usg-sec.usg-sec .usg-suite { margin-top: 8px; }
.usg-sec.usg-sec .usg-suite-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1fr); background: #ffffff; }
.usg-sec.usg-sec .usg-suite-grid > * { min-width: 0; }
.usg-sec.usg-sec .usg-suite-side { background: #f8fafc; border-right: 1px solid #e5e7eb; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.usg-sec.usg-sec .usg-suite-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.4; color: #94a3b8; padding: 0 4px 2px; }
.usg-sec.usg-sec .usg-acc { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid transparent; min-width: 0; }
.usg-sec.usg-sec .usg-acc--on { background: #ffffff; border-color: #e5e7eb; }
.usg-sec.usg-sec .usg-acc span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.usg-sec.usg-sec .usg-acc b { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #1e293b; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-acc small { font-size: 10.5px; line-height: 1.3; color: #64748b; }
.usg-sec.usg-sec .usg-acc-add { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 8px 10px; border: 1px dashed #cbd5e0; border-radius: 10px; font-size: 11.5px; font-weight: 600; line-height: 1.3; color: #64748b; }
.usg-sec.usg-sec .usg-acc-add svg { width: 12px; height: 12px; flex-shrink: 0; }
.usg-sec.usg-sec .usg-suite-inbox { border-right: 1px solid #e5e7eb; }
.usg-sec.usg-sec .usg-tabs { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 16px; border-bottom: 1px solid #e5e7eb; }
.usg-sec.usg-sec .usg-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0 10px; font-size: 12px; font-weight: 500; line-height: 1.3; color: #94a3b8; border-bottom: 2px solid transparent; }
.usg-sec.usg-sec .usg-tabs span.on { color: #1877F2; font-weight: 600; border-bottom-color: #1877F2; }
.usg-sec.usg-sec .usg-tabs i { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px; background: rgba(24, 119, 242, 0.12); color: #0B5FCC; }
.usg-sec.usg-sec .usg-conv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-conv:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-conv--new { background: rgba(24, 119, 242, 0.04); }
.usg-sec.usg-sec .usg-conv-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.usg-sec.usg-sec .usg-conv-txt b { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #1e293b; }
.usg-sec.usg-sec .usg-conv-txt span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1.4; color: #64748b; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-conv-txt span svg { width: 11px; height: 11px; flex-shrink: 0; }
.usg-sec.usg-sec .usg-conv-end { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.usg-sec.usg-sec .usg-conv-end time { font-size: 10px; line-height: 1.3; color: #94a3b8; white-space: nowrap; }
.usg-sec.usg-sec .usg-suite-post { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #f8fafc; }
.usg-sec.usg-sec .usg-post { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.usg-sec.usg-sec .usg-post-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.usg-sec.usg-sec .usg-post-head span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.usg-sec.usg-sec .usg-post-head b { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #1e293b; }
.usg-sec.usg-sec .usg-post-head small { font-size: 10.5px; line-height: 1.3; color: #94a3b8; }
.usg-sec.usg-sec .usg-post-text { font-size: 13px; line-height: 1.5; color: #1e293b; }
.usg-sec.usg-sec .usg-post-media { height: 64px; border-radius: 8px; background: linear-gradient(135deg, rgba(24, 119, 242, 0.14), rgba(11, 95, 204, 0.06)); }
.usg-sec.usg-sec .usg-post-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; line-height: 1.3; color: #64748b; padding-top: 8px; border-top: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-post-stats span { display: inline-flex; align-items: center; gap: 5px; }
.usg-sec.usg-sec .usg-post-stats svg { width: 12px; height: 12px; color: #1877F2; flex-shrink: 0; }
.usg-sec.usg-sec .usg-cmt { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.usg-sec.usg-sec .usg-cmt-bub { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px 12px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.usg-sec.usg-sec .usg-cmt-bub b { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: #1e293b; }
.usg-sec.usg-sec .usg-cmt-bub span { font-size: 12px; line-height: 1.45; color: #383838; overflow-wrap: break-word; }

/* Use cases: large mockups + compact cards */
.usg-sec.usg-sec .usg-uc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.usg-sec.usg-sec .usg-uc { display: flex; flex-direction: column; min-width: 0; }
.usg-sec.usg-sec .usg-uc .usg-app { margin-bottom: 24px; }
.usg-sec.usg-sec .usg-uc-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; color: #0f2736; overflow-wrap: break-word; margin-bottom: 8px; }
.usg-sec.usg-sec .usg-uc-text { font-size: 15px; line-height: 1.65; color: #383838; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-uc-benefit { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.55; color: #0f2736; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-uc-benefit svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: #3BB98B; }
.usg-sec.usg-sec .usg-tbl-head, .usg-sec.usg-sec .usg-tbl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; padding: 10px 16px; }
.usg-sec.usg-sec .usg-tbl-head { background: #fafbfc; border-bottom: 1px solid #e5e7eb; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; line-height: 1.3; color: #94a3b8; }
.usg-sec.usg-sec .usg-tbl-row { border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-tbl-row:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-tbl-row > .usg-st { justify-self: end; }
.usg-sec.usg-sec .usg-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.usg-sec.usg-sec .usg-who > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.usg-sec.usg-sec .usg-who b { font-size: 12px; font-weight: 600; line-height: 1.3; color: #1e293b; }
.usg-sec.usg-sec .usg-who small { font-size: 11px; line-height: 1.4; color: #64748b; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-tabs2 { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 16px; border-bottom: 1px solid #e5e7eb; }
.usg-sec.usg-sec .usg-tabs2 span { padding: 11px 0 9px; font-size: 11.5px; font-weight: 500; line-height: 1.3; color: #94a3b8; border-bottom: 2px solid transparent; }
.usg-sec.usg-sec .usg-tabs2 span.on { color: #1877F2; font-weight: 600; border-bottom-color: #1877F2; }
.usg-sec.usg-sec .usg-compose { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid #e5e7eb; }
.usg-sec.usg-sec .usg-compose-as { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; line-height: 1.3; color: #64748b; }
.usg-sec.usg-sec .usg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; border: 1px solid #e5e7eb; font-size: 11.5px; font-weight: 600; line-height: 1.3; color: #475569; background: #ffffff; }
.usg-sec.usg-sec .usg-chip--on { border-color: #1877F2; color: #0B5FCC; background: rgba(24, 119, 242, 0.06); }
.usg-sec.usg-sec .usg-compose-box { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.5; color: #1e293b; background: #f8fafc; }
.usg-sec.usg-sec .usg-compose-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-compose-tools { display: inline-flex; gap: 10px; color: #94a3b8; }
.usg-sec.usg-sec .usg-compose-tools svg { width: 16px; height: 16px; }
.usg-sec.usg-sec .usg-fake-btn { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 8px; background: #1877F2; color: #ffffff; font-size: 12px; font-weight: 600; line-height: 1.3; }
.usg-sec.usg-sec .usg-post-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f0f2f5; font-size: 12px; line-height: 1.4; color: #1e293b; }
.usg-sec.usg-sec .usg-post-line:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-post-line small { display: block; font-size: 10.5px; color: #94a3b8; margin-top: 1px; }
.usg-sec.usg-sec .usg-on-post { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; font-size: 12px; line-height: 1.4; color: #64748b; min-width: 0; }
.usg-sec.usg-sec .usg-on-post b { color: #1e293b; font-weight: 600; }
.usg-sec.usg-sec .usg-uc-mini { margin-top: 56px; }
.usg-sec.usg-sec .usg-uc-mini .usg-card { flex-direction: row; align-items: flex-start; gap: 16px; }
.usg-sec.usg-sec .usg-uc-mini .usg-card > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.usg-sec.usg-sec .usg-icon--y { background: rgba(221, 223, 76, 0.18); color: #8a8c2e; }

@media (max-width: 900px) {
  .usg-sec.usg-sec .usg-suite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usg-sec.usg-sec .usg-suite-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; border-right: none; border-bottom: 1px solid #e5e7eb; }
  .usg-sec.usg-sec .usg-suite-label { width: 100%; }
  .usg-sec.usg-sec .usg-acc { flex: 1 1 180px; }
  .usg-sec.usg-sec .usg-acc:not(.usg-acc--on) { background: #ffffff; border-color: #e5e7eb; }
  .usg-sec.usg-sec .usg-acc-add { margin-top: 0; }
  .usg-sec.usg-sec .usg-uc-grid { gap: 48px 28px; }
}
@media (max-width: 760px) {
  .usg-sec.usg-sec .usg-uc-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .usg-sec.usg-sec .usg-suite-grid { grid-template-columns: minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-suite-inbox { border-right: none; border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 600px) {
  .usg-sec.usg-sec .usg-uc-title { font-size: 18px; }
  .usg-sec.usg-sec .usg-uc-mini { margin-top: 48px; }
}
@media (max-width: 400px) {
  .usg-sec.usg-sec .usg-app-bar { padding: 12px; }
  .usg-sec.usg-sec .usg-conv, .usg-sec.usg-sec .usg-tbl-head, .usg-sec.usg-sec .usg-tbl-row, .usg-sec.usg-sec .usg-post-line { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .usg-sec.usg-sec .usg-who { gap: 8px; }
  .usg-sec.usg-sec .usg-uc-mini .usg-card { flex-direction: column; }
}
.usg-sec.usg-sec .usg-mt--l { margin-top: 40px; }
.usg-sec.usg-sec .usg-app .usg-mock-foot code { overflow-wrap: normal; }
/* Use cases: mockup, title, text and benefit aligned row by row */
.usg-sec.usg-sec .usg-uc { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.usg-sec.usg-sec .usg-uc .usg-app { display: flex; flex-direction: column; }
.usg-sec.usg-sec .usg-uc-grid { row-gap: 0; }
.usg-sec.usg-sec .usg-uc-benefit { margin-bottom: 56px; }
@media (max-width: 760px) { .usg-sec.usg-sec .usg-uc-benefit { margin-bottom: 48px; } }
.usg-sec.usg-sec .usg-uc:last-child .usg-uc-benefit { margin-bottom: 0; }
@media (min-width: 761px) { .usg-sec.usg-sec .usg-uc:nth-last-child(2) .usg-uc-benefit { margin-bottom: 0; } }
.usg-sec.usg-sec .usg-uc-title { align-self: start; }

/* Decision grid: the fifth card (Unipile) fills the last row on desktop */
@media (min-width: 901px) {
  .usg-sec.usg-sec .usg-card--wide { grid-column: span 2; background: #0f2736; border-color: #0f2736; }
  .usg-sec.usg-sec .usg-card--wide .usg-kicker { color: #3BB98B; }
  .usg-sec.usg-sec .usg-card--wide .usg-card-title, .usg-sec.usg-sec .usg-card--wide .usg-card-text { color: #ffffff; }
}

/* ---------- Facebook Post API additions ---------- */

/* Graph API post node card */
.usg-sec.usg-sec .usg-node-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 20px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-node-row:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-node-row code { font-family: 'Courier New', monospace; font-size: 13px; font-weight: 700; color: #0f2736; line-height: 1.5; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-node-row span { font-size: 14px; line-height: 1.55; color: #383838; min-width: 0; overflow-wrap: break-word; }

/* Highlighted limit card */
.usg-sec.usg-sec .usg-card--dark { background: #0f2736; border-color: #0f2736; }
.usg-sec.usg-sec .usg-card--dark .usg-kicker { color: #3BB98B; }
.usg-sec.usg-sec .usg-card--dark .usg-card-title, .usg-sec.usg-sec .usg-card--dark .usg-card-text, .usg-sec.usg-sec .usg-card--dark .usg-card-text strong { color: #ffffff; }
.usg-sec.usg-sec .usg-card--dark code.usg-c { background: rgba(255, 255, 255, 0.1); color: #DDDF4C; }
.usg-sec.usg-sec .usg-quote { border-left: 3px solid #3BB98B; padding-left: 12px; font-size: 14.5px; line-height: 1.6; color: #ffffff; font-style: italic; }

/* Tabbed code block (CSS only, radio inputs) */
.usg-sec.usg-sec .usg-ctabs { position: relative; }
.usg-sec.usg-sec .usg-ctabs input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.usg-sec.usg-sec .usg-ctab-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #161b22; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.usg-sec.usg-sec .usg-ctab-bar label { cursor: pointer; font-family: 'Courier New', monospace; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: #8b949e; padding: 6px 12px; border-radius: 6px; transition: background 0.2s ease, color 0.2s ease; }
.usg-sec.usg-sec .usg-ctab-bar label:hover { color: #e6edf3; }
.usg-sec.usg-sec .usg-cpane { display: none; }
/* Tabs are generic: any number of tab groups per page, matched by data-l on the input and its label */
.usg-sec.usg-sec .usg-ctabs input[data-l="node"]:checked ~ .usg-ctab-bar label[data-l="node"],
.usg-sec.usg-sec .usg-ctabs input[data-l="py"]:checked ~ .usg-ctab-bar label[data-l="py"],
.usg-sec.usg-sec .usg-ctabs input[data-l="curl"]:checked ~ .usg-ctab-bar label[data-l="curl"] { background: rgba(59, 185, 139, 0.15); color: #3BB98B; }
.usg-sec.usg-sec .usg-ctabs input[data-l="node"]:checked ~ .usg-cpane--node,
.usg-sec.usg-sec .usg-ctabs input[data-l="py"]:checked ~ .usg-cpane--py,
.usg-sec.usg-sec .usg-ctabs input[data-l="curl"]:checked ~ .usg-cpane--curl { display: block; }
.usg-sec.usg-sec .usg-ctabs input[data-l="node"]:focus-visible ~ .usg-ctab-bar label[data-l="node"],
.usg-sec.usg-sec .usg-ctabs input[data-l="py"]:focus-visible ~ .usg-ctab-bar label[data-l="py"],
.usg-sec.usg-sec .usg-ctabs input[data-l="curl"]:focus-visible ~ .usg-ctab-bar label[data-l="curl"] { outline: 2px solid #3BB98B; outline-offset: 2px; }

/* "Post as" identity picker */
.usg-sec.usg-sec .usg-as { padding: 8px 0; }
.usg-sec.usg-sec .usg-as-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-as-row:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-as-row--on { background: rgba(24, 119, 242, 0.05); }
.usg-sec.usg-sec .usg-as-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.usg-sec.usg-sec .usg-as-txt b { font-size: 13px; font-weight: 600; line-height: 1.3; color: #1e293b; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-as-txt small { font-family: 'Courier New', monospace; font-size: 11px; line-height: 1.4; color: #64748b; overflow-wrap: anywhere; }
.usg-sec.usg-sec .usg-st--r { background: rgba(234, 67, 53, 0.12); color: #c5342a; }
.usg-sec.usg-sec .usg-req { background: #0d1117; padding: 14px 18px; font-family: 'Courier New', monospace; font-size: 12.5px; line-height: 1.7; color: #e6edf3; white-space: pre; overflow-x: auto; }
.usg-sec.usg-sec .usg-req * { font-family: 'Courier New', monospace; }
.usg-sec.usg-sec .usg-req .s { color: #a5d6ff; }
.usg-sec.usg-sec .usg-req .n { color: #79c0ff; }

/* Post list read from a profile */
.usg-sec.usg-sec .usg-feed-item { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #f0f2f5; min-width: 0; }
.usg-sec.usg-sec .usg-feed-item:last-of-type { border-bottom: none; }
.usg-sec.usg-sec .usg-feed-item p { font-size: 13px; line-height: 1.5; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-feed-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; line-height: 1.3; color: #64748b; }
.usg-sec.usg-sec .usg-feed-meta span { display: inline-flex; align-items: center; gap: 5px; }
.usg-sec.usg-sec .usg-feed-meta svg { width: 12px; height: 12px; color: #1877F2; flex-shrink: 0; }
.usg-sec.usg-sec .usg-cursor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: #f8fafc; border-top: 1px solid #e5e7eb; font-size: 11.5px; line-height: 1.4; color: #64748b; }
.usg-sec.usg-sec .usg-cursor code { font-family: 'Courier New', monospace; font-size: 11.5px; color: #0f2736; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }

/* Hero post lines: trash state */
.usg-sec.usg-sec .usg-st--d { background: rgba(234, 67, 53, 0.1); color: #c5342a; }
.usg-rhero.usg-rhero .usg-compose { background: #ffffff; }
.usg-rhero.usg-rhero .usg-post-line { background: #ffffff; }

@media (max-width: 900px) {
  .usg-sec.usg-sec .usg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .usg-sec.usg-sec .usg-node-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 16px; }
  .usg-sec.usg-sec .usg-flow { grid-template-columns: minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-req { font-size: 11.5px; padding: 12px 14px; }
  .usg-sec.usg-sec .usg-as-row { padding: 12px 14px; gap: 10px; }
}
@media (max-width: 400px) {
  .usg-sec.usg-sec .usg-as-row { grid-template-columns: auto minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-as-row > .usg-st { grid-column: 2; justify-self: start; }
  .usg-sec.usg-sec .usg-ctab-bar label { padding: 6px 9px; font-size: 12px; }
}

/* Method pills on the dark mockup footer */
.usg-sec.usg-sec .usg-mock-foot .usg-m--patch { background: rgba(251, 188, 4, 0.2); color: #f5c542; }
.usg-sec.usg-sec .usg-mock-foot .usg-m--del { background: rgba(234, 67, 53, 0.22); color: #ff9b91; }


/* ==========================================================================
   Groups and Events components (new for this set of articles)
   ========================================================================== */
.usg-sec.usg-sec .usg-mark { background: rgba(221, 223, 76, 0.45); color: #0f2736; border-radius: 3px; padding: 0 3px; font-weight: 600; }
.usg-sec.usg-sec .usg-av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #ffffff; background: #64748b; flex-shrink: 0; line-height: 1; }
.usg-sec.usg-sec .usg-av--a { background: #0B5FCC; }
.usg-sec.usg-sec .usg-av--b { background: #2aaa7e; }
.usg-sec.usg-sec .usg-av--c { background: #8a6a00; }
.usg-sec.usg-sec .usg-av--d { background: #7c3aed; }
.usg-sec.usg-sec .usg-av--e { background: #c5342a; }

/* Group header card */
.usg-sec.usg-sec .usg-ghead { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; min-width: 0; flex-wrap: wrap; }
.usg-sec.usg-sec .usg-ghead-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(24, 119, 242, 0.12); color: #0B5FCC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usg-sec.usg-sec .usg-ghead-ico img, .usg-sec.usg-sec .usg-ghead-ico svg { width: 20px; height: 20px; display: block; }
.usg-sec.usg-sec .usg-ghead-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 160px; }
.usg-sec.usg-sec .usg-ghead-name { font-size: 14px; font-weight: 700; line-height: 1.3; color: #0f2736; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-ghead-meta { font-size: 12px; line-height: 1.4; color: #64748b; overflow-wrap: break-word; }

/* Group feed: posts with keyword highlight */
.usg-sec.usg-sec .usg-gpost { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-gpost:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-gpost--hit { background: rgba(221, 223, 76, 0.08); }
.usg-sec.usg-sec .usg-gpost-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.usg-sec.usg-sec .usg-gpost-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; line-height: 1.4; color: #64748b; }
.usg-sec.usg-sec .usg-gpost-who b { font-size: 13px; font-weight: 600; color: #1e293b; }
.usg-sec.usg-sec .usg-gpost-text { font-size: 13.5px; line-height: 1.55; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-gpost-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; line-height: 1.4; color: #94a3b8; }

/* Alert list (watch tool) */
.usg-sec.usg-sec .usg-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-alert:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-alert-ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(221, 223, 76, 0.22); color: #8a8c2e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.usg-sec.usg-sec .usg-alert-ico svg { width: 15px; height: 15px; }
.usg-sec.usg-sec .usg-alert-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.usg-sec.usg-sec .usg-alert-txt b { font-size: 13px; font-weight: 600; line-height: 1.35; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-alert-txt span { font-size: 12px; line-height: 1.4; color: #64748b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-kw { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; background: #ffffff; }
.usg-sec.usg-sec .usg-kw-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #94a3b8; line-height: 1.4; margin-right: 4px; }
.usg-sec.usg-sec .usg-kw-chip { font-size: 12px; font-weight: 600; line-height: 1.3; color: #0f2736; background: rgba(221, 223, 76, 0.3); border-radius: 20px; padding: 4px 10px; }

/* CRM contact card */
.usg-sec.usg-sec .usg-crm { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.usg-sec.usg-sec .usg-crm-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.usg-sec.usg-sec .usg-crm-who .usg-av { width: 38px; height: 38px; font-size: 13px; }
.usg-sec.usg-sec .usg-crm-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.usg-sec.usg-sec .usg-crm-name b { font-size: 14px; font-weight: 700; line-height: 1.3; color: #0f2736; }
.usg-sec.usg-sec .usg-crm-name span { font-size: 12px; line-height: 1.4; color: #64748b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-crm-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; background: #f8fafc; border: 1px solid #eef0f3; border-radius: 10px; padding: 10px 12px; }
.usg-sec.usg-sec .usg-crm-row svg { width: 15px; height: 15px; color: #3BB98B; margin-top: 2px; }
.usg-sec.usg-sec .usg-crm-row p { font-size: 12.5px; line-height: 1.5; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-crm-row small { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }

/* Member list row */
.usg-sec.usg-sec .usg-mem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f0f2f5; }
.usg-sec.usg-sec .usg-mem:last-child { border-bottom: none; }
.usg-sec.usg-sec .usg-mem-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.usg-sec.usg-sec .usg-mem-txt b { font-size: 13px; font-weight: 600; line-height: 1.3; color: #1e293b; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-mem-txt span { font-size: 11.5px; line-height: 1.4; color: #64748b; overflow-wrap: break-word; }

/* Provider logo in a table or row */
.usg-sec.usg-sec .usg-plogo { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.usg-sec.usg-sec .usg-plogo img { width: 20px; height: 20px; flex-shrink: 0; display: block; }

/* Watch loop timeline (cursor based polling) */
.usg-sec.usg-sec .usg-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.usg-sec.usg-sec .usg-loop-step { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.usg-sec.usg-sec .usg-loop-step--hl { border-color: #3BB98B; }
.usg-sec.usg-sec .usg-loop-step b { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.35; color: #0f2736; }
.usg-sec.usg-sec .usg-loop-step p { font-size: 14px; line-height: 1.6; color: #383838; overflow-wrap: break-word; }

@media (max-width: 900px) {
  .usg-sec.usg-sec .usg-loop { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .usg-sec.usg-sec .usg-alert { grid-template-columns: auto minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-alert > .usg-st, .usg-sec.usg-sec .usg-alert > .usg-tag { grid-column: 2; justify-self: start; }
  .usg-sec.usg-sec .usg-mem { grid-template-columns: auto minmax(0, 1fr); }
  .usg-sec.usg-sec .usg-mem > .usg-st, .usg-sec.usg-sec .usg-mem > .usg-tag { grid-column: 2; justify-self: start; }
}

/* Dark mid-article CTA band (ARTICLES 4.8) */
.usg-sec.usg-sec .usg-mid { background: #0f2736; border-radius: 16px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; overflow: hidden; position: relative; margin-top: 48px; }
.usg-sec.usg-sec .usg-mid::before { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(59, 185, 139, 0.18) 0%, transparent 70%); pointer-events: none; }
.usg-sec.usg-sec .usg-mid-body { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 360px; }
.usg-sec.usg-sec .usg-mid-eyebrow { width: fit-content; background: rgba(59, 185, 139, 0.15); color: #3bb98b; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; padding: 4px 12px; border-radius: 20px; line-height: 1.5; }
.usg-sec.usg-sec .usg-mid-title { font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1.3; color: #ffffff; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-mid-title span { color: #3bb98b; }
.usg-sec.usg-sec .usg-mid-text { font-size: 0.9375rem; line-height: 1.7; color: #ffffff; overflow-wrap: break-word; }
.usg-sec.usg-sec .usg-mid .cta-button { position: relative; flex-shrink: 0; }
.usg-sec.usg-sec .usg-mcmp--3 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
  .usg-sec.usg-sec .usg-mid { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .usg-sec.usg-sec .usg-mid-body { flex: 0 0 auto; width: 100%; }
  .usg-sec.usg-sec .usg-mid-title { font-size: 1.35rem; }
}
