:root { --csg-webinar-navy:#082044; --csg-webinar-red:#b60819; --csg-webinar-yellow:#fdbb17; --csg-cookie-clearance:0px; }
.csg-webinar-launcher[hidden], .csg-webinar-modal[hidden], .csg-webinar-modal [hidden] { display:none !important; }
.csg-webinar-launcher {
  position:fixed;
  left:24px;
  bottom:calc(76px + max(18px, env(safe-area-inset-bottom)) + var(--csg-cookie-clearance));
  z-index:2147481900;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  max-width:calc(100vw - 36px);
  padding:10px 17px;
  border:2px solid var(--csg-webinar-yellow);
  border-radius:15px;
  background:var(--csg-webinar-navy);
  color:#fff;
  font-family:inherit;
  text-align:left;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  cursor:grab;
  touch-action:none;
  user-select:none;
  transition:left .16s ease, top .16s ease, bottom .2s ease, transform .15s ease, box-shadow .15s ease;
}
.csg-webinar-launcher:hover, .csg-webinar-launcher:focus-visible { transform:translateY(-2px); box-shadow:0 14px 32px rgba(0,0,0,.28); }
.csg-webinar-launcher.is-position-pending { visibility:hidden; opacity:0; pointer-events:none; transition:none; }
.csg-webinar-launcher.is-dragging { cursor:grabbing; transition:none; transform:scale(1.03); }
.csg-webinar-launcher:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.csg-webinar-launcher__icon { color:var(--csg-webinar-yellow); font-size:17px; line-height:1; }
.csg-webinar-launcher strong, .csg-webinar-launcher small { display:block; }
.csg-webinar-launcher strong { color:#fff; font-size:14px; line-height:1.2; }
.csg-webinar-launcher small { margin-top:2px; color:#dce8f7; font-size:11px; font-weight:500; line-height:1.2; }
.csg-webinar-launcher__grip { margin-left:2px; color:#fff; font-size:17px; font-weight:400; line-height:1; opacity:.72; }
body.csg-lead-modal-open .csg-webinar-launcher { visibility:hidden; pointer-events:none; }

.csg-webinar-modal { position:fixed; inset:0; z-index:2147483647; display:grid; place-items:center; padding:18px; font-family:inherit; }
.csg-webinar-modal__overlay { position:absolute; inset:0; background:rgba(7,16,31,.72); backdrop-filter:blur(3px); }
.csg-webinar-modal__dialog { position:relative; box-sizing:border-box; width:min(560px,100%); max-height:calc(100dvh - 36px); overflow:auto; padding:34px; border-top:6px solid var(--csg-webinar-yellow); border-radius:18px; background:#fff; color:#172033; box-shadow:0 24px 80px rgba(0,0,0,.32); }
.csg-webinar-modal__close { position:absolute; top:12px; right:12px; display:grid; width:40px; height:40px; place-items:center; border:0; border-radius:50%; background:#f1f4f8; color:var(--csg-webinar-navy); font-size:27px; line-height:1; cursor:pointer; }
.csg-webinar-modal__eyebrow { margin:0 48px 8px 0; color:var(--csg-webinar-red); font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.csg-webinar-modal h2 { margin:0 48px 10px 0; color:var(--csg-webinar-navy); font-size:clamp(27px,4vw,38px); line-height:1.15; }
.csg-webinar-modal__time { margin:0 0 18px; color:var(--csg-webinar-navy); font-size:16px; font-weight:750; }
.csg-webinar-modal__description { margin:0 0 23px; font-size:16px; line-height:1.65; }
.csg-webinar-modal__actions { display:flex; flex-wrap:wrap; gap:10px; }
.csg-webinar-button { display:inline-flex; min-height:46px; align-items:center; justify-content:center; padding:11px 18px; border:2px solid var(--csg-webinar-red); border-radius:8px; font-size:15px; font-weight:750; line-height:1.2; text-decoration:none; }
.csg-webinar-modal a.csg-webinar-button--primary,
.csg-webinar-modal a.csg-webinar-button--primary:visited { background:var(--csg-webinar-red); color:#fff !important; }
.csg-webinar-modal a.csg-webinar-button--primary:hover,
.csg-webinar-modal a.csg-webinar-button--primary:focus-visible { border-color:#8f0714; background:#8f0714; color:#fff !important; text-decoration:none; }
.csg-webinar-button--secondary { background:#fff; color:var(--csg-webinar-red); }
.csg-webinar-modal__note { margin:20px 0 0; padding-top:16px; border-top:1px solid #e2e7ee; color:#647083; font-size:13px; line-height:1.55; }
body.csg-webinar-modal-open { overflow:hidden; }

@media (max-width:640px) {
  .csg-webinar-launcher { left:12px; bottom:calc(72px + max(14px, env(safe-area-inset-bottom)) + var(--csg-cookie-clearance)); padding:9px 13px; }
  .csg-webinar-modal { padding:10px; }
  .csg-webinar-modal__dialog { max-height:calc(100dvh - 20px); padding:27px 21px 23px; border-radius:14px; }
  .csg-webinar-modal h2 { margin-right:38px; font-size:28px; }
  .csg-webinar-modal__actions { flex-direction:column; }
  .csg-webinar-button { width:100%; box-sizing:border-box; }
}

@media (prefers-reduced-motion:reduce) { .csg-webinar-launcher { transition:none; } }
